pic32mx695f512h.pp 1.8 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113
  1. unit pic32mx695f512h;
  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. TI2C3_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. TI2C3_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. TI2C3_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. TI2C3_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. TI2C3Registers = record
  1812. I2C1ACONbits : TI2C3_I2C1ACON;
  1813. I2C1ACON : longWord;
  1814. I2C3CONbits : TI2C3_I2C3CON;
  1815. I2C3CON : longWord;
  1816. I2C1ACONCLR : longWord;
  1817. I2C3CONCLR : longWord;
  1818. I2C1ACONSET : longWord;
  1819. I2C3CONSET : longWord;
  1820. I2C1ACONINV : longWord;
  1821. I2C3CONINV : longWord;
  1822. I2C1ASTATbits : TI2C3_I2C1ASTAT;
  1823. I2C1ASTAT : longWord;
  1824. I2C3STATbits : TI2C3_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. TI2C4_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. TI2C4_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. TI2C4_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. TI2C4_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. TI2C4Registers = record
  2217. I2C2ACONbits : TI2C4_I2C2ACON;
  2218. I2C2ACON : longWord;
  2219. I2C4CONbits : TI2C4_I2C4CON;
  2220. I2C4CON : longWord;
  2221. I2C2ACONCLR : longWord;
  2222. I2C4CONCLR : longWord;
  2223. I2C2ACONSET : longWord;
  2224. I2C4CONSET : longWord;
  2225. I2C2ACONINV : longWord;
  2226. I2C4CONINV : longWord;
  2227. I2C2ASTATbits : TI2C4_I2C2ASTAT;
  2228. I2C2ASTAT : longWord;
  2229. I2C4STATbits : TI2C4_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. TI2C3A_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. TI2C3A_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. TI2C3A_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. TI2C3A_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. TI2C3ARegisters = record
  2622. I2C3ACONbits : TI2C3A_I2C3ACON;
  2623. I2C3ACON : longWord;
  2624. I2C5CONbits : TI2C3A_I2C5CON;
  2625. I2C5CON : longWord;
  2626. I2C3ACONCLR : longWord;
  2627. I2C5CONCLR : longWord;
  2628. I2C3ACONSET : longWord;
  2629. I2C5CONSET : longWord;
  2630. I2C3ACONINV : longWord;
  2631. I2C5CONINV : longWord;
  2632. I2C3ASTATbits : TI2C3A_I2C3ASTAT;
  2633. I2C3ASTAT : longWord;
  2634. I2C5STATbits : TI2C3A_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. TSPI2_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. TSPI2_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. TSPI2_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. TSPI2_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. TSPI2Registers = record
  3532. SPI2ACONbits : TSPI2_SPI2ACON;
  3533. SPI2ACON : longWord;
  3534. SPI2CONbits : TSPI2_SPI2CON;
  3535. SPI2CON : longWord;
  3536. SPI2ACONCLR : longWord;
  3537. SPI2CONCLR : longWord;
  3538. SPI2ACONSET : longWord;
  3539. SPI2CONSET : longWord;
  3540. SPI2ACONINV : longWord;
  3541. SPI2CONINV : longWord;
  3542. SPI2ASTATbits : TSPI2_SPI2ASTAT;
  3543. SPI2ASTAT : longWord;
  3544. SPI2STATbits : TSPI2_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. TSPI4_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. TSPI4_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. TSPI4_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. TSPI4_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. TSPI4Registers = record
  3873. SPI3ACONbits : TSPI4_SPI3ACON;
  3874. SPI3ACON : longWord;
  3875. SPI4CONbits : TSPI4_SPI4CON;
  3876. SPI4CON : longWord;
  3877. SPI3ACONCLR : longWord;
  3878. SPI4CONCLR : longWord;
  3879. SPI3ACONSET : longWord;
  3880. SPI4CONSET : longWord;
  3881. SPI3ACONINV : longWord;
  3882. SPI4CONINV : longWord;
  3883. SPI3ASTATbits : TSPI4_SPI3ASTAT;
  3884. SPI3ASTAT : longWord;
  3885. SPI4STATbits : TSPI4_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. TUART1_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. TUART1_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. TUART1_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. TUART1_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. TUART1Registers = record
  4300. U1AMODEbits : TUART1_U1AMODE;
  4301. U1AMODE : longWord;
  4302. U1MODEbits : TUART1_U1MODE;
  4303. U1MODE : longWord;
  4304. U1AMODECLR : longWord;
  4305. U1MODECLR : longWord;
  4306. U1AMODESET : longWord;
  4307. U1MODESET : longWord;
  4308. U1AMODEINV : longWord;
  4309. U1MODEINV : longWord;
  4310. U1ASTAbits : TUART1_U1ASTA;
  4311. U1ASTA : longWord;
  4312. U1STAbits : TUART1_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. TUART1B_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. TUART1B_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. TUART1B_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. TUART1B_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. TUART1BRegisters = record
  4693. U1BMODEbits : TUART1B_U1BMODE;
  4694. U1BMODE : longWord;
  4695. U4MODEbits : TUART1B_U4MODE;
  4696. U4MODE : longWord;
  4697. U1BMODECLR : longWord;
  4698. U4MODECLR : longWord;
  4699. U1BMODESET : longWord;
  4700. U4MODESET : longWord;
  4701. U1BMODEINV : longWord;
  4702. U4MODEINV : longWord;
  4703. U1BSTAbits : TUART1B_U1BSTA;
  4704. U1BSTA : longWord;
  4705. U4STAbits : TUART1B_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. TUART2B_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. TUART2B_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. TUART2B_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. TUART2B_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. TUART2BRegisters = record
  5515. U2BMODEbits : TUART2B_U2BMODE;
  5516. U2BMODE : longWord;
  5517. U6MODEbits : TUART2B_U6MODE;
  5518. U6MODE : longWord;
  5519. U2BMODECLR : longWord;
  5520. U6MODECLR : longWord;
  5521. U2BMODESET : longWord;
  5522. U6MODESET : longWord;
  5523. U2BMODEINV : longWord;
  5524. U6MODEINV : longWord;
  5525. U2BSTAbits : TUART2B_U2BSTA;
  5526. U2BSTA : longWord;
  5527. U6STAbits : TUART2B_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. TUART3A_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. TUART3A_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. TUART3A_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. TUART3A_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. TUART3ARegisters = record
  5944. U2MODEbits : TUART3A_U2MODE;
  5945. U2MODE : longWord;
  5946. U3AMODEbits : TUART3A_U3AMODE;
  5947. U3AMODE : longWord;
  5948. U2MODECLR : longWord;
  5949. U3AMODECLR : longWord;
  5950. U2MODESET : longWord;
  5951. U3AMODESET : longWord;
  5952. U2MODEINV : longWord;
  5953. U3AMODEINV : longWord;
  5954. U2STAbits : TUART3A_U2STA;
  5955. U2STA : longWord;
  5956. U3ASTAbits : TUART3A_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 getCVR : TBits_4; inline;
  7343. function getCVR0 : TBits_1; inline;
  7344. function getCVR1 : TBits_1; inline;
  7345. function getCVR2 : TBits_1; inline;
  7346. function getCVR3 : TBits_1; inline;
  7347. function getCVROE : TBits_1; inline;
  7348. function getCVRR : TBits_1; inline;
  7349. function getCVRSS : TBits_1; inline;
  7350. function getON : TBits_1; inline;
  7351. function getw : TBits_32; inline;
  7352. procedure setCVR(thebits : TBits_4); inline;
  7353. procedure setCVR0(thebits : TBits_1); inline;
  7354. procedure setCVR1(thebits : TBits_1); inline;
  7355. procedure setCVR2(thebits : TBits_1); inline;
  7356. procedure setCVR3(thebits : TBits_1); inline;
  7357. procedure setCVROE(thebits : TBits_1); inline;
  7358. procedure setCVRR(thebits : TBits_1); inline;
  7359. procedure setCVRSS(thebits : TBits_1); inline;
  7360. procedure setON(thebits : TBits_1); inline;
  7361. procedure setw(thebits : TBits_32); inline;
  7362. public
  7363. procedure clearCVR0; inline;
  7364. procedure clearCVR1; inline;
  7365. procedure clearCVR2; inline;
  7366. procedure clearCVR3; inline;
  7367. procedure clearCVROE; inline;
  7368. procedure clearCVRR; inline;
  7369. procedure clearCVRSS; inline;
  7370. procedure clearON; inline;
  7371. procedure setCVR0; inline;
  7372. procedure setCVR1; inline;
  7373. procedure setCVR2; inline;
  7374. procedure setCVR3; inline;
  7375. procedure setCVROE; inline;
  7376. procedure setCVRR; inline;
  7377. procedure setCVRSS; inline;
  7378. procedure setON; inline;
  7379. property CVR : TBits_4 read getCVR write setCVR;
  7380. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  7381. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  7382. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  7383. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  7384. property CVROE : TBits_1 read getCVROE write setCVROE;
  7385. property CVRR : TBits_1 read getCVRR write setCVRR;
  7386. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  7387. property ON : TBits_1 read getON write setON;
  7388. property w : TBits_32 read getw write setw;
  7389. end;
  7390. type
  7391. TCVRRegisters = record
  7392. CVRCONbits : TCVR_CVRCON;
  7393. CVRCON : longWord;
  7394. CVRCONCLR : longWord;
  7395. CVRCONSET : longWord;
  7396. CVRCONINV : longWord;
  7397. end;
  7398. TCMP_CM1CON = record
  7399. private
  7400. function getCCH : TBits_2; inline;
  7401. function getCCH0 : TBits_1; inline;
  7402. function getCCH1 : TBits_1; inline;
  7403. function getCOE : TBits_1; inline;
  7404. function getCOUT : TBits_1; inline;
  7405. function getCPOL : TBits_1; inline;
  7406. function getCREF : TBits_1; inline;
  7407. function getEVPOL : TBits_2; inline;
  7408. function getEVPOL0 : TBits_1; inline;
  7409. function getEVPOL1 : TBits_1; inline;
  7410. function getON : TBits_1; inline;
  7411. function getw : TBits_32; inline;
  7412. procedure setCCH(thebits : TBits_2); inline;
  7413. procedure setCCH0(thebits : TBits_1); inline;
  7414. procedure setCCH1(thebits : TBits_1); inline;
  7415. procedure setCOE(thebits : TBits_1); inline;
  7416. procedure setCOUT(thebits : TBits_1); inline;
  7417. procedure setCPOL(thebits : TBits_1); inline;
  7418. procedure setCREF(thebits : TBits_1); inline;
  7419. procedure setEVPOL(thebits : TBits_2); inline;
  7420. procedure setEVPOL0(thebits : TBits_1); inline;
  7421. procedure setEVPOL1(thebits : TBits_1); inline;
  7422. procedure setON(thebits : TBits_1); inline;
  7423. procedure setw(thebits : TBits_32); inline;
  7424. public
  7425. procedure clearCCH0; inline;
  7426. procedure clearCCH1; inline;
  7427. procedure clearCOE; inline;
  7428. procedure clearCOUT; inline;
  7429. procedure clearCPOL; inline;
  7430. procedure clearCREF; inline;
  7431. procedure clearEVPOL0; inline;
  7432. procedure clearEVPOL1; inline;
  7433. procedure clearON; inline;
  7434. procedure setCCH0; inline;
  7435. procedure setCCH1; inline;
  7436. procedure setCOE; inline;
  7437. procedure setCOUT; inline;
  7438. procedure setCPOL; inline;
  7439. procedure setCREF; inline;
  7440. procedure setEVPOL0; inline;
  7441. procedure setEVPOL1; inline;
  7442. procedure setON; inline;
  7443. property CCH : TBits_2 read getCCH write setCCH;
  7444. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7445. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7446. property COE : TBits_1 read getCOE write setCOE;
  7447. property COUT : TBits_1 read getCOUT write setCOUT;
  7448. property CPOL : TBits_1 read getCPOL write setCPOL;
  7449. property CREF : TBits_1 read getCREF write setCREF;
  7450. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7451. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7452. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7453. property ON : TBits_1 read getON write setON;
  7454. property w : TBits_32 read getw write setw;
  7455. end;
  7456. TCMP_CM2CON = record
  7457. private
  7458. function getCCH : TBits_2; inline;
  7459. function getCCH0 : TBits_1; inline;
  7460. function getCCH1 : TBits_1; inline;
  7461. function getCOE : TBits_1; inline;
  7462. function getCOUT : TBits_1; inline;
  7463. function getCPOL : TBits_1; inline;
  7464. function getCREF : TBits_1; inline;
  7465. function getEVPOL : TBits_2; inline;
  7466. function getEVPOL0 : TBits_1; inline;
  7467. function getEVPOL1 : TBits_1; inline;
  7468. function getON : TBits_1; inline;
  7469. function getw : TBits_32; inline;
  7470. procedure setCCH(thebits : TBits_2); inline;
  7471. procedure setCCH0(thebits : TBits_1); inline;
  7472. procedure setCCH1(thebits : TBits_1); inline;
  7473. procedure setCOE(thebits : TBits_1); inline;
  7474. procedure setCOUT(thebits : TBits_1); inline;
  7475. procedure setCPOL(thebits : TBits_1); inline;
  7476. procedure setCREF(thebits : TBits_1); inline;
  7477. procedure setEVPOL(thebits : TBits_2); inline;
  7478. procedure setEVPOL0(thebits : TBits_1); inline;
  7479. procedure setEVPOL1(thebits : TBits_1); inline;
  7480. procedure setON(thebits : TBits_1); inline;
  7481. procedure setw(thebits : TBits_32); inline;
  7482. public
  7483. procedure clearCCH0; inline;
  7484. procedure clearCCH1; inline;
  7485. procedure clearCOE; inline;
  7486. procedure clearCOUT; inline;
  7487. procedure clearCPOL; inline;
  7488. procedure clearCREF; inline;
  7489. procedure clearEVPOL0; inline;
  7490. procedure clearEVPOL1; inline;
  7491. procedure clearON; inline;
  7492. procedure setCCH0; inline;
  7493. procedure setCCH1; inline;
  7494. procedure setCOE; inline;
  7495. procedure setCOUT; inline;
  7496. procedure setCPOL; inline;
  7497. procedure setCREF; inline;
  7498. procedure setEVPOL0; inline;
  7499. procedure setEVPOL1; inline;
  7500. procedure setON; inline;
  7501. property CCH : TBits_2 read getCCH write setCCH;
  7502. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7503. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7504. property COE : TBits_1 read getCOE write setCOE;
  7505. property COUT : TBits_1 read getCOUT write setCOUT;
  7506. property CPOL : TBits_1 read getCPOL write setCPOL;
  7507. property CREF : TBits_1 read getCREF write setCREF;
  7508. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7509. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7510. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7511. property ON : TBits_1 read getON write setON;
  7512. property w : TBits_32 read getw write setw;
  7513. end;
  7514. TCMP_CMSTAT = record
  7515. private
  7516. function getC1OUT : TBits_1; inline;
  7517. function getC2OUT : TBits_1; inline;
  7518. function getSIDL : TBits_1; inline;
  7519. function getw : TBits_32; inline;
  7520. procedure setC1OUT(thebits : TBits_1); inline;
  7521. procedure setC2OUT(thebits : TBits_1); inline;
  7522. procedure setSIDL(thebits : TBits_1); inline;
  7523. procedure setw(thebits : TBits_32); inline;
  7524. public
  7525. procedure clearC1OUT; inline;
  7526. procedure clearC2OUT; inline;
  7527. procedure clearSIDL; inline;
  7528. procedure setC1OUT; inline;
  7529. procedure setC2OUT; inline;
  7530. procedure setSIDL; inline;
  7531. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  7532. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  7533. property SIDL : TBits_1 read getSIDL write setSIDL;
  7534. property w : TBits_32 read getw write setw;
  7535. end;
  7536. type
  7537. TCMPRegisters = record
  7538. CM1CONbits : TCMP_CM1CON;
  7539. CM1CON : longWord;
  7540. CM1CONCLR : longWord;
  7541. CM1CONSET : longWord;
  7542. CM1CONINV : longWord;
  7543. CM2CONbits : TCMP_CM2CON;
  7544. CM2CON : longWord;
  7545. CM2CONCLR : longWord;
  7546. CM2CONSET : longWord;
  7547. CM2CONINV : longWord;
  7548. CMSTATbits : TCMP_CMSTAT;
  7549. CMSTAT : longWord;
  7550. CMSTATCLR : longWord;
  7551. CMSTATSET : longWord;
  7552. CMSTATINV : longWord;
  7553. end;
  7554. TOSC_OSCCON = record
  7555. private
  7556. function getCF : TBits_1; inline;
  7557. function getCLKLOCK : TBits_1; inline;
  7558. function getCOSC : TBits_3; inline;
  7559. function getCOSC0 : TBits_1; inline;
  7560. function getCOSC1 : TBits_1; inline;
  7561. function getCOSC2 : TBits_1; inline;
  7562. function getFRCDIV : TBits_3; inline;
  7563. function getFRCDIV0 : TBits_1; inline;
  7564. function getFRCDIV1 : TBits_1; inline;
  7565. function getFRCDIV2 : TBits_1; inline;
  7566. function getNOSC : TBits_3; inline;
  7567. function getNOSC0 : TBits_1; inline;
  7568. function getNOSC1 : TBits_1; inline;
  7569. function getNOSC2 : TBits_1; inline;
  7570. function getOSWEN : TBits_1; inline;
  7571. function getPBDIV : TBits_2; inline;
  7572. function getPBDIV0 : TBits_1; inline;
  7573. function getPBDIV1 : TBits_1; inline;
  7574. function getPLLMULT : TBits_3; inline;
  7575. function getPLLMULT0 : TBits_1; inline;
  7576. function getPLLMULT1 : TBits_1; inline;
  7577. function getPLLMULT2 : TBits_1; inline;
  7578. function getPLLODIV : TBits_3; inline;
  7579. function getPLLODIV0 : TBits_1; inline;
  7580. function getPLLODIV1 : TBits_1; inline;
  7581. function getPLLODIV2 : TBits_1; inline;
  7582. function getSLOCK : TBits_1; inline;
  7583. function getSLPEN : TBits_1; inline;
  7584. function getSOSCEN : TBits_1; inline;
  7585. function getSOSCRDY : TBits_1; inline;
  7586. function getUFRCEN : TBits_1; inline;
  7587. function getULOCK : TBits_1; inline;
  7588. function getw : TBits_32; inline;
  7589. procedure setCF(thebits : TBits_1); inline;
  7590. procedure setCLKLOCK(thebits : TBits_1); inline;
  7591. procedure setCOSC(thebits : TBits_3); inline;
  7592. procedure setCOSC0(thebits : TBits_1); inline;
  7593. procedure setCOSC1(thebits : TBits_1); inline;
  7594. procedure setCOSC2(thebits : TBits_1); inline;
  7595. procedure setFRCDIV(thebits : TBits_3); inline;
  7596. procedure setFRCDIV0(thebits : TBits_1); inline;
  7597. procedure setFRCDIV1(thebits : TBits_1); inline;
  7598. procedure setFRCDIV2(thebits : TBits_1); inline;
  7599. procedure setNOSC(thebits : TBits_3); inline;
  7600. procedure setNOSC0(thebits : TBits_1); inline;
  7601. procedure setNOSC1(thebits : TBits_1); inline;
  7602. procedure setNOSC2(thebits : TBits_1); inline;
  7603. procedure setOSWEN(thebits : TBits_1); inline;
  7604. procedure setPBDIV(thebits : TBits_2); inline;
  7605. procedure setPBDIV0(thebits : TBits_1); inline;
  7606. procedure setPBDIV1(thebits : TBits_1); inline;
  7607. procedure setPLLMULT(thebits : TBits_3); inline;
  7608. procedure setPLLMULT0(thebits : TBits_1); inline;
  7609. procedure setPLLMULT1(thebits : TBits_1); inline;
  7610. procedure setPLLMULT2(thebits : TBits_1); inline;
  7611. procedure setPLLODIV(thebits : TBits_3); inline;
  7612. procedure setPLLODIV0(thebits : TBits_1); inline;
  7613. procedure setPLLODIV1(thebits : TBits_1); inline;
  7614. procedure setPLLODIV2(thebits : TBits_1); inline;
  7615. procedure setSLOCK(thebits : TBits_1); inline;
  7616. procedure setSLPEN(thebits : TBits_1); inline;
  7617. procedure setSOSCEN(thebits : TBits_1); inline;
  7618. procedure setSOSCRDY(thebits : TBits_1); inline;
  7619. procedure setUFRCEN(thebits : TBits_1); inline;
  7620. procedure setULOCK(thebits : TBits_1); inline;
  7621. procedure setw(thebits : TBits_32); inline;
  7622. public
  7623. procedure clearCF; inline;
  7624. procedure clearCLKLOCK; inline;
  7625. procedure clearCOSC0; inline;
  7626. procedure clearCOSC1; inline;
  7627. procedure clearCOSC2; inline;
  7628. procedure clearFRCDIV0; inline;
  7629. procedure clearFRCDIV1; inline;
  7630. procedure clearFRCDIV2; inline;
  7631. procedure clearNOSC0; inline;
  7632. procedure clearNOSC1; inline;
  7633. procedure clearNOSC2; inline;
  7634. procedure clearOSWEN; inline;
  7635. procedure clearPBDIV0; inline;
  7636. procedure clearPBDIV1; inline;
  7637. procedure clearPLLMULT0; inline;
  7638. procedure clearPLLMULT1; inline;
  7639. procedure clearPLLMULT2; inline;
  7640. procedure clearPLLODIV0; inline;
  7641. procedure clearPLLODIV1; inline;
  7642. procedure clearPLLODIV2; inline;
  7643. procedure clearSLOCK; inline;
  7644. procedure clearSLPEN; inline;
  7645. procedure clearSOSCEN; inline;
  7646. procedure clearSOSCRDY; inline;
  7647. procedure clearUFRCEN; inline;
  7648. procedure clearULOCK; inline;
  7649. procedure setCF; inline;
  7650. procedure setCLKLOCK; inline;
  7651. procedure setCOSC0; inline;
  7652. procedure setCOSC1; inline;
  7653. procedure setCOSC2; inline;
  7654. procedure setFRCDIV0; inline;
  7655. procedure setFRCDIV1; inline;
  7656. procedure setFRCDIV2; inline;
  7657. procedure setNOSC0; inline;
  7658. procedure setNOSC1; inline;
  7659. procedure setNOSC2; inline;
  7660. procedure setOSWEN; inline;
  7661. procedure setPBDIV0; inline;
  7662. procedure setPBDIV1; inline;
  7663. procedure setPLLMULT0; inline;
  7664. procedure setPLLMULT1; inline;
  7665. procedure setPLLMULT2; inline;
  7666. procedure setPLLODIV0; inline;
  7667. procedure setPLLODIV1; inline;
  7668. procedure setPLLODIV2; inline;
  7669. procedure setSLOCK; inline;
  7670. procedure setSLPEN; inline;
  7671. procedure setSOSCEN; inline;
  7672. procedure setSOSCRDY; inline;
  7673. procedure setUFRCEN; inline;
  7674. procedure setULOCK; inline;
  7675. property CF : TBits_1 read getCF write setCF;
  7676. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  7677. property COSC : TBits_3 read getCOSC write setCOSC;
  7678. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  7679. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  7680. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  7681. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  7682. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  7683. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  7684. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  7685. property NOSC : TBits_3 read getNOSC write setNOSC;
  7686. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  7687. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  7688. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  7689. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  7690. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  7691. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  7692. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  7693. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  7694. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  7695. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  7696. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  7697. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  7698. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  7699. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  7700. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  7701. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  7702. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  7703. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  7704. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  7705. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  7706. property ULOCK : TBits_1 read getULOCK write setULOCK;
  7707. property w : TBits_32 read getw write setw;
  7708. end;
  7709. TOSC_OSCTUN = record
  7710. private
  7711. function getTUN : TBits_6; inline;
  7712. function getTUN0 : TBits_1; inline;
  7713. function getTUN1 : TBits_1; inline;
  7714. function getTUN2 : TBits_1; inline;
  7715. function getTUN3 : TBits_1; inline;
  7716. function getTUN4 : TBits_1; inline;
  7717. function getTUN5 : TBits_1; inline;
  7718. function getw : TBits_32; inline;
  7719. procedure setTUN(thebits : TBits_6); inline;
  7720. procedure setTUN0(thebits : TBits_1); inline;
  7721. procedure setTUN1(thebits : TBits_1); inline;
  7722. procedure setTUN2(thebits : TBits_1); inline;
  7723. procedure setTUN3(thebits : TBits_1); inline;
  7724. procedure setTUN4(thebits : TBits_1); inline;
  7725. procedure setTUN5(thebits : TBits_1); inline;
  7726. procedure setw(thebits : TBits_32); inline;
  7727. public
  7728. procedure clearTUN0; inline;
  7729. procedure clearTUN1; inline;
  7730. procedure clearTUN2; inline;
  7731. procedure clearTUN3; inline;
  7732. procedure clearTUN4; inline;
  7733. procedure clearTUN5; inline;
  7734. procedure setTUN0; inline;
  7735. procedure setTUN1; inline;
  7736. procedure setTUN2; inline;
  7737. procedure setTUN3; inline;
  7738. procedure setTUN4; inline;
  7739. procedure setTUN5; inline;
  7740. property TUN : TBits_6 read getTUN write setTUN;
  7741. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  7742. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  7743. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  7744. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  7745. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  7746. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  7747. property w : TBits_32 read getw write setw;
  7748. end;
  7749. type
  7750. TOSCRegisters = record
  7751. OSCCONbits : TOSC_OSCCON;
  7752. OSCCON : longWord;
  7753. OSCCONCLR : longWord;
  7754. OSCCONSET : longWord;
  7755. OSCCONINV : longWord;
  7756. OSCTUNbits : TOSC_OSCTUN;
  7757. OSCTUN : longWord;
  7758. OSCTUNCLR : longWord;
  7759. OSCTUNSET : longWord;
  7760. OSCTUNINV : longWord;
  7761. end;
  7762. type
  7763. TCFGRegisters = record
  7764. DDPCON : longWord;
  7765. DEVID : longWord;
  7766. SYSKEY : longWord;
  7767. SYSKEYCLR : longWord;
  7768. SYSKEYSET : longWord;
  7769. SYSKEYINV : longWord;
  7770. end;
  7771. TNVM_NVMCON = record
  7772. private
  7773. function getLVDERR : TBits_1; inline;
  7774. function getLVDSTAT : TBits_1; inline;
  7775. function getNVMOP : TBits_4; inline;
  7776. function getNVMOP0 : TBits_1; inline;
  7777. function getNVMOP1 : TBits_1; inline;
  7778. function getNVMOP2 : TBits_1; inline;
  7779. function getNVMOP3 : TBits_1; inline;
  7780. function getPROGOP : TBits_4; inline;
  7781. function getPROGOP0 : TBits_1; inline;
  7782. function getPROGOP1 : TBits_1; inline;
  7783. function getPROGOP2 : TBits_1; inline;
  7784. function getPROGOP3 : TBits_1; inline;
  7785. function getWR : TBits_1; inline;
  7786. function getWREN : TBits_1; inline;
  7787. function getWRERR : TBits_1; inline;
  7788. function getw : TBits_32; inline;
  7789. procedure setLVDERR(thebits : TBits_1); inline;
  7790. procedure setLVDSTAT(thebits : TBits_1); inline;
  7791. procedure setNVMOP(thebits : TBits_4); inline;
  7792. procedure setNVMOP0(thebits : TBits_1); inline;
  7793. procedure setNVMOP1(thebits : TBits_1); inline;
  7794. procedure setNVMOP2(thebits : TBits_1); inline;
  7795. procedure setNVMOP3(thebits : TBits_1); inline;
  7796. procedure setPROGOP(thebits : TBits_4); inline;
  7797. procedure setPROGOP0(thebits : TBits_1); inline;
  7798. procedure setPROGOP1(thebits : TBits_1); inline;
  7799. procedure setPROGOP2(thebits : TBits_1); inline;
  7800. procedure setPROGOP3(thebits : TBits_1); inline;
  7801. procedure setWR(thebits : TBits_1); inline;
  7802. procedure setWREN(thebits : TBits_1); inline;
  7803. procedure setWRERR(thebits : TBits_1); inline;
  7804. procedure setw(thebits : TBits_32); inline;
  7805. public
  7806. procedure clearLVDERR; inline;
  7807. procedure clearLVDSTAT; inline;
  7808. procedure clearNVMOP0; inline;
  7809. procedure clearNVMOP1; inline;
  7810. procedure clearNVMOP2; inline;
  7811. procedure clearNVMOP3; inline;
  7812. procedure clearPROGOP0; inline;
  7813. procedure clearPROGOP1; inline;
  7814. procedure clearPROGOP2; inline;
  7815. procedure clearPROGOP3; inline;
  7816. procedure clearWR; inline;
  7817. procedure clearWREN; inline;
  7818. procedure clearWRERR; inline;
  7819. procedure setLVDERR; inline;
  7820. procedure setLVDSTAT; inline;
  7821. procedure setNVMOP0; inline;
  7822. procedure setNVMOP1; inline;
  7823. procedure setNVMOP2; inline;
  7824. procedure setNVMOP3; inline;
  7825. procedure setPROGOP0; inline;
  7826. procedure setPROGOP1; inline;
  7827. procedure setPROGOP2; inline;
  7828. procedure setPROGOP3; inline;
  7829. procedure setWR; inline;
  7830. procedure setWREN; inline;
  7831. procedure setWRERR; inline;
  7832. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  7833. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  7834. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  7835. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  7836. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  7837. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  7838. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  7839. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  7840. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  7841. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  7842. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  7843. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  7844. property WR : TBits_1 read getWR write setWR;
  7845. property WREN : TBits_1 read getWREN write setWREN;
  7846. property WRERR : TBits_1 read getWRERR write setWRERR;
  7847. property w : TBits_32 read getw write setw;
  7848. end;
  7849. type
  7850. TNVMRegisters = record
  7851. NVMCONbits : TNVM_NVMCON;
  7852. NVMCON : longWord;
  7853. NVMCONCLR : longWord;
  7854. NVMCONSET : longWord;
  7855. NVMCONINV : longWord;
  7856. NVMKEY : longWord;
  7857. NVMADDR : longWord;
  7858. NVMADDRCLR : longWord;
  7859. NVMADDRSET : longWord;
  7860. NVMADDRINV : longWord;
  7861. NVMDATA : longWord;
  7862. NVMSRCADDR : longWord;
  7863. end;
  7864. TRCON_RCON = record
  7865. private
  7866. function getBOR : TBits_1; inline;
  7867. function getCMR : TBits_1; inline;
  7868. function getEXTR : TBits_1; inline;
  7869. function getIDLE : TBits_1; inline;
  7870. function getPOR : TBits_1; inline;
  7871. function getSLEEP : TBits_1; inline;
  7872. function getSWR : TBits_1; inline;
  7873. function getVREGS : TBits_1; inline;
  7874. function getWDTO : TBits_1; inline;
  7875. function getw : TBits_32; inline;
  7876. procedure setBOR(thebits : TBits_1); inline;
  7877. procedure setCMR(thebits : TBits_1); inline;
  7878. procedure setEXTR(thebits : TBits_1); inline;
  7879. procedure setIDLE(thebits : TBits_1); inline;
  7880. procedure setPOR(thebits : TBits_1); inline;
  7881. procedure setSLEEP(thebits : TBits_1); inline;
  7882. procedure setSWR(thebits : TBits_1); inline;
  7883. procedure setVREGS(thebits : TBits_1); inline;
  7884. procedure setWDTO(thebits : TBits_1); inline;
  7885. procedure setw(thebits : TBits_32); inline;
  7886. public
  7887. procedure clearBOR; inline;
  7888. procedure clearCMR; inline;
  7889. procedure clearEXTR; inline;
  7890. procedure clearIDLE; inline;
  7891. procedure clearPOR; inline;
  7892. procedure clearSLEEP; inline;
  7893. procedure clearSWR; inline;
  7894. procedure clearVREGS; inline;
  7895. procedure clearWDTO; inline;
  7896. procedure setBOR; inline;
  7897. procedure setCMR; inline;
  7898. procedure setEXTR; inline;
  7899. procedure setIDLE; inline;
  7900. procedure setPOR; inline;
  7901. procedure setSLEEP; inline;
  7902. procedure setSWR; inline;
  7903. procedure setVREGS; inline;
  7904. procedure setWDTO; inline;
  7905. property BOR : TBits_1 read getBOR write setBOR;
  7906. property CMR : TBits_1 read getCMR write setCMR;
  7907. property EXTR : TBits_1 read getEXTR write setEXTR;
  7908. property IDLE : TBits_1 read getIDLE write setIDLE;
  7909. property POR : TBits_1 read getPOR write setPOR;
  7910. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  7911. property SWR : TBits_1 read getSWR write setSWR;
  7912. property VREGS : TBits_1 read getVREGS write setVREGS;
  7913. property WDTO : TBits_1 read getWDTO write setWDTO;
  7914. property w : TBits_32 read getw write setw;
  7915. end;
  7916. TRCON_RSWRST = record
  7917. private
  7918. function getSWRST : TBits_1; inline;
  7919. function getw : TBits_32; inline;
  7920. procedure setSWRST(thebits : TBits_1); inline;
  7921. procedure setw(thebits : TBits_32); inline;
  7922. public
  7923. procedure clearSWRST; inline;
  7924. procedure setSWRST; inline;
  7925. property SWRST : TBits_1 read getSWRST write setSWRST;
  7926. property w : TBits_32 read getw write setw;
  7927. end;
  7928. type
  7929. TRCONRegisters = record
  7930. RCONbits : TRCON_RCON;
  7931. RCON : longWord;
  7932. RCONCLR : longWord;
  7933. RCONSET : longWord;
  7934. RCONINV : longWord;
  7935. RSWRSTbits : TRCON_RSWRST;
  7936. RSWRST : longWord;
  7937. RSWRSTCLR : longWord;
  7938. RSWRSTSET : longWord;
  7939. RSWRSTINV : longWord;
  7940. end;
  7941. type
  7942. T_DDPSTATRegisters = record
  7943. _DDPSTAT : longWord;
  7944. end;
  7945. type
  7946. T_STRORegisters = record
  7947. _STRO : longWord;
  7948. _STROCLR : longWord;
  7949. _STROSET : longWord;
  7950. _STROINV : longWord;
  7951. end;
  7952. type
  7953. T_APPORegisters = record
  7954. _APPO : longWord;
  7955. _APPOCLR : longWord;
  7956. _APPOSET : longWord;
  7957. _APPOINV : longWord;
  7958. end;
  7959. type
  7960. T_APPIRegisters = record
  7961. _APPI : longWord;
  7962. end;
  7963. TINT_INTCON = record
  7964. private
  7965. function getFRZ : TBits_1; inline;
  7966. function getINT0EP : TBits_1; inline;
  7967. function getINT1EP : TBits_1; inline;
  7968. function getINT2EP : TBits_1; inline;
  7969. function getINT3EP : TBits_1; inline;
  7970. function getINT4EP : TBits_1; inline;
  7971. function getMVEC : TBits_1; inline;
  7972. function getSS0 : TBits_1; inline;
  7973. function getTPC : TBits_3; inline;
  7974. function getw : TBits_32; inline;
  7975. procedure setFRZ(thebits : TBits_1); inline;
  7976. procedure setINT0EP(thebits : TBits_1); inline;
  7977. procedure setINT1EP(thebits : TBits_1); inline;
  7978. procedure setINT2EP(thebits : TBits_1); inline;
  7979. procedure setINT3EP(thebits : TBits_1); inline;
  7980. procedure setINT4EP(thebits : TBits_1); inline;
  7981. procedure setMVEC(thebits : TBits_1); inline;
  7982. procedure setSS0(thebits : TBits_1); inline;
  7983. procedure setTPC(thebits : TBits_3); inline;
  7984. procedure setw(thebits : TBits_32); inline;
  7985. public
  7986. procedure clearFRZ; inline;
  7987. procedure clearINT0EP; inline;
  7988. procedure clearINT1EP; inline;
  7989. procedure clearINT2EP; inline;
  7990. procedure clearINT3EP; inline;
  7991. procedure clearINT4EP; inline;
  7992. procedure clearMVEC; inline;
  7993. procedure clearSS0; inline;
  7994. procedure setFRZ; inline;
  7995. procedure setINT0EP; inline;
  7996. procedure setINT1EP; inline;
  7997. procedure setINT2EP; inline;
  7998. procedure setINT3EP; inline;
  7999. procedure setINT4EP; inline;
  8000. procedure setMVEC; inline;
  8001. procedure setSS0; inline;
  8002. property FRZ : TBits_1 read getFRZ write setFRZ;
  8003. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  8004. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  8005. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  8006. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  8007. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  8008. property MVEC : TBits_1 read getMVEC write setMVEC;
  8009. property SS0 : TBits_1 read getSS0 write setSS0;
  8010. property TPC : TBits_3 read getTPC write setTPC;
  8011. property w : TBits_32 read getw write setw;
  8012. end;
  8013. TINT_IFS0 = record
  8014. private
  8015. function getCS0IF : TBits_1; inline;
  8016. function getCS1IF : TBits_1; inline;
  8017. function getCTIF : TBits_1; inline;
  8018. function getI2C1ABIF : TBits_1; inline;
  8019. function getI2C1AMIF : TBits_1; inline;
  8020. function getI2C1ASIF : TBits_1; inline;
  8021. function getI2C1BIF : TBits_1; inline;
  8022. function getI2C1MIF : TBits_1; inline;
  8023. function getI2C1SIF : TBits_1; inline;
  8024. function getI2C3BIF : TBits_1; inline;
  8025. function getI2C3MIF : TBits_1; inline;
  8026. function getI2C3SIF : TBits_1; inline;
  8027. function getIC1IF : TBits_1; inline;
  8028. function getIC2IF : TBits_1; inline;
  8029. function getIC3IF : TBits_1; inline;
  8030. function getIC4IF : TBits_1; inline;
  8031. function getIC5IF : TBits_1; inline;
  8032. function getINT0IF : TBits_1; inline;
  8033. function getINT1IF : TBits_1; inline;
  8034. function getINT2IF : TBits_1; inline;
  8035. function getINT3IF : TBits_1; inline;
  8036. function getINT4IF : TBits_1; inline;
  8037. function getOC1IF : TBits_1; inline;
  8038. function getOC2IF : TBits_1; inline;
  8039. function getOC3IF : TBits_1; inline;
  8040. function getOC4IF : TBits_1; inline;
  8041. function getOC5IF : TBits_1; inline;
  8042. function getSPI1AEIF : TBits_1; inline;
  8043. function getSPI1ARXIF : TBits_1; inline;
  8044. function getSPI1ATXIF : TBits_1; inline;
  8045. function getSPI3EIF : TBits_1; inline;
  8046. function getSPI3RXIF : TBits_1; inline;
  8047. function getSPI3TXIF : TBits_1; inline;
  8048. function getT1IF : TBits_1; inline;
  8049. function getT2IF : TBits_1; inline;
  8050. function getT3IF : TBits_1; inline;
  8051. function getT4IF : TBits_1; inline;
  8052. function getT5IF : TBits_1; inline;
  8053. function getU1AEIF : TBits_1; inline;
  8054. function getU1ARXIF : TBits_1; inline;
  8055. function getU1ATXIF : TBits_1; inline;
  8056. function getU1EIF : TBits_1; inline;
  8057. function getU1RXIF : TBits_1; inline;
  8058. function getU1TXIF : TBits_1; inline;
  8059. function getw : TBits_32; inline;
  8060. procedure setCS0IF(thebits : TBits_1); inline;
  8061. procedure setCS1IF(thebits : TBits_1); inline;
  8062. procedure setCTIF(thebits : TBits_1); inline;
  8063. procedure setI2C1ABIF(thebits : TBits_1); inline;
  8064. procedure setI2C1AMIF(thebits : TBits_1); inline;
  8065. procedure setI2C1ASIF(thebits : TBits_1); inline;
  8066. procedure setI2C1BIF(thebits : TBits_1); inline;
  8067. procedure setI2C1MIF(thebits : TBits_1); inline;
  8068. procedure setI2C1SIF(thebits : TBits_1); inline;
  8069. procedure setI2C3BIF(thebits : TBits_1); inline;
  8070. procedure setI2C3MIF(thebits : TBits_1); inline;
  8071. procedure setI2C3SIF(thebits : TBits_1); inline;
  8072. procedure setIC1IF(thebits : TBits_1); inline;
  8073. procedure setIC2IF(thebits : TBits_1); inline;
  8074. procedure setIC3IF(thebits : TBits_1); inline;
  8075. procedure setIC4IF(thebits : TBits_1); inline;
  8076. procedure setIC5IF(thebits : TBits_1); inline;
  8077. procedure setINT0IF(thebits : TBits_1); inline;
  8078. procedure setINT1IF(thebits : TBits_1); inline;
  8079. procedure setINT2IF(thebits : TBits_1); inline;
  8080. procedure setINT3IF(thebits : TBits_1); inline;
  8081. procedure setINT4IF(thebits : TBits_1); inline;
  8082. procedure setOC1IF(thebits : TBits_1); inline;
  8083. procedure setOC2IF(thebits : TBits_1); inline;
  8084. procedure setOC3IF(thebits : TBits_1); inline;
  8085. procedure setOC4IF(thebits : TBits_1); inline;
  8086. procedure setOC5IF(thebits : TBits_1); inline;
  8087. procedure setSPI1AEIF(thebits : TBits_1); inline;
  8088. procedure setSPI1ARXIF(thebits : TBits_1); inline;
  8089. procedure setSPI1ATXIF(thebits : TBits_1); inline;
  8090. procedure setSPI3EIF(thebits : TBits_1); inline;
  8091. procedure setSPI3RXIF(thebits : TBits_1); inline;
  8092. procedure setSPI3TXIF(thebits : TBits_1); inline;
  8093. procedure setT1IF(thebits : TBits_1); inline;
  8094. procedure setT2IF(thebits : TBits_1); inline;
  8095. procedure setT3IF(thebits : TBits_1); inline;
  8096. procedure setT4IF(thebits : TBits_1); inline;
  8097. procedure setT5IF(thebits : TBits_1); inline;
  8098. procedure setU1AEIF(thebits : TBits_1); inline;
  8099. procedure setU1ARXIF(thebits : TBits_1); inline;
  8100. procedure setU1ATXIF(thebits : TBits_1); inline;
  8101. procedure setU1EIF(thebits : TBits_1); inline;
  8102. procedure setU1RXIF(thebits : TBits_1); inline;
  8103. procedure setU1TXIF(thebits : TBits_1); inline;
  8104. procedure setw(thebits : TBits_32); inline;
  8105. public
  8106. procedure clearCS0IF; inline;
  8107. procedure clearCS1IF; inline;
  8108. procedure clearCTIF; inline;
  8109. procedure clearI2C1ABIF; inline;
  8110. procedure clearI2C1AMIF; inline;
  8111. procedure clearI2C1ASIF; inline;
  8112. procedure clearI2C1BIF; inline;
  8113. procedure clearI2C1MIF; inline;
  8114. procedure clearI2C1SIF; inline;
  8115. procedure clearI2C3BIF; inline;
  8116. procedure clearI2C3MIF; inline;
  8117. procedure clearI2C3SIF; inline;
  8118. procedure clearIC1IF; inline;
  8119. procedure clearIC2IF; inline;
  8120. procedure clearIC3IF; inline;
  8121. procedure clearIC4IF; inline;
  8122. procedure clearIC5IF; inline;
  8123. procedure clearINT0IF; inline;
  8124. procedure clearINT1IF; inline;
  8125. procedure clearINT2IF; inline;
  8126. procedure clearINT3IF; inline;
  8127. procedure clearINT4IF; inline;
  8128. procedure clearOC1IF; inline;
  8129. procedure clearOC2IF; inline;
  8130. procedure clearOC3IF; inline;
  8131. procedure clearOC4IF; inline;
  8132. procedure clearOC5IF; inline;
  8133. procedure clearSPI1AEIF; inline;
  8134. procedure clearSPI1ARXIF; inline;
  8135. procedure clearSPI1ATXIF; inline;
  8136. procedure clearSPI3EIF; inline;
  8137. procedure clearSPI3RXIF; inline;
  8138. procedure clearSPI3TXIF; inline;
  8139. procedure clearT1IF; inline;
  8140. procedure clearT2IF; inline;
  8141. procedure clearT3IF; inline;
  8142. procedure clearT4IF; inline;
  8143. procedure clearT5IF; inline;
  8144. procedure clearU1AEIF; inline;
  8145. procedure clearU1ARXIF; inline;
  8146. procedure clearU1ATXIF; inline;
  8147. procedure clearU1EIF; inline;
  8148. procedure clearU1RXIF; inline;
  8149. procedure clearU1TXIF; inline;
  8150. procedure setCS0IF; inline;
  8151. procedure setCS1IF; inline;
  8152. procedure setCTIF; inline;
  8153. procedure setI2C1ABIF; inline;
  8154. procedure setI2C1AMIF; inline;
  8155. procedure setI2C1ASIF; inline;
  8156. procedure setI2C1BIF; inline;
  8157. procedure setI2C1MIF; inline;
  8158. procedure setI2C1SIF; inline;
  8159. procedure setI2C3BIF; inline;
  8160. procedure setI2C3MIF; inline;
  8161. procedure setI2C3SIF; inline;
  8162. procedure setIC1IF; inline;
  8163. procedure setIC2IF; inline;
  8164. procedure setIC3IF; inline;
  8165. procedure setIC4IF; inline;
  8166. procedure setIC5IF; inline;
  8167. procedure setINT0IF; inline;
  8168. procedure setINT1IF; inline;
  8169. procedure setINT2IF; inline;
  8170. procedure setINT3IF; inline;
  8171. procedure setINT4IF; inline;
  8172. procedure setOC1IF; inline;
  8173. procedure setOC2IF; inline;
  8174. procedure setOC3IF; inline;
  8175. procedure setOC4IF; inline;
  8176. procedure setOC5IF; inline;
  8177. procedure setSPI1AEIF; inline;
  8178. procedure setSPI1ARXIF; inline;
  8179. procedure setSPI1ATXIF; inline;
  8180. procedure setSPI3EIF; inline;
  8181. procedure setSPI3RXIF; inline;
  8182. procedure setSPI3TXIF; inline;
  8183. procedure setT1IF; inline;
  8184. procedure setT2IF; inline;
  8185. procedure setT3IF; inline;
  8186. procedure setT4IF; inline;
  8187. procedure setT5IF; inline;
  8188. procedure setU1AEIF; inline;
  8189. procedure setU1ARXIF; inline;
  8190. procedure setU1ATXIF; inline;
  8191. procedure setU1EIF; inline;
  8192. procedure setU1RXIF; inline;
  8193. procedure setU1TXIF; inline;
  8194. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  8195. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  8196. property CTIF : TBits_1 read getCTIF write setCTIF;
  8197. property I2C1ABIF : TBits_1 read getI2C1ABIF write setI2C1ABIF;
  8198. property I2C1AMIF : TBits_1 read getI2C1AMIF write setI2C1AMIF;
  8199. property I2C1ASIF : TBits_1 read getI2C1ASIF write setI2C1ASIF;
  8200. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  8201. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  8202. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  8203. property I2C3BIF : TBits_1 read getI2C3BIF write setI2C3BIF;
  8204. property I2C3MIF : TBits_1 read getI2C3MIF write setI2C3MIF;
  8205. property I2C3SIF : TBits_1 read getI2C3SIF write setI2C3SIF;
  8206. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  8207. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  8208. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  8209. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  8210. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  8211. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  8212. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  8213. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  8214. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  8215. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  8216. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  8217. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  8218. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  8219. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  8220. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  8221. property SPI1AEIF : TBits_1 read getSPI1AEIF write setSPI1AEIF;
  8222. property SPI1ARXIF : TBits_1 read getSPI1ARXIF write setSPI1ARXIF;
  8223. property SPI1ATXIF : TBits_1 read getSPI1ATXIF write setSPI1ATXIF;
  8224. property SPI3EIF : TBits_1 read getSPI3EIF write setSPI3EIF;
  8225. property SPI3RXIF : TBits_1 read getSPI3RXIF write setSPI3RXIF;
  8226. property SPI3TXIF : TBits_1 read getSPI3TXIF write setSPI3TXIF;
  8227. property T1IF : TBits_1 read getT1IF write setT1IF;
  8228. property T2IF : TBits_1 read getT2IF write setT2IF;
  8229. property T3IF : TBits_1 read getT3IF write setT3IF;
  8230. property T4IF : TBits_1 read getT4IF write setT4IF;
  8231. property T5IF : TBits_1 read getT5IF write setT5IF;
  8232. property U1AEIF : TBits_1 read getU1AEIF write setU1AEIF;
  8233. property U1ARXIF : TBits_1 read getU1ARXIF write setU1ARXIF;
  8234. property U1ATXIF : TBits_1 read getU1ATXIF write setU1ATXIF;
  8235. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  8236. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  8237. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  8238. property w : TBits_32 read getw write setw;
  8239. end;
  8240. TINT_IFS1 = record
  8241. private
  8242. function getAD1IF : TBits_1; inline;
  8243. function getCMP1IF : TBits_1; inline;
  8244. function getCMP2IF : TBits_1; inline;
  8245. function getCNIF : TBits_1; inline;
  8246. function getDMA0IF : TBits_1; inline;
  8247. function getDMA1IF : TBits_1; inline;
  8248. function getDMA2IF : TBits_1; inline;
  8249. function getDMA3IF : TBits_1; inline;
  8250. function getDMA4IF : TBits_1; inline;
  8251. function getDMA5IF : TBits_1; inline;
  8252. function getDMA6IF : TBits_1; inline;
  8253. function getDMA7IF : TBits_1; inline;
  8254. function getETHIF : TBits_1; inline;
  8255. function getFCEIF : TBits_1; inline;
  8256. function getFSCMIF : TBits_1; inline;
  8257. function getI2C2ABIF : TBits_1; inline;
  8258. function getI2C2AMIF : TBits_1; inline;
  8259. function getI2C2ASIF : TBits_1; inline;
  8260. function getI2C3ABIF : TBits_1; inline;
  8261. function getI2C3AMIF : TBits_1; inline;
  8262. function getI2C3ASIF : TBits_1; inline;
  8263. function getI2C4BIF : TBits_1; inline;
  8264. function getI2C4MIF : TBits_1; inline;
  8265. function getI2C4SIF : TBits_1; inline;
  8266. function getI2C5BIF : TBits_1; inline;
  8267. function getI2C5MIF : TBits_1; inline;
  8268. function getI2C5SIF : TBits_1; inline;
  8269. function getIC1EIF : TBits_1; inline;
  8270. function getIC2EIF : TBits_1; inline;
  8271. function getIC3EIF : TBits_1; inline;
  8272. function getPMPIF : TBits_1; inline;
  8273. function getRTCCIF : TBits_1; inline;
  8274. function getSPI2AEIF : TBits_1; inline;
  8275. function getSPI2ARXIF : TBits_1; inline;
  8276. function getSPI2ATXIF : TBits_1; inline;
  8277. function getSPI2EIF : TBits_1; inline;
  8278. function getSPI2RXIF : TBits_1; inline;
  8279. function getSPI2TXIF : TBits_1; inline;
  8280. function getSPI3AEIF : TBits_1; inline;
  8281. function getSPI3ARXIF : TBits_1; inline;
  8282. function getSPI3ATXIF : TBits_1; inline;
  8283. function getSPI4EIF : TBits_1; inline;
  8284. function getSPI4RXIF : TBits_1; inline;
  8285. function getSPI4TXIF : TBits_1; inline;
  8286. function getU2AEIF : TBits_1; inline;
  8287. function getU2ARXIF : TBits_1; inline;
  8288. function getU2ATXIF : TBits_1; inline;
  8289. function getU2EIF : TBits_1; inline;
  8290. function getU2RXIF : TBits_1; inline;
  8291. function getU2TXIF : TBits_1; inline;
  8292. function getU3AEIF : TBits_1; inline;
  8293. function getU3ARXIF : TBits_1; inline;
  8294. function getU3ATXIF : TBits_1; inline;
  8295. function getU3EIF : TBits_1; inline;
  8296. function getU3RXIF : TBits_1; inline;
  8297. function getU3TXIF : TBits_1; inline;
  8298. function getUSBIF : TBits_1; inline;
  8299. function getw : TBits_32; inline;
  8300. procedure setAD1IF(thebits : TBits_1); inline;
  8301. procedure setCMP1IF(thebits : TBits_1); inline;
  8302. procedure setCMP2IF(thebits : TBits_1); inline;
  8303. procedure setCNIF(thebits : TBits_1); inline;
  8304. procedure setDMA0IF(thebits : TBits_1); inline;
  8305. procedure setDMA1IF(thebits : TBits_1); inline;
  8306. procedure setDMA2IF(thebits : TBits_1); inline;
  8307. procedure setDMA3IF(thebits : TBits_1); inline;
  8308. procedure setDMA4IF(thebits : TBits_1); inline;
  8309. procedure setDMA5IF(thebits : TBits_1); inline;
  8310. procedure setDMA6IF(thebits : TBits_1); inline;
  8311. procedure setDMA7IF(thebits : TBits_1); inline;
  8312. procedure setETHIF(thebits : TBits_1); inline;
  8313. procedure setFCEIF(thebits : TBits_1); inline;
  8314. procedure setFSCMIF(thebits : TBits_1); inline;
  8315. procedure setI2C2ABIF(thebits : TBits_1); inline;
  8316. procedure setI2C2AMIF(thebits : TBits_1); inline;
  8317. procedure setI2C2ASIF(thebits : TBits_1); inline;
  8318. procedure setI2C3ABIF(thebits : TBits_1); inline;
  8319. procedure setI2C3AMIF(thebits : TBits_1); inline;
  8320. procedure setI2C3ASIF(thebits : TBits_1); inline;
  8321. procedure setI2C4BIF(thebits : TBits_1); inline;
  8322. procedure setI2C4MIF(thebits : TBits_1); inline;
  8323. procedure setI2C4SIF(thebits : TBits_1); inline;
  8324. procedure setI2C5BIF(thebits : TBits_1); inline;
  8325. procedure setI2C5MIF(thebits : TBits_1); inline;
  8326. procedure setI2C5SIF(thebits : TBits_1); inline;
  8327. procedure setIC1EIF(thebits : TBits_1); inline;
  8328. procedure setIC2EIF(thebits : TBits_1); inline;
  8329. procedure setIC3EIF(thebits : TBits_1); inline;
  8330. procedure setPMPIF(thebits : TBits_1); inline;
  8331. procedure setRTCCIF(thebits : TBits_1); inline;
  8332. procedure setSPI2AEIF(thebits : TBits_1); inline;
  8333. procedure setSPI2ARXIF(thebits : TBits_1); inline;
  8334. procedure setSPI2ATXIF(thebits : TBits_1); inline;
  8335. procedure setSPI2EIF(thebits : TBits_1); inline;
  8336. procedure setSPI2RXIF(thebits : TBits_1); inline;
  8337. procedure setSPI2TXIF(thebits : TBits_1); inline;
  8338. procedure setSPI3AEIF(thebits : TBits_1); inline;
  8339. procedure setSPI3ARXIF(thebits : TBits_1); inline;
  8340. procedure setSPI3ATXIF(thebits : TBits_1); inline;
  8341. procedure setSPI4EIF(thebits : TBits_1); inline;
  8342. procedure setSPI4RXIF(thebits : TBits_1); inline;
  8343. procedure setSPI4TXIF(thebits : TBits_1); inline;
  8344. procedure setU2AEIF(thebits : TBits_1); inline;
  8345. procedure setU2ARXIF(thebits : TBits_1); inline;
  8346. procedure setU2ATXIF(thebits : TBits_1); inline;
  8347. procedure setU2EIF(thebits : TBits_1); inline;
  8348. procedure setU2RXIF(thebits : TBits_1); inline;
  8349. procedure setU2TXIF(thebits : TBits_1); inline;
  8350. procedure setU3AEIF(thebits : TBits_1); inline;
  8351. procedure setU3ARXIF(thebits : TBits_1); inline;
  8352. procedure setU3ATXIF(thebits : TBits_1); inline;
  8353. procedure setU3EIF(thebits : TBits_1); inline;
  8354. procedure setU3RXIF(thebits : TBits_1); inline;
  8355. procedure setU3TXIF(thebits : TBits_1); inline;
  8356. procedure setUSBIF(thebits : TBits_1); inline;
  8357. procedure setw(thebits : TBits_32); inline;
  8358. public
  8359. procedure clearAD1IF; inline;
  8360. procedure clearCMP1IF; inline;
  8361. procedure clearCMP2IF; inline;
  8362. procedure clearCNIF; inline;
  8363. procedure clearDMA0IF; inline;
  8364. procedure clearDMA1IF; inline;
  8365. procedure clearDMA2IF; inline;
  8366. procedure clearDMA3IF; inline;
  8367. procedure clearDMA4IF; inline;
  8368. procedure clearDMA5IF; inline;
  8369. procedure clearDMA6IF; inline;
  8370. procedure clearDMA7IF; inline;
  8371. procedure clearETHIF; inline;
  8372. procedure clearFCEIF; inline;
  8373. procedure clearFSCMIF; inline;
  8374. procedure clearI2C2ABIF; inline;
  8375. procedure clearI2C2AMIF; inline;
  8376. procedure clearI2C2ASIF; inline;
  8377. procedure clearI2C3ABIF; inline;
  8378. procedure clearI2C3AMIF; inline;
  8379. procedure clearI2C3ASIF; inline;
  8380. procedure clearI2C4BIF; inline;
  8381. procedure clearI2C4MIF; inline;
  8382. procedure clearI2C4SIF; inline;
  8383. procedure clearI2C5BIF; inline;
  8384. procedure clearI2C5MIF; inline;
  8385. procedure clearI2C5SIF; inline;
  8386. procedure clearIC1EIF; inline;
  8387. procedure clearIC2EIF; inline;
  8388. procedure clearIC3EIF; inline;
  8389. procedure clearPMPIF; inline;
  8390. procedure clearRTCCIF; inline;
  8391. procedure clearSPI2AEIF; inline;
  8392. procedure clearSPI2ARXIF; inline;
  8393. procedure clearSPI2ATXIF; inline;
  8394. procedure clearSPI2EIF; inline;
  8395. procedure clearSPI2RXIF; inline;
  8396. procedure clearSPI2TXIF; inline;
  8397. procedure clearSPI3AEIF; inline;
  8398. procedure clearSPI3ARXIF; inline;
  8399. procedure clearSPI3ATXIF; inline;
  8400. procedure clearSPI4EIF; inline;
  8401. procedure clearSPI4RXIF; inline;
  8402. procedure clearSPI4TXIF; inline;
  8403. procedure clearU2AEIF; inline;
  8404. procedure clearU2ARXIF; inline;
  8405. procedure clearU2ATXIF; inline;
  8406. procedure clearU2EIF; inline;
  8407. procedure clearU2RXIF; inline;
  8408. procedure clearU2TXIF; inline;
  8409. procedure clearU3AEIF; inline;
  8410. procedure clearU3ARXIF; inline;
  8411. procedure clearU3ATXIF; inline;
  8412. procedure clearU3EIF; inline;
  8413. procedure clearU3RXIF; inline;
  8414. procedure clearU3TXIF; inline;
  8415. procedure clearUSBIF; inline;
  8416. procedure setAD1IF; inline;
  8417. procedure setCMP1IF; inline;
  8418. procedure setCMP2IF; inline;
  8419. procedure setCNIF; inline;
  8420. procedure setDMA0IF; inline;
  8421. procedure setDMA1IF; inline;
  8422. procedure setDMA2IF; inline;
  8423. procedure setDMA3IF; inline;
  8424. procedure setDMA4IF; inline;
  8425. procedure setDMA5IF; inline;
  8426. procedure setDMA6IF; inline;
  8427. procedure setDMA7IF; inline;
  8428. procedure setETHIF; inline;
  8429. procedure setFCEIF; inline;
  8430. procedure setFSCMIF; inline;
  8431. procedure setI2C2ABIF; inline;
  8432. procedure setI2C2AMIF; inline;
  8433. procedure setI2C2ASIF; inline;
  8434. procedure setI2C3ABIF; inline;
  8435. procedure setI2C3AMIF; inline;
  8436. procedure setI2C3ASIF; inline;
  8437. procedure setI2C4BIF; inline;
  8438. procedure setI2C4MIF; inline;
  8439. procedure setI2C4SIF; inline;
  8440. procedure setI2C5BIF; inline;
  8441. procedure setI2C5MIF; inline;
  8442. procedure setI2C5SIF; inline;
  8443. procedure setIC1EIF; inline;
  8444. procedure setIC2EIF; inline;
  8445. procedure setIC3EIF; inline;
  8446. procedure setPMPIF; inline;
  8447. procedure setRTCCIF; inline;
  8448. procedure setSPI2AEIF; inline;
  8449. procedure setSPI2ARXIF; inline;
  8450. procedure setSPI2ATXIF; inline;
  8451. procedure setSPI2EIF; inline;
  8452. procedure setSPI2RXIF; inline;
  8453. procedure setSPI2TXIF; inline;
  8454. procedure setSPI3AEIF; inline;
  8455. procedure setSPI3ARXIF; inline;
  8456. procedure setSPI3ATXIF; inline;
  8457. procedure setSPI4EIF; inline;
  8458. procedure setSPI4RXIF; inline;
  8459. procedure setSPI4TXIF; inline;
  8460. procedure setU2AEIF; inline;
  8461. procedure setU2ARXIF; inline;
  8462. procedure setU2ATXIF; inline;
  8463. procedure setU2EIF; inline;
  8464. procedure setU2RXIF; inline;
  8465. procedure setU2TXIF; inline;
  8466. procedure setU3AEIF; inline;
  8467. procedure setU3ARXIF; inline;
  8468. procedure setU3ATXIF; inline;
  8469. procedure setU3EIF; inline;
  8470. procedure setU3RXIF; inline;
  8471. procedure setU3TXIF; inline;
  8472. procedure setUSBIF; inline;
  8473. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  8474. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  8475. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  8476. property CNIF : TBits_1 read getCNIF write setCNIF;
  8477. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  8478. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  8479. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  8480. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  8481. property DMA4IF : TBits_1 read getDMA4IF write setDMA4IF;
  8482. property DMA5IF : TBits_1 read getDMA5IF write setDMA5IF;
  8483. property DMA6IF : TBits_1 read getDMA6IF write setDMA6IF;
  8484. property DMA7IF : TBits_1 read getDMA7IF write setDMA7IF;
  8485. property ETHIF : TBits_1 read getETHIF write setETHIF;
  8486. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  8487. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  8488. property I2C2ABIF : TBits_1 read getI2C2ABIF write setI2C2ABIF;
  8489. property I2C2AMIF : TBits_1 read getI2C2AMIF write setI2C2AMIF;
  8490. property I2C2ASIF : TBits_1 read getI2C2ASIF write setI2C2ASIF;
  8491. property I2C3ABIF : TBits_1 read getI2C3ABIF write setI2C3ABIF;
  8492. property I2C3AMIF : TBits_1 read getI2C3AMIF write setI2C3AMIF;
  8493. property I2C3ASIF : TBits_1 read getI2C3ASIF write setI2C3ASIF;
  8494. property I2C4BIF : TBits_1 read getI2C4BIF write setI2C4BIF;
  8495. property I2C4MIF : TBits_1 read getI2C4MIF write setI2C4MIF;
  8496. property I2C4SIF : TBits_1 read getI2C4SIF write setI2C4SIF;
  8497. property I2C5BIF : TBits_1 read getI2C5BIF write setI2C5BIF;
  8498. property I2C5MIF : TBits_1 read getI2C5MIF write setI2C5MIF;
  8499. property I2C5SIF : TBits_1 read getI2C5SIF write setI2C5SIF;
  8500. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  8501. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  8502. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  8503. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  8504. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  8505. property SPI2AEIF : TBits_1 read getSPI2AEIF write setSPI2AEIF;
  8506. property SPI2ARXIF : TBits_1 read getSPI2ARXIF write setSPI2ARXIF;
  8507. property SPI2ATXIF : TBits_1 read getSPI2ATXIF write setSPI2ATXIF;
  8508. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  8509. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  8510. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  8511. property SPI3AEIF : TBits_1 read getSPI3AEIF write setSPI3AEIF;
  8512. property SPI3ARXIF : TBits_1 read getSPI3ARXIF write setSPI3ARXIF;
  8513. property SPI3ATXIF : TBits_1 read getSPI3ATXIF write setSPI3ATXIF;
  8514. property SPI4EIF : TBits_1 read getSPI4EIF write setSPI4EIF;
  8515. property SPI4RXIF : TBits_1 read getSPI4RXIF write setSPI4RXIF;
  8516. property SPI4TXIF : TBits_1 read getSPI4TXIF write setSPI4TXIF;
  8517. property U2AEIF : TBits_1 read getU2AEIF write setU2AEIF;
  8518. property U2ARXIF : TBits_1 read getU2ARXIF write setU2ARXIF;
  8519. property U2ATXIF : TBits_1 read getU2ATXIF write setU2ATXIF;
  8520. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  8521. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  8522. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  8523. property U3AEIF : TBits_1 read getU3AEIF write setU3AEIF;
  8524. property U3ARXIF : TBits_1 read getU3ARXIF write setU3ARXIF;
  8525. property U3ATXIF : TBits_1 read getU3ATXIF write setU3ATXIF;
  8526. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  8527. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  8528. property U3TXIF : TBits_1 read getU3TXIF write setU3TXIF;
  8529. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  8530. property w : TBits_32 read getw write setw;
  8531. end;
  8532. TINT_IFS2 = record
  8533. private
  8534. function getIC4EIF : TBits_1; inline;
  8535. function getIC5EIF : TBits_1; inline;
  8536. function getPMPEIF : TBits_1; inline;
  8537. function getU1BEIF : TBits_1; inline;
  8538. function getU1BRXIF : TBits_1; inline;
  8539. function getU1BTXIF : TBits_1; inline;
  8540. function getU2BEIF : TBits_1; inline;
  8541. function getU2BRXIF : TBits_1; inline;
  8542. function getU2BTXIF : TBits_1; inline;
  8543. function getU3BEIF : TBits_1; inline;
  8544. function getU3BRXIF : TBits_1; inline;
  8545. function getU3BTXIF : TBits_1; inline;
  8546. function getU4EIF : TBits_1; inline;
  8547. function getU4RXIF : TBits_1; inline;
  8548. function getU4TXIF : TBits_1; inline;
  8549. function getU5EIF : TBits_1; inline;
  8550. function getU5RXIF : TBits_1; inline;
  8551. function getU5TXIF : TBits_1; inline;
  8552. function getU6EIF : TBits_1; inline;
  8553. function getU6RXIF : TBits_1; inline;
  8554. function getU6TXIF : TBits_1; inline;
  8555. function getw : TBits_32; inline;
  8556. procedure setIC4EIF(thebits : TBits_1); inline;
  8557. procedure setIC5EIF(thebits : TBits_1); inline;
  8558. procedure setPMPEIF(thebits : TBits_1); inline;
  8559. procedure setU1BEIF(thebits : TBits_1); inline;
  8560. procedure setU1BRXIF(thebits : TBits_1); inline;
  8561. procedure setU1BTXIF(thebits : TBits_1); inline;
  8562. procedure setU2BEIF(thebits : TBits_1); inline;
  8563. procedure setU2BRXIF(thebits : TBits_1); inline;
  8564. procedure setU2BTXIF(thebits : TBits_1); inline;
  8565. procedure setU3BEIF(thebits : TBits_1); inline;
  8566. procedure setU3BRXIF(thebits : TBits_1); inline;
  8567. procedure setU3BTXIF(thebits : TBits_1); inline;
  8568. procedure setU4EIF(thebits : TBits_1); inline;
  8569. procedure setU4RXIF(thebits : TBits_1); inline;
  8570. procedure setU4TXIF(thebits : TBits_1); inline;
  8571. procedure setU5EIF(thebits : TBits_1); inline;
  8572. procedure setU5RXIF(thebits : TBits_1); inline;
  8573. procedure setU5TXIF(thebits : TBits_1); inline;
  8574. procedure setU6EIF(thebits : TBits_1); inline;
  8575. procedure setU6RXIF(thebits : TBits_1); inline;
  8576. procedure setU6TXIF(thebits : TBits_1); inline;
  8577. procedure setw(thebits : TBits_32); inline;
  8578. public
  8579. procedure clearIC4EIF; inline;
  8580. procedure clearIC5EIF; inline;
  8581. procedure clearPMPEIF; inline;
  8582. procedure clearU1BEIF; inline;
  8583. procedure clearU1BRXIF; inline;
  8584. procedure clearU1BTXIF; inline;
  8585. procedure clearU2BEIF; inline;
  8586. procedure clearU2BRXIF; inline;
  8587. procedure clearU2BTXIF; inline;
  8588. procedure clearU3BEIF; inline;
  8589. procedure clearU3BRXIF; inline;
  8590. procedure clearU3BTXIF; inline;
  8591. procedure clearU4EIF; inline;
  8592. procedure clearU4RXIF; inline;
  8593. procedure clearU4TXIF; inline;
  8594. procedure clearU5EIF; inline;
  8595. procedure clearU5RXIF; inline;
  8596. procedure clearU5TXIF; inline;
  8597. procedure clearU6EIF; inline;
  8598. procedure clearU6RXIF; inline;
  8599. procedure clearU6TXIF; inline;
  8600. procedure setIC4EIF; inline;
  8601. procedure setIC5EIF; inline;
  8602. procedure setPMPEIF; inline;
  8603. procedure setU1BEIF; inline;
  8604. procedure setU1BRXIF; inline;
  8605. procedure setU1BTXIF; inline;
  8606. procedure setU2BEIF; inline;
  8607. procedure setU2BRXIF; inline;
  8608. procedure setU2BTXIF; inline;
  8609. procedure setU3BEIF; inline;
  8610. procedure setU3BRXIF; inline;
  8611. procedure setU3BTXIF; inline;
  8612. procedure setU4EIF; inline;
  8613. procedure setU4RXIF; inline;
  8614. procedure setU4TXIF; inline;
  8615. procedure setU5EIF; inline;
  8616. procedure setU5RXIF; inline;
  8617. procedure setU5TXIF; inline;
  8618. procedure setU6EIF; inline;
  8619. procedure setU6RXIF; inline;
  8620. procedure setU6TXIF; inline;
  8621. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  8622. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  8623. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  8624. property U1BEIF : TBits_1 read getU1BEIF write setU1BEIF;
  8625. property U1BRXIF : TBits_1 read getU1BRXIF write setU1BRXIF;
  8626. property U1BTXIF : TBits_1 read getU1BTXIF write setU1BTXIF;
  8627. property U2BEIF : TBits_1 read getU2BEIF write setU2BEIF;
  8628. property U2BRXIF : TBits_1 read getU2BRXIF write setU2BRXIF;
  8629. property U2BTXIF : TBits_1 read getU2BTXIF write setU2BTXIF;
  8630. property U3BEIF : TBits_1 read getU3BEIF write setU3BEIF;
  8631. property U3BRXIF : TBits_1 read getU3BRXIF write setU3BRXIF;
  8632. property U3BTXIF : TBits_1 read getU3BTXIF write setU3BTXIF;
  8633. property U4EIF : TBits_1 read getU4EIF write setU4EIF;
  8634. property U4RXIF : TBits_1 read getU4RXIF write setU4RXIF;
  8635. property U4TXIF : TBits_1 read getU4TXIF write setU4TXIF;
  8636. property U5EIF : TBits_1 read getU5EIF write setU5EIF;
  8637. property U5RXIF : TBits_1 read getU5RXIF write setU5RXIF;
  8638. property U5TXIF : TBits_1 read getU5TXIF write setU5TXIF;
  8639. property U6EIF : TBits_1 read getU6EIF write setU6EIF;
  8640. property U6RXIF : TBits_1 read getU6RXIF write setU6RXIF;
  8641. property U6TXIF : TBits_1 read getU6TXIF write setU6TXIF;
  8642. property w : TBits_32 read getw write setw;
  8643. end;
  8644. TINT_IEC0 = record
  8645. private
  8646. function getCS0IE : TBits_1; inline;
  8647. function getCS1IE : TBits_1; inline;
  8648. function getCTIE : TBits_1; inline;
  8649. function getI2C1ABIE : TBits_1; inline;
  8650. function getI2C1AMIE : TBits_1; inline;
  8651. function getI2C1ASIE : TBits_1; inline;
  8652. function getI2C1BIE : TBits_1; inline;
  8653. function getI2C1MIE : TBits_1; inline;
  8654. function getI2C1SIE : TBits_1; inline;
  8655. function getI2C3BIE : TBits_1; inline;
  8656. function getI2C3MIE : TBits_1; inline;
  8657. function getI2C3SIE : TBits_1; inline;
  8658. function getIC1IE : TBits_1; inline;
  8659. function getIC2IE : TBits_1; inline;
  8660. function getIC3IE : TBits_1; inline;
  8661. function getIC4IE : TBits_1; inline;
  8662. function getIC5IE : TBits_1; inline;
  8663. function getINT0IE : TBits_1; inline;
  8664. function getINT1IE : TBits_1; inline;
  8665. function getINT2IE : TBits_1; inline;
  8666. function getINT3IE : TBits_1; inline;
  8667. function getINT4IE : TBits_1; inline;
  8668. function getOC1IE : TBits_1; inline;
  8669. function getOC2IE : TBits_1; inline;
  8670. function getOC3IE : TBits_1; inline;
  8671. function getOC4IE : TBits_1; inline;
  8672. function getOC5IE : TBits_1; inline;
  8673. function getSPI1AEIE : TBits_1; inline;
  8674. function getSPI1ARXIE : TBits_1; inline;
  8675. function getSPI1ATXIE : TBits_1; inline;
  8676. function getSPI3EIE : TBits_1; inline;
  8677. function getSPI3RXIE : TBits_1; inline;
  8678. function getSPI3TXIE : TBits_1; inline;
  8679. function getT1IE : TBits_1; inline;
  8680. function getT2IE : TBits_1; inline;
  8681. function getT3IE : TBits_1; inline;
  8682. function getT4IE : TBits_1; inline;
  8683. function getT5IE : TBits_1; inline;
  8684. function getU1AEIE : TBits_1; inline;
  8685. function getU1ARXIE : TBits_1; inline;
  8686. function getU1ATXIE : TBits_1; inline;
  8687. function getU1EIE : TBits_1; inline;
  8688. function getU1RXIE : TBits_1; inline;
  8689. function getU1TXIE : TBits_1; inline;
  8690. function getw : TBits_32; inline;
  8691. procedure setCS0IE(thebits : TBits_1); inline;
  8692. procedure setCS1IE(thebits : TBits_1); inline;
  8693. procedure setCTIE(thebits : TBits_1); inline;
  8694. procedure setI2C1ABIE(thebits : TBits_1); inline;
  8695. procedure setI2C1AMIE(thebits : TBits_1); inline;
  8696. procedure setI2C1ASIE(thebits : TBits_1); inline;
  8697. procedure setI2C1BIE(thebits : TBits_1); inline;
  8698. procedure setI2C1MIE(thebits : TBits_1); inline;
  8699. procedure setI2C1SIE(thebits : TBits_1); inline;
  8700. procedure setI2C3BIE(thebits : TBits_1); inline;
  8701. procedure setI2C3MIE(thebits : TBits_1); inline;
  8702. procedure setI2C3SIE(thebits : TBits_1); inline;
  8703. procedure setIC1IE(thebits : TBits_1); inline;
  8704. procedure setIC2IE(thebits : TBits_1); inline;
  8705. procedure setIC3IE(thebits : TBits_1); inline;
  8706. procedure setIC4IE(thebits : TBits_1); inline;
  8707. procedure setIC5IE(thebits : TBits_1); inline;
  8708. procedure setINT0IE(thebits : TBits_1); inline;
  8709. procedure setINT1IE(thebits : TBits_1); inline;
  8710. procedure setINT2IE(thebits : TBits_1); inline;
  8711. procedure setINT3IE(thebits : TBits_1); inline;
  8712. procedure setINT4IE(thebits : TBits_1); inline;
  8713. procedure setOC1IE(thebits : TBits_1); inline;
  8714. procedure setOC2IE(thebits : TBits_1); inline;
  8715. procedure setOC3IE(thebits : TBits_1); inline;
  8716. procedure setOC4IE(thebits : TBits_1); inline;
  8717. procedure setOC5IE(thebits : TBits_1); inline;
  8718. procedure setSPI1AEIE(thebits : TBits_1); inline;
  8719. procedure setSPI1ARXIE(thebits : TBits_1); inline;
  8720. procedure setSPI1ATXIE(thebits : TBits_1); inline;
  8721. procedure setSPI3EIE(thebits : TBits_1); inline;
  8722. procedure setSPI3RXIE(thebits : TBits_1); inline;
  8723. procedure setSPI3TXIE(thebits : TBits_1); inline;
  8724. procedure setT1IE(thebits : TBits_1); inline;
  8725. procedure setT2IE(thebits : TBits_1); inline;
  8726. procedure setT3IE(thebits : TBits_1); inline;
  8727. procedure setT4IE(thebits : TBits_1); inline;
  8728. procedure setT5IE(thebits : TBits_1); inline;
  8729. procedure setU1AEIE(thebits : TBits_1); inline;
  8730. procedure setU1ARXIE(thebits : TBits_1); inline;
  8731. procedure setU1ATXIE(thebits : TBits_1); inline;
  8732. procedure setU1EIE(thebits : TBits_1); inline;
  8733. procedure setU1RXIE(thebits : TBits_1); inline;
  8734. procedure setU1TXIE(thebits : TBits_1); inline;
  8735. procedure setw(thebits : TBits_32); inline;
  8736. public
  8737. procedure clearCS0IE; inline;
  8738. procedure clearCS1IE; inline;
  8739. procedure clearCTIE; inline;
  8740. procedure clearI2C1ABIE; inline;
  8741. procedure clearI2C1AMIE; inline;
  8742. procedure clearI2C1ASIE; inline;
  8743. procedure clearI2C1BIE; inline;
  8744. procedure clearI2C1MIE; inline;
  8745. procedure clearI2C1SIE; inline;
  8746. procedure clearI2C3BIE; inline;
  8747. procedure clearI2C3MIE; inline;
  8748. procedure clearI2C3SIE; inline;
  8749. procedure clearIC1IE; inline;
  8750. procedure clearIC2IE; inline;
  8751. procedure clearIC3IE; inline;
  8752. procedure clearIC4IE; inline;
  8753. procedure clearIC5IE; inline;
  8754. procedure clearINT0IE; inline;
  8755. procedure clearINT1IE; inline;
  8756. procedure clearINT2IE; inline;
  8757. procedure clearINT3IE; inline;
  8758. procedure clearINT4IE; inline;
  8759. procedure clearOC1IE; inline;
  8760. procedure clearOC2IE; inline;
  8761. procedure clearOC3IE; inline;
  8762. procedure clearOC4IE; inline;
  8763. procedure clearOC5IE; inline;
  8764. procedure clearSPI1AEIE; inline;
  8765. procedure clearSPI1ARXIE; inline;
  8766. procedure clearSPI1ATXIE; inline;
  8767. procedure clearSPI3EIE; inline;
  8768. procedure clearSPI3RXIE; inline;
  8769. procedure clearSPI3TXIE; inline;
  8770. procedure clearT1IE; inline;
  8771. procedure clearT2IE; inline;
  8772. procedure clearT3IE; inline;
  8773. procedure clearT4IE; inline;
  8774. procedure clearT5IE; inline;
  8775. procedure clearU1AEIE; inline;
  8776. procedure clearU1ARXIE; inline;
  8777. procedure clearU1ATXIE; inline;
  8778. procedure clearU1EIE; inline;
  8779. procedure clearU1RXIE; inline;
  8780. procedure clearU1TXIE; inline;
  8781. procedure setCS0IE; inline;
  8782. procedure setCS1IE; inline;
  8783. procedure setCTIE; inline;
  8784. procedure setI2C1ABIE; inline;
  8785. procedure setI2C1AMIE; inline;
  8786. procedure setI2C1ASIE; inline;
  8787. procedure setI2C1BIE; inline;
  8788. procedure setI2C1MIE; inline;
  8789. procedure setI2C1SIE; inline;
  8790. procedure setI2C3BIE; inline;
  8791. procedure setI2C3MIE; inline;
  8792. procedure setI2C3SIE; inline;
  8793. procedure setIC1IE; inline;
  8794. procedure setIC2IE; inline;
  8795. procedure setIC3IE; inline;
  8796. procedure setIC4IE; inline;
  8797. procedure setIC5IE; inline;
  8798. procedure setINT0IE; inline;
  8799. procedure setINT1IE; inline;
  8800. procedure setINT2IE; inline;
  8801. procedure setINT3IE; inline;
  8802. procedure setINT4IE; inline;
  8803. procedure setOC1IE; inline;
  8804. procedure setOC2IE; inline;
  8805. procedure setOC3IE; inline;
  8806. procedure setOC4IE; inline;
  8807. procedure setOC5IE; inline;
  8808. procedure setSPI1AEIE; inline;
  8809. procedure setSPI1ARXIE; inline;
  8810. procedure setSPI1ATXIE; inline;
  8811. procedure setSPI3EIE; inline;
  8812. procedure setSPI3RXIE; inline;
  8813. procedure setSPI3TXIE; inline;
  8814. procedure setT1IE; inline;
  8815. procedure setT2IE; inline;
  8816. procedure setT3IE; inline;
  8817. procedure setT4IE; inline;
  8818. procedure setT5IE; inline;
  8819. procedure setU1AEIE; inline;
  8820. procedure setU1ARXIE; inline;
  8821. procedure setU1ATXIE; inline;
  8822. procedure setU1EIE; inline;
  8823. procedure setU1RXIE; inline;
  8824. procedure setU1TXIE; inline;
  8825. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  8826. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  8827. property CTIE : TBits_1 read getCTIE write setCTIE;
  8828. property I2C1ABIE : TBits_1 read getI2C1ABIE write setI2C1ABIE;
  8829. property I2C1AMIE : TBits_1 read getI2C1AMIE write setI2C1AMIE;
  8830. property I2C1ASIE : TBits_1 read getI2C1ASIE write setI2C1ASIE;
  8831. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  8832. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  8833. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  8834. property I2C3BIE : TBits_1 read getI2C3BIE write setI2C3BIE;
  8835. property I2C3MIE : TBits_1 read getI2C3MIE write setI2C3MIE;
  8836. property I2C3SIE : TBits_1 read getI2C3SIE write setI2C3SIE;
  8837. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  8838. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  8839. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  8840. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  8841. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  8842. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  8843. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  8844. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  8845. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  8846. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  8847. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  8848. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  8849. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  8850. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  8851. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  8852. property SPI1AEIE : TBits_1 read getSPI1AEIE write setSPI1AEIE;
  8853. property SPI1ARXIE : TBits_1 read getSPI1ARXIE write setSPI1ARXIE;
  8854. property SPI1ATXIE : TBits_1 read getSPI1ATXIE write setSPI1ATXIE;
  8855. property SPI3EIE : TBits_1 read getSPI3EIE write setSPI3EIE;
  8856. property SPI3RXIE : TBits_1 read getSPI3RXIE write setSPI3RXIE;
  8857. property SPI3TXIE : TBits_1 read getSPI3TXIE write setSPI3TXIE;
  8858. property T1IE : TBits_1 read getT1IE write setT1IE;
  8859. property T2IE : TBits_1 read getT2IE write setT2IE;
  8860. property T3IE : TBits_1 read getT3IE write setT3IE;
  8861. property T4IE : TBits_1 read getT4IE write setT4IE;
  8862. property T5IE : TBits_1 read getT5IE write setT5IE;
  8863. property U1AEIE : TBits_1 read getU1AEIE write setU1AEIE;
  8864. property U1ARXIE : TBits_1 read getU1ARXIE write setU1ARXIE;
  8865. property U1ATXIE : TBits_1 read getU1ATXIE write setU1ATXIE;
  8866. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  8867. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  8868. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  8869. property w : TBits_32 read getw write setw;
  8870. end;
  8871. TINT_IEC1 = record
  8872. private
  8873. function getAD1IE : TBits_1; inline;
  8874. function getCMP1IE : TBits_1; inline;
  8875. function getCMP2IE : TBits_1; inline;
  8876. function getCNIE : TBits_1; inline;
  8877. function getDMA0IE : TBits_1; inline;
  8878. function getDMA1IE : TBits_1; inline;
  8879. function getDMA2IE : TBits_1; inline;
  8880. function getDMA3IE : TBits_1; inline;
  8881. function getDMA4IE : TBits_1; inline;
  8882. function getDMA5IE : TBits_1; inline;
  8883. function getDMA6IE : TBits_1; inline;
  8884. function getDMA7IE : TBits_1; inline;
  8885. function getETHIE : TBits_1; inline;
  8886. function getFCEIE : TBits_1; inline;
  8887. function getFSCMIE : TBits_1; inline;
  8888. function getI2C2ABIE : TBits_1; inline;
  8889. function getI2C2AMIE : TBits_1; inline;
  8890. function getI2C2ASIE : TBits_1; inline;
  8891. function getI2C3ABIE : TBits_1; inline;
  8892. function getI2C3AMIE : TBits_1; inline;
  8893. function getI2C3ASIE : TBits_1; inline;
  8894. function getI2C4BIE : TBits_1; inline;
  8895. function getI2C4MIE : TBits_1; inline;
  8896. function getI2C4SIE : TBits_1; inline;
  8897. function getI2C5BIE : TBits_1; inline;
  8898. function getI2C5MIE : TBits_1; inline;
  8899. function getI2C5SIE : TBits_1; inline;
  8900. function getIC1EIE : TBits_1; inline;
  8901. function getIC2EIE : TBits_1; inline;
  8902. function getIC3EIE : TBits_1; inline;
  8903. function getPMPIE : TBits_1; inline;
  8904. function getRTCCIE : TBits_1; inline;
  8905. function getSPI2AEIE : TBits_1; inline;
  8906. function getSPI2ARXIE : TBits_1; inline;
  8907. function getSPI2ATXIE : TBits_1; inline;
  8908. function getSPI2EIE : TBits_1; inline;
  8909. function getSPI2RXIE : TBits_1; inline;
  8910. function getSPI2TXIE : TBits_1; inline;
  8911. function getSPI3AEIE : TBits_1; inline;
  8912. function getSPI3ARXIE : TBits_1; inline;
  8913. function getSPI3ATXIE : TBits_1; inline;
  8914. function getSPI4EIE : TBits_1; inline;
  8915. function getSPI4RXIE : TBits_1; inline;
  8916. function getSPI4TXIE : TBits_1; inline;
  8917. function getU2AEIE : TBits_1; inline;
  8918. function getU2ARXIE : TBits_1; inline;
  8919. function getU2ATXIE : TBits_1; inline;
  8920. function getU2EIE : TBits_1; inline;
  8921. function getU2RXIE : TBits_1; inline;
  8922. function getU2TXIE : TBits_1; inline;
  8923. function getU3AEIE : TBits_1; inline;
  8924. function getU3ARXIE : TBits_1; inline;
  8925. function getU3ATXIE : TBits_1; inline;
  8926. function getU3EIE : TBits_1; inline;
  8927. function getU3RXIE : TBits_1; inline;
  8928. function getU3TXIE : TBits_1; inline;
  8929. function getUSBIE : TBits_1; inline;
  8930. function getw : TBits_32; inline;
  8931. procedure setAD1IE(thebits : TBits_1); inline;
  8932. procedure setCMP1IE(thebits : TBits_1); inline;
  8933. procedure setCMP2IE(thebits : TBits_1); inline;
  8934. procedure setCNIE(thebits : TBits_1); inline;
  8935. procedure setDMA0IE(thebits : TBits_1); inline;
  8936. procedure setDMA1IE(thebits : TBits_1); inline;
  8937. procedure setDMA2IE(thebits : TBits_1); inline;
  8938. procedure setDMA3IE(thebits : TBits_1); inline;
  8939. procedure setDMA4IE(thebits : TBits_1); inline;
  8940. procedure setDMA5IE(thebits : TBits_1); inline;
  8941. procedure setDMA6IE(thebits : TBits_1); inline;
  8942. procedure setDMA7IE(thebits : TBits_1); inline;
  8943. procedure setETHIE(thebits : TBits_1); inline;
  8944. procedure setFCEIE(thebits : TBits_1); inline;
  8945. procedure setFSCMIE(thebits : TBits_1); inline;
  8946. procedure setI2C2ABIE(thebits : TBits_1); inline;
  8947. procedure setI2C2AMIE(thebits : TBits_1); inline;
  8948. procedure setI2C2ASIE(thebits : TBits_1); inline;
  8949. procedure setI2C3ABIE(thebits : TBits_1); inline;
  8950. procedure setI2C3AMIE(thebits : TBits_1); inline;
  8951. procedure setI2C3ASIE(thebits : TBits_1); inline;
  8952. procedure setI2C4BIE(thebits : TBits_1); inline;
  8953. procedure setI2C4MIE(thebits : TBits_1); inline;
  8954. procedure setI2C4SIE(thebits : TBits_1); inline;
  8955. procedure setI2C5BIE(thebits : TBits_1); inline;
  8956. procedure setI2C5MIE(thebits : TBits_1); inline;
  8957. procedure setI2C5SIE(thebits : TBits_1); inline;
  8958. procedure setIC1EIE(thebits : TBits_1); inline;
  8959. procedure setIC2EIE(thebits : TBits_1); inline;
  8960. procedure setIC3EIE(thebits : TBits_1); inline;
  8961. procedure setPMPIE(thebits : TBits_1); inline;
  8962. procedure setRTCCIE(thebits : TBits_1); inline;
  8963. procedure setSPI2AEIE(thebits : TBits_1); inline;
  8964. procedure setSPI2ARXIE(thebits : TBits_1); inline;
  8965. procedure setSPI2ATXIE(thebits : TBits_1); inline;
  8966. procedure setSPI2EIE(thebits : TBits_1); inline;
  8967. procedure setSPI2RXIE(thebits : TBits_1); inline;
  8968. procedure setSPI2TXIE(thebits : TBits_1); inline;
  8969. procedure setSPI3AEIE(thebits : TBits_1); inline;
  8970. procedure setSPI3ARXIE(thebits : TBits_1); inline;
  8971. procedure setSPI3ATXIE(thebits : TBits_1); inline;
  8972. procedure setSPI4EIE(thebits : TBits_1); inline;
  8973. procedure setSPI4RXIE(thebits : TBits_1); inline;
  8974. procedure setSPI4TXIE(thebits : TBits_1); inline;
  8975. procedure setU2AEIE(thebits : TBits_1); inline;
  8976. procedure setU2ARXIE(thebits : TBits_1); inline;
  8977. procedure setU2ATXIE(thebits : TBits_1); inline;
  8978. procedure setU2EIE(thebits : TBits_1); inline;
  8979. procedure setU2RXIE(thebits : TBits_1); inline;
  8980. procedure setU2TXIE(thebits : TBits_1); inline;
  8981. procedure setU3AEIE(thebits : TBits_1); inline;
  8982. procedure setU3ARXIE(thebits : TBits_1); inline;
  8983. procedure setU3ATXIE(thebits : TBits_1); inline;
  8984. procedure setU3EIE(thebits : TBits_1); inline;
  8985. procedure setU3RXIE(thebits : TBits_1); inline;
  8986. procedure setU3TXIE(thebits : TBits_1); inline;
  8987. procedure setUSBIE(thebits : TBits_1); inline;
  8988. procedure setw(thebits : TBits_32); inline;
  8989. public
  8990. procedure clearAD1IE; inline;
  8991. procedure clearCMP1IE; inline;
  8992. procedure clearCMP2IE; inline;
  8993. procedure clearCNIE; inline;
  8994. procedure clearDMA0IE; inline;
  8995. procedure clearDMA1IE; inline;
  8996. procedure clearDMA2IE; inline;
  8997. procedure clearDMA3IE; inline;
  8998. procedure clearDMA4IE; inline;
  8999. procedure clearDMA5IE; inline;
  9000. procedure clearDMA6IE; inline;
  9001. procedure clearDMA7IE; inline;
  9002. procedure clearETHIE; inline;
  9003. procedure clearFCEIE; inline;
  9004. procedure clearFSCMIE; inline;
  9005. procedure clearI2C2ABIE; inline;
  9006. procedure clearI2C2AMIE; inline;
  9007. procedure clearI2C2ASIE; inline;
  9008. procedure clearI2C3ABIE; inline;
  9009. procedure clearI2C3AMIE; inline;
  9010. procedure clearI2C3ASIE; inline;
  9011. procedure clearI2C4BIE; inline;
  9012. procedure clearI2C4MIE; inline;
  9013. procedure clearI2C4SIE; inline;
  9014. procedure clearI2C5BIE; inline;
  9015. procedure clearI2C5MIE; inline;
  9016. procedure clearI2C5SIE; inline;
  9017. procedure clearIC1EIE; inline;
  9018. procedure clearIC2EIE; inline;
  9019. procedure clearIC3EIE; inline;
  9020. procedure clearPMPIE; inline;
  9021. procedure clearRTCCIE; inline;
  9022. procedure clearSPI2AEIE; inline;
  9023. procedure clearSPI2ARXIE; inline;
  9024. procedure clearSPI2ATXIE; inline;
  9025. procedure clearSPI2EIE; inline;
  9026. procedure clearSPI2RXIE; inline;
  9027. procedure clearSPI2TXIE; inline;
  9028. procedure clearSPI3AEIE; inline;
  9029. procedure clearSPI3ARXIE; inline;
  9030. procedure clearSPI3ATXIE; inline;
  9031. procedure clearSPI4EIE; inline;
  9032. procedure clearSPI4RXIE; inline;
  9033. procedure clearSPI4TXIE; inline;
  9034. procedure clearU2AEIE; inline;
  9035. procedure clearU2ARXIE; inline;
  9036. procedure clearU2ATXIE; inline;
  9037. procedure clearU2EIE; inline;
  9038. procedure clearU2RXIE; inline;
  9039. procedure clearU2TXIE; inline;
  9040. procedure clearU3AEIE; inline;
  9041. procedure clearU3ARXIE; inline;
  9042. procedure clearU3ATXIE; inline;
  9043. procedure clearU3EIE; inline;
  9044. procedure clearU3RXIE; inline;
  9045. procedure clearU3TXIE; inline;
  9046. procedure clearUSBIE; inline;
  9047. procedure setAD1IE; inline;
  9048. procedure setCMP1IE; inline;
  9049. procedure setCMP2IE; inline;
  9050. procedure setCNIE; inline;
  9051. procedure setDMA0IE; inline;
  9052. procedure setDMA1IE; inline;
  9053. procedure setDMA2IE; inline;
  9054. procedure setDMA3IE; inline;
  9055. procedure setDMA4IE; inline;
  9056. procedure setDMA5IE; inline;
  9057. procedure setDMA6IE; inline;
  9058. procedure setDMA7IE; inline;
  9059. procedure setETHIE; inline;
  9060. procedure setFCEIE; inline;
  9061. procedure setFSCMIE; inline;
  9062. procedure setI2C2ABIE; inline;
  9063. procedure setI2C2AMIE; inline;
  9064. procedure setI2C2ASIE; inline;
  9065. procedure setI2C3ABIE; inline;
  9066. procedure setI2C3AMIE; inline;
  9067. procedure setI2C3ASIE; inline;
  9068. procedure setI2C4BIE; inline;
  9069. procedure setI2C4MIE; inline;
  9070. procedure setI2C4SIE; inline;
  9071. procedure setI2C5BIE; inline;
  9072. procedure setI2C5MIE; inline;
  9073. procedure setI2C5SIE; inline;
  9074. procedure setIC1EIE; inline;
  9075. procedure setIC2EIE; inline;
  9076. procedure setIC3EIE; inline;
  9077. procedure setPMPIE; inline;
  9078. procedure setRTCCIE; inline;
  9079. procedure setSPI2AEIE; inline;
  9080. procedure setSPI2ARXIE; inline;
  9081. procedure setSPI2ATXIE; inline;
  9082. procedure setSPI2EIE; inline;
  9083. procedure setSPI2RXIE; inline;
  9084. procedure setSPI2TXIE; inline;
  9085. procedure setSPI3AEIE; inline;
  9086. procedure setSPI3ARXIE; inline;
  9087. procedure setSPI3ATXIE; inline;
  9088. procedure setSPI4EIE; inline;
  9089. procedure setSPI4RXIE; inline;
  9090. procedure setSPI4TXIE; inline;
  9091. procedure setU2AEIE; inline;
  9092. procedure setU2ARXIE; inline;
  9093. procedure setU2ATXIE; inline;
  9094. procedure setU2EIE; inline;
  9095. procedure setU2RXIE; inline;
  9096. procedure setU2TXIE; inline;
  9097. procedure setU3AEIE; inline;
  9098. procedure setU3ARXIE; inline;
  9099. procedure setU3ATXIE; inline;
  9100. procedure setU3EIE; inline;
  9101. procedure setU3RXIE; inline;
  9102. procedure setU3TXIE; inline;
  9103. procedure setUSBIE; inline;
  9104. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  9105. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  9106. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  9107. property CNIE : TBits_1 read getCNIE write setCNIE;
  9108. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  9109. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  9110. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  9111. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  9112. property DMA4IE : TBits_1 read getDMA4IE write setDMA4IE;
  9113. property DMA5IE : TBits_1 read getDMA5IE write setDMA5IE;
  9114. property DMA6IE : TBits_1 read getDMA6IE write setDMA6IE;
  9115. property DMA7IE : TBits_1 read getDMA7IE write setDMA7IE;
  9116. property ETHIE : TBits_1 read getETHIE write setETHIE;
  9117. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  9118. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  9119. property I2C2ABIE : TBits_1 read getI2C2ABIE write setI2C2ABIE;
  9120. property I2C2AMIE : TBits_1 read getI2C2AMIE write setI2C2AMIE;
  9121. property I2C2ASIE : TBits_1 read getI2C2ASIE write setI2C2ASIE;
  9122. property I2C3ABIE : TBits_1 read getI2C3ABIE write setI2C3ABIE;
  9123. property I2C3AMIE : TBits_1 read getI2C3AMIE write setI2C3AMIE;
  9124. property I2C3ASIE : TBits_1 read getI2C3ASIE write setI2C3ASIE;
  9125. property I2C4BIE : TBits_1 read getI2C4BIE write setI2C4BIE;
  9126. property I2C4MIE : TBits_1 read getI2C4MIE write setI2C4MIE;
  9127. property I2C4SIE : TBits_1 read getI2C4SIE write setI2C4SIE;
  9128. property I2C5BIE : TBits_1 read getI2C5BIE write setI2C5BIE;
  9129. property I2C5MIE : TBits_1 read getI2C5MIE write setI2C5MIE;
  9130. property I2C5SIE : TBits_1 read getI2C5SIE write setI2C5SIE;
  9131. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  9132. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  9133. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  9134. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  9135. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  9136. property SPI2AEIE : TBits_1 read getSPI2AEIE write setSPI2AEIE;
  9137. property SPI2ARXIE : TBits_1 read getSPI2ARXIE write setSPI2ARXIE;
  9138. property SPI2ATXIE : TBits_1 read getSPI2ATXIE write setSPI2ATXIE;
  9139. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  9140. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  9141. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  9142. property SPI3AEIE : TBits_1 read getSPI3AEIE write setSPI3AEIE;
  9143. property SPI3ARXIE : TBits_1 read getSPI3ARXIE write setSPI3ARXIE;
  9144. property SPI3ATXIE : TBits_1 read getSPI3ATXIE write setSPI3ATXIE;
  9145. property SPI4EIE : TBits_1 read getSPI4EIE write setSPI4EIE;
  9146. property SPI4RXIE : TBits_1 read getSPI4RXIE write setSPI4RXIE;
  9147. property SPI4TXIE : TBits_1 read getSPI4TXIE write setSPI4TXIE;
  9148. property U2AEIE : TBits_1 read getU2AEIE write setU2AEIE;
  9149. property U2ARXIE : TBits_1 read getU2ARXIE write setU2ARXIE;
  9150. property U2ATXIE : TBits_1 read getU2ATXIE write setU2ATXIE;
  9151. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  9152. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  9153. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  9154. property U3AEIE : TBits_1 read getU3AEIE write setU3AEIE;
  9155. property U3ARXIE : TBits_1 read getU3ARXIE write setU3ARXIE;
  9156. property U3ATXIE : TBits_1 read getU3ATXIE write setU3ATXIE;
  9157. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  9158. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  9159. property U3TXIE : TBits_1 read getU3TXIE write setU3TXIE;
  9160. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  9161. property w : TBits_32 read getw write setw;
  9162. end;
  9163. TINT_IEC2 = record
  9164. private
  9165. function getIC4EIE : TBits_1; inline;
  9166. function getIC5EIE : TBits_1; inline;
  9167. function getPMPEIE : TBits_1; inline;
  9168. function getU1BEIE : TBits_1; inline;
  9169. function getU1BRXIE : TBits_1; inline;
  9170. function getU1BTXIE : TBits_1; inline;
  9171. function getU2BEIE : TBits_1; inline;
  9172. function getU2BRXIE : TBits_1; inline;
  9173. function getU2BTXIE : TBits_1; inline;
  9174. function getU3BEIE : TBits_1; inline;
  9175. function getU3BRXIE : TBits_1; inline;
  9176. function getU3BTXIE : TBits_1; inline;
  9177. function getU4EIE : TBits_1; inline;
  9178. function getU4RXIE : TBits_1; inline;
  9179. function getU4TXIE : TBits_1; inline;
  9180. function getU5EIE : TBits_1; inline;
  9181. function getU5RXIE : TBits_1; inline;
  9182. function getU5TXIE : TBits_1; inline;
  9183. function getU6EIE : TBits_1; inline;
  9184. function getU6RXIE : TBits_1; inline;
  9185. function getU6TXIE : TBits_1; inline;
  9186. function getw : TBits_32; inline;
  9187. procedure setIC4EIE(thebits : TBits_1); inline;
  9188. procedure setIC5EIE(thebits : TBits_1); inline;
  9189. procedure setPMPEIE(thebits : TBits_1); inline;
  9190. procedure setU1BEIE(thebits : TBits_1); inline;
  9191. procedure setU1BRXIE(thebits : TBits_1); inline;
  9192. procedure setU1BTXIE(thebits : TBits_1); inline;
  9193. procedure setU2BEIE(thebits : TBits_1); inline;
  9194. procedure setU2BRXIE(thebits : TBits_1); inline;
  9195. procedure setU2BTXIE(thebits : TBits_1); inline;
  9196. procedure setU3BEIE(thebits : TBits_1); inline;
  9197. procedure setU3BRXIE(thebits : TBits_1); inline;
  9198. procedure setU3BTXIE(thebits : TBits_1); inline;
  9199. procedure setU4EIE(thebits : TBits_1); inline;
  9200. procedure setU4RXIE(thebits : TBits_1); inline;
  9201. procedure setU4TXIE(thebits : TBits_1); inline;
  9202. procedure setU5EIE(thebits : TBits_1); inline;
  9203. procedure setU5RXIE(thebits : TBits_1); inline;
  9204. procedure setU5TXIE(thebits : TBits_1); inline;
  9205. procedure setU6EIE(thebits : TBits_1); inline;
  9206. procedure setU6RXIE(thebits : TBits_1); inline;
  9207. procedure setU6TXIE(thebits : TBits_1); inline;
  9208. procedure setw(thebits : TBits_32); inline;
  9209. public
  9210. procedure clearIC4EIE; inline;
  9211. procedure clearIC5EIE; inline;
  9212. procedure clearPMPEIE; inline;
  9213. procedure clearU1BEIE; inline;
  9214. procedure clearU1BRXIE; inline;
  9215. procedure clearU1BTXIE; inline;
  9216. procedure clearU2BEIE; inline;
  9217. procedure clearU2BRXIE; inline;
  9218. procedure clearU2BTXIE; inline;
  9219. procedure clearU3BEIE; inline;
  9220. procedure clearU3BRXIE; inline;
  9221. procedure clearU3BTXIE; inline;
  9222. procedure clearU4EIE; inline;
  9223. procedure clearU4RXIE; inline;
  9224. procedure clearU4TXIE; inline;
  9225. procedure clearU5EIE; inline;
  9226. procedure clearU5RXIE; inline;
  9227. procedure clearU5TXIE; inline;
  9228. procedure clearU6EIE; inline;
  9229. procedure clearU6RXIE; inline;
  9230. procedure clearU6TXIE; inline;
  9231. procedure setIC4EIE; inline;
  9232. procedure setIC5EIE; inline;
  9233. procedure setPMPEIE; inline;
  9234. procedure setU1BEIE; inline;
  9235. procedure setU1BRXIE; inline;
  9236. procedure setU1BTXIE; inline;
  9237. procedure setU2BEIE; inline;
  9238. procedure setU2BRXIE; inline;
  9239. procedure setU2BTXIE; inline;
  9240. procedure setU3BEIE; inline;
  9241. procedure setU3BRXIE; inline;
  9242. procedure setU3BTXIE; inline;
  9243. procedure setU4EIE; inline;
  9244. procedure setU4RXIE; inline;
  9245. procedure setU4TXIE; inline;
  9246. procedure setU5EIE; inline;
  9247. procedure setU5RXIE; inline;
  9248. procedure setU5TXIE; inline;
  9249. procedure setU6EIE; inline;
  9250. procedure setU6RXIE; inline;
  9251. procedure setU6TXIE; inline;
  9252. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  9253. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  9254. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  9255. property U1BEIE : TBits_1 read getU1BEIE write setU1BEIE;
  9256. property U1BRXIE : TBits_1 read getU1BRXIE write setU1BRXIE;
  9257. property U1BTXIE : TBits_1 read getU1BTXIE write setU1BTXIE;
  9258. property U2BEIE : TBits_1 read getU2BEIE write setU2BEIE;
  9259. property U2BRXIE : TBits_1 read getU2BRXIE write setU2BRXIE;
  9260. property U2BTXIE : TBits_1 read getU2BTXIE write setU2BTXIE;
  9261. property U3BEIE : TBits_1 read getU3BEIE write setU3BEIE;
  9262. property U3BRXIE : TBits_1 read getU3BRXIE write setU3BRXIE;
  9263. property U3BTXIE : TBits_1 read getU3BTXIE write setU3BTXIE;
  9264. property U4EIE : TBits_1 read getU4EIE write setU4EIE;
  9265. property U4RXIE : TBits_1 read getU4RXIE write setU4RXIE;
  9266. property U4TXIE : TBits_1 read getU4TXIE write setU4TXIE;
  9267. property U5EIE : TBits_1 read getU5EIE write setU5EIE;
  9268. property U5RXIE : TBits_1 read getU5RXIE write setU5RXIE;
  9269. property U5TXIE : TBits_1 read getU5TXIE write setU5TXIE;
  9270. property U6EIE : TBits_1 read getU6EIE write setU6EIE;
  9271. property U6RXIE : TBits_1 read getU6RXIE write setU6RXIE;
  9272. property U6TXIE : TBits_1 read getU6TXIE write setU6TXIE;
  9273. property w : TBits_32 read getw write setw;
  9274. end;
  9275. TINT_IPC0 = record
  9276. private
  9277. function getCS0IP : TBits_3; inline;
  9278. function getCS0IS : TBits_2; inline;
  9279. function getCS1IP : TBits_3; inline;
  9280. function getCS1IS : TBits_2; inline;
  9281. function getCTIP : TBits_3; inline;
  9282. function getCTIS : TBits_2; inline;
  9283. function getINT0IP : TBits_3; inline;
  9284. function getINT0IS : TBits_2; inline;
  9285. function getw : TBits_32; inline;
  9286. procedure setCS0IP(thebits : TBits_3); inline;
  9287. procedure setCS0IS(thebits : TBits_2); inline;
  9288. procedure setCS1IP(thebits : TBits_3); inline;
  9289. procedure setCS1IS(thebits : TBits_2); inline;
  9290. procedure setCTIP(thebits : TBits_3); inline;
  9291. procedure setCTIS(thebits : TBits_2); inline;
  9292. procedure setINT0IP(thebits : TBits_3); inline;
  9293. procedure setINT0IS(thebits : TBits_2); inline;
  9294. procedure setw(thebits : TBits_32); inline;
  9295. public
  9296. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  9297. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  9298. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  9299. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  9300. property CTIP : TBits_3 read getCTIP write setCTIP;
  9301. property CTIS : TBits_2 read getCTIS write setCTIS;
  9302. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  9303. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  9304. property w : TBits_32 read getw write setw;
  9305. end;
  9306. TINT_IPC1 = record
  9307. private
  9308. function getIC1IP : TBits_3; inline;
  9309. function getIC1IS : TBits_2; inline;
  9310. function getINT1IP : TBits_3; inline;
  9311. function getINT1IS : TBits_2; inline;
  9312. function getOC1IP : TBits_3; inline;
  9313. function getOC1IS : TBits_2; inline;
  9314. function getT1IP : TBits_3; inline;
  9315. function getT1IS : TBits_2; inline;
  9316. function getw : TBits_32; inline;
  9317. procedure setIC1IP(thebits : TBits_3); inline;
  9318. procedure setIC1IS(thebits : TBits_2); inline;
  9319. procedure setINT1IP(thebits : TBits_3); inline;
  9320. procedure setINT1IS(thebits : TBits_2); inline;
  9321. procedure setOC1IP(thebits : TBits_3); inline;
  9322. procedure setOC1IS(thebits : TBits_2); inline;
  9323. procedure setT1IP(thebits : TBits_3); inline;
  9324. procedure setT1IS(thebits : TBits_2); inline;
  9325. procedure setw(thebits : TBits_32); inline;
  9326. public
  9327. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  9328. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  9329. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  9330. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  9331. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  9332. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  9333. property T1IP : TBits_3 read getT1IP write setT1IP;
  9334. property T1IS : TBits_2 read getT1IS write setT1IS;
  9335. property w : TBits_32 read getw write setw;
  9336. end;
  9337. TINT_IPC2 = record
  9338. private
  9339. function getIC2IP : TBits_3; inline;
  9340. function getIC2IS : TBits_2; inline;
  9341. function getINT2IP : TBits_3; inline;
  9342. function getINT2IS : TBits_2; inline;
  9343. function getOC2IP : TBits_3; inline;
  9344. function getOC2IS : TBits_2; inline;
  9345. function getT2IP : TBits_3; inline;
  9346. function getT2IS : TBits_2; inline;
  9347. function getw : TBits_32; inline;
  9348. procedure setIC2IP(thebits : TBits_3); inline;
  9349. procedure setIC2IS(thebits : TBits_2); inline;
  9350. procedure setINT2IP(thebits : TBits_3); inline;
  9351. procedure setINT2IS(thebits : TBits_2); inline;
  9352. procedure setOC2IP(thebits : TBits_3); inline;
  9353. procedure setOC2IS(thebits : TBits_2); inline;
  9354. procedure setT2IP(thebits : TBits_3); inline;
  9355. procedure setT2IS(thebits : TBits_2); inline;
  9356. procedure setw(thebits : TBits_32); inline;
  9357. public
  9358. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  9359. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  9360. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  9361. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  9362. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  9363. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  9364. property T2IP : TBits_3 read getT2IP write setT2IP;
  9365. property T2IS : TBits_2 read getT2IS write setT2IS;
  9366. property w : TBits_32 read getw write setw;
  9367. end;
  9368. TINT_IPC3 = record
  9369. private
  9370. function getIC3IP : TBits_3; inline;
  9371. function getIC3IS : TBits_2; inline;
  9372. function getINT3IP : TBits_3; inline;
  9373. function getINT3IS : TBits_2; inline;
  9374. function getOC3IP : TBits_3; inline;
  9375. function getOC3IS : TBits_2; inline;
  9376. function getT3IP : TBits_3; inline;
  9377. function getT3IS : TBits_2; inline;
  9378. function getw : TBits_32; inline;
  9379. procedure setIC3IP(thebits : TBits_3); inline;
  9380. procedure setIC3IS(thebits : TBits_2); inline;
  9381. procedure setINT3IP(thebits : TBits_3); inline;
  9382. procedure setINT3IS(thebits : TBits_2); inline;
  9383. procedure setOC3IP(thebits : TBits_3); inline;
  9384. procedure setOC3IS(thebits : TBits_2); inline;
  9385. procedure setT3IP(thebits : TBits_3); inline;
  9386. procedure setT3IS(thebits : TBits_2); inline;
  9387. procedure setw(thebits : TBits_32); inline;
  9388. public
  9389. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  9390. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  9391. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  9392. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  9393. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  9394. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  9395. property T3IP : TBits_3 read getT3IP write setT3IP;
  9396. property T3IS : TBits_2 read getT3IS write setT3IS;
  9397. property w : TBits_32 read getw write setw;
  9398. end;
  9399. TINT_IPC4 = record
  9400. private
  9401. function getIC4IP : TBits_3; inline;
  9402. function getIC4IS : TBits_2; inline;
  9403. function getINT4IP : TBits_3; inline;
  9404. function getINT4IS : TBits_2; inline;
  9405. function getOC4IP : TBits_3; inline;
  9406. function getOC4IS : TBits_2; inline;
  9407. function getT4IP : TBits_3; inline;
  9408. function getT4IS : TBits_2; inline;
  9409. function getw : TBits_32; inline;
  9410. procedure setIC4IP(thebits : TBits_3); inline;
  9411. procedure setIC4IS(thebits : TBits_2); inline;
  9412. procedure setINT4IP(thebits : TBits_3); inline;
  9413. procedure setINT4IS(thebits : TBits_2); inline;
  9414. procedure setOC4IP(thebits : TBits_3); inline;
  9415. procedure setOC4IS(thebits : TBits_2); inline;
  9416. procedure setT4IP(thebits : TBits_3); inline;
  9417. procedure setT4IS(thebits : TBits_2); inline;
  9418. procedure setw(thebits : TBits_32); inline;
  9419. public
  9420. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  9421. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  9422. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  9423. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  9424. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  9425. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  9426. property T4IP : TBits_3 read getT4IP write setT4IP;
  9427. property T4IS : TBits_2 read getT4IS write setT4IS;
  9428. property w : TBits_32 read getw write setw;
  9429. end;
  9430. TINT_IPC5 = record
  9431. private
  9432. function getIC5IP : TBits_3; inline;
  9433. function getIC5IS : TBits_2; inline;
  9434. function getOC5IP : TBits_3; inline;
  9435. function getOC5IS : TBits_2; inline;
  9436. function getT5IP : TBits_3; inline;
  9437. function getT5IS : TBits_2; inline;
  9438. function getw : TBits_32; inline;
  9439. procedure setIC5IP(thebits : TBits_3); inline;
  9440. procedure setIC5IS(thebits : TBits_2); inline;
  9441. procedure setOC5IP(thebits : TBits_3); inline;
  9442. procedure setOC5IS(thebits : TBits_2); inline;
  9443. procedure setT5IP(thebits : TBits_3); inline;
  9444. procedure setT5IS(thebits : TBits_2); inline;
  9445. procedure setw(thebits : TBits_32); inline;
  9446. public
  9447. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  9448. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  9449. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  9450. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  9451. property T5IP : TBits_3 read getT5IP write setT5IP;
  9452. property T5IS : TBits_2 read getT5IS write setT5IS;
  9453. property w : TBits_32 read getw write setw;
  9454. end;
  9455. TINT_IPC6 = record
  9456. private
  9457. function getAD1IP : TBits_3; inline;
  9458. function getAD1IS : TBits_2; inline;
  9459. function getCNIP : TBits_3; inline;
  9460. function getCNIS : TBits_2; inline;
  9461. function getI2C1AIP : TBits_3; inline;
  9462. function getI2C1AIS : TBits_2; inline;
  9463. function getI2C1IP : TBits_3; inline;
  9464. function getI2C1IS : TBits_2; inline;
  9465. function getI2C3IP : TBits_3; inline;
  9466. function getI2C3IS : TBits_2; inline;
  9467. function getSPI1AIP : TBits_3; inline;
  9468. function getSPI1AIS : TBits_2; inline;
  9469. function getSPI3IP : TBits_3; inline;
  9470. function getSPI3IS : TBits_2; inline;
  9471. function getU1AIP : TBits_3; inline;
  9472. function getU1AIS : TBits_2; inline;
  9473. function getU1IP : TBits_3; inline;
  9474. function getU1IS : TBits_2; inline;
  9475. function getw : TBits_32; inline;
  9476. procedure setAD1IP(thebits : TBits_3); inline;
  9477. procedure setAD1IS(thebits : TBits_2); inline;
  9478. procedure setCNIP(thebits : TBits_3); inline;
  9479. procedure setCNIS(thebits : TBits_2); inline;
  9480. procedure setI2C1AIP(thebits : TBits_3); inline;
  9481. procedure setI2C1AIS(thebits : TBits_2); inline;
  9482. procedure setI2C1IP(thebits : TBits_3); inline;
  9483. procedure setI2C1IS(thebits : TBits_2); inline;
  9484. procedure setI2C3IP(thebits : TBits_3); inline;
  9485. procedure setI2C3IS(thebits : TBits_2); inline;
  9486. procedure setSPI1AIP(thebits : TBits_3); inline;
  9487. procedure setSPI1AIS(thebits : TBits_2); inline;
  9488. procedure setSPI3IP(thebits : TBits_3); inline;
  9489. procedure setSPI3IS(thebits : TBits_2); inline;
  9490. procedure setU1AIP(thebits : TBits_3); inline;
  9491. procedure setU1AIS(thebits : TBits_2); inline;
  9492. procedure setU1IP(thebits : TBits_3); inline;
  9493. procedure setU1IS(thebits : TBits_2); inline;
  9494. procedure setw(thebits : TBits_32); inline;
  9495. public
  9496. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  9497. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  9498. property CNIP : TBits_3 read getCNIP write setCNIP;
  9499. property CNIS : TBits_2 read getCNIS write setCNIS;
  9500. property I2C1AIP : TBits_3 read getI2C1AIP write setI2C1AIP;
  9501. property I2C1AIS : TBits_2 read getI2C1AIS write setI2C1AIS;
  9502. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  9503. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  9504. property I2C3IP : TBits_3 read getI2C3IP write setI2C3IP;
  9505. property I2C3IS : TBits_2 read getI2C3IS write setI2C3IS;
  9506. property SPI1AIP : TBits_3 read getSPI1AIP write setSPI1AIP;
  9507. property SPI1AIS : TBits_2 read getSPI1AIS write setSPI1AIS;
  9508. property SPI3IP : TBits_3 read getSPI3IP write setSPI3IP;
  9509. property SPI3IS : TBits_2 read getSPI3IS write setSPI3IS;
  9510. property U1AIP : TBits_3 read getU1AIP write setU1AIP;
  9511. property U1AIS : TBits_2 read getU1AIS write setU1AIS;
  9512. property U1IP : TBits_3 read getU1IP write setU1IP;
  9513. property U1IS : TBits_2 read getU1IS write setU1IS;
  9514. property w : TBits_32 read getw write setw;
  9515. end;
  9516. TINT_IPC7 = record
  9517. private
  9518. function getCMP1IP : TBits_3; inline;
  9519. function getCMP1IS : TBits_2; inline;
  9520. function getCMP2IP : TBits_3; inline;
  9521. function getCMP2IS : TBits_2; inline;
  9522. function getI2C2AIP : TBits_3; inline;
  9523. function getI2C2AIS : TBits_2; inline;
  9524. function getI2C4IP : TBits_3; inline;
  9525. function getI2C4IS : TBits_2; inline;
  9526. function getPMPIP : TBits_3; inline;
  9527. function getPMPIS : TBits_2; inline;
  9528. function getSPI2AIP : TBits_3; inline;
  9529. function getSPI2AIS : TBits_2; inline;
  9530. function getSPI2IP : TBits_3; inline;
  9531. function getSPI2IS : TBits_2; inline;
  9532. function getU2AIP : TBits_3; inline;
  9533. function getU2AIS : TBits_2; inline;
  9534. function getU3IP : TBits_3; inline;
  9535. function getU3IS : TBits_2; inline;
  9536. function getw : TBits_32; inline;
  9537. procedure setCMP1IP(thebits : TBits_3); inline;
  9538. procedure setCMP1IS(thebits : TBits_2); inline;
  9539. procedure setCMP2IP(thebits : TBits_3); inline;
  9540. procedure setCMP2IS(thebits : TBits_2); inline;
  9541. procedure setI2C2AIP(thebits : TBits_3); inline;
  9542. procedure setI2C2AIS(thebits : TBits_2); inline;
  9543. procedure setI2C4IP(thebits : TBits_3); inline;
  9544. procedure setI2C4IS(thebits : TBits_2); inline;
  9545. procedure setPMPIP(thebits : TBits_3); inline;
  9546. procedure setPMPIS(thebits : TBits_2); inline;
  9547. procedure setSPI2AIP(thebits : TBits_3); inline;
  9548. procedure setSPI2AIS(thebits : TBits_2); inline;
  9549. procedure setSPI2IP(thebits : TBits_3); inline;
  9550. procedure setSPI2IS(thebits : TBits_2); inline;
  9551. procedure setU2AIP(thebits : TBits_3); inline;
  9552. procedure setU2AIS(thebits : TBits_2); inline;
  9553. procedure setU3IP(thebits : TBits_3); inline;
  9554. procedure setU3IS(thebits : TBits_2); inline;
  9555. procedure setw(thebits : TBits_32); inline;
  9556. public
  9557. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  9558. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  9559. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  9560. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  9561. property I2C2AIP : TBits_3 read getI2C2AIP write setI2C2AIP;
  9562. property I2C2AIS : TBits_2 read getI2C2AIS write setI2C2AIS;
  9563. property I2C4IP : TBits_3 read getI2C4IP write setI2C4IP;
  9564. property I2C4IS : TBits_2 read getI2C4IS write setI2C4IS;
  9565. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  9566. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  9567. property SPI2AIP : TBits_3 read getSPI2AIP write setSPI2AIP;
  9568. property SPI2AIS : TBits_2 read getSPI2AIS write setSPI2AIS;
  9569. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  9570. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  9571. property U2AIP : TBits_3 read getU2AIP write setU2AIP;
  9572. property U2AIS : TBits_2 read getU2AIS write setU2AIS;
  9573. property U3IP : TBits_3 read getU3IP write setU3IP;
  9574. property U3IS : TBits_2 read getU3IS write setU3IS;
  9575. property w : TBits_32 read getw write setw;
  9576. end;
  9577. TINT_IPC8 = record
  9578. private
  9579. function getFSCMIP : TBits_3; inline;
  9580. function getFSCMIS : TBits_2; inline;
  9581. function getI2C3AIP : TBits_3; inline;
  9582. function getI2C3AIS : TBits_2; inline;
  9583. function getI2C5IP : TBits_3; inline;
  9584. function getI2C5IS : TBits_2; inline;
  9585. function getRTCCIP : TBits_3; inline;
  9586. function getRTCCIS : TBits_2; inline;
  9587. function getSPI3AIP : TBits_3; inline;
  9588. function getSPI3AIS : TBits_2; inline;
  9589. function getSPI4IP : TBits_3; inline;
  9590. function getSPI4IS : TBits_2; inline;
  9591. function getU2IP : TBits_3; inline;
  9592. function getU2IS : TBits_2; inline;
  9593. function getU3AIP : TBits_3; inline;
  9594. function getU3AIS : TBits_2; inline;
  9595. function getw : TBits_32; inline;
  9596. procedure setFSCMIP(thebits : TBits_3); inline;
  9597. procedure setFSCMIS(thebits : TBits_2); inline;
  9598. procedure setI2C3AIP(thebits : TBits_3); inline;
  9599. procedure setI2C3AIS(thebits : TBits_2); inline;
  9600. procedure setI2C5IP(thebits : TBits_3); inline;
  9601. procedure setI2C5IS(thebits : TBits_2); inline;
  9602. procedure setRTCCIP(thebits : TBits_3); inline;
  9603. procedure setRTCCIS(thebits : TBits_2); inline;
  9604. procedure setSPI3AIP(thebits : TBits_3); inline;
  9605. procedure setSPI3AIS(thebits : TBits_2); inline;
  9606. procedure setSPI4IP(thebits : TBits_3); inline;
  9607. procedure setSPI4IS(thebits : TBits_2); inline;
  9608. procedure setU2IP(thebits : TBits_3); inline;
  9609. procedure setU2IS(thebits : TBits_2); inline;
  9610. procedure setU3AIP(thebits : TBits_3); inline;
  9611. procedure setU3AIS(thebits : TBits_2); inline;
  9612. procedure setw(thebits : TBits_32); inline;
  9613. public
  9614. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  9615. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  9616. property I2C3AIP : TBits_3 read getI2C3AIP write setI2C3AIP;
  9617. property I2C3AIS : TBits_2 read getI2C3AIS write setI2C3AIS;
  9618. property I2C5IP : TBits_3 read getI2C5IP write setI2C5IP;
  9619. property I2C5IS : TBits_2 read getI2C5IS write setI2C5IS;
  9620. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  9621. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  9622. property SPI3AIP : TBits_3 read getSPI3AIP write setSPI3AIP;
  9623. property SPI3AIS : TBits_2 read getSPI3AIS write setSPI3AIS;
  9624. property SPI4IP : TBits_3 read getSPI4IP write setSPI4IP;
  9625. property SPI4IS : TBits_2 read getSPI4IS write setSPI4IS;
  9626. property U2IP : TBits_3 read getU2IP write setU2IP;
  9627. property U2IS : TBits_2 read getU2IS write setU2IS;
  9628. property U3AIP : TBits_3 read getU3AIP write setU3AIP;
  9629. property U3AIS : TBits_2 read getU3AIS write setU3AIS;
  9630. property w : TBits_32 read getw write setw;
  9631. end;
  9632. TINT_IPC9 = record
  9633. private
  9634. function getDMA0IP : TBits_3; inline;
  9635. function getDMA0IS : TBits_2; inline;
  9636. function getDMA1IP : TBits_3; inline;
  9637. function getDMA1IS : TBits_2; inline;
  9638. function getDMA2IP : TBits_3; inline;
  9639. function getDMA2IS : TBits_2; inline;
  9640. function getDMA3IP : TBits_3; inline;
  9641. function getDMA3IS : TBits_2; inline;
  9642. function getw : TBits_32; inline;
  9643. procedure setDMA0IP(thebits : TBits_3); inline;
  9644. procedure setDMA0IS(thebits : TBits_2); inline;
  9645. procedure setDMA1IP(thebits : TBits_3); inline;
  9646. procedure setDMA1IS(thebits : TBits_2); inline;
  9647. procedure setDMA2IP(thebits : TBits_3); inline;
  9648. procedure setDMA2IS(thebits : TBits_2); inline;
  9649. procedure setDMA3IP(thebits : TBits_3); inline;
  9650. procedure setDMA3IS(thebits : TBits_2); inline;
  9651. procedure setw(thebits : TBits_32); inline;
  9652. public
  9653. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  9654. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  9655. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  9656. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  9657. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  9658. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  9659. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  9660. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  9661. property w : TBits_32 read getw write setw;
  9662. end;
  9663. TINT_IPC10 = record
  9664. private
  9665. function getDMA4IP : TBits_3; inline;
  9666. function getDMA4IS : TBits_2; inline;
  9667. function getDMA5IP : TBits_3; inline;
  9668. function getDMA5IS : TBits_2; inline;
  9669. function getDMA6IP : TBits_3; inline;
  9670. function getDMA6IS : TBits_2; inline;
  9671. function getDMA7IP : TBits_3; inline;
  9672. function getDMA7IS : TBits_2; inline;
  9673. function getw : TBits_32; inline;
  9674. procedure setDMA4IP(thebits : TBits_3); inline;
  9675. procedure setDMA4IS(thebits : TBits_2); inline;
  9676. procedure setDMA5IP(thebits : TBits_3); inline;
  9677. procedure setDMA5IS(thebits : TBits_2); inline;
  9678. procedure setDMA6IP(thebits : TBits_3); inline;
  9679. procedure setDMA6IS(thebits : TBits_2); inline;
  9680. procedure setDMA7IP(thebits : TBits_3); inline;
  9681. procedure setDMA7IS(thebits : TBits_2); inline;
  9682. procedure setw(thebits : TBits_32); inline;
  9683. public
  9684. property DMA4IP : TBits_3 read getDMA4IP write setDMA4IP;
  9685. property DMA4IS : TBits_2 read getDMA4IS write setDMA4IS;
  9686. property DMA5IP : TBits_3 read getDMA5IP write setDMA5IP;
  9687. property DMA5IS : TBits_2 read getDMA5IS write setDMA5IS;
  9688. property DMA6IP : TBits_3 read getDMA6IP write setDMA6IP;
  9689. property DMA6IS : TBits_2 read getDMA6IS write setDMA6IS;
  9690. property DMA7IP : TBits_3 read getDMA7IP write setDMA7IP;
  9691. property DMA7IS : TBits_2 read getDMA7IS write setDMA7IS;
  9692. property w : TBits_32 read getw write setw;
  9693. end;
  9694. TINT_IPC11 = record
  9695. private
  9696. function getFCEIP : TBits_3; inline;
  9697. function getFCEIS : TBits_2; inline;
  9698. function getUSBIP : TBits_3; inline;
  9699. function getUSBIS : TBits_2; inline;
  9700. function getw : TBits_32; inline;
  9701. procedure setFCEIP(thebits : TBits_3); inline;
  9702. procedure setFCEIS(thebits : TBits_2); inline;
  9703. procedure setUSBIP(thebits : TBits_3); inline;
  9704. procedure setUSBIS(thebits : TBits_2); inline;
  9705. procedure setw(thebits : TBits_32); inline;
  9706. public
  9707. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  9708. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  9709. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  9710. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  9711. property w : TBits_32 read getw write setw;
  9712. end;
  9713. TINT_IPC12 = record
  9714. private
  9715. function getETHIP : TBits_3; inline;
  9716. function getETHIS : TBits_2; inline;
  9717. function getU1BIP : TBits_3; inline;
  9718. function getU1BIS : TBits_2; inline;
  9719. function getU2BIP : TBits_3; inline;
  9720. function getU2BIS : TBits_2; inline;
  9721. function getU3BIP : TBits_3; inline;
  9722. function getU3BIS : TBits_2; inline;
  9723. function getU4IP : TBits_3; inline;
  9724. function getU4IS : TBits_2; inline;
  9725. function getU5IP : TBits_3; inline;
  9726. function getU5IS : TBits_2; inline;
  9727. function getU6IP : TBits_3; inline;
  9728. function getU6IS : TBits_2; inline;
  9729. function getw : TBits_32; inline;
  9730. procedure setETHIP(thebits : TBits_3); inline;
  9731. procedure setETHIS(thebits : TBits_2); inline;
  9732. procedure setU1BIP(thebits : TBits_3); inline;
  9733. procedure setU1BIS(thebits : TBits_2); inline;
  9734. procedure setU2BIP(thebits : TBits_3); inline;
  9735. procedure setU2BIS(thebits : TBits_2); inline;
  9736. procedure setU3BIP(thebits : TBits_3); inline;
  9737. procedure setU3BIS(thebits : TBits_2); inline;
  9738. procedure setU4IP(thebits : TBits_3); inline;
  9739. procedure setU4IS(thebits : TBits_2); inline;
  9740. procedure setU5IP(thebits : TBits_3); inline;
  9741. procedure setU5IS(thebits : TBits_2); inline;
  9742. procedure setU6IP(thebits : TBits_3); inline;
  9743. procedure setU6IS(thebits : TBits_2); inline;
  9744. procedure setw(thebits : TBits_32); inline;
  9745. public
  9746. property ETHIP : TBits_3 read getETHIP write setETHIP;
  9747. property ETHIS : TBits_2 read getETHIS write setETHIS;
  9748. property U1BIP : TBits_3 read getU1BIP write setU1BIP;
  9749. property U1BIS : TBits_2 read getU1BIS write setU1BIS;
  9750. property U2BIP : TBits_3 read getU2BIP write setU2BIP;
  9751. property U2BIS : TBits_2 read getU2BIS write setU2BIS;
  9752. property U3BIP : TBits_3 read getU3BIP write setU3BIP;
  9753. property U3BIS : TBits_2 read getU3BIS write setU3BIS;
  9754. property U4IP : TBits_3 read getU4IP write setU4IP;
  9755. property U4IS : TBits_2 read getU4IS write setU4IS;
  9756. property U5IP : TBits_3 read getU5IP write setU5IP;
  9757. property U5IS : TBits_2 read getU5IS write setU5IS;
  9758. property U6IP : TBits_3 read getU6IP write setU6IP;
  9759. property U6IS : TBits_2 read getU6IS write setU6IS;
  9760. property w : TBits_32 read getw write setw;
  9761. end;
  9762. type
  9763. TINTRegisters = record
  9764. INTCONbits : TINT_INTCON;
  9765. INTCON : longWord;
  9766. INTCONCLR : longWord;
  9767. INTCONSET : longWord;
  9768. INTCONINV : longWord;
  9769. INTSTAT : longWord;
  9770. IPTMR : longWord;
  9771. IPTMRCLR : longWord;
  9772. IPTMRSET : longWord;
  9773. IPTMRINV : longWord;
  9774. IFS0bits : TINT_IFS0;
  9775. IFS0 : longWord;
  9776. IFS0CLR : longWord;
  9777. IFS0SET : longWord;
  9778. IFS0INV : longWord;
  9779. IFS1bits : TINT_IFS1;
  9780. IFS1 : longWord;
  9781. IFS1CLR : longWord;
  9782. IFS1SET : longWord;
  9783. IFS1INV : longWord;
  9784. IFS2bits : TINT_IFS2;
  9785. IFS2 : longWord;
  9786. IFS2CLR : longWord;
  9787. IFS2SET : longWord;
  9788. IFS2INV : longWord;
  9789. IEC0bits : TINT_IEC0;
  9790. IEC0 : longWord;
  9791. IEC0CLR : longWord;
  9792. IEC0SET : longWord;
  9793. IEC0INV : longWord;
  9794. IEC1bits : TINT_IEC1;
  9795. IEC1 : longWord;
  9796. IEC1CLR : longWord;
  9797. IEC1SET : longWord;
  9798. IEC1INV : longWord;
  9799. IEC2bits : TINT_IEC2;
  9800. IEC2 : longWord;
  9801. IEC2CLR : longWord;
  9802. IEC2SET : longWord;
  9803. IEC2INV : longWord;
  9804. IPC0bits : TINT_IPC0;
  9805. IPC0 : longWord;
  9806. IPC0CLR : longWord;
  9807. IPC0SET : longWord;
  9808. IPC0INV : longWord;
  9809. IPC1bits : TINT_IPC1;
  9810. IPC1 : longWord;
  9811. IPC1CLR : longWord;
  9812. IPC1SET : longWord;
  9813. IPC1INV : longWord;
  9814. IPC2bits : TINT_IPC2;
  9815. IPC2 : longWord;
  9816. IPC2CLR : longWord;
  9817. IPC2SET : longWord;
  9818. IPC2INV : longWord;
  9819. IPC3bits : TINT_IPC3;
  9820. IPC3 : longWord;
  9821. IPC3CLR : longWord;
  9822. IPC3SET : longWord;
  9823. IPC3INV : longWord;
  9824. IPC4bits : TINT_IPC4;
  9825. IPC4 : longWord;
  9826. IPC4CLR : longWord;
  9827. IPC4SET : longWord;
  9828. IPC4INV : longWord;
  9829. IPC5bits : TINT_IPC5;
  9830. IPC5 : longWord;
  9831. IPC5CLR : longWord;
  9832. IPC5SET : longWord;
  9833. IPC5INV : longWord;
  9834. IPC6bits : TINT_IPC6;
  9835. IPC6 : longWord;
  9836. IPC6CLR : longWord;
  9837. IPC6SET : longWord;
  9838. IPC6INV : longWord;
  9839. IPC7bits : TINT_IPC7;
  9840. IPC7 : longWord;
  9841. IPC7CLR : longWord;
  9842. IPC7SET : longWord;
  9843. IPC7INV : longWord;
  9844. IPC8bits : TINT_IPC8;
  9845. IPC8 : longWord;
  9846. IPC8CLR : longWord;
  9847. IPC8SET : longWord;
  9848. IPC8INV : longWord;
  9849. IPC9bits : TINT_IPC9;
  9850. IPC9 : longWord;
  9851. IPC9CLR : longWord;
  9852. IPC9SET : longWord;
  9853. IPC9INV : longWord;
  9854. IPC10bits : TINT_IPC10;
  9855. IPC10 : longWord;
  9856. IPC10CLR : longWord;
  9857. IPC10SET : longWord;
  9858. IPC10INV : longWord;
  9859. IPC11bits : TINT_IPC11;
  9860. IPC11 : longWord;
  9861. IPC11CLR : longWord;
  9862. IPC11SET : longWord;
  9863. IPC11INV : longWord;
  9864. IPC12bits : TINT_IPC12;
  9865. IPC12 : longWord;
  9866. IPC12CLR : longWord;
  9867. IPC12SET : longWord;
  9868. IPC12INV : longWord;
  9869. end;
  9870. TBMX_BMXCON = record
  9871. private
  9872. function getBMXARB : TBits_3; inline;
  9873. function getBMXCHEDMA : TBits_1; inline;
  9874. function getBMXERRDMA : TBits_1; inline;
  9875. function getBMXERRDS : TBits_1; inline;
  9876. function getBMXERRICD : TBits_1; inline;
  9877. function getBMXERRIS : TBits_1; inline;
  9878. function getBMXERRIXI : TBits_1; inline;
  9879. function getBMXWSDRM : TBits_1; inline;
  9880. function getw : TBits_32; inline;
  9881. procedure setBMXARB(thebits : TBits_3); inline;
  9882. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  9883. procedure setBMXERRDMA(thebits : TBits_1); inline;
  9884. procedure setBMXERRDS(thebits : TBits_1); inline;
  9885. procedure setBMXERRICD(thebits : TBits_1); inline;
  9886. procedure setBMXERRIS(thebits : TBits_1); inline;
  9887. procedure setBMXERRIXI(thebits : TBits_1); inline;
  9888. procedure setBMXWSDRM(thebits : TBits_1); inline;
  9889. procedure setw(thebits : TBits_32); inline;
  9890. public
  9891. procedure clearBMXCHEDMA; inline;
  9892. procedure clearBMXERRDMA; inline;
  9893. procedure clearBMXERRDS; inline;
  9894. procedure clearBMXERRICD; inline;
  9895. procedure clearBMXERRIS; inline;
  9896. procedure clearBMXERRIXI; inline;
  9897. procedure clearBMXWSDRM; inline;
  9898. procedure setBMXCHEDMA; inline;
  9899. procedure setBMXERRDMA; inline;
  9900. procedure setBMXERRDS; inline;
  9901. procedure setBMXERRICD; inline;
  9902. procedure setBMXERRIS; inline;
  9903. procedure setBMXERRIXI; inline;
  9904. procedure setBMXWSDRM; inline;
  9905. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  9906. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  9907. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  9908. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  9909. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  9910. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  9911. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  9912. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  9913. property w : TBits_32 read getw write setw;
  9914. end;
  9915. type
  9916. TBMXRegisters = record
  9917. BMXCONbits : TBMX_BMXCON;
  9918. BMXCON : longWord;
  9919. BMXCONCLR : longWord;
  9920. BMXCONSET : longWord;
  9921. BMXCONINV : longWord;
  9922. BMXDKPBA : longWord;
  9923. BMXDKPBACLR : longWord;
  9924. BMXDKPBASET : longWord;
  9925. BMXDKPBAINV : longWord;
  9926. BMXDUDBA : longWord;
  9927. BMXDUDBACLR : longWord;
  9928. BMXDUDBASET : longWord;
  9929. BMXDUDBAINV : longWord;
  9930. BMXDUPBA : longWord;
  9931. BMXDUPBACLR : longWord;
  9932. BMXDUPBASET : longWord;
  9933. BMXDUPBAINV : longWord;
  9934. BMXDRMSZ : longWord;
  9935. BMXPUPBA : longWord;
  9936. BMXPUPBACLR : longWord;
  9937. BMXPUPBASET : longWord;
  9938. BMXPUPBAINV : longWord;
  9939. BMXPFMSZ : longWord;
  9940. BMXBOOTSZ : longWord;
  9941. end;
  9942. TDMAC_DMACON = record
  9943. private
  9944. function getDMABUSY : TBits_1; inline;
  9945. function getON : TBits_1; inline;
  9946. function getSUSPEND : TBits_1; inline;
  9947. function getw : TBits_32; inline;
  9948. procedure setDMABUSY(thebits : TBits_1); inline;
  9949. procedure setON(thebits : TBits_1); inline;
  9950. procedure setSUSPEND(thebits : TBits_1); inline;
  9951. procedure setw(thebits : TBits_32); inline;
  9952. public
  9953. procedure clearDMABUSY; inline;
  9954. procedure clearON; inline;
  9955. procedure clearSUSPEND; inline;
  9956. procedure setDMABUSY; inline;
  9957. procedure setON; inline;
  9958. procedure setSUSPEND; inline;
  9959. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  9960. property ON : TBits_1 read getON write setON;
  9961. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  9962. property w : TBits_32 read getw write setw;
  9963. end;
  9964. TDMAC_DMASTAT = record
  9965. private
  9966. function getDMACH : TBits_3; inline;
  9967. function getRDWR : TBits_1; inline;
  9968. function getw : TBits_32; inline;
  9969. procedure setDMACH(thebits : TBits_3); inline;
  9970. procedure setRDWR(thebits : TBits_1); inline;
  9971. procedure setw(thebits : TBits_32); inline;
  9972. public
  9973. procedure clearRDWR; inline;
  9974. procedure setRDWR; inline;
  9975. property DMACH : TBits_3 read getDMACH write setDMACH;
  9976. property RDWR : TBits_1 read getRDWR write setRDWR;
  9977. property w : TBits_32 read getw write setw;
  9978. end;
  9979. TDMAC_DCRCCON = record
  9980. private
  9981. function getBITO : TBits_1; inline;
  9982. function getBYTO : TBits_2; inline;
  9983. function getCRCAPP : TBits_1; inline;
  9984. function getCRCCH : TBits_3; inline;
  9985. function getCRCEN : TBits_1; inline;
  9986. function getCRCTYP : TBits_1; inline;
  9987. function getPLEN : TBits_5; inline;
  9988. function getWBO : TBits_1; inline;
  9989. function getw : TBits_32; inline;
  9990. procedure setBITO(thebits : TBits_1); inline;
  9991. procedure setBYTO(thebits : TBits_2); inline;
  9992. procedure setCRCAPP(thebits : TBits_1); inline;
  9993. procedure setCRCCH(thebits : TBits_3); inline;
  9994. procedure setCRCEN(thebits : TBits_1); inline;
  9995. procedure setCRCTYP(thebits : TBits_1); inline;
  9996. procedure setPLEN(thebits : TBits_5); inline;
  9997. procedure setWBO(thebits : TBits_1); inline;
  9998. procedure setw(thebits : TBits_32); inline;
  9999. public
  10000. procedure clearBITO; inline;
  10001. procedure clearCRCAPP; inline;
  10002. procedure clearCRCEN; inline;
  10003. procedure clearCRCTYP; inline;
  10004. procedure clearWBO; inline;
  10005. procedure setBITO; inline;
  10006. procedure setCRCAPP; inline;
  10007. procedure setCRCEN; inline;
  10008. procedure setCRCTYP; inline;
  10009. procedure setWBO; inline;
  10010. property BITO : TBits_1 read getBITO write setBITO;
  10011. property BYTO : TBits_2 read getBYTO write setBYTO;
  10012. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  10013. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  10014. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  10015. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  10016. property PLEN : TBits_5 read getPLEN write setPLEN;
  10017. property WBO : TBits_1 read getWBO write setWBO;
  10018. property w : TBits_32 read getw write setw;
  10019. end;
  10020. type
  10021. TDMACRegisters = record
  10022. DMACONbits : TDMAC_DMACON;
  10023. DMACON : longWord;
  10024. DMACONCLR : longWord;
  10025. DMACONSET : longWord;
  10026. DMACONINV : longWord;
  10027. DMASTATbits : TDMAC_DMASTAT;
  10028. DMASTAT : longWord;
  10029. DMASTATCLR : longWord;
  10030. DMASTATSET : longWord;
  10031. DMASTATINV : longWord;
  10032. DMAADDR : longWord;
  10033. DMAADDRCLR : longWord;
  10034. DMAADDRSET : longWord;
  10035. DMAADDRINV : longWord;
  10036. DCRCCONbits : TDMAC_DCRCCON;
  10037. DCRCCON : longWord;
  10038. DCRCCONCLR : longWord;
  10039. DCRCCONSET : longWord;
  10040. DCRCCONINV : longWord;
  10041. DCRCDATA : longWord;
  10042. DCRCDATACLR : longWord;
  10043. DCRCDATASET : longWord;
  10044. DCRCDATAINV : longWord;
  10045. DCRCXOR : longWord;
  10046. DCRCXORCLR : longWord;
  10047. DCRCXORSET : longWord;
  10048. DCRCXORINV : longWord;
  10049. end;
  10050. TDMAC0_DCH0CON = record
  10051. private
  10052. function getCHAED : TBits_1; inline;
  10053. function getCHAEN : TBits_1; inline;
  10054. function getCHBUSY : TBits_1; inline;
  10055. function getCHCHN : TBits_1; inline;
  10056. function getCHCHNS : TBits_1; inline;
  10057. function getCHEDET : TBits_1; inline;
  10058. function getCHEN : TBits_1; inline;
  10059. function getCHPRI : TBits_2; inline;
  10060. function getw : TBits_32; inline;
  10061. procedure setCHAED(thebits : TBits_1); inline;
  10062. procedure setCHAEN(thebits : TBits_1); inline;
  10063. procedure setCHBUSY(thebits : TBits_1); inline;
  10064. procedure setCHCHN(thebits : TBits_1); inline;
  10065. procedure setCHCHNS(thebits : TBits_1); inline;
  10066. procedure setCHEDET(thebits : TBits_1); inline;
  10067. procedure setCHEN(thebits : TBits_1); inline;
  10068. procedure setCHPRI(thebits : TBits_2); inline;
  10069. procedure setw(thebits : TBits_32); inline;
  10070. public
  10071. procedure clearCHAED; inline;
  10072. procedure clearCHAEN; inline;
  10073. procedure clearCHBUSY; inline;
  10074. procedure clearCHCHN; inline;
  10075. procedure clearCHCHNS; inline;
  10076. procedure clearCHEDET; inline;
  10077. procedure clearCHEN; inline;
  10078. procedure setCHAED; inline;
  10079. procedure setCHAEN; inline;
  10080. procedure setCHBUSY; inline;
  10081. procedure setCHCHN; inline;
  10082. procedure setCHCHNS; inline;
  10083. procedure setCHEDET; inline;
  10084. procedure setCHEN; inline;
  10085. property CHAED : TBits_1 read getCHAED write setCHAED;
  10086. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10087. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10088. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10089. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10090. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10091. property CHEN : TBits_1 read getCHEN write setCHEN;
  10092. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10093. property w : TBits_32 read getw write setw;
  10094. end;
  10095. TDMAC0_DCH0ECON = record
  10096. private
  10097. function getAIRQEN : TBits_1; inline;
  10098. function getCABORT : TBits_1; inline;
  10099. function getCFORCE : TBits_1; inline;
  10100. function getCHAIRQ : TBits_8; inline;
  10101. function getCHSIRQ : TBits_8; inline;
  10102. function getPATEN : TBits_1; inline;
  10103. function getSIRQEN : TBits_1; inline;
  10104. function getw : TBits_32; inline;
  10105. procedure setAIRQEN(thebits : TBits_1); inline;
  10106. procedure setCABORT(thebits : TBits_1); inline;
  10107. procedure setCFORCE(thebits : TBits_1); inline;
  10108. procedure setCHAIRQ(thebits : TBits_8); inline;
  10109. procedure setCHSIRQ(thebits : TBits_8); inline;
  10110. procedure setPATEN(thebits : TBits_1); inline;
  10111. procedure setSIRQEN(thebits : TBits_1); inline;
  10112. procedure setw(thebits : TBits_32); inline;
  10113. public
  10114. procedure clearAIRQEN; inline;
  10115. procedure clearCABORT; inline;
  10116. procedure clearCFORCE; inline;
  10117. procedure clearPATEN; inline;
  10118. procedure clearSIRQEN; inline;
  10119. procedure setAIRQEN; inline;
  10120. procedure setCABORT; inline;
  10121. procedure setCFORCE; inline;
  10122. procedure setPATEN; inline;
  10123. procedure setSIRQEN; inline;
  10124. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10125. property CABORT : TBits_1 read getCABORT write setCABORT;
  10126. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10127. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10128. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10129. property PATEN : TBits_1 read getPATEN write setPATEN;
  10130. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10131. property w : TBits_32 read getw write setw;
  10132. end;
  10133. TDMAC0_DCH0INT = record
  10134. private
  10135. function getCHBCIE : TBits_1; inline;
  10136. function getCHBCIF : TBits_1; inline;
  10137. function getCHCCIE : TBits_1; inline;
  10138. function getCHCCIF : TBits_1; inline;
  10139. function getCHDDIE : TBits_1; inline;
  10140. function getCHDDIF : TBits_1; inline;
  10141. function getCHDHIE : TBits_1; inline;
  10142. function getCHDHIF : TBits_1; inline;
  10143. function getCHERIE : TBits_1; inline;
  10144. function getCHERIF : TBits_1; inline;
  10145. function getCHSDIE : TBits_1; inline;
  10146. function getCHSDIF : TBits_1; inline;
  10147. function getCHSHIE : TBits_1; inline;
  10148. function getCHSHIF : TBits_1; inline;
  10149. function getCHTAIE : TBits_1; inline;
  10150. function getCHTAIF : TBits_1; inline;
  10151. function getw : TBits_32; inline;
  10152. procedure setCHBCIE(thebits : TBits_1); inline;
  10153. procedure setCHBCIF(thebits : TBits_1); inline;
  10154. procedure setCHCCIE(thebits : TBits_1); inline;
  10155. procedure setCHCCIF(thebits : TBits_1); inline;
  10156. procedure setCHDDIE(thebits : TBits_1); inline;
  10157. procedure setCHDDIF(thebits : TBits_1); inline;
  10158. procedure setCHDHIE(thebits : TBits_1); inline;
  10159. procedure setCHDHIF(thebits : TBits_1); inline;
  10160. procedure setCHERIE(thebits : TBits_1); inline;
  10161. procedure setCHERIF(thebits : TBits_1); inline;
  10162. procedure setCHSDIE(thebits : TBits_1); inline;
  10163. procedure setCHSDIF(thebits : TBits_1); inline;
  10164. procedure setCHSHIE(thebits : TBits_1); inline;
  10165. procedure setCHSHIF(thebits : TBits_1); inline;
  10166. procedure setCHTAIE(thebits : TBits_1); inline;
  10167. procedure setCHTAIF(thebits : TBits_1); inline;
  10168. procedure setw(thebits : TBits_32); inline;
  10169. public
  10170. procedure clearCHBCIE; inline;
  10171. procedure clearCHBCIF; inline;
  10172. procedure clearCHCCIE; inline;
  10173. procedure clearCHCCIF; inline;
  10174. procedure clearCHDDIE; inline;
  10175. procedure clearCHDDIF; inline;
  10176. procedure clearCHDHIE; inline;
  10177. procedure clearCHDHIF; inline;
  10178. procedure clearCHERIE; inline;
  10179. procedure clearCHERIF; inline;
  10180. procedure clearCHSDIE; inline;
  10181. procedure clearCHSDIF; inline;
  10182. procedure clearCHSHIE; inline;
  10183. procedure clearCHSHIF; inline;
  10184. procedure clearCHTAIE; inline;
  10185. procedure clearCHTAIF; inline;
  10186. procedure setCHBCIE; inline;
  10187. procedure setCHBCIF; inline;
  10188. procedure setCHCCIE; inline;
  10189. procedure setCHCCIF; inline;
  10190. procedure setCHDDIE; inline;
  10191. procedure setCHDDIF; inline;
  10192. procedure setCHDHIE; inline;
  10193. procedure setCHDHIF; inline;
  10194. procedure setCHERIE; inline;
  10195. procedure setCHERIF; inline;
  10196. procedure setCHSDIE; inline;
  10197. procedure setCHSDIF; inline;
  10198. procedure setCHSHIE; inline;
  10199. procedure setCHSHIF; inline;
  10200. procedure setCHTAIE; inline;
  10201. procedure setCHTAIF; inline;
  10202. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10203. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10204. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10205. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10206. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10207. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10208. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10209. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10210. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10211. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10212. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10213. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10214. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10215. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10216. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10217. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10218. property w : TBits_32 read getw write setw;
  10219. end;
  10220. type
  10221. TDMAC0Registers = record
  10222. DCH0CONbits : TDMAC0_DCH0CON;
  10223. DCH0CON : longWord;
  10224. DCH0CONCLR : longWord;
  10225. DCH0CONSET : longWord;
  10226. DCH0CONINV : longWord;
  10227. DCH0ECONbits : TDMAC0_DCH0ECON;
  10228. DCH0ECON : longWord;
  10229. DCH0ECONCLR : longWord;
  10230. DCH0ECONSET : longWord;
  10231. DCH0ECONINV : longWord;
  10232. DCH0INTbits : TDMAC0_DCH0INT;
  10233. DCH0INT : longWord;
  10234. DCH0INTCLR : longWord;
  10235. DCH0INTSET : longWord;
  10236. DCH0INTINV : longWord;
  10237. DCH0SSA : longWord;
  10238. DCH0SSACLR : longWord;
  10239. DCH0SSASET : longWord;
  10240. DCH0SSAINV : longWord;
  10241. DCH0DSA : longWord;
  10242. DCH0DSACLR : longWord;
  10243. DCH0DSASET : longWord;
  10244. DCH0DSAINV : longWord;
  10245. DCH0SSIZ : longWord;
  10246. DCH0SSIZCLR : longWord;
  10247. DCH0SSIZSET : longWord;
  10248. DCH0SSIZINV : longWord;
  10249. DCH0DSIZ : longWord;
  10250. DCH0DSIZCLR : longWord;
  10251. DCH0DSIZSET : longWord;
  10252. DCH0DSIZINV : longWord;
  10253. DCH0SPTR : longWord;
  10254. DCH0SPTRCLR : longWord;
  10255. DCH0SPTRSET : longWord;
  10256. DCH0SPTRINV : longWord;
  10257. DCH0DPTR : longWord;
  10258. DCH0DPTRCLR : longWord;
  10259. DCH0DPTRSET : longWord;
  10260. DCH0DPTRINV : longWord;
  10261. DCH0CSIZ : longWord;
  10262. DCH0CSIZCLR : longWord;
  10263. DCH0CSIZSET : longWord;
  10264. DCH0CSIZINV : longWord;
  10265. DCH0CPTR : longWord;
  10266. DCH0CPTRCLR : longWord;
  10267. DCH0CPTRSET : longWord;
  10268. DCH0CPTRINV : longWord;
  10269. DCH0DAT : longWord;
  10270. DCH0DATCLR : longWord;
  10271. DCH0DATSET : longWord;
  10272. DCH0DATINV : longWord;
  10273. end;
  10274. TDMAC1_DCH1CON = record
  10275. private
  10276. function getCHAED : TBits_1; inline;
  10277. function getCHAEN : TBits_1; inline;
  10278. function getCHBUSY : TBits_1; inline;
  10279. function getCHCHN : TBits_1; inline;
  10280. function getCHCHNS : TBits_1; inline;
  10281. function getCHEDET : TBits_1; inline;
  10282. function getCHEN : TBits_1; inline;
  10283. function getCHPRI : TBits_2; inline;
  10284. function getw : TBits_32; inline;
  10285. procedure setCHAED(thebits : TBits_1); inline;
  10286. procedure setCHAEN(thebits : TBits_1); inline;
  10287. procedure setCHBUSY(thebits : TBits_1); inline;
  10288. procedure setCHCHN(thebits : TBits_1); inline;
  10289. procedure setCHCHNS(thebits : TBits_1); inline;
  10290. procedure setCHEDET(thebits : TBits_1); inline;
  10291. procedure setCHEN(thebits : TBits_1); inline;
  10292. procedure setCHPRI(thebits : TBits_2); inline;
  10293. procedure setw(thebits : TBits_32); inline;
  10294. public
  10295. procedure clearCHAED; inline;
  10296. procedure clearCHAEN; inline;
  10297. procedure clearCHBUSY; inline;
  10298. procedure clearCHCHN; inline;
  10299. procedure clearCHCHNS; inline;
  10300. procedure clearCHEDET; inline;
  10301. procedure clearCHEN; inline;
  10302. procedure setCHAED; inline;
  10303. procedure setCHAEN; inline;
  10304. procedure setCHBUSY; inline;
  10305. procedure setCHCHN; inline;
  10306. procedure setCHCHNS; inline;
  10307. procedure setCHEDET; inline;
  10308. procedure setCHEN; inline;
  10309. property CHAED : TBits_1 read getCHAED write setCHAED;
  10310. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10311. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10312. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10313. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10314. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10315. property CHEN : TBits_1 read getCHEN write setCHEN;
  10316. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10317. property w : TBits_32 read getw write setw;
  10318. end;
  10319. TDMAC1_DCH1ECON = record
  10320. private
  10321. function getAIRQEN : TBits_1; inline;
  10322. function getCABORT : TBits_1; inline;
  10323. function getCFORCE : TBits_1; inline;
  10324. function getCHAIRQ : TBits_8; inline;
  10325. function getCHSIRQ : TBits_8; inline;
  10326. function getPATEN : TBits_1; inline;
  10327. function getSIRQEN : TBits_1; inline;
  10328. function getw : TBits_32; inline;
  10329. procedure setAIRQEN(thebits : TBits_1); inline;
  10330. procedure setCABORT(thebits : TBits_1); inline;
  10331. procedure setCFORCE(thebits : TBits_1); inline;
  10332. procedure setCHAIRQ(thebits : TBits_8); inline;
  10333. procedure setCHSIRQ(thebits : TBits_8); inline;
  10334. procedure setPATEN(thebits : TBits_1); inline;
  10335. procedure setSIRQEN(thebits : TBits_1); inline;
  10336. procedure setw(thebits : TBits_32); inline;
  10337. public
  10338. procedure clearAIRQEN; inline;
  10339. procedure clearCABORT; inline;
  10340. procedure clearCFORCE; inline;
  10341. procedure clearPATEN; inline;
  10342. procedure clearSIRQEN; inline;
  10343. procedure setAIRQEN; inline;
  10344. procedure setCABORT; inline;
  10345. procedure setCFORCE; inline;
  10346. procedure setPATEN; inline;
  10347. procedure setSIRQEN; inline;
  10348. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10349. property CABORT : TBits_1 read getCABORT write setCABORT;
  10350. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10351. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10352. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10353. property PATEN : TBits_1 read getPATEN write setPATEN;
  10354. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10355. property w : TBits_32 read getw write setw;
  10356. end;
  10357. TDMAC1_DCH1INT = record
  10358. private
  10359. function getCHBCIE : TBits_1; inline;
  10360. function getCHBCIF : TBits_1; inline;
  10361. function getCHCCIE : TBits_1; inline;
  10362. function getCHCCIF : TBits_1; inline;
  10363. function getCHDDIE : TBits_1; inline;
  10364. function getCHDDIF : TBits_1; inline;
  10365. function getCHDHIE : TBits_1; inline;
  10366. function getCHDHIF : TBits_1; inline;
  10367. function getCHERIE : TBits_1; inline;
  10368. function getCHERIF : TBits_1; inline;
  10369. function getCHSDIE : TBits_1; inline;
  10370. function getCHSDIF : TBits_1; inline;
  10371. function getCHSHIE : TBits_1; inline;
  10372. function getCHSHIF : TBits_1; inline;
  10373. function getCHTAIE : TBits_1; inline;
  10374. function getCHTAIF : TBits_1; inline;
  10375. function getw : TBits_32; inline;
  10376. procedure setCHBCIE(thebits : TBits_1); inline;
  10377. procedure setCHBCIF(thebits : TBits_1); inline;
  10378. procedure setCHCCIE(thebits : TBits_1); inline;
  10379. procedure setCHCCIF(thebits : TBits_1); inline;
  10380. procedure setCHDDIE(thebits : TBits_1); inline;
  10381. procedure setCHDDIF(thebits : TBits_1); inline;
  10382. procedure setCHDHIE(thebits : TBits_1); inline;
  10383. procedure setCHDHIF(thebits : TBits_1); inline;
  10384. procedure setCHERIE(thebits : TBits_1); inline;
  10385. procedure setCHERIF(thebits : TBits_1); inline;
  10386. procedure setCHSDIE(thebits : TBits_1); inline;
  10387. procedure setCHSDIF(thebits : TBits_1); inline;
  10388. procedure setCHSHIE(thebits : TBits_1); inline;
  10389. procedure setCHSHIF(thebits : TBits_1); inline;
  10390. procedure setCHTAIE(thebits : TBits_1); inline;
  10391. procedure setCHTAIF(thebits : TBits_1); inline;
  10392. procedure setw(thebits : TBits_32); inline;
  10393. public
  10394. procedure clearCHBCIE; inline;
  10395. procedure clearCHBCIF; inline;
  10396. procedure clearCHCCIE; inline;
  10397. procedure clearCHCCIF; inline;
  10398. procedure clearCHDDIE; inline;
  10399. procedure clearCHDDIF; inline;
  10400. procedure clearCHDHIE; inline;
  10401. procedure clearCHDHIF; inline;
  10402. procedure clearCHERIE; inline;
  10403. procedure clearCHERIF; inline;
  10404. procedure clearCHSDIE; inline;
  10405. procedure clearCHSDIF; inline;
  10406. procedure clearCHSHIE; inline;
  10407. procedure clearCHSHIF; inline;
  10408. procedure clearCHTAIE; inline;
  10409. procedure clearCHTAIF; inline;
  10410. procedure setCHBCIE; inline;
  10411. procedure setCHBCIF; inline;
  10412. procedure setCHCCIE; inline;
  10413. procedure setCHCCIF; inline;
  10414. procedure setCHDDIE; inline;
  10415. procedure setCHDDIF; inline;
  10416. procedure setCHDHIE; inline;
  10417. procedure setCHDHIF; inline;
  10418. procedure setCHERIE; inline;
  10419. procedure setCHERIF; inline;
  10420. procedure setCHSDIE; inline;
  10421. procedure setCHSDIF; inline;
  10422. procedure setCHSHIE; inline;
  10423. procedure setCHSHIF; inline;
  10424. procedure setCHTAIE; inline;
  10425. procedure setCHTAIF; inline;
  10426. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10427. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10428. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10429. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10430. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10431. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10432. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10433. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10434. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10435. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10436. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10437. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10438. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10439. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10440. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10441. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10442. property w : TBits_32 read getw write setw;
  10443. end;
  10444. type
  10445. TDMAC1Registers = record
  10446. DCH1CONbits : TDMAC1_DCH1CON;
  10447. DCH1CON : longWord;
  10448. DCH1CONCLR : longWord;
  10449. DCH1CONSET : longWord;
  10450. DCH1CONINV : longWord;
  10451. DCH1ECONbits : TDMAC1_DCH1ECON;
  10452. DCH1ECON : longWord;
  10453. DCH1ECONCLR : longWord;
  10454. DCH1ECONSET : longWord;
  10455. DCH1ECONINV : longWord;
  10456. DCH1INTbits : TDMAC1_DCH1INT;
  10457. DCH1INT : longWord;
  10458. DCH1INTCLR : longWord;
  10459. DCH1INTSET : longWord;
  10460. DCH1INTINV : longWord;
  10461. DCH1SSA : longWord;
  10462. DCH1SSACLR : longWord;
  10463. DCH1SSASET : longWord;
  10464. DCH1SSAINV : longWord;
  10465. DCH1DSA : longWord;
  10466. DCH1DSACLR : longWord;
  10467. DCH1DSASET : longWord;
  10468. DCH1DSAINV : longWord;
  10469. DCH1SSIZ : longWord;
  10470. DCH1SSIZCLR : longWord;
  10471. DCH1SSIZSET : longWord;
  10472. DCH1SSIZINV : longWord;
  10473. DCH1DSIZ : longWord;
  10474. DCH1DSIZCLR : longWord;
  10475. DCH1DSIZSET : longWord;
  10476. DCH1DSIZINV : longWord;
  10477. DCH1SPTR : longWord;
  10478. DCH1SPTRCLR : longWord;
  10479. DCH1SPTRSET : longWord;
  10480. DCH1SPTRINV : longWord;
  10481. DCH1DPTR : longWord;
  10482. DCH1DPTRCLR : longWord;
  10483. DCH1DPTRSET : longWord;
  10484. DCH1DPTRINV : longWord;
  10485. DCH1CSIZ : longWord;
  10486. DCH1CSIZCLR : longWord;
  10487. DCH1CSIZSET : longWord;
  10488. DCH1CSIZINV : longWord;
  10489. DCH1CPTR : longWord;
  10490. DCH1CPTRCLR : longWord;
  10491. DCH1CPTRSET : longWord;
  10492. DCH1CPTRINV : longWord;
  10493. DCH1DAT : longWord;
  10494. DCH1DATCLR : longWord;
  10495. DCH1DATSET : longWord;
  10496. DCH1DATINV : longWord;
  10497. end;
  10498. TDMAC2_DCH2CON = record
  10499. private
  10500. function getCHAED : TBits_1; inline;
  10501. function getCHAEN : TBits_1; inline;
  10502. function getCHBUSY : TBits_1; inline;
  10503. function getCHCHN : TBits_1; inline;
  10504. function getCHCHNS : TBits_1; inline;
  10505. function getCHEDET : TBits_1; inline;
  10506. function getCHEN : TBits_1; inline;
  10507. function getCHPRI : TBits_2; inline;
  10508. function getw : TBits_32; inline;
  10509. procedure setCHAED(thebits : TBits_1); inline;
  10510. procedure setCHAEN(thebits : TBits_1); inline;
  10511. procedure setCHBUSY(thebits : TBits_1); inline;
  10512. procedure setCHCHN(thebits : TBits_1); inline;
  10513. procedure setCHCHNS(thebits : TBits_1); inline;
  10514. procedure setCHEDET(thebits : TBits_1); inline;
  10515. procedure setCHEN(thebits : TBits_1); inline;
  10516. procedure setCHPRI(thebits : TBits_2); inline;
  10517. procedure setw(thebits : TBits_32); inline;
  10518. public
  10519. procedure clearCHAED; inline;
  10520. procedure clearCHAEN; inline;
  10521. procedure clearCHBUSY; inline;
  10522. procedure clearCHCHN; inline;
  10523. procedure clearCHCHNS; inline;
  10524. procedure clearCHEDET; inline;
  10525. procedure clearCHEN; inline;
  10526. procedure setCHAED; inline;
  10527. procedure setCHAEN; inline;
  10528. procedure setCHBUSY; inline;
  10529. procedure setCHCHN; inline;
  10530. procedure setCHCHNS; inline;
  10531. procedure setCHEDET; inline;
  10532. procedure setCHEN; inline;
  10533. property CHAED : TBits_1 read getCHAED write setCHAED;
  10534. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10535. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10536. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10537. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10538. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10539. property CHEN : TBits_1 read getCHEN write setCHEN;
  10540. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10541. property w : TBits_32 read getw write setw;
  10542. end;
  10543. TDMAC2_DCH2ECON = record
  10544. private
  10545. function getAIRQEN : TBits_1; inline;
  10546. function getCABORT : TBits_1; inline;
  10547. function getCFORCE : TBits_1; inline;
  10548. function getCHAIRQ : TBits_8; inline;
  10549. function getCHSIRQ : TBits_8; inline;
  10550. function getPATEN : TBits_1; inline;
  10551. function getSIRQEN : TBits_1; inline;
  10552. function getw : TBits_32; inline;
  10553. procedure setAIRQEN(thebits : TBits_1); inline;
  10554. procedure setCABORT(thebits : TBits_1); inline;
  10555. procedure setCFORCE(thebits : TBits_1); inline;
  10556. procedure setCHAIRQ(thebits : TBits_8); inline;
  10557. procedure setCHSIRQ(thebits : TBits_8); inline;
  10558. procedure setPATEN(thebits : TBits_1); inline;
  10559. procedure setSIRQEN(thebits : TBits_1); inline;
  10560. procedure setw(thebits : TBits_32); inline;
  10561. public
  10562. procedure clearAIRQEN; inline;
  10563. procedure clearCABORT; inline;
  10564. procedure clearCFORCE; inline;
  10565. procedure clearPATEN; inline;
  10566. procedure clearSIRQEN; inline;
  10567. procedure setAIRQEN; inline;
  10568. procedure setCABORT; inline;
  10569. procedure setCFORCE; inline;
  10570. procedure setPATEN; inline;
  10571. procedure setSIRQEN; inline;
  10572. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10573. property CABORT : TBits_1 read getCABORT write setCABORT;
  10574. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10575. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10576. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10577. property PATEN : TBits_1 read getPATEN write setPATEN;
  10578. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10579. property w : TBits_32 read getw write setw;
  10580. end;
  10581. TDMAC2_DCH2INT = record
  10582. private
  10583. function getCHBCIE : TBits_1; inline;
  10584. function getCHBCIF : TBits_1; inline;
  10585. function getCHCCIE : TBits_1; inline;
  10586. function getCHCCIF : TBits_1; inline;
  10587. function getCHDDIE : TBits_1; inline;
  10588. function getCHDDIF : TBits_1; inline;
  10589. function getCHDHIE : TBits_1; inline;
  10590. function getCHDHIF : TBits_1; inline;
  10591. function getCHERIE : TBits_1; inline;
  10592. function getCHERIF : TBits_1; inline;
  10593. function getCHSDIE : TBits_1; inline;
  10594. function getCHSDIF : TBits_1; inline;
  10595. function getCHSHIE : TBits_1; inline;
  10596. function getCHSHIF : TBits_1; inline;
  10597. function getCHTAIE : TBits_1; inline;
  10598. function getCHTAIF : TBits_1; inline;
  10599. function getw : TBits_32; inline;
  10600. procedure setCHBCIE(thebits : TBits_1); inline;
  10601. procedure setCHBCIF(thebits : TBits_1); inline;
  10602. procedure setCHCCIE(thebits : TBits_1); inline;
  10603. procedure setCHCCIF(thebits : TBits_1); inline;
  10604. procedure setCHDDIE(thebits : TBits_1); inline;
  10605. procedure setCHDDIF(thebits : TBits_1); inline;
  10606. procedure setCHDHIE(thebits : TBits_1); inline;
  10607. procedure setCHDHIF(thebits : TBits_1); inline;
  10608. procedure setCHERIE(thebits : TBits_1); inline;
  10609. procedure setCHERIF(thebits : TBits_1); inline;
  10610. procedure setCHSDIE(thebits : TBits_1); inline;
  10611. procedure setCHSDIF(thebits : TBits_1); inline;
  10612. procedure setCHSHIE(thebits : TBits_1); inline;
  10613. procedure setCHSHIF(thebits : TBits_1); inline;
  10614. procedure setCHTAIE(thebits : TBits_1); inline;
  10615. procedure setCHTAIF(thebits : TBits_1); inline;
  10616. procedure setw(thebits : TBits_32); inline;
  10617. public
  10618. procedure clearCHBCIE; inline;
  10619. procedure clearCHBCIF; inline;
  10620. procedure clearCHCCIE; inline;
  10621. procedure clearCHCCIF; inline;
  10622. procedure clearCHDDIE; inline;
  10623. procedure clearCHDDIF; inline;
  10624. procedure clearCHDHIE; inline;
  10625. procedure clearCHDHIF; inline;
  10626. procedure clearCHERIE; inline;
  10627. procedure clearCHERIF; inline;
  10628. procedure clearCHSDIE; inline;
  10629. procedure clearCHSDIF; inline;
  10630. procedure clearCHSHIE; inline;
  10631. procedure clearCHSHIF; inline;
  10632. procedure clearCHTAIE; inline;
  10633. procedure clearCHTAIF; inline;
  10634. procedure setCHBCIE; inline;
  10635. procedure setCHBCIF; inline;
  10636. procedure setCHCCIE; inline;
  10637. procedure setCHCCIF; inline;
  10638. procedure setCHDDIE; inline;
  10639. procedure setCHDDIF; inline;
  10640. procedure setCHDHIE; inline;
  10641. procedure setCHDHIF; inline;
  10642. procedure setCHERIE; inline;
  10643. procedure setCHERIF; inline;
  10644. procedure setCHSDIE; inline;
  10645. procedure setCHSDIF; inline;
  10646. procedure setCHSHIE; inline;
  10647. procedure setCHSHIF; inline;
  10648. procedure setCHTAIE; inline;
  10649. procedure setCHTAIF; inline;
  10650. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10651. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10652. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10653. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10654. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10655. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10656. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10657. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10658. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10659. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10660. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10661. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10662. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10663. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10664. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10665. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10666. property w : TBits_32 read getw write setw;
  10667. end;
  10668. type
  10669. TDMAC2Registers = record
  10670. DCH2CONbits : TDMAC2_DCH2CON;
  10671. DCH2CON : longWord;
  10672. DCH2CONCLR : longWord;
  10673. DCH2CONSET : longWord;
  10674. DCH2CONINV : longWord;
  10675. DCH2ECONbits : TDMAC2_DCH2ECON;
  10676. DCH2ECON : longWord;
  10677. DCH2ECONCLR : longWord;
  10678. DCH2ECONSET : longWord;
  10679. DCH2ECONINV : longWord;
  10680. DCH2INTbits : TDMAC2_DCH2INT;
  10681. DCH2INT : longWord;
  10682. DCH2INTCLR : longWord;
  10683. DCH2INTSET : longWord;
  10684. DCH2INTINV : longWord;
  10685. DCH2SSA : longWord;
  10686. DCH2SSACLR : longWord;
  10687. DCH2SSASET : longWord;
  10688. DCH2SSAINV : longWord;
  10689. DCH2DSA : longWord;
  10690. DCH2DSACLR : longWord;
  10691. DCH2DSASET : longWord;
  10692. DCH2DSAINV : longWord;
  10693. DCH2SSIZ : longWord;
  10694. DCH2SSIZCLR : longWord;
  10695. DCH2SSIZSET : longWord;
  10696. DCH2SSIZINV : longWord;
  10697. DCH2DSIZ : longWord;
  10698. DCH2DSIZCLR : longWord;
  10699. DCH2DSIZSET : longWord;
  10700. DCH2DSIZINV : longWord;
  10701. DCH2SPTR : longWord;
  10702. DCH2SPTRCLR : longWord;
  10703. DCH2SPTRSET : longWord;
  10704. DCH2SPTRINV : longWord;
  10705. DCH2DPTR : longWord;
  10706. DCH2DPTRCLR : longWord;
  10707. DCH2DPTRSET : longWord;
  10708. DCH2DPTRINV : longWord;
  10709. DCH2CSIZ : longWord;
  10710. DCH2CSIZCLR : longWord;
  10711. DCH2CSIZSET : longWord;
  10712. DCH2CSIZINV : longWord;
  10713. DCH2CPTR : longWord;
  10714. DCH2CPTRCLR : longWord;
  10715. DCH2CPTRSET : longWord;
  10716. DCH2CPTRINV : longWord;
  10717. DCH2DAT : longWord;
  10718. DCH2DATCLR : longWord;
  10719. DCH2DATSET : longWord;
  10720. DCH2DATINV : longWord;
  10721. end;
  10722. TDMAC3_DCH3CON = record
  10723. private
  10724. function getCHAED : TBits_1; inline;
  10725. function getCHAEN : TBits_1; inline;
  10726. function getCHBUSY : TBits_1; inline;
  10727. function getCHCHN : TBits_1; inline;
  10728. function getCHCHNS : TBits_1; inline;
  10729. function getCHEDET : TBits_1; inline;
  10730. function getCHEN : TBits_1; inline;
  10731. function getCHPRI : TBits_2; inline;
  10732. function getw : TBits_32; inline;
  10733. procedure setCHAED(thebits : TBits_1); inline;
  10734. procedure setCHAEN(thebits : TBits_1); inline;
  10735. procedure setCHBUSY(thebits : TBits_1); inline;
  10736. procedure setCHCHN(thebits : TBits_1); inline;
  10737. procedure setCHCHNS(thebits : TBits_1); inline;
  10738. procedure setCHEDET(thebits : TBits_1); inline;
  10739. procedure setCHEN(thebits : TBits_1); inline;
  10740. procedure setCHPRI(thebits : TBits_2); inline;
  10741. procedure setw(thebits : TBits_32); inline;
  10742. public
  10743. procedure clearCHAED; inline;
  10744. procedure clearCHAEN; inline;
  10745. procedure clearCHBUSY; inline;
  10746. procedure clearCHCHN; inline;
  10747. procedure clearCHCHNS; inline;
  10748. procedure clearCHEDET; inline;
  10749. procedure clearCHEN; inline;
  10750. procedure setCHAED; inline;
  10751. procedure setCHAEN; inline;
  10752. procedure setCHBUSY; inline;
  10753. procedure setCHCHN; inline;
  10754. procedure setCHCHNS; inline;
  10755. procedure setCHEDET; inline;
  10756. procedure setCHEN; inline;
  10757. property CHAED : TBits_1 read getCHAED write setCHAED;
  10758. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10759. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10760. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10761. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10762. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10763. property CHEN : TBits_1 read getCHEN write setCHEN;
  10764. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10765. property w : TBits_32 read getw write setw;
  10766. end;
  10767. TDMAC3_DCH3ECON = record
  10768. private
  10769. function getAIRQEN : TBits_1; inline;
  10770. function getCABORT : TBits_1; inline;
  10771. function getCFORCE : TBits_1; inline;
  10772. function getCHAIRQ : TBits_8; inline;
  10773. function getCHSIRQ : TBits_8; inline;
  10774. function getPATEN : TBits_1; inline;
  10775. function getSIRQEN : TBits_1; inline;
  10776. function getw : TBits_32; inline;
  10777. procedure setAIRQEN(thebits : TBits_1); inline;
  10778. procedure setCABORT(thebits : TBits_1); inline;
  10779. procedure setCFORCE(thebits : TBits_1); inline;
  10780. procedure setCHAIRQ(thebits : TBits_8); inline;
  10781. procedure setCHSIRQ(thebits : TBits_8); inline;
  10782. procedure setPATEN(thebits : TBits_1); inline;
  10783. procedure setSIRQEN(thebits : TBits_1); inline;
  10784. procedure setw(thebits : TBits_32); inline;
  10785. public
  10786. procedure clearAIRQEN; inline;
  10787. procedure clearCABORT; inline;
  10788. procedure clearCFORCE; inline;
  10789. procedure clearPATEN; inline;
  10790. procedure clearSIRQEN; inline;
  10791. procedure setAIRQEN; inline;
  10792. procedure setCABORT; inline;
  10793. procedure setCFORCE; inline;
  10794. procedure setPATEN; inline;
  10795. procedure setSIRQEN; inline;
  10796. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10797. property CABORT : TBits_1 read getCABORT write setCABORT;
  10798. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10799. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10800. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10801. property PATEN : TBits_1 read getPATEN write setPATEN;
  10802. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10803. property w : TBits_32 read getw write setw;
  10804. end;
  10805. TDMAC3_DCH3INT = record
  10806. private
  10807. function getCHBCIE : TBits_1; inline;
  10808. function getCHBCIF : TBits_1; inline;
  10809. function getCHCCIE : TBits_1; inline;
  10810. function getCHCCIF : TBits_1; inline;
  10811. function getCHDDIE : TBits_1; inline;
  10812. function getCHDDIF : TBits_1; inline;
  10813. function getCHDHIE : TBits_1; inline;
  10814. function getCHDHIF : TBits_1; inline;
  10815. function getCHERIE : TBits_1; inline;
  10816. function getCHERIF : TBits_1; inline;
  10817. function getCHSDIE : TBits_1; inline;
  10818. function getCHSDIF : TBits_1; inline;
  10819. function getCHSHIE : TBits_1; inline;
  10820. function getCHSHIF : TBits_1; inline;
  10821. function getCHTAIE : TBits_1; inline;
  10822. function getCHTAIF : TBits_1; inline;
  10823. function getw : TBits_32; inline;
  10824. procedure setCHBCIE(thebits : TBits_1); inline;
  10825. procedure setCHBCIF(thebits : TBits_1); inline;
  10826. procedure setCHCCIE(thebits : TBits_1); inline;
  10827. procedure setCHCCIF(thebits : TBits_1); inline;
  10828. procedure setCHDDIE(thebits : TBits_1); inline;
  10829. procedure setCHDDIF(thebits : TBits_1); inline;
  10830. procedure setCHDHIE(thebits : TBits_1); inline;
  10831. procedure setCHDHIF(thebits : TBits_1); inline;
  10832. procedure setCHERIE(thebits : TBits_1); inline;
  10833. procedure setCHERIF(thebits : TBits_1); inline;
  10834. procedure setCHSDIE(thebits : TBits_1); inline;
  10835. procedure setCHSDIF(thebits : TBits_1); inline;
  10836. procedure setCHSHIE(thebits : TBits_1); inline;
  10837. procedure setCHSHIF(thebits : TBits_1); inline;
  10838. procedure setCHTAIE(thebits : TBits_1); inline;
  10839. procedure setCHTAIF(thebits : TBits_1); inline;
  10840. procedure setw(thebits : TBits_32); inline;
  10841. public
  10842. procedure clearCHBCIE; inline;
  10843. procedure clearCHBCIF; inline;
  10844. procedure clearCHCCIE; inline;
  10845. procedure clearCHCCIF; inline;
  10846. procedure clearCHDDIE; inline;
  10847. procedure clearCHDDIF; inline;
  10848. procedure clearCHDHIE; inline;
  10849. procedure clearCHDHIF; inline;
  10850. procedure clearCHERIE; inline;
  10851. procedure clearCHERIF; inline;
  10852. procedure clearCHSDIE; inline;
  10853. procedure clearCHSDIF; inline;
  10854. procedure clearCHSHIE; inline;
  10855. procedure clearCHSHIF; inline;
  10856. procedure clearCHTAIE; inline;
  10857. procedure clearCHTAIF; inline;
  10858. procedure setCHBCIE; inline;
  10859. procedure setCHBCIF; inline;
  10860. procedure setCHCCIE; inline;
  10861. procedure setCHCCIF; inline;
  10862. procedure setCHDDIE; inline;
  10863. procedure setCHDDIF; inline;
  10864. procedure setCHDHIE; inline;
  10865. procedure setCHDHIF; inline;
  10866. procedure setCHERIE; inline;
  10867. procedure setCHERIF; inline;
  10868. procedure setCHSDIE; inline;
  10869. procedure setCHSDIF; inline;
  10870. procedure setCHSHIE; inline;
  10871. procedure setCHSHIF; inline;
  10872. procedure setCHTAIE; inline;
  10873. procedure setCHTAIF; inline;
  10874. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10875. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10876. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10877. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10878. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10879. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10880. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10881. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10882. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10883. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10884. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10885. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10886. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10887. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10888. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10889. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10890. property w : TBits_32 read getw write setw;
  10891. end;
  10892. type
  10893. TDMAC3Registers = record
  10894. DCH3CONbits : TDMAC3_DCH3CON;
  10895. DCH3CON : longWord;
  10896. DCH3CONCLR : longWord;
  10897. DCH3CONSET : longWord;
  10898. DCH3CONINV : longWord;
  10899. DCH3ECONbits : TDMAC3_DCH3ECON;
  10900. DCH3ECON : longWord;
  10901. DCH3ECONCLR : longWord;
  10902. DCH3ECONSET : longWord;
  10903. DCH3ECONINV : longWord;
  10904. DCH3INTbits : TDMAC3_DCH3INT;
  10905. DCH3INT : longWord;
  10906. DCH3INTCLR : longWord;
  10907. DCH3INTSET : longWord;
  10908. DCH3INTINV : longWord;
  10909. DCH3SSA : longWord;
  10910. DCH3SSACLR : longWord;
  10911. DCH3SSASET : longWord;
  10912. DCH3SSAINV : longWord;
  10913. DCH3DSA : longWord;
  10914. DCH3DSACLR : longWord;
  10915. DCH3DSASET : longWord;
  10916. DCH3DSAINV : longWord;
  10917. DCH3SSIZ : longWord;
  10918. DCH3SSIZCLR : longWord;
  10919. DCH3SSIZSET : longWord;
  10920. DCH3SSIZINV : longWord;
  10921. DCH3DSIZ : longWord;
  10922. DCH3DSIZCLR : longWord;
  10923. DCH3DSIZSET : longWord;
  10924. DCH3DSIZINV : longWord;
  10925. DCH3SPTR : longWord;
  10926. DCH3SPTRCLR : longWord;
  10927. DCH3SPTRSET : longWord;
  10928. DCH3SPTRINV : longWord;
  10929. DCH3DPTR : longWord;
  10930. DCH3DPTRCLR : longWord;
  10931. DCH3DPTRSET : longWord;
  10932. DCH3DPTRINV : longWord;
  10933. DCH3CSIZ : longWord;
  10934. DCH3CSIZCLR : longWord;
  10935. DCH3CSIZSET : longWord;
  10936. DCH3CSIZINV : longWord;
  10937. DCH3CPTR : longWord;
  10938. DCH3CPTRCLR : longWord;
  10939. DCH3CPTRSET : longWord;
  10940. DCH3CPTRINV : longWord;
  10941. DCH3DAT : longWord;
  10942. DCH3DATCLR : longWord;
  10943. DCH3DATSET : longWord;
  10944. DCH3DATINV : longWord;
  10945. end;
  10946. TDMAC4_DCH4CON = record
  10947. private
  10948. function getCHAED : TBits_1; inline;
  10949. function getCHAEN : TBits_1; inline;
  10950. function getCHBUSY : TBits_1; inline;
  10951. function getCHCHN : TBits_1; inline;
  10952. function getCHCHNS : TBits_1; inline;
  10953. function getCHEDET : TBits_1; inline;
  10954. function getCHEN : TBits_1; inline;
  10955. function getCHPRI : TBits_2; inline;
  10956. function getw : TBits_32; inline;
  10957. procedure setCHAED(thebits : TBits_1); inline;
  10958. procedure setCHAEN(thebits : TBits_1); inline;
  10959. procedure setCHBUSY(thebits : TBits_1); inline;
  10960. procedure setCHCHN(thebits : TBits_1); inline;
  10961. procedure setCHCHNS(thebits : TBits_1); inline;
  10962. procedure setCHEDET(thebits : TBits_1); inline;
  10963. procedure setCHEN(thebits : TBits_1); inline;
  10964. procedure setCHPRI(thebits : TBits_2); inline;
  10965. procedure setw(thebits : TBits_32); inline;
  10966. public
  10967. procedure clearCHAED; inline;
  10968. procedure clearCHAEN; inline;
  10969. procedure clearCHBUSY; inline;
  10970. procedure clearCHCHN; inline;
  10971. procedure clearCHCHNS; inline;
  10972. procedure clearCHEDET; inline;
  10973. procedure clearCHEN; inline;
  10974. procedure setCHAED; inline;
  10975. procedure setCHAEN; inline;
  10976. procedure setCHBUSY; inline;
  10977. procedure setCHCHN; inline;
  10978. procedure setCHCHNS; inline;
  10979. procedure setCHEDET; inline;
  10980. procedure setCHEN; inline;
  10981. property CHAED : TBits_1 read getCHAED write setCHAED;
  10982. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10983. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10984. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10985. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10986. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10987. property CHEN : TBits_1 read getCHEN write setCHEN;
  10988. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10989. property w : TBits_32 read getw write setw;
  10990. end;
  10991. TDMAC4_DCH4ECON = record
  10992. private
  10993. function getAIRQEN : TBits_1; inline;
  10994. function getCABORT : TBits_1; inline;
  10995. function getCFORCE : TBits_1; inline;
  10996. function getCHAIRQ : TBits_8; inline;
  10997. function getCHSIRQ : TBits_8; inline;
  10998. function getPATEN : TBits_1; inline;
  10999. function getSIRQEN : TBits_1; inline;
  11000. function getw : TBits_32; inline;
  11001. procedure setAIRQEN(thebits : TBits_1); inline;
  11002. procedure setCABORT(thebits : TBits_1); inline;
  11003. procedure setCFORCE(thebits : TBits_1); inline;
  11004. procedure setCHAIRQ(thebits : TBits_8); inline;
  11005. procedure setCHSIRQ(thebits : TBits_8); inline;
  11006. procedure setPATEN(thebits : TBits_1); inline;
  11007. procedure setSIRQEN(thebits : TBits_1); inline;
  11008. procedure setw(thebits : TBits_32); inline;
  11009. public
  11010. procedure clearAIRQEN; inline;
  11011. procedure clearCABORT; inline;
  11012. procedure clearCFORCE; inline;
  11013. procedure clearPATEN; inline;
  11014. procedure clearSIRQEN; inline;
  11015. procedure setAIRQEN; inline;
  11016. procedure setCABORT; inline;
  11017. procedure setCFORCE; inline;
  11018. procedure setPATEN; inline;
  11019. procedure setSIRQEN; inline;
  11020. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11021. property CABORT : TBits_1 read getCABORT write setCABORT;
  11022. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11023. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11024. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11025. property PATEN : TBits_1 read getPATEN write setPATEN;
  11026. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11027. property w : TBits_32 read getw write setw;
  11028. end;
  11029. TDMAC4_DCH4INT = record
  11030. private
  11031. function getCHBCIE : TBits_1; inline;
  11032. function getCHBCIF : TBits_1; inline;
  11033. function getCHCCIE : TBits_1; inline;
  11034. function getCHCCIF : TBits_1; inline;
  11035. function getCHDDIE : TBits_1; inline;
  11036. function getCHDDIF : TBits_1; inline;
  11037. function getCHDHIE : TBits_1; inline;
  11038. function getCHDHIF : TBits_1; inline;
  11039. function getCHERIE : TBits_1; inline;
  11040. function getCHERIF : TBits_1; inline;
  11041. function getCHSDIE : TBits_1; inline;
  11042. function getCHSDIF : TBits_1; inline;
  11043. function getCHSHIE : TBits_1; inline;
  11044. function getCHSHIF : TBits_1; inline;
  11045. function getCHTAIE : TBits_1; inline;
  11046. function getCHTAIF : TBits_1; inline;
  11047. function getw : TBits_32; inline;
  11048. procedure setCHBCIE(thebits : TBits_1); inline;
  11049. procedure setCHBCIF(thebits : TBits_1); inline;
  11050. procedure setCHCCIE(thebits : TBits_1); inline;
  11051. procedure setCHCCIF(thebits : TBits_1); inline;
  11052. procedure setCHDDIE(thebits : TBits_1); inline;
  11053. procedure setCHDDIF(thebits : TBits_1); inline;
  11054. procedure setCHDHIE(thebits : TBits_1); inline;
  11055. procedure setCHDHIF(thebits : TBits_1); inline;
  11056. procedure setCHERIE(thebits : TBits_1); inline;
  11057. procedure setCHERIF(thebits : TBits_1); inline;
  11058. procedure setCHSDIE(thebits : TBits_1); inline;
  11059. procedure setCHSDIF(thebits : TBits_1); inline;
  11060. procedure setCHSHIE(thebits : TBits_1); inline;
  11061. procedure setCHSHIF(thebits : TBits_1); inline;
  11062. procedure setCHTAIE(thebits : TBits_1); inline;
  11063. procedure setCHTAIF(thebits : TBits_1); inline;
  11064. procedure setw(thebits : TBits_32); inline;
  11065. public
  11066. procedure clearCHBCIE; inline;
  11067. procedure clearCHBCIF; inline;
  11068. procedure clearCHCCIE; inline;
  11069. procedure clearCHCCIF; inline;
  11070. procedure clearCHDDIE; inline;
  11071. procedure clearCHDDIF; inline;
  11072. procedure clearCHDHIE; inline;
  11073. procedure clearCHDHIF; inline;
  11074. procedure clearCHERIE; inline;
  11075. procedure clearCHERIF; inline;
  11076. procedure clearCHSDIE; inline;
  11077. procedure clearCHSDIF; inline;
  11078. procedure clearCHSHIE; inline;
  11079. procedure clearCHSHIF; inline;
  11080. procedure clearCHTAIE; inline;
  11081. procedure clearCHTAIF; inline;
  11082. procedure setCHBCIE; inline;
  11083. procedure setCHBCIF; inline;
  11084. procedure setCHCCIE; inline;
  11085. procedure setCHCCIF; inline;
  11086. procedure setCHDDIE; inline;
  11087. procedure setCHDDIF; inline;
  11088. procedure setCHDHIE; inline;
  11089. procedure setCHDHIF; inline;
  11090. procedure setCHERIE; inline;
  11091. procedure setCHERIF; inline;
  11092. procedure setCHSDIE; inline;
  11093. procedure setCHSDIF; inline;
  11094. procedure setCHSHIE; inline;
  11095. procedure setCHSHIF; inline;
  11096. procedure setCHTAIE; inline;
  11097. procedure setCHTAIF; inline;
  11098. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11099. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11100. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11101. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11102. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11103. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11104. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11105. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11106. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11107. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11108. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11109. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11110. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11111. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11112. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11113. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11114. property w : TBits_32 read getw write setw;
  11115. end;
  11116. type
  11117. TDMAC4Registers = record
  11118. DCH4CONbits : TDMAC4_DCH4CON;
  11119. DCH4CON : longWord;
  11120. DCH4CONCLR : longWord;
  11121. DCH4CONSET : longWord;
  11122. DCH4CONINV : longWord;
  11123. DCH4ECONbits : TDMAC4_DCH4ECON;
  11124. DCH4ECON : longWord;
  11125. DCH4ECONCLR : longWord;
  11126. DCH4ECONSET : longWord;
  11127. DCH4ECONINV : longWord;
  11128. DCH4INTbits : TDMAC4_DCH4INT;
  11129. DCH4INT : longWord;
  11130. DCH4INTCLR : longWord;
  11131. DCH4INTSET : longWord;
  11132. DCH4INTINV : longWord;
  11133. DCH4SSA : longWord;
  11134. DCH4SSACLR : longWord;
  11135. DCH4SSASET : longWord;
  11136. DCH4SSAINV : longWord;
  11137. DCH4DSA : longWord;
  11138. DCH4DSACLR : longWord;
  11139. DCH4DSASET : longWord;
  11140. DCH4DSAINV : longWord;
  11141. DCH4SSIZ : longWord;
  11142. DCH4SSIZCLR : longWord;
  11143. DCH4SSIZSET : longWord;
  11144. DCH4SSIZINV : longWord;
  11145. DCH4DSIZ : longWord;
  11146. DCH4DSIZCLR : longWord;
  11147. DCH4DSIZSET : longWord;
  11148. DCH4DSIZINV : longWord;
  11149. DCH4SPTR : longWord;
  11150. DCH4SPTRCLR : longWord;
  11151. DCH4SPTRSET : longWord;
  11152. DCH4SPTRINV : longWord;
  11153. DCH4DPTR : longWord;
  11154. DCH4DPTRCLR : longWord;
  11155. DCH4DPTRSET : longWord;
  11156. DCH4DPTRINV : longWord;
  11157. DCH4CSIZ : longWord;
  11158. DCH4CSIZCLR : longWord;
  11159. DCH4CSIZSET : longWord;
  11160. DCH4CSIZINV : longWord;
  11161. DCH4CPTR : longWord;
  11162. DCH4CPTRCLR : longWord;
  11163. DCH4CPTRSET : longWord;
  11164. DCH4CPTRINV : longWord;
  11165. DCH4DAT : longWord;
  11166. DCH4DATCLR : longWord;
  11167. DCH4DATSET : longWord;
  11168. DCH4DATINV : longWord;
  11169. end;
  11170. TDMAC5_DCH5CON = record
  11171. private
  11172. function getCHAED : TBits_1; inline;
  11173. function getCHAEN : TBits_1; inline;
  11174. function getCHBUSY : TBits_1; inline;
  11175. function getCHCHN : TBits_1; inline;
  11176. function getCHCHNS : TBits_1; inline;
  11177. function getCHEDET : TBits_1; inline;
  11178. function getCHEN : TBits_1; inline;
  11179. function getCHPRI : TBits_2; inline;
  11180. function getw : TBits_32; inline;
  11181. procedure setCHAED(thebits : TBits_1); inline;
  11182. procedure setCHAEN(thebits : TBits_1); inline;
  11183. procedure setCHBUSY(thebits : TBits_1); inline;
  11184. procedure setCHCHN(thebits : TBits_1); inline;
  11185. procedure setCHCHNS(thebits : TBits_1); inline;
  11186. procedure setCHEDET(thebits : TBits_1); inline;
  11187. procedure setCHEN(thebits : TBits_1); inline;
  11188. procedure setCHPRI(thebits : TBits_2); inline;
  11189. procedure setw(thebits : TBits_32); inline;
  11190. public
  11191. procedure clearCHAED; inline;
  11192. procedure clearCHAEN; inline;
  11193. procedure clearCHBUSY; inline;
  11194. procedure clearCHCHN; inline;
  11195. procedure clearCHCHNS; inline;
  11196. procedure clearCHEDET; inline;
  11197. procedure clearCHEN; inline;
  11198. procedure setCHAED; inline;
  11199. procedure setCHAEN; inline;
  11200. procedure setCHBUSY; inline;
  11201. procedure setCHCHN; inline;
  11202. procedure setCHCHNS; inline;
  11203. procedure setCHEDET; inline;
  11204. procedure setCHEN; inline;
  11205. property CHAED : TBits_1 read getCHAED write setCHAED;
  11206. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11207. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11208. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11209. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11210. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11211. property CHEN : TBits_1 read getCHEN write setCHEN;
  11212. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11213. property w : TBits_32 read getw write setw;
  11214. end;
  11215. TDMAC5_DCH5ECON = record
  11216. private
  11217. function getAIRQEN : TBits_1; inline;
  11218. function getCABORT : TBits_1; inline;
  11219. function getCFORCE : TBits_1; inline;
  11220. function getCHAIRQ : TBits_8; inline;
  11221. function getCHSIRQ : TBits_8; inline;
  11222. function getPATEN : TBits_1; inline;
  11223. function getSIRQEN : TBits_1; inline;
  11224. function getw : TBits_32; inline;
  11225. procedure setAIRQEN(thebits : TBits_1); inline;
  11226. procedure setCABORT(thebits : TBits_1); inline;
  11227. procedure setCFORCE(thebits : TBits_1); inline;
  11228. procedure setCHAIRQ(thebits : TBits_8); inline;
  11229. procedure setCHSIRQ(thebits : TBits_8); inline;
  11230. procedure setPATEN(thebits : TBits_1); inline;
  11231. procedure setSIRQEN(thebits : TBits_1); inline;
  11232. procedure setw(thebits : TBits_32); inline;
  11233. public
  11234. procedure clearAIRQEN; inline;
  11235. procedure clearCABORT; inline;
  11236. procedure clearCFORCE; inline;
  11237. procedure clearPATEN; inline;
  11238. procedure clearSIRQEN; inline;
  11239. procedure setAIRQEN; inline;
  11240. procedure setCABORT; inline;
  11241. procedure setCFORCE; inline;
  11242. procedure setPATEN; inline;
  11243. procedure setSIRQEN; inline;
  11244. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11245. property CABORT : TBits_1 read getCABORT write setCABORT;
  11246. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11247. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11248. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11249. property PATEN : TBits_1 read getPATEN write setPATEN;
  11250. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11251. property w : TBits_32 read getw write setw;
  11252. end;
  11253. TDMAC5_DCH5INT = record
  11254. private
  11255. function getCHBCIE : TBits_1; inline;
  11256. function getCHBCIF : TBits_1; inline;
  11257. function getCHCCIE : TBits_1; inline;
  11258. function getCHCCIF : TBits_1; inline;
  11259. function getCHDDIE : TBits_1; inline;
  11260. function getCHDDIF : TBits_1; inline;
  11261. function getCHDHIE : TBits_1; inline;
  11262. function getCHDHIF : TBits_1; inline;
  11263. function getCHERIE : TBits_1; inline;
  11264. function getCHERIF : TBits_1; inline;
  11265. function getCHSDIE : TBits_1; inline;
  11266. function getCHSDIF : TBits_1; inline;
  11267. function getCHSHIE : TBits_1; inline;
  11268. function getCHSHIF : TBits_1; inline;
  11269. function getCHTAIE : TBits_1; inline;
  11270. function getCHTAIF : TBits_1; inline;
  11271. function getw : TBits_32; inline;
  11272. procedure setCHBCIE(thebits : TBits_1); inline;
  11273. procedure setCHBCIF(thebits : TBits_1); inline;
  11274. procedure setCHCCIE(thebits : TBits_1); inline;
  11275. procedure setCHCCIF(thebits : TBits_1); inline;
  11276. procedure setCHDDIE(thebits : TBits_1); inline;
  11277. procedure setCHDDIF(thebits : TBits_1); inline;
  11278. procedure setCHDHIE(thebits : TBits_1); inline;
  11279. procedure setCHDHIF(thebits : TBits_1); inline;
  11280. procedure setCHERIE(thebits : TBits_1); inline;
  11281. procedure setCHERIF(thebits : TBits_1); inline;
  11282. procedure setCHSDIE(thebits : TBits_1); inline;
  11283. procedure setCHSDIF(thebits : TBits_1); inline;
  11284. procedure setCHSHIE(thebits : TBits_1); inline;
  11285. procedure setCHSHIF(thebits : TBits_1); inline;
  11286. procedure setCHTAIE(thebits : TBits_1); inline;
  11287. procedure setCHTAIF(thebits : TBits_1); inline;
  11288. procedure setw(thebits : TBits_32); inline;
  11289. public
  11290. procedure clearCHBCIE; inline;
  11291. procedure clearCHBCIF; inline;
  11292. procedure clearCHCCIE; inline;
  11293. procedure clearCHCCIF; inline;
  11294. procedure clearCHDDIE; inline;
  11295. procedure clearCHDDIF; inline;
  11296. procedure clearCHDHIE; inline;
  11297. procedure clearCHDHIF; inline;
  11298. procedure clearCHERIE; inline;
  11299. procedure clearCHERIF; inline;
  11300. procedure clearCHSDIE; inline;
  11301. procedure clearCHSDIF; inline;
  11302. procedure clearCHSHIE; inline;
  11303. procedure clearCHSHIF; inline;
  11304. procedure clearCHTAIE; inline;
  11305. procedure clearCHTAIF; inline;
  11306. procedure setCHBCIE; inline;
  11307. procedure setCHBCIF; inline;
  11308. procedure setCHCCIE; inline;
  11309. procedure setCHCCIF; inline;
  11310. procedure setCHDDIE; inline;
  11311. procedure setCHDDIF; inline;
  11312. procedure setCHDHIE; inline;
  11313. procedure setCHDHIF; inline;
  11314. procedure setCHERIE; inline;
  11315. procedure setCHERIF; inline;
  11316. procedure setCHSDIE; inline;
  11317. procedure setCHSDIF; inline;
  11318. procedure setCHSHIE; inline;
  11319. procedure setCHSHIF; inline;
  11320. procedure setCHTAIE; inline;
  11321. procedure setCHTAIF; inline;
  11322. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11323. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11324. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11325. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11326. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11327. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11328. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11329. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11330. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11331. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11332. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11333. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11334. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11335. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11336. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11337. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11338. property w : TBits_32 read getw write setw;
  11339. end;
  11340. type
  11341. TDMAC5Registers = record
  11342. DCH5CONbits : TDMAC5_DCH5CON;
  11343. DCH5CON : longWord;
  11344. DCH5CONCLR : longWord;
  11345. DCH5CONSET : longWord;
  11346. DCH5CONINV : longWord;
  11347. DCH5ECONbits : TDMAC5_DCH5ECON;
  11348. DCH5ECON : longWord;
  11349. DCH5ECONCLR : longWord;
  11350. DCH5ECONSET : longWord;
  11351. DCH5ECONINV : longWord;
  11352. DCH5INTbits : TDMAC5_DCH5INT;
  11353. DCH5INT : longWord;
  11354. DCH5INTCLR : longWord;
  11355. DCH5INTSET : longWord;
  11356. DCH5INTINV : longWord;
  11357. DCH5SSA : longWord;
  11358. DCH5SSACLR : longWord;
  11359. DCH5SSASET : longWord;
  11360. DCH5SSAINV : longWord;
  11361. DCH5DSA : longWord;
  11362. DCH5DSACLR : longWord;
  11363. DCH5DSASET : longWord;
  11364. DCH5DSAINV : longWord;
  11365. DCH5SSIZ : longWord;
  11366. DCH5SSIZCLR : longWord;
  11367. DCH5SSIZSET : longWord;
  11368. DCH5SSIZINV : longWord;
  11369. DCH5DSIZ : longWord;
  11370. DCH5DSIZCLR : longWord;
  11371. DCH5DSIZSET : longWord;
  11372. DCH5DSIZINV : longWord;
  11373. DCH5SPTR : longWord;
  11374. DCH5SPTRCLR : longWord;
  11375. DCH5SPTRSET : longWord;
  11376. DCH5SPTRINV : longWord;
  11377. DCH5DPTR : longWord;
  11378. DCH5DPTRCLR : longWord;
  11379. DCH5DPTRSET : longWord;
  11380. DCH5DPTRINV : longWord;
  11381. DCH5CSIZ : longWord;
  11382. DCH5CSIZCLR : longWord;
  11383. DCH5CSIZSET : longWord;
  11384. DCH5CSIZINV : longWord;
  11385. DCH5CPTR : longWord;
  11386. DCH5CPTRCLR : longWord;
  11387. DCH5CPTRSET : longWord;
  11388. DCH5CPTRINV : longWord;
  11389. DCH5DAT : longWord;
  11390. DCH5DATCLR : longWord;
  11391. DCH5DATSET : longWord;
  11392. DCH5DATINV : longWord;
  11393. end;
  11394. TDMAC6_DCH6CON = record
  11395. private
  11396. function getCHAED : TBits_1; inline;
  11397. function getCHAEN : TBits_1; inline;
  11398. function getCHBUSY : TBits_1; inline;
  11399. function getCHCHN : TBits_1; inline;
  11400. function getCHCHNS : TBits_1; inline;
  11401. function getCHEDET : TBits_1; inline;
  11402. function getCHEN : TBits_1; inline;
  11403. function getCHPRI : TBits_2; inline;
  11404. function getw : TBits_32; inline;
  11405. procedure setCHAED(thebits : TBits_1); inline;
  11406. procedure setCHAEN(thebits : TBits_1); inline;
  11407. procedure setCHBUSY(thebits : TBits_1); inline;
  11408. procedure setCHCHN(thebits : TBits_1); inline;
  11409. procedure setCHCHNS(thebits : TBits_1); inline;
  11410. procedure setCHEDET(thebits : TBits_1); inline;
  11411. procedure setCHEN(thebits : TBits_1); inline;
  11412. procedure setCHPRI(thebits : TBits_2); inline;
  11413. procedure setw(thebits : TBits_32); inline;
  11414. public
  11415. procedure clearCHAED; inline;
  11416. procedure clearCHAEN; inline;
  11417. procedure clearCHBUSY; inline;
  11418. procedure clearCHCHN; inline;
  11419. procedure clearCHCHNS; inline;
  11420. procedure clearCHEDET; inline;
  11421. procedure clearCHEN; inline;
  11422. procedure setCHAED; inline;
  11423. procedure setCHAEN; inline;
  11424. procedure setCHBUSY; inline;
  11425. procedure setCHCHN; inline;
  11426. procedure setCHCHNS; inline;
  11427. procedure setCHEDET; inline;
  11428. procedure setCHEN; inline;
  11429. property CHAED : TBits_1 read getCHAED write setCHAED;
  11430. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11431. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11432. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11433. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11434. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11435. property CHEN : TBits_1 read getCHEN write setCHEN;
  11436. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11437. property w : TBits_32 read getw write setw;
  11438. end;
  11439. TDMAC6_DCH6ECON = record
  11440. private
  11441. function getAIRQEN : TBits_1; inline;
  11442. function getCABORT : TBits_1; inline;
  11443. function getCFORCE : TBits_1; inline;
  11444. function getCHAIRQ : TBits_8; inline;
  11445. function getCHSIRQ : TBits_8; inline;
  11446. function getPATEN : TBits_1; inline;
  11447. function getSIRQEN : TBits_1; inline;
  11448. function getw : TBits_32; inline;
  11449. procedure setAIRQEN(thebits : TBits_1); inline;
  11450. procedure setCABORT(thebits : TBits_1); inline;
  11451. procedure setCFORCE(thebits : TBits_1); inline;
  11452. procedure setCHAIRQ(thebits : TBits_8); inline;
  11453. procedure setCHSIRQ(thebits : TBits_8); inline;
  11454. procedure setPATEN(thebits : TBits_1); inline;
  11455. procedure setSIRQEN(thebits : TBits_1); inline;
  11456. procedure setw(thebits : TBits_32); inline;
  11457. public
  11458. procedure clearAIRQEN; inline;
  11459. procedure clearCABORT; inline;
  11460. procedure clearCFORCE; inline;
  11461. procedure clearPATEN; inline;
  11462. procedure clearSIRQEN; inline;
  11463. procedure setAIRQEN; inline;
  11464. procedure setCABORT; inline;
  11465. procedure setCFORCE; inline;
  11466. procedure setPATEN; inline;
  11467. procedure setSIRQEN; inline;
  11468. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11469. property CABORT : TBits_1 read getCABORT write setCABORT;
  11470. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11471. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11472. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11473. property PATEN : TBits_1 read getPATEN write setPATEN;
  11474. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11475. property w : TBits_32 read getw write setw;
  11476. end;
  11477. TDMAC6_DCH6INT = record
  11478. private
  11479. function getCHBCIE : TBits_1; inline;
  11480. function getCHBCIF : TBits_1; inline;
  11481. function getCHCCIE : TBits_1; inline;
  11482. function getCHCCIF : TBits_1; inline;
  11483. function getCHDDIE : TBits_1; inline;
  11484. function getCHDDIF : TBits_1; inline;
  11485. function getCHDHIE : TBits_1; inline;
  11486. function getCHDHIF : TBits_1; inline;
  11487. function getCHERIE : TBits_1; inline;
  11488. function getCHERIF : TBits_1; inline;
  11489. function getCHSDIE : TBits_1; inline;
  11490. function getCHSDIF : TBits_1; inline;
  11491. function getCHSHIE : TBits_1; inline;
  11492. function getCHSHIF : TBits_1; inline;
  11493. function getCHTAIE : TBits_1; inline;
  11494. function getCHTAIF : TBits_1; inline;
  11495. function getw : TBits_32; inline;
  11496. procedure setCHBCIE(thebits : TBits_1); inline;
  11497. procedure setCHBCIF(thebits : TBits_1); inline;
  11498. procedure setCHCCIE(thebits : TBits_1); inline;
  11499. procedure setCHCCIF(thebits : TBits_1); inline;
  11500. procedure setCHDDIE(thebits : TBits_1); inline;
  11501. procedure setCHDDIF(thebits : TBits_1); inline;
  11502. procedure setCHDHIE(thebits : TBits_1); inline;
  11503. procedure setCHDHIF(thebits : TBits_1); inline;
  11504. procedure setCHERIE(thebits : TBits_1); inline;
  11505. procedure setCHERIF(thebits : TBits_1); inline;
  11506. procedure setCHSDIE(thebits : TBits_1); inline;
  11507. procedure setCHSDIF(thebits : TBits_1); inline;
  11508. procedure setCHSHIE(thebits : TBits_1); inline;
  11509. procedure setCHSHIF(thebits : TBits_1); inline;
  11510. procedure setCHTAIE(thebits : TBits_1); inline;
  11511. procedure setCHTAIF(thebits : TBits_1); inline;
  11512. procedure setw(thebits : TBits_32); inline;
  11513. public
  11514. procedure clearCHBCIE; inline;
  11515. procedure clearCHBCIF; inline;
  11516. procedure clearCHCCIE; inline;
  11517. procedure clearCHCCIF; inline;
  11518. procedure clearCHDDIE; inline;
  11519. procedure clearCHDDIF; inline;
  11520. procedure clearCHDHIE; inline;
  11521. procedure clearCHDHIF; inline;
  11522. procedure clearCHERIE; inline;
  11523. procedure clearCHERIF; inline;
  11524. procedure clearCHSDIE; inline;
  11525. procedure clearCHSDIF; inline;
  11526. procedure clearCHSHIE; inline;
  11527. procedure clearCHSHIF; inline;
  11528. procedure clearCHTAIE; inline;
  11529. procedure clearCHTAIF; inline;
  11530. procedure setCHBCIE; inline;
  11531. procedure setCHBCIF; inline;
  11532. procedure setCHCCIE; inline;
  11533. procedure setCHCCIF; inline;
  11534. procedure setCHDDIE; inline;
  11535. procedure setCHDDIF; inline;
  11536. procedure setCHDHIE; inline;
  11537. procedure setCHDHIF; inline;
  11538. procedure setCHERIE; inline;
  11539. procedure setCHERIF; inline;
  11540. procedure setCHSDIE; inline;
  11541. procedure setCHSDIF; inline;
  11542. procedure setCHSHIE; inline;
  11543. procedure setCHSHIF; inline;
  11544. procedure setCHTAIE; inline;
  11545. procedure setCHTAIF; inline;
  11546. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11547. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11548. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11549. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11550. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11551. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11552. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11553. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11554. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11555. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11556. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11557. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11558. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11559. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11560. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11561. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11562. property w : TBits_32 read getw write setw;
  11563. end;
  11564. type
  11565. TDMAC6Registers = record
  11566. DCH6CONbits : TDMAC6_DCH6CON;
  11567. DCH6CON : longWord;
  11568. DCH6CONCLR : longWord;
  11569. DCH6CONSET : longWord;
  11570. DCH6CONINV : longWord;
  11571. DCH6ECONbits : TDMAC6_DCH6ECON;
  11572. DCH6ECON : longWord;
  11573. DCH6ECONCLR : longWord;
  11574. DCH6ECONSET : longWord;
  11575. DCH6ECONINV : longWord;
  11576. DCH6INTbits : TDMAC6_DCH6INT;
  11577. DCH6INT : longWord;
  11578. DCH6INTCLR : longWord;
  11579. DCH6INTSET : longWord;
  11580. DCH6INTINV : longWord;
  11581. DCH6SSA : longWord;
  11582. DCH6SSACLR : longWord;
  11583. DCH6SSASET : longWord;
  11584. DCH6SSAINV : longWord;
  11585. DCH6DSA : longWord;
  11586. DCH6DSACLR : longWord;
  11587. DCH6DSASET : longWord;
  11588. DCH6DSAINV : longWord;
  11589. DCH6SSIZ : longWord;
  11590. DCH6SSIZCLR : longWord;
  11591. DCH6SSIZSET : longWord;
  11592. DCH6SSIZINV : longWord;
  11593. DCH6DSIZ : longWord;
  11594. DCH6DSIZCLR : longWord;
  11595. DCH6DSIZSET : longWord;
  11596. DCH6DSIZINV : longWord;
  11597. DCH6SPTR : longWord;
  11598. DCH6SPTRCLR : longWord;
  11599. DCH6SPTRSET : longWord;
  11600. DCH6SPTRINV : longWord;
  11601. DCH6DPTR : longWord;
  11602. DCH6DPTRCLR : longWord;
  11603. DCH6DPTRSET : longWord;
  11604. DCH6DPTRINV : longWord;
  11605. DCH6CSIZ : longWord;
  11606. DCH6CSIZCLR : longWord;
  11607. DCH6CSIZSET : longWord;
  11608. DCH6CSIZINV : longWord;
  11609. DCH6CPTR : longWord;
  11610. DCH6CPTRCLR : longWord;
  11611. DCH6CPTRSET : longWord;
  11612. DCH6CPTRINV : longWord;
  11613. DCH6DAT : longWord;
  11614. DCH6DATCLR : longWord;
  11615. DCH6DATSET : longWord;
  11616. DCH6DATINV : longWord;
  11617. end;
  11618. TDMAC7_DCH7CON = record
  11619. private
  11620. function getCHAED : TBits_1; inline;
  11621. function getCHAEN : TBits_1; inline;
  11622. function getCHBUSY : TBits_1; inline;
  11623. function getCHCHN : TBits_1; inline;
  11624. function getCHCHNS : TBits_1; inline;
  11625. function getCHEDET : TBits_1; inline;
  11626. function getCHEN : TBits_1; inline;
  11627. function getCHPRI : TBits_2; inline;
  11628. function getw : TBits_32; inline;
  11629. procedure setCHAED(thebits : TBits_1); inline;
  11630. procedure setCHAEN(thebits : TBits_1); inline;
  11631. procedure setCHBUSY(thebits : TBits_1); inline;
  11632. procedure setCHCHN(thebits : TBits_1); inline;
  11633. procedure setCHCHNS(thebits : TBits_1); inline;
  11634. procedure setCHEDET(thebits : TBits_1); inline;
  11635. procedure setCHEN(thebits : TBits_1); inline;
  11636. procedure setCHPRI(thebits : TBits_2); inline;
  11637. procedure setw(thebits : TBits_32); inline;
  11638. public
  11639. procedure clearCHAED; inline;
  11640. procedure clearCHAEN; inline;
  11641. procedure clearCHBUSY; inline;
  11642. procedure clearCHCHN; inline;
  11643. procedure clearCHCHNS; inline;
  11644. procedure clearCHEDET; inline;
  11645. procedure clearCHEN; inline;
  11646. procedure setCHAED; inline;
  11647. procedure setCHAEN; inline;
  11648. procedure setCHBUSY; inline;
  11649. procedure setCHCHN; inline;
  11650. procedure setCHCHNS; inline;
  11651. procedure setCHEDET; inline;
  11652. procedure setCHEN; inline;
  11653. property CHAED : TBits_1 read getCHAED write setCHAED;
  11654. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11655. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11656. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11657. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11658. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11659. property CHEN : TBits_1 read getCHEN write setCHEN;
  11660. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11661. property w : TBits_32 read getw write setw;
  11662. end;
  11663. TDMAC7_DCH7ECON = record
  11664. private
  11665. function getAIRQEN : TBits_1; inline;
  11666. function getCABORT : TBits_1; inline;
  11667. function getCFORCE : TBits_1; inline;
  11668. function getCHAIRQ : TBits_8; inline;
  11669. function getCHSIRQ : TBits_8; inline;
  11670. function getPATEN : TBits_1; inline;
  11671. function getSIRQEN : TBits_1; inline;
  11672. function getw : TBits_32; inline;
  11673. procedure setAIRQEN(thebits : TBits_1); inline;
  11674. procedure setCABORT(thebits : TBits_1); inline;
  11675. procedure setCFORCE(thebits : TBits_1); inline;
  11676. procedure setCHAIRQ(thebits : TBits_8); inline;
  11677. procedure setCHSIRQ(thebits : TBits_8); inline;
  11678. procedure setPATEN(thebits : TBits_1); inline;
  11679. procedure setSIRQEN(thebits : TBits_1); inline;
  11680. procedure setw(thebits : TBits_32); inline;
  11681. public
  11682. procedure clearAIRQEN; inline;
  11683. procedure clearCABORT; inline;
  11684. procedure clearCFORCE; inline;
  11685. procedure clearPATEN; inline;
  11686. procedure clearSIRQEN; inline;
  11687. procedure setAIRQEN; inline;
  11688. procedure setCABORT; inline;
  11689. procedure setCFORCE; inline;
  11690. procedure setPATEN; inline;
  11691. procedure setSIRQEN; inline;
  11692. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11693. property CABORT : TBits_1 read getCABORT write setCABORT;
  11694. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11695. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11696. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11697. property PATEN : TBits_1 read getPATEN write setPATEN;
  11698. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11699. property w : TBits_32 read getw write setw;
  11700. end;
  11701. TDMAC7_DCH7INT = record
  11702. private
  11703. function getCHBCIE : TBits_1; inline;
  11704. function getCHBCIF : TBits_1; inline;
  11705. function getCHCCIE : TBits_1; inline;
  11706. function getCHCCIF : TBits_1; inline;
  11707. function getCHDDIE : TBits_1; inline;
  11708. function getCHDDIF : TBits_1; inline;
  11709. function getCHDHIE : TBits_1; inline;
  11710. function getCHDHIF : TBits_1; inline;
  11711. function getCHERIE : TBits_1; inline;
  11712. function getCHERIF : TBits_1; inline;
  11713. function getCHSDIE : TBits_1; inline;
  11714. function getCHSDIF : TBits_1; inline;
  11715. function getCHSHIE : TBits_1; inline;
  11716. function getCHSHIF : TBits_1; inline;
  11717. function getCHTAIE : TBits_1; inline;
  11718. function getCHTAIF : TBits_1; inline;
  11719. function getw : TBits_32; inline;
  11720. procedure setCHBCIE(thebits : TBits_1); inline;
  11721. procedure setCHBCIF(thebits : TBits_1); inline;
  11722. procedure setCHCCIE(thebits : TBits_1); inline;
  11723. procedure setCHCCIF(thebits : TBits_1); inline;
  11724. procedure setCHDDIE(thebits : TBits_1); inline;
  11725. procedure setCHDDIF(thebits : TBits_1); inline;
  11726. procedure setCHDHIE(thebits : TBits_1); inline;
  11727. procedure setCHDHIF(thebits : TBits_1); inline;
  11728. procedure setCHERIE(thebits : TBits_1); inline;
  11729. procedure setCHERIF(thebits : TBits_1); inline;
  11730. procedure setCHSDIE(thebits : TBits_1); inline;
  11731. procedure setCHSDIF(thebits : TBits_1); inline;
  11732. procedure setCHSHIE(thebits : TBits_1); inline;
  11733. procedure setCHSHIF(thebits : TBits_1); inline;
  11734. procedure setCHTAIE(thebits : TBits_1); inline;
  11735. procedure setCHTAIF(thebits : TBits_1); inline;
  11736. procedure setw(thebits : TBits_32); inline;
  11737. public
  11738. procedure clearCHBCIE; inline;
  11739. procedure clearCHBCIF; inline;
  11740. procedure clearCHCCIE; inline;
  11741. procedure clearCHCCIF; inline;
  11742. procedure clearCHDDIE; inline;
  11743. procedure clearCHDDIF; inline;
  11744. procedure clearCHDHIE; inline;
  11745. procedure clearCHDHIF; inline;
  11746. procedure clearCHERIE; inline;
  11747. procedure clearCHERIF; inline;
  11748. procedure clearCHSDIE; inline;
  11749. procedure clearCHSDIF; inline;
  11750. procedure clearCHSHIE; inline;
  11751. procedure clearCHSHIF; inline;
  11752. procedure clearCHTAIE; inline;
  11753. procedure clearCHTAIF; inline;
  11754. procedure setCHBCIE; inline;
  11755. procedure setCHBCIF; inline;
  11756. procedure setCHCCIE; inline;
  11757. procedure setCHCCIF; inline;
  11758. procedure setCHDDIE; inline;
  11759. procedure setCHDDIF; inline;
  11760. procedure setCHDHIE; inline;
  11761. procedure setCHDHIF; inline;
  11762. procedure setCHERIE; inline;
  11763. procedure setCHERIF; inline;
  11764. procedure setCHSDIE; inline;
  11765. procedure setCHSDIF; inline;
  11766. procedure setCHSHIE; inline;
  11767. procedure setCHSHIF; inline;
  11768. procedure setCHTAIE; inline;
  11769. procedure setCHTAIF; inline;
  11770. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11771. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11772. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11773. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11774. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11775. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11776. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11777. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11778. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11779. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11780. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11781. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11782. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11783. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11784. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11785. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11786. property w : TBits_32 read getw write setw;
  11787. end;
  11788. type
  11789. TDMAC7Registers = record
  11790. DCH7CONbits : TDMAC7_DCH7CON;
  11791. DCH7CON : longWord;
  11792. DCH7CONCLR : longWord;
  11793. DCH7CONSET : longWord;
  11794. DCH7CONINV : longWord;
  11795. DCH7ECONbits : TDMAC7_DCH7ECON;
  11796. DCH7ECON : longWord;
  11797. DCH7ECONCLR : longWord;
  11798. DCH7ECONSET : longWord;
  11799. DCH7ECONINV : longWord;
  11800. DCH7INTbits : TDMAC7_DCH7INT;
  11801. DCH7INT : longWord;
  11802. DCH7INTCLR : longWord;
  11803. DCH7INTSET : longWord;
  11804. DCH7INTINV : longWord;
  11805. DCH7SSA : longWord;
  11806. DCH7SSACLR : longWord;
  11807. DCH7SSASET : longWord;
  11808. DCH7SSAINV : longWord;
  11809. DCH7DSA : longWord;
  11810. DCH7DSACLR : longWord;
  11811. DCH7DSASET : longWord;
  11812. DCH7DSAINV : longWord;
  11813. DCH7SSIZ : longWord;
  11814. DCH7SSIZCLR : longWord;
  11815. DCH7SSIZSET : longWord;
  11816. DCH7SSIZINV : longWord;
  11817. DCH7DSIZ : longWord;
  11818. DCH7DSIZCLR : longWord;
  11819. DCH7DSIZSET : longWord;
  11820. DCH7DSIZINV : longWord;
  11821. DCH7SPTR : longWord;
  11822. DCH7SPTRCLR : longWord;
  11823. DCH7SPTRSET : longWord;
  11824. DCH7SPTRINV : longWord;
  11825. DCH7DPTR : longWord;
  11826. DCH7DPTRCLR : longWord;
  11827. DCH7DPTRSET : longWord;
  11828. DCH7DPTRINV : longWord;
  11829. DCH7CSIZ : longWord;
  11830. DCH7CSIZCLR : longWord;
  11831. DCH7CSIZSET : longWord;
  11832. DCH7CSIZINV : longWord;
  11833. DCH7CPTR : longWord;
  11834. DCH7CPTRCLR : longWord;
  11835. DCH7CPTRSET : longWord;
  11836. DCH7CPTRINV : longWord;
  11837. DCH7DAT : longWord;
  11838. DCH7DATCLR : longWord;
  11839. DCH7DATSET : longWord;
  11840. DCH7DATINV : longWord;
  11841. end;
  11842. TPCACHE_CHECON = record
  11843. private
  11844. function getCHECOH : TBits_1; inline;
  11845. function getDCSZ : TBits_2; inline;
  11846. function getPFMWS : TBits_3; inline;
  11847. function getPREFEN : TBits_2; inline;
  11848. function getw : TBits_32; inline;
  11849. procedure setCHECOH(thebits : TBits_1); inline;
  11850. procedure setDCSZ(thebits : TBits_2); inline;
  11851. procedure setPFMWS(thebits : TBits_3); inline;
  11852. procedure setPREFEN(thebits : TBits_2); inline;
  11853. procedure setw(thebits : TBits_32); inline;
  11854. public
  11855. procedure clearCHECOH; inline;
  11856. procedure setCHECOH; inline;
  11857. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  11858. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  11859. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  11860. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  11861. property w : TBits_32 read getw write setw;
  11862. end;
  11863. TPCACHE_CHETAG = record
  11864. private
  11865. function getLLOCK : TBits_1; inline;
  11866. function getLTAG : TBits_20; inline;
  11867. function getLTAGBOOT : TBits_1; inline;
  11868. function getLTYPE : TBits_1; inline;
  11869. function getLVALID : TBits_1; inline;
  11870. function getw : TBits_32; inline;
  11871. procedure setLLOCK(thebits : TBits_1); inline;
  11872. procedure setLTAG(thebits : TBits_20); inline;
  11873. procedure setLTAGBOOT(thebits : TBits_1); inline;
  11874. procedure setLTYPE(thebits : TBits_1); inline;
  11875. procedure setLVALID(thebits : TBits_1); inline;
  11876. procedure setw(thebits : TBits_32); inline;
  11877. public
  11878. procedure clearLLOCK; inline;
  11879. procedure clearLTAGBOOT; inline;
  11880. procedure clearLTYPE; inline;
  11881. procedure clearLVALID; inline;
  11882. procedure setLLOCK; inline;
  11883. procedure setLTAGBOOT; inline;
  11884. procedure setLTYPE; inline;
  11885. procedure setLVALID; inline;
  11886. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  11887. property LTAG : TBits_20 read getLTAG write setLTAG;
  11888. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  11889. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  11890. property LVALID : TBits_1 read getLVALID write setLVALID;
  11891. property w : TBits_32 read getw write setw;
  11892. end;
  11893. type
  11894. TPCACHERegisters = record
  11895. CHECONbits : TPCACHE_CHECON;
  11896. CHECON : longWord;
  11897. CHECONCLR : longWord;
  11898. CHECONSET : longWord;
  11899. CHECONINV : longWord;
  11900. CHEACC : longWord;
  11901. CHEACCCLR : longWord;
  11902. CHEACCSET : longWord;
  11903. CHEACCINV : longWord;
  11904. CHETAGbits : TPCACHE_CHETAG;
  11905. CHETAG : longWord;
  11906. CHETAGCLR : longWord;
  11907. CHETAGSET : longWord;
  11908. CHETAGINV : longWord;
  11909. CHEMSK : longWord;
  11910. CHEMSKCLR : longWord;
  11911. CHEMSKSET : longWord;
  11912. CHEMSKINV : longWord;
  11913. CHEW0 : longWord;
  11914. CHEW1 : longWord;
  11915. CHEW2 : longWord;
  11916. CHEW3 : longWord;
  11917. CHELRU : longWord;
  11918. CHEHIT : longWord;
  11919. CHEMIS : longWord;
  11920. CHEPFABT : longWord;
  11921. end;
  11922. TUSB_U1IR = record
  11923. private
  11924. function getATTACHIF : TBits_1; inline;
  11925. function getDETACHIF : TBits_1; inline;
  11926. function getIDLEIF : TBits_1; inline;
  11927. function getRESUMEIF : TBits_1; inline;
  11928. function getSOFIF : TBits_1; inline;
  11929. function getSTALLIF : TBits_1; inline;
  11930. function getTRNIF : TBits_1; inline;
  11931. function getUERRIF : TBits_1; inline;
  11932. function getURSTIF : TBits_1; inline;
  11933. function getURSTIF_DETACHIF : TBits_1; inline;
  11934. procedure setATTACHIF(thebits : TBits_1); inline;
  11935. procedure setDETACHIF(thebits : TBits_1); inline;
  11936. procedure setIDLEIF(thebits : TBits_1); inline;
  11937. procedure setRESUMEIF(thebits : TBits_1); inline;
  11938. procedure setSOFIF(thebits : TBits_1); inline;
  11939. procedure setSTALLIF(thebits : TBits_1); inline;
  11940. procedure setTRNIF(thebits : TBits_1); inline;
  11941. procedure setUERRIF(thebits : TBits_1); inline;
  11942. procedure setURSTIF(thebits : TBits_1); inline;
  11943. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  11944. public
  11945. procedure clearATTACHIF; inline;
  11946. procedure clearDETACHIF; inline;
  11947. procedure clearIDLEIF; inline;
  11948. procedure clearRESUMEIF; inline;
  11949. procedure clearSOFIF; inline;
  11950. procedure clearSTALLIF; inline;
  11951. procedure clearTRNIF; inline;
  11952. procedure clearUERRIF; inline;
  11953. procedure clearURSTIF; inline;
  11954. procedure clearURSTIF_DETACHIF; inline;
  11955. procedure setATTACHIF; inline;
  11956. procedure setDETACHIF; inline;
  11957. procedure setIDLEIF; inline;
  11958. procedure setRESUMEIF; inline;
  11959. procedure setSOFIF; inline;
  11960. procedure setSTALLIF; inline;
  11961. procedure setTRNIF; inline;
  11962. procedure setUERRIF; inline;
  11963. procedure setURSTIF; inline;
  11964. procedure setURSTIF_DETACHIF; inline;
  11965. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  11966. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  11967. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  11968. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  11969. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  11970. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  11971. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  11972. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  11973. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  11974. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  11975. end;
  11976. TUSB_U1IE = record
  11977. private
  11978. function getATTACHIE : TBits_1; inline;
  11979. function getDETACHIE : TBits_1; inline;
  11980. function getIDLEIE : TBits_1; inline;
  11981. function getRESUMEIE : TBits_1; inline;
  11982. function getSOFIE : TBits_1; inline;
  11983. function getSTALLIE : TBits_1; inline;
  11984. function getTRNIE : TBits_1; inline;
  11985. function getUERRIE : TBits_1; inline;
  11986. function getURSTIE : TBits_1; inline;
  11987. function getURSTIE_DETACHIE : TBits_1; inline;
  11988. procedure setATTACHIE(thebits : TBits_1); inline;
  11989. procedure setDETACHIE(thebits : TBits_1); inline;
  11990. procedure setIDLEIE(thebits : TBits_1); inline;
  11991. procedure setRESUMEIE(thebits : TBits_1); inline;
  11992. procedure setSOFIE(thebits : TBits_1); inline;
  11993. procedure setSTALLIE(thebits : TBits_1); inline;
  11994. procedure setTRNIE(thebits : TBits_1); inline;
  11995. procedure setUERRIE(thebits : TBits_1); inline;
  11996. procedure setURSTIE(thebits : TBits_1); inline;
  11997. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  11998. public
  11999. procedure clearATTACHIE; inline;
  12000. procedure clearDETACHIE; inline;
  12001. procedure clearIDLEIE; inline;
  12002. procedure clearRESUMEIE; inline;
  12003. procedure clearSOFIE; inline;
  12004. procedure clearSTALLIE; inline;
  12005. procedure clearTRNIE; inline;
  12006. procedure clearUERRIE; inline;
  12007. procedure clearURSTIE; inline;
  12008. procedure clearURSTIE_DETACHIE; inline;
  12009. procedure setATTACHIE; inline;
  12010. procedure setDETACHIE; inline;
  12011. procedure setIDLEIE; inline;
  12012. procedure setRESUMEIE; inline;
  12013. procedure setSOFIE; inline;
  12014. procedure setSTALLIE; inline;
  12015. procedure setTRNIE; inline;
  12016. procedure setUERRIE; inline;
  12017. procedure setURSTIE; inline;
  12018. procedure setURSTIE_DETACHIE; inline;
  12019. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  12020. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  12021. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  12022. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  12023. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  12024. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  12025. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  12026. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  12027. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  12028. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  12029. end;
  12030. TUSB_U1EIR = record
  12031. private
  12032. function getBMXEF : TBits_1; inline;
  12033. function getBTOEF : TBits_1; inline;
  12034. function getBTSEF : TBits_1; inline;
  12035. function getCRC16EF : TBits_1; inline;
  12036. function getCRC5EF : TBits_1; inline;
  12037. function getCRC5EF_EOFEF : TBits_1; inline;
  12038. function getDFN8EF : TBits_1; inline;
  12039. function getDMAEF : TBits_1; inline;
  12040. function getEOFEF : TBits_1; inline;
  12041. function getPIDEF : TBits_1; inline;
  12042. procedure setBMXEF(thebits : TBits_1); inline;
  12043. procedure setBTOEF(thebits : TBits_1); inline;
  12044. procedure setBTSEF(thebits : TBits_1); inline;
  12045. procedure setCRC16EF(thebits : TBits_1); inline;
  12046. procedure setCRC5EF(thebits : TBits_1); inline;
  12047. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  12048. procedure setDFN8EF(thebits : TBits_1); inline;
  12049. procedure setDMAEF(thebits : TBits_1); inline;
  12050. procedure setEOFEF(thebits : TBits_1); inline;
  12051. procedure setPIDEF(thebits : TBits_1); inline;
  12052. public
  12053. procedure clearBMXEF; inline;
  12054. procedure clearBTOEF; inline;
  12055. procedure clearBTSEF; inline;
  12056. procedure clearCRC16EF; inline;
  12057. procedure clearCRC5EF; inline;
  12058. procedure clearCRC5EF_EOFEF; inline;
  12059. procedure clearDFN8EF; inline;
  12060. procedure clearDMAEF; inline;
  12061. procedure clearEOFEF; inline;
  12062. procedure clearPIDEF; inline;
  12063. procedure setBMXEF; inline;
  12064. procedure setBTOEF; inline;
  12065. procedure setBTSEF; inline;
  12066. procedure setCRC16EF; inline;
  12067. procedure setCRC5EF; inline;
  12068. procedure setCRC5EF_EOFEF; inline;
  12069. procedure setDFN8EF; inline;
  12070. procedure setDMAEF; inline;
  12071. procedure setEOFEF; inline;
  12072. procedure setPIDEF; inline;
  12073. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  12074. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  12075. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  12076. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  12077. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  12078. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  12079. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  12080. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  12081. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  12082. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  12083. end;
  12084. TUSB_U1EIE = record
  12085. private
  12086. function getBMXEE : TBits_1; inline;
  12087. function getBTOEE : TBits_1; inline;
  12088. function getBTSEE : TBits_1; inline;
  12089. function getCRC16EE : TBits_1; inline;
  12090. function getCRC5EE : TBits_1; inline;
  12091. function getCRC5EE_EOFEE : TBits_1; inline;
  12092. function getDFN8EE : TBits_1; inline;
  12093. function getDMAEE : TBits_1; inline;
  12094. function getEOFEE : TBits_1; inline;
  12095. function getPIDEE : TBits_1; inline;
  12096. procedure setBMXEE(thebits : TBits_1); inline;
  12097. procedure setBTOEE(thebits : TBits_1); inline;
  12098. procedure setBTSEE(thebits : TBits_1); inline;
  12099. procedure setCRC16EE(thebits : TBits_1); inline;
  12100. procedure setCRC5EE(thebits : TBits_1); inline;
  12101. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  12102. procedure setDFN8EE(thebits : TBits_1); inline;
  12103. procedure setDMAEE(thebits : TBits_1); inline;
  12104. procedure setEOFEE(thebits : TBits_1); inline;
  12105. procedure setPIDEE(thebits : TBits_1); inline;
  12106. public
  12107. procedure clearBMXEE; inline;
  12108. procedure clearBTOEE; inline;
  12109. procedure clearBTSEE; inline;
  12110. procedure clearCRC16EE; inline;
  12111. procedure clearCRC5EE; inline;
  12112. procedure clearCRC5EE_EOFEE; inline;
  12113. procedure clearDFN8EE; inline;
  12114. procedure clearDMAEE; inline;
  12115. procedure clearEOFEE; inline;
  12116. procedure clearPIDEE; inline;
  12117. procedure setBMXEE; inline;
  12118. procedure setBTOEE; inline;
  12119. procedure setBTSEE; inline;
  12120. procedure setCRC16EE; inline;
  12121. procedure setCRC5EE; inline;
  12122. procedure setCRC5EE_EOFEE; inline;
  12123. procedure setDFN8EE; inline;
  12124. procedure setDMAEE; inline;
  12125. procedure setEOFEE; inline;
  12126. procedure setPIDEE; inline;
  12127. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  12128. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  12129. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  12130. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  12131. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  12132. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  12133. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  12134. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  12135. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  12136. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  12137. end;
  12138. TUSB_U1STAT = record
  12139. private
  12140. function getDIR : TBits_1; inline;
  12141. function getENDPT : TBits_4; inline;
  12142. function getENDPT0 : TBits_1; inline;
  12143. function getENDPT1 : TBits_1; inline;
  12144. function getENDPT2 : TBits_1; inline;
  12145. function getENDPT3 : TBits_1; inline;
  12146. function getPPBI : TBits_1; inline;
  12147. procedure setDIR(thebits : TBits_1); inline;
  12148. procedure setENDPT(thebits : TBits_4); inline;
  12149. procedure setENDPT0(thebits : TBits_1); inline;
  12150. procedure setENDPT1(thebits : TBits_1); inline;
  12151. procedure setENDPT2(thebits : TBits_1); inline;
  12152. procedure setENDPT3(thebits : TBits_1); inline;
  12153. procedure setPPBI(thebits : TBits_1); inline;
  12154. public
  12155. procedure clearDIR; inline;
  12156. procedure clearENDPT0; inline;
  12157. procedure clearENDPT1; inline;
  12158. procedure clearENDPT2; inline;
  12159. procedure clearENDPT3; inline;
  12160. procedure clearPPBI; inline;
  12161. procedure setDIR; inline;
  12162. procedure setENDPT0; inline;
  12163. procedure setENDPT1; inline;
  12164. procedure setENDPT2; inline;
  12165. procedure setENDPT3; inline;
  12166. procedure setPPBI; inline;
  12167. property DIR : TBits_1 read getDIR write setDIR;
  12168. property ENDPT : TBits_4 read getENDPT write setENDPT;
  12169. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  12170. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  12171. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  12172. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  12173. property PPBI : TBits_1 read getPPBI write setPPBI;
  12174. end;
  12175. TUSB_U1CON = record
  12176. private
  12177. function getHOSTEN : TBits_1; inline;
  12178. function getJSTATE : TBits_1; inline;
  12179. function getPKTDIS : TBits_1; inline;
  12180. function getPKTDIS_TOKBUSY : TBits_1; inline;
  12181. function getPPBRST : TBits_1; inline;
  12182. function getRESUME : TBits_1; inline;
  12183. function getSE0 : TBits_1; inline;
  12184. function getSOFEN : TBits_1; inline;
  12185. function getTOKBUSY : TBits_1; inline;
  12186. function getUSBEN : TBits_1; inline;
  12187. function getUSBEN_SOFEN : TBits_1; inline;
  12188. function getUSBRST : TBits_1; inline;
  12189. procedure setHOSTEN(thebits : TBits_1); inline;
  12190. procedure setJSTATE(thebits : TBits_1); inline;
  12191. procedure setPKTDIS(thebits : TBits_1); inline;
  12192. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  12193. procedure setPPBRST(thebits : TBits_1); inline;
  12194. procedure setRESUME(thebits : TBits_1); inline;
  12195. procedure setSE0(thebits : TBits_1); inline;
  12196. procedure setSOFEN(thebits : TBits_1); inline;
  12197. procedure setTOKBUSY(thebits : TBits_1); inline;
  12198. procedure setUSBEN(thebits : TBits_1); inline;
  12199. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  12200. procedure setUSBRST(thebits : TBits_1); inline;
  12201. public
  12202. procedure clearHOSTEN; inline;
  12203. procedure clearJSTATE; inline;
  12204. procedure clearPKTDIS; inline;
  12205. procedure clearPKTDIS_TOKBUSY; inline;
  12206. procedure clearPPBRST; inline;
  12207. procedure clearRESUME; inline;
  12208. procedure clearSE0; inline;
  12209. procedure clearSOFEN; inline;
  12210. procedure clearTOKBUSY; inline;
  12211. procedure clearUSBEN; inline;
  12212. procedure clearUSBEN_SOFEN; inline;
  12213. procedure clearUSBRST; inline;
  12214. procedure setHOSTEN; inline;
  12215. procedure setJSTATE; inline;
  12216. procedure setPKTDIS; inline;
  12217. procedure setPKTDIS_TOKBUSY; inline;
  12218. procedure setPPBRST; inline;
  12219. procedure setRESUME; inline;
  12220. procedure setSE0; inline;
  12221. procedure setSOFEN; inline;
  12222. procedure setTOKBUSY; inline;
  12223. procedure setUSBEN; inline;
  12224. procedure setUSBEN_SOFEN; inline;
  12225. procedure setUSBRST; inline;
  12226. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  12227. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  12228. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  12229. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  12230. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  12231. property RESUME : TBits_1 read getRESUME write setRESUME;
  12232. property SE0 : TBits_1 read getSE0 write setSE0;
  12233. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  12234. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  12235. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  12236. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  12237. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  12238. end;
  12239. TUSB_U1ADDR = record
  12240. private
  12241. function getDEVADDR : TBits_7; inline;
  12242. function getDEVADDR0 : TBits_1; inline;
  12243. function getDEVADDR1 : TBits_1; inline;
  12244. function getDEVADDR2 : TBits_1; inline;
  12245. function getDEVADDR3 : TBits_1; inline;
  12246. function getDEVADDR4 : TBits_1; inline;
  12247. function getDEVADDR5 : TBits_1; inline;
  12248. function getDEVADDR6 : TBits_1; inline;
  12249. function getLSPDEN : TBits_1; inline;
  12250. procedure setDEVADDR(thebits : TBits_7); inline;
  12251. procedure setDEVADDR0(thebits : TBits_1); inline;
  12252. procedure setDEVADDR1(thebits : TBits_1); inline;
  12253. procedure setDEVADDR2(thebits : TBits_1); inline;
  12254. procedure setDEVADDR3(thebits : TBits_1); inline;
  12255. procedure setDEVADDR4(thebits : TBits_1); inline;
  12256. procedure setDEVADDR5(thebits : TBits_1); inline;
  12257. procedure setDEVADDR6(thebits : TBits_1); inline;
  12258. procedure setLSPDEN(thebits : TBits_1); inline;
  12259. public
  12260. procedure clearDEVADDR0; inline;
  12261. procedure clearDEVADDR1; inline;
  12262. procedure clearDEVADDR2; inline;
  12263. procedure clearDEVADDR3; inline;
  12264. procedure clearDEVADDR4; inline;
  12265. procedure clearDEVADDR5; inline;
  12266. procedure clearDEVADDR6; inline;
  12267. procedure clearLSPDEN; inline;
  12268. procedure setDEVADDR0; inline;
  12269. procedure setDEVADDR1; inline;
  12270. procedure setDEVADDR2; inline;
  12271. procedure setDEVADDR3; inline;
  12272. procedure setDEVADDR4; inline;
  12273. procedure setDEVADDR5; inline;
  12274. procedure setDEVADDR6; inline;
  12275. procedure setLSPDEN; inline;
  12276. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  12277. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  12278. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  12279. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  12280. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  12281. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  12282. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  12283. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  12284. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  12285. end;
  12286. TUSB_U1FRML = record
  12287. private
  12288. function getFRM0 : TBits_1; inline;
  12289. function getFRM1 : TBits_1; inline;
  12290. function getFRM2 : TBits_1; inline;
  12291. function getFRM3 : TBits_1; inline;
  12292. function getFRM4 : TBits_1; inline;
  12293. function getFRM5 : TBits_1; inline;
  12294. function getFRM6 : TBits_1; inline;
  12295. function getFRM7 : TBits_1; inline;
  12296. function getFRML : TBits_8; inline;
  12297. procedure setFRM0(thebits : TBits_1); inline;
  12298. procedure setFRM1(thebits : TBits_1); inline;
  12299. procedure setFRM2(thebits : TBits_1); inline;
  12300. procedure setFRM3(thebits : TBits_1); inline;
  12301. procedure setFRM4(thebits : TBits_1); inline;
  12302. procedure setFRM5(thebits : TBits_1); inline;
  12303. procedure setFRM6(thebits : TBits_1); inline;
  12304. procedure setFRM7(thebits : TBits_1); inline;
  12305. procedure setFRML(thebits : TBits_8); inline;
  12306. public
  12307. procedure clearFRM0; inline;
  12308. procedure clearFRM1; inline;
  12309. procedure clearFRM2; inline;
  12310. procedure clearFRM3; inline;
  12311. procedure clearFRM4; inline;
  12312. procedure clearFRM5; inline;
  12313. procedure clearFRM6; inline;
  12314. procedure clearFRM7; inline;
  12315. procedure setFRM0; inline;
  12316. procedure setFRM1; inline;
  12317. procedure setFRM2; inline;
  12318. procedure setFRM3; inline;
  12319. procedure setFRM4; inline;
  12320. procedure setFRM5; inline;
  12321. procedure setFRM6; inline;
  12322. procedure setFRM7; inline;
  12323. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  12324. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  12325. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  12326. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  12327. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  12328. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  12329. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  12330. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  12331. property FRML : TBits_8 read getFRML write setFRML;
  12332. end;
  12333. TUSB_U1FRMH = record
  12334. private
  12335. function getFRM10 : TBits_1; inline;
  12336. function getFRM8 : TBits_1; inline;
  12337. function getFRM9 : TBits_1; inline;
  12338. function getFRMH : TBits_3; inline;
  12339. procedure setFRM10(thebits : TBits_1); inline;
  12340. procedure setFRM8(thebits : TBits_1); inline;
  12341. procedure setFRM9(thebits : TBits_1); inline;
  12342. procedure setFRMH(thebits : TBits_3); inline;
  12343. public
  12344. procedure clearFRM10; inline;
  12345. procedure clearFRM8; inline;
  12346. procedure clearFRM9; inline;
  12347. procedure setFRM10; inline;
  12348. procedure setFRM8; inline;
  12349. procedure setFRM9; inline;
  12350. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  12351. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  12352. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  12353. property FRMH : TBits_3 read getFRMH write setFRMH;
  12354. end;
  12355. TUSB_U1TOK = record
  12356. private
  12357. function getEP : TBits_4; inline;
  12358. function getEP0 : TBits_1; inline;
  12359. function getEP1 : TBits_1; inline;
  12360. function getEP2 : TBits_1; inline;
  12361. function getEP3 : TBits_1; inline;
  12362. function getPID : TBits_4; inline;
  12363. function getPID0 : TBits_1; inline;
  12364. function getPID1 : TBits_1; inline;
  12365. function getPID2 : TBits_1; inline;
  12366. function getPID3 : TBits_1; inline;
  12367. procedure setEP(thebits : TBits_4); inline;
  12368. procedure setEP0(thebits : TBits_1); inline;
  12369. procedure setEP1(thebits : TBits_1); inline;
  12370. procedure setEP2(thebits : TBits_1); inline;
  12371. procedure setEP3(thebits : TBits_1); inline;
  12372. procedure setPID(thebits : TBits_4); inline;
  12373. procedure setPID0(thebits : TBits_1); inline;
  12374. procedure setPID1(thebits : TBits_1); inline;
  12375. procedure setPID2(thebits : TBits_1); inline;
  12376. procedure setPID3(thebits : TBits_1); inline;
  12377. public
  12378. procedure clearEP0; inline;
  12379. procedure clearEP1; inline;
  12380. procedure clearEP2; inline;
  12381. procedure clearEP3; inline;
  12382. procedure clearPID0; inline;
  12383. procedure clearPID1; inline;
  12384. procedure clearPID2; inline;
  12385. procedure clearPID3; inline;
  12386. procedure setEP0; inline;
  12387. procedure setEP1; inline;
  12388. procedure setEP2; inline;
  12389. procedure setEP3; inline;
  12390. procedure setPID0; inline;
  12391. procedure setPID1; inline;
  12392. procedure setPID2; inline;
  12393. procedure setPID3; inline;
  12394. property EP : TBits_4 read getEP write setEP;
  12395. property EP0 : TBits_1 read getEP0 write setEP0;
  12396. property EP1 : TBits_1 read getEP1 write setEP1;
  12397. property EP2 : TBits_1 read getEP2 write setEP2;
  12398. property EP3 : TBits_1 read getEP3 write setEP3;
  12399. property PID : TBits_4 read getPID write setPID;
  12400. property PID0 : TBits_1 read getPID0 write setPID0;
  12401. property PID1 : TBits_1 read getPID1 write setPID1;
  12402. property PID2 : TBits_1 read getPID2 write setPID2;
  12403. property PID3 : TBits_1 read getPID3 write setPID3;
  12404. end;
  12405. type
  12406. TUSBRegisters = record
  12407. U1OTGIR : longWord;
  12408. U1OTGIRCLR : longWord;
  12409. U1OTGIE : longWord;
  12410. U1OTGIECLR : longWord;
  12411. U1OTGIESET : longWord;
  12412. U1OTGIEINV : longWord;
  12413. U1OTGSTAT : longWord;
  12414. U1OTGCON : longWord;
  12415. U1OTGCONCLR : longWord;
  12416. U1OTGCONSET : longWord;
  12417. U1OTGCONINV : longWord;
  12418. U1PWRC : longWord;
  12419. U1PWRCCLR : longWord;
  12420. U1PWRCSET : longWord;
  12421. U1PWRCINV : longWord;
  12422. U1IRbits : TUSB_U1IR;
  12423. U1IR : longWord;
  12424. U1IRCLR : longWord;
  12425. U1IEbits : TUSB_U1IE;
  12426. U1IE : longWord;
  12427. U1IECLR : longWord;
  12428. U1IESET : longWord;
  12429. U1IEINV : longWord;
  12430. U1EIRbits : TUSB_U1EIR;
  12431. U1EIR : longWord;
  12432. U1EIRCLR : longWord;
  12433. U1EIEbits : TUSB_U1EIE;
  12434. U1EIE : longWord;
  12435. U1EIECLR : longWord;
  12436. U1EIESET : longWord;
  12437. U1EIEINV : longWord;
  12438. U1STATbits : TUSB_U1STAT;
  12439. U1STAT : longWord;
  12440. U1CONbits : TUSB_U1CON;
  12441. U1CON : longWord;
  12442. U1CONCLR : longWord;
  12443. U1CONSET : longWord;
  12444. U1CONINV : longWord;
  12445. U1ADDRbits : TUSB_U1ADDR;
  12446. U1ADDR : longWord;
  12447. U1ADDRCLR : longWord;
  12448. U1ADDRSET : longWord;
  12449. U1ADDRINV : longWord;
  12450. U1BDTP1 : longWord;
  12451. U1BDTP1CLR : longWord;
  12452. U1BDTP1SET : longWord;
  12453. U1BDTP1INV : longWord;
  12454. U1FRMLbits : TUSB_U1FRML;
  12455. U1FRML : longWord;
  12456. U1FRMHbits : TUSB_U1FRMH;
  12457. U1FRMH : longWord;
  12458. U1TOKbits : TUSB_U1TOK;
  12459. U1TOK : longWord;
  12460. U1TOKCLR : longWord;
  12461. U1TOKSET : longWord;
  12462. U1TOKINV : longWord;
  12463. U1SOF : longWord;
  12464. U1SOFCLR : longWord;
  12465. U1SOFSET : longWord;
  12466. U1SOFINV : longWord;
  12467. U1BDTP2 : longWord;
  12468. U1BDTP2CLR : longWord;
  12469. U1BDTP2SET : longWord;
  12470. U1BDTP2INV : longWord;
  12471. U1BDTP3 : longWord;
  12472. U1BDTP3CLR : longWord;
  12473. U1BDTP3SET : longWord;
  12474. U1BDTP3INV : longWord;
  12475. U1CNFG1 : longWord;
  12476. U1CNFG1CLR : longWord;
  12477. U1CNFG1SET : longWord;
  12478. U1CNFG1INV : longWord;
  12479. U1EP0 : longWord;
  12480. U1EP0CLR : longWord;
  12481. U1EP0SET : longWord;
  12482. U1EP0INV : longWord;
  12483. U1EP1 : longWord;
  12484. U1EP1CLR : longWord;
  12485. U1EP1SET : longWord;
  12486. U1EP1INV : longWord;
  12487. U1EP2 : longWord;
  12488. U1EP2CLR : longWord;
  12489. U1EP2SET : longWord;
  12490. U1EP2INV : longWord;
  12491. U1EP3 : longWord;
  12492. U1EP3CLR : longWord;
  12493. U1EP3SET : longWord;
  12494. U1EP3INV : longWord;
  12495. U1EP4 : longWord;
  12496. U1EP4CLR : longWord;
  12497. U1EP4SET : longWord;
  12498. U1EP4INV : longWord;
  12499. U1EP5 : longWord;
  12500. U1EP5CLR : longWord;
  12501. U1EP5SET : longWord;
  12502. U1EP5INV : longWord;
  12503. U1EP6 : longWord;
  12504. U1EP6CLR : longWord;
  12505. U1EP6SET : longWord;
  12506. U1EP6INV : longWord;
  12507. U1EP7 : longWord;
  12508. U1EP7CLR : longWord;
  12509. U1EP7SET : longWord;
  12510. U1EP7INV : longWord;
  12511. U1EP8 : longWord;
  12512. U1EP8CLR : longWord;
  12513. U1EP8SET : longWord;
  12514. U1EP8INV : longWord;
  12515. U1EP9 : longWord;
  12516. U1EP9CLR : longWord;
  12517. U1EP9SET : longWord;
  12518. U1EP9INV : longWord;
  12519. U1EP10 : longWord;
  12520. U1EP10CLR : longWord;
  12521. U1EP10SET : longWord;
  12522. U1EP10INV : longWord;
  12523. U1EP11 : longWord;
  12524. U1EP11CLR : longWord;
  12525. U1EP11SET : longWord;
  12526. U1EP11INV : longWord;
  12527. U1EP12 : longWord;
  12528. U1EP12CLR : longWord;
  12529. U1EP12SET : longWord;
  12530. U1EP12INV : longWord;
  12531. U1EP13 : longWord;
  12532. U1EP13CLR : longWord;
  12533. U1EP13SET : longWord;
  12534. U1EP13INV : longWord;
  12535. U1EP14 : longWord;
  12536. U1EP14CLR : longWord;
  12537. U1EP14SET : longWord;
  12538. U1EP14INV : longWord;
  12539. U1EP15 : longWord;
  12540. U1EP15CLR : longWord;
  12541. U1EP15SET : longWord;
  12542. U1EP15INV : longWord;
  12543. end;
  12544. TPORTB_TRISB = record
  12545. private
  12546. function getTRISB0 : TBits_1; inline;
  12547. function getTRISB1 : TBits_1; inline;
  12548. function getTRISB10 : TBits_1; inline;
  12549. function getTRISB11 : TBits_1; inline;
  12550. function getTRISB12 : TBits_1; inline;
  12551. function getTRISB13 : TBits_1; inline;
  12552. function getTRISB14 : TBits_1; inline;
  12553. function getTRISB15 : TBits_1; inline;
  12554. function getTRISB2 : TBits_1; inline;
  12555. function getTRISB3 : TBits_1; inline;
  12556. function getTRISB4 : TBits_1; inline;
  12557. function getTRISB5 : TBits_1; inline;
  12558. function getTRISB6 : TBits_1; inline;
  12559. function getTRISB7 : TBits_1; inline;
  12560. function getTRISB8 : TBits_1; inline;
  12561. function getTRISB9 : TBits_1; inline;
  12562. function getw : TBits_32; inline;
  12563. procedure setTRISB0(thebits : TBits_1); inline;
  12564. procedure setTRISB1(thebits : TBits_1); inline;
  12565. procedure setTRISB10(thebits : TBits_1); inline;
  12566. procedure setTRISB11(thebits : TBits_1); inline;
  12567. procedure setTRISB12(thebits : TBits_1); inline;
  12568. procedure setTRISB13(thebits : TBits_1); inline;
  12569. procedure setTRISB14(thebits : TBits_1); inline;
  12570. procedure setTRISB15(thebits : TBits_1); inline;
  12571. procedure setTRISB2(thebits : TBits_1); inline;
  12572. procedure setTRISB3(thebits : TBits_1); inline;
  12573. procedure setTRISB4(thebits : TBits_1); inline;
  12574. procedure setTRISB5(thebits : TBits_1); inline;
  12575. procedure setTRISB6(thebits : TBits_1); inline;
  12576. procedure setTRISB7(thebits : TBits_1); inline;
  12577. procedure setTRISB8(thebits : TBits_1); inline;
  12578. procedure setTRISB9(thebits : TBits_1); inline;
  12579. procedure setw(thebits : TBits_32); inline;
  12580. public
  12581. procedure clearTRISB0; inline;
  12582. procedure clearTRISB10; inline;
  12583. procedure clearTRISB11; inline;
  12584. procedure clearTRISB12; inline;
  12585. procedure clearTRISB13; inline;
  12586. procedure clearTRISB14; inline;
  12587. procedure clearTRISB15; inline;
  12588. procedure clearTRISB1; inline;
  12589. procedure clearTRISB2; inline;
  12590. procedure clearTRISB3; inline;
  12591. procedure clearTRISB4; inline;
  12592. procedure clearTRISB5; inline;
  12593. procedure clearTRISB6; inline;
  12594. procedure clearTRISB7; inline;
  12595. procedure clearTRISB8; inline;
  12596. procedure clearTRISB9; inline;
  12597. procedure setTRISB0; inline;
  12598. procedure setTRISB10; inline;
  12599. procedure setTRISB11; inline;
  12600. procedure setTRISB12; inline;
  12601. procedure setTRISB13; inline;
  12602. procedure setTRISB14; inline;
  12603. procedure setTRISB15; inline;
  12604. procedure setTRISB1; inline;
  12605. procedure setTRISB2; inline;
  12606. procedure setTRISB3; inline;
  12607. procedure setTRISB4; inline;
  12608. procedure setTRISB5; inline;
  12609. procedure setTRISB6; inline;
  12610. procedure setTRISB7; inline;
  12611. procedure setTRISB8; inline;
  12612. procedure setTRISB9; inline;
  12613. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  12614. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  12615. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  12616. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  12617. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  12618. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  12619. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  12620. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  12621. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  12622. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  12623. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  12624. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  12625. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  12626. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  12627. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  12628. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  12629. property w : TBits_32 read getw write setw;
  12630. end;
  12631. TPORTB_PORTB = record
  12632. private
  12633. function getRB0 : TBits_1; inline;
  12634. function getRB1 : TBits_1; inline;
  12635. function getRB10 : TBits_1; inline;
  12636. function getRB11 : TBits_1; inline;
  12637. function getRB12 : TBits_1; inline;
  12638. function getRB13 : TBits_1; inline;
  12639. function getRB14 : TBits_1; inline;
  12640. function getRB15 : TBits_1; inline;
  12641. function getRB2 : TBits_1; inline;
  12642. function getRB3 : TBits_1; inline;
  12643. function getRB4 : TBits_1; inline;
  12644. function getRB5 : TBits_1; inline;
  12645. function getRB6 : TBits_1; inline;
  12646. function getRB7 : TBits_1; inline;
  12647. function getRB8 : TBits_1; inline;
  12648. function getRB9 : TBits_1; inline;
  12649. function getw : TBits_32; inline;
  12650. procedure setRB0(thebits : TBits_1); inline;
  12651. procedure setRB1(thebits : TBits_1); inline;
  12652. procedure setRB10(thebits : TBits_1); inline;
  12653. procedure setRB11(thebits : TBits_1); inline;
  12654. procedure setRB12(thebits : TBits_1); inline;
  12655. procedure setRB13(thebits : TBits_1); inline;
  12656. procedure setRB14(thebits : TBits_1); inline;
  12657. procedure setRB15(thebits : TBits_1); inline;
  12658. procedure setRB2(thebits : TBits_1); inline;
  12659. procedure setRB3(thebits : TBits_1); inline;
  12660. procedure setRB4(thebits : TBits_1); inline;
  12661. procedure setRB5(thebits : TBits_1); inline;
  12662. procedure setRB6(thebits : TBits_1); inline;
  12663. procedure setRB7(thebits : TBits_1); inline;
  12664. procedure setRB8(thebits : TBits_1); inline;
  12665. procedure setRB9(thebits : TBits_1); inline;
  12666. procedure setw(thebits : TBits_32); inline;
  12667. public
  12668. procedure clearRB0; inline;
  12669. procedure clearRB10; inline;
  12670. procedure clearRB11; inline;
  12671. procedure clearRB12; inline;
  12672. procedure clearRB13; inline;
  12673. procedure clearRB14; inline;
  12674. procedure clearRB15; inline;
  12675. procedure clearRB1; inline;
  12676. procedure clearRB2; inline;
  12677. procedure clearRB3; inline;
  12678. procedure clearRB4; inline;
  12679. procedure clearRB5; inline;
  12680. procedure clearRB6; inline;
  12681. procedure clearRB7; inline;
  12682. procedure clearRB8; inline;
  12683. procedure clearRB9; inline;
  12684. procedure setRB0; inline;
  12685. procedure setRB10; inline;
  12686. procedure setRB11; inline;
  12687. procedure setRB12; inline;
  12688. procedure setRB13; inline;
  12689. procedure setRB14; inline;
  12690. procedure setRB15; inline;
  12691. procedure setRB1; inline;
  12692. procedure setRB2; inline;
  12693. procedure setRB3; inline;
  12694. procedure setRB4; inline;
  12695. procedure setRB5; inline;
  12696. procedure setRB6; inline;
  12697. procedure setRB7; inline;
  12698. procedure setRB8; inline;
  12699. procedure setRB9; inline;
  12700. property RB0 : TBits_1 read getRB0 write setRB0;
  12701. property RB1 : TBits_1 read getRB1 write setRB1;
  12702. property RB10 : TBits_1 read getRB10 write setRB10;
  12703. property RB11 : TBits_1 read getRB11 write setRB11;
  12704. property RB12 : TBits_1 read getRB12 write setRB12;
  12705. property RB13 : TBits_1 read getRB13 write setRB13;
  12706. property RB14 : TBits_1 read getRB14 write setRB14;
  12707. property RB15 : TBits_1 read getRB15 write setRB15;
  12708. property RB2 : TBits_1 read getRB2 write setRB2;
  12709. property RB3 : TBits_1 read getRB3 write setRB3;
  12710. property RB4 : TBits_1 read getRB4 write setRB4;
  12711. property RB5 : TBits_1 read getRB5 write setRB5;
  12712. property RB6 : TBits_1 read getRB6 write setRB6;
  12713. property RB7 : TBits_1 read getRB7 write setRB7;
  12714. property RB8 : TBits_1 read getRB8 write setRB8;
  12715. property RB9 : TBits_1 read getRB9 write setRB9;
  12716. property w : TBits_32 read getw write setw;
  12717. end;
  12718. 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);
  12719. TPortB_bitset = set of TPortB_bits;
  12720. TPORTB_LATB = record
  12721. private
  12722. function getLATB0 : TBits_1; inline;
  12723. function getLATB1 : TBits_1; inline;
  12724. function getLATB10 : TBits_1; inline;
  12725. function getLATB11 : TBits_1; inline;
  12726. function getLATB12 : TBits_1; inline;
  12727. function getLATB13 : TBits_1; inline;
  12728. function getLATB14 : TBits_1; inline;
  12729. function getLATB15 : TBits_1; inline;
  12730. function getLATB2 : TBits_1; inline;
  12731. function getLATB3 : TBits_1; inline;
  12732. function getLATB4 : TBits_1; inline;
  12733. function getLATB5 : TBits_1; inline;
  12734. function getLATB6 : TBits_1; inline;
  12735. function getLATB7 : TBits_1; inline;
  12736. function getLATB8 : TBits_1; inline;
  12737. function getLATB9 : TBits_1; inline;
  12738. function getw : TBits_32; inline;
  12739. procedure setLATB0(thebits : TBits_1); inline;
  12740. procedure setLATB1(thebits : TBits_1); inline;
  12741. procedure setLATB10(thebits : TBits_1); inline;
  12742. procedure setLATB11(thebits : TBits_1); inline;
  12743. procedure setLATB12(thebits : TBits_1); inline;
  12744. procedure setLATB13(thebits : TBits_1); inline;
  12745. procedure setLATB14(thebits : TBits_1); inline;
  12746. procedure setLATB15(thebits : TBits_1); inline;
  12747. procedure setLATB2(thebits : TBits_1); inline;
  12748. procedure setLATB3(thebits : TBits_1); inline;
  12749. procedure setLATB4(thebits : TBits_1); inline;
  12750. procedure setLATB5(thebits : TBits_1); inline;
  12751. procedure setLATB6(thebits : TBits_1); inline;
  12752. procedure setLATB7(thebits : TBits_1); inline;
  12753. procedure setLATB8(thebits : TBits_1); inline;
  12754. procedure setLATB9(thebits : TBits_1); inline;
  12755. procedure setw(thebits : TBits_32); inline;
  12756. public
  12757. procedure clearLATB0; inline;
  12758. procedure clearLATB10; inline;
  12759. procedure clearLATB11; inline;
  12760. procedure clearLATB12; inline;
  12761. procedure clearLATB13; inline;
  12762. procedure clearLATB14; inline;
  12763. procedure clearLATB15; inline;
  12764. procedure clearLATB1; inline;
  12765. procedure clearLATB2; inline;
  12766. procedure clearLATB3; inline;
  12767. procedure clearLATB4; inline;
  12768. procedure clearLATB5; inline;
  12769. procedure clearLATB6; inline;
  12770. procedure clearLATB7; inline;
  12771. procedure clearLATB8; inline;
  12772. procedure clearLATB9; inline;
  12773. procedure setLATB0; inline;
  12774. procedure setLATB10; inline;
  12775. procedure setLATB11; inline;
  12776. procedure setLATB12; inline;
  12777. procedure setLATB13; inline;
  12778. procedure setLATB14; inline;
  12779. procedure setLATB15; inline;
  12780. procedure setLATB1; inline;
  12781. procedure setLATB2; inline;
  12782. procedure setLATB3; inline;
  12783. procedure setLATB4; inline;
  12784. procedure setLATB5; inline;
  12785. procedure setLATB6; inline;
  12786. procedure setLATB7; inline;
  12787. procedure setLATB8; inline;
  12788. procedure setLATB9; inline;
  12789. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  12790. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  12791. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  12792. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  12793. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  12794. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  12795. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  12796. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  12797. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  12798. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  12799. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  12800. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  12801. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  12802. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  12803. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  12804. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  12805. property w : TBits_32 read getw write setw;
  12806. end;
  12807. TPORTB_ODCB = record
  12808. private
  12809. function getODCB0 : TBits_1; inline;
  12810. function getODCB1 : TBits_1; inline;
  12811. function getODCB10 : TBits_1; inline;
  12812. function getODCB11 : TBits_1; inline;
  12813. function getODCB12 : TBits_1; inline;
  12814. function getODCB13 : TBits_1; inline;
  12815. function getODCB14 : TBits_1; inline;
  12816. function getODCB15 : TBits_1; inline;
  12817. function getODCB2 : TBits_1; inline;
  12818. function getODCB3 : TBits_1; inline;
  12819. function getODCB4 : TBits_1; inline;
  12820. function getODCB5 : TBits_1; inline;
  12821. function getODCB6 : TBits_1; inline;
  12822. function getODCB7 : TBits_1; inline;
  12823. function getODCB8 : TBits_1; inline;
  12824. function getODCB9 : TBits_1; inline;
  12825. function getw : TBits_32; inline;
  12826. procedure setODCB0(thebits : TBits_1); inline;
  12827. procedure setODCB1(thebits : TBits_1); inline;
  12828. procedure setODCB10(thebits : TBits_1); inline;
  12829. procedure setODCB11(thebits : TBits_1); inline;
  12830. procedure setODCB12(thebits : TBits_1); inline;
  12831. procedure setODCB13(thebits : TBits_1); inline;
  12832. procedure setODCB14(thebits : TBits_1); inline;
  12833. procedure setODCB15(thebits : TBits_1); inline;
  12834. procedure setODCB2(thebits : TBits_1); inline;
  12835. procedure setODCB3(thebits : TBits_1); inline;
  12836. procedure setODCB4(thebits : TBits_1); inline;
  12837. procedure setODCB5(thebits : TBits_1); inline;
  12838. procedure setODCB6(thebits : TBits_1); inline;
  12839. procedure setODCB7(thebits : TBits_1); inline;
  12840. procedure setODCB8(thebits : TBits_1); inline;
  12841. procedure setODCB9(thebits : TBits_1); inline;
  12842. procedure setw(thebits : TBits_32); inline;
  12843. public
  12844. procedure clearODCB0; inline;
  12845. procedure clearODCB10; inline;
  12846. procedure clearODCB11; inline;
  12847. procedure clearODCB12; inline;
  12848. procedure clearODCB13; inline;
  12849. procedure clearODCB14; inline;
  12850. procedure clearODCB15; inline;
  12851. procedure clearODCB1; inline;
  12852. procedure clearODCB2; inline;
  12853. procedure clearODCB3; inline;
  12854. procedure clearODCB4; inline;
  12855. procedure clearODCB5; inline;
  12856. procedure clearODCB6; inline;
  12857. procedure clearODCB7; inline;
  12858. procedure clearODCB8; inline;
  12859. procedure clearODCB9; inline;
  12860. procedure setODCB0; inline;
  12861. procedure setODCB10; inline;
  12862. procedure setODCB11; inline;
  12863. procedure setODCB12; inline;
  12864. procedure setODCB13; inline;
  12865. procedure setODCB14; inline;
  12866. procedure setODCB15; inline;
  12867. procedure setODCB1; inline;
  12868. procedure setODCB2; inline;
  12869. procedure setODCB3; inline;
  12870. procedure setODCB4; inline;
  12871. procedure setODCB5; inline;
  12872. procedure setODCB6; inline;
  12873. procedure setODCB7; inline;
  12874. procedure setODCB8; inline;
  12875. procedure setODCB9; inline;
  12876. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  12877. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  12878. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  12879. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  12880. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  12881. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  12882. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  12883. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  12884. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  12885. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  12886. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  12887. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  12888. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  12889. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  12890. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  12891. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  12892. property w : TBits_32 read getw write setw;
  12893. end;
  12894. type
  12895. TPORTBRegisters = record
  12896. TRISBbits : TPORTB_TRISB;
  12897. TRISB : longWord;
  12898. TRISBCLR : longWord;
  12899. TRISBSET : longWord;
  12900. TRISBINV : longWord;
  12901. PORTBbits : TPORTB_PORTB;
  12902. PORTB : longWord;
  12903. PORTBCLR : longWord;
  12904. PORTBSET : longWord;
  12905. PORTBINV : longWord;
  12906. LATBbits : TPORTB_LATB;
  12907. LATB : longWord;
  12908. LATBCLR : longWord;
  12909. LATBSET : longWord;
  12910. LATBINV : longWord;
  12911. ODCBbits : TPORTB_ODCB;
  12912. ODCB : longWord;
  12913. ODCBCLR : longWord;
  12914. ODCBSET : longWord;
  12915. ODCBINV : longWord;
  12916. end;
  12917. TPORTC_TRISC = record
  12918. private
  12919. function getTRISC12 : TBits_1; inline;
  12920. function getTRISC13 : TBits_1; inline;
  12921. function getTRISC14 : TBits_1; inline;
  12922. function getTRISC15 : TBits_1; inline;
  12923. function getw : TBits_32; inline;
  12924. procedure setTRISC12(thebits : TBits_1); inline;
  12925. procedure setTRISC13(thebits : TBits_1); inline;
  12926. procedure setTRISC14(thebits : TBits_1); inline;
  12927. procedure setTRISC15(thebits : TBits_1); inline;
  12928. procedure setw(thebits : TBits_32); inline;
  12929. public
  12930. procedure clearTRISC12; inline;
  12931. procedure clearTRISC13; inline;
  12932. procedure clearTRISC14; inline;
  12933. procedure clearTRISC15; inline;
  12934. procedure setTRISC12; inline;
  12935. procedure setTRISC13; inline;
  12936. procedure setTRISC14; inline;
  12937. procedure setTRISC15; inline;
  12938. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  12939. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  12940. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  12941. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  12942. property w : TBits_32 read getw write setw;
  12943. end;
  12944. TPORTC_PORTC = record
  12945. private
  12946. function getRC12 : TBits_1; inline;
  12947. function getRC13 : TBits_1; inline;
  12948. function getRC14 : TBits_1; inline;
  12949. function getRC15 : TBits_1; inline;
  12950. function getw : TBits_32; inline;
  12951. procedure setRC12(thebits : TBits_1); inline;
  12952. procedure setRC13(thebits : TBits_1); inline;
  12953. procedure setRC14(thebits : TBits_1); inline;
  12954. procedure setRC15(thebits : TBits_1); inline;
  12955. procedure setw(thebits : TBits_32); inline;
  12956. public
  12957. procedure clearRC12; inline;
  12958. procedure clearRC13; inline;
  12959. procedure clearRC14; inline;
  12960. procedure clearRC15; inline;
  12961. procedure setRC12; inline;
  12962. procedure setRC13; inline;
  12963. procedure setRC14; inline;
  12964. procedure setRC15; inline;
  12965. property RC12 : TBits_1 read getRC12 write setRC12;
  12966. property RC13 : TBits_1 read getRC13 write setRC13;
  12967. property RC14 : TBits_1 read getRC14 write setRC14;
  12968. property RC15 : TBits_1 read getRC15 write setRC15;
  12969. property w : TBits_32 read getw write setw;
  12970. end;
  12971. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  12972. TPortC_bitset = set of TPortC_bits;
  12973. TPORTC_LATC = record
  12974. private
  12975. function getLATC12 : TBits_1; inline;
  12976. function getLATC13 : TBits_1; inline;
  12977. function getLATC14 : TBits_1; inline;
  12978. function getLATC15 : TBits_1; inline;
  12979. function getw : TBits_32; inline;
  12980. procedure setLATC12(thebits : TBits_1); inline;
  12981. procedure setLATC13(thebits : TBits_1); inline;
  12982. procedure setLATC14(thebits : TBits_1); inline;
  12983. procedure setLATC15(thebits : TBits_1); inline;
  12984. procedure setw(thebits : TBits_32); inline;
  12985. public
  12986. procedure clearLATC12; inline;
  12987. procedure clearLATC13; inline;
  12988. procedure clearLATC14; inline;
  12989. procedure clearLATC15; inline;
  12990. procedure setLATC12; inline;
  12991. procedure setLATC13; inline;
  12992. procedure setLATC14; inline;
  12993. procedure setLATC15; inline;
  12994. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  12995. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  12996. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  12997. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  12998. property w : TBits_32 read getw write setw;
  12999. end;
  13000. TPORTC_ODCC = record
  13001. private
  13002. function getODCC12 : TBits_1; inline;
  13003. function getODCC13 : TBits_1; inline;
  13004. function getODCC14 : TBits_1; inline;
  13005. function getODCC15 : TBits_1; inline;
  13006. function getw : TBits_32; inline;
  13007. procedure setODCC12(thebits : TBits_1); inline;
  13008. procedure setODCC13(thebits : TBits_1); inline;
  13009. procedure setODCC14(thebits : TBits_1); inline;
  13010. procedure setODCC15(thebits : TBits_1); inline;
  13011. procedure setw(thebits : TBits_32); inline;
  13012. public
  13013. procedure clearODCC12; inline;
  13014. procedure clearODCC13; inline;
  13015. procedure clearODCC14; inline;
  13016. procedure clearODCC15; inline;
  13017. procedure setODCC12; inline;
  13018. procedure setODCC13; inline;
  13019. procedure setODCC14; inline;
  13020. procedure setODCC15; inline;
  13021. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  13022. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  13023. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  13024. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  13025. property w : TBits_32 read getw write setw;
  13026. end;
  13027. type
  13028. TPORTCRegisters = record
  13029. TRISCbits : TPORTC_TRISC;
  13030. TRISC : longWord;
  13031. TRISCCLR : longWord;
  13032. TRISCSET : longWord;
  13033. TRISCINV : longWord;
  13034. PORTCbits : TPORTC_PORTC;
  13035. PORTC : longWord;
  13036. PORTCCLR : longWord;
  13037. PORTCSET : longWord;
  13038. PORTCINV : longWord;
  13039. LATCbits : TPORTC_LATC;
  13040. LATC : longWord;
  13041. LATCCLR : longWord;
  13042. LATCSET : longWord;
  13043. LATCINV : longWord;
  13044. ODCCbits : TPORTC_ODCC;
  13045. ODCC : longWord;
  13046. ODCCCLR : longWord;
  13047. ODCCSET : longWord;
  13048. ODCCINV : longWord;
  13049. end;
  13050. TPORTD_TRISD = record
  13051. private
  13052. function getTRISD0 : TBits_1; inline;
  13053. function getTRISD1 : TBits_1; inline;
  13054. function getTRISD10 : TBits_1; inline;
  13055. function getTRISD11 : TBits_1; inline;
  13056. function getTRISD2 : TBits_1; inline;
  13057. function getTRISD3 : TBits_1; inline;
  13058. function getTRISD4 : TBits_1; inline;
  13059. function getTRISD5 : TBits_1; inline;
  13060. function getTRISD6 : TBits_1; inline;
  13061. function getTRISD7 : TBits_1; inline;
  13062. function getTRISD8 : TBits_1; inline;
  13063. function getTRISD9 : TBits_1; inline;
  13064. function getw : TBits_32; inline;
  13065. procedure setTRISD0(thebits : TBits_1); inline;
  13066. procedure setTRISD1(thebits : TBits_1); inline;
  13067. procedure setTRISD10(thebits : TBits_1); inline;
  13068. procedure setTRISD11(thebits : TBits_1); inline;
  13069. procedure setTRISD2(thebits : TBits_1); inline;
  13070. procedure setTRISD3(thebits : TBits_1); inline;
  13071. procedure setTRISD4(thebits : TBits_1); inline;
  13072. procedure setTRISD5(thebits : TBits_1); inline;
  13073. procedure setTRISD6(thebits : TBits_1); inline;
  13074. procedure setTRISD7(thebits : TBits_1); inline;
  13075. procedure setTRISD8(thebits : TBits_1); inline;
  13076. procedure setTRISD9(thebits : TBits_1); inline;
  13077. procedure setw(thebits : TBits_32); inline;
  13078. public
  13079. procedure clearTRISD0; inline;
  13080. procedure clearTRISD10; inline;
  13081. procedure clearTRISD11; inline;
  13082. procedure clearTRISD1; inline;
  13083. procedure clearTRISD2; inline;
  13084. procedure clearTRISD3; inline;
  13085. procedure clearTRISD4; inline;
  13086. procedure clearTRISD5; inline;
  13087. procedure clearTRISD6; inline;
  13088. procedure clearTRISD7; inline;
  13089. procedure clearTRISD8; inline;
  13090. procedure clearTRISD9; inline;
  13091. procedure setTRISD0; inline;
  13092. procedure setTRISD10; inline;
  13093. procedure setTRISD11; inline;
  13094. procedure setTRISD1; inline;
  13095. procedure setTRISD2; inline;
  13096. procedure setTRISD3; inline;
  13097. procedure setTRISD4; inline;
  13098. procedure setTRISD5; inline;
  13099. procedure setTRISD6; inline;
  13100. procedure setTRISD7; inline;
  13101. procedure setTRISD8; inline;
  13102. procedure setTRISD9; inline;
  13103. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  13104. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  13105. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  13106. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  13107. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  13108. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  13109. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  13110. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  13111. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  13112. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  13113. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  13114. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  13115. property w : TBits_32 read getw write setw;
  13116. end;
  13117. TPORTD_PORTD = record
  13118. private
  13119. function getRD0 : TBits_1; inline;
  13120. function getRD1 : TBits_1; inline;
  13121. function getRD10 : TBits_1; inline;
  13122. function getRD11 : TBits_1; inline;
  13123. function getRD2 : TBits_1; inline;
  13124. function getRD3 : TBits_1; inline;
  13125. function getRD4 : TBits_1; inline;
  13126. function getRD5 : TBits_1; inline;
  13127. function getRD6 : TBits_1; inline;
  13128. function getRD7 : TBits_1; inline;
  13129. function getRD8 : TBits_1; inline;
  13130. function getRD9 : TBits_1; inline;
  13131. function getw : TBits_32; inline;
  13132. procedure setRD0(thebits : TBits_1); inline;
  13133. procedure setRD1(thebits : TBits_1); inline;
  13134. procedure setRD10(thebits : TBits_1); inline;
  13135. procedure setRD11(thebits : TBits_1); inline;
  13136. procedure setRD2(thebits : TBits_1); inline;
  13137. procedure setRD3(thebits : TBits_1); inline;
  13138. procedure setRD4(thebits : TBits_1); inline;
  13139. procedure setRD5(thebits : TBits_1); inline;
  13140. procedure setRD6(thebits : TBits_1); inline;
  13141. procedure setRD7(thebits : TBits_1); inline;
  13142. procedure setRD8(thebits : TBits_1); inline;
  13143. procedure setRD9(thebits : TBits_1); inline;
  13144. procedure setw(thebits : TBits_32); inline;
  13145. public
  13146. procedure clearRD0; inline;
  13147. procedure clearRD10; inline;
  13148. procedure clearRD11; inline;
  13149. procedure clearRD1; inline;
  13150. procedure clearRD2; inline;
  13151. procedure clearRD3; inline;
  13152. procedure clearRD4; inline;
  13153. procedure clearRD5; inline;
  13154. procedure clearRD6; inline;
  13155. procedure clearRD7; inline;
  13156. procedure clearRD8; inline;
  13157. procedure clearRD9; inline;
  13158. procedure setRD0; inline;
  13159. procedure setRD10; inline;
  13160. procedure setRD11; inline;
  13161. procedure setRD1; inline;
  13162. procedure setRD2; inline;
  13163. procedure setRD3; inline;
  13164. procedure setRD4; inline;
  13165. procedure setRD5; inline;
  13166. procedure setRD6; inline;
  13167. procedure setRD7; inline;
  13168. procedure setRD8; inline;
  13169. procedure setRD9; inline;
  13170. property RD0 : TBits_1 read getRD0 write setRD0;
  13171. property RD1 : TBits_1 read getRD1 write setRD1;
  13172. property RD10 : TBits_1 read getRD10 write setRD10;
  13173. property RD11 : TBits_1 read getRD11 write setRD11;
  13174. property RD2 : TBits_1 read getRD2 write setRD2;
  13175. property RD3 : TBits_1 read getRD3 write setRD3;
  13176. property RD4 : TBits_1 read getRD4 write setRD4;
  13177. property RD5 : TBits_1 read getRD5 write setRD5;
  13178. property RD6 : TBits_1 read getRD6 write setRD6;
  13179. property RD7 : TBits_1 read getRD7 write setRD7;
  13180. property RD8 : TBits_1 read getRD8 write setRD8;
  13181. property RD9 : TBits_1 read getRD9 write setRD9;
  13182. property w : TBits_32 read getw write setw;
  13183. end;
  13184. 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);
  13185. TPortD_bitset = set of TPortD_bits;
  13186. TPORTD_LATD = record
  13187. private
  13188. function getLATD0 : TBits_1; inline;
  13189. function getLATD1 : TBits_1; inline;
  13190. function getLATD10 : TBits_1; inline;
  13191. function getLATD11 : TBits_1; inline;
  13192. function getLATD2 : TBits_1; inline;
  13193. function getLATD3 : TBits_1; inline;
  13194. function getLATD4 : TBits_1; inline;
  13195. function getLATD5 : TBits_1; inline;
  13196. function getLATD6 : TBits_1; inline;
  13197. function getLATD7 : TBits_1; inline;
  13198. function getLATD8 : TBits_1; inline;
  13199. function getLATD9 : TBits_1; inline;
  13200. function getw : TBits_32; inline;
  13201. procedure setLATD0(thebits : TBits_1); inline;
  13202. procedure setLATD1(thebits : TBits_1); inline;
  13203. procedure setLATD10(thebits : TBits_1); inline;
  13204. procedure setLATD11(thebits : TBits_1); inline;
  13205. procedure setLATD2(thebits : TBits_1); inline;
  13206. procedure setLATD3(thebits : TBits_1); inline;
  13207. procedure setLATD4(thebits : TBits_1); inline;
  13208. procedure setLATD5(thebits : TBits_1); inline;
  13209. procedure setLATD6(thebits : TBits_1); inline;
  13210. procedure setLATD7(thebits : TBits_1); inline;
  13211. procedure setLATD8(thebits : TBits_1); inline;
  13212. procedure setLATD9(thebits : TBits_1); inline;
  13213. procedure setw(thebits : TBits_32); inline;
  13214. public
  13215. procedure clearLATD0; inline;
  13216. procedure clearLATD10; inline;
  13217. procedure clearLATD11; inline;
  13218. procedure clearLATD1; inline;
  13219. procedure clearLATD2; inline;
  13220. procedure clearLATD3; inline;
  13221. procedure clearLATD4; inline;
  13222. procedure clearLATD5; inline;
  13223. procedure clearLATD6; inline;
  13224. procedure clearLATD7; inline;
  13225. procedure clearLATD8; inline;
  13226. procedure clearLATD9; inline;
  13227. procedure setLATD0; inline;
  13228. procedure setLATD10; inline;
  13229. procedure setLATD11; inline;
  13230. procedure setLATD1; inline;
  13231. procedure setLATD2; inline;
  13232. procedure setLATD3; inline;
  13233. procedure setLATD4; inline;
  13234. procedure setLATD5; inline;
  13235. procedure setLATD6; inline;
  13236. procedure setLATD7; inline;
  13237. procedure setLATD8; inline;
  13238. procedure setLATD9; inline;
  13239. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  13240. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  13241. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  13242. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  13243. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  13244. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  13245. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  13246. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  13247. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  13248. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  13249. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  13250. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  13251. property w : TBits_32 read getw write setw;
  13252. end;
  13253. TPORTD_ODCD = record
  13254. private
  13255. function getODCD0 : TBits_1; inline;
  13256. function getODCD1 : TBits_1; inline;
  13257. function getODCD10 : TBits_1; inline;
  13258. function getODCD11 : TBits_1; inline;
  13259. function getODCD2 : TBits_1; inline;
  13260. function getODCD3 : TBits_1; inline;
  13261. function getODCD4 : TBits_1; inline;
  13262. function getODCD5 : TBits_1; inline;
  13263. function getODCD6 : TBits_1; inline;
  13264. function getODCD7 : TBits_1; inline;
  13265. function getODCD8 : TBits_1; inline;
  13266. function getODCD9 : TBits_1; inline;
  13267. function getw : TBits_32; inline;
  13268. procedure setODCD0(thebits : TBits_1); inline;
  13269. procedure setODCD1(thebits : TBits_1); inline;
  13270. procedure setODCD10(thebits : TBits_1); inline;
  13271. procedure setODCD11(thebits : TBits_1); inline;
  13272. procedure setODCD2(thebits : TBits_1); inline;
  13273. procedure setODCD3(thebits : TBits_1); inline;
  13274. procedure setODCD4(thebits : TBits_1); inline;
  13275. procedure setODCD5(thebits : TBits_1); inline;
  13276. procedure setODCD6(thebits : TBits_1); inline;
  13277. procedure setODCD7(thebits : TBits_1); inline;
  13278. procedure setODCD8(thebits : TBits_1); inline;
  13279. procedure setODCD9(thebits : TBits_1); inline;
  13280. procedure setw(thebits : TBits_32); inline;
  13281. public
  13282. procedure clearODCD0; inline;
  13283. procedure clearODCD10; inline;
  13284. procedure clearODCD11; inline;
  13285. procedure clearODCD1; inline;
  13286. procedure clearODCD2; inline;
  13287. procedure clearODCD3; inline;
  13288. procedure clearODCD4; inline;
  13289. procedure clearODCD5; inline;
  13290. procedure clearODCD6; inline;
  13291. procedure clearODCD7; inline;
  13292. procedure clearODCD8; inline;
  13293. procedure clearODCD9; inline;
  13294. procedure setODCD0; inline;
  13295. procedure setODCD10; inline;
  13296. procedure setODCD11; inline;
  13297. procedure setODCD1; inline;
  13298. procedure setODCD2; inline;
  13299. procedure setODCD3; inline;
  13300. procedure setODCD4; inline;
  13301. procedure setODCD5; inline;
  13302. procedure setODCD6; inline;
  13303. procedure setODCD7; inline;
  13304. procedure setODCD8; inline;
  13305. procedure setODCD9; inline;
  13306. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  13307. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  13308. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  13309. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  13310. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  13311. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  13312. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  13313. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  13314. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  13315. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  13316. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  13317. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  13318. property w : TBits_32 read getw write setw;
  13319. end;
  13320. type
  13321. TPORTDRegisters = record
  13322. TRISDbits : TPORTD_TRISD;
  13323. TRISD : longWord;
  13324. TRISDCLR : longWord;
  13325. TRISDSET : longWord;
  13326. TRISDINV : longWord;
  13327. PORTDbits : TPORTD_PORTD;
  13328. PORTD : longWord;
  13329. PORTDCLR : longWord;
  13330. PORTDSET : longWord;
  13331. PORTDINV : longWord;
  13332. LATDbits : TPORTD_LATD;
  13333. LATD : longWord;
  13334. LATDCLR : longWord;
  13335. LATDSET : longWord;
  13336. LATDINV : longWord;
  13337. ODCDbits : TPORTD_ODCD;
  13338. ODCD : longWord;
  13339. ODCDCLR : longWord;
  13340. ODCDSET : longWord;
  13341. ODCDINV : longWord;
  13342. end;
  13343. TPORTE_TRISE = record
  13344. private
  13345. function getTRISE0 : TBits_1; inline;
  13346. function getTRISE1 : TBits_1; inline;
  13347. function getTRISE2 : TBits_1; inline;
  13348. function getTRISE3 : TBits_1; inline;
  13349. function getTRISE4 : TBits_1; inline;
  13350. function getTRISE5 : TBits_1; inline;
  13351. function getTRISE6 : TBits_1; inline;
  13352. function getTRISE7 : TBits_1; inline;
  13353. function getw : TBits_32; inline;
  13354. procedure setTRISE0(thebits : TBits_1); inline;
  13355. procedure setTRISE1(thebits : TBits_1); inline;
  13356. procedure setTRISE2(thebits : TBits_1); inline;
  13357. procedure setTRISE3(thebits : TBits_1); inline;
  13358. procedure setTRISE4(thebits : TBits_1); inline;
  13359. procedure setTRISE5(thebits : TBits_1); inline;
  13360. procedure setTRISE6(thebits : TBits_1); inline;
  13361. procedure setTRISE7(thebits : TBits_1); inline;
  13362. procedure setw(thebits : TBits_32); inline;
  13363. public
  13364. procedure clearTRISE0; inline;
  13365. procedure clearTRISE1; inline;
  13366. procedure clearTRISE2; inline;
  13367. procedure clearTRISE3; inline;
  13368. procedure clearTRISE4; inline;
  13369. procedure clearTRISE5; inline;
  13370. procedure clearTRISE6; inline;
  13371. procedure clearTRISE7; inline;
  13372. procedure setTRISE0; inline;
  13373. procedure setTRISE1; inline;
  13374. procedure setTRISE2; inline;
  13375. procedure setTRISE3; inline;
  13376. procedure setTRISE4; inline;
  13377. procedure setTRISE5; inline;
  13378. procedure setTRISE6; inline;
  13379. procedure setTRISE7; inline;
  13380. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  13381. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  13382. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  13383. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  13384. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  13385. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  13386. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  13387. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  13388. property w : TBits_32 read getw write setw;
  13389. end;
  13390. TPORTE_PORTE = record
  13391. private
  13392. function getRE0 : TBits_1; inline;
  13393. function getRE1 : TBits_1; inline;
  13394. function getRE2 : TBits_1; inline;
  13395. function getRE3 : TBits_1; inline;
  13396. function getRE4 : TBits_1; inline;
  13397. function getRE5 : TBits_1; inline;
  13398. function getRE6 : TBits_1; inline;
  13399. function getRE7 : TBits_1; inline;
  13400. function getw : TBits_32; inline;
  13401. procedure setRE0(thebits : TBits_1); inline;
  13402. procedure setRE1(thebits : TBits_1); inline;
  13403. procedure setRE2(thebits : TBits_1); inline;
  13404. procedure setRE3(thebits : TBits_1); inline;
  13405. procedure setRE4(thebits : TBits_1); inline;
  13406. procedure setRE5(thebits : TBits_1); inline;
  13407. procedure setRE6(thebits : TBits_1); inline;
  13408. procedure setRE7(thebits : TBits_1); inline;
  13409. procedure setw(thebits : TBits_32); inline;
  13410. public
  13411. procedure clearRE0; inline;
  13412. procedure clearRE1; inline;
  13413. procedure clearRE2; inline;
  13414. procedure clearRE3; inline;
  13415. procedure clearRE4; inline;
  13416. procedure clearRE5; inline;
  13417. procedure clearRE6; inline;
  13418. procedure clearRE7; inline;
  13419. procedure setRE0; inline;
  13420. procedure setRE1; inline;
  13421. procedure setRE2; inline;
  13422. procedure setRE3; inline;
  13423. procedure setRE4; inline;
  13424. procedure setRE5; inline;
  13425. procedure setRE6; inline;
  13426. procedure setRE7; inline;
  13427. property RE0 : TBits_1 read getRE0 write setRE0;
  13428. property RE1 : TBits_1 read getRE1 write setRE1;
  13429. property RE2 : TBits_1 read getRE2 write setRE2;
  13430. property RE3 : TBits_1 read getRE3 write setRE3;
  13431. property RE4 : TBits_1 read getRE4 write setRE4;
  13432. property RE5 : TBits_1 read getRE5 write setRE5;
  13433. property RE6 : TBits_1 read getRE6 write setRE6;
  13434. property RE7 : TBits_1 read getRE7 write setRE7;
  13435. property w : TBits_32 read getw write setw;
  13436. end;
  13437. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  13438. TPortE_bitset = set of TPortE_bits;
  13439. TPORTE_LATE = record
  13440. private
  13441. function getLATE0 : TBits_1; inline;
  13442. function getLATE1 : TBits_1; inline;
  13443. function getLATE2 : TBits_1; inline;
  13444. function getLATE3 : TBits_1; inline;
  13445. function getLATE4 : TBits_1; inline;
  13446. function getLATE5 : TBits_1; inline;
  13447. function getLATE6 : TBits_1; inline;
  13448. function getLATE7 : TBits_1; inline;
  13449. function getw : TBits_32; inline;
  13450. procedure setLATE0(thebits : TBits_1); inline;
  13451. procedure setLATE1(thebits : TBits_1); inline;
  13452. procedure setLATE2(thebits : TBits_1); inline;
  13453. procedure setLATE3(thebits : TBits_1); inline;
  13454. procedure setLATE4(thebits : TBits_1); inline;
  13455. procedure setLATE5(thebits : TBits_1); inline;
  13456. procedure setLATE6(thebits : TBits_1); inline;
  13457. procedure setLATE7(thebits : TBits_1); inline;
  13458. procedure setw(thebits : TBits_32); inline;
  13459. public
  13460. procedure clearLATE0; inline;
  13461. procedure clearLATE1; inline;
  13462. procedure clearLATE2; inline;
  13463. procedure clearLATE3; inline;
  13464. procedure clearLATE4; inline;
  13465. procedure clearLATE5; inline;
  13466. procedure clearLATE6; inline;
  13467. procedure clearLATE7; inline;
  13468. procedure setLATE0; inline;
  13469. procedure setLATE1; inline;
  13470. procedure setLATE2; inline;
  13471. procedure setLATE3; inline;
  13472. procedure setLATE4; inline;
  13473. procedure setLATE5; inline;
  13474. procedure setLATE6; inline;
  13475. procedure setLATE7; inline;
  13476. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  13477. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  13478. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  13479. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  13480. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  13481. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  13482. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  13483. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  13484. property w : TBits_32 read getw write setw;
  13485. end;
  13486. TPORTE_ODCE = record
  13487. private
  13488. function getODCE0 : TBits_1; inline;
  13489. function getODCE1 : TBits_1; inline;
  13490. function getODCE2 : TBits_1; inline;
  13491. function getODCE3 : TBits_1; inline;
  13492. function getODCE4 : TBits_1; inline;
  13493. function getODCE5 : TBits_1; inline;
  13494. function getODCE6 : TBits_1; inline;
  13495. function getODCE7 : TBits_1; inline;
  13496. function getw : TBits_32; inline;
  13497. procedure setODCE0(thebits : TBits_1); inline;
  13498. procedure setODCE1(thebits : TBits_1); inline;
  13499. procedure setODCE2(thebits : TBits_1); inline;
  13500. procedure setODCE3(thebits : TBits_1); inline;
  13501. procedure setODCE4(thebits : TBits_1); inline;
  13502. procedure setODCE5(thebits : TBits_1); inline;
  13503. procedure setODCE6(thebits : TBits_1); inline;
  13504. procedure setODCE7(thebits : TBits_1); inline;
  13505. procedure setw(thebits : TBits_32); inline;
  13506. public
  13507. procedure clearODCE0; inline;
  13508. procedure clearODCE1; inline;
  13509. procedure clearODCE2; inline;
  13510. procedure clearODCE3; inline;
  13511. procedure clearODCE4; inline;
  13512. procedure clearODCE5; inline;
  13513. procedure clearODCE6; inline;
  13514. procedure clearODCE7; inline;
  13515. procedure setODCE0; inline;
  13516. procedure setODCE1; inline;
  13517. procedure setODCE2; inline;
  13518. procedure setODCE3; inline;
  13519. procedure setODCE4; inline;
  13520. procedure setODCE5; inline;
  13521. procedure setODCE6; inline;
  13522. procedure setODCE7; inline;
  13523. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  13524. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  13525. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  13526. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  13527. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  13528. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  13529. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  13530. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  13531. property w : TBits_32 read getw write setw;
  13532. end;
  13533. type
  13534. TPORTERegisters = record
  13535. TRISEbits : TPORTE_TRISE;
  13536. TRISE : longWord;
  13537. TRISECLR : longWord;
  13538. TRISESET : longWord;
  13539. TRISEINV : longWord;
  13540. PORTEbits : TPORTE_PORTE;
  13541. PORTE : longWord;
  13542. PORTECLR : longWord;
  13543. PORTESET : longWord;
  13544. PORTEINV : longWord;
  13545. LATEbits : TPORTE_LATE;
  13546. LATE : longWord;
  13547. LATECLR : longWord;
  13548. LATESET : longWord;
  13549. LATEINV : longWord;
  13550. ODCEbits : TPORTE_ODCE;
  13551. ODCE : longWord;
  13552. ODCECLR : longWord;
  13553. ODCESET : longWord;
  13554. ODCEINV : longWord;
  13555. end;
  13556. TPORTF_TRISF = record
  13557. private
  13558. function getTRISF0 : TBits_1; inline;
  13559. function getTRISF1 : TBits_1; inline;
  13560. function getTRISF2 : TBits_1; inline;
  13561. function getTRISF3 : TBits_1; inline;
  13562. function getTRISF4 : TBits_1; inline;
  13563. function getTRISF5 : TBits_1; inline;
  13564. function getw : TBits_32; inline;
  13565. procedure setTRISF0(thebits : TBits_1); inline;
  13566. procedure setTRISF1(thebits : TBits_1); inline;
  13567. procedure setTRISF2(thebits : TBits_1); inline;
  13568. procedure setTRISF3(thebits : TBits_1); inline;
  13569. procedure setTRISF4(thebits : TBits_1); inline;
  13570. procedure setTRISF5(thebits : TBits_1); inline;
  13571. procedure setw(thebits : TBits_32); inline;
  13572. public
  13573. procedure clearTRISF0; inline;
  13574. procedure clearTRISF1; inline;
  13575. procedure clearTRISF2; inline;
  13576. procedure clearTRISF3; inline;
  13577. procedure clearTRISF4; inline;
  13578. procedure clearTRISF5; inline;
  13579. procedure setTRISF0; inline;
  13580. procedure setTRISF1; inline;
  13581. procedure setTRISF2; inline;
  13582. procedure setTRISF3; inline;
  13583. procedure setTRISF4; inline;
  13584. procedure setTRISF5; inline;
  13585. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  13586. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  13587. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  13588. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  13589. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  13590. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  13591. property w : TBits_32 read getw write setw;
  13592. end;
  13593. TPORTF_PORTF = record
  13594. private
  13595. function getRF0 : TBits_1; inline;
  13596. function getRF1 : TBits_1; inline;
  13597. function getRF2 : TBits_1; inline;
  13598. function getRF3 : TBits_1; inline;
  13599. function getRF4 : TBits_1; inline;
  13600. function getRF5 : TBits_1; inline;
  13601. function getw : TBits_32; inline;
  13602. procedure setRF0(thebits : TBits_1); inline;
  13603. procedure setRF1(thebits : TBits_1); inline;
  13604. procedure setRF2(thebits : TBits_1); inline;
  13605. procedure setRF3(thebits : TBits_1); inline;
  13606. procedure setRF4(thebits : TBits_1); inline;
  13607. procedure setRF5(thebits : TBits_1); inline;
  13608. procedure setw(thebits : TBits_32); inline;
  13609. public
  13610. procedure clearRF0; inline;
  13611. procedure clearRF1; inline;
  13612. procedure clearRF2; inline;
  13613. procedure clearRF3; inline;
  13614. procedure clearRF4; inline;
  13615. procedure clearRF5; inline;
  13616. procedure setRF0; inline;
  13617. procedure setRF1; inline;
  13618. procedure setRF2; inline;
  13619. procedure setRF3; inline;
  13620. procedure setRF4; inline;
  13621. procedure setRF5; inline;
  13622. property RF0 : TBits_1 read getRF0 write setRF0;
  13623. property RF1 : TBits_1 read getRF1 write setRF1;
  13624. property RF2 : TBits_1 read getRF2 write setRF2;
  13625. property RF3 : TBits_1 read getRF3 write setRF3;
  13626. property RF4 : TBits_1 read getRF4 write setRF4;
  13627. property RF5 : TBits_1 read getRF5 write setRF5;
  13628. property w : TBits_32 read getw write setw;
  13629. end;
  13630. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5);
  13631. TPortF_bitset = set of TPortF_bits;
  13632. TPORTF_LATF = record
  13633. private
  13634. function getLATF0 : TBits_1; inline;
  13635. function getLATF1 : TBits_1; inline;
  13636. function getLATF2 : TBits_1; inline;
  13637. function getLATF3 : TBits_1; inline;
  13638. function getLATF4 : TBits_1; inline;
  13639. function getLATF5 : TBits_1; inline;
  13640. function getw : TBits_32; inline;
  13641. procedure setLATF0(thebits : TBits_1); inline;
  13642. procedure setLATF1(thebits : TBits_1); inline;
  13643. procedure setLATF2(thebits : TBits_1); inline;
  13644. procedure setLATF3(thebits : TBits_1); inline;
  13645. procedure setLATF4(thebits : TBits_1); inline;
  13646. procedure setLATF5(thebits : TBits_1); inline;
  13647. procedure setw(thebits : TBits_32); inline;
  13648. public
  13649. procedure clearLATF0; inline;
  13650. procedure clearLATF1; inline;
  13651. procedure clearLATF2; inline;
  13652. procedure clearLATF3; inline;
  13653. procedure clearLATF4; inline;
  13654. procedure clearLATF5; inline;
  13655. procedure setLATF0; inline;
  13656. procedure setLATF1; inline;
  13657. procedure setLATF2; inline;
  13658. procedure setLATF3; inline;
  13659. procedure setLATF4; inline;
  13660. procedure setLATF5; inline;
  13661. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  13662. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  13663. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  13664. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  13665. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  13666. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  13667. property w : TBits_32 read getw write setw;
  13668. end;
  13669. TPORTF_ODCF = record
  13670. private
  13671. function getODCF0 : TBits_1; inline;
  13672. function getODCF1 : TBits_1; inline;
  13673. function getODCF2 : TBits_1; inline;
  13674. function getODCF3 : TBits_1; inline;
  13675. function getODCF4 : TBits_1; inline;
  13676. function getODCF5 : TBits_1; inline;
  13677. function getw : TBits_32; inline;
  13678. procedure setODCF0(thebits : TBits_1); inline;
  13679. procedure setODCF1(thebits : TBits_1); inline;
  13680. procedure setODCF2(thebits : TBits_1); inline;
  13681. procedure setODCF3(thebits : TBits_1); inline;
  13682. procedure setODCF4(thebits : TBits_1); inline;
  13683. procedure setODCF5(thebits : TBits_1); inline;
  13684. procedure setw(thebits : TBits_32); inline;
  13685. public
  13686. procedure clearODCF0; inline;
  13687. procedure clearODCF1; inline;
  13688. procedure clearODCF2; inline;
  13689. procedure clearODCF3; inline;
  13690. procedure clearODCF4; inline;
  13691. procedure clearODCF5; inline;
  13692. procedure setODCF0; inline;
  13693. procedure setODCF1; inline;
  13694. procedure setODCF2; inline;
  13695. procedure setODCF3; inline;
  13696. procedure setODCF4; inline;
  13697. procedure setODCF5; inline;
  13698. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  13699. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  13700. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  13701. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  13702. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  13703. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  13704. property w : TBits_32 read getw write setw;
  13705. end;
  13706. type
  13707. TPORTFRegisters = record
  13708. TRISFbits : TPORTF_TRISF;
  13709. TRISF : longWord;
  13710. TRISFCLR : longWord;
  13711. TRISFSET : longWord;
  13712. TRISFINV : longWord;
  13713. PORTFbits : TPORTF_PORTF;
  13714. PORTF : longWord;
  13715. PORTFCLR : longWord;
  13716. PORTFSET : longWord;
  13717. PORTFINV : longWord;
  13718. LATFbits : TPORTF_LATF;
  13719. LATF : longWord;
  13720. LATFCLR : longWord;
  13721. LATFSET : longWord;
  13722. LATFINV : longWord;
  13723. ODCFbits : TPORTF_ODCF;
  13724. ODCF : longWord;
  13725. ODCFCLR : longWord;
  13726. ODCFSET : longWord;
  13727. ODCFINV : longWord;
  13728. end;
  13729. TPORTG_TRISG = record
  13730. private
  13731. function getTRISG2 : TBits_1; inline;
  13732. function getTRISG3 : TBits_1; inline;
  13733. function getTRISG6 : TBits_1; inline;
  13734. function getTRISG7 : TBits_1; inline;
  13735. function getTRISG8 : TBits_1; inline;
  13736. function getTRISG9 : TBits_1; inline;
  13737. function getw : TBits_32; inline;
  13738. procedure setTRISG2(thebits : TBits_1); inline;
  13739. procedure setTRISG3(thebits : TBits_1); inline;
  13740. procedure setTRISG6(thebits : TBits_1); inline;
  13741. procedure setTRISG7(thebits : TBits_1); inline;
  13742. procedure setTRISG8(thebits : TBits_1); inline;
  13743. procedure setTRISG9(thebits : TBits_1); inline;
  13744. procedure setw(thebits : TBits_32); inline;
  13745. public
  13746. procedure clearTRISG2; inline;
  13747. procedure clearTRISG3; inline;
  13748. procedure clearTRISG6; inline;
  13749. procedure clearTRISG7; inline;
  13750. procedure clearTRISG8; inline;
  13751. procedure clearTRISG9; inline;
  13752. procedure setTRISG2; inline;
  13753. procedure setTRISG3; inline;
  13754. procedure setTRISG6; inline;
  13755. procedure setTRISG7; inline;
  13756. procedure setTRISG8; inline;
  13757. procedure setTRISG9; inline;
  13758. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  13759. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  13760. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  13761. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  13762. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  13763. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  13764. property w : TBits_32 read getw write setw;
  13765. end;
  13766. TPORTG_PORTG = record
  13767. private
  13768. function getRG2 : TBits_1; inline;
  13769. function getRG3 : TBits_1; inline;
  13770. function getRG6 : TBits_1; inline;
  13771. function getRG7 : TBits_1; inline;
  13772. function getRG8 : TBits_1; inline;
  13773. function getRG9 : TBits_1; inline;
  13774. function getw : TBits_32; inline;
  13775. procedure setRG2(thebits : TBits_1); inline;
  13776. procedure setRG3(thebits : TBits_1); inline;
  13777. procedure setRG6(thebits : TBits_1); inline;
  13778. procedure setRG7(thebits : TBits_1); inline;
  13779. procedure setRG8(thebits : TBits_1); inline;
  13780. procedure setRG9(thebits : TBits_1); inline;
  13781. procedure setw(thebits : TBits_32); inline;
  13782. public
  13783. procedure clearRG2; inline;
  13784. procedure clearRG3; inline;
  13785. procedure clearRG6; inline;
  13786. procedure clearRG7; inline;
  13787. procedure clearRG8; inline;
  13788. procedure clearRG9; inline;
  13789. procedure setRG2; inline;
  13790. procedure setRG3; inline;
  13791. procedure setRG6; inline;
  13792. procedure setRG7; inline;
  13793. procedure setRG8; inline;
  13794. procedure setRG9; inline;
  13795. property RG2 : TBits_1 read getRG2 write setRG2;
  13796. property RG3 : TBits_1 read getRG3 write setRG3;
  13797. property RG6 : TBits_1 read getRG6 write setRG6;
  13798. property RG7 : TBits_1 read getRG7 write setRG7;
  13799. property RG8 : TBits_1 read getRG8 write setRG8;
  13800. property RG9 : TBits_1 read getRG9 write setRG9;
  13801. property w : TBits_32 read getw write setw;
  13802. end;
  13803. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  13804. TPortG_bitset = set of TPortG_bits;
  13805. TPORTG_LATG = record
  13806. private
  13807. function getLATG2 : TBits_1; inline;
  13808. function getLATG3 : TBits_1; inline;
  13809. function getLATG6 : TBits_1; inline;
  13810. function getLATG7 : TBits_1; inline;
  13811. function getLATG8 : TBits_1; inline;
  13812. function getLATG9 : TBits_1; inline;
  13813. function getw : TBits_32; inline;
  13814. procedure setLATG2(thebits : TBits_1); inline;
  13815. procedure setLATG3(thebits : TBits_1); inline;
  13816. procedure setLATG6(thebits : TBits_1); inline;
  13817. procedure setLATG7(thebits : TBits_1); inline;
  13818. procedure setLATG8(thebits : TBits_1); inline;
  13819. procedure setLATG9(thebits : TBits_1); inline;
  13820. procedure setw(thebits : TBits_32); inline;
  13821. public
  13822. procedure clearLATG2; inline;
  13823. procedure clearLATG3; inline;
  13824. procedure clearLATG6; inline;
  13825. procedure clearLATG7; inline;
  13826. procedure clearLATG8; inline;
  13827. procedure clearLATG9; inline;
  13828. procedure setLATG2; inline;
  13829. procedure setLATG3; inline;
  13830. procedure setLATG6; inline;
  13831. procedure setLATG7; inline;
  13832. procedure setLATG8; inline;
  13833. procedure setLATG9; inline;
  13834. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  13835. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  13836. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  13837. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  13838. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  13839. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  13840. property w : TBits_32 read getw write setw;
  13841. end;
  13842. TPORTG_ODCG = record
  13843. private
  13844. function getODCG2 : TBits_1; inline;
  13845. function getODCG3 : TBits_1; inline;
  13846. function getODCG6 : TBits_1; inline;
  13847. function getODCG7 : TBits_1; inline;
  13848. function getODCG8 : TBits_1; inline;
  13849. function getODCG9 : TBits_1; inline;
  13850. function getw : TBits_32; inline;
  13851. procedure setODCG2(thebits : TBits_1); inline;
  13852. procedure setODCG3(thebits : TBits_1); inline;
  13853. procedure setODCG6(thebits : TBits_1); inline;
  13854. procedure setODCG7(thebits : TBits_1); inline;
  13855. procedure setODCG8(thebits : TBits_1); inline;
  13856. procedure setODCG9(thebits : TBits_1); inline;
  13857. procedure setw(thebits : TBits_32); inline;
  13858. public
  13859. procedure clearODCG2; inline;
  13860. procedure clearODCG3; inline;
  13861. procedure clearODCG6; inline;
  13862. procedure clearODCG7; inline;
  13863. procedure clearODCG8; inline;
  13864. procedure clearODCG9; inline;
  13865. procedure setODCG2; inline;
  13866. procedure setODCG3; inline;
  13867. procedure setODCG6; inline;
  13868. procedure setODCG7; inline;
  13869. procedure setODCG8; inline;
  13870. procedure setODCG9; inline;
  13871. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  13872. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  13873. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  13874. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  13875. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  13876. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  13877. property w : TBits_32 read getw write setw;
  13878. end;
  13879. TPORTG_CNCON = record
  13880. private
  13881. function getON : TBits_1; inline;
  13882. function getSIDL : TBits_1; inline;
  13883. function getw : TBits_32; inline;
  13884. procedure setON(thebits : TBits_1); inline;
  13885. procedure setSIDL(thebits : TBits_1); inline;
  13886. procedure setw(thebits : TBits_32); inline;
  13887. public
  13888. procedure clearON; inline;
  13889. procedure clearSIDL; inline;
  13890. procedure setON; inline;
  13891. procedure setSIDL; inline;
  13892. property ON : TBits_1 read getON write setON;
  13893. property SIDL : TBits_1 read getSIDL write setSIDL;
  13894. property w : TBits_32 read getw write setw;
  13895. end;
  13896. TPORTG_CNEN = record
  13897. private
  13898. function getCNEN0 : TBits_1; inline;
  13899. function getCNEN1 : TBits_1; inline;
  13900. function getCNEN10 : TBits_1; inline;
  13901. function getCNEN11 : TBits_1; inline;
  13902. function getCNEN12 : TBits_1; inline;
  13903. function getCNEN13 : TBits_1; inline;
  13904. function getCNEN14 : TBits_1; inline;
  13905. function getCNEN15 : TBits_1; inline;
  13906. function getCNEN16 : TBits_1; inline;
  13907. function getCNEN17 : TBits_1; inline;
  13908. function getCNEN18 : TBits_1; inline;
  13909. function getCNEN2 : TBits_1; inline;
  13910. function getCNEN3 : TBits_1; inline;
  13911. function getCNEN4 : TBits_1; inline;
  13912. function getCNEN5 : TBits_1; inline;
  13913. function getCNEN6 : TBits_1; inline;
  13914. function getCNEN7 : TBits_1; inline;
  13915. function getCNEN8 : TBits_1; inline;
  13916. function getCNEN9 : TBits_1; inline;
  13917. function getw : TBits_32; inline;
  13918. procedure setCNEN0(thebits : TBits_1); inline;
  13919. procedure setCNEN1(thebits : TBits_1); inline;
  13920. procedure setCNEN10(thebits : TBits_1); inline;
  13921. procedure setCNEN11(thebits : TBits_1); inline;
  13922. procedure setCNEN12(thebits : TBits_1); inline;
  13923. procedure setCNEN13(thebits : TBits_1); inline;
  13924. procedure setCNEN14(thebits : TBits_1); inline;
  13925. procedure setCNEN15(thebits : TBits_1); inline;
  13926. procedure setCNEN16(thebits : TBits_1); inline;
  13927. procedure setCNEN17(thebits : TBits_1); inline;
  13928. procedure setCNEN18(thebits : TBits_1); inline;
  13929. procedure setCNEN2(thebits : TBits_1); inline;
  13930. procedure setCNEN3(thebits : TBits_1); inline;
  13931. procedure setCNEN4(thebits : TBits_1); inline;
  13932. procedure setCNEN5(thebits : TBits_1); inline;
  13933. procedure setCNEN6(thebits : TBits_1); inline;
  13934. procedure setCNEN7(thebits : TBits_1); inline;
  13935. procedure setCNEN8(thebits : TBits_1); inline;
  13936. procedure setCNEN9(thebits : TBits_1); inline;
  13937. procedure setw(thebits : TBits_32); inline;
  13938. public
  13939. procedure clearCNEN0; inline;
  13940. procedure clearCNEN10; inline;
  13941. procedure clearCNEN11; inline;
  13942. procedure clearCNEN12; inline;
  13943. procedure clearCNEN13; inline;
  13944. procedure clearCNEN14; inline;
  13945. procedure clearCNEN15; inline;
  13946. procedure clearCNEN16; inline;
  13947. procedure clearCNEN17; inline;
  13948. procedure clearCNEN18; inline;
  13949. procedure clearCNEN1; inline;
  13950. procedure clearCNEN2; inline;
  13951. procedure clearCNEN3; inline;
  13952. procedure clearCNEN4; inline;
  13953. procedure clearCNEN5; inline;
  13954. procedure clearCNEN6; inline;
  13955. procedure clearCNEN7; inline;
  13956. procedure clearCNEN8; inline;
  13957. procedure clearCNEN9; inline;
  13958. procedure setCNEN0; inline;
  13959. procedure setCNEN10; inline;
  13960. procedure setCNEN11; inline;
  13961. procedure setCNEN12; inline;
  13962. procedure setCNEN13; inline;
  13963. procedure setCNEN14; inline;
  13964. procedure setCNEN15; inline;
  13965. procedure setCNEN16; inline;
  13966. procedure setCNEN17; inline;
  13967. procedure setCNEN18; inline;
  13968. procedure setCNEN1; inline;
  13969. procedure setCNEN2; inline;
  13970. procedure setCNEN3; inline;
  13971. procedure setCNEN4; inline;
  13972. procedure setCNEN5; inline;
  13973. procedure setCNEN6; inline;
  13974. procedure setCNEN7; inline;
  13975. procedure setCNEN8; inline;
  13976. procedure setCNEN9; inline;
  13977. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  13978. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  13979. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  13980. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  13981. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  13982. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  13983. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  13984. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  13985. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  13986. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  13987. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  13988. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  13989. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  13990. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  13991. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  13992. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  13993. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  13994. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  13995. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  13996. property w : TBits_32 read getw write setw;
  13997. end;
  13998. TPORTG_CNPUE = record
  13999. private
  14000. function getCNPUE0 : TBits_1; inline;
  14001. function getCNPUE1 : TBits_1; inline;
  14002. function getCNPUE10 : TBits_1; inline;
  14003. function getCNPUE11 : TBits_1; inline;
  14004. function getCNPUE12 : TBits_1; inline;
  14005. function getCNPUE13 : TBits_1; inline;
  14006. function getCNPUE14 : TBits_1; inline;
  14007. function getCNPUE15 : TBits_1; inline;
  14008. function getCNPUE16 : TBits_1; inline;
  14009. function getCNPUE17 : TBits_1; inline;
  14010. function getCNPUE18 : TBits_1; inline;
  14011. function getCNPUE2 : TBits_1; inline;
  14012. function getCNPUE3 : TBits_1; inline;
  14013. function getCNPUE4 : TBits_1; inline;
  14014. function getCNPUE5 : TBits_1; inline;
  14015. function getCNPUE6 : TBits_1; inline;
  14016. function getCNPUE7 : TBits_1; inline;
  14017. function getCNPUE8 : TBits_1; inline;
  14018. function getCNPUE9 : TBits_1; inline;
  14019. function getw : TBits_32; inline;
  14020. procedure setCNPUE0(thebits : TBits_1); inline;
  14021. procedure setCNPUE1(thebits : TBits_1); inline;
  14022. procedure setCNPUE10(thebits : TBits_1); inline;
  14023. procedure setCNPUE11(thebits : TBits_1); inline;
  14024. procedure setCNPUE12(thebits : TBits_1); inline;
  14025. procedure setCNPUE13(thebits : TBits_1); inline;
  14026. procedure setCNPUE14(thebits : TBits_1); inline;
  14027. procedure setCNPUE15(thebits : TBits_1); inline;
  14028. procedure setCNPUE16(thebits : TBits_1); inline;
  14029. procedure setCNPUE17(thebits : TBits_1); inline;
  14030. procedure setCNPUE18(thebits : TBits_1); inline;
  14031. procedure setCNPUE2(thebits : TBits_1); inline;
  14032. procedure setCNPUE3(thebits : TBits_1); inline;
  14033. procedure setCNPUE4(thebits : TBits_1); inline;
  14034. procedure setCNPUE5(thebits : TBits_1); inline;
  14035. procedure setCNPUE6(thebits : TBits_1); inline;
  14036. procedure setCNPUE7(thebits : TBits_1); inline;
  14037. procedure setCNPUE8(thebits : TBits_1); inline;
  14038. procedure setCNPUE9(thebits : TBits_1); inline;
  14039. procedure setw(thebits : TBits_32); inline;
  14040. public
  14041. procedure clearCNPUE0; inline;
  14042. procedure clearCNPUE10; inline;
  14043. procedure clearCNPUE11; inline;
  14044. procedure clearCNPUE12; inline;
  14045. procedure clearCNPUE13; inline;
  14046. procedure clearCNPUE14; inline;
  14047. procedure clearCNPUE15; inline;
  14048. procedure clearCNPUE16; inline;
  14049. procedure clearCNPUE17; inline;
  14050. procedure clearCNPUE18; inline;
  14051. procedure clearCNPUE1; inline;
  14052. procedure clearCNPUE2; inline;
  14053. procedure clearCNPUE3; inline;
  14054. procedure clearCNPUE4; inline;
  14055. procedure clearCNPUE5; inline;
  14056. procedure clearCNPUE6; inline;
  14057. procedure clearCNPUE7; inline;
  14058. procedure clearCNPUE8; inline;
  14059. procedure clearCNPUE9; inline;
  14060. procedure setCNPUE0; inline;
  14061. procedure setCNPUE10; inline;
  14062. procedure setCNPUE11; inline;
  14063. procedure setCNPUE12; inline;
  14064. procedure setCNPUE13; inline;
  14065. procedure setCNPUE14; inline;
  14066. procedure setCNPUE15; inline;
  14067. procedure setCNPUE16; inline;
  14068. procedure setCNPUE17; inline;
  14069. procedure setCNPUE18; inline;
  14070. procedure setCNPUE1; inline;
  14071. procedure setCNPUE2; inline;
  14072. procedure setCNPUE3; inline;
  14073. procedure setCNPUE4; inline;
  14074. procedure setCNPUE5; inline;
  14075. procedure setCNPUE6; inline;
  14076. procedure setCNPUE7; inline;
  14077. procedure setCNPUE8; inline;
  14078. procedure setCNPUE9; inline;
  14079. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  14080. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  14081. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  14082. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  14083. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  14084. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  14085. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  14086. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  14087. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  14088. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  14089. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  14090. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  14091. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  14092. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  14093. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  14094. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  14095. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  14096. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  14097. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  14098. property w : TBits_32 read getw write setw;
  14099. end;
  14100. type
  14101. TPORTGRegisters = record
  14102. TRISGbits : TPORTG_TRISG;
  14103. TRISG : longWord;
  14104. TRISGCLR : longWord;
  14105. TRISGSET : longWord;
  14106. TRISGINV : longWord;
  14107. PORTGbits : TPORTG_PORTG;
  14108. PORTG : longWord;
  14109. PORTGCLR : longWord;
  14110. PORTGSET : longWord;
  14111. PORTGINV : longWord;
  14112. LATGbits : TPORTG_LATG;
  14113. LATG : longWord;
  14114. LATGCLR : longWord;
  14115. LATGSET : longWord;
  14116. LATGINV : longWord;
  14117. ODCGbits : TPORTG_ODCG;
  14118. ODCG : longWord;
  14119. ODCGCLR : longWord;
  14120. ODCGSET : longWord;
  14121. ODCGINV : longWord;
  14122. CNCONbits : TPORTG_CNCON;
  14123. CNCON : longWord;
  14124. CNCONCLR : longWord;
  14125. CNCONSET : longWord;
  14126. CNCONINV : longWord;
  14127. CNENbits : TPORTG_CNEN;
  14128. CNEN : longWord;
  14129. CNENCLR : longWord;
  14130. CNENSET : longWord;
  14131. CNENINV : longWord;
  14132. CNPUEbits : TPORTG_CNPUE;
  14133. CNPUE : longWord;
  14134. CNPUECLR : longWord;
  14135. CNPUESET : longWord;
  14136. CNPUEINV : longWord;
  14137. end;
  14138. TETH_ETHCON1 = record
  14139. private
  14140. function getAUTOFC : TBits_1; inline;
  14141. function getBUFCDEC : TBits_1; inline;
  14142. function getMANFC : TBits_1; inline;
  14143. function getON : TBits_1; inline;
  14144. function getPTV : TBits_16; inline;
  14145. function getRXEN : TBits_1; inline;
  14146. function getSIDL : TBits_1; inline;
  14147. function getTXRTS : TBits_1; inline;
  14148. function getw : TBits_32; inline;
  14149. procedure setAUTOFC(thebits : TBits_1); inline;
  14150. procedure setBUFCDEC(thebits : TBits_1); inline;
  14151. procedure setMANFC(thebits : TBits_1); inline;
  14152. procedure setON(thebits : TBits_1); inline;
  14153. procedure setPTV(thebits : TBits_16); inline;
  14154. procedure setRXEN(thebits : TBits_1); inline;
  14155. procedure setSIDL(thebits : TBits_1); inline;
  14156. procedure setTXRTS(thebits : TBits_1); inline;
  14157. procedure setw(thebits : TBits_32); inline;
  14158. public
  14159. procedure clearAUTOFC; inline;
  14160. procedure clearBUFCDEC; inline;
  14161. procedure clearMANFC; inline;
  14162. procedure clearON; inline;
  14163. procedure clearRXEN; inline;
  14164. procedure clearSIDL; inline;
  14165. procedure clearTXRTS; inline;
  14166. procedure setAUTOFC; inline;
  14167. procedure setBUFCDEC; inline;
  14168. procedure setMANFC; inline;
  14169. procedure setON; inline;
  14170. procedure setRXEN; inline;
  14171. procedure setSIDL; inline;
  14172. procedure setTXRTS; inline;
  14173. property AUTOFC : TBits_1 read getAUTOFC write setAUTOFC;
  14174. property BUFCDEC : TBits_1 read getBUFCDEC write setBUFCDEC;
  14175. property MANFC : TBits_1 read getMANFC write setMANFC;
  14176. property ON : TBits_1 read getON write setON;
  14177. property PTV : TBits_16 read getPTV write setPTV;
  14178. property RXEN : TBits_1 read getRXEN write setRXEN;
  14179. property SIDL : TBits_1 read getSIDL write setSIDL;
  14180. property TXRTS : TBits_1 read getTXRTS write setTXRTS;
  14181. property w : TBits_32 read getw write setw;
  14182. end;
  14183. TETH_ETHCON2 = record
  14184. private
  14185. function getRXBUF_SZ : TBits_7; inline;
  14186. function getw : TBits_32; inline;
  14187. procedure setRXBUF_SZ(thebits : TBits_7); inline;
  14188. procedure setw(thebits : TBits_32); inline;
  14189. public
  14190. property RXBUF_SZ : TBits_7 read getRXBUF_SZ write setRXBUF_SZ;
  14191. property w : TBits_32 read getw write setw;
  14192. end;
  14193. TETH_ETHTXST = record
  14194. private
  14195. function getTXSTADDR : TBits_30; inline;
  14196. function getw : TBits_32; inline;
  14197. procedure setTXSTADDR(thebits : TBits_30); inline;
  14198. procedure setw(thebits : TBits_32); inline;
  14199. public
  14200. property TXSTADDR : TBits_30 read getTXSTADDR write setTXSTADDR;
  14201. property w : TBits_32 read getw write setw;
  14202. end;
  14203. TETH_ETHRXST = record
  14204. private
  14205. function getRXSTADDR : TBits_30; inline;
  14206. function getw : TBits_32; inline;
  14207. procedure setRXSTADDR(thebits : TBits_30); inline;
  14208. procedure setw(thebits : TBits_32); inline;
  14209. public
  14210. property RXSTADDR : TBits_30 read getRXSTADDR write setRXSTADDR;
  14211. property w : TBits_32 read getw write setw;
  14212. end;
  14213. TETH_ETHHT0 = record
  14214. private
  14215. function getHTLOWER : TBits_32; inline;
  14216. function getw : TBits_32; inline;
  14217. procedure setHTLOWER(thebits : TBits_32); inline;
  14218. procedure setw(thebits : TBits_32); inline;
  14219. public
  14220. property HTLOWER : TBits_32 read getHTLOWER write setHTLOWER;
  14221. property w : TBits_32 read getw write setw;
  14222. end;
  14223. TETH_ETHHT1 = record
  14224. private
  14225. function getHTUPPER : TBits_32; inline;
  14226. function getw : TBits_32; inline;
  14227. procedure setHTUPPER(thebits : TBits_32); inline;
  14228. procedure setw(thebits : TBits_32); inline;
  14229. public
  14230. property HTUPPER : TBits_32 read getHTUPPER write setHTUPPER;
  14231. property w : TBits_32 read getw write setw;
  14232. end;
  14233. TETH_ETHPMM0 = record
  14234. private
  14235. function getPMMLOWER : TBits_32; inline;
  14236. function getw : TBits_32; inline;
  14237. procedure setPMMLOWER(thebits : TBits_32); inline;
  14238. procedure setw(thebits : TBits_32); inline;
  14239. public
  14240. property PMMLOWER : TBits_32 read getPMMLOWER write setPMMLOWER;
  14241. property w : TBits_32 read getw write setw;
  14242. end;
  14243. TETH_ETHPMM1 = record
  14244. private
  14245. function getPMMUPPER : TBits_32; inline;
  14246. function getw : TBits_32; inline;
  14247. procedure setPMMUPPER(thebits : TBits_32); inline;
  14248. procedure setw(thebits : TBits_32); inline;
  14249. public
  14250. property PMMUPPER : TBits_32 read getPMMUPPER write setPMMUPPER;
  14251. property w : TBits_32 read getw write setw;
  14252. end;
  14253. TETH_ETHPMCS = record
  14254. private
  14255. function getPMCS : TBits_16; inline;
  14256. function getw : TBits_32; inline;
  14257. procedure setPMCS(thebits : TBits_16); inline;
  14258. procedure setw(thebits : TBits_32); inline;
  14259. public
  14260. property PMCS : TBits_16 read getPMCS write setPMCS;
  14261. property w : TBits_32 read getw write setw;
  14262. end;
  14263. TETH_ETHPMO = record
  14264. private
  14265. function getPMO : TBits_16; inline;
  14266. function getw : TBits_32; inline;
  14267. procedure setPMO(thebits : TBits_16); inline;
  14268. procedure setw(thebits : TBits_32); inline;
  14269. public
  14270. property PMO : TBits_16 read getPMO write setPMO;
  14271. property w : TBits_32 read getw write setw;
  14272. end;
  14273. TETH_ETHRXFC = record
  14274. private
  14275. function getBCEN : TBits_1; inline;
  14276. function getCRCERREN : TBits_1; inline;
  14277. function getCRCOKEN : TBits_1; inline;
  14278. function getHTEN : TBits_1; inline;
  14279. function getMCEN : TBits_1; inline;
  14280. function getMPEN : TBits_1; inline;
  14281. function getNOTMEEN : TBits_1; inline;
  14282. function getNOTPM : TBits_1; inline;
  14283. function getPMMODE : TBits_4; inline;
  14284. function getRUNTEN : TBits_1; inline;
  14285. function getRUNTERREN : TBits_1; inline;
  14286. function getUCEN : TBits_1; inline;
  14287. function getw : TBits_32; inline;
  14288. procedure setBCEN(thebits : TBits_1); inline;
  14289. procedure setCRCERREN(thebits : TBits_1); inline;
  14290. procedure setCRCOKEN(thebits : TBits_1); inline;
  14291. procedure setHTEN(thebits : TBits_1); inline;
  14292. procedure setMCEN(thebits : TBits_1); inline;
  14293. procedure setMPEN(thebits : TBits_1); inline;
  14294. procedure setNOTMEEN(thebits : TBits_1); inline;
  14295. procedure setNOTPM(thebits : TBits_1); inline;
  14296. procedure setPMMODE(thebits : TBits_4); inline;
  14297. procedure setRUNTEN(thebits : TBits_1); inline;
  14298. procedure setRUNTERREN(thebits : TBits_1); inline;
  14299. procedure setUCEN(thebits : TBits_1); inline;
  14300. procedure setw(thebits : TBits_32); inline;
  14301. public
  14302. procedure clearBCEN; inline;
  14303. procedure clearCRCERREN; inline;
  14304. procedure clearCRCOKEN; inline;
  14305. procedure clearHTEN; inline;
  14306. procedure clearMCEN; inline;
  14307. procedure clearMPEN; inline;
  14308. procedure clearNOTMEEN; inline;
  14309. procedure clearNOTPM; inline;
  14310. procedure clearRUNTEN; inline;
  14311. procedure clearRUNTERREN; inline;
  14312. procedure clearUCEN; inline;
  14313. procedure setBCEN; inline;
  14314. procedure setCRCERREN; inline;
  14315. procedure setCRCOKEN; inline;
  14316. procedure setHTEN; inline;
  14317. procedure setMCEN; inline;
  14318. procedure setMPEN; inline;
  14319. procedure setNOTMEEN; inline;
  14320. procedure setNOTPM; inline;
  14321. procedure setRUNTEN; inline;
  14322. procedure setRUNTERREN; inline;
  14323. procedure setUCEN; inline;
  14324. property BCEN : TBits_1 read getBCEN write setBCEN;
  14325. property CRCERREN : TBits_1 read getCRCERREN write setCRCERREN;
  14326. property CRCOKEN : TBits_1 read getCRCOKEN write setCRCOKEN;
  14327. property HTEN : TBits_1 read getHTEN write setHTEN;
  14328. property MCEN : TBits_1 read getMCEN write setMCEN;
  14329. property MPEN : TBits_1 read getMPEN write setMPEN;
  14330. property NOTMEEN : TBits_1 read getNOTMEEN write setNOTMEEN;
  14331. property NOTPM : TBits_1 read getNOTPM write setNOTPM;
  14332. property PMMODE : TBits_4 read getPMMODE write setPMMODE;
  14333. property RUNTEN : TBits_1 read getRUNTEN write setRUNTEN;
  14334. property RUNTERREN : TBits_1 read getRUNTERREN write setRUNTERREN;
  14335. property UCEN : TBits_1 read getUCEN write setUCEN;
  14336. property w : TBits_32 read getw write setw;
  14337. end;
  14338. TETH_ETHRXWM = record
  14339. private
  14340. function getRXEWM : TBits_8; inline;
  14341. function getRXFWM : TBits_8; inline;
  14342. function getw : TBits_32; inline;
  14343. procedure setRXEWM(thebits : TBits_8); inline;
  14344. procedure setRXFWM(thebits : TBits_8); inline;
  14345. procedure setw(thebits : TBits_32); inline;
  14346. public
  14347. property RXEWM : TBits_8 read getRXEWM write setRXEWM;
  14348. property RXFWM : TBits_8 read getRXFWM write setRXFWM;
  14349. property w : TBits_32 read getw write setw;
  14350. end;
  14351. TETH_ETHIEN = record
  14352. private
  14353. function getEWMARKIE : TBits_1; inline;
  14354. function getFWMARKIE : TBits_1; inline;
  14355. function getPKTPENDIE : TBits_1; inline;
  14356. function getRXACTIE : TBits_1; inline;
  14357. function getRXBUFNAIE : TBits_1; inline;
  14358. function getRXBUSEIE : TBits_1; inline;
  14359. function getRXDONEIE : TBits_1; inline;
  14360. function getRXOVFLWIE : TBits_1; inline;
  14361. function getTXABORTIE : TBits_1; inline;
  14362. function getTXBUSEIE : TBits_1; inline;
  14363. function getTXDONEIE : TBits_1; inline;
  14364. function getw : TBits_32; inline;
  14365. procedure setEWMARKIE(thebits : TBits_1); inline;
  14366. procedure setFWMARKIE(thebits : TBits_1); inline;
  14367. procedure setPKTPENDIE(thebits : TBits_1); inline;
  14368. procedure setRXACTIE(thebits : TBits_1); inline;
  14369. procedure setRXBUFNAIE(thebits : TBits_1); inline;
  14370. procedure setRXBUSEIE(thebits : TBits_1); inline;
  14371. procedure setRXDONEIE(thebits : TBits_1); inline;
  14372. procedure setRXOVFLWIE(thebits : TBits_1); inline;
  14373. procedure setTXABORTIE(thebits : TBits_1); inline;
  14374. procedure setTXBUSEIE(thebits : TBits_1); inline;
  14375. procedure setTXDONEIE(thebits : TBits_1); inline;
  14376. procedure setw(thebits : TBits_32); inline;
  14377. public
  14378. procedure clearEWMARKIE; inline;
  14379. procedure clearFWMARKIE; inline;
  14380. procedure clearPKTPENDIE; inline;
  14381. procedure clearRXACTIE; inline;
  14382. procedure clearRXBUFNAIE; inline;
  14383. procedure clearRXBUSEIE; inline;
  14384. procedure clearRXDONEIE; inline;
  14385. procedure clearRXOVFLWIE; inline;
  14386. procedure clearTXABORTIE; inline;
  14387. procedure clearTXBUSEIE; inline;
  14388. procedure clearTXDONEIE; inline;
  14389. procedure setEWMARKIE; inline;
  14390. procedure setFWMARKIE; inline;
  14391. procedure setPKTPENDIE; inline;
  14392. procedure setRXACTIE; inline;
  14393. procedure setRXBUFNAIE; inline;
  14394. procedure setRXBUSEIE; inline;
  14395. procedure setRXDONEIE; inline;
  14396. procedure setRXOVFLWIE; inline;
  14397. procedure setTXABORTIE; inline;
  14398. procedure setTXBUSEIE; inline;
  14399. procedure setTXDONEIE; inline;
  14400. property EWMARKIE : TBits_1 read getEWMARKIE write setEWMARKIE;
  14401. property FWMARKIE : TBits_1 read getFWMARKIE write setFWMARKIE;
  14402. property PKTPENDIE : TBits_1 read getPKTPENDIE write setPKTPENDIE;
  14403. property RXACTIE : TBits_1 read getRXACTIE write setRXACTIE;
  14404. property RXBUFNAIE : TBits_1 read getRXBUFNAIE write setRXBUFNAIE;
  14405. property RXBUSEIE : TBits_1 read getRXBUSEIE write setRXBUSEIE;
  14406. property RXDONEIE : TBits_1 read getRXDONEIE write setRXDONEIE;
  14407. property RXOVFLWIE : TBits_1 read getRXOVFLWIE write setRXOVFLWIE;
  14408. property TXABORTIE : TBits_1 read getTXABORTIE write setTXABORTIE;
  14409. property TXBUSEIE : TBits_1 read getTXBUSEIE write setTXBUSEIE;
  14410. property TXDONEIE : TBits_1 read getTXDONEIE write setTXDONEIE;
  14411. property w : TBits_32 read getw write setw;
  14412. end;
  14413. TETH_ETHIRQ = record
  14414. private
  14415. function getEWMARK : TBits_1; inline;
  14416. function getFWMARK : TBits_1; inline;
  14417. function getPKTPEND : TBits_1; inline;
  14418. function getRXACT : TBits_1; inline;
  14419. function getRXBUFNA : TBits_1; inline;
  14420. function getRXBUSE : TBits_1; inline;
  14421. function getRXDONE : TBits_1; inline;
  14422. function getRXOVFLW : TBits_1; inline;
  14423. function getTXABORT : TBits_1; inline;
  14424. function getTXBUSE : TBits_1; inline;
  14425. function getTXDONE : TBits_1; inline;
  14426. function getw : TBits_32; inline;
  14427. procedure setEWMARK(thebits : TBits_1); inline;
  14428. procedure setFWMARK(thebits : TBits_1); inline;
  14429. procedure setPKTPEND(thebits : TBits_1); inline;
  14430. procedure setRXACT(thebits : TBits_1); inline;
  14431. procedure setRXBUFNA(thebits : TBits_1); inline;
  14432. procedure setRXBUSE(thebits : TBits_1); inline;
  14433. procedure setRXDONE(thebits : TBits_1); inline;
  14434. procedure setRXOVFLW(thebits : TBits_1); inline;
  14435. procedure setTXABORT(thebits : TBits_1); inline;
  14436. procedure setTXBUSE(thebits : TBits_1); inline;
  14437. procedure setTXDONE(thebits : TBits_1); inline;
  14438. procedure setw(thebits : TBits_32); inline;
  14439. public
  14440. procedure clearEWMARK; inline;
  14441. procedure clearFWMARK; inline;
  14442. procedure clearPKTPEND; inline;
  14443. procedure clearRXACT; inline;
  14444. procedure clearRXBUFNA; inline;
  14445. procedure clearRXBUSE; inline;
  14446. procedure clearRXDONE; inline;
  14447. procedure clearRXOVFLW; inline;
  14448. procedure clearTXABORT; inline;
  14449. procedure clearTXBUSE; inline;
  14450. procedure clearTXDONE; inline;
  14451. procedure setEWMARK; inline;
  14452. procedure setFWMARK; inline;
  14453. procedure setPKTPEND; inline;
  14454. procedure setRXACT; inline;
  14455. procedure setRXBUFNA; inline;
  14456. procedure setRXBUSE; inline;
  14457. procedure setRXDONE; inline;
  14458. procedure setRXOVFLW; inline;
  14459. procedure setTXABORT; inline;
  14460. procedure setTXBUSE; inline;
  14461. procedure setTXDONE; inline;
  14462. property EWMARK : TBits_1 read getEWMARK write setEWMARK;
  14463. property FWMARK : TBits_1 read getFWMARK write setFWMARK;
  14464. property PKTPEND : TBits_1 read getPKTPEND write setPKTPEND;
  14465. property RXACT : TBits_1 read getRXACT write setRXACT;
  14466. property RXBUFNA : TBits_1 read getRXBUFNA write setRXBUFNA;
  14467. property RXBUSE : TBits_1 read getRXBUSE write setRXBUSE;
  14468. property RXDONE : TBits_1 read getRXDONE write setRXDONE;
  14469. property RXOVFLW : TBits_1 read getRXOVFLW write setRXOVFLW;
  14470. property TXABORT : TBits_1 read getTXABORT write setTXABORT;
  14471. property TXBUSE : TBits_1 read getTXBUSE write setTXBUSE;
  14472. property TXDONE : TBits_1 read getTXDONE write setTXDONE;
  14473. property w : TBits_32 read getw write setw;
  14474. end;
  14475. TETH_ETHSTAT = record
  14476. private
  14477. function getBUFCNT : TBits_8; inline;
  14478. function getBUSY : TBits_1; inline;
  14479. function getETHBUSY : TBits_1; inline;
  14480. function getRXBUSY : TBits_1; inline;
  14481. function getTXBUSY : TBits_1; inline;
  14482. function getw : TBits_32; inline;
  14483. procedure setBUFCNT(thebits : TBits_8); inline;
  14484. procedure setBUSY(thebits : TBits_1); inline;
  14485. procedure setETHBUSY(thebits : TBits_1); inline;
  14486. procedure setRXBUSY(thebits : TBits_1); inline;
  14487. procedure setTXBUSY(thebits : TBits_1); inline;
  14488. procedure setw(thebits : TBits_32); inline;
  14489. public
  14490. procedure clearBUSY; inline;
  14491. procedure clearETHBUSY; inline;
  14492. procedure clearRXBUSY; inline;
  14493. procedure clearTXBUSY; inline;
  14494. procedure setBUSY; inline;
  14495. procedure setETHBUSY; inline;
  14496. procedure setRXBUSY; inline;
  14497. procedure setTXBUSY; inline;
  14498. property BUFCNT : TBits_8 read getBUFCNT write setBUFCNT;
  14499. property BUSY : TBits_1 read getBUSY write setBUSY;
  14500. property ETHBUSY : TBits_1 read getETHBUSY write setETHBUSY;
  14501. property RXBUSY : TBits_1 read getRXBUSY write setRXBUSY;
  14502. property TXBUSY : TBits_1 read getTXBUSY write setTXBUSY;
  14503. property w : TBits_32 read getw write setw;
  14504. end;
  14505. TETH_ETHRXOVFLOW = record
  14506. private
  14507. function getRXOVFLWCNT : TBits_16; inline;
  14508. function getw : TBits_32; inline;
  14509. procedure setRXOVFLWCNT(thebits : TBits_16); inline;
  14510. procedure setw(thebits : TBits_32); inline;
  14511. public
  14512. property RXOVFLWCNT : TBits_16 read getRXOVFLWCNT write setRXOVFLWCNT;
  14513. property w : TBits_32 read getw write setw;
  14514. end;
  14515. TETH_ETHFRMTXOK = record
  14516. private
  14517. function getFRMTXOKCNT : TBits_16; inline;
  14518. function getw : TBits_32; inline;
  14519. procedure setFRMTXOKCNT(thebits : TBits_16); inline;
  14520. procedure setw(thebits : TBits_32); inline;
  14521. public
  14522. property FRMTXOKCNT : TBits_16 read getFRMTXOKCNT write setFRMTXOKCNT;
  14523. property w : TBits_32 read getw write setw;
  14524. end;
  14525. TETH_ETHSCOLFRM = record
  14526. private
  14527. function getSCOLFRMCNT : TBits_16; inline;
  14528. function getw : TBits_32; inline;
  14529. procedure setSCOLFRMCNT(thebits : TBits_16); inline;
  14530. procedure setw(thebits : TBits_32); inline;
  14531. public
  14532. property SCOLFRMCNT : TBits_16 read getSCOLFRMCNT write setSCOLFRMCNT;
  14533. property w : TBits_32 read getw write setw;
  14534. end;
  14535. TETH_ETHMCOLFRM = record
  14536. private
  14537. function getMCOLFRMCNT : TBits_16; inline;
  14538. function getMCOLFRM_CNT : TBits_16; inline;
  14539. function getw : TBits_32; inline;
  14540. procedure setMCOLFRMCNT(thebits : TBits_16); inline;
  14541. procedure setMCOLFRM_CNT(thebits : TBits_16); inline;
  14542. procedure setw(thebits : TBits_32); inline;
  14543. public
  14544. property MCOLFRMCNT : TBits_16 read getMCOLFRMCNT write setMCOLFRMCNT;
  14545. property MCOLFRM_CNT : TBits_16 read getMCOLFRM_CNT write setMCOLFRM_CNT;
  14546. property w : TBits_32 read getw write setw;
  14547. end;
  14548. TETH_ETHFRMRXOK = record
  14549. private
  14550. function getFRMRXOKCNT : TBits_16; inline;
  14551. function getw : TBits_32; inline;
  14552. procedure setFRMRXOKCNT(thebits : TBits_16); inline;
  14553. procedure setw(thebits : TBits_32); inline;
  14554. public
  14555. property FRMRXOKCNT : TBits_16 read getFRMRXOKCNT write setFRMRXOKCNT;
  14556. property w : TBits_32 read getw write setw;
  14557. end;
  14558. TETH_ETHFCSERR = record
  14559. private
  14560. function getFCSERRCNT : TBits_16; inline;
  14561. function getw : TBits_32; inline;
  14562. procedure setFCSERRCNT(thebits : TBits_16); inline;
  14563. procedure setw(thebits : TBits_32); inline;
  14564. public
  14565. property FCSERRCNT : TBits_16 read getFCSERRCNT write setFCSERRCNT;
  14566. property w : TBits_32 read getw write setw;
  14567. end;
  14568. TETH_ETHALGNERR = record
  14569. private
  14570. function getALGNERRCNT : TBits_16; inline;
  14571. function getw : TBits_32; inline;
  14572. procedure setALGNERRCNT(thebits : TBits_16); inline;
  14573. procedure setw(thebits : TBits_32); inline;
  14574. public
  14575. property ALGNERRCNT : TBits_16 read getALGNERRCNT write setALGNERRCNT;
  14576. property w : TBits_32 read getw write setw;
  14577. end;
  14578. TETH_EMAC1CFG1 = record
  14579. private
  14580. function getLOOPBACK : TBits_1; inline;
  14581. function getPASSALL : TBits_1; inline;
  14582. function getRESETRFUN : TBits_1; inline;
  14583. function getRESETRMCS : TBits_1; inline;
  14584. function getRESETTFUN : TBits_1; inline;
  14585. function getRESETTMCS : TBits_1; inline;
  14586. function getRXENABLE : TBits_1; inline;
  14587. function getRXPAUSE : TBits_1; inline;
  14588. function getSIMRESET : TBits_1; inline;
  14589. function getSOFTRESET : TBits_1; inline;
  14590. function getTXPAUSE : TBits_1; inline;
  14591. function getw : TBits_32; inline;
  14592. procedure setLOOPBACK(thebits : TBits_1); inline;
  14593. procedure setPASSALL(thebits : TBits_1); inline;
  14594. procedure setRESETRFUN(thebits : TBits_1); inline;
  14595. procedure setRESETRMCS(thebits : TBits_1); inline;
  14596. procedure setRESETTFUN(thebits : TBits_1); inline;
  14597. procedure setRESETTMCS(thebits : TBits_1); inline;
  14598. procedure setRXENABLE(thebits : TBits_1); inline;
  14599. procedure setRXPAUSE(thebits : TBits_1); inline;
  14600. procedure setSIMRESET(thebits : TBits_1); inline;
  14601. procedure setSOFTRESET(thebits : TBits_1); inline;
  14602. procedure setTXPAUSE(thebits : TBits_1); inline;
  14603. procedure setw(thebits : TBits_32); inline;
  14604. public
  14605. procedure clearLOOPBACK; inline;
  14606. procedure clearPASSALL; inline;
  14607. procedure clearRESETRFUN; inline;
  14608. procedure clearRESETRMCS; inline;
  14609. procedure clearRESETTFUN; inline;
  14610. procedure clearRESETTMCS; inline;
  14611. procedure clearRXENABLE; inline;
  14612. procedure clearRXPAUSE; inline;
  14613. procedure clearSIMRESET; inline;
  14614. procedure clearSOFTRESET; inline;
  14615. procedure clearTXPAUSE; inline;
  14616. procedure setLOOPBACK; inline;
  14617. procedure setPASSALL; inline;
  14618. procedure setRESETRFUN; inline;
  14619. procedure setRESETRMCS; inline;
  14620. procedure setRESETTFUN; inline;
  14621. procedure setRESETTMCS; inline;
  14622. procedure setRXENABLE; inline;
  14623. procedure setRXPAUSE; inline;
  14624. procedure setSIMRESET; inline;
  14625. procedure setSOFTRESET; inline;
  14626. procedure setTXPAUSE; inline;
  14627. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  14628. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  14629. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  14630. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  14631. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  14632. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  14633. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  14634. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  14635. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  14636. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  14637. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  14638. property w : TBits_32 read getw write setw;
  14639. end;
  14640. TETH_EMACxCFG1 = record
  14641. private
  14642. function getLOOPBACK : TBits_1; inline;
  14643. function getPASSALL : TBits_1; inline;
  14644. function getRESETRFUN : TBits_1; inline;
  14645. function getRESETRMCS : TBits_1; inline;
  14646. function getRESETTFUN : TBits_1; inline;
  14647. function getRESETTMCS : TBits_1; inline;
  14648. function getRXENABLE : TBits_1; inline;
  14649. function getRXPAUSE : TBits_1; inline;
  14650. function getSIMRESET : TBits_1; inline;
  14651. function getSOFTRESET : TBits_1; inline;
  14652. function getTXPAUSE : TBits_1; inline;
  14653. function getw : TBits_32; inline;
  14654. procedure setLOOPBACK(thebits : TBits_1); inline;
  14655. procedure setPASSALL(thebits : TBits_1); inline;
  14656. procedure setRESETRFUN(thebits : TBits_1); inline;
  14657. procedure setRESETRMCS(thebits : TBits_1); inline;
  14658. procedure setRESETTFUN(thebits : TBits_1); inline;
  14659. procedure setRESETTMCS(thebits : TBits_1); inline;
  14660. procedure setRXENABLE(thebits : TBits_1); inline;
  14661. procedure setRXPAUSE(thebits : TBits_1); inline;
  14662. procedure setSIMRESET(thebits : TBits_1); inline;
  14663. procedure setSOFTRESET(thebits : TBits_1); inline;
  14664. procedure setTXPAUSE(thebits : TBits_1); inline;
  14665. procedure setw(thebits : TBits_32); inline;
  14666. public
  14667. procedure clearLOOPBACK; inline;
  14668. procedure clearPASSALL; inline;
  14669. procedure clearRESETRFUN; inline;
  14670. procedure clearRESETRMCS; inline;
  14671. procedure clearRESETTFUN; inline;
  14672. procedure clearRESETTMCS; inline;
  14673. procedure clearRXENABLE; inline;
  14674. procedure clearRXPAUSE; inline;
  14675. procedure clearSIMRESET; inline;
  14676. procedure clearSOFTRESET; inline;
  14677. procedure clearTXPAUSE; inline;
  14678. procedure setLOOPBACK; inline;
  14679. procedure setPASSALL; inline;
  14680. procedure setRESETRFUN; inline;
  14681. procedure setRESETRMCS; inline;
  14682. procedure setRESETTFUN; inline;
  14683. procedure setRESETTMCS; inline;
  14684. procedure setRXENABLE; inline;
  14685. procedure setRXPAUSE; inline;
  14686. procedure setSIMRESET; inline;
  14687. procedure setSOFTRESET; inline;
  14688. procedure setTXPAUSE; inline;
  14689. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  14690. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  14691. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  14692. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  14693. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  14694. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  14695. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  14696. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  14697. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  14698. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  14699. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  14700. property w : TBits_32 read getw write setw;
  14701. end;
  14702. TETH_EMAC1CFG2 = record
  14703. private
  14704. function getAUTOPAD : TBits_1; inline;
  14705. function getBPNOBKOFF : TBits_1; inline;
  14706. function getCRCENABLE : TBits_1; inline;
  14707. function getDELAYCRC : TBits_1; inline;
  14708. function getEXCESSDFR : TBits_1; inline;
  14709. function getFULLDPLX : TBits_1; inline;
  14710. function getHUGEFRM : TBits_1; inline;
  14711. function getLENGTHCK : TBits_1; inline;
  14712. function getLONGPRE : TBits_1; inline;
  14713. function getNOBKOFF : TBits_1; inline;
  14714. function getPADENABLE : TBits_1; inline;
  14715. function getPUREPRE : TBits_1; inline;
  14716. function getVLANPAD : TBits_1; inline;
  14717. function getw : TBits_32; inline;
  14718. procedure setAUTOPAD(thebits : TBits_1); inline;
  14719. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  14720. procedure setCRCENABLE(thebits : TBits_1); inline;
  14721. procedure setDELAYCRC(thebits : TBits_1); inline;
  14722. procedure setEXCESSDFR(thebits : TBits_1); inline;
  14723. procedure setFULLDPLX(thebits : TBits_1); inline;
  14724. procedure setHUGEFRM(thebits : TBits_1); inline;
  14725. procedure setLENGTHCK(thebits : TBits_1); inline;
  14726. procedure setLONGPRE(thebits : TBits_1); inline;
  14727. procedure setNOBKOFF(thebits : TBits_1); inline;
  14728. procedure setPADENABLE(thebits : TBits_1); inline;
  14729. procedure setPUREPRE(thebits : TBits_1); inline;
  14730. procedure setVLANPAD(thebits : TBits_1); inline;
  14731. procedure setw(thebits : TBits_32); inline;
  14732. public
  14733. procedure clearAUTOPAD; inline;
  14734. procedure clearBPNOBKOFF; inline;
  14735. procedure clearCRCENABLE; inline;
  14736. procedure clearDELAYCRC; inline;
  14737. procedure clearEXCESSDFR; inline;
  14738. procedure clearFULLDPLX; inline;
  14739. procedure clearHUGEFRM; inline;
  14740. procedure clearLENGTHCK; inline;
  14741. procedure clearLONGPRE; inline;
  14742. procedure clearNOBKOFF; inline;
  14743. procedure clearPADENABLE; inline;
  14744. procedure clearPUREPRE; inline;
  14745. procedure clearVLANPAD; inline;
  14746. procedure setAUTOPAD; inline;
  14747. procedure setBPNOBKOFF; inline;
  14748. procedure setCRCENABLE; inline;
  14749. procedure setDELAYCRC; inline;
  14750. procedure setEXCESSDFR; inline;
  14751. procedure setFULLDPLX; inline;
  14752. procedure setHUGEFRM; inline;
  14753. procedure setLENGTHCK; inline;
  14754. procedure setLONGPRE; inline;
  14755. procedure setNOBKOFF; inline;
  14756. procedure setPADENABLE; inline;
  14757. procedure setPUREPRE; inline;
  14758. procedure setVLANPAD; inline;
  14759. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  14760. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  14761. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  14762. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  14763. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  14764. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  14765. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  14766. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  14767. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  14768. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  14769. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  14770. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  14771. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  14772. property w : TBits_32 read getw write setw;
  14773. end;
  14774. TETH_EMACxCFG2 = record
  14775. private
  14776. function getAUTOPAD : TBits_1; inline;
  14777. function getBPNOBKOFF : TBits_1; inline;
  14778. function getCRCENABLE : TBits_1; inline;
  14779. function getDELAYCRC : TBits_1; inline;
  14780. function getEXCESSDFR : TBits_1; inline;
  14781. function getFULLDPLX : TBits_1; inline;
  14782. function getHUGEFRM : TBits_1; inline;
  14783. function getLENGTHCK : TBits_1; inline;
  14784. function getLONGPRE : TBits_1; inline;
  14785. function getNOBKOFF : TBits_1; inline;
  14786. function getPADENABLE : TBits_1; inline;
  14787. function getPUREPRE : TBits_1; inline;
  14788. function getVLANPAD : TBits_1; inline;
  14789. function getw : TBits_32; inline;
  14790. procedure setAUTOPAD(thebits : TBits_1); inline;
  14791. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  14792. procedure setCRCENABLE(thebits : TBits_1); inline;
  14793. procedure setDELAYCRC(thebits : TBits_1); inline;
  14794. procedure setEXCESSDFR(thebits : TBits_1); inline;
  14795. procedure setFULLDPLX(thebits : TBits_1); inline;
  14796. procedure setHUGEFRM(thebits : TBits_1); inline;
  14797. procedure setLENGTHCK(thebits : TBits_1); inline;
  14798. procedure setLONGPRE(thebits : TBits_1); inline;
  14799. procedure setNOBKOFF(thebits : TBits_1); inline;
  14800. procedure setPADENABLE(thebits : TBits_1); inline;
  14801. procedure setPUREPRE(thebits : TBits_1); inline;
  14802. procedure setVLANPAD(thebits : TBits_1); inline;
  14803. procedure setw(thebits : TBits_32); inline;
  14804. public
  14805. procedure clearAUTOPAD; inline;
  14806. procedure clearBPNOBKOFF; inline;
  14807. procedure clearCRCENABLE; inline;
  14808. procedure clearDELAYCRC; inline;
  14809. procedure clearEXCESSDFR; inline;
  14810. procedure clearFULLDPLX; inline;
  14811. procedure clearHUGEFRM; inline;
  14812. procedure clearLENGTHCK; inline;
  14813. procedure clearLONGPRE; inline;
  14814. procedure clearNOBKOFF; inline;
  14815. procedure clearPADENABLE; inline;
  14816. procedure clearPUREPRE; inline;
  14817. procedure clearVLANPAD; inline;
  14818. procedure setAUTOPAD; inline;
  14819. procedure setBPNOBKOFF; inline;
  14820. procedure setCRCENABLE; inline;
  14821. procedure setDELAYCRC; inline;
  14822. procedure setEXCESSDFR; inline;
  14823. procedure setFULLDPLX; inline;
  14824. procedure setHUGEFRM; inline;
  14825. procedure setLENGTHCK; inline;
  14826. procedure setLONGPRE; inline;
  14827. procedure setNOBKOFF; inline;
  14828. procedure setPADENABLE; inline;
  14829. procedure setPUREPRE; inline;
  14830. procedure setVLANPAD; inline;
  14831. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  14832. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  14833. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  14834. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  14835. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  14836. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  14837. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  14838. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  14839. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  14840. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  14841. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  14842. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  14843. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  14844. property w : TBits_32 read getw write setw;
  14845. end;
  14846. TETH_EMAC1IPGT = record
  14847. private
  14848. function getB2BIPKTGP : TBits_7; inline;
  14849. function getw : TBits_32; inline;
  14850. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  14851. procedure setw(thebits : TBits_32); inline;
  14852. public
  14853. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  14854. property w : TBits_32 read getw write setw;
  14855. end;
  14856. TETH_EMACxIPGT = record
  14857. private
  14858. function getB2BIPKTGP : TBits_7; inline;
  14859. function getw : TBits_32; inline;
  14860. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  14861. procedure setw(thebits : TBits_32); inline;
  14862. public
  14863. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  14864. property w : TBits_32 read getw write setw;
  14865. end;
  14866. TETH_EMAC1IPGR = record
  14867. private
  14868. function getNB2BIPKTGP1 : TBits_7; inline;
  14869. function getNB2BIPKTGP2 : TBits_7; inline;
  14870. function getw : TBits_32; inline;
  14871. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  14872. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  14873. procedure setw(thebits : TBits_32); inline;
  14874. public
  14875. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  14876. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  14877. property w : TBits_32 read getw write setw;
  14878. end;
  14879. TETH_EMACxIPGR = record
  14880. private
  14881. function getNB2BIPKTGP1 : TBits_7; inline;
  14882. function getNB2BIPKTGP2 : TBits_7; inline;
  14883. function getw : TBits_32; inline;
  14884. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  14885. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  14886. procedure setw(thebits : TBits_32); inline;
  14887. public
  14888. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  14889. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  14890. property w : TBits_32 read getw write setw;
  14891. end;
  14892. TETH_EMAC1CLRT = record
  14893. private
  14894. function getCWINDOW : TBits_6; inline;
  14895. function getRETX : TBits_4; inline;
  14896. function getw : TBits_32; inline;
  14897. procedure setCWINDOW(thebits : TBits_6); inline;
  14898. procedure setRETX(thebits : TBits_4); inline;
  14899. procedure setw(thebits : TBits_32); inline;
  14900. public
  14901. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  14902. property RETX : TBits_4 read getRETX write setRETX;
  14903. property w : TBits_32 read getw write setw;
  14904. end;
  14905. TETH_EMACxCLRT = record
  14906. private
  14907. function getCWINDOW : TBits_6; inline;
  14908. function getRETX : TBits_4; inline;
  14909. function getw : TBits_32; inline;
  14910. procedure setCWINDOW(thebits : TBits_6); inline;
  14911. procedure setRETX(thebits : TBits_4); inline;
  14912. procedure setw(thebits : TBits_32); inline;
  14913. public
  14914. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  14915. property RETX : TBits_4 read getRETX write setRETX;
  14916. property w : TBits_32 read getw write setw;
  14917. end;
  14918. TETH_EMAC1MAXF = record
  14919. private
  14920. function getMACMAXF : TBits_16; inline;
  14921. function getw : TBits_32; inline;
  14922. procedure setMACMAXF(thebits : TBits_16); inline;
  14923. procedure setw(thebits : TBits_32); inline;
  14924. public
  14925. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  14926. property w : TBits_32 read getw write setw;
  14927. end;
  14928. TETH_EMACxMAXF = record
  14929. private
  14930. function getMACMAXF : TBits_16; inline;
  14931. function getw : TBits_32; inline;
  14932. procedure setMACMAXF(thebits : TBits_16); inline;
  14933. procedure setw(thebits : TBits_32); inline;
  14934. public
  14935. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  14936. property w : TBits_32 read getw write setw;
  14937. end;
  14938. TETH_EMAC1SUPP = record
  14939. private
  14940. function getRESETRMII : TBits_1; inline;
  14941. function getSPEEDRMII : TBits_1; inline;
  14942. function getw : TBits_32; inline;
  14943. procedure setRESETRMII(thebits : TBits_1); inline;
  14944. procedure setSPEEDRMII(thebits : TBits_1); inline;
  14945. procedure setw(thebits : TBits_32); inline;
  14946. public
  14947. procedure clearRESETRMII; inline;
  14948. procedure clearSPEEDRMII; inline;
  14949. procedure setRESETRMII; inline;
  14950. procedure setSPEEDRMII; inline;
  14951. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  14952. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  14953. property w : TBits_32 read getw write setw;
  14954. end;
  14955. TETH_EMACxSUPP = record
  14956. private
  14957. function getRESETRMII : TBits_1; inline;
  14958. function getSPEEDRMII : TBits_1; inline;
  14959. function getw : TBits_32; inline;
  14960. procedure setRESETRMII(thebits : TBits_1); inline;
  14961. procedure setSPEEDRMII(thebits : TBits_1); inline;
  14962. procedure setw(thebits : TBits_32); inline;
  14963. public
  14964. procedure clearRESETRMII; inline;
  14965. procedure clearSPEEDRMII; inline;
  14966. procedure setRESETRMII; inline;
  14967. procedure setSPEEDRMII; inline;
  14968. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  14969. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  14970. property w : TBits_32 read getw write setw;
  14971. end;
  14972. TETH_EMAC1TEST = record
  14973. private
  14974. function getSHRTQNTA : TBits_1; inline;
  14975. function getTESTBP : TBits_1; inline;
  14976. function getTESTPAUSE : TBits_1; inline;
  14977. function getw : TBits_32; inline;
  14978. procedure setSHRTQNTA(thebits : TBits_1); inline;
  14979. procedure setTESTBP(thebits : TBits_1); inline;
  14980. procedure setTESTPAUSE(thebits : TBits_1); inline;
  14981. procedure setw(thebits : TBits_32); inline;
  14982. public
  14983. procedure clearSHRTQNTA; inline;
  14984. procedure clearTESTBP; inline;
  14985. procedure clearTESTPAUSE; inline;
  14986. procedure setSHRTQNTA; inline;
  14987. procedure setTESTBP; inline;
  14988. procedure setTESTPAUSE; inline;
  14989. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  14990. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  14991. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  14992. property w : TBits_32 read getw write setw;
  14993. end;
  14994. TETH_EMACxTEST = record
  14995. private
  14996. function getSHRTQNTA : TBits_1; inline;
  14997. function getTESTBP : TBits_1; inline;
  14998. function getTESTPAUSE : TBits_1; inline;
  14999. function getw : TBits_32; inline;
  15000. procedure setSHRTQNTA(thebits : TBits_1); inline;
  15001. procedure setTESTBP(thebits : TBits_1); inline;
  15002. procedure setTESTPAUSE(thebits : TBits_1); inline;
  15003. procedure setw(thebits : TBits_32); inline;
  15004. public
  15005. procedure clearSHRTQNTA; inline;
  15006. procedure clearTESTBP; inline;
  15007. procedure clearTESTPAUSE; inline;
  15008. procedure setSHRTQNTA; inline;
  15009. procedure setTESTBP; inline;
  15010. procedure setTESTPAUSE; inline;
  15011. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  15012. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  15013. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  15014. property w : TBits_32 read getw write setw;
  15015. end;
  15016. TETH_EMAC1MCFG = record
  15017. private
  15018. function getCLKSEL : TBits_4; inline;
  15019. function getNOPRE : TBits_1; inline;
  15020. function getRESETMGMT : TBits_1; inline;
  15021. function getSCANINC : TBits_1; inline;
  15022. function getw : TBits_32; inline;
  15023. procedure setCLKSEL(thebits : TBits_4); inline;
  15024. procedure setNOPRE(thebits : TBits_1); inline;
  15025. procedure setRESETMGMT(thebits : TBits_1); inline;
  15026. procedure setSCANINC(thebits : TBits_1); inline;
  15027. procedure setw(thebits : TBits_32); inline;
  15028. public
  15029. procedure clearNOPRE; inline;
  15030. procedure clearRESETMGMT; inline;
  15031. procedure clearSCANINC; inline;
  15032. procedure setNOPRE; inline;
  15033. procedure setRESETMGMT; inline;
  15034. procedure setSCANINC; inline;
  15035. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  15036. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  15037. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  15038. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  15039. property w : TBits_32 read getw write setw;
  15040. end;
  15041. TETH_EMACxMCFG = record
  15042. private
  15043. function getCLKSEL : TBits_4; inline;
  15044. function getNOPRE : TBits_1; inline;
  15045. function getRESETMGMT : TBits_1; inline;
  15046. function getSCANINC : TBits_1; inline;
  15047. function getw : TBits_32; inline;
  15048. procedure setCLKSEL(thebits : TBits_4); inline;
  15049. procedure setNOPRE(thebits : TBits_1); inline;
  15050. procedure setRESETMGMT(thebits : TBits_1); inline;
  15051. procedure setSCANINC(thebits : TBits_1); inline;
  15052. procedure setw(thebits : TBits_32); inline;
  15053. public
  15054. procedure clearNOPRE; inline;
  15055. procedure clearRESETMGMT; inline;
  15056. procedure clearSCANINC; inline;
  15057. procedure setNOPRE; inline;
  15058. procedure setRESETMGMT; inline;
  15059. procedure setSCANINC; inline;
  15060. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  15061. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  15062. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  15063. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  15064. property w : TBits_32 read getw write setw;
  15065. end;
  15066. TETH_EMAC1MCMD = record
  15067. private
  15068. function getREAD : TBits_1; inline;
  15069. function getSCAN : TBits_1; inline;
  15070. function getw : TBits_32; inline;
  15071. procedure setREAD(thebits : TBits_1); inline;
  15072. procedure setSCAN(thebits : TBits_1); inline;
  15073. procedure setw(thebits : TBits_32); inline;
  15074. public
  15075. procedure clearREAD; inline;
  15076. procedure clearSCAN; inline;
  15077. procedure setREAD; inline;
  15078. procedure setSCAN; inline;
  15079. property READ : TBits_1 read getREAD write setREAD;
  15080. property SCAN : TBits_1 read getSCAN write setSCAN;
  15081. property w : TBits_32 read getw write setw;
  15082. end;
  15083. TETH_EMACxMCMD = record
  15084. private
  15085. function getREAD : TBits_1; inline;
  15086. function getSCAN : TBits_1; inline;
  15087. function getw : TBits_32; inline;
  15088. procedure setREAD(thebits : TBits_1); inline;
  15089. procedure setSCAN(thebits : TBits_1); inline;
  15090. procedure setw(thebits : TBits_32); inline;
  15091. public
  15092. procedure clearREAD; inline;
  15093. procedure clearSCAN; inline;
  15094. procedure setREAD; inline;
  15095. procedure setSCAN; inline;
  15096. property READ : TBits_1 read getREAD write setREAD;
  15097. property SCAN : TBits_1 read getSCAN write setSCAN;
  15098. property w : TBits_32 read getw write setw;
  15099. end;
  15100. TETH_EMAC1MADR = record
  15101. private
  15102. function getPHYADDR : TBits_5; inline;
  15103. function getREGADDR : TBits_5; inline;
  15104. function getw : TBits_32; inline;
  15105. procedure setPHYADDR(thebits : TBits_5); inline;
  15106. procedure setREGADDR(thebits : TBits_5); inline;
  15107. procedure setw(thebits : TBits_32); inline;
  15108. public
  15109. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  15110. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  15111. property w : TBits_32 read getw write setw;
  15112. end;
  15113. TETH_EMACxMADR = record
  15114. private
  15115. function getPHYADDR : TBits_5; inline;
  15116. function getREGADDR : TBits_5; inline;
  15117. function getw : TBits_32; inline;
  15118. procedure setPHYADDR(thebits : TBits_5); inline;
  15119. procedure setREGADDR(thebits : TBits_5); inline;
  15120. procedure setw(thebits : TBits_32); inline;
  15121. public
  15122. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  15123. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  15124. property w : TBits_32 read getw write setw;
  15125. end;
  15126. TETH_EMAC1MWTD = record
  15127. private
  15128. function getMWTD : TBits_16; inline;
  15129. function getw : TBits_32; inline;
  15130. procedure setMWTD(thebits : TBits_16); inline;
  15131. procedure setw(thebits : TBits_32); inline;
  15132. public
  15133. property MWTD : TBits_16 read getMWTD write setMWTD;
  15134. property w : TBits_32 read getw write setw;
  15135. end;
  15136. TETH_EMACxMWTD = record
  15137. private
  15138. function getMWTD : TBits_16; inline;
  15139. function getw : TBits_32; inline;
  15140. procedure setMWTD(thebits : TBits_16); inline;
  15141. procedure setw(thebits : TBits_32); inline;
  15142. public
  15143. property MWTD : TBits_16 read getMWTD write setMWTD;
  15144. property w : TBits_32 read getw write setw;
  15145. end;
  15146. TETH_EMAC1MRDD = record
  15147. private
  15148. function getMRDD : TBits_16; inline;
  15149. function getw : TBits_32; inline;
  15150. procedure setMRDD(thebits : TBits_16); inline;
  15151. procedure setw(thebits : TBits_32); inline;
  15152. public
  15153. property MRDD : TBits_16 read getMRDD write setMRDD;
  15154. property w : TBits_32 read getw write setw;
  15155. end;
  15156. TETH_EMACxMRDD = record
  15157. private
  15158. function getMRDD : TBits_16; inline;
  15159. function getw : TBits_32; inline;
  15160. procedure setMRDD(thebits : TBits_16); inline;
  15161. procedure setw(thebits : TBits_32); inline;
  15162. public
  15163. property MRDD : TBits_16 read getMRDD write setMRDD;
  15164. property w : TBits_32 read getw write setw;
  15165. end;
  15166. TETH_EMAC1MIND = record
  15167. private
  15168. function getLINKFAIL : TBits_1; inline;
  15169. function getMIIMBUSY : TBits_1; inline;
  15170. function getNOTVALID : TBits_1; inline;
  15171. function getSCAN : TBits_1; inline;
  15172. function getw : TBits_32; inline;
  15173. procedure setLINKFAIL(thebits : TBits_1); inline;
  15174. procedure setMIIMBUSY(thebits : TBits_1); inline;
  15175. procedure setNOTVALID(thebits : TBits_1); inline;
  15176. procedure setSCAN(thebits : TBits_1); inline;
  15177. procedure setw(thebits : TBits_32); inline;
  15178. public
  15179. procedure clearLINKFAIL; inline;
  15180. procedure clearMIIMBUSY; inline;
  15181. procedure clearNOTVALID; inline;
  15182. procedure clearSCAN; inline;
  15183. procedure setLINKFAIL; inline;
  15184. procedure setMIIMBUSY; inline;
  15185. procedure setNOTVALID; inline;
  15186. procedure setSCAN; inline;
  15187. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  15188. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  15189. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  15190. property SCAN : TBits_1 read getSCAN write setSCAN;
  15191. property w : TBits_32 read getw write setw;
  15192. end;
  15193. TETH_EMACxMIND = record
  15194. private
  15195. function getLINKFAIL : TBits_1; inline;
  15196. function getMIIMBUSY : TBits_1; inline;
  15197. function getNOTVALID : TBits_1; inline;
  15198. function getSCAN : TBits_1; inline;
  15199. function getw : TBits_32; inline;
  15200. procedure setLINKFAIL(thebits : TBits_1); inline;
  15201. procedure setMIIMBUSY(thebits : TBits_1); inline;
  15202. procedure setNOTVALID(thebits : TBits_1); inline;
  15203. procedure setSCAN(thebits : TBits_1); inline;
  15204. procedure setw(thebits : TBits_32); inline;
  15205. public
  15206. procedure clearLINKFAIL; inline;
  15207. procedure clearMIIMBUSY; inline;
  15208. procedure clearNOTVALID; inline;
  15209. procedure clearSCAN; inline;
  15210. procedure setLINKFAIL; inline;
  15211. procedure setMIIMBUSY; inline;
  15212. procedure setNOTVALID; inline;
  15213. procedure setSCAN; inline;
  15214. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  15215. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  15216. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  15217. property SCAN : TBits_1 read getSCAN write setSCAN;
  15218. property w : TBits_32 read getw write setw;
  15219. end;
  15220. TETH_EMAC1SA0 = record
  15221. private
  15222. function getSTNADDR5 : TBits_8; inline;
  15223. function getSTNADDR6 : TBits_8; inline;
  15224. function getw : TBits_32; inline;
  15225. procedure setSTNADDR5(thebits : TBits_8); inline;
  15226. procedure setSTNADDR6(thebits : TBits_8); inline;
  15227. procedure setw(thebits : TBits_32); inline;
  15228. public
  15229. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  15230. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  15231. property w : TBits_32 read getw write setw;
  15232. end;
  15233. TETH_EMACxSA0 = record
  15234. private
  15235. function getSTNADDR5 : TBits_8; inline;
  15236. function getSTNADDR6 : TBits_8; inline;
  15237. function getw : TBits_32; inline;
  15238. procedure setSTNADDR5(thebits : TBits_8); inline;
  15239. procedure setSTNADDR6(thebits : TBits_8); inline;
  15240. procedure setw(thebits : TBits_32); inline;
  15241. public
  15242. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  15243. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  15244. property w : TBits_32 read getw write setw;
  15245. end;
  15246. TETH_EMAC1SA1 = record
  15247. private
  15248. function getSTNADDR3 : TBits_8; inline;
  15249. function getSTNADDR4 : TBits_8; inline;
  15250. function getw : TBits_32; inline;
  15251. procedure setSTNADDR3(thebits : TBits_8); inline;
  15252. procedure setSTNADDR4(thebits : TBits_8); inline;
  15253. procedure setw(thebits : TBits_32); inline;
  15254. public
  15255. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  15256. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  15257. property w : TBits_32 read getw write setw;
  15258. end;
  15259. TETH_EMACxSA1 = record
  15260. private
  15261. function getSTNADDR3 : TBits_8; inline;
  15262. function getSTNADDR4 : TBits_8; inline;
  15263. function getw : TBits_32; inline;
  15264. procedure setSTNADDR3(thebits : TBits_8); inline;
  15265. procedure setSTNADDR4(thebits : TBits_8); inline;
  15266. procedure setw(thebits : TBits_32); inline;
  15267. public
  15268. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  15269. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  15270. property w : TBits_32 read getw write setw;
  15271. end;
  15272. TETH_EMAC1SA2 = record
  15273. private
  15274. function getSTNADDR1 : TBits_8; inline;
  15275. function getSTNADDR2 : TBits_8; inline;
  15276. function getw : TBits_32; inline;
  15277. procedure setSTNADDR1(thebits : TBits_8); inline;
  15278. procedure setSTNADDR2(thebits : TBits_8); inline;
  15279. procedure setw(thebits : TBits_32); inline;
  15280. public
  15281. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  15282. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  15283. property w : TBits_32 read getw write setw;
  15284. end;
  15285. TETH_EMACxSA2 = record
  15286. private
  15287. function getSTNADDR1 : TBits_8; inline;
  15288. function getSTNADDR2 : TBits_8; inline;
  15289. function getw : TBits_32; inline;
  15290. procedure setSTNADDR1(thebits : TBits_8); inline;
  15291. procedure setSTNADDR2(thebits : TBits_8); inline;
  15292. procedure setw(thebits : TBits_32); inline;
  15293. public
  15294. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  15295. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  15296. property w : TBits_32 read getw write setw;
  15297. end;
  15298. type
  15299. TETHRegisters = record
  15300. ETHCON1bits : TETH_ETHCON1;
  15301. ETHCON1 : longWord;
  15302. ETHCON1CLR : longWord;
  15303. ETHCON1SET : longWord;
  15304. ETHCON1INV : longWord;
  15305. ETHCON2bits : TETH_ETHCON2;
  15306. ETHCON2 : longWord;
  15307. ETHCON2CLR : longWord;
  15308. ETHCON2SET : longWord;
  15309. ETHCON2INV : longWord;
  15310. ETHTXSTbits : TETH_ETHTXST;
  15311. ETHTXST : longWord;
  15312. ETHTXSTCLR : longWord;
  15313. ETHTXSTSET : longWord;
  15314. ETHTXSTINV : longWord;
  15315. ETHRXSTbits : TETH_ETHRXST;
  15316. ETHRXST : longWord;
  15317. ETHRXSTCLR : longWord;
  15318. ETHRXSTSET : longWord;
  15319. ETHRXSTINV : longWord;
  15320. ETHHT0bits : TETH_ETHHT0;
  15321. ETHHT0 : longWord;
  15322. ETHHT0CLR : longWord;
  15323. ETHHT0SET : longWord;
  15324. ETHHT0INV : longWord;
  15325. ETHHT1bits : TETH_ETHHT1;
  15326. ETHHT1 : longWord;
  15327. ETHHT1CLR : longWord;
  15328. ETHHT1SET : longWord;
  15329. ETHHT1INV : longWord;
  15330. ETHPMM0bits : TETH_ETHPMM0;
  15331. ETHPMM0 : longWord;
  15332. ETHPMM0CLR : longWord;
  15333. ETHPMM0SET : longWord;
  15334. ETHPMM0INV : longWord;
  15335. ETHPMM1bits : TETH_ETHPMM1;
  15336. ETHPMM1 : longWord;
  15337. ETHPMM1CLR : longWord;
  15338. ETHPMM1SET : longWord;
  15339. ETHPMM1INV : longWord;
  15340. ETHPMCSbits : TETH_ETHPMCS;
  15341. ETHPMCS : longWord;
  15342. ETHPMCSCLR : longWord;
  15343. ETHPMCSSET : longWord;
  15344. ETHPMCSINV : longWord;
  15345. ETHPMObits : TETH_ETHPMO;
  15346. ETHPMO : longWord;
  15347. ETHPMOCLR : longWord;
  15348. ETHPMOSET : longWord;
  15349. ETHPMOINV : longWord;
  15350. ETHRXFCbits : TETH_ETHRXFC;
  15351. ETHRXFC : longWord;
  15352. ETHRXFCCLR : longWord;
  15353. ETHRXFCSET : longWord;
  15354. ETHRXFCINV : longWord;
  15355. ETHRXWMbits : TETH_ETHRXWM;
  15356. ETHRXWM : longWord;
  15357. ETHRXWMCLR : longWord;
  15358. ETHRXWMSET : longWord;
  15359. ETHRXWMINV : longWord;
  15360. ETHIENbits : TETH_ETHIEN;
  15361. ETHIEN : longWord;
  15362. ETHIENCLR : longWord;
  15363. ETHIENSET : longWord;
  15364. ETHIENINV : longWord;
  15365. ETHIRQbits : TETH_ETHIRQ;
  15366. ETHIRQ : longWord;
  15367. ETHIRQCLR : longWord;
  15368. ETHIRQSET : longWord;
  15369. ETHIRQINV : longWord;
  15370. ETHSTATbits : TETH_ETHSTAT;
  15371. ETHSTAT : longWord;
  15372. ETHSTATCLR : longWord;
  15373. ETHSTATSET : longWord;
  15374. ETHSTATINV : longWord;
  15375. ETHRXOVFLOWbits : TETH_ETHRXOVFLOW;
  15376. ETHRXOVFLOW : longWord;
  15377. ETHRXOVFLOWCLR : longWord;
  15378. ETHRXOVFLOWSET : longWord;
  15379. ETHRXOVFLOWINV : longWord;
  15380. ETHFRMTXOKbits : TETH_ETHFRMTXOK;
  15381. ETHFRMTXOK : longWord;
  15382. ETHFRMTXOKCLR : longWord;
  15383. ETHFRMTXOKSET : longWord;
  15384. ETHFRMTXOKINV : longWord;
  15385. ETHSCOLFRMbits : TETH_ETHSCOLFRM;
  15386. ETHSCOLFRM : longWord;
  15387. ETHSCOLFRMCLR : longWord;
  15388. ETHSCOLFRMSET : longWord;
  15389. ETHSCOLFRMINV : longWord;
  15390. ETHMCOLFRMbits : TETH_ETHMCOLFRM;
  15391. ETHMCOLFRM : longWord;
  15392. ETHMCOLFRMCLR : longWord;
  15393. ETHMCOLFRMSET : longWord;
  15394. ETHMCOLFRMINV : longWord;
  15395. ETHFRMRXOKbits : TETH_ETHFRMRXOK;
  15396. ETHFRMRXOK : longWord;
  15397. ETHFRMRXOKCLR : longWord;
  15398. ETHFRMRXOKSET : longWord;
  15399. ETHFRMRXOKINV : longWord;
  15400. ETHFCSERRbits : TETH_ETHFCSERR;
  15401. ETHFCSERR : longWord;
  15402. ETHFCSERRCLR : longWord;
  15403. ETHFCSERRSET : longWord;
  15404. ETHFCSERRINV : longWord;
  15405. ETHALGNERRbits : TETH_ETHALGNERR;
  15406. ETHALGNERR : longWord;
  15407. ETHALGNERRCLR : longWord;
  15408. ETHALGNERRSET : longWord;
  15409. ETHALGNERRINV : longWord;
  15410. EMAC1CFG1bits : TETH_EMAC1CFG1;
  15411. EMAC1CFG1 : longWord;
  15412. EMACxCFG1bits : TETH_EMACxCFG1;
  15413. EMACxCFG1 : longWord;
  15414. EMAC1CFG1CLR : longWord;
  15415. EMACxCFG1CLR : longWord;
  15416. EMAC1CFG1SET : longWord;
  15417. EMACxCFG1SET : longWord;
  15418. EMAC1CFG1INV : longWord;
  15419. EMACxCFG1INV : longWord;
  15420. EMAC1CFG2bits : TETH_EMAC1CFG2;
  15421. EMAC1CFG2 : longWord;
  15422. EMACxCFG2bits : TETH_EMACxCFG2;
  15423. EMACxCFG2 : longWord;
  15424. EMAC1CFG2CLR : longWord;
  15425. EMACxCFG2CLR : longWord;
  15426. EMAC1CFG2SET : longWord;
  15427. EMACxCFG2SET : longWord;
  15428. EMAC1CFG2INV : longWord;
  15429. EMACxCFG2INV : longWord;
  15430. EMAC1IPGTbits : TETH_EMAC1IPGT;
  15431. EMAC1IPGT : longWord;
  15432. EMACxIPGTbits : TETH_EMACxIPGT;
  15433. EMACxIPGT : longWord;
  15434. EMAC1IPGTCLR : longWord;
  15435. EMACxIPGTCLR : longWord;
  15436. EMAC1IPGTSET : longWord;
  15437. EMACxIPGTSET : longWord;
  15438. EMAC1IPGTINV : longWord;
  15439. EMACxIPGTINV : longWord;
  15440. EMAC1IPGRbits : TETH_EMAC1IPGR;
  15441. EMAC1IPGR : longWord;
  15442. EMACxIPGRbits : TETH_EMACxIPGR;
  15443. EMACxIPGR : longWord;
  15444. EMAC1IPGRCLR : longWord;
  15445. EMACxIPGRCLR : longWord;
  15446. EMAC1IPGRSET : longWord;
  15447. EMACxIPGRSET : longWord;
  15448. EMAC1IPGRINV : longWord;
  15449. EMACxIPGRINV : longWord;
  15450. EMAC1CLRTbits : TETH_EMAC1CLRT;
  15451. EMAC1CLRT : longWord;
  15452. EMACxCLRTbits : TETH_EMACxCLRT;
  15453. EMACxCLRT : longWord;
  15454. EMAC1CLRTCLR : longWord;
  15455. EMACxCLRTCLR : longWord;
  15456. EMAC1CLRTSET : longWord;
  15457. EMACxCLRTSET : longWord;
  15458. EMAC1CLRTINV : longWord;
  15459. EMACxCLRTINV : longWord;
  15460. EMAC1MAXFbits : TETH_EMAC1MAXF;
  15461. EMAC1MAXF : longWord;
  15462. EMACxMAXFbits : TETH_EMACxMAXF;
  15463. EMACxMAXF : longWord;
  15464. EMAC1MAXFCLR : longWord;
  15465. EMACxMAXFCLR : longWord;
  15466. EMAC1MAXFSET : longWord;
  15467. EMACxMAXFSET : longWord;
  15468. EMAC1MAXFINV : longWord;
  15469. EMACxMAXFINV : longWord;
  15470. EMAC1SUPPbits : TETH_EMAC1SUPP;
  15471. EMAC1SUPP : longWord;
  15472. EMACxSUPPbits : TETH_EMACxSUPP;
  15473. EMACxSUPP : longWord;
  15474. EMAC1SUPPCLR : longWord;
  15475. EMACxSUPPCLR : longWord;
  15476. EMAC1SUPPSET : longWord;
  15477. EMACxSUPPSET : longWord;
  15478. EMAC1SUPPINV : longWord;
  15479. EMACxSUPPINV : longWord;
  15480. EMAC1TESTbits : TETH_EMAC1TEST;
  15481. EMAC1TEST : longWord;
  15482. EMACxTESTbits : TETH_EMACxTEST;
  15483. EMACxTEST : longWord;
  15484. EMAC1TESTCLR : longWord;
  15485. EMACxTESTCLR : longWord;
  15486. EMAC1TESTSET : longWord;
  15487. EMACxTESTSET : longWord;
  15488. EMAC1TESTINV : longWord;
  15489. EMACxTESTINV : longWord;
  15490. EMAC1MCFGbits : TETH_EMAC1MCFG;
  15491. EMAC1MCFG : longWord;
  15492. EMACxMCFGbits : TETH_EMACxMCFG;
  15493. EMACxMCFG : longWord;
  15494. EMAC1MCFGCLR : longWord;
  15495. EMACxMCFGCLR : longWord;
  15496. EMAC1MCFGSET : longWord;
  15497. EMACxMCFGSET : longWord;
  15498. EMAC1MCFGINV : longWord;
  15499. EMACxMCFGINV : longWord;
  15500. EMAC1MCMDbits : TETH_EMAC1MCMD;
  15501. EMAC1MCMD : longWord;
  15502. EMACxMCMDbits : TETH_EMACxMCMD;
  15503. EMACxMCMD : longWord;
  15504. EMAC1MCMDCLR : longWord;
  15505. EMACxMCMDCLR : longWord;
  15506. EMAC1MCMDSET : longWord;
  15507. EMACxMCMDSET : longWord;
  15508. EMAC1MCMDINV : longWord;
  15509. EMACxMCMDINV : longWord;
  15510. EMAC1MADRbits : TETH_EMAC1MADR;
  15511. EMAC1MADR : longWord;
  15512. EMACxMADRbits : TETH_EMACxMADR;
  15513. EMACxMADR : longWord;
  15514. EMAC1MADRCLR : longWord;
  15515. EMACxMADRCLR : longWord;
  15516. EMAC1MADRSET : longWord;
  15517. EMACxMADRSET : longWord;
  15518. EMAC1MADRINV : longWord;
  15519. EMACxMADRINV : longWord;
  15520. EMAC1MWTDbits : TETH_EMAC1MWTD;
  15521. EMAC1MWTD : longWord;
  15522. EMACxMWTDbits : TETH_EMACxMWTD;
  15523. EMACxMWTD : longWord;
  15524. EMAC1MWTDCLR : longWord;
  15525. EMACxMWTDCLR : longWord;
  15526. EMAC1MWTDSET : longWord;
  15527. EMACxMWTDSET : longWord;
  15528. EMAC1MWTDINV : longWord;
  15529. EMACxMWTDINV : longWord;
  15530. EMAC1MRDDbits : TETH_EMAC1MRDD;
  15531. EMAC1MRDD : longWord;
  15532. EMACxMRDDbits : TETH_EMACxMRDD;
  15533. EMACxMRDD : longWord;
  15534. EMAC1MRDDCLR : longWord;
  15535. EMACxMRDDCLR : longWord;
  15536. EMAC1MRDDSET : longWord;
  15537. EMACxMRDDSET : longWord;
  15538. EMAC1MRDDINV : longWord;
  15539. EMACxMRDDINV : longWord;
  15540. EMAC1MINDbits : TETH_EMAC1MIND;
  15541. EMAC1MIND : longWord;
  15542. EMACxMINDbits : TETH_EMACxMIND;
  15543. EMACxMIND : longWord;
  15544. EMAC1MINDCLR : longWord;
  15545. EMACxMINDCLR : longWord;
  15546. EMAC1MINDSET : longWord;
  15547. EMACxMINDSET : longWord;
  15548. EMAC1MINDINV : longWord;
  15549. EMACxMINDINV : longWord;
  15550. EMAC1SA0bits : TETH_EMAC1SA0;
  15551. EMAC1SA0 : longWord;
  15552. EMACxSA0bits : TETH_EMACxSA0;
  15553. EMACxSA0 : longWord;
  15554. EMAC1SA0CLR : longWord;
  15555. EMACxSA0CLR : longWord;
  15556. EMAC1SA0SET : longWord;
  15557. EMACxSA0SET : longWord;
  15558. EMAC1SA0INV : longWord;
  15559. EMACxSA0INV : longWord;
  15560. EMAC1SA1bits : TETH_EMAC1SA1;
  15561. EMAC1SA1 : longWord;
  15562. EMACxSA1bits : TETH_EMACxSA1;
  15563. EMACxSA1 : longWord;
  15564. EMAC1SA1CLR : longWord;
  15565. EMACxSA1CLR : longWord;
  15566. EMAC1SA1SET : longWord;
  15567. EMACxSA1SET : longWord;
  15568. EMAC1SA1INV : longWord;
  15569. EMACxSA1INV : longWord;
  15570. EMAC1SA2bits : TETH_EMAC1SA2;
  15571. EMAC1SA2 : longWord;
  15572. EMACxSA2bits : TETH_EMACxSA2;
  15573. EMACxSA2 : longWord;
  15574. EMAC1SA2CLR : longWord;
  15575. EMACxSA2CLR : longWord;
  15576. EMAC1SA2SET : longWord;
  15577. EMACxSA2SET : longWord;
  15578. EMAC1SA2INV : longWord;
  15579. EMACxSA2INV : longWord;
  15580. end;
  15581. TDEVCFG_DEVCFG3 = record
  15582. private
  15583. function getFETHIO : TBits_1; inline;
  15584. function getFMIIEN : TBits_1; inline;
  15585. function getFSRSSEL : TBits_3; inline;
  15586. function getFUSBIDIO : TBits_1; inline;
  15587. function getFVBUSONIO : TBits_1; inline;
  15588. function getUSERID : TBits_16; inline;
  15589. function getw : TBits_32; inline;
  15590. procedure setFETHIO(thebits : TBits_1); inline;
  15591. procedure setFMIIEN(thebits : TBits_1); inline;
  15592. procedure setFSRSSEL(thebits : TBits_3); inline;
  15593. procedure setFUSBIDIO(thebits : TBits_1); inline;
  15594. procedure setFVBUSONIO(thebits : TBits_1); inline;
  15595. procedure setUSERID(thebits : TBits_16); inline;
  15596. procedure setw(thebits : TBits_32); inline;
  15597. public
  15598. procedure clearFETHIO; inline;
  15599. procedure clearFMIIEN; inline;
  15600. procedure clearFUSBIDIO; inline;
  15601. procedure clearFVBUSONIO; inline;
  15602. procedure setFETHIO; inline;
  15603. procedure setFMIIEN; inline;
  15604. procedure setFUSBIDIO; inline;
  15605. procedure setFVBUSONIO; inline;
  15606. property FETHIO : TBits_1 read getFETHIO write setFETHIO;
  15607. property FMIIEN : TBits_1 read getFMIIEN write setFMIIEN;
  15608. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  15609. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  15610. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  15611. property USERID : TBits_16 read getUSERID write setUSERID;
  15612. property w : TBits_32 read getw write setw;
  15613. end;
  15614. TDEVCFG_DEVCFG2 = record
  15615. private
  15616. function getFPLLIDIV : TBits_3; inline;
  15617. function getFPLLMUL : TBits_3; inline;
  15618. function getFPLLODIV : TBits_3; inline;
  15619. function getUPLLEN : TBits_1; inline;
  15620. function getUPLLIDIV : TBits_3; inline;
  15621. function getw : TBits_32; inline;
  15622. procedure setFPLLIDIV(thebits : TBits_3); inline;
  15623. procedure setFPLLMUL(thebits : TBits_3); inline;
  15624. procedure setFPLLODIV(thebits : TBits_3); inline;
  15625. procedure setUPLLEN(thebits : TBits_1); inline;
  15626. procedure setUPLLIDIV(thebits : TBits_3); inline;
  15627. procedure setw(thebits : TBits_32); inline;
  15628. public
  15629. procedure clearUPLLEN; inline;
  15630. procedure setUPLLEN; inline;
  15631. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  15632. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  15633. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  15634. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  15635. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  15636. property w : TBits_32 read getw write setw;
  15637. end;
  15638. TDEVCFG_DEVCFG1 = record
  15639. private
  15640. function getFCKSM : TBits_2; inline;
  15641. function getFNOSC : TBits_3; inline;
  15642. function getFPBDIV : TBits_2; inline;
  15643. function getFSOSCEN : TBits_1; inline;
  15644. function getFWDTEN : TBits_1; inline;
  15645. function getIESO : TBits_1; inline;
  15646. function getOSCIOFNC : TBits_1; inline;
  15647. function getPOSCMOD : TBits_2; inline;
  15648. function getWDTPS : TBits_5; inline;
  15649. function getw : TBits_32; inline;
  15650. procedure setFCKSM(thebits : TBits_2); inline;
  15651. procedure setFNOSC(thebits : TBits_3); inline;
  15652. procedure setFPBDIV(thebits : TBits_2); inline;
  15653. procedure setFSOSCEN(thebits : TBits_1); inline;
  15654. procedure setFWDTEN(thebits : TBits_1); inline;
  15655. procedure setIESO(thebits : TBits_1); inline;
  15656. procedure setOSCIOFNC(thebits : TBits_1); inline;
  15657. procedure setPOSCMOD(thebits : TBits_2); inline;
  15658. procedure setWDTPS(thebits : TBits_5); inline;
  15659. procedure setw(thebits : TBits_32); inline;
  15660. public
  15661. procedure clearFSOSCEN; inline;
  15662. procedure clearFWDTEN; inline;
  15663. procedure clearIESO; inline;
  15664. procedure clearOSCIOFNC; inline;
  15665. procedure setFSOSCEN; inline;
  15666. procedure setFWDTEN; inline;
  15667. procedure setIESO; inline;
  15668. procedure setOSCIOFNC; inline;
  15669. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  15670. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  15671. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  15672. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  15673. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  15674. property IESO : TBits_1 read getIESO write setIESO;
  15675. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  15676. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  15677. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  15678. property w : TBits_32 read getw write setw;
  15679. end;
  15680. TDEVCFG_DEVCFG0 = record
  15681. private
  15682. function getBWP : TBits_1; inline;
  15683. function getCP : TBits_1; inline;
  15684. function getDEBUG : TBits_2; inline;
  15685. function getFDEBUG : TBits_2; inline;
  15686. function getICESEL : TBits_1; inline;
  15687. function getPWP : TBits_8; inline;
  15688. function getw : TBits_32; inline;
  15689. procedure setBWP(thebits : TBits_1); inline;
  15690. procedure setCP(thebits : TBits_1); inline;
  15691. procedure setDEBUG(thebits : TBits_2); inline;
  15692. procedure setFDEBUG(thebits : TBits_2); inline;
  15693. procedure setICESEL(thebits : TBits_1); inline;
  15694. procedure setPWP(thebits : TBits_8); inline;
  15695. procedure setw(thebits : TBits_32); inline;
  15696. public
  15697. procedure clearBWP; inline;
  15698. procedure clearCP; inline;
  15699. procedure clearICESEL; inline;
  15700. procedure setBWP; inline;
  15701. procedure setCP; inline;
  15702. procedure setICESEL; inline;
  15703. property BWP : TBits_1 read getBWP write setBWP;
  15704. property CP : TBits_1 read getCP write setCP;
  15705. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  15706. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  15707. property ICESEL : TBits_1 read getICESEL write setICESEL;
  15708. property PWP : TBits_8 read getPWP write setPWP;
  15709. property w : TBits_32 read getw write setw;
  15710. end;
  15711. const
  15712. _CORE_TIMER_IRQ = 0;
  15713. _CORE_SOFTWARE_0_IRQ = 1;
  15714. _CORE_SOFTWARE_1_IRQ = 2;
  15715. _EXTERNAL_0_IRQ = 3;
  15716. _TIMER_1_IRQ = 4;
  15717. _INPUT_CAPTURE_1_IRQ = 5;
  15718. _OUTPUT_COMPARE_1_IRQ = 6;
  15719. _EXTERNAL_1_IRQ = 7;
  15720. _TIMER_2_IRQ = 8;
  15721. _INPUT_CAPTURE_2_IRQ = 9;
  15722. _OUTPUT_COMPARE_2_IRQ = 10;
  15723. _EXTERNAL_2_IRQ = 11;
  15724. _TIMER_3_IRQ = 12;
  15725. _INPUT_CAPTURE_3_IRQ = 13;
  15726. _OUTPUT_COMPARE_3_IRQ = 14;
  15727. _EXTERNAL_3_IRQ = 15;
  15728. _TIMER_4_IRQ = 16;
  15729. _INPUT_CAPTURE_4_IRQ = 17;
  15730. _OUTPUT_COMPARE_4_IRQ = 18;
  15731. _EXTERNAL_4_IRQ = 19;
  15732. _TIMER_5_IRQ = 20;
  15733. _INPUT_CAPTURE_5_IRQ = 21;
  15734. _OUTPUT_COMPARE_5_IRQ = 22;
  15735. _I2C1A_ERR_IRQ = 26;
  15736. _I2C3_BUS_IRQ = 26;
  15737. _SPI1A_ERR_IRQ = 26;
  15738. _SPI3_ERR_IRQ = 26;
  15739. _UART1A_ERR_IRQ = 26;
  15740. _UART1_ERR_IRQ = 26;
  15741. _I2C1A_RX_IRQ = 27;
  15742. _I2C3_SLAVE_IRQ = 27;
  15743. _SPI1A_RX_IRQ = 27;
  15744. _SPI3_RX_IRQ = 27;
  15745. _UART1A_RX_IRQ = 27;
  15746. _UART1_RX_IRQ = 27;
  15747. _I2C1A_TX_IRQ = 28;
  15748. _I2C3_MASTER_IRQ = 28;
  15749. _SPI1A_TX_IRQ = 28;
  15750. _SPI3_TX_IRQ = 28;
  15751. _UART1A_TX_IRQ = 28;
  15752. _UART1_TX_IRQ = 28;
  15753. _I2C1_BUS_IRQ = 29;
  15754. _I2C1_SLAVE_IRQ = 30;
  15755. _I2C1_MASTER_IRQ = 31;
  15756. _CHANGE_NOTICE_IRQ = 32;
  15757. _ADC_IRQ = 33;
  15758. _PMP_IRQ = 34;
  15759. _COMPARATOR_1_IRQ = 35;
  15760. _COMPARATOR_2_IRQ = 36;
  15761. _I2C2A_ERR_IRQ = 37;
  15762. _I2C4_BUS_IRQ = 37;
  15763. _SPI2_ERR_IRQ = 37;
  15764. _SPI2A_ERR_IRQ = 37;
  15765. _UART2A_ERR_IRQ = 37;
  15766. _UART3_ERR_IRQ = 37;
  15767. _I2C2A_RX_IRQ = 38;
  15768. _I2C4_SLAVE_IRQ = 38;
  15769. _SPI2_RX_IRQ = 38;
  15770. _SPI2A_RX_IRQ = 38;
  15771. _UART2A_RX_IRQ = 38;
  15772. _UART3_RX_IRQ = 38;
  15773. _I2C2A_TX_IRQ = 39;
  15774. _I2C4_MASTER_IRQ = 39;
  15775. _SPI2A_TX_IRQ = 39;
  15776. _SPI2_TX_IRQ = 39;
  15777. _UART2A_TX_IRQ = 39;
  15778. _UART3_TX_IRQ = 39;
  15779. _I2C3A_ERR_IRQ = 40;
  15780. _I2C5_BUS_IRQ = 40;
  15781. _SPI3A_ERR_IRQ = 40;
  15782. _SPI4_ERR_IRQ = 40;
  15783. _UART2_ERR_IRQ = 40;
  15784. _UART3A_ERR_IRQ = 40;
  15785. _I2C3A_RX_IRQ = 41;
  15786. _I2C5_SLAVE_IRQ = 41;
  15787. _SPI3A_RX_IRQ = 41;
  15788. _SPI4_RX_IRQ = 41;
  15789. _UART2_RX_IRQ = 41;
  15790. _UART3A_RX_IRQ = 41;
  15791. _I2C3A_TX_IRQ = 42;
  15792. _I2C5_MASTER_IRQ = 42;
  15793. _SPI3A_TX_IRQ = 42;
  15794. _SPI4_TX_IRQ = 42;
  15795. _UART2_TX_IRQ = 42;
  15796. _UART3A_TX_IRQ = 42;
  15797. _FAIL_SAFE_MONITOR_IRQ = 46;
  15798. _RTCC_IRQ = 47;
  15799. _DMA0_IRQ = 48;
  15800. _DMA1_IRQ = 49;
  15801. _DMA2_IRQ = 50;
  15802. _DMA3_IRQ = 51;
  15803. _DMA4_IRQ = 52;
  15804. _DMA5_IRQ = 53;
  15805. _DMA6_IRQ = 54;
  15806. _DMA7_IRQ = 55;
  15807. _FLASH_CONTROL_IRQ = 56;
  15808. _USB_IRQ = 57;
  15809. _ETHERNET_IRQ = 60;
  15810. _INPUT_CAPTURE_ERROR_1_IRQ = 61;
  15811. _INPUT_CAPTURE_ERROR_2_IRQ = 62;
  15812. _INPUT_CAPTURE_ERROR_3_IRQ = 63;
  15813. _INPUT_CAPTURE_ERROR_4_IRQ = 64;
  15814. _INPUT_CAPTURE_ERROR_5_IRQ = 65;
  15815. _PMP_ERROR_IRQ = 66;
  15816. _UART1B_ERR_IRQ = 67;
  15817. _UART4_ERR_IRQ = 67;
  15818. _UART1B_RX_IRQ = 68;
  15819. _UART4_RX_IRQ = 68;
  15820. _UART1B_TX_IRQ = 69;
  15821. _UART4_TX_IRQ = 69;
  15822. _UART2B_ERR_IRQ = 70;
  15823. _UART6_ERR_IRQ = 70;
  15824. _UART2B_RX_IRQ = 71;
  15825. _UART6_RX_IRQ = 71;
  15826. _UART2B_TX_IRQ = 72;
  15827. _UART6_TX_IRQ = 72;
  15828. _UART3B_ERR_IRQ = 73;
  15829. _UART5_ERR_IRQ = 73;
  15830. _UART3B_RX_IRQ = 74;
  15831. _UART5_RX_IRQ = 74;
  15832. _UART3B_TX_IRQ = 75;
  15833. _UART5_TX_IRQ = 75;
  15834. const
  15835. ADC10_BASE_ADDRESS = $BF809000;
  15836. var
  15837. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  15838. const
  15839. BMX_BASE_ADDRESS = $BF882000;
  15840. var
  15841. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  15842. const
  15843. CFG_BASE_ADDRESS = $BF80F200;
  15844. var
  15845. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  15846. const
  15847. CMP_BASE_ADDRESS = $BF80A000;
  15848. var
  15849. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  15850. const
  15851. CVR_BASE_ADDRESS = $BF809800;
  15852. var
  15853. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  15854. const
  15855. DMAC_BASE_ADDRESS = $BF883000;
  15856. var
  15857. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  15858. const
  15859. DMAC0_BASE_ADDRESS = $BF883060;
  15860. var
  15861. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  15862. const
  15863. DMAC1_BASE_ADDRESS = $BF883120;
  15864. var
  15865. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  15866. const
  15867. DMAC2_BASE_ADDRESS = $BF8831E0;
  15868. var
  15869. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  15870. const
  15871. DMAC3_BASE_ADDRESS = $BF8832A0;
  15872. var
  15873. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  15874. const
  15875. DMAC4_BASE_ADDRESS = $BF883360;
  15876. var
  15877. DMAC4 : TDMAC4Registers absolute DMAC4_BASE_ADDRESS;
  15878. const
  15879. DMAC5_BASE_ADDRESS = $BF883420;
  15880. var
  15881. DMAC5 : TDMAC5Registers absolute DMAC5_BASE_ADDRESS;
  15882. const
  15883. DMAC6_BASE_ADDRESS = $BF8834E0;
  15884. var
  15885. DMAC6 : TDMAC6Registers absolute DMAC6_BASE_ADDRESS;
  15886. const
  15887. DMAC7_BASE_ADDRESS = $BF8835A0;
  15888. var
  15889. DMAC7 : TDMAC7Registers absolute DMAC7_BASE_ADDRESS;
  15890. const
  15891. ETH_BASE_ADDRESS = $BF889000;
  15892. var
  15893. ETH : TETHRegisters absolute ETH_BASE_ADDRESS;
  15894. const
  15895. I2C1_BASE_ADDRESS = $BF805300;
  15896. var
  15897. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  15898. const
  15899. I2C3_BASE_ADDRESS = $BF805000;
  15900. var
  15901. I2C3 : TI2C3Registers absolute I2C3_BASE_ADDRESS;
  15902. const
  15903. I2C3A_BASE_ADDRESS = $BF805200;
  15904. var
  15905. I2C3A : TI2C3ARegisters absolute I2C3A_BASE_ADDRESS;
  15906. const
  15907. I2C4_BASE_ADDRESS = $BF805100;
  15908. var
  15909. I2C4 : TI2C4Registers absolute I2C4_BASE_ADDRESS;
  15910. const
  15911. ICAP1_BASE_ADDRESS = $BF802000;
  15912. var
  15913. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  15914. const
  15915. ICAP2_BASE_ADDRESS = $BF802200;
  15916. var
  15917. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  15918. const
  15919. ICAP3_BASE_ADDRESS = $BF802400;
  15920. var
  15921. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  15922. const
  15923. ICAP4_BASE_ADDRESS = $BF802600;
  15924. var
  15925. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  15926. const
  15927. ICAP5_BASE_ADDRESS = $BF802800;
  15928. var
  15929. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  15930. const
  15931. INT_BASE_ADDRESS = $BF881000;
  15932. var
  15933. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  15934. const
  15935. NVM_BASE_ADDRESS = $BF80F400;
  15936. var
  15937. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  15938. const
  15939. OCMP1_BASE_ADDRESS = $BF803000;
  15940. var
  15941. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  15942. const
  15943. OCMP2_BASE_ADDRESS = $BF803200;
  15944. var
  15945. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  15946. const
  15947. OCMP3_BASE_ADDRESS = $BF803400;
  15948. var
  15949. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  15950. const
  15951. OCMP4_BASE_ADDRESS = $BF803600;
  15952. var
  15953. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  15954. const
  15955. OCMP5_BASE_ADDRESS = $BF803800;
  15956. var
  15957. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  15958. const
  15959. OSC_BASE_ADDRESS = $BF80F000;
  15960. var
  15961. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  15962. const
  15963. PCACHE_BASE_ADDRESS = $BF884000;
  15964. var
  15965. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  15966. const
  15967. PMP_BASE_ADDRESS = $BF807000;
  15968. var
  15969. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  15970. const
  15971. PORTB_BASE_ADDRESS = $BF886040;
  15972. var
  15973. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  15974. const
  15975. PORTC_BASE_ADDRESS = $BF886080;
  15976. var
  15977. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  15978. const
  15979. PORTD_BASE_ADDRESS = $BF8860C0;
  15980. var
  15981. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  15982. const
  15983. PORTE_BASE_ADDRESS = $BF886100;
  15984. var
  15985. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  15986. const
  15987. PORTF_BASE_ADDRESS = $BF886140;
  15988. var
  15989. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  15990. const
  15991. PORTG_BASE_ADDRESS = $BF886180;
  15992. var
  15993. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  15994. const
  15995. RCON_BASE_ADDRESS = $BF80F600;
  15996. var
  15997. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  15998. const
  15999. RTCC_BASE_ADDRESS = $BF800200;
  16000. var
  16001. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  16002. const
  16003. SPI2_BASE_ADDRESS = $BF805A00;
  16004. var
  16005. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  16006. const
  16007. SPI3_BASE_ADDRESS = $BF805800;
  16008. var
  16009. SPI3 : TSPI3Registers absolute SPI3_BASE_ADDRESS;
  16010. const
  16011. SPI4_BASE_ADDRESS = $BF805C00;
  16012. var
  16013. SPI4 : TSPI4Registers absolute SPI4_BASE_ADDRESS;
  16014. const
  16015. TMR1_BASE_ADDRESS = $BF800600;
  16016. var
  16017. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  16018. const
  16019. TMR2_BASE_ADDRESS = $BF800800;
  16020. var
  16021. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  16022. const
  16023. TMR3_BASE_ADDRESS = $BF800A00;
  16024. var
  16025. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  16026. const
  16027. TMR4_BASE_ADDRESS = $BF800C00;
  16028. var
  16029. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  16030. const
  16031. TMR5_BASE_ADDRESS = $BF800E00;
  16032. var
  16033. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  16034. const
  16035. UART1_BASE_ADDRESS = $BF806000;
  16036. var
  16037. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  16038. const
  16039. UART1B_BASE_ADDRESS = $BF806200;
  16040. var
  16041. UART1B : TUART1BRegisters absolute UART1B_BASE_ADDRESS;
  16042. const
  16043. UART2A_BASE_ADDRESS = $BF806400;
  16044. var
  16045. UART2A : TUART2ARegisters absolute UART2A_BASE_ADDRESS;
  16046. const
  16047. UART2B_BASE_ADDRESS = $BF806600;
  16048. var
  16049. UART2B : TUART2BRegisters absolute UART2B_BASE_ADDRESS;
  16050. const
  16051. UART3A_BASE_ADDRESS = $BF806800;
  16052. var
  16053. UART3A : TUART3ARegisters absolute UART3A_BASE_ADDRESS;
  16054. const
  16055. UART5_BASE_ADDRESS = $BF806A00;
  16056. var
  16057. UART5 : TUART5Registers absolute UART5_BASE_ADDRESS;
  16058. const
  16059. USB_BASE_ADDRESS = $BF885040;
  16060. var
  16061. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  16062. const
  16063. WDT_BASE_ADDRESS = $BF800000;
  16064. var
  16065. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  16066. const
  16067. _APPI_BASE_ADDRESS = $BF880190;
  16068. var
  16069. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  16070. const
  16071. _APPO_BASE_ADDRESS = $BF880180;
  16072. var
  16073. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  16074. const
  16075. _DDPSTAT_BASE_ADDRESS = $BF880140;
  16076. var
  16077. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  16078. const
  16079. _STRO_BASE_ADDRESS = $BF880170;
  16080. var
  16081. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  16082. implementation
  16083. type
  16084. TDefRegMap = record
  16085. val : longWord;
  16086. clr : longWord;
  16087. &set : longWord;
  16088. inv : longWord;
  16089. end;
  16090. pTDefRegMap = ^TDefRegMap;
  16091. procedure TWDT_WDTCON.setWDTCLR; inline;
  16092. begin
  16093. pTDefRegMap(@Self)^.&set := $00000001;
  16094. end;
  16095. procedure TWDT_WDTCON.clearWDTCLR; inline;
  16096. begin
  16097. pTDefRegMap(@Self)^.clr := $00000001;
  16098. end;
  16099. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  16100. begin
  16101. if thebits = 0 then
  16102. pTDefRegMap(@Self)^.clr := $00000001
  16103. else
  16104. pTDefRegMap(@Self)^.&set := $00000001;
  16105. end;
  16106. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  16107. begin
  16108. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16109. end;
  16110. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  16111. begin
  16112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16113. end;
  16114. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  16115. begin
  16116. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16117. end;
  16118. procedure TWDT_WDTCON.setON; inline;
  16119. begin
  16120. pTDefRegMap(@Self)^.&set := $00008000;
  16121. end;
  16122. procedure TWDT_WDTCON.clearON; inline;
  16123. begin
  16124. pTDefRegMap(@Self)^.clr := $00008000;
  16125. end;
  16126. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  16127. begin
  16128. if thebits = 0 then
  16129. pTDefRegMap(@Self)^.clr := $00008000
  16130. else
  16131. pTDefRegMap(@Self)^.&set := $00008000;
  16132. end;
  16133. function TWDT_WDTCON.getON : TBits_1; inline;
  16134. begin
  16135. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16136. end;
  16137. procedure TWDT_WDTCON.setSWDTPS0; inline;
  16138. begin
  16139. pTDefRegMap(@Self)^.&set := $00000004;
  16140. end;
  16141. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  16142. begin
  16143. pTDefRegMap(@Self)^.clr := $00000004;
  16144. end;
  16145. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  16146. begin
  16147. if thebits = 0 then
  16148. pTDefRegMap(@Self)^.clr := $00000004
  16149. else
  16150. pTDefRegMap(@Self)^.&set := $00000004;
  16151. end;
  16152. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  16153. begin
  16154. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16155. end;
  16156. procedure TWDT_WDTCON.setSWDTPS1; inline;
  16157. begin
  16158. pTDefRegMap(@Self)^.&set := $00000008;
  16159. end;
  16160. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  16161. begin
  16162. pTDefRegMap(@Self)^.clr := $00000008;
  16163. end;
  16164. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  16165. begin
  16166. if thebits = 0 then
  16167. pTDefRegMap(@Self)^.clr := $00000008
  16168. else
  16169. pTDefRegMap(@Self)^.&set := $00000008;
  16170. end;
  16171. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  16172. begin
  16173. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16174. end;
  16175. procedure TWDT_WDTCON.setSWDTPS2; inline;
  16176. begin
  16177. pTDefRegMap(@Self)^.&set := $00000010;
  16178. end;
  16179. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  16180. begin
  16181. pTDefRegMap(@Self)^.clr := $00000010;
  16182. end;
  16183. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  16184. begin
  16185. if thebits = 0 then
  16186. pTDefRegMap(@Self)^.clr := $00000010
  16187. else
  16188. pTDefRegMap(@Self)^.&set := $00000010;
  16189. end;
  16190. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  16191. begin
  16192. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16193. end;
  16194. procedure TWDT_WDTCON.setSWDTPS3; inline;
  16195. begin
  16196. pTDefRegMap(@Self)^.&set := $00000020;
  16197. end;
  16198. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  16199. begin
  16200. pTDefRegMap(@Self)^.clr := $00000020;
  16201. end;
  16202. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  16203. begin
  16204. if thebits = 0 then
  16205. pTDefRegMap(@Self)^.clr := $00000020
  16206. else
  16207. pTDefRegMap(@Self)^.&set := $00000020;
  16208. end;
  16209. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  16210. begin
  16211. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16212. end;
  16213. procedure TWDT_WDTCON.setSWDTPS4; inline;
  16214. begin
  16215. pTDefRegMap(@Self)^.&set := $00000040;
  16216. end;
  16217. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  16218. begin
  16219. pTDefRegMap(@Self)^.clr := $00000040;
  16220. end;
  16221. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  16222. begin
  16223. if thebits = 0 then
  16224. pTDefRegMap(@Self)^.clr := $00000040
  16225. else
  16226. pTDefRegMap(@Self)^.&set := $00000040;
  16227. end;
  16228. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  16229. begin
  16230. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16231. end;
  16232. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  16233. begin
  16234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16235. end;
  16236. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  16237. begin
  16238. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16239. end;
  16240. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  16241. begin
  16242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16243. end;
  16244. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  16245. begin
  16246. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16247. end;
  16248. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  16249. begin
  16250. pTDefRegMap(@Self)^.val := thebits;
  16251. end;
  16252. function TWDT_WDTCON.getw : TBits_32; inline;
  16253. begin
  16254. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16255. end;
  16256. procedure TRTCC_RTCCON.setRTCOE; inline;
  16257. begin
  16258. pTDefRegMap(@Self)^.&set := $00000001;
  16259. end;
  16260. procedure TRTCC_RTCCON.clearRTCOE; inline;
  16261. begin
  16262. pTDefRegMap(@Self)^.clr := $00000001;
  16263. end;
  16264. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  16265. begin
  16266. if thebits = 0 then
  16267. pTDefRegMap(@Self)^.clr := $00000001
  16268. else
  16269. pTDefRegMap(@Self)^.&set := $00000001;
  16270. end;
  16271. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  16272. begin
  16273. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16274. end;
  16275. procedure TRTCC_RTCCON.setHALFSEC; inline;
  16276. begin
  16277. pTDefRegMap(@Self)^.&set := $00000002;
  16278. end;
  16279. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  16280. begin
  16281. pTDefRegMap(@Self)^.clr := $00000002;
  16282. end;
  16283. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  16284. begin
  16285. if thebits = 0 then
  16286. pTDefRegMap(@Self)^.clr := $00000002
  16287. else
  16288. pTDefRegMap(@Self)^.&set := $00000002;
  16289. end;
  16290. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  16291. begin
  16292. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16293. end;
  16294. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  16295. begin
  16296. pTDefRegMap(@Self)^.&set := $00000004;
  16297. end;
  16298. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  16299. begin
  16300. pTDefRegMap(@Self)^.clr := $00000004;
  16301. end;
  16302. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  16303. begin
  16304. if thebits = 0 then
  16305. pTDefRegMap(@Self)^.clr := $00000004
  16306. else
  16307. pTDefRegMap(@Self)^.&set := $00000004;
  16308. end;
  16309. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  16310. begin
  16311. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16312. end;
  16313. procedure TRTCC_RTCCON.setRTCWREN; inline;
  16314. begin
  16315. pTDefRegMap(@Self)^.&set := $00000008;
  16316. end;
  16317. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  16318. begin
  16319. pTDefRegMap(@Self)^.clr := $00000008;
  16320. end;
  16321. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  16322. begin
  16323. if thebits = 0 then
  16324. pTDefRegMap(@Self)^.clr := $00000008
  16325. else
  16326. pTDefRegMap(@Self)^.&set := $00000008;
  16327. end;
  16328. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  16329. begin
  16330. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16331. end;
  16332. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  16333. begin
  16334. pTDefRegMap(@Self)^.&set := $00000040;
  16335. end;
  16336. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  16337. begin
  16338. pTDefRegMap(@Self)^.clr := $00000040;
  16339. end;
  16340. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  16341. begin
  16342. if thebits = 0 then
  16343. pTDefRegMap(@Self)^.clr := $00000040
  16344. else
  16345. pTDefRegMap(@Self)^.&set := $00000040;
  16346. end;
  16347. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  16348. begin
  16349. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16350. end;
  16351. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  16352. begin
  16353. pTDefRegMap(@Self)^.&set := $00000080;
  16354. end;
  16355. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  16356. begin
  16357. pTDefRegMap(@Self)^.clr := $00000080;
  16358. end;
  16359. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  16360. begin
  16361. if thebits = 0 then
  16362. pTDefRegMap(@Self)^.clr := $00000080
  16363. else
  16364. pTDefRegMap(@Self)^.&set := $00000080;
  16365. end;
  16366. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  16367. begin
  16368. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16369. end;
  16370. procedure TRTCC_RTCCON.setSIDL; inline;
  16371. begin
  16372. pTDefRegMap(@Self)^.&set := $00002000;
  16373. end;
  16374. procedure TRTCC_RTCCON.clearSIDL; inline;
  16375. begin
  16376. pTDefRegMap(@Self)^.clr := $00002000;
  16377. end;
  16378. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  16379. begin
  16380. if thebits = 0 then
  16381. pTDefRegMap(@Self)^.clr := $00002000
  16382. else
  16383. pTDefRegMap(@Self)^.&set := $00002000;
  16384. end;
  16385. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  16386. begin
  16387. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16388. end;
  16389. procedure TRTCC_RTCCON.setON; inline;
  16390. begin
  16391. pTDefRegMap(@Self)^.&set := $00008000;
  16392. end;
  16393. procedure TRTCC_RTCCON.clearON; inline;
  16394. begin
  16395. pTDefRegMap(@Self)^.clr := $00008000;
  16396. end;
  16397. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  16398. begin
  16399. if thebits = 0 then
  16400. pTDefRegMap(@Self)^.clr := $00008000
  16401. else
  16402. pTDefRegMap(@Self)^.&set := $00008000;
  16403. end;
  16404. function TRTCC_RTCCON.getON : TBits_1; inline;
  16405. begin
  16406. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16407. end;
  16408. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  16409. begin
  16410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  16411. end;
  16412. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  16413. begin
  16414. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  16415. end;
  16416. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  16417. begin
  16418. pTDefRegMap(@Self)^.val := thebits;
  16419. end;
  16420. function TRTCC_RTCCON.getw : TBits_32; inline;
  16421. begin
  16422. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16423. end;
  16424. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  16425. begin
  16426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16427. end;
  16428. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  16429. begin
  16430. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16431. end;
  16432. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  16433. begin
  16434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16435. end;
  16436. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  16437. begin
  16438. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16439. end;
  16440. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  16441. begin
  16442. pTDefRegMap(@Self)^.&set := $00001000;
  16443. end;
  16444. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  16445. begin
  16446. pTDefRegMap(@Self)^.clr := $00001000;
  16447. end;
  16448. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  16449. begin
  16450. if thebits = 0 then
  16451. pTDefRegMap(@Self)^.clr := $00001000
  16452. else
  16453. pTDefRegMap(@Self)^.&set := $00001000;
  16454. end;
  16455. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  16456. begin
  16457. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16458. end;
  16459. procedure TRTCC_RTCALRM.setPIV; inline;
  16460. begin
  16461. pTDefRegMap(@Self)^.&set := $00002000;
  16462. end;
  16463. procedure TRTCC_RTCALRM.clearPIV; inline;
  16464. begin
  16465. pTDefRegMap(@Self)^.clr := $00002000;
  16466. end;
  16467. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  16468. begin
  16469. if thebits = 0 then
  16470. pTDefRegMap(@Self)^.clr := $00002000
  16471. else
  16472. pTDefRegMap(@Self)^.&set := $00002000;
  16473. end;
  16474. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  16475. begin
  16476. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16477. end;
  16478. procedure TRTCC_RTCALRM.setCHIME; inline;
  16479. begin
  16480. pTDefRegMap(@Self)^.&set := $00004000;
  16481. end;
  16482. procedure TRTCC_RTCALRM.clearCHIME; inline;
  16483. begin
  16484. pTDefRegMap(@Self)^.clr := $00004000;
  16485. end;
  16486. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  16487. begin
  16488. if thebits = 0 then
  16489. pTDefRegMap(@Self)^.clr := $00004000
  16490. else
  16491. pTDefRegMap(@Self)^.&set := $00004000;
  16492. end;
  16493. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  16494. begin
  16495. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16496. end;
  16497. procedure TRTCC_RTCALRM.setALRMEN; inline;
  16498. begin
  16499. pTDefRegMap(@Self)^.&set := $00008000;
  16500. end;
  16501. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  16502. begin
  16503. pTDefRegMap(@Self)^.clr := $00008000;
  16504. end;
  16505. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  16506. begin
  16507. if thebits = 0 then
  16508. pTDefRegMap(@Self)^.clr := $00008000
  16509. else
  16510. pTDefRegMap(@Self)^.&set := $00008000;
  16511. end;
  16512. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  16513. begin
  16514. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16515. end;
  16516. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  16517. begin
  16518. pTDefRegMap(@Self)^.val := thebits;
  16519. end;
  16520. function TRTCC_RTCALRM.getw : TBits_32; inline;
  16521. begin
  16522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16523. end;
  16524. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  16525. begin
  16526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16527. end;
  16528. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  16529. begin
  16530. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16531. end;
  16532. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16535. end;
  16536. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  16537. begin
  16538. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16539. end;
  16540. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  16541. begin
  16542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16543. end;
  16544. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  16545. begin
  16546. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16547. end;
  16548. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  16549. begin
  16550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16551. end;
  16552. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  16553. begin
  16554. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16555. end;
  16556. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  16557. begin
  16558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16559. end;
  16560. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  16561. begin
  16562. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16563. end;
  16564. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  16565. begin
  16566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16567. end;
  16568. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  16569. begin
  16570. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16571. end;
  16572. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  16573. begin
  16574. pTDefRegMap(@Self)^.val := thebits;
  16575. end;
  16576. function TRTCC_RTCTIME.getw : TBits_32; inline;
  16577. begin
  16578. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16579. end;
  16580. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16583. end;
  16584. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  16585. begin
  16586. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16587. end;
  16588. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  16589. begin
  16590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16591. end;
  16592. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  16593. begin
  16594. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16595. end;
  16596. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  16597. begin
  16598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16599. end;
  16600. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  16601. begin
  16602. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16603. end;
  16604. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  16605. begin
  16606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16607. end;
  16608. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  16609. begin
  16610. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16611. end;
  16612. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16615. end;
  16616. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  16617. begin
  16618. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16619. end;
  16620. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  16621. begin
  16622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16623. end;
  16624. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  16625. begin
  16626. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16627. end;
  16628. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  16629. begin
  16630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16631. end;
  16632. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  16633. begin
  16634. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16635. end;
  16636. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  16637. begin
  16638. pTDefRegMap(@Self)^.val := thebits;
  16639. end;
  16640. function TRTCC_RTCDATE.getw : TBits_32; inline;
  16641. begin
  16642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16643. end;
  16644. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  16645. begin
  16646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16647. end;
  16648. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  16649. begin
  16650. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16651. end;
  16652. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16655. end;
  16656. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  16657. begin
  16658. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16659. end;
  16660. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  16661. begin
  16662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16663. end;
  16664. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  16665. begin
  16666. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16667. end;
  16668. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  16669. begin
  16670. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16671. end;
  16672. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  16673. begin
  16674. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16675. end;
  16676. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  16677. begin
  16678. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16679. end;
  16680. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  16681. begin
  16682. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16683. end;
  16684. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  16685. begin
  16686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16687. end;
  16688. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  16689. begin
  16690. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16691. end;
  16692. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  16693. begin
  16694. pTDefRegMap(@Self)^.val := thebits;
  16695. end;
  16696. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  16697. begin
  16698. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16699. end;
  16700. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  16701. begin
  16702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16703. end;
  16704. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  16705. begin
  16706. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16707. end;
  16708. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  16709. begin
  16710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16711. end;
  16712. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  16713. begin
  16714. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16715. end;
  16716. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  16717. begin
  16718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16719. end;
  16720. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  16721. begin
  16722. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16723. end;
  16724. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  16725. begin
  16726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16727. end;
  16728. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  16729. begin
  16730. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16731. end;
  16732. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16735. end;
  16736. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  16737. begin
  16738. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16739. end;
  16740. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  16741. begin
  16742. pTDefRegMap(@Self)^.val := thebits;
  16743. end;
  16744. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  16745. begin
  16746. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16747. end;
  16748. procedure TTMR1_T1CON.setTCS; inline;
  16749. begin
  16750. pTDefRegMap(@Self)^.&set := $00000002;
  16751. end;
  16752. procedure TTMR1_T1CON.clearTCS; inline;
  16753. begin
  16754. pTDefRegMap(@Self)^.clr := $00000002;
  16755. end;
  16756. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  16757. begin
  16758. if thebits = 0 then
  16759. pTDefRegMap(@Self)^.clr := $00000002
  16760. else
  16761. pTDefRegMap(@Self)^.&set := $00000002;
  16762. end;
  16763. function TTMR1_T1CON.getTCS : TBits_1; inline;
  16764. begin
  16765. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16766. end;
  16767. procedure TTMR1_T1CON.setTSYNC; inline;
  16768. begin
  16769. pTDefRegMap(@Self)^.&set := $00000004;
  16770. end;
  16771. procedure TTMR1_T1CON.clearTSYNC; inline;
  16772. begin
  16773. pTDefRegMap(@Self)^.clr := $00000004;
  16774. end;
  16775. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  16776. begin
  16777. if thebits = 0 then
  16778. pTDefRegMap(@Self)^.clr := $00000004
  16779. else
  16780. pTDefRegMap(@Self)^.&set := $00000004;
  16781. end;
  16782. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  16783. begin
  16784. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16785. end;
  16786. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  16787. begin
  16788. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  16789. end;
  16790. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  16791. begin
  16792. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  16793. end;
  16794. procedure TTMR1_T1CON.setTGATE; inline;
  16795. begin
  16796. pTDefRegMap(@Self)^.&set := $00000080;
  16797. end;
  16798. procedure TTMR1_T1CON.clearTGATE; inline;
  16799. begin
  16800. pTDefRegMap(@Self)^.clr := $00000080;
  16801. end;
  16802. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  16803. begin
  16804. if thebits = 0 then
  16805. pTDefRegMap(@Self)^.clr := $00000080
  16806. else
  16807. pTDefRegMap(@Self)^.&set := $00000080;
  16808. end;
  16809. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  16810. begin
  16811. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16812. end;
  16813. procedure TTMR1_T1CON.setTWIP; inline;
  16814. begin
  16815. pTDefRegMap(@Self)^.&set := $00000800;
  16816. end;
  16817. procedure TTMR1_T1CON.clearTWIP; inline;
  16818. begin
  16819. pTDefRegMap(@Self)^.clr := $00000800;
  16820. end;
  16821. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  16822. begin
  16823. if thebits = 0 then
  16824. pTDefRegMap(@Self)^.clr := $00000800
  16825. else
  16826. pTDefRegMap(@Self)^.&set := $00000800;
  16827. end;
  16828. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  16829. begin
  16830. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16831. end;
  16832. procedure TTMR1_T1CON.setTWDIS; inline;
  16833. begin
  16834. pTDefRegMap(@Self)^.&set := $00001000;
  16835. end;
  16836. procedure TTMR1_T1CON.clearTWDIS; inline;
  16837. begin
  16838. pTDefRegMap(@Self)^.clr := $00001000;
  16839. end;
  16840. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  16841. begin
  16842. if thebits = 0 then
  16843. pTDefRegMap(@Self)^.clr := $00001000
  16844. else
  16845. pTDefRegMap(@Self)^.&set := $00001000;
  16846. end;
  16847. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  16848. begin
  16849. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16850. end;
  16851. procedure TTMR1_T1CON.setSIDL; inline;
  16852. begin
  16853. pTDefRegMap(@Self)^.&set := $00002000;
  16854. end;
  16855. procedure TTMR1_T1CON.clearSIDL; inline;
  16856. begin
  16857. pTDefRegMap(@Self)^.clr := $00002000;
  16858. end;
  16859. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  16860. begin
  16861. if thebits = 0 then
  16862. pTDefRegMap(@Self)^.clr := $00002000
  16863. else
  16864. pTDefRegMap(@Self)^.&set := $00002000;
  16865. end;
  16866. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  16867. begin
  16868. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16869. end;
  16870. procedure TTMR1_T1CON.setON; inline;
  16871. begin
  16872. pTDefRegMap(@Self)^.&set := $00008000;
  16873. end;
  16874. procedure TTMR1_T1CON.clearON; inline;
  16875. begin
  16876. pTDefRegMap(@Self)^.clr := $00008000;
  16877. end;
  16878. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  16879. begin
  16880. if thebits = 0 then
  16881. pTDefRegMap(@Self)^.clr := $00008000
  16882. else
  16883. pTDefRegMap(@Self)^.&set := $00008000;
  16884. end;
  16885. function TTMR1_T1CON.getON : TBits_1; inline;
  16886. begin
  16887. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16888. end;
  16889. procedure TTMR1_T1CON.setTCKPS0; inline;
  16890. begin
  16891. pTDefRegMap(@Self)^.&set := $00000010;
  16892. end;
  16893. procedure TTMR1_T1CON.clearTCKPS0; inline;
  16894. begin
  16895. pTDefRegMap(@Self)^.clr := $00000010;
  16896. end;
  16897. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  16898. begin
  16899. if thebits = 0 then
  16900. pTDefRegMap(@Self)^.clr := $00000010
  16901. else
  16902. pTDefRegMap(@Self)^.&set := $00000010;
  16903. end;
  16904. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  16905. begin
  16906. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16907. end;
  16908. procedure TTMR1_T1CON.setTCKPS1; inline;
  16909. begin
  16910. pTDefRegMap(@Self)^.&set := $00000020;
  16911. end;
  16912. procedure TTMR1_T1CON.clearTCKPS1; inline;
  16913. begin
  16914. pTDefRegMap(@Self)^.clr := $00000020;
  16915. end;
  16916. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  16917. begin
  16918. if thebits = 0 then
  16919. pTDefRegMap(@Self)^.clr := $00000020
  16920. else
  16921. pTDefRegMap(@Self)^.&set := $00000020;
  16922. end;
  16923. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  16924. begin
  16925. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16926. end;
  16927. procedure TTMR1_T1CON.setTSIDL; inline;
  16928. begin
  16929. pTDefRegMap(@Self)^.&set := $00002000;
  16930. end;
  16931. procedure TTMR1_T1CON.clearTSIDL; inline;
  16932. begin
  16933. pTDefRegMap(@Self)^.clr := $00002000;
  16934. end;
  16935. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  16936. begin
  16937. if thebits = 0 then
  16938. pTDefRegMap(@Self)^.clr := $00002000
  16939. else
  16940. pTDefRegMap(@Self)^.&set := $00002000;
  16941. end;
  16942. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  16943. begin
  16944. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16945. end;
  16946. procedure TTMR1_T1CON.setTON; inline;
  16947. begin
  16948. pTDefRegMap(@Self)^.&set := $00008000;
  16949. end;
  16950. procedure TTMR1_T1CON.clearTON; inline;
  16951. begin
  16952. pTDefRegMap(@Self)^.clr := $00008000;
  16953. end;
  16954. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  16955. begin
  16956. if thebits = 0 then
  16957. pTDefRegMap(@Self)^.clr := $00008000
  16958. else
  16959. pTDefRegMap(@Self)^.&set := $00008000;
  16960. end;
  16961. function TTMR1_T1CON.getTON : TBits_1; inline;
  16962. begin
  16963. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16964. end;
  16965. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  16966. begin
  16967. pTDefRegMap(@Self)^.val := thebits;
  16968. end;
  16969. function TTMR1_T1CON.getw : TBits_32; inline;
  16970. begin
  16971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16972. end;
  16973. procedure TTMR2_T2CON.setT32; inline;
  16974. begin
  16975. pTDefRegMap(@Self)^.&set := $00000008;
  16976. end;
  16977. procedure TTMR2_T2CON.clearT32; inline;
  16978. begin
  16979. pTDefRegMap(@Self)^.clr := $00000008;
  16980. end;
  16981. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  16982. begin
  16983. if thebits = 0 then
  16984. pTDefRegMap(@Self)^.clr := $00000008
  16985. else
  16986. pTDefRegMap(@Self)^.&set := $00000008;
  16987. end;
  16988. function TTMR2_T2CON.getT32 : TBits_1; inline;
  16989. begin
  16990. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16991. end;
  16992. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  16993. begin
  16994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16995. end;
  16996. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  16997. begin
  16998. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16999. end;
  17000. procedure TTMR2_T2CON.setTGATE; inline;
  17001. begin
  17002. pTDefRegMap(@Self)^.&set := $00000080;
  17003. end;
  17004. procedure TTMR2_T2CON.clearTGATE; inline;
  17005. begin
  17006. pTDefRegMap(@Self)^.clr := $00000080;
  17007. end;
  17008. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  17009. begin
  17010. if thebits = 0 then
  17011. pTDefRegMap(@Self)^.clr := $00000080
  17012. else
  17013. pTDefRegMap(@Self)^.&set := $00000080;
  17014. end;
  17015. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  17016. begin
  17017. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17018. end;
  17019. procedure TTMR2_T2CON.setSIDL; inline;
  17020. begin
  17021. pTDefRegMap(@Self)^.&set := $00002000;
  17022. end;
  17023. procedure TTMR2_T2CON.clearSIDL; inline;
  17024. begin
  17025. pTDefRegMap(@Self)^.clr := $00002000;
  17026. end;
  17027. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  17028. begin
  17029. if thebits = 0 then
  17030. pTDefRegMap(@Self)^.clr := $00002000
  17031. else
  17032. pTDefRegMap(@Self)^.&set := $00002000;
  17033. end;
  17034. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  17035. begin
  17036. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17037. end;
  17038. procedure TTMR2_T2CON.setON; inline;
  17039. begin
  17040. pTDefRegMap(@Self)^.&set := $00008000;
  17041. end;
  17042. procedure TTMR2_T2CON.clearON; inline;
  17043. begin
  17044. pTDefRegMap(@Self)^.clr := $00008000;
  17045. end;
  17046. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  17047. begin
  17048. if thebits = 0 then
  17049. pTDefRegMap(@Self)^.clr := $00008000
  17050. else
  17051. pTDefRegMap(@Self)^.&set := $00008000;
  17052. end;
  17053. function TTMR2_T2CON.getON : TBits_1; inline;
  17054. begin
  17055. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17056. end;
  17057. procedure TTMR2_T2CON.setTCKPS0; inline;
  17058. begin
  17059. pTDefRegMap(@Self)^.&set := $00000010;
  17060. end;
  17061. procedure TTMR2_T2CON.clearTCKPS0; inline;
  17062. begin
  17063. pTDefRegMap(@Self)^.clr := $00000010;
  17064. end;
  17065. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  17066. begin
  17067. if thebits = 0 then
  17068. pTDefRegMap(@Self)^.clr := $00000010
  17069. else
  17070. pTDefRegMap(@Self)^.&set := $00000010;
  17071. end;
  17072. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  17073. begin
  17074. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17075. end;
  17076. procedure TTMR2_T2CON.setTCKPS1; inline;
  17077. begin
  17078. pTDefRegMap(@Self)^.&set := $00000020;
  17079. end;
  17080. procedure TTMR2_T2CON.clearTCKPS1; inline;
  17081. begin
  17082. pTDefRegMap(@Self)^.clr := $00000020;
  17083. end;
  17084. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  17085. begin
  17086. if thebits = 0 then
  17087. pTDefRegMap(@Self)^.clr := $00000020
  17088. else
  17089. pTDefRegMap(@Self)^.&set := $00000020;
  17090. end;
  17091. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  17092. begin
  17093. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17094. end;
  17095. procedure TTMR2_T2CON.setTCKPS2; inline;
  17096. begin
  17097. pTDefRegMap(@Self)^.&set := $00000040;
  17098. end;
  17099. procedure TTMR2_T2CON.clearTCKPS2; inline;
  17100. begin
  17101. pTDefRegMap(@Self)^.clr := $00000040;
  17102. end;
  17103. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  17104. begin
  17105. if thebits = 0 then
  17106. pTDefRegMap(@Self)^.clr := $00000040
  17107. else
  17108. pTDefRegMap(@Self)^.&set := $00000040;
  17109. end;
  17110. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  17111. begin
  17112. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17113. end;
  17114. procedure TTMR2_T2CON.setTSIDL; inline;
  17115. begin
  17116. pTDefRegMap(@Self)^.&set := $00002000;
  17117. end;
  17118. procedure TTMR2_T2CON.clearTSIDL; inline;
  17119. begin
  17120. pTDefRegMap(@Self)^.clr := $00002000;
  17121. end;
  17122. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  17123. begin
  17124. if thebits = 0 then
  17125. pTDefRegMap(@Self)^.clr := $00002000
  17126. else
  17127. pTDefRegMap(@Self)^.&set := $00002000;
  17128. end;
  17129. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  17130. begin
  17131. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17132. end;
  17133. procedure TTMR2_T2CON.setTON; inline;
  17134. begin
  17135. pTDefRegMap(@Self)^.&set := $00008000;
  17136. end;
  17137. procedure TTMR2_T2CON.clearTON; inline;
  17138. begin
  17139. pTDefRegMap(@Self)^.clr := $00008000;
  17140. end;
  17141. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  17142. begin
  17143. if thebits = 0 then
  17144. pTDefRegMap(@Self)^.clr := $00008000
  17145. else
  17146. pTDefRegMap(@Self)^.&set := $00008000;
  17147. end;
  17148. function TTMR2_T2CON.getTON : TBits_1; inline;
  17149. begin
  17150. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17151. end;
  17152. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  17153. begin
  17154. pTDefRegMap(@Self)^.val := thebits;
  17155. end;
  17156. function TTMR2_T2CON.getw : TBits_32; inline;
  17157. begin
  17158. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17159. end;
  17160. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  17161. begin
  17162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17163. end;
  17164. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  17165. begin
  17166. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17167. end;
  17168. procedure TTMR3_T3CON.setTGATE; inline;
  17169. begin
  17170. pTDefRegMap(@Self)^.&set := $00000080;
  17171. end;
  17172. procedure TTMR3_T3CON.clearTGATE; inline;
  17173. begin
  17174. pTDefRegMap(@Self)^.clr := $00000080;
  17175. end;
  17176. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  17177. begin
  17178. if thebits = 0 then
  17179. pTDefRegMap(@Self)^.clr := $00000080
  17180. else
  17181. pTDefRegMap(@Self)^.&set := $00000080;
  17182. end;
  17183. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  17184. begin
  17185. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17186. end;
  17187. procedure TTMR3_T3CON.setSIDL; inline;
  17188. begin
  17189. pTDefRegMap(@Self)^.&set := $00002000;
  17190. end;
  17191. procedure TTMR3_T3CON.clearSIDL; inline;
  17192. begin
  17193. pTDefRegMap(@Self)^.clr := $00002000;
  17194. end;
  17195. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  17196. begin
  17197. if thebits = 0 then
  17198. pTDefRegMap(@Self)^.clr := $00002000
  17199. else
  17200. pTDefRegMap(@Self)^.&set := $00002000;
  17201. end;
  17202. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  17203. begin
  17204. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17205. end;
  17206. procedure TTMR3_T3CON.setON; inline;
  17207. begin
  17208. pTDefRegMap(@Self)^.&set := $00008000;
  17209. end;
  17210. procedure TTMR3_T3CON.clearON; inline;
  17211. begin
  17212. pTDefRegMap(@Self)^.clr := $00008000;
  17213. end;
  17214. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  17215. begin
  17216. if thebits = 0 then
  17217. pTDefRegMap(@Self)^.clr := $00008000
  17218. else
  17219. pTDefRegMap(@Self)^.&set := $00008000;
  17220. end;
  17221. function TTMR3_T3CON.getON : TBits_1; inline;
  17222. begin
  17223. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17224. end;
  17225. procedure TTMR3_T3CON.setTCKPS0; inline;
  17226. begin
  17227. pTDefRegMap(@Self)^.&set := $00000010;
  17228. end;
  17229. procedure TTMR3_T3CON.clearTCKPS0; inline;
  17230. begin
  17231. pTDefRegMap(@Self)^.clr := $00000010;
  17232. end;
  17233. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  17234. begin
  17235. if thebits = 0 then
  17236. pTDefRegMap(@Self)^.clr := $00000010
  17237. else
  17238. pTDefRegMap(@Self)^.&set := $00000010;
  17239. end;
  17240. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  17241. begin
  17242. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17243. end;
  17244. procedure TTMR3_T3CON.setTCKPS1; inline;
  17245. begin
  17246. pTDefRegMap(@Self)^.&set := $00000020;
  17247. end;
  17248. procedure TTMR3_T3CON.clearTCKPS1; inline;
  17249. begin
  17250. pTDefRegMap(@Self)^.clr := $00000020;
  17251. end;
  17252. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  17253. begin
  17254. if thebits = 0 then
  17255. pTDefRegMap(@Self)^.clr := $00000020
  17256. else
  17257. pTDefRegMap(@Self)^.&set := $00000020;
  17258. end;
  17259. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  17260. begin
  17261. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17262. end;
  17263. procedure TTMR3_T3CON.setTCKPS2; inline;
  17264. begin
  17265. pTDefRegMap(@Self)^.&set := $00000040;
  17266. end;
  17267. procedure TTMR3_T3CON.clearTCKPS2; inline;
  17268. begin
  17269. pTDefRegMap(@Self)^.clr := $00000040;
  17270. end;
  17271. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  17272. begin
  17273. if thebits = 0 then
  17274. pTDefRegMap(@Self)^.clr := $00000040
  17275. else
  17276. pTDefRegMap(@Self)^.&set := $00000040;
  17277. end;
  17278. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  17279. begin
  17280. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17281. end;
  17282. procedure TTMR3_T3CON.setTSIDL; inline;
  17283. begin
  17284. pTDefRegMap(@Self)^.&set := $00002000;
  17285. end;
  17286. procedure TTMR3_T3CON.clearTSIDL; inline;
  17287. begin
  17288. pTDefRegMap(@Self)^.clr := $00002000;
  17289. end;
  17290. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  17291. begin
  17292. if thebits = 0 then
  17293. pTDefRegMap(@Self)^.clr := $00002000
  17294. else
  17295. pTDefRegMap(@Self)^.&set := $00002000;
  17296. end;
  17297. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  17298. begin
  17299. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17300. end;
  17301. procedure TTMR3_T3CON.setTON; inline;
  17302. begin
  17303. pTDefRegMap(@Self)^.&set := $00008000;
  17304. end;
  17305. procedure TTMR3_T3CON.clearTON; inline;
  17306. begin
  17307. pTDefRegMap(@Self)^.clr := $00008000;
  17308. end;
  17309. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  17310. begin
  17311. if thebits = 0 then
  17312. pTDefRegMap(@Self)^.clr := $00008000
  17313. else
  17314. pTDefRegMap(@Self)^.&set := $00008000;
  17315. end;
  17316. function TTMR3_T3CON.getTON : TBits_1; inline;
  17317. begin
  17318. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17319. end;
  17320. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  17321. begin
  17322. pTDefRegMap(@Self)^.val := thebits;
  17323. end;
  17324. function TTMR3_T3CON.getw : TBits_32; inline;
  17325. begin
  17326. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17327. end;
  17328. procedure TTMR4_T4CON.setT32; inline;
  17329. begin
  17330. pTDefRegMap(@Self)^.&set := $00000008;
  17331. end;
  17332. procedure TTMR4_T4CON.clearT32; inline;
  17333. begin
  17334. pTDefRegMap(@Self)^.clr := $00000008;
  17335. end;
  17336. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  17337. begin
  17338. if thebits = 0 then
  17339. pTDefRegMap(@Self)^.clr := $00000008
  17340. else
  17341. pTDefRegMap(@Self)^.&set := $00000008;
  17342. end;
  17343. function TTMR4_T4CON.getT32 : TBits_1; inline;
  17344. begin
  17345. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17346. end;
  17347. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  17348. begin
  17349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17350. end;
  17351. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  17352. begin
  17353. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17354. end;
  17355. procedure TTMR4_T4CON.setTGATE; inline;
  17356. begin
  17357. pTDefRegMap(@Self)^.&set := $00000080;
  17358. end;
  17359. procedure TTMR4_T4CON.clearTGATE; inline;
  17360. begin
  17361. pTDefRegMap(@Self)^.clr := $00000080;
  17362. end;
  17363. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  17364. begin
  17365. if thebits = 0 then
  17366. pTDefRegMap(@Self)^.clr := $00000080
  17367. else
  17368. pTDefRegMap(@Self)^.&set := $00000080;
  17369. end;
  17370. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  17371. begin
  17372. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17373. end;
  17374. procedure TTMR4_T4CON.setSIDL; inline;
  17375. begin
  17376. pTDefRegMap(@Self)^.&set := $00002000;
  17377. end;
  17378. procedure TTMR4_T4CON.clearSIDL; inline;
  17379. begin
  17380. pTDefRegMap(@Self)^.clr := $00002000;
  17381. end;
  17382. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  17383. begin
  17384. if thebits = 0 then
  17385. pTDefRegMap(@Self)^.clr := $00002000
  17386. else
  17387. pTDefRegMap(@Self)^.&set := $00002000;
  17388. end;
  17389. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  17390. begin
  17391. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17392. end;
  17393. procedure TTMR4_T4CON.setON; inline;
  17394. begin
  17395. pTDefRegMap(@Self)^.&set := $00008000;
  17396. end;
  17397. procedure TTMR4_T4CON.clearON; inline;
  17398. begin
  17399. pTDefRegMap(@Self)^.clr := $00008000;
  17400. end;
  17401. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  17402. begin
  17403. if thebits = 0 then
  17404. pTDefRegMap(@Self)^.clr := $00008000
  17405. else
  17406. pTDefRegMap(@Self)^.&set := $00008000;
  17407. end;
  17408. function TTMR4_T4CON.getON : TBits_1; inline;
  17409. begin
  17410. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17411. end;
  17412. procedure TTMR4_T4CON.setTCKPS0; inline;
  17413. begin
  17414. pTDefRegMap(@Self)^.&set := $00000010;
  17415. end;
  17416. procedure TTMR4_T4CON.clearTCKPS0; inline;
  17417. begin
  17418. pTDefRegMap(@Self)^.clr := $00000010;
  17419. end;
  17420. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  17421. begin
  17422. if thebits = 0 then
  17423. pTDefRegMap(@Self)^.clr := $00000010
  17424. else
  17425. pTDefRegMap(@Self)^.&set := $00000010;
  17426. end;
  17427. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  17428. begin
  17429. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17430. end;
  17431. procedure TTMR4_T4CON.setTCKPS1; inline;
  17432. begin
  17433. pTDefRegMap(@Self)^.&set := $00000020;
  17434. end;
  17435. procedure TTMR4_T4CON.clearTCKPS1; inline;
  17436. begin
  17437. pTDefRegMap(@Self)^.clr := $00000020;
  17438. end;
  17439. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  17440. begin
  17441. if thebits = 0 then
  17442. pTDefRegMap(@Self)^.clr := $00000020
  17443. else
  17444. pTDefRegMap(@Self)^.&set := $00000020;
  17445. end;
  17446. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  17447. begin
  17448. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17449. end;
  17450. procedure TTMR4_T4CON.setTCKPS2; inline;
  17451. begin
  17452. pTDefRegMap(@Self)^.&set := $00000040;
  17453. end;
  17454. procedure TTMR4_T4CON.clearTCKPS2; inline;
  17455. begin
  17456. pTDefRegMap(@Self)^.clr := $00000040;
  17457. end;
  17458. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  17459. begin
  17460. if thebits = 0 then
  17461. pTDefRegMap(@Self)^.clr := $00000040
  17462. else
  17463. pTDefRegMap(@Self)^.&set := $00000040;
  17464. end;
  17465. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  17466. begin
  17467. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17468. end;
  17469. procedure TTMR4_T4CON.setTSIDL; inline;
  17470. begin
  17471. pTDefRegMap(@Self)^.&set := $00002000;
  17472. end;
  17473. procedure TTMR4_T4CON.clearTSIDL; inline;
  17474. begin
  17475. pTDefRegMap(@Self)^.clr := $00002000;
  17476. end;
  17477. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  17478. begin
  17479. if thebits = 0 then
  17480. pTDefRegMap(@Self)^.clr := $00002000
  17481. else
  17482. pTDefRegMap(@Self)^.&set := $00002000;
  17483. end;
  17484. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  17485. begin
  17486. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17487. end;
  17488. procedure TTMR4_T4CON.setTON; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.&set := $00008000;
  17491. end;
  17492. procedure TTMR4_T4CON.clearTON; inline;
  17493. begin
  17494. pTDefRegMap(@Self)^.clr := $00008000;
  17495. end;
  17496. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  17497. begin
  17498. if thebits = 0 then
  17499. pTDefRegMap(@Self)^.clr := $00008000
  17500. else
  17501. pTDefRegMap(@Self)^.&set := $00008000;
  17502. end;
  17503. function TTMR4_T4CON.getTON : TBits_1; inline;
  17504. begin
  17505. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17506. end;
  17507. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  17508. begin
  17509. pTDefRegMap(@Self)^.val := thebits;
  17510. end;
  17511. function TTMR4_T4CON.getw : TBits_32; inline;
  17512. begin
  17513. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17514. end;
  17515. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  17516. begin
  17517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17518. end;
  17519. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  17520. begin
  17521. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17522. end;
  17523. procedure TTMR5_T5CON.setTGATE; inline;
  17524. begin
  17525. pTDefRegMap(@Self)^.&set := $00000080;
  17526. end;
  17527. procedure TTMR5_T5CON.clearTGATE; inline;
  17528. begin
  17529. pTDefRegMap(@Self)^.clr := $00000080;
  17530. end;
  17531. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  17532. begin
  17533. if thebits = 0 then
  17534. pTDefRegMap(@Self)^.clr := $00000080
  17535. else
  17536. pTDefRegMap(@Self)^.&set := $00000080;
  17537. end;
  17538. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  17539. begin
  17540. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17541. end;
  17542. procedure TTMR5_T5CON.setSIDL; inline;
  17543. begin
  17544. pTDefRegMap(@Self)^.&set := $00002000;
  17545. end;
  17546. procedure TTMR5_T5CON.clearSIDL; inline;
  17547. begin
  17548. pTDefRegMap(@Self)^.clr := $00002000;
  17549. end;
  17550. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  17551. begin
  17552. if thebits = 0 then
  17553. pTDefRegMap(@Self)^.clr := $00002000
  17554. else
  17555. pTDefRegMap(@Self)^.&set := $00002000;
  17556. end;
  17557. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  17558. begin
  17559. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17560. end;
  17561. procedure TTMR5_T5CON.setON; inline;
  17562. begin
  17563. pTDefRegMap(@Self)^.&set := $00008000;
  17564. end;
  17565. procedure TTMR5_T5CON.clearON; inline;
  17566. begin
  17567. pTDefRegMap(@Self)^.clr := $00008000;
  17568. end;
  17569. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  17570. begin
  17571. if thebits = 0 then
  17572. pTDefRegMap(@Self)^.clr := $00008000
  17573. else
  17574. pTDefRegMap(@Self)^.&set := $00008000;
  17575. end;
  17576. function TTMR5_T5CON.getON : TBits_1; inline;
  17577. begin
  17578. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17579. end;
  17580. procedure TTMR5_T5CON.setTCKPS0; inline;
  17581. begin
  17582. pTDefRegMap(@Self)^.&set := $00000010;
  17583. end;
  17584. procedure TTMR5_T5CON.clearTCKPS0; inline;
  17585. begin
  17586. pTDefRegMap(@Self)^.clr := $00000010;
  17587. end;
  17588. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  17589. begin
  17590. if thebits = 0 then
  17591. pTDefRegMap(@Self)^.clr := $00000010
  17592. else
  17593. pTDefRegMap(@Self)^.&set := $00000010;
  17594. end;
  17595. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  17596. begin
  17597. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17598. end;
  17599. procedure TTMR5_T5CON.setTCKPS1; inline;
  17600. begin
  17601. pTDefRegMap(@Self)^.&set := $00000020;
  17602. end;
  17603. procedure TTMR5_T5CON.clearTCKPS1; inline;
  17604. begin
  17605. pTDefRegMap(@Self)^.clr := $00000020;
  17606. end;
  17607. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  17608. begin
  17609. if thebits = 0 then
  17610. pTDefRegMap(@Self)^.clr := $00000020
  17611. else
  17612. pTDefRegMap(@Self)^.&set := $00000020;
  17613. end;
  17614. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  17615. begin
  17616. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17617. end;
  17618. procedure TTMR5_T5CON.setTCKPS2; inline;
  17619. begin
  17620. pTDefRegMap(@Self)^.&set := $00000040;
  17621. end;
  17622. procedure TTMR5_T5CON.clearTCKPS2; inline;
  17623. begin
  17624. pTDefRegMap(@Self)^.clr := $00000040;
  17625. end;
  17626. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  17627. begin
  17628. if thebits = 0 then
  17629. pTDefRegMap(@Self)^.clr := $00000040
  17630. else
  17631. pTDefRegMap(@Self)^.&set := $00000040;
  17632. end;
  17633. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  17634. begin
  17635. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17636. end;
  17637. procedure TTMR5_T5CON.setTSIDL; inline;
  17638. begin
  17639. pTDefRegMap(@Self)^.&set := $00002000;
  17640. end;
  17641. procedure TTMR5_T5CON.clearTSIDL; inline;
  17642. begin
  17643. pTDefRegMap(@Self)^.clr := $00002000;
  17644. end;
  17645. procedure TTMR5_T5CON.setTSIDL(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 TTMR5_T5CON.getTSIDL : TBits_1; inline;
  17653. begin
  17654. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17655. end;
  17656. procedure TTMR5_T5CON.setTON; inline;
  17657. begin
  17658. pTDefRegMap(@Self)^.&set := $00008000;
  17659. end;
  17660. procedure TTMR5_T5CON.clearTON; inline;
  17661. begin
  17662. pTDefRegMap(@Self)^.clr := $00008000;
  17663. end;
  17664. procedure TTMR5_T5CON.setTON(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 TTMR5_T5CON.getTON : TBits_1; inline;
  17672. begin
  17673. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17674. end;
  17675. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.val := thebits;
  17678. end;
  17679. function TTMR5_T5CON.getw : TBits_32; inline;
  17680. begin
  17681. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17682. end;
  17683. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  17684. begin
  17685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17686. end;
  17687. function TICAP1_IC1CON.getICM : TBits_3; inline;
  17688. begin
  17689. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17690. end;
  17691. procedure TICAP1_IC1CON.setICBNE; inline;
  17692. begin
  17693. pTDefRegMap(@Self)^.&set := $00000008;
  17694. end;
  17695. procedure TICAP1_IC1CON.clearICBNE; inline;
  17696. begin
  17697. pTDefRegMap(@Self)^.clr := $00000008;
  17698. end;
  17699. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  17700. begin
  17701. if thebits = 0 then
  17702. pTDefRegMap(@Self)^.clr := $00000008
  17703. else
  17704. pTDefRegMap(@Self)^.&set := $00000008;
  17705. end;
  17706. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  17707. begin
  17708. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17709. end;
  17710. procedure TICAP1_IC1CON.setICOV; inline;
  17711. begin
  17712. pTDefRegMap(@Self)^.&set := $00000010;
  17713. end;
  17714. procedure TICAP1_IC1CON.clearICOV; inline;
  17715. begin
  17716. pTDefRegMap(@Self)^.clr := $00000010;
  17717. end;
  17718. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  17719. begin
  17720. if thebits = 0 then
  17721. pTDefRegMap(@Self)^.clr := $00000010
  17722. else
  17723. pTDefRegMap(@Self)^.&set := $00000010;
  17724. end;
  17725. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  17726. begin
  17727. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17728. end;
  17729. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  17730. begin
  17731. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17732. end;
  17733. function TICAP1_IC1CON.getICI : TBits_2; inline;
  17734. begin
  17735. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17736. end;
  17737. procedure TICAP1_IC1CON.setICTMR; inline;
  17738. begin
  17739. pTDefRegMap(@Self)^.&set := $00000080;
  17740. end;
  17741. procedure TICAP1_IC1CON.clearICTMR; inline;
  17742. begin
  17743. pTDefRegMap(@Self)^.clr := $00000080;
  17744. end;
  17745. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  17746. begin
  17747. if thebits = 0 then
  17748. pTDefRegMap(@Self)^.clr := $00000080
  17749. else
  17750. pTDefRegMap(@Self)^.&set := $00000080;
  17751. end;
  17752. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  17753. begin
  17754. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17755. end;
  17756. procedure TICAP1_IC1CON.setC32; inline;
  17757. begin
  17758. pTDefRegMap(@Self)^.&set := $00000100;
  17759. end;
  17760. procedure TICAP1_IC1CON.clearC32; inline;
  17761. begin
  17762. pTDefRegMap(@Self)^.clr := $00000100;
  17763. end;
  17764. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  17765. begin
  17766. if thebits = 0 then
  17767. pTDefRegMap(@Self)^.clr := $00000100
  17768. else
  17769. pTDefRegMap(@Self)^.&set := $00000100;
  17770. end;
  17771. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  17772. begin
  17773. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17774. end;
  17775. procedure TICAP1_IC1CON.setFEDGE; inline;
  17776. begin
  17777. pTDefRegMap(@Self)^.&set := $00000200;
  17778. end;
  17779. procedure TICAP1_IC1CON.clearFEDGE; inline;
  17780. begin
  17781. pTDefRegMap(@Self)^.clr := $00000200;
  17782. end;
  17783. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  17784. begin
  17785. if thebits = 0 then
  17786. pTDefRegMap(@Self)^.clr := $00000200
  17787. else
  17788. pTDefRegMap(@Self)^.&set := $00000200;
  17789. end;
  17790. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  17791. begin
  17792. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17793. end;
  17794. procedure TICAP1_IC1CON.setSIDL; inline;
  17795. begin
  17796. pTDefRegMap(@Self)^.&set := $00002000;
  17797. end;
  17798. procedure TICAP1_IC1CON.clearSIDL; inline;
  17799. begin
  17800. pTDefRegMap(@Self)^.clr := $00002000;
  17801. end;
  17802. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  17803. begin
  17804. if thebits = 0 then
  17805. pTDefRegMap(@Self)^.clr := $00002000
  17806. else
  17807. pTDefRegMap(@Self)^.&set := $00002000;
  17808. end;
  17809. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  17810. begin
  17811. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17812. end;
  17813. procedure TICAP1_IC1CON.setON; inline;
  17814. begin
  17815. pTDefRegMap(@Self)^.&set := $00008000;
  17816. end;
  17817. procedure TICAP1_IC1CON.clearON; inline;
  17818. begin
  17819. pTDefRegMap(@Self)^.clr := $00008000;
  17820. end;
  17821. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  17822. begin
  17823. if thebits = 0 then
  17824. pTDefRegMap(@Self)^.clr := $00008000
  17825. else
  17826. pTDefRegMap(@Self)^.&set := $00008000;
  17827. end;
  17828. function TICAP1_IC1CON.getON : TBits_1; inline;
  17829. begin
  17830. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17831. end;
  17832. procedure TICAP1_IC1CON.setICM0; inline;
  17833. begin
  17834. pTDefRegMap(@Self)^.&set := $00000001;
  17835. end;
  17836. procedure TICAP1_IC1CON.clearICM0; inline;
  17837. begin
  17838. pTDefRegMap(@Self)^.clr := $00000001;
  17839. end;
  17840. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  17841. begin
  17842. if thebits = 0 then
  17843. pTDefRegMap(@Self)^.clr := $00000001
  17844. else
  17845. pTDefRegMap(@Self)^.&set := $00000001;
  17846. end;
  17847. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  17848. begin
  17849. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17850. end;
  17851. procedure TICAP1_IC1CON.setICM1; inline;
  17852. begin
  17853. pTDefRegMap(@Self)^.&set := $00000002;
  17854. end;
  17855. procedure TICAP1_IC1CON.clearICM1; inline;
  17856. begin
  17857. pTDefRegMap(@Self)^.clr := $00000002;
  17858. end;
  17859. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  17860. begin
  17861. if thebits = 0 then
  17862. pTDefRegMap(@Self)^.clr := $00000002
  17863. else
  17864. pTDefRegMap(@Self)^.&set := $00000002;
  17865. end;
  17866. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  17867. begin
  17868. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17869. end;
  17870. procedure TICAP1_IC1CON.setICM2; inline;
  17871. begin
  17872. pTDefRegMap(@Self)^.&set := $00000004;
  17873. end;
  17874. procedure TICAP1_IC1CON.clearICM2; inline;
  17875. begin
  17876. pTDefRegMap(@Self)^.clr := $00000004;
  17877. end;
  17878. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  17879. begin
  17880. if thebits = 0 then
  17881. pTDefRegMap(@Self)^.clr := $00000004
  17882. else
  17883. pTDefRegMap(@Self)^.&set := $00000004;
  17884. end;
  17885. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  17886. begin
  17887. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17888. end;
  17889. procedure TICAP1_IC1CON.setICI0; inline;
  17890. begin
  17891. pTDefRegMap(@Self)^.&set := $00000020;
  17892. end;
  17893. procedure TICAP1_IC1CON.clearICI0; inline;
  17894. begin
  17895. pTDefRegMap(@Self)^.clr := $00000020;
  17896. end;
  17897. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  17898. begin
  17899. if thebits = 0 then
  17900. pTDefRegMap(@Self)^.clr := $00000020
  17901. else
  17902. pTDefRegMap(@Self)^.&set := $00000020;
  17903. end;
  17904. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  17905. begin
  17906. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17907. end;
  17908. procedure TICAP1_IC1CON.setICI1; inline;
  17909. begin
  17910. pTDefRegMap(@Self)^.&set := $00000040;
  17911. end;
  17912. procedure TICAP1_IC1CON.clearICI1; inline;
  17913. begin
  17914. pTDefRegMap(@Self)^.clr := $00000040;
  17915. end;
  17916. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  17917. begin
  17918. if thebits = 0 then
  17919. pTDefRegMap(@Self)^.clr := $00000040
  17920. else
  17921. pTDefRegMap(@Self)^.&set := $00000040;
  17922. end;
  17923. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  17924. begin
  17925. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17926. end;
  17927. procedure TICAP1_IC1CON.setICSIDL; inline;
  17928. begin
  17929. pTDefRegMap(@Self)^.&set := $00002000;
  17930. end;
  17931. procedure TICAP1_IC1CON.clearICSIDL; inline;
  17932. begin
  17933. pTDefRegMap(@Self)^.clr := $00002000;
  17934. end;
  17935. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  17936. begin
  17937. if thebits = 0 then
  17938. pTDefRegMap(@Self)^.clr := $00002000
  17939. else
  17940. pTDefRegMap(@Self)^.&set := $00002000;
  17941. end;
  17942. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  17943. begin
  17944. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17945. end;
  17946. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  17947. begin
  17948. pTDefRegMap(@Self)^.val := thebits;
  17949. end;
  17950. function TICAP1_IC1CON.getw : TBits_32; inline;
  17951. begin
  17952. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17953. end;
  17954. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  17955. begin
  17956. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17957. end;
  17958. function TICAP2_IC2CON.getICM : TBits_3; inline;
  17959. begin
  17960. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17961. end;
  17962. procedure TICAP2_IC2CON.setICBNE; inline;
  17963. begin
  17964. pTDefRegMap(@Self)^.&set := $00000008;
  17965. end;
  17966. procedure TICAP2_IC2CON.clearICBNE; inline;
  17967. begin
  17968. pTDefRegMap(@Self)^.clr := $00000008;
  17969. end;
  17970. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  17971. begin
  17972. if thebits = 0 then
  17973. pTDefRegMap(@Self)^.clr := $00000008
  17974. else
  17975. pTDefRegMap(@Self)^.&set := $00000008;
  17976. end;
  17977. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  17978. begin
  17979. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17980. end;
  17981. procedure TICAP2_IC2CON.setICOV; inline;
  17982. begin
  17983. pTDefRegMap(@Self)^.&set := $00000010;
  17984. end;
  17985. procedure TICAP2_IC2CON.clearICOV; inline;
  17986. begin
  17987. pTDefRegMap(@Self)^.clr := $00000010;
  17988. end;
  17989. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  17990. begin
  17991. if thebits = 0 then
  17992. pTDefRegMap(@Self)^.clr := $00000010
  17993. else
  17994. pTDefRegMap(@Self)^.&set := $00000010;
  17995. end;
  17996. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  17997. begin
  17998. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17999. end;
  18000. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  18001. begin
  18002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18003. end;
  18004. function TICAP2_IC2CON.getICI : TBits_2; inline;
  18005. begin
  18006. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18007. end;
  18008. procedure TICAP2_IC2CON.setICTMR; inline;
  18009. begin
  18010. pTDefRegMap(@Self)^.&set := $00000080;
  18011. end;
  18012. procedure TICAP2_IC2CON.clearICTMR; inline;
  18013. begin
  18014. pTDefRegMap(@Self)^.clr := $00000080;
  18015. end;
  18016. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  18017. begin
  18018. if thebits = 0 then
  18019. pTDefRegMap(@Self)^.clr := $00000080
  18020. else
  18021. pTDefRegMap(@Self)^.&set := $00000080;
  18022. end;
  18023. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  18024. begin
  18025. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18026. end;
  18027. procedure TICAP2_IC2CON.setC32; inline;
  18028. begin
  18029. pTDefRegMap(@Self)^.&set := $00000100;
  18030. end;
  18031. procedure TICAP2_IC2CON.clearC32; inline;
  18032. begin
  18033. pTDefRegMap(@Self)^.clr := $00000100;
  18034. end;
  18035. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  18036. begin
  18037. if thebits = 0 then
  18038. pTDefRegMap(@Self)^.clr := $00000100
  18039. else
  18040. pTDefRegMap(@Self)^.&set := $00000100;
  18041. end;
  18042. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  18043. begin
  18044. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18045. end;
  18046. procedure TICAP2_IC2CON.setFEDGE; inline;
  18047. begin
  18048. pTDefRegMap(@Self)^.&set := $00000200;
  18049. end;
  18050. procedure TICAP2_IC2CON.clearFEDGE; inline;
  18051. begin
  18052. pTDefRegMap(@Self)^.clr := $00000200;
  18053. end;
  18054. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  18055. begin
  18056. if thebits = 0 then
  18057. pTDefRegMap(@Self)^.clr := $00000200
  18058. else
  18059. pTDefRegMap(@Self)^.&set := $00000200;
  18060. end;
  18061. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  18062. begin
  18063. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18064. end;
  18065. procedure TICAP2_IC2CON.setSIDL; inline;
  18066. begin
  18067. pTDefRegMap(@Self)^.&set := $00002000;
  18068. end;
  18069. procedure TICAP2_IC2CON.clearSIDL; inline;
  18070. begin
  18071. pTDefRegMap(@Self)^.clr := $00002000;
  18072. end;
  18073. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  18074. begin
  18075. if thebits = 0 then
  18076. pTDefRegMap(@Self)^.clr := $00002000
  18077. else
  18078. pTDefRegMap(@Self)^.&set := $00002000;
  18079. end;
  18080. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  18081. begin
  18082. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18083. end;
  18084. procedure TICAP2_IC2CON.setON; inline;
  18085. begin
  18086. pTDefRegMap(@Self)^.&set := $00008000;
  18087. end;
  18088. procedure TICAP2_IC2CON.clearON; inline;
  18089. begin
  18090. pTDefRegMap(@Self)^.clr := $00008000;
  18091. end;
  18092. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  18093. begin
  18094. if thebits = 0 then
  18095. pTDefRegMap(@Self)^.clr := $00008000
  18096. else
  18097. pTDefRegMap(@Self)^.&set := $00008000;
  18098. end;
  18099. function TICAP2_IC2CON.getON : TBits_1; inline;
  18100. begin
  18101. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18102. end;
  18103. procedure TICAP2_IC2CON.setICM0; inline;
  18104. begin
  18105. pTDefRegMap(@Self)^.&set := $00000001;
  18106. end;
  18107. procedure TICAP2_IC2CON.clearICM0; inline;
  18108. begin
  18109. pTDefRegMap(@Self)^.clr := $00000001;
  18110. end;
  18111. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  18112. begin
  18113. if thebits = 0 then
  18114. pTDefRegMap(@Self)^.clr := $00000001
  18115. else
  18116. pTDefRegMap(@Self)^.&set := $00000001;
  18117. end;
  18118. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  18119. begin
  18120. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18121. end;
  18122. procedure TICAP2_IC2CON.setICM1; inline;
  18123. begin
  18124. pTDefRegMap(@Self)^.&set := $00000002;
  18125. end;
  18126. procedure TICAP2_IC2CON.clearICM1; inline;
  18127. begin
  18128. pTDefRegMap(@Self)^.clr := $00000002;
  18129. end;
  18130. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  18131. begin
  18132. if thebits = 0 then
  18133. pTDefRegMap(@Self)^.clr := $00000002
  18134. else
  18135. pTDefRegMap(@Self)^.&set := $00000002;
  18136. end;
  18137. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  18138. begin
  18139. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18140. end;
  18141. procedure TICAP2_IC2CON.setICM2; inline;
  18142. begin
  18143. pTDefRegMap(@Self)^.&set := $00000004;
  18144. end;
  18145. procedure TICAP2_IC2CON.clearICM2; inline;
  18146. begin
  18147. pTDefRegMap(@Self)^.clr := $00000004;
  18148. end;
  18149. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  18150. begin
  18151. if thebits = 0 then
  18152. pTDefRegMap(@Self)^.clr := $00000004
  18153. else
  18154. pTDefRegMap(@Self)^.&set := $00000004;
  18155. end;
  18156. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  18157. begin
  18158. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18159. end;
  18160. procedure TICAP2_IC2CON.setICI0; inline;
  18161. begin
  18162. pTDefRegMap(@Self)^.&set := $00000020;
  18163. end;
  18164. procedure TICAP2_IC2CON.clearICI0; inline;
  18165. begin
  18166. pTDefRegMap(@Self)^.clr := $00000020;
  18167. end;
  18168. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  18169. begin
  18170. if thebits = 0 then
  18171. pTDefRegMap(@Self)^.clr := $00000020
  18172. else
  18173. pTDefRegMap(@Self)^.&set := $00000020;
  18174. end;
  18175. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  18176. begin
  18177. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18178. end;
  18179. procedure TICAP2_IC2CON.setICI1; inline;
  18180. begin
  18181. pTDefRegMap(@Self)^.&set := $00000040;
  18182. end;
  18183. procedure TICAP2_IC2CON.clearICI1; inline;
  18184. begin
  18185. pTDefRegMap(@Self)^.clr := $00000040;
  18186. end;
  18187. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  18188. begin
  18189. if thebits = 0 then
  18190. pTDefRegMap(@Self)^.clr := $00000040
  18191. else
  18192. pTDefRegMap(@Self)^.&set := $00000040;
  18193. end;
  18194. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  18195. begin
  18196. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18197. end;
  18198. procedure TICAP2_IC2CON.setICSIDL; inline;
  18199. begin
  18200. pTDefRegMap(@Self)^.&set := $00002000;
  18201. end;
  18202. procedure TICAP2_IC2CON.clearICSIDL; inline;
  18203. begin
  18204. pTDefRegMap(@Self)^.clr := $00002000;
  18205. end;
  18206. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  18207. begin
  18208. if thebits = 0 then
  18209. pTDefRegMap(@Self)^.clr := $00002000
  18210. else
  18211. pTDefRegMap(@Self)^.&set := $00002000;
  18212. end;
  18213. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  18214. begin
  18215. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18216. end;
  18217. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  18218. begin
  18219. pTDefRegMap(@Self)^.val := thebits;
  18220. end;
  18221. function TICAP2_IC2CON.getw : TBits_32; inline;
  18222. begin
  18223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18224. end;
  18225. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  18226. begin
  18227. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18228. end;
  18229. function TICAP3_IC3CON.getICM : TBits_3; inline;
  18230. begin
  18231. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18232. end;
  18233. procedure TICAP3_IC3CON.setICBNE; inline;
  18234. begin
  18235. pTDefRegMap(@Self)^.&set := $00000008;
  18236. end;
  18237. procedure TICAP3_IC3CON.clearICBNE; inline;
  18238. begin
  18239. pTDefRegMap(@Self)^.clr := $00000008;
  18240. end;
  18241. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  18242. begin
  18243. if thebits = 0 then
  18244. pTDefRegMap(@Self)^.clr := $00000008
  18245. else
  18246. pTDefRegMap(@Self)^.&set := $00000008;
  18247. end;
  18248. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  18249. begin
  18250. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18251. end;
  18252. procedure TICAP3_IC3CON.setICOV; inline;
  18253. begin
  18254. pTDefRegMap(@Self)^.&set := $00000010;
  18255. end;
  18256. procedure TICAP3_IC3CON.clearICOV; inline;
  18257. begin
  18258. pTDefRegMap(@Self)^.clr := $00000010;
  18259. end;
  18260. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  18261. begin
  18262. if thebits = 0 then
  18263. pTDefRegMap(@Self)^.clr := $00000010
  18264. else
  18265. pTDefRegMap(@Self)^.&set := $00000010;
  18266. end;
  18267. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  18268. begin
  18269. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18270. end;
  18271. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  18272. begin
  18273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18274. end;
  18275. function TICAP3_IC3CON.getICI : TBits_2; inline;
  18276. begin
  18277. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18278. end;
  18279. procedure TICAP3_IC3CON.setICTMR; inline;
  18280. begin
  18281. pTDefRegMap(@Self)^.&set := $00000080;
  18282. end;
  18283. procedure TICAP3_IC3CON.clearICTMR; inline;
  18284. begin
  18285. pTDefRegMap(@Self)^.clr := $00000080;
  18286. end;
  18287. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  18288. begin
  18289. if thebits = 0 then
  18290. pTDefRegMap(@Self)^.clr := $00000080
  18291. else
  18292. pTDefRegMap(@Self)^.&set := $00000080;
  18293. end;
  18294. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  18295. begin
  18296. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18297. end;
  18298. procedure TICAP3_IC3CON.setC32; inline;
  18299. begin
  18300. pTDefRegMap(@Self)^.&set := $00000100;
  18301. end;
  18302. procedure TICAP3_IC3CON.clearC32; inline;
  18303. begin
  18304. pTDefRegMap(@Self)^.clr := $00000100;
  18305. end;
  18306. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  18307. begin
  18308. if thebits = 0 then
  18309. pTDefRegMap(@Self)^.clr := $00000100
  18310. else
  18311. pTDefRegMap(@Self)^.&set := $00000100;
  18312. end;
  18313. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  18314. begin
  18315. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18316. end;
  18317. procedure TICAP3_IC3CON.setFEDGE; inline;
  18318. begin
  18319. pTDefRegMap(@Self)^.&set := $00000200;
  18320. end;
  18321. procedure TICAP3_IC3CON.clearFEDGE; inline;
  18322. begin
  18323. pTDefRegMap(@Self)^.clr := $00000200;
  18324. end;
  18325. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  18326. begin
  18327. if thebits = 0 then
  18328. pTDefRegMap(@Self)^.clr := $00000200
  18329. else
  18330. pTDefRegMap(@Self)^.&set := $00000200;
  18331. end;
  18332. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  18333. begin
  18334. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18335. end;
  18336. procedure TICAP3_IC3CON.setSIDL; inline;
  18337. begin
  18338. pTDefRegMap(@Self)^.&set := $00002000;
  18339. end;
  18340. procedure TICAP3_IC3CON.clearSIDL; inline;
  18341. begin
  18342. pTDefRegMap(@Self)^.clr := $00002000;
  18343. end;
  18344. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  18345. begin
  18346. if thebits = 0 then
  18347. pTDefRegMap(@Self)^.clr := $00002000
  18348. else
  18349. pTDefRegMap(@Self)^.&set := $00002000;
  18350. end;
  18351. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  18352. begin
  18353. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18354. end;
  18355. procedure TICAP3_IC3CON.setON; inline;
  18356. begin
  18357. pTDefRegMap(@Self)^.&set := $00008000;
  18358. end;
  18359. procedure TICAP3_IC3CON.clearON; inline;
  18360. begin
  18361. pTDefRegMap(@Self)^.clr := $00008000;
  18362. end;
  18363. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  18364. begin
  18365. if thebits = 0 then
  18366. pTDefRegMap(@Self)^.clr := $00008000
  18367. else
  18368. pTDefRegMap(@Self)^.&set := $00008000;
  18369. end;
  18370. function TICAP3_IC3CON.getON : TBits_1; inline;
  18371. begin
  18372. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18373. end;
  18374. procedure TICAP3_IC3CON.setICM0; inline;
  18375. begin
  18376. pTDefRegMap(@Self)^.&set := $00000001;
  18377. end;
  18378. procedure TICAP3_IC3CON.clearICM0; inline;
  18379. begin
  18380. pTDefRegMap(@Self)^.clr := $00000001;
  18381. end;
  18382. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  18383. begin
  18384. if thebits = 0 then
  18385. pTDefRegMap(@Self)^.clr := $00000001
  18386. else
  18387. pTDefRegMap(@Self)^.&set := $00000001;
  18388. end;
  18389. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  18390. begin
  18391. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18392. end;
  18393. procedure TICAP3_IC3CON.setICM1; inline;
  18394. begin
  18395. pTDefRegMap(@Self)^.&set := $00000002;
  18396. end;
  18397. procedure TICAP3_IC3CON.clearICM1; inline;
  18398. begin
  18399. pTDefRegMap(@Self)^.clr := $00000002;
  18400. end;
  18401. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  18402. begin
  18403. if thebits = 0 then
  18404. pTDefRegMap(@Self)^.clr := $00000002
  18405. else
  18406. pTDefRegMap(@Self)^.&set := $00000002;
  18407. end;
  18408. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  18409. begin
  18410. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18411. end;
  18412. procedure TICAP3_IC3CON.setICM2; inline;
  18413. begin
  18414. pTDefRegMap(@Self)^.&set := $00000004;
  18415. end;
  18416. procedure TICAP3_IC3CON.clearICM2; inline;
  18417. begin
  18418. pTDefRegMap(@Self)^.clr := $00000004;
  18419. end;
  18420. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  18421. begin
  18422. if thebits = 0 then
  18423. pTDefRegMap(@Self)^.clr := $00000004
  18424. else
  18425. pTDefRegMap(@Self)^.&set := $00000004;
  18426. end;
  18427. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  18428. begin
  18429. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18430. end;
  18431. procedure TICAP3_IC3CON.setICI0; inline;
  18432. begin
  18433. pTDefRegMap(@Self)^.&set := $00000020;
  18434. end;
  18435. procedure TICAP3_IC3CON.clearICI0; inline;
  18436. begin
  18437. pTDefRegMap(@Self)^.clr := $00000020;
  18438. end;
  18439. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  18440. begin
  18441. if thebits = 0 then
  18442. pTDefRegMap(@Self)^.clr := $00000020
  18443. else
  18444. pTDefRegMap(@Self)^.&set := $00000020;
  18445. end;
  18446. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  18447. begin
  18448. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18449. end;
  18450. procedure TICAP3_IC3CON.setICI1; inline;
  18451. begin
  18452. pTDefRegMap(@Self)^.&set := $00000040;
  18453. end;
  18454. procedure TICAP3_IC3CON.clearICI1; inline;
  18455. begin
  18456. pTDefRegMap(@Self)^.clr := $00000040;
  18457. end;
  18458. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  18459. begin
  18460. if thebits = 0 then
  18461. pTDefRegMap(@Self)^.clr := $00000040
  18462. else
  18463. pTDefRegMap(@Self)^.&set := $00000040;
  18464. end;
  18465. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  18466. begin
  18467. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18468. end;
  18469. procedure TICAP3_IC3CON.setICSIDL; inline;
  18470. begin
  18471. pTDefRegMap(@Self)^.&set := $00002000;
  18472. end;
  18473. procedure TICAP3_IC3CON.clearICSIDL; inline;
  18474. begin
  18475. pTDefRegMap(@Self)^.clr := $00002000;
  18476. end;
  18477. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  18478. begin
  18479. if thebits = 0 then
  18480. pTDefRegMap(@Self)^.clr := $00002000
  18481. else
  18482. pTDefRegMap(@Self)^.&set := $00002000;
  18483. end;
  18484. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  18485. begin
  18486. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18487. end;
  18488. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.val := thebits;
  18491. end;
  18492. function TICAP3_IC3CON.getw : TBits_32; inline;
  18493. begin
  18494. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18495. end;
  18496. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  18497. begin
  18498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18499. end;
  18500. function TICAP4_IC4CON.getICM : TBits_3; inline;
  18501. begin
  18502. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18503. end;
  18504. procedure TICAP4_IC4CON.setICBNE; inline;
  18505. begin
  18506. pTDefRegMap(@Self)^.&set := $00000008;
  18507. end;
  18508. procedure TICAP4_IC4CON.clearICBNE; inline;
  18509. begin
  18510. pTDefRegMap(@Self)^.clr := $00000008;
  18511. end;
  18512. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  18513. begin
  18514. if thebits = 0 then
  18515. pTDefRegMap(@Self)^.clr := $00000008
  18516. else
  18517. pTDefRegMap(@Self)^.&set := $00000008;
  18518. end;
  18519. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  18520. begin
  18521. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18522. end;
  18523. procedure TICAP4_IC4CON.setICOV; inline;
  18524. begin
  18525. pTDefRegMap(@Self)^.&set := $00000010;
  18526. end;
  18527. procedure TICAP4_IC4CON.clearICOV; inline;
  18528. begin
  18529. pTDefRegMap(@Self)^.clr := $00000010;
  18530. end;
  18531. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  18532. begin
  18533. if thebits = 0 then
  18534. pTDefRegMap(@Self)^.clr := $00000010
  18535. else
  18536. pTDefRegMap(@Self)^.&set := $00000010;
  18537. end;
  18538. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  18539. begin
  18540. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18541. end;
  18542. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  18543. begin
  18544. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18545. end;
  18546. function TICAP4_IC4CON.getICI : TBits_2; inline;
  18547. begin
  18548. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18549. end;
  18550. procedure TICAP4_IC4CON.setICTMR; inline;
  18551. begin
  18552. pTDefRegMap(@Self)^.&set := $00000080;
  18553. end;
  18554. procedure TICAP4_IC4CON.clearICTMR; inline;
  18555. begin
  18556. pTDefRegMap(@Self)^.clr := $00000080;
  18557. end;
  18558. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  18559. begin
  18560. if thebits = 0 then
  18561. pTDefRegMap(@Self)^.clr := $00000080
  18562. else
  18563. pTDefRegMap(@Self)^.&set := $00000080;
  18564. end;
  18565. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  18566. begin
  18567. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18568. end;
  18569. procedure TICAP4_IC4CON.setC32; inline;
  18570. begin
  18571. pTDefRegMap(@Self)^.&set := $00000100;
  18572. end;
  18573. procedure TICAP4_IC4CON.clearC32; inline;
  18574. begin
  18575. pTDefRegMap(@Self)^.clr := $00000100;
  18576. end;
  18577. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  18578. begin
  18579. if thebits = 0 then
  18580. pTDefRegMap(@Self)^.clr := $00000100
  18581. else
  18582. pTDefRegMap(@Self)^.&set := $00000100;
  18583. end;
  18584. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  18585. begin
  18586. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18587. end;
  18588. procedure TICAP4_IC4CON.setFEDGE; inline;
  18589. begin
  18590. pTDefRegMap(@Self)^.&set := $00000200;
  18591. end;
  18592. procedure TICAP4_IC4CON.clearFEDGE; inline;
  18593. begin
  18594. pTDefRegMap(@Self)^.clr := $00000200;
  18595. end;
  18596. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  18597. begin
  18598. if thebits = 0 then
  18599. pTDefRegMap(@Self)^.clr := $00000200
  18600. else
  18601. pTDefRegMap(@Self)^.&set := $00000200;
  18602. end;
  18603. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  18604. begin
  18605. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18606. end;
  18607. procedure TICAP4_IC4CON.setSIDL; inline;
  18608. begin
  18609. pTDefRegMap(@Self)^.&set := $00002000;
  18610. end;
  18611. procedure TICAP4_IC4CON.clearSIDL; inline;
  18612. begin
  18613. pTDefRegMap(@Self)^.clr := $00002000;
  18614. end;
  18615. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  18616. begin
  18617. if thebits = 0 then
  18618. pTDefRegMap(@Self)^.clr := $00002000
  18619. else
  18620. pTDefRegMap(@Self)^.&set := $00002000;
  18621. end;
  18622. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  18623. begin
  18624. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18625. end;
  18626. procedure TICAP4_IC4CON.setON; inline;
  18627. begin
  18628. pTDefRegMap(@Self)^.&set := $00008000;
  18629. end;
  18630. procedure TICAP4_IC4CON.clearON; inline;
  18631. begin
  18632. pTDefRegMap(@Self)^.clr := $00008000;
  18633. end;
  18634. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  18635. begin
  18636. if thebits = 0 then
  18637. pTDefRegMap(@Self)^.clr := $00008000
  18638. else
  18639. pTDefRegMap(@Self)^.&set := $00008000;
  18640. end;
  18641. function TICAP4_IC4CON.getON : TBits_1; inline;
  18642. begin
  18643. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18644. end;
  18645. procedure TICAP4_IC4CON.setICM0; inline;
  18646. begin
  18647. pTDefRegMap(@Self)^.&set := $00000001;
  18648. end;
  18649. procedure TICAP4_IC4CON.clearICM0; inline;
  18650. begin
  18651. pTDefRegMap(@Self)^.clr := $00000001;
  18652. end;
  18653. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  18654. begin
  18655. if thebits = 0 then
  18656. pTDefRegMap(@Self)^.clr := $00000001
  18657. else
  18658. pTDefRegMap(@Self)^.&set := $00000001;
  18659. end;
  18660. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  18661. begin
  18662. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18663. end;
  18664. procedure TICAP4_IC4CON.setICM1; inline;
  18665. begin
  18666. pTDefRegMap(@Self)^.&set := $00000002;
  18667. end;
  18668. procedure TICAP4_IC4CON.clearICM1; inline;
  18669. begin
  18670. pTDefRegMap(@Self)^.clr := $00000002;
  18671. end;
  18672. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  18673. begin
  18674. if thebits = 0 then
  18675. pTDefRegMap(@Self)^.clr := $00000002
  18676. else
  18677. pTDefRegMap(@Self)^.&set := $00000002;
  18678. end;
  18679. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  18680. begin
  18681. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18682. end;
  18683. procedure TICAP4_IC4CON.setICM2; inline;
  18684. begin
  18685. pTDefRegMap(@Self)^.&set := $00000004;
  18686. end;
  18687. procedure TICAP4_IC4CON.clearICM2; inline;
  18688. begin
  18689. pTDefRegMap(@Self)^.clr := $00000004;
  18690. end;
  18691. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  18692. begin
  18693. if thebits = 0 then
  18694. pTDefRegMap(@Self)^.clr := $00000004
  18695. else
  18696. pTDefRegMap(@Self)^.&set := $00000004;
  18697. end;
  18698. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  18699. begin
  18700. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18701. end;
  18702. procedure TICAP4_IC4CON.setICI0; inline;
  18703. begin
  18704. pTDefRegMap(@Self)^.&set := $00000020;
  18705. end;
  18706. procedure TICAP4_IC4CON.clearICI0; inline;
  18707. begin
  18708. pTDefRegMap(@Self)^.clr := $00000020;
  18709. end;
  18710. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  18711. begin
  18712. if thebits = 0 then
  18713. pTDefRegMap(@Self)^.clr := $00000020
  18714. else
  18715. pTDefRegMap(@Self)^.&set := $00000020;
  18716. end;
  18717. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  18718. begin
  18719. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18720. end;
  18721. procedure TICAP4_IC4CON.setICI1; inline;
  18722. begin
  18723. pTDefRegMap(@Self)^.&set := $00000040;
  18724. end;
  18725. procedure TICAP4_IC4CON.clearICI1; inline;
  18726. begin
  18727. pTDefRegMap(@Self)^.clr := $00000040;
  18728. end;
  18729. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  18730. begin
  18731. if thebits = 0 then
  18732. pTDefRegMap(@Self)^.clr := $00000040
  18733. else
  18734. pTDefRegMap(@Self)^.&set := $00000040;
  18735. end;
  18736. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  18737. begin
  18738. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18739. end;
  18740. procedure TICAP4_IC4CON.setICSIDL; inline;
  18741. begin
  18742. pTDefRegMap(@Self)^.&set := $00002000;
  18743. end;
  18744. procedure TICAP4_IC4CON.clearICSIDL; inline;
  18745. begin
  18746. pTDefRegMap(@Self)^.clr := $00002000;
  18747. end;
  18748. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  18749. begin
  18750. if thebits = 0 then
  18751. pTDefRegMap(@Self)^.clr := $00002000
  18752. else
  18753. pTDefRegMap(@Self)^.&set := $00002000;
  18754. end;
  18755. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  18756. begin
  18757. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18758. end;
  18759. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  18760. begin
  18761. pTDefRegMap(@Self)^.val := thebits;
  18762. end;
  18763. function TICAP4_IC4CON.getw : TBits_32; inline;
  18764. begin
  18765. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18766. end;
  18767. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  18768. begin
  18769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18770. end;
  18771. function TICAP5_IC5CON.getICM : TBits_3; inline;
  18772. begin
  18773. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18774. end;
  18775. procedure TICAP5_IC5CON.setICBNE; inline;
  18776. begin
  18777. pTDefRegMap(@Self)^.&set := $00000008;
  18778. end;
  18779. procedure TICAP5_IC5CON.clearICBNE; inline;
  18780. begin
  18781. pTDefRegMap(@Self)^.clr := $00000008;
  18782. end;
  18783. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  18784. begin
  18785. if thebits = 0 then
  18786. pTDefRegMap(@Self)^.clr := $00000008
  18787. else
  18788. pTDefRegMap(@Self)^.&set := $00000008;
  18789. end;
  18790. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  18791. begin
  18792. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18793. end;
  18794. procedure TICAP5_IC5CON.setICOV; inline;
  18795. begin
  18796. pTDefRegMap(@Self)^.&set := $00000010;
  18797. end;
  18798. procedure TICAP5_IC5CON.clearICOV; inline;
  18799. begin
  18800. pTDefRegMap(@Self)^.clr := $00000010;
  18801. end;
  18802. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  18803. begin
  18804. if thebits = 0 then
  18805. pTDefRegMap(@Self)^.clr := $00000010
  18806. else
  18807. pTDefRegMap(@Self)^.&set := $00000010;
  18808. end;
  18809. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  18810. begin
  18811. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18812. end;
  18813. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  18814. begin
  18815. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18816. end;
  18817. function TICAP5_IC5CON.getICI : TBits_2; inline;
  18818. begin
  18819. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18820. end;
  18821. procedure TICAP5_IC5CON.setICTMR; inline;
  18822. begin
  18823. pTDefRegMap(@Self)^.&set := $00000080;
  18824. end;
  18825. procedure TICAP5_IC5CON.clearICTMR; inline;
  18826. begin
  18827. pTDefRegMap(@Self)^.clr := $00000080;
  18828. end;
  18829. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  18830. begin
  18831. if thebits = 0 then
  18832. pTDefRegMap(@Self)^.clr := $00000080
  18833. else
  18834. pTDefRegMap(@Self)^.&set := $00000080;
  18835. end;
  18836. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  18837. begin
  18838. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18839. end;
  18840. procedure TICAP5_IC5CON.setC32; inline;
  18841. begin
  18842. pTDefRegMap(@Self)^.&set := $00000100;
  18843. end;
  18844. procedure TICAP5_IC5CON.clearC32; inline;
  18845. begin
  18846. pTDefRegMap(@Self)^.clr := $00000100;
  18847. end;
  18848. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  18849. begin
  18850. if thebits = 0 then
  18851. pTDefRegMap(@Self)^.clr := $00000100
  18852. else
  18853. pTDefRegMap(@Self)^.&set := $00000100;
  18854. end;
  18855. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  18856. begin
  18857. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18858. end;
  18859. procedure TICAP5_IC5CON.setFEDGE; inline;
  18860. begin
  18861. pTDefRegMap(@Self)^.&set := $00000200;
  18862. end;
  18863. procedure TICAP5_IC5CON.clearFEDGE; inline;
  18864. begin
  18865. pTDefRegMap(@Self)^.clr := $00000200;
  18866. end;
  18867. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  18868. begin
  18869. if thebits = 0 then
  18870. pTDefRegMap(@Self)^.clr := $00000200
  18871. else
  18872. pTDefRegMap(@Self)^.&set := $00000200;
  18873. end;
  18874. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  18875. begin
  18876. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18877. end;
  18878. procedure TICAP5_IC5CON.setSIDL; inline;
  18879. begin
  18880. pTDefRegMap(@Self)^.&set := $00002000;
  18881. end;
  18882. procedure TICAP5_IC5CON.clearSIDL; inline;
  18883. begin
  18884. pTDefRegMap(@Self)^.clr := $00002000;
  18885. end;
  18886. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  18887. begin
  18888. if thebits = 0 then
  18889. pTDefRegMap(@Self)^.clr := $00002000
  18890. else
  18891. pTDefRegMap(@Self)^.&set := $00002000;
  18892. end;
  18893. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  18894. begin
  18895. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18896. end;
  18897. procedure TICAP5_IC5CON.setON; inline;
  18898. begin
  18899. pTDefRegMap(@Self)^.&set := $00008000;
  18900. end;
  18901. procedure TICAP5_IC5CON.clearON; inline;
  18902. begin
  18903. pTDefRegMap(@Self)^.clr := $00008000;
  18904. end;
  18905. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  18906. begin
  18907. if thebits = 0 then
  18908. pTDefRegMap(@Self)^.clr := $00008000
  18909. else
  18910. pTDefRegMap(@Self)^.&set := $00008000;
  18911. end;
  18912. function TICAP5_IC5CON.getON : TBits_1; inline;
  18913. begin
  18914. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18915. end;
  18916. procedure TICAP5_IC5CON.setICM0; inline;
  18917. begin
  18918. pTDefRegMap(@Self)^.&set := $00000001;
  18919. end;
  18920. procedure TICAP5_IC5CON.clearICM0; inline;
  18921. begin
  18922. pTDefRegMap(@Self)^.clr := $00000001;
  18923. end;
  18924. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  18925. begin
  18926. if thebits = 0 then
  18927. pTDefRegMap(@Self)^.clr := $00000001
  18928. else
  18929. pTDefRegMap(@Self)^.&set := $00000001;
  18930. end;
  18931. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  18932. begin
  18933. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18934. end;
  18935. procedure TICAP5_IC5CON.setICM1; inline;
  18936. begin
  18937. pTDefRegMap(@Self)^.&set := $00000002;
  18938. end;
  18939. procedure TICAP5_IC5CON.clearICM1; inline;
  18940. begin
  18941. pTDefRegMap(@Self)^.clr := $00000002;
  18942. end;
  18943. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  18944. begin
  18945. if thebits = 0 then
  18946. pTDefRegMap(@Self)^.clr := $00000002
  18947. else
  18948. pTDefRegMap(@Self)^.&set := $00000002;
  18949. end;
  18950. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  18951. begin
  18952. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18953. end;
  18954. procedure TICAP5_IC5CON.setICM2; inline;
  18955. begin
  18956. pTDefRegMap(@Self)^.&set := $00000004;
  18957. end;
  18958. procedure TICAP5_IC5CON.clearICM2; inline;
  18959. begin
  18960. pTDefRegMap(@Self)^.clr := $00000004;
  18961. end;
  18962. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  18963. begin
  18964. if thebits = 0 then
  18965. pTDefRegMap(@Self)^.clr := $00000004
  18966. else
  18967. pTDefRegMap(@Self)^.&set := $00000004;
  18968. end;
  18969. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  18970. begin
  18971. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18972. end;
  18973. procedure TICAP5_IC5CON.setICI0; inline;
  18974. begin
  18975. pTDefRegMap(@Self)^.&set := $00000020;
  18976. end;
  18977. procedure TICAP5_IC5CON.clearICI0; inline;
  18978. begin
  18979. pTDefRegMap(@Self)^.clr := $00000020;
  18980. end;
  18981. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  18982. begin
  18983. if thebits = 0 then
  18984. pTDefRegMap(@Self)^.clr := $00000020
  18985. else
  18986. pTDefRegMap(@Self)^.&set := $00000020;
  18987. end;
  18988. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  18989. begin
  18990. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18991. end;
  18992. procedure TICAP5_IC5CON.setICI1; inline;
  18993. begin
  18994. pTDefRegMap(@Self)^.&set := $00000040;
  18995. end;
  18996. procedure TICAP5_IC5CON.clearICI1; inline;
  18997. begin
  18998. pTDefRegMap(@Self)^.clr := $00000040;
  18999. end;
  19000. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  19001. begin
  19002. if thebits = 0 then
  19003. pTDefRegMap(@Self)^.clr := $00000040
  19004. else
  19005. pTDefRegMap(@Self)^.&set := $00000040;
  19006. end;
  19007. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  19008. begin
  19009. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19010. end;
  19011. procedure TICAP5_IC5CON.setICSIDL; inline;
  19012. begin
  19013. pTDefRegMap(@Self)^.&set := $00002000;
  19014. end;
  19015. procedure TICAP5_IC5CON.clearICSIDL; inline;
  19016. begin
  19017. pTDefRegMap(@Self)^.clr := $00002000;
  19018. end;
  19019. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  19020. begin
  19021. if thebits = 0 then
  19022. pTDefRegMap(@Self)^.clr := $00002000
  19023. else
  19024. pTDefRegMap(@Self)^.&set := $00002000;
  19025. end;
  19026. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  19027. begin
  19028. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19029. end;
  19030. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  19031. begin
  19032. pTDefRegMap(@Self)^.val := thebits;
  19033. end;
  19034. function TICAP5_IC5CON.getw : TBits_32; inline;
  19035. begin
  19036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19037. end;
  19038. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  19039. begin
  19040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19041. end;
  19042. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  19043. begin
  19044. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19045. end;
  19046. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  19047. begin
  19048. pTDefRegMap(@Self)^.&set := $00000008;
  19049. end;
  19050. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  19051. begin
  19052. pTDefRegMap(@Self)^.clr := $00000008;
  19053. end;
  19054. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  19055. begin
  19056. if thebits = 0 then
  19057. pTDefRegMap(@Self)^.clr := $00000008
  19058. else
  19059. pTDefRegMap(@Self)^.&set := $00000008;
  19060. end;
  19061. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  19062. begin
  19063. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19064. end;
  19065. procedure TOCMP1_OC1CON.setOCFLT; inline;
  19066. begin
  19067. pTDefRegMap(@Self)^.&set := $00000010;
  19068. end;
  19069. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  19070. begin
  19071. pTDefRegMap(@Self)^.clr := $00000010;
  19072. end;
  19073. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  19074. begin
  19075. if thebits = 0 then
  19076. pTDefRegMap(@Self)^.clr := $00000010
  19077. else
  19078. pTDefRegMap(@Self)^.&set := $00000010;
  19079. end;
  19080. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  19081. begin
  19082. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19083. end;
  19084. procedure TOCMP1_OC1CON.setOC32; inline;
  19085. begin
  19086. pTDefRegMap(@Self)^.&set := $00000020;
  19087. end;
  19088. procedure TOCMP1_OC1CON.clearOC32; inline;
  19089. begin
  19090. pTDefRegMap(@Self)^.clr := $00000020;
  19091. end;
  19092. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  19093. begin
  19094. if thebits = 0 then
  19095. pTDefRegMap(@Self)^.clr := $00000020
  19096. else
  19097. pTDefRegMap(@Self)^.&set := $00000020;
  19098. end;
  19099. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  19100. begin
  19101. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19102. end;
  19103. procedure TOCMP1_OC1CON.setSIDL; inline;
  19104. begin
  19105. pTDefRegMap(@Self)^.&set := $00002000;
  19106. end;
  19107. procedure TOCMP1_OC1CON.clearSIDL; inline;
  19108. begin
  19109. pTDefRegMap(@Self)^.clr := $00002000;
  19110. end;
  19111. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  19112. begin
  19113. if thebits = 0 then
  19114. pTDefRegMap(@Self)^.clr := $00002000
  19115. else
  19116. pTDefRegMap(@Self)^.&set := $00002000;
  19117. end;
  19118. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  19119. begin
  19120. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19121. end;
  19122. procedure TOCMP1_OC1CON.setON; inline;
  19123. begin
  19124. pTDefRegMap(@Self)^.&set := $00008000;
  19125. end;
  19126. procedure TOCMP1_OC1CON.clearON; inline;
  19127. begin
  19128. pTDefRegMap(@Self)^.clr := $00008000;
  19129. end;
  19130. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  19131. begin
  19132. if thebits = 0 then
  19133. pTDefRegMap(@Self)^.clr := $00008000
  19134. else
  19135. pTDefRegMap(@Self)^.&set := $00008000;
  19136. end;
  19137. function TOCMP1_OC1CON.getON : TBits_1; inline;
  19138. begin
  19139. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19140. end;
  19141. procedure TOCMP1_OC1CON.setOCM0; inline;
  19142. begin
  19143. pTDefRegMap(@Self)^.&set := $00000001;
  19144. end;
  19145. procedure TOCMP1_OC1CON.clearOCM0; inline;
  19146. begin
  19147. pTDefRegMap(@Self)^.clr := $00000001;
  19148. end;
  19149. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  19150. begin
  19151. if thebits = 0 then
  19152. pTDefRegMap(@Self)^.clr := $00000001
  19153. else
  19154. pTDefRegMap(@Self)^.&set := $00000001;
  19155. end;
  19156. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  19157. begin
  19158. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19159. end;
  19160. procedure TOCMP1_OC1CON.setOCM1; inline;
  19161. begin
  19162. pTDefRegMap(@Self)^.&set := $00000002;
  19163. end;
  19164. procedure TOCMP1_OC1CON.clearOCM1; inline;
  19165. begin
  19166. pTDefRegMap(@Self)^.clr := $00000002;
  19167. end;
  19168. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  19169. begin
  19170. if thebits = 0 then
  19171. pTDefRegMap(@Self)^.clr := $00000002
  19172. else
  19173. pTDefRegMap(@Self)^.&set := $00000002;
  19174. end;
  19175. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  19176. begin
  19177. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19178. end;
  19179. procedure TOCMP1_OC1CON.setOCM2; inline;
  19180. begin
  19181. pTDefRegMap(@Self)^.&set := $00000004;
  19182. end;
  19183. procedure TOCMP1_OC1CON.clearOCM2; inline;
  19184. begin
  19185. pTDefRegMap(@Self)^.clr := $00000004;
  19186. end;
  19187. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  19188. begin
  19189. if thebits = 0 then
  19190. pTDefRegMap(@Self)^.clr := $00000004
  19191. else
  19192. pTDefRegMap(@Self)^.&set := $00000004;
  19193. end;
  19194. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  19195. begin
  19196. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19197. end;
  19198. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  19199. begin
  19200. pTDefRegMap(@Self)^.&set := $00002000;
  19201. end;
  19202. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  19203. begin
  19204. pTDefRegMap(@Self)^.clr := $00002000;
  19205. end;
  19206. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  19207. begin
  19208. if thebits = 0 then
  19209. pTDefRegMap(@Self)^.clr := $00002000
  19210. else
  19211. pTDefRegMap(@Self)^.&set := $00002000;
  19212. end;
  19213. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  19214. begin
  19215. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19216. end;
  19217. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  19218. begin
  19219. pTDefRegMap(@Self)^.val := thebits;
  19220. end;
  19221. function TOCMP1_OC1CON.getw : TBits_32; inline;
  19222. begin
  19223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19224. end;
  19225. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  19226. begin
  19227. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19228. end;
  19229. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  19230. begin
  19231. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19232. end;
  19233. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  19234. begin
  19235. pTDefRegMap(@Self)^.&set := $00000008;
  19236. end;
  19237. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  19238. begin
  19239. pTDefRegMap(@Self)^.clr := $00000008;
  19240. end;
  19241. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  19242. begin
  19243. if thebits = 0 then
  19244. pTDefRegMap(@Self)^.clr := $00000008
  19245. else
  19246. pTDefRegMap(@Self)^.&set := $00000008;
  19247. end;
  19248. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  19249. begin
  19250. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19251. end;
  19252. procedure TOCMP2_OC2CON.setOCFLT; inline;
  19253. begin
  19254. pTDefRegMap(@Self)^.&set := $00000010;
  19255. end;
  19256. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  19257. begin
  19258. pTDefRegMap(@Self)^.clr := $00000010;
  19259. end;
  19260. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  19261. begin
  19262. if thebits = 0 then
  19263. pTDefRegMap(@Self)^.clr := $00000010
  19264. else
  19265. pTDefRegMap(@Self)^.&set := $00000010;
  19266. end;
  19267. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  19268. begin
  19269. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19270. end;
  19271. procedure TOCMP2_OC2CON.setOC32; inline;
  19272. begin
  19273. pTDefRegMap(@Self)^.&set := $00000020;
  19274. end;
  19275. procedure TOCMP2_OC2CON.clearOC32; inline;
  19276. begin
  19277. pTDefRegMap(@Self)^.clr := $00000020;
  19278. end;
  19279. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  19280. begin
  19281. if thebits = 0 then
  19282. pTDefRegMap(@Self)^.clr := $00000020
  19283. else
  19284. pTDefRegMap(@Self)^.&set := $00000020;
  19285. end;
  19286. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  19287. begin
  19288. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19289. end;
  19290. procedure TOCMP2_OC2CON.setSIDL; inline;
  19291. begin
  19292. pTDefRegMap(@Self)^.&set := $00002000;
  19293. end;
  19294. procedure TOCMP2_OC2CON.clearSIDL; inline;
  19295. begin
  19296. pTDefRegMap(@Self)^.clr := $00002000;
  19297. end;
  19298. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  19299. begin
  19300. if thebits = 0 then
  19301. pTDefRegMap(@Self)^.clr := $00002000
  19302. else
  19303. pTDefRegMap(@Self)^.&set := $00002000;
  19304. end;
  19305. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  19306. begin
  19307. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19308. end;
  19309. procedure TOCMP2_OC2CON.setON; inline;
  19310. begin
  19311. pTDefRegMap(@Self)^.&set := $00008000;
  19312. end;
  19313. procedure TOCMP2_OC2CON.clearON; inline;
  19314. begin
  19315. pTDefRegMap(@Self)^.clr := $00008000;
  19316. end;
  19317. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  19318. begin
  19319. if thebits = 0 then
  19320. pTDefRegMap(@Self)^.clr := $00008000
  19321. else
  19322. pTDefRegMap(@Self)^.&set := $00008000;
  19323. end;
  19324. function TOCMP2_OC2CON.getON : TBits_1; inline;
  19325. begin
  19326. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19327. end;
  19328. procedure TOCMP2_OC2CON.setOCM0; inline;
  19329. begin
  19330. pTDefRegMap(@Self)^.&set := $00000001;
  19331. end;
  19332. procedure TOCMP2_OC2CON.clearOCM0; inline;
  19333. begin
  19334. pTDefRegMap(@Self)^.clr := $00000001;
  19335. end;
  19336. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  19337. begin
  19338. if thebits = 0 then
  19339. pTDefRegMap(@Self)^.clr := $00000001
  19340. else
  19341. pTDefRegMap(@Self)^.&set := $00000001;
  19342. end;
  19343. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  19344. begin
  19345. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19346. end;
  19347. procedure TOCMP2_OC2CON.setOCM1; inline;
  19348. begin
  19349. pTDefRegMap(@Self)^.&set := $00000002;
  19350. end;
  19351. procedure TOCMP2_OC2CON.clearOCM1; inline;
  19352. begin
  19353. pTDefRegMap(@Self)^.clr := $00000002;
  19354. end;
  19355. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  19356. begin
  19357. if thebits = 0 then
  19358. pTDefRegMap(@Self)^.clr := $00000002
  19359. else
  19360. pTDefRegMap(@Self)^.&set := $00000002;
  19361. end;
  19362. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  19363. begin
  19364. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19365. end;
  19366. procedure TOCMP2_OC2CON.setOCM2; inline;
  19367. begin
  19368. pTDefRegMap(@Self)^.&set := $00000004;
  19369. end;
  19370. procedure TOCMP2_OC2CON.clearOCM2; inline;
  19371. begin
  19372. pTDefRegMap(@Self)^.clr := $00000004;
  19373. end;
  19374. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  19375. begin
  19376. if thebits = 0 then
  19377. pTDefRegMap(@Self)^.clr := $00000004
  19378. else
  19379. pTDefRegMap(@Self)^.&set := $00000004;
  19380. end;
  19381. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  19382. begin
  19383. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19384. end;
  19385. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  19386. begin
  19387. pTDefRegMap(@Self)^.&set := $00002000;
  19388. end;
  19389. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  19390. begin
  19391. pTDefRegMap(@Self)^.clr := $00002000;
  19392. end;
  19393. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  19394. begin
  19395. if thebits = 0 then
  19396. pTDefRegMap(@Self)^.clr := $00002000
  19397. else
  19398. pTDefRegMap(@Self)^.&set := $00002000;
  19399. end;
  19400. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  19401. begin
  19402. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19403. end;
  19404. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  19405. begin
  19406. pTDefRegMap(@Self)^.val := thebits;
  19407. end;
  19408. function TOCMP2_OC2CON.getw : TBits_32; inline;
  19409. begin
  19410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19411. end;
  19412. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  19413. begin
  19414. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19415. end;
  19416. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  19417. begin
  19418. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19419. end;
  19420. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  19421. begin
  19422. pTDefRegMap(@Self)^.&set := $00000008;
  19423. end;
  19424. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  19425. begin
  19426. pTDefRegMap(@Self)^.clr := $00000008;
  19427. end;
  19428. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  19429. begin
  19430. if thebits = 0 then
  19431. pTDefRegMap(@Self)^.clr := $00000008
  19432. else
  19433. pTDefRegMap(@Self)^.&set := $00000008;
  19434. end;
  19435. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  19436. begin
  19437. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19438. end;
  19439. procedure TOCMP3_OC3CON.setOCFLT; inline;
  19440. begin
  19441. pTDefRegMap(@Self)^.&set := $00000010;
  19442. end;
  19443. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  19444. begin
  19445. pTDefRegMap(@Self)^.clr := $00000010;
  19446. end;
  19447. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  19448. begin
  19449. if thebits = 0 then
  19450. pTDefRegMap(@Self)^.clr := $00000010
  19451. else
  19452. pTDefRegMap(@Self)^.&set := $00000010;
  19453. end;
  19454. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  19455. begin
  19456. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19457. end;
  19458. procedure TOCMP3_OC3CON.setOC32; inline;
  19459. begin
  19460. pTDefRegMap(@Self)^.&set := $00000020;
  19461. end;
  19462. procedure TOCMP3_OC3CON.clearOC32; inline;
  19463. begin
  19464. pTDefRegMap(@Self)^.clr := $00000020;
  19465. end;
  19466. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  19467. begin
  19468. if thebits = 0 then
  19469. pTDefRegMap(@Self)^.clr := $00000020
  19470. else
  19471. pTDefRegMap(@Self)^.&set := $00000020;
  19472. end;
  19473. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  19474. begin
  19475. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19476. end;
  19477. procedure TOCMP3_OC3CON.setSIDL; inline;
  19478. begin
  19479. pTDefRegMap(@Self)^.&set := $00002000;
  19480. end;
  19481. procedure TOCMP3_OC3CON.clearSIDL; inline;
  19482. begin
  19483. pTDefRegMap(@Self)^.clr := $00002000;
  19484. end;
  19485. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  19486. begin
  19487. if thebits = 0 then
  19488. pTDefRegMap(@Self)^.clr := $00002000
  19489. else
  19490. pTDefRegMap(@Self)^.&set := $00002000;
  19491. end;
  19492. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  19493. begin
  19494. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19495. end;
  19496. procedure TOCMP3_OC3CON.setON; inline;
  19497. begin
  19498. pTDefRegMap(@Self)^.&set := $00008000;
  19499. end;
  19500. procedure TOCMP3_OC3CON.clearON; inline;
  19501. begin
  19502. pTDefRegMap(@Self)^.clr := $00008000;
  19503. end;
  19504. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  19505. begin
  19506. if thebits = 0 then
  19507. pTDefRegMap(@Self)^.clr := $00008000
  19508. else
  19509. pTDefRegMap(@Self)^.&set := $00008000;
  19510. end;
  19511. function TOCMP3_OC3CON.getON : TBits_1; inline;
  19512. begin
  19513. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19514. end;
  19515. procedure TOCMP3_OC3CON.setOCM0; inline;
  19516. begin
  19517. pTDefRegMap(@Self)^.&set := $00000001;
  19518. end;
  19519. procedure TOCMP3_OC3CON.clearOCM0; inline;
  19520. begin
  19521. pTDefRegMap(@Self)^.clr := $00000001;
  19522. end;
  19523. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  19524. begin
  19525. if thebits = 0 then
  19526. pTDefRegMap(@Self)^.clr := $00000001
  19527. else
  19528. pTDefRegMap(@Self)^.&set := $00000001;
  19529. end;
  19530. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  19531. begin
  19532. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19533. end;
  19534. procedure TOCMP3_OC3CON.setOCM1; inline;
  19535. begin
  19536. pTDefRegMap(@Self)^.&set := $00000002;
  19537. end;
  19538. procedure TOCMP3_OC3CON.clearOCM1; inline;
  19539. begin
  19540. pTDefRegMap(@Self)^.clr := $00000002;
  19541. end;
  19542. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  19543. begin
  19544. if thebits = 0 then
  19545. pTDefRegMap(@Self)^.clr := $00000002
  19546. else
  19547. pTDefRegMap(@Self)^.&set := $00000002;
  19548. end;
  19549. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  19550. begin
  19551. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19552. end;
  19553. procedure TOCMP3_OC3CON.setOCM2; inline;
  19554. begin
  19555. pTDefRegMap(@Self)^.&set := $00000004;
  19556. end;
  19557. procedure TOCMP3_OC3CON.clearOCM2; inline;
  19558. begin
  19559. pTDefRegMap(@Self)^.clr := $00000004;
  19560. end;
  19561. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  19562. begin
  19563. if thebits = 0 then
  19564. pTDefRegMap(@Self)^.clr := $00000004
  19565. else
  19566. pTDefRegMap(@Self)^.&set := $00000004;
  19567. end;
  19568. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  19569. begin
  19570. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19571. end;
  19572. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  19573. begin
  19574. pTDefRegMap(@Self)^.&set := $00002000;
  19575. end;
  19576. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  19577. begin
  19578. pTDefRegMap(@Self)^.clr := $00002000;
  19579. end;
  19580. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  19581. begin
  19582. if thebits = 0 then
  19583. pTDefRegMap(@Self)^.clr := $00002000
  19584. else
  19585. pTDefRegMap(@Self)^.&set := $00002000;
  19586. end;
  19587. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  19588. begin
  19589. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19590. end;
  19591. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  19592. begin
  19593. pTDefRegMap(@Self)^.val := thebits;
  19594. end;
  19595. function TOCMP3_OC3CON.getw : TBits_32; inline;
  19596. begin
  19597. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19598. end;
  19599. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  19600. begin
  19601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19602. end;
  19603. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  19604. begin
  19605. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19606. end;
  19607. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  19608. begin
  19609. pTDefRegMap(@Self)^.&set := $00000008;
  19610. end;
  19611. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  19612. begin
  19613. pTDefRegMap(@Self)^.clr := $00000008;
  19614. end;
  19615. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  19616. begin
  19617. if thebits = 0 then
  19618. pTDefRegMap(@Self)^.clr := $00000008
  19619. else
  19620. pTDefRegMap(@Self)^.&set := $00000008;
  19621. end;
  19622. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  19623. begin
  19624. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19625. end;
  19626. procedure TOCMP4_OC4CON.setOCFLT; inline;
  19627. begin
  19628. pTDefRegMap(@Self)^.&set := $00000010;
  19629. end;
  19630. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  19631. begin
  19632. pTDefRegMap(@Self)^.clr := $00000010;
  19633. end;
  19634. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  19635. begin
  19636. if thebits = 0 then
  19637. pTDefRegMap(@Self)^.clr := $00000010
  19638. else
  19639. pTDefRegMap(@Self)^.&set := $00000010;
  19640. end;
  19641. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  19642. begin
  19643. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19644. end;
  19645. procedure TOCMP4_OC4CON.setOC32; inline;
  19646. begin
  19647. pTDefRegMap(@Self)^.&set := $00000020;
  19648. end;
  19649. procedure TOCMP4_OC4CON.clearOC32; inline;
  19650. begin
  19651. pTDefRegMap(@Self)^.clr := $00000020;
  19652. end;
  19653. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  19654. begin
  19655. if thebits = 0 then
  19656. pTDefRegMap(@Self)^.clr := $00000020
  19657. else
  19658. pTDefRegMap(@Self)^.&set := $00000020;
  19659. end;
  19660. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  19661. begin
  19662. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19663. end;
  19664. procedure TOCMP4_OC4CON.setSIDL; inline;
  19665. begin
  19666. pTDefRegMap(@Self)^.&set := $00002000;
  19667. end;
  19668. procedure TOCMP4_OC4CON.clearSIDL; inline;
  19669. begin
  19670. pTDefRegMap(@Self)^.clr := $00002000;
  19671. end;
  19672. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  19673. begin
  19674. if thebits = 0 then
  19675. pTDefRegMap(@Self)^.clr := $00002000
  19676. else
  19677. pTDefRegMap(@Self)^.&set := $00002000;
  19678. end;
  19679. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  19680. begin
  19681. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19682. end;
  19683. procedure TOCMP4_OC4CON.setON; inline;
  19684. begin
  19685. pTDefRegMap(@Self)^.&set := $00008000;
  19686. end;
  19687. procedure TOCMP4_OC4CON.clearON; inline;
  19688. begin
  19689. pTDefRegMap(@Self)^.clr := $00008000;
  19690. end;
  19691. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  19692. begin
  19693. if thebits = 0 then
  19694. pTDefRegMap(@Self)^.clr := $00008000
  19695. else
  19696. pTDefRegMap(@Self)^.&set := $00008000;
  19697. end;
  19698. function TOCMP4_OC4CON.getON : TBits_1; inline;
  19699. begin
  19700. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19701. end;
  19702. procedure TOCMP4_OC4CON.setOCM0; inline;
  19703. begin
  19704. pTDefRegMap(@Self)^.&set := $00000001;
  19705. end;
  19706. procedure TOCMP4_OC4CON.clearOCM0; inline;
  19707. begin
  19708. pTDefRegMap(@Self)^.clr := $00000001;
  19709. end;
  19710. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  19711. begin
  19712. if thebits = 0 then
  19713. pTDefRegMap(@Self)^.clr := $00000001
  19714. else
  19715. pTDefRegMap(@Self)^.&set := $00000001;
  19716. end;
  19717. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  19718. begin
  19719. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19720. end;
  19721. procedure TOCMP4_OC4CON.setOCM1; inline;
  19722. begin
  19723. pTDefRegMap(@Self)^.&set := $00000002;
  19724. end;
  19725. procedure TOCMP4_OC4CON.clearOCM1; inline;
  19726. begin
  19727. pTDefRegMap(@Self)^.clr := $00000002;
  19728. end;
  19729. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  19730. begin
  19731. if thebits = 0 then
  19732. pTDefRegMap(@Self)^.clr := $00000002
  19733. else
  19734. pTDefRegMap(@Self)^.&set := $00000002;
  19735. end;
  19736. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  19737. begin
  19738. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19739. end;
  19740. procedure TOCMP4_OC4CON.setOCM2; inline;
  19741. begin
  19742. pTDefRegMap(@Self)^.&set := $00000004;
  19743. end;
  19744. procedure TOCMP4_OC4CON.clearOCM2; inline;
  19745. begin
  19746. pTDefRegMap(@Self)^.clr := $00000004;
  19747. end;
  19748. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  19749. begin
  19750. if thebits = 0 then
  19751. pTDefRegMap(@Self)^.clr := $00000004
  19752. else
  19753. pTDefRegMap(@Self)^.&set := $00000004;
  19754. end;
  19755. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  19756. begin
  19757. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19758. end;
  19759. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  19760. begin
  19761. pTDefRegMap(@Self)^.&set := $00002000;
  19762. end;
  19763. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  19764. begin
  19765. pTDefRegMap(@Self)^.clr := $00002000;
  19766. end;
  19767. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  19768. begin
  19769. if thebits = 0 then
  19770. pTDefRegMap(@Self)^.clr := $00002000
  19771. else
  19772. pTDefRegMap(@Self)^.&set := $00002000;
  19773. end;
  19774. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  19775. begin
  19776. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19777. end;
  19778. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  19779. begin
  19780. pTDefRegMap(@Self)^.val := thebits;
  19781. end;
  19782. function TOCMP4_OC4CON.getw : TBits_32; inline;
  19783. begin
  19784. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19785. end;
  19786. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  19787. begin
  19788. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19789. end;
  19790. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  19791. begin
  19792. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19793. end;
  19794. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  19795. begin
  19796. pTDefRegMap(@Self)^.&set := $00000008;
  19797. end;
  19798. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  19799. begin
  19800. pTDefRegMap(@Self)^.clr := $00000008;
  19801. end;
  19802. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  19803. begin
  19804. if thebits = 0 then
  19805. pTDefRegMap(@Self)^.clr := $00000008
  19806. else
  19807. pTDefRegMap(@Self)^.&set := $00000008;
  19808. end;
  19809. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  19810. begin
  19811. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19812. end;
  19813. procedure TOCMP5_OC5CON.setOCFLT; inline;
  19814. begin
  19815. pTDefRegMap(@Self)^.&set := $00000010;
  19816. end;
  19817. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  19818. begin
  19819. pTDefRegMap(@Self)^.clr := $00000010;
  19820. end;
  19821. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  19822. begin
  19823. if thebits = 0 then
  19824. pTDefRegMap(@Self)^.clr := $00000010
  19825. else
  19826. pTDefRegMap(@Self)^.&set := $00000010;
  19827. end;
  19828. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  19829. begin
  19830. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19831. end;
  19832. procedure TOCMP5_OC5CON.setOC32; inline;
  19833. begin
  19834. pTDefRegMap(@Self)^.&set := $00000020;
  19835. end;
  19836. procedure TOCMP5_OC5CON.clearOC32; inline;
  19837. begin
  19838. pTDefRegMap(@Self)^.clr := $00000020;
  19839. end;
  19840. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  19841. begin
  19842. if thebits = 0 then
  19843. pTDefRegMap(@Self)^.clr := $00000020
  19844. else
  19845. pTDefRegMap(@Self)^.&set := $00000020;
  19846. end;
  19847. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  19848. begin
  19849. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19850. end;
  19851. procedure TOCMP5_OC5CON.setSIDL; inline;
  19852. begin
  19853. pTDefRegMap(@Self)^.&set := $00002000;
  19854. end;
  19855. procedure TOCMP5_OC5CON.clearSIDL; inline;
  19856. begin
  19857. pTDefRegMap(@Self)^.clr := $00002000;
  19858. end;
  19859. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  19860. begin
  19861. if thebits = 0 then
  19862. pTDefRegMap(@Self)^.clr := $00002000
  19863. else
  19864. pTDefRegMap(@Self)^.&set := $00002000;
  19865. end;
  19866. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  19867. begin
  19868. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19869. end;
  19870. procedure TOCMP5_OC5CON.setON; inline;
  19871. begin
  19872. pTDefRegMap(@Self)^.&set := $00008000;
  19873. end;
  19874. procedure TOCMP5_OC5CON.clearON; inline;
  19875. begin
  19876. pTDefRegMap(@Self)^.clr := $00008000;
  19877. end;
  19878. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  19879. begin
  19880. if thebits = 0 then
  19881. pTDefRegMap(@Self)^.clr := $00008000
  19882. else
  19883. pTDefRegMap(@Self)^.&set := $00008000;
  19884. end;
  19885. function TOCMP5_OC5CON.getON : TBits_1; inline;
  19886. begin
  19887. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19888. end;
  19889. procedure TOCMP5_OC5CON.setOCM0; inline;
  19890. begin
  19891. pTDefRegMap(@Self)^.&set := $00000001;
  19892. end;
  19893. procedure TOCMP5_OC5CON.clearOCM0; inline;
  19894. begin
  19895. pTDefRegMap(@Self)^.clr := $00000001;
  19896. end;
  19897. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  19898. begin
  19899. if thebits = 0 then
  19900. pTDefRegMap(@Self)^.clr := $00000001
  19901. else
  19902. pTDefRegMap(@Self)^.&set := $00000001;
  19903. end;
  19904. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  19905. begin
  19906. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19907. end;
  19908. procedure TOCMP5_OC5CON.setOCM1; inline;
  19909. begin
  19910. pTDefRegMap(@Self)^.&set := $00000002;
  19911. end;
  19912. procedure TOCMP5_OC5CON.clearOCM1; inline;
  19913. begin
  19914. pTDefRegMap(@Self)^.clr := $00000002;
  19915. end;
  19916. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  19917. begin
  19918. if thebits = 0 then
  19919. pTDefRegMap(@Self)^.clr := $00000002
  19920. else
  19921. pTDefRegMap(@Self)^.&set := $00000002;
  19922. end;
  19923. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  19924. begin
  19925. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19926. end;
  19927. procedure TOCMP5_OC5CON.setOCM2; inline;
  19928. begin
  19929. pTDefRegMap(@Self)^.&set := $00000004;
  19930. end;
  19931. procedure TOCMP5_OC5CON.clearOCM2; inline;
  19932. begin
  19933. pTDefRegMap(@Self)^.clr := $00000004;
  19934. end;
  19935. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  19936. begin
  19937. if thebits = 0 then
  19938. pTDefRegMap(@Self)^.clr := $00000004
  19939. else
  19940. pTDefRegMap(@Self)^.&set := $00000004;
  19941. end;
  19942. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  19943. begin
  19944. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19945. end;
  19946. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  19947. begin
  19948. pTDefRegMap(@Self)^.&set := $00002000;
  19949. end;
  19950. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  19951. begin
  19952. pTDefRegMap(@Self)^.clr := $00002000;
  19953. end;
  19954. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  19955. begin
  19956. if thebits = 0 then
  19957. pTDefRegMap(@Self)^.clr := $00002000
  19958. else
  19959. pTDefRegMap(@Self)^.&set := $00002000;
  19960. end;
  19961. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  19962. begin
  19963. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19964. end;
  19965. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  19966. begin
  19967. pTDefRegMap(@Self)^.val := thebits;
  19968. end;
  19969. function TOCMP5_OC5CON.getw : TBits_32; inline;
  19970. begin
  19971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19972. end;
  19973. procedure TI2C3_I2C1ACON.setSEN; inline;
  19974. begin
  19975. pTDefRegMap(@Self)^.&set := $00000001;
  19976. end;
  19977. procedure TI2C3_I2C1ACON.clearSEN; inline;
  19978. begin
  19979. pTDefRegMap(@Self)^.clr := $00000001;
  19980. end;
  19981. procedure TI2C3_I2C1ACON.setSEN(thebits : TBits_1); inline;
  19982. begin
  19983. if thebits = 0 then
  19984. pTDefRegMap(@Self)^.clr := $00000001
  19985. else
  19986. pTDefRegMap(@Self)^.&set := $00000001;
  19987. end;
  19988. function TI2C3_I2C1ACON.getSEN : TBits_1; inline;
  19989. begin
  19990. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19991. end;
  19992. procedure TI2C3_I2C1ACON.setRSEN; inline;
  19993. begin
  19994. pTDefRegMap(@Self)^.&set := $00000002;
  19995. end;
  19996. procedure TI2C3_I2C1ACON.clearRSEN; inline;
  19997. begin
  19998. pTDefRegMap(@Self)^.clr := $00000002;
  19999. end;
  20000. procedure TI2C3_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  20001. begin
  20002. if thebits = 0 then
  20003. pTDefRegMap(@Self)^.clr := $00000002
  20004. else
  20005. pTDefRegMap(@Self)^.&set := $00000002;
  20006. end;
  20007. function TI2C3_I2C1ACON.getRSEN : TBits_1; inline;
  20008. begin
  20009. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20010. end;
  20011. procedure TI2C3_I2C1ACON.setPEN; inline;
  20012. begin
  20013. pTDefRegMap(@Self)^.&set := $00000004;
  20014. end;
  20015. procedure TI2C3_I2C1ACON.clearPEN; inline;
  20016. begin
  20017. pTDefRegMap(@Self)^.clr := $00000004;
  20018. end;
  20019. procedure TI2C3_I2C1ACON.setPEN(thebits : TBits_1); inline;
  20020. begin
  20021. if thebits = 0 then
  20022. pTDefRegMap(@Self)^.clr := $00000004
  20023. else
  20024. pTDefRegMap(@Self)^.&set := $00000004;
  20025. end;
  20026. function TI2C3_I2C1ACON.getPEN : TBits_1; inline;
  20027. begin
  20028. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20029. end;
  20030. procedure TI2C3_I2C1ACON.setRCEN; inline;
  20031. begin
  20032. pTDefRegMap(@Self)^.&set := $00000008;
  20033. end;
  20034. procedure TI2C3_I2C1ACON.clearRCEN; inline;
  20035. begin
  20036. pTDefRegMap(@Self)^.clr := $00000008;
  20037. end;
  20038. procedure TI2C3_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  20039. begin
  20040. if thebits = 0 then
  20041. pTDefRegMap(@Self)^.clr := $00000008
  20042. else
  20043. pTDefRegMap(@Self)^.&set := $00000008;
  20044. end;
  20045. function TI2C3_I2C1ACON.getRCEN : TBits_1; inline;
  20046. begin
  20047. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20048. end;
  20049. procedure TI2C3_I2C1ACON.setACKEN; inline;
  20050. begin
  20051. pTDefRegMap(@Self)^.&set := $00000010;
  20052. end;
  20053. procedure TI2C3_I2C1ACON.clearACKEN; inline;
  20054. begin
  20055. pTDefRegMap(@Self)^.clr := $00000010;
  20056. end;
  20057. procedure TI2C3_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  20058. begin
  20059. if thebits = 0 then
  20060. pTDefRegMap(@Self)^.clr := $00000010
  20061. else
  20062. pTDefRegMap(@Self)^.&set := $00000010;
  20063. end;
  20064. function TI2C3_I2C1ACON.getACKEN : TBits_1; inline;
  20065. begin
  20066. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20067. end;
  20068. procedure TI2C3_I2C1ACON.setACKDT; inline;
  20069. begin
  20070. pTDefRegMap(@Self)^.&set := $00000020;
  20071. end;
  20072. procedure TI2C3_I2C1ACON.clearACKDT; inline;
  20073. begin
  20074. pTDefRegMap(@Self)^.clr := $00000020;
  20075. end;
  20076. procedure TI2C3_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  20077. begin
  20078. if thebits = 0 then
  20079. pTDefRegMap(@Self)^.clr := $00000020
  20080. else
  20081. pTDefRegMap(@Self)^.&set := $00000020;
  20082. end;
  20083. function TI2C3_I2C1ACON.getACKDT : TBits_1; inline;
  20084. begin
  20085. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20086. end;
  20087. procedure TI2C3_I2C1ACON.setSTREN; inline;
  20088. begin
  20089. pTDefRegMap(@Self)^.&set := $00000040;
  20090. end;
  20091. procedure TI2C3_I2C1ACON.clearSTREN; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.clr := $00000040;
  20094. end;
  20095. procedure TI2C3_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  20096. begin
  20097. if thebits = 0 then
  20098. pTDefRegMap(@Self)^.clr := $00000040
  20099. else
  20100. pTDefRegMap(@Self)^.&set := $00000040;
  20101. end;
  20102. function TI2C3_I2C1ACON.getSTREN : TBits_1; inline;
  20103. begin
  20104. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20105. end;
  20106. procedure TI2C3_I2C1ACON.setGCEN; inline;
  20107. begin
  20108. pTDefRegMap(@Self)^.&set := $00000080;
  20109. end;
  20110. procedure TI2C3_I2C1ACON.clearGCEN; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.clr := $00000080;
  20113. end;
  20114. procedure TI2C3_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  20115. begin
  20116. if thebits = 0 then
  20117. pTDefRegMap(@Self)^.clr := $00000080
  20118. else
  20119. pTDefRegMap(@Self)^.&set := $00000080;
  20120. end;
  20121. function TI2C3_I2C1ACON.getGCEN : TBits_1; inline;
  20122. begin
  20123. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20124. end;
  20125. procedure TI2C3_I2C1ACON.setSMEN; inline;
  20126. begin
  20127. pTDefRegMap(@Self)^.&set := $00000100;
  20128. end;
  20129. procedure TI2C3_I2C1ACON.clearSMEN; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.clr := $00000100;
  20132. end;
  20133. procedure TI2C3_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  20134. begin
  20135. if thebits = 0 then
  20136. pTDefRegMap(@Self)^.clr := $00000100
  20137. else
  20138. pTDefRegMap(@Self)^.&set := $00000100;
  20139. end;
  20140. function TI2C3_I2C1ACON.getSMEN : TBits_1; inline;
  20141. begin
  20142. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20143. end;
  20144. procedure TI2C3_I2C1ACON.setDISSLW; inline;
  20145. begin
  20146. pTDefRegMap(@Self)^.&set := $00000200;
  20147. end;
  20148. procedure TI2C3_I2C1ACON.clearDISSLW; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.clr := $00000200;
  20151. end;
  20152. procedure TI2C3_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  20153. begin
  20154. if thebits = 0 then
  20155. pTDefRegMap(@Self)^.clr := $00000200
  20156. else
  20157. pTDefRegMap(@Self)^.&set := $00000200;
  20158. end;
  20159. function TI2C3_I2C1ACON.getDISSLW : TBits_1; inline;
  20160. begin
  20161. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20162. end;
  20163. procedure TI2C3_I2C1ACON.setA10M; inline;
  20164. begin
  20165. pTDefRegMap(@Self)^.&set := $00000400;
  20166. end;
  20167. procedure TI2C3_I2C1ACON.clearA10M; inline;
  20168. begin
  20169. pTDefRegMap(@Self)^.clr := $00000400;
  20170. end;
  20171. procedure TI2C3_I2C1ACON.setA10M(thebits : TBits_1); inline;
  20172. begin
  20173. if thebits = 0 then
  20174. pTDefRegMap(@Self)^.clr := $00000400
  20175. else
  20176. pTDefRegMap(@Self)^.&set := $00000400;
  20177. end;
  20178. function TI2C3_I2C1ACON.getA10M : TBits_1; inline;
  20179. begin
  20180. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20181. end;
  20182. procedure TI2C3_I2C1ACON.setSTRICT; inline;
  20183. begin
  20184. pTDefRegMap(@Self)^.&set := $00000800;
  20185. end;
  20186. procedure TI2C3_I2C1ACON.clearSTRICT; inline;
  20187. begin
  20188. pTDefRegMap(@Self)^.clr := $00000800;
  20189. end;
  20190. procedure TI2C3_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  20191. begin
  20192. if thebits = 0 then
  20193. pTDefRegMap(@Self)^.clr := $00000800
  20194. else
  20195. pTDefRegMap(@Self)^.&set := $00000800;
  20196. end;
  20197. function TI2C3_I2C1ACON.getSTRICT : TBits_1; inline;
  20198. begin
  20199. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20200. end;
  20201. procedure TI2C3_I2C1ACON.setSCLREL; inline;
  20202. begin
  20203. pTDefRegMap(@Self)^.&set := $00001000;
  20204. end;
  20205. procedure TI2C3_I2C1ACON.clearSCLREL; inline;
  20206. begin
  20207. pTDefRegMap(@Self)^.clr := $00001000;
  20208. end;
  20209. procedure TI2C3_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  20210. begin
  20211. if thebits = 0 then
  20212. pTDefRegMap(@Self)^.clr := $00001000
  20213. else
  20214. pTDefRegMap(@Self)^.&set := $00001000;
  20215. end;
  20216. function TI2C3_I2C1ACON.getSCLREL : TBits_1; inline;
  20217. begin
  20218. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20219. end;
  20220. procedure TI2C3_I2C1ACON.setSIDL; inline;
  20221. begin
  20222. pTDefRegMap(@Self)^.&set := $00002000;
  20223. end;
  20224. procedure TI2C3_I2C1ACON.clearSIDL; inline;
  20225. begin
  20226. pTDefRegMap(@Self)^.clr := $00002000;
  20227. end;
  20228. procedure TI2C3_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  20229. begin
  20230. if thebits = 0 then
  20231. pTDefRegMap(@Self)^.clr := $00002000
  20232. else
  20233. pTDefRegMap(@Self)^.&set := $00002000;
  20234. end;
  20235. function TI2C3_I2C1ACON.getSIDL : TBits_1; inline;
  20236. begin
  20237. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20238. end;
  20239. procedure TI2C3_I2C1ACON.setON; inline;
  20240. begin
  20241. pTDefRegMap(@Self)^.&set := $00008000;
  20242. end;
  20243. procedure TI2C3_I2C1ACON.clearON; inline;
  20244. begin
  20245. pTDefRegMap(@Self)^.clr := $00008000;
  20246. end;
  20247. procedure TI2C3_I2C1ACON.setON(thebits : TBits_1); inline;
  20248. begin
  20249. if thebits = 0 then
  20250. pTDefRegMap(@Self)^.clr := $00008000
  20251. else
  20252. pTDefRegMap(@Self)^.&set := $00008000;
  20253. end;
  20254. function TI2C3_I2C1ACON.getON : TBits_1; inline;
  20255. begin
  20256. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20257. end;
  20258. procedure TI2C3_I2C1ACON.setIPMIEN; inline;
  20259. begin
  20260. pTDefRegMap(@Self)^.&set := $00000800;
  20261. end;
  20262. procedure TI2C3_I2C1ACON.clearIPMIEN; inline;
  20263. begin
  20264. pTDefRegMap(@Self)^.clr := $00000800;
  20265. end;
  20266. procedure TI2C3_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  20267. begin
  20268. if thebits = 0 then
  20269. pTDefRegMap(@Self)^.clr := $00000800
  20270. else
  20271. pTDefRegMap(@Self)^.&set := $00000800;
  20272. end;
  20273. function TI2C3_I2C1ACON.getIPMIEN : TBits_1; inline;
  20274. begin
  20275. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20276. end;
  20277. procedure TI2C3_I2C1ACON.setI2CSIDL; inline;
  20278. begin
  20279. pTDefRegMap(@Self)^.&set := $00002000;
  20280. end;
  20281. procedure TI2C3_I2C1ACON.clearI2CSIDL; inline;
  20282. begin
  20283. pTDefRegMap(@Self)^.clr := $00002000;
  20284. end;
  20285. procedure TI2C3_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  20286. begin
  20287. if thebits = 0 then
  20288. pTDefRegMap(@Self)^.clr := $00002000
  20289. else
  20290. pTDefRegMap(@Self)^.&set := $00002000;
  20291. end;
  20292. function TI2C3_I2C1ACON.getI2CSIDL : TBits_1; inline;
  20293. begin
  20294. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20295. end;
  20296. procedure TI2C3_I2C1ACON.setI2CEN; inline;
  20297. begin
  20298. pTDefRegMap(@Self)^.&set := $00008000;
  20299. end;
  20300. procedure TI2C3_I2C1ACON.clearI2CEN; inline;
  20301. begin
  20302. pTDefRegMap(@Self)^.clr := $00008000;
  20303. end;
  20304. procedure TI2C3_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  20305. begin
  20306. if thebits = 0 then
  20307. pTDefRegMap(@Self)^.clr := $00008000
  20308. else
  20309. pTDefRegMap(@Self)^.&set := $00008000;
  20310. end;
  20311. function TI2C3_I2C1ACON.getI2CEN : TBits_1; inline;
  20312. begin
  20313. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20314. end;
  20315. procedure TI2C3_I2C1ACON.setw(thebits : TBits_32); inline;
  20316. begin
  20317. pTDefRegMap(@Self)^.val := thebits;
  20318. end;
  20319. function TI2C3_I2C1ACON.getw : TBits_32; inline;
  20320. begin
  20321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20322. end;
  20323. procedure TI2C3_I2C3CON.setSEN; inline;
  20324. begin
  20325. pTDefRegMap(@Self)^.&set := $00000001;
  20326. end;
  20327. procedure TI2C3_I2C3CON.clearSEN; inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.clr := $00000001;
  20330. end;
  20331. procedure TI2C3_I2C3CON.setSEN(thebits : TBits_1); inline;
  20332. begin
  20333. if thebits = 0 then
  20334. pTDefRegMap(@Self)^.clr := $00000001
  20335. else
  20336. pTDefRegMap(@Self)^.&set := $00000001;
  20337. end;
  20338. function TI2C3_I2C3CON.getSEN : TBits_1; inline;
  20339. begin
  20340. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20341. end;
  20342. procedure TI2C3_I2C3CON.setRSEN; inline;
  20343. begin
  20344. pTDefRegMap(@Self)^.&set := $00000002;
  20345. end;
  20346. procedure TI2C3_I2C3CON.clearRSEN; inline;
  20347. begin
  20348. pTDefRegMap(@Self)^.clr := $00000002;
  20349. end;
  20350. procedure TI2C3_I2C3CON.setRSEN(thebits : TBits_1); inline;
  20351. begin
  20352. if thebits = 0 then
  20353. pTDefRegMap(@Self)^.clr := $00000002
  20354. else
  20355. pTDefRegMap(@Self)^.&set := $00000002;
  20356. end;
  20357. function TI2C3_I2C3CON.getRSEN : TBits_1; inline;
  20358. begin
  20359. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20360. end;
  20361. procedure TI2C3_I2C3CON.setPEN; inline;
  20362. begin
  20363. pTDefRegMap(@Self)^.&set := $00000004;
  20364. end;
  20365. procedure TI2C3_I2C3CON.clearPEN; inline;
  20366. begin
  20367. pTDefRegMap(@Self)^.clr := $00000004;
  20368. end;
  20369. procedure TI2C3_I2C3CON.setPEN(thebits : TBits_1); inline;
  20370. begin
  20371. if thebits = 0 then
  20372. pTDefRegMap(@Self)^.clr := $00000004
  20373. else
  20374. pTDefRegMap(@Self)^.&set := $00000004;
  20375. end;
  20376. function TI2C3_I2C3CON.getPEN : TBits_1; inline;
  20377. begin
  20378. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20379. end;
  20380. procedure TI2C3_I2C3CON.setRCEN; inline;
  20381. begin
  20382. pTDefRegMap(@Self)^.&set := $00000008;
  20383. end;
  20384. procedure TI2C3_I2C3CON.clearRCEN; inline;
  20385. begin
  20386. pTDefRegMap(@Self)^.clr := $00000008;
  20387. end;
  20388. procedure TI2C3_I2C3CON.setRCEN(thebits : TBits_1); inline;
  20389. begin
  20390. if thebits = 0 then
  20391. pTDefRegMap(@Self)^.clr := $00000008
  20392. else
  20393. pTDefRegMap(@Self)^.&set := $00000008;
  20394. end;
  20395. function TI2C3_I2C3CON.getRCEN : TBits_1; inline;
  20396. begin
  20397. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20398. end;
  20399. procedure TI2C3_I2C3CON.setACKEN; inline;
  20400. begin
  20401. pTDefRegMap(@Self)^.&set := $00000010;
  20402. end;
  20403. procedure TI2C3_I2C3CON.clearACKEN; inline;
  20404. begin
  20405. pTDefRegMap(@Self)^.clr := $00000010;
  20406. end;
  20407. procedure TI2C3_I2C3CON.setACKEN(thebits : TBits_1); inline;
  20408. begin
  20409. if thebits = 0 then
  20410. pTDefRegMap(@Self)^.clr := $00000010
  20411. else
  20412. pTDefRegMap(@Self)^.&set := $00000010;
  20413. end;
  20414. function TI2C3_I2C3CON.getACKEN : TBits_1; inline;
  20415. begin
  20416. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20417. end;
  20418. procedure TI2C3_I2C3CON.setACKDT; inline;
  20419. begin
  20420. pTDefRegMap(@Self)^.&set := $00000020;
  20421. end;
  20422. procedure TI2C3_I2C3CON.clearACKDT; inline;
  20423. begin
  20424. pTDefRegMap(@Self)^.clr := $00000020;
  20425. end;
  20426. procedure TI2C3_I2C3CON.setACKDT(thebits : TBits_1); inline;
  20427. begin
  20428. if thebits = 0 then
  20429. pTDefRegMap(@Self)^.clr := $00000020
  20430. else
  20431. pTDefRegMap(@Self)^.&set := $00000020;
  20432. end;
  20433. function TI2C3_I2C3CON.getACKDT : TBits_1; inline;
  20434. begin
  20435. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20436. end;
  20437. procedure TI2C3_I2C3CON.setSTREN; inline;
  20438. begin
  20439. pTDefRegMap(@Self)^.&set := $00000040;
  20440. end;
  20441. procedure TI2C3_I2C3CON.clearSTREN; inline;
  20442. begin
  20443. pTDefRegMap(@Self)^.clr := $00000040;
  20444. end;
  20445. procedure TI2C3_I2C3CON.setSTREN(thebits : TBits_1); inline;
  20446. begin
  20447. if thebits = 0 then
  20448. pTDefRegMap(@Self)^.clr := $00000040
  20449. else
  20450. pTDefRegMap(@Self)^.&set := $00000040;
  20451. end;
  20452. function TI2C3_I2C3CON.getSTREN : TBits_1; inline;
  20453. begin
  20454. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20455. end;
  20456. procedure TI2C3_I2C3CON.setGCEN; inline;
  20457. begin
  20458. pTDefRegMap(@Self)^.&set := $00000080;
  20459. end;
  20460. procedure TI2C3_I2C3CON.clearGCEN; inline;
  20461. begin
  20462. pTDefRegMap(@Self)^.clr := $00000080;
  20463. end;
  20464. procedure TI2C3_I2C3CON.setGCEN(thebits : TBits_1); inline;
  20465. begin
  20466. if thebits = 0 then
  20467. pTDefRegMap(@Self)^.clr := $00000080
  20468. else
  20469. pTDefRegMap(@Self)^.&set := $00000080;
  20470. end;
  20471. function TI2C3_I2C3CON.getGCEN : TBits_1; inline;
  20472. begin
  20473. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20474. end;
  20475. procedure TI2C3_I2C3CON.setSMEN; inline;
  20476. begin
  20477. pTDefRegMap(@Self)^.&set := $00000100;
  20478. end;
  20479. procedure TI2C3_I2C3CON.clearSMEN; inline;
  20480. begin
  20481. pTDefRegMap(@Self)^.clr := $00000100;
  20482. end;
  20483. procedure TI2C3_I2C3CON.setSMEN(thebits : TBits_1); inline;
  20484. begin
  20485. if thebits = 0 then
  20486. pTDefRegMap(@Self)^.clr := $00000100
  20487. else
  20488. pTDefRegMap(@Self)^.&set := $00000100;
  20489. end;
  20490. function TI2C3_I2C3CON.getSMEN : TBits_1; inline;
  20491. begin
  20492. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20493. end;
  20494. procedure TI2C3_I2C3CON.setDISSLW; inline;
  20495. begin
  20496. pTDefRegMap(@Self)^.&set := $00000200;
  20497. end;
  20498. procedure TI2C3_I2C3CON.clearDISSLW; inline;
  20499. begin
  20500. pTDefRegMap(@Self)^.clr := $00000200;
  20501. end;
  20502. procedure TI2C3_I2C3CON.setDISSLW(thebits : TBits_1); inline;
  20503. begin
  20504. if thebits = 0 then
  20505. pTDefRegMap(@Self)^.clr := $00000200
  20506. else
  20507. pTDefRegMap(@Self)^.&set := $00000200;
  20508. end;
  20509. function TI2C3_I2C3CON.getDISSLW : TBits_1; inline;
  20510. begin
  20511. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20512. end;
  20513. procedure TI2C3_I2C3CON.setA10M; inline;
  20514. begin
  20515. pTDefRegMap(@Self)^.&set := $00000400;
  20516. end;
  20517. procedure TI2C3_I2C3CON.clearA10M; inline;
  20518. begin
  20519. pTDefRegMap(@Self)^.clr := $00000400;
  20520. end;
  20521. procedure TI2C3_I2C3CON.setA10M(thebits : TBits_1); inline;
  20522. begin
  20523. if thebits = 0 then
  20524. pTDefRegMap(@Self)^.clr := $00000400
  20525. else
  20526. pTDefRegMap(@Self)^.&set := $00000400;
  20527. end;
  20528. function TI2C3_I2C3CON.getA10M : TBits_1; inline;
  20529. begin
  20530. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20531. end;
  20532. procedure TI2C3_I2C3CON.setSTRICT; inline;
  20533. begin
  20534. pTDefRegMap(@Self)^.&set := $00000800;
  20535. end;
  20536. procedure TI2C3_I2C3CON.clearSTRICT; inline;
  20537. begin
  20538. pTDefRegMap(@Self)^.clr := $00000800;
  20539. end;
  20540. procedure TI2C3_I2C3CON.setSTRICT(thebits : TBits_1); inline;
  20541. begin
  20542. if thebits = 0 then
  20543. pTDefRegMap(@Self)^.clr := $00000800
  20544. else
  20545. pTDefRegMap(@Self)^.&set := $00000800;
  20546. end;
  20547. function TI2C3_I2C3CON.getSTRICT : TBits_1; inline;
  20548. begin
  20549. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20550. end;
  20551. procedure TI2C3_I2C3CON.setSCLREL; inline;
  20552. begin
  20553. pTDefRegMap(@Self)^.&set := $00001000;
  20554. end;
  20555. procedure TI2C3_I2C3CON.clearSCLREL; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.clr := $00001000;
  20558. end;
  20559. procedure TI2C3_I2C3CON.setSCLREL(thebits : TBits_1); inline;
  20560. begin
  20561. if thebits = 0 then
  20562. pTDefRegMap(@Self)^.clr := $00001000
  20563. else
  20564. pTDefRegMap(@Self)^.&set := $00001000;
  20565. end;
  20566. function TI2C3_I2C3CON.getSCLREL : TBits_1; inline;
  20567. begin
  20568. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20569. end;
  20570. procedure TI2C3_I2C3CON.setSIDL; inline;
  20571. begin
  20572. pTDefRegMap(@Self)^.&set := $00002000;
  20573. end;
  20574. procedure TI2C3_I2C3CON.clearSIDL; inline;
  20575. begin
  20576. pTDefRegMap(@Self)^.clr := $00002000;
  20577. end;
  20578. procedure TI2C3_I2C3CON.setSIDL(thebits : TBits_1); inline;
  20579. begin
  20580. if thebits = 0 then
  20581. pTDefRegMap(@Self)^.clr := $00002000
  20582. else
  20583. pTDefRegMap(@Self)^.&set := $00002000;
  20584. end;
  20585. function TI2C3_I2C3CON.getSIDL : TBits_1; inline;
  20586. begin
  20587. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20588. end;
  20589. procedure TI2C3_I2C3CON.setON; inline;
  20590. begin
  20591. pTDefRegMap(@Self)^.&set := $00008000;
  20592. end;
  20593. procedure TI2C3_I2C3CON.clearON; inline;
  20594. begin
  20595. pTDefRegMap(@Self)^.clr := $00008000;
  20596. end;
  20597. procedure TI2C3_I2C3CON.setON(thebits : TBits_1); inline;
  20598. begin
  20599. if thebits = 0 then
  20600. pTDefRegMap(@Self)^.clr := $00008000
  20601. else
  20602. pTDefRegMap(@Self)^.&set := $00008000;
  20603. end;
  20604. function TI2C3_I2C3CON.getON : TBits_1; inline;
  20605. begin
  20606. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20607. end;
  20608. procedure TI2C3_I2C3CON.setIPMIEN; inline;
  20609. begin
  20610. pTDefRegMap(@Self)^.&set := $00000800;
  20611. end;
  20612. procedure TI2C3_I2C3CON.clearIPMIEN; inline;
  20613. begin
  20614. pTDefRegMap(@Self)^.clr := $00000800;
  20615. end;
  20616. procedure TI2C3_I2C3CON.setIPMIEN(thebits : TBits_1); inline;
  20617. begin
  20618. if thebits = 0 then
  20619. pTDefRegMap(@Self)^.clr := $00000800
  20620. else
  20621. pTDefRegMap(@Self)^.&set := $00000800;
  20622. end;
  20623. function TI2C3_I2C3CON.getIPMIEN : TBits_1; inline;
  20624. begin
  20625. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20626. end;
  20627. procedure TI2C3_I2C3CON.setI2CSIDL; inline;
  20628. begin
  20629. pTDefRegMap(@Self)^.&set := $00002000;
  20630. end;
  20631. procedure TI2C3_I2C3CON.clearI2CSIDL; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.clr := $00002000;
  20634. end;
  20635. procedure TI2C3_I2C3CON.setI2CSIDL(thebits : TBits_1); inline;
  20636. begin
  20637. if thebits = 0 then
  20638. pTDefRegMap(@Self)^.clr := $00002000
  20639. else
  20640. pTDefRegMap(@Self)^.&set := $00002000;
  20641. end;
  20642. function TI2C3_I2C3CON.getI2CSIDL : TBits_1; inline;
  20643. begin
  20644. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20645. end;
  20646. procedure TI2C3_I2C3CON.setI2CEN; inline;
  20647. begin
  20648. pTDefRegMap(@Self)^.&set := $00008000;
  20649. end;
  20650. procedure TI2C3_I2C3CON.clearI2CEN; inline;
  20651. begin
  20652. pTDefRegMap(@Self)^.clr := $00008000;
  20653. end;
  20654. procedure TI2C3_I2C3CON.setI2CEN(thebits : TBits_1); inline;
  20655. begin
  20656. if thebits = 0 then
  20657. pTDefRegMap(@Self)^.clr := $00008000
  20658. else
  20659. pTDefRegMap(@Self)^.&set := $00008000;
  20660. end;
  20661. function TI2C3_I2C3CON.getI2CEN : TBits_1; inline;
  20662. begin
  20663. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20664. end;
  20665. procedure TI2C3_I2C3CON.setw(thebits : TBits_32); inline;
  20666. begin
  20667. pTDefRegMap(@Self)^.val := thebits;
  20668. end;
  20669. function TI2C3_I2C3CON.getw : TBits_32; inline;
  20670. begin
  20671. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20672. end;
  20673. procedure TI2C3_I2C1ASTAT.setTBF; inline;
  20674. begin
  20675. pTDefRegMap(@Self)^.&set := $00000001;
  20676. end;
  20677. procedure TI2C3_I2C1ASTAT.clearTBF; inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.clr := $00000001;
  20680. end;
  20681. procedure TI2C3_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  20682. begin
  20683. if thebits = 0 then
  20684. pTDefRegMap(@Self)^.clr := $00000001
  20685. else
  20686. pTDefRegMap(@Self)^.&set := $00000001;
  20687. end;
  20688. function TI2C3_I2C1ASTAT.getTBF : TBits_1; inline;
  20689. begin
  20690. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20691. end;
  20692. procedure TI2C3_I2C1ASTAT.setRBF; inline;
  20693. begin
  20694. pTDefRegMap(@Self)^.&set := $00000002;
  20695. end;
  20696. procedure TI2C3_I2C1ASTAT.clearRBF; inline;
  20697. begin
  20698. pTDefRegMap(@Self)^.clr := $00000002;
  20699. end;
  20700. procedure TI2C3_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  20701. begin
  20702. if thebits = 0 then
  20703. pTDefRegMap(@Self)^.clr := $00000002
  20704. else
  20705. pTDefRegMap(@Self)^.&set := $00000002;
  20706. end;
  20707. function TI2C3_I2C1ASTAT.getRBF : TBits_1; inline;
  20708. begin
  20709. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20710. end;
  20711. procedure TI2C3_I2C1ASTAT.setR_W; inline;
  20712. begin
  20713. pTDefRegMap(@Self)^.&set := $00000004;
  20714. end;
  20715. procedure TI2C3_I2C1ASTAT.clearR_W; inline;
  20716. begin
  20717. pTDefRegMap(@Self)^.clr := $00000004;
  20718. end;
  20719. procedure TI2C3_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  20720. begin
  20721. if thebits = 0 then
  20722. pTDefRegMap(@Self)^.clr := $00000004
  20723. else
  20724. pTDefRegMap(@Self)^.&set := $00000004;
  20725. end;
  20726. function TI2C3_I2C1ASTAT.getR_W : TBits_1; inline;
  20727. begin
  20728. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20729. end;
  20730. procedure TI2C3_I2C1ASTAT.setS; inline;
  20731. begin
  20732. pTDefRegMap(@Self)^.&set := $00000008;
  20733. end;
  20734. procedure TI2C3_I2C1ASTAT.clearS; inline;
  20735. begin
  20736. pTDefRegMap(@Self)^.clr := $00000008;
  20737. end;
  20738. procedure TI2C3_I2C1ASTAT.setS(thebits : TBits_1); inline;
  20739. begin
  20740. if thebits = 0 then
  20741. pTDefRegMap(@Self)^.clr := $00000008
  20742. else
  20743. pTDefRegMap(@Self)^.&set := $00000008;
  20744. end;
  20745. function TI2C3_I2C1ASTAT.getS : TBits_1; inline;
  20746. begin
  20747. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20748. end;
  20749. procedure TI2C3_I2C1ASTAT.setP; inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.&set := $00000010;
  20752. end;
  20753. procedure TI2C3_I2C1ASTAT.clearP; inline;
  20754. begin
  20755. pTDefRegMap(@Self)^.clr := $00000010;
  20756. end;
  20757. procedure TI2C3_I2C1ASTAT.setP(thebits : TBits_1); inline;
  20758. begin
  20759. if thebits = 0 then
  20760. pTDefRegMap(@Self)^.clr := $00000010
  20761. else
  20762. pTDefRegMap(@Self)^.&set := $00000010;
  20763. end;
  20764. function TI2C3_I2C1ASTAT.getP : TBits_1; inline;
  20765. begin
  20766. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20767. end;
  20768. procedure TI2C3_I2C1ASTAT.setD_A; inline;
  20769. begin
  20770. pTDefRegMap(@Self)^.&set := $00000020;
  20771. end;
  20772. procedure TI2C3_I2C1ASTAT.clearD_A; inline;
  20773. begin
  20774. pTDefRegMap(@Self)^.clr := $00000020;
  20775. end;
  20776. procedure TI2C3_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  20777. begin
  20778. if thebits = 0 then
  20779. pTDefRegMap(@Self)^.clr := $00000020
  20780. else
  20781. pTDefRegMap(@Self)^.&set := $00000020;
  20782. end;
  20783. function TI2C3_I2C1ASTAT.getD_A : TBits_1; inline;
  20784. begin
  20785. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20786. end;
  20787. procedure TI2C3_I2C1ASTAT.setI2COV; inline;
  20788. begin
  20789. pTDefRegMap(@Self)^.&set := $00000040;
  20790. end;
  20791. procedure TI2C3_I2C1ASTAT.clearI2COV; inline;
  20792. begin
  20793. pTDefRegMap(@Self)^.clr := $00000040;
  20794. end;
  20795. procedure TI2C3_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  20796. begin
  20797. if thebits = 0 then
  20798. pTDefRegMap(@Self)^.clr := $00000040
  20799. else
  20800. pTDefRegMap(@Self)^.&set := $00000040;
  20801. end;
  20802. function TI2C3_I2C1ASTAT.getI2COV : TBits_1; inline;
  20803. begin
  20804. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20805. end;
  20806. procedure TI2C3_I2C1ASTAT.setIWCOL; inline;
  20807. begin
  20808. pTDefRegMap(@Self)^.&set := $00000080;
  20809. end;
  20810. procedure TI2C3_I2C1ASTAT.clearIWCOL; inline;
  20811. begin
  20812. pTDefRegMap(@Self)^.clr := $00000080;
  20813. end;
  20814. procedure TI2C3_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  20815. begin
  20816. if thebits = 0 then
  20817. pTDefRegMap(@Self)^.clr := $00000080
  20818. else
  20819. pTDefRegMap(@Self)^.&set := $00000080;
  20820. end;
  20821. function TI2C3_I2C1ASTAT.getIWCOL : TBits_1; inline;
  20822. begin
  20823. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20824. end;
  20825. procedure TI2C3_I2C1ASTAT.setADD10; inline;
  20826. begin
  20827. pTDefRegMap(@Self)^.&set := $00000100;
  20828. end;
  20829. procedure TI2C3_I2C1ASTAT.clearADD10; inline;
  20830. begin
  20831. pTDefRegMap(@Self)^.clr := $00000100;
  20832. end;
  20833. procedure TI2C3_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  20834. begin
  20835. if thebits = 0 then
  20836. pTDefRegMap(@Self)^.clr := $00000100
  20837. else
  20838. pTDefRegMap(@Self)^.&set := $00000100;
  20839. end;
  20840. function TI2C3_I2C1ASTAT.getADD10 : TBits_1; inline;
  20841. begin
  20842. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20843. end;
  20844. procedure TI2C3_I2C1ASTAT.setGCSTAT; inline;
  20845. begin
  20846. pTDefRegMap(@Self)^.&set := $00000200;
  20847. end;
  20848. procedure TI2C3_I2C1ASTAT.clearGCSTAT; inline;
  20849. begin
  20850. pTDefRegMap(@Self)^.clr := $00000200;
  20851. end;
  20852. procedure TI2C3_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  20853. begin
  20854. if thebits = 0 then
  20855. pTDefRegMap(@Self)^.clr := $00000200
  20856. else
  20857. pTDefRegMap(@Self)^.&set := $00000200;
  20858. end;
  20859. function TI2C3_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  20860. begin
  20861. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20862. end;
  20863. procedure TI2C3_I2C1ASTAT.setBCL; inline;
  20864. begin
  20865. pTDefRegMap(@Self)^.&set := $00000400;
  20866. end;
  20867. procedure TI2C3_I2C1ASTAT.clearBCL; inline;
  20868. begin
  20869. pTDefRegMap(@Self)^.clr := $00000400;
  20870. end;
  20871. procedure TI2C3_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  20872. begin
  20873. if thebits = 0 then
  20874. pTDefRegMap(@Self)^.clr := $00000400
  20875. else
  20876. pTDefRegMap(@Self)^.&set := $00000400;
  20877. end;
  20878. function TI2C3_I2C1ASTAT.getBCL : TBits_1; inline;
  20879. begin
  20880. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20881. end;
  20882. procedure TI2C3_I2C1ASTAT.setTRSTAT; inline;
  20883. begin
  20884. pTDefRegMap(@Self)^.&set := $00004000;
  20885. end;
  20886. procedure TI2C3_I2C1ASTAT.clearTRSTAT; inline;
  20887. begin
  20888. pTDefRegMap(@Self)^.clr := $00004000;
  20889. end;
  20890. procedure TI2C3_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  20891. begin
  20892. if thebits = 0 then
  20893. pTDefRegMap(@Self)^.clr := $00004000
  20894. else
  20895. pTDefRegMap(@Self)^.&set := $00004000;
  20896. end;
  20897. function TI2C3_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  20898. begin
  20899. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20900. end;
  20901. procedure TI2C3_I2C1ASTAT.setACKSTAT; inline;
  20902. begin
  20903. pTDefRegMap(@Self)^.&set := $00008000;
  20904. end;
  20905. procedure TI2C3_I2C1ASTAT.clearACKSTAT; inline;
  20906. begin
  20907. pTDefRegMap(@Self)^.clr := $00008000;
  20908. end;
  20909. procedure TI2C3_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  20910. begin
  20911. if thebits = 0 then
  20912. pTDefRegMap(@Self)^.clr := $00008000
  20913. else
  20914. pTDefRegMap(@Self)^.&set := $00008000;
  20915. end;
  20916. function TI2C3_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  20917. begin
  20918. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20919. end;
  20920. procedure TI2C3_I2C1ASTAT.setI2CPOV; inline;
  20921. begin
  20922. pTDefRegMap(@Self)^.&set := $00000040;
  20923. end;
  20924. procedure TI2C3_I2C1ASTAT.clearI2CPOV; inline;
  20925. begin
  20926. pTDefRegMap(@Self)^.clr := $00000040;
  20927. end;
  20928. procedure TI2C3_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  20929. begin
  20930. if thebits = 0 then
  20931. pTDefRegMap(@Self)^.clr := $00000040
  20932. else
  20933. pTDefRegMap(@Self)^.&set := $00000040;
  20934. end;
  20935. function TI2C3_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  20936. begin
  20937. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20938. end;
  20939. procedure TI2C3_I2C1ASTAT.setw(thebits : TBits_32); inline;
  20940. begin
  20941. pTDefRegMap(@Self)^.val := thebits;
  20942. end;
  20943. function TI2C3_I2C1ASTAT.getw : TBits_32; inline;
  20944. begin
  20945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20946. end;
  20947. procedure TI2C3_I2C3STAT.setTBF; inline;
  20948. begin
  20949. pTDefRegMap(@Self)^.&set := $00000001;
  20950. end;
  20951. procedure TI2C3_I2C3STAT.clearTBF; inline;
  20952. begin
  20953. pTDefRegMap(@Self)^.clr := $00000001;
  20954. end;
  20955. procedure TI2C3_I2C3STAT.setTBF(thebits : TBits_1); inline;
  20956. begin
  20957. if thebits = 0 then
  20958. pTDefRegMap(@Self)^.clr := $00000001
  20959. else
  20960. pTDefRegMap(@Self)^.&set := $00000001;
  20961. end;
  20962. function TI2C3_I2C3STAT.getTBF : TBits_1; inline;
  20963. begin
  20964. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20965. end;
  20966. procedure TI2C3_I2C3STAT.setRBF; inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.&set := $00000002;
  20969. end;
  20970. procedure TI2C3_I2C3STAT.clearRBF; inline;
  20971. begin
  20972. pTDefRegMap(@Self)^.clr := $00000002;
  20973. end;
  20974. procedure TI2C3_I2C3STAT.setRBF(thebits : TBits_1); inline;
  20975. begin
  20976. if thebits = 0 then
  20977. pTDefRegMap(@Self)^.clr := $00000002
  20978. else
  20979. pTDefRegMap(@Self)^.&set := $00000002;
  20980. end;
  20981. function TI2C3_I2C3STAT.getRBF : TBits_1; inline;
  20982. begin
  20983. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20984. end;
  20985. procedure TI2C3_I2C3STAT.setR_W; inline;
  20986. begin
  20987. pTDefRegMap(@Self)^.&set := $00000004;
  20988. end;
  20989. procedure TI2C3_I2C3STAT.clearR_W; inline;
  20990. begin
  20991. pTDefRegMap(@Self)^.clr := $00000004;
  20992. end;
  20993. procedure TI2C3_I2C3STAT.setR_W(thebits : TBits_1); inline;
  20994. begin
  20995. if thebits = 0 then
  20996. pTDefRegMap(@Self)^.clr := $00000004
  20997. else
  20998. pTDefRegMap(@Self)^.&set := $00000004;
  20999. end;
  21000. function TI2C3_I2C3STAT.getR_W : TBits_1; inline;
  21001. begin
  21002. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21003. end;
  21004. procedure TI2C3_I2C3STAT.setS; inline;
  21005. begin
  21006. pTDefRegMap(@Self)^.&set := $00000008;
  21007. end;
  21008. procedure TI2C3_I2C3STAT.clearS; inline;
  21009. begin
  21010. pTDefRegMap(@Self)^.clr := $00000008;
  21011. end;
  21012. procedure TI2C3_I2C3STAT.setS(thebits : TBits_1); inline;
  21013. begin
  21014. if thebits = 0 then
  21015. pTDefRegMap(@Self)^.clr := $00000008
  21016. else
  21017. pTDefRegMap(@Self)^.&set := $00000008;
  21018. end;
  21019. function TI2C3_I2C3STAT.getS : TBits_1; inline;
  21020. begin
  21021. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21022. end;
  21023. procedure TI2C3_I2C3STAT.setP; inline;
  21024. begin
  21025. pTDefRegMap(@Self)^.&set := $00000010;
  21026. end;
  21027. procedure TI2C3_I2C3STAT.clearP; inline;
  21028. begin
  21029. pTDefRegMap(@Self)^.clr := $00000010;
  21030. end;
  21031. procedure TI2C3_I2C3STAT.setP(thebits : TBits_1); inline;
  21032. begin
  21033. if thebits = 0 then
  21034. pTDefRegMap(@Self)^.clr := $00000010
  21035. else
  21036. pTDefRegMap(@Self)^.&set := $00000010;
  21037. end;
  21038. function TI2C3_I2C3STAT.getP : TBits_1; inline;
  21039. begin
  21040. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21041. end;
  21042. procedure TI2C3_I2C3STAT.setD_A; inline;
  21043. begin
  21044. pTDefRegMap(@Self)^.&set := $00000020;
  21045. end;
  21046. procedure TI2C3_I2C3STAT.clearD_A; inline;
  21047. begin
  21048. pTDefRegMap(@Self)^.clr := $00000020;
  21049. end;
  21050. procedure TI2C3_I2C3STAT.setD_A(thebits : TBits_1); inline;
  21051. begin
  21052. if thebits = 0 then
  21053. pTDefRegMap(@Self)^.clr := $00000020
  21054. else
  21055. pTDefRegMap(@Self)^.&set := $00000020;
  21056. end;
  21057. function TI2C3_I2C3STAT.getD_A : TBits_1; inline;
  21058. begin
  21059. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21060. end;
  21061. procedure TI2C3_I2C3STAT.setI2COV; inline;
  21062. begin
  21063. pTDefRegMap(@Self)^.&set := $00000040;
  21064. end;
  21065. procedure TI2C3_I2C3STAT.clearI2COV; inline;
  21066. begin
  21067. pTDefRegMap(@Self)^.clr := $00000040;
  21068. end;
  21069. procedure TI2C3_I2C3STAT.setI2COV(thebits : TBits_1); inline;
  21070. begin
  21071. if thebits = 0 then
  21072. pTDefRegMap(@Self)^.clr := $00000040
  21073. else
  21074. pTDefRegMap(@Self)^.&set := $00000040;
  21075. end;
  21076. function TI2C3_I2C3STAT.getI2COV : TBits_1; inline;
  21077. begin
  21078. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21079. end;
  21080. procedure TI2C3_I2C3STAT.setIWCOL; inline;
  21081. begin
  21082. pTDefRegMap(@Self)^.&set := $00000080;
  21083. end;
  21084. procedure TI2C3_I2C3STAT.clearIWCOL; inline;
  21085. begin
  21086. pTDefRegMap(@Self)^.clr := $00000080;
  21087. end;
  21088. procedure TI2C3_I2C3STAT.setIWCOL(thebits : TBits_1); inline;
  21089. begin
  21090. if thebits = 0 then
  21091. pTDefRegMap(@Self)^.clr := $00000080
  21092. else
  21093. pTDefRegMap(@Self)^.&set := $00000080;
  21094. end;
  21095. function TI2C3_I2C3STAT.getIWCOL : TBits_1; inline;
  21096. begin
  21097. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21098. end;
  21099. procedure TI2C3_I2C3STAT.setADD10; inline;
  21100. begin
  21101. pTDefRegMap(@Self)^.&set := $00000100;
  21102. end;
  21103. procedure TI2C3_I2C3STAT.clearADD10; inline;
  21104. begin
  21105. pTDefRegMap(@Self)^.clr := $00000100;
  21106. end;
  21107. procedure TI2C3_I2C3STAT.setADD10(thebits : TBits_1); inline;
  21108. begin
  21109. if thebits = 0 then
  21110. pTDefRegMap(@Self)^.clr := $00000100
  21111. else
  21112. pTDefRegMap(@Self)^.&set := $00000100;
  21113. end;
  21114. function TI2C3_I2C3STAT.getADD10 : TBits_1; inline;
  21115. begin
  21116. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21117. end;
  21118. procedure TI2C3_I2C3STAT.setGCSTAT; inline;
  21119. begin
  21120. pTDefRegMap(@Self)^.&set := $00000200;
  21121. end;
  21122. procedure TI2C3_I2C3STAT.clearGCSTAT; inline;
  21123. begin
  21124. pTDefRegMap(@Self)^.clr := $00000200;
  21125. end;
  21126. procedure TI2C3_I2C3STAT.setGCSTAT(thebits : TBits_1); inline;
  21127. begin
  21128. if thebits = 0 then
  21129. pTDefRegMap(@Self)^.clr := $00000200
  21130. else
  21131. pTDefRegMap(@Self)^.&set := $00000200;
  21132. end;
  21133. function TI2C3_I2C3STAT.getGCSTAT : TBits_1; inline;
  21134. begin
  21135. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21136. end;
  21137. procedure TI2C3_I2C3STAT.setBCL; inline;
  21138. begin
  21139. pTDefRegMap(@Self)^.&set := $00000400;
  21140. end;
  21141. procedure TI2C3_I2C3STAT.clearBCL; inline;
  21142. begin
  21143. pTDefRegMap(@Self)^.clr := $00000400;
  21144. end;
  21145. procedure TI2C3_I2C3STAT.setBCL(thebits : TBits_1); inline;
  21146. begin
  21147. if thebits = 0 then
  21148. pTDefRegMap(@Self)^.clr := $00000400
  21149. else
  21150. pTDefRegMap(@Self)^.&set := $00000400;
  21151. end;
  21152. function TI2C3_I2C3STAT.getBCL : TBits_1; inline;
  21153. begin
  21154. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21155. end;
  21156. procedure TI2C3_I2C3STAT.setTRSTAT; inline;
  21157. begin
  21158. pTDefRegMap(@Self)^.&set := $00004000;
  21159. end;
  21160. procedure TI2C3_I2C3STAT.clearTRSTAT; inline;
  21161. begin
  21162. pTDefRegMap(@Self)^.clr := $00004000;
  21163. end;
  21164. procedure TI2C3_I2C3STAT.setTRSTAT(thebits : TBits_1); inline;
  21165. begin
  21166. if thebits = 0 then
  21167. pTDefRegMap(@Self)^.clr := $00004000
  21168. else
  21169. pTDefRegMap(@Self)^.&set := $00004000;
  21170. end;
  21171. function TI2C3_I2C3STAT.getTRSTAT : TBits_1; inline;
  21172. begin
  21173. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21174. end;
  21175. procedure TI2C3_I2C3STAT.setACKSTAT; inline;
  21176. begin
  21177. pTDefRegMap(@Self)^.&set := $00008000;
  21178. end;
  21179. procedure TI2C3_I2C3STAT.clearACKSTAT; inline;
  21180. begin
  21181. pTDefRegMap(@Self)^.clr := $00008000;
  21182. end;
  21183. procedure TI2C3_I2C3STAT.setACKSTAT(thebits : TBits_1); inline;
  21184. begin
  21185. if thebits = 0 then
  21186. pTDefRegMap(@Self)^.clr := $00008000
  21187. else
  21188. pTDefRegMap(@Self)^.&set := $00008000;
  21189. end;
  21190. function TI2C3_I2C3STAT.getACKSTAT : TBits_1; inline;
  21191. begin
  21192. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21193. end;
  21194. procedure TI2C3_I2C3STAT.setI2CPOV; inline;
  21195. begin
  21196. pTDefRegMap(@Self)^.&set := $00000040;
  21197. end;
  21198. procedure TI2C3_I2C3STAT.clearI2CPOV; inline;
  21199. begin
  21200. pTDefRegMap(@Self)^.clr := $00000040;
  21201. end;
  21202. procedure TI2C3_I2C3STAT.setI2CPOV(thebits : TBits_1); inline;
  21203. begin
  21204. if thebits = 0 then
  21205. pTDefRegMap(@Self)^.clr := $00000040
  21206. else
  21207. pTDefRegMap(@Self)^.&set := $00000040;
  21208. end;
  21209. function TI2C3_I2C3STAT.getI2CPOV : TBits_1; inline;
  21210. begin
  21211. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21212. end;
  21213. procedure TI2C3_I2C3STAT.setw(thebits : TBits_32); inline;
  21214. begin
  21215. pTDefRegMap(@Self)^.val := thebits;
  21216. end;
  21217. function TI2C3_I2C3STAT.getw : TBits_32; inline;
  21218. begin
  21219. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21220. end;
  21221. procedure TI2C4_I2C2ACON.setSEN; inline;
  21222. begin
  21223. pTDefRegMap(@Self)^.&set := $00000001;
  21224. end;
  21225. procedure TI2C4_I2C2ACON.clearSEN; inline;
  21226. begin
  21227. pTDefRegMap(@Self)^.clr := $00000001;
  21228. end;
  21229. procedure TI2C4_I2C2ACON.setSEN(thebits : TBits_1); inline;
  21230. begin
  21231. if thebits = 0 then
  21232. pTDefRegMap(@Self)^.clr := $00000001
  21233. else
  21234. pTDefRegMap(@Self)^.&set := $00000001;
  21235. end;
  21236. function TI2C4_I2C2ACON.getSEN : TBits_1; inline;
  21237. begin
  21238. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21239. end;
  21240. procedure TI2C4_I2C2ACON.setRSEN; inline;
  21241. begin
  21242. pTDefRegMap(@Self)^.&set := $00000002;
  21243. end;
  21244. procedure TI2C4_I2C2ACON.clearRSEN; inline;
  21245. begin
  21246. pTDefRegMap(@Self)^.clr := $00000002;
  21247. end;
  21248. procedure TI2C4_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  21249. begin
  21250. if thebits = 0 then
  21251. pTDefRegMap(@Self)^.clr := $00000002
  21252. else
  21253. pTDefRegMap(@Self)^.&set := $00000002;
  21254. end;
  21255. function TI2C4_I2C2ACON.getRSEN : TBits_1; inline;
  21256. begin
  21257. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21258. end;
  21259. procedure TI2C4_I2C2ACON.setPEN; inline;
  21260. begin
  21261. pTDefRegMap(@Self)^.&set := $00000004;
  21262. end;
  21263. procedure TI2C4_I2C2ACON.clearPEN; inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.clr := $00000004;
  21266. end;
  21267. procedure TI2C4_I2C2ACON.setPEN(thebits : TBits_1); inline;
  21268. begin
  21269. if thebits = 0 then
  21270. pTDefRegMap(@Self)^.clr := $00000004
  21271. else
  21272. pTDefRegMap(@Self)^.&set := $00000004;
  21273. end;
  21274. function TI2C4_I2C2ACON.getPEN : TBits_1; inline;
  21275. begin
  21276. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21277. end;
  21278. procedure TI2C4_I2C2ACON.setRCEN; inline;
  21279. begin
  21280. pTDefRegMap(@Self)^.&set := $00000008;
  21281. end;
  21282. procedure TI2C4_I2C2ACON.clearRCEN; inline;
  21283. begin
  21284. pTDefRegMap(@Self)^.clr := $00000008;
  21285. end;
  21286. procedure TI2C4_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  21287. begin
  21288. if thebits = 0 then
  21289. pTDefRegMap(@Self)^.clr := $00000008
  21290. else
  21291. pTDefRegMap(@Self)^.&set := $00000008;
  21292. end;
  21293. function TI2C4_I2C2ACON.getRCEN : TBits_1; inline;
  21294. begin
  21295. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21296. end;
  21297. procedure TI2C4_I2C2ACON.setACKEN; inline;
  21298. begin
  21299. pTDefRegMap(@Self)^.&set := $00000010;
  21300. end;
  21301. procedure TI2C4_I2C2ACON.clearACKEN; inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.clr := $00000010;
  21304. end;
  21305. procedure TI2C4_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  21306. begin
  21307. if thebits = 0 then
  21308. pTDefRegMap(@Self)^.clr := $00000010
  21309. else
  21310. pTDefRegMap(@Self)^.&set := $00000010;
  21311. end;
  21312. function TI2C4_I2C2ACON.getACKEN : TBits_1; inline;
  21313. begin
  21314. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21315. end;
  21316. procedure TI2C4_I2C2ACON.setACKDT; inline;
  21317. begin
  21318. pTDefRegMap(@Self)^.&set := $00000020;
  21319. end;
  21320. procedure TI2C4_I2C2ACON.clearACKDT; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.clr := $00000020;
  21323. end;
  21324. procedure TI2C4_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  21325. begin
  21326. if thebits = 0 then
  21327. pTDefRegMap(@Self)^.clr := $00000020
  21328. else
  21329. pTDefRegMap(@Self)^.&set := $00000020;
  21330. end;
  21331. function TI2C4_I2C2ACON.getACKDT : TBits_1; inline;
  21332. begin
  21333. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21334. end;
  21335. procedure TI2C4_I2C2ACON.setSTREN; inline;
  21336. begin
  21337. pTDefRegMap(@Self)^.&set := $00000040;
  21338. end;
  21339. procedure TI2C4_I2C2ACON.clearSTREN; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.clr := $00000040;
  21342. end;
  21343. procedure TI2C4_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  21344. begin
  21345. if thebits = 0 then
  21346. pTDefRegMap(@Self)^.clr := $00000040
  21347. else
  21348. pTDefRegMap(@Self)^.&set := $00000040;
  21349. end;
  21350. function TI2C4_I2C2ACON.getSTREN : TBits_1; inline;
  21351. begin
  21352. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21353. end;
  21354. procedure TI2C4_I2C2ACON.setGCEN; inline;
  21355. begin
  21356. pTDefRegMap(@Self)^.&set := $00000080;
  21357. end;
  21358. procedure TI2C4_I2C2ACON.clearGCEN; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.clr := $00000080;
  21361. end;
  21362. procedure TI2C4_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  21363. begin
  21364. if thebits = 0 then
  21365. pTDefRegMap(@Self)^.clr := $00000080
  21366. else
  21367. pTDefRegMap(@Self)^.&set := $00000080;
  21368. end;
  21369. function TI2C4_I2C2ACON.getGCEN : TBits_1; inline;
  21370. begin
  21371. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21372. end;
  21373. procedure TI2C4_I2C2ACON.setSMEN; inline;
  21374. begin
  21375. pTDefRegMap(@Self)^.&set := $00000100;
  21376. end;
  21377. procedure TI2C4_I2C2ACON.clearSMEN; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.clr := $00000100;
  21380. end;
  21381. procedure TI2C4_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  21382. begin
  21383. if thebits = 0 then
  21384. pTDefRegMap(@Self)^.clr := $00000100
  21385. else
  21386. pTDefRegMap(@Self)^.&set := $00000100;
  21387. end;
  21388. function TI2C4_I2C2ACON.getSMEN : TBits_1; inline;
  21389. begin
  21390. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21391. end;
  21392. procedure TI2C4_I2C2ACON.setDISSLW; inline;
  21393. begin
  21394. pTDefRegMap(@Self)^.&set := $00000200;
  21395. end;
  21396. procedure TI2C4_I2C2ACON.clearDISSLW; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.clr := $00000200;
  21399. end;
  21400. procedure TI2C4_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  21401. begin
  21402. if thebits = 0 then
  21403. pTDefRegMap(@Self)^.clr := $00000200
  21404. else
  21405. pTDefRegMap(@Self)^.&set := $00000200;
  21406. end;
  21407. function TI2C4_I2C2ACON.getDISSLW : TBits_1; inline;
  21408. begin
  21409. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21410. end;
  21411. procedure TI2C4_I2C2ACON.setA10M; inline;
  21412. begin
  21413. pTDefRegMap(@Self)^.&set := $00000400;
  21414. end;
  21415. procedure TI2C4_I2C2ACON.clearA10M; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.clr := $00000400;
  21418. end;
  21419. procedure TI2C4_I2C2ACON.setA10M(thebits : TBits_1); inline;
  21420. begin
  21421. if thebits = 0 then
  21422. pTDefRegMap(@Self)^.clr := $00000400
  21423. else
  21424. pTDefRegMap(@Self)^.&set := $00000400;
  21425. end;
  21426. function TI2C4_I2C2ACON.getA10M : TBits_1; inline;
  21427. begin
  21428. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21429. end;
  21430. procedure TI2C4_I2C2ACON.setSTRICT; inline;
  21431. begin
  21432. pTDefRegMap(@Self)^.&set := $00000800;
  21433. end;
  21434. procedure TI2C4_I2C2ACON.clearSTRICT; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.clr := $00000800;
  21437. end;
  21438. procedure TI2C4_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  21439. begin
  21440. if thebits = 0 then
  21441. pTDefRegMap(@Self)^.clr := $00000800
  21442. else
  21443. pTDefRegMap(@Self)^.&set := $00000800;
  21444. end;
  21445. function TI2C4_I2C2ACON.getSTRICT : TBits_1; inline;
  21446. begin
  21447. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21448. end;
  21449. procedure TI2C4_I2C2ACON.setSCLREL; inline;
  21450. begin
  21451. pTDefRegMap(@Self)^.&set := $00001000;
  21452. end;
  21453. procedure TI2C4_I2C2ACON.clearSCLREL; inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.clr := $00001000;
  21456. end;
  21457. procedure TI2C4_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  21458. begin
  21459. if thebits = 0 then
  21460. pTDefRegMap(@Self)^.clr := $00001000
  21461. else
  21462. pTDefRegMap(@Self)^.&set := $00001000;
  21463. end;
  21464. function TI2C4_I2C2ACON.getSCLREL : TBits_1; inline;
  21465. begin
  21466. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21467. end;
  21468. procedure TI2C4_I2C2ACON.setSIDL; inline;
  21469. begin
  21470. pTDefRegMap(@Self)^.&set := $00002000;
  21471. end;
  21472. procedure TI2C4_I2C2ACON.clearSIDL; inline;
  21473. begin
  21474. pTDefRegMap(@Self)^.clr := $00002000;
  21475. end;
  21476. procedure TI2C4_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  21477. begin
  21478. if thebits = 0 then
  21479. pTDefRegMap(@Self)^.clr := $00002000
  21480. else
  21481. pTDefRegMap(@Self)^.&set := $00002000;
  21482. end;
  21483. function TI2C4_I2C2ACON.getSIDL : TBits_1; inline;
  21484. begin
  21485. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21486. end;
  21487. procedure TI2C4_I2C2ACON.setON; inline;
  21488. begin
  21489. pTDefRegMap(@Self)^.&set := $00008000;
  21490. end;
  21491. procedure TI2C4_I2C2ACON.clearON; inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.clr := $00008000;
  21494. end;
  21495. procedure TI2C4_I2C2ACON.setON(thebits : TBits_1); inline;
  21496. begin
  21497. if thebits = 0 then
  21498. pTDefRegMap(@Self)^.clr := $00008000
  21499. else
  21500. pTDefRegMap(@Self)^.&set := $00008000;
  21501. end;
  21502. function TI2C4_I2C2ACON.getON : TBits_1; inline;
  21503. begin
  21504. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21505. end;
  21506. procedure TI2C4_I2C2ACON.setIPMIEN; inline;
  21507. begin
  21508. pTDefRegMap(@Self)^.&set := $00000800;
  21509. end;
  21510. procedure TI2C4_I2C2ACON.clearIPMIEN; inline;
  21511. begin
  21512. pTDefRegMap(@Self)^.clr := $00000800;
  21513. end;
  21514. procedure TI2C4_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  21515. begin
  21516. if thebits = 0 then
  21517. pTDefRegMap(@Self)^.clr := $00000800
  21518. else
  21519. pTDefRegMap(@Self)^.&set := $00000800;
  21520. end;
  21521. function TI2C4_I2C2ACON.getIPMIEN : TBits_1; inline;
  21522. begin
  21523. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21524. end;
  21525. procedure TI2C4_I2C2ACON.setI2CSIDL; inline;
  21526. begin
  21527. pTDefRegMap(@Self)^.&set := $00002000;
  21528. end;
  21529. procedure TI2C4_I2C2ACON.clearI2CSIDL; inline;
  21530. begin
  21531. pTDefRegMap(@Self)^.clr := $00002000;
  21532. end;
  21533. procedure TI2C4_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  21534. begin
  21535. if thebits = 0 then
  21536. pTDefRegMap(@Self)^.clr := $00002000
  21537. else
  21538. pTDefRegMap(@Self)^.&set := $00002000;
  21539. end;
  21540. function TI2C4_I2C2ACON.getI2CSIDL : TBits_1; inline;
  21541. begin
  21542. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21543. end;
  21544. procedure TI2C4_I2C2ACON.setI2CEN; inline;
  21545. begin
  21546. pTDefRegMap(@Self)^.&set := $00008000;
  21547. end;
  21548. procedure TI2C4_I2C2ACON.clearI2CEN; inline;
  21549. begin
  21550. pTDefRegMap(@Self)^.clr := $00008000;
  21551. end;
  21552. procedure TI2C4_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  21553. begin
  21554. if thebits = 0 then
  21555. pTDefRegMap(@Self)^.clr := $00008000
  21556. else
  21557. pTDefRegMap(@Self)^.&set := $00008000;
  21558. end;
  21559. function TI2C4_I2C2ACON.getI2CEN : TBits_1; inline;
  21560. begin
  21561. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21562. end;
  21563. procedure TI2C4_I2C2ACON.setw(thebits : TBits_32); inline;
  21564. begin
  21565. pTDefRegMap(@Self)^.val := thebits;
  21566. end;
  21567. function TI2C4_I2C2ACON.getw : TBits_32; inline;
  21568. begin
  21569. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21570. end;
  21571. procedure TI2C4_I2C4CON.setSEN; inline;
  21572. begin
  21573. pTDefRegMap(@Self)^.&set := $00000001;
  21574. end;
  21575. procedure TI2C4_I2C4CON.clearSEN; inline;
  21576. begin
  21577. pTDefRegMap(@Self)^.clr := $00000001;
  21578. end;
  21579. procedure TI2C4_I2C4CON.setSEN(thebits : TBits_1); inline;
  21580. begin
  21581. if thebits = 0 then
  21582. pTDefRegMap(@Self)^.clr := $00000001
  21583. else
  21584. pTDefRegMap(@Self)^.&set := $00000001;
  21585. end;
  21586. function TI2C4_I2C4CON.getSEN : TBits_1; inline;
  21587. begin
  21588. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21589. end;
  21590. procedure TI2C4_I2C4CON.setRSEN; inline;
  21591. begin
  21592. pTDefRegMap(@Self)^.&set := $00000002;
  21593. end;
  21594. procedure TI2C4_I2C4CON.clearRSEN; inline;
  21595. begin
  21596. pTDefRegMap(@Self)^.clr := $00000002;
  21597. end;
  21598. procedure TI2C4_I2C4CON.setRSEN(thebits : TBits_1); inline;
  21599. begin
  21600. if thebits = 0 then
  21601. pTDefRegMap(@Self)^.clr := $00000002
  21602. else
  21603. pTDefRegMap(@Self)^.&set := $00000002;
  21604. end;
  21605. function TI2C4_I2C4CON.getRSEN : TBits_1; inline;
  21606. begin
  21607. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21608. end;
  21609. procedure TI2C4_I2C4CON.setPEN; inline;
  21610. begin
  21611. pTDefRegMap(@Self)^.&set := $00000004;
  21612. end;
  21613. procedure TI2C4_I2C4CON.clearPEN; inline;
  21614. begin
  21615. pTDefRegMap(@Self)^.clr := $00000004;
  21616. end;
  21617. procedure TI2C4_I2C4CON.setPEN(thebits : TBits_1); inline;
  21618. begin
  21619. if thebits = 0 then
  21620. pTDefRegMap(@Self)^.clr := $00000004
  21621. else
  21622. pTDefRegMap(@Self)^.&set := $00000004;
  21623. end;
  21624. function TI2C4_I2C4CON.getPEN : TBits_1; inline;
  21625. begin
  21626. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21627. end;
  21628. procedure TI2C4_I2C4CON.setRCEN; inline;
  21629. begin
  21630. pTDefRegMap(@Self)^.&set := $00000008;
  21631. end;
  21632. procedure TI2C4_I2C4CON.clearRCEN; inline;
  21633. begin
  21634. pTDefRegMap(@Self)^.clr := $00000008;
  21635. end;
  21636. procedure TI2C4_I2C4CON.setRCEN(thebits : TBits_1); inline;
  21637. begin
  21638. if thebits = 0 then
  21639. pTDefRegMap(@Self)^.clr := $00000008
  21640. else
  21641. pTDefRegMap(@Self)^.&set := $00000008;
  21642. end;
  21643. function TI2C4_I2C4CON.getRCEN : TBits_1; inline;
  21644. begin
  21645. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21646. end;
  21647. procedure TI2C4_I2C4CON.setACKEN; inline;
  21648. begin
  21649. pTDefRegMap(@Self)^.&set := $00000010;
  21650. end;
  21651. procedure TI2C4_I2C4CON.clearACKEN; inline;
  21652. begin
  21653. pTDefRegMap(@Self)^.clr := $00000010;
  21654. end;
  21655. procedure TI2C4_I2C4CON.setACKEN(thebits : TBits_1); inline;
  21656. begin
  21657. if thebits = 0 then
  21658. pTDefRegMap(@Self)^.clr := $00000010
  21659. else
  21660. pTDefRegMap(@Self)^.&set := $00000010;
  21661. end;
  21662. function TI2C4_I2C4CON.getACKEN : TBits_1; inline;
  21663. begin
  21664. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21665. end;
  21666. procedure TI2C4_I2C4CON.setACKDT; inline;
  21667. begin
  21668. pTDefRegMap(@Self)^.&set := $00000020;
  21669. end;
  21670. procedure TI2C4_I2C4CON.clearACKDT; inline;
  21671. begin
  21672. pTDefRegMap(@Self)^.clr := $00000020;
  21673. end;
  21674. procedure TI2C4_I2C4CON.setACKDT(thebits : TBits_1); inline;
  21675. begin
  21676. if thebits = 0 then
  21677. pTDefRegMap(@Self)^.clr := $00000020
  21678. else
  21679. pTDefRegMap(@Self)^.&set := $00000020;
  21680. end;
  21681. function TI2C4_I2C4CON.getACKDT : TBits_1; inline;
  21682. begin
  21683. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21684. end;
  21685. procedure TI2C4_I2C4CON.setSTREN; inline;
  21686. begin
  21687. pTDefRegMap(@Self)^.&set := $00000040;
  21688. end;
  21689. procedure TI2C4_I2C4CON.clearSTREN; inline;
  21690. begin
  21691. pTDefRegMap(@Self)^.clr := $00000040;
  21692. end;
  21693. procedure TI2C4_I2C4CON.setSTREN(thebits : TBits_1); inline;
  21694. begin
  21695. if thebits = 0 then
  21696. pTDefRegMap(@Self)^.clr := $00000040
  21697. else
  21698. pTDefRegMap(@Self)^.&set := $00000040;
  21699. end;
  21700. function TI2C4_I2C4CON.getSTREN : TBits_1; inline;
  21701. begin
  21702. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21703. end;
  21704. procedure TI2C4_I2C4CON.setGCEN; inline;
  21705. begin
  21706. pTDefRegMap(@Self)^.&set := $00000080;
  21707. end;
  21708. procedure TI2C4_I2C4CON.clearGCEN; inline;
  21709. begin
  21710. pTDefRegMap(@Self)^.clr := $00000080;
  21711. end;
  21712. procedure TI2C4_I2C4CON.setGCEN(thebits : TBits_1); inline;
  21713. begin
  21714. if thebits = 0 then
  21715. pTDefRegMap(@Self)^.clr := $00000080
  21716. else
  21717. pTDefRegMap(@Self)^.&set := $00000080;
  21718. end;
  21719. function TI2C4_I2C4CON.getGCEN : TBits_1; inline;
  21720. begin
  21721. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21722. end;
  21723. procedure TI2C4_I2C4CON.setSMEN; inline;
  21724. begin
  21725. pTDefRegMap(@Self)^.&set := $00000100;
  21726. end;
  21727. procedure TI2C4_I2C4CON.clearSMEN; inline;
  21728. begin
  21729. pTDefRegMap(@Self)^.clr := $00000100;
  21730. end;
  21731. procedure TI2C4_I2C4CON.setSMEN(thebits : TBits_1); inline;
  21732. begin
  21733. if thebits = 0 then
  21734. pTDefRegMap(@Self)^.clr := $00000100
  21735. else
  21736. pTDefRegMap(@Self)^.&set := $00000100;
  21737. end;
  21738. function TI2C4_I2C4CON.getSMEN : TBits_1; inline;
  21739. begin
  21740. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21741. end;
  21742. procedure TI2C4_I2C4CON.setDISSLW; inline;
  21743. begin
  21744. pTDefRegMap(@Self)^.&set := $00000200;
  21745. end;
  21746. procedure TI2C4_I2C4CON.clearDISSLW; inline;
  21747. begin
  21748. pTDefRegMap(@Self)^.clr := $00000200;
  21749. end;
  21750. procedure TI2C4_I2C4CON.setDISSLW(thebits : TBits_1); inline;
  21751. begin
  21752. if thebits = 0 then
  21753. pTDefRegMap(@Self)^.clr := $00000200
  21754. else
  21755. pTDefRegMap(@Self)^.&set := $00000200;
  21756. end;
  21757. function TI2C4_I2C4CON.getDISSLW : TBits_1; inline;
  21758. begin
  21759. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21760. end;
  21761. procedure TI2C4_I2C4CON.setA10M; inline;
  21762. begin
  21763. pTDefRegMap(@Self)^.&set := $00000400;
  21764. end;
  21765. procedure TI2C4_I2C4CON.clearA10M; inline;
  21766. begin
  21767. pTDefRegMap(@Self)^.clr := $00000400;
  21768. end;
  21769. procedure TI2C4_I2C4CON.setA10M(thebits : TBits_1); inline;
  21770. begin
  21771. if thebits = 0 then
  21772. pTDefRegMap(@Self)^.clr := $00000400
  21773. else
  21774. pTDefRegMap(@Self)^.&set := $00000400;
  21775. end;
  21776. function TI2C4_I2C4CON.getA10M : TBits_1; inline;
  21777. begin
  21778. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21779. end;
  21780. procedure TI2C4_I2C4CON.setSTRICT; inline;
  21781. begin
  21782. pTDefRegMap(@Self)^.&set := $00000800;
  21783. end;
  21784. procedure TI2C4_I2C4CON.clearSTRICT; inline;
  21785. begin
  21786. pTDefRegMap(@Self)^.clr := $00000800;
  21787. end;
  21788. procedure TI2C4_I2C4CON.setSTRICT(thebits : TBits_1); inline;
  21789. begin
  21790. if thebits = 0 then
  21791. pTDefRegMap(@Self)^.clr := $00000800
  21792. else
  21793. pTDefRegMap(@Self)^.&set := $00000800;
  21794. end;
  21795. function TI2C4_I2C4CON.getSTRICT : TBits_1; inline;
  21796. begin
  21797. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21798. end;
  21799. procedure TI2C4_I2C4CON.setSCLREL; inline;
  21800. begin
  21801. pTDefRegMap(@Self)^.&set := $00001000;
  21802. end;
  21803. procedure TI2C4_I2C4CON.clearSCLREL; inline;
  21804. begin
  21805. pTDefRegMap(@Self)^.clr := $00001000;
  21806. end;
  21807. procedure TI2C4_I2C4CON.setSCLREL(thebits : TBits_1); inline;
  21808. begin
  21809. if thebits = 0 then
  21810. pTDefRegMap(@Self)^.clr := $00001000
  21811. else
  21812. pTDefRegMap(@Self)^.&set := $00001000;
  21813. end;
  21814. function TI2C4_I2C4CON.getSCLREL : TBits_1; inline;
  21815. begin
  21816. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21817. end;
  21818. procedure TI2C4_I2C4CON.setSIDL; inline;
  21819. begin
  21820. pTDefRegMap(@Self)^.&set := $00002000;
  21821. end;
  21822. procedure TI2C4_I2C4CON.clearSIDL; inline;
  21823. begin
  21824. pTDefRegMap(@Self)^.clr := $00002000;
  21825. end;
  21826. procedure TI2C4_I2C4CON.setSIDL(thebits : TBits_1); inline;
  21827. begin
  21828. if thebits = 0 then
  21829. pTDefRegMap(@Self)^.clr := $00002000
  21830. else
  21831. pTDefRegMap(@Self)^.&set := $00002000;
  21832. end;
  21833. function TI2C4_I2C4CON.getSIDL : TBits_1; inline;
  21834. begin
  21835. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21836. end;
  21837. procedure TI2C4_I2C4CON.setON; inline;
  21838. begin
  21839. pTDefRegMap(@Self)^.&set := $00008000;
  21840. end;
  21841. procedure TI2C4_I2C4CON.clearON; inline;
  21842. begin
  21843. pTDefRegMap(@Self)^.clr := $00008000;
  21844. end;
  21845. procedure TI2C4_I2C4CON.setON(thebits : TBits_1); inline;
  21846. begin
  21847. if thebits = 0 then
  21848. pTDefRegMap(@Self)^.clr := $00008000
  21849. else
  21850. pTDefRegMap(@Self)^.&set := $00008000;
  21851. end;
  21852. function TI2C4_I2C4CON.getON : TBits_1; inline;
  21853. begin
  21854. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21855. end;
  21856. procedure TI2C4_I2C4CON.setIPMIEN; inline;
  21857. begin
  21858. pTDefRegMap(@Self)^.&set := $00000800;
  21859. end;
  21860. procedure TI2C4_I2C4CON.clearIPMIEN; inline;
  21861. begin
  21862. pTDefRegMap(@Self)^.clr := $00000800;
  21863. end;
  21864. procedure TI2C4_I2C4CON.setIPMIEN(thebits : TBits_1); inline;
  21865. begin
  21866. if thebits = 0 then
  21867. pTDefRegMap(@Self)^.clr := $00000800
  21868. else
  21869. pTDefRegMap(@Self)^.&set := $00000800;
  21870. end;
  21871. function TI2C4_I2C4CON.getIPMIEN : TBits_1; inline;
  21872. begin
  21873. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21874. end;
  21875. procedure TI2C4_I2C4CON.setI2CSIDL; inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.&set := $00002000;
  21878. end;
  21879. procedure TI2C4_I2C4CON.clearI2CSIDL; inline;
  21880. begin
  21881. pTDefRegMap(@Self)^.clr := $00002000;
  21882. end;
  21883. procedure TI2C4_I2C4CON.setI2CSIDL(thebits : TBits_1); inline;
  21884. begin
  21885. if thebits = 0 then
  21886. pTDefRegMap(@Self)^.clr := $00002000
  21887. else
  21888. pTDefRegMap(@Self)^.&set := $00002000;
  21889. end;
  21890. function TI2C4_I2C4CON.getI2CSIDL : TBits_1; inline;
  21891. begin
  21892. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21893. end;
  21894. procedure TI2C4_I2C4CON.setI2CEN; inline;
  21895. begin
  21896. pTDefRegMap(@Self)^.&set := $00008000;
  21897. end;
  21898. procedure TI2C4_I2C4CON.clearI2CEN; inline;
  21899. begin
  21900. pTDefRegMap(@Self)^.clr := $00008000;
  21901. end;
  21902. procedure TI2C4_I2C4CON.setI2CEN(thebits : TBits_1); inline;
  21903. begin
  21904. if thebits = 0 then
  21905. pTDefRegMap(@Self)^.clr := $00008000
  21906. else
  21907. pTDefRegMap(@Self)^.&set := $00008000;
  21908. end;
  21909. function TI2C4_I2C4CON.getI2CEN : TBits_1; inline;
  21910. begin
  21911. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21912. end;
  21913. procedure TI2C4_I2C4CON.setw(thebits : TBits_32); inline;
  21914. begin
  21915. pTDefRegMap(@Self)^.val := thebits;
  21916. end;
  21917. function TI2C4_I2C4CON.getw : TBits_32; inline;
  21918. begin
  21919. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21920. end;
  21921. procedure TI2C4_I2C2ASTAT.setTBF; inline;
  21922. begin
  21923. pTDefRegMap(@Self)^.&set := $00000001;
  21924. end;
  21925. procedure TI2C4_I2C2ASTAT.clearTBF; inline;
  21926. begin
  21927. pTDefRegMap(@Self)^.clr := $00000001;
  21928. end;
  21929. procedure TI2C4_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  21930. begin
  21931. if thebits = 0 then
  21932. pTDefRegMap(@Self)^.clr := $00000001
  21933. else
  21934. pTDefRegMap(@Self)^.&set := $00000001;
  21935. end;
  21936. function TI2C4_I2C2ASTAT.getTBF : TBits_1; inline;
  21937. begin
  21938. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21939. end;
  21940. procedure TI2C4_I2C2ASTAT.setRBF; inline;
  21941. begin
  21942. pTDefRegMap(@Self)^.&set := $00000002;
  21943. end;
  21944. procedure TI2C4_I2C2ASTAT.clearRBF; inline;
  21945. begin
  21946. pTDefRegMap(@Self)^.clr := $00000002;
  21947. end;
  21948. procedure TI2C4_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  21949. begin
  21950. if thebits = 0 then
  21951. pTDefRegMap(@Self)^.clr := $00000002
  21952. else
  21953. pTDefRegMap(@Self)^.&set := $00000002;
  21954. end;
  21955. function TI2C4_I2C2ASTAT.getRBF : TBits_1; inline;
  21956. begin
  21957. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21958. end;
  21959. procedure TI2C4_I2C2ASTAT.setR_W; inline;
  21960. begin
  21961. pTDefRegMap(@Self)^.&set := $00000004;
  21962. end;
  21963. procedure TI2C4_I2C2ASTAT.clearR_W; inline;
  21964. begin
  21965. pTDefRegMap(@Self)^.clr := $00000004;
  21966. end;
  21967. procedure TI2C4_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  21968. begin
  21969. if thebits = 0 then
  21970. pTDefRegMap(@Self)^.clr := $00000004
  21971. else
  21972. pTDefRegMap(@Self)^.&set := $00000004;
  21973. end;
  21974. function TI2C4_I2C2ASTAT.getR_W : TBits_1; inline;
  21975. begin
  21976. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21977. end;
  21978. procedure TI2C4_I2C2ASTAT.setS; inline;
  21979. begin
  21980. pTDefRegMap(@Self)^.&set := $00000008;
  21981. end;
  21982. procedure TI2C4_I2C2ASTAT.clearS; inline;
  21983. begin
  21984. pTDefRegMap(@Self)^.clr := $00000008;
  21985. end;
  21986. procedure TI2C4_I2C2ASTAT.setS(thebits : TBits_1); inline;
  21987. begin
  21988. if thebits = 0 then
  21989. pTDefRegMap(@Self)^.clr := $00000008
  21990. else
  21991. pTDefRegMap(@Self)^.&set := $00000008;
  21992. end;
  21993. function TI2C4_I2C2ASTAT.getS : TBits_1; inline;
  21994. begin
  21995. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21996. end;
  21997. procedure TI2C4_I2C2ASTAT.setP; inline;
  21998. begin
  21999. pTDefRegMap(@Self)^.&set := $00000010;
  22000. end;
  22001. procedure TI2C4_I2C2ASTAT.clearP; inline;
  22002. begin
  22003. pTDefRegMap(@Self)^.clr := $00000010;
  22004. end;
  22005. procedure TI2C4_I2C2ASTAT.setP(thebits : TBits_1); inline;
  22006. begin
  22007. if thebits = 0 then
  22008. pTDefRegMap(@Self)^.clr := $00000010
  22009. else
  22010. pTDefRegMap(@Self)^.&set := $00000010;
  22011. end;
  22012. function TI2C4_I2C2ASTAT.getP : TBits_1; inline;
  22013. begin
  22014. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22015. end;
  22016. procedure TI2C4_I2C2ASTAT.setD_A; inline;
  22017. begin
  22018. pTDefRegMap(@Self)^.&set := $00000020;
  22019. end;
  22020. procedure TI2C4_I2C2ASTAT.clearD_A; inline;
  22021. begin
  22022. pTDefRegMap(@Self)^.clr := $00000020;
  22023. end;
  22024. procedure TI2C4_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  22025. begin
  22026. if thebits = 0 then
  22027. pTDefRegMap(@Self)^.clr := $00000020
  22028. else
  22029. pTDefRegMap(@Self)^.&set := $00000020;
  22030. end;
  22031. function TI2C4_I2C2ASTAT.getD_A : TBits_1; inline;
  22032. begin
  22033. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22034. end;
  22035. procedure TI2C4_I2C2ASTAT.setI2COV; inline;
  22036. begin
  22037. pTDefRegMap(@Self)^.&set := $00000040;
  22038. end;
  22039. procedure TI2C4_I2C2ASTAT.clearI2COV; inline;
  22040. begin
  22041. pTDefRegMap(@Self)^.clr := $00000040;
  22042. end;
  22043. procedure TI2C4_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  22044. begin
  22045. if thebits = 0 then
  22046. pTDefRegMap(@Self)^.clr := $00000040
  22047. else
  22048. pTDefRegMap(@Self)^.&set := $00000040;
  22049. end;
  22050. function TI2C4_I2C2ASTAT.getI2COV : TBits_1; inline;
  22051. begin
  22052. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22053. end;
  22054. procedure TI2C4_I2C2ASTAT.setIWCOL; inline;
  22055. begin
  22056. pTDefRegMap(@Self)^.&set := $00000080;
  22057. end;
  22058. procedure TI2C4_I2C2ASTAT.clearIWCOL; inline;
  22059. begin
  22060. pTDefRegMap(@Self)^.clr := $00000080;
  22061. end;
  22062. procedure TI2C4_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  22063. begin
  22064. if thebits = 0 then
  22065. pTDefRegMap(@Self)^.clr := $00000080
  22066. else
  22067. pTDefRegMap(@Self)^.&set := $00000080;
  22068. end;
  22069. function TI2C4_I2C2ASTAT.getIWCOL : TBits_1; inline;
  22070. begin
  22071. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22072. end;
  22073. procedure TI2C4_I2C2ASTAT.setADD10; inline;
  22074. begin
  22075. pTDefRegMap(@Self)^.&set := $00000100;
  22076. end;
  22077. procedure TI2C4_I2C2ASTAT.clearADD10; inline;
  22078. begin
  22079. pTDefRegMap(@Self)^.clr := $00000100;
  22080. end;
  22081. procedure TI2C4_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  22082. begin
  22083. if thebits = 0 then
  22084. pTDefRegMap(@Self)^.clr := $00000100
  22085. else
  22086. pTDefRegMap(@Self)^.&set := $00000100;
  22087. end;
  22088. function TI2C4_I2C2ASTAT.getADD10 : TBits_1; inline;
  22089. begin
  22090. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22091. end;
  22092. procedure TI2C4_I2C2ASTAT.setGCSTAT; inline;
  22093. begin
  22094. pTDefRegMap(@Self)^.&set := $00000200;
  22095. end;
  22096. procedure TI2C4_I2C2ASTAT.clearGCSTAT; inline;
  22097. begin
  22098. pTDefRegMap(@Self)^.clr := $00000200;
  22099. end;
  22100. procedure TI2C4_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  22101. begin
  22102. if thebits = 0 then
  22103. pTDefRegMap(@Self)^.clr := $00000200
  22104. else
  22105. pTDefRegMap(@Self)^.&set := $00000200;
  22106. end;
  22107. function TI2C4_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  22108. begin
  22109. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22110. end;
  22111. procedure TI2C4_I2C2ASTAT.setBCL; inline;
  22112. begin
  22113. pTDefRegMap(@Self)^.&set := $00000400;
  22114. end;
  22115. procedure TI2C4_I2C2ASTAT.clearBCL; inline;
  22116. begin
  22117. pTDefRegMap(@Self)^.clr := $00000400;
  22118. end;
  22119. procedure TI2C4_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  22120. begin
  22121. if thebits = 0 then
  22122. pTDefRegMap(@Self)^.clr := $00000400
  22123. else
  22124. pTDefRegMap(@Self)^.&set := $00000400;
  22125. end;
  22126. function TI2C4_I2C2ASTAT.getBCL : TBits_1; inline;
  22127. begin
  22128. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22129. end;
  22130. procedure TI2C4_I2C2ASTAT.setTRSTAT; inline;
  22131. begin
  22132. pTDefRegMap(@Self)^.&set := $00004000;
  22133. end;
  22134. procedure TI2C4_I2C2ASTAT.clearTRSTAT; inline;
  22135. begin
  22136. pTDefRegMap(@Self)^.clr := $00004000;
  22137. end;
  22138. procedure TI2C4_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  22139. begin
  22140. if thebits = 0 then
  22141. pTDefRegMap(@Self)^.clr := $00004000
  22142. else
  22143. pTDefRegMap(@Self)^.&set := $00004000;
  22144. end;
  22145. function TI2C4_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  22146. begin
  22147. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22148. end;
  22149. procedure TI2C4_I2C2ASTAT.setACKSTAT; inline;
  22150. begin
  22151. pTDefRegMap(@Self)^.&set := $00008000;
  22152. end;
  22153. procedure TI2C4_I2C2ASTAT.clearACKSTAT; inline;
  22154. begin
  22155. pTDefRegMap(@Self)^.clr := $00008000;
  22156. end;
  22157. procedure TI2C4_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  22158. begin
  22159. if thebits = 0 then
  22160. pTDefRegMap(@Self)^.clr := $00008000
  22161. else
  22162. pTDefRegMap(@Self)^.&set := $00008000;
  22163. end;
  22164. function TI2C4_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  22165. begin
  22166. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22167. end;
  22168. procedure TI2C4_I2C2ASTAT.setI2CPOV; inline;
  22169. begin
  22170. pTDefRegMap(@Self)^.&set := $00000040;
  22171. end;
  22172. procedure TI2C4_I2C2ASTAT.clearI2CPOV; inline;
  22173. begin
  22174. pTDefRegMap(@Self)^.clr := $00000040;
  22175. end;
  22176. procedure TI2C4_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  22177. begin
  22178. if thebits = 0 then
  22179. pTDefRegMap(@Self)^.clr := $00000040
  22180. else
  22181. pTDefRegMap(@Self)^.&set := $00000040;
  22182. end;
  22183. function TI2C4_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  22184. begin
  22185. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22186. end;
  22187. procedure TI2C4_I2C2ASTAT.setw(thebits : TBits_32); inline;
  22188. begin
  22189. pTDefRegMap(@Self)^.val := thebits;
  22190. end;
  22191. function TI2C4_I2C2ASTAT.getw : TBits_32; inline;
  22192. begin
  22193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22194. end;
  22195. procedure TI2C4_I2C4STAT.setTBF; inline;
  22196. begin
  22197. pTDefRegMap(@Self)^.&set := $00000001;
  22198. end;
  22199. procedure TI2C4_I2C4STAT.clearTBF; inline;
  22200. begin
  22201. pTDefRegMap(@Self)^.clr := $00000001;
  22202. end;
  22203. procedure TI2C4_I2C4STAT.setTBF(thebits : TBits_1); inline;
  22204. begin
  22205. if thebits = 0 then
  22206. pTDefRegMap(@Self)^.clr := $00000001
  22207. else
  22208. pTDefRegMap(@Self)^.&set := $00000001;
  22209. end;
  22210. function TI2C4_I2C4STAT.getTBF : TBits_1; inline;
  22211. begin
  22212. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22213. end;
  22214. procedure TI2C4_I2C4STAT.setRBF; inline;
  22215. begin
  22216. pTDefRegMap(@Self)^.&set := $00000002;
  22217. end;
  22218. procedure TI2C4_I2C4STAT.clearRBF; inline;
  22219. begin
  22220. pTDefRegMap(@Self)^.clr := $00000002;
  22221. end;
  22222. procedure TI2C4_I2C4STAT.setRBF(thebits : TBits_1); inline;
  22223. begin
  22224. if thebits = 0 then
  22225. pTDefRegMap(@Self)^.clr := $00000002
  22226. else
  22227. pTDefRegMap(@Self)^.&set := $00000002;
  22228. end;
  22229. function TI2C4_I2C4STAT.getRBF : TBits_1; inline;
  22230. begin
  22231. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22232. end;
  22233. procedure TI2C4_I2C4STAT.setR_W; inline;
  22234. begin
  22235. pTDefRegMap(@Self)^.&set := $00000004;
  22236. end;
  22237. procedure TI2C4_I2C4STAT.clearR_W; inline;
  22238. begin
  22239. pTDefRegMap(@Self)^.clr := $00000004;
  22240. end;
  22241. procedure TI2C4_I2C4STAT.setR_W(thebits : TBits_1); inline;
  22242. begin
  22243. if thebits = 0 then
  22244. pTDefRegMap(@Self)^.clr := $00000004
  22245. else
  22246. pTDefRegMap(@Self)^.&set := $00000004;
  22247. end;
  22248. function TI2C4_I2C4STAT.getR_W : TBits_1; inline;
  22249. begin
  22250. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22251. end;
  22252. procedure TI2C4_I2C4STAT.setS; inline;
  22253. begin
  22254. pTDefRegMap(@Self)^.&set := $00000008;
  22255. end;
  22256. procedure TI2C4_I2C4STAT.clearS; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.clr := $00000008;
  22259. end;
  22260. procedure TI2C4_I2C4STAT.setS(thebits : TBits_1); inline;
  22261. begin
  22262. if thebits = 0 then
  22263. pTDefRegMap(@Self)^.clr := $00000008
  22264. else
  22265. pTDefRegMap(@Self)^.&set := $00000008;
  22266. end;
  22267. function TI2C4_I2C4STAT.getS : TBits_1; inline;
  22268. begin
  22269. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22270. end;
  22271. procedure TI2C4_I2C4STAT.setP; inline;
  22272. begin
  22273. pTDefRegMap(@Self)^.&set := $00000010;
  22274. end;
  22275. procedure TI2C4_I2C4STAT.clearP; inline;
  22276. begin
  22277. pTDefRegMap(@Self)^.clr := $00000010;
  22278. end;
  22279. procedure TI2C4_I2C4STAT.setP(thebits : TBits_1); inline;
  22280. begin
  22281. if thebits = 0 then
  22282. pTDefRegMap(@Self)^.clr := $00000010
  22283. else
  22284. pTDefRegMap(@Self)^.&set := $00000010;
  22285. end;
  22286. function TI2C4_I2C4STAT.getP : TBits_1; inline;
  22287. begin
  22288. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22289. end;
  22290. procedure TI2C4_I2C4STAT.setD_A; inline;
  22291. begin
  22292. pTDefRegMap(@Self)^.&set := $00000020;
  22293. end;
  22294. procedure TI2C4_I2C4STAT.clearD_A; inline;
  22295. begin
  22296. pTDefRegMap(@Self)^.clr := $00000020;
  22297. end;
  22298. procedure TI2C4_I2C4STAT.setD_A(thebits : TBits_1); inline;
  22299. begin
  22300. if thebits = 0 then
  22301. pTDefRegMap(@Self)^.clr := $00000020
  22302. else
  22303. pTDefRegMap(@Self)^.&set := $00000020;
  22304. end;
  22305. function TI2C4_I2C4STAT.getD_A : TBits_1; inline;
  22306. begin
  22307. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22308. end;
  22309. procedure TI2C4_I2C4STAT.setI2COV; inline;
  22310. begin
  22311. pTDefRegMap(@Self)^.&set := $00000040;
  22312. end;
  22313. procedure TI2C4_I2C4STAT.clearI2COV; inline;
  22314. begin
  22315. pTDefRegMap(@Self)^.clr := $00000040;
  22316. end;
  22317. procedure TI2C4_I2C4STAT.setI2COV(thebits : TBits_1); inline;
  22318. begin
  22319. if thebits = 0 then
  22320. pTDefRegMap(@Self)^.clr := $00000040
  22321. else
  22322. pTDefRegMap(@Self)^.&set := $00000040;
  22323. end;
  22324. function TI2C4_I2C4STAT.getI2COV : TBits_1; inline;
  22325. begin
  22326. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22327. end;
  22328. procedure TI2C4_I2C4STAT.setIWCOL; inline;
  22329. begin
  22330. pTDefRegMap(@Self)^.&set := $00000080;
  22331. end;
  22332. procedure TI2C4_I2C4STAT.clearIWCOL; inline;
  22333. begin
  22334. pTDefRegMap(@Self)^.clr := $00000080;
  22335. end;
  22336. procedure TI2C4_I2C4STAT.setIWCOL(thebits : TBits_1); inline;
  22337. begin
  22338. if thebits = 0 then
  22339. pTDefRegMap(@Self)^.clr := $00000080
  22340. else
  22341. pTDefRegMap(@Self)^.&set := $00000080;
  22342. end;
  22343. function TI2C4_I2C4STAT.getIWCOL : TBits_1; inline;
  22344. begin
  22345. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22346. end;
  22347. procedure TI2C4_I2C4STAT.setADD10; inline;
  22348. begin
  22349. pTDefRegMap(@Self)^.&set := $00000100;
  22350. end;
  22351. procedure TI2C4_I2C4STAT.clearADD10; inline;
  22352. begin
  22353. pTDefRegMap(@Self)^.clr := $00000100;
  22354. end;
  22355. procedure TI2C4_I2C4STAT.setADD10(thebits : TBits_1); inline;
  22356. begin
  22357. if thebits = 0 then
  22358. pTDefRegMap(@Self)^.clr := $00000100
  22359. else
  22360. pTDefRegMap(@Self)^.&set := $00000100;
  22361. end;
  22362. function TI2C4_I2C4STAT.getADD10 : TBits_1; inline;
  22363. begin
  22364. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22365. end;
  22366. procedure TI2C4_I2C4STAT.setGCSTAT; inline;
  22367. begin
  22368. pTDefRegMap(@Self)^.&set := $00000200;
  22369. end;
  22370. procedure TI2C4_I2C4STAT.clearGCSTAT; inline;
  22371. begin
  22372. pTDefRegMap(@Self)^.clr := $00000200;
  22373. end;
  22374. procedure TI2C4_I2C4STAT.setGCSTAT(thebits : TBits_1); inline;
  22375. begin
  22376. if thebits = 0 then
  22377. pTDefRegMap(@Self)^.clr := $00000200
  22378. else
  22379. pTDefRegMap(@Self)^.&set := $00000200;
  22380. end;
  22381. function TI2C4_I2C4STAT.getGCSTAT : TBits_1; inline;
  22382. begin
  22383. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22384. end;
  22385. procedure TI2C4_I2C4STAT.setBCL; inline;
  22386. begin
  22387. pTDefRegMap(@Self)^.&set := $00000400;
  22388. end;
  22389. procedure TI2C4_I2C4STAT.clearBCL; inline;
  22390. begin
  22391. pTDefRegMap(@Self)^.clr := $00000400;
  22392. end;
  22393. procedure TI2C4_I2C4STAT.setBCL(thebits : TBits_1); inline;
  22394. begin
  22395. if thebits = 0 then
  22396. pTDefRegMap(@Self)^.clr := $00000400
  22397. else
  22398. pTDefRegMap(@Self)^.&set := $00000400;
  22399. end;
  22400. function TI2C4_I2C4STAT.getBCL : TBits_1; inline;
  22401. begin
  22402. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22403. end;
  22404. procedure TI2C4_I2C4STAT.setTRSTAT; inline;
  22405. begin
  22406. pTDefRegMap(@Self)^.&set := $00004000;
  22407. end;
  22408. procedure TI2C4_I2C4STAT.clearTRSTAT; inline;
  22409. begin
  22410. pTDefRegMap(@Self)^.clr := $00004000;
  22411. end;
  22412. procedure TI2C4_I2C4STAT.setTRSTAT(thebits : TBits_1); inline;
  22413. begin
  22414. if thebits = 0 then
  22415. pTDefRegMap(@Self)^.clr := $00004000
  22416. else
  22417. pTDefRegMap(@Self)^.&set := $00004000;
  22418. end;
  22419. function TI2C4_I2C4STAT.getTRSTAT : TBits_1; inline;
  22420. begin
  22421. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22422. end;
  22423. procedure TI2C4_I2C4STAT.setACKSTAT; inline;
  22424. begin
  22425. pTDefRegMap(@Self)^.&set := $00008000;
  22426. end;
  22427. procedure TI2C4_I2C4STAT.clearACKSTAT; inline;
  22428. begin
  22429. pTDefRegMap(@Self)^.clr := $00008000;
  22430. end;
  22431. procedure TI2C4_I2C4STAT.setACKSTAT(thebits : TBits_1); inline;
  22432. begin
  22433. if thebits = 0 then
  22434. pTDefRegMap(@Self)^.clr := $00008000
  22435. else
  22436. pTDefRegMap(@Self)^.&set := $00008000;
  22437. end;
  22438. function TI2C4_I2C4STAT.getACKSTAT : TBits_1; inline;
  22439. begin
  22440. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22441. end;
  22442. procedure TI2C4_I2C4STAT.setI2CPOV; inline;
  22443. begin
  22444. pTDefRegMap(@Self)^.&set := $00000040;
  22445. end;
  22446. procedure TI2C4_I2C4STAT.clearI2CPOV; inline;
  22447. begin
  22448. pTDefRegMap(@Self)^.clr := $00000040;
  22449. end;
  22450. procedure TI2C4_I2C4STAT.setI2CPOV(thebits : TBits_1); inline;
  22451. begin
  22452. if thebits = 0 then
  22453. pTDefRegMap(@Self)^.clr := $00000040
  22454. else
  22455. pTDefRegMap(@Self)^.&set := $00000040;
  22456. end;
  22457. function TI2C4_I2C4STAT.getI2CPOV : TBits_1; inline;
  22458. begin
  22459. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22460. end;
  22461. procedure TI2C4_I2C4STAT.setw(thebits : TBits_32); inline;
  22462. begin
  22463. pTDefRegMap(@Self)^.val := thebits;
  22464. end;
  22465. function TI2C4_I2C4STAT.getw : TBits_32; inline;
  22466. begin
  22467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22468. end;
  22469. procedure TI2C3A_I2C3ACON.setSEN; inline;
  22470. begin
  22471. pTDefRegMap(@Self)^.&set := $00000001;
  22472. end;
  22473. procedure TI2C3A_I2C3ACON.clearSEN; inline;
  22474. begin
  22475. pTDefRegMap(@Self)^.clr := $00000001;
  22476. end;
  22477. procedure TI2C3A_I2C3ACON.setSEN(thebits : TBits_1); inline;
  22478. begin
  22479. if thebits = 0 then
  22480. pTDefRegMap(@Self)^.clr := $00000001
  22481. else
  22482. pTDefRegMap(@Self)^.&set := $00000001;
  22483. end;
  22484. function TI2C3A_I2C3ACON.getSEN : TBits_1; inline;
  22485. begin
  22486. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22487. end;
  22488. procedure TI2C3A_I2C3ACON.setRSEN; inline;
  22489. begin
  22490. pTDefRegMap(@Self)^.&set := $00000002;
  22491. end;
  22492. procedure TI2C3A_I2C3ACON.clearRSEN; inline;
  22493. begin
  22494. pTDefRegMap(@Self)^.clr := $00000002;
  22495. end;
  22496. procedure TI2C3A_I2C3ACON.setRSEN(thebits : TBits_1); inline;
  22497. begin
  22498. if thebits = 0 then
  22499. pTDefRegMap(@Self)^.clr := $00000002
  22500. else
  22501. pTDefRegMap(@Self)^.&set := $00000002;
  22502. end;
  22503. function TI2C3A_I2C3ACON.getRSEN : TBits_1; inline;
  22504. begin
  22505. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22506. end;
  22507. procedure TI2C3A_I2C3ACON.setPEN; inline;
  22508. begin
  22509. pTDefRegMap(@Self)^.&set := $00000004;
  22510. end;
  22511. procedure TI2C3A_I2C3ACON.clearPEN; inline;
  22512. begin
  22513. pTDefRegMap(@Self)^.clr := $00000004;
  22514. end;
  22515. procedure TI2C3A_I2C3ACON.setPEN(thebits : TBits_1); inline;
  22516. begin
  22517. if thebits = 0 then
  22518. pTDefRegMap(@Self)^.clr := $00000004
  22519. else
  22520. pTDefRegMap(@Self)^.&set := $00000004;
  22521. end;
  22522. function TI2C3A_I2C3ACON.getPEN : TBits_1; inline;
  22523. begin
  22524. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22525. end;
  22526. procedure TI2C3A_I2C3ACON.setRCEN; inline;
  22527. begin
  22528. pTDefRegMap(@Self)^.&set := $00000008;
  22529. end;
  22530. procedure TI2C3A_I2C3ACON.clearRCEN; inline;
  22531. begin
  22532. pTDefRegMap(@Self)^.clr := $00000008;
  22533. end;
  22534. procedure TI2C3A_I2C3ACON.setRCEN(thebits : TBits_1); inline;
  22535. begin
  22536. if thebits = 0 then
  22537. pTDefRegMap(@Self)^.clr := $00000008
  22538. else
  22539. pTDefRegMap(@Self)^.&set := $00000008;
  22540. end;
  22541. function TI2C3A_I2C3ACON.getRCEN : TBits_1; inline;
  22542. begin
  22543. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22544. end;
  22545. procedure TI2C3A_I2C3ACON.setACKEN; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.&set := $00000010;
  22548. end;
  22549. procedure TI2C3A_I2C3ACON.clearACKEN; inline;
  22550. begin
  22551. pTDefRegMap(@Self)^.clr := $00000010;
  22552. end;
  22553. procedure TI2C3A_I2C3ACON.setACKEN(thebits : TBits_1); inline;
  22554. begin
  22555. if thebits = 0 then
  22556. pTDefRegMap(@Self)^.clr := $00000010
  22557. else
  22558. pTDefRegMap(@Self)^.&set := $00000010;
  22559. end;
  22560. function TI2C3A_I2C3ACON.getACKEN : TBits_1; inline;
  22561. begin
  22562. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22563. end;
  22564. procedure TI2C3A_I2C3ACON.setACKDT; inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.&set := $00000020;
  22567. end;
  22568. procedure TI2C3A_I2C3ACON.clearACKDT; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.clr := $00000020;
  22571. end;
  22572. procedure TI2C3A_I2C3ACON.setACKDT(thebits : TBits_1); inline;
  22573. begin
  22574. if thebits = 0 then
  22575. pTDefRegMap(@Self)^.clr := $00000020
  22576. else
  22577. pTDefRegMap(@Self)^.&set := $00000020;
  22578. end;
  22579. function TI2C3A_I2C3ACON.getACKDT : TBits_1; inline;
  22580. begin
  22581. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22582. end;
  22583. procedure TI2C3A_I2C3ACON.setSTREN; inline;
  22584. begin
  22585. pTDefRegMap(@Self)^.&set := $00000040;
  22586. end;
  22587. procedure TI2C3A_I2C3ACON.clearSTREN; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.clr := $00000040;
  22590. end;
  22591. procedure TI2C3A_I2C3ACON.setSTREN(thebits : TBits_1); inline;
  22592. begin
  22593. if thebits = 0 then
  22594. pTDefRegMap(@Self)^.clr := $00000040
  22595. else
  22596. pTDefRegMap(@Self)^.&set := $00000040;
  22597. end;
  22598. function TI2C3A_I2C3ACON.getSTREN : TBits_1; inline;
  22599. begin
  22600. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22601. end;
  22602. procedure TI2C3A_I2C3ACON.setGCEN; inline;
  22603. begin
  22604. pTDefRegMap(@Self)^.&set := $00000080;
  22605. end;
  22606. procedure TI2C3A_I2C3ACON.clearGCEN; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.clr := $00000080;
  22609. end;
  22610. procedure TI2C3A_I2C3ACON.setGCEN(thebits : TBits_1); inline;
  22611. begin
  22612. if thebits = 0 then
  22613. pTDefRegMap(@Self)^.clr := $00000080
  22614. else
  22615. pTDefRegMap(@Self)^.&set := $00000080;
  22616. end;
  22617. function TI2C3A_I2C3ACON.getGCEN : TBits_1; inline;
  22618. begin
  22619. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22620. end;
  22621. procedure TI2C3A_I2C3ACON.setSMEN; inline;
  22622. begin
  22623. pTDefRegMap(@Self)^.&set := $00000100;
  22624. end;
  22625. procedure TI2C3A_I2C3ACON.clearSMEN; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.clr := $00000100;
  22628. end;
  22629. procedure TI2C3A_I2C3ACON.setSMEN(thebits : TBits_1); inline;
  22630. begin
  22631. if thebits = 0 then
  22632. pTDefRegMap(@Self)^.clr := $00000100
  22633. else
  22634. pTDefRegMap(@Self)^.&set := $00000100;
  22635. end;
  22636. function TI2C3A_I2C3ACON.getSMEN : TBits_1; inline;
  22637. begin
  22638. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22639. end;
  22640. procedure TI2C3A_I2C3ACON.setDISSLW; inline;
  22641. begin
  22642. pTDefRegMap(@Self)^.&set := $00000200;
  22643. end;
  22644. procedure TI2C3A_I2C3ACON.clearDISSLW; inline;
  22645. begin
  22646. pTDefRegMap(@Self)^.clr := $00000200;
  22647. end;
  22648. procedure TI2C3A_I2C3ACON.setDISSLW(thebits : TBits_1); inline;
  22649. begin
  22650. if thebits = 0 then
  22651. pTDefRegMap(@Self)^.clr := $00000200
  22652. else
  22653. pTDefRegMap(@Self)^.&set := $00000200;
  22654. end;
  22655. function TI2C3A_I2C3ACON.getDISSLW : TBits_1; inline;
  22656. begin
  22657. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22658. end;
  22659. procedure TI2C3A_I2C3ACON.setA10M; inline;
  22660. begin
  22661. pTDefRegMap(@Self)^.&set := $00000400;
  22662. end;
  22663. procedure TI2C3A_I2C3ACON.clearA10M; inline;
  22664. begin
  22665. pTDefRegMap(@Self)^.clr := $00000400;
  22666. end;
  22667. procedure TI2C3A_I2C3ACON.setA10M(thebits : TBits_1); inline;
  22668. begin
  22669. if thebits = 0 then
  22670. pTDefRegMap(@Self)^.clr := $00000400
  22671. else
  22672. pTDefRegMap(@Self)^.&set := $00000400;
  22673. end;
  22674. function TI2C3A_I2C3ACON.getA10M : TBits_1; inline;
  22675. begin
  22676. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22677. end;
  22678. procedure TI2C3A_I2C3ACON.setSTRICT; inline;
  22679. begin
  22680. pTDefRegMap(@Self)^.&set := $00000800;
  22681. end;
  22682. procedure TI2C3A_I2C3ACON.clearSTRICT; inline;
  22683. begin
  22684. pTDefRegMap(@Self)^.clr := $00000800;
  22685. end;
  22686. procedure TI2C3A_I2C3ACON.setSTRICT(thebits : TBits_1); inline;
  22687. begin
  22688. if thebits = 0 then
  22689. pTDefRegMap(@Self)^.clr := $00000800
  22690. else
  22691. pTDefRegMap(@Self)^.&set := $00000800;
  22692. end;
  22693. function TI2C3A_I2C3ACON.getSTRICT : TBits_1; inline;
  22694. begin
  22695. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22696. end;
  22697. procedure TI2C3A_I2C3ACON.setSCLREL; inline;
  22698. begin
  22699. pTDefRegMap(@Self)^.&set := $00001000;
  22700. end;
  22701. procedure TI2C3A_I2C3ACON.clearSCLREL; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.clr := $00001000;
  22704. end;
  22705. procedure TI2C3A_I2C3ACON.setSCLREL(thebits : TBits_1); inline;
  22706. begin
  22707. if thebits = 0 then
  22708. pTDefRegMap(@Self)^.clr := $00001000
  22709. else
  22710. pTDefRegMap(@Self)^.&set := $00001000;
  22711. end;
  22712. function TI2C3A_I2C3ACON.getSCLREL : TBits_1; inline;
  22713. begin
  22714. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22715. end;
  22716. procedure TI2C3A_I2C3ACON.setSIDL; inline;
  22717. begin
  22718. pTDefRegMap(@Self)^.&set := $00002000;
  22719. end;
  22720. procedure TI2C3A_I2C3ACON.clearSIDL; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.clr := $00002000;
  22723. end;
  22724. procedure TI2C3A_I2C3ACON.setSIDL(thebits : TBits_1); inline;
  22725. begin
  22726. if thebits = 0 then
  22727. pTDefRegMap(@Self)^.clr := $00002000
  22728. else
  22729. pTDefRegMap(@Self)^.&set := $00002000;
  22730. end;
  22731. function TI2C3A_I2C3ACON.getSIDL : TBits_1; inline;
  22732. begin
  22733. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22734. end;
  22735. procedure TI2C3A_I2C3ACON.setON; inline;
  22736. begin
  22737. pTDefRegMap(@Self)^.&set := $00008000;
  22738. end;
  22739. procedure TI2C3A_I2C3ACON.clearON; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.clr := $00008000;
  22742. end;
  22743. procedure TI2C3A_I2C3ACON.setON(thebits : TBits_1); inline;
  22744. begin
  22745. if thebits = 0 then
  22746. pTDefRegMap(@Self)^.clr := $00008000
  22747. else
  22748. pTDefRegMap(@Self)^.&set := $00008000;
  22749. end;
  22750. function TI2C3A_I2C3ACON.getON : TBits_1; inline;
  22751. begin
  22752. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22753. end;
  22754. procedure TI2C3A_I2C3ACON.setIPMIEN; inline;
  22755. begin
  22756. pTDefRegMap(@Self)^.&set := $00000800;
  22757. end;
  22758. procedure TI2C3A_I2C3ACON.clearIPMIEN; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.clr := $00000800;
  22761. end;
  22762. procedure TI2C3A_I2C3ACON.setIPMIEN(thebits : TBits_1); inline;
  22763. begin
  22764. if thebits = 0 then
  22765. pTDefRegMap(@Self)^.clr := $00000800
  22766. else
  22767. pTDefRegMap(@Self)^.&set := $00000800;
  22768. end;
  22769. function TI2C3A_I2C3ACON.getIPMIEN : TBits_1; inline;
  22770. begin
  22771. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22772. end;
  22773. procedure TI2C3A_I2C3ACON.setI2CSIDL; inline;
  22774. begin
  22775. pTDefRegMap(@Self)^.&set := $00002000;
  22776. end;
  22777. procedure TI2C3A_I2C3ACON.clearI2CSIDL; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.clr := $00002000;
  22780. end;
  22781. procedure TI2C3A_I2C3ACON.setI2CSIDL(thebits : TBits_1); inline;
  22782. begin
  22783. if thebits = 0 then
  22784. pTDefRegMap(@Self)^.clr := $00002000
  22785. else
  22786. pTDefRegMap(@Self)^.&set := $00002000;
  22787. end;
  22788. function TI2C3A_I2C3ACON.getI2CSIDL : TBits_1; inline;
  22789. begin
  22790. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22791. end;
  22792. procedure TI2C3A_I2C3ACON.setI2CEN; inline;
  22793. begin
  22794. pTDefRegMap(@Self)^.&set := $00008000;
  22795. end;
  22796. procedure TI2C3A_I2C3ACON.clearI2CEN; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.clr := $00008000;
  22799. end;
  22800. procedure TI2C3A_I2C3ACON.setI2CEN(thebits : TBits_1); inline;
  22801. begin
  22802. if thebits = 0 then
  22803. pTDefRegMap(@Self)^.clr := $00008000
  22804. else
  22805. pTDefRegMap(@Self)^.&set := $00008000;
  22806. end;
  22807. function TI2C3A_I2C3ACON.getI2CEN : TBits_1; inline;
  22808. begin
  22809. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22810. end;
  22811. procedure TI2C3A_I2C3ACON.setw(thebits : TBits_32); inline;
  22812. begin
  22813. pTDefRegMap(@Self)^.val := thebits;
  22814. end;
  22815. function TI2C3A_I2C3ACON.getw : TBits_32; inline;
  22816. begin
  22817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22818. end;
  22819. procedure TI2C3A_I2C5CON.setSEN; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.&set := $00000001;
  22822. end;
  22823. procedure TI2C3A_I2C5CON.clearSEN; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.clr := $00000001;
  22826. end;
  22827. procedure TI2C3A_I2C5CON.setSEN(thebits : TBits_1); inline;
  22828. begin
  22829. if thebits = 0 then
  22830. pTDefRegMap(@Self)^.clr := $00000001
  22831. else
  22832. pTDefRegMap(@Self)^.&set := $00000001;
  22833. end;
  22834. function TI2C3A_I2C5CON.getSEN : TBits_1; inline;
  22835. begin
  22836. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22837. end;
  22838. procedure TI2C3A_I2C5CON.setRSEN; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.&set := $00000002;
  22841. end;
  22842. procedure TI2C3A_I2C5CON.clearRSEN; inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.clr := $00000002;
  22845. end;
  22846. procedure TI2C3A_I2C5CON.setRSEN(thebits : TBits_1); inline;
  22847. begin
  22848. if thebits = 0 then
  22849. pTDefRegMap(@Self)^.clr := $00000002
  22850. else
  22851. pTDefRegMap(@Self)^.&set := $00000002;
  22852. end;
  22853. function TI2C3A_I2C5CON.getRSEN : TBits_1; inline;
  22854. begin
  22855. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22856. end;
  22857. procedure TI2C3A_I2C5CON.setPEN; inline;
  22858. begin
  22859. pTDefRegMap(@Self)^.&set := $00000004;
  22860. end;
  22861. procedure TI2C3A_I2C5CON.clearPEN; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.clr := $00000004;
  22864. end;
  22865. procedure TI2C3A_I2C5CON.setPEN(thebits : TBits_1); inline;
  22866. begin
  22867. if thebits = 0 then
  22868. pTDefRegMap(@Self)^.clr := $00000004
  22869. else
  22870. pTDefRegMap(@Self)^.&set := $00000004;
  22871. end;
  22872. function TI2C3A_I2C5CON.getPEN : TBits_1; inline;
  22873. begin
  22874. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22875. end;
  22876. procedure TI2C3A_I2C5CON.setRCEN; inline;
  22877. begin
  22878. pTDefRegMap(@Self)^.&set := $00000008;
  22879. end;
  22880. procedure TI2C3A_I2C5CON.clearRCEN; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.clr := $00000008;
  22883. end;
  22884. procedure TI2C3A_I2C5CON.setRCEN(thebits : TBits_1); inline;
  22885. begin
  22886. if thebits = 0 then
  22887. pTDefRegMap(@Self)^.clr := $00000008
  22888. else
  22889. pTDefRegMap(@Self)^.&set := $00000008;
  22890. end;
  22891. function TI2C3A_I2C5CON.getRCEN : TBits_1; inline;
  22892. begin
  22893. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22894. end;
  22895. procedure TI2C3A_I2C5CON.setACKEN; inline;
  22896. begin
  22897. pTDefRegMap(@Self)^.&set := $00000010;
  22898. end;
  22899. procedure TI2C3A_I2C5CON.clearACKEN; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.clr := $00000010;
  22902. end;
  22903. procedure TI2C3A_I2C5CON.setACKEN(thebits : TBits_1); inline;
  22904. begin
  22905. if thebits = 0 then
  22906. pTDefRegMap(@Self)^.clr := $00000010
  22907. else
  22908. pTDefRegMap(@Self)^.&set := $00000010;
  22909. end;
  22910. function TI2C3A_I2C5CON.getACKEN : TBits_1; inline;
  22911. begin
  22912. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22913. end;
  22914. procedure TI2C3A_I2C5CON.setACKDT; inline;
  22915. begin
  22916. pTDefRegMap(@Self)^.&set := $00000020;
  22917. end;
  22918. procedure TI2C3A_I2C5CON.clearACKDT; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.clr := $00000020;
  22921. end;
  22922. procedure TI2C3A_I2C5CON.setACKDT(thebits : TBits_1); inline;
  22923. begin
  22924. if thebits = 0 then
  22925. pTDefRegMap(@Self)^.clr := $00000020
  22926. else
  22927. pTDefRegMap(@Self)^.&set := $00000020;
  22928. end;
  22929. function TI2C3A_I2C5CON.getACKDT : TBits_1; inline;
  22930. begin
  22931. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22932. end;
  22933. procedure TI2C3A_I2C5CON.setSTREN; inline;
  22934. begin
  22935. pTDefRegMap(@Self)^.&set := $00000040;
  22936. end;
  22937. procedure TI2C3A_I2C5CON.clearSTREN; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.clr := $00000040;
  22940. end;
  22941. procedure TI2C3A_I2C5CON.setSTREN(thebits : TBits_1); inline;
  22942. begin
  22943. if thebits = 0 then
  22944. pTDefRegMap(@Self)^.clr := $00000040
  22945. else
  22946. pTDefRegMap(@Self)^.&set := $00000040;
  22947. end;
  22948. function TI2C3A_I2C5CON.getSTREN : TBits_1; inline;
  22949. begin
  22950. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22951. end;
  22952. procedure TI2C3A_I2C5CON.setGCEN; inline;
  22953. begin
  22954. pTDefRegMap(@Self)^.&set := $00000080;
  22955. end;
  22956. procedure TI2C3A_I2C5CON.clearGCEN; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.clr := $00000080;
  22959. end;
  22960. procedure TI2C3A_I2C5CON.setGCEN(thebits : TBits_1); inline;
  22961. begin
  22962. if thebits = 0 then
  22963. pTDefRegMap(@Self)^.clr := $00000080
  22964. else
  22965. pTDefRegMap(@Self)^.&set := $00000080;
  22966. end;
  22967. function TI2C3A_I2C5CON.getGCEN : TBits_1; inline;
  22968. begin
  22969. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22970. end;
  22971. procedure TI2C3A_I2C5CON.setSMEN; inline;
  22972. begin
  22973. pTDefRegMap(@Self)^.&set := $00000100;
  22974. end;
  22975. procedure TI2C3A_I2C5CON.clearSMEN; inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.clr := $00000100;
  22978. end;
  22979. procedure TI2C3A_I2C5CON.setSMEN(thebits : TBits_1); inline;
  22980. begin
  22981. if thebits = 0 then
  22982. pTDefRegMap(@Self)^.clr := $00000100
  22983. else
  22984. pTDefRegMap(@Self)^.&set := $00000100;
  22985. end;
  22986. function TI2C3A_I2C5CON.getSMEN : TBits_1; inline;
  22987. begin
  22988. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22989. end;
  22990. procedure TI2C3A_I2C5CON.setDISSLW; inline;
  22991. begin
  22992. pTDefRegMap(@Self)^.&set := $00000200;
  22993. end;
  22994. procedure TI2C3A_I2C5CON.clearDISSLW; inline;
  22995. begin
  22996. pTDefRegMap(@Self)^.clr := $00000200;
  22997. end;
  22998. procedure TI2C3A_I2C5CON.setDISSLW(thebits : TBits_1); inline;
  22999. begin
  23000. if thebits = 0 then
  23001. pTDefRegMap(@Self)^.clr := $00000200
  23002. else
  23003. pTDefRegMap(@Self)^.&set := $00000200;
  23004. end;
  23005. function TI2C3A_I2C5CON.getDISSLW : TBits_1; inline;
  23006. begin
  23007. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23008. end;
  23009. procedure TI2C3A_I2C5CON.setA10M; inline;
  23010. begin
  23011. pTDefRegMap(@Self)^.&set := $00000400;
  23012. end;
  23013. procedure TI2C3A_I2C5CON.clearA10M; inline;
  23014. begin
  23015. pTDefRegMap(@Self)^.clr := $00000400;
  23016. end;
  23017. procedure TI2C3A_I2C5CON.setA10M(thebits : TBits_1); inline;
  23018. begin
  23019. if thebits = 0 then
  23020. pTDefRegMap(@Self)^.clr := $00000400
  23021. else
  23022. pTDefRegMap(@Self)^.&set := $00000400;
  23023. end;
  23024. function TI2C3A_I2C5CON.getA10M : TBits_1; inline;
  23025. begin
  23026. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23027. end;
  23028. procedure TI2C3A_I2C5CON.setSTRICT; inline;
  23029. begin
  23030. pTDefRegMap(@Self)^.&set := $00000800;
  23031. end;
  23032. procedure TI2C3A_I2C5CON.clearSTRICT; inline;
  23033. begin
  23034. pTDefRegMap(@Self)^.clr := $00000800;
  23035. end;
  23036. procedure TI2C3A_I2C5CON.setSTRICT(thebits : TBits_1); inline;
  23037. begin
  23038. if thebits = 0 then
  23039. pTDefRegMap(@Self)^.clr := $00000800
  23040. else
  23041. pTDefRegMap(@Self)^.&set := $00000800;
  23042. end;
  23043. function TI2C3A_I2C5CON.getSTRICT : TBits_1; inline;
  23044. begin
  23045. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23046. end;
  23047. procedure TI2C3A_I2C5CON.setSCLREL; inline;
  23048. begin
  23049. pTDefRegMap(@Self)^.&set := $00001000;
  23050. end;
  23051. procedure TI2C3A_I2C5CON.clearSCLREL; inline;
  23052. begin
  23053. pTDefRegMap(@Self)^.clr := $00001000;
  23054. end;
  23055. procedure TI2C3A_I2C5CON.setSCLREL(thebits : TBits_1); inline;
  23056. begin
  23057. if thebits = 0 then
  23058. pTDefRegMap(@Self)^.clr := $00001000
  23059. else
  23060. pTDefRegMap(@Self)^.&set := $00001000;
  23061. end;
  23062. function TI2C3A_I2C5CON.getSCLREL : TBits_1; inline;
  23063. begin
  23064. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23065. end;
  23066. procedure TI2C3A_I2C5CON.setSIDL; inline;
  23067. begin
  23068. pTDefRegMap(@Self)^.&set := $00002000;
  23069. end;
  23070. procedure TI2C3A_I2C5CON.clearSIDL; inline;
  23071. begin
  23072. pTDefRegMap(@Self)^.clr := $00002000;
  23073. end;
  23074. procedure TI2C3A_I2C5CON.setSIDL(thebits : TBits_1); inline;
  23075. begin
  23076. if thebits = 0 then
  23077. pTDefRegMap(@Self)^.clr := $00002000
  23078. else
  23079. pTDefRegMap(@Self)^.&set := $00002000;
  23080. end;
  23081. function TI2C3A_I2C5CON.getSIDL : TBits_1; inline;
  23082. begin
  23083. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23084. end;
  23085. procedure TI2C3A_I2C5CON.setON; inline;
  23086. begin
  23087. pTDefRegMap(@Self)^.&set := $00008000;
  23088. end;
  23089. procedure TI2C3A_I2C5CON.clearON; inline;
  23090. begin
  23091. pTDefRegMap(@Self)^.clr := $00008000;
  23092. end;
  23093. procedure TI2C3A_I2C5CON.setON(thebits : TBits_1); inline;
  23094. begin
  23095. if thebits = 0 then
  23096. pTDefRegMap(@Self)^.clr := $00008000
  23097. else
  23098. pTDefRegMap(@Self)^.&set := $00008000;
  23099. end;
  23100. function TI2C3A_I2C5CON.getON : TBits_1; inline;
  23101. begin
  23102. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23103. end;
  23104. procedure TI2C3A_I2C5CON.setIPMIEN; inline;
  23105. begin
  23106. pTDefRegMap(@Self)^.&set := $00000800;
  23107. end;
  23108. procedure TI2C3A_I2C5CON.clearIPMIEN; inline;
  23109. begin
  23110. pTDefRegMap(@Self)^.clr := $00000800;
  23111. end;
  23112. procedure TI2C3A_I2C5CON.setIPMIEN(thebits : TBits_1); inline;
  23113. begin
  23114. if thebits = 0 then
  23115. pTDefRegMap(@Self)^.clr := $00000800
  23116. else
  23117. pTDefRegMap(@Self)^.&set := $00000800;
  23118. end;
  23119. function TI2C3A_I2C5CON.getIPMIEN : TBits_1; inline;
  23120. begin
  23121. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23122. end;
  23123. procedure TI2C3A_I2C5CON.setI2CSIDL; inline;
  23124. begin
  23125. pTDefRegMap(@Self)^.&set := $00002000;
  23126. end;
  23127. procedure TI2C3A_I2C5CON.clearI2CSIDL; inline;
  23128. begin
  23129. pTDefRegMap(@Self)^.clr := $00002000;
  23130. end;
  23131. procedure TI2C3A_I2C5CON.setI2CSIDL(thebits : TBits_1); inline;
  23132. begin
  23133. if thebits = 0 then
  23134. pTDefRegMap(@Self)^.clr := $00002000
  23135. else
  23136. pTDefRegMap(@Self)^.&set := $00002000;
  23137. end;
  23138. function TI2C3A_I2C5CON.getI2CSIDL : TBits_1; inline;
  23139. begin
  23140. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23141. end;
  23142. procedure TI2C3A_I2C5CON.setI2CEN; inline;
  23143. begin
  23144. pTDefRegMap(@Self)^.&set := $00008000;
  23145. end;
  23146. procedure TI2C3A_I2C5CON.clearI2CEN; inline;
  23147. begin
  23148. pTDefRegMap(@Self)^.clr := $00008000;
  23149. end;
  23150. procedure TI2C3A_I2C5CON.setI2CEN(thebits : TBits_1); inline;
  23151. begin
  23152. if thebits = 0 then
  23153. pTDefRegMap(@Self)^.clr := $00008000
  23154. else
  23155. pTDefRegMap(@Self)^.&set := $00008000;
  23156. end;
  23157. function TI2C3A_I2C5CON.getI2CEN : TBits_1; inline;
  23158. begin
  23159. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23160. end;
  23161. procedure TI2C3A_I2C5CON.setw(thebits : TBits_32); inline;
  23162. begin
  23163. pTDefRegMap(@Self)^.val := thebits;
  23164. end;
  23165. function TI2C3A_I2C5CON.getw : TBits_32; inline;
  23166. begin
  23167. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23168. end;
  23169. procedure TI2C3A_I2C3ASTAT.setTBF; inline;
  23170. begin
  23171. pTDefRegMap(@Self)^.&set := $00000001;
  23172. end;
  23173. procedure TI2C3A_I2C3ASTAT.clearTBF; inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.clr := $00000001;
  23176. end;
  23177. procedure TI2C3A_I2C3ASTAT.setTBF(thebits : TBits_1); inline;
  23178. begin
  23179. if thebits = 0 then
  23180. pTDefRegMap(@Self)^.clr := $00000001
  23181. else
  23182. pTDefRegMap(@Self)^.&set := $00000001;
  23183. end;
  23184. function TI2C3A_I2C3ASTAT.getTBF : TBits_1; inline;
  23185. begin
  23186. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23187. end;
  23188. procedure TI2C3A_I2C3ASTAT.setRBF; inline;
  23189. begin
  23190. pTDefRegMap(@Self)^.&set := $00000002;
  23191. end;
  23192. procedure TI2C3A_I2C3ASTAT.clearRBF; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.clr := $00000002;
  23195. end;
  23196. procedure TI2C3A_I2C3ASTAT.setRBF(thebits : TBits_1); inline;
  23197. begin
  23198. if thebits = 0 then
  23199. pTDefRegMap(@Self)^.clr := $00000002
  23200. else
  23201. pTDefRegMap(@Self)^.&set := $00000002;
  23202. end;
  23203. function TI2C3A_I2C3ASTAT.getRBF : TBits_1; inline;
  23204. begin
  23205. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23206. end;
  23207. procedure TI2C3A_I2C3ASTAT.setR_W; inline;
  23208. begin
  23209. pTDefRegMap(@Self)^.&set := $00000004;
  23210. end;
  23211. procedure TI2C3A_I2C3ASTAT.clearR_W; inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.clr := $00000004;
  23214. end;
  23215. procedure TI2C3A_I2C3ASTAT.setR_W(thebits : TBits_1); inline;
  23216. begin
  23217. if thebits = 0 then
  23218. pTDefRegMap(@Self)^.clr := $00000004
  23219. else
  23220. pTDefRegMap(@Self)^.&set := $00000004;
  23221. end;
  23222. function TI2C3A_I2C3ASTAT.getR_W : TBits_1; inline;
  23223. begin
  23224. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23225. end;
  23226. procedure TI2C3A_I2C3ASTAT.setS; inline;
  23227. begin
  23228. pTDefRegMap(@Self)^.&set := $00000008;
  23229. end;
  23230. procedure TI2C3A_I2C3ASTAT.clearS; inline;
  23231. begin
  23232. pTDefRegMap(@Self)^.clr := $00000008;
  23233. end;
  23234. procedure TI2C3A_I2C3ASTAT.setS(thebits : TBits_1); inline;
  23235. begin
  23236. if thebits = 0 then
  23237. pTDefRegMap(@Self)^.clr := $00000008
  23238. else
  23239. pTDefRegMap(@Self)^.&set := $00000008;
  23240. end;
  23241. function TI2C3A_I2C3ASTAT.getS : TBits_1; inline;
  23242. begin
  23243. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23244. end;
  23245. procedure TI2C3A_I2C3ASTAT.setP; inline;
  23246. begin
  23247. pTDefRegMap(@Self)^.&set := $00000010;
  23248. end;
  23249. procedure TI2C3A_I2C3ASTAT.clearP; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.clr := $00000010;
  23252. end;
  23253. procedure TI2C3A_I2C3ASTAT.setP(thebits : TBits_1); inline;
  23254. begin
  23255. if thebits = 0 then
  23256. pTDefRegMap(@Self)^.clr := $00000010
  23257. else
  23258. pTDefRegMap(@Self)^.&set := $00000010;
  23259. end;
  23260. function TI2C3A_I2C3ASTAT.getP : TBits_1; inline;
  23261. begin
  23262. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23263. end;
  23264. procedure TI2C3A_I2C3ASTAT.setD_A; inline;
  23265. begin
  23266. pTDefRegMap(@Self)^.&set := $00000020;
  23267. end;
  23268. procedure TI2C3A_I2C3ASTAT.clearD_A; inline;
  23269. begin
  23270. pTDefRegMap(@Self)^.clr := $00000020;
  23271. end;
  23272. procedure TI2C3A_I2C3ASTAT.setD_A(thebits : TBits_1); inline;
  23273. begin
  23274. if thebits = 0 then
  23275. pTDefRegMap(@Self)^.clr := $00000020
  23276. else
  23277. pTDefRegMap(@Self)^.&set := $00000020;
  23278. end;
  23279. function TI2C3A_I2C3ASTAT.getD_A : TBits_1; inline;
  23280. begin
  23281. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23282. end;
  23283. procedure TI2C3A_I2C3ASTAT.setI2COV; inline;
  23284. begin
  23285. pTDefRegMap(@Self)^.&set := $00000040;
  23286. end;
  23287. procedure TI2C3A_I2C3ASTAT.clearI2COV; inline;
  23288. begin
  23289. pTDefRegMap(@Self)^.clr := $00000040;
  23290. end;
  23291. procedure TI2C3A_I2C3ASTAT.setI2COV(thebits : TBits_1); inline;
  23292. begin
  23293. if thebits = 0 then
  23294. pTDefRegMap(@Self)^.clr := $00000040
  23295. else
  23296. pTDefRegMap(@Self)^.&set := $00000040;
  23297. end;
  23298. function TI2C3A_I2C3ASTAT.getI2COV : TBits_1; inline;
  23299. begin
  23300. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23301. end;
  23302. procedure TI2C3A_I2C3ASTAT.setIWCOL; inline;
  23303. begin
  23304. pTDefRegMap(@Self)^.&set := $00000080;
  23305. end;
  23306. procedure TI2C3A_I2C3ASTAT.clearIWCOL; inline;
  23307. begin
  23308. pTDefRegMap(@Self)^.clr := $00000080;
  23309. end;
  23310. procedure TI2C3A_I2C3ASTAT.setIWCOL(thebits : TBits_1); inline;
  23311. begin
  23312. if thebits = 0 then
  23313. pTDefRegMap(@Self)^.clr := $00000080
  23314. else
  23315. pTDefRegMap(@Self)^.&set := $00000080;
  23316. end;
  23317. function TI2C3A_I2C3ASTAT.getIWCOL : TBits_1; inline;
  23318. begin
  23319. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23320. end;
  23321. procedure TI2C3A_I2C3ASTAT.setADD10; inline;
  23322. begin
  23323. pTDefRegMap(@Self)^.&set := $00000100;
  23324. end;
  23325. procedure TI2C3A_I2C3ASTAT.clearADD10; inline;
  23326. begin
  23327. pTDefRegMap(@Self)^.clr := $00000100;
  23328. end;
  23329. procedure TI2C3A_I2C3ASTAT.setADD10(thebits : TBits_1); inline;
  23330. begin
  23331. if thebits = 0 then
  23332. pTDefRegMap(@Self)^.clr := $00000100
  23333. else
  23334. pTDefRegMap(@Self)^.&set := $00000100;
  23335. end;
  23336. function TI2C3A_I2C3ASTAT.getADD10 : TBits_1; inline;
  23337. begin
  23338. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23339. end;
  23340. procedure TI2C3A_I2C3ASTAT.setGCSTAT; inline;
  23341. begin
  23342. pTDefRegMap(@Self)^.&set := $00000200;
  23343. end;
  23344. procedure TI2C3A_I2C3ASTAT.clearGCSTAT; inline;
  23345. begin
  23346. pTDefRegMap(@Self)^.clr := $00000200;
  23347. end;
  23348. procedure TI2C3A_I2C3ASTAT.setGCSTAT(thebits : TBits_1); inline;
  23349. begin
  23350. if thebits = 0 then
  23351. pTDefRegMap(@Self)^.clr := $00000200
  23352. else
  23353. pTDefRegMap(@Self)^.&set := $00000200;
  23354. end;
  23355. function TI2C3A_I2C3ASTAT.getGCSTAT : TBits_1; inline;
  23356. begin
  23357. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23358. end;
  23359. procedure TI2C3A_I2C3ASTAT.setBCL; inline;
  23360. begin
  23361. pTDefRegMap(@Self)^.&set := $00000400;
  23362. end;
  23363. procedure TI2C3A_I2C3ASTAT.clearBCL; inline;
  23364. begin
  23365. pTDefRegMap(@Self)^.clr := $00000400;
  23366. end;
  23367. procedure TI2C3A_I2C3ASTAT.setBCL(thebits : TBits_1); inline;
  23368. begin
  23369. if thebits = 0 then
  23370. pTDefRegMap(@Self)^.clr := $00000400
  23371. else
  23372. pTDefRegMap(@Self)^.&set := $00000400;
  23373. end;
  23374. function TI2C3A_I2C3ASTAT.getBCL : TBits_1; inline;
  23375. begin
  23376. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23377. end;
  23378. procedure TI2C3A_I2C3ASTAT.setTRSTAT; inline;
  23379. begin
  23380. pTDefRegMap(@Self)^.&set := $00004000;
  23381. end;
  23382. procedure TI2C3A_I2C3ASTAT.clearTRSTAT; inline;
  23383. begin
  23384. pTDefRegMap(@Self)^.clr := $00004000;
  23385. end;
  23386. procedure TI2C3A_I2C3ASTAT.setTRSTAT(thebits : TBits_1); inline;
  23387. begin
  23388. if thebits = 0 then
  23389. pTDefRegMap(@Self)^.clr := $00004000
  23390. else
  23391. pTDefRegMap(@Self)^.&set := $00004000;
  23392. end;
  23393. function TI2C3A_I2C3ASTAT.getTRSTAT : TBits_1; inline;
  23394. begin
  23395. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23396. end;
  23397. procedure TI2C3A_I2C3ASTAT.setACKSTAT; inline;
  23398. begin
  23399. pTDefRegMap(@Self)^.&set := $00008000;
  23400. end;
  23401. procedure TI2C3A_I2C3ASTAT.clearACKSTAT; inline;
  23402. begin
  23403. pTDefRegMap(@Self)^.clr := $00008000;
  23404. end;
  23405. procedure TI2C3A_I2C3ASTAT.setACKSTAT(thebits : TBits_1); inline;
  23406. begin
  23407. if thebits = 0 then
  23408. pTDefRegMap(@Self)^.clr := $00008000
  23409. else
  23410. pTDefRegMap(@Self)^.&set := $00008000;
  23411. end;
  23412. function TI2C3A_I2C3ASTAT.getACKSTAT : TBits_1; inline;
  23413. begin
  23414. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23415. end;
  23416. procedure TI2C3A_I2C3ASTAT.setI2CPOV; inline;
  23417. begin
  23418. pTDefRegMap(@Self)^.&set := $00000040;
  23419. end;
  23420. procedure TI2C3A_I2C3ASTAT.clearI2CPOV; inline;
  23421. begin
  23422. pTDefRegMap(@Self)^.clr := $00000040;
  23423. end;
  23424. procedure TI2C3A_I2C3ASTAT.setI2CPOV(thebits : TBits_1); inline;
  23425. begin
  23426. if thebits = 0 then
  23427. pTDefRegMap(@Self)^.clr := $00000040
  23428. else
  23429. pTDefRegMap(@Self)^.&set := $00000040;
  23430. end;
  23431. function TI2C3A_I2C3ASTAT.getI2CPOV : TBits_1; inline;
  23432. begin
  23433. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23434. end;
  23435. procedure TI2C3A_I2C3ASTAT.setw(thebits : TBits_32); inline;
  23436. begin
  23437. pTDefRegMap(@Self)^.val := thebits;
  23438. end;
  23439. function TI2C3A_I2C3ASTAT.getw : TBits_32; inline;
  23440. begin
  23441. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23442. end;
  23443. procedure TI2C3A_I2C5STAT.setTBF; inline;
  23444. begin
  23445. pTDefRegMap(@Self)^.&set := $00000001;
  23446. end;
  23447. procedure TI2C3A_I2C5STAT.clearTBF; inline;
  23448. begin
  23449. pTDefRegMap(@Self)^.clr := $00000001;
  23450. end;
  23451. procedure TI2C3A_I2C5STAT.setTBF(thebits : TBits_1); inline;
  23452. begin
  23453. if thebits = 0 then
  23454. pTDefRegMap(@Self)^.clr := $00000001
  23455. else
  23456. pTDefRegMap(@Self)^.&set := $00000001;
  23457. end;
  23458. function TI2C3A_I2C5STAT.getTBF : TBits_1; inline;
  23459. begin
  23460. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23461. end;
  23462. procedure TI2C3A_I2C5STAT.setRBF; inline;
  23463. begin
  23464. pTDefRegMap(@Self)^.&set := $00000002;
  23465. end;
  23466. procedure TI2C3A_I2C5STAT.clearRBF; inline;
  23467. begin
  23468. pTDefRegMap(@Self)^.clr := $00000002;
  23469. end;
  23470. procedure TI2C3A_I2C5STAT.setRBF(thebits : TBits_1); inline;
  23471. begin
  23472. if thebits = 0 then
  23473. pTDefRegMap(@Self)^.clr := $00000002
  23474. else
  23475. pTDefRegMap(@Self)^.&set := $00000002;
  23476. end;
  23477. function TI2C3A_I2C5STAT.getRBF : TBits_1; inline;
  23478. begin
  23479. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23480. end;
  23481. procedure TI2C3A_I2C5STAT.setR_W; inline;
  23482. begin
  23483. pTDefRegMap(@Self)^.&set := $00000004;
  23484. end;
  23485. procedure TI2C3A_I2C5STAT.clearR_W; inline;
  23486. begin
  23487. pTDefRegMap(@Self)^.clr := $00000004;
  23488. end;
  23489. procedure TI2C3A_I2C5STAT.setR_W(thebits : TBits_1); inline;
  23490. begin
  23491. if thebits = 0 then
  23492. pTDefRegMap(@Self)^.clr := $00000004
  23493. else
  23494. pTDefRegMap(@Self)^.&set := $00000004;
  23495. end;
  23496. function TI2C3A_I2C5STAT.getR_W : TBits_1; inline;
  23497. begin
  23498. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23499. end;
  23500. procedure TI2C3A_I2C5STAT.setS; inline;
  23501. begin
  23502. pTDefRegMap(@Self)^.&set := $00000008;
  23503. end;
  23504. procedure TI2C3A_I2C5STAT.clearS; inline;
  23505. begin
  23506. pTDefRegMap(@Self)^.clr := $00000008;
  23507. end;
  23508. procedure TI2C3A_I2C5STAT.setS(thebits : TBits_1); inline;
  23509. begin
  23510. if thebits = 0 then
  23511. pTDefRegMap(@Self)^.clr := $00000008
  23512. else
  23513. pTDefRegMap(@Self)^.&set := $00000008;
  23514. end;
  23515. function TI2C3A_I2C5STAT.getS : TBits_1; inline;
  23516. begin
  23517. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23518. end;
  23519. procedure TI2C3A_I2C5STAT.setP; inline;
  23520. begin
  23521. pTDefRegMap(@Self)^.&set := $00000010;
  23522. end;
  23523. procedure TI2C3A_I2C5STAT.clearP; inline;
  23524. begin
  23525. pTDefRegMap(@Self)^.clr := $00000010;
  23526. end;
  23527. procedure TI2C3A_I2C5STAT.setP(thebits : TBits_1); inline;
  23528. begin
  23529. if thebits = 0 then
  23530. pTDefRegMap(@Self)^.clr := $00000010
  23531. else
  23532. pTDefRegMap(@Self)^.&set := $00000010;
  23533. end;
  23534. function TI2C3A_I2C5STAT.getP : TBits_1; inline;
  23535. begin
  23536. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23537. end;
  23538. procedure TI2C3A_I2C5STAT.setD_A; inline;
  23539. begin
  23540. pTDefRegMap(@Self)^.&set := $00000020;
  23541. end;
  23542. procedure TI2C3A_I2C5STAT.clearD_A; inline;
  23543. begin
  23544. pTDefRegMap(@Self)^.clr := $00000020;
  23545. end;
  23546. procedure TI2C3A_I2C5STAT.setD_A(thebits : TBits_1); inline;
  23547. begin
  23548. if thebits = 0 then
  23549. pTDefRegMap(@Self)^.clr := $00000020
  23550. else
  23551. pTDefRegMap(@Self)^.&set := $00000020;
  23552. end;
  23553. function TI2C3A_I2C5STAT.getD_A : TBits_1; inline;
  23554. begin
  23555. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23556. end;
  23557. procedure TI2C3A_I2C5STAT.setI2COV; inline;
  23558. begin
  23559. pTDefRegMap(@Self)^.&set := $00000040;
  23560. end;
  23561. procedure TI2C3A_I2C5STAT.clearI2COV; inline;
  23562. begin
  23563. pTDefRegMap(@Self)^.clr := $00000040;
  23564. end;
  23565. procedure TI2C3A_I2C5STAT.setI2COV(thebits : TBits_1); inline;
  23566. begin
  23567. if thebits = 0 then
  23568. pTDefRegMap(@Self)^.clr := $00000040
  23569. else
  23570. pTDefRegMap(@Self)^.&set := $00000040;
  23571. end;
  23572. function TI2C3A_I2C5STAT.getI2COV : TBits_1; inline;
  23573. begin
  23574. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23575. end;
  23576. procedure TI2C3A_I2C5STAT.setIWCOL; inline;
  23577. begin
  23578. pTDefRegMap(@Self)^.&set := $00000080;
  23579. end;
  23580. procedure TI2C3A_I2C5STAT.clearIWCOL; inline;
  23581. begin
  23582. pTDefRegMap(@Self)^.clr := $00000080;
  23583. end;
  23584. procedure TI2C3A_I2C5STAT.setIWCOL(thebits : TBits_1); inline;
  23585. begin
  23586. if thebits = 0 then
  23587. pTDefRegMap(@Self)^.clr := $00000080
  23588. else
  23589. pTDefRegMap(@Self)^.&set := $00000080;
  23590. end;
  23591. function TI2C3A_I2C5STAT.getIWCOL : TBits_1; inline;
  23592. begin
  23593. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23594. end;
  23595. procedure TI2C3A_I2C5STAT.setADD10; inline;
  23596. begin
  23597. pTDefRegMap(@Self)^.&set := $00000100;
  23598. end;
  23599. procedure TI2C3A_I2C5STAT.clearADD10; inline;
  23600. begin
  23601. pTDefRegMap(@Self)^.clr := $00000100;
  23602. end;
  23603. procedure TI2C3A_I2C5STAT.setADD10(thebits : TBits_1); inline;
  23604. begin
  23605. if thebits = 0 then
  23606. pTDefRegMap(@Self)^.clr := $00000100
  23607. else
  23608. pTDefRegMap(@Self)^.&set := $00000100;
  23609. end;
  23610. function TI2C3A_I2C5STAT.getADD10 : TBits_1; inline;
  23611. begin
  23612. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23613. end;
  23614. procedure TI2C3A_I2C5STAT.setGCSTAT; inline;
  23615. begin
  23616. pTDefRegMap(@Self)^.&set := $00000200;
  23617. end;
  23618. procedure TI2C3A_I2C5STAT.clearGCSTAT; inline;
  23619. begin
  23620. pTDefRegMap(@Self)^.clr := $00000200;
  23621. end;
  23622. procedure TI2C3A_I2C5STAT.setGCSTAT(thebits : TBits_1); inline;
  23623. begin
  23624. if thebits = 0 then
  23625. pTDefRegMap(@Self)^.clr := $00000200
  23626. else
  23627. pTDefRegMap(@Self)^.&set := $00000200;
  23628. end;
  23629. function TI2C3A_I2C5STAT.getGCSTAT : TBits_1; inline;
  23630. begin
  23631. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23632. end;
  23633. procedure TI2C3A_I2C5STAT.setBCL; inline;
  23634. begin
  23635. pTDefRegMap(@Self)^.&set := $00000400;
  23636. end;
  23637. procedure TI2C3A_I2C5STAT.clearBCL; inline;
  23638. begin
  23639. pTDefRegMap(@Self)^.clr := $00000400;
  23640. end;
  23641. procedure TI2C3A_I2C5STAT.setBCL(thebits : TBits_1); inline;
  23642. begin
  23643. if thebits = 0 then
  23644. pTDefRegMap(@Self)^.clr := $00000400
  23645. else
  23646. pTDefRegMap(@Self)^.&set := $00000400;
  23647. end;
  23648. function TI2C3A_I2C5STAT.getBCL : TBits_1; inline;
  23649. begin
  23650. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23651. end;
  23652. procedure TI2C3A_I2C5STAT.setTRSTAT; inline;
  23653. begin
  23654. pTDefRegMap(@Self)^.&set := $00004000;
  23655. end;
  23656. procedure TI2C3A_I2C5STAT.clearTRSTAT; inline;
  23657. begin
  23658. pTDefRegMap(@Self)^.clr := $00004000;
  23659. end;
  23660. procedure TI2C3A_I2C5STAT.setTRSTAT(thebits : TBits_1); inline;
  23661. begin
  23662. if thebits = 0 then
  23663. pTDefRegMap(@Self)^.clr := $00004000
  23664. else
  23665. pTDefRegMap(@Self)^.&set := $00004000;
  23666. end;
  23667. function TI2C3A_I2C5STAT.getTRSTAT : TBits_1; inline;
  23668. begin
  23669. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23670. end;
  23671. procedure TI2C3A_I2C5STAT.setACKSTAT; inline;
  23672. begin
  23673. pTDefRegMap(@Self)^.&set := $00008000;
  23674. end;
  23675. procedure TI2C3A_I2C5STAT.clearACKSTAT; inline;
  23676. begin
  23677. pTDefRegMap(@Self)^.clr := $00008000;
  23678. end;
  23679. procedure TI2C3A_I2C5STAT.setACKSTAT(thebits : TBits_1); inline;
  23680. begin
  23681. if thebits = 0 then
  23682. pTDefRegMap(@Self)^.clr := $00008000
  23683. else
  23684. pTDefRegMap(@Self)^.&set := $00008000;
  23685. end;
  23686. function TI2C3A_I2C5STAT.getACKSTAT : TBits_1; inline;
  23687. begin
  23688. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23689. end;
  23690. procedure TI2C3A_I2C5STAT.setI2CPOV; inline;
  23691. begin
  23692. pTDefRegMap(@Self)^.&set := $00000040;
  23693. end;
  23694. procedure TI2C3A_I2C5STAT.clearI2CPOV; inline;
  23695. begin
  23696. pTDefRegMap(@Self)^.clr := $00000040;
  23697. end;
  23698. procedure TI2C3A_I2C5STAT.setI2CPOV(thebits : TBits_1); inline;
  23699. begin
  23700. if thebits = 0 then
  23701. pTDefRegMap(@Self)^.clr := $00000040
  23702. else
  23703. pTDefRegMap(@Self)^.&set := $00000040;
  23704. end;
  23705. function TI2C3A_I2C5STAT.getI2CPOV : TBits_1; inline;
  23706. begin
  23707. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23708. end;
  23709. procedure TI2C3A_I2C5STAT.setw(thebits : TBits_32); inline;
  23710. begin
  23711. pTDefRegMap(@Self)^.val := thebits;
  23712. end;
  23713. function TI2C3A_I2C5STAT.getw : TBits_32; inline;
  23714. begin
  23715. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23716. end;
  23717. procedure TI2C1_I2C1CON.setSEN; inline;
  23718. begin
  23719. pTDefRegMap(@Self)^.&set := $00000001;
  23720. end;
  23721. procedure TI2C1_I2C1CON.clearSEN; inline;
  23722. begin
  23723. pTDefRegMap(@Self)^.clr := $00000001;
  23724. end;
  23725. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  23726. begin
  23727. if thebits = 0 then
  23728. pTDefRegMap(@Self)^.clr := $00000001
  23729. else
  23730. pTDefRegMap(@Self)^.&set := $00000001;
  23731. end;
  23732. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  23733. begin
  23734. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23735. end;
  23736. procedure TI2C1_I2C1CON.setRSEN; inline;
  23737. begin
  23738. pTDefRegMap(@Self)^.&set := $00000002;
  23739. end;
  23740. procedure TI2C1_I2C1CON.clearRSEN; inline;
  23741. begin
  23742. pTDefRegMap(@Self)^.clr := $00000002;
  23743. end;
  23744. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  23745. begin
  23746. if thebits = 0 then
  23747. pTDefRegMap(@Self)^.clr := $00000002
  23748. else
  23749. pTDefRegMap(@Self)^.&set := $00000002;
  23750. end;
  23751. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  23752. begin
  23753. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23754. end;
  23755. procedure TI2C1_I2C1CON.setPEN; inline;
  23756. begin
  23757. pTDefRegMap(@Self)^.&set := $00000004;
  23758. end;
  23759. procedure TI2C1_I2C1CON.clearPEN; inline;
  23760. begin
  23761. pTDefRegMap(@Self)^.clr := $00000004;
  23762. end;
  23763. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  23764. begin
  23765. if thebits = 0 then
  23766. pTDefRegMap(@Self)^.clr := $00000004
  23767. else
  23768. pTDefRegMap(@Self)^.&set := $00000004;
  23769. end;
  23770. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  23771. begin
  23772. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23773. end;
  23774. procedure TI2C1_I2C1CON.setRCEN; inline;
  23775. begin
  23776. pTDefRegMap(@Self)^.&set := $00000008;
  23777. end;
  23778. procedure TI2C1_I2C1CON.clearRCEN; inline;
  23779. begin
  23780. pTDefRegMap(@Self)^.clr := $00000008;
  23781. end;
  23782. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  23783. begin
  23784. if thebits = 0 then
  23785. pTDefRegMap(@Self)^.clr := $00000008
  23786. else
  23787. pTDefRegMap(@Self)^.&set := $00000008;
  23788. end;
  23789. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  23790. begin
  23791. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23792. end;
  23793. procedure TI2C1_I2C1CON.setACKEN; inline;
  23794. begin
  23795. pTDefRegMap(@Self)^.&set := $00000010;
  23796. end;
  23797. procedure TI2C1_I2C1CON.clearACKEN; inline;
  23798. begin
  23799. pTDefRegMap(@Self)^.clr := $00000010;
  23800. end;
  23801. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  23802. begin
  23803. if thebits = 0 then
  23804. pTDefRegMap(@Self)^.clr := $00000010
  23805. else
  23806. pTDefRegMap(@Self)^.&set := $00000010;
  23807. end;
  23808. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  23809. begin
  23810. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23811. end;
  23812. procedure TI2C1_I2C1CON.setACKDT; inline;
  23813. begin
  23814. pTDefRegMap(@Self)^.&set := $00000020;
  23815. end;
  23816. procedure TI2C1_I2C1CON.clearACKDT; inline;
  23817. begin
  23818. pTDefRegMap(@Self)^.clr := $00000020;
  23819. end;
  23820. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  23821. begin
  23822. if thebits = 0 then
  23823. pTDefRegMap(@Self)^.clr := $00000020
  23824. else
  23825. pTDefRegMap(@Self)^.&set := $00000020;
  23826. end;
  23827. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  23828. begin
  23829. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23830. end;
  23831. procedure TI2C1_I2C1CON.setSTREN; inline;
  23832. begin
  23833. pTDefRegMap(@Self)^.&set := $00000040;
  23834. end;
  23835. procedure TI2C1_I2C1CON.clearSTREN; inline;
  23836. begin
  23837. pTDefRegMap(@Self)^.clr := $00000040;
  23838. end;
  23839. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  23840. begin
  23841. if thebits = 0 then
  23842. pTDefRegMap(@Self)^.clr := $00000040
  23843. else
  23844. pTDefRegMap(@Self)^.&set := $00000040;
  23845. end;
  23846. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  23847. begin
  23848. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23849. end;
  23850. procedure TI2C1_I2C1CON.setGCEN; inline;
  23851. begin
  23852. pTDefRegMap(@Self)^.&set := $00000080;
  23853. end;
  23854. procedure TI2C1_I2C1CON.clearGCEN; inline;
  23855. begin
  23856. pTDefRegMap(@Self)^.clr := $00000080;
  23857. end;
  23858. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  23859. begin
  23860. if thebits = 0 then
  23861. pTDefRegMap(@Self)^.clr := $00000080
  23862. else
  23863. pTDefRegMap(@Self)^.&set := $00000080;
  23864. end;
  23865. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  23866. begin
  23867. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23868. end;
  23869. procedure TI2C1_I2C1CON.setSMEN; inline;
  23870. begin
  23871. pTDefRegMap(@Self)^.&set := $00000100;
  23872. end;
  23873. procedure TI2C1_I2C1CON.clearSMEN; inline;
  23874. begin
  23875. pTDefRegMap(@Self)^.clr := $00000100;
  23876. end;
  23877. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  23878. begin
  23879. if thebits = 0 then
  23880. pTDefRegMap(@Self)^.clr := $00000100
  23881. else
  23882. pTDefRegMap(@Self)^.&set := $00000100;
  23883. end;
  23884. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  23885. begin
  23886. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23887. end;
  23888. procedure TI2C1_I2C1CON.setDISSLW; inline;
  23889. begin
  23890. pTDefRegMap(@Self)^.&set := $00000200;
  23891. end;
  23892. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  23893. begin
  23894. pTDefRegMap(@Self)^.clr := $00000200;
  23895. end;
  23896. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  23897. begin
  23898. if thebits = 0 then
  23899. pTDefRegMap(@Self)^.clr := $00000200
  23900. else
  23901. pTDefRegMap(@Self)^.&set := $00000200;
  23902. end;
  23903. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  23904. begin
  23905. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23906. end;
  23907. procedure TI2C1_I2C1CON.setA10M; inline;
  23908. begin
  23909. pTDefRegMap(@Self)^.&set := $00000400;
  23910. end;
  23911. procedure TI2C1_I2C1CON.clearA10M; inline;
  23912. begin
  23913. pTDefRegMap(@Self)^.clr := $00000400;
  23914. end;
  23915. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  23916. begin
  23917. if thebits = 0 then
  23918. pTDefRegMap(@Self)^.clr := $00000400
  23919. else
  23920. pTDefRegMap(@Self)^.&set := $00000400;
  23921. end;
  23922. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  23923. begin
  23924. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23925. end;
  23926. procedure TI2C1_I2C1CON.setSTRICT; inline;
  23927. begin
  23928. pTDefRegMap(@Self)^.&set := $00000800;
  23929. end;
  23930. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  23931. begin
  23932. pTDefRegMap(@Self)^.clr := $00000800;
  23933. end;
  23934. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  23935. begin
  23936. if thebits = 0 then
  23937. pTDefRegMap(@Self)^.clr := $00000800
  23938. else
  23939. pTDefRegMap(@Self)^.&set := $00000800;
  23940. end;
  23941. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  23942. begin
  23943. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23944. end;
  23945. procedure TI2C1_I2C1CON.setSCLREL; inline;
  23946. begin
  23947. pTDefRegMap(@Self)^.&set := $00001000;
  23948. end;
  23949. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  23950. begin
  23951. pTDefRegMap(@Self)^.clr := $00001000;
  23952. end;
  23953. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  23954. begin
  23955. if thebits = 0 then
  23956. pTDefRegMap(@Self)^.clr := $00001000
  23957. else
  23958. pTDefRegMap(@Self)^.&set := $00001000;
  23959. end;
  23960. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  23961. begin
  23962. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23963. end;
  23964. procedure TI2C1_I2C1CON.setSIDL; inline;
  23965. begin
  23966. pTDefRegMap(@Self)^.&set := $00002000;
  23967. end;
  23968. procedure TI2C1_I2C1CON.clearSIDL; inline;
  23969. begin
  23970. pTDefRegMap(@Self)^.clr := $00002000;
  23971. end;
  23972. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  23973. begin
  23974. if thebits = 0 then
  23975. pTDefRegMap(@Self)^.clr := $00002000
  23976. else
  23977. pTDefRegMap(@Self)^.&set := $00002000;
  23978. end;
  23979. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  23980. begin
  23981. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23982. end;
  23983. procedure TI2C1_I2C1CON.setON; inline;
  23984. begin
  23985. pTDefRegMap(@Self)^.&set := $00008000;
  23986. end;
  23987. procedure TI2C1_I2C1CON.clearON; inline;
  23988. begin
  23989. pTDefRegMap(@Self)^.clr := $00008000;
  23990. end;
  23991. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  23992. begin
  23993. if thebits = 0 then
  23994. pTDefRegMap(@Self)^.clr := $00008000
  23995. else
  23996. pTDefRegMap(@Self)^.&set := $00008000;
  23997. end;
  23998. function TI2C1_I2C1CON.getON : TBits_1; inline;
  23999. begin
  24000. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24001. end;
  24002. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  24003. begin
  24004. pTDefRegMap(@Self)^.&set := $00000800;
  24005. end;
  24006. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  24007. begin
  24008. pTDefRegMap(@Self)^.clr := $00000800;
  24009. end;
  24010. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  24011. begin
  24012. if thebits = 0 then
  24013. pTDefRegMap(@Self)^.clr := $00000800
  24014. else
  24015. pTDefRegMap(@Self)^.&set := $00000800;
  24016. end;
  24017. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  24018. begin
  24019. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24020. end;
  24021. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  24022. begin
  24023. pTDefRegMap(@Self)^.&set := $00002000;
  24024. end;
  24025. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  24026. begin
  24027. pTDefRegMap(@Self)^.clr := $00002000;
  24028. end;
  24029. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  24030. begin
  24031. if thebits = 0 then
  24032. pTDefRegMap(@Self)^.clr := $00002000
  24033. else
  24034. pTDefRegMap(@Self)^.&set := $00002000;
  24035. end;
  24036. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  24037. begin
  24038. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24039. end;
  24040. procedure TI2C1_I2C1CON.setI2CEN; inline;
  24041. begin
  24042. pTDefRegMap(@Self)^.&set := $00008000;
  24043. end;
  24044. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.clr := $00008000;
  24047. end;
  24048. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  24049. begin
  24050. if thebits = 0 then
  24051. pTDefRegMap(@Self)^.clr := $00008000
  24052. else
  24053. pTDefRegMap(@Self)^.&set := $00008000;
  24054. end;
  24055. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  24056. begin
  24057. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24058. end;
  24059. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  24060. begin
  24061. pTDefRegMap(@Self)^.val := thebits;
  24062. end;
  24063. function TI2C1_I2C1CON.getw : TBits_32; inline;
  24064. begin
  24065. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24066. end;
  24067. procedure TI2C1_I2C1STAT.setTBF; inline;
  24068. begin
  24069. pTDefRegMap(@Self)^.&set := $00000001;
  24070. end;
  24071. procedure TI2C1_I2C1STAT.clearTBF; inline;
  24072. begin
  24073. pTDefRegMap(@Self)^.clr := $00000001;
  24074. end;
  24075. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  24076. begin
  24077. if thebits = 0 then
  24078. pTDefRegMap(@Self)^.clr := $00000001
  24079. else
  24080. pTDefRegMap(@Self)^.&set := $00000001;
  24081. end;
  24082. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  24083. begin
  24084. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24085. end;
  24086. procedure TI2C1_I2C1STAT.setRBF; inline;
  24087. begin
  24088. pTDefRegMap(@Self)^.&set := $00000002;
  24089. end;
  24090. procedure TI2C1_I2C1STAT.clearRBF; inline;
  24091. begin
  24092. pTDefRegMap(@Self)^.clr := $00000002;
  24093. end;
  24094. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  24095. begin
  24096. if thebits = 0 then
  24097. pTDefRegMap(@Self)^.clr := $00000002
  24098. else
  24099. pTDefRegMap(@Self)^.&set := $00000002;
  24100. end;
  24101. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  24102. begin
  24103. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24104. end;
  24105. procedure TI2C1_I2C1STAT.setR_W; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.&set := $00000004;
  24108. end;
  24109. procedure TI2C1_I2C1STAT.clearR_W; inline;
  24110. begin
  24111. pTDefRegMap(@Self)^.clr := $00000004;
  24112. end;
  24113. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  24114. begin
  24115. if thebits = 0 then
  24116. pTDefRegMap(@Self)^.clr := $00000004
  24117. else
  24118. pTDefRegMap(@Self)^.&set := $00000004;
  24119. end;
  24120. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  24121. begin
  24122. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24123. end;
  24124. procedure TI2C1_I2C1STAT.setS; inline;
  24125. begin
  24126. pTDefRegMap(@Self)^.&set := $00000008;
  24127. end;
  24128. procedure TI2C1_I2C1STAT.clearS; inline;
  24129. begin
  24130. pTDefRegMap(@Self)^.clr := $00000008;
  24131. end;
  24132. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  24133. begin
  24134. if thebits = 0 then
  24135. pTDefRegMap(@Self)^.clr := $00000008
  24136. else
  24137. pTDefRegMap(@Self)^.&set := $00000008;
  24138. end;
  24139. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  24140. begin
  24141. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24142. end;
  24143. procedure TI2C1_I2C1STAT.setP; inline;
  24144. begin
  24145. pTDefRegMap(@Self)^.&set := $00000010;
  24146. end;
  24147. procedure TI2C1_I2C1STAT.clearP; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.clr := $00000010;
  24150. end;
  24151. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  24152. begin
  24153. if thebits = 0 then
  24154. pTDefRegMap(@Self)^.clr := $00000010
  24155. else
  24156. pTDefRegMap(@Self)^.&set := $00000010;
  24157. end;
  24158. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  24159. begin
  24160. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24161. end;
  24162. procedure TI2C1_I2C1STAT.setD_A; inline;
  24163. begin
  24164. pTDefRegMap(@Self)^.&set := $00000020;
  24165. end;
  24166. procedure TI2C1_I2C1STAT.clearD_A; inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.clr := $00000020;
  24169. end;
  24170. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  24171. begin
  24172. if thebits = 0 then
  24173. pTDefRegMap(@Self)^.clr := $00000020
  24174. else
  24175. pTDefRegMap(@Self)^.&set := $00000020;
  24176. end;
  24177. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  24178. begin
  24179. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24180. end;
  24181. procedure TI2C1_I2C1STAT.setI2COV; inline;
  24182. begin
  24183. pTDefRegMap(@Self)^.&set := $00000040;
  24184. end;
  24185. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  24186. begin
  24187. pTDefRegMap(@Self)^.clr := $00000040;
  24188. end;
  24189. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  24190. begin
  24191. if thebits = 0 then
  24192. pTDefRegMap(@Self)^.clr := $00000040
  24193. else
  24194. pTDefRegMap(@Self)^.&set := $00000040;
  24195. end;
  24196. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  24197. begin
  24198. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24199. end;
  24200. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  24201. begin
  24202. pTDefRegMap(@Self)^.&set := $00000080;
  24203. end;
  24204. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  24205. begin
  24206. pTDefRegMap(@Self)^.clr := $00000080;
  24207. end;
  24208. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  24209. begin
  24210. if thebits = 0 then
  24211. pTDefRegMap(@Self)^.clr := $00000080
  24212. else
  24213. pTDefRegMap(@Self)^.&set := $00000080;
  24214. end;
  24215. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  24216. begin
  24217. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24218. end;
  24219. procedure TI2C1_I2C1STAT.setADD10; inline;
  24220. begin
  24221. pTDefRegMap(@Self)^.&set := $00000100;
  24222. end;
  24223. procedure TI2C1_I2C1STAT.clearADD10; inline;
  24224. begin
  24225. pTDefRegMap(@Self)^.clr := $00000100;
  24226. end;
  24227. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  24228. begin
  24229. if thebits = 0 then
  24230. pTDefRegMap(@Self)^.clr := $00000100
  24231. else
  24232. pTDefRegMap(@Self)^.&set := $00000100;
  24233. end;
  24234. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  24235. begin
  24236. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24237. end;
  24238. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  24239. begin
  24240. pTDefRegMap(@Self)^.&set := $00000200;
  24241. end;
  24242. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  24243. begin
  24244. pTDefRegMap(@Self)^.clr := $00000200;
  24245. end;
  24246. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  24247. begin
  24248. if thebits = 0 then
  24249. pTDefRegMap(@Self)^.clr := $00000200
  24250. else
  24251. pTDefRegMap(@Self)^.&set := $00000200;
  24252. end;
  24253. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  24254. begin
  24255. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24256. end;
  24257. procedure TI2C1_I2C1STAT.setBCL; inline;
  24258. begin
  24259. pTDefRegMap(@Self)^.&set := $00000400;
  24260. end;
  24261. procedure TI2C1_I2C1STAT.clearBCL; inline;
  24262. begin
  24263. pTDefRegMap(@Self)^.clr := $00000400;
  24264. end;
  24265. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  24266. begin
  24267. if thebits = 0 then
  24268. pTDefRegMap(@Self)^.clr := $00000400
  24269. else
  24270. pTDefRegMap(@Self)^.&set := $00000400;
  24271. end;
  24272. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  24273. begin
  24274. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24275. end;
  24276. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  24277. begin
  24278. pTDefRegMap(@Self)^.&set := $00004000;
  24279. end;
  24280. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  24281. begin
  24282. pTDefRegMap(@Self)^.clr := $00004000;
  24283. end;
  24284. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  24285. begin
  24286. if thebits = 0 then
  24287. pTDefRegMap(@Self)^.clr := $00004000
  24288. else
  24289. pTDefRegMap(@Self)^.&set := $00004000;
  24290. end;
  24291. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  24292. begin
  24293. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24294. end;
  24295. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  24296. begin
  24297. pTDefRegMap(@Self)^.&set := $00008000;
  24298. end;
  24299. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  24300. begin
  24301. pTDefRegMap(@Self)^.clr := $00008000;
  24302. end;
  24303. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  24304. begin
  24305. if thebits = 0 then
  24306. pTDefRegMap(@Self)^.clr := $00008000
  24307. else
  24308. pTDefRegMap(@Self)^.&set := $00008000;
  24309. end;
  24310. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  24311. begin
  24312. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24313. end;
  24314. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  24315. begin
  24316. pTDefRegMap(@Self)^.&set := $00000040;
  24317. end;
  24318. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  24319. begin
  24320. pTDefRegMap(@Self)^.clr := $00000040;
  24321. end;
  24322. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  24323. begin
  24324. if thebits = 0 then
  24325. pTDefRegMap(@Self)^.clr := $00000040
  24326. else
  24327. pTDefRegMap(@Self)^.&set := $00000040;
  24328. end;
  24329. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  24330. begin
  24331. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24332. end;
  24333. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  24334. begin
  24335. pTDefRegMap(@Self)^.val := thebits;
  24336. end;
  24337. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  24338. begin
  24339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24340. end;
  24341. procedure TSPI3_SPI1ACON.setSRXISEL(thebits : TBits_2); inline;
  24342. begin
  24343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24344. end;
  24345. function TSPI3_SPI1ACON.getSRXISEL : TBits_2; inline;
  24346. begin
  24347. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24348. end;
  24349. procedure TSPI3_SPI1ACON.setSTXISEL(thebits : TBits_2); inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  24352. end;
  24353. function TSPI3_SPI1ACON.getSTXISEL : TBits_2; inline;
  24354. begin
  24355. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  24356. end;
  24357. procedure TSPI3_SPI1ACON.setMSTEN; inline;
  24358. begin
  24359. pTDefRegMap(@Self)^.&set := $00000020;
  24360. end;
  24361. procedure TSPI3_SPI1ACON.clearMSTEN; inline;
  24362. begin
  24363. pTDefRegMap(@Self)^.clr := $00000020;
  24364. end;
  24365. procedure TSPI3_SPI1ACON.setMSTEN(thebits : TBits_1); inline;
  24366. begin
  24367. if thebits = 0 then
  24368. pTDefRegMap(@Self)^.clr := $00000020
  24369. else
  24370. pTDefRegMap(@Self)^.&set := $00000020;
  24371. end;
  24372. function TSPI3_SPI1ACON.getMSTEN : TBits_1; inline;
  24373. begin
  24374. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24375. end;
  24376. procedure TSPI3_SPI1ACON.setCKP; inline;
  24377. begin
  24378. pTDefRegMap(@Self)^.&set := $00000040;
  24379. end;
  24380. procedure TSPI3_SPI1ACON.clearCKP; inline;
  24381. begin
  24382. pTDefRegMap(@Self)^.clr := $00000040;
  24383. end;
  24384. procedure TSPI3_SPI1ACON.setCKP(thebits : TBits_1); inline;
  24385. begin
  24386. if thebits = 0 then
  24387. pTDefRegMap(@Self)^.clr := $00000040
  24388. else
  24389. pTDefRegMap(@Self)^.&set := $00000040;
  24390. end;
  24391. function TSPI3_SPI1ACON.getCKP : TBits_1; inline;
  24392. begin
  24393. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24394. end;
  24395. procedure TSPI3_SPI1ACON.setSSEN; inline;
  24396. begin
  24397. pTDefRegMap(@Self)^.&set := $00000080;
  24398. end;
  24399. procedure TSPI3_SPI1ACON.clearSSEN; inline;
  24400. begin
  24401. pTDefRegMap(@Self)^.clr := $00000080;
  24402. end;
  24403. procedure TSPI3_SPI1ACON.setSSEN(thebits : TBits_1); inline;
  24404. begin
  24405. if thebits = 0 then
  24406. pTDefRegMap(@Self)^.clr := $00000080
  24407. else
  24408. pTDefRegMap(@Self)^.&set := $00000080;
  24409. end;
  24410. function TSPI3_SPI1ACON.getSSEN : TBits_1; inline;
  24411. begin
  24412. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24413. end;
  24414. procedure TSPI3_SPI1ACON.setCKE; inline;
  24415. begin
  24416. pTDefRegMap(@Self)^.&set := $00000100;
  24417. end;
  24418. procedure TSPI3_SPI1ACON.clearCKE; inline;
  24419. begin
  24420. pTDefRegMap(@Self)^.clr := $00000100;
  24421. end;
  24422. procedure TSPI3_SPI1ACON.setCKE(thebits : TBits_1); inline;
  24423. begin
  24424. if thebits = 0 then
  24425. pTDefRegMap(@Self)^.clr := $00000100
  24426. else
  24427. pTDefRegMap(@Self)^.&set := $00000100;
  24428. end;
  24429. function TSPI3_SPI1ACON.getCKE : TBits_1; inline;
  24430. begin
  24431. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24432. end;
  24433. procedure TSPI3_SPI1ACON.setSMP; inline;
  24434. begin
  24435. pTDefRegMap(@Self)^.&set := $00000200;
  24436. end;
  24437. procedure TSPI3_SPI1ACON.clearSMP; inline;
  24438. begin
  24439. pTDefRegMap(@Self)^.clr := $00000200;
  24440. end;
  24441. procedure TSPI3_SPI1ACON.setSMP(thebits : TBits_1); inline;
  24442. begin
  24443. if thebits = 0 then
  24444. pTDefRegMap(@Self)^.clr := $00000200
  24445. else
  24446. pTDefRegMap(@Self)^.&set := $00000200;
  24447. end;
  24448. function TSPI3_SPI1ACON.getSMP : TBits_1; inline;
  24449. begin
  24450. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24451. end;
  24452. procedure TSPI3_SPI1ACON.setMODE16; inline;
  24453. begin
  24454. pTDefRegMap(@Self)^.&set := $00000400;
  24455. end;
  24456. procedure TSPI3_SPI1ACON.clearMODE16; inline;
  24457. begin
  24458. pTDefRegMap(@Self)^.clr := $00000400;
  24459. end;
  24460. procedure TSPI3_SPI1ACON.setMODE16(thebits : TBits_1); inline;
  24461. begin
  24462. if thebits = 0 then
  24463. pTDefRegMap(@Self)^.clr := $00000400
  24464. else
  24465. pTDefRegMap(@Self)^.&set := $00000400;
  24466. end;
  24467. function TSPI3_SPI1ACON.getMODE16 : TBits_1; inline;
  24468. begin
  24469. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24470. end;
  24471. procedure TSPI3_SPI1ACON.setMODE32; inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.&set := $00000800;
  24474. end;
  24475. procedure TSPI3_SPI1ACON.clearMODE32; inline;
  24476. begin
  24477. pTDefRegMap(@Self)^.clr := $00000800;
  24478. end;
  24479. procedure TSPI3_SPI1ACON.setMODE32(thebits : TBits_1); inline;
  24480. begin
  24481. if thebits = 0 then
  24482. pTDefRegMap(@Self)^.clr := $00000800
  24483. else
  24484. pTDefRegMap(@Self)^.&set := $00000800;
  24485. end;
  24486. function TSPI3_SPI1ACON.getMODE32 : TBits_1; inline;
  24487. begin
  24488. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24489. end;
  24490. procedure TSPI3_SPI1ACON.setDISSDO; inline;
  24491. begin
  24492. pTDefRegMap(@Self)^.&set := $00001000;
  24493. end;
  24494. procedure TSPI3_SPI1ACON.clearDISSDO; inline;
  24495. begin
  24496. pTDefRegMap(@Self)^.clr := $00001000;
  24497. end;
  24498. procedure TSPI3_SPI1ACON.setDISSDO(thebits : TBits_1); inline;
  24499. begin
  24500. if thebits = 0 then
  24501. pTDefRegMap(@Self)^.clr := $00001000
  24502. else
  24503. pTDefRegMap(@Self)^.&set := $00001000;
  24504. end;
  24505. function TSPI3_SPI1ACON.getDISSDO : TBits_1; inline;
  24506. begin
  24507. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24508. end;
  24509. procedure TSPI3_SPI1ACON.setSIDL; inline;
  24510. begin
  24511. pTDefRegMap(@Self)^.&set := $00002000;
  24512. end;
  24513. procedure TSPI3_SPI1ACON.clearSIDL; inline;
  24514. begin
  24515. pTDefRegMap(@Self)^.clr := $00002000;
  24516. end;
  24517. procedure TSPI3_SPI1ACON.setSIDL(thebits : TBits_1); inline;
  24518. begin
  24519. if thebits = 0 then
  24520. pTDefRegMap(@Self)^.clr := $00002000
  24521. else
  24522. pTDefRegMap(@Self)^.&set := $00002000;
  24523. end;
  24524. function TSPI3_SPI1ACON.getSIDL : TBits_1; inline;
  24525. begin
  24526. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24527. end;
  24528. procedure TSPI3_SPI1ACON.setON; inline;
  24529. begin
  24530. pTDefRegMap(@Self)^.&set := $00008000;
  24531. end;
  24532. procedure TSPI3_SPI1ACON.clearON; inline;
  24533. begin
  24534. pTDefRegMap(@Self)^.clr := $00008000;
  24535. end;
  24536. procedure TSPI3_SPI1ACON.setON(thebits : TBits_1); inline;
  24537. begin
  24538. if thebits = 0 then
  24539. pTDefRegMap(@Self)^.clr := $00008000
  24540. else
  24541. pTDefRegMap(@Self)^.&set := $00008000;
  24542. end;
  24543. function TSPI3_SPI1ACON.getON : TBits_1; inline;
  24544. begin
  24545. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24546. end;
  24547. procedure TSPI3_SPI1ACON.setENHBUF; inline;
  24548. begin
  24549. pTDefRegMap(@Self)^.&set := $00010000;
  24550. end;
  24551. procedure TSPI3_SPI1ACON.clearENHBUF; inline;
  24552. begin
  24553. pTDefRegMap(@Self)^.clr := $00010000;
  24554. end;
  24555. procedure TSPI3_SPI1ACON.setENHBUF(thebits : TBits_1); inline;
  24556. begin
  24557. if thebits = 0 then
  24558. pTDefRegMap(@Self)^.clr := $00010000
  24559. else
  24560. pTDefRegMap(@Self)^.&set := $00010000;
  24561. end;
  24562. function TSPI3_SPI1ACON.getENHBUF : TBits_1; inline;
  24563. begin
  24564. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24565. end;
  24566. procedure TSPI3_SPI1ACON.setSPIFE; inline;
  24567. begin
  24568. pTDefRegMap(@Self)^.&set := $00020000;
  24569. end;
  24570. procedure TSPI3_SPI1ACON.clearSPIFE; inline;
  24571. begin
  24572. pTDefRegMap(@Self)^.clr := $00020000;
  24573. end;
  24574. procedure TSPI3_SPI1ACON.setSPIFE(thebits : TBits_1); inline;
  24575. begin
  24576. if thebits = 0 then
  24577. pTDefRegMap(@Self)^.clr := $00020000
  24578. else
  24579. pTDefRegMap(@Self)^.&set := $00020000;
  24580. end;
  24581. function TSPI3_SPI1ACON.getSPIFE : TBits_1; inline;
  24582. begin
  24583. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24584. end;
  24585. procedure TSPI3_SPI1ACON.setFRMCNT(thebits : TBits_3); inline;
  24586. begin
  24587. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24588. end;
  24589. function TSPI3_SPI1ACON.getFRMCNT : TBits_3; inline;
  24590. begin
  24591. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24592. end;
  24593. procedure TSPI3_SPI1ACON.setFRMSYPW; inline;
  24594. begin
  24595. pTDefRegMap(@Self)^.&set := $08000000;
  24596. end;
  24597. procedure TSPI3_SPI1ACON.clearFRMSYPW; inline;
  24598. begin
  24599. pTDefRegMap(@Self)^.clr := $08000000;
  24600. end;
  24601. procedure TSPI3_SPI1ACON.setFRMSYPW(thebits : TBits_1); inline;
  24602. begin
  24603. if thebits = 0 then
  24604. pTDefRegMap(@Self)^.clr := $08000000
  24605. else
  24606. pTDefRegMap(@Self)^.&set := $08000000;
  24607. end;
  24608. function TSPI3_SPI1ACON.getFRMSYPW : TBits_1; inline;
  24609. begin
  24610. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24611. end;
  24612. procedure TSPI3_SPI1ACON.setMSSEN; inline;
  24613. begin
  24614. pTDefRegMap(@Self)^.&set := $10000000;
  24615. end;
  24616. procedure TSPI3_SPI1ACON.clearMSSEN; inline;
  24617. begin
  24618. pTDefRegMap(@Self)^.clr := $10000000;
  24619. end;
  24620. procedure TSPI3_SPI1ACON.setMSSEN(thebits : TBits_1); inline;
  24621. begin
  24622. if thebits = 0 then
  24623. pTDefRegMap(@Self)^.clr := $10000000
  24624. else
  24625. pTDefRegMap(@Self)^.&set := $10000000;
  24626. end;
  24627. function TSPI3_SPI1ACON.getMSSEN : TBits_1; inline;
  24628. begin
  24629. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24630. end;
  24631. procedure TSPI3_SPI1ACON.setFRMPOL; inline;
  24632. begin
  24633. pTDefRegMap(@Self)^.&set := $20000000;
  24634. end;
  24635. procedure TSPI3_SPI1ACON.clearFRMPOL; inline;
  24636. begin
  24637. pTDefRegMap(@Self)^.clr := $20000000;
  24638. end;
  24639. procedure TSPI3_SPI1ACON.setFRMPOL(thebits : TBits_1); inline;
  24640. begin
  24641. if thebits = 0 then
  24642. pTDefRegMap(@Self)^.clr := $20000000
  24643. else
  24644. pTDefRegMap(@Self)^.&set := $20000000;
  24645. end;
  24646. function TSPI3_SPI1ACON.getFRMPOL : TBits_1; inline;
  24647. begin
  24648. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24649. end;
  24650. procedure TSPI3_SPI1ACON.setFRMSYNC; inline;
  24651. begin
  24652. pTDefRegMap(@Self)^.&set := $40000000;
  24653. end;
  24654. procedure TSPI3_SPI1ACON.clearFRMSYNC; inline;
  24655. begin
  24656. pTDefRegMap(@Self)^.clr := $40000000;
  24657. end;
  24658. procedure TSPI3_SPI1ACON.setFRMSYNC(thebits : TBits_1); inline;
  24659. begin
  24660. if thebits = 0 then
  24661. pTDefRegMap(@Self)^.clr := $40000000
  24662. else
  24663. pTDefRegMap(@Self)^.&set := $40000000;
  24664. end;
  24665. function TSPI3_SPI1ACON.getFRMSYNC : TBits_1; inline;
  24666. begin
  24667. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24668. end;
  24669. procedure TSPI3_SPI1ACON.setFRMEN; inline;
  24670. begin
  24671. pTDefRegMap(@Self)^.&set := $80000000;
  24672. end;
  24673. procedure TSPI3_SPI1ACON.clearFRMEN; inline;
  24674. begin
  24675. pTDefRegMap(@Self)^.clr := $80000000;
  24676. end;
  24677. procedure TSPI3_SPI1ACON.setFRMEN(thebits : TBits_1); inline;
  24678. begin
  24679. if thebits = 0 then
  24680. pTDefRegMap(@Self)^.clr := $80000000
  24681. else
  24682. pTDefRegMap(@Self)^.&set := $80000000;
  24683. end;
  24684. function TSPI3_SPI1ACON.getFRMEN : TBits_1; inline;
  24685. begin
  24686. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24687. end;
  24688. procedure TSPI3_SPI1ACON.setw(thebits : TBits_32); inline;
  24689. begin
  24690. pTDefRegMap(@Self)^.val := thebits;
  24691. end;
  24692. function TSPI3_SPI1ACON.getw : TBits_32; inline;
  24693. begin
  24694. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24695. end;
  24696. procedure TSPI3_SPI3CON.setSRXISEL(thebits : TBits_2); inline;
  24697. begin
  24698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24699. end;
  24700. function TSPI3_SPI3CON.getSRXISEL : TBits_2; inline;
  24701. begin
  24702. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24703. end;
  24704. procedure TSPI3_SPI3CON.setSTXISEL(thebits : TBits_2); inline;
  24705. begin
  24706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  24707. end;
  24708. function TSPI3_SPI3CON.getSTXISEL : TBits_2; inline;
  24709. begin
  24710. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  24711. end;
  24712. procedure TSPI3_SPI3CON.setMSTEN; inline;
  24713. begin
  24714. pTDefRegMap(@Self)^.&set := $00000020;
  24715. end;
  24716. procedure TSPI3_SPI3CON.clearMSTEN; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.clr := $00000020;
  24719. end;
  24720. procedure TSPI3_SPI3CON.setMSTEN(thebits : TBits_1); inline;
  24721. begin
  24722. if thebits = 0 then
  24723. pTDefRegMap(@Self)^.clr := $00000020
  24724. else
  24725. pTDefRegMap(@Self)^.&set := $00000020;
  24726. end;
  24727. function TSPI3_SPI3CON.getMSTEN : TBits_1; inline;
  24728. begin
  24729. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24730. end;
  24731. procedure TSPI3_SPI3CON.setCKP; inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.&set := $00000040;
  24734. end;
  24735. procedure TSPI3_SPI3CON.clearCKP; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.clr := $00000040;
  24738. end;
  24739. procedure TSPI3_SPI3CON.setCKP(thebits : TBits_1); inline;
  24740. begin
  24741. if thebits = 0 then
  24742. pTDefRegMap(@Self)^.clr := $00000040
  24743. else
  24744. pTDefRegMap(@Self)^.&set := $00000040;
  24745. end;
  24746. function TSPI3_SPI3CON.getCKP : TBits_1; inline;
  24747. begin
  24748. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24749. end;
  24750. procedure TSPI3_SPI3CON.setSSEN; inline;
  24751. begin
  24752. pTDefRegMap(@Self)^.&set := $00000080;
  24753. end;
  24754. procedure TSPI3_SPI3CON.clearSSEN; inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.clr := $00000080;
  24757. end;
  24758. procedure TSPI3_SPI3CON.setSSEN(thebits : TBits_1); inline;
  24759. begin
  24760. if thebits = 0 then
  24761. pTDefRegMap(@Self)^.clr := $00000080
  24762. else
  24763. pTDefRegMap(@Self)^.&set := $00000080;
  24764. end;
  24765. function TSPI3_SPI3CON.getSSEN : TBits_1; inline;
  24766. begin
  24767. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24768. end;
  24769. procedure TSPI3_SPI3CON.setCKE; inline;
  24770. begin
  24771. pTDefRegMap(@Self)^.&set := $00000100;
  24772. end;
  24773. procedure TSPI3_SPI3CON.clearCKE; inline;
  24774. begin
  24775. pTDefRegMap(@Self)^.clr := $00000100;
  24776. end;
  24777. procedure TSPI3_SPI3CON.setCKE(thebits : TBits_1); inline;
  24778. begin
  24779. if thebits = 0 then
  24780. pTDefRegMap(@Self)^.clr := $00000100
  24781. else
  24782. pTDefRegMap(@Self)^.&set := $00000100;
  24783. end;
  24784. function TSPI3_SPI3CON.getCKE : TBits_1; inline;
  24785. begin
  24786. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24787. end;
  24788. procedure TSPI3_SPI3CON.setSMP; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.&set := $00000200;
  24791. end;
  24792. procedure TSPI3_SPI3CON.clearSMP; inline;
  24793. begin
  24794. pTDefRegMap(@Self)^.clr := $00000200;
  24795. end;
  24796. procedure TSPI3_SPI3CON.setSMP(thebits : TBits_1); inline;
  24797. begin
  24798. if thebits = 0 then
  24799. pTDefRegMap(@Self)^.clr := $00000200
  24800. else
  24801. pTDefRegMap(@Self)^.&set := $00000200;
  24802. end;
  24803. function TSPI3_SPI3CON.getSMP : TBits_1; inline;
  24804. begin
  24805. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24806. end;
  24807. procedure TSPI3_SPI3CON.setMODE16; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.&set := $00000400;
  24810. end;
  24811. procedure TSPI3_SPI3CON.clearMODE16; inline;
  24812. begin
  24813. pTDefRegMap(@Self)^.clr := $00000400;
  24814. end;
  24815. procedure TSPI3_SPI3CON.setMODE16(thebits : TBits_1); inline;
  24816. begin
  24817. if thebits = 0 then
  24818. pTDefRegMap(@Self)^.clr := $00000400
  24819. else
  24820. pTDefRegMap(@Self)^.&set := $00000400;
  24821. end;
  24822. function TSPI3_SPI3CON.getMODE16 : TBits_1; inline;
  24823. begin
  24824. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24825. end;
  24826. procedure TSPI3_SPI3CON.setMODE32; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.&set := $00000800;
  24829. end;
  24830. procedure TSPI3_SPI3CON.clearMODE32; inline;
  24831. begin
  24832. pTDefRegMap(@Self)^.clr := $00000800;
  24833. end;
  24834. procedure TSPI3_SPI3CON.setMODE32(thebits : TBits_1); inline;
  24835. begin
  24836. if thebits = 0 then
  24837. pTDefRegMap(@Self)^.clr := $00000800
  24838. else
  24839. pTDefRegMap(@Self)^.&set := $00000800;
  24840. end;
  24841. function TSPI3_SPI3CON.getMODE32 : TBits_1; inline;
  24842. begin
  24843. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24844. end;
  24845. procedure TSPI3_SPI3CON.setDISSDO; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.&set := $00001000;
  24848. end;
  24849. procedure TSPI3_SPI3CON.clearDISSDO; inline;
  24850. begin
  24851. pTDefRegMap(@Self)^.clr := $00001000;
  24852. end;
  24853. procedure TSPI3_SPI3CON.setDISSDO(thebits : TBits_1); inline;
  24854. begin
  24855. if thebits = 0 then
  24856. pTDefRegMap(@Self)^.clr := $00001000
  24857. else
  24858. pTDefRegMap(@Self)^.&set := $00001000;
  24859. end;
  24860. function TSPI3_SPI3CON.getDISSDO : TBits_1; inline;
  24861. begin
  24862. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24863. end;
  24864. procedure TSPI3_SPI3CON.setSIDL; inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.&set := $00002000;
  24867. end;
  24868. procedure TSPI3_SPI3CON.clearSIDL; inline;
  24869. begin
  24870. pTDefRegMap(@Self)^.clr := $00002000;
  24871. end;
  24872. procedure TSPI3_SPI3CON.setSIDL(thebits : TBits_1); inline;
  24873. begin
  24874. if thebits = 0 then
  24875. pTDefRegMap(@Self)^.clr := $00002000
  24876. else
  24877. pTDefRegMap(@Self)^.&set := $00002000;
  24878. end;
  24879. function TSPI3_SPI3CON.getSIDL : TBits_1; inline;
  24880. begin
  24881. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24882. end;
  24883. procedure TSPI3_SPI3CON.setON; inline;
  24884. begin
  24885. pTDefRegMap(@Self)^.&set := $00008000;
  24886. end;
  24887. procedure TSPI3_SPI3CON.clearON; inline;
  24888. begin
  24889. pTDefRegMap(@Self)^.clr := $00008000;
  24890. end;
  24891. procedure TSPI3_SPI3CON.setON(thebits : TBits_1); inline;
  24892. begin
  24893. if thebits = 0 then
  24894. pTDefRegMap(@Self)^.clr := $00008000
  24895. else
  24896. pTDefRegMap(@Self)^.&set := $00008000;
  24897. end;
  24898. function TSPI3_SPI3CON.getON : TBits_1; inline;
  24899. begin
  24900. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24901. end;
  24902. procedure TSPI3_SPI3CON.setENHBUF; inline;
  24903. begin
  24904. pTDefRegMap(@Self)^.&set := $00010000;
  24905. end;
  24906. procedure TSPI3_SPI3CON.clearENHBUF; inline;
  24907. begin
  24908. pTDefRegMap(@Self)^.clr := $00010000;
  24909. end;
  24910. procedure TSPI3_SPI3CON.setENHBUF(thebits : TBits_1); inline;
  24911. begin
  24912. if thebits = 0 then
  24913. pTDefRegMap(@Self)^.clr := $00010000
  24914. else
  24915. pTDefRegMap(@Self)^.&set := $00010000;
  24916. end;
  24917. function TSPI3_SPI3CON.getENHBUF : TBits_1; inline;
  24918. begin
  24919. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24920. end;
  24921. procedure TSPI3_SPI3CON.setSPIFE; inline;
  24922. begin
  24923. pTDefRegMap(@Self)^.&set := $00020000;
  24924. end;
  24925. procedure TSPI3_SPI3CON.clearSPIFE; inline;
  24926. begin
  24927. pTDefRegMap(@Self)^.clr := $00020000;
  24928. end;
  24929. procedure TSPI3_SPI3CON.setSPIFE(thebits : TBits_1); inline;
  24930. begin
  24931. if thebits = 0 then
  24932. pTDefRegMap(@Self)^.clr := $00020000
  24933. else
  24934. pTDefRegMap(@Self)^.&set := $00020000;
  24935. end;
  24936. function TSPI3_SPI3CON.getSPIFE : TBits_1; inline;
  24937. begin
  24938. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24939. end;
  24940. procedure TSPI3_SPI3CON.setFRMCNT(thebits : TBits_3); inline;
  24941. begin
  24942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24943. end;
  24944. function TSPI3_SPI3CON.getFRMCNT : TBits_3; inline;
  24945. begin
  24946. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24947. end;
  24948. procedure TSPI3_SPI3CON.setFRMSYPW; inline;
  24949. begin
  24950. pTDefRegMap(@Self)^.&set := $08000000;
  24951. end;
  24952. procedure TSPI3_SPI3CON.clearFRMSYPW; inline;
  24953. begin
  24954. pTDefRegMap(@Self)^.clr := $08000000;
  24955. end;
  24956. procedure TSPI3_SPI3CON.setFRMSYPW(thebits : TBits_1); inline;
  24957. begin
  24958. if thebits = 0 then
  24959. pTDefRegMap(@Self)^.clr := $08000000
  24960. else
  24961. pTDefRegMap(@Self)^.&set := $08000000;
  24962. end;
  24963. function TSPI3_SPI3CON.getFRMSYPW : TBits_1; inline;
  24964. begin
  24965. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24966. end;
  24967. procedure TSPI3_SPI3CON.setMSSEN; inline;
  24968. begin
  24969. pTDefRegMap(@Self)^.&set := $10000000;
  24970. end;
  24971. procedure TSPI3_SPI3CON.clearMSSEN; inline;
  24972. begin
  24973. pTDefRegMap(@Self)^.clr := $10000000;
  24974. end;
  24975. procedure TSPI3_SPI3CON.setMSSEN(thebits : TBits_1); inline;
  24976. begin
  24977. if thebits = 0 then
  24978. pTDefRegMap(@Self)^.clr := $10000000
  24979. else
  24980. pTDefRegMap(@Self)^.&set := $10000000;
  24981. end;
  24982. function TSPI3_SPI3CON.getMSSEN : TBits_1; inline;
  24983. begin
  24984. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24985. end;
  24986. procedure TSPI3_SPI3CON.setFRMPOL; inline;
  24987. begin
  24988. pTDefRegMap(@Self)^.&set := $20000000;
  24989. end;
  24990. procedure TSPI3_SPI3CON.clearFRMPOL; inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.clr := $20000000;
  24993. end;
  24994. procedure TSPI3_SPI3CON.setFRMPOL(thebits : TBits_1); inline;
  24995. begin
  24996. if thebits = 0 then
  24997. pTDefRegMap(@Self)^.clr := $20000000
  24998. else
  24999. pTDefRegMap(@Self)^.&set := $20000000;
  25000. end;
  25001. function TSPI3_SPI3CON.getFRMPOL : TBits_1; inline;
  25002. begin
  25003. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25004. end;
  25005. procedure TSPI3_SPI3CON.setFRMSYNC; inline;
  25006. begin
  25007. pTDefRegMap(@Self)^.&set := $40000000;
  25008. end;
  25009. procedure TSPI3_SPI3CON.clearFRMSYNC; inline;
  25010. begin
  25011. pTDefRegMap(@Self)^.clr := $40000000;
  25012. end;
  25013. procedure TSPI3_SPI3CON.setFRMSYNC(thebits : TBits_1); inline;
  25014. begin
  25015. if thebits = 0 then
  25016. pTDefRegMap(@Self)^.clr := $40000000
  25017. else
  25018. pTDefRegMap(@Self)^.&set := $40000000;
  25019. end;
  25020. function TSPI3_SPI3CON.getFRMSYNC : TBits_1; inline;
  25021. begin
  25022. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25023. end;
  25024. procedure TSPI3_SPI3CON.setFRMEN; inline;
  25025. begin
  25026. pTDefRegMap(@Self)^.&set := $80000000;
  25027. end;
  25028. procedure TSPI3_SPI3CON.clearFRMEN; inline;
  25029. begin
  25030. pTDefRegMap(@Self)^.clr := $80000000;
  25031. end;
  25032. procedure TSPI3_SPI3CON.setFRMEN(thebits : TBits_1); inline;
  25033. begin
  25034. if thebits = 0 then
  25035. pTDefRegMap(@Self)^.clr := $80000000
  25036. else
  25037. pTDefRegMap(@Self)^.&set := $80000000;
  25038. end;
  25039. function TSPI3_SPI3CON.getFRMEN : TBits_1; inline;
  25040. begin
  25041. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25042. end;
  25043. procedure TSPI3_SPI3CON.setw(thebits : TBits_32); inline;
  25044. begin
  25045. pTDefRegMap(@Self)^.val := thebits;
  25046. end;
  25047. function TSPI3_SPI3CON.getw : TBits_32; inline;
  25048. begin
  25049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25050. end;
  25051. procedure TSPI3_SPI1ASTAT.setSPIRBF; inline;
  25052. begin
  25053. pTDefRegMap(@Self)^.&set := $00000001;
  25054. end;
  25055. procedure TSPI3_SPI1ASTAT.clearSPIRBF; inline;
  25056. begin
  25057. pTDefRegMap(@Self)^.clr := $00000001;
  25058. end;
  25059. procedure TSPI3_SPI1ASTAT.setSPIRBF(thebits : TBits_1); inline;
  25060. begin
  25061. if thebits = 0 then
  25062. pTDefRegMap(@Self)^.clr := $00000001
  25063. else
  25064. pTDefRegMap(@Self)^.&set := $00000001;
  25065. end;
  25066. function TSPI3_SPI1ASTAT.getSPIRBF : TBits_1; inline;
  25067. begin
  25068. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25069. end;
  25070. procedure TSPI3_SPI1ASTAT.setSPITBF; inline;
  25071. begin
  25072. pTDefRegMap(@Self)^.&set := $00000002;
  25073. end;
  25074. procedure TSPI3_SPI1ASTAT.clearSPITBF; inline;
  25075. begin
  25076. pTDefRegMap(@Self)^.clr := $00000002;
  25077. end;
  25078. procedure TSPI3_SPI1ASTAT.setSPITBF(thebits : TBits_1); inline;
  25079. begin
  25080. if thebits = 0 then
  25081. pTDefRegMap(@Self)^.clr := $00000002
  25082. else
  25083. pTDefRegMap(@Self)^.&set := $00000002;
  25084. end;
  25085. function TSPI3_SPI1ASTAT.getSPITBF : TBits_1; inline;
  25086. begin
  25087. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25088. end;
  25089. procedure TSPI3_SPI1ASTAT.setSPITBE; inline;
  25090. begin
  25091. pTDefRegMap(@Self)^.&set := $00000008;
  25092. end;
  25093. procedure TSPI3_SPI1ASTAT.clearSPITBE; inline;
  25094. begin
  25095. pTDefRegMap(@Self)^.clr := $00000008;
  25096. end;
  25097. procedure TSPI3_SPI1ASTAT.setSPITBE(thebits : TBits_1); inline;
  25098. begin
  25099. if thebits = 0 then
  25100. pTDefRegMap(@Self)^.clr := $00000008
  25101. else
  25102. pTDefRegMap(@Self)^.&set := $00000008;
  25103. end;
  25104. function TSPI3_SPI1ASTAT.getSPITBE : TBits_1; inline;
  25105. begin
  25106. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25107. end;
  25108. procedure TSPI3_SPI1ASTAT.setSPIRBE; inline;
  25109. begin
  25110. pTDefRegMap(@Self)^.&set := $00000020;
  25111. end;
  25112. procedure TSPI3_SPI1ASTAT.clearSPIRBE; inline;
  25113. begin
  25114. pTDefRegMap(@Self)^.clr := $00000020;
  25115. end;
  25116. procedure TSPI3_SPI1ASTAT.setSPIRBE(thebits : TBits_1); inline;
  25117. begin
  25118. if thebits = 0 then
  25119. pTDefRegMap(@Self)^.clr := $00000020
  25120. else
  25121. pTDefRegMap(@Self)^.&set := $00000020;
  25122. end;
  25123. function TSPI3_SPI1ASTAT.getSPIRBE : TBits_1; inline;
  25124. begin
  25125. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25126. end;
  25127. procedure TSPI3_SPI1ASTAT.setSPIROV; inline;
  25128. begin
  25129. pTDefRegMap(@Self)^.&set := $00000040;
  25130. end;
  25131. procedure TSPI3_SPI1ASTAT.clearSPIROV; inline;
  25132. begin
  25133. pTDefRegMap(@Self)^.clr := $00000040;
  25134. end;
  25135. procedure TSPI3_SPI1ASTAT.setSPIROV(thebits : TBits_1); inline;
  25136. begin
  25137. if thebits = 0 then
  25138. pTDefRegMap(@Self)^.clr := $00000040
  25139. else
  25140. pTDefRegMap(@Self)^.&set := $00000040;
  25141. end;
  25142. function TSPI3_SPI1ASTAT.getSPIROV : TBits_1; inline;
  25143. begin
  25144. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25145. end;
  25146. procedure TSPI3_SPI1ASTAT.setSRMT; inline;
  25147. begin
  25148. pTDefRegMap(@Self)^.&set := $00000080;
  25149. end;
  25150. procedure TSPI3_SPI1ASTAT.clearSRMT; inline;
  25151. begin
  25152. pTDefRegMap(@Self)^.clr := $00000080;
  25153. end;
  25154. procedure TSPI3_SPI1ASTAT.setSRMT(thebits : TBits_1); inline;
  25155. begin
  25156. if thebits = 0 then
  25157. pTDefRegMap(@Self)^.clr := $00000080
  25158. else
  25159. pTDefRegMap(@Self)^.&set := $00000080;
  25160. end;
  25161. function TSPI3_SPI1ASTAT.getSRMT : TBits_1; inline;
  25162. begin
  25163. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25164. end;
  25165. procedure TSPI3_SPI1ASTAT.setSPITUR; inline;
  25166. begin
  25167. pTDefRegMap(@Self)^.&set := $00000100;
  25168. end;
  25169. procedure TSPI3_SPI1ASTAT.clearSPITUR; inline;
  25170. begin
  25171. pTDefRegMap(@Self)^.clr := $00000100;
  25172. end;
  25173. procedure TSPI3_SPI1ASTAT.setSPITUR(thebits : TBits_1); inline;
  25174. begin
  25175. if thebits = 0 then
  25176. pTDefRegMap(@Self)^.clr := $00000100
  25177. else
  25178. pTDefRegMap(@Self)^.&set := $00000100;
  25179. end;
  25180. function TSPI3_SPI1ASTAT.getSPITUR : TBits_1; inline;
  25181. begin
  25182. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25183. end;
  25184. procedure TSPI3_SPI1ASTAT.setSPIBUSY; inline;
  25185. begin
  25186. pTDefRegMap(@Self)^.&set := $00000800;
  25187. end;
  25188. procedure TSPI3_SPI1ASTAT.clearSPIBUSY; inline;
  25189. begin
  25190. pTDefRegMap(@Self)^.clr := $00000800;
  25191. end;
  25192. procedure TSPI3_SPI1ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  25193. begin
  25194. if thebits = 0 then
  25195. pTDefRegMap(@Self)^.clr := $00000800
  25196. else
  25197. pTDefRegMap(@Self)^.&set := $00000800;
  25198. end;
  25199. function TSPI3_SPI1ASTAT.getSPIBUSY : TBits_1; inline;
  25200. begin
  25201. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25202. end;
  25203. procedure TSPI3_SPI1ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  25204. begin
  25205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  25206. end;
  25207. function TSPI3_SPI1ASTAT.getTXBUFELM : TBits_5; inline;
  25208. begin
  25209. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  25210. end;
  25211. procedure TSPI3_SPI1ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  25212. begin
  25213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  25214. end;
  25215. function TSPI3_SPI1ASTAT.getRXBUFELM : TBits_5; inline;
  25216. begin
  25217. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  25218. end;
  25219. procedure TSPI3_SPI1ASTAT.setw(thebits : TBits_32); inline;
  25220. begin
  25221. pTDefRegMap(@Self)^.val := thebits;
  25222. end;
  25223. function TSPI3_SPI1ASTAT.getw : TBits_32; inline;
  25224. begin
  25225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25226. end;
  25227. procedure TSPI3_SPI3STAT.setSPIRBF; inline;
  25228. begin
  25229. pTDefRegMap(@Self)^.&set := $00000001;
  25230. end;
  25231. procedure TSPI3_SPI3STAT.clearSPIRBF; inline;
  25232. begin
  25233. pTDefRegMap(@Self)^.clr := $00000001;
  25234. end;
  25235. procedure TSPI3_SPI3STAT.setSPIRBF(thebits : TBits_1); inline;
  25236. begin
  25237. if thebits = 0 then
  25238. pTDefRegMap(@Self)^.clr := $00000001
  25239. else
  25240. pTDefRegMap(@Self)^.&set := $00000001;
  25241. end;
  25242. function TSPI3_SPI3STAT.getSPIRBF : TBits_1; inline;
  25243. begin
  25244. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25245. end;
  25246. procedure TSPI3_SPI3STAT.setSPITBF; inline;
  25247. begin
  25248. pTDefRegMap(@Self)^.&set := $00000002;
  25249. end;
  25250. procedure TSPI3_SPI3STAT.clearSPITBF; inline;
  25251. begin
  25252. pTDefRegMap(@Self)^.clr := $00000002;
  25253. end;
  25254. procedure TSPI3_SPI3STAT.setSPITBF(thebits : TBits_1); inline;
  25255. begin
  25256. if thebits = 0 then
  25257. pTDefRegMap(@Self)^.clr := $00000002
  25258. else
  25259. pTDefRegMap(@Self)^.&set := $00000002;
  25260. end;
  25261. function TSPI3_SPI3STAT.getSPITBF : TBits_1; inline;
  25262. begin
  25263. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25264. end;
  25265. procedure TSPI3_SPI3STAT.setSPITBE; inline;
  25266. begin
  25267. pTDefRegMap(@Self)^.&set := $00000008;
  25268. end;
  25269. procedure TSPI3_SPI3STAT.clearSPITBE; inline;
  25270. begin
  25271. pTDefRegMap(@Self)^.clr := $00000008;
  25272. end;
  25273. procedure TSPI3_SPI3STAT.setSPITBE(thebits : TBits_1); inline;
  25274. begin
  25275. if thebits = 0 then
  25276. pTDefRegMap(@Self)^.clr := $00000008
  25277. else
  25278. pTDefRegMap(@Self)^.&set := $00000008;
  25279. end;
  25280. function TSPI3_SPI3STAT.getSPITBE : TBits_1; inline;
  25281. begin
  25282. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25283. end;
  25284. procedure TSPI3_SPI3STAT.setSPIRBE; inline;
  25285. begin
  25286. pTDefRegMap(@Self)^.&set := $00000020;
  25287. end;
  25288. procedure TSPI3_SPI3STAT.clearSPIRBE; inline;
  25289. begin
  25290. pTDefRegMap(@Self)^.clr := $00000020;
  25291. end;
  25292. procedure TSPI3_SPI3STAT.setSPIRBE(thebits : TBits_1); inline;
  25293. begin
  25294. if thebits = 0 then
  25295. pTDefRegMap(@Self)^.clr := $00000020
  25296. else
  25297. pTDefRegMap(@Self)^.&set := $00000020;
  25298. end;
  25299. function TSPI3_SPI3STAT.getSPIRBE : TBits_1; inline;
  25300. begin
  25301. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25302. end;
  25303. procedure TSPI3_SPI3STAT.setSPIROV; inline;
  25304. begin
  25305. pTDefRegMap(@Self)^.&set := $00000040;
  25306. end;
  25307. procedure TSPI3_SPI3STAT.clearSPIROV; inline;
  25308. begin
  25309. pTDefRegMap(@Self)^.clr := $00000040;
  25310. end;
  25311. procedure TSPI3_SPI3STAT.setSPIROV(thebits : TBits_1); inline;
  25312. begin
  25313. if thebits = 0 then
  25314. pTDefRegMap(@Self)^.clr := $00000040
  25315. else
  25316. pTDefRegMap(@Self)^.&set := $00000040;
  25317. end;
  25318. function TSPI3_SPI3STAT.getSPIROV : TBits_1; inline;
  25319. begin
  25320. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25321. end;
  25322. procedure TSPI3_SPI3STAT.setSRMT; inline;
  25323. begin
  25324. pTDefRegMap(@Self)^.&set := $00000080;
  25325. end;
  25326. procedure TSPI3_SPI3STAT.clearSRMT; inline;
  25327. begin
  25328. pTDefRegMap(@Self)^.clr := $00000080;
  25329. end;
  25330. procedure TSPI3_SPI3STAT.setSRMT(thebits : TBits_1); inline;
  25331. begin
  25332. if thebits = 0 then
  25333. pTDefRegMap(@Self)^.clr := $00000080
  25334. else
  25335. pTDefRegMap(@Self)^.&set := $00000080;
  25336. end;
  25337. function TSPI3_SPI3STAT.getSRMT : TBits_1; inline;
  25338. begin
  25339. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25340. end;
  25341. procedure TSPI3_SPI3STAT.setSPITUR; inline;
  25342. begin
  25343. pTDefRegMap(@Self)^.&set := $00000100;
  25344. end;
  25345. procedure TSPI3_SPI3STAT.clearSPITUR; inline;
  25346. begin
  25347. pTDefRegMap(@Self)^.clr := $00000100;
  25348. end;
  25349. procedure TSPI3_SPI3STAT.setSPITUR(thebits : TBits_1); inline;
  25350. begin
  25351. if thebits = 0 then
  25352. pTDefRegMap(@Self)^.clr := $00000100
  25353. else
  25354. pTDefRegMap(@Self)^.&set := $00000100;
  25355. end;
  25356. function TSPI3_SPI3STAT.getSPITUR : TBits_1; inline;
  25357. begin
  25358. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25359. end;
  25360. procedure TSPI3_SPI3STAT.setSPIBUSY; inline;
  25361. begin
  25362. pTDefRegMap(@Self)^.&set := $00000800;
  25363. end;
  25364. procedure TSPI3_SPI3STAT.clearSPIBUSY; inline;
  25365. begin
  25366. pTDefRegMap(@Self)^.clr := $00000800;
  25367. end;
  25368. procedure TSPI3_SPI3STAT.setSPIBUSY(thebits : TBits_1); inline;
  25369. begin
  25370. if thebits = 0 then
  25371. pTDefRegMap(@Self)^.clr := $00000800
  25372. else
  25373. pTDefRegMap(@Self)^.&set := $00000800;
  25374. end;
  25375. function TSPI3_SPI3STAT.getSPIBUSY : TBits_1; inline;
  25376. begin
  25377. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25378. end;
  25379. procedure TSPI3_SPI3STAT.setTXBUFELM(thebits : TBits_5); inline;
  25380. begin
  25381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  25382. end;
  25383. function TSPI3_SPI3STAT.getTXBUFELM : TBits_5; inline;
  25384. begin
  25385. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  25386. end;
  25387. procedure TSPI3_SPI3STAT.setRXBUFELM(thebits : TBits_5); inline;
  25388. begin
  25389. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  25390. end;
  25391. function TSPI3_SPI3STAT.getRXBUFELM : TBits_5; inline;
  25392. begin
  25393. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  25394. end;
  25395. procedure TSPI3_SPI3STAT.setw(thebits : TBits_32); inline;
  25396. begin
  25397. pTDefRegMap(@Self)^.val := thebits;
  25398. end;
  25399. function TSPI3_SPI3STAT.getw : TBits_32; inline;
  25400. begin
  25401. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25402. end;
  25403. procedure TSPI2_SPI2ACON.setSRXISEL(thebits : TBits_2); inline;
  25404. begin
  25405. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25406. end;
  25407. function TSPI2_SPI2ACON.getSRXISEL : TBits_2; inline;
  25408. begin
  25409. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25410. end;
  25411. procedure TSPI2_SPI2ACON.setSTXISEL(thebits : TBits_2); inline;
  25412. begin
  25413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25414. end;
  25415. function TSPI2_SPI2ACON.getSTXISEL : TBits_2; inline;
  25416. begin
  25417. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25418. end;
  25419. procedure TSPI2_SPI2ACON.setMSTEN; inline;
  25420. begin
  25421. pTDefRegMap(@Self)^.&set := $00000020;
  25422. end;
  25423. procedure TSPI2_SPI2ACON.clearMSTEN; inline;
  25424. begin
  25425. pTDefRegMap(@Self)^.clr := $00000020;
  25426. end;
  25427. procedure TSPI2_SPI2ACON.setMSTEN(thebits : TBits_1); inline;
  25428. begin
  25429. if thebits = 0 then
  25430. pTDefRegMap(@Self)^.clr := $00000020
  25431. else
  25432. pTDefRegMap(@Self)^.&set := $00000020;
  25433. end;
  25434. function TSPI2_SPI2ACON.getMSTEN : TBits_1; inline;
  25435. begin
  25436. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25437. end;
  25438. procedure TSPI2_SPI2ACON.setCKP; inline;
  25439. begin
  25440. pTDefRegMap(@Self)^.&set := $00000040;
  25441. end;
  25442. procedure TSPI2_SPI2ACON.clearCKP; inline;
  25443. begin
  25444. pTDefRegMap(@Self)^.clr := $00000040;
  25445. end;
  25446. procedure TSPI2_SPI2ACON.setCKP(thebits : TBits_1); inline;
  25447. begin
  25448. if thebits = 0 then
  25449. pTDefRegMap(@Self)^.clr := $00000040
  25450. else
  25451. pTDefRegMap(@Self)^.&set := $00000040;
  25452. end;
  25453. function TSPI2_SPI2ACON.getCKP : TBits_1; inline;
  25454. begin
  25455. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25456. end;
  25457. procedure TSPI2_SPI2ACON.setSSEN; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.&set := $00000080;
  25460. end;
  25461. procedure TSPI2_SPI2ACON.clearSSEN; inline;
  25462. begin
  25463. pTDefRegMap(@Self)^.clr := $00000080;
  25464. end;
  25465. procedure TSPI2_SPI2ACON.setSSEN(thebits : TBits_1); inline;
  25466. begin
  25467. if thebits = 0 then
  25468. pTDefRegMap(@Self)^.clr := $00000080
  25469. else
  25470. pTDefRegMap(@Self)^.&set := $00000080;
  25471. end;
  25472. function TSPI2_SPI2ACON.getSSEN : TBits_1; inline;
  25473. begin
  25474. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25475. end;
  25476. procedure TSPI2_SPI2ACON.setCKE; inline;
  25477. begin
  25478. pTDefRegMap(@Self)^.&set := $00000100;
  25479. end;
  25480. procedure TSPI2_SPI2ACON.clearCKE; inline;
  25481. begin
  25482. pTDefRegMap(@Self)^.clr := $00000100;
  25483. end;
  25484. procedure TSPI2_SPI2ACON.setCKE(thebits : TBits_1); inline;
  25485. begin
  25486. if thebits = 0 then
  25487. pTDefRegMap(@Self)^.clr := $00000100
  25488. else
  25489. pTDefRegMap(@Self)^.&set := $00000100;
  25490. end;
  25491. function TSPI2_SPI2ACON.getCKE : TBits_1; inline;
  25492. begin
  25493. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25494. end;
  25495. procedure TSPI2_SPI2ACON.setSMP; inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.&set := $00000200;
  25498. end;
  25499. procedure TSPI2_SPI2ACON.clearSMP; inline;
  25500. begin
  25501. pTDefRegMap(@Self)^.clr := $00000200;
  25502. end;
  25503. procedure TSPI2_SPI2ACON.setSMP(thebits : TBits_1); inline;
  25504. begin
  25505. if thebits = 0 then
  25506. pTDefRegMap(@Self)^.clr := $00000200
  25507. else
  25508. pTDefRegMap(@Self)^.&set := $00000200;
  25509. end;
  25510. function TSPI2_SPI2ACON.getSMP : TBits_1; inline;
  25511. begin
  25512. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25513. end;
  25514. procedure TSPI2_SPI2ACON.setMODE16; inline;
  25515. begin
  25516. pTDefRegMap(@Self)^.&set := $00000400;
  25517. end;
  25518. procedure TSPI2_SPI2ACON.clearMODE16; inline;
  25519. begin
  25520. pTDefRegMap(@Self)^.clr := $00000400;
  25521. end;
  25522. procedure TSPI2_SPI2ACON.setMODE16(thebits : TBits_1); inline;
  25523. begin
  25524. if thebits = 0 then
  25525. pTDefRegMap(@Self)^.clr := $00000400
  25526. else
  25527. pTDefRegMap(@Self)^.&set := $00000400;
  25528. end;
  25529. function TSPI2_SPI2ACON.getMODE16 : TBits_1; inline;
  25530. begin
  25531. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25532. end;
  25533. procedure TSPI2_SPI2ACON.setMODE32; inline;
  25534. begin
  25535. pTDefRegMap(@Self)^.&set := $00000800;
  25536. end;
  25537. procedure TSPI2_SPI2ACON.clearMODE32; inline;
  25538. begin
  25539. pTDefRegMap(@Self)^.clr := $00000800;
  25540. end;
  25541. procedure TSPI2_SPI2ACON.setMODE32(thebits : TBits_1); inline;
  25542. begin
  25543. if thebits = 0 then
  25544. pTDefRegMap(@Self)^.clr := $00000800
  25545. else
  25546. pTDefRegMap(@Self)^.&set := $00000800;
  25547. end;
  25548. function TSPI2_SPI2ACON.getMODE32 : TBits_1; inline;
  25549. begin
  25550. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25551. end;
  25552. procedure TSPI2_SPI2ACON.setDISSDO; inline;
  25553. begin
  25554. pTDefRegMap(@Self)^.&set := $00001000;
  25555. end;
  25556. procedure TSPI2_SPI2ACON.clearDISSDO; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.clr := $00001000;
  25559. end;
  25560. procedure TSPI2_SPI2ACON.setDISSDO(thebits : TBits_1); inline;
  25561. begin
  25562. if thebits = 0 then
  25563. pTDefRegMap(@Self)^.clr := $00001000
  25564. else
  25565. pTDefRegMap(@Self)^.&set := $00001000;
  25566. end;
  25567. function TSPI2_SPI2ACON.getDISSDO : TBits_1; inline;
  25568. begin
  25569. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25570. end;
  25571. procedure TSPI2_SPI2ACON.setSIDL; inline;
  25572. begin
  25573. pTDefRegMap(@Self)^.&set := $00002000;
  25574. end;
  25575. procedure TSPI2_SPI2ACON.clearSIDL; inline;
  25576. begin
  25577. pTDefRegMap(@Self)^.clr := $00002000;
  25578. end;
  25579. procedure TSPI2_SPI2ACON.setSIDL(thebits : TBits_1); inline;
  25580. begin
  25581. if thebits = 0 then
  25582. pTDefRegMap(@Self)^.clr := $00002000
  25583. else
  25584. pTDefRegMap(@Self)^.&set := $00002000;
  25585. end;
  25586. function TSPI2_SPI2ACON.getSIDL : TBits_1; inline;
  25587. begin
  25588. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25589. end;
  25590. procedure TSPI2_SPI2ACON.setON; inline;
  25591. begin
  25592. pTDefRegMap(@Self)^.&set := $00008000;
  25593. end;
  25594. procedure TSPI2_SPI2ACON.clearON; inline;
  25595. begin
  25596. pTDefRegMap(@Self)^.clr := $00008000;
  25597. end;
  25598. procedure TSPI2_SPI2ACON.setON(thebits : TBits_1); inline;
  25599. begin
  25600. if thebits = 0 then
  25601. pTDefRegMap(@Self)^.clr := $00008000
  25602. else
  25603. pTDefRegMap(@Self)^.&set := $00008000;
  25604. end;
  25605. function TSPI2_SPI2ACON.getON : TBits_1; inline;
  25606. begin
  25607. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25608. end;
  25609. procedure TSPI2_SPI2ACON.setENHBUF; inline;
  25610. begin
  25611. pTDefRegMap(@Self)^.&set := $00010000;
  25612. end;
  25613. procedure TSPI2_SPI2ACON.clearENHBUF; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.clr := $00010000;
  25616. end;
  25617. procedure TSPI2_SPI2ACON.setENHBUF(thebits : TBits_1); inline;
  25618. begin
  25619. if thebits = 0 then
  25620. pTDefRegMap(@Self)^.clr := $00010000
  25621. else
  25622. pTDefRegMap(@Self)^.&set := $00010000;
  25623. end;
  25624. function TSPI2_SPI2ACON.getENHBUF : TBits_1; inline;
  25625. begin
  25626. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25627. end;
  25628. procedure TSPI2_SPI2ACON.setSPIFE; inline;
  25629. begin
  25630. pTDefRegMap(@Self)^.&set := $00020000;
  25631. end;
  25632. procedure TSPI2_SPI2ACON.clearSPIFE; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.clr := $00020000;
  25635. end;
  25636. procedure TSPI2_SPI2ACON.setSPIFE(thebits : TBits_1); inline;
  25637. begin
  25638. if thebits = 0 then
  25639. pTDefRegMap(@Self)^.clr := $00020000
  25640. else
  25641. pTDefRegMap(@Self)^.&set := $00020000;
  25642. end;
  25643. function TSPI2_SPI2ACON.getSPIFE : TBits_1; inline;
  25644. begin
  25645. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25646. end;
  25647. procedure TSPI2_SPI2ACON.setFRMCNT(thebits : TBits_3); inline;
  25648. begin
  25649. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25650. end;
  25651. function TSPI2_SPI2ACON.getFRMCNT : TBits_3; inline;
  25652. begin
  25653. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25654. end;
  25655. procedure TSPI2_SPI2ACON.setFRMSYPW; inline;
  25656. begin
  25657. pTDefRegMap(@Self)^.&set := $08000000;
  25658. end;
  25659. procedure TSPI2_SPI2ACON.clearFRMSYPW; inline;
  25660. begin
  25661. pTDefRegMap(@Self)^.clr := $08000000;
  25662. end;
  25663. procedure TSPI2_SPI2ACON.setFRMSYPW(thebits : TBits_1); inline;
  25664. begin
  25665. if thebits = 0 then
  25666. pTDefRegMap(@Self)^.clr := $08000000
  25667. else
  25668. pTDefRegMap(@Self)^.&set := $08000000;
  25669. end;
  25670. function TSPI2_SPI2ACON.getFRMSYPW : TBits_1; inline;
  25671. begin
  25672. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25673. end;
  25674. procedure TSPI2_SPI2ACON.setMSSEN; inline;
  25675. begin
  25676. pTDefRegMap(@Self)^.&set := $10000000;
  25677. end;
  25678. procedure TSPI2_SPI2ACON.clearMSSEN; inline;
  25679. begin
  25680. pTDefRegMap(@Self)^.clr := $10000000;
  25681. end;
  25682. procedure TSPI2_SPI2ACON.setMSSEN(thebits : TBits_1); inline;
  25683. begin
  25684. if thebits = 0 then
  25685. pTDefRegMap(@Self)^.clr := $10000000
  25686. else
  25687. pTDefRegMap(@Self)^.&set := $10000000;
  25688. end;
  25689. function TSPI2_SPI2ACON.getMSSEN : TBits_1; inline;
  25690. begin
  25691. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25692. end;
  25693. procedure TSPI2_SPI2ACON.setFRMPOL; inline;
  25694. begin
  25695. pTDefRegMap(@Self)^.&set := $20000000;
  25696. end;
  25697. procedure TSPI2_SPI2ACON.clearFRMPOL; inline;
  25698. begin
  25699. pTDefRegMap(@Self)^.clr := $20000000;
  25700. end;
  25701. procedure TSPI2_SPI2ACON.setFRMPOL(thebits : TBits_1); inline;
  25702. begin
  25703. if thebits = 0 then
  25704. pTDefRegMap(@Self)^.clr := $20000000
  25705. else
  25706. pTDefRegMap(@Self)^.&set := $20000000;
  25707. end;
  25708. function TSPI2_SPI2ACON.getFRMPOL : TBits_1; inline;
  25709. begin
  25710. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25711. end;
  25712. procedure TSPI2_SPI2ACON.setFRMSYNC; inline;
  25713. begin
  25714. pTDefRegMap(@Self)^.&set := $40000000;
  25715. end;
  25716. procedure TSPI2_SPI2ACON.clearFRMSYNC; inline;
  25717. begin
  25718. pTDefRegMap(@Self)^.clr := $40000000;
  25719. end;
  25720. procedure TSPI2_SPI2ACON.setFRMSYNC(thebits : TBits_1); inline;
  25721. begin
  25722. if thebits = 0 then
  25723. pTDefRegMap(@Self)^.clr := $40000000
  25724. else
  25725. pTDefRegMap(@Self)^.&set := $40000000;
  25726. end;
  25727. function TSPI2_SPI2ACON.getFRMSYNC : TBits_1; inline;
  25728. begin
  25729. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25730. end;
  25731. procedure TSPI2_SPI2ACON.setFRMEN; inline;
  25732. begin
  25733. pTDefRegMap(@Self)^.&set := $80000000;
  25734. end;
  25735. procedure TSPI2_SPI2ACON.clearFRMEN; inline;
  25736. begin
  25737. pTDefRegMap(@Self)^.clr := $80000000;
  25738. end;
  25739. procedure TSPI2_SPI2ACON.setFRMEN(thebits : TBits_1); inline;
  25740. begin
  25741. if thebits = 0 then
  25742. pTDefRegMap(@Self)^.clr := $80000000
  25743. else
  25744. pTDefRegMap(@Self)^.&set := $80000000;
  25745. end;
  25746. function TSPI2_SPI2ACON.getFRMEN : TBits_1; inline;
  25747. begin
  25748. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25749. end;
  25750. procedure TSPI2_SPI2ACON.setw(thebits : TBits_32); inline;
  25751. begin
  25752. pTDefRegMap(@Self)^.val := thebits;
  25753. end;
  25754. function TSPI2_SPI2ACON.getw : TBits_32; inline;
  25755. begin
  25756. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25757. end;
  25758. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  25759. begin
  25760. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25761. end;
  25762. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  25763. begin
  25764. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25765. end;
  25766. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  25767. begin
  25768. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25769. end;
  25770. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  25771. begin
  25772. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25773. end;
  25774. procedure TSPI2_SPI2CON.setMSTEN; inline;
  25775. begin
  25776. pTDefRegMap(@Self)^.&set := $00000020;
  25777. end;
  25778. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  25779. begin
  25780. pTDefRegMap(@Self)^.clr := $00000020;
  25781. end;
  25782. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  25783. begin
  25784. if thebits = 0 then
  25785. pTDefRegMap(@Self)^.clr := $00000020
  25786. else
  25787. pTDefRegMap(@Self)^.&set := $00000020;
  25788. end;
  25789. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  25790. begin
  25791. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25792. end;
  25793. procedure TSPI2_SPI2CON.setCKP; inline;
  25794. begin
  25795. pTDefRegMap(@Self)^.&set := $00000040;
  25796. end;
  25797. procedure TSPI2_SPI2CON.clearCKP; inline;
  25798. begin
  25799. pTDefRegMap(@Self)^.clr := $00000040;
  25800. end;
  25801. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  25802. begin
  25803. if thebits = 0 then
  25804. pTDefRegMap(@Self)^.clr := $00000040
  25805. else
  25806. pTDefRegMap(@Self)^.&set := $00000040;
  25807. end;
  25808. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  25809. begin
  25810. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25811. end;
  25812. procedure TSPI2_SPI2CON.setSSEN; inline;
  25813. begin
  25814. pTDefRegMap(@Self)^.&set := $00000080;
  25815. end;
  25816. procedure TSPI2_SPI2CON.clearSSEN; inline;
  25817. begin
  25818. pTDefRegMap(@Self)^.clr := $00000080;
  25819. end;
  25820. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  25821. begin
  25822. if thebits = 0 then
  25823. pTDefRegMap(@Self)^.clr := $00000080
  25824. else
  25825. pTDefRegMap(@Self)^.&set := $00000080;
  25826. end;
  25827. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  25828. begin
  25829. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25830. end;
  25831. procedure TSPI2_SPI2CON.setCKE; inline;
  25832. begin
  25833. pTDefRegMap(@Self)^.&set := $00000100;
  25834. end;
  25835. procedure TSPI2_SPI2CON.clearCKE; inline;
  25836. begin
  25837. pTDefRegMap(@Self)^.clr := $00000100;
  25838. end;
  25839. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  25840. begin
  25841. if thebits = 0 then
  25842. pTDefRegMap(@Self)^.clr := $00000100
  25843. else
  25844. pTDefRegMap(@Self)^.&set := $00000100;
  25845. end;
  25846. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  25847. begin
  25848. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25849. end;
  25850. procedure TSPI2_SPI2CON.setSMP; inline;
  25851. begin
  25852. pTDefRegMap(@Self)^.&set := $00000200;
  25853. end;
  25854. procedure TSPI2_SPI2CON.clearSMP; inline;
  25855. begin
  25856. pTDefRegMap(@Self)^.clr := $00000200;
  25857. end;
  25858. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  25859. begin
  25860. if thebits = 0 then
  25861. pTDefRegMap(@Self)^.clr := $00000200
  25862. else
  25863. pTDefRegMap(@Self)^.&set := $00000200;
  25864. end;
  25865. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  25866. begin
  25867. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25868. end;
  25869. procedure TSPI2_SPI2CON.setMODE16; inline;
  25870. begin
  25871. pTDefRegMap(@Self)^.&set := $00000400;
  25872. end;
  25873. procedure TSPI2_SPI2CON.clearMODE16; inline;
  25874. begin
  25875. pTDefRegMap(@Self)^.clr := $00000400;
  25876. end;
  25877. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  25878. begin
  25879. if thebits = 0 then
  25880. pTDefRegMap(@Self)^.clr := $00000400
  25881. else
  25882. pTDefRegMap(@Self)^.&set := $00000400;
  25883. end;
  25884. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  25885. begin
  25886. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25887. end;
  25888. procedure TSPI2_SPI2CON.setMODE32; inline;
  25889. begin
  25890. pTDefRegMap(@Self)^.&set := $00000800;
  25891. end;
  25892. procedure TSPI2_SPI2CON.clearMODE32; inline;
  25893. begin
  25894. pTDefRegMap(@Self)^.clr := $00000800;
  25895. end;
  25896. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  25897. begin
  25898. if thebits = 0 then
  25899. pTDefRegMap(@Self)^.clr := $00000800
  25900. else
  25901. pTDefRegMap(@Self)^.&set := $00000800;
  25902. end;
  25903. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  25904. begin
  25905. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25906. end;
  25907. procedure TSPI2_SPI2CON.setDISSDO; inline;
  25908. begin
  25909. pTDefRegMap(@Self)^.&set := $00001000;
  25910. end;
  25911. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  25912. begin
  25913. pTDefRegMap(@Self)^.clr := $00001000;
  25914. end;
  25915. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  25916. begin
  25917. if thebits = 0 then
  25918. pTDefRegMap(@Self)^.clr := $00001000
  25919. else
  25920. pTDefRegMap(@Self)^.&set := $00001000;
  25921. end;
  25922. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  25923. begin
  25924. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25925. end;
  25926. procedure TSPI2_SPI2CON.setSIDL; inline;
  25927. begin
  25928. pTDefRegMap(@Self)^.&set := $00002000;
  25929. end;
  25930. procedure TSPI2_SPI2CON.clearSIDL; inline;
  25931. begin
  25932. pTDefRegMap(@Self)^.clr := $00002000;
  25933. end;
  25934. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  25935. begin
  25936. if thebits = 0 then
  25937. pTDefRegMap(@Self)^.clr := $00002000
  25938. else
  25939. pTDefRegMap(@Self)^.&set := $00002000;
  25940. end;
  25941. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  25942. begin
  25943. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25944. end;
  25945. procedure TSPI2_SPI2CON.setON; inline;
  25946. begin
  25947. pTDefRegMap(@Self)^.&set := $00008000;
  25948. end;
  25949. procedure TSPI2_SPI2CON.clearON; inline;
  25950. begin
  25951. pTDefRegMap(@Self)^.clr := $00008000;
  25952. end;
  25953. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  25954. begin
  25955. if thebits = 0 then
  25956. pTDefRegMap(@Self)^.clr := $00008000
  25957. else
  25958. pTDefRegMap(@Self)^.&set := $00008000;
  25959. end;
  25960. function TSPI2_SPI2CON.getON : TBits_1; inline;
  25961. begin
  25962. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25963. end;
  25964. procedure TSPI2_SPI2CON.setENHBUF; inline;
  25965. begin
  25966. pTDefRegMap(@Self)^.&set := $00010000;
  25967. end;
  25968. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  25969. begin
  25970. pTDefRegMap(@Self)^.clr := $00010000;
  25971. end;
  25972. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  25973. begin
  25974. if thebits = 0 then
  25975. pTDefRegMap(@Self)^.clr := $00010000
  25976. else
  25977. pTDefRegMap(@Self)^.&set := $00010000;
  25978. end;
  25979. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  25980. begin
  25981. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25982. end;
  25983. procedure TSPI2_SPI2CON.setSPIFE; inline;
  25984. begin
  25985. pTDefRegMap(@Self)^.&set := $00020000;
  25986. end;
  25987. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  25988. begin
  25989. pTDefRegMap(@Self)^.clr := $00020000;
  25990. end;
  25991. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  25992. begin
  25993. if thebits = 0 then
  25994. pTDefRegMap(@Self)^.clr := $00020000
  25995. else
  25996. pTDefRegMap(@Self)^.&set := $00020000;
  25997. end;
  25998. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  25999. begin
  26000. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26001. end;
  26002. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  26003. begin
  26004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26005. end;
  26006. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  26007. begin
  26008. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26009. end;
  26010. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  26011. begin
  26012. pTDefRegMap(@Self)^.&set := $08000000;
  26013. end;
  26014. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  26015. begin
  26016. pTDefRegMap(@Self)^.clr := $08000000;
  26017. end;
  26018. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  26019. begin
  26020. if thebits = 0 then
  26021. pTDefRegMap(@Self)^.clr := $08000000
  26022. else
  26023. pTDefRegMap(@Self)^.&set := $08000000;
  26024. end;
  26025. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  26026. begin
  26027. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26028. end;
  26029. procedure TSPI2_SPI2CON.setMSSEN; inline;
  26030. begin
  26031. pTDefRegMap(@Self)^.&set := $10000000;
  26032. end;
  26033. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  26034. begin
  26035. pTDefRegMap(@Self)^.clr := $10000000;
  26036. end;
  26037. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  26038. begin
  26039. if thebits = 0 then
  26040. pTDefRegMap(@Self)^.clr := $10000000
  26041. else
  26042. pTDefRegMap(@Self)^.&set := $10000000;
  26043. end;
  26044. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  26045. begin
  26046. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26047. end;
  26048. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  26049. begin
  26050. pTDefRegMap(@Self)^.&set := $20000000;
  26051. end;
  26052. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  26053. begin
  26054. pTDefRegMap(@Self)^.clr := $20000000;
  26055. end;
  26056. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  26057. begin
  26058. if thebits = 0 then
  26059. pTDefRegMap(@Self)^.clr := $20000000
  26060. else
  26061. pTDefRegMap(@Self)^.&set := $20000000;
  26062. end;
  26063. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  26064. begin
  26065. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26066. end;
  26067. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  26068. begin
  26069. pTDefRegMap(@Self)^.&set := $40000000;
  26070. end;
  26071. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  26072. begin
  26073. pTDefRegMap(@Self)^.clr := $40000000;
  26074. end;
  26075. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  26076. begin
  26077. if thebits = 0 then
  26078. pTDefRegMap(@Self)^.clr := $40000000
  26079. else
  26080. pTDefRegMap(@Self)^.&set := $40000000;
  26081. end;
  26082. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  26083. begin
  26084. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26085. end;
  26086. procedure TSPI2_SPI2CON.setFRMEN; inline;
  26087. begin
  26088. pTDefRegMap(@Self)^.&set := $80000000;
  26089. end;
  26090. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  26091. begin
  26092. pTDefRegMap(@Self)^.clr := $80000000;
  26093. end;
  26094. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  26095. begin
  26096. if thebits = 0 then
  26097. pTDefRegMap(@Self)^.clr := $80000000
  26098. else
  26099. pTDefRegMap(@Self)^.&set := $80000000;
  26100. end;
  26101. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  26102. begin
  26103. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26104. end;
  26105. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  26106. begin
  26107. pTDefRegMap(@Self)^.val := thebits;
  26108. end;
  26109. function TSPI2_SPI2CON.getw : TBits_32; inline;
  26110. begin
  26111. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26112. end;
  26113. procedure TSPI2_SPI2ASTAT.setSPIRBF; inline;
  26114. begin
  26115. pTDefRegMap(@Self)^.&set := $00000001;
  26116. end;
  26117. procedure TSPI2_SPI2ASTAT.clearSPIRBF; inline;
  26118. begin
  26119. pTDefRegMap(@Self)^.clr := $00000001;
  26120. end;
  26121. procedure TSPI2_SPI2ASTAT.setSPIRBF(thebits : TBits_1); inline;
  26122. begin
  26123. if thebits = 0 then
  26124. pTDefRegMap(@Self)^.clr := $00000001
  26125. else
  26126. pTDefRegMap(@Self)^.&set := $00000001;
  26127. end;
  26128. function TSPI2_SPI2ASTAT.getSPIRBF : TBits_1; inline;
  26129. begin
  26130. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26131. end;
  26132. procedure TSPI2_SPI2ASTAT.setSPITBF; inline;
  26133. begin
  26134. pTDefRegMap(@Self)^.&set := $00000002;
  26135. end;
  26136. procedure TSPI2_SPI2ASTAT.clearSPITBF; inline;
  26137. begin
  26138. pTDefRegMap(@Self)^.clr := $00000002;
  26139. end;
  26140. procedure TSPI2_SPI2ASTAT.setSPITBF(thebits : TBits_1); inline;
  26141. begin
  26142. if thebits = 0 then
  26143. pTDefRegMap(@Self)^.clr := $00000002
  26144. else
  26145. pTDefRegMap(@Self)^.&set := $00000002;
  26146. end;
  26147. function TSPI2_SPI2ASTAT.getSPITBF : TBits_1; inline;
  26148. begin
  26149. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26150. end;
  26151. procedure TSPI2_SPI2ASTAT.setSPITBE; inline;
  26152. begin
  26153. pTDefRegMap(@Self)^.&set := $00000008;
  26154. end;
  26155. procedure TSPI2_SPI2ASTAT.clearSPITBE; inline;
  26156. begin
  26157. pTDefRegMap(@Self)^.clr := $00000008;
  26158. end;
  26159. procedure TSPI2_SPI2ASTAT.setSPITBE(thebits : TBits_1); inline;
  26160. begin
  26161. if thebits = 0 then
  26162. pTDefRegMap(@Self)^.clr := $00000008
  26163. else
  26164. pTDefRegMap(@Self)^.&set := $00000008;
  26165. end;
  26166. function TSPI2_SPI2ASTAT.getSPITBE : TBits_1; inline;
  26167. begin
  26168. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26169. end;
  26170. procedure TSPI2_SPI2ASTAT.setSPIRBE; inline;
  26171. begin
  26172. pTDefRegMap(@Self)^.&set := $00000020;
  26173. end;
  26174. procedure TSPI2_SPI2ASTAT.clearSPIRBE; inline;
  26175. begin
  26176. pTDefRegMap(@Self)^.clr := $00000020;
  26177. end;
  26178. procedure TSPI2_SPI2ASTAT.setSPIRBE(thebits : TBits_1); inline;
  26179. begin
  26180. if thebits = 0 then
  26181. pTDefRegMap(@Self)^.clr := $00000020
  26182. else
  26183. pTDefRegMap(@Self)^.&set := $00000020;
  26184. end;
  26185. function TSPI2_SPI2ASTAT.getSPIRBE : TBits_1; inline;
  26186. begin
  26187. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26188. end;
  26189. procedure TSPI2_SPI2ASTAT.setSPIROV; inline;
  26190. begin
  26191. pTDefRegMap(@Self)^.&set := $00000040;
  26192. end;
  26193. procedure TSPI2_SPI2ASTAT.clearSPIROV; inline;
  26194. begin
  26195. pTDefRegMap(@Self)^.clr := $00000040;
  26196. end;
  26197. procedure TSPI2_SPI2ASTAT.setSPIROV(thebits : TBits_1); inline;
  26198. begin
  26199. if thebits = 0 then
  26200. pTDefRegMap(@Self)^.clr := $00000040
  26201. else
  26202. pTDefRegMap(@Self)^.&set := $00000040;
  26203. end;
  26204. function TSPI2_SPI2ASTAT.getSPIROV : TBits_1; inline;
  26205. begin
  26206. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26207. end;
  26208. procedure TSPI2_SPI2ASTAT.setSRMT; inline;
  26209. begin
  26210. pTDefRegMap(@Self)^.&set := $00000080;
  26211. end;
  26212. procedure TSPI2_SPI2ASTAT.clearSRMT; inline;
  26213. begin
  26214. pTDefRegMap(@Self)^.clr := $00000080;
  26215. end;
  26216. procedure TSPI2_SPI2ASTAT.setSRMT(thebits : TBits_1); inline;
  26217. begin
  26218. if thebits = 0 then
  26219. pTDefRegMap(@Self)^.clr := $00000080
  26220. else
  26221. pTDefRegMap(@Self)^.&set := $00000080;
  26222. end;
  26223. function TSPI2_SPI2ASTAT.getSRMT : TBits_1; inline;
  26224. begin
  26225. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26226. end;
  26227. procedure TSPI2_SPI2ASTAT.setSPITUR; inline;
  26228. begin
  26229. pTDefRegMap(@Self)^.&set := $00000100;
  26230. end;
  26231. procedure TSPI2_SPI2ASTAT.clearSPITUR; inline;
  26232. begin
  26233. pTDefRegMap(@Self)^.clr := $00000100;
  26234. end;
  26235. procedure TSPI2_SPI2ASTAT.setSPITUR(thebits : TBits_1); inline;
  26236. begin
  26237. if thebits = 0 then
  26238. pTDefRegMap(@Self)^.clr := $00000100
  26239. else
  26240. pTDefRegMap(@Self)^.&set := $00000100;
  26241. end;
  26242. function TSPI2_SPI2ASTAT.getSPITUR : TBits_1; inline;
  26243. begin
  26244. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26245. end;
  26246. procedure TSPI2_SPI2ASTAT.setSPIBUSY; inline;
  26247. begin
  26248. pTDefRegMap(@Self)^.&set := $00000800;
  26249. end;
  26250. procedure TSPI2_SPI2ASTAT.clearSPIBUSY; inline;
  26251. begin
  26252. pTDefRegMap(@Self)^.clr := $00000800;
  26253. end;
  26254. procedure TSPI2_SPI2ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  26255. begin
  26256. if thebits = 0 then
  26257. pTDefRegMap(@Self)^.clr := $00000800
  26258. else
  26259. pTDefRegMap(@Self)^.&set := $00000800;
  26260. end;
  26261. function TSPI2_SPI2ASTAT.getSPIBUSY : TBits_1; inline;
  26262. begin
  26263. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26264. end;
  26265. procedure TSPI2_SPI2ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  26266. begin
  26267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26268. end;
  26269. function TSPI2_SPI2ASTAT.getTXBUFELM : TBits_5; inline;
  26270. begin
  26271. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26272. end;
  26273. procedure TSPI2_SPI2ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  26274. begin
  26275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26276. end;
  26277. function TSPI2_SPI2ASTAT.getRXBUFELM : TBits_5; inline;
  26278. begin
  26279. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26280. end;
  26281. procedure TSPI2_SPI2ASTAT.setw(thebits : TBits_32); inline;
  26282. begin
  26283. pTDefRegMap(@Self)^.val := thebits;
  26284. end;
  26285. function TSPI2_SPI2ASTAT.getw : TBits_32; inline;
  26286. begin
  26287. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26288. end;
  26289. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  26290. begin
  26291. pTDefRegMap(@Self)^.&set := $00000001;
  26292. end;
  26293. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  26294. begin
  26295. pTDefRegMap(@Self)^.clr := $00000001;
  26296. end;
  26297. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  26298. begin
  26299. if thebits = 0 then
  26300. pTDefRegMap(@Self)^.clr := $00000001
  26301. else
  26302. pTDefRegMap(@Self)^.&set := $00000001;
  26303. end;
  26304. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  26305. begin
  26306. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26307. end;
  26308. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  26309. begin
  26310. pTDefRegMap(@Self)^.&set := $00000002;
  26311. end;
  26312. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  26313. begin
  26314. pTDefRegMap(@Self)^.clr := $00000002;
  26315. end;
  26316. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  26317. begin
  26318. if thebits = 0 then
  26319. pTDefRegMap(@Self)^.clr := $00000002
  26320. else
  26321. pTDefRegMap(@Self)^.&set := $00000002;
  26322. end;
  26323. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  26324. begin
  26325. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26326. end;
  26327. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  26328. begin
  26329. pTDefRegMap(@Self)^.&set := $00000008;
  26330. end;
  26331. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  26332. begin
  26333. pTDefRegMap(@Self)^.clr := $00000008;
  26334. end;
  26335. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  26336. begin
  26337. if thebits = 0 then
  26338. pTDefRegMap(@Self)^.clr := $00000008
  26339. else
  26340. pTDefRegMap(@Self)^.&set := $00000008;
  26341. end;
  26342. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  26343. begin
  26344. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26345. end;
  26346. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  26347. begin
  26348. pTDefRegMap(@Self)^.&set := $00000020;
  26349. end;
  26350. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  26351. begin
  26352. pTDefRegMap(@Self)^.clr := $00000020;
  26353. end;
  26354. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  26355. begin
  26356. if thebits = 0 then
  26357. pTDefRegMap(@Self)^.clr := $00000020
  26358. else
  26359. pTDefRegMap(@Self)^.&set := $00000020;
  26360. end;
  26361. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  26362. begin
  26363. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26364. end;
  26365. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  26366. begin
  26367. pTDefRegMap(@Self)^.&set := $00000040;
  26368. end;
  26369. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  26370. begin
  26371. pTDefRegMap(@Self)^.clr := $00000040;
  26372. end;
  26373. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  26374. begin
  26375. if thebits = 0 then
  26376. pTDefRegMap(@Self)^.clr := $00000040
  26377. else
  26378. pTDefRegMap(@Self)^.&set := $00000040;
  26379. end;
  26380. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  26381. begin
  26382. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26383. end;
  26384. procedure TSPI2_SPI2STAT.setSRMT; inline;
  26385. begin
  26386. pTDefRegMap(@Self)^.&set := $00000080;
  26387. end;
  26388. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  26389. begin
  26390. pTDefRegMap(@Self)^.clr := $00000080;
  26391. end;
  26392. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  26393. begin
  26394. if thebits = 0 then
  26395. pTDefRegMap(@Self)^.clr := $00000080
  26396. else
  26397. pTDefRegMap(@Self)^.&set := $00000080;
  26398. end;
  26399. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  26400. begin
  26401. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26402. end;
  26403. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  26404. begin
  26405. pTDefRegMap(@Self)^.&set := $00000100;
  26406. end;
  26407. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  26408. begin
  26409. pTDefRegMap(@Self)^.clr := $00000100;
  26410. end;
  26411. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  26412. begin
  26413. if thebits = 0 then
  26414. pTDefRegMap(@Self)^.clr := $00000100
  26415. else
  26416. pTDefRegMap(@Self)^.&set := $00000100;
  26417. end;
  26418. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  26419. begin
  26420. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26421. end;
  26422. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  26423. begin
  26424. pTDefRegMap(@Self)^.&set := $00000800;
  26425. end;
  26426. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  26427. begin
  26428. pTDefRegMap(@Self)^.clr := $00000800;
  26429. end;
  26430. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  26431. begin
  26432. if thebits = 0 then
  26433. pTDefRegMap(@Self)^.clr := $00000800
  26434. else
  26435. pTDefRegMap(@Self)^.&set := $00000800;
  26436. end;
  26437. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  26438. begin
  26439. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26440. end;
  26441. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  26442. begin
  26443. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26444. end;
  26445. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  26446. begin
  26447. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26448. end;
  26449. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  26450. begin
  26451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26452. end;
  26453. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  26454. begin
  26455. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26456. end;
  26457. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  26458. begin
  26459. pTDefRegMap(@Self)^.val := thebits;
  26460. end;
  26461. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  26462. begin
  26463. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26464. end;
  26465. procedure TSPI4_SPI3ACON.setSRXISEL(thebits : TBits_2); inline;
  26466. begin
  26467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26468. end;
  26469. function TSPI4_SPI3ACON.getSRXISEL : TBits_2; inline;
  26470. begin
  26471. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26472. end;
  26473. procedure TSPI4_SPI3ACON.setSTXISEL(thebits : TBits_2); inline;
  26474. begin
  26475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26476. end;
  26477. function TSPI4_SPI3ACON.getSTXISEL : TBits_2; inline;
  26478. begin
  26479. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26480. end;
  26481. procedure TSPI4_SPI3ACON.setMSTEN; inline;
  26482. begin
  26483. pTDefRegMap(@Self)^.&set := $00000020;
  26484. end;
  26485. procedure TSPI4_SPI3ACON.clearMSTEN; inline;
  26486. begin
  26487. pTDefRegMap(@Self)^.clr := $00000020;
  26488. end;
  26489. procedure TSPI4_SPI3ACON.setMSTEN(thebits : TBits_1); inline;
  26490. begin
  26491. if thebits = 0 then
  26492. pTDefRegMap(@Self)^.clr := $00000020
  26493. else
  26494. pTDefRegMap(@Self)^.&set := $00000020;
  26495. end;
  26496. function TSPI4_SPI3ACON.getMSTEN : TBits_1; inline;
  26497. begin
  26498. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26499. end;
  26500. procedure TSPI4_SPI3ACON.setCKP; inline;
  26501. begin
  26502. pTDefRegMap(@Self)^.&set := $00000040;
  26503. end;
  26504. procedure TSPI4_SPI3ACON.clearCKP; inline;
  26505. begin
  26506. pTDefRegMap(@Self)^.clr := $00000040;
  26507. end;
  26508. procedure TSPI4_SPI3ACON.setCKP(thebits : TBits_1); inline;
  26509. begin
  26510. if thebits = 0 then
  26511. pTDefRegMap(@Self)^.clr := $00000040
  26512. else
  26513. pTDefRegMap(@Self)^.&set := $00000040;
  26514. end;
  26515. function TSPI4_SPI3ACON.getCKP : TBits_1; inline;
  26516. begin
  26517. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26518. end;
  26519. procedure TSPI4_SPI3ACON.setSSEN; inline;
  26520. begin
  26521. pTDefRegMap(@Self)^.&set := $00000080;
  26522. end;
  26523. procedure TSPI4_SPI3ACON.clearSSEN; inline;
  26524. begin
  26525. pTDefRegMap(@Self)^.clr := $00000080;
  26526. end;
  26527. procedure TSPI4_SPI3ACON.setSSEN(thebits : TBits_1); inline;
  26528. begin
  26529. if thebits = 0 then
  26530. pTDefRegMap(@Self)^.clr := $00000080
  26531. else
  26532. pTDefRegMap(@Self)^.&set := $00000080;
  26533. end;
  26534. function TSPI4_SPI3ACON.getSSEN : TBits_1; inline;
  26535. begin
  26536. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26537. end;
  26538. procedure TSPI4_SPI3ACON.setCKE; inline;
  26539. begin
  26540. pTDefRegMap(@Self)^.&set := $00000100;
  26541. end;
  26542. procedure TSPI4_SPI3ACON.clearCKE; inline;
  26543. begin
  26544. pTDefRegMap(@Self)^.clr := $00000100;
  26545. end;
  26546. procedure TSPI4_SPI3ACON.setCKE(thebits : TBits_1); inline;
  26547. begin
  26548. if thebits = 0 then
  26549. pTDefRegMap(@Self)^.clr := $00000100
  26550. else
  26551. pTDefRegMap(@Self)^.&set := $00000100;
  26552. end;
  26553. function TSPI4_SPI3ACON.getCKE : TBits_1; inline;
  26554. begin
  26555. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26556. end;
  26557. procedure TSPI4_SPI3ACON.setSMP; inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.&set := $00000200;
  26560. end;
  26561. procedure TSPI4_SPI3ACON.clearSMP; inline;
  26562. begin
  26563. pTDefRegMap(@Self)^.clr := $00000200;
  26564. end;
  26565. procedure TSPI4_SPI3ACON.setSMP(thebits : TBits_1); inline;
  26566. begin
  26567. if thebits = 0 then
  26568. pTDefRegMap(@Self)^.clr := $00000200
  26569. else
  26570. pTDefRegMap(@Self)^.&set := $00000200;
  26571. end;
  26572. function TSPI4_SPI3ACON.getSMP : TBits_1; inline;
  26573. begin
  26574. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26575. end;
  26576. procedure TSPI4_SPI3ACON.setMODE16; inline;
  26577. begin
  26578. pTDefRegMap(@Self)^.&set := $00000400;
  26579. end;
  26580. procedure TSPI4_SPI3ACON.clearMODE16; inline;
  26581. begin
  26582. pTDefRegMap(@Self)^.clr := $00000400;
  26583. end;
  26584. procedure TSPI4_SPI3ACON.setMODE16(thebits : TBits_1); inline;
  26585. begin
  26586. if thebits = 0 then
  26587. pTDefRegMap(@Self)^.clr := $00000400
  26588. else
  26589. pTDefRegMap(@Self)^.&set := $00000400;
  26590. end;
  26591. function TSPI4_SPI3ACON.getMODE16 : TBits_1; inline;
  26592. begin
  26593. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26594. end;
  26595. procedure TSPI4_SPI3ACON.setMODE32; inline;
  26596. begin
  26597. pTDefRegMap(@Self)^.&set := $00000800;
  26598. end;
  26599. procedure TSPI4_SPI3ACON.clearMODE32; inline;
  26600. begin
  26601. pTDefRegMap(@Self)^.clr := $00000800;
  26602. end;
  26603. procedure TSPI4_SPI3ACON.setMODE32(thebits : TBits_1); inline;
  26604. begin
  26605. if thebits = 0 then
  26606. pTDefRegMap(@Self)^.clr := $00000800
  26607. else
  26608. pTDefRegMap(@Self)^.&set := $00000800;
  26609. end;
  26610. function TSPI4_SPI3ACON.getMODE32 : TBits_1; inline;
  26611. begin
  26612. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26613. end;
  26614. procedure TSPI4_SPI3ACON.setDISSDO; inline;
  26615. begin
  26616. pTDefRegMap(@Self)^.&set := $00001000;
  26617. end;
  26618. procedure TSPI4_SPI3ACON.clearDISSDO; inline;
  26619. begin
  26620. pTDefRegMap(@Self)^.clr := $00001000;
  26621. end;
  26622. procedure TSPI4_SPI3ACON.setDISSDO(thebits : TBits_1); inline;
  26623. begin
  26624. if thebits = 0 then
  26625. pTDefRegMap(@Self)^.clr := $00001000
  26626. else
  26627. pTDefRegMap(@Self)^.&set := $00001000;
  26628. end;
  26629. function TSPI4_SPI3ACON.getDISSDO : TBits_1; inline;
  26630. begin
  26631. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26632. end;
  26633. procedure TSPI4_SPI3ACON.setSIDL; inline;
  26634. begin
  26635. pTDefRegMap(@Self)^.&set := $00002000;
  26636. end;
  26637. procedure TSPI4_SPI3ACON.clearSIDL; inline;
  26638. begin
  26639. pTDefRegMap(@Self)^.clr := $00002000;
  26640. end;
  26641. procedure TSPI4_SPI3ACON.setSIDL(thebits : TBits_1); inline;
  26642. begin
  26643. if thebits = 0 then
  26644. pTDefRegMap(@Self)^.clr := $00002000
  26645. else
  26646. pTDefRegMap(@Self)^.&set := $00002000;
  26647. end;
  26648. function TSPI4_SPI3ACON.getSIDL : TBits_1; inline;
  26649. begin
  26650. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26651. end;
  26652. procedure TSPI4_SPI3ACON.setON; inline;
  26653. begin
  26654. pTDefRegMap(@Self)^.&set := $00008000;
  26655. end;
  26656. procedure TSPI4_SPI3ACON.clearON; inline;
  26657. begin
  26658. pTDefRegMap(@Self)^.clr := $00008000;
  26659. end;
  26660. procedure TSPI4_SPI3ACON.setON(thebits : TBits_1); inline;
  26661. begin
  26662. if thebits = 0 then
  26663. pTDefRegMap(@Self)^.clr := $00008000
  26664. else
  26665. pTDefRegMap(@Self)^.&set := $00008000;
  26666. end;
  26667. function TSPI4_SPI3ACON.getON : TBits_1; inline;
  26668. begin
  26669. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26670. end;
  26671. procedure TSPI4_SPI3ACON.setENHBUF; inline;
  26672. begin
  26673. pTDefRegMap(@Self)^.&set := $00010000;
  26674. end;
  26675. procedure TSPI4_SPI3ACON.clearENHBUF; inline;
  26676. begin
  26677. pTDefRegMap(@Self)^.clr := $00010000;
  26678. end;
  26679. procedure TSPI4_SPI3ACON.setENHBUF(thebits : TBits_1); inline;
  26680. begin
  26681. if thebits = 0 then
  26682. pTDefRegMap(@Self)^.clr := $00010000
  26683. else
  26684. pTDefRegMap(@Self)^.&set := $00010000;
  26685. end;
  26686. function TSPI4_SPI3ACON.getENHBUF : TBits_1; inline;
  26687. begin
  26688. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26689. end;
  26690. procedure TSPI4_SPI3ACON.setSPIFE; inline;
  26691. begin
  26692. pTDefRegMap(@Self)^.&set := $00020000;
  26693. end;
  26694. procedure TSPI4_SPI3ACON.clearSPIFE; inline;
  26695. begin
  26696. pTDefRegMap(@Self)^.clr := $00020000;
  26697. end;
  26698. procedure TSPI4_SPI3ACON.setSPIFE(thebits : TBits_1); inline;
  26699. begin
  26700. if thebits = 0 then
  26701. pTDefRegMap(@Self)^.clr := $00020000
  26702. else
  26703. pTDefRegMap(@Self)^.&set := $00020000;
  26704. end;
  26705. function TSPI4_SPI3ACON.getSPIFE : TBits_1; inline;
  26706. begin
  26707. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26708. end;
  26709. procedure TSPI4_SPI3ACON.setFRMCNT(thebits : TBits_3); inline;
  26710. begin
  26711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26712. end;
  26713. function TSPI4_SPI3ACON.getFRMCNT : TBits_3; inline;
  26714. begin
  26715. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26716. end;
  26717. procedure TSPI4_SPI3ACON.setFRMSYPW; inline;
  26718. begin
  26719. pTDefRegMap(@Self)^.&set := $08000000;
  26720. end;
  26721. procedure TSPI4_SPI3ACON.clearFRMSYPW; inline;
  26722. begin
  26723. pTDefRegMap(@Self)^.clr := $08000000;
  26724. end;
  26725. procedure TSPI4_SPI3ACON.setFRMSYPW(thebits : TBits_1); inline;
  26726. begin
  26727. if thebits = 0 then
  26728. pTDefRegMap(@Self)^.clr := $08000000
  26729. else
  26730. pTDefRegMap(@Self)^.&set := $08000000;
  26731. end;
  26732. function TSPI4_SPI3ACON.getFRMSYPW : TBits_1; inline;
  26733. begin
  26734. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26735. end;
  26736. procedure TSPI4_SPI3ACON.setMSSEN; inline;
  26737. begin
  26738. pTDefRegMap(@Self)^.&set := $10000000;
  26739. end;
  26740. procedure TSPI4_SPI3ACON.clearMSSEN; inline;
  26741. begin
  26742. pTDefRegMap(@Self)^.clr := $10000000;
  26743. end;
  26744. procedure TSPI4_SPI3ACON.setMSSEN(thebits : TBits_1); inline;
  26745. begin
  26746. if thebits = 0 then
  26747. pTDefRegMap(@Self)^.clr := $10000000
  26748. else
  26749. pTDefRegMap(@Self)^.&set := $10000000;
  26750. end;
  26751. function TSPI4_SPI3ACON.getMSSEN : TBits_1; inline;
  26752. begin
  26753. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26754. end;
  26755. procedure TSPI4_SPI3ACON.setFRMPOL; inline;
  26756. begin
  26757. pTDefRegMap(@Self)^.&set := $20000000;
  26758. end;
  26759. procedure TSPI4_SPI3ACON.clearFRMPOL; inline;
  26760. begin
  26761. pTDefRegMap(@Self)^.clr := $20000000;
  26762. end;
  26763. procedure TSPI4_SPI3ACON.setFRMPOL(thebits : TBits_1); inline;
  26764. begin
  26765. if thebits = 0 then
  26766. pTDefRegMap(@Self)^.clr := $20000000
  26767. else
  26768. pTDefRegMap(@Self)^.&set := $20000000;
  26769. end;
  26770. function TSPI4_SPI3ACON.getFRMPOL : TBits_1; inline;
  26771. begin
  26772. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26773. end;
  26774. procedure TSPI4_SPI3ACON.setFRMSYNC; inline;
  26775. begin
  26776. pTDefRegMap(@Self)^.&set := $40000000;
  26777. end;
  26778. procedure TSPI4_SPI3ACON.clearFRMSYNC; inline;
  26779. begin
  26780. pTDefRegMap(@Self)^.clr := $40000000;
  26781. end;
  26782. procedure TSPI4_SPI3ACON.setFRMSYNC(thebits : TBits_1); inline;
  26783. begin
  26784. if thebits = 0 then
  26785. pTDefRegMap(@Self)^.clr := $40000000
  26786. else
  26787. pTDefRegMap(@Self)^.&set := $40000000;
  26788. end;
  26789. function TSPI4_SPI3ACON.getFRMSYNC : TBits_1; inline;
  26790. begin
  26791. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26792. end;
  26793. procedure TSPI4_SPI3ACON.setFRMEN; inline;
  26794. begin
  26795. pTDefRegMap(@Self)^.&set := $80000000;
  26796. end;
  26797. procedure TSPI4_SPI3ACON.clearFRMEN; inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.clr := $80000000;
  26800. end;
  26801. procedure TSPI4_SPI3ACON.setFRMEN(thebits : TBits_1); inline;
  26802. begin
  26803. if thebits = 0 then
  26804. pTDefRegMap(@Self)^.clr := $80000000
  26805. else
  26806. pTDefRegMap(@Self)^.&set := $80000000;
  26807. end;
  26808. function TSPI4_SPI3ACON.getFRMEN : TBits_1; inline;
  26809. begin
  26810. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26811. end;
  26812. procedure TSPI4_SPI3ACON.setw(thebits : TBits_32); inline;
  26813. begin
  26814. pTDefRegMap(@Self)^.val := thebits;
  26815. end;
  26816. function TSPI4_SPI3ACON.getw : TBits_32; inline;
  26817. begin
  26818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26819. end;
  26820. procedure TSPI4_SPI4CON.setSRXISEL(thebits : TBits_2); inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26823. end;
  26824. function TSPI4_SPI4CON.getSRXISEL : TBits_2; inline;
  26825. begin
  26826. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26827. end;
  26828. procedure TSPI4_SPI4CON.setSTXISEL(thebits : TBits_2); inline;
  26829. begin
  26830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26831. end;
  26832. function TSPI4_SPI4CON.getSTXISEL : TBits_2; inline;
  26833. begin
  26834. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26835. end;
  26836. procedure TSPI4_SPI4CON.setMSTEN; inline;
  26837. begin
  26838. pTDefRegMap(@Self)^.&set := $00000020;
  26839. end;
  26840. procedure TSPI4_SPI4CON.clearMSTEN; inline;
  26841. begin
  26842. pTDefRegMap(@Self)^.clr := $00000020;
  26843. end;
  26844. procedure TSPI4_SPI4CON.setMSTEN(thebits : TBits_1); inline;
  26845. begin
  26846. if thebits = 0 then
  26847. pTDefRegMap(@Self)^.clr := $00000020
  26848. else
  26849. pTDefRegMap(@Self)^.&set := $00000020;
  26850. end;
  26851. function TSPI4_SPI4CON.getMSTEN : TBits_1; inline;
  26852. begin
  26853. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26854. end;
  26855. procedure TSPI4_SPI4CON.setCKP; inline;
  26856. begin
  26857. pTDefRegMap(@Self)^.&set := $00000040;
  26858. end;
  26859. procedure TSPI4_SPI4CON.clearCKP; inline;
  26860. begin
  26861. pTDefRegMap(@Self)^.clr := $00000040;
  26862. end;
  26863. procedure TSPI4_SPI4CON.setCKP(thebits : TBits_1); inline;
  26864. begin
  26865. if thebits = 0 then
  26866. pTDefRegMap(@Self)^.clr := $00000040
  26867. else
  26868. pTDefRegMap(@Self)^.&set := $00000040;
  26869. end;
  26870. function TSPI4_SPI4CON.getCKP : TBits_1; inline;
  26871. begin
  26872. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26873. end;
  26874. procedure TSPI4_SPI4CON.setSSEN; inline;
  26875. begin
  26876. pTDefRegMap(@Self)^.&set := $00000080;
  26877. end;
  26878. procedure TSPI4_SPI4CON.clearSSEN; inline;
  26879. begin
  26880. pTDefRegMap(@Self)^.clr := $00000080;
  26881. end;
  26882. procedure TSPI4_SPI4CON.setSSEN(thebits : TBits_1); inline;
  26883. begin
  26884. if thebits = 0 then
  26885. pTDefRegMap(@Self)^.clr := $00000080
  26886. else
  26887. pTDefRegMap(@Self)^.&set := $00000080;
  26888. end;
  26889. function TSPI4_SPI4CON.getSSEN : TBits_1; inline;
  26890. begin
  26891. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26892. end;
  26893. procedure TSPI4_SPI4CON.setCKE; inline;
  26894. begin
  26895. pTDefRegMap(@Self)^.&set := $00000100;
  26896. end;
  26897. procedure TSPI4_SPI4CON.clearCKE; inline;
  26898. begin
  26899. pTDefRegMap(@Self)^.clr := $00000100;
  26900. end;
  26901. procedure TSPI4_SPI4CON.setCKE(thebits : TBits_1); inline;
  26902. begin
  26903. if thebits = 0 then
  26904. pTDefRegMap(@Self)^.clr := $00000100
  26905. else
  26906. pTDefRegMap(@Self)^.&set := $00000100;
  26907. end;
  26908. function TSPI4_SPI4CON.getCKE : TBits_1; inline;
  26909. begin
  26910. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26911. end;
  26912. procedure TSPI4_SPI4CON.setSMP; inline;
  26913. begin
  26914. pTDefRegMap(@Self)^.&set := $00000200;
  26915. end;
  26916. procedure TSPI4_SPI4CON.clearSMP; inline;
  26917. begin
  26918. pTDefRegMap(@Self)^.clr := $00000200;
  26919. end;
  26920. procedure TSPI4_SPI4CON.setSMP(thebits : TBits_1); inline;
  26921. begin
  26922. if thebits = 0 then
  26923. pTDefRegMap(@Self)^.clr := $00000200
  26924. else
  26925. pTDefRegMap(@Self)^.&set := $00000200;
  26926. end;
  26927. function TSPI4_SPI4CON.getSMP : TBits_1; inline;
  26928. begin
  26929. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26930. end;
  26931. procedure TSPI4_SPI4CON.setMODE16; inline;
  26932. begin
  26933. pTDefRegMap(@Self)^.&set := $00000400;
  26934. end;
  26935. procedure TSPI4_SPI4CON.clearMODE16; inline;
  26936. begin
  26937. pTDefRegMap(@Self)^.clr := $00000400;
  26938. end;
  26939. procedure TSPI4_SPI4CON.setMODE16(thebits : TBits_1); inline;
  26940. begin
  26941. if thebits = 0 then
  26942. pTDefRegMap(@Self)^.clr := $00000400
  26943. else
  26944. pTDefRegMap(@Self)^.&set := $00000400;
  26945. end;
  26946. function TSPI4_SPI4CON.getMODE16 : TBits_1; inline;
  26947. begin
  26948. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26949. end;
  26950. procedure TSPI4_SPI4CON.setMODE32; inline;
  26951. begin
  26952. pTDefRegMap(@Self)^.&set := $00000800;
  26953. end;
  26954. procedure TSPI4_SPI4CON.clearMODE32; inline;
  26955. begin
  26956. pTDefRegMap(@Self)^.clr := $00000800;
  26957. end;
  26958. procedure TSPI4_SPI4CON.setMODE32(thebits : TBits_1); inline;
  26959. begin
  26960. if thebits = 0 then
  26961. pTDefRegMap(@Self)^.clr := $00000800
  26962. else
  26963. pTDefRegMap(@Self)^.&set := $00000800;
  26964. end;
  26965. function TSPI4_SPI4CON.getMODE32 : TBits_1; inline;
  26966. begin
  26967. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26968. end;
  26969. procedure TSPI4_SPI4CON.setDISSDO; inline;
  26970. begin
  26971. pTDefRegMap(@Self)^.&set := $00001000;
  26972. end;
  26973. procedure TSPI4_SPI4CON.clearDISSDO; inline;
  26974. begin
  26975. pTDefRegMap(@Self)^.clr := $00001000;
  26976. end;
  26977. procedure TSPI4_SPI4CON.setDISSDO(thebits : TBits_1); inline;
  26978. begin
  26979. if thebits = 0 then
  26980. pTDefRegMap(@Self)^.clr := $00001000
  26981. else
  26982. pTDefRegMap(@Self)^.&set := $00001000;
  26983. end;
  26984. function TSPI4_SPI4CON.getDISSDO : TBits_1; inline;
  26985. begin
  26986. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26987. end;
  26988. procedure TSPI4_SPI4CON.setSIDL; inline;
  26989. begin
  26990. pTDefRegMap(@Self)^.&set := $00002000;
  26991. end;
  26992. procedure TSPI4_SPI4CON.clearSIDL; inline;
  26993. begin
  26994. pTDefRegMap(@Self)^.clr := $00002000;
  26995. end;
  26996. procedure TSPI4_SPI4CON.setSIDL(thebits : TBits_1); inline;
  26997. begin
  26998. if thebits = 0 then
  26999. pTDefRegMap(@Self)^.clr := $00002000
  27000. else
  27001. pTDefRegMap(@Self)^.&set := $00002000;
  27002. end;
  27003. function TSPI4_SPI4CON.getSIDL : TBits_1; inline;
  27004. begin
  27005. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27006. end;
  27007. procedure TSPI4_SPI4CON.setON; inline;
  27008. begin
  27009. pTDefRegMap(@Self)^.&set := $00008000;
  27010. end;
  27011. procedure TSPI4_SPI4CON.clearON; inline;
  27012. begin
  27013. pTDefRegMap(@Self)^.clr := $00008000;
  27014. end;
  27015. procedure TSPI4_SPI4CON.setON(thebits : TBits_1); inline;
  27016. begin
  27017. if thebits = 0 then
  27018. pTDefRegMap(@Self)^.clr := $00008000
  27019. else
  27020. pTDefRegMap(@Self)^.&set := $00008000;
  27021. end;
  27022. function TSPI4_SPI4CON.getON : TBits_1; inline;
  27023. begin
  27024. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27025. end;
  27026. procedure TSPI4_SPI4CON.setENHBUF; inline;
  27027. begin
  27028. pTDefRegMap(@Self)^.&set := $00010000;
  27029. end;
  27030. procedure TSPI4_SPI4CON.clearENHBUF; inline;
  27031. begin
  27032. pTDefRegMap(@Self)^.clr := $00010000;
  27033. end;
  27034. procedure TSPI4_SPI4CON.setENHBUF(thebits : TBits_1); inline;
  27035. begin
  27036. if thebits = 0 then
  27037. pTDefRegMap(@Self)^.clr := $00010000
  27038. else
  27039. pTDefRegMap(@Self)^.&set := $00010000;
  27040. end;
  27041. function TSPI4_SPI4CON.getENHBUF : TBits_1; inline;
  27042. begin
  27043. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27044. end;
  27045. procedure TSPI4_SPI4CON.setSPIFE; inline;
  27046. begin
  27047. pTDefRegMap(@Self)^.&set := $00020000;
  27048. end;
  27049. procedure TSPI4_SPI4CON.clearSPIFE; inline;
  27050. begin
  27051. pTDefRegMap(@Self)^.clr := $00020000;
  27052. end;
  27053. procedure TSPI4_SPI4CON.setSPIFE(thebits : TBits_1); inline;
  27054. begin
  27055. if thebits = 0 then
  27056. pTDefRegMap(@Self)^.clr := $00020000
  27057. else
  27058. pTDefRegMap(@Self)^.&set := $00020000;
  27059. end;
  27060. function TSPI4_SPI4CON.getSPIFE : TBits_1; inline;
  27061. begin
  27062. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27063. end;
  27064. procedure TSPI4_SPI4CON.setFRMCNT(thebits : TBits_3); inline;
  27065. begin
  27066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27067. end;
  27068. function TSPI4_SPI4CON.getFRMCNT : TBits_3; inline;
  27069. begin
  27070. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27071. end;
  27072. procedure TSPI4_SPI4CON.setFRMSYPW; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.&set := $08000000;
  27075. end;
  27076. procedure TSPI4_SPI4CON.clearFRMSYPW; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.clr := $08000000;
  27079. end;
  27080. procedure TSPI4_SPI4CON.setFRMSYPW(thebits : TBits_1); inline;
  27081. begin
  27082. if thebits = 0 then
  27083. pTDefRegMap(@Self)^.clr := $08000000
  27084. else
  27085. pTDefRegMap(@Self)^.&set := $08000000;
  27086. end;
  27087. function TSPI4_SPI4CON.getFRMSYPW : TBits_1; inline;
  27088. begin
  27089. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27090. end;
  27091. procedure TSPI4_SPI4CON.setMSSEN; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.&set := $10000000;
  27094. end;
  27095. procedure TSPI4_SPI4CON.clearMSSEN; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.clr := $10000000;
  27098. end;
  27099. procedure TSPI4_SPI4CON.setMSSEN(thebits : TBits_1); inline;
  27100. begin
  27101. if thebits = 0 then
  27102. pTDefRegMap(@Self)^.clr := $10000000
  27103. else
  27104. pTDefRegMap(@Self)^.&set := $10000000;
  27105. end;
  27106. function TSPI4_SPI4CON.getMSSEN : TBits_1; inline;
  27107. begin
  27108. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27109. end;
  27110. procedure TSPI4_SPI4CON.setFRMPOL; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.&set := $20000000;
  27113. end;
  27114. procedure TSPI4_SPI4CON.clearFRMPOL; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.clr := $20000000;
  27117. end;
  27118. procedure TSPI4_SPI4CON.setFRMPOL(thebits : TBits_1); inline;
  27119. begin
  27120. if thebits = 0 then
  27121. pTDefRegMap(@Self)^.clr := $20000000
  27122. else
  27123. pTDefRegMap(@Self)^.&set := $20000000;
  27124. end;
  27125. function TSPI4_SPI4CON.getFRMPOL : TBits_1; inline;
  27126. begin
  27127. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27128. end;
  27129. procedure TSPI4_SPI4CON.setFRMSYNC; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.&set := $40000000;
  27132. end;
  27133. procedure TSPI4_SPI4CON.clearFRMSYNC; inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.clr := $40000000;
  27136. end;
  27137. procedure TSPI4_SPI4CON.setFRMSYNC(thebits : TBits_1); inline;
  27138. begin
  27139. if thebits = 0 then
  27140. pTDefRegMap(@Self)^.clr := $40000000
  27141. else
  27142. pTDefRegMap(@Self)^.&set := $40000000;
  27143. end;
  27144. function TSPI4_SPI4CON.getFRMSYNC : TBits_1; inline;
  27145. begin
  27146. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27147. end;
  27148. procedure TSPI4_SPI4CON.setFRMEN; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.&set := $80000000;
  27151. end;
  27152. procedure TSPI4_SPI4CON.clearFRMEN; inline;
  27153. begin
  27154. pTDefRegMap(@Self)^.clr := $80000000;
  27155. end;
  27156. procedure TSPI4_SPI4CON.setFRMEN(thebits : TBits_1); inline;
  27157. begin
  27158. if thebits = 0 then
  27159. pTDefRegMap(@Self)^.clr := $80000000
  27160. else
  27161. pTDefRegMap(@Self)^.&set := $80000000;
  27162. end;
  27163. function TSPI4_SPI4CON.getFRMEN : TBits_1; inline;
  27164. begin
  27165. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27166. end;
  27167. procedure TSPI4_SPI4CON.setw(thebits : TBits_32); inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.val := thebits;
  27170. end;
  27171. function TSPI4_SPI4CON.getw : TBits_32; inline;
  27172. begin
  27173. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27174. end;
  27175. procedure TSPI4_SPI3ASTAT.setSPIRBF; inline;
  27176. begin
  27177. pTDefRegMap(@Self)^.&set := $00000001;
  27178. end;
  27179. procedure TSPI4_SPI3ASTAT.clearSPIRBF; inline;
  27180. begin
  27181. pTDefRegMap(@Self)^.clr := $00000001;
  27182. end;
  27183. procedure TSPI4_SPI3ASTAT.setSPIRBF(thebits : TBits_1); inline;
  27184. begin
  27185. if thebits = 0 then
  27186. pTDefRegMap(@Self)^.clr := $00000001
  27187. else
  27188. pTDefRegMap(@Self)^.&set := $00000001;
  27189. end;
  27190. function TSPI4_SPI3ASTAT.getSPIRBF : TBits_1; inline;
  27191. begin
  27192. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27193. end;
  27194. procedure TSPI4_SPI3ASTAT.setSPITBF; inline;
  27195. begin
  27196. pTDefRegMap(@Self)^.&set := $00000002;
  27197. end;
  27198. procedure TSPI4_SPI3ASTAT.clearSPITBF; inline;
  27199. begin
  27200. pTDefRegMap(@Self)^.clr := $00000002;
  27201. end;
  27202. procedure TSPI4_SPI3ASTAT.setSPITBF(thebits : TBits_1); inline;
  27203. begin
  27204. if thebits = 0 then
  27205. pTDefRegMap(@Self)^.clr := $00000002
  27206. else
  27207. pTDefRegMap(@Self)^.&set := $00000002;
  27208. end;
  27209. function TSPI4_SPI3ASTAT.getSPITBF : TBits_1; inline;
  27210. begin
  27211. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27212. end;
  27213. procedure TSPI4_SPI3ASTAT.setSPITBE; inline;
  27214. begin
  27215. pTDefRegMap(@Self)^.&set := $00000008;
  27216. end;
  27217. procedure TSPI4_SPI3ASTAT.clearSPITBE; inline;
  27218. begin
  27219. pTDefRegMap(@Self)^.clr := $00000008;
  27220. end;
  27221. procedure TSPI4_SPI3ASTAT.setSPITBE(thebits : TBits_1); inline;
  27222. begin
  27223. if thebits = 0 then
  27224. pTDefRegMap(@Self)^.clr := $00000008
  27225. else
  27226. pTDefRegMap(@Self)^.&set := $00000008;
  27227. end;
  27228. function TSPI4_SPI3ASTAT.getSPITBE : TBits_1; inline;
  27229. begin
  27230. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27231. end;
  27232. procedure TSPI4_SPI3ASTAT.setSPIRBE; inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.&set := $00000020;
  27235. end;
  27236. procedure TSPI4_SPI3ASTAT.clearSPIRBE; inline;
  27237. begin
  27238. pTDefRegMap(@Self)^.clr := $00000020;
  27239. end;
  27240. procedure TSPI4_SPI3ASTAT.setSPIRBE(thebits : TBits_1); inline;
  27241. begin
  27242. if thebits = 0 then
  27243. pTDefRegMap(@Self)^.clr := $00000020
  27244. else
  27245. pTDefRegMap(@Self)^.&set := $00000020;
  27246. end;
  27247. function TSPI4_SPI3ASTAT.getSPIRBE : TBits_1; inline;
  27248. begin
  27249. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27250. end;
  27251. procedure TSPI4_SPI3ASTAT.setSPIROV; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.&set := $00000040;
  27254. end;
  27255. procedure TSPI4_SPI3ASTAT.clearSPIROV; inline;
  27256. begin
  27257. pTDefRegMap(@Self)^.clr := $00000040;
  27258. end;
  27259. procedure TSPI4_SPI3ASTAT.setSPIROV(thebits : TBits_1); inline;
  27260. begin
  27261. if thebits = 0 then
  27262. pTDefRegMap(@Self)^.clr := $00000040
  27263. else
  27264. pTDefRegMap(@Self)^.&set := $00000040;
  27265. end;
  27266. function TSPI4_SPI3ASTAT.getSPIROV : TBits_1; inline;
  27267. begin
  27268. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27269. end;
  27270. procedure TSPI4_SPI3ASTAT.setSRMT; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.&set := $00000080;
  27273. end;
  27274. procedure TSPI4_SPI3ASTAT.clearSRMT; inline;
  27275. begin
  27276. pTDefRegMap(@Self)^.clr := $00000080;
  27277. end;
  27278. procedure TSPI4_SPI3ASTAT.setSRMT(thebits : TBits_1); inline;
  27279. begin
  27280. if thebits = 0 then
  27281. pTDefRegMap(@Self)^.clr := $00000080
  27282. else
  27283. pTDefRegMap(@Self)^.&set := $00000080;
  27284. end;
  27285. function TSPI4_SPI3ASTAT.getSRMT : TBits_1; inline;
  27286. begin
  27287. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27288. end;
  27289. procedure TSPI4_SPI3ASTAT.setSPITUR; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.&set := $00000100;
  27292. end;
  27293. procedure TSPI4_SPI3ASTAT.clearSPITUR; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.clr := $00000100;
  27296. end;
  27297. procedure TSPI4_SPI3ASTAT.setSPITUR(thebits : TBits_1); inline;
  27298. begin
  27299. if thebits = 0 then
  27300. pTDefRegMap(@Self)^.clr := $00000100
  27301. else
  27302. pTDefRegMap(@Self)^.&set := $00000100;
  27303. end;
  27304. function TSPI4_SPI3ASTAT.getSPITUR : TBits_1; inline;
  27305. begin
  27306. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27307. end;
  27308. procedure TSPI4_SPI3ASTAT.setSPIBUSY; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000800;
  27311. end;
  27312. procedure TSPI4_SPI3ASTAT.clearSPIBUSY; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000800;
  27315. end;
  27316. procedure TSPI4_SPI3ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000800
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000800;
  27322. end;
  27323. function TSPI4_SPI3ASTAT.getSPIBUSY : TBits_1; inline;
  27324. begin
  27325. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27326. end;
  27327. procedure TSPI4_SPI3ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27330. end;
  27331. function TSPI4_SPI3ASTAT.getTXBUFELM : TBits_5; inline;
  27332. begin
  27333. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27334. end;
  27335. procedure TSPI4_SPI3ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  27336. begin
  27337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27338. end;
  27339. function TSPI4_SPI3ASTAT.getRXBUFELM : TBits_5; inline;
  27340. begin
  27341. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27342. end;
  27343. procedure TSPI4_SPI3ASTAT.setw(thebits : TBits_32); inline;
  27344. begin
  27345. pTDefRegMap(@Self)^.val := thebits;
  27346. end;
  27347. function TSPI4_SPI3ASTAT.getw : TBits_32; inline;
  27348. begin
  27349. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27350. end;
  27351. procedure TSPI4_SPI4STAT.setSPIRBF; inline;
  27352. begin
  27353. pTDefRegMap(@Self)^.&set := $00000001;
  27354. end;
  27355. procedure TSPI4_SPI4STAT.clearSPIRBF; inline;
  27356. begin
  27357. pTDefRegMap(@Self)^.clr := $00000001;
  27358. end;
  27359. procedure TSPI4_SPI4STAT.setSPIRBF(thebits : TBits_1); inline;
  27360. begin
  27361. if thebits = 0 then
  27362. pTDefRegMap(@Self)^.clr := $00000001
  27363. else
  27364. pTDefRegMap(@Self)^.&set := $00000001;
  27365. end;
  27366. function TSPI4_SPI4STAT.getSPIRBF : TBits_1; inline;
  27367. begin
  27368. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27369. end;
  27370. procedure TSPI4_SPI4STAT.setSPITBF; inline;
  27371. begin
  27372. pTDefRegMap(@Self)^.&set := $00000002;
  27373. end;
  27374. procedure TSPI4_SPI4STAT.clearSPITBF; inline;
  27375. begin
  27376. pTDefRegMap(@Self)^.clr := $00000002;
  27377. end;
  27378. procedure TSPI4_SPI4STAT.setSPITBF(thebits : TBits_1); inline;
  27379. begin
  27380. if thebits = 0 then
  27381. pTDefRegMap(@Self)^.clr := $00000002
  27382. else
  27383. pTDefRegMap(@Self)^.&set := $00000002;
  27384. end;
  27385. function TSPI4_SPI4STAT.getSPITBF : TBits_1; inline;
  27386. begin
  27387. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27388. end;
  27389. procedure TSPI4_SPI4STAT.setSPITBE; inline;
  27390. begin
  27391. pTDefRegMap(@Self)^.&set := $00000008;
  27392. end;
  27393. procedure TSPI4_SPI4STAT.clearSPITBE; inline;
  27394. begin
  27395. pTDefRegMap(@Self)^.clr := $00000008;
  27396. end;
  27397. procedure TSPI4_SPI4STAT.setSPITBE(thebits : TBits_1); inline;
  27398. begin
  27399. if thebits = 0 then
  27400. pTDefRegMap(@Self)^.clr := $00000008
  27401. else
  27402. pTDefRegMap(@Self)^.&set := $00000008;
  27403. end;
  27404. function TSPI4_SPI4STAT.getSPITBE : TBits_1; inline;
  27405. begin
  27406. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27407. end;
  27408. procedure TSPI4_SPI4STAT.setSPIRBE; inline;
  27409. begin
  27410. pTDefRegMap(@Self)^.&set := $00000020;
  27411. end;
  27412. procedure TSPI4_SPI4STAT.clearSPIRBE; inline;
  27413. begin
  27414. pTDefRegMap(@Self)^.clr := $00000020;
  27415. end;
  27416. procedure TSPI4_SPI4STAT.setSPIRBE(thebits : TBits_1); inline;
  27417. begin
  27418. if thebits = 0 then
  27419. pTDefRegMap(@Self)^.clr := $00000020
  27420. else
  27421. pTDefRegMap(@Self)^.&set := $00000020;
  27422. end;
  27423. function TSPI4_SPI4STAT.getSPIRBE : TBits_1; inline;
  27424. begin
  27425. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27426. end;
  27427. procedure TSPI4_SPI4STAT.setSPIROV; inline;
  27428. begin
  27429. pTDefRegMap(@Self)^.&set := $00000040;
  27430. end;
  27431. procedure TSPI4_SPI4STAT.clearSPIROV; inline;
  27432. begin
  27433. pTDefRegMap(@Self)^.clr := $00000040;
  27434. end;
  27435. procedure TSPI4_SPI4STAT.setSPIROV(thebits : TBits_1); inline;
  27436. begin
  27437. if thebits = 0 then
  27438. pTDefRegMap(@Self)^.clr := $00000040
  27439. else
  27440. pTDefRegMap(@Self)^.&set := $00000040;
  27441. end;
  27442. function TSPI4_SPI4STAT.getSPIROV : TBits_1; inline;
  27443. begin
  27444. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27445. end;
  27446. procedure TSPI4_SPI4STAT.setSRMT; inline;
  27447. begin
  27448. pTDefRegMap(@Self)^.&set := $00000080;
  27449. end;
  27450. procedure TSPI4_SPI4STAT.clearSRMT; inline;
  27451. begin
  27452. pTDefRegMap(@Self)^.clr := $00000080;
  27453. end;
  27454. procedure TSPI4_SPI4STAT.setSRMT(thebits : TBits_1); inline;
  27455. begin
  27456. if thebits = 0 then
  27457. pTDefRegMap(@Self)^.clr := $00000080
  27458. else
  27459. pTDefRegMap(@Self)^.&set := $00000080;
  27460. end;
  27461. function TSPI4_SPI4STAT.getSRMT : TBits_1; inline;
  27462. begin
  27463. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27464. end;
  27465. procedure TSPI4_SPI4STAT.setSPITUR; inline;
  27466. begin
  27467. pTDefRegMap(@Self)^.&set := $00000100;
  27468. end;
  27469. procedure TSPI4_SPI4STAT.clearSPITUR; inline;
  27470. begin
  27471. pTDefRegMap(@Self)^.clr := $00000100;
  27472. end;
  27473. procedure TSPI4_SPI4STAT.setSPITUR(thebits : TBits_1); inline;
  27474. begin
  27475. if thebits = 0 then
  27476. pTDefRegMap(@Self)^.clr := $00000100
  27477. else
  27478. pTDefRegMap(@Self)^.&set := $00000100;
  27479. end;
  27480. function TSPI4_SPI4STAT.getSPITUR : TBits_1; inline;
  27481. begin
  27482. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27483. end;
  27484. procedure TSPI4_SPI4STAT.setSPIBUSY; inline;
  27485. begin
  27486. pTDefRegMap(@Self)^.&set := $00000800;
  27487. end;
  27488. procedure TSPI4_SPI4STAT.clearSPIBUSY; inline;
  27489. begin
  27490. pTDefRegMap(@Self)^.clr := $00000800;
  27491. end;
  27492. procedure TSPI4_SPI4STAT.setSPIBUSY(thebits : TBits_1); inline;
  27493. begin
  27494. if thebits = 0 then
  27495. pTDefRegMap(@Self)^.clr := $00000800
  27496. else
  27497. pTDefRegMap(@Self)^.&set := $00000800;
  27498. end;
  27499. function TSPI4_SPI4STAT.getSPIBUSY : TBits_1; inline;
  27500. begin
  27501. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27502. end;
  27503. procedure TSPI4_SPI4STAT.setTXBUFELM(thebits : TBits_5); inline;
  27504. begin
  27505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27506. end;
  27507. function TSPI4_SPI4STAT.getTXBUFELM : TBits_5; inline;
  27508. begin
  27509. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27510. end;
  27511. procedure TSPI4_SPI4STAT.setRXBUFELM(thebits : TBits_5); inline;
  27512. begin
  27513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27514. end;
  27515. function TSPI4_SPI4STAT.getRXBUFELM : TBits_5; inline;
  27516. begin
  27517. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27518. end;
  27519. procedure TSPI4_SPI4STAT.setw(thebits : TBits_32); inline;
  27520. begin
  27521. pTDefRegMap(@Self)^.val := thebits;
  27522. end;
  27523. function TSPI4_SPI4STAT.getw : TBits_32; inline;
  27524. begin
  27525. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27526. end;
  27527. procedure TUART1_U1AMODE.setSTSEL; inline;
  27528. begin
  27529. pTDefRegMap(@Self)^.&set := $00000001;
  27530. end;
  27531. procedure TUART1_U1AMODE.clearSTSEL; inline;
  27532. begin
  27533. pTDefRegMap(@Self)^.clr := $00000001;
  27534. end;
  27535. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  27536. begin
  27537. if thebits = 0 then
  27538. pTDefRegMap(@Self)^.clr := $00000001
  27539. else
  27540. pTDefRegMap(@Self)^.&set := $00000001;
  27541. end;
  27542. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  27543. begin
  27544. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27545. end;
  27546. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  27547. begin
  27548. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27549. end;
  27550. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  27551. begin
  27552. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27553. end;
  27554. procedure TUART1_U1AMODE.setBRGH; inline;
  27555. begin
  27556. pTDefRegMap(@Self)^.&set := $00000008;
  27557. end;
  27558. procedure TUART1_U1AMODE.clearBRGH; inline;
  27559. begin
  27560. pTDefRegMap(@Self)^.clr := $00000008;
  27561. end;
  27562. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  27563. begin
  27564. if thebits = 0 then
  27565. pTDefRegMap(@Self)^.clr := $00000008
  27566. else
  27567. pTDefRegMap(@Self)^.&set := $00000008;
  27568. end;
  27569. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  27570. begin
  27571. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27572. end;
  27573. procedure TUART1_U1AMODE.setRXINV; inline;
  27574. begin
  27575. pTDefRegMap(@Self)^.&set := $00000010;
  27576. end;
  27577. procedure TUART1_U1AMODE.clearRXINV; inline;
  27578. begin
  27579. pTDefRegMap(@Self)^.clr := $00000010;
  27580. end;
  27581. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  27582. begin
  27583. if thebits = 0 then
  27584. pTDefRegMap(@Self)^.clr := $00000010
  27585. else
  27586. pTDefRegMap(@Self)^.&set := $00000010;
  27587. end;
  27588. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  27589. begin
  27590. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27591. end;
  27592. procedure TUART1_U1AMODE.setABAUD; inline;
  27593. begin
  27594. pTDefRegMap(@Self)^.&set := $00000020;
  27595. end;
  27596. procedure TUART1_U1AMODE.clearABAUD; inline;
  27597. begin
  27598. pTDefRegMap(@Self)^.clr := $00000020;
  27599. end;
  27600. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  27601. begin
  27602. if thebits = 0 then
  27603. pTDefRegMap(@Self)^.clr := $00000020
  27604. else
  27605. pTDefRegMap(@Self)^.&set := $00000020;
  27606. end;
  27607. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  27608. begin
  27609. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27610. end;
  27611. procedure TUART1_U1AMODE.setLPBACK; inline;
  27612. begin
  27613. pTDefRegMap(@Self)^.&set := $00000040;
  27614. end;
  27615. procedure TUART1_U1AMODE.clearLPBACK; inline;
  27616. begin
  27617. pTDefRegMap(@Self)^.clr := $00000040;
  27618. end;
  27619. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  27620. begin
  27621. if thebits = 0 then
  27622. pTDefRegMap(@Self)^.clr := $00000040
  27623. else
  27624. pTDefRegMap(@Self)^.&set := $00000040;
  27625. end;
  27626. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  27627. begin
  27628. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27629. end;
  27630. procedure TUART1_U1AMODE.setWAKE; inline;
  27631. begin
  27632. pTDefRegMap(@Self)^.&set := $00000080;
  27633. end;
  27634. procedure TUART1_U1AMODE.clearWAKE; inline;
  27635. begin
  27636. pTDefRegMap(@Self)^.clr := $00000080;
  27637. end;
  27638. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  27639. begin
  27640. if thebits = 0 then
  27641. pTDefRegMap(@Self)^.clr := $00000080
  27642. else
  27643. pTDefRegMap(@Self)^.&set := $00000080;
  27644. end;
  27645. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  27646. begin
  27647. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27648. end;
  27649. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  27650. begin
  27651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27652. end;
  27653. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  27654. begin
  27655. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27656. end;
  27657. procedure TUART1_U1AMODE.setRTSMD; inline;
  27658. begin
  27659. pTDefRegMap(@Self)^.&set := $00000800;
  27660. end;
  27661. procedure TUART1_U1AMODE.clearRTSMD; inline;
  27662. begin
  27663. pTDefRegMap(@Self)^.clr := $00000800;
  27664. end;
  27665. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  27666. begin
  27667. if thebits = 0 then
  27668. pTDefRegMap(@Self)^.clr := $00000800
  27669. else
  27670. pTDefRegMap(@Self)^.&set := $00000800;
  27671. end;
  27672. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  27673. begin
  27674. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27675. end;
  27676. procedure TUART1_U1AMODE.setIREN; inline;
  27677. begin
  27678. pTDefRegMap(@Self)^.&set := $00001000;
  27679. end;
  27680. procedure TUART1_U1AMODE.clearIREN; inline;
  27681. begin
  27682. pTDefRegMap(@Self)^.clr := $00001000;
  27683. end;
  27684. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  27685. begin
  27686. if thebits = 0 then
  27687. pTDefRegMap(@Self)^.clr := $00001000
  27688. else
  27689. pTDefRegMap(@Self)^.&set := $00001000;
  27690. end;
  27691. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  27692. begin
  27693. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27694. end;
  27695. procedure TUART1_U1AMODE.setSIDL; inline;
  27696. begin
  27697. pTDefRegMap(@Self)^.&set := $00002000;
  27698. end;
  27699. procedure TUART1_U1AMODE.clearSIDL; inline;
  27700. begin
  27701. pTDefRegMap(@Self)^.clr := $00002000;
  27702. end;
  27703. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  27704. begin
  27705. if thebits = 0 then
  27706. pTDefRegMap(@Self)^.clr := $00002000
  27707. else
  27708. pTDefRegMap(@Self)^.&set := $00002000;
  27709. end;
  27710. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  27711. begin
  27712. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27713. end;
  27714. procedure TUART1_U1AMODE.setON; inline;
  27715. begin
  27716. pTDefRegMap(@Self)^.&set := $00008000;
  27717. end;
  27718. procedure TUART1_U1AMODE.clearON; inline;
  27719. begin
  27720. pTDefRegMap(@Self)^.clr := $00008000;
  27721. end;
  27722. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  27723. begin
  27724. if thebits = 0 then
  27725. pTDefRegMap(@Self)^.clr := $00008000
  27726. else
  27727. pTDefRegMap(@Self)^.&set := $00008000;
  27728. end;
  27729. function TUART1_U1AMODE.getON : TBits_1; inline;
  27730. begin
  27731. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27732. end;
  27733. procedure TUART1_U1AMODE.setPDSEL0; inline;
  27734. begin
  27735. pTDefRegMap(@Self)^.&set := $00000002;
  27736. end;
  27737. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  27738. begin
  27739. pTDefRegMap(@Self)^.clr := $00000002;
  27740. end;
  27741. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  27742. begin
  27743. if thebits = 0 then
  27744. pTDefRegMap(@Self)^.clr := $00000002
  27745. else
  27746. pTDefRegMap(@Self)^.&set := $00000002;
  27747. end;
  27748. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  27749. begin
  27750. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27751. end;
  27752. procedure TUART1_U1AMODE.setPDSEL1; inline;
  27753. begin
  27754. pTDefRegMap(@Self)^.&set := $00000004;
  27755. end;
  27756. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  27757. begin
  27758. pTDefRegMap(@Self)^.clr := $00000004;
  27759. end;
  27760. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  27761. begin
  27762. if thebits = 0 then
  27763. pTDefRegMap(@Self)^.clr := $00000004
  27764. else
  27765. pTDefRegMap(@Self)^.&set := $00000004;
  27766. end;
  27767. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  27768. begin
  27769. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27770. end;
  27771. procedure TUART1_U1AMODE.setUEN0; inline;
  27772. begin
  27773. pTDefRegMap(@Self)^.&set := $00000100;
  27774. end;
  27775. procedure TUART1_U1AMODE.clearUEN0; inline;
  27776. begin
  27777. pTDefRegMap(@Self)^.clr := $00000100;
  27778. end;
  27779. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  27780. begin
  27781. if thebits = 0 then
  27782. pTDefRegMap(@Self)^.clr := $00000100
  27783. else
  27784. pTDefRegMap(@Self)^.&set := $00000100;
  27785. end;
  27786. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  27787. begin
  27788. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27789. end;
  27790. procedure TUART1_U1AMODE.setUEN1; inline;
  27791. begin
  27792. pTDefRegMap(@Self)^.&set := $00000200;
  27793. end;
  27794. procedure TUART1_U1AMODE.clearUEN1; inline;
  27795. begin
  27796. pTDefRegMap(@Self)^.clr := $00000200;
  27797. end;
  27798. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  27799. begin
  27800. if thebits = 0 then
  27801. pTDefRegMap(@Self)^.clr := $00000200
  27802. else
  27803. pTDefRegMap(@Self)^.&set := $00000200;
  27804. end;
  27805. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  27806. begin
  27807. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27808. end;
  27809. procedure TUART1_U1AMODE.setUSIDL; inline;
  27810. begin
  27811. pTDefRegMap(@Self)^.&set := $00002000;
  27812. end;
  27813. procedure TUART1_U1AMODE.clearUSIDL; inline;
  27814. begin
  27815. pTDefRegMap(@Self)^.clr := $00002000;
  27816. end;
  27817. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  27818. begin
  27819. if thebits = 0 then
  27820. pTDefRegMap(@Self)^.clr := $00002000
  27821. else
  27822. pTDefRegMap(@Self)^.&set := $00002000;
  27823. end;
  27824. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  27825. begin
  27826. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27827. end;
  27828. procedure TUART1_U1AMODE.setUARTEN; inline;
  27829. begin
  27830. pTDefRegMap(@Self)^.&set := $00008000;
  27831. end;
  27832. procedure TUART1_U1AMODE.clearUARTEN; inline;
  27833. begin
  27834. pTDefRegMap(@Self)^.clr := $00008000;
  27835. end;
  27836. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  27837. begin
  27838. if thebits = 0 then
  27839. pTDefRegMap(@Self)^.clr := $00008000
  27840. else
  27841. pTDefRegMap(@Self)^.&set := $00008000;
  27842. end;
  27843. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  27844. begin
  27845. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27846. end;
  27847. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  27848. begin
  27849. pTDefRegMap(@Self)^.val := thebits;
  27850. end;
  27851. function TUART1_U1AMODE.getw : TBits_32; inline;
  27852. begin
  27853. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27854. end;
  27855. procedure TUART1_U1MODE.setSTSEL; inline;
  27856. begin
  27857. pTDefRegMap(@Self)^.&set := $00000001;
  27858. end;
  27859. procedure TUART1_U1MODE.clearSTSEL; inline;
  27860. begin
  27861. pTDefRegMap(@Self)^.clr := $00000001;
  27862. end;
  27863. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  27864. begin
  27865. if thebits = 0 then
  27866. pTDefRegMap(@Self)^.clr := $00000001
  27867. else
  27868. pTDefRegMap(@Self)^.&set := $00000001;
  27869. end;
  27870. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  27871. begin
  27872. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27873. end;
  27874. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  27875. begin
  27876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27877. end;
  27878. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  27879. begin
  27880. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27881. end;
  27882. procedure TUART1_U1MODE.setBRGH; inline;
  27883. begin
  27884. pTDefRegMap(@Self)^.&set := $00000008;
  27885. end;
  27886. procedure TUART1_U1MODE.clearBRGH; inline;
  27887. begin
  27888. pTDefRegMap(@Self)^.clr := $00000008;
  27889. end;
  27890. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  27891. begin
  27892. if thebits = 0 then
  27893. pTDefRegMap(@Self)^.clr := $00000008
  27894. else
  27895. pTDefRegMap(@Self)^.&set := $00000008;
  27896. end;
  27897. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  27898. begin
  27899. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27900. end;
  27901. procedure TUART1_U1MODE.setRXINV; inline;
  27902. begin
  27903. pTDefRegMap(@Self)^.&set := $00000010;
  27904. end;
  27905. procedure TUART1_U1MODE.clearRXINV; inline;
  27906. begin
  27907. pTDefRegMap(@Self)^.clr := $00000010;
  27908. end;
  27909. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  27910. begin
  27911. if thebits = 0 then
  27912. pTDefRegMap(@Self)^.clr := $00000010
  27913. else
  27914. pTDefRegMap(@Self)^.&set := $00000010;
  27915. end;
  27916. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  27917. begin
  27918. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27919. end;
  27920. procedure TUART1_U1MODE.setABAUD; inline;
  27921. begin
  27922. pTDefRegMap(@Self)^.&set := $00000020;
  27923. end;
  27924. procedure TUART1_U1MODE.clearABAUD; inline;
  27925. begin
  27926. pTDefRegMap(@Self)^.clr := $00000020;
  27927. end;
  27928. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  27929. begin
  27930. if thebits = 0 then
  27931. pTDefRegMap(@Self)^.clr := $00000020
  27932. else
  27933. pTDefRegMap(@Self)^.&set := $00000020;
  27934. end;
  27935. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  27936. begin
  27937. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27938. end;
  27939. procedure TUART1_U1MODE.setLPBACK; inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.&set := $00000040;
  27942. end;
  27943. procedure TUART1_U1MODE.clearLPBACK; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.clr := $00000040;
  27946. end;
  27947. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  27948. begin
  27949. if thebits = 0 then
  27950. pTDefRegMap(@Self)^.clr := $00000040
  27951. else
  27952. pTDefRegMap(@Self)^.&set := $00000040;
  27953. end;
  27954. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  27955. begin
  27956. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27957. end;
  27958. procedure TUART1_U1MODE.setWAKE; inline;
  27959. begin
  27960. pTDefRegMap(@Self)^.&set := $00000080;
  27961. end;
  27962. procedure TUART1_U1MODE.clearWAKE; inline;
  27963. begin
  27964. pTDefRegMap(@Self)^.clr := $00000080;
  27965. end;
  27966. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  27967. begin
  27968. if thebits = 0 then
  27969. pTDefRegMap(@Self)^.clr := $00000080
  27970. else
  27971. pTDefRegMap(@Self)^.&set := $00000080;
  27972. end;
  27973. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  27974. begin
  27975. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27976. end;
  27977. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  27978. begin
  27979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27980. end;
  27981. function TUART1_U1MODE.getUEN : TBits_2; inline;
  27982. begin
  27983. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27984. end;
  27985. procedure TUART1_U1MODE.setRTSMD; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.&set := $00000800;
  27988. end;
  27989. procedure TUART1_U1MODE.clearRTSMD; inline;
  27990. begin
  27991. pTDefRegMap(@Self)^.clr := $00000800;
  27992. end;
  27993. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  27994. begin
  27995. if thebits = 0 then
  27996. pTDefRegMap(@Self)^.clr := $00000800
  27997. else
  27998. pTDefRegMap(@Self)^.&set := $00000800;
  27999. end;
  28000. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  28001. begin
  28002. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28003. end;
  28004. procedure TUART1_U1MODE.setIREN; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.&set := $00001000;
  28007. end;
  28008. procedure TUART1_U1MODE.clearIREN; inline;
  28009. begin
  28010. pTDefRegMap(@Self)^.clr := $00001000;
  28011. end;
  28012. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  28013. begin
  28014. if thebits = 0 then
  28015. pTDefRegMap(@Self)^.clr := $00001000
  28016. else
  28017. pTDefRegMap(@Self)^.&set := $00001000;
  28018. end;
  28019. function TUART1_U1MODE.getIREN : TBits_1; inline;
  28020. begin
  28021. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28022. end;
  28023. procedure TUART1_U1MODE.setSIDL; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.&set := $00002000;
  28026. end;
  28027. procedure TUART1_U1MODE.clearSIDL; inline;
  28028. begin
  28029. pTDefRegMap(@Self)^.clr := $00002000;
  28030. end;
  28031. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  28032. begin
  28033. if thebits = 0 then
  28034. pTDefRegMap(@Self)^.clr := $00002000
  28035. else
  28036. pTDefRegMap(@Self)^.&set := $00002000;
  28037. end;
  28038. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  28039. begin
  28040. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28041. end;
  28042. procedure TUART1_U1MODE.setON; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.&set := $00008000;
  28045. end;
  28046. procedure TUART1_U1MODE.clearON; inline;
  28047. begin
  28048. pTDefRegMap(@Self)^.clr := $00008000;
  28049. end;
  28050. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  28051. begin
  28052. if thebits = 0 then
  28053. pTDefRegMap(@Self)^.clr := $00008000
  28054. else
  28055. pTDefRegMap(@Self)^.&set := $00008000;
  28056. end;
  28057. function TUART1_U1MODE.getON : TBits_1; inline;
  28058. begin
  28059. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28060. end;
  28061. procedure TUART1_U1MODE.setPDSEL0; inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.&set := $00000002;
  28064. end;
  28065. procedure TUART1_U1MODE.clearPDSEL0; inline;
  28066. begin
  28067. pTDefRegMap(@Self)^.clr := $00000002;
  28068. end;
  28069. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  28070. begin
  28071. if thebits = 0 then
  28072. pTDefRegMap(@Self)^.clr := $00000002
  28073. else
  28074. pTDefRegMap(@Self)^.&set := $00000002;
  28075. end;
  28076. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  28077. begin
  28078. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28079. end;
  28080. procedure TUART1_U1MODE.setPDSEL1; inline;
  28081. begin
  28082. pTDefRegMap(@Self)^.&set := $00000004;
  28083. end;
  28084. procedure TUART1_U1MODE.clearPDSEL1; inline;
  28085. begin
  28086. pTDefRegMap(@Self)^.clr := $00000004;
  28087. end;
  28088. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  28089. begin
  28090. if thebits = 0 then
  28091. pTDefRegMap(@Self)^.clr := $00000004
  28092. else
  28093. pTDefRegMap(@Self)^.&set := $00000004;
  28094. end;
  28095. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  28096. begin
  28097. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28098. end;
  28099. procedure TUART1_U1MODE.setUEN0; inline;
  28100. begin
  28101. pTDefRegMap(@Self)^.&set := $00000100;
  28102. end;
  28103. procedure TUART1_U1MODE.clearUEN0; inline;
  28104. begin
  28105. pTDefRegMap(@Self)^.clr := $00000100;
  28106. end;
  28107. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  28108. begin
  28109. if thebits = 0 then
  28110. pTDefRegMap(@Self)^.clr := $00000100
  28111. else
  28112. pTDefRegMap(@Self)^.&set := $00000100;
  28113. end;
  28114. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  28115. begin
  28116. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28117. end;
  28118. procedure TUART1_U1MODE.setUEN1; inline;
  28119. begin
  28120. pTDefRegMap(@Self)^.&set := $00000200;
  28121. end;
  28122. procedure TUART1_U1MODE.clearUEN1; inline;
  28123. begin
  28124. pTDefRegMap(@Self)^.clr := $00000200;
  28125. end;
  28126. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  28127. begin
  28128. if thebits = 0 then
  28129. pTDefRegMap(@Self)^.clr := $00000200
  28130. else
  28131. pTDefRegMap(@Self)^.&set := $00000200;
  28132. end;
  28133. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  28134. begin
  28135. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28136. end;
  28137. procedure TUART1_U1MODE.setUSIDL; inline;
  28138. begin
  28139. pTDefRegMap(@Self)^.&set := $00002000;
  28140. end;
  28141. procedure TUART1_U1MODE.clearUSIDL; inline;
  28142. begin
  28143. pTDefRegMap(@Self)^.clr := $00002000;
  28144. end;
  28145. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  28146. begin
  28147. if thebits = 0 then
  28148. pTDefRegMap(@Self)^.clr := $00002000
  28149. else
  28150. pTDefRegMap(@Self)^.&set := $00002000;
  28151. end;
  28152. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  28153. begin
  28154. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28155. end;
  28156. procedure TUART1_U1MODE.setUARTEN; inline;
  28157. begin
  28158. pTDefRegMap(@Self)^.&set := $00008000;
  28159. end;
  28160. procedure TUART1_U1MODE.clearUARTEN; inline;
  28161. begin
  28162. pTDefRegMap(@Self)^.clr := $00008000;
  28163. end;
  28164. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  28165. begin
  28166. if thebits = 0 then
  28167. pTDefRegMap(@Self)^.clr := $00008000
  28168. else
  28169. pTDefRegMap(@Self)^.&set := $00008000;
  28170. end;
  28171. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  28172. begin
  28173. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28174. end;
  28175. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  28176. begin
  28177. pTDefRegMap(@Self)^.val := thebits;
  28178. end;
  28179. function TUART1_U1MODE.getw : TBits_32; inline;
  28180. begin
  28181. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28182. end;
  28183. procedure TUART1_U1ASTA.setURXDA; inline;
  28184. begin
  28185. pTDefRegMap(@Self)^.&set := $00000001;
  28186. end;
  28187. procedure TUART1_U1ASTA.clearURXDA; inline;
  28188. begin
  28189. pTDefRegMap(@Self)^.clr := $00000001;
  28190. end;
  28191. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  28192. begin
  28193. if thebits = 0 then
  28194. pTDefRegMap(@Self)^.clr := $00000001
  28195. else
  28196. pTDefRegMap(@Self)^.&set := $00000001;
  28197. end;
  28198. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  28199. begin
  28200. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28201. end;
  28202. procedure TUART1_U1ASTA.setOERR; inline;
  28203. begin
  28204. pTDefRegMap(@Self)^.&set := $00000002;
  28205. end;
  28206. procedure TUART1_U1ASTA.clearOERR; inline;
  28207. begin
  28208. pTDefRegMap(@Self)^.clr := $00000002;
  28209. end;
  28210. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  28211. begin
  28212. if thebits = 0 then
  28213. pTDefRegMap(@Self)^.clr := $00000002
  28214. else
  28215. pTDefRegMap(@Self)^.&set := $00000002;
  28216. end;
  28217. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  28218. begin
  28219. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28220. end;
  28221. procedure TUART1_U1ASTA.setFERR; inline;
  28222. begin
  28223. pTDefRegMap(@Self)^.&set := $00000004;
  28224. end;
  28225. procedure TUART1_U1ASTA.clearFERR; inline;
  28226. begin
  28227. pTDefRegMap(@Self)^.clr := $00000004;
  28228. end;
  28229. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  28230. begin
  28231. if thebits = 0 then
  28232. pTDefRegMap(@Self)^.clr := $00000004
  28233. else
  28234. pTDefRegMap(@Self)^.&set := $00000004;
  28235. end;
  28236. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  28237. begin
  28238. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28239. end;
  28240. procedure TUART1_U1ASTA.setPERR; inline;
  28241. begin
  28242. pTDefRegMap(@Self)^.&set := $00000008;
  28243. end;
  28244. procedure TUART1_U1ASTA.clearPERR; inline;
  28245. begin
  28246. pTDefRegMap(@Self)^.clr := $00000008;
  28247. end;
  28248. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  28249. begin
  28250. if thebits = 0 then
  28251. pTDefRegMap(@Self)^.clr := $00000008
  28252. else
  28253. pTDefRegMap(@Self)^.&set := $00000008;
  28254. end;
  28255. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  28256. begin
  28257. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28258. end;
  28259. procedure TUART1_U1ASTA.setRIDLE; inline;
  28260. begin
  28261. pTDefRegMap(@Self)^.&set := $00000010;
  28262. end;
  28263. procedure TUART1_U1ASTA.clearRIDLE; inline;
  28264. begin
  28265. pTDefRegMap(@Self)^.clr := $00000010;
  28266. end;
  28267. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  28268. begin
  28269. if thebits = 0 then
  28270. pTDefRegMap(@Self)^.clr := $00000010
  28271. else
  28272. pTDefRegMap(@Self)^.&set := $00000010;
  28273. end;
  28274. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  28275. begin
  28276. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28277. end;
  28278. procedure TUART1_U1ASTA.setADDEN; inline;
  28279. begin
  28280. pTDefRegMap(@Self)^.&set := $00000020;
  28281. end;
  28282. procedure TUART1_U1ASTA.clearADDEN; inline;
  28283. begin
  28284. pTDefRegMap(@Self)^.clr := $00000020;
  28285. end;
  28286. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  28287. begin
  28288. if thebits = 0 then
  28289. pTDefRegMap(@Self)^.clr := $00000020
  28290. else
  28291. pTDefRegMap(@Self)^.&set := $00000020;
  28292. end;
  28293. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  28294. begin
  28295. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28296. end;
  28297. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  28298. begin
  28299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28300. end;
  28301. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  28302. begin
  28303. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28304. end;
  28305. procedure TUART1_U1ASTA.setTRMT; inline;
  28306. begin
  28307. pTDefRegMap(@Self)^.&set := $00000100;
  28308. end;
  28309. procedure TUART1_U1ASTA.clearTRMT; inline;
  28310. begin
  28311. pTDefRegMap(@Self)^.clr := $00000100;
  28312. end;
  28313. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  28314. begin
  28315. if thebits = 0 then
  28316. pTDefRegMap(@Self)^.clr := $00000100
  28317. else
  28318. pTDefRegMap(@Self)^.&set := $00000100;
  28319. end;
  28320. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  28321. begin
  28322. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28323. end;
  28324. procedure TUART1_U1ASTA.setUTXBF; inline;
  28325. begin
  28326. pTDefRegMap(@Self)^.&set := $00000200;
  28327. end;
  28328. procedure TUART1_U1ASTA.clearUTXBF; inline;
  28329. begin
  28330. pTDefRegMap(@Self)^.clr := $00000200;
  28331. end;
  28332. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  28333. begin
  28334. if thebits = 0 then
  28335. pTDefRegMap(@Self)^.clr := $00000200
  28336. else
  28337. pTDefRegMap(@Self)^.&set := $00000200;
  28338. end;
  28339. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  28340. begin
  28341. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28342. end;
  28343. procedure TUART1_U1ASTA.setUTXEN; inline;
  28344. begin
  28345. pTDefRegMap(@Self)^.&set := $00000400;
  28346. end;
  28347. procedure TUART1_U1ASTA.clearUTXEN; inline;
  28348. begin
  28349. pTDefRegMap(@Self)^.clr := $00000400;
  28350. end;
  28351. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  28352. begin
  28353. if thebits = 0 then
  28354. pTDefRegMap(@Self)^.clr := $00000400
  28355. else
  28356. pTDefRegMap(@Self)^.&set := $00000400;
  28357. end;
  28358. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  28359. begin
  28360. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28361. end;
  28362. procedure TUART1_U1ASTA.setUTXBRK; inline;
  28363. begin
  28364. pTDefRegMap(@Self)^.&set := $00000800;
  28365. end;
  28366. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  28367. begin
  28368. pTDefRegMap(@Self)^.clr := $00000800;
  28369. end;
  28370. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  28371. begin
  28372. if thebits = 0 then
  28373. pTDefRegMap(@Self)^.clr := $00000800
  28374. else
  28375. pTDefRegMap(@Self)^.&set := $00000800;
  28376. end;
  28377. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  28378. begin
  28379. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28380. end;
  28381. procedure TUART1_U1ASTA.setURXEN; inline;
  28382. begin
  28383. pTDefRegMap(@Self)^.&set := $00001000;
  28384. end;
  28385. procedure TUART1_U1ASTA.clearURXEN; inline;
  28386. begin
  28387. pTDefRegMap(@Self)^.clr := $00001000;
  28388. end;
  28389. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  28390. begin
  28391. if thebits = 0 then
  28392. pTDefRegMap(@Self)^.clr := $00001000
  28393. else
  28394. pTDefRegMap(@Self)^.&set := $00001000;
  28395. end;
  28396. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  28397. begin
  28398. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28399. end;
  28400. procedure TUART1_U1ASTA.setUTXINV; inline;
  28401. begin
  28402. pTDefRegMap(@Self)^.&set := $00002000;
  28403. end;
  28404. procedure TUART1_U1ASTA.clearUTXINV; inline;
  28405. begin
  28406. pTDefRegMap(@Self)^.clr := $00002000;
  28407. end;
  28408. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  28409. begin
  28410. if thebits = 0 then
  28411. pTDefRegMap(@Self)^.clr := $00002000
  28412. else
  28413. pTDefRegMap(@Self)^.&set := $00002000;
  28414. end;
  28415. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  28416. begin
  28417. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28418. end;
  28419. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  28420. begin
  28421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28422. end;
  28423. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  28424. begin
  28425. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28426. end;
  28427. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  28428. begin
  28429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28430. end;
  28431. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  28432. begin
  28433. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28434. end;
  28435. procedure TUART1_U1ASTA.setADM_EN; inline;
  28436. begin
  28437. pTDefRegMap(@Self)^.&set := $01000000;
  28438. end;
  28439. procedure TUART1_U1ASTA.clearADM_EN; inline;
  28440. begin
  28441. pTDefRegMap(@Self)^.clr := $01000000;
  28442. end;
  28443. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  28444. begin
  28445. if thebits = 0 then
  28446. pTDefRegMap(@Self)^.clr := $01000000
  28447. else
  28448. pTDefRegMap(@Self)^.&set := $01000000;
  28449. end;
  28450. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  28451. begin
  28452. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28453. end;
  28454. procedure TUART1_U1ASTA.setURXISEL0; inline;
  28455. begin
  28456. pTDefRegMap(@Self)^.&set := $00000040;
  28457. end;
  28458. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  28459. begin
  28460. pTDefRegMap(@Self)^.clr := $00000040;
  28461. end;
  28462. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  28463. begin
  28464. if thebits = 0 then
  28465. pTDefRegMap(@Self)^.clr := $00000040
  28466. else
  28467. pTDefRegMap(@Self)^.&set := $00000040;
  28468. end;
  28469. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  28470. begin
  28471. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28472. end;
  28473. procedure TUART1_U1ASTA.setURXISEL1; inline;
  28474. begin
  28475. pTDefRegMap(@Self)^.&set := $00000080;
  28476. end;
  28477. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  28478. begin
  28479. pTDefRegMap(@Self)^.clr := $00000080;
  28480. end;
  28481. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  28482. begin
  28483. if thebits = 0 then
  28484. pTDefRegMap(@Self)^.clr := $00000080
  28485. else
  28486. pTDefRegMap(@Self)^.&set := $00000080;
  28487. end;
  28488. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  28489. begin
  28490. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28491. end;
  28492. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  28493. begin
  28494. pTDefRegMap(@Self)^.&set := $00004000;
  28495. end;
  28496. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  28497. begin
  28498. pTDefRegMap(@Self)^.clr := $00004000;
  28499. end;
  28500. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  28501. begin
  28502. if thebits = 0 then
  28503. pTDefRegMap(@Self)^.clr := $00004000
  28504. else
  28505. pTDefRegMap(@Self)^.&set := $00004000;
  28506. end;
  28507. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  28508. begin
  28509. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28510. end;
  28511. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  28512. begin
  28513. pTDefRegMap(@Self)^.&set := $00008000;
  28514. end;
  28515. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  28516. begin
  28517. pTDefRegMap(@Self)^.clr := $00008000;
  28518. end;
  28519. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  28520. begin
  28521. if thebits = 0 then
  28522. pTDefRegMap(@Self)^.clr := $00008000
  28523. else
  28524. pTDefRegMap(@Self)^.&set := $00008000;
  28525. end;
  28526. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  28527. begin
  28528. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28529. end;
  28530. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  28531. begin
  28532. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28533. end;
  28534. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  28535. begin
  28536. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28537. end;
  28538. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  28539. begin
  28540. pTDefRegMap(@Self)^.val := thebits;
  28541. end;
  28542. function TUART1_U1ASTA.getw : TBits_32; inline;
  28543. begin
  28544. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28545. end;
  28546. procedure TUART1_U1STA.setURXDA; inline;
  28547. begin
  28548. pTDefRegMap(@Self)^.&set := $00000001;
  28549. end;
  28550. procedure TUART1_U1STA.clearURXDA; inline;
  28551. begin
  28552. pTDefRegMap(@Self)^.clr := $00000001;
  28553. end;
  28554. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  28555. begin
  28556. if thebits = 0 then
  28557. pTDefRegMap(@Self)^.clr := $00000001
  28558. else
  28559. pTDefRegMap(@Self)^.&set := $00000001;
  28560. end;
  28561. function TUART1_U1STA.getURXDA : TBits_1; inline;
  28562. begin
  28563. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28564. end;
  28565. procedure TUART1_U1STA.setOERR; inline;
  28566. begin
  28567. pTDefRegMap(@Self)^.&set := $00000002;
  28568. end;
  28569. procedure TUART1_U1STA.clearOERR; inline;
  28570. begin
  28571. pTDefRegMap(@Self)^.clr := $00000002;
  28572. end;
  28573. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  28574. begin
  28575. if thebits = 0 then
  28576. pTDefRegMap(@Self)^.clr := $00000002
  28577. else
  28578. pTDefRegMap(@Self)^.&set := $00000002;
  28579. end;
  28580. function TUART1_U1STA.getOERR : TBits_1; inline;
  28581. begin
  28582. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28583. end;
  28584. procedure TUART1_U1STA.setFERR; inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.&set := $00000004;
  28587. end;
  28588. procedure TUART1_U1STA.clearFERR; inline;
  28589. begin
  28590. pTDefRegMap(@Self)^.clr := $00000004;
  28591. end;
  28592. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  28593. begin
  28594. if thebits = 0 then
  28595. pTDefRegMap(@Self)^.clr := $00000004
  28596. else
  28597. pTDefRegMap(@Self)^.&set := $00000004;
  28598. end;
  28599. function TUART1_U1STA.getFERR : TBits_1; inline;
  28600. begin
  28601. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28602. end;
  28603. procedure TUART1_U1STA.setPERR; inline;
  28604. begin
  28605. pTDefRegMap(@Self)^.&set := $00000008;
  28606. end;
  28607. procedure TUART1_U1STA.clearPERR; inline;
  28608. begin
  28609. pTDefRegMap(@Self)^.clr := $00000008;
  28610. end;
  28611. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  28612. begin
  28613. if thebits = 0 then
  28614. pTDefRegMap(@Self)^.clr := $00000008
  28615. else
  28616. pTDefRegMap(@Self)^.&set := $00000008;
  28617. end;
  28618. function TUART1_U1STA.getPERR : TBits_1; inline;
  28619. begin
  28620. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28621. end;
  28622. procedure TUART1_U1STA.setRIDLE; inline;
  28623. begin
  28624. pTDefRegMap(@Self)^.&set := $00000010;
  28625. end;
  28626. procedure TUART1_U1STA.clearRIDLE; inline;
  28627. begin
  28628. pTDefRegMap(@Self)^.clr := $00000010;
  28629. end;
  28630. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  28631. begin
  28632. if thebits = 0 then
  28633. pTDefRegMap(@Self)^.clr := $00000010
  28634. else
  28635. pTDefRegMap(@Self)^.&set := $00000010;
  28636. end;
  28637. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  28638. begin
  28639. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28640. end;
  28641. procedure TUART1_U1STA.setADDEN; inline;
  28642. begin
  28643. pTDefRegMap(@Self)^.&set := $00000020;
  28644. end;
  28645. procedure TUART1_U1STA.clearADDEN; inline;
  28646. begin
  28647. pTDefRegMap(@Self)^.clr := $00000020;
  28648. end;
  28649. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  28650. begin
  28651. if thebits = 0 then
  28652. pTDefRegMap(@Self)^.clr := $00000020
  28653. else
  28654. pTDefRegMap(@Self)^.&set := $00000020;
  28655. end;
  28656. function TUART1_U1STA.getADDEN : TBits_1; inline;
  28657. begin
  28658. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28659. end;
  28660. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  28661. begin
  28662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28663. end;
  28664. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  28665. begin
  28666. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28667. end;
  28668. procedure TUART1_U1STA.setTRMT; inline;
  28669. begin
  28670. pTDefRegMap(@Self)^.&set := $00000100;
  28671. end;
  28672. procedure TUART1_U1STA.clearTRMT; inline;
  28673. begin
  28674. pTDefRegMap(@Self)^.clr := $00000100;
  28675. end;
  28676. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  28677. begin
  28678. if thebits = 0 then
  28679. pTDefRegMap(@Self)^.clr := $00000100
  28680. else
  28681. pTDefRegMap(@Self)^.&set := $00000100;
  28682. end;
  28683. function TUART1_U1STA.getTRMT : TBits_1; inline;
  28684. begin
  28685. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28686. end;
  28687. procedure TUART1_U1STA.setUTXBF; inline;
  28688. begin
  28689. pTDefRegMap(@Self)^.&set := $00000200;
  28690. end;
  28691. procedure TUART1_U1STA.clearUTXBF; inline;
  28692. begin
  28693. pTDefRegMap(@Self)^.clr := $00000200;
  28694. end;
  28695. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  28696. begin
  28697. if thebits = 0 then
  28698. pTDefRegMap(@Self)^.clr := $00000200
  28699. else
  28700. pTDefRegMap(@Self)^.&set := $00000200;
  28701. end;
  28702. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  28703. begin
  28704. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28705. end;
  28706. procedure TUART1_U1STA.setUTXEN; inline;
  28707. begin
  28708. pTDefRegMap(@Self)^.&set := $00000400;
  28709. end;
  28710. procedure TUART1_U1STA.clearUTXEN; inline;
  28711. begin
  28712. pTDefRegMap(@Self)^.clr := $00000400;
  28713. end;
  28714. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  28715. begin
  28716. if thebits = 0 then
  28717. pTDefRegMap(@Self)^.clr := $00000400
  28718. else
  28719. pTDefRegMap(@Self)^.&set := $00000400;
  28720. end;
  28721. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  28722. begin
  28723. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28724. end;
  28725. procedure TUART1_U1STA.setUTXBRK; inline;
  28726. begin
  28727. pTDefRegMap(@Self)^.&set := $00000800;
  28728. end;
  28729. procedure TUART1_U1STA.clearUTXBRK; inline;
  28730. begin
  28731. pTDefRegMap(@Self)^.clr := $00000800;
  28732. end;
  28733. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  28734. begin
  28735. if thebits = 0 then
  28736. pTDefRegMap(@Self)^.clr := $00000800
  28737. else
  28738. pTDefRegMap(@Self)^.&set := $00000800;
  28739. end;
  28740. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  28741. begin
  28742. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28743. end;
  28744. procedure TUART1_U1STA.setURXEN; inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.&set := $00001000;
  28747. end;
  28748. procedure TUART1_U1STA.clearURXEN; inline;
  28749. begin
  28750. pTDefRegMap(@Self)^.clr := $00001000;
  28751. end;
  28752. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  28753. begin
  28754. if thebits = 0 then
  28755. pTDefRegMap(@Self)^.clr := $00001000
  28756. else
  28757. pTDefRegMap(@Self)^.&set := $00001000;
  28758. end;
  28759. function TUART1_U1STA.getURXEN : TBits_1; inline;
  28760. begin
  28761. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28762. end;
  28763. procedure TUART1_U1STA.setUTXINV; inline;
  28764. begin
  28765. pTDefRegMap(@Self)^.&set := $00002000;
  28766. end;
  28767. procedure TUART1_U1STA.clearUTXINV; inline;
  28768. begin
  28769. pTDefRegMap(@Self)^.clr := $00002000;
  28770. end;
  28771. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  28772. begin
  28773. if thebits = 0 then
  28774. pTDefRegMap(@Self)^.clr := $00002000
  28775. else
  28776. pTDefRegMap(@Self)^.&set := $00002000;
  28777. end;
  28778. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  28779. begin
  28780. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28781. end;
  28782. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  28783. begin
  28784. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28785. end;
  28786. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  28787. begin
  28788. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28789. end;
  28790. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  28791. begin
  28792. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28793. end;
  28794. function TUART1_U1STA.getADDR : TBits_8; inline;
  28795. begin
  28796. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28797. end;
  28798. procedure TUART1_U1STA.setADM_EN; inline;
  28799. begin
  28800. pTDefRegMap(@Self)^.&set := $01000000;
  28801. end;
  28802. procedure TUART1_U1STA.clearADM_EN; inline;
  28803. begin
  28804. pTDefRegMap(@Self)^.clr := $01000000;
  28805. end;
  28806. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  28807. begin
  28808. if thebits = 0 then
  28809. pTDefRegMap(@Self)^.clr := $01000000
  28810. else
  28811. pTDefRegMap(@Self)^.&set := $01000000;
  28812. end;
  28813. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  28814. begin
  28815. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28816. end;
  28817. procedure TUART1_U1STA.setURXISEL0; inline;
  28818. begin
  28819. pTDefRegMap(@Self)^.&set := $00000040;
  28820. end;
  28821. procedure TUART1_U1STA.clearURXISEL0; inline;
  28822. begin
  28823. pTDefRegMap(@Self)^.clr := $00000040;
  28824. end;
  28825. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  28826. begin
  28827. if thebits = 0 then
  28828. pTDefRegMap(@Self)^.clr := $00000040
  28829. else
  28830. pTDefRegMap(@Self)^.&set := $00000040;
  28831. end;
  28832. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  28833. begin
  28834. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28835. end;
  28836. procedure TUART1_U1STA.setURXISEL1; inline;
  28837. begin
  28838. pTDefRegMap(@Self)^.&set := $00000080;
  28839. end;
  28840. procedure TUART1_U1STA.clearURXISEL1; inline;
  28841. begin
  28842. pTDefRegMap(@Self)^.clr := $00000080;
  28843. end;
  28844. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  28845. begin
  28846. if thebits = 0 then
  28847. pTDefRegMap(@Self)^.clr := $00000080
  28848. else
  28849. pTDefRegMap(@Self)^.&set := $00000080;
  28850. end;
  28851. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  28852. begin
  28853. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28854. end;
  28855. procedure TUART1_U1STA.setUTXISEL0; inline;
  28856. begin
  28857. pTDefRegMap(@Self)^.&set := $00004000;
  28858. end;
  28859. procedure TUART1_U1STA.clearUTXISEL0; inline;
  28860. begin
  28861. pTDefRegMap(@Self)^.clr := $00004000;
  28862. end;
  28863. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  28864. begin
  28865. if thebits = 0 then
  28866. pTDefRegMap(@Self)^.clr := $00004000
  28867. else
  28868. pTDefRegMap(@Self)^.&set := $00004000;
  28869. end;
  28870. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  28871. begin
  28872. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28873. end;
  28874. procedure TUART1_U1STA.setUTXISEL1; inline;
  28875. begin
  28876. pTDefRegMap(@Self)^.&set := $00008000;
  28877. end;
  28878. procedure TUART1_U1STA.clearUTXISEL1; inline;
  28879. begin
  28880. pTDefRegMap(@Self)^.clr := $00008000;
  28881. end;
  28882. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  28883. begin
  28884. if thebits = 0 then
  28885. pTDefRegMap(@Self)^.clr := $00008000
  28886. else
  28887. pTDefRegMap(@Self)^.&set := $00008000;
  28888. end;
  28889. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  28890. begin
  28891. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28892. end;
  28893. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  28894. begin
  28895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28896. end;
  28897. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  28898. begin
  28899. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28900. end;
  28901. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  28902. begin
  28903. pTDefRegMap(@Self)^.val := thebits;
  28904. end;
  28905. function TUART1_U1STA.getw : TBits_32; inline;
  28906. begin
  28907. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28908. end;
  28909. procedure TUART1B_U1BMODE.setSTSEL; inline;
  28910. begin
  28911. pTDefRegMap(@Self)^.&set := $00000001;
  28912. end;
  28913. procedure TUART1B_U1BMODE.clearSTSEL; inline;
  28914. begin
  28915. pTDefRegMap(@Self)^.clr := $00000001;
  28916. end;
  28917. procedure TUART1B_U1BMODE.setSTSEL(thebits : TBits_1); inline;
  28918. begin
  28919. if thebits = 0 then
  28920. pTDefRegMap(@Self)^.clr := $00000001
  28921. else
  28922. pTDefRegMap(@Self)^.&set := $00000001;
  28923. end;
  28924. function TUART1B_U1BMODE.getSTSEL : TBits_1; inline;
  28925. begin
  28926. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28927. end;
  28928. procedure TUART1B_U1BMODE.setPDSEL(thebits : TBits_2); inline;
  28929. begin
  28930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  28931. end;
  28932. function TUART1B_U1BMODE.getPDSEL : TBits_2; inline;
  28933. begin
  28934. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  28935. end;
  28936. procedure TUART1B_U1BMODE.setBRGH; inline;
  28937. begin
  28938. pTDefRegMap(@Self)^.&set := $00000008;
  28939. end;
  28940. procedure TUART1B_U1BMODE.clearBRGH; inline;
  28941. begin
  28942. pTDefRegMap(@Self)^.clr := $00000008;
  28943. end;
  28944. procedure TUART1B_U1BMODE.setBRGH(thebits : TBits_1); inline;
  28945. begin
  28946. if thebits = 0 then
  28947. pTDefRegMap(@Self)^.clr := $00000008
  28948. else
  28949. pTDefRegMap(@Self)^.&set := $00000008;
  28950. end;
  28951. function TUART1B_U1BMODE.getBRGH : TBits_1; inline;
  28952. begin
  28953. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28954. end;
  28955. procedure TUART1B_U1BMODE.setRXINV; inline;
  28956. begin
  28957. pTDefRegMap(@Self)^.&set := $00000010;
  28958. end;
  28959. procedure TUART1B_U1BMODE.clearRXINV; inline;
  28960. begin
  28961. pTDefRegMap(@Self)^.clr := $00000010;
  28962. end;
  28963. procedure TUART1B_U1BMODE.setRXINV(thebits : TBits_1); inline;
  28964. begin
  28965. if thebits = 0 then
  28966. pTDefRegMap(@Self)^.clr := $00000010
  28967. else
  28968. pTDefRegMap(@Self)^.&set := $00000010;
  28969. end;
  28970. function TUART1B_U1BMODE.getRXINV : TBits_1; inline;
  28971. begin
  28972. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28973. end;
  28974. procedure TUART1B_U1BMODE.setABAUD; inline;
  28975. begin
  28976. pTDefRegMap(@Self)^.&set := $00000020;
  28977. end;
  28978. procedure TUART1B_U1BMODE.clearABAUD; inline;
  28979. begin
  28980. pTDefRegMap(@Self)^.clr := $00000020;
  28981. end;
  28982. procedure TUART1B_U1BMODE.setABAUD(thebits : TBits_1); inline;
  28983. begin
  28984. if thebits = 0 then
  28985. pTDefRegMap(@Self)^.clr := $00000020
  28986. else
  28987. pTDefRegMap(@Self)^.&set := $00000020;
  28988. end;
  28989. function TUART1B_U1BMODE.getABAUD : TBits_1; inline;
  28990. begin
  28991. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28992. end;
  28993. procedure TUART1B_U1BMODE.setLPBACK; inline;
  28994. begin
  28995. pTDefRegMap(@Self)^.&set := $00000040;
  28996. end;
  28997. procedure TUART1B_U1BMODE.clearLPBACK; inline;
  28998. begin
  28999. pTDefRegMap(@Self)^.clr := $00000040;
  29000. end;
  29001. procedure TUART1B_U1BMODE.setLPBACK(thebits : TBits_1); inline;
  29002. begin
  29003. if thebits = 0 then
  29004. pTDefRegMap(@Self)^.clr := $00000040
  29005. else
  29006. pTDefRegMap(@Self)^.&set := $00000040;
  29007. end;
  29008. function TUART1B_U1BMODE.getLPBACK : TBits_1; inline;
  29009. begin
  29010. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29011. end;
  29012. procedure TUART1B_U1BMODE.setWAKE; inline;
  29013. begin
  29014. pTDefRegMap(@Self)^.&set := $00000080;
  29015. end;
  29016. procedure TUART1B_U1BMODE.clearWAKE; inline;
  29017. begin
  29018. pTDefRegMap(@Self)^.clr := $00000080;
  29019. end;
  29020. procedure TUART1B_U1BMODE.setWAKE(thebits : TBits_1); inline;
  29021. begin
  29022. if thebits = 0 then
  29023. pTDefRegMap(@Self)^.clr := $00000080
  29024. else
  29025. pTDefRegMap(@Self)^.&set := $00000080;
  29026. end;
  29027. function TUART1B_U1BMODE.getWAKE : TBits_1; inline;
  29028. begin
  29029. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29030. end;
  29031. procedure TUART1B_U1BMODE.setIREN; inline;
  29032. begin
  29033. pTDefRegMap(@Self)^.&set := $00001000;
  29034. end;
  29035. procedure TUART1B_U1BMODE.clearIREN; inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.clr := $00001000;
  29038. end;
  29039. procedure TUART1B_U1BMODE.setIREN(thebits : TBits_1); inline;
  29040. begin
  29041. if thebits = 0 then
  29042. pTDefRegMap(@Self)^.clr := $00001000
  29043. else
  29044. pTDefRegMap(@Self)^.&set := $00001000;
  29045. end;
  29046. function TUART1B_U1BMODE.getIREN : TBits_1; inline;
  29047. begin
  29048. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29049. end;
  29050. procedure TUART1B_U1BMODE.setSIDL; inline;
  29051. begin
  29052. pTDefRegMap(@Self)^.&set := $00002000;
  29053. end;
  29054. procedure TUART1B_U1BMODE.clearSIDL; inline;
  29055. begin
  29056. pTDefRegMap(@Self)^.clr := $00002000;
  29057. end;
  29058. procedure TUART1B_U1BMODE.setSIDL(thebits : TBits_1); inline;
  29059. begin
  29060. if thebits = 0 then
  29061. pTDefRegMap(@Self)^.clr := $00002000
  29062. else
  29063. pTDefRegMap(@Self)^.&set := $00002000;
  29064. end;
  29065. function TUART1B_U1BMODE.getSIDL : TBits_1; inline;
  29066. begin
  29067. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29068. end;
  29069. procedure TUART1B_U1BMODE.setON; inline;
  29070. begin
  29071. pTDefRegMap(@Self)^.&set := $00008000;
  29072. end;
  29073. procedure TUART1B_U1BMODE.clearON; inline;
  29074. begin
  29075. pTDefRegMap(@Self)^.clr := $00008000;
  29076. end;
  29077. procedure TUART1B_U1BMODE.setON(thebits : TBits_1); inline;
  29078. begin
  29079. if thebits = 0 then
  29080. pTDefRegMap(@Self)^.clr := $00008000
  29081. else
  29082. pTDefRegMap(@Self)^.&set := $00008000;
  29083. end;
  29084. function TUART1B_U1BMODE.getON : TBits_1; inline;
  29085. begin
  29086. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29087. end;
  29088. procedure TUART1B_U1BMODE.setPDSEL0; inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.&set := $00000002;
  29091. end;
  29092. procedure TUART1B_U1BMODE.clearPDSEL0; inline;
  29093. begin
  29094. pTDefRegMap(@Self)^.clr := $00000002;
  29095. end;
  29096. procedure TUART1B_U1BMODE.setPDSEL0(thebits : TBits_1); inline;
  29097. begin
  29098. if thebits = 0 then
  29099. pTDefRegMap(@Self)^.clr := $00000002
  29100. else
  29101. pTDefRegMap(@Self)^.&set := $00000002;
  29102. end;
  29103. function TUART1B_U1BMODE.getPDSEL0 : TBits_1; inline;
  29104. begin
  29105. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29106. end;
  29107. procedure TUART1B_U1BMODE.setPDSEL1; inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.&set := $00000004;
  29110. end;
  29111. procedure TUART1B_U1BMODE.clearPDSEL1; inline;
  29112. begin
  29113. pTDefRegMap(@Self)^.clr := $00000004;
  29114. end;
  29115. procedure TUART1B_U1BMODE.setPDSEL1(thebits : TBits_1); inline;
  29116. begin
  29117. if thebits = 0 then
  29118. pTDefRegMap(@Self)^.clr := $00000004
  29119. else
  29120. pTDefRegMap(@Self)^.&set := $00000004;
  29121. end;
  29122. function TUART1B_U1BMODE.getPDSEL1 : TBits_1; inline;
  29123. begin
  29124. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29125. end;
  29126. procedure TUART1B_U1BMODE.setUSIDL; inline;
  29127. begin
  29128. pTDefRegMap(@Self)^.&set := $00002000;
  29129. end;
  29130. procedure TUART1B_U1BMODE.clearUSIDL; inline;
  29131. begin
  29132. pTDefRegMap(@Self)^.clr := $00002000;
  29133. end;
  29134. procedure TUART1B_U1BMODE.setUSIDL(thebits : TBits_1); inline;
  29135. begin
  29136. if thebits = 0 then
  29137. pTDefRegMap(@Self)^.clr := $00002000
  29138. else
  29139. pTDefRegMap(@Self)^.&set := $00002000;
  29140. end;
  29141. function TUART1B_U1BMODE.getUSIDL : TBits_1; inline;
  29142. begin
  29143. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29144. end;
  29145. procedure TUART1B_U1BMODE.setUARTEN; inline;
  29146. begin
  29147. pTDefRegMap(@Self)^.&set := $00008000;
  29148. end;
  29149. procedure TUART1B_U1BMODE.clearUARTEN; inline;
  29150. begin
  29151. pTDefRegMap(@Self)^.clr := $00008000;
  29152. end;
  29153. procedure TUART1B_U1BMODE.setUARTEN(thebits : TBits_1); inline;
  29154. begin
  29155. if thebits = 0 then
  29156. pTDefRegMap(@Self)^.clr := $00008000
  29157. else
  29158. pTDefRegMap(@Self)^.&set := $00008000;
  29159. end;
  29160. function TUART1B_U1BMODE.getUARTEN : TBits_1; inline;
  29161. begin
  29162. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29163. end;
  29164. procedure TUART1B_U1BMODE.setw(thebits : TBits_32); inline;
  29165. begin
  29166. pTDefRegMap(@Self)^.val := thebits;
  29167. end;
  29168. function TUART1B_U1BMODE.getw : TBits_32; inline;
  29169. begin
  29170. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29171. end;
  29172. procedure TUART1B_U4MODE.setSTSEL; inline;
  29173. begin
  29174. pTDefRegMap(@Self)^.&set := $00000001;
  29175. end;
  29176. procedure TUART1B_U4MODE.clearSTSEL; inline;
  29177. begin
  29178. pTDefRegMap(@Self)^.clr := $00000001;
  29179. end;
  29180. procedure TUART1B_U4MODE.setSTSEL(thebits : TBits_1); inline;
  29181. begin
  29182. if thebits = 0 then
  29183. pTDefRegMap(@Self)^.clr := $00000001
  29184. else
  29185. pTDefRegMap(@Self)^.&set := $00000001;
  29186. end;
  29187. function TUART1B_U4MODE.getSTSEL : TBits_1; inline;
  29188. begin
  29189. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29190. end;
  29191. procedure TUART1B_U4MODE.setPDSEL(thebits : TBits_2); inline;
  29192. begin
  29193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29194. end;
  29195. function TUART1B_U4MODE.getPDSEL : TBits_2; inline;
  29196. begin
  29197. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29198. end;
  29199. procedure TUART1B_U4MODE.setBRGH; inline;
  29200. begin
  29201. pTDefRegMap(@Self)^.&set := $00000008;
  29202. end;
  29203. procedure TUART1B_U4MODE.clearBRGH; inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.clr := $00000008;
  29206. end;
  29207. procedure TUART1B_U4MODE.setBRGH(thebits : TBits_1); inline;
  29208. begin
  29209. if thebits = 0 then
  29210. pTDefRegMap(@Self)^.clr := $00000008
  29211. else
  29212. pTDefRegMap(@Self)^.&set := $00000008;
  29213. end;
  29214. function TUART1B_U4MODE.getBRGH : TBits_1; inline;
  29215. begin
  29216. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29217. end;
  29218. procedure TUART1B_U4MODE.setRXINV; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.&set := $00000010;
  29221. end;
  29222. procedure TUART1B_U4MODE.clearRXINV; inline;
  29223. begin
  29224. pTDefRegMap(@Self)^.clr := $00000010;
  29225. end;
  29226. procedure TUART1B_U4MODE.setRXINV(thebits : TBits_1); inline;
  29227. begin
  29228. if thebits = 0 then
  29229. pTDefRegMap(@Self)^.clr := $00000010
  29230. else
  29231. pTDefRegMap(@Self)^.&set := $00000010;
  29232. end;
  29233. function TUART1B_U4MODE.getRXINV : TBits_1; inline;
  29234. begin
  29235. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29236. end;
  29237. procedure TUART1B_U4MODE.setABAUD; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.&set := $00000020;
  29240. end;
  29241. procedure TUART1B_U4MODE.clearABAUD; inline;
  29242. begin
  29243. pTDefRegMap(@Self)^.clr := $00000020;
  29244. end;
  29245. procedure TUART1B_U4MODE.setABAUD(thebits : TBits_1); inline;
  29246. begin
  29247. if thebits = 0 then
  29248. pTDefRegMap(@Self)^.clr := $00000020
  29249. else
  29250. pTDefRegMap(@Self)^.&set := $00000020;
  29251. end;
  29252. function TUART1B_U4MODE.getABAUD : TBits_1; inline;
  29253. begin
  29254. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29255. end;
  29256. procedure TUART1B_U4MODE.setLPBACK; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.&set := $00000040;
  29259. end;
  29260. procedure TUART1B_U4MODE.clearLPBACK; inline;
  29261. begin
  29262. pTDefRegMap(@Self)^.clr := $00000040;
  29263. end;
  29264. procedure TUART1B_U4MODE.setLPBACK(thebits : TBits_1); inline;
  29265. begin
  29266. if thebits = 0 then
  29267. pTDefRegMap(@Self)^.clr := $00000040
  29268. else
  29269. pTDefRegMap(@Self)^.&set := $00000040;
  29270. end;
  29271. function TUART1B_U4MODE.getLPBACK : TBits_1; inline;
  29272. begin
  29273. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29274. end;
  29275. procedure TUART1B_U4MODE.setWAKE; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.&set := $00000080;
  29278. end;
  29279. procedure TUART1B_U4MODE.clearWAKE; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.clr := $00000080;
  29282. end;
  29283. procedure TUART1B_U4MODE.setWAKE(thebits : TBits_1); inline;
  29284. begin
  29285. if thebits = 0 then
  29286. pTDefRegMap(@Self)^.clr := $00000080
  29287. else
  29288. pTDefRegMap(@Self)^.&set := $00000080;
  29289. end;
  29290. function TUART1B_U4MODE.getWAKE : TBits_1; inline;
  29291. begin
  29292. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29293. end;
  29294. procedure TUART1B_U4MODE.setIREN; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.&set := $00001000;
  29297. end;
  29298. procedure TUART1B_U4MODE.clearIREN; inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.clr := $00001000;
  29301. end;
  29302. procedure TUART1B_U4MODE.setIREN(thebits : TBits_1); inline;
  29303. begin
  29304. if thebits = 0 then
  29305. pTDefRegMap(@Self)^.clr := $00001000
  29306. else
  29307. pTDefRegMap(@Self)^.&set := $00001000;
  29308. end;
  29309. function TUART1B_U4MODE.getIREN : TBits_1; inline;
  29310. begin
  29311. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29312. end;
  29313. procedure TUART1B_U4MODE.setSIDL; inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.&set := $00002000;
  29316. end;
  29317. procedure TUART1B_U4MODE.clearSIDL; inline;
  29318. begin
  29319. pTDefRegMap(@Self)^.clr := $00002000;
  29320. end;
  29321. procedure TUART1B_U4MODE.setSIDL(thebits : TBits_1); inline;
  29322. begin
  29323. if thebits = 0 then
  29324. pTDefRegMap(@Self)^.clr := $00002000
  29325. else
  29326. pTDefRegMap(@Self)^.&set := $00002000;
  29327. end;
  29328. function TUART1B_U4MODE.getSIDL : TBits_1; inline;
  29329. begin
  29330. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29331. end;
  29332. procedure TUART1B_U4MODE.setON; inline;
  29333. begin
  29334. pTDefRegMap(@Self)^.&set := $00008000;
  29335. end;
  29336. procedure TUART1B_U4MODE.clearON; inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.clr := $00008000;
  29339. end;
  29340. procedure TUART1B_U4MODE.setON(thebits : TBits_1); inline;
  29341. begin
  29342. if thebits = 0 then
  29343. pTDefRegMap(@Self)^.clr := $00008000
  29344. else
  29345. pTDefRegMap(@Self)^.&set := $00008000;
  29346. end;
  29347. function TUART1B_U4MODE.getON : TBits_1; inline;
  29348. begin
  29349. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29350. end;
  29351. procedure TUART1B_U4MODE.setPDSEL0; inline;
  29352. begin
  29353. pTDefRegMap(@Self)^.&set := $00000002;
  29354. end;
  29355. procedure TUART1B_U4MODE.clearPDSEL0; inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.clr := $00000002;
  29358. end;
  29359. procedure TUART1B_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  29360. begin
  29361. if thebits = 0 then
  29362. pTDefRegMap(@Self)^.clr := $00000002
  29363. else
  29364. pTDefRegMap(@Self)^.&set := $00000002;
  29365. end;
  29366. function TUART1B_U4MODE.getPDSEL0 : TBits_1; inline;
  29367. begin
  29368. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29369. end;
  29370. procedure TUART1B_U4MODE.setPDSEL1; inline;
  29371. begin
  29372. pTDefRegMap(@Self)^.&set := $00000004;
  29373. end;
  29374. procedure TUART1B_U4MODE.clearPDSEL1; inline;
  29375. begin
  29376. pTDefRegMap(@Self)^.clr := $00000004;
  29377. end;
  29378. procedure TUART1B_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  29379. begin
  29380. if thebits = 0 then
  29381. pTDefRegMap(@Self)^.clr := $00000004
  29382. else
  29383. pTDefRegMap(@Self)^.&set := $00000004;
  29384. end;
  29385. function TUART1B_U4MODE.getPDSEL1 : TBits_1; inline;
  29386. begin
  29387. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29388. end;
  29389. procedure TUART1B_U4MODE.setUSIDL; inline;
  29390. begin
  29391. pTDefRegMap(@Self)^.&set := $00002000;
  29392. end;
  29393. procedure TUART1B_U4MODE.clearUSIDL; inline;
  29394. begin
  29395. pTDefRegMap(@Self)^.clr := $00002000;
  29396. end;
  29397. procedure TUART1B_U4MODE.setUSIDL(thebits : TBits_1); inline;
  29398. begin
  29399. if thebits = 0 then
  29400. pTDefRegMap(@Self)^.clr := $00002000
  29401. else
  29402. pTDefRegMap(@Self)^.&set := $00002000;
  29403. end;
  29404. function TUART1B_U4MODE.getUSIDL : TBits_1; inline;
  29405. begin
  29406. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29407. end;
  29408. procedure TUART1B_U4MODE.setUARTEN; inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.&set := $00008000;
  29411. end;
  29412. procedure TUART1B_U4MODE.clearUARTEN; inline;
  29413. begin
  29414. pTDefRegMap(@Self)^.clr := $00008000;
  29415. end;
  29416. procedure TUART1B_U4MODE.setUARTEN(thebits : TBits_1); inline;
  29417. begin
  29418. if thebits = 0 then
  29419. pTDefRegMap(@Self)^.clr := $00008000
  29420. else
  29421. pTDefRegMap(@Self)^.&set := $00008000;
  29422. end;
  29423. function TUART1B_U4MODE.getUARTEN : TBits_1; inline;
  29424. begin
  29425. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29426. end;
  29427. procedure TUART1B_U4MODE.setw(thebits : TBits_32); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := thebits;
  29430. end;
  29431. function TUART1B_U4MODE.getw : TBits_32; inline;
  29432. begin
  29433. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29434. end;
  29435. procedure TUART1B_U1BSTA.setURXDA; inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.&set := $00000001;
  29438. end;
  29439. procedure TUART1B_U1BSTA.clearURXDA; inline;
  29440. begin
  29441. pTDefRegMap(@Self)^.clr := $00000001;
  29442. end;
  29443. procedure TUART1B_U1BSTA.setURXDA(thebits : TBits_1); inline;
  29444. begin
  29445. if thebits = 0 then
  29446. pTDefRegMap(@Self)^.clr := $00000001
  29447. else
  29448. pTDefRegMap(@Self)^.&set := $00000001;
  29449. end;
  29450. function TUART1B_U1BSTA.getURXDA : TBits_1; inline;
  29451. begin
  29452. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29453. end;
  29454. procedure TUART1B_U1BSTA.setOERR; inline;
  29455. begin
  29456. pTDefRegMap(@Self)^.&set := $00000002;
  29457. end;
  29458. procedure TUART1B_U1BSTA.clearOERR; inline;
  29459. begin
  29460. pTDefRegMap(@Self)^.clr := $00000002;
  29461. end;
  29462. procedure TUART1B_U1BSTA.setOERR(thebits : TBits_1); inline;
  29463. begin
  29464. if thebits = 0 then
  29465. pTDefRegMap(@Self)^.clr := $00000002
  29466. else
  29467. pTDefRegMap(@Self)^.&set := $00000002;
  29468. end;
  29469. function TUART1B_U1BSTA.getOERR : TBits_1; inline;
  29470. begin
  29471. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29472. end;
  29473. procedure TUART1B_U1BSTA.setFERR; inline;
  29474. begin
  29475. pTDefRegMap(@Self)^.&set := $00000004;
  29476. end;
  29477. procedure TUART1B_U1BSTA.clearFERR; inline;
  29478. begin
  29479. pTDefRegMap(@Self)^.clr := $00000004;
  29480. end;
  29481. procedure TUART1B_U1BSTA.setFERR(thebits : TBits_1); inline;
  29482. begin
  29483. if thebits = 0 then
  29484. pTDefRegMap(@Self)^.clr := $00000004
  29485. else
  29486. pTDefRegMap(@Self)^.&set := $00000004;
  29487. end;
  29488. function TUART1B_U1BSTA.getFERR : TBits_1; inline;
  29489. begin
  29490. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29491. end;
  29492. procedure TUART1B_U1BSTA.setPERR; inline;
  29493. begin
  29494. pTDefRegMap(@Self)^.&set := $00000008;
  29495. end;
  29496. procedure TUART1B_U1BSTA.clearPERR; inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.clr := $00000008;
  29499. end;
  29500. procedure TUART1B_U1BSTA.setPERR(thebits : TBits_1); inline;
  29501. begin
  29502. if thebits = 0 then
  29503. pTDefRegMap(@Self)^.clr := $00000008
  29504. else
  29505. pTDefRegMap(@Self)^.&set := $00000008;
  29506. end;
  29507. function TUART1B_U1BSTA.getPERR : TBits_1; inline;
  29508. begin
  29509. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29510. end;
  29511. procedure TUART1B_U1BSTA.setRIDLE; inline;
  29512. begin
  29513. pTDefRegMap(@Self)^.&set := $00000010;
  29514. end;
  29515. procedure TUART1B_U1BSTA.clearRIDLE; inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.clr := $00000010;
  29518. end;
  29519. procedure TUART1B_U1BSTA.setRIDLE(thebits : TBits_1); inline;
  29520. begin
  29521. if thebits = 0 then
  29522. pTDefRegMap(@Self)^.clr := $00000010
  29523. else
  29524. pTDefRegMap(@Self)^.&set := $00000010;
  29525. end;
  29526. function TUART1B_U1BSTA.getRIDLE : TBits_1; inline;
  29527. begin
  29528. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29529. end;
  29530. procedure TUART1B_U1BSTA.setADDEN; inline;
  29531. begin
  29532. pTDefRegMap(@Self)^.&set := $00000020;
  29533. end;
  29534. procedure TUART1B_U1BSTA.clearADDEN; inline;
  29535. begin
  29536. pTDefRegMap(@Self)^.clr := $00000020;
  29537. end;
  29538. procedure TUART1B_U1BSTA.setADDEN(thebits : TBits_1); inline;
  29539. begin
  29540. if thebits = 0 then
  29541. pTDefRegMap(@Self)^.clr := $00000020
  29542. else
  29543. pTDefRegMap(@Self)^.&set := $00000020;
  29544. end;
  29545. function TUART1B_U1BSTA.getADDEN : TBits_1; inline;
  29546. begin
  29547. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29548. end;
  29549. procedure TUART1B_U1BSTA.setURXISEL(thebits : TBits_2); inline;
  29550. begin
  29551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29552. end;
  29553. function TUART1B_U1BSTA.getURXISEL : TBits_2; inline;
  29554. begin
  29555. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29556. end;
  29557. procedure TUART1B_U1BSTA.setTRMT; inline;
  29558. begin
  29559. pTDefRegMap(@Self)^.&set := $00000100;
  29560. end;
  29561. procedure TUART1B_U1BSTA.clearTRMT; inline;
  29562. begin
  29563. pTDefRegMap(@Self)^.clr := $00000100;
  29564. end;
  29565. procedure TUART1B_U1BSTA.setTRMT(thebits : TBits_1); inline;
  29566. begin
  29567. if thebits = 0 then
  29568. pTDefRegMap(@Self)^.clr := $00000100
  29569. else
  29570. pTDefRegMap(@Self)^.&set := $00000100;
  29571. end;
  29572. function TUART1B_U1BSTA.getTRMT : TBits_1; inline;
  29573. begin
  29574. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29575. end;
  29576. procedure TUART1B_U1BSTA.setUTXBF; inline;
  29577. begin
  29578. pTDefRegMap(@Self)^.&set := $00000200;
  29579. end;
  29580. procedure TUART1B_U1BSTA.clearUTXBF; inline;
  29581. begin
  29582. pTDefRegMap(@Self)^.clr := $00000200;
  29583. end;
  29584. procedure TUART1B_U1BSTA.setUTXBF(thebits : TBits_1); inline;
  29585. begin
  29586. if thebits = 0 then
  29587. pTDefRegMap(@Self)^.clr := $00000200
  29588. else
  29589. pTDefRegMap(@Self)^.&set := $00000200;
  29590. end;
  29591. function TUART1B_U1BSTA.getUTXBF : TBits_1; inline;
  29592. begin
  29593. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29594. end;
  29595. procedure TUART1B_U1BSTA.setUTXEN; inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.&set := $00000400;
  29598. end;
  29599. procedure TUART1B_U1BSTA.clearUTXEN; inline;
  29600. begin
  29601. pTDefRegMap(@Self)^.clr := $00000400;
  29602. end;
  29603. procedure TUART1B_U1BSTA.setUTXEN(thebits : TBits_1); inline;
  29604. begin
  29605. if thebits = 0 then
  29606. pTDefRegMap(@Self)^.clr := $00000400
  29607. else
  29608. pTDefRegMap(@Self)^.&set := $00000400;
  29609. end;
  29610. function TUART1B_U1BSTA.getUTXEN : TBits_1; inline;
  29611. begin
  29612. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29613. end;
  29614. procedure TUART1B_U1BSTA.setUTXBRK; inline;
  29615. begin
  29616. pTDefRegMap(@Self)^.&set := $00000800;
  29617. end;
  29618. procedure TUART1B_U1BSTA.clearUTXBRK; inline;
  29619. begin
  29620. pTDefRegMap(@Self)^.clr := $00000800;
  29621. end;
  29622. procedure TUART1B_U1BSTA.setUTXBRK(thebits : TBits_1); inline;
  29623. begin
  29624. if thebits = 0 then
  29625. pTDefRegMap(@Self)^.clr := $00000800
  29626. else
  29627. pTDefRegMap(@Self)^.&set := $00000800;
  29628. end;
  29629. function TUART1B_U1BSTA.getUTXBRK : TBits_1; inline;
  29630. begin
  29631. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29632. end;
  29633. procedure TUART1B_U1BSTA.setURXEN; inline;
  29634. begin
  29635. pTDefRegMap(@Self)^.&set := $00001000;
  29636. end;
  29637. procedure TUART1B_U1BSTA.clearURXEN; inline;
  29638. begin
  29639. pTDefRegMap(@Self)^.clr := $00001000;
  29640. end;
  29641. procedure TUART1B_U1BSTA.setURXEN(thebits : TBits_1); inline;
  29642. begin
  29643. if thebits = 0 then
  29644. pTDefRegMap(@Self)^.clr := $00001000
  29645. else
  29646. pTDefRegMap(@Self)^.&set := $00001000;
  29647. end;
  29648. function TUART1B_U1BSTA.getURXEN : TBits_1; inline;
  29649. begin
  29650. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29651. end;
  29652. procedure TUART1B_U1BSTA.setUTXINV; inline;
  29653. begin
  29654. pTDefRegMap(@Self)^.&set := $00002000;
  29655. end;
  29656. procedure TUART1B_U1BSTA.clearUTXINV; inline;
  29657. begin
  29658. pTDefRegMap(@Self)^.clr := $00002000;
  29659. end;
  29660. procedure TUART1B_U1BSTA.setUTXINV(thebits : TBits_1); inline;
  29661. begin
  29662. if thebits = 0 then
  29663. pTDefRegMap(@Self)^.clr := $00002000
  29664. else
  29665. pTDefRegMap(@Self)^.&set := $00002000;
  29666. end;
  29667. function TUART1B_U1BSTA.getUTXINV : TBits_1; inline;
  29668. begin
  29669. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29670. end;
  29671. procedure TUART1B_U1BSTA.setUTXISEL(thebits : TBits_2); inline;
  29672. begin
  29673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29674. end;
  29675. function TUART1B_U1BSTA.getUTXISEL : TBits_2; inline;
  29676. begin
  29677. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29678. end;
  29679. procedure TUART1B_U1BSTA.setADDR(thebits : TBits_8); inline;
  29680. begin
  29681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29682. end;
  29683. function TUART1B_U1BSTA.getADDR : TBits_8; inline;
  29684. begin
  29685. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29686. end;
  29687. procedure TUART1B_U1BSTA.setADM_EN; inline;
  29688. begin
  29689. pTDefRegMap(@Self)^.&set := $01000000;
  29690. end;
  29691. procedure TUART1B_U1BSTA.clearADM_EN; inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.clr := $01000000;
  29694. end;
  29695. procedure TUART1B_U1BSTA.setADM_EN(thebits : TBits_1); inline;
  29696. begin
  29697. if thebits = 0 then
  29698. pTDefRegMap(@Self)^.clr := $01000000
  29699. else
  29700. pTDefRegMap(@Self)^.&set := $01000000;
  29701. end;
  29702. function TUART1B_U1BSTA.getADM_EN : TBits_1; inline;
  29703. begin
  29704. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29705. end;
  29706. procedure TUART1B_U1BSTA.setURXISEL0; inline;
  29707. begin
  29708. pTDefRegMap(@Self)^.&set := $00000040;
  29709. end;
  29710. procedure TUART1B_U1BSTA.clearURXISEL0; inline;
  29711. begin
  29712. pTDefRegMap(@Self)^.clr := $00000040;
  29713. end;
  29714. procedure TUART1B_U1BSTA.setURXISEL0(thebits : TBits_1); inline;
  29715. begin
  29716. if thebits = 0 then
  29717. pTDefRegMap(@Self)^.clr := $00000040
  29718. else
  29719. pTDefRegMap(@Self)^.&set := $00000040;
  29720. end;
  29721. function TUART1B_U1BSTA.getURXISEL0 : TBits_1; inline;
  29722. begin
  29723. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29724. end;
  29725. procedure TUART1B_U1BSTA.setURXISEL1; inline;
  29726. begin
  29727. pTDefRegMap(@Self)^.&set := $00000080;
  29728. end;
  29729. procedure TUART1B_U1BSTA.clearURXISEL1; inline;
  29730. begin
  29731. pTDefRegMap(@Self)^.clr := $00000080;
  29732. end;
  29733. procedure TUART1B_U1BSTA.setURXISEL1(thebits : TBits_1); inline;
  29734. begin
  29735. if thebits = 0 then
  29736. pTDefRegMap(@Self)^.clr := $00000080
  29737. else
  29738. pTDefRegMap(@Self)^.&set := $00000080;
  29739. end;
  29740. function TUART1B_U1BSTA.getURXISEL1 : TBits_1; inline;
  29741. begin
  29742. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29743. end;
  29744. procedure TUART1B_U1BSTA.setUTXISEL0; inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.&set := $00004000;
  29747. end;
  29748. procedure TUART1B_U1BSTA.clearUTXISEL0; inline;
  29749. begin
  29750. pTDefRegMap(@Self)^.clr := $00004000;
  29751. end;
  29752. procedure TUART1B_U1BSTA.setUTXISEL0(thebits : TBits_1); inline;
  29753. begin
  29754. if thebits = 0 then
  29755. pTDefRegMap(@Self)^.clr := $00004000
  29756. else
  29757. pTDefRegMap(@Self)^.&set := $00004000;
  29758. end;
  29759. function TUART1B_U1BSTA.getUTXISEL0 : TBits_1; inline;
  29760. begin
  29761. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29762. end;
  29763. procedure TUART1B_U1BSTA.setUTXISEL1; inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.&set := $00008000;
  29766. end;
  29767. procedure TUART1B_U1BSTA.clearUTXISEL1; inline;
  29768. begin
  29769. pTDefRegMap(@Self)^.clr := $00008000;
  29770. end;
  29771. procedure TUART1B_U1BSTA.setUTXISEL1(thebits : TBits_1); inline;
  29772. begin
  29773. if thebits = 0 then
  29774. pTDefRegMap(@Self)^.clr := $00008000
  29775. else
  29776. pTDefRegMap(@Self)^.&set := $00008000;
  29777. end;
  29778. function TUART1B_U1BSTA.getUTXISEL1 : TBits_1; inline;
  29779. begin
  29780. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29781. end;
  29782. procedure TUART1B_U1BSTA.setUTXSEL(thebits : TBits_2); inline;
  29783. begin
  29784. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29785. end;
  29786. function TUART1B_U1BSTA.getUTXSEL : TBits_2; inline;
  29787. begin
  29788. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29789. end;
  29790. procedure TUART1B_U1BSTA.setw(thebits : TBits_32); inline;
  29791. begin
  29792. pTDefRegMap(@Self)^.val := thebits;
  29793. end;
  29794. function TUART1B_U1BSTA.getw : TBits_32; inline;
  29795. begin
  29796. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29797. end;
  29798. procedure TUART1B_U4STA.setURXDA; inline;
  29799. begin
  29800. pTDefRegMap(@Self)^.&set := $00000001;
  29801. end;
  29802. procedure TUART1B_U4STA.clearURXDA; inline;
  29803. begin
  29804. pTDefRegMap(@Self)^.clr := $00000001;
  29805. end;
  29806. procedure TUART1B_U4STA.setURXDA(thebits : TBits_1); inline;
  29807. begin
  29808. if thebits = 0 then
  29809. pTDefRegMap(@Self)^.clr := $00000001
  29810. else
  29811. pTDefRegMap(@Self)^.&set := $00000001;
  29812. end;
  29813. function TUART1B_U4STA.getURXDA : TBits_1; inline;
  29814. begin
  29815. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29816. end;
  29817. procedure TUART1B_U4STA.setOERR; inline;
  29818. begin
  29819. pTDefRegMap(@Self)^.&set := $00000002;
  29820. end;
  29821. procedure TUART1B_U4STA.clearOERR; inline;
  29822. begin
  29823. pTDefRegMap(@Self)^.clr := $00000002;
  29824. end;
  29825. procedure TUART1B_U4STA.setOERR(thebits : TBits_1); inline;
  29826. begin
  29827. if thebits = 0 then
  29828. pTDefRegMap(@Self)^.clr := $00000002
  29829. else
  29830. pTDefRegMap(@Self)^.&set := $00000002;
  29831. end;
  29832. function TUART1B_U4STA.getOERR : TBits_1; inline;
  29833. begin
  29834. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29835. end;
  29836. procedure TUART1B_U4STA.setFERR; inline;
  29837. begin
  29838. pTDefRegMap(@Self)^.&set := $00000004;
  29839. end;
  29840. procedure TUART1B_U4STA.clearFERR; inline;
  29841. begin
  29842. pTDefRegMap(@Self)^.clr := $00000004;
  29843. end;
  29844. procedure TUART1B_U4STA.setFERR(thebits : TBits_1); inline;
  29845. begin
  29846. if thebits = 0 then
  29847. pTDefRegMap(@Self)^.clr := $00000004
  29848. else
  29849. pTDefRegMap(@Self)^.&set := $00000004;
  29850. end;
  29851. function TUART1B_U4STA.getFERR : TBits_1; inline;
  29852. begin
  29853. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29854. end;
  29855. procedure TUART1B_U4STA.setPERR; inline;
  29856. begin
  29857. pTDefRegMap(@Self)^.&set := $00000008;
  29858. end;
  29859. procedure TUART1B_U4STA.clearPERR; inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.clr := $00000008;
  29862. end;
  29863. procedure TUART1B_U4STA.setPERR(thebits : TBits_1); inline;
  29864. begin
  29865. if thebits = 0 then
  29866. pTDefRegMap(@Self)^.clr := $00000008
  29867. else
  29868. pTDefRegMap(@Self)^.&set := $00000008;
  29869. end;
  29870. function TUART1B_U4STA.getPERR : TBits_1; inline;
  29871. begin
  29872. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29873. end;
  29874. procedure TUART1B_U4STA.setRIDLE; inline;
  29875. begin
  29876. pTDefRegMap(@Self)^.&set := $00000010;
  29877. end;
  29878. procedure TUART1B_U4STA.clearRIDLE; inline;
  29879. begin
  29880. pTDefRegMap(@Self)^.clr := $00000010;
  29881. end;
  29882. procedure TUART1B_U4STA.setRIDLE(thebits : TBits_1); inline;
  29883. begin
  29884. if thebits = 0 then
  29885. pTDefRegMap(@Self)^.clr := $00000010
  29886. else
  29887. pTDefRegMap(@Self)^.&set := $00000010;
  29888. end;
  29889. function TUART1B_U4STA.getRIDLE : TBits_1; inline;
  29890. begin
  29891. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29892. end;
  29893. procedure TUART1B_U4STA.setADDEN; inline;
  29894. begin
  29895. pTDefRegMap(@Self)^.&set := $00000020;
  29896. end;
  29897. procedure TUART1B_U4STA.clearADDEN; inline;
  29898. begin
  29899. pTDefRegMap(@Self)^.clr := $00000020;
  29900. end;
  29901. procedure TUART1B_U4STA.setADDEN(thebits : TBits_1); inline;
  29902. begin
  29903. if thebits = 0 then
  29904. pTDefRegMap(@Self)^.clr := $00000020
  29905. else
  29906. pTDefRegMap(@Self)^.&set := $00000020;
  29907. end;
  29908. function TUART1B_U4STA.getADDEN : TBits_1; inline;
  29909. begin
  29910. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29911. end;
  29912. procedure TUART1B_U4STA.setURXISEL(thebits : TBits_2); inline;
  29913. begin
  29914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29915. end;
  29916. function TUART1B_U4STA.getURXISEL : TBits_2; inline;
  29917. begin
  29918. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29919. end;
  29920. procedure TUART1B_U4STA.setTRMT; inline;
  29921. begin
  29922. pTDefRegMap(@Self)^.&set := $00000100;
  29923. end;
  29924. procedure TUART1B_U4STA.clearTRMT; inline;
  29925. begin
  29926. pTDefRegMap(@Self)^.clr := $00000100;
  29927. end;
  29928. procedure TUART1B_U4STA.setTRMT(thebits : TBits_1); inline;
  29929. begin
  29930. if thebits = 0 then
  29931. pTDefRegMap(@Self)^.clr := $00000100
  29932. else
  29933. pTDefRegMap(@Self)^.&set := $00000100;
  29934. end;
  29935. function TUART1B_U4STA.getTRMT : TBits_1; inline;
  29936. begin
  29937. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29938. end;
  29939. procedure TUART1B_U4STA.setUTXBF; inline;
  29940. begin
  29941. pTDefRegMap(@Self)^.&set := $00000200;
  29942. end;
  29943. procedure TUART1B_U4STA.clearUTXBF; inline;
  29944. begin
  29945. pTDefRegMap(@Self)^.clr := $00000200;
  29946. end;
  29947. procedure TUART1B_U4STA.setUTXBF(thebits : TBits_1); inline;
  29948. begin
  29949. if thebits = 0 then
  29950. pTDefRegMap(@Self)^.clr := $00000200
  29951. else
  29952. pTDefRegMap(@Self)^.&set := $00000200;
  29953. end;
  29954. function TUART1B_U4STA.getUTXBF : TBits_1; inline;
  29955. begin
  29956. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29957. end;
  29958. procedure TUART1B_U4STA.setUTXEN; inline;
  29959. begin
  29960. pTDefRegMap(@Self)^.&set := $00000400;
  29961. end;
  29962. procedure TUART1B_U4STA.clearUTXEN; inline;
  29963. begin
  29964. pTDefRegMap(@Self)^.clr := $00000400;
  29965. end;
  29966. procedure TUART1B_U4STA.setUTXEN(thebits : TBits_1); inline;
  29967. begin
  29968. if thebits = 0 then
  29969. pTDefRegMap(@Self)^.clr := $00000400
  29970. else
  29971. pTDefRegMap(@Self)^.&set := $00000400;
  29972. end;
  29973. function TUART1B_U4STA.getUTXEN : TBits_1; inline;
  29974. begin
  29975. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29976. end;
  29977. procedure TUART1B_U4STA.setUTXBRK; inline;
  29978. begin
  29979. pTDefRegMap(@Self)^.&set := $00000800;
  29980. end;
  29981. procedure TUART1B_U4STA.clearUTXBRK; inline;
  29982. begin
  29983. pTDefRegMap(@Self)^.clr := $00000800;
  29984. end;
  29985. procedure TUART1B_U4STA.setUTXBRK(thebits : TBits_1); inline;
  29986. begin
  29987. if thebits = 0 then
  29988. pTDefRegMap(@Self)^.clr := $00000800
  29989. else
  29990. pTDefRegMap(@Self)^.&set := $00000800;
  29991. end;
  29992. function TUART1B_U4STA.getUTXBRK : TBits_1; inline;
  29993. begin
  29994. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29995. end;
  29996. procedure TUART1B_U4STA.setURXEN; inline;
  29997. begin
  29998. pTDefRegMap(@Self)^.&set := $00001000;
  29999. end;
  30000. procedure TUART1B_U4STA.clearURXEN; inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.clr := $00001000;
  30003. end;
  30004. procedure TUART1B_U4STA.setURXEN(thebits : TBits_1); inline;
  30005. begin
  30006. if thebits = 0 then
  30007. pTDefRegMap(@Self)^.clr := $00001000
  30008. else
  30009. pTDefRegMap(@Self)^.&set := $00001000;
  30010. end;
  30011. function TUART1B_U4STA.getURXEN : TBits_1; inline;
  30012. begin
  30013. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30014. end;
  30015. procedure TUART1B_U4STA.setUTXINV; inline;
  30016. begin
  30017. pTDefRegMap(@Self)^.&set := $00002000;
  30018. end;
  30019. procedure TUART1B_U4STA.clearUTXINV; inline;
  30020. begin
  30021. pTDefRegMap(@Self)^.clr := $00002000;
  30022. end;
  30023. procedure TUART1B_U4STA.setUTXINV(thebits : TBits_1); inline;
  30024. begin
  30025. if thebits = 0 then
  30026. pTDefRegMap(@Self)^.clr := $00002000
  30027. else
  30028. pTDefRegMap(@Self)^.&set := $00002000;
  30029. end;
  30030. function TUART1B_U4STA.getUTXINV : TBits_1; inline;
  30031. begin
  30032. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30033. end;
  30034. procedure TUART1B_U4STA.setUTXISEL(thebits : TBits_2); inline;
  30035. begin
  30036. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30037. end;
  30038. function TUART1B_U4STA.getUTXISEL : TBits_2; inline;
  30039. begin
  30040. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30041. end;
  30042. procedure TUART1B_U4STA.setADDR(thebits : TBits_8); inline;
  30043. begin
  30044. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30045. end;
  30046. function TUART1B_U4STA.getADDR : TBits_8; inline;
  30047. begin
  30048. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30049. end;
  30050. procedure TUART1B_U4STA.setADM_EN; inline;
  30051. begin
  30052. pTDefRegMap(@Self)^.&set := $01000000;
  30053. end;
  30054. procedure TUART1B_U4STA.clearADM_EN; inline;
  30055. begin
  30056. pTDefRegMap(@Self)^.clr := $01000000;
  30057. end;
  30058. procedure TUART1B_U4STA.setADM_EN(thebits : TBits_1); inline;
  30059. begin
  30060. if thebits = 0 then
  30061. pTDefRegMap(@Self)^.clr := $01000000
  30062. else
  30063. pTDefRegMap(@Self)^.&set := $01000000;
  30064. end;
  30065. function TUART1B_U4STA.getADM_EN : TBits_1; inline;
  30066. begin
  30067. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30068. end;
  30069. procedure TUART1B_U4STA.setURXISEL0; inline;
  30070. begin
  30071. pTDefRegMap(@Self)^.&set := $00000040;
  30072. end;
  30073. procedure TUART1B_U4STA.clearURXISEL0; inline;
  30074. begin
  30075. pTDefRegMap(@Self)^.clr := $00000040;
  30076. end;
  30077. procedure TUART1B_U4STA.setURXISEL0(thebits : TBits_1); inline;
  30078. begin
  30079. if thebits = 0 then
  30080. pTDefRegMap(@Self)^.clr := $00000040
  30081. else
  30082. pTDefRegMap(@Self)^.&set := $00000040;
  30083. end;
  30084. function TUART1B_U4STA.getURXISEL0 : TBits_1; inline;
  30085. begin
  30086. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30087. end;
  30088. procedure TUART1B_U4STA.setURXISEL1; inline;
  30089. begin
  30090. pTDefRegMap(@Self)^.&set := $00000080;
  30091. end;
  30092. procedure TUART1B_U4STA.clearURXISEL1; inline;
  30093. begin
  30094. pTDefRegMap(@Self)^.clr := $00000080;
  30095. end;
  30096. procedure TUART1B_U4STA.setURXISEL1(thebits : TBits_1); inline;
  30097. begin
  30098. if thebits = 0 then
  30099. pTDefRegMap(@Self)^.clr := $00000080
  30100. else
  30101. pTDefRegMap(@Self)^.&set := $00000080;
  30102. end;
  30103. function TUART1B_U4STA.getURXISEL1 : TBits_1; inline;
  30104. begin
  30105. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30106. end;
  30107. procedure TUART1B_U4STA.setUTXISEL0; inline;
  30108. begin
  30109. pTDefRegMap(@Self)^.&set := $00004000;
  30110. end;
  30111. procedure TUART1B_U4STA.clearUTXISEL0; inline;
  30112. begin
  30113. pTDefRegMap(@Self)^.clr := $00004000;
  30114. end;
  30115. procedure TUART1B_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  30116. begin
  30117. if thebits = 0 then
  30118. pTDefRegMap(@Self)^.clr := $00004000
  30119. else
  30120. pTDefRegMap(@Self)^.&set := $00004000;
  30121. end;
  30122. function TUART1B_U4STA.getUTXISEL0 : TBits_1; inline;
  30123. begin
  30124. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30125. end;
  30126. procedure TUART1B_U4STA.setUTXISEL1; inline;
  30127. begin
  30128. pTDefRegMap(@Self)^.&set := $00008000;
  30129. end;
  30130. procedure TUART1B_U4STA.clearUTXISEL1; inline;
  30131. begin
  30132. pTDefRegMap(@Self)^.clr := $00008000;
  30133. end;
  30134. procedure TUART1B_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  30135. begin
  30136. if thebits = 0 then
  30137. pTDefRegMap(@Self)^.clr := $00008000
  30138. else
  30139. pTDefRegMap(@Self)^.&set := $00008000;
  30140. end;
  30141. function TUART1B_U4STA.getUTXISEL1 : TBits_1; inline;
  30142. begin
  30143. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30144. end;
  30145. procedure TUART1B_U4STA.setUTXSEL(thebits : TBits_2); inline;
  30146. begin
  30147. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30148. end;
  30149. function TUART1B_U4STA.getUTXSEL : TBits_2; inline;
  30150. begin
  30151. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30152. end;
  30153. procedure TUART1B_U4STA.setw(thebits : TBits_32); inline;
  30154. begin
  30155. pTDefRegMap(@Self)^.val := thebits;
  30156. end;
  30157. function TUART1B_U4STA.getw : TBits_32; inline;
  30158. begin
  30159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30160. end;
  30161. procedure TUART2A_U2AMODE.setSTSEL; inline;
  30162. begin
  30163. pTDefRegMap(@Self)^.&set := $00000001;
  30164. end;
  30165. procedure TUART2A_U2AMODE.clearSTSEL; inline;
  30166. begin
  30167. pTDefRegMap(@Self)^.clr := $00000001;
  30168. end;
  30169. procedure TUART2A_U2AMODE.setSTSEL(thebits : TBits_1); inline;
  30170. begin
  30171. if thebits = 0 then
  30172. pTDefRegMap(@Self)^.clr := $00000001
  30173. else
  30174. pTDefRegMap(@Self)^.&set := $00000001;
  30175. end;
  30176. function TUART2A_U2AMODE.getSTSEL : TBits_1; inline;
  30177. begin
  30178. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30179. end;
  30180. procedure TUART2A_U2AMODE.setPDSEL(thebits : TBits_2); inline;
  30181. begin
  30182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30183. end;
  30184. function TUART2A_U2AMODE.getPDSEL : TBits_2; inline;
  30185. begin
  30186. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30187. end;
  30188. procedure TUART2A_U2AMODE.setBRGH; inline;
  30189. begin
  30190. pTDefRegMap(@Self)^.&set := $00000008;
  30191. end;
  30192. procedure TUART2A_U2AMODE.clearBRGH; inline;
  30193. begin
  30194. pTDefRegMap(@Self)^.clr := $00000008;
  30195. end;
  30196. procedure TUART2A_U2AMODE.setBRGH(thebits : TBits_1); inline;
  30197. begin
  30198. if thebits = 0 then
  30199. pTDefRegMap(@Self)^.clr := $00000008
  30200. else
  30201. pTDefRegMap(@Self)^.&set := $00000008;
  30202. end;
  30203. function TUART2A_U2AMODE.getBRGH : TBits_1; inline;
  30204. begin
  30205. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30206. end;
  30207. procedure TUART2A_U2AMODE.setRXINV; inline;
  30208. begin
  30209. pTDefRegMap(@Self)^.&set := $00000010;
  30210. end;
  30211. procedure TUART2A_U2AMODE.clearRXINV; inline;
  30212. begin
  30213. pTDefRegMap(@Self)^.clr := $00000010;
  30214. end;
  30215. procedure TUART2A_U2AMODE.setRXINV(thebits : TBits_1); inline;
  30216. begin
  30217. if thebits = 0 then
  30218. pTDefRegMap(@Self)^.clr := $00000010
  30219. else
  30220. pTDefRegMap(@Self)^.&set := $00000010;
  30221. end;
  30222. function TUART2A_U2AMODE.getRXINV : TBits_1; inline;
  30223. begin
  30224. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30225. end;
  30226. procedure TUART2A_U2AMODE.setABAUD; inline;
  30227. begin
  30228. pTDefRegMap(@Self)^.&set := $00000020;
  30229. end;
  30230. procedure TUART2A_U2AMODE.clearABAUD; inline;
  30231. begin
  30232. pTDefRegMap(@Self)^.clr := $00000020;
  30233. end;
  30234. procedure TUART2A_U2AMODE.setABAUD(thebits : TBits_1); inline;
  30235. begin
  30236. if thebits = 0 then
  30237. pTDefRegMap(@Self)^.clr := $00000020
  30238. else
  30239. pTDefRegMap(@Self)^.&set := $00000020;
  30240. end;
  30241. function TUART2A_U2AMODE.getABAUD : TBits_1; inline;
  30242. begin
  30243. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30244. end;
  30245. procedure TUART2A_U2AMODE.setLPBACK; inline;
  30246. begin
  30247. pTDefRegMap(@Self)^.&set := $00000040;
  30248. end;
  30249. procedure TUART2A_U2AMODE.clearLPBACK; inline;
  30250. begin
  30251. pTDefRegMap(@Self)^.clr := $00000040;
  30252. end;
  30253. procedure TUART2A_U2AMODE.setLPBACK(thebits : TBits_1); inline;
  30254. begin
  30255. if thebits = 0 then
  30256. pTDefRegMap(@Self)^.clr := $00000040
  30257. else
  30258. pTDefRegMap(@Self)^.&set := $00000040;
  30259. end;
  30260. function TUART2A_U2AMODE.getLPBACK : TBits_1; inline;
  30261. begin
  30262. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30263. end;
  30264. procedure TUART2A_U2AMODE.setWAKE; inline;
  30265. begin
  30266. pTDefRegMap(@Self)^.&set := $00000080;
  30267. end;
  30268. procedure TUART2A_U2AMODE.clearWAKE; inline;
  30269. begin
  30270. pTDefRegMap(@Self)^.clr := $00000080;
  30271. end;
  30272. procedure TUART2A_U2AMODE.setWAKE(thebits : TBits_1); inline;
  30273. begin
  30274. if thebits = 0 then
  30275. pTDefRegMap(@Self)^.clr := $00000080
  30276. else
  30277. pTDefRegMap(@Self)^.&set := $00000080;
  30278. end;
  30279. function TUART2A_U2AMODE.getWAKE : TBits_1; inline;
  30280. begin
  30281. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30282. end;
  30283. procedure TUART2A_U2AMODE.setUEN(thebits : TBits_2); inline;
  30284. begin
  30285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  30286. end;
  30287. function TUART2A_U2AMODE.getUEN : TBits_2; inline;
  30288. begin
  30289. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  30290. end;
  30291. procedure TUART2A_U2AMODE.setRTSMD; inline;
  30292. begin
  30293. pTDefRegMap(@Self)^.&set := $00000800;
  30294. end;
  30295. procedure TUART2A_U2AMODE.clearRTSMD; inline;
  30296. begin
  30297. pTDefRegMap(@Self)^.clr := $00000800;
  30298. end;
  30299. procedure TUART2A_U2AMODE.setRTSMD(thebits : TBits_1); inline;
  30300. begin
  30301. if thebits = 0 then
  30302. pTDefRegMap(@Self)^.clr := $00000800
  30303. else
  30304. pTDefRegMap(@Self)^.&set := $00000800;
  30305. end;
  30306. function TUART2A_U2AMODE.getRTSMD : TBits_1; inline;
  30307. begin
  30308. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30309. end;
  30310. procedure TUART2A_U2AMODE.setIREN; inline;
  30311. begin
  30312. pTDefRegMap(@Self)^.&set := $00001000;
  30313. end;
  30314. procedure TUART2A_U2AMODE.clearIREN; inline;
  30315. begin
  30316. pTDefRegMap(@Self)^.clr := $00001000;
  30317. end;
  30318. procedure TUART2A_U2AMODE.setIREN(thebits : TBits_1); inline;
  30319. begin
  30320. if thebits = 0 then
  30321. pTDefRegMap(@Self)^.clr := $00001000
  30322. else
  30323. pTDefRegMap(@Self)^.&set := $00001000;
  30324. end;
  30325. function TUART2A_U2AMODE.getIREN : TBits_1; inline;
  30326. begin
  30327. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30328. end;
  30329. procedure TUART2A_U2AMODE.setSIDL; inline;
  30330. begin
  30331. pTDefRegMap(@Self)^.&set := $00002000;
  30332. end;
  30333. procedure TUART2A_U2AMODE.clearSIDL; inline;
  30334. begin
  30335. pTDefRegMap(@Self)^.clr := $00002000;
  30336. end;
  30337. procedure TUART2A_U2AMODE.setSIDL(thebits : TBits_1); inline;
  30338. begin
  30339. if thebits = 0 then
  30340. pTDefRegMap(@Self)^.clr := $00002000
  30341. else
  30342. pTDefRegMap(@Self)^.&set := $00002000;
  30343. end;
  30344. function TUART2A_U2AMODE.getSIDL : TBits_1; inline;
  30345. begin
  30346. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30347. end;
  30348. procedure TUART2A_U2AMODE.setON; inline;
  30349. begin
  30350. pTDefRegMap(@Self)^.&set := $00008000;
  30351. end;
  30352. procedure TUART2A_U2AMODE.clearON; inline;
  30353. begin
  30354. pTDefRegMap(@Self)^.clr := $00008000;
  30355. end;
  30356. procedure TUART2A_U2AMODE.setON(thebits : TBits_1); inline;
  30357. begin
  30358. if thebits = 0 then
  30359. pTDefRegMap(@Self)^.clr := $00008000
  30360. else
  30361. pTDefRegMap(@Self)^.&set := $00008000;
  30362. end;
  30363. function TUART2A_U2AMODE.getON : TBits_1; inline;
  30364. begin
  30365. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30366. end;
  30367. procedure TUART2A_U2AMODE.setPDSEL0; inline;
  30368. begin
  30369. pTDefRegMap(@Self)^.&set := $00000002;
  30370. end;
  30371. procedure TUART2A_U2AMODE.clearPDSEL0; inline;
  30372. begin
  30373. pTDefRegMap(@Self)^.clr := $00000002;
  30374. end;
  30375. procedure TUART2A_U2AMODE.setPDSEL0(thebits : TBits_1); inline;
  30376. begin
  30377. if thebits = 0 then
  30378. pTDefRegMap(@Self)^.clr := $00000002
  30379. else
  30380. pTDefRegMap(@Self)^.&set := $00000002;
  30381. end;
  30382. function TUART2A_U2AMODE.getPDSEL0 : TBits_1; inline;
  30383. begin
  30384. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30385. end;
  30386. procedure TUART2A_U2AMODE.setPDSEL1; inline;
  30387. begin
  30388. pTDefRegMap(@Self)^.&set := $00000004;
  30389. end;
  30390. procedure TUART2A_U2AMODE.clearPDSEL1; inline;
  30391. begin
  30392. pTDefRegMap(@Self)^.clr := $00000004;
  30393. end;
  30394. procedure TUART2A_U2AMODE.setPDSEL1(thebits : TBits_1); inline;
  30395. begin
  30396. if thebits = 0 then
  30397. pTDefRegMap(@Self)^.clr := $00000004
  30398. else
  30399. pTDefRegMap(@Self)^.&set := $00000004;
  30400. end;
  30401. function TUART2A_U2AMODE.getPDSEL1 : TBits_1; inline;
  30402. begin
  30403. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30404. end;
  30405. procedure TUART2A_U2AMODE.setUEN0; inline;
  30406. begin
  30407. pTDefRegMap(@Self)^.&set := $00000100;
  30408. end;
  30409. procedure TUART2A_U2AMODE.clearUEN0; inline;
  30410. begin
  30411. pTDefRegMap(@Self)^.clr := $00000100;
  30412. end;
  30413. procedure TUART2A_U2AMODE.setUEN0(thebits : TBits_1); inline;
  30414. begin
  30415. if thebits = 0 then
  30416. pTDefRegMap(@Self)^.clr := $00000100
  30417. else
  30418. pTDefRegMap(@Self)^.&set := $00000100;
  30419. end;
  30420. function TUART2A_U2AMODE.getUEN0 : TBits_1; inline;
  30421. begin
  30422. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30423. end;
  30424. procedure TUART2A_U2AMODE.setUEN1; inline;
  30425. begin
  30426. pTDefRegMap(@Self)^.&set := $00000200;
  30427. end;
  30428. procedure TUART2A_U2AMODE.clearUEN1; inline;
  30429. begin
  30430. pTDefRegMap(@Self)^.clr := $00000200;
  30431. end;
  30432. procedure TUART2A_U2AMODE.setUEN1(thebits : TBits_1); inline;
  30433. begin
  30434. if thebits = 0 then
  30435. pTDefRegMap(@Self)^.clr := $00000200
  30436. else
  30437. pTDefRegMap(@Self)^.&set := $00000200;
  30438. end;
  30439. function TUART2A_U2AMODE.getUEN1 : TBits_1; inline;
  30440. begin
  30441. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30442. end;
  30443. procedure TUART2A_U2AMODE.setUSIDL; inline;
  30444. begin
  30445. pTDefRegMap(@Self)^.&set := $00002000;
  30446. end;
  30447. procedure TUART2A_U2AMODE.clearUSIDL; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.clr := $00002000;
  30450. end;
  30451. procedure TUART2A_U2AMODE.setUSIDL(thebits : TBits_1); inline;
  30452. begin
  30453. if thebits = 0 then
  30454. pTDefRegMap(@Self)^.clr := $00002000
  30455. else
  30456. pTDefRegMap(@Self)^.&set := $00002000;
  30457. end;
  30458. function TUART2A_U2AMODE.getUSIDL : TBits_1; inline;
  30459. begin
  30460. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30461. end;
  30462. procedure TUART2A_U2AMODE.setUARTEN; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.&set := $00008000;
  30465. end;
  30466. procedure TUART2A_U2AMODE.clearUARTEN; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.clr := $00008000;
  30469. end;
  30470. procedure TUART2A_U2AMODE.setUARTEN(thebits : TBits_1); inline;
  30471. begin
  30472. if thebits = 0 then
  30473. pTDefRegMap(@Self)^.clr := $00008000
  30474. else
  30475. pTDefRegMap(@Self)^.&set := $00008000;
  30476. end;
  30477. function TUART2A_U2AMODE.getUARTEN : TBits_1; inline;
  30478. begin
  30479. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30480. end;
  30481. procedure TUART2A_U2AMODE.setw(thebits : TBits_32); inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.val := thebits;
  30484. end;
  30485. function TUART2A_U2AMODE.getw : TBits_32; inline;
  30486. begin
  30487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30488. end;
  30489. procedure TUART2A_U3MODE.setSTSEL; inline;
  30490. begin
  30491. pTDefRegMap(@Self)^.&set := $00000001;
  30492. end;
  30493. procedure TUART2A_U3MODE.clearSTSEL; inline;
  30494. begin
  30495. pTDefRegMap(@Self)^.clr := $00000001;
  30496. end;
  30497. procedure TUART2A_U3MODE.setSTSEL(thebits : TBits_1); inline;
  30498. begin
  30499. if thebits = 0 then
  30500. pTDefRegMap(@Self)^.clr := $00000001
  30501. else
  30502. pTDefRegMap(@Self)^.&set := $00000001;
  30503. end;
  30504. function TUART2A_U3MODE.getSTSEL : TBits_1; inline;
  30505. begin
  30506. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30507. end;
  30508. procedure TUART2A_U3MODE.setPDSEL(thebits : TBits_2); inline;
  30509. begin
  30510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30511. end;
  30512. function TUART2A_U3MODE.getPDSEL : TBits_2; inline;
  30513. begin
  30514. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30515. end;
  30516. procedure TUART2A_U3MODE.setBRGH; inline;
  30517. begin
  30518. pTDefRegMap(@Self)^.&set := $00000008;
  30519. end;
  30520. procedure TUART2A_U3MODE.clearBRGH; inline;
  30521. begin
  30522. pTDefRegMap(@Self)^.clr := $00000008;
  30523. end;
  30524. procedure TUART2A_U3MODE.setBRGH(thebits : TBits_1); inline;
  30525. begin
  30526. if thebits = 0 then
  30527. pTDefRegMap(@Self)^.clr := $00000008
  30528. else
  30529. pTDefRegMap(@Self)^.&set := $00000008;
  30530. end;
  30531. function TUART2A_U3MODE.getBRGH : TBits_1; inline;
  30532. begin
  30533. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30534. end;
  30535. procedure TUART2A_U3MODE.setRXINV; inline;
  30536. begin
  30537. pTDefRegMap(@Self)^.&set := $00000010;
  30538. end;
  30539. procedure TUART2A_U3MODE.clearRXINV; inline;
  30540. begin
  30541. pTDefRegMap(@Self)^.clr := $00000010;
  30542. end;
  30543. procedure TUART2A_U3MODE.setRXINV(thebits : TBits_1); inline;
  30544. begin
  30545. if thebits = 0 then
  30546. pTDefRegMap(@Self)^.clr := $00000010
  30547. else
  30548. pTDefRegMap(@Self)^.&set := $00000010;
  30549. end;
  30550. function TUART2A_U3MODE.getRXINV : TBits_1; inline;
  30551. begin
  30552. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30553. end;
  30554. procedure TUART2A_U3MODE.setABAUD; inline;
  30555. begin
  30556. pTDefRegMap(@Self)^.&set := $00000020;
  30557. end;
  30558. procedure TUART2A_U3MODE.clearABAUD; inline;
  30559. begin
  30560. pTDefRegMap(@Self)^.clr := $00000020;
  30561. end;
  30562. procedure TUART2A_U3MODE.setABAUD(thebits : TBits_1); inline;
  30563. begin
  30564. if thebits = 0 then
  30565. pTDefRegMap(@Self)^.clr := $00000020
  30566. else
  30567. pTDefRegMap(@Self)^.&set := $00000020;
  30568. end;
  30569. function TUART2A_U3MODE.getABAUD : TBits_1; inline;
  30570. begin
  30571. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30572. end;
  30573. procedure TUART2A_U3MODE.setLPBACK; inline;
  30574. begin
  30575. pTDefRegMap(@Self)^.&set := $00000040;
  30576. end;
  30577. procedure TUART2A_U3MODE.clearLPBACK; inline;
  30578. begin
  30579. pTDefRegMap(@Self)^.clr := $00000040;
  30580. end;
  30581. procedure TUART2A_U3MODE.setLPBACK(thebits : TBits_1); inline;
  30582. begin
  30583. if thebits = 0 then
  30584. pTDefRegMap(@Self)^.clr := $00000040
  30585. else
  30586. pTDefRegMap(@Self)^.&set := $00000040;
  30587. end;
  30588. function TUART2A_U3MODE.getLPBACK : TBits_1; inline;
  30589. begin
  30590. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30591. end;
  30592. procedure TUART2A_U3MODE.setWAKE; inline;
  30593. begin
  30594. pTDefRegMap(@Self)^.&set := $00000080;
  30595. end;
  30596. procedure TUART2A_U3MODE.clearWAKE; inline;
  30597. begin
  30598. pTDefRegMap(@Self)^.clr := $00000080;
  30599. end;
  30600. procedure TUART2A_U3MODE.setWAKE(thebits : TBits_1); inline;
  30601. begin
  30602. if thebits = 0 then
  30603. pTDefRegMap(@Self)^.clr := $00000080
  30604. else
  30605. pTDefRegMap(@Self)^.&set := $00000080;
  30606. end;
  30607. function TUART2A_U3MODE.getWAKE : TBits_1; inline;
  30608. begin
  30609. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30610. end;
  30611. procedure TUART2A_U3MODE.setUEN(thebits : TBits_2); inline;
  30612. begin
  30613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  30614. end;
  30615. function TUART2A_U3MODE.getUEN : TBits_2; inline;
  30616. begin
  30617. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  30618. end;
  30619. procedure TUART2A_U3MODE.setRTSMD; inline;
  30620. begin
  30621. pTDefRegMap(@Self)^.&set := $00000800;
  30622. end;
  30623. procedure TUART2A_U3MODE.clearRTSMD; inline;
  30624. begin
  30625. pTDefRegMap(@Self)^.clr := $00000800;
  30626. end;
  30627. procedure TUART2A_U3MODE.setRTSMD(thebits : TBits_1); inline;
  30628. begin
  30629. if thebits = 0 then
  30630. pTDefRegMap(@Self)^.clr := $00000800
  30631. else
  30632. pTDefRegMap(@Self)^.&set := $00000800;
  30633. end;
  30634. function TUART2A_U3MODE.getRTSMD : TBits_1; inline;
  30635. begin
  30636. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30637. end;
  30638. procedure TUART2A_U3MODE.setIREN; inline;
  30639. begin
  30640. pTDefRegMap(@Self)^.&set := $00001000;
  30641. end;
  30642. procedure TUART2A_U3MODE.clearIREN; inline;
  30643. begin
  30644. pTDefRegMap(@Self)^.clr := $00001000;
  30645. end;
  30646. procedure TUART2A_U3MODE.setIREN(thebits : TBits_1); inline;
  30647. begin
  30648. if thebits = 0 then
  30649. pTDefRegMap(@Self)^.clr := $00001000
  30650. else
  30651. pTDefRegMap(@Self)^.&set := $00001000;
  30652. end;
  30653. function TUART2A_U3MODE.getIREN : TBits_1; inline;
  30654. begin
  30655. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30656. end;
  30657. procedure TUART2A_U3MODE.setSIDL; inline;
  30658. begin
  30659. pTDefRegMap(@Self)^.&set := $00002000;
  30660. end;
  30661. procedure TUART2A_U3MODE.clearSIDL; inline;
  30662. begin
  30663. pTDefRegMap(@Self)^.clr := $00002000;
  30664. end;
  30665. procedure TUART2A_U3MODE.setSIDL(thebits : TBits_1); inline;
  30666. begin
  30667. if thebits = 0 then
  30668. pTDefRegMap(@Self)^.clr := $00002000
  30669. else
  30670. pTDefRegMap(@Self)^.&set := $00002000;
  30671. end;
  30672. function TUART2A_U3MODE.getSIDL : TBits_1; inline;
  30673. begin
  30674. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30675. end;
  30676. procedure TUART2A_U3MODE.setON; inline;
  30677. begin
  30678. pTDefRegMap(@Self)^.&set := $00008000;
  30679. end;
  30680. procedure TUART2A_U3MODE.clearON; inline;
  30681. begin
  30682. pTDefRegMap(@Self)^.clr := $00008000;
  30683. end;
  30684. procedure TUART2A_U3MODE.setON(thebits : TBits_1); inline;
  30685. begin
  30686. if thebits = 0 then
  30687. pTDefRegMap(@Self)^.clr := $00008000
  30688. else
  30689. pTDefRegMap(@Self)^.&set := $00008000;
  30690. end;
  30691. function TUART2A_U3MODE.getON : TBits_1; inline;
  30692. begin
  30693. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30694. end;
  30695. procedure TUART2A_U3MODE.setPDSEL0; inline;
  30696. begin
  30697. pTDefRegMap(@Self)^.&set := $00000002;
  30698. end;
  30699. procedure TUART2A_U3MODE.clearPDSEL0; inline;
  30700. begin
  30701. pTDefRegMap(@Self)^.clr := $00000002;
  30702. end;
  30703. procedure TUART2A_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  30704. begin
  30705. if thebits = 0 then
  30706. pTDefRegMap(@Self)^.clr := $00000002
  30707. else
  30708. pTDefRegMap(@Self)^.&set := $00000002;
  30709. end;
  30710. function TUART2A_U3MODE.getPDSEL0 : TBits_1; inline;
  30711. begin
  30712. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30713. end;
  30714. procedure TUART2A_U3MODE.setPDSEL1; inline;
  30715. begin
  30716. pTDefRegMap(@Self)^.&set := $00000004;
  30717. end;
  30718. procedure TUART2A_U3MODE.clearPDSEL1; inline;
  30719. begin
  30720. pTDefRegMap(@Self)^.clr := $00000004;
  30721. end;
  30722. procedure TUART2A_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  30723. begin
  30724. if thebits = 0 then
  30725. pTDefRegMap(@Self)^.clr := $00000004
  30726. else
  30727. pTDefRegMap(@Self)^.&set := $00000004;
  30728. end;
  30729. function TUART2A_U3MODE.getPDSEL1 : TBits_1; inline;
  30730. begin
  30731. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30732. end;
  30733. procedure TUART2A_U3MODE.setUEN0; inline;
  30734. begin
  30735. pTDefRegMap(@Self)^.&set := $00000100;
  30736. end;
  30737. procedure TUART2A_U3MODE.clearUEN0; inline;
  30738. begin
  30739. pTDefRegMap(@Self)^.clr := $00000100;
  30740. end;
  30741. procedure TUART2A_U3MODE.setUEN0(thebits : TBits_1); inline;
  30742. begin
  30743. if thebits = 0 then
  30744. pTDefRegMap(@Self)^.clr := $00000100
  30745. else
  30746. pTDefRegMap(@Self)^.&set := $00000100;
  30747. end;
  30748. function TUART2A_U3MODE.getUEN0 : TBits_1; inline;
  30749. begin
  30750. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30751. end;
  30752. procedure TUART2A_U3MODE.setUEN1; inline;
  30753. begin
  30754. pTDefRegMap(@Self)^.&set := $00000200;
  30755. end;
  30756. procedure TUART2A_U3MODE.clearUEN1; inline;
  30757. begin
  30758. pTDefRegMap(@Self)^.clr := $00000200;
  30759. end;
  30760. procedure TUART2A_U3MODE.setUEN1(thebits : TBits_1); inline;
  30761. begin
  30762. if thebits = 0 then
  30763. pTDefRegMap(@Self)^.clr := $00000200
  30764. else
  30765. pTDefRegMap(@Self)^.&set := $00000200;
  30766. end;
  30767. function TUART2A_U3MODE.getUEN1 : TBits_1; inline;
  30768. begin
  30769. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30770. end;
  30771. procedure TUART2A_U3MODE.setUSIDL; inline;
  30772. begin
  30773. pTDefRegMap(@Self)^.&set := $00002000;
  30774. end;
  30775. procedure TUART2A_U3MODE.clearUSIDL; inline;
  30776. begin
  30777. pTDefRegMap(@Self)^.clr := $00002000;
  30778. end;
  30779. procedure TUART2A_U3MODE.setUSIDL(thebits : TBits_1); inline;
  30780. begin
  30781. if thebits = 0 then
  30782. pTDefRegMap(@Self)^.clr := $00002000
  30783. else
  30784. pTDefRegMap(@Self)^.&set := $00002000;
  30785. end;
  30786. function TUART2A_U3MODE.getUSIDL : TBits_1; inline;
  30787. begin
  30788. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30789. end;
  30790. procedure TUART2A_U3MODE.setUARTEN; inline;
  30791. begin
  30792. pTDefRegMap(@Self)^.&set := $00008000;
  30793. end;
  30794. procedure TUART2A_U3MODE.clearUARTEN; inline;
  30795. begin
  30796. pTDefRegMap(@Self)^.clr := $00008000;
  30797. end;
  30798. procedure TUART2A_U3MODE.setUARTEN(thebits : TBits_1); inline;
  30799. begin
  30800. if thebits = 0 then
  30801. pTDefRegMap(@Self)^.clr := $00008000
  30802. else
  30803. pTDefRegMap(@Self)^.&set := $00008000;
  30804. end;
  30805. function TUART2A_U3MODE.getUARTEN : TBits_1; inline;
  30806. begin
  30807. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30808. end;
  30809. procedure TUART2A_U3MODE.setw(thebits : TBits_32); inline;
  30810. begin
  30811. pTDefRegMap(@Self)^.val := thebits;
  30812. end;
  30813. function TUART2A_U3MODE.getw : TBits_32; inline;
  30814. begin
  30815. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30816. end;
  30817. procedure TUART2A_U2ASTA.setURXDA; inline;
  30818. begin
  30819. pTDefRegMap(@Self)^.&set := $00000001;
  30820. end;
  30821. procedure TUART2A_U2ASTA.clearURXDA; inline;
  30822. begin
  30823. pTDefRegMap(@Self)^.clr := $00000001;
  30824. end;
  30825. procedure TUART2A_U2ASTA.setURXDA(thebits : TBits_1); inline;
  30826. begin
  30827. if thebits = 0 then
  30828. pTDefRegMap(@Self)^.clr := $00000001
  30829. else
  30830. pTDefRegMap(@Self)^.&set := $00000001;
  30831. end;
  30832. function TUART2A_U2ASTA.getURXDA : TBits_1; inline;
  30833. begin
  30834. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30835. end;
  30836. procedure TUART2A_U2ASTA.setOERR; inline;
  30837. begin
  30838. pTDefRegMap(@Self)^.&set := $00000002;
  30839. end;
  30840. procedure TUART2A_U2ASTA.clearOERR; inline;
  30841. begin
  30842. pTDefRegMap(@Self)^.clr := $00000002;
  30843. end;
  30844. procedure TUART2A_U2ASTA.setOERR(thebits : TBits_1); inline;
  30845. begin
  30846. if thebits = 0 then
  30847. pTDefRegMap(@Self)^.clr := $00000002
  30848. else
  30849. pTDefRegMap(@Self)^.&set := $00000002;
  30850. end;
  30851. function TUART2A_U2ASTA.getOERR : TBits_1; inline;
  30852. begin
  30853. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30854. end;
  30855. procedure TUART2A_U2ASTA.setFERR; inline;
  30856. begin
  30857. pTDefRegMap(@Self)^.&set := $00000004;
  30858. end;
  30859. procedure TUART2A_U2ASTA.clearFERR; inline;
  30860. begin
  30861. pTDefRegMap(@Self)^.clr := $00000004;
  30862. end;
  30863. procedure TUART2A_U2ASTA.setFERR(thebits : TBits_1); inline;
  30864. begin
  30865. if thebits = 0 then
  30866. pTDefRegMap(@Self)^.clr := $00000004
  30867. else
  30868. pTDefRegMap(@Self)^.&set := $00000004;
  30869. end;
  30870. function TUART2A_U2ASTA.getFERR : TBits_1; inline;
  30871. begin
  30872. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30873. end;
  30874. procedure TUART2A_U2ASTA.setPERR; inline;
  30875. begin
  30876. pTDefRegMap(@Self)^.&set := $00000008;
  30877. end;
  30878. procedure TUART2A_U2ASTA.clearPERR; inline;
  30879. begin
  30880. pTDefRegMap(@Self)^.clr := $00000008;
  30881. end;
  30882. procedure TUART2A_U2ASTA.setPERR(thebits : TBits_1); inline;
  30883. begin
  30884. if thebits = 0 then
  30885. pTDefRegMap(@Self)^.clr := $00000008
  30886. else
  30887. pTDefRegMap(@Self)^.&set := $00000008;
  30888. end;
  30889. function TUART2A_U2ASTA.getPERR : TBits_1; inline;
  30890. begin
  30891. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30892. end;
  30893. procedure TUART2A_U2ASTA.setRIDLE; inline;
  30894. begin
  30895. pTDefRegMap(@Self)^.&set := $00000010;
  30896. end;
  30897. procedure TUART2A_U2ASTA.clearRIDLE; inline;
  30898. begin
  30899. pTDefRegMap(@Self)^.clr := $00000010;
  30900. end;
  30901. procedure TUART2A_U2ASTA.setRIDLE(thebits : TBits_1); inline;
  30902. begin
  30903. if thebits = 0 then
  30904. pTDefRegMap(@Self)^.clr := $00000010
  30905. else
  30906. pTDefRegMap(@Self)^.&set := $00000010;
  30907. end;
  30908. function TUART2A_U2ASTA.getRIDLE : TBits_1; inline;
  30909. begin
  30910. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30911. end;
  30912. procedure TUART2A_U2ASTA.setADDEN; inline;
  30913. begin
  30914. pTDefRegMap(@Self)^.&set := $00000020;
  30915. end;
  30916. procedure TUART2A_U2ASTA.clearADDEN; inline;
  30917. begin
  30918. pTDefRegMap(@Self)^.clr := $00000020;
  30919. end;
  30920. procedure TUART2A_U2ASTA.setADDEN(thebits : TBits_1); inline;
  30921. begin
  30922. if thebits = 0 then
  30923. pTDefRegMap(@Self)^.clr := $00000020
  30924. else
  30925. pTDefRegMap(@Self)^.&set := $00000020;
  30926. end;
  30927. function TUART2A_U2ASTA.getADDEN : TBits_1; inline;
  30928. begin
  30929. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30930. end;
  30931. procedure TUART2A_U2ASTA.setURXISEL(thebits : TBits_2); inline;
  30932. begin
  30933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  30934. end;
  30935. function TUART2A_U2ASTA.getURXISEL : TBits_2; inline;
  30936. begin
  30937. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  30938. end;
  30939. procedure TUART2A_U2ASTA.setTRMT; inline;
  30940. begin
  30941. pTDefRegMap(@Self)^.&set := $00000100;
  30942. end;
  30943. procedure TUART2A_U2ASTA.clearTRMT; inline;
  30944. begin
  30945. pTDefRegMap(@Self)^.clr := $00000100;
  30946. end;
  30947. procedure TUART2A_U2ASTA.setTRMT(thebits : TBits_1); inline;
  30948. begin
  30949. if thebits = 0 then
  30950. pTDefRegMap(@Self)^.clr := $00000100
  30951. else
  30952. pTDefRegMap(@Self)^.&set := $00000100;
  30953. end;
  30954. function TUART2A_U2ASTA.getTRMT : TBits_1; inline;
  30955. begin
  30956. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30957. end;
  30958. procedure TUART2A_U2ASTA.setUTXBF; inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.&set := $00000200;
  30961. end;
  30962. procedure TUART2A_U2ASTA.clearUTXBF; inline;
  30963. begin
  30964. pTDefRegMap(@Self)^.clr := $00000200;
  30965. end;
  30966. procedure TUART2A_U2ASTA.setUTXBF(thebits : TBits_1); inline;
  30967. begin
  30968. if thebits = 0 then
  30969. pTDefRegMap(@Self)^.clr := $00000200
  30970. else
  30971. pTDefRegMap(@Self)^.&set := $00000200;
  30972. end;
  30973. function TUART2A_U2ASTA.getUTXBF : TBits_1; inline;
  30974. begin
  30975. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30976. end;
  30977. procedure TUART2A_U2ASTA.setUTXEN; inline;
  30978. begin
  30979. pTDefRegMap(@Self)^.&set := $00000400;
  30980. end;
  30981. procedure TUART2A_U2ASTA.clearUTXEN; inline;
  30982. begin
  30983. pTDefRegMap(@Self)^.clr := $00000400;
  30984. end;
  30985. procedure TUART2A_U2ASTA.setUTXEN(thebits : TBits_1); inline;
  30986. begin
  30987. if thebits = 0 then
  30988. pTDefRegMap(@Self)^.clr := $00000400
  30989. else
  30990. pTDefRegMap(@Self)^.&set := $00000400;
  30991. end;
  30992. function TUART2A_U2ASTA.getUTXEN : TBits_1; inline;
  30993. begin
  30994. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30995. end;
  30996. procedure TUART2A_U2ASTA.setUTXBRK; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.&set := $00000800;
  30999. end;
  31000. procedure TUART2A_U2ASTA.clearUTXBRK; inline;
  31001. begin
  31002. pTDefRegMap(@Self)^.clr := $00000800;
  31003. end;
  31004. procedure TUART2A_U2ASTA.setUTXBRK(thebits : TBits_1); inline;
  31005. begin
  31006. if thebits = 0 then
  31007. pTDefRegMap(@Self)^.clr := $00000800
  31008. else
  31009. pTDefRegMap(@Self)^.&set := $00000800;
  31010. end;
  31011. function TUART2A_U2ASTA.getUTXBRK : TBits_1; inline;
  31012. begin
  31013. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31014. end;
  31015. procedure TUART2A_U2ASTA.setURXEN; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.&set := $00001000;
  31018. end;
  31019. procedure TUART2A_U2ASTA.clearURXEN; inline;
  31020. begin
  31021. pTDefRegMap(@Self)^.clr := $00001000;
  31022. end;
  31023. procedure TUART2A_U2ASTA.setURXEN(thebits : TBits_1); inline;
  31024. begin
  31025. if thebits = 0 then
  31026. pTDefRegMap(@Self)^.clr := $00001000
  31027. else
  31028. pTDefRegMap(@Self)^.&set := $00001000;
  31029. end;
  31030. function TUART2A_U2ASTA.getURXEN : TBits_1; inline;
  31031. begin
  31032. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31033. end;
  31034. procedure TUART2A_U2ASTA.setUTXINV; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.&set := $00002000;
  31037. end;
  31038. procedure TUART2A_U2ASTA.clearUTXINV; inline;
  31039. begin
  31040. pTDefRegMap(@Self)^.clr := $00002000;
  31041. end;
  31042. procedure TUART2A_U2ASTA.setUTXINV(thebits : TBits_1); inline;
  31043. begin
  31044. if thebits = 0 then
  31045. pTDefRegMap(@Self)^.clr := $00002000
  31046. else
  31047. pTDefRegMap(@Self)^.&set := $00002000;
  31048. end;
  31049. function TUART2A_U2ASTA.getUTXINV : TBits_1; inline;
  31050. begin
  31051. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31052. end;
  31053. procedure TUART2A_U2ASTA.setUTXISEL(thebits : TBits_2); inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31056. end;
  31057. function TUART2A_U2ASTA.getUTXISEL : TBits_2; inline;
  31058. begin
  31059. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31060. end;
  31061. procedure TUART2A_U2ASTA.setADDR(thebits : TBits_8); inline;
  31062. begin
  31063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31064. end;
  31065. function TUART2A_U2ASTA.getADDR : TBits_8; inline;
  31066. begin
  31067. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31068. end;
  31069. procedure TUART2A_U2ASTA.setADM_EN; inline;
  31070. begin
  31071. pTDefRegMap(@Self)^.&set := $01000000;
  31072. end;
  31073. procedure TUART2A_U2ASTA.clearADM_EN; inline;
  31074. begin
  31075. pTDefRegMap(@Self)^.clr := $01000000;
  31076. end;
  31077. procedure TUART2A_U2ASTA.setADM_EN(thebits : TBits_1); inline;
  31078. begin
  31079. if thebits = 0 then
  31080. pTDefRegMap(@Self)^.clr := $01000000
  31081. else
  31082. pTDefRegMap(@Self)^.&set := $01000000;
  31083. end;
  31084. function TUART2A_U2ASTA.getADM_EN : TBits_1; inline;
  31085. begin
  31086. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31087. end;
  31088. procedure TUART2A_U2ASTA.setURXISEL0; inline;
  31089. begin
  31090. pTDefRegMap(@Self)^.&set := $00000040;
  31091. end;
  31092. procedure TUART2A_U2ASTA.clearURXISEL0; inline;
  31093. begin
  31094. pTDefRegMap(@Self)^.clr := $00000040;
  31095. end;
  31096. procedure TUART2A_U2ASTA.setURXISEL0(thebits : TBits_1); inline;
  31097. begin
  31098. if thebits = 0 then
  31099. pTDefRegMap(@Self)^.clr := $00000040
  31100. else
  31101. pTDefRegMap(@Self)^.&set := $00000040;
  31102. end;
  31103. function TUART2A_U2ASTA.getURXISEL0 : TBits_1; inline;
  31104. begin
  31105. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31106. end;
  31107. procedure TUART2A_U2ASTA.setURXISEL1; inline;
  31108. begin
  31109. pTDefRegMap(@Self)^.&set := $00000080;
  31110. end;
  31111. procedure TUART2A_U2ASTA.clearURXISEL1; inline;
  31112. begin
  31113. pTDefRegMap(@Self)^.clr := $00000080;
  31114. end;
  31115. procedure TUART2A_U2ASTA.setURXISEL1(thebits : TBits_1); inline;
  31116. begin
  31117. if thebits = 0 then
  31118. pTDefRegMap(@Self)^.clr := $00000080
  31119. else
  31120. pTDefRegMap(@Self)^.&set := $00000080;
  31121. end;
  31122. function TUART2A_U2ASTA.getURXISEL1 : TBits_1; inline;
  31123. begin
  31124. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31125. end;
  31126. procedure TUART2A_U2ASTA.setUTXISEL0; inline;
  31127. begin
  31128. pTDefRegMap(@Self)^.&set := $00004000;
  31129. end;
  31130. procedure TUART2A_U2ASTA.clearUTXISEL0; inline;
  31131. begin
  31132. pTDefRegMap(@Self)^.clr := $00004000;
  31133. end;
  31134. procedure TUART2A_U2ASTA.setUTXISEL0(thebits : TBits_1); inline;
  31135. begin
  31136. if thebits = 0 then
  31137. pTDefRegMap(@Self)^.clr := $00004000
  31138. else
  31139. pTDefRegMap(@Self)^.&set := $00004000;
  31140. end;
  31141. function TUART2A_U2ASTA.getUTXISEL0 : TBits_1; inline;
  31142. begin
  31143. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31144. end;
  31145. procedure TUART2A_U2ASTA.setUTXISEL1; inline;
  31146. begin
  31147. pTDefRegMap(@Self)^.&set := $00008000;
  31148. end;
  31149. procedure TUART2A_U2ASTA.clearUTXISEL1; inline;
  31150. begin
  31151. pTDefRegMap(@Self)^.clr := $00008000;
  31152. end;
  31153. procedure TUART2A_U2ASTA.setUTXISEL1(thebits : TBits_1); inline;
  31154. begin
  31155. if thebits = 0 then
  31156. pTDefRegMap(@Self)^.clr := $00008000
  31157. else
  31158. pTDefRegMap(@Self)^.&set := $00008000;
  31159. end;
  31160. function TUART2A_U2ASTA.getUTXISEL1 : TBits_1; inline;
  31161. begin
  31162. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31163. end;
  31164. procedure TUART2A_U2ASTA.setUTXSEL(thebits : TBits_2); inline;
  31165. begin
  31166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31167. end;
  31168. function TUART2A_U2ASTA.getUTXSEL : TBits_2; inline;
  31169. begin
  31170. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31171. end;
  31172. procedure TUART2A_U2ASTA.setw(thebits : TBits_32); inline;
  31173. begin
  31174. pTDefRegMap(@Self)^.val := thebits;
  31175. end;
  31176. function TUART2A_U2ASTA.getw : TBits_32; inline;
  31177. begin
  31178. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31179. end;
  31180. procedure TUART2A_U3STA.setURXDA; inline;
  31181. begin
  31182. pTDefRegMap(@Self)^.&set := $00000001;
  31183. end;
  31184. procedure TUART2A_U3STA.clearURXDA; inline;
  31185. begin
  31186. pTDefRegMap(@Self)^.clr := $00000001;
  31187. end;
  31188. procedure TUART2A_U3STA.setURXDA(thebits : TBits_1); inline;
  31189. begin
  31190. if thebits = 0 then
  31191. pTDefRegMap(@Self)^.clr := $00000001
  31192. else
  31193. pTDefRegMap(@Self)^.&set := $00000001;
  31194. end;
  31195. function TUART2A_U3STA.getURXDA : TBits_1; inline;
  31196. begin
  31197. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31198. end;
  31199. procedure TUART2A_U3STA.setOERR; inline;
  31200. begin
  31201. pTDefRegMap(@Self)^.&set := $00000002;
  31202. end;
  31203. procedure TUART2A_U3STA.clearOERR; inline;
  31204. begin
  31205. pTDefRegMap(@Self)^.clr := $00000002;
  31206. end;
  31207. procedure TUART2A_U3STA.setOERR(thebits : TBits_1); inline;
  31208. begin
  31209. if thebits = 0 then
  31210. pTDefRegMap(@Self)^.clr := $00000002
  31211. else
  31212. pTDefRegMap(@Self)^.&set := $00000002;
  31213. end;
  31214. function TUART2A_U3STA.getOERR : TBits_1; inline;
  31215. begin
  31216. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31217. end;
  31218. procedure TUART2A_U3STA.setFERR; inline;
  31219. begin
  31220. pTDefRegMap(@Self)^.&set := $00000004;
  31221. end;
  31222. procedure TUART2A_U3STA.clearFERR; inline;
  31223. begin
  31224. pTDefRegMap(@Self)^.clr := $00000004;
  31225. end;
  31226. procedure TUART2A_U3STA.setFERR(thebits : TBits_1); inline;
  31227. begin
  31228. if thebits = 0 then
  31229. pTDefRegMap(@Self)^.clr := $00000004
  31230. else
  31231. pTDefRegMap(@Self)^.&set := $00000004;
  31232. end;
  31233. function TUART2A_U3STA.getFERR : TBits_1; inline;
  31234. begin
  31235. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31236. end;
  31237. procedure TUART2A_U3STA.setPERR; inline;
  31238. begin
  31239. pTDefRegMap(@Self)^.&set := $00000008;
  31240. end;
  31241. procedure TUART2A_U3STA.clearPERR; inline;
  31242. begin
  31243. pTDefRegMap(@Self)^.clr := $00000008;
  31244. end;
  31245. procedure TUART2A_U3STA.setPERR(thebits : TBits_1); inline;
  31246. begin
  31247. if thebits = 0 then
  31248. pTDefRegMap(@Self)^.clr := $00000008
  31249. else
  31250. pTDefRegMap(@Self)^.&set := $00000008;
  31251. end;
  31252. function TUART2A_U3STA.getPERR : TBits_1; inline;
  31253. begin
  31254. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31255. end;
  31256. procedure TUART2A_U3STA.setRIDLE; inline;
  31257. begin
  31258. pTDefRegMap(@Self)^.&set := $00000010;
  31259. end;
  31260. procedure TUART2A_U3STA.clearRIDLE; inline;
  31261. begin
  31262. pTDefRegMap(@Self)^.clr := $00000010;
  31263. end;
  31264. procedure TUART2A_U3STA.setRIDLE(thebits : TBits_1); inline;
  31265. begin
  31266. if thebits = 0 then
  31267. pTDefRegMap(@Self)^.clr := $00000010
  31268. else
  31269. pTDefRegMap(@Self)^.&set := $00000010;
  31270. end;
  31271. function TUART2A_U3STA.getRIDLE : TBits_1; inline;
  31272. begin
  31273. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31274. end;
  31275. procedure TUART2A_U3STA.setADDEN; inline;
  31276. begin
  31277. pTDefRegMap(@Self)^.&set := $00000020;
  31278. end;
  31279. procedure TUART2A_U3STA.clearADDEN; inline;
  31280. begin
  31281. pTDefRegMap(@Self)^.clr := $00000020;
  31282. end;
  31283. procedure TUART2A_U3STA.setADDEN(thebits : TBits_1); inline;
  31284. begin
  31285. if thebits = 0 then
  31286. pTDefRegMap(@Self)^.clr := $00000020
  31287. else
  31288. pTDefRegMap(@Self)^.&set := $00000020;
  31289. end;
  31290. function TUART2A_U3STA.getADDEN : TBits_1; inline;
  31291. begin
  31292. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31293. end;
  31294. procedure TUART2A_U3STA.setURXISEL(thebits : TBits_2); inline;
  31295. begin
  31296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31297. end;
  31298. function TUART2A_U3STA.getURXISEL : TBits_2; inline;
  31299. begin
  31300. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31301. end;
  31302. procedure TUART2A_U3STA.setTRMT; inline;
  31303. begin
  31304. pTDefRegMap(@Self)^.&set := $00000100;
  31305. end;
  31306. procedure TUART2A_U3STA.clearTRMT; inline;
  31307. begin
  31308. pTDefRegMap(@Self)^.clr := $00000100;
  31309. end;
  31310. procedure TUART2A_U3STA.setTRMT(thebits : TBits_1); inline;
  31311. begin
  31312. if thebits = 0 then
  31313. pTDefRegMap(@Self)^.clr := $00000100
  31314. else
  31315. pTDefRegMap(@Self)^.&set := $00000100;
  31316. end;
  31317. function TUART2A_U3STA.getTRMT : TBits_1; inline;
  31318. begin
  31319. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31320. end;
  31321. procedure TUART2A_U3STA.setUTXBF; inline;
  31322. begin
  31323. pTDefRegMap(@Self)^.&set := $00000200;
  31324. end;
  31325. procedure TUART2A_U3STA.clearUTXBF; inline;
  31326. begin
  31327. pTDefRegMap(@Self)^.clr := $00000200;
  31328. end;
  31329. procedure TUART2A_U3STA.setUTXBF(thebits : TBits_1); inline;
  31330. begin
  31331. if thebits = 0 then
  31332. pTDefRegMap(@Self)^.clr := $00000200
  31333. else
  31334. pTDefRegMap(@Self)^.&set := $00000200;
  31335. end;
  31336. function TUART2A_U3STA.getUTXBF : TBits_1; inline;
  31337. begin
  31338. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31339. end;
  31340. procedure TUART2A_U3STA.setUTXEN; inline;
  31341. begin
  31342. pTDefRegMap(@Self)^.&set := $00000400;
  31343. end;
  31344. procedure TUART2A_U3STA.clearUTXEN; inline;
  31345. begin
  31346. pTDefRegMap(@Self)^.clr := $00000400;
  31347. end;
  31348. procedure TUART2A_U3STA.setUTXEN(thebits : TBits_1); inline;
  31349. begin
  31350. if thebits = 0 then
  31351. pTDefRegMap(@Self)^.clr := $00000400
  31352. else
  31353. pTDefRegMap(@Self)^.&set := $00000400;
  31354. end;
  31355. function TUART2A_U3STA.getUTXEN : TBits_1; inline;
  31356. begin
  31357. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31358. end;
  31359. procedure TUART2A_U3STA.setUTXBRK; inline;
  31360. begin
  31361. pTDefRegMap(@Self)^.&set := $00000800;
  31362. end;
  31363. procedure TUART2A_U3STA.clearUTXBRK; inline;
  31364. begin
  31365. pTDefRegMap(@Self)^.clr := $00000800;
  31366. end;
  31367. procedure TUART2A_U3STA.setUTXBRK(thebits : TBits_1); inline;
  31368. begin
  31369. if thebits = 0 then
  31370. pTDefRegMap(@Self)^.clr := $00000800
  31371. else
  31372. pTDefRegMap(@Self)^.&set := $00000800;
  31373. end;
  31374. function TUART2A_U3STA.getUTXBRK : TBits_1; inline;
  31375. begin
  31376. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31377. end;
  31378. procedure TUART2A_U3STA.setURXEN; inline;
  31379. begin
  31380. pTDefRegMap(@Self)^.&set := $00001000;
  31381. end;
  31382. procedure TUART2A_U3STA.clearURXEN; inline;
  31383. begin
  31384. pTDefRegMap(@Self)^.clr := $00001000;
  31385. end;
  31386. procedure TUART2A_U3STA.setURXEN(thebits : TBits_1); inline;
  31387. begin
  31388. if thebits = 0 then
  31389. pTDefRegMap(@Self)^.clr := $00001000
  31390. else
  31391. pTDefRegMap(@Self)^.&set := $00001000;
  31392. end;
  31393. function TUART2A_U3STA.getURXEN : TBits_1; inline;
  31394. begin
  31395. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31396. end;
  31397. procedure TUART2A_U3STA.setUTXINV; inline;
  31398. begin
  31399. pTDefRegMap(@Self)^.&set := $00002000;
  31400. end;
  31401. procedure TUART2A_U3STA.clearUTXINV; inline;
  31402. begin
  31403. pTDefRegMap(@Self)^.clr := $00002000;
  31404. end;
  31405. procedure TUART2A_U3STA.setUTXINV(thebits : TBits_1); inline;
  31406. begin
  31407. if thebits = 0 then
  31408. pTDefRegMap(@Self)^.clr := $00002000
  31409. else
  31410. pTDefRegMap(@Self)^.&set := $00002000;
  31411. end;
  31412. function TUART2A_U3STA.getUTXINV : TBits_1; inline;
  31413. begin
  31414. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31415. end;
  31416. procedure TUART2A_U3STA.setUTXISEL(thebits : TBits_2); inline;
  31417. begin
  31418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31419. end;
  31420. function TUART2A_U3STA.getUTXISEL : TBits_2; inline;
  31421. begin
  31422. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31423. end;
  31424. procedure TUART2A_U3STA.setADDR(thebits : TBits_8); inline;
  31425. begin
  31426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31427. end;
  31428. function TUART2A_U3STA.getADDR : TBits_8; inline;
  31429. begin
  31430. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31431. end;
  31432. procedure TUART2A_U3STA.setADM_EN; inline;
  31433. begin
  31434. pTDefRegMap(@Self)^.&set := $01000000;
  31435. end;
  31436. procedure TUART2A_U3STA.clearADM_EN; inline;
  31437. begin
  31438. pTDefRegMap(@Self)^.clr := $01000000;
  31439. end;
  31440. procedure TUART2A_U3STA.setADM_EN(thebits : TBits_1); inline;
  31441. begin
  31442. if thebits = 0 then
  31443. pTDefRegMap(@Self)^.clr := $01000000
  31444. else
  31445. pTDefRegMap(@Self)^.&set := $01000000;
  31446. end;
  31447. function TUART2A_U3STA.getADM_EN : TBits_1; inline;
  31448. begin
  31449. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31450. end;
  31451. procedure TUART2A_U3STA.setURXISEL0; inline;
  31452. begin
  31453. pTDefRegMap(@Self)^.&set := $00000040;
  31454. end;
  31455. procedure TUART2A_U3STA.clearURXISEL0; inline;
  31456. begin
  31457. pTDefRegMap(@Self)^.clr := $00000040;
  31458. end;
  31459. procedure TUART2A_U3STA.setURXISEL0(thebits : TBits_1); inline;
  31460. begin
  31461. if thebits = 0 then
  31462. pTDefRegMap(@Self)^.clr := $00000040
  31463. else
  31464. pTDefRegMap(@Self)^.&set := $00000040;
  31465. end;
  31466. function TUART2A_U3STA.getURXISEL0 : TBits_1; inline;
  31467. begin
  31468. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31469. end;
  31470. procedure TUART2A_U3STA.setURXISEL1; inline;
  31471. begin
  31472. pTDefRegMap(@Self)^.&set := $00000080;
  31473. end;
  31474. procedure TUART2A_U3STA.clearURXISEL1; inline;
  31475. begin
  31476. pTDefRegMap(@Self)^.clr := $00000080;
  31477. end;
  31478. procedure TUART2A_U3STA.setURXISEL1(thebits : TBits_1); inline;
  31479. begin
  31480. if thebits = 0 then
  31481. pTDefRegMap(@Self)^.clr := $00000080
  31482. else
  31483. pTDefRegMap(@Self)^.&set := $00000080;
  31484. end;
  31485. function TUART2A_U3STA.getURXISEL1 : TBits_1; inline;
  31486. begin
  31487. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31488. end;
  31489. procedure TUART2A_U3STA.setUTXISEL0; inline;
  31490. begin
  31491. pTDefRegMap(@Self)^.&set := $00004000;
  31492. end;
  31493. procedure TUART2A_U3STA.clearUTXISEL0; inline;
  31494. begin
  31495. pTDefRegMap(@Self)^.clr := $00004000;
  31496. end;
  31497. procedure TUART2A_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  31498. begin
  31499. if thebits = 0 then
  31500. pTDefRegMap(@Self)^.clr := $00004000
  31501. else
  31502. pTDefRegMap(@Self)^.&set := $00004000;
  31503. end;
  31504. function TUART2A_U3STA.getUTXISEL0 : TBits_1; inline;
  31505. begin
  31506. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31507. end;
  31508. procedure TUART2A_U3STA.setUTXISEL1; inline;
  31509. begin
  31510. pTDefRegMap(@Self)^.&set := $00008000;
  31511. end;
  31512. procedure TUART2A_U3STA.clearUTXISEL1; inline;
  31513. begin
  31514. pTDefRegMap(@Self)^.clr := $00008000;
  31515. end;
  31516. procedure TUART2A_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  31517. begin
  31518. if thebits = 0 then
  31519. pTDefRegMap(@Self)^.clr := $00008000
  31520. else
  31521. pTDefRegMap(@Self)^.&set := $00008000;
  31522. end;
  31523. function TUART2A_U3STA.getUTXISEL1 : TBits_1; inline;
  31524. begin
  31525. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31526. end;
  31527. procedure TUART2A_U3STA.setUTXSEL(thebits : TBits_2); inline;
  31528. begin
  31529. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31530. end;
  31531. function TUART2A_U3STA.getUTXSEL : TBits_2; inline;
  31532. begin
  31533. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31534. end;
  31535. procedure TUART2A_U3STA.setw(thebits : TBits_32); inline;
  31536. begin
  31537. pTDefRegMap(@Self)^.val := thebits;
  31538. end;
  31539. function TUART2A_U3STA.getw : TBits_32; inline;
  31540. begin
  31541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31542. end;
  31543. procedure TUART2B_U2BMODE.setSTSEL; inline;
  31544. begin
  31545. pTDefRegMap(@Self)^.&set := $00000001;
  31546. end;
  31547. procedure TUART2B_U2BMODE.clearSTSEL; inline;
  31548. begin
  31549. pTDefRegMap(@Self)^.clr := $00000001;
  31550. end;
  31551. procedure TUART2B_U2BMODE.setSTSEL(thebits : TBits_1); inline;
  31552. begin
  31553. if thebits = 0 then
  31554. pTDefRegMap(@Self)^.clr := $00000001
  31555. else
  31556. pTDefRegMap(@Self)^.&set := $00000001;
  31557. end;
  31558. function TUART2B_U2BMODE.getSTSEL : TBits_1; inline;
  31559. begin
  31560. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31561. end;
  31562. procedure TUART2B_U2BMODE.setPDSEL(thebits : TBits_2); inline;
  31563. begin
  31564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31565. end;
  31566. function TUART2B_U2BMODE.getPDSEL : TBits_2; inline;
  31567. begin
  31568. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31569. end;
  31570. procedure TUART2B_U2BMODE.setBRGH; inline;
  31571. begin
  31572. pTDefRegMap(@Self)^.&set := $00000008;
  31573. end;
  31574. procedure TUART2B_U2BMODE.clearBRGH; inline;
  31575. begin
  31576. pTDefRegMap(@Self)^.clr := $00000008;
  31577. end;
  31578. procedure TUART2B_U2BMODE.setBRGH(thebits : TBits_1); inline;
  31579. begin
  31580. if thebits = 0 then
  31581. pTDefRegMap(@Self)^.clr := $00000008
  31582. else
  31583. pTDefRegMap(@Self)^.&set := $00000008;
  31584. end;
  31585. function TUART2B_U2BMODE.getBRGH : TBits_1; inline;
  31586. begin
  31587. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31588. end;
  31589. procedure TUART2B_U2BMODE.setRXINV; inline;
  31590. begin
  31591. pTDefRegMap(@Self)^.&set := $00000010;
  31592. end;
  31593. procedure TUART2B_U2BMODE.clearRXINV; inline;
  31594. begin
  31595. pTDefRegMap(@Self)^.clr := $00000010;
  31596. end;
  31597. procedure TUART2B_U2BMODE.setRXINV(thebits : TBits_1); inline;
  31598. begin
  31599. if thebits = 0 then
  31600. pTDefRegMap(@Self)^.clr := $00000010
  31601. else
  31602. pTDefRegMap(@Self)^.&set := $00000010;
  31603. end;
  31604. function TUART2B_U2BMODE.getRXINV : TBits_1; inline;
  31605. begin
  31606. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31607. end;
  31608. procedure TUART2B_U2BMODE.setABAUD; inline;
  31609. begin
  31610. pTDefRegMap(@Self)^.&set := $00000020;
  31611. end;
  31612. procedure TUART2B_U2BMODE.clearABAUD; inline;
  31613. begin
  31614. pTDefRegMap(@Self)^.clr := $00000020;
  31615. end;
  31616. procedure TUART2B_U2BMODE.setABAUD(thebits : TBits_1); inline;
  31617. begin
  31618. if thebits = 0 then
  31619. pTDefRegMap(@Self)^.clr := $00000020
  31620. else
  31621. pTDefRegMap(@Self)^.&set := $00000020;
  31622. end;
  31623. function TUART2B_U2BMODE.getABAUD : TBits_1; inline;
  31624. begin
  31625. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31626. end;
  31627. procedure TUART2B_U2BMODE.setLPBACK; inline;
  31628. begin
  31629. pTDefRegMap(@Self)^.&set := $00000040;
  31630. end;
  31631. procedure TUART2B_U2BMODE.clearLPBACK; inline;
  31632. begin
  31633. pTDefRegMap(@Self)^.clr := $00000040;
  31634. end;
  31635. procedure TUART2B_U2BMODE.setLPBACK(thebits : TBits_1); inline;
  31636. begin
  31637. if thebits = 0 then
  31638. pTDefRegMap(@Self)^.clr := $00000040
  31639. else
  31640. pTDefRegMap(@Self)^.&set := $00000040;
  31641. end;
  31642. function TUART2B_U2BMODE.getLPBACK : TBits_1; inline;
  31643. begin
  31644. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31645. end;
  31646. procedure TUART2B_U2BMODE.setWAKE; inline;
  31647. begin
  31648. pTDefRegMap(@Self)^.&set := $00000080;
  31649. end;
  31650. procedure TUART2B_U2BMODE.clearWAKE; inline;
  31651. begin
  31652. pTDefRegMap(@Self)^.clr := $00000080;
  31653. end;
  31654. procedure TUART2B_U2BMODE.setWAKE(thebits : TBits_1); inline;
  31655. begin
  31656. if thebits = 0 then
  31657. pTDefRegMap(@Self)^.clr := $00000080
  31658. else
  31659. pTDefRegMap(@Self)^.&set := $00000080;
  31660. end;
  31661. function TUART2B_U2BMODE.getWAKE : TBits_1; inline;
  31662. begin
  31663. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31664. end;
  31665. procedure TUART2B_U2BMODE.setIREN; inline;
  31666. begin
  31667. pTDefRegMap(@Self)^.&set := $00001000;
  31668. end;
  31669. procedure TUART2B_U2BMODE.clearIREN; inline;
  31670. begin
  31671. pTDefRegMap(@Self)^.clr := $00001000;
  31672. end;
  31673. procedure TUART2B_U2BMODE.setIREN(thebits : TBits_1); inline;
  31674. begin
  31675. if thebits = 0 then
  31676. pTDefRegMap(@Self)^.clr := $00001000
  31677. else
  31678. pTDefRegMap(@Self)^.&set := $00001000;
  31679. end;
  31680. function TUART2B_U2BMODE.getIREN : TBits_1; inline;
  31681. begin
  31682. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31683. end;
  31684. procedure TUART2B_U2BMODE.setSIDL; inline;
  31685. begin
  31686. pTDefRegMap(@Self)^.&set := $00002000;
  31687. end;
  31688. procedure TUART2B_U2BMODE.clearSIDL; inline;
  31689. begin
  31690. pTDefRegMap(@Self)^.clr := $00002000;
  31691. end;
  31692. procedure TUART2B_U2BMODE.setSIDL(thebits : TBits_1); inline;
  31693. begin
  31694. if thebits = 0 then
  31695. pTDefRegMap(@Self)^.clr := $00002000
  31696. else
  31697. pTDefRegMap(@Self)^.&set := $00002000;
  31698. end;
  31699. function TUART2B_U2BMODE.getSIDL : TBits_1; inline;
  31700. begin
  31701. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31702. end;
  31703. procedure TUART2B_U2BMODE.setON; inline;
  31704. begin
  31705. pTDefRegMap(@Self)^.&set := $00008000;
  31706. end;
  31707. procedure TUART2B_U2BMODE.clearON; inline;
  31708. begin
  31709. pTDefRegMap(@Self)^.clr := $00008000;
  31710. end;
  31711. procedure TUART2B_U2BMODE.setON(thebits : TBits_1); inline;
  31712. begin
  31713. if thebits = 0 then
  31714. pTDefRegMap(@Self)^.clr := $00008000
  31715. else
  31716. pTDefRegMap(@Self)^.&set := $00008000;
  31717. end;
  31718. function TUART2B_U2BMODE.getON : TBits_1; inline;
  31719. begin
  31720. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31721. end;
  31722. procedure TUART2B_U2BMODE.setPDSEL0; inline;
  31723. begin
  31724. pTDefRegMap(@Self)^.&set := $00000002;
  31725. end;
  31726. procedure TUART2B_U2BMODE.clearPDSEL0; inline;
  31727. begin
  31728. pTDefRegMap(@Self)^.clr := $00000002;
  31729. end;
  31730. procedure TUART2B_U2BMODE.setPDSEL0(thebits : TBits_1); inline;
  31731. begin
  31732. if thebits = 0 then
  31733. pTDefRegMap(@Self)^.clr := $00000002
  31734. else
  31735. pTDefRegMap(@Self)^.&set := $00000002;
  31736. end;
  31737. function TUART2B_U2BMODE.getPDSEL0 : TBits_1; inline;
  31738. begin
  31739. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31740. end;
  31741. procedure TUART2B_U2BMODE.setPDSEL1; inline;
  31742. begin
  31743. pTDefRegMap(@Self)^.&set := $00000004;
  31744. end;
  31745. procedure TUART2B_U2BMODE.clearPDSEL1; inline;
  31746. begin
  31747. pTDefRegMap(@Self)^.clr := $00000004;
  31748. end;
  31749. procedure TUART2B_U2BMODE.setPDSEL1(thebits : TBits_1); inline;
  31750. begin
  31751. if thebits = 0 then
  31752. pTDefRegMap(@Self)^.clr := $00000004
  31753. else
  31754. pTDefRegMap(@Self)^.&set := $00000004;
  31755. end;
  31756. function TUART2B_U2BMODE.getPDSEL1 : TBits_1; inline;
  31757. begin
  31758. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31759. end;
  31760. procedure TUART2B_U2BMODE.setUSIDL; inline;
  31761. begin
  31762. pTDefRegMap(@Self)^.&set := $00002000;
  31763. end;
  31764. procedure TUART2B_U2BMODE.clearUSIDL; inline;
  31765. begin
  31766. pTDefRegMap(@Self)^.clr := $00002000;
  31767. end;
  31768. procedure TUART2B_U2BMODE.setUSIDL(thebits : TBits_1); inline;
  31769. begin
  31770. if thebits = 0 then
  31771. pTDefRegMap(@Self)^.clr := $00002000
  31772. else
  31773. pTDefRegMap(@Self)^.&set := $00002000;
  31774. end;
  31775. function TUART2B_U2BMODE.getUSIDL : TBits_1; inline;
  31776. begin
  31777. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31778. end;
  31779. procedure TUART2B_U2BMODE.setUARTEN; inline;
  31780. begin
  31781. pTDefRegMap(@Self)^.&set := $00008000;
  31782. end;
  31783. procedure TUART2B_U2BMODE.clearUARTEN; inline;
  31784. begin
  31785. pTDefRegMap(@Self)^.clr := $00008000;
  31786. end;
  31787. procedure TUART2B_U2BMODE.setUARTEN(thebits : TBits_1); inline;
  31788. begin
  31789. if thebits = 0 then
  31790. pTDefRegMap(@Self)^.clr := $00008000
  31791. else
  31792. pTDefRegMap(@Self)^.&set := $00008000;
  31793. end;
  31794. function TUART2B_U2BMODE.getUARTEN : TBits_1; inline;
  31795. begin
  31796. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31797. end;
  31798. procedure TUART2B_U2BMODE.setw(thebits : TBits_32); inline;
  31799. begin
  31800. pTDefRegMap(@Self)^.val := thebits;
  31801. end;
  31802. function TUART2B_U2BMODE.getw : TBits_32; inline;
  31803. begin
  31804. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31805. end;
  31806. procedure TUART2B_U6MODE.setSTSEL; inline;
  31807. begin
  31808. pTDefRegMap(@Self)^.&set := $00000001;
  31809. end;
  31810. procedure TUART2B_U6MODE.clearSTSEL; inline;
  31811. begin
  31812. pTDefRegMap(@Self)^.clr := $00000001;
  31813. end;
  31814. procedure TUART2B_U6MODE.setSTSEL(thebits : TBits_1); inline;
  31815. begin
  31816. if thebits = 0 then
  31817. pTDefRegMap(@Self)^.clr := $00000001
  31818. else
  31819. pTDefRegMap(@Self)^.&set := $00000001;
  31820. end;
  31821. function TUART2B_U6MODE.getSTSEL : TBits_1; inline;
  31822. begin
  31823. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31824. end;
  31825. procedure TUART2B_U6MODE.setPDSEL(thebits : TBits_2); inline;
  31826. begin
  31827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31828. end;
  31829. function TUART2B_U6MODE.getPDSEL : TBits_2; inline;
  31830. begin
  31831. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31832. end;
  31833. procedure TUART2B_U6MODE.setBRGH; inline;
  31834. begin
  31835. pTDefRegMap(@Self)^.&set := $00000008;
  31836. end;
  31837. procedure TUART2B_U6MODE.clearBRGH; inline;
  31838. begin
  31839. pTDefRegMap(@Self)^.clr := $00000008;
  31840. end;
  31841. procedure TUART2B_U6MODE.setBRGH(thebits : TBits_1); inline;
  31842. begin
  31843. if thebits = 0 then
  31844. pTDefRegMap(@Self)^.clr := $00000008
  31845. else
  31846. pTDefRegMap(@Self)^.&set := $00000008;
  31847. end;
  31848. function TUART2B_U6MODE.getBRGH : TBits_1; inline;
  31849. begin
  31850. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31851. end;
  31852. procedure TUART2B_U6MODE.setRXINV; inline;
  31853. begin
  31854. pTDefRegMap(@Self)^.&set := $00000010;
  31855. end;
  31856. procedure TUART2B_U6MODE.clearRXINV; inline;
  31857. begin
  31858. pTDefRegMap(@Self)^.clr := $00000010;
  31859. end;
  31860. procedure TUART2B_U6MODE.setRXINV(thebits : TBits_1); inline;
  31861. begin
  31862. if thebits = 0 then
  31863. pTDefRegMap(@Self)^.clr := $00000010
  31864. else
  31865. pTDefRegMap(@Self)^.&set := $00000010;
  31866. end;
  31867. function TUART2B_U6MODE.getRXINV : TBits_1; inline;
  31868. begin
  31869. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31870. end;
  31871. procedure TUART2B_U6MODE.setABAUD; inline;
  31872. begin
  31873. pTDefRegMap(@Self)^.&set := $00000020;
  31874. end;
  31875. procedure TUART2B_U6MODE.clearABAUD; inline;
  31876. begin
  31877. pTDefRegMap(@Self)^.clr := $00000020;
  31878. end;
  31879. procedure TUART2B_U6MODE.setABAUD(thebits : TBits_1); inline;
  31880. begin
  31881. if thebits = 0 then
  31882. pTDefRegMap(@Self)^.clr := $00000020
  31883. else
  31884. pTDefRegMap(@Self)^.&set := $00000020;
  31885. end;
  31886. function TUART2B_U6MODE.getABAUD : TBits_1; inline;
  31887. begin
  31888. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31889. end;
  31890. procedure TUART2B_U6MODE.setLPBACK; inline;
  31891. begin
  31892. pTDefRegMap(@Self)^.&set := $00000040;
  31893. end;
  31894. procedure TUART2B_U6MODE.clearLPBACK; inline;
  31895. begin
  31896. pTDefRegMap(@Self)^.clr := $00000040;
  31897. end;
  31898. procedure TUART2B_U6MODE.setLPBACK(thebits : TBits_1); inline;
  31899. begin
  31900. if thebits = 0 then
  31901. pTDefRegMap(@Self)^.clr := $00000040
  31902. else
  31903. pTDefRegMap(@Self)^.&set := $00000040;
  31904. end;
  31905. function TUART2B_U6MODE.getLPBACK : TBits_1; inline;
  31906. begin
  31907. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31908. end;
  31909. procedure TUART2B_U6MODE.setWAKE; inline;
  31910. begin
  31911. pTDefRegMap(@Self)^.&set := $00000080;
  31912. end;
  31913. procedure TUART2B_U6MODE.clearWAKE; inline;
  31914. begin
  31915. pTDefRegMap(@Self)^.clr := $00000080;
  31916. end;
  31917. procedure TUART2B_U6MODE.setWAKE(thebits : TBits_1); inline;
  31918. begin
  31919. if thebits = 0 then
  31920. pTDefRegMap(@Self)^.clr := $00000080
  31921. else
  31922. pTDefRegMap(@Self)^.&set := $00000080;
  31923. end;
  31924. function TUART2B_U6MODE.getWAKE : TBits_1; inline;
  31925. begin
  31926. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31927. end;
  31928. procedure TUART2B_U6MODE.setIREN; inline;
  31929. begin
  31930. pTDefRegMap(@Self)^.&set := $00001000;
  31931. end;
  31932. procedure TUART2B_U6MODE.clearIREN; inline;
  31933. begin
  31934. pTDefRegMap(@Self)^.clr := $00001000;
  31935. end;
  31936. procedure TUART2B_U6MODE.setIREN(thebits : TBits_1); inline;
  31937. begin
  31938. if thebits = 0 then
  31939. pTDefRegMap(@Self)^.clr := $00001000
  31940. else
  31941. pTDefRegMap(@Self)^.&set := $00001000;
  31942. end;
  31943. function TUART2B_U6MODE.getIREN : TBits_1; inline;
  31944. begin
  31945. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31946. end;
  31947. procedure TUART2B_U6MODE.setSIDL; inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.&set := $00002000;
  31950. end;
  31951. procedure TUART2B_U6MODE.clearSIDL; inline;
  31952. begin
  31953. pTDefRegMap(@Self)^.clr := $00002000;
  31954. end;
  31955. procedure TUART2B_U6MODE.setSIDL(thebits : TBits_1); inline;
  31956. begin
  31957. if thebits = 0 then
  31958. pTDefRegMap(@Self)^.clr := $00002000
  31959. else
  31960. pTDefRegMap(@Self)^.&set := $00002000;
  31961. end;
  31962. function TUART2B_U6MODE.getSIDL : TBits_1; inline;
  31963. begin
  31964. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31965. end;
  31966. procedure TUART2B_U6MODE.setON; inline;
  31967. begin
  31968. pTDefRegMap(@Self)^.&set := $00008000;
  31969. end;
  31970. procedure TUART2B_U6MODE.clearON; inline;
  31971. begin
  31972. pTDefRegMap(@Self)^.clr := $00008000;
  31973. end;
  31974. procedure TUART2B_U6MODE.setON(thebits : TBits_1); inline;
  31975. begin
  31976. if thebits = 0 then
  31977. pTDefRegMap(@Self)^.clr := $00008000
  31978. else
  31979. pTDefRegMap(@Self)^.&set := $00008000;
  31980. end;
  31981. function TUART2B_U6MODE.getON : TBits_1; inline;
  31982. begin
  31983. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31984. end;
  31985. procedure TUART2B_U6MODE.setPDSEL0; inline;
  31986. begin
  31987. pTDefRegMap(@Self)^.&set := $00000002;
  31988. end;
  31989. procedure TUART2B_U6MODE.clearPDSEL0; inline;
  31990. begin
  31991. pTDefRegMap(@Self)^.clr := $00000002;
  31992. end;
  31993. procedure TUART2B_U6MODE.setPDSEL0(thebits : TBits_1); inline;
  31994. begin
  31995. if thebits = 0 then
  31996. pTDefRegMap(@Self)^.clr := $00000002
  31997. else
  31998. pTDefRegMap(@Self)^.&set := $00000002;
  31999. end;
  32000. function TUART2B_U6MODE.getPDSEL0 : TBits_1; inline;
  32001. begin
  32002. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32003. end;
  32004. procedure TUART2B_U6MODE.setPDSEL1; inline;
  32005. begin
  32006. pTDefRegMap(@Self)^.&set := $00000004;
  32007. end;
  32008. procedure TUART2B_U6MODE.clearPDSEL1; inline;
  32009. begin
  32010. pTDefRegMap(@Self)^.clr := $00000004;
  32011. end;
  32012. procedure TUART2B_U6MODE.setPDSEL1(thebits : TBits_1); inline;
  32013. begin
  32014. if thebits = 0 then
  32015. pTDefRegMap(@Self)^.clr := $00000004
  32016. else
  32017. pTDefRegMap(@Self)^.&set := $00000004;
  32018. end;
  32019. function TUART2B_U6MODE.getPDSEL1 : TBits_1; inline;
  32020. begin
  32021. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32022. end;
  32023. procedure TUART2B_U6MODE.setUSIDL; inline;
  32024. begin
  32025. pTDefRegMap(@Self)^.&set := $00002000;
  32026. end;
  32027. procedure TUART2B_U6MODE.clearUSIDL; inline;
  32028. begin
  32029. pTDefRegMap(@Self)^.clr := $00002000;
  32030. end;
  32031. procedure TUART2B_U6MODE.setUSIDL(thebits : TBits_1); inline;
  32032. begin
  32033. if thebits = 0 then
  32034. pTDefRegMap(@Self)^.clr := $00002000
  32035. else
  32036. pTDefRegMap(@Self)^.&set := $00002000;
  32037. end;
  32038. function TUART2B_U6MODE.getUSIDL : TBits_1; inline;
  32039. begin
  32040. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32041. end;
  32042. procedure TUART2B_U6MODE.setUARTEN; inline;
  32043. begin
  32044. pTDefRegMap(@Self)^.&set := $00008000;
  32045. end;
  32046. procedure TUART2B_U6MODE.clearUARTEN; inline;
  32047. begin
  32048. pTDefRegMap(@Self)^.clr := $00008000;
  32049. end;
  32050. procedure TUART2B_U6MODE.setUARTEN(thebits : TBits_1); inline;
  32051. begin
  32052. if thebits = 0 then
  32053. pTDefRegMap(@Self)^.clr := $00008000
  32054. else
  32055. pTDefRegMap(@Self)^.&set := $00008000;
  32056. end;
  32057. function TUART2B_U6MODE.getUARTEN : TBits_1; inline;
  32058. begin
  32059. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32060. end;
  32061. procedure TUART2B_U6MODE.setw(thebits : TBits_32); inline;
  32062. begin
  32063. pTDefRegMap(@Self)^.val := thebits;
  32064. end;
  32065. function TUART2B_U6MODE.getw : TBits_32; inline;
  32066. begin
  32067. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32068. end;
  32069. procedure TUART2B_U2BSTA.setURXDA; inline;
  32070. begin
  32071. pTDefRegMap(@Self)^.&set := $00000001;
  32072. end;
  32073. procedure TUART2B_U2BSTA.clearURXDA; inline;
  32074. begin
  32075. pTDefRegMap(@Self)^.clr := $00000001;
  32076. end;
  32077. procedure TUART2B_U2BSTA.setURXDA(thebits : TBits_1); inline;
  32078. begin
  32079. if thebits = 0 then
  32080. pTDefRegMap(@Self)^.clr := $00000001
  32081. else
  32082. pTDefRegMap(@Self)^.&set := $00000001;
  32083. end;
  32084. function TUART2B_U2BSTA.getURXDA : TBits_1; inline;
  32085. begin
  32086. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32087. end;
  32088. procedure TUART2B_U2BSTA.setOERR; inline;
  32089. begin
  32090. pTDefRegMap(@Self)^.&set := $00000002;
  32091. end;
  32092. procedure TUART2B_U2BSTA.clearOERR; inline;
  32093. begin
  32094. pTDefRegMap(@Self)^.clr := $00000002;
  32095. end;
  32096. procedure TUART2B_U2BSTA.setOERR(thebits : TBits_1); inline;
  32097. begin
  32098. if thebits = 0 then
  32099. pTDefRegMap(@Self)^.clr := $00000002
  32100. else
  32101. pTDefRegMap(@Self)^.&set := $00000002;
  32102. end;
  32103. function TUART2B_U2BSTA.getOERR : TBits_1; inline;
  32104. begin
  32105. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32106. end;
  32107. procedure TUART2B_U2BSTA.setFERR; inline;
  32108. begin
  32109. pTDefRegMap(@Self)^.&set := $00000004;
  32110. end;
  32111. procedure TUART2B_U2BSTA.clearFERR; inline;
  32112. begin
  32113. pTDefRegMap(@Self)^.clr := $00000004;
  32114. end;
  32115. procedure TUART2B_U2BSTA.setFERR(thebits : TBits_1); inline;
  32116. begin
  32117. if thebits = 0 then
  32118. pTDefRegMap(@Self)^.clr := $00000004
  32119. else
  32120. pTDefRegMap(@Self)^.&set := $00000004;
  32121. end;
  32122. function TUART2B_U2BSTA.getFERR : TBits_1; inline;
  32123. begin
  32124. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32125. end;
  32126. procedure TUART2B_U2BSTA.setPERR; inline;
  32127. begin
  32128. pTDefRegMap(@Self)^.&set := $00000008;
  32129. end;
  32130. procedure TUART2B_U2BSTA.clearPERR; inline;
  32131. begin
  32132. pTDefRegMap(@Self)^.clr := $00000008;
  32133. end;
  32134. procedure TUART2B_U2BSTA.setPERR(thebits : TBits_1); inline;
  32135. begin
  32136. if thebits = 0 then
  32137. pTDefRegMap(@Self)^.clr := $00000008
  32138. else
  32139. pTDefRegMap(@Self)^.&set := $00000008;
  32140. end;
  32141. function TUART2B_U2BSTA.getPERR : TBits_1; inline;
  32142. begin
  32143. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32144. end;
  32145. procedure TUART2B_U2BSTA.setRIDLE; inline;
  32146. begin
  32147. pTDefRegMap(@Self)^.&set := $00000010;
  32148. end;
  32149. procedure TUART2B_U2BSTA.clearRIDLE; inline;
  32150. begin
  32151. pTDefRegMap(@Self)^.clr := $00000010;
  32152. end;
  32153. procedure TUART2B_U2BSTA.setRIDLE(thebits : TBits_1); inline;
  32154. begin
  32155. if thebits = 0 then
  32156. pTDefRegMap(@Self)^.clr := $00000010
  32157. else
  32158. pTDefRegMap(@Self)^.&set := $00000010;
  32159. end;
  32160. function TUART2B_U2BSTA.getRIDLE : TBits_1; inline;
  32161. begin
  32162. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32163. end;
  32164. procedure TUART2B_U2BSTA.setADDEN; inline;
  32165. begin
  32166. pTDefRegMap(@Self)^.&set := $00000020;
  32167. end;
  32168. procedure TUART2B_U2BSTA.clearADDEN; inline;
  32169. begin
  32170. pTDefRegMap(@Self)^.clr := $00000020;
  32171. end;
  32172. procedure TUART2B_U2BSTA.setADDEN(thebits : TBits_1); inline;
  32173. begin
  32174. if thebits = 0 then
  32175. pTDefRegMap(@Self)^.clr := $00000020
  32176. else
  32177. pTDefRegMap(@Self)^.&set := $00000020;
  32178. end;
  32179. function TUART2B_U2BSTA.getADDEN : TBits_1; inline;
  32180. begin
  32181. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32182. end;
  32183. procedure TUART2B_U2BSTA.setURXISEL(thebits : TBits_2); inline;
  32184. begin
  32185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32186. end;
  32187. function TUART2B_U2BSTA.getURXISEL : TBits_2; inline;
  32188. begin
  32189. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32190. end;
  32191. procedure TUART2B_U2BSTA.setTRMT; inline;
  32192. begin
  32193. pTDefRegMap(@Self)^.&set := $00000100;
  32194. end;
  32195. procedure TUART2B_U2BSTA.clearTRMT; inline;
  32196. begin
  32197. pTDefRegMap(@Self)^.clr := $00000100;
  32198. end;
  32199. procedure TUART2B_U2BSTA.setTRMT(thebits : TBits_1); inline;
  32200. begin
  32201. if thebits = 0 then
  32202. pTDefRegMap(@Self)^.clr := $00000100
  32203. else
  32204. pTDefRegMap(@Self)^.&set := $00000100;
  32205. end;
  32206. function TUART2B_U2BSTA.getTRMT : TBits_1; inline;
  32207. begin
  32208. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32209. end;
  32210. procedure TUART2B_U2BSTA.setUTXBF; inline;
  32211. begin
  32212. pTDefRegMap(@Self)^.&set := $00000200;
  32213. end;
  32214. procedure TUART2B_U2BSTA.clearUTXBF; inline;
  32215. begin
  32216. pTDefRegMap(@Self)^.clr := $00000200;
  32217. end;
  32218. procedure TUART2B_U2BSTA.setUTXBF(thebits : TBits_1); inline;
  32219. begin
  32220. if thebits = 0 then
  32221. pTDefRegMap(@Self)^.clr := $00000200
  32222. else
  32223. pTDefRegMap(@Self)^.&set := $00000200;
  32224. end;
  32225. function TUART2B_U2BSTA.getUTXBF : TBits_1; inline;
  32226. begin
  32227. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32228. end;
  32229. procedure TUART2B_U2BSTA.setUTXEN; inline;
  32230. begin
  32231. pTDefRegMap(@Self)^.&set := $00000400;
  32232. end;
  32233. procedure TUART2B_U2BSTA.clearUTXEN; inline;
  32234. begin
  32235. pTDefRegMap(@Self)^.clr := $00000400;
  32236. end;
  32237. procedure TUART2B_U2BSTA.setUTXEN(thebits : TBits_1); inline;
  32238. begin
  32239. if thebits = 0 then
  32240. pTDefRegMap(@Self)^.clr := $00000400
  32241. else
  32242. pTDefRegMap(@Self)^.&set := $00000400;
  32243. end;
  32244. function TUART2B_U2BSTA.getUTXEN : TBits_1; inline;
  32245. begin
  32246. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32247. end;
  32248. procedure TUART2B_U2BSTA.setUTXBRK; inline;
  32249. begin
  32250. pTDefRegMap(@Self)^.&set := $00000800;
  32251. end;
  32252. procedure TUART2B_U2BSTA.clearUTXBRK; inline;
  32253. begin
  32254. pTDefRegMap(@Self)^.clr := $00000800;
  32255. end;
  32256. procedure TUART2B_U2BSTA.setUTXBRK(thebits : TBits_1); inline;
  32257. begin
  32258. if thebits = 0 then
  32259. pTDefRegMap(@Self)^.clr := $00000800
  32260. else
  32261. pTDefRegMap(@Self)^.&set := $00000800;
  32262. end;
  32263. function TUART2B_U2BSTA.getUTXBRK : TBits_1; inline;
  32264. begin
  32265. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32266. end;
  32267. procedure TUART2B_U2BSTA.setURXEN; inline;
  32268. begin
  32269. pTDefRegMap(@Self)^.&set := $00001000;
  32270. end;
  32271. procedure TUART2B_U2BSTA.clearURXEN; inline;
  32272. begin
  32273. pTDefRegMap(@Self)^.clr := $00001000;
  32274. end;
  32275. procedure TUART2B_U2BSTA.setURXEN(thebits : TBits_1); inline;
  32276. begin
  32277. if thebits = 0 then
  32278. pTDefRegMap(@Self)^.clr := $00001000
  32279. else
  32280. pTDefRegMap(@Self)^.&set := $00001000;
  32281. end;
  32282. function TUART2B_U2BSTA.getURXEN : TBits_1; inline;
  32283. begin
  32284. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32285. end;
  32286. procedure TUART2B_U2BSTA.setUTXINV; inline;
  32287. begin
  32288. pTDefRegMap(@Self)^.&set := $00002000;
  32289. end;
  32290. procedure TUART2B_U2BSTA.clearUTXINV; inline;
  32291. begin
  32292. pTDefRegMap(@Self)^.clr := $00002000;
  32293. end;
  32294. procedure TUART2B_U2BSTA.setUTXINV(thebits : TBits_1); inline;
  32295. begin
  32296. if thebits = 0 then
  32297. pTDefRegMap(@Self)^.clr := $00002000
  32298. else
  32299. pTDefRegMap(@Self)^.&set := $00002000;
  32300. end;
  32301. function TUART2B_U2BSTA.getUTXINV : TBits_1; inline;
  32302. begin
  32303. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32304. end;
  32305. procedure TUART2B_U2BSTA.setUTXISEL(thebits : TBits_2); inline;
  32306. begin
  32307. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32308. end;
  32309. function TUART2B_U2BSTA.getUTXISEL : TBits_2; inline;
  32310. begin
  32311. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32312. end;
  32313. procedure TUART2B_U2BSTA.setADDR(thebits : TBits_8); inline;
  32314. begin
  32315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32316. end;
  32317. function TUART2B_U2BSTA.getADDR : TBits_8; inline;
  32318. begin
  32319. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32320. end;
  32321. procedure TUART2B_U2BSTA.setADM_EN; inline;
  32322. begin
  32323. pTDefRegMap(@Self)^.&set := $01000000;
  32324. end;
  32325. procedure TUART2B_U2BSTA.clearADM_EN; inline;
  32326. begin
  32327. pTDefRegMap(@Self)^.clr := $01000000;
  32328. end;
  32329. procedure TUART2B_U2BSTA.setADM_EN(thebits : TBits_1); inline;
  32330. begin
  32331. if thebits = 0 then
  32332. pTDefRegMap(@Self)^.clr := $01000000
  32333. else
  32334. pTDefRegMap(@Self)^.&set := $01000000;
  32335. end;
  32336. function TUART2B_U2BSTA.getADM_EN : TBits_1; inline;
  32337. begin
  32338. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32339. end;
  32340. procedure TUART2B_U2BSTA.setURXISEL0; inline;
  32341. begin
  32342. pTDefRegMap(@Self)^.&set := $00000040;
  32343. end;
  32344. procedure TUART2B_U2BSTA.clearURXISEL0; inline;
  32345. begin
  32346. pTDefRegMap(@Self)^.clr := $00000040;
  32347. end;
  32348. procedure TUART2B_U2BSTA.setURXISEL0(thebits : TBits_1); inline;
  32349. begin
  32350. if thebits = 0 then
  32351. pTDefRegMap(@Self)^.clr := $00000040
  32352. else
  32353. pTDefRegMap(@Self)^.&set := $00000040;
  32354. end;
  32355. function TUART2B_U2BSTA.getURXISEL0 : TBits_1; inline;
  32356. begin
  32357. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32358. end;
  32359. procedure TUART2B_U2BSTA.setURXISEL1; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.&set := $00000080;
  32362. end;
  32363. procedure TUART2B_U2BSTA.clearURXISEL1; inline;
  32364. begin
  32365. pTDefRegMap(@Self)^.clr := $00000080;
  32366. end;
  32367. procedure TUART2B_U2BSTA.setURXISEL1(thebits : TBits_1); inline;
  32368. begin
  32369. if thebits = 0 then
  32370. pTDefRegMap(@Self)^.clr := $00000080
  32371. else
  32372. pTDefRegMap(@Self)^.&set := $00000080;
  32373. end;
  32374. function TUART2B_U2BSTA.getURXISEL1 : TBits_1; inline;
  32375. begin
  32376. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32377. end;
  32378. procedure TUART2B_U2BSTA.setUTXISEL0; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.&set := $00004000;
  32381. end;
  32382. procedure TUART2B_U2BSTA.clearUTXISEL0; inline;
  32383. begin
  32384. pTDefRegMap(@Self)^.clr := $00004000;
  32385. end;
  32386. procedure TUART2B_U2BSTA.setUTXISEL0(thebits : TBits_1); inline;
  32387. begin
  32388. if thebits = 0 then
  32389. pTDefRegMap(@Self)^.clr := $00004000
  32390. else
  32391. pTDefRegMap(@Self)^.&set := $00004000;
  32392. end;
  32393. function TUART2B_U2BSTA.getUTXISEL0 : TBits_1; inline;
  32394. begin
  32395. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32396. end;
  32397. procedure TUART2B_U2BSTA.setUTXISEL1; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.&set := $00008000;
  32400. end;
  32401. procedure TUART2B_U2BSTA.clearUTXISEL1; inline;
  32402. begin
  32403. pTDefRegMap(@Self)^.clr := $00008000;
  32404. end;
  32405. procedure TUART2B_U2BSTA.setUTXISEL1(thebits : TBits_1); inline;
  32406. begin
  32407. if thebits = 0 then
  32408. pTDefRegMap(@Self)^.clr := $00008000
  32409. else
  32410. pTDefRegMap(@Self)^.&set := $00008000;
  32411. end;
  32412. function TUART2B_U2BSTA.getUTXISEL1 : TBits_1; inline;
  32413. begin
  32414. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32415. end;
  32416. procedure TUART2B_U2BSTA.setUTXSEL(thebits : TBits_2); inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32419. end;
  32420. function TUART2B_U2BSTA.getUTXSEL : TBits_2; inline;
  32421. begin
  32422. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32423. end;
  32424. procedure TUART2B_U2BSTA.setw(thebits : TBits_32); inline;
  32425. begin
  32426. pTDefRegMap(@Self)^.val := thebits;
  32427. end;
  32428. function TUART2B_U2BSTA.getw : TBits_32; inline;
  32429. begin
  32430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32431. end;
  32432. procedure TUART2B_U6STA.setURXDA; inline;
  32433. begin
  32434. pTDefRegMap(@Self)^.&set := $00000001;
  32435. end;
  32436. procedure TUART2B_U6STA.clearURXDA; inline;
  32437. begin
  32438. pTDefRegMap(@Self)^.clr := $00000001;
  32439. end;
  32440. procedure TUART2B_U6STA.setURXDA(thebits : TBits_1); inline;
  32441. begin
  32442. if thebits = 0 then
  32443. pTDefRegMap(@Self)^.clr := $00000001
  32444. else
  32445. pTDefRegMap(@Self)^.&set := $00000001;
  32446. end;
  32447. function TUART2B_U6STA.getURXDA : TBits_1; inline;
  32448. begin
  32449. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32450. end;
  32451. procedure TUART2B_U6STA.setOERR; inline;
  32452. begin
  32453. pTDefRegMap(@Self)^.&set := $00000002;
  32454. end;
  32455. procedure TUART2B_U6STA.clearOERR; inline;
  32456. begin
  32457. pTDefRegMap(@Self)^.clr := $00000002;
  32458. end;
  32459. procedure TUART2B_U6STA.setOERR(thebits : TBits_1); inline;
  32460. begin
  32461. if thebits = 0 then
  32462. pTDefRegMap(@Self)^.clr := $00000002
  32463. else
  32464. pTDefRegMap(@Self)^.&set := $00000002;
  32465. end;
  32466. function TUART2B_U6STA.getOERR : TBits_1; inline;
  32467. begin
  32468. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32469. end;
  32470. procedure TUART2B_U6STA.setFERR; inline;
  32471. begin
  32472. pTDefRegMap(@Self)^.&set := $00000004;
  32473. end;
  32474. procedure TUART2B_U6STA.clearFERR; inline;
  32475. begin
  32476. pTDefRegMap(@Self)^.clr := $00000004;
  32477. end;
  32478. procedure TUART2B_U6STA.setFERR(thebits : TBits_1); inline;
  32479. begin
  32480. if thebits = 0 then
  32481. pTDefRegMap(@Self)^.clr := $00000004
  32482. else
  32483. pTDefRegMap(@Self)^.&set := $00000004;
  32484. end;
  32485. function TUART2B_U6STA.getFERR : TBits_1; inline;
  32486. begin
  32487. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32488. end;
  32489. procedure TUART2B_U6STA.setPERR; inline;
  32490. begin
  32491. pTDefRegMap(@Self)^.&set := $00000008;
  32492. end;
  32493. procedure TUART2B_U6STA.clearPERR; inline;
  32494. begin
  32495. pTDefRegMap(@Self)^.clr := $00000008;
  32496. end;
  32497. procedure TUART2B_U6STA.setPERR(thebits : TBits_1); inline;
  32498. begin
  32499. if thebits = 0 then
  32500. pTDefRegMap(@Self)^.clr := $00000008
  32501. else
  32502. pTDefRegMap(@Self)^.&set := $00000008;
  32503. end;
  32504. function TUART2B_U6STA.getPERR : TBits_1; inline;
  32505. begin
  32506. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32507. end;
  32508. procedure TUART2B_U6STA.setRIDLE; inline;
  32509. begin
  32510. pTDefRegMap(@Self)^.&set := $00000010;
  32511. end;
  32512. procedure TUART2B_U6STA.clearRIDLE; inline;
  32513. begin
  32514. pTDefRegMap(@Self)^.clr := $00000010;
  32515. end;
  32516. procedure TUART2B_U6STA.setRIDLE(thebits : TBits_1); inline;
  32517. begin
  32518. if thebits = 0 then
  32519. pTDefRegMap(@Self)^.clr := $00000010
  32520. else
  32521. pTDefRegMap(@Self)^.&set := $00000010;
  32522. end;
  32523. function TUART2B_U6STA.getRIDLE : TBits_1; inline;
  32524. begin
  32525. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32526. end;
  32527. procedure TUART2B_U6STA.setADDEN; inline;
  32528. begin
  32529. pTDefRegMap(@Self)^.&set := $00000020;
  32530. end;
  32531. procedure TUART2B_U6STA.clearADDEN; inline;
  32532. begin
  32533. pTDefRegMap(@Self)^.clr := $00000020;
  32534. end;
  32535. procedure TUART2B_U6STA.setADDEN(thebits : TBits_1); inline;
  32536. begin
  32537. if thebits = 0 then
  32538. pTDefRegMap(@Self)^.clr := $00000020
  32539. else
  32540. pTDefRegMap(@Self)^.&set := $00000020;
  32541. end;
  32542. function TUART2B_U6STA.getADDEN : TBits_1; inline;
  32543. begin
  32544. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32545. end;
  32546. procedure TUART2B_U6STA.setURXISEL(thebits : TBits_2); inline;
  32547. begin
  32548. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32549. end;
  32550. function TUART2B_U6STA.getURXISEL : TBits_2; inline;
  32551. begin
  32552. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32553. end;
  32554. procedure TUART2B_U6STA.setTRMT; inline;
  32555. begin
  32556. pTDefRegMap(@Self)^.&set := $00000100;
  32557. end;
  32558. procedure TUART2B_U6STA.clearTRMT; inline;
  32559. begin
  32560. pTDefRegMap(@Self)^.clr := $00000100;
  32561. end;
  32562. procedure TUART2B_U6STA.setTRMT(thebits : TBits_1); inline;
  32563. begin
  32564. if thebits = 0 then
  32565. pTDefRegMap(@Self)^.clr := $00000100
  32566. else
  32567. pTDefRegMap(@Self)^.&set := $00000100;
  32568. end;
  32569. function TUART2B_U6STA.getTRMT : TBits_1; inline;
  32570. begin
  32571. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32572. end;
  32573. procedure TUART2B_U6STA.setUTXBF; inline;
  32574. begin
  32575. pTDefRegMap(@Self)^.&set := $00000200;
  32576. end;
  32577. procedure TUART2B_U6STA.clearUTXBF; inline;
  32578. begin
  32579. pTDefRegMap(@Self)^.clr := $00000200;
  32580. end;
  32581. procedure TUART2B_U6STA.setUTXBF(thebits : TBits_1); inline;
  32582. begin
  32583. if thebits = 0 then
  32584. pTDefRegMap(@Self)^.clr := $00000200
  32585. else
  32586. pTDefRegMap(@Self)^.&set := $00000200;
  32587. end;
  32588. function TUART2B_U6STA.getUTXBF : TBits_1; inline;
  32589. begin
  32590. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32591. end;
  32592. procedure TUART2B_U6STA.setUTXEN; inline;
  32593. begin
  32594. pTDefRegMap(@Self)^.&set := $00000400;
  32595. end;
  32596. procedure TUART2B_U6STA.clearUTXEN; inline;
  32597. begin
  32598. pTDefRegMap(@Self)^.clr := $00000400;
  32599. end;
  32600. procedure TUART2B_U6STA.setUTXEN(thebits : TBits_1); inline;
  32601. begin
  32602. if thebits = 0 then
  32603. pTDefRegMap(@Self)^.clr := $00000400
  32604. else
  32605. pTDefRegMap(@Self)^.&set := $00000400;
  32606. end;
  32607. function TUART2B_U6STA.getUTXEN : TBits_1; inline;
  32608. begin
  32609. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32610. end;
  32611. procedure TUART2B_U6STA.setUTXBRK; inline;
  32612. begin
  32613. pTDefRegMap(@Self)^.&set := $00000800;
  32614. end;
  32615. procedure TUART2B_U6STA.clearUTXBRK; inline;
  32616. begin
  32617. pTDefRegMap(@Self)^.clr := $00000800;
  32618. end;
  32619. procedure TUART2B_U6STA.setUTXBRK(thebits : TBits_1); inline;
  32620. begin
  32621. if thebits = 0 then
  32622. pTDefRegMap(@Self)^.clr := $00000800
  32623. else
  32624. pTDefRegMap(@Self)^.&set := $00000800;
  32625. end;
  32626. function TUART2B_U6STA.getUTXBRK : TBits_1; inline;
  32627. begin
  32628. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32629. end;
  32630. procedure TUART2B_U6STA.setURXEN; inline;
  32631. begin
  32632. pTDefRegMap(@Self)^.&set := $00001000;
  32633. end;
  32634. procedure TUART2B_U6STA.clearURXEN; inline;
  32635. begin
  32636. pTDefRegMap(@Self)^.clr := $00001000;
  32637. end;
  32638. procedure TUART2B_U6STA.setURXEN(thebits : TBits_1); inline;
  32639. begin
  32640. if thebits = 0 then
  32641. pTDefRegMap(@Self)^.clr := $00001000
  32642. else
  32643. pTDefRegMap(@Self)^.&set := $00001000;
  32644. end;
  32645. function TUART2B_U6STA.getURXEN : TBits_1; inline;
  32646. begin
  32647. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32648. end;
  32649. procedure TUART2B_U6STA.setUTXINV; inline;
  32650. begin
  32651. pTDefRegMap(@Self)^.&set := $00002000;
  32652. end;
  32653. procedure TUART2B_U6STA.clearUTXINV; inline;
  32654. begin
  32655. pTDefRegMap(@Self)^.clr := $00002000;
  32656. end;
  32657. procedure TUART2B_U6STA.setUTXINV(thebits : TBits_1); inline;
  32658. begin
  32659. if thebits = 0 then
  32660. pTDefRegMap(@Self)^.clr := $00002000
  32661. else
  32662. pTDefRegMap(@Self)^.&set := $00002000;
  32663. end;
  32664. function TUART2B_U6STA.getUTXINV : TBits_1; inline;
  32665. begin
  32666. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32667. end;
  32668. procedure TUART2B_U6STA.setUTXISEL(thebits : TBits_2); inline;
  32669. begin
  32670. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32671. end;
  32672. function TUART2B_U6STA.getUTXISEL : TBits_2; inline;
  32673. begin
  32674. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32675. end;
  32676. procedure TUART2B_U6STA.setADDR(thebits : TBits_8); inline;
  32677. begin
  32678. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32679. end;
  32680. function TUART2B_U6STA.getADDR : TBits_8; inline;
  32681. begin
  32682. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32683. end;
  32684. procedure TUART2B_U6STA.setADM_EN; inline;
  32685. begin
  32686. pTDefRegMap(@Self)^.&set := $01000000;
  32687. end;
  32688. procedure TUART2B_U6STA.clearADM_EN; inline;
  32689. begin
  32690. pTDefRegMap(@Self)^.clr := $01000000;
  32691. end;
  32692. procedure TUART2B_U6STA.setADM_EN(thebits : TBits_1); inline;
  32693. begin
  32694. if thebits = 0 then
  32695. pTDefRegMap(@Self)^.clr := $01000000
  32696. else
  32697. pTDefRegMap(@Self)^.&set := $01000000;
  32698. end;
  32699. function TUART2B_U6STA.getADM_EN : TBits_1; inline;
  32700. begin
  32701. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32702. end;
  32703. procedure TUART2B_U6STA.setURXISEL0; inline;
  32704. begin
  32705. pTDefRegMap(@Self)^.&set := $00000040;
  32706. end;
  32707. procedure TUART2B_U6STA.clearURXISEL0; inline;
  32708. begin
  32709. pTDefRegMap(@Self)^.clr := $00000040;
  32710. end;
  32711. procedure TUART2B_U6STA.setURXISEL0(thebits : TBits_1); inline;
  32712. begin
  32713. if thebits = 0 then
  32714. pTDefRegMap(@Self)^.clr := $00000040
  32715. else
  32716. pTDefRegMap(@Self)^.&set := $00000040;
  32717. end;
  32718. function TUART2B_U6STA.getURXISEL0 : TBits_1; inline;
  32719. begin
  32720. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32721. end;
  32722. procedure TUART2B_U6STA.setURXISEL1; inline;
  32723. begin
  32724. pTDefRegMap(@Self)^.&set := $00000080;
  32725. end;
  32726. procedure TUART2B_U6STA.clearURXISEL1; inline;
  32727. begin
  32728. pTDefRegMap(@Self)^.clr := $00000080;
  32729. end;
  32730. procedure TUART2B_U6STA.setURXISEL1(thebits : TBits_1); inline;
  32731. begin
  32732. if thebits = 0 then
  32733. pTDefRegMap(@Self)^.clr := $00000080
  32734. else
  32735. pTDefRegMap(@Self)^.&set := $00000080;
  32736. end;
  32737. function TUART2B_U6STA.getURXISEL1 : TBits_1; inline;
  32738. begin
  32739. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32740. end;
  32741. procedure TUART2B_U6STA.setUTXISEL0; inline;
  32742. begin
  32743. pTDefRegMap(@Self)^.&set := $00004000;
  32744. end;
  32745. procedure TUART2B_U6STA.clearUTXISEL0; inline;
  32746. begin
  32747. pTDefRegMap(@Self)^.clr := $00004000;
  32748. end;
  32749. procedure TUART2B_U6STA.setUTXISEL0(thebits : TBits_1); inline;
  32750. begin
  32751. if thebits = 0 then
  32752. pTDefRegMap(@Self)^.clr := $00004000
  32753. else
  32754. pTDefRegMap(@Self)^.&set := $00004000;
  32755. end;
  32756. function TUART2B_U6STA.getUTXISEL0 : TBits_1; inline;
  32757. begin
  32758. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32759. end;
  32760. procedure TUART2B_U6STA.setUTXISEL1; inline;
  32761. begin
  32762. pTDefRegMap(@Self)^.&set := $00008000;
  32763. end;
  32764. procedure TUART2B_U6STA.clearUTXISEL1; inline;
  32765. begin
  32766. pTDefRegMap(@Self)^.clr := $00008000;
  32767. end;
  32768. procedure TUART2B_U6STA.setUTXISEL1(thebits : TBits_1); inline;
  32769. begin
  32770. if thebits = 0 then
  32771. pTDefRegMap(@Self)^.clr := $00008000
  32772. else
  32773. pTDefRegMap(@Self)^.&set := $00008000;
  32774. end;
  32775. function TUART2B_U6STA.getUTXISEL1 : TBits_1; inline;
  32776. begin
  32777. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32778. end;
  32779. procedure TUART2B_U6STA.setUTXSEL(thebits : TBits_2); inline;
  32780. begin
  32781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32782. end;
  32783. function TUART2B_U6STA.getUTXSEL : TBits_2; inline;
  32784. begin
  32785. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32786. end;
  32787. procedure TUART2B_U6STA.setw(thebits : TBits_32); inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.val := thebits;
  32790. end;
  32791. function TUART2B_U6STA.getw : TBits_32; inline;
  32792. begin
  32793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32794. end;
  32795. procedure TUART3A_U2MODE.setSTSEL; inline;
  32796. begin
  32797. pTDefRegMap(@Self)^.&set := $00000001;
  32798. end;
  32799. procedure TUART3A_U2MODE.clearSTSEL; inline;
  32800. begin
  32801. pTDefRegMap(@Self)^.clr := $00000001;
  32802. end;
  32803. procedure TUART3A_U2MODE.setSTSEL(thebits : TBits_1); inline;
  32804. begin
  32805. if thebits = 0 then
  32806. pTDefRegMap(@Self)^.clr := $00000001
  32807. else
  32808. pTDefRegMap(@Self)^.&set := $00000001;
  32809. end;
  32810. function TUART3A_U2MODE.getSTSEL : TBits_1; inline;
  32811. begin
  32812. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32813. end;
  32814. procedure TUART3A_U2MODE.setPDSEL(thebits : TBits_2); inline;
  32815. begin
  32816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  32817. end;
  32818. function TUART3A_U2MODE.getPDSEL : TBits_2; inline;
  32819. begin
  32820. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  32821. end;
  32822. procedure TUART3A_U2MODE.setBRGH; inline;
  32823. begin
  32824. pTDefRegMap(@Self)^.&set := $00000008;
  32825. end;
  32826. procedure TUART3A_U2MODE.clearBRGH; inline;
  32827. begin
  32828. pTDefRegMap(@Self)^.clr := $00000008;
  32829. end;
  32830. procedure TUART3A_U2MODE.setBRGH(thebits : TBits_1); inline;
  32831. begin
  32832. if thebits = 0 then
  32833. pTDefRegMap(@Self)^.clr := $00000008
  32834. else
  32835. pTDefRegMap(@Self)^.&set := $00000008;
  32836. end;
  32837. function TUART3A_U2MODE.getBRGH : TBits_1; inline;
  32838. begin
  32839. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32840. end;
  32841. procedure TUART3A_U2MODE.setRXINV; inline;
  32842. begin
  32843. pTDefRegMap(@Self)^.&set := $00000010;
  32844. end;
  32845. procedure TUART3A_U2MODE.clearRXINV; inline;
  32846. begin
  32847. pTDefRegMap(@Self)^.clr := $00000010;
  32848. end;
  32849. procedure TUART3A_U2MODE.setRXINV(thebits : TBits_1); inline;
  32850. begin
  32851. if thebits = 0 then
  32852. pTDefRegMap(@Self)^.clr := $00000010
  32853. else
  32854. pTDefRegMap(@Self)^.&set := $00000010;
  32855. end;
  32856. function TUART3A_U2MODE.getRXINV : TBits_1; inline;
  32857. begin
  32858. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32859. end;
  32860. procedure TUART3A_U2MODE.setABAUD; inline;
  32861. begin
  32862. pTDefRegMap(@Self)^.&set := $00000020;
  32863. end;
  32864. procedure TUART3A_U2MODE.clearABAUD; inline;
  32865. begin
  32866. pTDefRegMap(@Self)^.clr := $00000020;
  32867. end;
  32868. procedure TUART3A_U2MODE.setABAUD(thebits : TBits_1); inline;
  32869. begin
  32870. if thebits = 0 then
  32871. pTDefRegMap(@Self)^.clr := $00000020
  32872. else
  32873. pTDefRegMap(@Self)^.&set := $00000020;
  32874. end;
  32875. function TUART3A_U2MODE.getABAUD : TBits_1; inline;
  32876. begin
  32877. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32878. end;
  32879. procedure TUART3A_U2MODE.setLPBACK; inline;
  32880. begin
  32881. pTDefRegMap(@Self)^.&set := $00000040;
  32882. end;
  32883. procedure TUART3A_U2MODE.clearLPBACK; inline;
  32884. begin
  32885. pTDefRegMap(@Self)^.clr := $00000040;
  32886. end;
  32887. procedure TUART3A_U2MODE.setLPBACK(thebits : TBits_1); inline;
  32888. begin
  32889. if thebits = 0 then
  32890. pTDefRegMap(@Self)^.clr := $00000040
  32891. else
  32892. pTDefRegMap(@Self)^.&set := $00000040;
  32893. end;
  32894. function TUART3A_U2MODE.getLPBACK : TBits_1; inline;
  32895. begin
  32896. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32897. end;
  32898. procedure TUART3A_U2MODE.setWAKE; inline;
  32899. begin
  32900. pTDefRegMap(@Self)^.&set := $00000080;
  32901. end;
  32902. procedure TUART3A_U2MODE.clearWAKE; inline;
  32903. begin
  32904. pTDefRegMap(@Self)^.clr := $00000080;
  32905. end;
  32906. procedure TUART3A_U2MODE.setWAKE(thebits : TBits_1); inline;
  32907. begin
  32908. if thebits = 0 then
  32909. pTDefRegMap(@Self)^.clr := $00000080
  32910. else
  32911. pTDefRegMap(@Self)^.&set := $00000080;
  32912. end;
  32913. function TUART3A_U2MODE.getWAKE : TBits_1; inline;
  32914. begin
  32915. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32916. end;
  32917. procedure TUART3A_U2MODE.setUEN(thebits : TBits_2); inline;
  32918. begin
  32919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32920. end;
  32921. function TUART3A_U2MODE.getUEN : TBits_2; inline;
  32922. begin
  32923. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32924. end;
  32925. procedure TUART3A_U2MODE.setRTSMD; inline;
  32926. begin
  32927. pTDefRegMap(@Self)^.&set := $00000800;
  32928. end;
  32929. procedure TUART3A_U2MODE.clearRTSMD; inline;
  32930. begin
  32931. pTDefRegMap(@Self)^.clr := $00000800;
  32932. end;
  32933. procedure TUART3A_U2MODE.setRTSMD(thebits : TBits_1); inline;
  32934. begin
  32935. if thebits = 0 then
  32936. pTDefRegMap(@Self)^.clr := $00000800
  32937. else
  32938. pTDefRegMap(@Self)^.&set := $00000800;
  32939. end;
  32940. function TUART3A_U2MODE.getRTSMD : TBits_1; inline;
  32941. begin
  32942. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32943. end;
  32944. procedure TUART3A_U2MODE.setIREN; inline;
  32945. begin
  32946. pTDefRegMap(@Self)^.&set := $00001000;
  32947. end;
  32948. procedure TUART3A_U2MODE.clearIREN; inline;
  32949. begin
  32950. pTDefRegMap(@Self)^.clr := $00001000;
  32951. end;
  32952. procedure TUART3A_U2MODE.setIREN(thebits : TBits_1); inline;
  32953. begin
  32954. if thebits = 0 then
  32955. pTDefRegMap(@Self)^.clr := $00001000
  32956. else
  32957. pTDefRegMap(@Self)^.&set := $00001000;
  32958. end;
  32959. function TUART3A_U2MODE.getIREN : TBits_1; inline;
  32960. begin
  32961. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32962. end;
  32963. procedure TUART3A_U2MODE.setSIDL; inline;
  32964. begin
  32965. pTDefRegMap(@Self)^.&set := $00002000;
  32966. end;
  32967. procedure TUART3A_U2MODE.clearSIDL; inline;
  32968. begin
  32969. pTDefRegMap(@Self)^.clr := $00002000;
  32970. end;
  32971. procedure TUART3A_U2MODE.setSIDL(thebits : TBits_1); inline;
  32972. begin
  32973. if thebits = 0 then
  32974. pTDefRegMap(@Self)^.clr := $00002000
  32975. else
  32976. pTDefRegMap(@Self)^.&set := $00002000;
  32977. end;
  32978. function TUART3A_U2MODE.getSIDL : TBits_1; inline;
  32979. begin
  32980. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32981. end;
  32982. procedure TUART3A_U2MODE.setON; inline;
  32983. begin
  32984. pTDefRegMap(@Self)^.&set := $00008000;
  32985. end;
  32986. procedure TUART3A_U2MODE.clearON; inline;
  32987. begin
  32988. pTDefRegMap(@Self)^.clr := $00008000;
  32989. end;
  32990. procedure TUART3A_U2MODE.setON(thebits : TBits_1); inline;
  32991. begin
  32992. if thebits = 0 then
  32993. pTDefRegMap(@Self)^.clr := $00008000
  32994. else
  32995. pTDefRegMap(@Self)^.&set := $00008000;
  32996. end;
  32997. function TUART3A_U2MODE.getON : TBits_1; inline;
  32998. begin
  32999. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33000. end;
  33001. procedure TUART3A_U2MODE.setPDSEL0; inline;
  33002. begin
  33003. pTDefRegMap(@Self)^.&set := $00000002;
  33004. end;
  33005. procedure TUART3A_U2MODE.clearPDSEL0; inline;
  33006. begin
  33007. pTDefRegMap(@Self)^.clr := $00000002;
  33008. end;
  33009. procedure TUART3A_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  33010. begin
  33011. if thebits = 0 then
  33012. pTDefRegMap(@Self)^.clr := $00000002
  33013. else
  33014. pTDefRegMap(@Self)^.&set := $00000002;
  33015. end;
  33016. function TUART3A_U2MODE.getPDSEL0 : TBits_1; inline;
  33017. begin
  33018. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33019. end;
  33020. procedure TUART3A_U2MODE.setPDSEL1; inline;
  33021. begin
  33022. pTDefRegMap(@Self)^.&set := $00000004;
  33023. end;
  33024. procedure TUART3A_U2MODE.clearPDSEL1; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.clr := $00000004;
  33027. end;
  33028. procedure TUART3A_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  33029. begin
  33030. if thebits = 0 then
  33031. pTDefRegMap(@Self)^.clr := $00000004
  33032. else
  33033. pTDefRegMap(@Self)^.&set := $00000004;
  33034. end;
  33035. function TUART3A_U2MODE.getPDSEL1 : TBits_1; inline;
  33036. begin
  33037. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33038. end;
  33039. procedure TUART3A_U2MODE.setUEN0; inline;
  33040. begin
  33041. pTDefRegMap(@Self)^.&set := $00000100;
  33042. end;
  33043. procedure TUART3A_U2MODE.clearUEN0; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.clr := $00000100;
  33046. end;
  33047. procedure TUART3A_U2MODE.setUEN0(thebits : TBits_1); inline;
  33048. begin
  33049. if thebits = 0 then
  33050. pTDefRegMap(@Self)^.clr := $00000100
  33051. else
  33052. pTDefRegMap(@Self)^.&set := $00000100;
  33053. end;
  33054. function TUART3A_U2MODE.getUEN0 : TBits_1; inline;
  33055. begin
  33056. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33057. end;
  33058. procedure TUART3A_U2MODE.setUEN1; inline;
  33059. begin
  33060. pTDefRegMap(@Self)^.&set := $00000200;
  33061. end;
  33062. procedure TUART3A_U2MODE.clearUEN1; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.clr := $00000200;
  33065. end;
  33066. procedure TUART3A_U2MODE.setUEN1(thebits : TBits_1); inline;
  33067. begin
  33068. if thebits = 0 then
  33069. pTDefRegMap(@Self)^.clr := $00000200
  33070. else
  33071. pTDefRegMap(@Self)^.&set := $00000200;
  33072. end;
  33073. function TUART3A_U2MODE.getUEN1 : TBits_1; inline;
  33074. begin
  33075. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33076. end;
  33077. procedure TUART3A_U2MODE.setUSIDL; inline;
  33078. begin
  33079. pTDefRegMap(@Self)^.&set := $00002000;
  33080. end;
  33081. procedure TUART3A_U2MODE.clearUSIDL; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.clr := $00002000;
  33084. end;
  33085. procedure TUART3A_U2MODE.setUSIDL(thebits : TBits_1); inline;
  33086. begin
  33087. if thebits = 0 then
  33088. pTDefRegMap(@Self)^.clr := $00002000
  33089. else
  33090. pTDefRegMap(@Self)^.&set := $00002000;
  33091. end;
  33092. function TUART3A_U2MODE.getUSIDL : TBits_1; inline;
  33093. begin
  33094. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33095. end;
  33096. procedure TUART3A_U2MODE.setUARTEN; inline;
  33097. begin
  33098. pTDefRegMap(@Self)^.&set := $00008000;
  33099. end;
  33100. procedure TUART3A_U2MODE.clearUARTEN; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.clr := $00008000;
  33103. end;
  33104. procedure TUART3A_U2MODE.setUARTEN(thebits : TBits_1); inline;
  33105. begin
  33106. if thebits = 0 then
  33107. pTDefRegMap(@Self)^.clr := $00008000
  33108. else
  33109. pTDefRegMap(@Self)^.&set := $00008000;
  33110. end;
  33111. function TUART3A_U2MODE.getUARTEN : TBits_1; inline;
  33112. begin
  33113. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33114. end;
  33115. procedure TUART3A_U2MODE.setw(thebits : TBits_32); inline;
  33116. begin
  33117. pTDefRegMap(@Self)^.val := thebits;
  33118. end;
  33119. function TUART3A_U2MODE.getw : TBits_32; inline;
  33120. begin
  33121. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33122. end;
  33123. procedure TUART3A_U3AMODE.setSTSEL; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.&set := $00000001;
  33126. end;
  33127. procedure TUART3A_U3AMODE.clearSTSEL; inline;
  33128. begin
  33129. pTDefRegMap(@Self)^.clr := $00000001;
  33130. end;
  33131. procedure TUART3A_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  33132. begin
  33133. if thebits = 0 then
  33134. pTDefRegMap(@Self)^.clr := $00000001
  33135. else
  33136. pTDefRegMap(@Self)^.&set := $00000001;
  33137. end;
  33138. function TUART3A_U3AMODE.getSTSEL : TBits_1; inline;
  33139. begin
  33140. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33141. end;
  33142. procedure TUART3A_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33145. end;
  33146. function TUART3A_U3AMODE.getPDSEL : TBits_2; inline;
  33147. begin
  33148. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33149. end;
  33150. procedure TUART3A_U3AMODE.setBRGH; inline;
  33151. begin
  33152. pTDefRegMap(@Self)^.&set := $00000008;
  33153. end;
  33154. procedure TUART3A_U3AMODE.clearBRGH; inline;
  33155. begin
  33156. pTDefRegMap(@Self)^.clr := $00000008;
  33157. end;
  33158. procedure TUART3A_U3AMODE.setBRGH(thebits : TBits_1); inline;
  33159. begin
  33160. if thebits = 0 then
  33161. pTDefRegMap(@Self)^.clr := $00000008
  33162. else
  33163. pTDefRegMap(@Self)^.&set := $00000008;
  33164. end;
  33165. function TUART3A_U3AMODE.getBRGH : TBits_1; inline;
  33166. begin
  33167. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33168. end;
  33169. procedure TUART3A_U3AMODE.setRXINV; inline;
  33170. begin
  33171. pTDefRegMap(@Self)^.&set := $00000010;
  33172. end;
  33173. procedure TUART3A_U3AMODE.clearRXINV; inline;
  33174. begin
  33175. pTDefRegMap(@Self)^.clr := $00000010;
  33176. end;
  33177. procedure TUART3A_U3AMODE.setRXINV(thebits : TBits_1); inline;
  33178. begin
  33179. if thebits = 0 then
  33180. pTDefRegMap(@Self)^.clr := $00000010
  33181. else
  33182. pTDefRegMap(@Self)^.&set := $00000010;
  33183. end;
  33184. function TUART3A_U3AMODE.getRXINV : TBits_1; inline;
  33185. begin
  33186. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33187. end;
  33188. procedure TUART3A_U3AMODE.setABAUD; inline;
  33189. begin
  33190. pTDefRegMap(@Self)^.&set := $00000020;
  33191. end;
  33192. procedure TUART3A_U3AMODE.clearABAUD; inline;
  33193. begin
  33194. pTDefRegMap(@Self)^.clr := $00000020;
  33195. end;
  33196. procedure TUART3A_U3AMODE.setABAUD(thebits : TBits_1); inline;
  33197. begin
  33198. if thebits = 0 then
  33199. pTDefRegMap(@Self)^.clr := $00000020
  33200. else
  33201. pTDefRegMap(@Self)^.&set := $00000020;
  33202. end;
  33203. function TUART3A_U3AMODE.getABAUD : TBits_1; inline;
  33204. begin
  33205. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33206. end;
  33207. procedure TUART3A_U3AMODE.setLPBACK; inline;
  33208. begin
  33209. pTDefRegMap(@Self)^.&set := $00000040;
  33210. end;
  33211. procedure TUART3A_U3AMODE.clearLPBACK; inline;
  33212. begin
  33213. pTDefRegMap(@Self)^.clr := $00000040;
  33214. end;
  33215. procedure TUART3A_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  33216. begin
  33217. if thebits = 0 then
  33218. pTDefRegMap(@Self)^.clr := $00000040
  33219. else
  33220. pTDefRegMap(@Self)^.&set := $00000040;
  33221. end;
  33222. function TUART3A_U3AMODE.getLPBACK : TBits_1; inline;
  33223. begin
  33224. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33225. end;
  33226. procedure TUART3A_U3AMODE.setWAKE; inline;
  33227. begin
  33228. pTDefRegMap(@Self)^.&set := $00000080;
  33229. end;
  33230. procedure TUART3A_U3AMODE.clearWAKE; inline;
  33231. begin
  33232. pTDefRegMap(@Self)^.clr := $00000080;
  33233. end;
  33234. procedure TUART3A_U3AMODE.setWAKE(thebits : TBits_1); inline;
  33235. begin
  33236. if thebits = 0 then
  33237. pTDefRegMap(@Self)^.clr := $00000080
  33238. else
  33239. pTDefRegMap(@Self)^.&set := $00000080;
  33240. end;
  33241. function TUART3A_U3AMODE.getWAKE : TBits_1; inline;
  33242. begin
  33243. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33244. end;
  33245. procedure TUART3A_U3AMODE.setUEN(thebits : TBits_2); inline;
  33246. begin
  33247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33248. end;
  33249. function TUART3A_U3AMODE.getUEN : TBits_2; inline;
  33250. begin
  33251. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33252. end;
  33253. procedure TUART3A_U3AMODE.setRTSMD; inline;
  33254. begin
  33255. pTDefRegMap(@Self)^.&set := $00000800;
  33256. end;
  33257. procedure TUART3A_U3AMODE.clearRTSMD; inline;
  33258. begin
  33259. pTDefRegMap(@Self)^.clr := $00000800;
  33260. end;
  33261. procedure TUART3A_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  33262. begin
  33263. if thebits = 0 then
  33264. pTDefRegMap(@Self)^.clr := $00000800
  33265. else
  33266. pTDefRegMap(@Self)^.&set := $00000800;
  33267. end;
  33268. function TUART3A_U3AMODE.getRTSMD : TBits_1; inline;
  33269. begin
  33270. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33271. end;
  33272. procedure TUART3A_U3AMODE.setIREN; inline;
  33273. begin
  33274. pTDefRegMap(@Self)^.&set := $00001000;
  33275. end;
  33276. procedure TUART3A_U3AMODE.clearIREN; inline;
  33277. begin
  33278. pTDefRegMap(@Self)^.clr := $00001000;
  33279. end;
  33280. procedure TUART3A_U3AMODE.setIREN(thebits : TBits_1); inline;
  33281. begin
  33282. if thebits = 0 then
  33283. pTDefRegMap(@Self)^.clr := $00001000
  33284. else
  33285. pTDefRegMap(@Self)^.&set := $00001000;
  33286. end;
  33287. function TUART3A_U3AMODE.getIREN : TBits_1; inline;
  33288. begin
  33289. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33290. end;
  33291. procedure TUART3A_U3AMODE.setSIDL; inline;
  33292. begin
  33293. pTDefRegMap(@Self)^.&set := $00002000;
  33294. end;
  33295. procedure TUART3A_U3AMODE.clearSIDL; inline;
  33296. begin
  33297. pTDefRegMap(@Self)^.clr := $00002000;
  33298. end;
  33299. procedure TUART3A_U3AMODE.setSIDL(thebits : TBits_1); inline;
  33300. begin
  33301. if thebits = 0 then
  33302. pTDefRegMap(@Self)^.clr := $00002000
  33303. else
  33304. pTDefRegMap(@Self)^.&set := $00002000;
  33305. end;
  33306. function TUART3A_U3AMODE.getSIDL : TBits_1; inline;
  33307. begin
  33308. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33309. end;
  33310. procedure TUART3A_U3AMODE.setON; inline;
  33311. begin
  33312. pTDefRegMap(@Self)^.&set := $00008000;
  33313. end;
  33314. procedure TUART3A_U3AMODE.clearON; inline;
  33315. begin
  33316. pTDefRegMap(@Self)^.clr := $00008000;
  33317. end;
  33318. procedure TUART3A_U3AMODE.setON(thebits : TBits_1); inline;
  33319. begin
  33320. if thebits = 0 then
  33321. pTDefRegMap(@Self)^.clr := $00008000
  33322. else
  33323. pTDefRegMap(@Self)^.&set := $00008000;
  33324. end;
  33325. function TUART3A_U3AMODE.getON : TBits_1; inline;
  33326. begin
  33327. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33328. end;
  33329. procedure TUART3A_U3AMODE.setPDSEL0; inline;
  33330. begin
  33331. pTDefRegMap(@Self)^.&set := $00000002;
  33332. end;
  33333. procedure TUART3A_U3AMODE.clearPDSEL0; inline;
  33334. begin
  33335. pTDefRegMap(@Self)^.clr := $00000002;
  33336. end;
  33337. procedure TUART3A_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  33338. begin
  33339. if thebits = 0 then
  33340. pTDefRegMap(@Self)^.clr := $00000002
  33341. else
  33342. pTDefRegMap(@Self)^.&set := $00000002;
  33343. end;
  33344. function TUART3A_U3AMODE.getPDSEL0 : TBits_1; inline;
  33345. begin
  33346. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33347. end;
  33348. procedure TUART3A_U3AMODE.setPDSEL1; inline;
  33349. begin
  33350. pTDefRegMap(@Self)^.&set := $00000004;
  33351. end;
  33352. procedure TUART3A_U3AMODE.clearPDSEL1; inline;
  33353. begin
  33354. pTDefRegMap(@Self)^.clr := $00000004;
  33355. end;
  33356. procedure TUART3A_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  33357. begin
  33358. if thebits = 0 then
  33359. pTDefRegMap(@Self)^.clr := $00000004
  33360. else
  33361. pTDefRegMap(@Self)^.&set := $00000004;
  33362. end;
  33363. function TUART3A_U3AMODE.getPDSEL1 : TBits_1; inline;
  33364. begin
  33365. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33366. end;
  33367. procedure TUART3A_U3AMODE.setUEN0; inline;
  33368. begin
  33369. pTDefRegMap(@Self)^.&set := $00000100;
  33370. end;
  33371. procedure TUART3A_U3AMODE.clearUEN0; inline;
  33372. begin
  33373. pTDefRegMap(@Self)^.clr := $00000100;
  33374. end;
  33375. procedure TUART3A_U3AMODE.setUEN0(thebits : TBits_1); inline;
  33376. begin
  33377. if thebits = 0 then
  33378. pTDefRegMap(@Self)^.clr := $00000100
  33379. else
  33380. pTDefRegMap(@Self)^.&set := $00000100;
  33381. end;
  33382. function TUART3A_U3AMODE.getUEN0 : TBits_1; inline;
  33383. begin
  33384. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33385. end;
  33386. procedure TUART3A_U3AMODE.setUEN1; inline;
  33387. begin
  33388. pTDefRegMap(@Self)^.&set := $00000200;
  33389. end;
  33390. procedure TUART3A_U3AMODE.clearUEN1; inline;
  33391. begin
  33392. pTDefRegMap(@Self)^.clr := $00000200;
  33393. end;
  33394. procedure TUART3A_U3AMODE.setUEN1(thebits : TBits_1); inline;
  33395. begin
  33396. if thebits = 0 then
  33397. pTDefRegMap(@Self)^.clr := $00000200
  33398. else
  33399. pTDefRegMap(@Self)^.&set := $00000200;
  33400. end;
  33401. function TUART3A_U3AMODE.getUEN1 : TBits_1; inline;
  33402. begin
  33403. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33404. end;
  33405. procedure TUART3A_U3AMODE.setUSIDL; inline;
  33406. begin
  33407. pTDefRegMap(@Self)^.&set := $00002000;
  33408. end;
  33409. procedure TUART3A_U3AMODE.clearUSIDL; inline;
  33410. begin
  33411. pTDefRegMap(@Self)^.clr := $00002000;
  33412. end;
  33413. procedure TUART3A_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  33414. begin
  33415. if thebits = 0 then
  33416. pTDefRegMap(@Self)^.clr := $00002000
  33417. else
  33418. pTDefRegMap(@Self)^.&set := $00002000;
  33419. end;
  33420. function TUART3A_U3AMODE.getUSIDL : TBits_1; inline;
  33421. begin
  33422. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33423. end;
  33424. procedure TUART3A_U3AMODE.setUARTEN; inline;
  33425. begin
  33426. pTDefRegMap(@Self)^.&set := $00008000;
  33427. end;
  33428. procedure TUART3A_U3AMODE.clearUARTEN; inline;
  33429. begin
  33430. pTDefRegMap(@Self)^.clr := $00008000;
  33431. end;
  33432. procedure TUART3A_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  33433. begin
  33434. if thebits = 0 then
  33435. pTDefRegMap(@Self)^.clr := $00008000
  33436. else
  33437. pTDefRegMap(@Self)^.&set := $00008000;
  33438. end;
  33439. function TUART3A_U3AMODE.getUARTEN : TBits_1; inline;
  33440. begin
  33441. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33442. end;
  33443. procedure TUART3A_U3AMODE.setw(thebits : TBits_32); inline;
  33444. begin
  33445. pTDefRegMap(@Self)^.val := thebits;
  33446. end;
  33447. function TUART3A_U3AMODE.getw : TBits_32; inline;
  33448. begin
  33449. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33450. end;
  33451. procedure TUART3A_U2STA.setURXDA; inline;
  33452. begin
  33453. pTDefRegMap(@Self)^.&set := $00000001;
  33454. end;
  33455. procedure TUART3A_U2STA.clearURXDA; inline;
  33456. begin
  33457. pTDefRegMap(@Self)^.clr := $00000001;
  33458. end;
  33459. procedure TUART3A_U2STA.setURXDA(thebits : TBits_1); inline;
  33460. begin
  33461. if thebits = 0 then
  33462. pTDefRegMap(@Self)^.clr := $00000001
  33463. else
  33464. pTDefRegMap(@Self)^.&set := $00000001;
  33465. end;
  33466. function TUART3A_U2STA.getURXDA : TBits_1; inline;
  33467. begin
  33468. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33469. end;
  33470. procedure TUART3A_U2STA.setOERR; inline;
  33471. begin
  33472. pTDefRegMap(@Self)^.&set := $00000002;
  33473. end;
  33474. procedure TUART3A_U2STA.clearOERR; inline;
  33475. begin
  33476. pTDefRegMap(@Self)^.clr := $00000002;
  33477. end;
  33478. procedure TUART3A_U2STA.setOERR(thebits : TBits_1); inline;
  33479. begin
  33480. if thebits = 0 then
  33481. pTDefRegMap(@Self)^.clr := $00000002
  33482. else
  33483. pTDefRegMap(@Self)^.&set := $00000002;
  33484. end;
  33485. function TUART3A_U2STA.getOERR : TBits_1; inline;
  33486. begin
  33487. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33488. end;
  33489. procedure TUART3A_U2STA.setFERR; inline;
  33490. begin
  33491. pTDefRegMap(@Self)^.&set := $00000004;
  33492. end;
  33493. procedure TUART3A_U2STA.clearFERR; inline;
  33494. begin
  33495. pTDefRegMap(@Self)^.clr := $00000004;
  33496. end;
  33497. procedure TUART3A_U2STA.setFERR(thebits : TBits_1); inline;
  33498. begin
  33499. if thebits = 0 then
  33500. pTDefRegMap(@Self)^.clr := $00000004
  33501. else
  33502. pTDefRegMap(@Self)^.&set := $00000004;
  33503. end;
  33504. function TUART3A_U2STA.getFERR : TBits_1; inline;
  33505. begin
  33506. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33507. end;
  33508. procedure TUART3A_U2STA.setPERR; inline;
  33509. begin
  33510. pTDefRegMap(@Self)^.&set := $00000008;
  33511. end;
  33512. procedure TUART3A_U2STA.clearPERR; inline;
  33513. begin
  33514. pTDefRegMap(@Self)^.clr := $00000008;
  33515. end;
  33516. procedure TUART3A_U2STA.setPERR(thebits : TBits_1); inline;
  33517. begin
  33518. if thebits = 0 then
  33519. pTDefRegMap(@Self)^.clr := $00000008
  33520. else
  33521. pTDefRegMap(@Self)^.&set := $00000008;
  33522. end;
  33523. function TUART3A_U2STA.getPERR : TBits_1; inline;
  33524. begin
  33525. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33526. end;
  33527. procedure TUART3A_U2STA.setRIDLE; inline;
  33528. begin
  33529. pTDefRegMap(@Self)^.&set := $00000010;
  33530. end;
  33531. procedure TUART3A_U2STA.clearRIDLE; inline;
  33532. begin
  33533. pTDefRegMap(@Self)^.clr := $00000010;
  33534. end;
  33535. procedure TUART3A_U2STA.setRIDLE(thebits : TBits_1); inline;
  33536. begin
  33537. if thebits = 0 then
  33538. pTDefRegMap(@Self)^.clr := $00000010
  33539. else
  33540. pTDefRegMap(@Self)^.&set := $00000010;
  33541. end;
  33542. function TUART3A_U2STA.getRIDLE : TBits_1; inline;
  33543. begin
  33544. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33545. end;
  33546. procedure TUART3A_U2STA.setADDEN; inline;
  33547. begin
  33548. pTDefRegMap(@Self)^.&set := $00000020;
  33549. end;
  33550. procedure TUART3A_U2STA.clearADDEN; inline;
  33551. begin
  33552. pTDefRegMap(@Self)^.clr := $00000020;
  33553. end;
  33554. procedure TUART3A_U2STA.setADDEN(thebits : TBits_1); inline;
  33555. begin
  33556. if thebits = 0 then
  33557. pTDefRegMap(@Self)^.clr := $00000020
  33558. else
  33559. pTDefRegMap(@Self)^.&set := $00000020;
  33560. end;
  33561. function TUART3A_U2STA.getADDEN : TBits_1; inline;
  33562. begin
  33563. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33564. end;
  33565. procedure TUART3A_U2STA.setURXISEL(thebits : TBits_2); inline;
  33566. begin
  33567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33568. end;
  33569. function TUART3A_U2STA.getURXISEL : TBits_2; inline;
  33570. begin
  33571. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33572. end;
  33573. procedure TUART3A_U2STA.setTRMT; inline;
  33574. begin
  33575. pTDefRegMap(@Self)^.&set := $00000100;
  33576. end;
  33577. procedure TUART3A_U2STA.clearTRMT; inline;
  33578. begin
  33579. pTDefRegMap(@Self)^.clr := $00000100;
  33580. end;
  33581. procedure TUART3A_U2STA.setTRMT(thebits : TBits_1); inline;
  33582. begin
  33583. if thebits = 0 then
  33584. pTDefRegMap(@Self)^.clr := $00000100
  33585. else
  33586. pTDefRegMap(@Self)^.&set := $00000100;
  33587. end;
  33588. function TUART3A_U2STA.getTRMT : TBits_1; inline;
  33589. begin
  33590. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33591. end;
  33592. procedure TUART3A_U2STA.setUTXBF; inline;
  33593. begin
  33594. pTDefRegMap(@Self)^.&set := $00000200;
  33595. end;
  33596. procedure TUART3A_U2STA.clearUTXBF; inline;
  33597. begin
  33598. pTDefRegMap(@Self)^.clr := $00000200;
  33599. end;
  33600. procedure TUART3A_U2STA.setUTXBF(thebits : TBits_1); inline;
  33601. begin
  33602. if thebits = 0 then
  33603. pTDefRegMap(@Self)^.clr := $00000200
  33604. else
  33605. pTDefRegMap(@Self)^.&set := $00000200;
  33606. end;
  33607. function TUART3A_U2STA.getUTXBF : TBits_1; inline;
  33608. begin
  33609. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33610. end;
  33611. procedure TUART3A_U2STA.setUTXEN; inline;
  33612. begin
  33613. pTDefRegMap(@Self)^.&set := $00000400;
  33614. end;
  33615. procedure TUART3A_U2STA.clearUTXEN; inline;
  33616. begin
  33617. pTDefRegMap(@Self)^.clr := $00000400;
  33618. end;
  33619. procedure TUART3A_U2STA.setUTXEN(thebits : TBits_1); inline;
  33620. begin
  33621. if thebits = 0 then
  33622. pTDefRegMap(@Self)^.clr := $00000400
  33623. else
  33624. pTDefRegMap(@Self)^.&set := $00000400;
  33625. end;
  33626. function TUART3A_U2STA.getUTXEN : TBits_1; inline;
  33627. begin
  33628. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33629. end;
  33630. procedure TUART3A_U2STA.setUTXBRK; inline;
  33631. begin
  33632. pTDefRegMap(@Self)^.&set := $00000800;
  33633. end;
  33634. procedure TUART3A_U2STA.clearUTXBRK; inline;
  33635. begin
  33636. pTDefRegMap(@Self)^.clr := $00000800;
  33637. end;
  33638. procedure TUART3A_U2STA.setUTXBRK(thebits : TBits_1); inline;
  33639. begin
  33640. if thebits = 0 then
  33641. pTDefRegMap(@Self)^.clr := $00000800
  33642. else
  33643. pTDefRegMap(@Self)^.&set := $00000800;
  33644. end;
  33645. function TUART3A_U2STA.getUTXBRK : TBits_1; inline;
  33646. begin
  33647. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33648. end;
  33649. procedure TUART3A_U2STA.setURXEN; inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.&set := $00001000;
  33652. end;
  33653. procedure TUART3A_U2STA.clearURXEN; inline;
  33654. begin
  33655. pTDefRegMap(@Self)^.clr := $00001000;
  33656. end;
  33657. procedure TUART3A_U2STA.setURXEN(thebits : TBits_1); inline;
  33658. begin
  33659. if thebits = 0 then
  33660. pTDefRegMap(@Self)^.clr := $00001000
  33661. else
  33662. pTDefRegMap(@Self)^.&set := $00001000;
  33663. end;
  33664. function TUART3A_U2STA.getURXEN : TBits_1; inline;
  33665. begin
  33666. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33667. end;
  33668. procedure TUART3A_U2STA.setUTXINV; inline;
  33669. begin
  33670. pTDefRegMap(@Self)^.&set := $00002000;
  33671. end;
  33672. procedure TUART3A_U2STA.clearUTXINV; inline;
  33673. begin
  33674. pTDefRegMap(@Self)^.clr := $00002000;
  33675. end;
  33676. procedure TUART3A_U2STA.setUTXINV(thebits : TBits_1); inline;
  33677. begin
  33678. if thebits = 0 then
  33679. pTDefRegMap(@Self)^.clr := $00002000
  33680. else
  33681. pTDefRegMap(@Self)^.&set := $00002000;
  33682. end;
  33683. function TUART3A_U2STA.getUTXINV : TBits_1; inline;
  33684. begin
  33685. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33686. end;
  33687. procedure TUART3A_U2STA.setUTXISEL(thebits : TBits_2); inline;
  33688. begin
  33689. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33690. end;
  33691. function TUART3A_U2STA.getUTXISEL : TBits_2; inline;
  33692. begin
  33693. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33694. end;
  33695. procedure TUART3A_U2STA.setADDR(thebits : TBits_8); inline;
  33696. begin
  33697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33698. end;
  33699. function TUART3A_U2STA.getADDR : TBits_8; inline;
  33700. begin
  33701. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33702. end;
  33703. procedure TUART3A_U2STA.setADM_EN; inline;
  33704. begin
  33705. pTDefRegMap(@Self)^.&set := $01000000;
  33706. end;
  33707. procedure TUART3A_U2STA.clearADM_EN; inline;
  33708. begin
  33709. pTDefRegMap(@Self)^.clr := $01000000;
  33710. end;
  33711. procedure TUART3A_U2STA.setADM_EN(thebits : TBits_1); inline;
  33712. begin
  33713. if thebits = 0 then
  33714. pTDefRegMap(@Self)^.clr := $01000000
  33715. else
  33716. pTDefRegMap(@Self)^.&set := $01000000;
  33717. end;
  33718. function TUART3A_U2STA.getADM_EN : TBits_1; inline;
  33719. begin
  33720. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33721. end;
  33722. procedure TUART3A_U2STA.setURXISEL0; inline;
  33723. begin
  33724. pTDefRegMap(@Self)^.&set := $00000040;
  33725. end;
  33726. procedure TUART3A_U2STA.clearURXISEL0; inline;
  33727. begin
  33728. pTDefRegMap(@Self)^.clr := $00000040;
  33729. end;
  33730. procedure TUART3A_U2STA.setURXISEL0(thebits : TBits_1); inline;
  33731. begin
  33732. if thebits = 0 then
  33733. pTDefRegMap(@Self)^.clr := $00000040
  33734. else
  33735. pTDefRegMap(@Self)^.&set := $00000040;
  33736. end;
  33737. function TUART3A_U2STA.getURXISEL0 : TBits_1; inline;
  33738. begin
  33739. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33740. end;
  33741. procedure TUART3A_U2STA.setURXISEL1; inline;
  33742. begin
  33743. pTDefRegMap(@Self)^.&set := $00000080;
  33744. end;
  33745. procedure TUART3A_U2STA.clearURXISEL1; inline;
  33746. begin
  33747. pTDefRegMap(@Self)^.clr := $00000080;
  33748. end;
  33749. procedure TUART3A_U2STA.setURXISEL1(thebits : TBits_1); inline;
  33750. begin
  33751. if thebits = 0 then
  33752. pTDefRegMap(@Self)^.clr := $00000080
  33753. else
  33754. pTDefRegMap(@Self)^.&set := $00000080;
  33755. end;
  33756. function TUART3A_U2STA.getURXISEL1 : TBits_1; inline;
  33757. begin
  33758. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33759. end;
  33760. procedure TUART3A_U2STA.setUTXISEL0; inline;
  33761. begin
  33762. pTDefRegMap(@Self)^.&set := $00004000;
  33763. end;
  33764. procedure TUART3A_U2STA.clearUTXISEL0; inline;
  33765. begin
  33766. pTDefRegMap(@Self)^.clr := $00004000;
  33767. end;
  33768. procedure TUART3A_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  33769. begin
  33770. if thebits = 0 then
  33771. pTDefRegMap(@Self)^.clr := $00004000
  33772. else
  33773. pTDefRegMap(@Self)^.&set := $00004000;
  33774. end;
  33775. function TUART3A_U2STA.getUTXISEL0 : TBits_1; inline;
  33776. begin
  33777. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33778. end;
  33779. procedure TUART3A_U2STA.setUTXISEL1; inline;
  33780. begin
  33781. pTDefRegMap(@Self)^.&set := $00008000;
  33782. end;
  33783. procedure TUART3A_U2STA.clearUTXISEL1; inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.clr := $00008000;
  33786. end;
  33787. procedure TUART3A_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  33788. begin
  33789. if thebits = 0 then
  33790. pTDefRegMap(@Self)^.clr := $00008000
  33791. else
  33792. pTDefRegMap(@Self)^.&set := $00008000;
  33793. end;
  33794. function TUART3A_U2STA.getUTXISEL1 : TBits_1; inline;
  33795. begin
  33796. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33797. end;
  33798. procedure TUART3A_U2STA.setUTXSEL(thebits : TBits_2); inline;
  33799. begin
  33800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33801. end;
  33802. function TUART3A_U2STA.getUTXSEL : TBits_2; inline;
  33803. begin
  33804. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33805. end;
  33806. procedure TUART3A_U2STA.setw(thebits : TBits_32); inline;
  33807. begin
  33808. pTDefRegMap(@Self)^.val := thebits;
  33809. end;
  33810. function TUART3A_U2STA.getw : TBits_32; inline;
  33811. begin
  33812. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33813. end;
  33814. procedure TUART3A_U3ASTA.setURXDA; inline;
  33815. begin
  33816. pTDefRegMap(@Self)^.&set := $00000001;
  33817. end;
  33818. procedure TUART3A_U3ASTA.clearURXDA; inline;
  33819. begin
  33820. pTDefRegMap(@Self)^.clr := $00000001;
  33821. end;
  33822. procedure TUART3A_U3ASTA.setURXDA(thebits : TBits_1); inline;
  33823. begin
  33824. if thebits = 0 then
  33825. pTDefRegMap(@Self)^.clr := $00000001
  33826. else
  33827. pTDefRegMap(@Self)^.&set := $00000001;
  33828. end;
  33829. function TUART3A_U3ASTA.getURXDA : TBits_1; inline;
  33830. begin
  33831. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33832. end;
  33833. procedure TUART3A_U3ASTA.setOERR; inline;
  33834. begin
  33835. pTDefRegMap(@Self)^.&set := $00000002;
  33836. end;
  33837. procedure TUART3A_U3ASTA.clearOERR; inline;
  33838. begin
  33839. pTDefRegMap(@Self)^.clr := $00000002;
  33840. end;
  33841. procedure TUART3A_U3ASTA.setOERR(thebits : TBits_1); inline;
  33842. begin
  33843. if thebits = 0 then
  33844. pTDefRegMap(@Self)^.clr := $00000002
  33845. else
  33846. pTDefRegMap(@Self)^.&set := $00000002;
  33847. end;
  33848. function TUART3A_U3ASTA.getOERR : TBits_1; inline;
  33849. begin
  33850. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33851. end;
  33852. procedure TUART3A_U3ASTA.setFERR; inline;
  33853. begin
  33854. pTDefRegMap(@Self)^.&set := $00000004;
  33855. end;
  33856. procedure TUART3A_U3ASTA.clearFERR; inline;
  33857. begin
  33858. pTDefRegMap(@Self)^.clr := $00000004;
  33859. end;
  33860. procedure TUART3A_U3ASTA.setFERR(thebits : TBits_1); inline;
  33861. begin
  33862. if thebits = 0 then
  33863. pTDefRegMap(@Self)^.clr := $00000004
  33864. else
  33865. pTDefRegMap(@Self)^.&set := $00000004;
  33866. end;
  33867. function TUART3A_U3ASTA.getFERR : TBits_1; inline;
  33868. begin
  33869. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33870. end;
  33871. procedure TUART3A_U3ASTA.setPERR; inline;
  33872. begin
  33873. pTDefRegMap(@Self)^.&set := $00000008;
  33874. end;
  33875. procedure TUART3A_U3ASTA.clearPERR; inline;
  33876. begin
  33877. pTDefRegMap(@Self)^.clr := $00000008;
  33878. end;
  33879. procedure TUART3A_U3ASTA.setPERR(thebits : TBits_1); inline;
  33880. begin
  33881. if thebits = 0 then
  33882. pTDefRegMap(@Self)^.clr := $00000008
  33883. else
  33884. pTDefRegMap(@Self)^.&set := $00000008;
  33885. end;
  33886. function TUART3A_U3ASTA.getPERR : TBits_1; inline;
  33887. begin
  33888. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33889. end;
  33890. procedure TUART3A_U3ASTA.setRIDLE; inline;
  33891. begin
  33892. pTDefRegMap(@Self)^.&set := $00000010;
  33893. end;
  33894. procedure TUART3A_U3ASTA.clearRIDLE; inline;
  33895. begin
  33896. pTDefRegMap(@Self)^.clr := $00000010;
  33897. end;
  33898. procedure TUART3A_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  33899. begin
  33900. if thebits = 0 then
  33901. pTDefRegMap(@Self)^.clr := $00000010
  33902. else
  33903. pTDefRegMap(@Self)^.&set := $00000010;
  33904. end;
  33905. function TUART3A_U3ASTA.getRIDLE : TBits_1; inline;
  33906. begin
  33907. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33908. end;
  33909. procedure TUART3A_U3ASTA.setADDEN; inline;
  33910. begin
  33911. pTDefRegMap(@Self)^.&set := $00000020;
  33912. end;
  33913. procedure TUART3A_U3ASTA.clearADDEN; inline;
  33914. begin
  33915. pTDefRegMap(@Self)^.clr := $00000020;
  33916. end;
  33917. procedure TUART3A_U3ASTA.setADDEN(thebits : TBits_1); inline;
  33918. begin
  33919. if thebits = 0 then
  33920. pTDefRegMap(@Self)^.clr := $00000020
  33921. else
  33922. pTDefRegMap(@Self)^.&set := $00000020;
  33923. end;
  33924. function TUART3A_U3ASTA.getADDEN : TBits_1; inline;
  33925. begin
  33926. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33927. end;
  33928. procedure TUART3A_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  33929. begin
  33930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33931. end;
  33932. function TUART3A_U3ASTA.getURXISEL : TBits_2; inline;
  33933. begin
  33934. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33935. end;
  33936. procedure TUART3A_U3ASTA.setTRMT; inline;
  33937. begin
  33938. pTDefRegMap(@Self)^.&set := $00000100;
  33939. end;
  33940. procedure TUART3A_U3ASTA.clearTRMT; inline;
  33941. begin
  33942. pTDefRegMap(@Self)^.clr := $00000100;
  33943. end;
  33944. procedure TUART3A_U3ASTA.setTRMT(thebits : TBits_1); inline;
  33945. begin
  33946. if thebits = 0 then
  33947. pTDefRegMap(@Self)^.clr := $00000100
  33948. else
  33949. pTDefRegMap(@Self)^.&set := $00000100;
  33950. end;
  33951. function TUART3A_U3ASTA.getTRMT : TBits_1; inline;
  33952. begin
  33953. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33954. end;
  33955. procedure TUART3A_U3ASTA.setUTXBF; inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.&set := $00000200;
  33958. end;
  33959. procedure TUART3A_U3ASTA.clearUTXBF; inline;
  33960. begin
  33961. pTDefRegMap(@Self)^.clr := $00000200;
  33962. end;
  33963. procedure TUART3A_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  33964. begin
  33965. if thebits = 0 then
  33966. pTDefRegMap(@Self)^.clr := $00000200
  33967. else
  33968. pTDefRegMap(@Self)^.&set := $00000200;
  33969. end;
  33970. function TUART3A_U3ASTA.getUTXBF : TBits_1; inline;
  33971. begin
  33972. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33973. end;
  33974. procedure TUART3A_U3ASTA.setUTXEN; inline;
  33975. begin
  33976. pTDefRegMap(@Self)^.&set := $00000400;
  33977. end;
  33978. procedure TUART3A_U3ASTA.clearUTXEN; inline;
  33979. begin
  33980. pTDefRegMap(@Self)^.clr := $00000400;
  33981. end;
  33982. procedure TUART3A_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  33983. begin
  33984. if thebits = 0 then
  33985. pTDefRegMap(@Self)^.clr := $00000400
  33986. else
  33987. pTDefRegMap(@Self)^.&set := $00000400;
  33988. end;
  33989. function TUART3A_U3ASTA.getUTXEN : TBits_1; inline;
  33990. begin
  33991. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33992. end;
  33993. procedure TUART3A_U3ASTA.setUTXBRK; inline;
  33994. begin
  33995. pTDefRegMap(@Self)^.&set := $00000800;
  33996. end;
  33997. procedure TUART3A_U3ASTA.clearUTXBRK; inline;
  33998. begin
  33999. pTDefRegMap(@Self)^.clr := $00000800;
  34000. end;
  34001. procedure TUART3A_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  34002. begin
  34003. if thebits = 0 then
  34004. pTDefRegMap(@Self)^.clr := $00000800
  34005. else
  34006. pTDefRegMap(@Self)^.&set := $00000800;
  34007. end;
  34008. function TUART3A_U3ASTA.getUTXBRK : TBits_1; inline;
  34009. begin
  34010. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34011. end;
  34012. procedure TUART3A_U3ASTA.setURXEN; inline;
  34013. begin
  34014. pTDefRegMap(@Self)^.&set := $00001000;
  34015. end;
  34016. procedure TUART3A_U3ASTA.clearURXEN; inline;
  34017. begin
  34018. pTDefRegMap(@Self)^.clr := $00001000;
  34019. end;
  34020. procedure TUART3A_U3ASTA.setURXEN(thebits : TBits_1); inline;
  34021. begin
  34022. if thebits = 0 then
  34023. pTDefRegMap(@Self)^.clr := $00001000
  34024. else
  34025. pTDefRegMap(@Self)^.&set := $00001000;
  34026. end;
  34027. function TUART3A_U3ASTA.getURXEN : TBits_1; inline;
  34028. begin
  34029. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34030. end;
  34031. procedure TUART3A_U3ASTA.setUTXINV; inline;
  34032. begin
  34033. pTDefRegMap(@Self)^.&set := $00002000;
  34034. end;
  34035. procedure TUART3A_U3ASTA.clearUTXINV; inline;
  34036. begin
  34037. pTDefRegMap(@Self)^.clr := $00002000;
  34038. end;
  34039. procedure TUART3A_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  34040. begin
  34041. if thebits = 0 then
  34042. pTDefRegMap(@Self)^.clr := $00002000
  34043. else
  34044. pTDefRegMap(@Self)^.&set := $00002000;
  34045. end;
  34046. function TUART3A_U3ASTA.getUTXINV : TBits_1; inline;
  34047. begin
  34048. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34049. end;
  34050. procedure TUART3A_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  34051. begin
  34052. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34053. end;
  34054. function TUART3A_U3ASTA.getUTXISEL : TBits_2; inline;
  34055. begin
  34056. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34057. end;
  34058. procedure TUART3A_U3ASTA.setADDR(thebits : TBits_8); inline;
  34059. begin
  34060. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34061. end;
  34062. function TUART3A_U3ASTA.getADDR : TBits_8; inline;
  34063. begin
  34064. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34065. end;
  34066. procedure TUART3A_U3ASTA.setADM_EN; inline;
  34067. begin
  34068. pTDefRegMap(@Self)^.&set := $01000000;
  34069. end;
  34070. procedure TUART3A_U3ASTA.clearADM_EN; inline;
  34071. begin
  34072. pTDefRegMap(@Self)^.clr := $01000000;
  34073. end;
  34074. procedure TUART3A_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  34075. begin
  34076. if thebits = 0 then
  34077. pTDefRegMap(@Self)^.clr := $01000000
  34078. else
  34079. pTDefRegMap(@Self)^.&set := $01000000;
  34080. end;
  34081. function TUART3A_U3ASTA.getADM_EN : TBits_1; inline;
  34082. begin
  34083. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34084. end;
  34085. procedure TUART3A_U3ASTA.setURXISEL0; inline;
  34086. begin
  34087. pTDefRegMap(@Self)^.&set := $00000040;
  34088. end;
  34089. procedure TUART3A_U3ASTA.clearURXISEL0; inline;
  34090. begin
  34091. pTDefRegMap(@Self)^.clr := $00000040;
  34092. end;
  34093. procedure TUART3A_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  34094. begin
  34095. if thebits = 0 then
  34096. pTDefRegMap(@Self)^.clr := $00000040
  34097. else
  34098. pTDefRegMap(@Self)^.&set := $00000040;
  34099. end;
  34100. function TUART3A_U3ASTA.getURXISEL0 : TBits_1; inline;
  34101. begin
  34102. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34103. end;
  34104. procedure TUART3A_U3ASTA.setURXISEL1; inline;
  34105. begin
  34106. pTDefRegMap(@Self)^.&set := $00000080;
  34107. end;
  34108. procedure TUART3A_U3ASTA.clearURXISEL1; inline;
  34109. begin
  34110. pTDefRegMap(@Self)^.clr := $00000080;
  34111. end;
  34112. procedure TUART3A_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  34113. begin
  34114. if thebits = 0 then
  34115. pTDefRegMap(@Self)^.clr := $00000080
  34116. else
  34117. pTDefRegMap(@Self)^.&set := $00000080;
  34118. end;
  34119. function TUART3A_U3ASTA.getURXISEL1 : TBits_1; inline;
  34120. begin
  34121. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34122. end;
  34123. procedure TUART3A_U3ASTA.setUTXISEL0; inline;
  34124. begin
  34125. pTDefRegMap(@Self)^.&set := $00004000;
  34126. end;
  34127. procedure TUART3A_U3ASTA.clearUTXISEL0; inline;
  34128. begin
  34129. pTDefRegMap(@Self)^.clr := $00004000;
  34130. end;
  34131. procedure TUART3A_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  34132. begin
  34133. if thebits = 0 then
  34134. pTDefRegMap(@Self)^.clr := $00004000
  34135. else
  34136. pTDefRegMap(@Self)^.&set := $00004000;
  34137. end;
  34138. function TUART3A_U3ASTA.getUTXISEL0 : TBits_1; inline;
  34139. begin
  34140. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34141. end;
  34142. procedure TUART3A_U3ASTA.setUTXISEL1; inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.&set := $00008000;
  34145. end;
  34146. procedure TUART3A_U3ASTA.clearUTXISEL1; inline;
  34147. begin
  34148. pTDefRegMap(@Self)^.clr := $00008000;
  34149. end;
  34150. procedure TUART3A_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  34151. begin
  34152. if thebits = 0 then
  34153. pTDefRegMap(@Self)^.clr := $00008000
  34154. else
  34155. pTDefRegMap(@Self)^.&set := $00008000;
  34156. end;
  34157. function TUART3A_U3ASTA.getUTXISEL1 : TBits_1; inline;
  34158. begin
  34159. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34160. end;
  34161. procedure TUART3A_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34164. end;
  34165. function TUART3A_U3ASTA.getUTXSEL : TBits_2; inline;
  34166. begin
  34167. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34168. end;
  34169. procedure TUART3A_U3ASTA.setw(thebits : TBits_32); inline;
  34170. begin
  34171. pTDefRegMap(@Self)^.val := thebits;
  34172. end;
  34173. function TUART3A_U3ASTA.getw : TBits_32; inline;
  34174. begin
  34175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34176. end;
  34177. procedure TUART5_U3BMODE.setSTSEL; inline;
  34178. begin
  34179. pTDefRegMap(@Self)^.&set := $00000001;
  34180. end;
  34181. procedure TUART5_U3BMODE.clearSTSEL; inline;
  34182. begin
  34183. pTDefRegMap(@Self)^.clr := $00000001;
  34184. end;
  34185. procedure TUART5_U3BMODE.setSTSEL(thebits : TBits_1); inline;
  34186. begin
  34187. if thebits = 0 then
  34188. pTDefRegMap(@Self)^.clr := $00000001
  34189. else
  34190. pTDefRegMap(@Self)^.&set := $00000001;
  34191. end;
  34192. function TUART5_U3BMODE.getSTSEL : TBits_1; inline;
  34193. begin
  34194. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34195. end;
  34196. procedure TUART5_U3BMODE.setPDSEL(thebits : TBits_2); inline;
  34197. begin
  34198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34199. end;
  34200. function TUART5_U3BMODE.getPDSEL : TBits_2; inline;
  34201. begin
  34202. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34203. end;
  34204. procedure TUART5_U3BMODE.setBRGH; inline;
  34205. begin
  34206. pTDefRegMap(@Self)^.&set := $00000008;
  34207. end;
  34208. procedure TUART5_U3BMODE.clearBRGH; inline;
  34209. begin
  34210. pTDefRegMap(@Self)^.clr := $00000008;
  34211. end;
  34212. procedure TUART5_U3BMODE.setBRGH(thebits : TBits_1); inline;
  34213. begin
  34214. if thebits = 0 then
  34215. pTDefRegMap(@Self)^.clr := $00000008
  34216. else
  34217. pTDefRegMap(@Self)^.&set := $00000008;
  34218. end;
  34219. function TUART5_U3BMODE.getBRGH : TBits_1; inline;
  34220. begin
  34221. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34222. end;
  34223. procedure TUART5_U3BMODE.setRXINV; inline;
  34224. begin
  34225. pTDefRegMap(@Self)^.&set := $00000010;
  34226. end;
  34227. procedure TUART5_U3BMODE.clearRXINV; inline;
  34228. begin
  34229. pTDefRegMap(@Self)^.clr := $00000010;
  34230. end;
  34231. procedure TUART5_U3BMODE.setRXINV(thebits : TBits_1); inline;
  34232. begin
  34233. if thebits = 0 then
  34234. pTDefRegMap(@Self)^.clr := $00000010
  34235. else
  34236. pTDefRegMap(@Self)^.&set := $00000010;
  34237. end;
  34238. function TUART5_U3BMODE.getRXINV : TBits_1; inline;
  34239. begin
  34240. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34241. end;
  34242. procedure TUART5_U3BMODE.setABAUD; inline;
  34243. begin
  34244. pTDefRegMap(@Self)^.&set := $00000020;
  34245. end;
  34246. procedure TUART5_U3BMODE.clearABAUD; inline;
  34247. begin
  34248. pTDefRegMap(@Self)^.clr := $00000020;
  34249. end;
  34250. procedure TUART5_U3BMODE.setABAUD(thebits : TBits_1); inline;
  34251. begin
  34252. if thebits = 0 then
  34253. pTDefRegMap(@Self)^.clr := $00000020
  34254. else
  34255. pTDefRegMap(@Self)^.&set := $00000020;
  34256. end;
  34257. function TUART5_U3BMODE.getABAUD : TBits_1; inline;
  34258. begin
  34259. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34260. end;
  34261. procedure TUART5_U3BMODE.setLPBACK; inline;
  34262. begin
  34263. pTDefRegMap(@Self)^.&set := $00000040;
  34264. end;
  34265. procedure TUART5_U3BMODE.clearLPBACK; inline;
  34266. begin
  34267. pTDefRegMap(@Self)^.clr := $00000040;
  34268. end;
  34269. procedure TUART5_U3BMODE.setLPBACK(thebits : TBits_1); inline;
  34270. begin
  34271. if thebits = 0 then
  34272. pTDefRegMap(@Self)^.clr := $00000040
  34273. else
  34274. pTDefRegMap(@Self)^.&set := $00000040;
  34275. end;
  34276. function TUART5_U3BMODE.getLPBACK : TBits_1; inline;
  34277. begin
  34278. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34279. end;
  34280. procedure TUART5_U3BMODE.setWAKE; inline;
  34281. begin
  34282. pTDefRegMap(@Self)^.&set := $00000080;
  34283. end;
  34284. procedure TUART5_U3BMODE.clearWAKE; inline;
  34285. begin
  34286. pTDefRegMap(@Self)^.clr := $00000080;
  34287. end;
  34288. procedure TUART5_U3BMODE.setWAKE(thebits : TBits_1); inline;
  34289. begin
  34290. if thebits = 0 then
  34291. pTDefRegMap(@Self)^.clr := $00000080
  34292. else
  34293. pTDefRegMap(@Self)^.&set := $00000080;
  34294. end;
  34295. function TUART5_U3BMODE.getWAKE : TBits_1; inline;
  34296. begin
  34297. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34298. end;
  34299. procedure TUART5_U3BMODE.setIREN; inline;
  34300. begin
  34301. pTDefRegMap(@Self)^.&set := $00001000;
  34302. end;
  34303. procedure TUART5_U3BMODE.clearIREN; inline;
  34304. begin
  34305. pTDefRegMap(@Self)^.clr := $00001000;
  34306. end;
  34307. procedure TUART5_U3BMODE.setIREN(thebits : TBits_1); inline;
  34308. begin
  34309. if thebits = 0 then
  34310. pTDefRegMap(@Self)^.clr := $00001000
  34311. else
  34312. pTDefRegMap(@Self)^.&set := $00001000;
  34313. end;
  34314. function TUART5_U3BMODE.getIREN : TBits_1; inline;
  34315. begin
  34316. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34317. end;
  34318. procedure TUART5_U3BMODE.setSIDL; inline;
  34319. begin
  34320. pTDefRegMap(@Self)^.&set := $00002000;
  34321. end;
  34322. procedure TUART5_U3BMODE.clearSIDL; inline;
  34323. begin
  34324. pTDefRegMap(@Self)^.clr := $00002000;
  34325. end;
  34326. procedure TUART5_U3BMODE.setSIDL(thebits : TBits_1); inline;
  34327. begin
  34328. if thebits = 0 then
  34329. pTDefRegMap(@Self)^.clr := $00002000
  34330. else
  34331. pTDefRegMap(@Self)^.&set := $00002000;
  34332. end;
  34333. function TUART5_U3BMODE.getSIDL : TBits_1; inline;
  34334. begin
  34335. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34336. end;
  34337. procedure TUART5_U3BMODE.setON; inline;
  34338. begin
  34339. pTDefRegMap(@Self)^.&set := $00008000;
  34340. end;
  34341. procedure TUART5_U3BMODE.clearON; inline;
  34342. begin
  34343. pTDefRegMap(@Self)^.clr := $00008000;
  34344. end;
  34345. procedure TUART5_U3BMODE.setON(thebits : TBits_1); inline;
  34346. begin
  34347. if thebits = 0 then
  34348. pTDefRegMap(@Self)^.clr := $00008000
  34349. else
  34350. pTDefRegMap(@Self)^.&set := $00008000;
  34351. end;
  34352. function TUART5_U3BMODE.getON : TBits_1; inline;
  34353. begin
  34354. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34355. end;
  34356. procedure TUART5_U3BMODE.setPDSEL0; inline;
  34357. begin
  34358. pTDefRegMap(@Self)^.&set := $00000002;
  34359. end;
  34360. procedure TUART5_U3BMODE.clearPDSEL0; inline;
  34361. begin
  34362. pTDefRegMap(@Self)^.clr := $00000002;
  34363. end;
  34364. procedure TUART5_U3BMODE.setPDSEL0(thebits : TBits_1); inline;
  34365. begin
  34366. if thebits = 0 then
  34367. pTDefRegMap(@Self)^.clr := $00000002
  34368. else
  34369. pTDefRegMap(@Self)^.&set := $00000002;
  34370. end;
  34371. function TUART5_U3BMODE.getPDSEL0 : TBits_1; inline;
  34372. begin
  34373. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34374. end;
  34375. procedure TUART5_U3BMODE.setPDSEL1; inline;
  34376. begin
  34377. pTDefRegMap(@Self)^.&set := $00000004;
  34378. end;
  34379. procedure TUART5_U3BMODE.clearPDSEL1; inline;
  34380. begin
  34381. pTDefRegMap(@Self)^.clr := $00000004;
  34382. end;
  34383. procedure TUART5_U3BMODE.setPDSEL1(thebits : TBits_1); inline;
  34384. begin
  34385. if thebits = 0 then
  34386. pTDefRegMap(@Self)^.clr := $00000004
  34387. else
  34388. pTDefRegMap(@Self)^.&set := $00000004;
  34389. end;
  34390. function TUART5_U3BMODE.getPDSEL1 : TBits_1; inline;
  34391. begin
  34392. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34393. end;
  34394. procedure TUART5_U3BMODE.setUSIDL; inline;
  34395. begin
  34396. pTDefRegMap(@Self)^.&set := $00002000;
  34397. end;
  34398. procedure TUART5_U3BMODE.clearUSIDL; inline;
  34399. begin
  34400. pTDefRegMap(@Self)^.clr := $00002000;
  34401. end;
  34402. procedure TUART5_U3BMODE.setUSIDL(thebits : TBits_1); inline;
  34403. begin
  34404. if thebits = 0 then
  34405. pTDefRegMap(@Self)^.clr := $00002000
  34406. else
  34407. pTDefRegMap(@Self)^.&set := $00002000;
  34408. end;
  34409. function TUART5_U3BMODE.getUSIDL : TBits_1; inline;
  34410. begin
  34411. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34412. end;
  34413. procedure TUART5_U3BMODE.setUARTEN; inline;
  34414. begin
  34415. pTDefRegMap(@Self)^.&set := $00008000;
  34416. end;
  34417. procedure TUART5_U3BMODE.clearUARTEN; inline;
  34418. begin
  34419. pTDefRegMap(@Self)^.clr := $00008000;
  34420. end;
  34421. procedure TUART5_U3BMODE.setUARTEN(thebits : TBits_1); inline;
  34422. begin
  34423. if thebits = 0 then
  34424. pTDefRegMap(@Self)^.clr := $00008000
  34425. else
  34426. pTDefRegMap(@Self)^.&set := $00008000;
  34427. end;
  34428. function TUART5_U3BMODE.getUARTEN : TBits_1; inline;
  34429. begin
  34430. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34431. end;
  34432. procedure TUART5_U3BMODE.setw(thebits : TBits_32); inline;
  34433. begin
  34434. pTDefRegMap(@Self)^.val := thebits;
  34435. end;
  34436. function TUART5_U3BMODE.getw : TBits_32; inline;
  34437. begin
  34438. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34439. end;
  34440. procedure TUART5_U5MODE.setSTSEL; inline;
  34441. begin
  34442. pTDefRegMap(@Self)^.&set := $00000001;
  34443. end;
  34444. procedure TUART5_U5MODE.clearSTSEL; inline;
  34445. begin
  34446. pTDefRegMap(@Self)^.clr := $00000001;
  34447. end;
  34448. procedure TUART5_U5MODE.setSTSEL(thebits : TBits_1); inline;
  34449. begin
  34450. if thebits = 0 then
  34451. pTDefRegMap(@Self)^.clr := $00000001
  34452. else
  34453. pTDefRegMap(@Self)^.&set := $00000001;
  34454. end;
  34455. function TUART5_U5MODE.getSTSEL : TBits_1; inline;
  34456. begin
  34457. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34458. end;
  34459. procedure TUART5_U5MODE.setPDSEL(thebits : TBits_2); inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34462. end;
  34463. function TUART5_U5MODE.getPDSEL : TBits_2; inline;
  34464. begin
  34465. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34466. end;
  34467. procedure TUART5_U5MODE.setBRGH; inline;
  34468. begin
  34469. pTDefRegMap(@Self)^.&set := $00000008;
  34470. end;
  34471. procedure TUART5_U5MODE.clearBRGH; inline;
  34472. begin
  34473. pTDefRegMap(@Self)^.clr := $00000008;
  34474. end;
  34475. procedure TUART5_U5MODE.setBRGH(thebits : TBits_1); inline;
  34476. begin
  34477. if thebits = 0 then
  34478. pTDefRegMap(@Self)^.clr := $00000008
  34479. else
  34480. pTDefRegMap(@Self)^.&set := $00000008;
  34481. end;
  34482. function TUART5_U5MODE.getBRGH : TBits_1; inline;
  34483. begin
  34484. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34485. end;
  34486. procedure TUART5_U5MODE.setRXINV; inline;
  34487. begin
  34488. pTDefRegMap(@Self)^.&set := $00000010;
  34489. end;
  34490. procedure TUART5_U5MODE.clearRXINV; inline;
  34491. begin
  34492. pTDefRegMap(@Self)^.clr := $00000010;
  34493. end;
  34494. procedure TUART5_U5MODE.setRXINV(thebits : TBits_1); inline;
  34495. begin
  34496. if thebits = 0 then
  34497. pTDefRegMap(@Self)^.clr := $00000010
  34498. else
  34499. pTDefRegMap(@Self)^.&set := $00000010;
  34500. end;
  34501. function TUART5_U5MODE.getRXINV : TBits_1; inline;
  34502. begin
  34503. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34504. end;
  34505. procedure TUART5_U5MODE.setABAUD; inline;
  34506. begin
  34507. pTDefRegMap(@Self)^.&set := $00000020;
  34508. end;
  34509. procedure TUART5_U5MODE.clearABAUD; inline;
  34510. begin
  34511. pTDefRegMap(@Self)^.clr := $00000020;
  34512. end;
  34513. procedure TUART5_U5MODE.setABAUD(thebits : TBits_1); inline;
  34514. begin
  34515. if thebits = 0 then
  34516. pTDefRegMap(@Self)^.clr := $00000020
  34517. else
  34518. pTDefRegMap(@Self)^.&set := $00000020;
  34519. end;
  34520. function TUART5_U5MODE.getABAUD : TBits_1; inline;
  34521. begin
  34522. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34523. end;
  34524. procedure TUART5_U5MODE.setLPBACK; inline;
  34525. begin
  34526. pTDefRegMap(@Self)^.&set := $00000040;
  34527. end;
  34528. procedure TUART5_U5MODE.clearLPBACK; inline;
  34529. begin
  34530. pTDefRegMap(@Self)^.clr := $00000040;
  34531. end;
  34532. procedure TUART5_U5MODE.setLPBACK(thebits : TBits_1); inline;
  34533. begin
  34534. if thebits = 0 then
  34535. pTDefRegMap(@Self)^.clr := $00000040
  34536. else
  34537. pTDefRegMap(@Self)^.&set := $00000040;
  34538. end;
  34539. function TUART5_U5MODE.getLPBACK : TBits_1; inline;
  34540. begin
  34541. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34542. end;
  34543. procedure TUART5_U5MODE.setWAKE; inline;
  34544. begin
  34545. pTDefRegMap(@Self)^.&set := $00000080;
  34546. end;
  34547. procedure TUART5_U5MODE.clearWAKE; inline;
  34548. begin
  34549. pTDefRegMap(@Self)^.clr := $00000080;
  34550. end;
  34551. procedure TUART5_U5MODE.setWAKE(thebits : TBits_1); inline;
  34552. begin
  34553. if thebits = 0 then
  34554. pTDefRegMap(@Self)^.clr := $00000080
  34555. else
  34556. pTDefRegMap(@Self)^.&set := $00000080;
  34557. end;
  34558. function TUART5_U5MODE.getWAKE : TBits_1; inline;
  34559. begin
  34560. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34561. end;
  34562. procedure TUART5_U5MODE.setIREN; inline;
  34563. begin
  34564. pTDefRegMap(@Self)^.&set := $00001000;
  34565. end;
  34566. procedure TUART5_U5MODE.clearIREN; inline;
  34567. begin
  34568. pTDefRegMap(@Self)^.clr := $00001000;
  34569. end;
  34570. procedure TUART5_U5MODE.setIREN(thebits : TBits_1); inline;
  34571. begin
  34572. if thebits = 0 then
  34573. pTDefRegMap(@Self)^.clr := $00001000
  34574. else
  34575. pTDefRegMap(@Self)^.&set := $00001000;
  34576. end;
  34577. function TUART5_U5MODE.getIREN : TBits_1; inline;
  34578. begin
  34579. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34580. end;
  34581. procedure TUART5_U5MODE.setSIDL; inline;
  34582. begin
  34583. pTDefRegMap(@Self)^.&set := $00002000;
  34584. end;
  34585. procedure TUART5_U5MODE.clearSIDL; inline;
  34586. begin
  34587. pTDefRegMap(@Self)^.clr := $00002000;
  34588. end;
  34589. procedure TUART5_U5MODE.setSIDL(thebits : TBits_1); inline;
  34590. begin
  34591. if thebits = 0 then
  34592. pTDefRegMap(@Self)^.clr := $00002000
  34593. else
  34594. pTDefRegMap(@Self)^.&set := $00002000;
  34595. end;
  34596. function TUART5_U5MODE.getSIDL : TBits_1; inline;
  34597. begin
  34598. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34599. end;
  34600. procedure TUART5_U5MODE.setON; inline;
  34601. begin
  34602. pTDefRegMap(@Self)^.&set := $00008000;
  34603. end;
  34604. procedure TUART5_U5MODE.clearON; inline;
  34605. begin
  34606. pTDefRegMap(@Self)^.clr := $00008000;
  34607. end;
  34608. procedure TUART5_U5MODE.setON(thebits : TBits_1); inline;
  34609. begin
  34610. if thebits = 0 then
  34611. pTDefRegMap(@Self)^.clr := $00008000
  34612. else
  34613. pTDefRegMap(@Self)^.&set := $00008000;
  34614. end;
  34615. function TUART5_U5MODE.getON : TBits_1; inline;
  34616. begin
  34617. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34618. end;
  34619. procedure TUART5_U5MODE.setPDSEL0; inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.&set := $00000002;
  34622. end;
  34623. procedure TUART5_U5MODE.clearPDSEL0; inline;
  34624. begin
  34625. pTDefRegMap(@Self)^.clr := $00000002;
  34626. end;
  34627. procedure TUART5_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  34628. begin
  34629. if thebits = 0 then
  34630. pTDefRegMap(@Self)^.clr := $00000002
  34631. else
  34632. pTDefRegMap(@Self)^.&set := $00000002;
  34633. end;
  34634. function TUART5_U5MODE.getPDSEL0 : TBits_1; inline;
  34635. begin
  34636. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34637. end;
  34638. procedure TUART5_U5MODE.setPDSEL1; inline;
  34639. begin
  34640. pTDefRegMap(@Self)^.&set := $00000004;
  34641. end;
  34642. procedure TUART5_U5MODE.clearPDSEL1; inline;
  34643. begin
  34644. pTDefRegMap(@Self)^.clr := $00000004;
  34645. end;
  34646. procedure TUART5_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  34647. begin
  34648. if thebits = 0 then
  34649. pTDefRegMap(@Self)^.clr := $00000004
  34650. else
  34651. pTDefRegMap(@Self)^.&set := $00000004;
  34652. end;
  34653. function TUART5_U5MODE.getPDSEL1 : TBits_1; inline;
  34654. begin
  34655. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34656. end;
  34657. procedure TUART5_U5MODE.setUSIDL; inline;
  34658. begin
  34659. pTDefRegMap(@Self)^.&set := $00002000;
  34660. end;
  34661. procedure TUART5_U5MODE.clearUSIDL; inline;
  34662. begin
  34663. pTDefRegMap(@Self)^.clr := $00002000;
  34664. end;
  34665. procedure TUART5_U5MODE.setUSIDL(thebits : TBits_1); inline;
  34666. begin
  34667. if thebits = 0 then
  34668. pTDefRegMap(@Self)^.clr := $00002000
  34669. else
  34670. pTDefRegMap(@Self)^.&set := $00002000;
  34671. end;
  34672. function TUART5_U5MODE.getUSIDL : TBits_1; inline;
  34673. begin
  34674. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34675. end;
  34676. procedure TUART5_U5MODE.setUARTEN; inline;
  34677. begin
  34678. pTDefRegMap(@Self)^.&set := $00008000;
  34679. end;
  34680. procedure TUART5_U5MODE.clearUARTEN; inline;
  34681. begin
  34682. pTDefRegMap(@Self)^.clr := $00008000;
  34683. end;
  34684. procedure TUART5_U5MODE.setUARTEN(thebits : TBits_1); inline;
  34685. begin
  34686. if thebits = 0 then
  34687. pTDefRegMap(@Self)^.clr := $00008000
  34688. else
  34689. pTDefRegMap(@Self)^.&set := $00008000;
  34690. end;
  34691. function TUART5_U5MODE.getUARTEN : TBits_1; inline;
  34692. begin
  34693. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34694. end;
  34695. procedure TUART5_U5MODE.setw(thebits : TBits_32); inline;
  34696. begin
  34697. pTDefRegMap(@Self)^.val := thebits;
  34698. end;
  34699. function TUART5_U5MODE.getw : TBits_32; inline;
  34700. begin
  34701. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34702. end;
  34703. procedure TUART5_U3BSTA.setURXDA; inline;
  34704. begin
  34705. pTDefRegMap(@Self)^.&set := $00000001;
  34706. end;
  34707. procedure TUART5_U3BSTA.clearURXDA; inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.clr := $00000001;
  34710. end;
  34711. procedure TUART5_U3BSTA.setURXDA(thebits : TBits_1); inline;
  34712. begin
  34713. if thebits = 0 then
  34714. pTDefRegMap(@Self)^.clr := $00000001
  34715. else
  34716. pTDefRegMap(@Self)^.&set := $00000001;
  34717. end;
  34718. function TUART5_U3BSTA.getURXDA : TBits_1; inline;
  34719. begin
  34720. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34721. end;
  34722. procedure TUART5_U3BSTA.setOERR; inline;
  34723. begin
  34724. pTDefRegMap(@Self)^.&set := $00000002;
  34725. end;
  34726. procedure TUART5_U3BSTA.clearOERR; inline;
  34727. begin
  34728. pTDefRegMap(@Self)^.clr := $00000002;
  34729. end;
  34730. procedure TUART5_U3BSTA.setOERR(thebits : TBits_1); inline;
  34731. begin
  34732. if thebits = 0 then
  34733. pTDefRegMap(@Self)^.clr := $00000002
  34734. else
  34735. pTDefRegMap(@Self)^.&set := $00000002;
  34736. end;
  34737. function TUART5_U3BSTA.getOERR : TBits_1; inline;
  34738. begin
  34739. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34740. end;
  34741. procedure TUART5_U3BSTA.setFERR; inline;
  34742. begin
  34743. pTDefRegMap(@Self)^.&set := $00000004;
  34744. end;
  34745. procedure TUART5_U3BSTA.clearFERR; inline;
  34746. begin
  34747. pTDefRegMap(@Self)^.clr := $00000004;
  34748. end;
  34749. procedure TUART5_U3BSTA.setFERR(thebits : TBits_1); inline;
  34750. begin
  34751. if thebits = 0 then
  34752. pTDefRegMap(@Self)^.clr := $00000004
  34753. else
  34754. pTDefRegMap(@Self)^.&set := $00000004;
  34755. end;
  34756. function TUART5_U3BSTA.getFERR : TBits_1; inline;
  34757. begin
  34758. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34759. end;
  34760. procedure TUART5_U3BSTA.setPERR; inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.&set := $00000008;
  34763. end;
  34764. procedure TUART5_U3BSTA.clearPERR; inline;
  34765. begin
  34766. pTDefRegMap(@Self)^.clr := $00000008;
  34767. end;
  34768. procedure TUART5_U3BSTA.setPERR(thebits : TBits_1); inline;
  34769. begin
  34770. if thebits = 0 then
  34771. pTDefRegMap(@Self)^.clr := $00000008
  34772. else
  34773. pTDefRegMap(@Self)^.&set := $00000008;
  34774. end;
  34775. function TUART5_U3BSTA.getPERR : TBits_1; inline;
  34776. begin
  34777. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34778. end;
  34779. procedure TUART5_U3BSTA.setRIDLE; inline;
  34780. begin
  34781. pTDefRegMap(@Self)^.&set := $00000010;
  34782. end;
  34783. procedure TUART5_U3BSTA.clearRIDLE; inline;
  34784. begin
  34785. pTDefRegMap(@Self)^.clr := $00000010;
  34786. end;
  34787. procedure TUART5_U3BSTA.setRIDLE(thebits : TBits_1); inline;
  34788. begin
  34789. if thebits = 0 then
  34790. pTDefRegMap(@Self)^.clr := $00000010
  34791. else
  34792. pTDefRegMap(@Self)^.&set := $00000010;
  34793. end;
  34794. function TUART5_U3BSTA.getRIDLE : TBits_1; inline;
  34795. begin
  34796. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34797. end;
  34798. procedure TUART5_U3BSTA.setADDEN; inline;
  34799. begin
  34800. pTDefRegMap(@Self)^.&set := $00000020;
  34801. end;
  34802. procedure TUART5_U3BSTA.clearADDEN; inline;
  34803. begin
  34804. pTDefRegMap(@Self)^.clr := $00000020;
  34805. end;
  34806. procedure TUART5_U3BSTA.setADDEN(thebits : TBits_1); inline;
  34807. begin
  34808. if thebits = 0 then
  34809. pTDefRegMap(@Self)^.clr := $00000020
  34810. else
  34811. pTDefRegMap(@Self)^.&set := $00000020;
  34812. end;
  34813. function TUART5_U3BSTA.getADDEN : TBits_1; inline;
  34814. begin
  34815. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34816. end;
  34817. procedure TUART5_U3BSTA.setURXISEL(thebits : TBits_2); inline;
  34818. begin
  34819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34820. end;
  34821. function TUART5_U3BSTA.getURXISEL : TBits_2; inline;
  34822. begin
  34823. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34824. end;
  34825. procedure TUART5_U3BSTA.setTRMT; inline;
  34826. begin
  34827. pTDefRegMap(@Self)^.&set := $00000100;
  34828. end;
  34829. procedure TUART5_U3BSTA.clearTRMT; inline;
  34830. begin
  34831. pTDefRegMap(@Self)^.clr := $00000100;
  34832. end;
  34833. procedure TUART5_U3BSTA.setTRMT(thebits : TBits_1); inline;
  34834. begin
  34835. if thebits = 0 then
  34836. pTDefRegMap(@Self)^.clr := $00000100
  34837. else
  34838. pTDefRegMap(@Self)^.&set := $00000100;
  34839. end;
  34840. function TUART5_U3BSTA.getTRMT : TBits_1; inline;
  34841. begin
  34842. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34843. end;
  34844. procedure TUART5_U3BSTA.setUTXBF; inline;
  34845. begin
  34846. pTDefRegMap(@Self)^.&set := $00000200;
  34847. end;
  34848. procedure TUART5_U3BSTA.clearUTXBF; inline;
  34849. begin
  34850. pTDefRegMap(@Self)^.clr := $00000200;
  34851. end;
  34852. procedure TUART5_U3BSTA.setUTXBF(thebits : TBits_1); inline;
  34853. begin
  34854. if thebits = 0 then
  34855. pTDefRegMap(@Self)^.clr := $00000200
  34856. else
  34857. pTDefRegMap(@Self)^.&set := $00000200;
  34858. end;
  34859. function TUART5_U3BSTA.getUTXBF : TBits_1; inline;
  34860. begin
  34861. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34862. end;
  34863. procedure TUART5_U3BSTA.setUTXEN; inline;
  34864. begin
  34865. pTDefRegMap(@Self)^.&set := $00000400;
  34866. end;
  34867. procedure TUART5_U3BSTA.clearUTXEN; inline;
  34868. begin
  34869. pTDefRegMap(@Self)^.clr := $00000400;
  34870. end;
  34871. procedure TUART5_U3BSTA.setUTXEN(thebits : TBits_1); inline;
  34872. begin
  34873. if thebits = 0 then
  34874. pTDefRegMap(@Self)^.clr := $00000400
  34875. else
  34876. pTDefRegMap(@Self)^.&set := $00000400;
  34877. end;
  34878. function TUART5_U3BSTA.getUTXEN : TBits_1; inline;
  34879. begin
  34880. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34881. end;
  34882. procedure TUART5_U3BSTA.setUTXBRK; inline;
  34883. begin
  34884. pTDefRegMap(@Self)^.&set := $00000800;
  34885. end;
  34886. procedure TUART5_U3BSTA.clearUTXBRK; inline;
  34887. begin
  34888. pTDefRegMap(@Self)^.clr := $00000800;
  34889. end;
  34890. procedure TUART5_U3BSTA.setUTXBRK(thebits : TBits_1); inline;
  34891. begin
  34892. if thebits = 0 then
  34893. pTDefRegMap(@Self)^.clr := $00000800
  34894. else
  34895. pTDefRegMap(@Self)^.&set := $00000800;
  34896. end;
  34897. function TUART5_U3BSTA.getUTXBRK : TBits_1; inline;
  34898. begin
  34899. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34900. end;
  34901. procedure TUART5_U3BSTA.setURXEN; inline;
  34902. begin
  34903. pTDefRegMap(@Self)^.&set := $00001000;
  34904. end;
  34905. procedure TUART5_U3BSTA.clearURXEN; inline;
  34906. begin
  34907. pTDefRegMap(@Self)^.clr := $00001000;
  34908. end;
  34909. procedure TUART5_U3BSTA.setURXEN(thebits : TBits_1); inline;
  34910. begin
  34911. if thebits = 0 then
  34912. pTDefRegMap(@Self)^.clr := $00001000
  34913. else
  34914. pTDefRegMap(@Self)^.&set := $00001000;
  34915. end;
  34916. function TUART5_U3BSTA.getURXEN : TBits_1; inline;
  34917. begin
  34918. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34919. end;
  34920. procedure TUART5_U3BSTA.setUTXINV; inline;
  34921. begin
  34922. pTDefRegMap(@Self)^.&set := $00002000;
  34923. end;
  34924. procedure TUART5_U3BSTA.clearUTXINV; inline;
  34925. begin
  34926. pTDefRegMap(@Self)^.clr := $00002000;
  34927. end;
  34928. procedure TUART5_U3BSTA.setUTXINV(thebits : TBits_1); inline;
  34929. begin
  34930. if thebits = 0 then
  34931. pTDefRegMap(@Self)^.clr := $00002000
  34932. else
  34933. pTDefRegMap(@Self)^.&set := $00002000;
  34934. end;
  34935. function TUART5_U3BSTA.getUTXINV : TBits_1; inline;
  34936. begin
  34937. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34938. end;
  34939. procedure TUART5_U3BSTA.setUTXISEL(thebits : TBits_2); inline;
  34940. begin
  34941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34942. end;
  34943. function TUART5_U3BSTA.getUTXISEL : TBits_2; inline;
  34944. begin
  34945. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34946. end;
  34947. procedure TUART5_U3BSTA.setADDR(thebits : TBits_8); inline;
  34948. begin
  34949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34950. end;
  34951. function TUART5_U3BSTA.getADDR : TBits_8; inline;
  34952. begin
  34953. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34954. end;
  34955. procedure TUART5_U3BSTA.setADM_EN; inline;
  34956. begin
  34957. pTDefRegMap(@Self)^.&set := $01000000;
  34958. end;
  34959. procedure TUART5_U3BSTA.clearADM_EN; inline;
  34960. begin
  34961. pTDefRegMap(@Self)^.clr := $01000000;
  34962. end;
  34963. procedure TUART5_U3BSTA.setADM_EN(thebits : TBits_1); inline;
  34964. begin
  34965. if thebits = 0 then
  34966. pTDefRegMap(@Self)^.clr := $01000000
  34967. else
  34968. pTDefRegMap(@Self)^.&set := $01000000;
  34969. end;
  34970. function TUART5_U3BSTA.getADM_EN : TBits_1; inline;
  34971. begin
  34972. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34973. end;
  34974. procedure TUART5_U3BSTA.setURXISEL0; inline;
  34975. begin
  34976. pTDefRegMap(@Self)^.&set := $00000040;
  34977. end;
  34978. procedure TUART5_U3BSTA.clearURXISEL0; inline;
  34979. begin
  34980. pTDefRegMap(@Self)^.clr := $00000040;
  34981. end;
  34982. procedure TUART5_U3BSTA.setURXISEL0(thebits : TBits_1); inline;
  34983. begin
  34984. if thebits = 0 then
  34985. pTDefRegMap(@Self)^.clr := $00000040
  34986. else
  34987. pTDefRegMap(@Self)^.&set := $00000040;
  34988. end;
  34989. function TUART5_U3BSTA.getURXISEL0 : TBits_1; inline;
  34990. begin
  34991. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34992. end;
  34993. procedure TUART5_U3BSTA.setURXISEL1; inline;
  34994. begin
  34995. pTDefRegMap(@Self)^.&set := $00000080;
  34996. end;
  34997. procedure TUART5_U3BSTA.clearURXISEL1; inline;
  34998. begin
  34999. pTDefRegMap(@Self)^.clr := $00000080;
  35000. end;
  35001. procedure TUART5_U3BSTA.setURXISEL1(thebits : TBits_1); inline;
  35002. begin
  35003. if thebits = 0 then
  35004. pTDefRegMap(@Self)^.clr := $00000080
  35005. else
  35006. pTDefRegMap(@Self)^.&set := $00000080;
  35007. end;
  35008. function TUART5_U3BSTA.getURXISEL1 : TBits_1; inline;
  35009. begin
  35010. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35011. end;
  35012. procedure TUART5_U3BSTA.setUTXISEL0; inline;
  35013. begin
  35014. pTDefRegMap(@Self)^.&set := $00004000;
  35015. end;
  35016. procedure TUART5_U3BSTA.clearUTXISEL0; inline;
  35017. begin
  35018. pTDefRegMap(@Self)^.clr := $00004000;
  35019. end;
  35020. procedure TUART5_U3BSTA.setUTXISEL0(thebits : TBits_1); inline;
  35021. begin
  35022. if thebits = 0 then
  35023. pTDefRegMap(@Self)^.clr := $00004000
  35024. else
  35025. pTDefRegMap(@Self)^.&set := $00004000;
  35026. end;
  35027. function TUART5_U3BSTA.getUTXISEL0 : TBits_1; inline;
  35028. begin
  35029. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35030. end;
  35031. procedure TUART5_U3BSTA.setUTXISEL1; inline;
  35032. begin
  35033. pTDefRegMap(@Self)^.&set := $00008000;
  35034. end;
  35035. procedure TUART5_U3BSTA.clearUTXISEL1; inline;
  35036. begin
  35037. pTDefRegMap(@Self)^.clr := $00008000;
  35038. end;
  35039. procedure TUART5_U3BSTA.setUTXISEL1(thebits : TBits_1); inline;
  35040. begin
  35041. if thebits = 0 then
  35042. pTDefRegMap(@Self)^.clr := $00008000
  35043. else
  35044. pTDefRegMap(@Self)^.&set := $00008000;
  35045. end;
  35046. function TUART5_U3BSTA.getUTXISEL1 : TBits_1; inline;
  35047. begin
  35048. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35049. end;
  35050. procedure TUART5_U3BSTA.setUTXSEL(thebits : TBits_2); inline;
  35051. begin
  35052. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35053. end;
  35054. function TUART5_U3BSTA.getUTXSEL : TBits_2; inline;
  35055. begin
  35056. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35057. end;
  35058. procedure TUART5_U3BSTA.setw(thebits : TBits_32); inline;
  35059. begin
  35060. pTDefRegMap(@Self)^.val := thebits;
  35061. end;
  35062. function TUART5_U3BSTA.getw : TBits_32; inline;
  35063. begin
  35064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35065. end;
  35066. procedure TUART5_U5STA.setURXDA; inline;
  35067. begin
  35068. pTDefRegMap(@Self)^.&set := $00000001;
  35069. end;
  35070. procedure TUART5_U5STA.clearURXDA; inline;
  35071. begin
  35072. pTDefRegMap(@Self)^.clr := $00000001;
  35073. end;
  35074. procedure TUART5_U5STA.setURXDA(thebits : TBits_1); inline;
  35075. begin
  35076. if thebits = 0 then
  35077. pTDefRegMap(@Self)^.clr := $00000001
  35078. else
  35079. pTDefRegMap(@Self)^.&set := $00000001;
  35080. end;
  35081. function TUART5_U5STA.getURXDA : TBits_1; inline;
  35082. begin
  35083. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35084. end;
  35085. procedure TUART5_U5STA.setOERR; inline;
  35086. begin
  35087. pTDefRegMap(@Self)^.&set := $00000002;
  35088. end;
  35089. procedure TUART5_U5STA.clearOERR; inline;
  35090. begin
  35091. pTDefRegMap(@Self)^.clr := $00000002;
  35092. end;
  35093. procedure TUART5_U5STA.setOERR(thebits : TBits_1); inline;
  35094. begin
  35095. if thebits = 0 then
  35096. pTDefRegMap(@Self)^.clr := $00000002
  35097. else
  35098. pTDefRegMap(@Self)^.&set := $00000002;
  35099. end;
  35100. function TUART5_U5STA.getOERR : TBits_1; inline;
  35101. begin
  35102. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35103. end;
  35104. procedure TUART5_U5STA.setFERR; inline;
  35105. begin
  35106. pTDefRegMap(@Self)^.&set := $00000004;
  35107. end;
  35108. procedure TUART5_U5STA.clearFERR; inline;
  35109. begin
  35110. pTDefRegMap(@Self)^.clr := $00000004;
  35111. end;
  35112. procedure TUART5_U5STA.setFERR(thebits : TBits_1); inline;
  35113. begin
  35114. if thebits = 0 then
  35115. pTDefRegMap(@Self)^.clr := $00000004
  35116. else
  35117. pTDefRegMap(@Self)^.&set := $00000004;
  35118. end;
  35119. function TUART5_U5STA.getFERR : TBits_1; inline;
  35120. begin
  35121. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35122. end;
  35123. procedure TUART5_U5STA.setPERR; inline;
  35124. begin
  35125. pTDefRegMap(@Self)^.&set := $00000008;
  35126. end;
  35127. procedure TUART5_U5STA.clearPERR; inline;
  35128. begin
  35129. pTDefRegMap(@Self)^.clr := $00000008;
  35130. end;
  35131. procedure TUART5_U5STA.setPERR(thebits : TBits_1); inline;
  35132. begin
  35133. if thebits = 0 then
  35134. pTDefRegMap(@Self)^.clr := $00000008
  35135. else
  35136. pTDefRegMap(@Self)^.&set := $00000008;
  35137. end;
  35138. function TUART5_U5STA.getPERR : TBits_1; inline;
  35139. begin
  35140. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35141. end;
  35142. procedure TUART5_U5STA.setRIDLE; inline;
  35143. begin
  35144. pTDefRegMap(@Self)^.&set := $00000010;
  35145. end;
  35146. procedure TUART5_U5STA.clearRIDLE; inline;
  35147. begin
  35148. pTDefRegMap(@Self)^.clr := $00000010;
  35149. end;
  35150. procedure TUART5_U5STA.setRIDLE(thebits : TBits_1); inline;
  35151. begin
  35152. if thebits = 0 then
  35153. pTDefRegMap(@Self)^.clr := $00000010
  35154. else
  35155. pTDefRegMap(@Self)^.&set := $00000010;
  35156. end;
  35157. function TUART5_U5STA.getRIDLE : TBits_1; inline;
  35158. begin
  35159. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35160. end;
  35161. procedure TUART5_U5STA.setADDEN; inline;
  35162. begin
  35163. pTDefRegMap(@Self)^.&set := $00000020;
  35164. end;
  35165. procedure TUART5_U5STA.clearADDEN; inline;
  35166. begin
  35167. pTDefRegMap(@Self)^.clr := $00000020;
  35168. end;
  35169. procedure TUART5_U5STA.setADDEN(thebits : TBits_1); inline;
  35170. begin
  35171. if thebits = 0 then
  35172. pTDefRegMap(@Self)^.clr := $00000020
  35173. else
  35174. pTDefRegMap(@Self)^.&set := $00000020;
  35175. end;
  35176. function TUART5_U5STA.getADDEN : TBits_1; inline;
  35177. begin
  35178. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35179. end;
  35180. procedure TUART5_U5STA.setURXISEL(thebits : TBits_2); inline;
  35181. begin
  35182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35183. end;
  35184. function TUART5_U5STA.getURXISEL : TBits_2; inline;
  35185. begin
  35186. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35187. end;
  35188. procedure TUART5_U5STA.setTRMT; inline;
  35189. begin
  35190. pTDefRegMap(@Self)^.&set := $00000100;
  35191. end;
  35192. procedure TUART5_U5STA.clearTRMT; inline;
  35193. begin
  35194. pTDefRegMap(@Self)^.clr := $00000100;
  35195. end;
  35196. procedure TUART5_U5STA.setTRMT(thebits : TBits_1); inline;
  35197. begin
  35198. if thebits = 0 then
  35199. pTDefRegMap(@Self)^.clr := $00000100
  35200. else
  35201. pTDefRegMap(@Self)^.&set := $00000100;
  35202. end;
  35203. function TUART5_U5STA.getTRMT : TBits_1; inline;
  35204. begin
  35205. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35206. end;
  35207. procedure TUART5_U5STA.setUTXBF; inline;
  35208. begin
  35209. pTDefRegMap(@Self)^.&set := $00000200;
  35210. end;
  35211. procedure TUART5_U5STA.clearUTXBF; inline;
  35212. begin
  35213. pTDefRegMap(@Self)^.clr := $00000200;
  35214. end;
  35215. procedure TUART5_U5STA.setUTXBF(thebits : TBits_1); inline;
  35216. begin
  35217. if thebits = 0 then
  35218. pTDefRegMap(@Self)^.clr := $00000200
  35219. else
  35220. pTDefRegMap(@Self)^.&set := $00000200;
  35221. end;
  35222. function TUART5_U5STA.getUTXBF : TBits_1; inline;
  35223. begin
  35224. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35225. end;
  35226. procedure TUART5_U5STA.setUTXEN; inline;
  35227. begin
  35228. pTDefRegMap(@Self)^.&set := $00000400;
  35229. end;
  35230. procedure TUART5_U5STA.clearUTXEN; inline;
  35231. begin
  35232. pTDefRegMap(@Self)^.clr := $00000400;
  35233. end;
  35234. procedure TUART5_U5STA.setUTXEN(thebits : TBits_1); inline;
  35235. begin
  35236. if thebits = 0 then
  35237. pTDefRegMap(@Self)^.clr := $00000400
  35238. else
  35239. pTDefRegMap(@Self)^.&set := $00000400;
  35240. end;
  35241. function TUART5_U5STA.getUTXEN : TBits_1; inline;
  35242. begin
  35243. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35244. end;
  35245. procedure TUART5_U5STA.setUTXBRK; inline;
  35246. begin
  35247. pTDefRegMap(@Self)^.&set := $00000800;
  35248. end;
  35249. procedure TUART5_U5STA.clearUTXBRK; inline;
  35250. begin
  35251. pTDefRegMap(@Self)^.clr := $00000800;
  35252. end;
  35253. procedure TUART5_U5STA.setUTXBRK(thebits : TBits_1); inline;
  35254. begin
  35255. if thebits = 0 then
  35256. pTDefRegMap(@Self)^.clr := $00000800
  35257. else
  35258. pTDefRegMap(@Self)^.&set := $00000800;
  35259. end;
  35260. function TUART5_U5STA.getUTXBRK : TBits_1; inline;
  35261. begin
  35262. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35263. end;
  35264. procedure TUART5_U5STA.setURXEN; inline;
  35265. begin
  35266. pTDefRegMap(@Self)^.&set := $00001000;
  35267. end;
  35268. procedure TUART5_U5STA.clearURXEN; inline;
  35269. begin
  35270. pTDefRegMap(@Self)^.clr := $00001000;
  35271. end;
  35272. procedure TUART5_U5STA.setURXEN(thebits : TBits_1); inline;
  35273. begin
  35274. if thebits = 0 then
  35275. pTDefRegMap(@Self)^.clr := $00001000
  35276. else
  35277. pTDefRegMap(@Self)^.&set := $00001000;
  35278. end;
  35279. function TUART5_U5STA.getURXEN : TBits_1; inline;
  35280. begin
  35281. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35282. end;
  35283. procedure TUART5_U5STA.setUTXINV; inline;
  35284. begin
  35285. pTDefRegMap(@Self)^.&set := $00002000;
  35286. end;
  35287. procedure TUART5_U5STA.clearUTXINV; inline;
  35288. begin
  35289. pTDefRegMap(@Self)^.clr := $00002000;
  35290. end;
  35291. procedure TUART5_U5STA.setUTXINV(thebits : TBits_1); inline;
  35292. begin
  35293. if thebits = 0 then
  35294. pTDefRegMap(@Self)^.clr := $00002000
  35295. else
  35296. pTDefRegMap(@Self)^.&set := $00002000;
  35297. end;
  35298. function TUART5_U5STA.getUTXINV : TBits_1; inline;
  35299. begin
  35300. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35301. end;
  35302. procedure TUART5_U5STA.setUTXISEL(thebits : TBits_2); inline;
  35303. begin
  35304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35305. end;
  35306. function TUART5_U5STA.getUTXISEL : TBits_2; inline;
  35307. begin
  35308. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35309. end;
  35310. procedure TUART5_U5STA.setADDR(thebits : TBits_8); inline;
  35311. begin
  35312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35313. end;
  35314. function TUART5_U5STA.getADDR : TBits_8; inline;
  35315. begin
  35316. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35317. end;
  35318. procedure TUART5_U5STA.setADM_EN; inline;
  35319. begin
  35320. pTDefRegMap(@Self)^.&set := $01000000;
  35321. end;
  35322. procedure TUART5_U5STA.clearADM_EN; inline;
  35323. begin
  35324. pTDefRegMap(@Self)^.clr := $01000000;
  35325. end;
  35326. procedure TUART5_U5STA.setADM_EN(thebits : TBits_1); inline;
  35327. begin
  35328. if thebits = 0 then
  35329. pTDefRegMap(@Self)^.clr := $01000000
  35330. else
  35331. pTDefRegMap(@Self)^.&set := $01000000;
  35332. end;
  35333. function TUART5_U5STA.getADM_EN : TBits_1; inline;
  35334. begin
  35335. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35336. end;
  35337. procedure TUART5_U5STA.setURXISEL0; inline;
  35338. begin
  35339. pTDefRegMap(@Self)^.&set := $00000040;
  35340. end;
  35341. procedure TUART5_U5STA.clearURXISEL0; inline;
  35342. begin
  35343. pTDefRegMap(@Self)^.clr := $00000040;
  35344. end;
  35345. procedure TUART5_U5STA.setURXISEL0(thebits : TBits_1); inline;
  35346. begin
  35347. if thebits = 0 then
  35348. pTDefRegMap(@Self)^.clr := $00000040
  35349. else
  35350. pTDefRegMap(@Self)^.&set := $00000040;
  35351. end;
  35352. function TUART5_U5STA.getURXISEL0 : TBits_1; inline;
  35353. begin
  35354. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35355. end;
  35356. procedure TUART5_U5STA.setURXISEL1; inline;
  35357. begin
  35358. pTDefRegMap(@Self)^.&set := $00000080;
  35359. end;
  35360. procedure TUART5_U5STA.clearURXISEL1; inline;
  35361. begin
  35362. pTDefRegMap(@Self)^.clr := $00000080;
  35363. end;
  35364. procedure TUART5_U5STA.setURXISEL1(thebits : TBits_1); inline;
  35365. begin
  35366. if thebits = 0 then
  35367. pTDefRegMap(@Self)^.clr := $00000080
  35368. else
  35369. pTDefRegMap(@Self)^.&set := $00000080;
  35370. end;
  35371. function TUART5_U5STA.getURXISEL1 : TBits_1; inline;
  35372. begin
  35373. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35374. end;
  35375. procedure TUART5_U5STA.setUTXISEL0; inline;
  35376. begin
  35377. pTDefRegMap(@Self)^.&set := $00004000;
  35378. end;
  35379. procedure TUART5_U5STA.clearUTXISEL0; inline;
  35380. begin
  35381. pTDefRegMap(@Self)^.clr := $00004000;
  35382. end;
  35383. procedure TUART5_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  35384. begin
  35385. if thebits = 0 then
  35386. pTDefRegMap(@Self)^.clr := $00004000
  35387. else
  35388. pTDefRegMap(@Self)^.&set := $00004000;
  35389. end;
  35390. function TUART5_U5STA.getUTXISEL0 : TBits_1; inline;
  35391. begin
  35392. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35393. end;
  35394. procedure TUART5_U5STA.setUTXISEL1; inline;
  35395. begin
  35396. pTDefRegMap(@Self)^.&set := $00008000;
  35397. end;
  35398. procedure TUART5_U5STA.clearUTXISEL1; inline;
  35399. begin
  35400. pTDefRegMap(@Self)^.clr := $00008000;
  35401. end;
  35402. procedure TUART5_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  35403. begin
  35404. if thebits = 0 then
  35405. pTDefRegMap(@Self)^.clr := $00008000
  35406. else
  35407. pTDefRegMap(@Self)^.&set := $00008000;
  35408. end;
  35409. function TUART5_U5STA.getUTXISEL1 : TBits_1; inline;
  35410. begin
  35411. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35412. end;
  35413. procedure TUART5_U5STA.setUTXSEL(thebits : TBits_2); inline;
  35414. begin
  35415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35416. end;
  35417. function TUART5_U5STA.getUTXSEL : TBits_2; inline;
  35418. begin
  35419. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35420. end;
  35421. procedure TUART5_U5STA.setw(thebits : TBits_32); inline;
  35422. begin
  35423. pTDefRegMap(@Self)^.val := thebits;
  35424. end;
  35425. function TUART5_U5STA.getw : TBits_32; inline;
  35426. begin
  35427. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35428. end;
  35429. procedure TPMP_PMCON.setRDSP; inline;
  35430. begin
  35431. pTDefRegMap(@Self)^.&set := $00000001;
  35432. end;
  35433. procedure TPMP_PMCON.clearRDSP; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.clr := $00000001;
  35436. end;
  35437. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  35438. begin
  35439. if thebits = 0 then
  35440. pTDefRegMap(@Self)^.clr := $00000001
  35441. else
  35442. pTDefRegMap(@Self)^.&set := $00000001;
  35443. end;
  35444. function TPMP_PMCON.getRDSP : TBits_1; inline;
  35445. begin
  35446. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35447. end;
  35448. procedure TPMP_PMCON.setWRSP; inline;
  35449. begin
  35450. pTDefRegMap(@Self)^.&set := $00000002;
  35451. end;
  35452. procedure TPMP_PMCON.clearWRSP; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.clr := $00000002;
  35455. end;
  35456. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  35457. begin
  35458. if thebits = 0 then
  35459. pTDefRegMap(@Self)^.clr := $00000002
  35460. else
  35461. pTDefRegMap(@Self)^.&set := $00000002;
  35462. end;
  35463. function TPMP_PMCON.getWRSP : TBits_1; inline;
  35464. begin
  35465. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35466. end;
  35467. procedure TPMP_PMCON.setCS1P; inline;
  35468. begin
  35469. pTDefRegMap(@Self)^.&set := $00000008;
  35470. end;
  35471. procedure TPMP_PMCON.clearCS1P; inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.clr := $00000008;
  35474. end;
  35475. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  35476. begin
  35477. if thebits = 0 then
  35478. pTDefRegMap(@Self)^.clr := $00000008
  35479. else
  35480. pTDefRegMap(@Self)^.&set := $00000008;
  35481. end;
  35482. function TPMP_PMCON.getCS1P : TBits_1; inline;
  35483. begin
  35484. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35485. end;
  35486. procedure TPMP_PMCON.setCS2P; inline;
  35487. begin
  35488. pTDefRegMap(@Self)^.&set := $00000010;
  35489. end;
  35490. procedure TPMP_PMCON.clearCS2P; inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.clr := $00000010;
  35493. end;
  35494. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  35495. begin
  35496. if thebits = 0 then
  35497. pTDefRegMap(@Self)^.clr := $00000010
  35498. else
  35499. pTDefRegMap(@Self)^.&set := $00000010;
  35500. end;
  35501. function TPMP_PMCON.getCS2P : TBits_1; inline;
  35502. begin
  35503. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35504. end;
  35505. procedure TPMP_PMCON.setALP; inline;
  35506. begin
  35507. pTDefRegMap(@Self)^.&set := $00000020;
  35508. end;
  35509. procedure TPMP_PMCON.clearALP; inline;
  35510. begin
  35511. pTDefRegMap(@Self)^.clr := $00000020;
  35512. end;
  35513. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  35514. begin
  35515. if thebits = 0 then
  35516. pTDefRegMap(@Self)^.clr := $00000020
  35517. else
  35518. pTDefRegMap(@Self)^.&set := $00000020;
  35519. end;
  35520. function TPMP_PMCON.getALP : TBits_1; inline;
  35521. begin
  35522. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35523. end;
  35524. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  35525. begin
  35526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35527. end;
  35528. function TPMP_PMCON.getCSF : TBits_2; inline;
  35529. begin
  35530. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35531. end;
  35532. procedure TPMP_PMCON.setPTRDEN; inline;
  35533. begin
  35534. pTDefRegMap(@Self)^.&set := $00000100;
  35535. end;
  35536. procedure TPMP_PMCON.clearPTRDEN; inline;
  35537. begin
  35538. pTDefRegMap(@Self)^.clr := $00000100;
  35539. end;
  35540. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  35541. begin
  35542. if thebits = 0 then
  35543. pTDefRegMap(@Self)^.clr := $00000100
  35544. else
  35545. pTDefRegMap(@Self)^.&set := $00000100;
  35546. end;
  35547. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  35548. begin
  35549. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35550. end;
  35551. procedure TPMP_PMCON.setPTWREN; inline;
  35552. begin
  35553. pTDefRegMap(@Self)^.&set := $00000200;
  35554. end;
  35555. procedure TPMP_PMCON.clearPTWREN; inline;
  35556. begin
  35557. pTDefRegMap(@Self)^.clr := $00000200;
  35558. end;
  35559. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  35560. begin
  35561. if thebits = 0 then
  35562. pTDefRegMap(@Self)^.clr := $00000200
  35563. else
  35564. pTDefRegMap(@Self)^.&set := $00000200;
  35565. end;
  35566. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  35567. begin
  35568. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35569. end;
  35570. procedure TPMP_PMCON.setPMPTTL; inline;
  35571. begin
  35572. pTDefRegMap(@Self)^.&set := $00000400;
  35573. end;
  35574. procedure TPMP_PMCON.clearPMPTTL; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.clr := $00000400;
  35577. end;
  35578. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  35579. begin
  35580. if thebits = 0 then
  35581. pTDefRegMap(@Self)^.clr := $00000400
  35582. else
  35583. pTDefRegMap(@Self)^.&set := $00000400;
  35584. end;
  35585. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  35586. begin
  35587. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35588. end;
  35589. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  35590. begin
  35591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  35592. end;
  35593. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  35594. begin
  35595. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  35596. end;
  35597. procedure TPMP_PMCON.setSIDL; inline;
  35598. begin
  35599. pTDefRegMap(@Self)^.&set := $00002000;
  35600. end;
  35601. procedure TPMP_PMCON.clearSIDL; inline;
  35602. begin
  35603. pTDefRegMap(@Self)^.clr := $00002000;
  35604. end;
  35605. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  35606. begin
  35607. if thebits = 0 then
  35608. pTDefRegMap(@Self)^.clr := $00002000
  35609. else
  35610. pTDefRegMap(@Self)^.&set := $00002000;
  35611. end;
  35612. function TPMP_PMCON.getSIDL : TBits_1; inline;
  35613. begin
  35614. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35615. end;
  35616. procedure TPMP_PMCON.setON; inline;
  35617. begin
  35618. pTDefRegMap(@Self)^.&set := $00008000;
  35619. end;
  35620. procedure TPMP_PMCON.clearON; inline;
  35621. begin
  35622. pTDefRegMap(@Self)^.clr := $00008000;
  35623. end;
  35624. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  35625. begin
  35626. if thebits = 0 then
  35627. pTDefRegMap(@Self)^.clr := $00008000
  35628. else
  35629. pTDefRegMap(@Self)^.&set := $00008000;
  35630. end;
  35631. function TPMP_PMCON.getON : TBits_1; inline;
  35632. begin
  35633. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35634. end;
  35635. procedure TPMP_PMCON.setCSF0; inline;
  35636. begin
  35637. pTDefRegMap(@Self)^.&set := $00000040;
  35638. end;
  35639. procedure TPMP_PMCON.clearCSF0; inline;
  35640. begin
  35641. pTDefRegMap(@Self)^.clr := $00000040;
  35642. end;
  35643. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  35644. begin
  35645. if thebits = 0 then
  35646. pTDefRegMap(@Self)^.clr := $00000040
  35647. else
  35648. pTDefRegMap(@Self)^.&set := $00000040;
  35649. end;
  35650. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  35651. begin
  35652. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35653. end;
  35654. procedure TPMP_PMCON.setCSF1; inline;
  35655. begin
  35656. pTDefRegMap(@Self)^.&set := $00000080;
  35657. end;
  35658. procedure TPMP_PMCON.clearCSF1; inline;
  35659. begin
  35660. pTDefRegMap(@Self)^.clr := $00000080;
  35661. end;
  35662. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  35663. begin
  35664. if thebits = 0 then
  35665. pTDefRegMap(@Self)^.clr := $00000080
  35666. else
  35667. pTDefRegMap(@Self)^.&set := $00000080;
  35668. end;
  35669. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  35670. begin
  35671. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35672. end;
  35673. procedure TPMP_PMCON.setADRMUX0; inline;
  35674. begin
  35675. pTDefRegMap(@Self)^.&set := $00000800;
  35676. end;
  35677. procedure TPMP_PMCON.clearADRMUX0; inline;
  35678. begin
  35679. pTDefRegMap(@Self)^.clr := $00000800;
  35680. end;
  35681. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  35682. begin
  35683. if thebits = 0 then
  35684. pTDefRegMap(@Self)^.clr := $00000800
  35685. else
  35686. pTDefRegMap(@Self)^.&set := $00000800;
  35687. end;
  35688. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  35689. begin
  35690. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35691. end;
  35692. procedure TPMP_PMCON.setADRMUX1; inline;
  35693. begin
  35694. pTDefRegMap(@Self)^.&set := $00001000;
  35695. end;
  35696. procedure TPMP_PMCON.clearADRMUX1; inline;
  35697. begin
  35698. pTDefRegMap(@Self)^.clr := $00001000;
  35699. end;
  35700. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  35701. begin
  35702. if thebits = 0 then
  35703. pTDefRegMap(@Self)^.clr := $00001000
  35704. else
  35705. pTDefRegMap(@Self)^.&set := $00001000;
  35706. end;
  35707. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  35708. begin
  35709. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35710. end;
  35711. procedure TPMP_PMCON.setPSIDL; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.&set := $00002000;
  35714. end;
  35715. procedure TPMP_PMCON.clearPSIDL; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.clr := $00002000;
  35718. end;
  35719. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  35720. begin
  35721. if thebits = 0 then
  35722. pTDefRegMap(@Self)^.clr := $00002000
  35723. else
  35724. pTDefRegMap(@Self)^.&set := $00002000;
  35725. end;
  35726. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  35727. begin
  35728. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35729. end;
  35730. procedure TPMP_PMCON.setPMPEN; inline;
  35731. begin
  35732. pTDefRegMap(@Self)^.&set := $00008000;
  35733. end;
  35734. procedure TPMP_PMCON.clearPMPEN; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.clr := $00008000;
  35737. end;
  35738. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  35739. begin
  35740. if thebits = 0 then
  35741. pTDefRegMap(@Self)^.clr := $00008000
  35742. else
  35743. pTDefRegMap(@Self)^.&set := $00008000;
  35744. end;
  35745. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  35746. begin
  35747. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35748. end;
  35749. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  35750. begin
  35751. pTDefRegMap(@Self)^.val := thebits;
  35752. end;
  35753. function TPMP_PMCON.getw : TBits_32; inline;
  35754. begin
  35755. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35756. end;
  35757. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  35758. begin
  35759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35760. end;
  35761. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  35762. begin
  35763. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35764. end;
  35765. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  35766. begin
  35767. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  35768. end;
  35769. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  35770. begin
  35771. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  35772. end;
  35773. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  35774. begin
  35775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35776. end;
  35777. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  35778. begin
  35779. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35780. end;
  35781. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  35782. begin
  35783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35784. end;
  35785. function TPMP_PMMODE.getMODE : TBits_2; inline;
  35786. begin
  35787. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35788. end;
  35789. procedure TPMP_PMMODE.setMODE16; inline;
  35790. begin
  35791. pTDefRegMap(@Self)^.&set := $00000400;
  35792. end;
  35793. procedure TPMP_PMMODE.clearMODE16; inline;
  35794. begin
  35795. pTDefRegMap(@Self)^.clr := $00000400;
  35796. end;
  35797. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  35798. begin
  35799. if thebits = 0 then
  35800. pTDefRegMap(@Self)^.clr := $00000400
  35801. else
  35802. pTDefRegMap(@Self)^.&set := $00000400;
  35803. end;
  35804. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  35805. begin
  35806. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35807. end;
  35808. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  35809. begin
  35810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  35811. end;
  35812. function TPMP_PMMODE.getINCM : TBits_2; inline;
  35813. begin
  35814. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  35815. end;
  35816. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  35817. begin
  35818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  35819. end;
  35820. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  35821. begin
  35822. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  35823. end;
  35824. procedure TPMP_PMMODE.setBUSY; inline;
  35825. begin
  35826. pTDefRegMap(@Self)^.&set := $00008000;
  35827. end;
  35828. procedure TPMP_PMMODE.clearBUSY; inline;
  35829. begin
  35830. pTDefRegMap(@Self)^.clr := $00008000;
  35831. end;
  35832. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  35833. begin
  35834. if thebits = 0 then
  35835. pTDefRegMap(@Self)^.clr := $00008000
  35836. else
  35837. pTDefRegMap(@Self)^.&set := $00008000;
  35838. end;
  35839. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  35840. begin
  35841. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35842. end;
  35843. procedure TPMP_PMMODE.setWAITE0; inline;
  35844. begin
  35845. pTDefRegMap(@Self)^.&set := $00000001;
  35846. end;
  35847. procedure TPMP_PMMODE.clearWAITE0; inline;
  35848. begin
  35849. pTDefRegMap(@Self)^.clr := $00000001;
  35850. end;
  35851. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  35852. begin
  35853. if thebits = 0 then
  35854. pTDefRegMap(@Self)^.clr := $00000001
  35855. else
  35856. pTDefRegMap(@Self)^.&set := $00000001;
  35857. end;
  35858. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  35859. begin
  35860. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35861. end;
  35862. procedure TPMP_PMMODE.setWAITE1; inline;
  35863. begin
  35864. pTDefRegMap(@Self)^.&set := $00000002;
  35865. end;
  35866. procedure TPMP_PMMODE.clearWAITE1; inline;
  35867. begin
  35868. pTDefRegMap(@Self)^.clr := $00000002;
  35869. end;
  35870. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  35871. begin
  35872. if thebits = 0 then
  35873. pTDefRegMap(@Self)^.clr := $00000002
  35874. else
  35875. pTDefRegMap(@Self)^.&set := $00000002;
  35876. end;
  35877. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  35878. begin
  35879. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35880. end;
  35881. procedure TPMP_PMMODE.setWAITM0; inline;
  35882. begin
  35883. pTDefRegMap(@Self)^.&set := $00000004;
  35884. end;
  35885. procedure TPMP_PMMODE.clearWAITM0; inline;
  35886. begin
  35887. pTDefRegMap(@Self)^.clr := $00000004;
  35888. end;
  35889. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  35890. begin
  35891. if thebits = 0 then
  35892. pTDefRegMap(@Self)^.clr := $00000004
  35893. else
  35894. pTDefRegMap(@Self)^.&set := $00000004;
  35895. end;
  35896. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  35897. begin
  35898. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35899. end;
  35900. procedure TPMP_PMMODE.setWAITM1; inline;
  35901. begin
  35902. pTDefRegMap(@Self)^.&set := $00000008;
  35903. end;
  35904. procedure TPMP_PMMODE.clearWAITM1; inline;
  35905. begin
  35906. pTDefRegMap(@Self)^.clr := $00000008;
  35907. end;
  35908. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  35909. begin
  35910. if thebits = 0 then
  35911. pTDefRegMap(@Self)^.clr := $00000008
  35912. else
  35913. pTDefRegMap(@Self)^.&set := $00000008;
  35914. end;
  35915. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  35916. begin
  35917. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35918. end;
  35919. procedure TPMP_PMMODE.setWAITM2; inline;
  35920. begin
  35921. pTDefRegMap(@Self)^.&set := $00000010;
  35922. end;
  35923. procedure TPMP_PMMODE.clearWAITM2; inline;
  35924. begin
  35925. pTDefRegMap(@Self)^.clr := $00000010;
  35926. end;
  35927. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  35928. begin
  35929. if thebits = 0 then
  35930. pTDefRegMap(@Self)^.clr := $00000010
  35931. else
  35932. pTDefRegMap(@Self)^.&set := $00000010;
  35933. end;
  35934. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  35935. begin
  35936. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35937. end;
  35938. procedure TPMP_PMMODE.setWAITM3; inline;
  35939. begin
  35940. pTDefRegMap(@Self)^.&set := $00000020;
  35941. end;
  35942. procedure TPMP_PMMODE.clearWAITM3; inline;
  35943. begin
  35944. pTDefRegMap(@Self)^.clr := $00000020;
  35945. end;
  35946. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  35947. begin
  35948. if thebits = 0 then
  35949. pTDefRegMap(@Self)^.clr := $00000020
  35950. else
  35951. pTDefRegMap(@Self)^.&set := $00000020;
  35952. end;
  35953. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  35954. begin
  35955. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35956. end;
  35957. procedure TPMP_PMMODE.setWAITB0; inline;
  35958. begin
  35959. pTDefRegMap(@Self)^.&set := $00000040;
  35960. end;
  35961. procedure TPMP_PMMODE.clearWAITB0; inline;
  35962. begin
  35963. pTDefRegMap(@Self)^.clr := $00000040;
  35964. end;
  35965. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  35966. begin
  35967. if thebits = 0 then
  35968. pTDefRegMap(@Self)^.clr := $00000040
  35969. else
  35970. pTDefRegMap(@Self)^.&set := $00000040;
  35971. end;
  35972. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  35973. begin
  35974. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35975. end;
  35976. procedure TPMP_PMMODE.setWAITB1; inline;
  35977. begin
  35978. pTDefRegMap(@Self)^.&set := $00000080;
  35979. end;
  35980. procedure TPMP_PMMODE.clearWAITB1; inline;
  35981. begin
  35982. pTDefRegMap(@Self)^.clr := $00000080;
  35983. end;
  35984. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  35985. begin
  35986. if thebits = 0 then
  35987. pTDefRegMap(@Self)^.clr := $00000080
  35988. else
  35989. pTDefRegMap(@Self)^.&set := $00000080;
  35990. end;
  35991. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  35992. begin
  35993. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35994. end;
  35995. procedure TPMP_PMMODE.setMODE0; inline;
  35996. begin
  35997. pTDefRegMap(@Self)^.&set := $00000100;
  35998. end;
  35999. procedure TPMP_PMMODE.clearMODE0; inline;
  36000. begin
  36001. pTDefRegMap(@Self)^.clr := $00000100;
  36002. end;
  36003. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  36004. begin
  36005. if thebits = 0 then
  36006. pTDefRegMap(@Self)^.clr := $00000100
  36007. else
  36008. pTDefRegMap(@Self)^.&set := $00000100;
  36009. end;
  36010. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  36011. begin
  36012. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36013. end;
  36014. procedure TPMP_PMMODE.setMODE1; inline;
  36015. begin
  36016. pTDefRegMap(@Self)^.&set := $00000200;
  36017. end;
  36018. procedure TPMP_PMMODE.clearMODE1; inline;
  36019. begin
  36020. pTDefRegMap(@Self)^.clr := $00000200;
  36021. end;
  36022. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  36023. begin
  36024. if thebits = 0 then
  36025. pTDefRegMap(@Self)^.clr := $00000200
  36026. else
  36027. pTDefRegMap(@Self)^.&set := $00000200;
  36028. end;
  36029. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  36030. begin
  36031. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36032. end;
  36033. procedure TPMP_PMMODE.setINCM0; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.&set := $00000800;
  36036. end;
  36037. procedure TPMP_PMMODE.clearINCM0; inline;
  36038. begin
  36039. pTDefRegMap(@Self)^.clr := $00000800;
  36040. end;
  36041. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  36042. begin
  36043. if thebits = 0 then
  36044. pTDefRegMap(@Self)^.clr := $00000800
  36045. else
  36046. pTDefRegMap(@Self)^.&set := $00000800;
  36047. end;
  36048. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  36049. begin
  36050. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36051. end;
  36052. procedure TPMP_PMMODE.setINCM1; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.&set := $00001000;
  36055. end;
  36056. procedure TPMP_PMMODE.clearINCM1; inline;
  36057. begin
  36058. pTDefRegMap(@Self)^.clr := $00001000;
  36059. end;
  36060. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  36061. begin
  36062. if thebits = 0 then
  36063. pTDefRegMap(@Self)^.clr := $00001000
  36064. else
  36065. pTDefRegMap(@Self)^.&set := $00001000;
  36066. end;
  36067. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  36068. begin
  36069. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36070. end;
  36071. procedure TPMP_PMMODE.setIRQM0; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.&set := $00002000;
  36074. end;
  36075. procedure TPMP_PMMODE.clearIRQM0; inline;
  36076. begin
  36077. pTDefRegMap(@Self)^.clr := $00002000;
  36078. end;
  36079. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  36080. begin
  36081. if thebits = 0 then
  36082. pTDefRegMap(@Self)^.clr := $00002000
  36083. else
  36084. pTDefRegMap(@Self)^.&set := $00002000;
  36085. end;
  36086. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  36087. begin
  36088. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36089. end;
  36090. procedure TPMP_PMMODE.setIRQM1; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.&set := $00004000;
  36093. end;
  36094. procedure TPMP_PMMODE.clearIRQM1; inline;
  36095. begin
  36096. pTDefRegMap(@Self)^.clr := $00004000;
  36097. end;
  36098. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  36099. begin
  36100. if thebits = 0 then
  36101. pTDefRegMap(@Self)^.clr := $00004000
  36102. else
  36103. pTDefRegMap(@Self)^.&set := $00004000;
  36104. end;
  36105. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  36106. begin
  36107. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36108. end;
  36109. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.val := thebits;
  36112. end;
  36113. function TPMP_PMMODE.getw : TBits_32; inline;
  36114. begin
  36115. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36116. end;
  36117. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  36118. begin
  36119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  36120. end;
  36121. function TPMP_PMADDR.getADDR : TBits_14; inline;
  36122. begin
  36123. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  36124. end;
  36125. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  36126. begin
  36127. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36128. end;
  36129. function TPMP_PMADDR.getCS : TBits_2; inline;
  36130. begin
  36131. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36132. end;
  36133. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  36134. begin
  36135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  36136. end;
  36137. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  36138. begin
  36139. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  36140. end;
  36141. procedure TPMP_PMADDR.setCS1; inline;
  36142. begin
  36143. pTDefRegMap(@Self)^.&set := $00004000;
  36144. end;
  36145. procedure TPMP_PMADDR.clearCS1; inline;
  36146. begin
  36147. pTDefRegMap(@Self)^.clr := $00004000;
  36148. end;
  36149. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  36150. begin
  36151. if thebits = 0 then
  36152. pTDefRegMap(@Self)^.clr := $00004000
  36153. else
  36154. pTDefRegMap(@Self)^.&set := $00004000;
  36155. end;
  36156. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  36157. begin
  36158. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36159. end;
  36160. procedure TPMP_PMADDR.setCS2; inline;
  36161. begin
  36162. pTDefRegMap(@Self)^.&set := $00008000;
  36163. end;
  36164. procedure TPMP_PMADDR.clearCS2; inline;
  36165. begin
  36166. pTDefRegMap(@Self)^.clr := $00008000;
  36167. end;
  36168. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  36169. begin
  36170. if thebits = 0 then
  36171. pTDefRegMap(@Self)^.clr := $00008000
  36172. else
  36173. pTDefRegMap(@Self)^.&set := $00008000;
  36174. end;
  36175. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  36176. begin
  36177. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36178. end;
  36179. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  36180. begin
  36181. pTDefRegMap(@Self)^.val := thebits;
  36182. end;
  36183. function TPMP_PMADDR.getw : TBits_32; inline;
  36184. begin
  36185. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36186. end;
  36187. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  36188. begin
  36189. pTDefRegMap(@Self)^.val := thebits;
  36190. end;
  36191. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  36192. begin
  36193. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36194. end;
  36195. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  36196. begin
  36197. pTDefRegMap(@Self)^.val := thebits;
  36198. end;
  36199. function TPMP_PMDOUT.getw : TBits_32; inline;
  36200. begin
  36201. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36202. end;
  36203. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  36204. begin
  36205. pTDefRegMap(@Self)^.val := thebits;
  36206. end;
  36207. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  36208. begin
  36209. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36210. end;
  36211. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  36212. begin
  36213. pTDefRegMap(@Self)^.val := thebits;
  36214. end;
  36215. function TPMP_PMDIN.getw : TBits_32; inline;
  36216. begin
  36217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36218. end;
  36219. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  36220. begin
  36221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  36222. end;
  36223. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  36224. begin
  36225. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  36226. end;
  36227. procedure TPMP_PMAEN.setPTEN0; inline;
  36228. begin
  36229. pTDefRegMap(@Self)^.&set := $00000001;
  36230. end;
  36231. procedure TPMP_PMAEN.clearPTEN0; inline;
  36232. begin
  36233. pTDefRegMap(@Self)^.clr := $00000001;
  36234. end;
  36235. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  36236. begin
  36237. if thebits = 0 then
  36238. pTDefRegMap(@Self)^.clr := $00000001
  36239. else
  36240. pTDefRegMap(@Self)^.&set := $00000001;
  36241. end;
  36242. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  36243. begin
  36244. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36245. end;
  36246. procedure TPMP_PMAEN.setPTEN1; inline;
  36247. begin
  36248. pTDefRegMap(@Self)^.&set := $00000002;
  36249. end;
  36250. procedure TPMP_PMAEN.clearPTEN1; inline;
  36251. begin
  36252. pTDefRegMap(@Self)^.clr := $00000002;
  36253. end;
  36254. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  36255. begin
  36256. if thebits = 0 then
  36257. pTDefRegMap(@Self)^.clr := $00000002
  36258. else
  36259. pTDefRegMap(@Self)^.&set := $00000002;
  36260. end;
  36261. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  36262. begin
  36263. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36264. end;
  36265. procedure TPMP_PMAEN.setPTEN2; inline;
  36266. begin
  36267. pTDefRegMap(@Self)^.&set := $00000004;
  36268. end;
  36269. procedure TPMP_PMAEN.clearPTEN2; inline;
  36270. begin
  36271. pTDefRegMap(@Self)^.clr := $00000004;
  36272. end;
  36273. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  36274. begin
  36275. if thebits = 0 then
  36276. pTDefRegMap(@Self)^.clr := $00000004
  36277. else
  36278. pTDefRegMap(@Self)^.&set := $00000004;
  36279. end;
  36280. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  36281. begin
  36282. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36283. end;
  36284. procedure TPMP_PMAEN.setPTEN3; inline;
  36285. begin
  36286. pTDefRegMap(@Self)^.&set := $00000008;
  36287. end;
  36288. procedure TPMP_PMAEN.clearPTEN3; inline;
  36289. begin
  36290. pTDefRegMap(@Self)^.clr := $00000008;
  36291. end;
  36292. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  36293. begin
  36294. if thebits = 0 then
  36295. pTDefRegMap(@Self)^.clr := $00000008
  36296. else
  36297. pTDefRegMap(@Self)^.&set := $00000008;
  36298. end;
  36299. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  36300. begin
  36301. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36302. end;
  36303. procedure TPMP_PMAEN.setPTEN4; inline;
  36304. begin
  36305. pTDefRegMap(@Self)^.&set := $00000010;
  36306. end;
  36307. procedure TPMP_PMAEN.clearPTEN4; inline;
  36308. begin
  36309. pTDefRegMap(@Self)^.clr := $00000010;
  36310. end;
  36311. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  36312. begin
  36313. if thebits = 0 then
  36314. pTDefRegMap(@Self)^.clr := $00000010
  36315. else
  36316. pTDefRegMap(@Self)^.&set := $00000010;
  36317. end;
  36318. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  36319. begin
  36320. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36321. end;
  36322. procedure TPMP_PMAEN.setPTEN5; inline;
  36323. begin
  36324. pTDefRegMap(@Self)^.&set := $00000020;
  36325. end;
  36326. procedure TPMP_PMAEN.clearPTEN5; inline;
  36327. begin
  36328. pTDefRegMap(@Self)^.clr := $00000020;
  36329. end;
  36330. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  36331. begin
  36332. if thebits = 0 then
  36333. pTDefRegMap(@Self)^.clr := $00000020
  36334. else
  36335. pTDefRegMap(@Self)^.&set := $00000020;
  36336. end;
  36337. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  36338. begin
  36339. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36340. end;
  36341. procedure TPMP_PMAEN.setPTEN6; inline;
  36342. begin
  36343. pTDefRegMap(@Self)^.&set := $00000040;
  36344. end;
  36345. procedure TPMP_PMAEN.clearPTEN6; inline;
  36346. begin
  36347. pTDefRegMap(@Self)^.clr := $00000040;
  36348. end;
  36349. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  36350. begin
  36351. if thebits = 0 then
  36352. pTDefRegMap(@Self)^.clr := $00000040
  36353. else
  36354. pTDefRegMap(@Self)^.&set := $00000040;
  36355. end;
  36356. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  36357. begin
  36358. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36359. end;
  36360. procedure TPMP_PMAEN.setPTEN7; inline;
  36361. begin
  36362. pTDefRegMap(@Self)^.&set := $00000080;
  36363. end;
  36364. procedure TPMP_PMAEN.clearPTEN7; inline;
  36365. begin
  36366. pTDefRegMap(@Self)^.clr := $00000080;
  36367. end;
  36368. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  36369. begin
  36370. if thebits = 0 then
  36371. pTDefRegMap(@Self)^.clr := $00000080
  36372. else
  36373. pTDefRegMap(@Self)^.&set := $00000080;
  36374. end;
  36375. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  36376. begin
  36377. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36378. end;
  36379. procedure TPMP_PMAEN.setPTEN8; inline;
  36380. begin
  36381. pTDefRegMap(@Self)^.&set := $00000100;
  36382. end;
  36383. procedure TPMP_PMAEN.clearPTEN8; inline;
  36384. begin
  36385. pTDefRegMap(@Self)^.clr := $00000100;
  36386. end;
  36387. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  36388. begin
  36389. if thebits = 0 then
  36390. pTDefRegMap(@Self)^.clr := $00000100
  36391. else
  36392. pTDefRegMap(@Self)^.&set := $00000100;
  36393. end;
  36394. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  36395. begin
  36396. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36397. end;
  36398. procedure TPMP_PMAEN.setPTEN9; inline;
  36399. begin
  36400. pTDefRegMap(@Self)^.&set := $00000200;
  36401. end;
  36402. procedure TPMP_PMAEN.clearPTEN9; inline;
  36403. begin
  36404. pTDefRegMap(@Self)^.clr := $00000200;
  36405. end;
  36406. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  36407. begin
  36408. if thebits = 0 then
  36409. pTDefRegMap(@Self)^.clr := $00000200
  36410. else
  36411. pTDefRegMap(@Self)^.&set := $00000200;
  36412. end;
  36413. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  36414. begin
  36415. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36416. end;
  36417. procedure TPMP_PMAEN.setPTEN10; inline;
  36418. begin
  36419. pTDefRegMap(@Self)^.&set := $00000400;
  36420. end;
  36421. procedure TPMP_PMAEN.clearPTEN10; inline;
  36422. begin
  36423. pTDefRegMap(@Self)^.clr := $00000400;
  36424. end;
  36425. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  36426. begin
  36427. if thebits = 0 then
  36428. pTDefRegMap(@Self)^.clr := $00000400
  36429. else
  36430. pTDefRegMap(@Self)^.&set := $00000400;
  36431. end;
  36432. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  36433. begin
  36434. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36435. end;
  36436. procedure TPMP_PMAEN.setPTEN11; inline;
  36437. begin
  36438. pTDefRegMap(@Self)^.&set := $00000800;
  36439. end;
  36440. procedure TPMP_PMAEN.clearPTEN11; inline;
  36441. begin
  36442. pTDefRegMap(@Self)^.clr := $00000800;
  36443. end;
  36444. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  36445. begin
  36446. if thebits = 0 then
  36447. pTDefRegMap(@Self)^.clr := $00000800
  36448. else
  36449. pTDefRegMap(@Self)^.&set := $00000800;
  36450. end;
  36451. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  36452. begin
  36453. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36454. end;
  36455. procedure TPMP_PMAEN.setPTEN12; inline;
  36456. begin
  36457. pTDefRegMap(@Self)^.&set := $00001000;
  36458. end;
  36459. procedure TPMP_PMAEN.clearPTEN12; inline;
  36460. begin
  36461. pTDefRegMap(@Self)^.clr := $00001000;
  36462. end;
  36463. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  36464. begin
  36465. if thebits = 0 then
  36466. pTDefRegMap(@Self)^.clr := $00001000
  36467. else
  36468. pTDefRegMap(@Self)^.&set := $00001000;
  36469. end;
  36470. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  36471. begin
  36472. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36473. end;
  36474. procedure TPMP_PMAEN.setPTEN13; inline;
  36475. begin
  36476. pTDefRegMap(@Self)^.&set := $00002000;
  36477. end;
  36478. procedure TPMP_PMAEN.clearPTEN13; inline;
  36479. begin
  36480. pTDefRegMap(@Self)^.clr := $00002000;
  36481. end;
  36482. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  36483. begin
  36484. if thebits = 0 then
  36485. pTDefRegMap(@Self)^.clr := $00002000
  36486. else
  36487. pTDefRegMap(@Self)^.&set := $00002000;
  36488. end;
  36489. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  36490. begin
  36491. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36492. end;
  36493. procedure TPMP_PMAEN.setPTEN14; inline;
  36494. begin
  36495. pTDefRegMap(@Self)^.&set := $00004000;
  36496. end;
  36497. procedure TPMP_PMAEN.clearPTEN14; inline;
  36498. begin
  36499. pTDefRegMap(@Self)^.clr := $00004000;
  36500. end;
  36501. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  36502. begin
  36503. if thebits = 0 then
  36504. pTDefRegMap(@Self)^.clr := $00004000
  36505. else
  36506. pTDefRegMap(@Self)^.&set := $00004000;
  36507. end;
  36508. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  36509. begin
  36510. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36511. end;
  36512. procedure TPMP_PMAEN.setPTEN15; inline;
  36513. begin
  36514. pTDefRegMap(@Self)^.&set := $00008000;
  36515. end;
  36516. procedure TPMP_PMAEN.clearPTEN15; inline;
  36517. begin
  36518. pTDefRegMap(@Self)^.clr := $00008000;
  36519. end;
  36520. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  36521. begin
  36522. if thebits = 0 then
  36523. pTDefRegMap(@Self)^.clr := $00008000
  36524. else
  36525. pTDefRegMap(@Self)^.&set := $00008000;
  36526. end;
  36527. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  36528. begin
  36529. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36530. end;
  36531. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  36532. begin
  36533. pTDefRegMap(@Self)^.val := thebits;
  36534. end;
  36535. function TPMP_PMAEN.getw : TBits_32; inline;
  36536. begin
  36537. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36538. end;
  36539. procedure TPMP_PMSTAT.setOB0E; inline;
  36540. begin
  36541. pTDefRegMap(@Self)^.&set := $00000001;
  36542. end;
  36543. procedure TPMP_PMSTAT.clearOB0E; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.clr := $00000001;
  36546. end;
  36547. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  36548. begin
  36549. if thebits = 0 then
  36550. pTDefRegMap(@Self)^.clr := $00000001
  36551. else
  36552. pTDefRegMap(@Self)^.&set := $00000001;
  36553. end;
  36554. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  36555. begin
  36556. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36557. end;
  36558. procedure TPMP_PMSTAT.setOB1E; inline;
  36559. begin
  36560. pTDefRegMap(@Self)^.&set := $00000002;
  36561. end;
  36562. procedure TPMP_PMSTAT.clearOB1E; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.clr := $00000002;
  36565. end;
  36566. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  36567. begin
  36568. if thebits = 0 then
  36569. pTDefRegMap(@Self)^.clr := $00000002
  36570. else
  36571. pTDefRegMap(@Self)^.&set := $00000002;
  36572. end;
  36573. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  36574. begin
  36575. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36576. end;
  36577. procedure TPMP_PMSTAT.setOB2E; inline;
  36578. begin
  36579. pTDefRegMap(@Self)^.&set := $00000004;
  36580. end;
  36581. procedure TPMP_PMSTAT.clearOB2E; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.clr := $00000004;
  36584. end;
  36585. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  36586. begin
  36587. if thebits = 0 then
  36588. pTDefRegMap(@Self)^.clr := $00000004
  36589. else
  36590. pTDefRegMap(@Self)^.&set := $00000004;
  36591. end;
  36592. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  36593. begin
  36594. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36595. end;
  36596. procedure TPMP_PMSTAT.setOB3E; inline;
  36597. begin
  36598. pTDefRegMap(@Self)^.&set := $00000008;
  36599. end;
  36600. procedure TPMP_PMSTAT.clearOB3E; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.clr := $00000008;
  36603. end;
  36604. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  36605. begin
  36606. if thebits = 0 then
  36607. pTDefRegMap(@Self)^.clr := $00000008
  36608. else
  36609. pTDefRegMap(@Self)^.&set := $00000008;
  36610. end;
  36611. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  36612. begin
  36613. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36614. end;
  36615. procedure TPMP_PMSTAT.setOBUF; inline;
  36616. begin
  36617. pTDefRegMap(@Self)^.&set := $00000040;
  36618. end;
  36619. procedure TPMP_PMSTAT.clearOBUF; inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.clr := $00000040;
  36622. end;
  36623. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  36624. begin
  36625. if thebits = 0 then
  36626. pTDefRegMap(@Self)^.clr := $00000040
  36627. else
  36628. pTDefRegMap(@Self)^.&set := $00000040;
  36629. end;
  36630. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  36631. begin
  36632. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36633. end;
  36634. procedure TPMP_PMSTAT.setOBE; inline;
  36635. begin
  36636. pTDefRegMap(@Self)^.&set := $00000080;
  36637. end;
  36638. procedure TPMP_PMSTAT.clearOBE; inline;
  36639. begin
  36640. pTDefRegMap(@Self)^.clr := $00000080;
  36641. end;
  36642. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  36643. begin
  36644. if thebits = 0 then
  36645. pTDefRegMap(@Self)^.clr := $00000080
  36646. else
  36647. pTDefRegMap(@Self)^.&set := $00000080;
  36648. end;
  36649. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  36650. begin
  36651. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36652. end;
  36653. procedure TPMP_PMSTAT.setIB0F; inline;
  36654. begin
  36655. pTDefRegMap(@Self)^.&set := $00000100;
  36656. end;
  36657. procedure TPMP_PMSTAT.clearIB0F; inline;
  36658. begin
  36659. pTDefRegMap(@Self)^.clr := $00000100;
  36660. end;
  36661. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  36662. begin
  36663. if thebits = 0 then
  36664. pTDefRegMap(@Self)^.clr := $00000100
  36665. else
  36666. pTDefRegMap(@Self)^.&set := $00000100;
  36667. end;
  36668. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  36669. begin
  36670. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36671. end;
  36672. procedure TPMP_PMSTAT.setIB1F; inline;
  36673. begin
  36674. pTDefRegMap(@Self)^.&set := $00000200;
  36675. end;
  36676. procedure TPMP_PMSTAT.clearIB1F; inline;
  36677. begin
  36678. pTDefRegMap(@Self)^.clr := $00000200;
  36679. end;
  36680. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  36681. begin
  36682. if thebits = 0 then
  36683. pTDefRegMap(@Self)^.clr := $00000200
  36684. else
  36685. pTDefRegMap(@Self)^.&set := $00000200;
  36686. end;
  36687. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  36688. begin
  36689. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36690. end;
  36691. procedure TPMP_PMSTAT.setIB2F; inline;
  36692. begin
  36693. pTDefRegMap(@Self)^.&set := $00000400;
  36694. end;
  36695. procedure TPMP_PMSTAT.clearIB2F; inline;
  36696. begin
  36697. pTDefRegMap(@Self)^.clr := $00000400;
  36698. end;
  36699. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  36700. begin
  36701. if thebits = 0 then
  36702. pTDefRegMap(@Self)^.clr := $00000400
  36703. else
  36704. pTDefRegMap(@Self)^.&set := $00000400;
  36705. end;
  36706. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  36707. begin
  36708. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36709. end;
  36710. procedure TPMP_PMSTAT.setIB3F; inline;
  36711. begin
  36712. pTDefRegMap(@Self)^.&set := $00000800;
  36713. end;
  36714. procedure TPMP_PMSTAT.clearIB3F; inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.clr := $00000800;
  36717. end;
  36718. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  36719. begin
  36720. if thebits = 0 then
  36721. pTDefRegMap(@Self)^.clr := $00000800
  36722. else
  36723. pTDefRegMap(@Self)^.&set := $00000800;
  36724. end;
  36725. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  36726. begin
  36727. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36728. end;
  36729. procedure TPMP_PMSTAT.setIBOV; inline;
  36730. begin
  36731. pTDefRegMap(@Self)^.&set := $00004000;
  36732. end;
  36733. procedure TPMP_PMSTAT.clearIBOV; inline;
  36734. begin
  36735. pTDefRegMap(@Self)^.clr := $00004000;
  36736. end;
  36737. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  36738. begin
  36739. if thebits = 0 then
  36740. pTDefRegMap(@Self)^.clr := $00004000
  36741. else
  36742. pTDefRegMap(@Self)^.&set := $00004000;
  36743. end;
  36744. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  36745. begin
  36746. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36747. end;
  36748. procedure TPMP_PMSTAT.setIBF; inline;
  36749. begin
  36750. pTDefRegMap(@Self)^.&set := $00008000;
  36751. end;
  36752. procedure TPMP_PMSTAT.clearIBF; inline;
  36753. begin
  36754. pTDefRegMap(@Self)^.clr := $00008000;
  36755. end;
  36756. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  36757. begin
  36758. if thebits = 0 then
  36759. pTDefRegMap(@Self)^.clr := $00008000
  36760. else
  36761. pTDefRegMap(@Self)^.&set := $00008000;
  36762. end;
  36763. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  36764. begin
  36765. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36766. end;
  36767. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  36768. begin
  36769. pTDefRegMap(@Self)^.val := thebits;
  36770. end;
  36771. function TPMP_PMSTAT.getw : TBits_32; inline;
  36772. begin
  36773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36774. end;
  36775. procedure TADC10_AD1CON1.setDONE; inline;
  36776. begin
  36777. pTDefRegMap(@Self)^.&set := $00000001;
  36778. end;
  36779. procedure TADC10_AD1CON1.clearDONE; inline;
  36780. begin
  36781. pTDefRegMap(@Self)^.clr := $00000001;
  36782. end;
  36783. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  36784. begin
  36785. if thebits = 0 then
  36786. pTDefRegMap(@Self)^.clr := $00000001
  36787. else
  36788. pTDefRegMap(@Self)^.&set := $00000001;
  36789. end;
  36790. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  36791. begin
  36792. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36793. end;
  36794. procedure TADC10_AD1CON1.setSAMP; inline;
  36795. begin
  36796. pTDefRegMap(@Self)^.&set := $00000002;
  36797. end;
  36798. procedure TADC10_AD1CON1.clearSAMP; inline;
  36799. begin
  36800. pTDefRegMap(@Self)^.clr := $00000002;
  36801. end;
  36802. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  36803. begin
  36804. if thebits = 0 then
  36805. pTDefRegMap(@Self)^.clr := $00000002
  36806. else
  36807. pTDefRegMap(@Self)^.&set := $00000002;
  36808. end;
  36809. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  36810. begin
  36811. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36812. end;
  36813. procedure TADC10_AD1CON1.setASAM; inline;
  36814. begin
  36815. pTDefRegMap(@Self)^.&set := $00000004;
  36816. end;
  36817. procedure TADC10_AD1CON1.clearASAM; inline;
  36818. begin
  36819. pTDefRegMap(@Self)^.clr := $00000004;
  36820. end;
  36821. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  36822. begin
  36823. if thebits = 0 then
  36824. pTDefRegMap(@Self)^.clr := $00000004
  36825. else
  36826. pTDefRegMap(@Self)^.&set := $00000004;
  36827. end;
  36828. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  36829. begin
  36830. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36831. end;
  36832. procedure TADC10_AD1CON1.setCLRASAM; inline;
  36833. begin
  36834. pTDefRegMap(@Self)^.&set := $00000010;
  36835. end;
  36836. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  36837. begin
  36838. pTDefRegMap(@Self)^.clr := $00000010;
  36839. end;
  36840. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  36841. begin
  36842. if thebits = 0 then
  36843. pTDefRegMap(@Self)^.clr := $00000010
  36844. else
  36845. pTDefRegMap(@Self)^.&set := $00000010;
  36846. end;
  36847. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  36848. begin
  36849. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36850. end;
  36851. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  36852. begin
  36853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  36854. end;
  36855. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  36856. begin
  36857. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  36858. end;
  36859. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  36862. end;
  36863. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  36864. begin
  36865. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  36866. end;
  36867. procedure TADC10_AD1CON1.setSIDL; inline;
  36868. begin
  36869. pTDefRegMap(@Self)^.&set := $00002000;
  36870. end;
  36871. procedure TADC10_AD1CON1.clearSIDL; inline;
  36872. begin
  36873. pTDefRegMap(@Self)^.clr := $00002000;
  36874. end;
  36875. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  36876. begin
  36877. if thebits = 0 then
  36878. pTDefRegMap(@Self)^.clr := $00002000
  36879. else
  36880. pTDefRegMap(@Self)^.&set := $00002000;
  36881. end;
  36882. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  36883. begin
  36884. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36885. end;
  36886. procedure TADC10_AD1CON1.setON; inline;
  36887. begin
  36888. pTDefRegMap(@Self)^.&set := $00008000;
  36889. end;
  36890. procedure TADC10_AD1CON1.clearON; inline;
  36891. begin
  36892. pTDefRegMap(@Self)^.clr := $00008000;
  36893. end;
  36894. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  36895. begin
  36896. if thebits = 0 then
  36897. pTDefRegMap(@Self)^.clr := $00008000
  36898. else
  36899. pTDefRegMap(@Self)^.&set := $00008000;
  36900. end;
  36901. function TADC10_AD1CON1.getON : TBits_1; inline;
  36902. begin
  36903. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36904. end;
  36905. procedure TADC10_AD1CON1.setSSRC0; inline;
  36906. begin
  36907. pTDefRegMap(@Self)^.&set := $00000020;
  36908. end;
  36909. procedure TADC10_AD1CON1.clearSSRC0; inline;
  36910. begin
  36911. pTDefRegMap(@Self)^.clr := $00000020;
  36912. end;
  36913. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  36914. begin
  36915. if thebits = 0 then
  36916. pTDefRegMap(@Self)^.clr := $00000020
  36917. else
  36918. pTDefRegMap(@Self)^.&set := $00000020;
  36919. end;
  36920. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  36921. begin
  36922. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36923. end;
  36924. procedure TADC10_AD1CON1.setSSRC1; inline;
  36925. begin
  36926. pTDefRegMap(@Self)^.&set := $00000040;
  36927. end;
  36928. procedure TADC10_AD1CON1.clearSSRC1; inline;
  36929. begin
  36930. pTDefRegMap(@Self)^.clr := $00000040;
  36931. end;
  36932. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  36933. begin
  36934. if thebits = 0 then
  36935. pTDefRegMap(@Self)^.clr := $00000040
  36936. else
  36937. pTDefRegMap(@Self)^.&set := $00000040;
  36938. end;
  36939. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  36940. begin
  36941. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36942. end;
  36943. procedure TADC10_AD1CON1.setSSRC2; inline;
  36944. begin
  36945. pTDefRegMap(@Self)^.&set := $00000080;
  36946. end;
  36947. procedure TADC10_AD1CON1.clearSSRC2; inline;
  36948. begin
  36949. pTDefRegMap(@Self)^.clr := $00000080;
  36950. end;
  36951. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  36952. begin
  36953. if thebits = 0 then
  36954. pTDefRegMap(@Self)^.clr := $00000080
  36955. else
  36956. pTDefRegMap(@Self)^.&set := $00000080;
  36957. end;
  36958. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  36959. begin
  36960. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36961. end;
  36962. procedure TADC10_AD1CON1.setFORM0; inline;
  36963. begin
  36964. pTDefRegMap(@Self)^.&set := $00000100;
  36965. end;
  36966. procedure TADC10_AD1CON1.clearFORM0; inline;
  36967. begin
  36968. pTDefRegMap(@Self)^.clr := $00000100;
  36969. end;
  36970. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  36971. begin
  36972. if thebits = 0 then
  36973. pTDefRegMap(@Self)^.clr := $00000100
  36974. else
  36975. pTDefRegMap(@Self)^.&set := $00000100;
  36976. end;
  36977. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  36978. begin
  36979. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36980. end;
  36981. procedure TADC10_AD1CON1.setFORM1; inline;
  36982. begin
  36983. pTDefRegMap(@Self)^.&set := $00000200;
  36984. end;
  36985. procedure TADC10_AD1CON1.clearFORM1; inline;
  36986. begin
  36987. pTDefRegMap(@Self)^.clr := $00000200;
  36988. end;
  36989. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  36990. begin
  36991. if thebits = 0 then
  36992. pTDefRegMap(@Self)^.clr := $00000200
  36993. else
  36994. pTDefRegMap(@Self)^.&set := $00000200;
  36995. end;
  36996. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  36997. begin
  36998. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36999. end;
  37000. procedure TADC10_AD1CON1.setFORM2; inline;
  37001. begin
  37002. pTDefRegMap(@Self)^.&set := $00000400;
  37003. end;
  37004. procedure TADC10_AD1CON1.clearFORM2; inline;
  37005. begin
  37006. pTDefRegMap(@Self)^.clr := $00000400;
  37007. end;
  37008. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  37009. begin
  37010. if thebits = 0 then
  37011. pTDefRegMap(@Self)^.clr := $00000400
  37012. else
  37013. pTDefRegMap(@Self)^.&set := $00000400;
  37014. end;
  37015. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  37016. begin
  37017. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37018. end;
  37019. procedure TADC10_AD1CON1.setADSIDL; inline;
  37020. begin
  37021. pTDefRegMap(@Self)^.&set := $00002000;
  37022. end;
  37023. procedure TADC10_AD1CON1.clearADSIDL; inline;
  37024. begin
  37025. pTDefRegMap(@Self)^.clr := $00002000;
  37026. end;
  37027. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  37028. begin
  37029. if thebits = 0 then
  37030. pTDefRegMap(@Self)^.clr := $00002000
  37031. else
  37032. pTDefRegMap(@Self)^.&set := $00002000;
  37033. end;
  37034. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  37035. begin
  37036. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37037. end;
  37038. procedure TADC10_AD1CON1.setADON; inline;
  37039. begin
  37040. pTDefRegMap(@Self)^.&set := $00008000;
  37041. end;
  37042. procedure TADC10_AD1CON1.clearADON; inline;
  37043. begin
  37044. pTDefRegMap(@Self)^.clr := $00008000;
  37045. end;
  37046. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  37047. begin
  37048. if thebits = 0 then
  37049. pTDefRegMap(@Self)^.clr := $00008000
  37050. else
  37051. pTDefRegMap(@Self)^.&set := $00008000;
  37052. end;
  37053. function TADC10_AD1CON1.getADON : TBits_1; inline;
  37054. begin
  37055. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37056. end;
  37057. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  37058. begin
  37059. pTDefRegMap(@Self)^.val := thebits;
  37060. end;
  37061. function TADC10_AD1CON1.getw : TBits_32; inline;
  37062. begin
  37063. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37064. end;
  37065. procedure TADC10_AD1CON2.setALTS; inline;
  37066. begin
  37067. pTDefRegMap(@Self)^.&set := $00000001;
  37068. end;
  37069. procedure TADC10_AD1CON2.clearALTS; inline;
  37070. begin
  37071. pTDefRegMap(@Self)^.clr := $00000001;
  37072. end;
  37073. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  37074. begin
  37075. if thebits = 0 then
  37076. pTDefRegMap(@Self)^.clr := $00000001
  37077. else
  37078. pTDefRegMap(@Self)^.&set := $00000001;
  37079. end;
  37080. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  37081. begin
  37082. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37083. end;
  37084. procedure TADC10_AD1CON2.setBUFM; inline;
  37085. begin
  37086. pTDefRegMap(@Self)^.&set := $00000002;
  37087. end;
  37088. procedure TADC10_AD1CON2.clearBUFM; inline;
  37089. begin
  37090. pTDefRegMap(@Self)^.clr := $00000002;
  37091. end;
  37092. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  37093. begin
  37094. if thebits = 0 then
  37095. pTDefRegMap(@Self)^.clr := $00000002
  37096. else
  37097. pTDefRegMap(@Self)^.&set := $00000002;
  37098. end;
  37099. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  37100. begin
  37101. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37102. end;
  37103. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  37104. begin
  37105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  37106. end;
  37107. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  37108. begin
  37109. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  37110. end;
  37111. procedure TADC10_AD1CON2.setBUFS; inline;
  37112. begin
  37113. pTDefRegMap(@Self)^.&set := $00000080;
  37114. end;
  37115. procedure TADC10_AD1CON2.clearBUFS; inline;
  37116. begin
  37117. pTDefRegMap(@Self)^.clr := $00000080;
  37118. end;
  37119. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  37120. begin
  37121. if thebits = 0 then
  37122. pTDefRegMap(@Self)^.clr := $00000080
  37123. else
  37124. pTDefRegMap(@Self)^.&set := $00000080;
  37125. end;
  37126. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  37127. begin
  37128. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37129. end;
  37130. procedure TADC10_AD1CON2.setCSCNA; inline;
  37131. begin
  37132. pTDefRegMap(@Self)^.&set := $00000400;
  37133. end;
  37134. procedure TADC10_AD1CON2.clearCSCNA; inline;
  37135. begin
  37136. pTDefRegMap(@Self)^.clr := $00000400;
  37137. end;
  37138. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  37139. begin
  37140. if thebits = 0 then
  37141. pTDefRegMap(@Self)^.clr := $00000400
  37142. else
  37143. pTDefRegMap(@Self)^.&set := $00000400;
  37144. end;
  37145. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  37146. begin
  37147. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37148. end;
  37149. procedure TADC10_AD1CON2.setOFFCAL; inline;
  37150. begin
  37151. pTDefRegMap(@Self)^.&set := $00001000;
  37152. end;
  37153. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  37154. begin
  37155. pTDefRegMap(@Self)^.clr := $00001000;
  37156. end;
  37157. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  37158. begin
  37159. if thebits = 0 then
  37160. pTDefRegMap(@Self)^.clr := $00001000
  37161. else
  37162. pTDefRegMap(@Self)^.&set := $00001000;
  37163. end;
  37164. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  37165. begin
  37166. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37167. end;
  37168. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  37169. begin
  37170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  37171. end;
  37172. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  37173. begin
  37174. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  37175. end;
  37176. procedure TADC10_AD1CON2.setSMPI0; inline;
  37177. begin
  37178. pTDefRegMap(@Self)^.&set := $00000004;
  37179. end;
  37180. procedure TADC10_AD1CON2.clearSMPI0; inline;
  37181. begin
  37182. pTDefRegMap(@Self)^.clr := $00000004;
  37183. end;
  37184. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  37185. begin
  37186. if thebits = 0 then
  37187. pTDefRegMap(@Self)^.clr := $00000004
  37188. else
  37189. pTDefRegMap(@Self)^.&set := $00000004;
  37190. end;
  37191. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  37192. begin
  37193. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37194. end;
  37195. procedure TADC10_AD1CON2.setSMPI1; inline;
  37196. begin
  37197. pTDefRegMap(@Self)^.&set := $00000008;
  37198. end;
  37199. procedure TADC10_AD1CON2.clearSMPI1; inline;
  37200. begin
  37201. pTDefRegMap(@Self)^.clr := $00000008;
  37202. end;
  37203. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  37204. begin
  37205. if thebits = 0 then
  37206. pTDefRegMap(@Self)^.clr := $00000008
  37207. else
  37208. pTDefRegMap(@Self)^.&set := $00000008;
  37209. end;
  37210. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  37211. begin
  37212. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37213. end;
  37214. procedure TADC10_AD1CON2.setSMPI2; inline;
  37215. begin
  37216. pTDefRegMap(@Self)^.&set := $00000010;
  37217. end;
  37218. procedure TADC10_AD1CON2.clearSMPI2; inline;
  37219. begin
  37220. pTDefRegMap(@Self)^.clr := $00000010;
  37221. end;
  37222. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  37223. begin
  37224. if thebits = 0 then
  37225. pTDefRegMap(@Self)^.clr := $00000010
  37226. else
  37227. pTDefRegMap(@Self)^.&set := $00000010;
  37228. end;
  37229. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  37230. begin
  37231. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37232. end;
  37233. procedure TADC10_AD1CON2.setSMPI3; inline;
  37234. begin
  37235. pTDefRegMap(@Self)^.&set := $00000020;
  37236. end;
  37237. procedure TADC10_AD1CON2.clearSMPI3; inline;
  37238. begin
  37239. pTDefRegMap(@Self)^.clr := $00000020;
  37240. end;
  37241. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  37242. begin
  37243. if thebits = 0 then
  37244. pTDefRegMap(@Self)^.clr := $00000020
  37245. else
  37246. pTDefRegMap(@Self)^.&set := $00000020;
  37247. end;
  37248. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  37249. begin
  37250. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37251. end;
  37252. procedure TADC10_AD1CON2.setVCFG0; inline;
  37253. begin
  37254. pTDefRegMap(@Self)^.&set := $00002000;
  37255. end;
  37256. procedure TADC10_AD1CON2.clearVCFG0; inline;
  37257. begin
  37258. pTDefRegMap(@Self)^.clr := $00002000;
  37259. end;
  37260. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  37261. begin
  37262. if thebits = 0 then
  37263. pTDefRegMap(@Self)^.clr := $00002000
  37264. else
  37265. pTDefRegMap(@Self)^.&set := $00002000;
  37266. end;
  37267. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  37268. begin
  37269. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37270. end;
  37271. procedure TADC10_AD1CON2.setVCFG1; inline;
  37272. begin
  37273. pTDefRegMap(@Self)^.&set := $00004000;
  37274. end;
  37275. procedure TADC10_AD1CON2.clearVCFG1; inline;
  37276. begin
  37277. pTDefRegMap(@Self)^.clr := $00004000;
  37278. end;
  37279. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  37280. begin
  37281. if thebits = 0 then
  37282. pTDefRegMap(@Self)^.clr := $00004000
  37283. else
  37284. pTDefRegMap(@Self)^.&set := $00004000;
  37285. end;
  37286. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  37287. begin
  37288. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37289. end;
  37290. procedure TADC10_AD1CON2.setVCFG2; inline;
  37291. begin
  37292. pTDefRegMap(@Self)^.&set := $00008000;
  37293. end;
  37294. procedure TADC10_AD1CON2.clearVCFG2; inline;
  37295. begin
  37296. pTDefRegMap(@Self)^.clr := $00008000;
  37297. end;
  37298. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  37299. begin
  37300. if thebits = 0 then
  37301. pTDefRegMap(@Self)^.clr := $00008000
  37302. else
  37303. pTDefRegMap(@Self)^.&set := $00008000;
  37304. end;
  37305. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  37306. begin
  37307. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37308. end;
  37309. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  37310. begin
  37311. pTDefRegMap(@Self)^.val := thebits;
  37312. end;
  37313. function TADC10_AD1CON2.getw : TBits_32; inline;
  37314. begin
  37315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37316. end;
  37317. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  37318. begin
  37319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  37320. end;
  37321. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  37322. begin
  37323. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  37324. end;
  37325. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  37326. begin
  37327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  37328. end;
  37329. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  37330. begin
  37331. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  37332. end;
  37333. procedure TADC10_AD1CON3.setADRC; inline;
  37334. begin
  37335. pTDefRegMap(@Self)^.&set := $00008000;
  37336. end;
  37337. procedure TADC10_AD1CON3.clearADRC; inline;
  37338. begin
  37339. pTDefRegMap(@Self)^.clr := $00008000;
  37340. end;
  37341. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  37342. begin
  37343. if thebits = 0 then
  37344. pTDefRegMap(@Self)^.clr := $00008000
  37345. else
  37346. pTDefRegMap(@Self)^.&set := $00008000;
  37347. end;
  37348. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  37349. begin
  37350. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37351. end;
  37352. procedure TADC10_AD1CON3.setADCS0; inline;
  37353. begin
  37354. pTDefRegMap(@Self)^.&set := $00000001;
  37355. end;
  37356. procedure TADC10_AD1CON3.clearADCS0; inline;
  37357. begin
  37358. pTDefRegMap(@Self)^.clr := $00000001;
  37359. end;
  37360. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  37361. begin
  37362. if thebits = 0 then
  37363. pTDefRegMap(@Self)^.clr := $00000001
  37364. else
  37365. pTDefRegMap(@Self)^.&set := $00000001;
  37366. end;
  37367. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  37368. begin
  37369. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37370. end;
  37371. procedure TADC10_AD1CON3.setADCS1; inline;
  37372. begin
  37373. pTDefRegMap(@Self)^.&set := $00000002;
  37374. end;
  37375. procedure TADC10_AD1CON3.clearADCS1; inline;
  37376. begin
  37377. pTDefRegMap(@Self)^.clr := $00000002;
  37378. end;
  37379. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  37380. begin
  37381. if thebits = 0 then
  37382. pTDefRegMap(@Self)^.clr := $00000002
  37383. else
  37384. pTDefRegMap(@Self)^.&set := $00000002;
  37385. end;
  37386. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  37387. begin
  37388. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37389. end;
  37390. procedure TADC10_AD1CON3.setADCS2; inline;
  37391. begin
  37392. pTDefRegMap(@Self)^.&set := $00000004;
  37393. end;
  37394. procedure TADC10_AD1CON3.clearADCS2; inline;
  37395. begin
  37396. pTDefRegMap(@Self)^.clr := $00000004;
  37397. end;
  37398. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  37399. begin
  37400. if thebits = 0 then
  37401. pTDefRegMap(@Self)^.clr := $00000004
  37402. else
  37403. pTDefRegMap(@Self)^.&set := $00000004;
  37404. end;
  37405. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  37406. begin
  37407. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37408. end;
  37409. procedure TADC10_AD1CON3.setADCS3; inline;
  37410. begin
  37411. pTDefRegMap(@Self)^.&set := $00000008;
  37412. end;
  37413. procedure TADC10_AD1CON3.clearADCS3; inline;
  37414. begin
  37415. pTDefRegMap(@Self)^.clr := $00000008;
  37416. end;
  37417. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  37418. begin
  37419. if thebits = 0 then
  37420. pTDefRegMap(@Self)^.clr := $00000008
  37421. else
  37422. pTDefRegMap(@Self)^.&set := $00000008;
  37423. end;
  37424. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  37425. begin
  37426. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37427. end;
  37428. procedure TADC10_AD1CON3.setADCS4; inline;
  37429. begin
  37430. pTDefRegMap(@Self)^.&set := $00000010;
  37431. end;
  37432. procedure TADC10_AD1CON3.clearADCS4; inline;
  37433. begin
  37434. pTDefRegMap(@Self)^.clr := $00000010;
  37435. end;
  37436. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  37437. begin
  37438. if thebits = 0 then
  37439. pTDefRegMap(@Self)^.clr := $00000010
  37440. else
  37441. pTDefRegMap(@Self)^.&set := $00000010;
  37442. end;
  37443. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  37444. begin
  37445. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37446. end;
  37447. procedure TADC10_AD1CON3.setADCS5; inline;
  37448. begin
  37449. pTDefRegMap(@Self)^.&set := $00000020;
  37450. end;
  37451. procedure TADC10_AD1CON3.clearADCS5; inline;
  37452. begin
  37453. pTDefRegMap(@Self)^.clr := $00000020;
  37454. end;
  37455. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  37456. begin
  37457. if thebits = 0 then
  37458. pTDefRegMap(@Self)^.clr := $00000020
  37459. else
  37460. pTDefRegMap(@Self)^.&set := $00000020;
  37461. end;
  37462. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  37463. begin
  37464. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37465. end;
  37466. procedure TADC10_AD1CON3.setADCS6; inline;
  37467. begin
  37468. pTDefRegMap(@Self)^.&set := $00000040;
  37469. end;
  37470. procedure TADC10_AD1CON3.clearADCS6; inline;
  37471. begin
  37472. pTDefRegMap(@Self)^.clr := $00000040;
  37473. end;
  37474. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  37475. begin
  37476. if thebits = 0 then
  37477. pTDefRegMap(@Self)^.clr := $00000040
  37478. else
  37479. pTDefRegMap(@Self)^.&set := $00000040;
  37480. end;
  37481. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  37482. begin
  37483. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37484. end;
  37485. procedure TADC10_AD1CON3.setADCS7; inline;
  37486. begin
  37487. pTDefRegMap(@Self)^.&set := $00000080;
  37488. end;
  37489. procedure TADC10_AD1CON3.clearADCS7; inline;
  37490. begin
  37491. pTDefRegMap(@Self)^.clr := $00000080;
  37492. end;
  37493. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  37494. begin
  37495. if thebits = 0 then
  37496. pTDefRegMap(@Self)^.clr := $00000080
  37497. else
  37498. pTDefRegMap(@Self)^.&set := $00000080;
  37499. end;
  37500. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  37501. begin
  37502. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37503. end;
  37504. procedure TADC10_AD1CON3.setSAMC0; inline;
  37505. begin
  37506. pTDefRegMap(@Self)^.&set := $00000100;
  37507. end;
  37508. procedure TADC10_AD1CON3.clearSAMC0; inline;
  37509. begin
  37510. pTDefRegMap(@Self)^.clr := $00000100;
  37511. end;
  37512. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  37513. begin
  37514. if thebits = 0 then
  37515. pTDefRegMap(@Self)^.clr := $00000100
  37516. else
  37517. pTDefRegMap(@Self)^.&set := $00000100;
  37518. end;
  37519. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  37520. begin
  37521. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37522. end;
  37523. procedure TADC10_AD1CON3.setSAMC1; inline;
  37524. begin
  37525. pTDefRegMap(@Self)^.&set := $00000200;
  37526. end;
  37527. procedure TADC10_AD1CON3.clearSAMC1; inline;
  37528. begin
  37529. pTDefRegMap(@Self)^.clr := $00000200;
  37530. end;
  37531. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  37532. begin
  37533. if thebits = 0 then
  37534. pTDefRegMap(@Self)^.clr := $00000200
  37535. else
  37536. pTDefRegMap(@Self)^.&set := $00000200;
  37537. end;
  37538. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  37539. begin
  37540. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37541. end;
  37542. procedure TADC10_AD1CON3.setSAMC2; inline;
  37543. begin
  37544. pTDefRegMap(@Self)^.&set := $00000400;
  37545. end;
  37546. procedure TADC10_AD1CON3.clearSAMC2; inline;
  37547. begin
  37548. pTDefRegMap(@Self)^.clr := $00000400;
  37549. end;
  37550. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  37551. begin
  37552. if thebits = 0 then
  37553. pTDefRegMap(@Self)^.clr := $00000400
  37554. else
  37555. pTDefRegMap(@Self)^.&set := $00000400;
  37556. end;
  37557. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  37558. begin
  37559. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37560. end;
  37561. procedure TADC10_AD1CON3.setSAMC3; inline;
  37562. begin
  37563. pTDefRegMap(@Self)^.&set := $00000800;
  37564. end;
  37565. procedure TADC10_AD1CON3.clearSAMC3; inline;
  37566. begin
  37567. pTDefRegMap(@Self)^.clr := $00000800;
  37568. end;
  37569. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  37570. begin
  37571. if thebits = 0 then
  37572. pTDefRegMap(@Self)^.clr := $00000800
  37573. else
  37574. pTDefRegMap(@Self)^.&set := $00000800;
  37575. end;
  37576. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  37577. begin
  37578. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37579. end;
  37580. procedure TADC10_AD1CON3.setSAMC4; inline;
  37581. begin
  37582. pTDefRegMap(@Self)^.&set := $00001000;
  37583. end;
  37584. procedure TADC10_AD1CON3.clearSAMC4; inline;
  37585. begin
  37586. pTDefRegMap(@Self)^.clr := $00001000;
  37587. end;
  37588. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  37589. begin
  37590. if thebits = 0 then
  37591. pTDefRegMap(@Self)^.clr := $00001000
  37592. else
  37593. pTDefRegMap(@Self)^.&set := $00001000;
  37594. end;
  37595. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  37596. begin
  37597. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37598. end;
  37599. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  37600. begin
  37601. pTDefRegMap(@Self)^.val := thebits;
  37602. end;
  37603. function TADC10_AD1CON3.getw : TBits_32; inline;
  37604. begin
  37605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37606. end;
  37607. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  37608. begin
  37609. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  37610. end;
  37611. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  37612. begin
  37613. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  37614. end;
  37615. procedure TADC10_AD1CHS.setCH0NA; inline;
  37616. begin
  37617. pTDefRegMap(@Self)^.&set := $00800000;
  37618. end;
  37619. procedure TADC10_AD1CHS.clearCH0NA; inline;
  37620. begin
  37621. pTDefRegMap(@Self)^.clr := $00800000;
  37622. end;
  37623. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  37624. begin
  37625. if thebits = 0 then
  37626. pTDefRegMap(@Self)^.clr := $00800000
  37627. else
  37628. pTDefRegMap(@Self)^.&set := $00800000;
  37629. end;
  37630. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  37631. begin
  37632. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37633. end;
  37634. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  37635. begin
  37636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  37637. end;
  37638. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  37639. begin
  37640. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  37641. end;
  37642. procedure TADC10_AD1CHS.setCH0NB; inline;
  37643. begin
  37644. pTDefRegMap(@Self)^.&set := $80000000;
  37645. end;
  37646. procedure TADC10_AD1CHS.clearCH0NB; inline;
  37647. begin
  37648. pTDefRegMap(@Self)^.clr := $80000000;
  37649. end;
  37650. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  37651. begin
  37652. if thebits = 0 then
  37653. pTDefRegMap(@Self)^.clr := $80000000
  37654. else
  37655. pTDefRegMap(@Self)^.&set := $80000000;
  37656. end;
  37657. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  37658. begin
  37659. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37660. end;
  37661. procedure TADC10_AD1CHS.setCH0SA0; inline;
  37662. begin
  37663. pTDefRegMap(@Self)^.&set := $00010000;
  37664. end;
  37665. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  37666. begin
  37667. pTDefRegMap(@Self)^.clr := $00010000;
  37668. end;
  37669. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  37670. begin
  37671. if thebits = 0 then
  37672. pTDefRegMap(@Self)^.clr := $00010000
  37673. else
  37674. pTDefRegMap(@Self)^.&set := $00010000;
  37675. end;
  37676. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  37677. begin
  37678. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37679. end;
  37680. procedure TADC10_AD1CHS.setCH0SA1; inline;
  37681. begin
  37682. pTDefRegMap(@Self)^.&set := $00020000;
  37683. end;
  37684. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  37685. begin
  37686. pTDefRegMap(@Self)^.clr := $00020000;
  37687. end;
  37688. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  37689. begin
  37690. if thebits = 0 then
  37691. pTDefRegMap(@Self)^.clr := $00020000
  37692. else
  37693. pTDefRegMap(@Self)^.&set := $00020000;
  37694. end;
  37695. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  37696. begin
  37697. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  37698. end;
  37699. procedure TADC10_AD1CHS.setCH0SA2; inline;
  37700. begin
  37701. pTDefRegMap(@Self)^.&set := $00040000;
  37702. end;
  37703. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  37704. begin
  37705. pTDefRegMap(@Self)^.clr := $00040000;
  37706. end;
  37707. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  37708. begin
  37709. if thebits = 0 then
  37710. pTDefRegMap(@Self)^.clr := $00040000
  37711. else
  37712. pTDefRegMap(@Self)^.&set := $00040000;
  37713. end;
  37714. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  37715. begin
  37716. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  37717. end;
  37718. procedure TADC10_AD1CHS.setCH0SA3; inline;
  37719. begin
  37720. pTDefRegMap(@Self)^.&set := $00080000;
  37721. end;
  37722. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  37723. begin
  37724. pTDefRegMap(@Self)^.clr := $00080000;
  37725. end;
  37726. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  37727. begin
  37728. if thebits = 0 then
  37729. pTDefRegMap(@Self)^.clr := $00080000
  37730. else
  37731. pTDefRegMap(@Self)^.&set := $00080000;
  37732. end;
  37733. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  37734. begin
  37735. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37736. end;
  37737. procedure TADC10_AD1CHS.setCH0SB0; inline;
  37738. begin
  37739. pTDefRegMap(@Self)^.&set := $01000000;
  37740. end;
  37741. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  37742. begin
  37743. pTDefRegMap(@Self)^.clr := $01000000;
  37744. end;
  37745. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  37746. begin
  37747. if thebits = 0 then
  37748. pTDefRegMap(@Self)^.clr := $01000000
  37749. else
  37750. pTDefRegMap(@Self)^.&set := $01000000;
  37751. end;
  37752. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  37753. begin
  37754. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37755. end;
  37756. procedure TADC10_AD1CHS.setCH0SB1; inline;
  37757. begin
  37758. pTDefRegMap(@Self)^.&set := $02000000;
  37759. end;
  37760. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  37761. begin
  37762. pTDefRegMap(@Self)^.clr := $02000000;
  37763. end;
  37764. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  37765. begin
  37766. if thebits = 0 then
  37767. pTDefRegMap(@Self)^.clr := $02000000
  37768. else
  37769. pTDefRegMap(@Self)^.&set := $02000000;
  37770. end;
  37771. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  37772. begin
  37773. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  37774. end;
  37775. procedure TADC10_AD1CHS.setCH0SB2; inline;
  37776. begin
  37777. pTDefRegMap(@Self)^.&set := $04000000;
  37778. end;
  37779. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  37780. begin
  37781. pTDefRegMap(@Self)^.clr := $04000000;
  37782. end;
  37783. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  37784. begin
  37785. if thebits = 0 then
  37786. pTDefRegMap(@Self)^.clr := $04000000
  37787. else
  37788. pTDefRegMap(@Self)^.&set := $04000000;
  37789. end;
  37790. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  37791. begin
  37792. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  37793. end;
  37794. procedure TADC10_AD1CHS.setCH0SB3; inline;
  37795. begin
  37796. pTDefRegMap(@Self)^.&set := $08000000;
  37797. end;
  37798. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  37799. begin
  37800. pTDefRegMap(@Self)^.clr := $08000000;
  37801. end;
  37802. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  37803. begin
  37804. if thebits = 0 then
  37805. pTDefRegMap(@Self)^.clr := $08000000
  37806. else
  37807. pTDefRegMap(@Self)^.&set := $08000000;
  37808. end;
  37809. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  37810. begin
  37811. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  37812. end;
  37813. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  37814. begin
  37815. pTDefRegMap(@Self)^.val := thebits;
  37816. end;
  37817. function TADC10_AD1CHS.getw : TBits_32; inline;
  37818. begin
  37819. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37820. end;
  37821. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  37822. begin
  37823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37824. end;
  37825. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  37826. begin
  37827. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37828. end;
  37829. procedure TADC10_AD1CSSL.setCSSL0; inline;
  37830. begin
  37831. pTDefRegMap(@Self)^.&set := $00000001;
  37832. end;
  37833. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  37834. begin
  37835. pTDefRegMap(@Self)^.clr := $00000001;
  37836. end;
  37837. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  37838. begin
  37839. if thebits = 0 then
  37840. pTDefRegMap(@Self)^.clr := $00000001
  37841. else
  37842. pTDefRegMap(@Self)^.&set := $00000001;
  37843. end;
  37844. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  37845. begin
  37846. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37847. end;
  37848. procedure TADC10_AD1CSSL.setCSSL1; inline;
  37849. begin
  37850. pTDefRegMap(@Self)^.&set := $00000002;
  37851. end;
  37852. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  37853. begin
  37854. pTDefRegMap(@Self)^.clr := $00000002;
  37855. end;
  37856. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  37857. begin
  37858. if thebits = 0 then
  37859. pTDefRegMap(@Self)^.clr := $00000002
  37860. else
  37861. pTDefRegMap(@Self)^.&set := $00000002;
  37862. end;
  37863. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  37864. begin
  37865. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37866. end;
  37867. procedure TADC10_AD1CSSL.setCSSL2; inline;
  37868. begin
  37869. pTDefRegMap(@Self)^.&set := $00000004;
  37870. end;
  37871. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  37872. begin
  37873. pTDefRegMap(@Self)^.clr := $00000004;
  37874. end;
  37875. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  37876. begin
  37877. if thebits = 0 then
  37878. pTDefRegMap(@Self)^.clr := $00000004
  37879. else
  37880. pTDefRegMap(@Self)^.&set := $00000004;
  37881. end;
  37882. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  37883. begin
  37884. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37885. end;
  37886. procedure TADC10_AD1CSSL.setCSSL3; inline;
  37887. begin
  37888. pTDefRegMap(@Self)^.&set := $00000008;
  37889. end;
  37890. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  37891. begin
  37892. pTDefRegMap(@Self)^.clr := $00000008;
  37893. end;
  37894. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  37895. begin
  37896. if thebits = 0 then
  37897. pTDefRegMap(@Self)^.clr := $00000008
  37898. else
  37899. pTDefRegMap(@Self)^.&set := $00000008;
  37900. end;
  37901. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  37902. begin
  37903. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37904. end;
  37905. procedure TADC10_AD1CSSL.setCSSL4; inline;
  37906. begin
  37907. pTDefRegMap(@Self)^.&set := $00000010;
  37908. end;
  37909. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  37910. begin
  37911. pTDefRegMap(@Self)^.clr := $00000010;
  37912. end;
  37913. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  37914. begin
  37915. if thebits = 0 then
  37916. pTDefRegMap(@Self)^.clr := $00000010
  37917. else
  37918. pTDefRegMap(@Self)^.&set := $00000010;
  37919. end;
  37920. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  37921. begin
  37922. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37923. end;
  37924. procedure TADC10_AD1CSSL.setCSSL5; inline;
  37925. begin
  37926. pTDefRegMap(@Self)^.&set := $00000020;
  37927. end;
  37928. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  37929. begin
  37930. pTDefRegMap(@Self)^.clr := $00000020;
  37931. end;
  37932. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  37933. begin
  37934. if thebits = 0 then
  37935. pTDefRegMap(@Self)^.clr := $00000020
  37936. else
  37937. pTDefRegMap(@Self)^.&set := $00000020;
  37938. end;
  37939. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  37940. begin
  37941. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37942. end;
  37943. procedure TADC10_AD1CSSL.setCSSL6; inline;
  37944. begin
  37945. pTDefRegMap(@Self)^.&set := $00000040;
  37946. end;
  37947. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  37948. begin
  37949. pTDefRegMap(@Self)^.clr := $00000040;
  37950. end;
  37951. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  37952. begin
  37953. if thebits = 0 then
  37954. pTDefRegMap(@Self)^.clr := $00000040
  37955. else
  37956. pTDefRegMap(@Self)^.&set := $00000040;
  37957. end;
  37958. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  37959. begin
  37960. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37961. end;
  37962. procedure TADC10_AD1CSSL.setCSSL7; inline;
  37963. begin
  37964. pTDefRegMap(@Self)^.&set := $00000080;
  37965. end;
  37966. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  37967. begin
  37968. pTDefRegMap(@Self)^.clr := $00000080;
  37969. end;
  37970. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  37971. begin
  37972. if thebits = 0 then
  37973. pTDefRegMap(@Self)^.clr := $00000080
  37974. else
  37975. pTDefRegMap(@Self)^.&set := $00000080;
  37976. end;
  37977. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  37978. begin
  37979. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37980. end;
  37981. procedure TADC10_AD1CSSL.setCSSL8; inline;
  37982. begin
  37983. pTDefRegMap(@Self)^.&set := $00000100;
  37984. end;
  37985. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  37986. begin
  37987. pTDefRegMap(@Self)^.clr := $00000100;
  37988. end;
  37989. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  37990. begin
  37991. if thebits = 0 then
  37992. pTDefRegMap(@Self)^.clr := $00000100
  37993. else
  37994. pTDefRegMap(@Self)^.&set := $00000100;
  37995. end;
  37996. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  37997. begin
  37998. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37999. end;
  38000. procedure TADC10_AD1CSSL.setCSSL9; inline;
  38001. begin
  38002. pTDefRegMap(@Self)^.&set := $00000200;
  38003. end;
  38004. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  38005. begin
  38006. pTDefRegMap(@Self)^.clr := $00000200;
  38007. end;
  38008. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  38009. begin
  38010. if thebits = 0 then
  38011. pTDefRegMap(@Self)^.clr := $00000200
  38012. else
  38013. pTDefRegMap(@Self)^.&set := $00000200;
  38014. end;
  38015. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  38016. begin
  38017. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38018. end;
  38019. procedure TADC10_AD1CSSL.setCSSL10; inline;
  38020. begin
  38021. pTDefRegMap(@Self)^.&set := $00000400;
  38022. end;
  38023. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  38024. begin
  38025. pTDefRegMap(@Self)^.clr := $00000400;
  38026. end;
  38027. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  38028. begin
  38029. if thebits = 0 then
  38030. pTDefRegMap(@Self)^.clr := $00000400
  38031. else
  38032. pTDefRegMap(@Self)^.&set := $00000400;
  38033. end;
  38034. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  38035. begin
  38036. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38037. end;
  38038. procedure TADC10_AD1CSSL.setCSSL11; inline;
  38039. begin
  38040. pTDefRegMap(@Self)^.&set := $00000800;
  38041. end;
  38042. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  38043. begin
  38044. pTDefRegMap(@Self)^.clr := $00000800;
  38045. end;
  38046. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  38047. begin
  38048. if thebits = 0 then
  38049. pTDefRegMap(@Self)^.clr := $00000800
  38050. else
  38051. pTDefRegMap(@Self)^.&set := $00000800;
  38052. end;
  38053. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  38054. begin
  38055. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38056. end;
  38057. procedure TADC10_AD1CSSL.setCSSL12; inline;
  38058. begin
  38059. pTDefRegMap(@Self)^.&set := $00001000;
  38060. end;
  38061. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  38062. begin
  38063. pTDefRegMap(@Self)^.clr := $00001000;
  38064. end;
  38065. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  38066. begin
  38067. if thebits = 0 then
  38068. pTDefRegMap(@Self)^.clr := $00001000
  38069. else
  38070. pTDefRegMap(@Self)^.&set := $00001000;
  38071. end;
  38072. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  38073. begin
  38074. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38075. end;
  38076. procedure TADC10_AD1CSSL.setCSSL13; inline;
  38077. begin
  38078. pTDefRegMap(@Self)^.&set := $00002000;
  38079. end;
  38080. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  38081. begin
  38082. pTDefRegMap(@Self)^.clr := $00002000;
  38083. end;
  38084. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  38085. begin
  38086. if thebits = 0 then
  38087. pTDefRegMap(@Self)^.clr := $00002000
  38088. else
  38089. pTDefRegMap(@Self)^.&set := $00002000;
  38090. end;
  38091. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  38092. begin
  38093. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38094. end;
  38095. procedure TADC10_AD1CSSL.setCSSL14; inline;
  38096. begin
  38097. pTDefRegMap(@Self)^.&set := $00004000;
  38098. end;
  38099. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  38100. begin
  38101. pTDefRegMap(@Self)^.clr := $00004000;
  38102. end;
  38103. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  38104. begin
  38105. if thebits = 0 then
  38106. pTDefRegMap(@Self)^.clr := $00004000
  38107. else
  38108. pTDefRegMap(@Self)^.&set := $00004000;
  38109. end;
  38110. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  38111. begin
  38112. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38113. end;
  38114. procedure TADC10_AD1CSSL.setCSSL15; inline;
  38115. begin
  38116. pTDefRegMap(@Self)^.&set := $00008000;
  38117. end;
  38118. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  38119. begin
  38120. pTDefRegMap(@Self)^.clr := $00008000;
  38121. end;
  38122. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  38123. begin
  38124. if thebits = 0 then
  38125. pTDefRegMap(@Self)^.clr := $00008000
  38126. else
  38127. pTDefRegMap(@Self)^.&set := $00008000;
  38128. end;
  38129. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  38130. begin
  38131. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38132. end;
  38133. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  38134. begin
  38135. pTDefRegMap(@Self)^.val := thebits;
  38136. end;
  38137. function TADC10_AD1CSSL.getw : TBits_32; inline;
  38138. begin
  38139. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38140. end;
  38141. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  38142. begin
  38143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  38144. end;
  38145. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  38146. begin
  38147. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  38148. end;
  38149. procedure TADC10_AD1PCFG.setPCFG0; inline;
  38150. begin
  38151. pTDefRegMap(@Self)^.&set := $00000001;
  38152. end;
  38153. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  38154. begin
  38155. pTDefRegMap(@Self)^.clr := $00000001;
  38156. end;
  38157. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  38158. begin
  38159. if thebits = 0 then
  38160. pTDefRegMap(@Self)^.clr := $00000001
  38161. else
  38162. pTDefRegMap(@Self)^.&set := $00000001;
  38163. end;
  38164. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  38165. begin
  38166. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38167. end;
  38168. procedure TADC10_AD1PCFG.setPCFG1; inline;
  38169. begin
  38170. pTDefRegMap(@Self)^.&set := $00000002;
  38171. end;
  38172. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  38173. begin
  38174. pTDefRegMap(@Self)^.clr := $00000002;
  38175. end;
  38176. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  38177. begin
  38178. if thebits = 0 then
  38179. pTDefRegMap(@Self)^.clr := $00000002
  38180. else
  38181. pTDefRegMap(@Self)^.&set := $00000002;
  38182. end;
  38183. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  38184. begin
  38185. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38186. end;
  38187. procedure TADC10_AD1PCFG.setPCFG2; inline;
  38188. begin
  38189. pTDefRegMap(@Self)^.&set := $00000004;
  38190. end;
  38191. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  38192. begin
  38193. pTDefRegMap(@Self)^.clr := $00000004;
  38194. end;
  38195. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  38196. begin
  38197. if thebits = 0 then
  38198. pTDefRegMap(@Self)^.clr := $00000004
  38199. else
  38200. pTDefRegMap(@Self)^.&set := $00000004;
  38201. end;
  38202. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  38203. begin
  38204. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38205. end;
  38206. procedure TADC10_AD1PCFG.setPCFG3; inline;
  38207. begin
  38208. pTDefRegMap(@Self)^.&set := $00000008;
  38209. end;
  38210. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  38211. begin
  38212. pTDefRegMap(@Self)^.clr := $00000008;
  38213. end;
  38214. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  38215. begin
  38216. if thebits = 0 then
  38217. pTDefRegMap(@Self)^.clr := $00000008
  38218. else
  38219. pTDefRegMap(@Self)^.&set := $00000008;
  38220. end;
  38221. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  38222. begin
  38223. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38224. end;
  38225. procedure TADC10_AD1PCFG.setPCFG4; inline;
  38226. begin
  38227. pTDefRegMap(@Self)^.&set := $00000010;
  38228. end;
  38229. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  38230. begin
  38231. pTDefRegMap(@Self)^.clr := $00000010;
  38232. end;
  38233. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  38234. begin
  38235. if thebits = 0 then
  38236. pTDefRegMap(@Self)^.clr := $00000010
  38237. else
  38238. pTDefRegMap(@Self)^.&set := $00000010;
  38239. end;
  38240. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  38241. begin
  38242. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38243. end;
  38244. procedure TADC10_AD1PCFG.setPCFG5; inline;
  38245. begin
  38246. pTDefRegMap(@Self)^.&set := $00000020;
  38247. end;
  38248. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  38249. begin
  38250. pTDefRegMap(@Self)^.clr := $00000020;
  38251. end;
  38252. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  38253. begin
  38254. if thebits = 0 then
  38255. pTDefRegMap(@Self)^.clr := $00000020
  38256. else
  38257. pTDefRegMap(@Self)^.&set := $00000020;
  38258. end;
  38259. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  38260. begin
  38261. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38262. end;
  38263. procedure TADC10_AD1PCFG.setPCFG6; inline;
  38264. begin
  38265. pTDefRegMap(@Self)^.&set := $00000040;
  38266. end;
  38267. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  38268. begin
  38269. pTDefRegMap(@Self)^.clr := $00000040;
  38270. end;
  38271. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  38272. begin
  38273. if thebits = 0 then
  38274. pTDefRegMap(@Self)^.clr := $00000040
  38275. else
  38276. pTDefRegMap(@Self)^.&set := $00000040;
  38277. end;
  38278. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  38279. begin
  38280. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38281. end;
  38282. procedure TADC10_AD1PCFG.setPCFG7; inline;
  38283. begin
  38284. pTDefRegMap(@Self)^.&set := $00000080;
  38285. end;
  38286. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  38287. begin
  38288. pTDefRegMap(@Self)^.clr := $00000080;
  38289. end;
  38290. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  38291. begin
  38292. if thebits = 0 then
  38293. pTDefRegMap(@Self)^.clr := $00000080
  38294. else
  38295. pTDefRegMap(@Self)^.&set := $00000080;
  38296. end;
  38297. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  38298. begin
  38299. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38300. end;
  38301. procedure TADC10_AD1PCFG.setPCFG8; inline;
  38302. begin
  38303. pTDefRegMap(@Self)^.&set := $00000100;
  38304. end;
  38305. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  38306. begin
  38307. pTDefRegMap(@Self)^.clr := $00000100;
  38308. end;
  38309. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  38310. begin
  38311. if thebits = 0 then
  38312. pTDefRegMap(@Self)^.clr := $00000100
  38313. else
  38314. pTDefRegMap(@Self)^.&set := $00000100;
  38315. end;
  38316. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  38317. begin
  38318. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38319. end;
  38320. procedure TADC10_AD1PCFG.setPCFG9; inline;
  38321. begin
  38322. pTDefRegMap(@Self)^.&set := $00000200;
  38323. end;
  38324. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  38325. begin
  38326. pTDefRegMap(@Self)^.clr := $00000200;
  38327. end;
  38328. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  38329. begin
  38330. if thebits = 0 then
  38331. pTDefRegMap(@Self)^.clr := $00000200
  38332. else
  38333. pTDefRegMap(@Self)^.&set := $00000200;
  38334. end;
  38335. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  38336. begin
  38337. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38338. end;
  38339. procedure TADC10_AD1PCFG.setPCFG10; inline;
  38340. begin
  38341. pTDefRegMap(@Self)^.&set := $00000400;
  38342. end;
  38343. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  38344. begin
  38345. pTDefRegMap(@Self)^.clr := $00000400;
  38346. end;
  38347. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  38348. begin
  38349. if thebits = 0 then
  38350. pTDefRegMap(@Self)^.clr := $00000400
  38351. else
  38352. pTDefRegMap(@Self)^.&set := $00000400;
  38353. end;
  38354. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  38355. begin
  38356. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38357. end;
  38358. procedure TADC10_AD1PCFG.setPCFG11; inline;
  38359. begin
  38360. pTDefRegMap(@Self)^.&set := $00000800;
  38361. end;
  38362. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  38363. begin
  38364. pTDefRegMap(@Self)^.clr := $00000800;
  38365. end;
  38366. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  38367. begin
  38368. if thebits = 0 then
  38369. pTDefRegMap(@Self)^.clr := $00000800
  38370. else
  38371. pTDefRegMap(@Self)^.&set := $00000800;
  38372. end;
  38373. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  38374. begin
  38375. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38376. end;
  38377. procedure TADC10_AD1PCFG.setPCFG12; inline;
  38378. begin
  38379. pTDefRegMap(@Self)^.&set := $00001000;
  38380. end;
  38381. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  38382. begin
  38383. pTDefRegMap(@Self)^.clr := $00001000;
  38384. end;
  38385. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  38386. begin
  38387. if thebits = 0 then
  38388. pTDefRegMap(@Self)^.clr := $00001000
  38389. else
  38390. pTDefRegMap(@Self)^.&set := $00001000;
  38391. end;
  38392. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  38393. begin
  38394. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38395. end;
  38396. procedure TADC10_AD1PCFG.setPCFG13; inline;
  38397. begin
  38398. pTDefRegMap(@Self)^.&set := $00002000;
  38399. end;
  38400. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  38401. begin
  38402. pTDefRegMap(@Self)^.clr := $00002000;
  38403. end;
  38404. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  38405. begin
  38406. if thebits = 0 then
  38407. pTDefRegMap(@Self)^.clr := $00002000
  38408. else
  38409. pTDefRegMap(@Self)^.&set := $00002000;
  38410. end;
  38411. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  38412. begin
  38413. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38414. end;
  38415. procedure TADC10_AD1PCFG.setPCFG14; inline;
  38416. begin
  38417. pTDefRegMap(@Self)^.&set := $00004000;
  38418. end;
  38419. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  38420. begin
  38421. pTDefRegMap(@Self)^.clr := $00004000;
  38422. end;
  38423. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  38424. begin
  38425. if thebits = 0 then
  38426. pTDefRegMap(@Self)^.clr := $00004000
  38427. else
  38428. pTDefRegMap(@Self)^.&set := $00004000;
  38429. end;
  38430. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  38431. begin
  38432. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38433. end;
  38434. procedure TADC10_AD1PCFG.setPCFG15; inline;
  38435. begin
  38436. pTDefRegMap(@Self)^.&set := $00008000;
  38437. end;
  38438. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  38439. begin
  38440. pTDefRegMap(@Self)^.clr := $00008000;
  38441. end;
  38442. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  38443. begin
  38444. if thebits = 0 then
  38445. pTDefRegMap(@Self)^.clr := $00008000
  38446. else
  38447. pTDefRegMap(@Self)^.&set := $00008000;
  38448. end;
  38449. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  38450. begin
  38451. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38452. end;
  38453. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  38454. begin
  38455. pTDefRegMap(@Self)^.val := thebits;
  38456. end;
  38457. function TADC10_AD1PCFG.getw : TBits_32; inline;
  38458. begin
  38459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38460. end;
  38461. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  38462. begin
  38463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  38464. end;
  38465. function TCVR_CVRCON.getCVR : TBits_4; inline;
  38466. begin
  38467. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  38468. end;
  38469. procedure TCVR_CVRCON.setCVRSS; inline;
  38470. begin
  38471. pTDefRegMap(@Self)^.&set := $00000010;
  38472. end;
  38473. procedure TCVR_CVRCON.clearCVRSS; inline;
  38474. begin
  38475. pTDefRegMap(@Self)^.clr := $00000010;
  38476. end;
  38477. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  38478. begin
  38479. if thebits = 0 then
  38480. pTDefRegMap(@Self)^.clr := $00000010
  38481. else
  38482. pTDefRegMap(@Self)^.&set := $00000010;
  38483. end;
  38484. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  38485. begin
  38486. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38487. end;
  38488. procedure TCVR_CVRCON.setCVRR; inline;
  38489. begin
  38490. pTDefRegMap(@Self)^.&set := $00000020;
  38491. end;
  38492. procedure TCVR_CVRCON.clearCVRR; inline;
  38493. begin
  38494. pTDefRegMap(@Self)^.clr := $00000020;
  38495. end;
  38496. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  38497. begin
  38498. if thebits = 0 then
  38499. pTDefRegMap(@Self)^.clr := $00000020
  38500. else
  38501. pTDefRegMap(@Self)^.&set := $00000020;
  38502. end;
  38503. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  38504. begin
  38505. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38506. end;
  38507. procedure TCVR_CVRCON.setCVROE; inline;
  38508. begin
  38509. pTDefRegMap(@Self)^.&set := $00000040;
  38510. end;
  38511. procedure TCVR_CVRCON.clearCVROE; inline;
  38512. begin
  38513. pTDefRegMap(@Self)^.clr := $00000040;
  38514. end;
  38515. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  38516. begin
  38517. if thebits = 0 then
  38518. pTDefRegMap(@Self)^.clr := $00000040
  38519. else
  38520. pTDefRegMap(@Self)^.&set := $00000040;
  38521. end;
  38522. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  38523. begin
  38524. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38525. end;
  38526. procedure TCVR_CVRCON.setON; inline;
  38527. begin
  38528. pTDefRegMap(@Self)^.&set := $00008000;
  38529. end;
  38530. procedure TCVR_CVRCON.clearON; inline;
  38531. begin
  38532. pTDefRegMap(@Self)^.clr := $00008000;
  38533. end;
  38534. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  38535. begin
  38536. if thebits = 0 then
  38537. pTDefRegMap(@Self)^.clr := $00008000
  38538. else
  38539. pTDefRegMap(@Self)^.&set := $00008000;
  38540. end;
  38541. function TCVR_CVRCON.getON : TBits_1; inline;
  38542. begin
  38543. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38544. end;
  38545. procedure TCVR_CVRCON.setCVR0; inline;
  38546. begin
  38547. pTDefRegMap(@Self)^.&set := $00000001;
  38548. end;
  38549. procedure TCVR_CVRCON.clearCVR0; inline;
  38550. begin
  38551. pTDefRegMap(@Self)^.clr := $00000001;
  38552. end;
  38553. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  38554. begin
  38555. if thebits = 0 then
  38556. pTDefRegMap(@Self)^.clr := $00000001
  38557. else
  38558. pTDefRegMap(@Self)^.&set := $00000001;
  38559. end;
  38560. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  38561. begin
  38562. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38563. end;
  38564. procedure TCVR_CVRCON.setCVR1; inline;
  38565. begin
  38566. pTDefRegMap(@Self)^.&set := $00000002;
  38567. end;
  38568. procedure TCVR_CVRCON.clearCVR1; inline;
  38569. begin
  38570. pTDefRegMap(@Self)^.clr := $00000002;
  38571. end;
  38572. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  38573. begin
  38574. if thebits = 0 then
  38575. pTDefRegMap(@Self)^.clr := $00000002
  38576. else
  38577. pTDefRegMap(@Self)^.&set := $00000002;
  38578. end;
  38579. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  38580. begin
  38581. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38582. end;
  38583. procedure TCVR_CVRCON.setCVR2; inline;
  38584. begin
  38585. pTDefRegMap(@Self)^.&set := $00000004;
  38586. end;
  38587. procedure TCVR_CVRCON.clearCVR2; inline;
  38588. begin
  38589. pTDefRegMap(@Self)^.clr := $00000004;
  38590. end;
  38591. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  38592. begin
  38593. if thebits = 0 then
  38594. pTDefRegMap(@Self)^.clr := $00000004
  38595. else
  38596. pTDefRegMap(@Self)^.&set := $00000004;
  38597. end;
  38598. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  38599. begin
  38600. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38601. end;
  38602. procedure TCVR_CVRCON.setCVR3; inline;
  38603. begin
  38604. pTDefRegMap(@Self)^.&set := $00000008;
  38605. end;
  38606. procedure TCVR_CVRCON.clearCVR3; inline;
  38607. begin
  38608. pTDefRegMap(@Self)^.clr := $00000008;
  38609. end;
  38610. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  38611. begin
  38612. if thebits = 0 then
  38613. pTDefRegMap(@Self)^.clr := $00000008
  38614. else
  38615. pTDefRegMap(@Self)^.&set := $00000008;
  38616. end;
  38617. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  38618. begin
  38619. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38620. end;
  38621. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  38622. begin
  38623. pTDefRegMap(@Self)^.val := thebits;
  38624. end;
  38625. function TCVR_CVRCON.getw : TBits_32; inline;
  38626. begin
  38627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38628. end;
  38629. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  38630. begin
  38631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38632. end;
  38633. function TCMP_CM1CON.getCCH : TBits_2; inline;
  38634. begin
  38635. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38636. end;
  38637. procedure TCMP_CM1CON.setCREF; inline;
  38638. begin
  38639. pTDefRegMap(@Self)^.&set := $00000010;
  38640. end;
  38641. procedure TCMP_CM1CON.clearCREF; inline;
  38642. begin
  38643. pTDefRegMap(@Self)^.clr := $00000010;
  38644. end;
  38645. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  38646. begin
  38647. if thebits = 0 then
  38648. pTDefRegMap(@Self)^.clr := $00000010
  38649. else
  38650. pTDefRegMap(@Self)^.&set := $00000010;
  38651. end;
  38652. function TCMP_CM1CON.getCREF : TBits_1; inline;
  38653. begin
  38654. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38655. end;
  38656. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  38657. begin
  38658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  38659. end;
  38660. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  38661. begin
  38662. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  38663. end;
  38664. procedure TCMP_CM1CON.setCOUT; inline;
  38665. begin
  38666. pTDefRegMap(@Self)^.&set := $00000100;
  38667. end;
  38668. procedure TCMP_CM1CON.clearCOUT; inline;
  38669. begin
  38670. pTDefRegMap(@Self)^.clr := $00000100;
  38671. end;
  38672. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  38673. begin
  38674. if thebits = 0 then
  38675. pTDefRegMap(@Self)^.clr := $00000100
  38676. else
  38677. pTDefRegMap(@Self)^.&set := $00000100;
  38678. end;
  38679. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  38680. begin
  38681. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38682. end;
  38683. procedure TCMP_CM1CON.setCPOL; inline;
  38684. begin
  38685. pTDefRegMap(@Self)^.&set := $00002000;
  38686. end;
  38687. procedure TCMP_CM1CON.clearCPOL; inline;
  38688. begin
  38689. pTDefRegMap(@Self)^.clr := $00002000;
  38690. end;
  38691. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  38692. begin
  38693. if thebits = 0 then
  38694. pTDefRegMap(@Self)^.clr := $00002000
  38695. else
  38696. pTDefRegMap(@Self)^.&set := $00002000;
  38697. end;
  38698. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  38699. begin
  38700. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38701. end;
  38702. procedure TCMP_CM1CON.setCOE; inline;
  38703. begin
  38704. pTDefRegMap(@Self)^.&set := $00004000;
  38705. end;
  38706. procedure TCMP_CM1CON.clearCOE; inline;
  38707. begin
  38708. pTDefRegMap(@Self)^.clr := $00004000;
  38709. end;
  38710. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  38711. begin
  38712. if thebits = 0 then
  38713. pTDefRegMap(@Self)^.clr := $00004000
  38714. else
  38715. pTDefRegMap(@Self)^.&set := $00004000;
  38716. end;
  38717. function TCMP_CM1CON.getCOE : TBits_1; inline;
  38718. begin
  38719. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38720. end;
  38721. procedure TCMP_CM1CON.setON; inline;
  38722. begin
  38723. pTDefRegMap(@Self)^.&set := $00008000;
  38724. end;
  38725. procedure TCMP_CM1CON.clearON; inline;
  38726. begin
  38727. pTDefRegMap(@Self)^.clr := $00008000;
  38728. end;
  38729. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  38730. begin
  38731. if thebits = 0 then
  38732. pTDefRegMap(@Self)^.clr := $00008000
  38733. else
  38734. pTDefRegMap(@Self)^.&set := $00008000;
  38735. end;
  38736. function TCMP_CM1CON.getON : TBits_1; inline;
  38737. begin
  38738. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38739. end;
  38740. procedure TCMP_CM1CON.setCCH0; inline;
  38741. begin
  38742. pTDefRegMap(@Self)^.&set := $00000001;
  38743. end;
  38744. procedure TCMP_CM1CON.clearCCH0; inline;
  38745. begin
  38746. pTDefRegMap(@Self)^.clr := $00000001;
  38747. end;
  38748. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  38749. begin
  38750. if thebits = 0 then
  38751. pTDefRegMap(@Self)^.clr := $00000001
  38752. else
  38753. pTDefRegMap(@Self)^.&set := $00000001;
  38754. end;
  38755. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  38756. begin
  38757. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38758. end;
  38759. procedure TCMP_CM1CON.setCCH1; inline;
  38760. begin
  38761. pTDefRegMap(@Self)^.&set := $00000002;
  38762. end;
  38763. procedure TCMP_CM1CON.clearCCH1; inline;
  38764. begin
  38765. pTDefRegMap(@Self)^.clr := $00000002;
  38766. end;
  38767. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  38768. begin
  38769. if thebits = 0 then
  38770. pTDefRegMap(@Self)^.clr := $00000002
  38771. else
  38772. pTDefRegMap(@Self)^.&set := $00000002;
  38773. end;
  38774. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  38775. begin
  38776. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38777. end;
  38778. procedure TCMP_CM1CON.setEVPOL0; inline;
  38779. begin
  38780. pTDefRegMap(@Self)^.&set := $00000040;
  38781. end;
  38782. procedure TCMP_CM1CON.clearEVPOL0; inline;
  38783. begin
  38784. pTDefRegMap(@Self)^.clr := $00000040;
  38785. end;
  38786. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  38787. begin
  38788. if thebits = 0 then
  38789. pTDefRegMap(@Self)^.clr := $00000040
  38790. else
  38791. pTDefRegMap(@Self)^.&set := $00000040;
  38792. end;
  38793. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  38794. begin
  38795. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38796. end;
  38797. procedure TCMP_CM1CON.setEVPOL1; inline;
  38798. begin
  38799. pTDefRegMap(@Self)^.&set := $00000080;
  38800. end;
  38801. procedure TCMP_CM1CON.clearEVPOL1; inline;
  38802. begin
  38803. pTDefRegMap(@Self)^.clr := $00000080;
  38804. end;
  38805. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  38806. begin
  38807. if thebits = 0 then
  38808. pTDefRegMap(@Self)^.clr := $00000080
  38809. else
  38810. pTDefRegMap(@Self)^.&set := $00000080;
  38811. end;
  38812. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  38813. begin
  38814. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38815. end;
  38816. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  38817. begin
  38818. pTDefRegMap(@Self)^.val := thebits;
  38819. end;
  38820. function TCMP_CM1CON.getw : TBits_32; inline;
  38821. begin
  38822. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38823. end;
  38824. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  38825. begin
  38826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38827. end;
  38828. function TCMP_CM2CON.getCCH : TBits_2; inline;
  38829. begin
  38830. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38831. end;
  38832. procedure TCMP_CM2CON.setCREF; inline;
  38833. begin
  38834. pTDefRegMap(@Self)^.&set := $00000010;
  38835. end;
  38836. procedure TCMP_CM2CON.clearCREF; inline;
  38837. begin
  38838. pTDefRegMap(@Self)^.clr := $00000010;
  38839. end;
  38840. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  38841. begin
  38842. if thebits = 0 then
  38843. pTDefRegMap(@Self)^.clr := $00000010
  38844. else
  38845. pTDefRegMap(@Self)^.&set := $00000010;
  38846. end;
  38847. function TCMP_CM2CON.getCREF : TBits_1; inline;
  38848. begin
  38849. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38850. end;
  38851. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  38852. begin
  38853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  38854. end;
  38855. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  38856. begin
  38857. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  38858. end;
  38859. procedure TCMP_CM2CON.setCOUT; inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.&set := $00000100;
  38862. end;
  38863. procedure TCMP_CM2CON.clearCOUT; inline;
  38864. begin
  38865. pTDefRegMap(@Self)^.clr := $00000100;
  38866. end;
  38867. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  38868. begin
  38869. if thebits = 0 then
  38870. pTDefRegMap(@Self)^.clr := $00000100
  38871. else
  38872. pTDefRegMap(@Self)^.&set := $00000100;
  38873. end;
  38874. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  38875. begin
  38876. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38877. end;
  38878. procedure TCMP_CM2CON.setCPOL; inline;
  38879. begin
  38880. pTDefRegMap(@Self)^.&set := $00002000;
  38881. end;
  38882. procedure TCMP_CM2CON.clearCPOL; inline;
  38883. begin
  38884. pTDefRegMap(@Self)^.clr := $00002000;
  38885. end;
  38886. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  38887. begin
  38888. if thebits = 0 then
  38889. pTDefRegMap(@Self)^.clr := $00002000
  38890. else
  38891. pTDefRegMap(@Self)^.&set := $00002000;
  38892. end;
  38893. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  38894. begin
  38895. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38896. end;
  38897. procedure TCMP_CM2CON.setCOE; inline;
  38898. begin
  38899. pTDefRegMap(@Self)^.&set := $00004000;
  38900. end;
  38901. procedure TCMP_CM2CON.clearCOE; inline;
  38902. begin
  38903. pTDefRegMap(@Self)^.clr := $00004000;
  38904. end;
  38905. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  38906. begin
  38907. if thebits = 0 then
  38908. pTDefRegMap(@Self)^.clr := $00004000
  38909. else
  38910. pTDefRegMap(@Self)^.&set := $00004000;
  38911. end;
  38912. function TCMP_CM2CON.getCOE : TBits_1; inline;
  38913. begin
  38914. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38915. end;
  38916. procedure TCMP_CM2CON.setON; inline;
  38917. begin
  38918. pTDefRegMap(@Self)^.&set := $00008000;
  38919. end;
  38920. procedure TCMP_CM2CON.clearON; inline;
  38921. begin
  38922. pTDefRegMap(@Self)^.clr := $00008000;
  38923. end;
  38924. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  38925. begin
  38926. if thebits = 0 then
  38927. pTDefRegMap(@Self)^.clr := $00008000
  38928. else
  38929. pTDefRegMap(@Self)^.&set := $00008000;
  38930. end;
  38931. function TCMP_CM2CON.getON : TBits_1; inline;
  38932. begin
  38933. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38934. end;
  38935. procedure TCMP_CM2CON.setCCH0; inline;
  38936. begin
  38937. pTDefRegMap(@Self)^.&set := $00000001;
  38938. end;
  38939. procedure TCMP_CM2CON.clearCCH0; inline;
  38940. begin
  38941. pTDefRegMap(@Self)^.clr := $00000001;
  38942. end;
  38943. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  38944. begin
  38945. if thebits = 0 then
  38946. pTDefRegMap(@Self)^.clr := $00000001
  38947. else
  38948. pTDefRegMap(@Self)^.&set := $00000001;
  38949. end;
  38950. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  38951. begin
  38952. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38953. end;
  38954. procedure TCMP_CM2CON.setCCH1; inline;
  38955. begin
  38956. pTDefRegMap(@Self)^.&set := $00000002;
  38957. end;
  38958. procedure TCMP_CM2CON.clearCCH1; inline;
  38959. begin
  38960. pTDefRegMap(@Self)^.clr := $00000002;
  38961. end;
  38962. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  38963. begin
  38964. if thebits = 0 then
  38965. pTDefRegMap(@Self)^.clr := $00000002
  38966. else
  38967. pTDefRegMap(@Self)^.&set := $00000002;
  38968. end;
  38969. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  38970. begin
  38971. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38972. end;
  38973. procedure TCMP_CM2CON.setEVPOL0; inline;
  38974. begin
  38975. pTDefRegMap(@Self)^.&set := $00000040;
  38976. end;
  38977. procedure TCMP_CM2CON.clearEVPOL0; inline;
  38978. begin
  38979. pTDefRegMap(@Self)^.clr := $00000040;
  38980. end;
  38981. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  38982. begin
  38983. if thebits = 0 then
  38984. pTDefRegMap(@Self)^.clr := $00000040
  38985. else
  38986. pTDefRegMap(@Self)^.&set := $00000040;
  38987. end;
  38988. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  38989. begin
  38990. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38991. end;
  38992. procedure TCMP_CM2CON.setEVPOL1; inline;
  38993. begin
  38994. pTDefRegMap(@Self)^.&set := $00000080;
  38995. end;
  38996. procedure TCMP_CM2CON.clearEVPOL1; inline;
  38997. begin
  38998. pTDefRegMap(@Self)^.clr := $00000080;
  38999. end;
  39000. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  39001. begin
  39002. if thebits = 0 then
  39003. pTDefRegMap(@Self)^.clr := $00000080
  39004. else
  39005. pTDefRegMap(@Self)^.&set := $00000080;
  39006. end;
  39007. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  39008. begin
  39009. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39010. end;
  39011. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  39012. begin
  39013. pTDefRegMap(@Self)^.val := thebits;
  39014. end;
  39015. function TCMP_CM2CON.getw : TBits_32; inline;
  39016. begin
  39017. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39018. end;
  39019. procedure TCMP_CMSTAT.setC1OUT; inline;
  39020. begin
  39021. pTDefRegMap(@Self)^.&set := $00000001;
  39022. end;
  39023. procedure TCMP_CMSTAT.clearC1OUT; inline;
  39024. begin
  39025. pTDefRegMap(@Self)^.clr := $00000001;
  39026. end;
  39027. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  39028. begin
  39029. if thebits = 0 then
  39030. pTDefRegMap(@Self)^.clr := $00000001
  39031. else
  39032. pTDefRegMap(@Self)^.&set := $00000001;
  39033. end;
  39034. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  39035. begin
  39036. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39037. end;
  39038. procedure TCMP_CMSTAT.setC2OUT; inline;
  39039. begin
  39040. pTDefRegMap(@Self)^.&set := $00000002;
  39041. end;
  39042. procedure TCMP_CMSTAT.clearC2OUT; inline;
  39043. begin
  39044. pTDefRegMap(@Self)^.clr := $00000002;
  39045. end;
  39046. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  39047. begin
  39048. if thebits = 0 then
  39049. pTDefRegMap(@Self)^.clr := $00000002
  39050. else
  39051. pTDefRegMap(@Self)^.&set := $00000002;
  39052. end;
  39053. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  39054. begin
  39055. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39056. end;
  39057. procedure TCMP_CMSTAT.setSIDL; inline;
  39058. begin
  39059. pTDefRegMap(@Self)^.&set := $00002000;
  39060. end;
  39061. procedure TCMP_CMSTAT.clearSIDL; inline;
  39062. begin
  39063. pTDefRegMap(@Self)^.clr := $00002000;
  39064. end;
  39065. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  39066. begin
  39067. if thebits = 0 then
  39068. pTDefRegMap(@Self)^.clr := $00002000
  39069. else
  39070. pTDefRegMap(@Self)^.&set := $00002000;
  39071. end;
  39072. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  39073. begin
  39074. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39075. end;
  39076. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  39077. begin
  39078. pTDefRegMap(@Self)^.val := thebits;
  39079. end;
  39080. function TCMP_CMSTAT.getw : TBits_32; inline;
  39081. begin
  39082. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39083. end;
  39084. procedure TOSC_OSCCON.setOSWEN; inline;
  39085. begin
  39086. pTDefRegMap(@Self)^.&set := $00000001;
  39087. end;
  39088. procedure TOSC_OSCCON.clearOSWEN; inline;
  39089. begin
  39090. pTDefRegMap(@Self)^.clr := $00000001;
  39091. end;
  39092. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  39093. begin
  39094. if thebits = 0 then
  39095. pTDefRegMap(@Self)^.clr := $00000001
  39096. else
  39097. pTDefRegMap(@Self)^.&set := $00000001;
  39098. end;
  39099. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  39100. begin
  39101. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39102. end;
  39103. procedure TOSC_OSCCON.setSOSCEN; inline;
  39104. begin
  39105. pTDefRegMap(@Self)^.&set := $00000002;
  39106. end;
  39107. procedure TOSC_OSCCON.clearSOSCEN; inline;
  39108. begin
  39109. pTDefRegMap(@Self)^.clr := $00000002;
  39110. end;
  39111. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  39112. begin
  39113. if thebits = 0 then
  39114. pTDefRegMap(@Self)^.clr := $00000002
  39115. else
  39116. pTDefRegMap(@Self)^.&set := $00000002;
  39117. end;
  39118. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  39119. begin
  39120. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39121. end;
  39122. procedure TOSC_OSCCON.setUFRCEN; inline;
  39123. begin
  39124. pTDefRegMap(@Self)^.&set := $00000004;
  39125. end;
  39126. procedure TOSC_OSCCON.clearUFRCEN; inline;
  39127. begin
  39128. pTDefRegMap(@Self)^.clr := $00000004;
  39129. end;
  39130. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  39131. begin
  39132. if thebits = 0 then
  39133. pTDefRegMap(@Self)^.clr := $00000004
  39134. else
  39135. pTDefRegMap(@Self)^.&set := $00000004;
  39136. end;
  39137. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  39138. begin
  39139. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39140. end;
  39141. procedure TOSC_OSCCON.setCF; inline;
  39142. begin
  39143. pTDefRegMap(@Self)^.&set := $00000008;
  39144. end;
  39145. procedure TOSC_OSCCON.clearCF; inline;
  39146. begin
  39147. pTDefRegMap(@Self)^.clr := $00000008;
  39148. end;
  39149. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  39150. begin
  39151. if thebits = 0 then
  39152. pTDefRegMap(@Self)^.clr := $00000008
  39153. else
  39154. pTDefRegMap(@Self)^.&set := $00000008;
  39155. end;
  39156. function TOSC_OSCCON.getCF : TBits_1; inline;
  39157. begin
  39158. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39159. end;
  39160. procedure TOSC_OSCCON.setSLPEN; inline;
  39161. begin
  39162. pTDefRegMap(@Self)^.&set := $00000010;
  39163. end;
  39164. procedure TOSC_OSCCON.clearSLPEN; inline;
  39165. begin
  39166. pTDefRegMap(@Self)^.clr := $00000010;
  39167. end;
  39168. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  39169. begin
  39170. if thebits = 0 then
  39171. pTDefRegMap(@Self)^.clr := $00000010
  39172. else
  39173. pTDefRegMap(@Self)^.&set := $00000010;
  39174. end;
  39175. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  39176. begin
  39177. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39178. end;
  39179. procedure TOSC_OSCCON.setSLOCK; inline;
  39180. begin
  39181. pTDefRegMap(@Self)^.&set := $00000020;
  39182. end;
  39183. procedure TOSC_OSCCON.clearSLOCK; inline;
  39184. begin
  39185. pTDefRegMap(@Self)^.clr := $00000020;
  39186. end;
  39187. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  39188. begin
  39189. if thebits = 0 then
  39190. pTDefRegMap(@Self)^.clr := $00000020
  39191. else
  39192. pTDefRegMap(@Self)^.&set := $00000020;
  39193. end;
  39194. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  39195. begin
  39196. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39197. end;
  39198. procedure TOSC_OSCCON.setULOCK; inline;
  39199. begin
  39200. pTDefRegMap(@Self)^.&set := $00000040;
  39201. end;
  39202. procedure TOSC_OSCCON.clearULOCK; inline;
  39203. begin
  39204. pTDefRegMap(@Self)^.clr := $00000040;
  39205. end;
  39206. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  39207. begin
  39208. if thebits = 0 then
  39209. pTDefRegMap(@Self)^.clr := $00000040
  39210. else
  39211. pTDefRegMap(@Self)^.&set := $00000040;
  39212. end;
  39213. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  39214. begin
  39215. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39216. end;
  39217. procedure TOSC_OSCCON.setCLKLOCK; inline;
  39218. begin
  39219. pTDefRegMap(@Self)^.&set := $00000080;
  39220. end;
  39221. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  39222. begin
  39223. pTDefRegMap(@Self)^.clr := $00000080;
  39224. end;
  39225. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  39226. begin
  39227. if thebits = 0 then
  39228. pTDefRegMap(@Self)^.clr := $00000080
  39229. else
  39230. pTDefRegMap(@Self)^.&set := $00000080;
  39231. end;
  39232. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  39233. begin
  39234. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39235. end;
  39236. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  39237. begin
  39238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  39239. end;
  39240. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  39241. begin
  39242. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  39243. end;
  39244. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  39245. begin
  39246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  39247. end;
  39248. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  39249. begin
  39250. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  39251. end;
  39252. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  39253. begin
  39254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  39255. end;
  39256. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  39257. begin
  39258. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  39259. end;
  39260. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  39261. begin
  39262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  39263. end;
  39264. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  39265. begin
  39266. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  39267. end;
  39268. procedure TOSC_OSCCON.setSOSCRDY; inline;
  39269. begin
  39270. pTDefRegMap(@Self)^.&set := $00400000;
  39271. end;
  39272. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  39273. begin
  39274. pTDefRegMap(@Self)^.clr := $00400000;
  39275. end;
  39276. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  39277. begin
  39278. if thebits = 0 then
  39279. pTDefRegMap(@Self)^.clr := $00400000
  39280. else
  39281. pTDefRegMap(@Self)^.&set := $00400000;
  39282. end;
  39283. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  39284. begin
  39285. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39286. end;
  39287. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  39288. begin
  39289. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  39290. end;
  39291. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  39292. begin
  39293. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  39294. end;
  39295. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  39296. begin
  39297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  39298. end;
  39299. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  39300. begin
  39301. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  39302. end;
  39303. procedure TOSC_OSCCON.setNOSC0; inline;
  39304. begin
  39305. pTDefRegMap(@Self)^.&set := $00000100;
  39306. end;
  39307. procedure TOSC_OSCCON.clearNOSC0; inline;
  39308. begin
  39309. pTDefRegMap(@Self)^.clr := $00000100;
  39310. end;
  39311. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  39312. begin
  39313. if thebits = 0 then
  39314. pTDefRegMap(@Self)^.clr := $00000100
  39315. else
  39316. pTDefRegMap(@Self)^.&set := $00000100;
  39317. end;
  39318. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  39319. begin
  39320. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39321. end;
  39322. procedure TOSC_OSCCON.setNOSC1; inline;
  39323. begin
  39324. pTDefRegMap(@Self)^.&set := $00000200;
  39325. end;
  39326. procedure TOSC_OSCCON.clearNOSC1; inline;
  39327. begin
  39328. pTDefRegMap(@Self)^.clr := $00000200;
  39329. end;
  39330. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  39331. begin
  39332. if thebits = 0 then
  39333. pTDefRegMap(@Self)^.clr := $00000200
  39334. else
  39335. pTDefRegMap(@Self)^.&set := $00000200;
  39336. end;
  39337. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  39338. begin
  39339. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39340. end;
  39341. procedure TOSC_OSCCON.setNOSC2; inline;
  39342. begin
  39343. pTDefRegMap(@Self)^.&set := $00000400;
  39344. end;
  39345. procedure TOSC_OSCCON.clearNOSC2; inline;
  39346. begin
  39347. pTDefRegMap(@Self)^.clr := $00000400;
  39348. end;
  39349. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  39350. begin
  39351. if thebits = 0 then
  39352. pTDefRegMap(@Self)^.clr := $00000400
  39353. else
  39354. pTDefRegMap(@Self)^.&set := $00000400;
  39355. end;
  39356. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  39357. begin
  39358. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39359. end;
  39360. procedure TOSC_OSCCON.setCOSC0; inline;
  39361. begin
  39362. pTDefRegMap(@Self)^.&set := $00001000;
  39363. end;
  39364. procedure TOSC_OSCCON.clearCOSC0; inline;
  39365. begin
  39366. pTDefRegMap(@Self)^.clr := $00001000;
  39367. end;
  39368. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  39369. begin
  39370. if thebits = 0 then
  39371. pTDefRegMap(@Self)^.clr := $00001000
  39372. else
  39373. pTDefRegMap(@Self)^.&set := $00001000;
  39374. end;
  39375. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  39376. begin
  39377. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39378. end;
  39379. procedure TOSC_OSCCON.setCOSC1; inline;
  39380. begin
  39381. pTDefRegMap(@Self)^.&set := $00002000;
  39382. end;
  39383. procedure TOSC_OSCCON.clearCOSC1; inline;
  39384. begin
  39385. pTDefRegMap(@Self)^.clr := $00002000;
  39386. end;
  39387. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  39388. begin
  39389. if thebits = 0 then
  39390. pTDefRegMap(@Self)^.clr := $00002000
  39391. else
  39392. pTDefRegMap(@Self)^.&set := $00002000;
  39393. end;
  39394. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  39395. begin
  39396. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39397. end;
  39398. procedure TOSC_OSCCON.setCOSC2; inline;
  39399. begin
  39400. pTDefRegMap(@Self)^.&set := $00004000;
  39401. end;
  39402. procedure TOSC_OSCCON.clearCOSC2; inline;
  39403. begin
  39404. pTDefRegMap(@Self)^.clr := $00004000;
  39405. end;
  39406. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  39407. begin
  39408. if thebits = 0 then
  39409. pTDefRegMap(@Self)^.clr := $00004000
  39410. else
  39411. pTDefRegMap(@Self)^.&set := $00004000;
  39412. end;
  39413. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  39414. begin
  39415. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39416. end;
  39417. procedure TOSC_OSCCON.setPLLMULT0; inline;
  39418. begin
  39419. pTDefRegMap(@Self)^.&set := $00010000;
  39420. end;
  39421. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  39422. begin
  39423. pTDefRegMap(@Self)^.clr := $00010000;
  39424. end;
  39425. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  39426. begin
  39427. if thebits = 0 then
  39428. pTDefRegMap(@Self)^.clr := $00010000
  39429. else
  39430. pTDefRegMap(@Self)^.&set := $00010000;
  39431. end;
  39432. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  39433. begin
  39434. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39435. end;
  39436. procedure TOSC_OSCCON.setPLLMULT1; inline;
  39437. begin
  39438. pTDefRegMap(@Self)^.&set := $00020000;
  39439. end;
  39440. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  39441. begin
  39442. pTDefRegMap(@Self)^.clr := $00020000;
  39443. end;
  39444. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  39445. begin
  39446. if thebits = 0 then
  39447. pTDefRegMap(@Self)^.clr := $00020000
  39448. else
  39449. pTDefRegMap(@Self)^.&set := $00020000;
  39450. end;
  39451. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  39452. begin
  39453. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39454. end;
  39455. procedure TOSC_OSCCON.setPLLMULT2; inline;
  39456. begin
  39457. pTDefRegMap(@Self)^.&set := $00040000;
  39458. end;
  39459. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  39460. begin
  39461. pTDefRegMap(@Self)^.clr := $00040000;
  39462. end;
  39463. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  39464. begin
  39465. if thebits = 0 then
  39466. pTDefRegMap(@Self)^.clr := $00040000
  39467. else
  39468. pTDefRegMap(@Self)^.&set := $00040000;
  39469. end;
  39470. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  39471. begin
  39472. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39473. end;
  39474. procedure TOSC_OSCCON.setPBDIV0; inline;
  39475. begin
  39476. pTDefRegMap(@Self)^.&set := $00080000;
  39477. end;
  39478. procedure TOSC_OSCCON.clearPBDIV0; inline;
  39479. begin
  39480. pTDefRegMap(@Self)^.clr := $00080000;
  39481. end;
  39482. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  39483. begin
  39484. if thebits = 0 then
  39485. pTDefRegMap(@Self)^.clr := $00080000
  39486. else
  39487. pTDefRegMap(@Self)^.&set := $00080000;
  39488. end;
  39489. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  39490. begin
  39491. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39492. end;
  39493. procedure TOSC_OSCCON.setPBDIV1; inline;
  39494. begin
  39495. pTDefRegMap(@Self)^.&set := $00100000;
  39496. end;
  39497. procedure TOSC_OSCCON.clearPBDIV1; inline;
  39498. begin
  39499. pTDefRegMap(@Self)^.clr := $00100000;
  39500. end;
  39501. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  39502. begin
  39503. if thebits = 0 then
  39504. pTDefRegMap(@Self)^.clr := $00100000
  39505. else
  39506. pTDefRegMap(@Self)^.&set := $00100000;
  39507. end;
  39508. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  39509. begin
  39510. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39511. end;
  39512. procedure TOSC_OSCCON.setFRCDIV0; inline;
  39513. begin
  39514. pTDefRegMap(@Self)^.&set := $01000000;
  39515. end;
  39516. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  39517. begin
  39518. pTDefRegMap(@Self)^.clr := $01000000;
  39519. end;
  39520. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  39521. begin
  39522. if thebits = 0 then
  39523. pTDefRegMap(@Self)^.clr := $01000000
  39524. else
  39525. pTDefRegMap(@Self)^.&set := $01000000;
  39526. end;
  39527. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  39528. begin
  39529. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  39530. end;
  39531. procedure TOSC_OSCCON.setFRCDIV1; inline;
  39532. begin
  39533. pTDefRegMap(@Self)^.&set := $02000000;
  39534. end;
  39535. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  39536. begin
  39537. pTDefRegMap(@Self)^.clr := $02000000;
  39538. end;
  39539. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  39540. begin
  39541. if thebits = 0 then
  39542. pTDefRegMap(@Self)^.clr := $02000000
  39543. else
  39544. pTDefRegMap(@Self)^.&set := $02000000;
  39545. end;
  39546. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  39547. begin
  39548. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  39549. end;
  39550. procedure TOSC_OSCCON.setFRCDIV2; inline;
  39551. begin
  39552. pTDefRegMap(@Self)^.&set := $04000000;
  39553. end;
  39554. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  39555. begin
  39556. pTDefRegMap(@Self)^.clr := $04000000;
  39557. end;
  39558. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  39559. begin
  39560. if thebits = 0 then
  39561. pTDefRegMap(@Self)^.clr := $04000000
  39562. else
  39563. pTDefRegMap(@Self)^.&set := $04000000;
  39564. end;
  39565. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  39566. begin
  39567. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  39568. end;
  39569. procedure TOSC_OSCCON.setPLLODIV0; inline;
  39570. begin
  39571. pTDefRegMap(@Self)^.&set := $08000000;
  39572. end;
  39573. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  39574. begin
  39575. pTDefRegMap(@Self)^.clr := $08000000;
  39576. end;
  39577. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  39578. begin
  39579. if thebits = 0 then
  39580. pTDefRegMap(@Self)^.clr := $08000000
  39581. else
  39582. pTDefRegMap(@Self)^.&set := $08000000;
  39583. end;
  39584. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  39585. begin
  39586. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  39587. end;
  39588. procedure TOSC_OSCCON.setPLLODIV1; inline;
  39589. begin
  39590. pTDefRegMap(@Self)^.&set := $10000000;
  39591. end;
  39592. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  39593. begin
  39594. pTDefRegMap(@Self)^.clr := $10000000;
  39595. end;
  39596. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  39597. begin
  39598. if thebits = 0 then
  39599. pTDefRegMap(@Self)^.clr := $10000000
  39600. else
  39601. pTDefRegMap(@Self)^.&set := $10000000;
  39602. end;
  39603. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  39604. begin
  39605. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39606. end;
  39607. procedure TOSC_OSCCON.setPLLODIV2; inline;
  39608. begin
  39609. pTDefRegMap(@Self)^.&set := $20000000;
  39610. end;
  39611. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  39612. begin
  39613. pTDefRegMap(@Self)^.clr := $20000000;
  39614. end;
  39615. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  39616. begin
  39617. if thebits = 0 then
  39618. pTDefRegMap(@Self)^.clr := $20000000
  39619. else
  39620. pTDefRegMap(@Self)^.&set := $20000000;
  39621. end;
  39622. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  39623. begin
  39624. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  39625. end;
  39626. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  39627. begin
  39628. pTDefRegMap(@Self)^.val := thebits;
  39629. end;
  39630. function TOSC_OSCCON.getw : TBits_32; inline;
  39631. begin
  39632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39633. end;
  39634. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  39635. begin
  39636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  39637. end;
  39638. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  39639. begin
  39640. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  39641. end;
  39642. procedure TOSC_OSCTUN.setTUN0; inline;
  39643. begin
  39644. pTDefRegMap(@Self)^.&set := $00000001;
  39645. end;
  39646. procedure TOSC_OSCTUN.clearTUN0; inline;
  39647. begin
  39648. pTDefRegMap(@Self)^.clr := $00000001;
  39649. end;
  39650. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  39651. begin
  39652. if thebits = 0 then
  39653. pTDefRegMap(@Self)^.clr := $00000001
  39654. else
  39655. pTDefRegMap(@Self)^.&set := $00000001;
  39656. end;
  39657. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  39658. begin
  39659. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39660. end;
  39661. procedure TOSC_OSCTUN.setTUN1; inline;
  39662. begin
  39663. pTDefRegMap(@Self)^.&set := $00000002;
  39664. end;
  39665. procedure TOSC_OSCTUN.clearTUN1; inline;
  39666. begin
  39667. pTDefRegMap(@Self)^.clr := $00000002;
  39668. end;
  39669. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  39670. begin
  39671. if thebits = 0 then
  39672. pTDefRegMap(@Self)^.clr := $00000002
  39673. else
  39674. pTDefRegMap(@Self)^.&set := $00000002;
  39675. end;
  39676. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  39677. begin
  39678. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39679. end;
  39680. procedure TOSC_OSCTUN.setTUN2; inline;
  39681. begin
  39682. pTDefRegMap(@Self)^.&set := $00000004;
  39683. end;
  39684. procedure TOSC_OSCTUN.clearTUN2; inline;
  39685. begin
  39686. pTDefRegMap(@Self)^.clr := $00000004;
  39687. end;
  39688. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  39689. begin
  39690. if thebits = 0 then
  39691. pTDefRegMap(@Self)^.clr := $00000004
  39692. else
  39693. pTDefRegMap(@Self)^.&set := $00000004;
  39694. end;
  39695. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  39696. begin
  39697. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39698. end;
  39699. procedure TOSC_OSCTUN.setTUN3; inline;
  39700. begin
  39701. pTDefRegMap(@Self)^.&set := $00000008;
  39702. end;
  39703. procedure TOSC_OSCTUN.clearTUN3; inline;
  39704. begin
  39705. pTDefRegMap(@Self)^.clr := $00000008;
  39706. end;
  39707. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  39708. begin
  39709. if thebits = 0 then
  39710. pTDefRegMap(@Self)^.clr := $00000008
  39711. else
  39712. pTDefRegMap(@Self)^.&set := $00000008;
  39713. end;
  39714. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  39715. begin
  39716. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39717. end;
  39718. procedure TOSC_OSCTUN.setTUN4; inline;
  39719. begin
  39720. pTDefRegMap(@Self)^.&set := $00000010;
  39721. end;
  39722. procedure TOSC_OSCTUN.clearTUN4; inline;
  39723. begin
  39724. pTDefRegMap(@Self)^.clr := $00000010;
  39725. end;
  39726. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  39727. begin
  39728. if thebits = 0 then
  39729. pTDefRegMap(@Self)^.clr := $00000010
  39730. else
  39731. pTDefRegMap(@Self)^.&set := $00000010;
  39732. end;
  39733. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  39734. begin
  39735. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39736. end;
  39737. procedure TOSC_OSCTUN.setTUN5; inline;
  39738. begin
  39739. pTDefRegMap(@Self)^.&set := $00000020;
  39740. end;
  39741. procedure TOSC_OSCTUN.clearTUN5; inline;
  39742. begin
  39743. pTDefRegMap(@Self)^.clr := $00000020;
  39744. end;
  39745. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  39746. begin
  39747. if thebits = 0 then
  39748. pTDefRegMap(@Self)^.clr := $00000020
  39749. else
  39750. pTDefRegMap(@Self)^.&set := $00000020;
  39751. end;
  39752. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  39753. begin
  39754. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39755. end;
  39756. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  39757. begin
  39758. pTDefRegMap(@Self)^.val := thebits;
  39759. end;
  39760. function TOSC_OSCTUN.getw : TBits_32; inline;
  39761. begin
  39762. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39763. end;
  39764. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  39765. begin
  39766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39767. end;
  39768. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  39769. begin
  39770. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39771. end;
  39772. procedure TNVM_NVMCON.setLVDSTAT; inline;
  39773. begin
  39774. pTDefRegMap(@Self)^.&set := $00000800;
  39775. end;
  39776. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  39777. begin
  39778. pTDefRegMap(@Self)^.clr := $00000800;
  39779. end;
  39780. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  39781. begin
  39782. if thebits = 0 then
  39783. pTDefRegMap(@Self)^.clr := $00000800
  39784. else
  39785. pTDefRegMap(@Self)^.&set := $00000800;
  39786. end;
  39787. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  39788. begin
  39789. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39790. end;
  39791. procedure TNVM_NVMCON.setLVDERR; inline;
  39792. begin
  39793. pTDefRegMap(@Self)^.&set := $00001000;
  39794. end;
  39795. procedure TNVM_NVMCON.clearLVDERR; inline;
  39796. begin
  39797. pTDefRegMap(@Self)^.clr := $00001000;
  39798. end;
  39799. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  39800. begin
  39801. if thebits = 0 then
  39802. pTDefRegMap(@Self)^.clr := $00001000
  39803. else
  39804. pTDefRegMap(@Self)^.&set := $00001000;
  39805. end;
  39806. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  39807. begin
  39808. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39809. end;
  39810. procedure TNVM_NVMCON.setWRERR; inline;
  39811. begin
  39812. pTDefRegMap(@Self)^.&set := $00002000;
  39813. end;
  39814. procedure TNVM_NVMCON.clearWRERR; inline;
  39815. begin
  39816. pTDefRegMap(@Self)^.clr := $00002000;
  39817. end;
  39818. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  39819. begin
  39820. if thebits = 0 then
  39821. pTDefRegMap(@Self)^.clr := $00002000
  39822. else
  39823. pTDefRegMap(@Self)^.&set := $00002000;
  39824. end;
  39825. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  39826. begin
  39827. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39828. end;
  39829. procedure TNVM_NVMCON.setWREN; inline;
  39830. begin
  39831. pTDefRegMap(@Self)^.&set := $00004000;
  39832. end;
  39833. procedure TNVM_NVMCON.clearWREN; inline;
  39834. begin
  39835. pTDefRegMap(@Self)^.clr := $00004000;
  39836. end;
  39837. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  39838. begin
  39839. if thebits = 0 then
  39840. pTDefRegMap(@Self)^.clr := $00004000
  39841. else
  39842. pTDefRegMap(@Self)^.&set := $00004000;
  39843. end;
  39844. function TNVM_NVMCON.getWREN : TBits_1; inline;
  39845. begin
  39846. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39847. end;
  39848. procedure TNVM_NVMCON.setWR; inline;
  39849. begin
  39850. pTDefRegMap(@Self)^.&set := $00008000;
  39851. end;
  39852. procedure TNVM_NVMCON.clearWR; inline;
  39853. begin
  39854. pTDefRegMap(@Self)^.clr := $00008000;
  39855. end;
  39856. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  39857. begin
  39858. if thebits = 0 then
  39859. pTDefRegMap(@Self)^.clr := $00008000
  39860. else
  39861. pTDefRegMap(@Self)^.&set := $00008000;
  39862. end;
  39863. function TNVM_NVMCON.getWR : TBits_1; inline;
  39864. begin
  39865. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39866. end;
  39867. procedure TNVM_NVMCON.setNVMOP0; inline;
  39868. begin
  39869. pTDefRegMap(@Self)^.&set := $00000001;
  39870. end;
  39871. procedure TNVM_NVMCON.clearNVMOP0; inline;
  39872. begin
  39873. pTDefRegMap(@Self)^.clr := $00000001;
  39874. end;
  39875. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  39876. begin
  39877. if thebits = 0 then
  39878. pTDefRegMap(@Self)^.clr := $00000001
  39879. else
  39880. pTDefRegMap(@Self)^.&set := $00000001;
  39881. end;
  39882. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  39883. begin
  39884. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39885. end;
  39886. procedure TNVM_NVMCON.setNVMOP1; inline;
  39887. begin
  39888. pTDefRegMap(@Self)^.&set := $00000002;
  39889. end;
  39890. procedure TNVM_NVMCON.clearNVMOP1; inline;
  39891. begin
  39892. pTDefRegMap(@Self)^.clr := $00000002;
  39893. end;
  39894. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  39895. begin
  39896. if thebits = 0 then
  39897. pTDefRegMap(@Self)^.clr := $00000002
  39898. else
  39899. pTDefRegMap(@Self)^.&set := $00000002;
  39900. end;
  39901. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  39902. begin
  39903. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39904. end;
  39905. procedure TNVM_NVMCON.setNVMOP2; inline;
  39906. begin
  39907. pTDefRegMap(@Self)^.&set := $00000004;
  39908. end;
  39909. procedure TNVM_NVMCON.clearNVMOP2; inline;
  39910. begin
  39911. pTDefRegMap(@Self)^.clr := $00000004;
  39912. end;
  39913. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  39914. begin
  39915. if thebits = 0 then
  39916. pTDefRegMap(@Self)^.clr := $00000004
  39917. else
  39918. pTDefRegMap(@Self)^.&set := $00000004;
  39919. end;
  39920. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  39921. begin
  39922. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39923. end;
  39924. procedure TNVM_NVMCON.setNVMOP3; inline;
  39925. begin
  39926. pTDefRegMap(@Self)^.&set := $00000008;
  39927. end;
  39928. procedure TNVM_NVMCON.clearNVMOP3; inline;
  39929. begin
  39930. pTDefRegMap(@Self)^.clr := $00000008;
  39931. end;
  39932. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  39933. begin
  39934. if thebits = 0 then
  39935. pTDefRegMap(@Self)^.clr := $00000008
  39936. else
  39937. pTDefRegMap(@Self)^.&set := $00000008;
  39938. end;
  39939. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  39940. begin
  39941. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39942. end;
  39943. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  39944. begin
  39945. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39946. end;
  39947. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  39948. begin
  39949. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39950. end;
  39951. procedure TNVM_NVMCON.setPROGOP0; inline;
  39952. begin
  39953. pTDefRegMap(@Self)^.&set := $00000001;
  39954. end;
  39955. procedure TNVM_NVMCON.clearPROGOP0; inline;
  39956. begin
  39957. pTDefRegMap(@Self)^.clr := $00000001;
  39958. end;
  39959. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  39960. begin
  39961. if thebits = 0 then
  39962. pTDefRegMap(@Self)^.clr := $00000001
  39963. else
  39964. pTDefRegMap(@Self)^.&set := $00000001;
  39965. end;
  39966. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  39967. begin
  39968. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39969. end;
  39970. procedure TNVM_NVMCON.setPROGOP1; inline;
  39971. begin
  39972. pTDefRegMap(@Self)^.&set := $00000002;
  39973. end;
  39974. procedure TNVM_NVMCON.clearPROGOP1; inline;
  39975. begin
  39976. pTDefRegMap(@Self)^.clr := $00000002;
  39977. end;
  39978. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  39979. begin
  39980. if thebits = 0 then
  39981. pTDefRegMap(@Self)^.clr := $00000002
  39982. else
  39983. pTDefRegMap(@Self)^.&set := $00000002;
  39984. end;
  39985. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  39986. begin
  39987. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39988. end;
  39989. procedure TNVM_NVMCON.setPROGOP2; inline;
  39990. begin
  39991. pTDefRegMap(@Self)^.&set := $00000004;
  39992. end;
  39993. procedure TNVM_NVMCON.clearPROGOP2; inline;
  39994. begin
  39995. pTDefRegMap(@Self)^.clr := $00000004;
  39996. end;
  39997. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  39998. begin
  39999. if thebits = 0 then
  40000. pTDefRegMap(@Self)^.clr := $00000004
  40001. else
  40002. pTDefRegMap(@Self)^.&set := $00000004;
  40003. end;
  40004. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  40005. begin
  40006. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40007. end;
  40008. procedure TNVM_NVMCON.setPROGOP3; inline;
  40009. begin
  40010. pTDefRegMap(@Self)^.&set := $00000008;
  40011. end;
  40012. procedure TNVM_NVMCON.clearPROGOP3; inline;
  40013. begin
  40014. pTDefRegMap(@Self)^.clr := $00000008;
  40015. end;
  40016. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  40017. begin
  40018. if thebits = 0 then
  40019. pTDefRegMap(@Self)^.clr := $00000008
  40020. else
  40021. pTDefRegMap(@Self)^.&set := $00000008;
  40022. end;
  40023. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  40024. begin
  40025. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40026. end;
  40027. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  40028. begin
  40029. pTDefRegMap(@Self)^.val := thebits;
  40030. end;
  40031. function TNVM_NVMCON.getw : TBits_32; inline;
  40032. begin
  40033. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40034. end;
  40035. procedure TRCON_RCON.setPOR; inline;
  40036. begin
  40037. pTDefRegMap(@Self)^.&set := $00000001;
  40038. end;
  40039. procedure TRCON_RCON.clearPOR; inline;
  40040. begin
  40041. pTDefRegMap(@Self)^.clr := $00000001;
  40042. end;
  40043. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  40044. begin
  40045. if thebits = 0 then
  40046. pTDefRegMap(@Self)^.clr := $00000001
  40047. else
  40048. pTDefRegMap(@Self)^.&set := $00000001;
  40049. end;
  40050. function TRCON_RCON.getPOR : TBits_1; inline;
  40051. begin
  40052. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40053. end;
  40054. procedure TRCON_RCON.setBOR; inline;
  40055. begin
  40056. pTDefRegMap(@Self)^.&set := $00000002;
  40057. end;
  40058. procedure TRCON_RCON.clearBOR; inline;
  40059. begin
  40060. pTDefRegMap(@Self)^.clr := $00000002;
  40061. end;
  40062. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  40063. begin
  40064. if thebits = 0 then
  40065. pTDefRegMap(@Self)^.clr := $00000002
  40066. else
  40067. pTDefRegMap(@Self)^.&set := $00000002;
  40068. end;
  40069. function TRCON_RCON.getBOR : TBits_1; inline;
  40070. begin
  40071. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40072. end;
  40073. procedure TRCON_RCON.setIDLE; inline;
  40074. begin
  40075. pTDefRegMap(@Self)^.&set := $00000004;
  40076. end;
  40077. procedure TRCON_RCON.clearIDLE; inline;
  40078. begin
  40079. pTDefRegMap(@Self)^.clr := $00000004;
  40080. end;
  40081. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  40082. begin
  40083. if thebits = 0 then
  40084. pTDefRegMap(@Self)^.clr := $00000004
  40085. else
  40086. pTDefRegMap(@Self)^.&set := $00000004;
  40087. end;
  40088. function TRCON_RCON.getIDLE : TBits_1; inline;
  40089. begin
  40090. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40091. end;
  40092. procedure TRCON_RCON.setSLEEP; inline;
  40093. begin
  40094. pTDefRegMap(@Self)^.&set := $00000008;
  40095. end;
  40096. procedure TRCON_RCON.clearSLEEP; inline;
  40097. begin
  40098. pTDefRegMap(@Self)^.clr := $00000008;
  40099. end;
  40100. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  40101. begin
  40102. if thebits = 0 then
  40103. pTDefRegMap(@Self)^.clr := $00000008
  40104. else
  40105. pTDefRegMap(@Self)^.&set := $00000008;
  40106. end;
  40107. function TRCON_RCON.getSLEEP : TBits_1; inline;
  40108. begin
  40109. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40110. end;
  40111. procedure TRCON_RCON.setWDTO; inline;
  40112. begin
  40113. pTDefRegMap(@Self)^.&set := $00000010;
  40114. end;
  40115. procedure TRCON_RCON.clearWDTO; inline;
  40116. begin
  40117. pTDefRegMap(@Self)^.clr := $00000010;
  40118. end;
  40119. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  40120. begin
  40121. if thebits = 0 then
  40122. pTDefRegMap(@Self)^.clr := $00000010
  40123. else
  40124. pTDefRegMap(@Self)^.&set := $00000010;
  40125. end;
  40126. function TRCON_RCON.getWDTO : TBits_1; inline;
  40127. begin
  40128. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40129. end;
  40130. procedure TRCON_RCON.setSWR; inline;
  40131. begin
  40132. pTDefRegMap(@Self)^.&set := $00000040;
  40133. end;
  40134. procedure TRCON_RCON.clearSWR; inline;
  40135. begin
  40136. pTDefRegMap(@Self)^.clr := $00000040;
  40137. end;
  40138. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  40139. begin
  40140. if thebits = 0 then
  40141. pTDefRegMap(@Self)^.clr := $00000040
  40142. else
  40143. pTDefRegMap(@Self)^.&set := $00000040;
  40144. end;
  40145. function TRCON_RCON.getSWR : TBits_1; inline;
  40146. begin
  40147. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40148. end;
  40149. procedure TRCON_RCON.setEXTR; inline;
  40150. begin
  40151. pTDefRegMap(@Self)^.&set := $00000080;
  40152. end;
  40153. procedure TRCON_RCON.clearEXTR; inline;
  40154. begin
  40155. pTDefRegMap(@Self)^.clr := $00000080;
  40156. end;
  40157. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  40158. begin
  40159. if thebits = 0 then
  40160. pTDefRegMap(@Self)^.clr := $00000080
  40161. else
  40162. pTDefRegMap(@Self)^.&set := $00000080;
  40163. end;
  40164. function TRCON_RCON.getEXTR : TBits_1; inline;
  40165. begin
  40166. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40167. end;
  40168. procedure TRCON_RCON.setVREGS; inline;
  40169. begin
  40170. pTDefRegMap(@Self)^.&set := $00000100;
  40171. end;
  40172. procedure TRCON_RCON.clearVREGS; inline;
  40173. begin
  40174. pTDefRegMap(@Self)^.clr := $00000100;
  40175. end;
  40176. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  40177. begin
  40178. if thebits = 0 then
  40179. pTDefRegMap(@Self)^.clr := $00000100
  40180. else
  40181. pTDefRegMap(@Self)^.&set := $00000100;
  40182. end;
  40183. function TRCON_RCON.getVREGS : TBits_1; inline;
  40184. begin
  40185. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40186. end;
  40187. procedure TRCON_RCON.setCMR; inline;
  40188. begin
  40189. pTDefRegMap(@Self)^.&set := $00000200;
  40190. end;
  40191. procedure TRCON_RCON.clearCMR; inline;
  40192. begin
  40193. pTDefRegMap(@Self)^.clr := $00000200;
  40194. end;
  40195. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  40196. begin
  40197. if thebits = 0 then
  40198. pTDefRegMap(@Self)^.clr := $00000200
  40199. else
  40200. pTDefRegMap(@Self)^.&set := $00000200;
  40201. end;
  40202. function TRCON_RCON.getCMR : TBits_1; inline;
  40203. begin
  40204. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40205. end;
  40206. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  40207. begin
  40208. pTDefRegMap(@Self)^.val := thebits;
  40209. end;
  40210. function TRCON_RCON.getw : TBits_32; inline;
  40211. begin
  40212. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40213. end;
  40214. procedure TRCON_RSWRST.setSWRST; inline;
  40215. begin
  40216. pTDefRegMap(@Self)^.&set := $00000001;
  40217. end;
  40218. procedure TRCON_RSWRST.clearSWRST; inline;
  40219. begin
  40220. pTDefRegMap(@Self)^.clr := $00000001;
  40221. end;
  40222. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  40223. begin
  40224. if thebits = 0 then
  40225. pTDefRegMap(@Self)^.clr := $00000001
  40226. else
  40227. pTDefRegMap(@Self)^.&set := $00000001;
  40228. end;
  40229. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  40230. begin
  40231. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40232. end;
  40233. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  40234. begin
  40235. pTDefRegMap(@Self)^.val := thebits;
  40236. end;
  40237. function TRCON_RSWRST.getw : TBits_32; inline;
  40238. begin
  40239. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40240. end;
  40241. procedure TINT_INTCON.setINT0EP; inline;
  40242. begin
  40243. pTDefRegMap(@Self)^.&set := $00000001;
  40244. end;
  40245. procedure TINT_INTCON.clearINT0EP; inline;
  40246. begin
  40247. pTDefRegMap(@Self)^.clr := $00000001;
  40248. end;
  40249. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  40250. begin
  40251. if thebits = 0 then
  40252. pTDefRegMap(@Self)^.clr := $00000001
  40253. else
  40254. pTDefRegMap(@Self)^.&set := $00000001;
  40255. end;
  40256. function TINT_INTCON.getINT0EP : TBits_1; inline;
  40257. begin
  40258. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40259. end;
  40260. procedure TINT_INTCON.setINT1EP; inline;
  40261. begin
  40262. pTDefRegMap(@Self)^.&set := $00000002;
  40263. end;
  40264. procedure TINT_INTCON.clearINT1EP; inline;
  40265. begin
  40266. pTDefRegMap(@Self)^.clr := $00000002;
  40267. end;
  40268. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  40269. begin
  40270. if thebits = 0 then
  40271. pTDefRegMap(@Self)^.clr := $00000002
  40272. else
  40273. pTDefRegMap(@Self)^.&set := $00000002;
  40274. end;
  40275. function TINT_INTCON.getINT1EP : TBits_1; inline;
  40276. begin
  40277. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40278. end;
  40279. procedure TINT_INTCON.setINT2EP; inline;
  40280. begin
  40281. pTDefRegMap(@Self)^.&set := $00000004;
  40282. end;
  40283. procedure TINT_INTCON.clearINT2EP; inline;
  40284. begin
  40285. pTDefRegMap(@Self)^.clr := $00000004;
  40286. end;
  40287. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  40288. begin
  40289. if thebits = 0 then
  40290. pTDefRegMap(@Self)^.clr := $00000004
  40291. else
  40292. pTDefRegMap(@Self)^.&set := $00000004;
  40293. end;
  40294. function TINT_INTCON.getINT2EP : TBits_1; inline;
  40295. begin
  40296. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40297. end;
  40298. procedure TINT_INTCON.setINT3EP; inline;
  40299. begin
  40300. pTDefRegMap(@Self)^.&set := $00000008;
  40301. end;
  40302. procedure TINT_INTCON.clearINT3EP; inline;
  40303. begin
  40304. pTDefRegMap(@Self)^.clr := $00000008;
  40305. end;
  40306. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  40307. begin
  40308. if thebits = 0 then
  40309. pTDefRegMap(@Self)^.clr := $00000008
  40310. else
  40311. pTDefRegMap(@Self)^.&set := $00000008;
  40312. end;
  40313. function TINT_INTCON.getINT3EP : TBits_1; inline;
  40314. begin
  40315. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40316. end;
  40317. procedure TINT_INTCON.setINT4EP; inline;
  40318. begin
  40319. pTDefRegMap(@Self)^.&set := $00000010;
  40320. end;
  40321. procedure TINT_INTCON.clearINT4EP; inline;
  40322. begin
  40323. pTDefRegMap(@Self)^.clr := $00000010;
  40324. end;
  40325. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  40326. begin
  40327. if thebits = 0 then
  40328. pTDefRegMap(@Self)^.clr := $00000010
  40329. else
  40330. pTDefRegMap(@Self)^.&set := $00000010;
  40331. end;
  40332. function TINT_INTCON.getINT4EP : TBits_1; inline;
  40333. begin
  40334. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40335. end;
  40336. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  40337. begin
  40338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  40339. end;
  40340. function TINT_INTCON.getTPC : TBits_3; inline;
  40341. begin
  40342. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  40343. end;
  40344. procedure TINT_INTCON.setMVEC; inline;
  40345. begin
  40346. pTDefRegMap(@Self)^.&set := $00001000;
  40347. end;
  40348. procedure TINT_INTCON.clearMVEC; inline;
  40349. begin
  40350. pTDefRegMap(@Self)^.clr := $00001000;
  40351. end;
  40352. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  40353. begin
  40354. if thebits = 0 then
  40355. pTDefRegMap(@Self)^.clr := $00001000
  40356. else
  40357. pTDefRegMap(@Self)^.&set := $00001000;
  40358. end;
  40359. function TINT_INTCON.getMVEC : TBits_1; inline;
  40360. begin
  40361. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40362. end;
  40363. procedure TINT_INTCON.setFRZ; inline;
  40364. begin
  40365. pTDefRegMap(@Self)^.&set := $00004000;
  40366. end;
  40367. procedure TINT_INTCON.clearFRZ; inline;
  40368. begin
  40369. pTDefRegMap(@Self)^.clr := $00004000;
  40370. end;
  40371. procedure TINT_INTCON.setFRZ(thebits : TBits_1); inline;
  40372. begin
  40373. if thebits = 0 then
  40374. pTDefRegMap(@Self)^.clr := $00004000
  40375. else
  40376. pTDefRegMap(@Self)^.&set := $00004000;
  40377. end;
  40378. function TINT_INTCON.getFRZ : TBits_1; inline;
  40379. begin
  40380. getFRZ := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40381. end;
  40382. procedure TINT_INTCON.setSS0; inline;
  40383. begin
  40384. pTDefRegMap(@Self)^.&set := $00010000;
  40385. end;
  40386. procedure TINT_INTCON.clearSS0; inline;
  40387. begin
  40388. pTDefRegMap(@Self)^.clr := $00010000;
  40389. end;
  40390. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  40391. begin
  40392. if thebits = 0 then
  40393. pTDefRegMap(@Self)^.clr := $00010000
  40394. else
  40395. pTDefRegMap(@Self)^.&set := $00010000;
  40396. end;
  40397. function TINT_INTCON.getSS0 : TBits_1; inline;
  40398. begin
  40399. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40400. end;
  40401. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  40402. begin
  40403. pTDefRegMap(@Self)^.val := thebits;
  40404. end;
  40405. function TINT_INTCON.getw : TBits_32; inline;
  40406. begin
  40407. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40408. end;
  40409. procedure TINT_IFS0.setCTIF; inline;
  40410. begin
  40411. pTDefRegMap(@Self)^.&set := $00000001;
  40412. end;
  40413. procedure TINT_IFS0.clearCTIF; inline;
  40414. begin
  40415. pTDefRegMap(@Self)^.clr := $00000001;
  40416. end;
  40417. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  40418. begin
  40419. if thebits = 0 then
  40420. pTDefRegMap(@Self)^.clr := $00000001
  40421. else
  40422. pTDefRegMap(@Self)^.&set := $00000001;
  40423. end;
  40424. function TINT_IFS0.getCTIF : TBits_1; inline;
  40425. begin
  40426. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40427. end;
  40428. procedure TINT_IFS0.setCS0IF; inline;
  40429. begin
  40430. pTDefRegMap(@Self)^.&set := $00000002;
  40431. end;
  40432. procedure TINT_IFS0.clearCS0IF; inline;
  40433. begin
  40434. pTDefRegMap(@Self)^.clr := $00000002;
  40435. end;
  40436. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  40437. begin
  40438. if thebits = 0 then
  40439. pTDefRegMap(@Self)^.clr := $00000002
  40440. else
  40441. pTDefRegMap(@Self)^.&set := $00000002;
  40442. end;
  40443. function TINT_IFS0.getCS0IF : TBits_1; inline;
  40444. begin
  40445. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40446. end;
  40447. procedure TINT_IFS0.setCS1IF; inline;
  40448. begin
  40449. pTDefRegMap(@Self)^.&set := $00000004;
  40450. end;
  40451. procedure TINT_IFS0.clearCS1IF; inline;
  40452. begin
  40453. pTDefRegMap(@Self)^.clr := $00000004;
  40454. end;
  40455. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  40456. begin
  40457. if thebits = 0 then
  40458. pTDefRegMap(@Self)^.clr := $00000004
  40459. else
  40460. pTDefRegMap(@Self)^.&set := $00000004;
  40461. end;
  40462. function TINT_IFS0.getCS1IF : TBits_1; inline;
  40463. begin
  40464. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40465. end;
  40466. procedure TINT_IFS0.setINT0IF; inline;
  40467. begin
  40468. pTDefRegMap(@Self)^.&set := $00000008;
  40469. end;
  40470. procedure TINT_IFS0.clearINT0IF; inline;
  40471. begin
  40472. pTDefRegMap(@Self)^.clr := $00000008;
  40473. end;
  40474. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  40475. begin
  40476. if thebits = 0 then
  40477. pTDefRegMap(@Self)^.clr := $00000008
  40478. else
  40479. pTDefRegMap(@Self)^.&set := $00000008;
  40480. end;
  40481. function TINT_IFS0.getINT0IF : TBits_1; inline;
  40482. begin
  40483. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40484. end;
  40485. procedure TINT_IFS0.setT1IF; inline;
  40486. begin
  40487. pTDefRegMap(@Self)^.&set := $00000010;
  40488. end;
  40489. procedure TINT_IFS0.clearT1IF; inline;
  40490. begin
  40491. pTDefRegMap(@Self)^.clr := $00000010;
  40492. end;
  40493. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  40494. begin
  40495. if thebits = 0 then
  40496. pTDefRegMap(@Self)^.clr := $00000010
  40497. else
  40498. pTDefRegMap(@Self)^.&set := $00000010;
  40499. end;
  40500. function TINT_IFS0.getT1IF : TBits_1; inline;
  40501. begin
  40502. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40503. end;
  40504. procedure TINT_IFS0.setIC1IF; inline;
  40505. begin
  40506. pTDefRegMap(@Self)^.&set := $00000020;
  40507. end;
  40508. procedure TINT_IFS0.clearIC1IF; inline;
  40509. begin
  40510. pTDefRegMap(@Self)^.clr := $00000020;
  40511. end;
  40512. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  40513. begin
  40514. if thebits = 0 then
  40515. pTDefRegMap(@Self)^.clr := $00000020
  40516. else
  40517. pTDefRegMap(@Self)^.&set := $00000020;
  40518. end;
  40519. function TINT_IFS0.getIC1IF : TBits_1; inline;
  40520. begin
  40521. getIC1IF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40522. end;
  40523. procedure TINT_IFS0.setOC1IF; inline;
  40524. begin
  40525. pTDefRegMap(@Self)^.&set := $00000040;
  40526. end;
  40527. procedure TINT_IFS0.clearOC1IF; inline;
  40528. begin
  40529. pTDefRegMap(@Self)^.clr := $00000040;
  40530. end;
  40531. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  40532. begin
  40533. if thebits = 0 then
  40534. pTDefRegMap(@Self)^.clr := $00000040
  40535. else
  40536. pTDefRegMap(@Self)^.&set := $00000040;
  40537. end;
  40538. function TINT_IFS0.getOC1IF : TBits_1; inline;
  40539. begin
  40540. getOC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40541. end;
  40542. procedure TINT_IFS0.setINT1IF; inline;
  40543. begin
  40544. pTDefRegMap(@Self)^.&set := $00000080;
  40545. end;
  40546. procedure TINT_IFS0.clearINT1IF; inline;
  40547. begin
  40548. pTDefRegMap(@Self)^.clr := $00000080;
  40549. end;
  40550. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  40551. begin
  40552. if thebits = 0 then
  40553. pTDefRegMap(@Self)^.clr := $00000080
  40554. else
  40555. pTDefRegMap(@Self)^.&set := $00000080;
  40556. end;
  40557. function TINT_IFS0.getINT1IF : TBits_1; inline;
  40558. begin
  40559. getINT1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40560. end;
  40561. procedure TINT_IFS0.setT2IF; inline;
  40562. begin
  40563. pTDefRegMap(@Self)^.&set := $00000100;
  40564. end;
  40565. procedure TINT_IFS0.clearT2IF; inline;
  40566. begin
  40567. pTDefRegMap(@Self)^.clr := $00000100;
  40568. end;
  40569. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  40570. begin
  40571. if thebits = 0 then
  40572. pTDefRegMap(@Self)^.clr := $00000100
  40573. else
  40574. pTDefRegMap(@Self)^.&set := $00000100;
  40575. end;
  40576. function TINT_IFS0.getT2IF : TBits_1; inline;
  40577. begin
  40578. getT2IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40579. end;
  40580. procedure TINT_IFS0.setIC2IF; inline;
  40581. begin
  40582. pTDefRegMap(@Self)^.&set := $00000200;
  40583. end;
  40584. procedure TINT_IFS0.clearIC2IF; inline;
  40585. begin
  40586. pTDefRegMap(@Self)^.clr := $00000200;
  40587. end;
  40588. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  40589. begin
  40590. if thebits = 0 then
  40591. pTDefRegMap(@Self)^.clr := $00000200
  40592. else
  40593. pTDefRegMap(@Self)^.&set := $00000200;
  40594. end;
  40595. function TINT_IFS0.getIC2IF : TBits_1; inline;
  40596. begin
  40597. getIC2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40598. end;
  40599. procedure TINT_IFS0.setOC2IF; inline;
  40600. begin
  40601. pTDefRegMap(@Self)^.&set := $00000400;
  40602. end;
  40603. procedure TINT_IFS0.clearOC2IF; inline;
  40604. begin
  40605. pTDefRegMap(@Self)^.clr := $00000400;
  40606. end;
  40607. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  40608. begin
  40609. if thebits = 0 then
  40610. pTDefRegMap(@Self)^.clr := $00000400
  40611. else
  40612. pTDefRegMap(@Self)^.&set := $00000400;
  40613. end;
  40614. function TINT_IFS0.getOC2IF : TBits_1; inline;
  40615. begin
  40616. getOC2IF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40617. end;
  40618. procedure TINT_IFS0.setINT2IF; inline;
  40619. begin
  40620. pTDefRegMap(@Self)^.&set := $00000800;
  40621. end;
  40622. procedure TINT_IFS0.clearINT2IF; inline;
  40623. begin
  40624. pTDefRegMap(@Self)^.clr := $00000800;
  40625. end;
  40626. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  40627. begin
  40628. if thebits = 0 then
  40629. pTDefRegMap(@Self)^.clr := $00000800
  40630. else
  40631. pTDefRegMap(@Self)^.&set := $00000800;
  40632. end;
  40633. function TINT_IFS0.getINT2IF : TBits_1; inline;
  40634. begin
  40635. getINT2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40636. end;
  40637. procedure TINT_IFS0.setT3IF; inline;
  40638. begin
  40639. pTDefRegMap(@Self)^.&set := $00001000;
  40640. end;
  40641. procedure TINT_IFS0.clearT3IF; inline;
  40642. begin
  40643. pTDefRegMap(@Self)^.clr := $00001000;
  40644. end;
  40645. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  40646. begin
  40647. if thebits = 0 then
  40648. pTDefRegMap(@Self)^.clr := $00001000
  40649. else
  40650. pTDefRegMap(@Self)^.&set := $00001000;
  40651. end;
  40652. function TINT_IFS0.getT3IF : TBits_1; inline;
  40653. begin
  40654. getT3IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40655. end;
  40656. procedure TINT_IFS0.setIC3IF; inline;
  40657. begin
  40658. pTDefRegMap(@Self)^.&set := $00002000;
  40659. end;
  40660. procedure TINT_IFS0.clearIC3IF; inline;
  40661. begin
  40662. pTDefRegMap(@Self)^.clr := $00002000;
  40663. end;
  40664. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  40665. begin
  40666. if thebits = 0 then
  40667. pTDefRegMap(@Self)^.clr := $00002000
  40668. else
  40669. pTDefRegMap(@Self)^.&set := $00002000;
  40670. end;
  40671. function TINT_IFS0.getIC3IF : TBits_1; inline;
  40672. begin
  40673. getIC3IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40674. end;
  40675. procedure TINT_IFS0.setOC3IF; inline;
  40676. begin
  40677. pTDefRegMap(@Self)^.&set := $00004000;
  40678. end;
  40679. procedure TINT_IFS0.clearOC3IF; inline;
  40680. begin
  40681. pTDefRegMap(@Self)^.clr := $00004000;
  40682. end;
  40683. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  40684. begin
  40685. if thebits = 0 then
  40686. pTDefRegMap(@Self)^.clr := $00004000
  40687. else
  40688. pTDefRegMap(@Self)^.&set := $00004000;
  40689. end;
  40690. function TINT_IFS0.getOC3IF : TBits_1; inline;
  40691. begin
  40692. getOC3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40693. end;
  40694. procedure TINT_IFS0.setINT3IF; inline;
  40695. begin
  40696. pTDefRegMap(@Self)^.&set := $00008000;
  40697. end;
  40698. procedure TINT_IFS0.clearINT3IF; inline;
  40699. begin
  40700. pTDefRegMap(@Self)^.clr := $00008000;
  40701. end;
  40702. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  40703. begin
  40704. if thebits = 0 then
  40705. pTDefRegMap(@Self)^.clr := $00008000
  40706. else
  40707. pTDefRegMap(@Self)^.&set := $00008000;
  40708. end;
  40709. function TINT_IFS0.getINT3IF : TBits_1; inline;
  40710. begin
  40711. getINT3IF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40712. end;
  40713. procedure TINT_IFS0.setT4IF; inline;
  40714. begin
  40715. pTDefRegMap(@Self)^.&set := $00010000;
  40716. end;
  40717. procedure TINT_IFS0.clearT4IF; inline;
  40718. begin
  40719. pTDefRegMap(@Self)^.clr := $00010000;
  40720. end;
  40721. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  40722. begin
  40723. if thebits = 0 then
  40724. pTDefRegMap(@Self)^.clr := $00010000
  40725. else
  40726. pTDefRegMap(@Self)^.&set := $00010000;
  40727. end;
  40728. function TINT_IFS0.getT4IF : TBits_1; inline;
  40729. begin
  40730. getT4IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40731. end;
  40732. procedure TINT_IFS0.setIC4IF; inline;
  40733. begin
  40734. pTDefRegMap(@Self)^.&set := $00020000;
  40735. end;
  40736. procedure TINT_IFS0.clearIC4IF; inline;
  40737. begin
  40738. pTDefRegMap(@Self)^.clr := $00020000;
  40739. end;
  40740. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  40741. begin
  40742. if thebits = 0 then
  40743. pTDefRegMap(@Self)^.clr := $00020000
  40744. else
  40745. pTDefRegMap(@Self)^.&set := $00020000;
  40746. end;
  40747. function TINT_IFS0.getIC4IF : TBits_1; inline;
  40748. begin
  40749. getIC4IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40750. end;
  40751. procedure TINT_IFS0.setOC4IF; inline;
  40752. begin
  40753. pTDefRegMap(@Self)^.&set := $00040000;
  40754. end;
  40755. procedure TINT_IFS0.clearOC4IF; inline;
  40756. begin
  40757. pTDefRegMap(@Self)^.clr := $00040000;
  40758. end;
  40759. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  40760. begin
  40761. if thebits = 0 then
  40762. pTDefRegMap(@Self)^.clr := $00040000
  40763. else
  40764. pTDefRegMap(@Self)^.&set := $00040000;
  40765. end;
  40766. function TINT_IFS0.getOC4IF : TBits_1; inline;
  40767. begin
  40768. getOC4IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40769. end;
  40770. procedure TINT_IFS0.setINT4IF; inline;
  40771. begin
  40772. pTDefRegMap(@Self)^.&set := $00080000;
  40773. end;
  40774. procedure TINT_IFS0.clearINT4IF; inline;
  40775. begin
  40776. pTDefRegMap(@Self)^.clr := $00080000;
  40777. end;
  40778. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  40779. begin
  40780. if thebits = 0 then
  40781. pTDefRegMap(@Self)^.clr := $00080000
  40782. else
  40783. pTDefRegMap(@Self)^.&set := $00080000;
  40784. end;
  40785. function TINT_IFS0.getINT4IF : TBits_1; inline;
  40786. begin
  40787. getINT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40788. end;
  40789. procedure TINT_IFS0.setT5IF; inline;
  40790. begin
  40791. pTDefRegMap(@Self)^.&set := $00100000;
  40792. end;
  40793. procedure TINT_IFS0.clearT5IF; inline;
  40794. begin
  40795. pTDefRegMap(@Self)^.clr := $00100000;
  40796. end;
  40797. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  40798. begin
  40799. if thebits = 0 then
  40800. pTDefRegMap(@Self)^.clr := $00100000
  40801. else
  40802. pTDefRegMap(@Self)^.&set := $00100000;
  40803. end;
  40804. function TINT_IFS0.getT5IF : TBits_1; inline;
  40805. begin
  40806. getT5IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  40807. end;
  40808. procedure TINT_IFS0.setIC5IF; inline;
  40809. begin
  40810. pTDefRegMap(@Self)^.&set := $00200000;
  40811. end;
  40812. procedure TINT_IFS0.clearIC5IF; inline;
  40813. begin
  40814. pTDefRegMap(@Self)^.clr := $00200000;
  40815. end;
  40816. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  40817. begin
  40818. if thebits = 0 then
  40819. pTDefRegMap(@Self)^.clr := $00200000
  40820. else
  40821. pTDefRegMap(@Self)^.&set := $00200000;
  40822. end;
  40823. function TINT_IFS0.getIC5IF : TBits_1; inline;
  40824. begin
  40825. getIC5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  40826. end;
  40827. procedure TINT_IFS0.setOC5IF; inline;
  40828. begin
  40829. pTDefRegMap(@Self)^.&set := $00400000;
  40830. end;
  40831. procedure TINT_IFS0.clearOC5IF; inline;
  40832. begin
  40833. pTDefRegMap(@Self)^.clr := $00400000;
  40834. end;
  40835. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  40836. begin
  40837. if thebits = 0 then
  40838. pTDefRegMap(@Self)^.clr := $00400000
  40839. else
  40840. pTDefRegMap(@Self)^.&set := $00400000;
  40841. end;
  40842. function TINT_IFS0.getOC5IF : TBits_1; inline;
  40843. begin
  40844. getOC5IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40845. end;
  40846. procedure TINT_IFS0.setU1EIF; inline;
  40847. begin
  40848. pTDefRegMap(@Self)^.&set := $04000000;
  40849. end;
  40850. procedure TINT_IFS0.clearU1EIF; inline;
  40851. begin
  40852. pTDefRegMap(@Self)^.clr := $04000000;
  40853. end;
  40854. procedure TINT_IFS0.setU1EIF(thebits : TBits_1); inline;
  40855. begin
  40856. if thebits = 0 then
  40857. pTDefRegMap(@Self)^.clr := $04000000
  40858. else
  40859. pTDefRegMap(@Self)^.&set := $04000000;
  40860. end;
  40861. function TINT_IFS0.getU1EIF : TBits_1; inline;
  40862. begin
  40863. getU1EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40864. end;
  40865. procedure TINT_IFS0.setU1RXIF; inline;
  40866. begin
  40867. pTDefRegMap(@Self)^.&set := $08000000;
  40868. end;
  40869. procedure TINT_IFS0.clearU1RXIF; inline;
  40870. begin
  40871. pTDefRegMap(@Self)^.clr := $08000000;
  40872. end;
  40873. procedure TINT_IFS0.setU1RXIF(thebits : TBits_1); inline;
  40874. begin
  40875. if thebits = 0 then
  40876. pTDefRegMap(@Self)^.clr := $08000000
  40877. else
  40878. pTDefRegMap(@Self)^.&set := $08000000;
  40879. end;
  40880. function TINT_IFS0.getU1RXIF : TBits_1; inline;
  40881. begin
  40882. getU1RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40883. end;
  40884. procedure TINT_IFS0.setU1TXIF; inline;
  40885. begin
  40886. pTDefRegMap(@Self)^.&set := $10000000;
  40887. end;
  40888. procedure TINT_IFS0.clearU1TXIF; inline;
  40889. begin
  40890. pTDefRegMap(@Self)^.clr := $10000000;
  40891. end;
  40892. procedure TINT_IFS0.setU1TXIF(thebits : TBits_1); inline;
  40893. begin
  40894. if thebits = 0 then
  40895. pTDefRegMap(@Self)^.clr := $10000000
  40896. else
  40897. pTDefRegMap(@Self)^.&set := $10000000;
  40898. end;
  40899. function TINT_IFS0.getU1TXIF : TBits_1; inline;
  40900. begin
  40901. getU1TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40902. end;
  40903. procedure TINT_IFS0.setI2C1BIF; inline;
  40904. begin
  40905. pTDefRegMap(@Self)^.&set := $20000000;
  40906. end;
  40907. procedure TINT_IFS0.clearI2C1BIF; inline;
  40908. begin
  40909. pTDefRegMap(@Self)^.clr := $20000000;
  40910. end;
  40911. procedure TINT_IFS0.setI2C1BIF(thebits : TBits_1); inline;
  40912. begin
  40913. if thebits = 0 then
  40914. pTDefRegMap(@Self)^.clr := $20000000
  40915. else
  40916. pTDefRegMap(@Self)^.&set := $20000000;
  40917. end;
  40918. function TINT_IFS0.getI2C1BIF : TBits_1; inline;
  40919. begin
  40920. getI2C1BIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  40921. end;
  40922. procedure TINT_IFS0.setI2C1SIF; inline;
  40923. begin
  40924. pTDefRegMap(@Self)^.&set := $40000000;
  40925. end;
  40926. procedure TINT_IFS0.clearI2C1SIF; inline;
  40927. begin
  40928. pTDefRegMap(@Self)^.clr := $40000000;
  40929. end;
  40930. procedure TINT_IFS0.setI2C1SIF(thebits : TBits_1); inline;
  40931. begin
  40932. if thebits = 0 then
  40933. pTDefRegMap(@Self)^.clr := $40000000
  40934. else
  40935. pTDefRegMap(@Self)^.&set := $40000000;
  40936. end;
  40937. function TINT_IFS0.getI2C1SIF : TBits_1; inline;
  40938. begin
  40939. getI2C1SIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  40940. end;
  40941. procedure TINT_IFS0.setI2C1MIF; inline;
  40942. begin
  40943. pTDefRegMap(@Self)^.&set := $80000000;
  40944. end;
  40945. procedure TINT_IFS0.clearI2C1MIF; inline;
  40946. begin
  40947. pTDefRegMap(@Self)^.clr := $80000000;
  40948. end;
  40949. procedure TINT_IFS0.setI2C1MIF(thebits : TBits_1); inline;
  40950. begin
  40951. if thebits = 0 then
  40952. pTDefRegMap(@Self)^.clr := $80000000
  40953. else
  40954. pTDefRegMap(@Self)^.&set := $80000000;
  40955. end;
  40956. function TINT_IFS0.getI2C1MIF : TBits_1; inline;
  40957. begin
  40958. getI2C1MIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40959. end;
  40960. procedure TINT_IFS0.setU1AEIF; inline;
  40961. begin
  40962. pTDefRegMap(@Self)^.&set := $04000000;
  40963. end;
  40964. procedure TINT_IFS0.clearU1AEIF; inline;
  40965. begin
  40966. pTDefRegMap(@Self)^.clr := $04000000;
  40967. end;
  40968. procedure TINT_IFS0.setU1AEIF(thebits : TBits_1); inline;
  40969. begin
  40970. if thebits = 0 then
  40971. pTDefRegMap(@Self)^.clr := $04000000
  40972. else
  40973. pTDefRegMap(@Self)^.&set := $04000000;
  40974. end;
  40975. function TINT_IFS0.getU1AEIF : TBits_1; inline;
  40976. begin
  40977. getU1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40978. end;
  40979. procedure TINT_IFS0.setU1ARXIF; inline;
  40980. begin
  40981. pTDefRegMap(@Self)^.&set := $08000000;
  40982. end;
  40983. procedure TINT_IFS0.clearU1ARXIF; inline;
  40984. begin
  40985. pTDefRegMap(@Self)^.clr := $08000000;
  40986. end;
  40987. procedure TINT_IFS0.setU1ARXIF(thebits : TBits_1); inline;
  40988. begin
  40989. if thebits = 0 then
  40990. pTDefRegMap(@Self)^.clr := $08000000
  40991. else
  40992. pTDefRegMap(@Self)^.&set := $08000000;
  40993. end;
  40994. function TINT_IFS0.getU1ARXIF : TBits_1; inline;
  40995. begin
  40996. getU1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40997. end;
  40998. procedure TINT_IFS0.setU1ATXIF; inline;
  40999. begin
  41000. pTDefRegMap(@Self)^.&set := $10000000;
  41001. end;
  41002. procedure TINT_IFS0.clearU1ATXIF; inline;
  41003. begin
  41004. pTDefRegMap(@Self)^.clr := $10000000;
  41005. end;
  41006. procedure TINT_IFS0.setU1ATXIF(thebits : TBits_1); inline;
  41007. begin
  41008. if thebits = 0 then
  41009. pTDefRegMap(@Self)^.clr := $10000000
  41010. else
  41011. pTDefRegMap(@Self)^.&set := $10000000;
  41012. end;
  41013. function TINT_IFS0.getU1ATXIF : TBits_1; inline;
  41014. begin
  41015. getU1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41016. end;
  41017. procedure TINT_IFS0.setSPI3EIF; inline;
  41018. begin
  41019. pTDefRegMap(@Self)^.&set := $04000000;
  41020. end;
  41021. procedure TINT_IFS0.clearSPI3EIF; inline;
  41022. begin
  41023. pTDefRegMap(@Self)^.clr := $04000000;
  41024. end;
  41025. procedure TINT_IFS0.setSPI3EIF(thebits : TBits_1); inline;
  41026. begin
  41027. if thebits = 0 then
  41028. pTDefRegMap(@Self)^.clr := $04000000
  41029. else
  41030. pTDefRegMap(@Self)^.&set := $04000000;
  41031. end;
  41032. function TINT_IFS0.getSPI3EIF : TBits_1; inline;
  41033. begin
  41034. getSPI3EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41035. end;
  41036. procedure TINT_IFS0.setSPI3RXIF; inline;
  41037. begin
  41038. pTDefRegMap(@Self)^.&set := $08000000;
  41039. end;
  41040. procedure TINT_IFS0.clearSPI3RXIF; inline;
  41041. begin
  41042. pTDefRegMap(@Self)^.clr := $08000000;
  41043. end;
  41044. procedure TINT_IFS0.setSPI3RXIF(thebits : TBits_1); inline;
  41045. begin
  41046. if thebits = 0 then
  41047. pTDefRegMap(@Self)^.clr := $08000000
  41048. else
  41049. pTDefRegMap(@Self)^.&set := $08000000;
  41050. end;
  41051. function TINT_IFS0.getSPI3RXIF : TBits_1; inline;
  41052. begin
  41053. getSPI3RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41054. end;
  41055. procedure TINT_IFS0.setSPI3TXIF; inline;
  41056. begin
  41057. pTDefRegMap(@Self)^.&set := $10000000;
  41058. end;
  41059. procedure TINT_IFS0.clearSPI3TXIF; inline;
  41060. begin
  41061. pTDefRegMap(@Self)^.clr := $10000000;
  41062. end;
  41063. procedure TINT_IFS0.setSPI3TXIF(thebits : TBits_1); inline;
  41064. begin
  41065. if thebits = 0 then
  41066. pTDefRegMap(@Self)^.clr := $10000000
  41067. else
  41068. pTDefRegMap(@Self)^.&set := $10000000;
  41069. end;
  41070. function TINT_IFS0.getSPI3TXIF : TBits_1; inline;
  41071. begin
  41072. getSPI3TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41073. end;
  41074. procedure TINT_IFS0.setSPI1AEIF; inline;
  41075. begin
  41076. pTDefRegMap(@Self)^.&set := $04000000;
  41077. end;
  41078. procedure TINT_IFS0.clearSPI1AEIF; inline;
  41079. begin
  41080. pTDefRegMap(@Self)^.clr := $04000000;
  41081. end;
  41082. procedure TINT_IFS0.setSPI1AEIF(thebits : TBits_1); inline;
  41083. begin
  41084. if thebits = 0 then
  41085. pTDefRegMap(@Self)^.clr := $04000000
  41086. else
  41087. pTDefRegMap(@Self)^.&set := $04000000;
  41088. end;
  41089. function TINT_IFS0.getSPI1AEIF : TBits_1; inline;
  41090. begin
  41091. getSPI1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41092. end;
  41093. procedure TINT_IFS0.setSPI1ARXIF; inline;
  41094. begin
  41095. pTDefRegMap(@Self)^.&set := $08000000;
  41096. end;
  41097. procedure TINT_IFS0.clearSPI1ARXIF; inline;
  41098. begin
  41099. pTDefRegMap(@Self)^.clr := $08000000;
  41100. end;
  41101. procedure TINT_IFS0.setSPI1ARXIF(thebits : TBits_1); inline;
  41102. begin
  41103. if thebits = 0 then
  41104. pTDefRegMap(@Self)^.clr := $08000000
  41105. else
  41106. pTDefRegMap(@Self)^.&set := $08000000;
  41107. end;
  41108. function TINT_IFS0.getSPI1ARXIF : TBits_1; inline;
  41109. begin
  41110. getSPI1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41111. end;
  41112. procedure TINT_IFS0.setSPI1ATXIF; inline;
  41113. begin
  41114. pTDefRegMap(@Self)^.&set := $10000000;
  41115. end;
  41116. procedure TINT_IFS0.clearSPI1ATXIF; inline;
  41117. begin
  41118. pTDefRegMap(@Self)^.clr := $10000000;
  41119. end;
  41120. procedure TINT_IFS0.setSPI1ATXIF(thebits : TBits_1); inline;
  41121. begin
  41122. if thebits = 0 then
  41123. pTDefRegMap(@Self)^.clr := $10000000
  41124. else
  41125. pTDefRegMap(@Self)^.&set := $10000000;
  41126. end;
  41127. function TINT_IFS0.getSPI1ATXIF : TBits_1; inline;
  41128. begin
  41129. getSPI1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41130. end;
  41131. procedure TINT_IFS0.setI2C3BIF; inline;
  41132. begin
  41133. pTDefRegMap(@Self)^.&set := $04000000;
  41134. end;
  41135. procedure TINT_IFS0.clearI2C3BIF; inline;
  41136. begin
  41137. pTDefRegMap(@Self)^.clr := $04000000;
  41138. end;
  41139. procedure TINT_IFS0.setI2C3BIF(thebits : TBits_1); inline;
  41140. begin
  41141. if thebits = 0 then
  41142. pTDefRegMap(@Self)^.clr := $04000000
  41143. else
  41144. pTDefRegMap(@Self)^.&set := $04000000;
  41145. end;
  41146. function TINT_IFS0.getI2C3BIF : TBits_1; inline;
  41147. begin
  41148. getI2C3BIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41149. end;
  41150. procedure TINT_IFS0.setI2C3SIF; inline;
  41151. begin
  41152. pTDefRegMap(@Self)^.&set := $08000000;
  41153. end;
  41154. procedure TINT_IFS0.clearI2C3SIF; inline;
  41155. begin
  41156. pTDefRegMap(@Self)^.clr := $08000000;
  41157. end;
  41158. procedure TINT_IFS0.setI2C3SIF(thebits : TBits_1); inline;
  41159. begin
  41160. if thebits = 0 then
  41161. pTDefRegMap(@Self)^.clr := $08000000
  41162. else
  41163. pTDefRegMap(@Self)^.&set := $08000000;
  41164. end;
  41165. function TINT_IFS0.getI2C3SIF : TBits_1; inline;
  41166. begin
  41167. getI2C3SIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41168. end;
  41169. procedure TINT_IFS0.setI2C3MIF; inline;
  41170. begin
  41171. pTDefRegMap(@Self)^.&set := $10000000;
  41172. end;
  41173. procedure TINT_IFS0.clearI2C3MIF; inline;
  41174. begin
  41175. pTDefRegMap(@Self)^.clr := $10000000;
  41176. end;
  41177. procedure TINT_IFS0.setI2C3MIF(thebits : TBits_1); inline;
  41178. begin
  41179. if thebits = 0 then
  41180. pTDefRegMap(@Self)^.clr := $10000000
  41181. else
  41182. pTDefRegMap(@Self)^.&set := $10000000;
  41183. end;
  41184. function TINT_IFS0.getI2C3MIF : TBits_1; inline;
  41185. begin
  41186. getI2C3MIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41187. end;
  41188. procedure TINT_IFS0.setI2C1ABIF; inline;
  41189. begin
  41190. pTDefRegMap(@Self)^.&set := $04000000;
  41191. end;
  41192. procedure TINT_IFS0.clearI2C1ABIF; inline;
  41193. begin
  41194. pTDefRegMap(@Self)^.clr := $04000000;
  41195. end;
  41196. procedure TINT_IFS0.setI2C1ABIF(thebits : TBits_1); inline;
  41197. begin
  41198. if thebits = 0 then
  41199. pTDefRegMap(@Self)^.clr := $04000000
  41200. else
  41201. pTDefRegMap(@Self)^.&set := $04000000;
  41202. end;
  41203. function TINT_IFS0.getI2C1ABIF : TBits_1; inline;
  41204. begin
  41205. getI2C1ABIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41206. end;
  41207. procedure TINT_IFS0.setI2C1ASIF; inline;
  41208. begin
  41209. pTDefRegMap(@Self)^.&set := $08000000;
  41210. end;
  41211. procedure TINT_IFS0.clearI2C1ASIF; inline;
  41212. begin
  41213. pTDefRegMap(@Self)^.clr := $08000000;
  41214. end;
  41215. procedure TINT_IFS0.setI2C1ASIF(thebits : TBits_1); inline;
  41216. begin
  41217. if thebits = 0 then
  41218. pTDefRegMap(@Self)^.clr := $08000000
  41219. else
  41220. pTDefRegMap(@Self)^.&set := $08000000;
  41221. end;
  41222. function TINT_IFS0.getI2C1ASIF : TBits_1; inline;
  41223. begin
  41224. getI2C1ASIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41225. end;
  41226. procedure TINT_IFS0.setI2C1AMIF; inline;
  41227. begin
  41228. pTDefRegMap(@Self)^.&set := $10000000;
  41229. end;
  41230. procedure TINT_IFS0.clearI2C1AMIF; inline;
  41231. begin
  41232. pTDefRegMap(@Self)^.clr := $10000000;
  41233. end;
  41234. procedure TINT_IFS0.setI2C1AMIF(thebits : TBits_1); inline;
  41235. begin
  41236. if thebits = 0 then
  41237. pTDefRegMap(@Self)^.clr := $10000000
  41238. else
  41239. pTDefRegMap(@Self)^.&set := $10000000;
  41240. end;
  41241. function TINT_IFS0.getI2C1AMIF : TBits_1; inline;
  41242. begin
  41243. getI2C1AMIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41244. end;
  41245. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  41246. begin
  41247. pTDefRegMap(@Self)^.val := thebits;
  41248. end;
  41249. function TINT_IFS0.getw : TBits_32; inline;
  41250. begin
  41251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41252. end;
  41253. procedure TINT_IFS1.setCNIF; inline;
  41254. begin
  41255. pTDefRegMap(@Self)^.&set := $00000001;
  41256. end;
  41257. procedure TINT_IFS1.clearCNIF; inline;
  41258. begin
  41259. pTDefRegMap(@Self)^.clr := $00000001;
  41260. end;
  41261. procedure TINT_IFS1.setCNIF(thebits : TBits_1); inline;
  41262. begin
  41263. if thebits = 0 then
  41264. pTDefRegMap(@Self)^.clr := $00000001
  41265. else
  41266. pTDefRegMap(@Self)^.&set := $00000001;
  41267. end;
  41268. function TINT_IFS1.getCNIF : TBits_1; inline;
  41269. begin
  41270. getCNIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41271. end;
  41272. procedure TINT_IFS1.setAD1IF; inline;
  41273. begin
  41274. pTDefRegMap(@Self)^.&set := $00000002;
  41275. end;
  41276. procedure TINT_IFS1.clearAD1IF; inline;
  41277. begin
  41278. pTDefRegMap(@Self)^.clr := $00000002;
  41279. end;
  41280. procedure TINT_IFS1.setAD1IF(thebits : TBits_1); inline;
  41281. begin
  41282. if thebits = 0 then
  41283. pTDefRegMap(@Self)^.clr := $00000002
  41284. else
  41285. pTDefRegMap(@Self)^.&set := $00000002;
  41286. end;
  41287. function TINT_IFS1.getAD1IF : TBits_1; inline;
  41288. begin
  41289. getAD1IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41290. end;
  41291. procedure TINT_IFS1.setPMPIF; inline;
  41292. begin
  41293. pTDefRegMap(@Self)^.&set := $00000004;
  41294. end;
  41295. procedure TINT_IFS1.clearPMPIF; inline;
  41296. begin
  41297. pTDefRegMap(@Self)^.clr := $00000004;
  41298. end;
  41299. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  41300. begin
  41301. if thebits = 0 then
  41302. pTDefRegMap(@Self)^.clr := $00000004
  41303. else
  41304. pTDefRegMap(@Self)^.&set := $00000004;
  41305. end;
  41306. function TINT_IFS1.getPMPIF : TBits_1; inline;
  41307. begin
  41308. getPMPIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41309. end;
  41310. procedure TINT_IFS1.setCMP1IF; inline;
  41311. begin
  41312. pTDefRegMap(@Self)^.&set := $00000008;
  41313. end;
  41314. procedure TINT_IFS1.clearCMP1IF; inline;
  41315. begin
  41316. pTDefRegMap(@Self)^.clr := $00000008;
  41317. end;
  41318. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  41319. begin
  41320. if thebits = 0 then
  41321. pTDefRegMap(@Self)^.clr := $00000008
  41322. else
  41323. pTDefRegMap(@Self)^.&set := $00000008;
  41324. end;
  41325. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  41326. begin
  41327. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41328. end;
  41329. procedure TINT_IFS1.setCMP2IF; inline;
  41330. begin
  41331. pTDefRegMap(@Self)^.&set := $00000010;
  41332. end;
  41333. procedure TINT_IFS1.clearCMP2IF; inline;
  41334. begin
  41335. pTDefRegMap(@Self)^.clr := $00000010;
  41336. end;
  41337. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  41338. begin
  41339. if thebits = 0 then
  41340. pTDefRegMap(@Self)^.clr := $00000010
  41341. else
  41342. pTDefRegMap(@Self)^.&set := $00000010;
  41343. end;
  41344. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  41345. begin
  41346. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41347. end;
  41348. procedure TINT_IFS1.setU3EIF; inline;
  41349. begin
  41350. pTDefRegMap(@Self)^.&set := $00000020;
  41351. end;
  41352. procedure TINT_IFS1.clearU3EIF; inline;
  41353. begin
  41354. pTDefRegMap(@Self)^.clr := $00000020;
  41355. end;
  41356. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  41357. begin
  41358. if thebits = 0 then
  41359. pTDefRegMap(@Self)^.clr := $00000020
  41360. else
  41361. pTDefRegMap(@Self)^.&set := $00000020;
  41362. end;
  41363. function TINT_IFS1.getU3EIF : TBits_1; inline;
  41364. begin
  41365. getU3EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41366. end;
  41367. procedure TINT_IFS1.setU3RXIF; inline;
  41368. begin
  41369. pTDefRegMap(@Self)^.&set := $00000040;
  41370. end;
  41371. procedure TINT_IFS1.clearU3RXIF; inline;
  41372. begin
  41373. pTDefRegMap(@Self)^.clr := $00000040;
  41374. end;
  41375. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  41376. begin
  41377. if thebits = 0 then
  41378. pTDefRegMap(@Self)^.clr := $00000040
  41379. else
  41380. pTDefRegMap(@Self)^.&set := $00000040;
  41381. end;
  41382. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  41383. begin
  41384. getU3RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41385. end;
  41386. procedure TINT_IFS1.setU3TXIF; inline;
  41387. begin
  41388. pTDefRegMap(@Self)^.&set := $00000080;
  41389. end;
  41390. procedure TINT_IFS1.clearU3TXIF; inline;
  41391. begin
  41392. pTDefRegMap(@Self)^.clr := $00000080;
  41393. end;
  41394. procedure TINT_IFS1.setU3TXIF(thebits : TBits_1); inline;
  41395. begin
  41396. if thebits = 0 then
  41397. pTDefRegMap(@Self)^.clr := $00000080
  41398. else
  41399. pTDefRegMap(@Self)^.&set := $00000080;
  41400. end;
  41401. function TINT_IFS1.getU3TXIF : TBits_1; inline;
  41402. begin
  41403. getU3TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41404. end;
  41405. procedure TINT_IFS1.setU2EIF; inline;
  41406. begin
  41407. pTDefRegMap(@Self)^.&set := $00000100;
  41408. end;
  41409. procedure TINT_IFS1.clearU2EIF; inline;
  41410. begin
  41411. pTDefRegMap(@Self)^.clr := $00000100;
  41412. end;
  41413. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  41414. begin
  41415. if thebits = 0 then
  41416. pTDefRegMap(@Self)^.clr := $00000100
  41417. else
  41418. pTDefRegMap(@Self)^.&set := $00000100;
  41419. end;
  41420. function TINT_IFS1.getU2EIF : TBits_1; inline;
  41421. begin
  41422. getU2EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41423. end;
  41424. procedure TINT_IFS1.setU2RXIF; inline;
  41425. begin
  41426. pTDefRegMap(@Self)^.&set := $00000200;
  41427. end;
  41428. procedure TINT_IFS1.clearU2RXIF; inline;
  41429. begin
  41430. pTDefRegMap(@Self)^.clr := $00000200;
  41431. end;
  41432. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  41433. begin
  41434. if thebits = 0 then
  41435. pTDefRegMap(@Self)^.clr := $00000200
  41436. else
  41437. pTDefRegMap(@Self)^.&set := $00000200;
  41438. end;
  41439. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  41440. begin
  41441. getU2RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41442. end;
  41443. procedure TINT_IFS1.setU2TXIF; inline;
  41444. begin
  41445. pTDefRegMap(@Self)^.&set := $00000400;
  41446. end;
  41447. procedure TINT_IFS1.clearU2TXIF; inline;
  41448. begin
  41449. pTDefRegMap(@Self)^.clr := $00000400;
  41450. end;
  41451. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  41452. begin
  41453. if thebits = 0 then
  41454. pTDefRegMap(@Self)^.clr := $00000400
  41455. else
  41456. pTDefRegMap(@Self)^.&set := $00000400;
  41457. end;
  41458. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  41459. begin
  41460. getU2TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41461. end;
  41462. procedure TINT_IFS1.setFSCMIF; inline;
  41463. begin
  41464. pTDefRegMap(@Self)^.&set := $00004000;
  41465. end;
  41466. procedure TINT_IFS1.clearFSCMIF; inline;
  41467. begin
  41468. pTDefRegMap(@Self)^.clr := $00004000;
  41469. end;
  41470. procedure TINT_IFS1.setFSCMIF(thebits : TBits_1); inline;
  41471. begin
  41472. if thebits = 0 then
  41473. pTDefRegMap(@Self)^.clr := $00004000
  41474. else
  41475. pTDefRegMap(@Self)^.&set := $00004000;
  41476. end;
  41477. function TINT_IFS1.getFSCMIF : TBits_1; inline;
  41478. begin
  41479. getFSCMIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41480. end;
  41481. procedure TINT_IFS1.setRTCCIF; inline;
  41482. begin
  41483. pTDefRegMap(@Self)^.&set := $00008000;
  41484. end;
  41485. procedure TINT_IFS1.clearRTCCIF; inline;
  41486. begin
  41487. pTDefRegMap(@Self)^.clr := $00008000;
  41488. end;
  41489. procedure TINT_IFS1.setRTCCIF(thebits : TBits_1); inline;
  41490. begin
  41491. if thebits = 0 then
  41492. pTDefRegMap(@Self)^.clr := $00008000
  41493. else
  41494. pTDefRegMap(@Self)^.&set := $00008000;
  41495. end;
  41496. function TINT_IFS1.getRTCCIF : TBits_1; inline;
  41497. begin
  41498. getRTCCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41499. end;
  41500. procedure TINT_IFS1.setDMA0IF; inline;
  41501. begin
  41502. pTDefRegMap(@Self)^.&set := $00010000;
  41503. end;
  41504. procedure TINT_IFS1.clearDMA0IF; inline;
  41505. begin
  41506. pTDefRegMap(@Self)^.clr := $00010000;
  41507. end;
  41508. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  41509. begin
  41510. if thebits = 0 then
  41511. pTDefRegMap(@Self)^.clr := $00010000
  41512. else
  41513. pTDefRegMap(@Self)^.&set := $00010000;
  41514. end;
  41515. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  41516. begin
  41517. getDMA0IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  41518. end;
  41519. procedure TINT_IFS1.setDMA1IF; inline;
  41520. begin
  41521. pTDefRegMap(@Self)^.&set := $00020000;
  41522. end;
  41523. procedure TINT_IFS1.clearDMA1IF; inline;
  41524. begin
  41525. pTDefRegMap(@Self)^.clr := $00020000;
  41526. end;
  41527. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  41528. begin
  41529. if thebits = 0 then
  41530. pTDefRegMap(@Self)^.clr := $00020000
  41531. else
  41532. pTDefRegMap(@Self)^.&set := $00020000;
  41533. end;
  41534. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  41535. begin
  41536. getDMA1IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  41537. end;
  41538. procedure TINT_IFS1.setDMA2IF; inline;
  41539. begin
  41540. pTDefRegMap(@Self)^.&set := $00040000;
  41541. end;
  41542. procedure TINT_IFS1.clearDMA2IF; inline;
  41543. begin
  41544. pTDefRegMap(@Self)^.clr := $00040000;
  41545. end;
  41546. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  41547. begin
  41548. if thebits = 0 then
  41549. pTDefRegMap(@Self)^.clr := $00040000
  41550. else
  41551. pTDefRegMap(@Self)^.&set := $00040000;
  41552. end;
  41553. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  41554. begin
  41555. getDMA2IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  41556. end;
  41557. procedure TINT_IFS1.setDMA3IF; inline;
  41558. begin
  41559. pTDefRegMap(@Self)^.&set := $00080000;
  41560. end;
  41561. procedure TINT_IFS1.clearDMA3IF; inline;
  41562. begin
  41563. pTDefRegMap(@Self)^.clr := $00080000;
  41564. end;
  41565. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  41566. begin
  41567. if thebits = 0 then
  41568. pTDefRegMap(@Self)^.clr := $00080000
  41569. else
  41570. pTDefRegMap(@Self)^.&set := $00080000;
  41571. end;
  41572. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  41573. begin
  41574. getDMA3IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  41575. end;
  41576. procedure TINT_IFS1.setDMA4IF; inline;
  41577. begin
  41578. pTDefRegMap(@Self)^.&set := $00100000;
  41579. end;
  41580. procedure TINT_IFS1.clearDMA4IF; inline;
  41581. begin
  41582. pTDefRegMap(@Self)^.clr := $00100000;
  41583. end;
  41584. procedure TINT_IFS1.setDMA4IF(thebits : TBits_1); inline;
  41585. begin
  41586. if thebits = 0 then
  41587. pTDefRegMap(@Self)^.clr := $00100000
  41588. else
  41589. pTDefRegMap(@Self)^.&set := $00100000;
  41590. end;
  41591. function TINT_IFS1.getDMA4IF : TBits_1; inline;
  41592. begin
  41593. getDMA4IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  41594. end;
  41595. procedure TINT_IFS1.setDMA5IF; inline;
  41596. begin
  41597. pTDefRegMap(@Self)^.&set := $00200000;
  41598. end;
  41599. procedure TINT_IFS1.clearDMA5IF; inline;
  41600. begin
  41601. pTDefRegMap(@Self)^.clr := $00200000;
  41602. end;
  41603. procedure TINT_IFS1.setDMA5IF(thebits : TBits_1); inline;
  41604. begin
  41605. if thebits = 0 then
  41606. pTDefRegMap(@Self)^.clr := $00200000
  41607. else
  41608. pTDefRegMap(@Self)^.&set := $00200000;
  41609. end;
  41610. function TINT_IFS1.getDMA5IF : TBits_1; inline;
  41611. begin
  41612. getDMA5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  41613. end;
  41614. procedure TINT_IFS1.setDMA6IF; inline;
  41615. begin
  41616. pTDefRegMap(@Self)^.&set := $00400000;
  41617. end;
  41618. procedure TINT_IFS1.clearDMA6IF; inline;
  41619. begin
  41620. pTDefRegMap(@Self)^.clr := $00400000;
  41621. end;
  41622. procedure TINT_IFS1.setDMA6IF(thebits : TBits_1); inline;
  41623. begin
  41624. if thebits = 0 then
  41625. pTDefRegMap(@Self)^.clr := $00400000
  41626. else
  41627. pTDefRegMap(@Self)^.&set := $00400000;
  41628. end;
  41629. function TINT_IFS1.getDMA6IF : TBits_1; inline;
  41630. begin
  41631. getDMA6IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  41632. end;
  41633. procedure TINT_IFS1.setDMA7IF; inline;
  41634. begin
  41635. pTDefRegMap(@Self)^.&set := $00800000;
  41636. end;
  41637. procedure TINT_IFS1.clearDMA7IF; inline;
  41638. begin
  41639. pTDefRegMap(@Self)^.clr := $00800000;
  41640. end;
  41641. procedure TINT_IFS1.setDMA7IF(thebits : TBits_1); inline;
  41642. begin
  41643. if thebits = 0 then
  41644. pTDefRegMap(@Self)^.clr := $00800000
  41645. else
  41646. pTDefRegMap(@Self)^.&set := $00800000;
  41647. end;
  41648. function TINT_IFS1.getDMA7IF : TBits_1; inline;
  41649. begin
  41650. getDMA7IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  41651. end;
  41652. procedure TINT_IFS1.setFCEIF; inline;
  41653. begin
  41654. pTDefRegMap(@Self)^.&set := $01000000;
  41655. end;
  41656. procedure TINT_IFS1.clearFCEIF; inline;
  41657. begin
  41658. pTDefRegMap(@Self)^.clr := $01000000;
  41659. end;
  41660. procedure TINT_IFS1.setFCEIF(thebits : TBits_1); inline;
  41661. begin
  41662. if thebits = 0 then
  41663. pTDefRegMap(@Self)^.clr := $01000000
  41664. else
  41665. pTDefRegMap(@Self)^.&set := $01000000;
  41666. end;
  41667. function TINT_IFS1.getFCEIF : TBits_1; inline;
  41668. begin
  41669. getFCEIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  41670. end;
  41671. procedure TINT_IFS1.setUSBIF; inline;
  41672. begin
  41673. pTDefRegMap(@Self)^.&set := $02000000;
  41674. end;
  41675. procedure TINT_IFS1.clearUSBIF; inline;
  41676. begin
  41677. pTDefRegMap(@Self)^.clr := $02000000;
  41678. end;
  41679. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  41680. begin
  41681. if thebits = 0 then
  41682. pTDefRegMap(@Self)^.clr := $02000000
  41683. else
  41684. pTDefRegMap(@Self)^.&set := $02000000;
  41685. end;
  41686. function TINT_IFS1.getUSBIF : TBits_1; inline;
  41687. begin
  41688. getUSBIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  41689. end;
  41690. procedure TINT_IFS1.setETHIF; inline;
  41691. begin
  41692. pTDefRegMap(@Self)^.&set := $10000000;
  41693. end;
  41694. procedure TINT_IFS1.clearETHIF; inline;
  41695. begin
  41696. pTDefRegMap(@Self)^.clr := $10000000;
  41697. end;
  41698. procedure TINT_IFS1.setETHIF(thebits : TBits_1); inline;
  41699. begin
  41700. if thebits = 0 then
  41701. pTDefRegMap(@Self)^.clr := $10000000
  41702. else
  41703. pTDefRegMap(@Self)^.&set := $10000000;
  41704. end;
  41705. function TINT_IFS1.getETHIF : TBits_1; inline;
  41706. begin
  41707. getETHIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41708. end;
  41709. procedure TINT_IFS1.setIC1EIF; inline;
  41710. begin
  41711. pTDefRegMap(@Self)^.&set := $20000000;
  41712. end;
  41713. procedure TINT_IFS1.clearIC1EIF; inline;
  41714. begin
  41715. pTDefRegMap(@Self)^.clr := $20000000;
  41716. end;
  41717. procedure TINT_IFS1.setIC1EIF(thebits : TBits_1); inline;
  41718. begin
  41719. if thebits = 0 then
  41720. pTDefRegMap(@Self)^.clr := $20000000
  41721. else
  41722. pTDefRegMap(@Self)^.&set := $20000000;
  41723. end;
  41724. function TINT_IFS1.getIC1EIF : TBits_1; inline;
  41725. begin
  41726. getIC1EIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  41727. end;
  41728. procedure TINT_IFS1.setIC2EIF; inline;
  41729. begin
  41730. pTDefRegMap(@Self)^.&set := $40000000;
  41731. end;
  41732. procedure TINT_IFS1.clearIC2EIF; inline;
  41733. begin
  41734. pTDefRegMap(@Self)^.clr := $40000000;
  41735. end;
  41736. procedure TINT_IFS1.setIC2EIF(thebits : TBits_1); inline;
  41737. begin
  41738. if thebits = 0 then
  41739. pTDefRegMap(@Self)^.clr := $40000000
  41740. else
  41741. pTDefRegMap(@Self)^.&set := $40000000;
  41742. end;
  41743. function TINT_IFS1.getIC2EIF : TBits_1; inline;
  41744. begin
  41745. getIC2EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  41746. end;
  41747. procedure TINT_IFS1.setIC3EIF; inline;
  41748. begin
  41749. pTDefRegMap(@Self)^.&set := $80000000;
  41750. end;
  41751. procedure TINT_IFS1.clearIC3EIF; inline;
  41752. begin
  41753. pTDefRegMap(@Self)^.clr := $80000000;
  41754. end;
  41755. procedure TINT_IFS1.setIC3EIF(thebits : TBits_1); inline;
  41756. begin
  41757. if thebits = 0 then
  41758. pTDefRegMap(@Self)^.clr := $80000000
  41759. else
  41760. pTDefRegMap(@Self)^.&set := $80000000;
  41761. end;
  41762. function TINT_IFS1.getIC3EIF : TBits_1; inline;
  41763. begin
  41764. getIC3EIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  41765. end;
  41766. procedure TINT_IFS1.setU2AEIF; inline;
  41767. begin
  41768. pTDefRegMap(@Self)^.&set := $00000020;
  41769. end;
  41770. procedure TINT_IFS1.clearU2AEIF; inline;
  41771. begin
  41772. pTDefRegMap(@Self)^.clr := $00000020;
  41773. end;
  41774. procedure TINT_IFS1.setU2AEIF(thebits : TBits_1); inline;
  41775. begin
  41776. if thebits = 0 then
  41777. pTDefRegMap(@Self)^.clr := $00000020
  41778. else
  41779. pTDefRegMap(@Self)^.&set := $00000020;
  41780. end;
  41781. function TINT_IFS1.getU2AEIF : TBits_1; inline;
  41782. begin
  41783. getU2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41784. end;
  41785. procedure TINT_IFS1.setU2ARXIF; inline;
  41786. begin
  41787. pTDefRegMap(@Self)^.&set := $00000040;
  41788. end;
  41789. procedure TINT_IFS1.clearU2ARXIF; inline;
  41790. begin
  41791. pTDefRegMap(@Self)^.clr := $00000040;
  41792. end;
  41793. procedure TINT_IFS1.setU2ARXIF(thebits : TBits_1); inline;
  41794. begin
  41795. if thebits = 0 then
  41796. pTDefRegMap(@Self)^.clr := $00000040
  41797. else
  41798. pTDefRegMap(@Self)^.&set := $00000040;
  41799. end;
  41800. function TINT_IFS1.getU2ARXIF : TBits_1; inline;
  41801. begin
  41802. getU2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41803. end;
  41804. procedure TINT_IFS1.setU2ATXIF; inline;
  41805. begin
  41806. pTDefRegMap(@Self)^.&set := $00000080;
  41807. end;
  41808. procedure TINT_IFS1.clearU2ATXIF; inline;
  41809. begin
  41810. pTDefRegMap(@Self)^.clr := $00000080;
  41811. end;
  41812. procedure TINT_IFS1.setU2ATXIF(thebits : TBits_1); inline;
  41813. begin
  41814. if thebits = 0 then
  41815. pTDefRegMap(@Self)^.clr := $00000080
  41816. else
  41817. pTDefRegMap(@Self)^.&set := $00000080;
  41818. end;
  41819. function TINT_IFS1.getU2ATXIF : TBits_1; inline;
  41820. begin
  41821. getU2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41822. end;
  41823. procedure TINT_IFS1.setU3AEIF; inline;
  41824. begin
  41825. pTDefRegMap(@Self)^.&set := $00000100;
  41826. end;
  41827. procedure TINT_IFS1.clearU3AEIF; inline;
  41828. begin
  41829. pTDefRegMap(@Self)^.clr := $00000100;
  41830. end;
  41831. procedure TINT_IFS1.setU3AEIF(thebits : TBits_1); inline;
  41832. begin
  41833. if thebits = 0 then
  41834. pTDefRegMap(@Self)^.clr := $00000100
  41835. else
  41836. pTDefRegMap(@Self)^.&set := $00000100;
  41837. end;
  41838. function TINT_IFS1.getU3AEIF : TBits_1; inline;
  41839. begin
  41840. getU3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41841. end;
  41842. procedure TINT_IFS1.setU3ARXIF; inline;
  41843. begin
  41844. pTDefRegMap(@Self)^.&set := $00000200;
  41845. end;
  41846. procedure TINT_IFS1.clearU3ARXIF; inline;
  41847. begin
  41848. pTDefRegMap(@Self)^.clr := $00000200;
  41849. end;
  41850. procedure TINT_IFS1.setU3ARXIF(thebits : TBits_1); inline;
  41851. begin
  41852. if thebits = 0 then
  41853. pTDefRegMap(@Self)^.clr := $00000200
  41854. else
  41855. pTDefRegMap(@Self)^.&set := $00000200;
  41856. end;
  41857. function TINT_IFS1.getU3ARXIF : TBits_1; inline;
  41858. begin
  41859. getU3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41860. end;
  41861. procedure TINT_IFS1.setU3ATXIF; inline;
  41862. begin
  41863. pTDefRegMap(@Self)^.&set := $00000400;
  41864. end;
  41865. procedure TINT_IFS1.clearU3ATXIF; inline;
  41866. begin
  41867. pTDefRegMap(@Self)^.clr := $00000400;
  41868. end;
  41869. procedure TINT_IFS1.setU3ATXIF(thebits : TBits_1); inline;
  41870. begin
  41871. if thebits = 0 then
  41872. pTDefRegMap(@Self)^.clr := $00000400
  41873. else
  41874. pTDefRegMap(@Self)^.&set := $00000400;
  41875. end;
  41876. function TINT_IFS1.getU3ATXIF : TBits_1; inline;
  41877. begin
  41878. getU3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41879. end;
  41880. procedure TINT_IFS1.setSPI2EIF; inline;
  41881. begin
  41882. pTDefRegMap(@Self)^.&set := $00000020;
  41883. end;
  41884. procedure TINT_IFS1.clearSPI2EIF; inline;
  41885. begin
  41886. pTDefRegMap(@Self)^.clr := $00000020;
  41887. end;
  41888. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  41889. begin
  41890. if thebits = 0 then
  41891. pTDefRegMap(@Self)^.clr := $00000020
  41892. else
  41893. pTDefRegMap(@Self)^.&set := $00000020;
  41894. end;
  41895. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  41896. begin
  41897. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41898. end;
  41899. procedure TINT_IFS1.setSPI2RXIF; inline;
  41900. begin
  41901. pTDefRegMap(@Self)^.&set := $00000040;
  41902. end;
  41903. procedure TINT_IFS1.clearSPI2RXIF; inline;
  41904. begin
  41905. pTDefRegMap(@Self)^.clr := $00000040;
  41906. end;
  41907. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  41908. begin
  41909. if thebits = 0 then
  41910. pTDefRegMap(@Self)^.clr := $00000040
  41911. else
  41912. pTDefRegMap(@Self)^.&set := $00000040;
  41913. end;
  41914. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  41915. begin
  41916. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41917. end;
  41918. procedure TINT_IFS1.setSPI2TXIF; inline;
  41919. begin
  41920. pTDefRegMap(@Self)^.&set := $00000080;
  41921. end;
  41922. procedure TINT_IFS1.clearSPI2TXIF; inline;
  41923. begin
  41924. pTDefRegMap(@Self)^.clr := $00000080;
  41925. end;
  41926. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  41927. begin
  41928. if thebits = 0 then
  41929. pTDefRegMap(@Self)^.clr := $00000080
  41930. else
  41931. pTDefRegMap(@Self)^.&set := $00000080;
  41932. end;
  41933. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  41934. begin
  41935. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41936. end;
  41937. procedure TINT_IFS1.setSPI4EIF; inline;
  41938. begin
  41939. pTDefRegMap(@Self)^.&set := $00000100;
  41940. end;
  41941. procedure TINT_IFS1.clearSPI4EIF; inline;
  41942. begin
  41943. pTDefRegMap(@Self)^.clr := $00000100;
  41944. end;
  41945. procedure TINT_IFS1.setSPI4EIF(thebits : TBits_1); inline;
  41946. begin
  41947. if thebits = 0 then
  41948. pTDefRegMap(@Self)^.clr := $00000100
  41949. else
  41950. pTDefRegMap(@Self)^.&set := $00000100;
  41951. end;
  41952. function TINT_IFS1.getSPI4EIF : TBits_1; inline;
  41953. begin
  41954. getSPI4EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41955. end;
  41956. procedure TINT_IFS1.setSPI4RXIF; inline;
  41957. begin
  41958. pTDefRegMap(@Self)^.&set := $00000200;
  41959. end;
  41960. procedure TINT_IFS1.clearSPI4RXIF; inline;
  41961. begin
  41962. pTDefRegMap(@Self)^.clr := $00000200;
  41963. end;
  41964. procedure TINT_IFS1.setSPI4RXIF(thebits : TBits_1); inline;
  41965. begin
  41966. if thebits = 0 then
  41967. pTDefRegMap(@Self)^.clr := $00000200
  41968. else
  41969. pTDefRegMap(@Self)^.&set := $00000200;
  41970. end;
  41971. function TINT_IFS1.getSPI4RXIF : TBits_1; inline;
  41972. begin
  41973. getSPI4RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41974. end;
  41975. procedure TINT_IFS1.setSPI4TXIF; inline;
  41976. begin
  41977. pTDefRegMap(@Self)^.&set := $00000400;
  41978. end;
  41979. procedure TINT_IFS1.clearSPI4TXIF; inline;
  41980. begin
  41981. pTDefRegMap(@Self)^.clr := $00000400;
  41982. end;
  41983. procedure TINT_IFS1.setSPI4TXIF(thebits : TBits_1); inline;
  41984. begin
  41985. if thebits = 0 then
  41986. pTDefRegMap(@Self)^.clr := $00000400
  41987. else
  41988. pTDefRegMap(@Self)^.&set := $00000400;
  41989. end;
  41990. function TINT_IFS1.getSPI4TXIF : TBits_1; inline;
  41991. begin
  41992. getSPI4TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41993. end;
  41994. procedure TINT_IFS1.setSPI2AEIF; inline;
  41995. begin
  41996. pTDefRegMap(@Self)^.&set := $00000020;
  41997. end;
  41998. procedure TINT_IFS1.clearSPI2AEIF; inline;
  41999. begin
  42000. pTDefRegMap(@Self)^.clr := $00000020;
  42001. end;
  42002. procedure TINT_IFS1.setSPI2AEIF(thebits : TBits_1); inline;
  42003. begin
  42004. if thebits = 0 then
  42005. pTDefRegMap(@Self)^.clr := $00000020
  42006. else
  42007. pTDefRegMap(@Self)^.&set := $00000020;
  42008. end;
  42009. function TINT_IFS1.getSPI2AEIF : TBits_1; inline;
  42010. begin
  42011. getSPI2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42012. end;
  42013. procedure TINT_IFS1.setSPI2ARXIF; inline;
  42014. begin
  42015. pTDefRegMap(@Self)^.&set := $00000040;
  42016. end;
  42017. procedure TINT_IFS1.clearSPI2ARXIF; inline;
  42018. begin
  42019. pTDefRegMap(@Self)^.clr := $00000040;
  42020. end;
  42021. procedure TINT_IFS1.setSPI2ARXIF(thebits : TBits_1); inline;
  42022. begin
  42023. if thebits = 0 then
  42024. pTDefRegMap(@Self)^.clr := $00000040
  42025. else
  42026. pTDefRegMap(@Self)^.&set := $00000040;
  42027. end;
  42028. function TINT_IFS1.getSPI2ARXIF : TBits_1; inline;
  42029. begin
  42030. getSPI2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42031. end;
  42032. procedure TINT_IFS1.setSPI2ATXIF; inline;
  42033. begin
  42034. pTDefRegMap(@Self)^.&set := $00000080;
  42035. end;
  42036. procedure TINT_IFS1.clearSPI2ATXIF; inline;
  42037. begin
  42038. pTDefRegMap(@Self)^.clr := $00000080;
  42039. end;
  42040. procedure TINT_IFS1.setSPI2ATXIF(thebits : TBits_1); inline;
  42041. begin
  42042. if thebits = 0 then
  42043. pTDefRegMap(@Self)^.clr := $00000080
  42044. else
  42045. pTDefRegMap(@Self)^.&set := $00000080;
  42046. end;
  42047. function TINT_IFS1.getSPI2ATXIF : TBits_1; inline;
  42048. begin
  42049. getSPI2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42050. end;
  42051. procedure TINT_IFS1.setSPI3AEIF; inline;
  42052. begin
  42053. pTDefRegMap(@Self)^.&set := $00000100;
  42054. end;
  42055. procedure TINT_IFS1.clearSPI3AEIF; inline;
  42056. begin
  42057. pTDefRegMap(@Self)^.clr := $00000100;
  42058. end;
  42059. procedure TINT_IFS1.setSPI3AEIF(thebits : TBits_1); inline;
  42060. begin
  42061. if thebits = 0 then
  42062. pTDefRegMap(@Self)^.clr := $00000100
  42063. else
  42064. pTDefRegMap(@Self)^.&set := $00000100;
  42065. end;
  42066. function TINT_IFS1.getSPI3AEIF : TBits_1; inline;
  42067. begin
  42068. getSPI3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42069. end;
  42070. procedure TINT_IFS1.setSPI3ARXIF; inline;
  42071. begin
  42072. pTDefRegMap(@Self)^.&set := $00000200;
  42073. end;
  42074. procedure TINT_IFS1.clearSPI3ARXIF; inline;
  42075. begin
  42076. pTDefRegMap(@Self)^.clr := $00000200;
  42077. end;
  42078. procedure TINT_IFS1.setSPI3ARXIF(thebits : TBits_1); inline;
  42079. begin
  42080. if thebits = 0 then
  42081. pTDefRegMap(@Self)^.clr := $00000200
  42082. else
  42083. pTDefRegMap(@Self)^.&set := $00000200;
  42084. end;
  42085. function TINT_IFS1.getSPI3ARXIF : TBits_1; inline;
  42086. begin
  42087. getSPI3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42088. end;
  42089. procedure TINT_IFS1.setSPI3ATXIF; inline;
  42090. begin
  42091. pTDefRegMap(@Self)^.&set := $00000400;
  42092. end;
  42093. procedure TINT_IFS1.clearSPI3ATXIF; inline;
  42094. begin
  42095. pTDefRegMap(@Self)^.clr := $00000400;
  42096. end;
  42097. procedure TINT_IFS1.setSPI3ATXIF(thebits : TBits_1); inline;
  42098. begin
  42099. if thebits = 0 then
  42100. pTDefRegMap(@Self)^.clr := $00000400
  42101. else
  42102. pTDefRegMap(@Self)^.&set := $00000400;
  42103. end;
  42104. function TINT_IFS1.getSPI3ATXIF : TBits_1; inline;
  42105. begin
  42106. getSPI3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42107. end;
  42108. procedure TINT_IFS1.setI2C4BIF; inline;
  42109. begin
  42110. pTDefRegMap(@Self)^.&set := $00000020;
  42111. end;
  42112. procedure TINT_IFS1.clearI2C4BIF; inline;
  42113. begin
  42114. pTDefRegMap(@Self)^.clr := $00000020;
  42115. end;
  42116. procedure TINT_IFS1.setI2C4BIF(thebits : TBits_1); inline;
  42117. begin
  42118. if thebits = 0 then
  42119. pTDefRegMap(@Self)^.clr := $00000020
  42120. else
  42121. pTDefRegMap(@Self)^.&set := $00000020;
  42122. end;
  42123. function TINT_IFS1.getI2C4BIF : TBits_1; inline;
  42124. begin
  42125. getI2C4BIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42126. end;
  42127. procedure TINT_IFS1.setI2C4SIF; inline;
  42128. begin
  42129. pTDefRegMap(@Self)^.&set := $00000040;
  42130. end;
  42131. procedure TINT_IFS1.clearI2C4SIF; inline;
  42132. begin
  42133. pTDefRegMap(@Self)^.clr := $00000040;
  42134. end;
  42135. procedure TINT_IFS1.setI2C4SIF(thebits : TBits_1); inline;
  42136. begin
  42137. if thebits = 0 then
  42138. pTDefRegMap(@Self)^.clr := $00000040
  42139. else
  42140. pTDefRegMap(@Self)^.&set := $00000040;
  42141. end;
  42142. function TINT_IFS1.getI2C4SIF : TBits_1; inline;
  42143. begin
  42144. getI2C4SIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42145. end;
  42146. procedure TINT_IFS1.setI2C4MIF; inline;
  42147. begin
  42148. pTDefRegMap(@Self)^.&set := $00000080;
  42149. end;
  42150. procedure TINT_IFS1.clearI2C4MIF; inline;
  42151. begin
  42152. pTDefRegMap(@Self)^.clr := $00000080;
  42153. end;
  42154. procedure TINT_IFS1.setI2C4MIF(thebits : TBits_1); inline;
  42155. begin
  42156. if thebits = 0 then
  42157. pTDefRegMap(@Self)^.clr := $00000080
  42158. else
  42159. pTDefRegMap(@Self)^.&set := $00000080;
  42160. end;
  42161. function TINT_IFS1.getI2C4MIF : TBits_1; inline;
  42162. begin
  42163. getI2C4MIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42164. end;
  42165. procedure TINT_IFS1.setI2C5BIF; inline;
  42166. begin
  42167. pTDefRegMap(@Self)^.&set := $00000100;
  42168. end;
  42169. procedure TINT_IFS1.clearI2C5BIF; inline;
  42170. begin
  42171. pTDefRegMap(@Self)^.clr := $00000100;
  42172. end;
  42173. procedure TINT_IFS1.setI2C5BIF(thebits : TBits_1); inline;
  42174. begin
  42175. if thebits = 0 then
  42176. pTDefRegMap(@Self)^.clr := $00000100
  42177. else
  42178. pTDefRegMap(@Self)^.&set := $00000100;
  42179. end;
  42180. function TINT_IFS1.getI2C5BIF : TBits_1; inline;
  42181. begin
  42182. getI2C5BIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42183. end;
  42184. procedure TINT_IFS1.setI2C5SIF; inline;
  42185. begin
  42186. pTDefRegMap(@Self)^.&set := $00000200;
  42187. end;
  42188. procedure TINT_IFS1.clearI2C5SIF; inline;
  42189. begin
  42190. pTDefRegMap(@Self)^.clr := $00000200;
  42191. end;
  42192. procedure TINT_IFS1.setI2C5SIF(thebits : TBits_1); inline;
  42193. begin
  42194. if thebits = 0 then
  42195. pTDefRegMap(@Self)^.clr := $00000200
  42196. else
  42197. pTDefRegMap(@Self)^.&set := $00000200;
  42198. end;
  42199. function TINT_IFS1.getI2C5SIF : TBits_1; inline;
  42200. begin
  42201. getI2C5SIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42202. end;
  42203. procedure TINT_IFS1.setI2C5MIF; inline;
  42204. begin
  42205. pTDefRegMap(@Self)^.&set := $00000400;
  42206. end;
  42207. procedure TINT_IFS1.clearI2C5MIF; inline;
  42208. begin
  42209. pTDefRegMap(@Self)^.clr := $00000400;
  42210. end;
  42211. procedure TINT_IFS1.setI2C5MIF(thebits : TBits_1); inline;
  42212. begin
  42213. if thebits = 0 then
  42214. pTDefRegMap(@Self)^.clr := $00000400
  42215. else
  42216. pTDefRegMap(@Self)^.&set := $00000400;
  42217. end;
  42218. function TINT_IFS1.getI2C5MIF : TBits_1; inline;
  42219. begin
  42220. getI2C5MIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42221. end;
  42222. procedure TINT_IFS1.setI2C2ABIF; inline;
  42223. begin
  42224. pTDefRegMap(@Self)^.&set := $00000020;
  42225. end;
  42226. procedure TINT_IFS1.clearI2C2ABIF; inline;
  42227. begin
  42228. pTDefRegMap(@Self)^.clr := $00000020;
  42229. end;
  42230. procedure TINT_IFS1.setI2C2ABIF(thebits : TBits_1); inline;
  42231. begin
  42232. if thebits = 0 then
  42233. pTDefRegMap(@Self)^.clr := $00000020
  42234. else
  42235. pTDefRegMap(@Self)^.&set := $00000020;
  42236. end;
  42237. function TINT_IFS1.getI2C2ABIF : TBits_1; inline;
  42238. begin
  42239. getI2C2ABIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42240. end;
  42241. procedure TINT_IFS1.setI2C2ASIF; inline;
  42242. begin
  42243. pTDefRegMap(@Self)^.&set := $00000040;
  42244. end;
  42245. procedure TINT_IFS1.clearI2C2ASIF; inline;
  42246. begin
  42247. pTDefRegMap(@Self)^.clr := $00000040;
  42248. end;
  42249. procedure TINT_IFS1.setI2C2ASIF(thebits : TBits_1); inline;
  42250. begin
  42251. if thebits = 0 then
  42252. pTDefRegMap(@Self)^.clr := $00000040
  42253. else
  42254. pTDefRegMap(@Self)^.&set := $00000040;
  42255. end;
  42256. function TINT_IFS1.getI2C2ASIF : TBits_1; inline;
  42257. begin
  42258. getI2C2ASIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42259. end;
  42260. procedure TINT_IFS1.setI2C2AMIF; inline;
  42261. begin
  42262. pTDefRegMap(@Self)^.&set := $00000080;
  42263. end;
  42264. procedure TINT_IFS1.clearI2C2AMIF; inline;
  42265. begin
  42266. pTDefRegMap(@Self)^.clr := $00000080;
  42267. end;
  42268. procedure TINT_IFS1.setI2C2AMIF(thebits : TBits_1); inline;
  42269. begin
  42270. if thebits = 0 then
  42271. pTDefRegMap(@Self)^.clr := $00000080
  42272. else
  42273. pTDefRegMap(@Self)^.&set := $00000080;
  42274. end;
  42275. function TINT_IFS1.getI2C2AMIF : TBits_1; inline;
  42276. begin
  42277. getI2C2AMIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42278. end;
  42279. procedure TINT_IFS1.setI2C3ABIF; inline;
  42280. begin
  42281. pTDefRegMap(@Self)^.&set := $00000100;
  42282. end;
  42283. procedure TINT_IFS1.clearI2C3ABIF; inline;
  42284. begin
  42285. pTDefRegMap(@Self)^.clr := $00000100;
  42286. end;
  42287. procedure TINT_IFS1.setI2C3ABIF(thebits : TBits_1); inline;
  42288. begin
  42289. if thebits = 0 then
  42290. pTDefRegMap(@Self)^.clr := $00000100
  42291. else
  42292. pTDefRegMap(@Self)^.&set := $00000100;
  42293. end;
  42294. function TINT_IFS1.getI2C3ABIF : TBits_1; inline;
  42295. begin
  42296. getI2C3ABIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42297. end;
  42298. procedure TINT_IFS1.setI2C3ASIF; inline;
  42299. begin
  42300. pTDefRegMap(@Self)^.&set := $00000200;
  42301. end;
  42302. procedure TINT_IFS1.clearI2C3ASIF; inline;
  42303. begin
  42304. pTDefRegMap(@Self)^.clr := $00000200;
  42305. end;
  42306. procedure TINT_IFS1.setI2C3ASIF(thebits : TBits_1); inline;
  42307. begin
  42308. if thebits = 0 then
  42309. pTDefRegMap(@Self)^.clr := $00000200
  42310. else
  42311. pTDefRegMap(@Self)^.&set := $00000200;
  42312. end;
  42313. function TINT_IFS1.getI2C3ASIF : TBits_1; inline;
  42314. begin
  42315. getI2C3ASIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42316. end;
  42317. procedure TINT_IFS1.setI2C3AMIF; inline;
  42318. begin
  42319. pTDefRegMap(@Self)^.&set := $00000400;
  42320. end;
  42321. procedure TINT_IFS1.clearI2C3AMIF; inline;
  42322. begin
  42323. pTDefRegMap(@Self)^.clr := $00000400;
  42324. end;
  42325. procedure TINT_IFS1.setI2C3AMIF(thebits : TBits_1); inline;
  42326. begin
  42327. if thebits = 0 then
  42328. pTDefRegMap(@Self)^.clr := $00000400
  42329. else
  42330. pTDefRegMap(@Self)^.&set := $00000400;
  42331. end;
  42332. function TINT_IFS1.getI2C3AMIF : TBits_1; inline;
  42333. begin
  42334. getI2C3AMIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42335. end;
  42336. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  42337. begin
  42338. pTDefRegMap(@Self)^.val := thebits;
  42339. end;
  42340. function TINT_IFS1.getw : TBits_32; inline;
  42341. begin
  42342. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42343. end;
  42344. procedure TINT_IFS2.setIC4EIF; inline;
  42345. begin
  42346. pTDefRegMap(@Self)^.&set := $00000001;
  42347. end;
  42348. procedure TINT_IFS2.clearIC4EIF; inline;
  42349. begin
  42350. pTDefRegMap(@Self)^.clr := $00000001;
  42351. end;
  42352. procedure TINT_IFS2.setIC4EIF(thebits : TBits_1); inline;
  42353. begin
  42354. if thebits = 0 then
  42355. pTDefRegMap(@Self)^.clr := $00000001
  42356. else
  42357. pTDefRegMap(@Self)^.&set := $00000001;
  42358. end;
  42359. function TINT_IFS2.getIC4EIF : TBits_1; inline;
  42360. begin
  42361. getIC4EIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42362. end;
  42363. procedure TINT_IFS2.setIC5EIF; inline;
  42364. begin
  42365. pTDefRegMap(@Self)^.&set := $00000002;
  42366. end;
  42367. procedure TINT_IFS2.clearIC5EIF; inline;
  42368. begin
  42369. pTDefRegMap(@Self)^.clr := $00000002;
  42370. end;
  42371. procedure TINT_IFS2.setIC5EIF(thebits : TBits_1); inline;
  42372. begin
  42373. if thebits = 0 then
  42374. pTDefRegMap(@Self)^.clr := $00000002
  42375. else
  42376. pTDefRegMap(@Self)^.&set := $00000002;
  42377. end;
  42378. function TINT_IFS2.getIC5EIF : TBits_1; inline;
  42379. begin
  42380. getIC5EIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42381. end;
  42382. procedure TINT_IFS2.setPMPEIF; inline;
  42383. begin
  42384. pTDefRegMap(@Self)^.&set := $00000004;
  42385. end;
  42386. procedure TINT_IFS2.clearPMPEIF; inline;
  42387. begin
  42388. pTDefRegMap(@Self)^.clr := $00000004;
  42389. end;
  42390. procedure TINT_IFS2.setPMPEIF(thebits : TBits_1); inline;
  42391. begin
  42392. if thebits = 0 then
  42393. pTDefRegMap(@Self)^.clr := $00000004
  42394. else
  42395. pTDefRegMap(@Self)^.&set := $00000004;
  42396. end;
  42397. function TINT_IFS2.getPMPEIF : TBits_1; inline;
  42398. begin
  42399. getPMPEIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42400. end;
  42401. procedure TINT_IFS2.setU1BEIF; inline;
  42402. begin
  42403. pTDefRegMap(@Self)^.&set := $00000008;
  42404. end;
  42405. procedure TINT_IFS2.clearU1BEIF; inline;
  42406. begin
  42407. pTDefRegMap(@Self)^.clr := $00000008;
  42408. end;
  42409. procedure TINT_IFS2.setU1BEIF(thebits : TBits_1); inline;
  42410. begin
  42411. if thebits = 0 then
  42412. pTDefRegMap(@Self)^.clr := $00000008
  42413. else
  42414. pTDefRegMap(@Self)^.&set := $00000008;
  42415. end;
  42416. function TINT_IFS2.getU1BEIF : TBits_1; inline;
  42417. begin
  42418. getU1BEIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42419. end;
  42420. procedure TINT_IFS2.setU1BRXIF; inline;
  42421. begin
  42422. pTDefRegMap(@Self)^.&set := $00000010;
  42423. end;
  42424. procedure TINT_IFS2.clearU1BRXIF; inline;
  42425. begin
  42426. pTDefRegMap(@Self)^.clr := $00000010;
  42427. end;
  42428. procedure TINT_IFS2.setU1BRXIF(thebits : TBits_1); inline;
  42429. begin
  42430. if thebits = 0 then
  42431. pTDefRegMap(@Self)^.clr := $00000010
  42432. else
  42433. pTDefRegMap(@Self)^.&set := $00000010;
  42434. end;
  42435. function TINT_IFS2.getU1BRXIF : TBits_1; inline;
  42436. begin
  42437. getU1BRXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42438. end;
  42439. procedure TINT_IFS2.setU1BTXIF; inline;
  42440. begin
  42441. pTDefRegMap(@Self)^.&set := $00000020;
  42442. end;
  42443. procedure TINT_IFS2.clearU1BTXIF; inline;
  42444. begin
  42445. pTDefRegMap(@Self)^.clr := $00000020;
  42446. end;
  42447. procedure TINT_IFS2.setU1BTXIF(thebits : TBits_1); inline;
  42448. begin
  42449. if thebits = 0 then
  42450. pTDefRegMap(@Self)^.clr := $00000020
  42451. else
  42452. pTDefRegMap(@Self)^.&set := $00000020;
  42453. end;
  42454. function TINT_IFS2.getU1BTXIF : TBits_1; inline;
  42455. begin
  42456. getU1BTXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42457. end;
  42458. procedure TINT_IFS2.setU2BEIF; inline;
  42459. begin
  42460. pTDefRegMap(@Self)^.&set := $00000040;
  42461. end;
  42462. procedure TINT_IFS2.clearU2BEIF; inline;
  42463. begin
  42464. pTDefRegMap(@Self)^.clr := $00000040;
  42465. end;
  42466. procedure TINT_IFS2.setU2BEIF(thebits : TBits_1); inline;
  42467. begin
  42468. if thebits = 0 then
  42469. pTDefRegMap(@Self)^.clr := $00000040
  42470. else
  42471. pTDefRegMap(@Self)^.&set := $00000040;
  42472. end;
  42473. function TINT_IFS2.getU2BEIF : TBits_1; inline;
  42474. begin
  42475. getU2BEIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42476. end;
  42477. procedure TINT_IFS2.setU2BRXIF; inline;
  42478. begin
  42479. pTDefRegMap(@Self)^.&set := $00000080;
  42480. end;
  42481. procedure TINT_IFS2.clearU2BRXIF; inline;
  42482. begin
  42483. pTDefRegMap(@Self)^.clr := $00000080;
  42484. end;
  42485. procedure TINT_IFS2.setU2BRXIF(thebits : TBits_1); inline;
  42486. begin
  42487. if thebits = 0 then
  42488. pTDefRegMap(@Self)^.clr := $00000080
  42489. else
  42490. pTDefRegMap(@Self)^.&set := $00000080;
  42491. end;
  42492. function TINT_IFS2.getU2BRXIF : TBits_1; inline;
  42493. begin
  42494. getU2BRXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42495. end;
  42496. procedure TINT_IFS2.setU2BTXIF; inline;
  42497. begin
  42498. pTDefRegMap(@Self)^.&set := $00000100;
  42499. end;
  42500. procedure TINT_IFS2.clearU2BTXIF; inline;
  42501. begin
  42502. pTDefRegMap(@Self)^.clr := $00000100;
  42503. end;
  42504. procedure TINT_IFS2.setU2BTXIF(thebits : TBits_1); inline;
  42505. begin
  42506. if thebits = 0 then
  42507. pTDefRegMap(@Self)^.clr := $00000100
  42508. else
  42509. pTDefRegMap(@Self)^.&set := $00000100;
  42510. end;
  42511. function TINT_IFS2.getU2BTXIF : TBits_1; inline;
  42512. begin
  42513. getU2BTXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42514. end;
  42515. procedure TINT_IFS2.setU3BEIF; inline;
  42516. begin
  42517. pTDefRegMap(@Self)^.&set := $00000200;
  42518. end;
  42519. procedure TINT_IFS2.clearU3BEIF; inline;
  42520. begin
  42521. pTDefRegMap(@Self)^.clr := $00000200;
  42522. end;
  42523. procedure TINT_IFS2.setU3BEIF(thebits : TBits_1); inline;
  42524. begin
  42525. if thebits = 0 then
  42526. pTDefRegMap(@Self)^.clr := $00000200
  42527. else
  42528. pTDefRegMap(@Self)^.&set := $00000200;
  42529. end;
  42530. function TINT_IFS2.getU3BEIF : TBits_1; inline;
  42531. begin
  42532. getU3BEIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42533. end;
  42534. procedure TINT_IFS2.setU3BRXIF; inline;
  42535. begin
  42536. pTDefRegMap(@Self)^.&set := $00000400;
  42537. end;
  42538. procedure TINT_IFS2.clearU3BRXIF; inline;
  42539. begin
  42540. pTDefRegMap(@Self)^.clr := $00000400;
  42541. end;
  42542. procedure TINT_IFS2.setU3BRXIF(thebits : TBits_1); inline;
  42543. begin
  42544. if thebits = 0 then
  42545. pTDefRegMap(@Self)^.clr := $00000400
  42546. else
  42547. pTDefRegMap(@Self)^.&set := $00000400;
  42548. end;
  42549. function TINT_IFS2.getU3BRXIF : TBits_1; inline;
  42550. begin
  42551. getU3BRXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42552. end;
  42553. procedure TINT_IFS2.setU3BTXIF; inline;
  42554. begin
  42555. pTDefRegMap(@Self)^.&set := $00000800;
  42556. end;
  42557. procedure TINT_IFS2.clearU3BTXIF; inline;
  42558. begin
  42559. pTDefRegMap(@Self)^.clr := $00000800;
  42560. end;
  42561. procedure TINT_IFS2.setU3BTXIF(thebits : TBits_1); inline;
  42562. begin
  42563. if thebits = 0 then
  42564. pTDefRegMap(@Self)^.clr := $00000800
  42565. else
  42566. pTDefRegMap(@Self)^.&set := $00000800;
  42567. end;
  42568. function TINT_IFS2.getU3BTXIF : TBits_1; inline;
  42569. begin
  42570. getU3BTXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42571. end;
  42572. procedure TINT_IFS2.setU4EIF; inline;
  42573. begin
  42574. pTDefRegMap(@Self)^.&set := $00000008;
  42575. end;
  42576. procedure TINT_IFS2.clearU4EIF; inline;
  42577. begin
  42578. pTDefRegMap(@Self)^.clr := $00000008;
  42579. end;
  42580. procedure TINT_IFS2.setU4EIF(thebits : TBits_1); inline;
  42581. begin
  42582. if thebits = 0 then
  42583. pTDefRegMap(@Self)^.clr := $00000008
  42584. else
  42585. pTDefRegMap(@Self)^.&set := $00000008;
  42586. end;
  42587. function TINT_IFS2.getU4EIF : TBits_1; inline;
  42588. begin
  42589. getU4EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42590. end;
  42591. procedure TINT_IFS2.setU4RXIF; inline;
  42592. begin
  42593. pTDefRegMap(@Self)^.&set := $00000010;
  42594. end;
  42595. procedure TINT_IFS2.clearU4RXIF; inline;
  42596. begin
  42597. pTDefRegMap(@Self)^.clr := $00000010;
  42598. end;
  42599. procedure TINT_IFS2.setU4RXIF(thebits : TBits_1); inline;
  42600. begin
  42601. if thebits = 0 then
  42602. pTDefRegMap(@Self)^.clr := $00000010
  42603. else
  42604. pTDefRegMap(@Self)^.&set := $00000010;
  42605. end;
  42606. function TINT_IFS2.getU4RXIF : TBits_1; inline;
  42607. begin
  42608. getU4RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42609. end;
  42610. procedure TINT_IFS2.setU4TXIF; inline;
  42611. begin
  42612. pTDefRegMap(@Self)^.&set := $00000020;
  42613. end;
  42614. procedure TINT_IFS2.clearU4TXIF; inline;
  42615. begin
  42616. pTDefRegMap(@Self)^.clr := $00000020;
  42617. end;
  42618. procedure TINT_IFS2.setU4TXIF(thebits : TBits_1); inline;
  42619. begin
  42620. if thebits = 0 then
  42621. pTDefRegMap(@Self)^.clr := $00000020
  42622. else
  42623. pTDefRegMap(@Self)^.&set := $00000020;
  42624. end;
  42625. function TINT_IFS2.getU4TXIF : TBits_1; inline;
  42626. begin
  42627. getU4TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42628. end;
  42629. procedure TINT_IFS2.setU6EIF; inline;
  42630. begin
  42631. pTDefRegMap(@Self)^.&set := $00000040;
  42632. end;
  42633. procedure TINT_IFS2.clearU6EIF; inline;
  42634. begin
  42635. pTDefRegMap(@Self)^.clr := $00000040;
  42636. end;
  42637. procedure TINT_IFS2.setU6EIF(thebits : TBits_1); inline;
  42638. begin
  42639. if thebits = 0 then
  42640. pTDefRegMap(@Self)^.clr := $00000040
  42641. else
  42642. pTDefRegMap(@Self)^.&set := $00000040;
  42643. end;
  42644. function TINT_IFS2.getU6EIF : TBits_1; inline;
  42645. begin
  42646. getU6EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42647. end;
  42648. procedure TINT_IFS2.setU6RXIF; inline;
  42649. begin
  42650. pTDefRegMap(@Self)^.&set := $00000080;
  42651. end;
  42652. procedure TINT_IFS2.clearU6RXIF; inline;
  42653. begin
  42654. pTDefRegMap(@Self)^.clr := $00000080;
  42655. end;
  42656. procedure TINT_IFS2.setU6RXIF(thebits : TBits_1); inline;
  42657. begin
  42658. if thebits = 0 then
  42659. pTDefRegMap(@Self)^.clr := $00000080
  42660. else
  42661. pTDefRegMap(@Self)^.&set := $00000080;
  42662. end;
  42663. function TINT_IFS2.getU6RXIF : TBits_1; inline;
  42664. begin
  42665. getU6RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42666. end;
  42667. procedure TINT_IFS2.setU6TXIF; inline;
  42668. begin
  42669. pTDefRegMap(@Self)^.&set := $00000100;
  42670. end;
  42671. procedure TINT_IFS2.clearU6TXIF; inline;
  42672. begin
  42673. pTDefRegMap(@Self)^.clr := $00000100;
  42674. end;
  42675. procedure TINT_IFS2.setU6TXIF(thebits : TBits_1); inline;
  42676. begin
  42677. if thebits = 0 then
  42678. pTDefRegMap(@Self)^.clr := $00000100
  42679. else
  42680. pTDefRegMap(@Self)^.&set := $00000100;
  42681. end;
  42682. function TINT_IFS2.getU6TXIF : TBits_1; inline;
  42683. begin
  42684. getU6TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42685. end;
  42686. procedure TINT_IFS2.setU5EIF; inline;
  42687. begin
  42688. pTDefRegMap(@Self)^.&set := $00000200;
  42689. end;
  42690. procedure TINT_IFS2.clearU5EIF; inline;
  42691. begin
  42692. pTDefRegMap(@Self)^.clr := $00000200;
  42693. end;
  42694. procedure TINT_IFS2.setU5EIF(thebits : TBits_1); inline;
  42695. begin
  42696. if thebits = 0 then
  42697. pTDefRegMap(@Self)^.clr := $00000200
  42698. else
  42699. pTDefRegMap(@Self)^.&set := $00000200;
  42700. end;
  42701. function TINT_IFS2.getU5EIF : TBits_1; inline;
  42702. begin
  42703. getU5EIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42704. end;
  42705. procedure TINT_IFS2.setU5RXIF; inline;
  42706. begin
  42707. pTDefRegMap(@Self)^.&set := $00000400;
  42708. end;
  42709. procedure TINT_IFS2.clearU5RXIF; inline;
  42710. begin
  42711. pTDefRegMap(@Self)^.clr := $00000400;
  42712. end;
  42713. procedure TINT_IFS2.setU5RXIF(thebits : TBits_1); inline;
  42714. begin
  42715. if thebits = 0 then
  42716. pTDefRegMap(@Self)^.clr := $00000400
  42717. else
  42718. pTDefRegMap(@Self)^.&set := $00000400;
  42719. end;
  42720. function TINT_IFS2.getU5RXIF : TBits_1; inline;
  42721. begin
  42722. getU5RXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42723. end;
  42724. procedure TINT_IFS2.setU5TXIF; inline;
  42725. begin
  42726. pTDefRegMap(@Self)^.&set := $00000800;
  42727. end;
  42728. procedure TINT_IFS2.clearU5TXIF; inline;
  42729. begin
  42730. pTDefRegMap(@Self)^.clr := $00000800;
  42731. end;
  42732. procedure TINT_IFS2.setU5TXIF(thebits : TBits_1); inline;
  42733. begin
  42734. if thebits = 0 then
  42735. pTDefRegMap(@Self)^.clr := $00000800
  42736. else
  42737. pTDefRegMap(@Self)^.&set := $00000800;
  42738. end;
  42739. function TINT_IFS2.getU5TXIF : TBits_1; inline;
  42740. begin
  42741. getU5TXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42742. end;
  42743. procedure TINT_IFS2.setw(thebits : TBits_32); inline;
  42744. begin
  42745. pTDefRegMap(@Self)^.val := thebits;
  42746. end;
  42747. function TINT_IFS2.getw : TBits_32; inline;
  42748. begin
  42749. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42750. end;
  42751. procedure TINT_IEC0.setCTIE; inline;
  42752. begin
  42753. pTDefRegMap(@Self)^.&set := $00000001;
  42754. end;
  42755. procedure TINT_IEC0.clearCTIE; inline;
  42756. begin
  42757. pTDefRegMap(@Self)^.clr := $00000001;
  42758. end;
  42759. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  42760. begin
  42761. if thebits = 0 then
  42762. pTDefRegMap(@Self)^.clr := $00000001
  42763. else
  42764. pTDefRegMap(@Self)^.&set := $00000001;
  42765. end;
  42766. function TINT_IEC0.getCTIE : TBits_1; inline;
  42767. begin
  42768. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42769. end;
  42770. procedure TINT_IEC0.setCS0IE; inline;
  42771. begin
  42772. pTDefRegMap(@Self)^.&set := $00000002;
  42773. end;
  42774. procedure TINT_IEC0.clearCS0IE; inline;
  42775. begin
  42776. pTDefRegMap(@Self)^.clr := $00000002;
  42777. end;
  42778. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  42779. begin
  42780. if thebits = 0 then
  42781. pTDefRegMap(@Self)^.clr := $00000002
  42782. else
  42783. pTDefRegMap(@Self)^.&set := $00000002;
  42784. end;
  42785. function TINT_IEC0.getCS0IE : TBits_1; inline;
  42786. begin
  42787. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42788. end;
  42789. procedure TINT_IEC0.setCS1IE; inline;
  42790. begin
  42791. pTDefRegMap(@Self)^.&set := $00000004;
  42792. end;
  42793. procedure TINT_IEC0.clearCS1IE; inline;
  42794. begin
  42795. pTDefRegMap(@Self)^.clr := $00000004;
  42796. end;
  42797. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  42798. begin
  42799. if thebits = 0 then
  42800. pTDefRegMap(@Self)^.clr := $00000004
  42801. else
  42802. pTDefRegMap(@Self)^.&set := $00000004;
  42803. end;
  42804. function TINT_IEC0.getCS1IE : TBits_1; inline;
  42805. begin
  42806. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42807. end;
  42808. procedure TINT_IEC0.setINT0IE; inline;
  42809. begin
  42810. pTDefRegMap(@Self)^.&set := $00000008;
  42811. end;
  42812. procedure TINT_IEC0.clearINT0IE; inline;
  42813. begin
  42814. pTDefRegMap(@Self)^.clr := $00000008;
  42815. end;
  42816. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  42817. begin
  42818. if thebits = 0 then
  42819. pTDefRegMap(@Self)^.clr := $00000008
  42820. else
  42821. pTDefRegMap(@Self)^.&set := $00000008;
  42822. end;
  42823. function TINT_IEC0.getINT0IE : TBits_1; inline;
  42824. begin
  42825. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42826. end;
  42827. procedure TINT_IEC0.setT1IE; inline;
  42828. begin
  42829. pTDefRegMap(@Self)^.&set := $00000010;
  42830. end;
  42831. procedure TINT_IEC0.clearT1IE; inline;
  42832. begin
  42833. pTDefRegMap(@Self)^.clr := $00000010;
  42834. end;
  42835. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  42836. begin
  42837. if thebits = 0 then
  42838. pTDefRegMap(@Self)^.clr := $00000010
  42839. else
  42840. pTDefRegMap(@Self)^.&set := $00000010;
  42841. end;
  42842. function TINT_IEC0.getT1IE : TBits_1; inline;
  42843. begin
  42844. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42845. end;
  42846. procedure TINT_IEC0.setIC1IE; inline;
  42847. begin
  42848. pTDefRegMap(@Self)^.&set := $00000020;
  42849. end;
  42850. procedure TINT_IEC0.clearIC1IE; inline;
  42851. begin
  42852. pTDefRegMap(@Self)^.clr := $00000020;
  42853. end;
  42854. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  42855. begin
  42856. if thebits = 0 then
  42857. pTDefRegMap(@Self)^.clr := $00000020
  42858. else
  42859. pTDefRegMap(@Self)^.&set := $00000020;
  42860. end;
  42861. function TINT_IEC0.getIC1IE : TBits_1; inline;
  42862. begin
  42863. getIC1IE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42864. end;
  42865. procedure TINT_IEC0.setOC1IE; inline;
  42866. begin
  42867. pTDefRegMap(@Self)^.&set := $00000040;
  42868. end;
  42869. procedure TINT_IEC0.clearOC1IE; inline;
  42870. begin
  42871. pTDefRegMap(@Self)^.clr := $00000040;
  42872. end;
  42873. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  42874. begin
  42875. if thebits = 0 then
  42876. pTDefRegMap(@Self)^.clr := $00000040
  42877. else
  42878. pTDefRegMap(@Self)^.&set := $00000040;
  42879. end;
  42880. function TINT_IEC0.getOC1IE : TBits_1; inline;
  42881. begin
  42882. getOC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42883. end;
  42884. procedure TINT_IEC0.setINT1IE; inline;
  42885. begin
  42886. pTDefRegMap(@Self)^.&set := $00000080;
  42887. end;
  42888. procedure TINT_IEC0.clearINT1IE; inline;
  42889. begin
  42890. pTDefRegMap(@Self)^.clr := $00000080;
  42891. end;
  42892. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  42893. begin
  42894. if thebits = 0 then
  42895. pTDefRegMap(@Self)^.clr := $00000080
  42896. else
  42897. pTDefRegMap(@Self)^.&set := $00000080;
  42898. end;
  42899. function TINT_IEC0.getINT1IE : TBits_1; inline;
  42900. begin
  42901. getINT1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42902. end;
  42903. procedure TINT_IEC0.setT2IE; inline;
  42904. begin
  42905. pTDefRegMap(@Self)^.&set := $00000100;
  42906. end;
  42907. procedure TINT_IEC0.clearT2IE; inline;
  42908. begin
  42909. pTDefRegMap(@Self)^.clr := $00000100;
  42910. end;
  42911. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  42912. begin
  42913. if thebits = 0 then
  42914. pTDefRegMap(@Self)^.clr := $00000100
  42915. else
  42916. pTDefRegMap(@Self)^.&set := $00000100;
  42917. end;
  42918. function TINT_IEC0.getT2IE : TBits_1; inline;
  42919. begin
  42920. getT2IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42921. end;
  42922. procedure TINT_IEC0.setIC2IE; inline;
  42923. begin
  42924. pTDefRegMap(@Self)^.&set := $00000200;
  42925. end;
  42926. procedure TINT_IEC0.clearIC2IE; inline;
  42927. begin
  42928. pTDefRegMap(@Self)^.clr := $00000200;
  42929. end;
  42930. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  42931. begin
  42932. if thebits = 0 then
  42933. pTDefRegMap(@Self)^.clr := $00000200
  42934. else
  42935. pTDefRegMap(@Self)^.&set := $00000200;
  42936. end;
  42937. function TINT_IEC0.getIC2IE : TBits_1; inline;
  42938. begin
  42939. getIC2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42940. end;
  42941. procedure TINT_IEC0.setOC2IE; inline;
  42942. begin
  42943. pTDefRegMap(@Self)^.&set := $00000400;
  42944. end;
  42945. procedure TINT_IEC0.clearOC2IE; inline;
  42946. begin
  42947. pTDefRegMap(@Self)^.clr := $00000400;
  42948. end;
  42949. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  42950. begin
  42951. if thebits = 0 then
  42952. pTDefRegMap(@Self)^.clr := $00000400
  42953. else
  42954. pTDefRegMap(@Self)^.&set := $00000400;
  42955. end;
  42956. function TINT_IEC0.getOC2IE : TBits_1; inline;
  42957. begin
  42958. getOC2IE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42959. end;
  42960. procedure TINT_IEC0.setINT2IE; inline;
  42961. begin
  42962. pTDefRegMap(@Self)^.&set := $00000800;
  42963. end;
  42964. procedure TINT_IEC0.clearINT2IE; inline;
  42965. begin
  42966. pTDefRegMap(@Self)^.clr := $00000800;
  42967. end;
  42968. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  42969. begin
  42970. if thebits = 0 then
  42971. pTDefRegMap(@Self)^.clr := $00000800
  42972. else
  42973. pTDefRegMap(@Self)^.&set := $00000800;
  42974. end;
  42975. function TINT_IEC0.getINT2IE : TBits_1; inline;
  42976. begin
  42977. getINT2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42978. end;
  42979. procedure TINT_IEC0.setT3IE; inline;
  42980. begin
  42981. pTDefRegMap(@Self)^.&set := $00001000;
  42982. end;
  42983. procedure TINT_IEC0.clearT3IE; inline;
  42984. begin
  42985. pTDefRegMap(@Self)^.clr := $00001000;
  42986. end;
  42987. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  42988. begin
  42989. if thebits = 0 then
  42990. pTDefRegMap(@Self)^.clr := $00001000
  42991. else
  42992. pTDefRegMap(@Self)^.&set := $00001000;
  42993. end;
  42994. function TINT_IEC0.getT3IE : TBits_1; inline;
  42995. begin
  42996. getT3IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42997. end;
  42998. procedure TINT_IEC0.setIC3IE; inline;
  42999. begin
  43000. pTDefRegMap(@Self)^.&set := $00002000;
  43001. end;
  43002. procedure TINT_IEC0.clearIC3IE; inline;
  43003. begin
  43004. pTDefRegMap(@Self)^.clr := $00002000;
  43005. end;
  43006. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  43007. begin
  43008. if thebits = 0 then
  43009. pTDefRegMap(@Self)^.clr := $00002000
  43010. else
  43011. pTDefRegMap(@Self)^.&set := $00002000;
  43012. end;
  43013. function TINT_IEC0.getIC3IE : TBits_1; inline;
  43014. begin
  43015. getIC3IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43016. end;
  43017. procedure TINT_IEC0.setOC3IE; inline;
  43018. begin
  43019. pTDefRegMap(@Self)^.&set := $00004000;
  43020. end;
  43021. procedure TINT_IEC0.clearOC3IE; inline;
  43022. begin
  43023. pTDefRegMap(@Self)^.clr := $00004000;
  43024. end;
  43025. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  43026. begin
  43027. if thebits = 0 then
  43028. pTDefRegMap(@Self)^.clr := $00004000
  43029. else
  43030. pTDefRegMap(@Self)^.&set := $00004000;
  43031. end;
  43032. function TINT_IEC0.getOC3IE : TBits_1; inline;
  43033. begin
  43034. getOC3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43035. end;
  43036. procedure TINT_IEC0.setINT3IE; inline;
  43037. begin
  43038. pTDefRegMap(@Self)^.&set := $00008000;
  43039. end;
  43040. procedure TINT_IEC0.clearINT3IE; inline;
  43041. begin
  43042. pTDefRegMap(@Self)^.clr := $00008000;
  43043. end;
  43044. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  43045. begin
  43046. if thebits = 0 then
  43047. pTDefRegMap(@Self)^.clr := $00008000
  43048. else
  43049. pTDefRegMap(@Self)^.&set := $00008000;
  43050. end;
  43051. function TINT_IEC0.getINT3IE : TBits_1; inline;
  43052. begin
  43053. getINT3IE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43054. end;
  43055. procedure TINT_IEC0.setT4IE; inline;
  43056. begin
  43057. pTDefRegMap(@Self)^.&set := $00010000;
  43058. end;
  43059. procedure TINT_IEC0.clearT4IE; inline;
  43060. begin
  43061. pTDefRegMap(@Self)^.clr := $00010000;
  43062. end;
  43063. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  43064. begin
  43065. if thebits = 0 then
  43066. pTDefRegMap(@Self)^.clr := $00010000
  43067. else
  43068. pTDefRegMap(@Self)^.&set := $00010000;
  43069. end;
  43070. function TINT_IEC0.getT4IE : TBits_1; inline;
  43071. begin
  43072. getT4IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  43073. end;
  43074. procedure TINT_IEC0.setIC4IE; inline;
  43075. begin
  43076. pTDefRegMap(@Self)^.&set := $00020000;
  43077. end;
  43078. procedure TINT_IEC0.clearIC4IE; inline;
  43079. begin
  43080. pTDefRegMap(@Self)^.clr := $00020000;
  43081. end;
  43082. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  43083. begin
  43084. if thebits = 0 then
  43085. pTDefRegMap(@Self)^.clr := $00020000
  43086. else
  43087. pTDefRegMap(@Self)^.&set := $00020000;
  43088. end;
  43089. function TINT_IEC0.getIC4IE : TBits_1; inline;
  43090. begin
  43091. getIC4IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  43092. end;
  43093. procedure TINT_IEC0.setOC4IE; inline;
  43094. begin
  43095. pTDefRegMap(@Self)^.&set := $00040000;
  43096. end;
  43097. procedure TINT_IEC0.clearOC4IE; inline;
  43098. begin
  43099. pTDefRegMap(@Self)^.clr := $00040000;
  43100. end;
  43101. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  43102. begin
  43103. if thebits = 0 then
  43104. pTDefRegMap(@Self)^.clr := $00040000
  43105. else
  43106. pTDefRegMap(@Self)^.&set := $00040000;
  43107. end;
  43108. function TINT_IEC0.getOC4IE : TBits_1; inline;
  43109. begin
  43110. getOC4IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  43111. end;
  43112. procedure TINT_IEC0.setINT4IE; inline;
  43113. begin
  43114. pTDefRegMap(@Self)^.&set := $00080000;
  43115. end;
  43116. procedure TINT_IEC0.clearINT4IE; inline;
  43117. begin
  43118. pTDefRegMap(@Self)^.clr := $00080000;
  43119. end;
  43120. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  43121. begin
  43122. if thebits = 0 then
  43123. pTDefRegMap(@Self)^.clr := $00080000
  43124. else
  43125. pTDefRegMap(@Self)^.&set := $00080000;
  43126. end;
  43127. function TINT_IEC0.getINT4IE : TBits_1; inline;
  43128. begin
  43129. getINT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  43130. end;
  43131. procedure TINT_IEC0.setT5IE; inline;
  43132. begin
  43133. pTDefRegMap(@Self)^.&set := $00100000;
  43134. end;
  43135. procedure TINT_IEC0.clearT5IE; inline;
  43136. begin
  43137. pTDefRegMap(@Self)^.clr := $00100000;
  43138. end;
  43139. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  43140. begin
  43141. if thebits = 0 then
  43142. pTDefRegMap(@Self)^.clr := $00100000
  43143. else
  43144. pTDefRegMap(@Self)^.&set := $00100000;
  43145. end;
  43146. function TINT_IEC0.getT5IE : TBits_1; inline;
  43147. begin
  43148. getT5IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  43149. end;
  43150. procedure TINT_IEC0.setIC5IE; inline;
  43151. begin
  43152. pTDefRegMap(@Self)^.&set := $00200000;
  43153. end;
  43154. procedure TINT_IEC0.clearIC5IE; inline;
  43155. begin
  43156. pTDefRegMap(@Self)^.clr := $00200000;
  43157. end;
  43158. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  43159. begin
  43160. if thebits = 0 then
  43161. pTDefRegMap(@Self)^.clr := $00200000
  43162. else
  43163. pTDefRegMap(@Self)^.&set := $00200000;
  43164. end;
  43165. function TINT_IEC0.getIC5IE : TBits_1; inline;
  43166. begin
  43167. getIC5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  43168. end;
  43169. procedure TINT_IEC0.setOC5IE; inline;
  43170. begin
  43171. pTDefRegMap(@Self)^.&set := $00400000;
  43172. end;
  43173. procedure TINT_IEC0.clearOC5IE; inline;
  43174. begin
  43175. pTDefRegMap(@Self)^.clr := $00400000;
  43176. end;
  43177. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  43178. begin
  43179. if thebits = 0 then
  43180. pTDefRegMap(@Self)^.clr := $00400000
  43181. else
  43182. pTDefRegMap(@Self)^.&set := $00400000;
  43183. end;
  43184. function TINT_IEC0.getOC5IE : TBits_1; inline;
  43185. begin
  43186. getOC5IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  43187. end;
  43188. procedure TINT_IEC0.setU1EIE; inline;
  43189. begin
  43190. pTDefRegMap(@Self)^.&set := $04000000;
  43191. end;
  43192. procedure TINT_IEC0.clearU1EIE; inline;
  43193. begin
  43194. pTDefRegMap(@Self)^.clr := $04000000;
  43195. end;
  43196. procedure TINT_IEC0.setU1EIE(thebits : TBits_1); inline;
  43197. begin
  43198. if thebits = 0 then
  43199. pTDefRegMap(@Self)^.clr := $04000000
  43200. else
  43201. pTDefRegMap(@Self)^.&set := $04000000;
  43202. end;
  43203. function TINT_IEC0.getU1EIE : TBits_1; inline;
  43204. begin
  43205. getU1EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43206. end;
  43207. procedure TINT_IEC0.setU1RXIE; inline;
  43208. begin
  43209. pTDefRegMap(@Self)^.&set := $08000000;
  43210. end;
  43211. procedure TINT_IEC0.clearU1RXIE; inline;
  43212. begin
  43213. pTDefRegMap(@Self)^.clr := $08000000;
  43214. end;
  43215. procedure TINT_IEC0.setU1RXIE(thebits : TBits_1); inline;
  43216. begin
  43217. if thebits = 0 then
  43218. pTDefRegMap(@Self)^.clr := $08000000
  43219. else
  43220. pTDefRegMap(@Self)^.&set := $08000000;
  43221. end;
  43222. function TINT_IEC0.getU1RXIE : TBits_1; inline;
  43223. begin
  43224. getU1RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43225. end;
  43226. procedure TINT_IEC0.setU1TXIE; inline;
  43227. begin
  43228. pTDefRegMap(@Self)^.&set := $10000000;
  43229. end;
  43230. procedure TINT_IEC0.clearU1TXIE; inline;
  43231. begin
  43232. pTDefRegMap(@Self)^.clr := $10000000;
  43233. end;
  43234. procedure TINT_IEC0.setU1TXIE(thebits : TBits_1); inline;
  43235. begin
  43236. if thebits = 0 then
  43237. pTDefRegMap(@Self)^.clr := $10000000
  43238. else
  43239. pTDefRegMap(@Self)^.&set := $10000000;
  43240. end;
  43241. function TINT_IEC0.getU1TXIE : TBits_1; inline;
  43242. begin
  43243. getU1TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43244. end;
  43245. procedure TINT_IEC0.setI2C1BIE; inline;
  43246. begin
  43247. pTDefRegMap(@Self)^.&set := $20000000;
  43248. end;
  43249. procedure TINT_IEC0.clearI2C1BIE; inline;
  43250. begin
  43251. pTDefRegMap(@Self)^.clr := $20000000;
  43252. end;
  43253. procedure TINT_IEC0.setI2C1BIE(thebits : TBits_1); inline;
  43254. begin
  43255. if thebits = 0 then
  43256. pTDefRegMap(@Self)^.clr := $20000000
  43257. else
  43258. pTDefRegMap(@Self)^.&set := $20000000;
  43259. end;
  43260. function TINT_IEC0.getI2C1BIE : TBits_1; inline;
  43261. begin
  43262. getI2C1BIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  43263. end;
  43264. procedure TINT_IEC0.setI2C1SIE; inline;
  43265. begin
  43266. pTDefRegMap(@Self)^.&set := $40000000;
  43267. end;
  43268. procedure TINT_IEC0.clearI2C1SIE; inline;
  43269. begin
  43270. pTDefRegMap(@Self)^.clr := $40000000;
  43271. end;
  43272. procedure TINT_IEC0.setI2C1SIE(thebits : TBits_1); inline;
  43273. begin
  43274. if thebits = 0 then
  43275. pTDefRegMap(@Self)^.clr := $40000000
  43276. else
  43277. pTDefRegMap(@Self)^.&set := $40000000;
  43278. end;
  43279. function TINT_IEC0.getI2C1SIE : TBits_1; inline;
  43280. begin
  43281. getI2C1SIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  43282. end;
  43283. procedure TINT_IEC0.setI2C1MIE; inline;
  43284. begin
  43285. pTDefRegMap(@Self)^.&set := $80000000;
  43286. end;
  43287. procedure TINT_IEC0.clearI2C1MIE; inline;
  43288. begin
  43289. pTDefRegMap(@Self)^.clr := $80000000;
  43290. end;
  43291. procedure TINT_IEC0.setI2C1MIE(thebits : TBits_1); inline;
  43292. begin
  43293. if thebits = 0 then
  43294. pTDefRegMap(@Self)^.clr := $80000000
  43295. else
  43296. pTDefRegMap(@Self)^.&set := $80000000;
  43297. end;
  43298. function TINT_IEC0.getI2C1MIE : TBits_1; inline;
  43299. begin
  43300. getI2C1MIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  43301. end;
  43302. procedure TINT_IEC0.setU1AEIE; inline;
  43303. begin
  43304. pTDefRegMap(@Self)^.&set := $04000000;
  43305. end;
  43306. procedure TINT_IEC0.clearU1AEIE; inline;
  43307. begin
  43308. pTDefRegMap(@Self)^.clr := $04000000;
  43309. end;
  43310. procedure TINT_IEC0.setU1AEIE(thebits : TBits_1); inline;
  43311. begin
  43312. if thebits = 0 then
  43313. pTDefRegMap(@Self)^.clr := $04000000
  43314. else
  43315. pTDefRegMap(@Self)^.&set := $04000000;
  43316. end;
  43317. function TINT_IEC0.getU1AEIE : TBits_1; inline;
  43318. begin
  43319. getU1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43320. end;
  43321. procedure TINT_IEC0.setU1ARXIE; inline;
  43322. begin
  43323. pTDefRegMap(@Self)^.&set := $08000000;
  43324. end;
  43325. procedure TINT_IEC0.clearU1ARXIE; inline;
  43326. begin
  43327. pTDefRegMap(@Self)^.clr := $08000000;
  43328. end;
  43329. procedure TINT_IEC0.setU1ARXIE(thebits : TBits_1); inline;
  43330. begin
  43331. if thebits = 0 then
  43332. pTDefRegMap(@Self)^.clr := $08000000
  43333. else
  43334. pTDefRegMap(@Self)^.&set := $08000000;
  43335. end;
  43336. function TINT_IEC0.getU1ARXIE : TBits_1; inline;
  43337. begin
  43338. getU1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43339. end;
  43340. procedure TINT_IEC0.setU1ATXIE; inline;
  43341. begin
  43342. pTDefRegMap(@Self)^.&set := $10000000;
  43343. end;
  43344. procedure TINT_IEC0.clearU1ATXIE; inline;
  43345. begin
  43346. pTDefRegMap(@Self)^.clr := $10000000;
  43347. end;
  43348. procedure TINT_IEC0.setU1ATXIE(thebits : TBits_1); inline;
  43349. begin
  43350. if thebits = 0 then
  43351. pTDefRegMap(@Self)^.clr := $10000000
  43352. else
  43353. pTDefRegMap(@Self)^.&set := $10000000;
  43354. end;
  43355. function TINT_IEC0.getU1ATXIE : TBits_1; inline;
  43356. begin
  43357. getU1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43358. end;
  43359. procedure TINT_IEC0.setSPI3EIE; inline;
  43360. begin
  43361. pTDefRegMap(@Self)^.&set := $04000000;
  43362. end;
  43363. procedure TINT_IEC0.clearSPI3EIE; inline;
  43364. begin
  43365. pTDefRegMap(@Self)^.clr := $04000000;
  43366. end;
  43367. procedure TINT_IEC0.setSPI3EIE(thebits : TBits_1); inline;
  43368. begin
  43369. if thebits = 0 then
  43370. pTDefRegMap(@Self)^.clr := $04000000
  43371. else
  43372. pTDefRegMap(@Self)^.&set := $04000000;
  43373. end;
  43374. function TINT_IEC0.getSPI3EIE : TBits_1; inline;
  43375. begin
  43376. getSPI3EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43377. end;
  43378. procedure TINT_IEC0.setSPI3RXIE; inline;
  43379. begin
  43380. pTDefRegMap(@Self)^.&set := $08000000;
  43381. end;
  43382. procedure TINT_IEC0.clearSPI3RXIE; inline;
  43383. begin
  43384. pTDefRegMap(@Self)^.clr := $08000000;
  43385. end;
  43386. procedure TINT_IEC0.setSPI3RXIE(thebits : TBits_1); inline;
  43387. begin
  43388. if thebits = 0 then
  43389. pTDefRegMap(@Self)^.clr := $08000000
  43390. else
  43391. pTDefRegMap(@Self)^.&set := $08000000;
  43392. end;
  43393. function TINT_IEC0.getSPI3RXIE : TBits_1; inline;
  43394. begin
  43395. getSPI3RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43396. end;
  43397. procedure TINT_IEC0.setSPI3TXIE; inline;
  43398. begin
  43399. pTDefRegMap(@Self)^.&set := $10000000;
  43400. end;
  43401. procedure TINT_IEC0.clearSPI3TXIE; inline;
  43402. begin
  43403. pTDefRegMap(@Self)^.clr := $10000000;
  43404. end;
  43405. procedure TINT_IEC0.setSPI3TXIE(thebits : TBits_1); inline;
  43406. begin
  43407. if thebits = 0 then
  43408. pTDefRegMap(@Self)^.clr := $10000000
  43409. else
  43410. pTDefRegMap(@Self)^.&set := $10000000;
  43411. end;
  43412. function TINT_IEC0.getSPI3TXIE : TBits_1; inline;
  43413. begin
  43414. getSPI3TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43415. end;
  43416. procedure TINT_IEC0.setSPI1AEIE; inline;
  43417. begin
  43418. pTDefRegMap(@Self)^.&set := $04000000;
  43419. end;
  43420. procedure TINT_IEC0.clearSPI1AEIE; inline;
  43421. begin
  43422. pTDefRegMap(@Self)^.clr := $04000000;
  43423. end;
  43424. procedure TINT_IEC0.setSPI1AEIE(thebits : TBits_1); inline;
  43425. begin
  43426. if thebits = 0 then
  43427. pTDefRegMap(@Self)^.clr := $04000000
  43428. else
  43429. pTDefRegMap(@Self)^.&set := $04000000;
  43430. end;
  43431. function TINT_IEC0.getSPI1AEIE : TBits_1; inline;
  43432. begin
  43433. getSPI1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43434. end;
  43435. procedure TINT_IEC0.setSPI1ARXIE; inline;
  43436. begin
  43437. pTDefRegMap(@Self)^.&set := $08000000;
  43438. end;
  43439. procedure TINT_IEC0.clearSPI1ARXIE; inline;
  43440. begin
  43441. pTDefRegMap(@Self)^.clr := $08000000;
  43442. end;
  43443. procedure TINT_IEC0.setSPI1ARXIE(thebits : TBits_1); inline;
  43444. begin
  43445. if thebits = 0 then
  43446. pTDefRegMap(@Self)^.clr := $08000000
  43447. else
  43448. pTDefRegMap(@Self)^.&set := $08000000;
  43449. end;
  43450. function TINT_IEC0.getSPI1ARXIE : TBits_1; inline;
  43451. begin
  43452. getSPI1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43453. end;
  43454. procedure TINT_IEC0.setSPI1ATXIE; inline;
  43455. begin
  43456. pTDefRegMap(@Self)^.&set := $10000000;
  43457. end;
  43458. procedure TINT_IEC0.clearSPI1ATXIE; inline;
  43459. begin
  43460. pTDefRegMap(@Self)^.clr := $10000000;
  43461. end;
  43462. procedure TINT_IEC0.setSPI1ATXIE(thebits : TBits_1); inline;
  43463. begin
  43464. if thebits = 0 then
  43465. pTDefRegMap(@Self)^.clr := $10000000
  43466. else
  43467. pTDefRegMap(@Self)^.&set := $10000000;
  43468. end;
  43469. function TINT_IEC0.getSPI1ATXIE : TBits_1; inline;
  43470. begin
  43471. getSPI1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43472. end;
  43473. procedure TINT_IEC0.setI2C3BIE; inline;
  43474. begin
  43475. pTDefRegMap(@Self)^.&set := $04000000;
  43476. end;
  43477. procedure TINT_IEC0.clearI2C3BIE; inline;
  43478. begin
  43479. pTDefRegMap(@Self)^.clr := $04000000;
  43480. end;
  43481. procedure TINT_IEC0.setI2C3BIE(thebits : TBits_1); inline;
  43482. begin
  43483. if thebits = 0 then
  43484. pTDefRegMap(@Self)^.clr := $04000000
  43485. else
  43486. pTDefRegMap(@Self)^.&set := $04000000;
  43487. end;
  43488. function TINT_IEC0.getI2C3BIE : TBits_1; inline;
  43489. begin
  43490. getI2C3BIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43491. end;
  43492. procedure TINT_IEC0.setI2C3SIE; inline;
  43493. begin
  43494. pTDefRegMap(@Self)^.&set := $08000000;
  43495. end;
  43496. procedure TINT_IEC0.clearI2C3SIE; inline;
  43497. begin
  43498. pTDefRegMap(@Self)^.clr := $08000000;
  43499. end;
  43500. procedure TINT_IEC0.setI2C3SIE(thebits : TBits_1); inline;
  43501. begin
  43502. if thebits = 0 then
  43503. pTDefRegMap(@Self)^.clr := $08000000
  43504. else
  43505. pTDefRegMap(@Self)^.&set := $08000000;
  43506. end;
  43507. function TINT_IEC0.getI2C3SIE : TBits_1; inline;
  43508. begin
  43509. getI2C3SIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43510. end;
  43511. procedure TINT_IEC0.setI2C3MIE; inline;
  43512. begin
  43513. pTDefRegMap(@Self)^.&set := $10000000;
  43514. end;
  43515. procedure TINT_IEC0.clearI2C3MIE; inline;
  43516. begin
  43517. pTDefRegMap(@Self)^.clr := $10000000;
  43518. end;
  43519. procedure TINT_IEC0.setI2C3MIE(thebits : TBits_1); inline;
  43520. begin
  43521. if thebits = 0 then
  43522. pTDefRegMap(@Self)^.clr := $10000000
  43523. else
  43524. pTDefRegMap(@Self)^.&set := $10000000;
  43525. end;
  43526. function TINT_IEC0.getI2C3MIE : TBits_1; inline;
  43527. begin
  43528. getI2C3MIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43529. end;
  43530. procedure TINT_IEC0.setI2C1ABIE; inline;
  43531. begin
  43532. pTDefRegMap(@Self)^.&set := $04000000;
  43533. end;
  43534. procedure TINT_IEC0.clearI2C1ABIE; inline;
  43535. begin
  43536. pTDefRegMap(@Self)^.clr := $04000000;
  43537. end;
  43538. procedure TINT_IEC0.setI2C1ABIE(thebits : TBits_1); inline;
  43539. begin
  43540. if thebits = 0 then
  43541. pTDefRegMap(@Self)^.clr := $04000000
  43542. else
  43543. pTDefRegMap(@Self)^.&set := $04000000;
  43544. end;
  43545. function TINT_IEC0.getI2C1ABIE : TBits_1; inline;
  43546. begin
  43547. getI2C1ABIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43548. end;
  43549. procedure TINT_IEC0.setI2C1ASIE; inline;
  43550. begin
  43551. pTDefRegMap(@Self)^.&set := $08000000;
  43552. end;
  43553. procedure TINT_IEC0.clearI2C1ASIE; inline;
  43554. begin
  43555. pTDefRegMap(@Self)^.clr := $08000000;
  43556. end;
  43557. procedure TINT_IEC0.setI2C1ASIE(thebits : TBits_1); inline;
  43558. begin
  43559. if thebits = 0 then
  43560. pTDefRegMap(@Self)^.clr := $08000000
  43561. else
  43562. pTDefRegMap(@Self)^.&set := $08000000;
  43563. end;
  43564. function TINT_IEC0.getI2C1ASIE : TBits_1; inline;
  43565. begin
  43566. getI2C1ASIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43567. end;
  43568. procedure TINT_IEC0.setI2C1AMIE; inline;
  43569. begin
  43570. pTDefRegMap(@Self)^.&set := $10000000;
  43571. end;
  43572. procedure TINT_IEC0.clearI2C1AMIE; inline;
  43573. begin
  43574. pTDefRegMap(@Self)^.clr := $10000000;
  43575. end;
  43576. procedure TINT_IEC0.setI2C1AMIE(thebits : TBits_1); inline;
  43577. begin
  43578. if thebits = 0 then
  43579. pTDefRegMap(@Self)^.clr := $10000000
  43580. else
  43581. pTDefRegMap(@Self)^.&set := $10000000;
  43582. end;
  43583. function TINT_IEC0.getI2C1AMIE : TBits_1; inline;
  43584. begin
  43585. getI2C1AMIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43586. end;
  43587. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  43588. begin
  43589. pTDefRegMap(@Self)^.val := thebits;
  43590. end;
  43591. function TINT_IEC0.getw : TBits_32; inline;
  43592. begin
  43593. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43594. end;
  43595. procedure TINT_IEC1.setCNIE; inline;
  43596. begin
  43597. pTDefRegMap(@Self)^.&set := $00000001;
  43598. end;
  43599. procedure TINT_IEC1.clearCNIE; inline;
  43600. begin
  43601. pTDefRegMap(@Self)^.clr := $00000001;
  43602. end;
  43603. procedure TINT_IEC1.setCNIE(thebits : TBits_1); inline;
  43604. begin
  43605. if thebits = 0 then
  43606. pTDefRegMap(@Self)^.clr := $00000001
  43607. else
  43608. pTDefRegMap(@Self)^.&set := $00000001;
  43609. end;
  43610. function TINT_IEC1.getCNIE : TBits_1; inline;
  43611. begin
  43612. getCNIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43613. end;
  43614. procedure TINT_IEC1.setAD1IE; inline;
  43615. begin
  43616. pTDefRegMap(@Self)^.&set := $00000002;
  43617. end;
  43618. procedure TINT_IEC1.clearAD1IE; inline;
  43619. begin
  43620. pTDefRegMap(@Self)^.clr := $00000002;
  43621. end;
  43622. procedure TINT_IEC1.setAD1IE(thebits : TBits_1); inline;
  43623. begin
  43624. if thebits = 0 then
  43625. pTDefRegMap(@Self)^.clr := $00000002
  43626. else
  43627. pTDefRegMap(@Self)^.&set := $00000002;
  43628. end;
  43629. function TINT_IEC1.getAD1IE : TBits_1; inline;
  43630. begin
  43631. getAD1IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43632. end;
  43633. procedure TINT_IEC1.setPMPIE; inline;
  43634. begin
  43635. pTDefRegMap(@Self)^.&set := $00000004;
  43636. end;
  43637. procedure TINT_IEC1.clearPMPIE; inline;
  43638. begin
  43639. pTDefRegMap(@Self)^.clr := $00000004;
  43640. end;
  43641. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  43642. begin
  43643. if thebits = 0 then
  43644. pTDefRegMap(@Self)^.clr := $00000004
  43645. else
  43646. pTDefRegMap(@Self)^.&set := $00000004;
  43647. end;
  43648. function TINT_IEC1.getPMPIE : TBits_1; inline;
  43649. begin
  43650. getPMPIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43651. end;
  43652. procedure TINT_IEC1.setCMP1IE; inline;
  43653. begin
  43654. pTDefRegMap(@Self)^.&set := $00000008;
  43655. end;
  43656. procedure TINT_IEC1.clearCMP1IE; inline;
  43657. begin
  43658. pTDefRegMap(@Self)^.clr := $00000008;
  43659. end;
  43660. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  43661. begin
  43662. if thebits = 0 then
  43663. pTDefRegMap(@Self)^.clr := $00000008
  43664. else
  43665. pTDefRegMap(@Self)^.&set := $00000008;
  43666. end;
  43667. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  43668. begin
  43669. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43670. end;
  43671. procedure TINT_IEC1.setCMP2IE; inline;
  43672. begin
  43673. pTDefRegMap(@Self)^.&set := $00000010;
  43674. end;
  43675. procedure TINT_IEC1.clearCMP2IE; inline;
  43676. begin
  43677. pTDefRegMap(@Self)^.clr := $00000010;
  43678. end;
  43679. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  43680. begin
  43681. if thebits = 0 then
  43682. pTDefRegMap(@Self)^.clr := $00000010
  43683. else
  43684. pTDefRegMap(@Self)^.&set := $00000010;
  43685. end;
  43686. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  43687. begin
  43688. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43689. end;
  43690. procedure TINT_IEC1.setU3EIE; inline;
  43691. begin
  43692. pTDefRegMap(@Self)^.&set := $00000020;
  43693. end;
  43694. procedure TINT_IEC1.clearU3EIE; inline;
  43695. begin
  43696. pTDefRegMap(@Self)^.clr := $00000020;
  43697. end;
  43698. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  43699. begin
  43700. if thebits = 0 then
  43701. pTDefRegMap(@Self)^.clr := $00000020
  43702. else
  43703. pTDefRegMap(@Self)^.&set := $00000020;
  43704. end;
  43705. function TINT_IEC1.getU3EIE : TBits_1; inline;
  43706. begin
  43707. getU3EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43708. end;
  43709. procedure TINT_IEC1.setU3RXIE; inline;
  43710. begin
  43711. pTDefRegMap(@Self)^.&set := $00000040;
  43712. end;
  43713. procedure TINT_IEC1.clearU3RXIE; inline;
  43714. begin
  43715. pTDefRegMap(@Self)^.clr := $00000040;
  43716. end;
  43717. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  43718. begin
  43719. if thebits = 0 then
  43720. pTDefRegMap(@Self)^.clr := $00000040
  43721. else
  43722. pTDefRegMap(@Self)^.&set := $00000040;
  43723. end;
  43724. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  43725. begin
  43726. getU3RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43727. end;
  43728. procedure TINT_IEC1.setU3TXIE; inline;
  43729. begin
  43730. pTDefRegMap(@Self)^.&set := $00000080;
  43731. end;
  43732. procedure TINT_IEC1.clearU3TXIE; inline;
  43733. begin
  43734. pTDefRegMap(@Self)^.clr := $00000080;
  43735. end;
  43736. procedure TINT_IEC1.setU3TXIE(thebits : TBits_1); inline;
  43737. begin
  43738. if thebits = 0 then
  43739. pTDefRegMap(@Self)^.clr := $00000080
  43740. else
  43741. pTDefRegMap(@Self)^.&set := $00000080;
  43742. end;
  43743. function TINT_IEC1.getU3TXIE : TBits_1; inline;
  43744. begin
  43745. getU3TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43746. end;
  43747. procedure TINT_IEC1.setU2EIE; inline;
  43748. begin
  43749. pTDefRegMap(@Self)^.&set := $00000100;
  43750. end;
  43751. procedure TINT_IEC1.clearU2EIE; inline;
  43752. begin
  43753. pTDefRegMap(@Self)^.clr := $00000100;
  43754. end;
  43755. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  43756. begin
  43757. if thebits = 0 then
  43758. pTDefRegMap(@Self)^.clr := $00000100
  43759. else
  43760. pTDefRegMap(@Self)^.&set := $00000100;
  43761. end;
  43762. function TINT_IEC1.getU2EIE : TBits_1; inline;
  43763. begin
  43764. getU2EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43765. end;
  43766. procedure TINT_IEC1.setU2RXIE; inline;
  43767. begin
  43768. pTDefRegMap(@Self)^.&set := $00000200;
  43769. end;
  43770. procedure TINT_IEC1.clearU2RXIE; inline;
  43771. begin
  43772. pTDefRegMap(@Self)^.clr := $00000200;
  43773. end;
  43774. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  43775. begin
  43776. if thebits = 0 then
  43777. pTDefRegMap(@Self)^.clr := $00000200
  43778. else
  43779. pTDefRegMap(@Self)^.&set := $00000200;
  43780. end;
  43781. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  43782. begin
  43783. getU2RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43784. end;
  43785. procedure TINT_IEC1.setU2TXIE; inline;
  43786. begin
  43787. pTDefRegMap(@Self)^.&set := $00000400;
  43788. end;
  43789. procedure TINT_IEC1.clearU2TXIE; inline;
  43790. begin
  43791. pTDefRegMap(@Self)^.clr := $00000400;
  43792. end;
  43793. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  43794. begin
  43795. if thebits = 0 then
  43796. pTDefRegMap(@Self)^.clr := $00000400
  43797. else
  43798. pTDefRegMap(@Self)^.&set := $00000400;
  43799. end;
  43800. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  43801. begin
  43802. getU2TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43803. end;
  43804. procedure TINT_IEC1.setFSCMIE; inline;
  43805. begin
  43806. pTDefRegMap(@Self)^.&set := $00004000;
  43807. end;
  43808. procedure TINT_IEC1.clearFSCMIE; inline;
  43809. begin
  43810. pTDefRegMap(@Self)^.clr := $00004000;
  43811. end;
  43812. procedure TINT_IEC1.setFSCMIE(thebits : TBits_1); inline;
  43813. begin
  43814. if thebits = 0 then
  43815. pTDefRegMap(@Self)^.clr := $00004000
  43816. else
  43817. pTDefRegMap(@Self)^.&set := $00004000;
  43818. end;
  43819. function TINT_IEC1.getFSCMIE : TBits_1; inline;
  43820. begin
  43821. getFSCMIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43822. end;
  43823. procedure TINT_IEC1.setRTCCIE; inline;
  43824. begin
  43825. pTDefRegMap(@Self)^.&set := $00008000;
  43826. end;
  43827. procedure TINT_IEC1.clearRTCCIE; inline;
  43828. begin
  43829. pTDefRegMap(@Self)^.clr := $00008000;
  43830. end;
  43831. procedure TINT_IEC1.setRTCCIE(thebits : TBits_1); inline;
  43832. begin
  43833. if thebits = 0 then
  43834. pTDefRegMap(@Self)^.clr := $00008000
  43835. else
  43836. pTDefRegMap(@Self)^.&set := $00008000;
  43837. end;
  43838. function TINT_IEC1.getRTCCIE : TBits_1; inline;
  43839. begin
  43840. getRTCCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43841. end;
  43842. procedure TINT_IEC1.setDMA0IE; inline;
  43843. begin
  43844. pTDefRegMap(@Self)^.&set := $00010000;
  43845. end;
  43846. procedure TINT_IEC1.clearDMA0IE; inline;
  43847. begin
  43848. pTDefRegMap(@Self)^.clr := $00010000;
  43849. end;
  43850. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  43851. begin
  43852. if thebits = 0 then
  43853. pTDefRegMap(@Self)^.clr := $00010000
  43854. else
  43855. pTDefRegMap(@Self)^.&set := $00010000;
  43856. end;
  43857. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  43858. begin
  43859. getDMA0IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  43860. end;
  43861. procedure TINT_IEC1.setDMA1IE; inline;
  43862. begin
  43863. pTDefRegMap(@Self)^.&set := $00020000;
  43864. end;
  43865. procedure TINT_IEC1.clearDMA1IE; inline;
  43866. begin
  43867. pTDefRegMap(@Self)^.clr := $00020000;
  43868. end;
  43869. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  43870. begin
  43871. if thebits = 0 then
  43872. pTDefRegMap(@Self)^.clr := $00020000
  43873. else
  43874. pTDefRegMap(@Self)^.&set := $00020000;
  43875. end;
  43876. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  43877. begin
  43878. getDMA1IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  43879. end;
  43880. procedure TINT_IEC1.setDMA2IE; inline;
  43881. begin
  43882. pTDefRegMap(@Self)^.&set := $00040000;
  43883. end;
  43884. procedure TINT_IEC1.clearDMA2IE; inline;
  43885. begin
  43886. pTDefRegMap(@Self)^.clr := $00040000;
  43887. end;
  43888. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  43889. begin
  43890. if thebits = 0 then
  43891. pTDefRegMap(@Self)^.clr := $00040000
  43892. else
  43893. pTDefRegMap(@Self)^.&set := $00040000;
  43894. end;
  43895. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  43896. begin
  43897. getDMA2IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  43898. end;
  43899. procedure TINT_IEC1.setDMA3IE; inline;
  43900. begin
  43901. pTDefRegMap(@Self)^.&set := $00080000;
  43902. end;
  43903. procedure TINT_IEC1.clearDMA3IE; inline;
  43904. begin
  43905. pTDefRegMap(@Self)^.clr := $00080000;
  43906. end;
  43907. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  43908. begin
  43909. if thebits = 0 then
  43910. pTDefRegMap(@Self)^.clr := $00080000
  43911. else
  43912. pTDefRegMap(@Self)^.&set := $00080000;
  43913. end;
  43914. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  43915. begin
  43916. getDMA3IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  43917. end;
  43918. procedure TINT_IEC1.setDMA4IE; inline;
  43919. begin
  43920. pTDefRegMap(@Self)^.&set := $00100000;
  43921. end;
  43922. procedure TINT_IEC1.clearDMA4IE; inline;
  43923. begin
  43924. pTDefRegMap(@Self)^.clr := $00100000;
  43925. end;
  43926. procedure TINT_IEC1.setDMA4IE(thebits : TBits_1); inline;
  43927. begin
  43928. if thebits = 0 then
  43929. pTDefRegMap(@Self)^.clr := $00100000
  43930. else
  43931. pTDefRegMap(@Self)^.&set := $00100000;
  43932. end;
  43933. function TINT_IEC1.getDMA4IE : TBits_1; inline;
  43934. begin
  43935. getDMA4IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  43936. end;
  43937. procedure TINT_IEC1.setDMA5IE; inline;
  43938. begin
  43939. pTDefRegMap(@Self)^.&set := $00200000;
  43940. end;
  43941. procedure TINT_IEC1.clearDMA5IE; inline;
  43942. begin
  43943. pTDefRegMap(@Self)^.clr := $00200000;
  43944. end;
  43945. procedure TINT_IEC1.setDMA5IE(thebits : TBits_1); inline;
  43946. begin
  43947. if thebits = 0 then
  43948. pTDefRegMap(@Self)^.clr := $00200000
  43949. else
  43950. pTDefRegMap(@Self)^.&set := $00200000;
  43951. end;
  43952. function TINT_IEC1.getDMA5IE : TBits_1; inline;
  43953. begin
  43954. getDMA5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  43955. end;
  43956. procedure TINT_IEC1.setDMA6IE; inline;
  43957. begin
  43958. pTDefRegMap(@Self)^.&set := $00400000;
  43959. end;
  43960. procedure TINT_IEC1.clearDMA6IE; inline;
  43961. begin
  43962. pTDefRegMap(@Self)^.clr := $00400000;
  43963. end;
  43964. procedure TINT_IEC1.setDMA6IE(thebits : TBits_1); inline;
  43965. begin
  43966. if thebits = 0 then
  43967. pTDefRegMap(@Self)^.clr := $00400000
  43968. else
  43969. pTDefRegMap(@Self)^.&set := $00400000;
  43970. end;
  43971. function TINT_IEC1.getDMA6IE : TBits_1; inline;
  43972. begin
  43973. getDMA6IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  43974. end;
  43975. procedure TINT_IEC1.setDMA7IE; inline;
  43976. begin
  43977. pTDefRegMap(@Self)^.&set := $00800000;
  43978. end;
  43979. procedure TINT_IEC1.clearDMA7IE; inline;
  43980. begin
  43981. pTDefRegMap(@Self)^.clr := $00800000;
  43982. end;
  43983. procedure TINT_IEC1.setDMA7IE(thebits : TBits_1); inline;
  43984. begin
  43985. if thebits = 0 then
  43986. pTDefRegMap(@Self)^.clr := $00800000
  43987. else
  43988. pTDefRegMap(@Self)^.&set := $00800000;
  43989. end;
  43990. function TINT_IEC1.getDMA7IE : TBits_1; inline;
  43991. begin
  43992. getDMA7IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  43993. end;
  43994. procedure TINT_IEC1.setFCEIE; inline;
  43995. begin
  43996. pTDefRegMap(@Self)^.&set := $01000000;
  43997. end;
  43998. procedure TINT_IEC1.clearFCEIE; inline;
  43999. begin
  44000. pTDefRegMap(@Self)^.clr := $01000000;
  44001. end;
  44002. procedure TINT_IEC1.setFCEIE(thebits : TBits_1); inline;
  44003. begin
  44004. if thebits = 0 then
  44005. pTDefRegMap(@Self)^.clr := $01000000
  44006. else
  44007. pTDefRegMap(@Self)^.&set := $01000000;
  44008. end;
  44009. function TINT_IEC1.getFCEIE : TBits_1; inline;
  44010. begin
  44011. getFCEIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  44012. end;
  44013. procedure TINT_IEC1.setUSBIE; inline;
  44014. begin
  44015. pTDefRegMap(@Self)^.&set := $02000000;
  44016. end;
  44017. procedure TINT_IEC1.clearUSBIE; inline;
  44018. begin
  44019. pTDefRegMap(@Self)^.clr := $02000000;
  44020. end;
  44021. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  44022. begin
  44023. if thebits = 0 then
  44024. pTDefRegMap(@Self)^.clr := $02000000
  44025. else
  44026. pTDefRegMap(@Self)^.&set := $02000000;
  44027. end;
  44028. function TINT_IEC1.getUSBIE : TBits_1; inline;
  44029. begin
  44030. getUSBIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  44031. end;
  44032. procedure TINT_IEC1.setETHIE; inline;
  44033. begin
  44034. pTDefRegMap(@Self)^.&set := $10000000;
  44035. end;
  44036. procedure TINT_IEC1.clearETHIE; inline;
  44037. begin
  44038. pTDefRegMap(@Self)^.clr := $10000000;
  44039. end;
  44040. procedure TINT_IEC1.setETHIE(thebits : TBits_1); inline;
  44041. begin
  44042. if thebits = 0 then
  44043. pTDefRegMap(@Self)^.clr := $10000000
  44044. else
  44045. pTDefRegMap(@Self)^.&set := $10000000;
  44046. end;
  44047. function TINT_IEC1.getETHIE : TBits_1; inline;
  44048. begin
  44049. getETHIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44050. end;
  44051. procedure TINT_IEC1.setIC1EIE; inline;
  44052. begin
  44053. pTDefRegMap(@Self)^.&set := $20000000;
  44054. end;
  44055. procedure TINT_IEC1.clearIC1EIE; inline;
  44056. begin
  44057. pTDefRegMap(@Self)^.clr := $20000000;
  44058. end;
  44059. procedure TINT_IEC1.setIC1EIE(thebits : TBits_1); inline;
  44060. begin
  44061. if thebits = 0 then
  44062. pTDefRegMap(@Self)^.clr := $20000000
  44063. else
  44064. pTDefRegMap(@Self)^.&set := $20000000;
  44065. end;
  44066. function TINT_IEC1.getIC1EIE : TBits_1; inline;
  44067. begin
  44068. getIC1EIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  44069. end;
  44070. procedure TINT_IEC1.setIC2EIE; inline;
  44071. begin
  44072. pTDefRegMap(@Self)^.&set := $40000000;
  44073. end;
  44074. procedure TINT_IEC1.clearIC2EIE; inline;
  44075. begin
  44076. pTDefRegMap(@Self)^.clr := $40000000;
  44077. end;
  44078. procedure TINT_IEC1.setIC2EIE(thebits : TBits_1); inline;
  44079. begin
  44080. if thebits = 0 then
  44081. pTDefRegMap(@Self)^.clr := $40000000
  44082. else
  44083. pTDefRegMap(@Self)^.&set := $40000000;
  44084. end;
  44085. function TINT_IEC1.getIC2EIE : TBits_1; inline;
  44086. begin
  44087. getIC2EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  44088. end;
  44089. procedure TINT_IEC1.setIC3EIE; inline;
  44090. begin
  44091. pTDefRegMap(@Self)^.&set := $80000000;
  44092. end;
  44093. procedure TINT_IEC1.clearIC3EIE; inline;
  44094. begin
  44095. pTDefRegMap(@Self)^.clr := $80000000;
  44096. end;
  44097. procedure TINT_IEC1.setIC3EIE(thebits : TBits_1); inline;
  44098. begin
  44099. if thebits = 0 then
  44100. pTDefRegMap(@Self)^.clr := $80000000
  44101. else
  44102. pTDefRegMap(@Self)^.&set := $80000000;
  44103. end;
  44104. function TINT_IEC1.getIC3EIE : TBits_1; inline;
  44105. begin
  44106. getIC3EIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  44107. end;
  44108. procedure TINT_IEC1.setU2AEIE; inline;
  44109. begin
  44110. pTDefRegMap(@Self)^.&set := $00000020;
  44111. end;
  44112. procedure TINT_IEC1.clearU2AEIE; inline;
  44113. begin
  44114. pTDefRegMap(@Self)^.clr := $00000020;
  44115. end;
  44116. procedure TINT_IEC1.setU2AEIE(thebits : TBits_1); inline;
  44117. begin
  44118. if thebits = 0 then
  44119. pTDefRegMap(@Self)^.clr := $00000020
  44120. else
  44121. pTDefRegMap(@Self)^.&set := $00000020;
  44122. end;
  44123. function TINT_IEC1.getU2AEIE : TBits_1; inline;
  44124. begin
  44125. getU2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44126. end;
  44127. procedure TINT_IEC1.setU2ARXIE; inline;
  44128. begin
  44129. pTDefRegMap(@Self)^.&set := $00000040;
  44130. end;
  44131. procedure TINT_IEC1.clearU2ARXIE; inline;
  44132. begin
  44133. pTDefRegMap(@Self)^.clr := $00000040;
  44134. end;
  44135. procedure TINT_IEC1.setU2ARXIE(thebits : TBits_1); inline;
  44136. begin
  44137. if thebits = 0 then
  44138. pTDefRegMap(@Self)^.clr := $00000040
  44139. else
  44140. pTDefRegMap(@Self)^.&set := $00000040;
  44141. end;
  44142. function TINT_IEC1.getU2ARXIE : TBits_1; inline;
  44143. begin
  44144. getU2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44145. end;
  44146. procedure TINT_IEC1.setU2ATXIE; inline;
  44147. begin
  44148. pTDefRegMap(@Self)^.&set := $00000080;
  44149. end;
  44150. procedure TINT_IEC1.clearU2ATXIE; inline;
  44151. begin
  44152. pTDefRegMap(@Self)^.clr := $00000080;
  44153. end;
  44154. procedure TINT_IEC1.setU2ATXIE(thebits : TBits_1); inline;
  44155. begin
  44156. if thebits = 0 then
  44157. pTDefRegMap(@Self)^.clr := $00000080
  44158. else
  44159. pTDefRegMap(@Self)^.&set := $00000080;
  44160. end;
  44161. function TINT_IEC1.getU2ATXIE : TBits_1; inline;
  44162. begin
  44163. getU2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44164. end;
  44165. procedure TINT_IEC1.setU3AEIE; inline;
  44166. begin
  44167. pTDefRegMap(@Self)^.&set := $00000100;
  44168. end;
  44169. procedure TINT_IEC1.clearU3AEIE; inline;
  44170. begin
  44171. pTDefRegMap(@Self)^.clr := $00000100;
  44172. end;
  44173. procedure TINT_IEC1.setU3AEIE(thebits : TBits_1); inline;
  44174. begin
  44175. if thebits = 0 then
  44176. pTDefRegMap(@Self)^.clr := $00000100
  44177. else
  44178. pTDefRegMap(@Self)^.&set := $00000100;
  44179. end;
  44180. function TINT_IEC1.getU3AEIE : TBits_1; inline;
  44181. begin
  44182. getU3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44183. end;
  44184. procedure TINT_IEC1.setU3ARXIE; inline;
  44185. begin
  44186. pTDefRegMap(@Self)^.&set := $00000200;
  44187. end;
  44188. procedure TINT_IEC1.clearU3ARXIE; inline;
  44189. begin
  44190. pTDefRegMap(@Self)^.clr := $00000200;
  44191. end;
  44192. procedure TINT_IEC1.setU3ARXIE(thebits : TBits_1); inline;
  44193. begin
  44194. if thebits = 0 then
  44195. pTDefRegMap(@Self)^.clr := $00000200
  44196. else
  44197. pTDefRegMap(@Self)^.&set := $00000200;
  44198. end;
  44199. function TINT_IEC1.getU3ARXIE : TBits_1; inline;
  44200. begin
  44201. getU3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44202. end;
  44203. procedure TINT_IEC1.setU3ATXIE; inline;
  44204. begin
  44205. pTDefRegMap(@Self)^.&set := $00000400;
  44206. end;
  44207. procedure TINT_IEC1.clearU3ATXIE; inline;
  44208. begin
  44209. pTDefRegMap(@Self)^.clr := $00000400;
  44210. end;
  44211. procedure TINT_IEC1.setU3ATXIE(thebits : TBits_1); inline;
  44212. begin
  44213. if thebits = 0 then
  44214. pTDefRegMap(@Self)^.clr := $00000400
  44215. else
  44216. pTDefRegMap(@Self)^.&set := $00000400;
  44217. end;
  44218. function TINT_IEC1.getU3ATXIE : TBits_1; inline;
  44219. begin
  44220. getU3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44221. end;
  44222. procedure TINT_IEC1.setSPI2EIE; inline;
  44223. begin
  44224. pTDefRegMap(@Self)^.&set := $00000020;
  44225. end;
  44226. procedure TINT_IEC1.clearSPI2EIE; inline;
  44227. begin
  44228. pTDefRegMap(@Self)^.clr := $00000020;
  44229. end;
  44230. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  44231. begin
  44232. if thebits = 0 then
  44233. pTDefRegMap(@Self)^.clr := $00000020
  44234. else
  44235. pTDefRegMap(@Self)^.&set := $00000020;
  44236. end;
  44237. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  44238. begin
  44239. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44240. end;
  44241. procedure TINT_IEC1.setSPI2RXIE; inline;
  44242. begin
  44243. pTDefRegMap(@Self)^.&set := $00000040;
  44244. end;
  44245. procedure TINT_IEC1.clearSPI2RXIE; inline;
  44246. begin
  44247. pTDefRegMap(@Self)^.clr := $00000040;
  44248. end;
  44249. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  44250. begin
  44251. if thebits = 0 then
  44252. pTDefRegMap(@Self)^.clr := $00000040
  44253. else
  44254. pTDefRegMap(@Self)^.&set := $00000040;
  44255. end;
  44256. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  44257. begin
  44258. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44259. end;
  44260. procedure TINT_IEC1.setSPI2TXIE; inline;
  44261. begin
  44262. pTDefRegMap(@Self)^.&set := $00000080;
  44263. end;
  44264. procedure TINT_IEC1.clearSPI2TXIE; inline;
  44265. begin
  44266. pTDefRegMap(@Self)^.clr := $00000080;
  44267. end;
  44268. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  44269. begin
  44270. if thebits = 0 then
  44271. pTDefRegMap(@Self)^.clr := $00000080
  44272. else
  44273. pTDefRegMap(@Self)^.&set := $00000080;
  44274. end;
  44275. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  44276. begin
  44277. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44278. end;
  44279. procedure TINT_IEC1.setSPI4EIE; inline;
  44280. begin
  44281. pTDefRegMap(@Self)^.&set := $00000100;
  44282. end;
  44283. procedure TINT_IEC1.clearSPI4EIE; inline;
  44284. begin
  44285. pTDefRegMap(@Self)^.clr := $00000100;
  44286. end;
  44287. procedure TINT_IEC1.setSPI4EIE(thebits : TBits_1); inline;
  44288. begin
  44289. if thebits = 0 then
  44290. pTDefRegMap(@Self)^.clr := $00000100
  44291. else
  44292. pTDefRegMap(@Self)^.&set := $00000100;
  44293. end;
  44294. function TINT_IEC1.getSPI4EIE : TBits_1; inline;
  44295. begin
  44296. getSPI4EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44297. end;
  44298. procedure TINT_IEC1.setSPI4RXIE; inline;
  44299. begin
  44300. pTDefRegMap(@Self)^.&set := $00000200;
  44301. end;
  44302. procedure TINT_IEC1.clearSPI4RXIE; inline;
  44303. begin
  44304. pTDefRegMap(@Self)^.clr := $00000200;
  44305. end;
  44306. procedure TINT_IEC1.setSPI4RXIE(thebits : TBits_1); inline;
  44307. begin
  44308. if thebits = 0 then
  44309. pTDefRegMap(@Self)^.clr := $00000200
  44310. else
  44311. pTDefRegMap(@Self)^.&set := $00000200;
  44312. end;
  44313. function TINT_IEC1.getSPI4RXIE : TBits_1; inline;
  44314. begin
  44315. getSPI4RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44316. end;
  44317. procedure TINT_IEC1.setSPI4TXIE; inline;
  44318. begin
  44319. pTDefRegMap(@Self)^.&set := $00000400;
  44320. end;
  44321. procedure TINT_IEC1.clearSPI4TXIE; inline;
  44322. begin
  44323. pTDefRegMap(@Self)^.clr := $00000400;
  44324. end;
  44325. procedure TINT_IEC1.setSPI4TXIE(thebits : TBits_1); inline;
  44326. begin
  44327. if thebits = 0 then
  44328. pTDefRegMap(@Self)^.clr := $00000400
  44329. else
  44330. pTDefRegMap(@Self)^.&set := $00000400;
  44331. end;
  44332. function TINT_IEC1.getSPI4TXIE : TBits_1; inline;
  44333. begin
  44334. getSPI4TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44335. end;
  44336. procedure TINT_IEC1.setSPI2AEIE; inline;
  44337. begin
  44338. pTDefRegMap(@Self)^.&set := $00000020;
  44339. end;
  44340. procedure TINT_IEC1.clearSPI2AEIE; inline;
  44341. begin
  44342. pTDefRegMap(@Self)^.clr := $00000020;
  44343. end;
  44344. procedure TINT_IEC1.setSPI2AEIE(thebits : TBits_1); inline;
  44345. begin
  44346. if thebits = 0 then
  44347. pTDefRegMap(@Self)^.clr := $00000020
  44348. else
  44349. pTDefRegMap(@Self)^.&set := $00000020;
  44350. end;
  44351. function TINT_IEC1.getSPI2AEIE : TBits_1; inline;
  44352. begin
  44353. getSPI2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44354. end;
  44355. procedure TINT_IEC1.setSPI2ARXIE; inline;
  44356. begin
  44357. pTDefRegMap(@Self)^.&set := $00000040;
  44358. end;
  44359. procedure TINT_IEC1.clearSPI2ARXIE; inline;
  44360. begin
  44361. pTDefRegMap(@Self)^.clr := $00000040;
  44362. end;
  44363. procedure TINT_IEC1.setSPI2ARXIE(thebits : TBits_1); inline;
  44364. begin
  44365. if thebits = 0 then
  44366. pTDefRegMap(@Self)^.clr := $00000040
  44367. else
  44368. pTDefRegMap(@Self)^.&set := $00000040;
  44369. end;
  44370. function TINT_IEC1.getSPI2ARXIE : TBits_1; inline;
  44371. begin
  44372. getSPI2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44373. end;
  44374. procedure TINT_IEC1.setSPI2ATXIE; inline;
  44375. begin
  44376. pTDefRegMap(@Self)^.&set := $00000080;
  44377. end;
  44378. procedure TINT_IEC1.clearSPI2ATXIE; inline;
  44379. begin
  44380. pTDefRegMap(@Self)^.clr := $00000080;
  44381. end;
  44382. procedure TINT_IEC1.setSPI2ATXIE(thebits : TBits_1); inline;
  44383. begin
  44384. if thebits = 0 then
  44385. pTDefRegMap(@Self)^.clr := $00000080
  44386. else
  44387. pTDefRegMap(@Self)^.&set := $00000080;
  44388. end;
  44389. function TINT_IEC1.getSPI2ATXIE : TBits_1; inline;
  44390. begin
  44391. getSPI2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44392. end;
  44393. procedure TINT_IEC1.setSPI3AEIE; inline;
  44394. begin
  44395. pTDefRegMap(@Self)^.&set := $00000100;
  44396. end;
  44397. procedure TINT_IEC1.clearSPI3AEIE; inline;
  44398. begin
  44399. pTDefRegMap(@Self)^.clr := $00000100;
  44400. end;
  44401. procedure TINT_IEC1.setSPI3AEIE(thebits : TBits_1); inline;
  44402. begin
  44403. if thebits = 0 then
  44404. pTDefRegMap(@Self)^.clr := $00000100
  44405. else
  44406. pTDefRegMap(@Self)^.&set := $00000100;
  44407. end;
  44408. function TINT_IEC1.getSPI3AEIE : TBits_1; inline;
  44409. begin
  44410. getSPI3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44411. end;
  44412. procedure TINT_IEC1.setSPI3ARXIE; inline;
  44413. begin
  44414. pTDefRegMap(@Self)^.&set := $00000200;
  44415. end;
  44416. procedure TINT_IEC1.clearSPI3ARXIE; inline;
  44417. begin
  44418. pTDefRegMap(@Self)^.clr := $00000200;
  44419. end;
  44420. procedure TINT_IEC1.setSPI3ARXIE(thebits : TBits_1); inline;
  44421. begin
  44422. if thebits = 0 then
  44423. pTDefRegMap(@Self)^.clr := $00000200
  44424. else
  44425. pTDefRegMap(@Self)^.&set := $00000200;
  44426. end;
  44427. function TINT_IEC1.getSPI3ARXIE : TBits_1; inline;
  44428. begin
  44429. getSPI3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44430. end;
  44431. procedure TINT_IEC1.setSPI3ATXIE; inline;
  44432. begin
  44433. pTDefRegMap(@Self)^.&set := $00000400;
  44434. end;
  44435. procedure TINT_IEC1.clearSPI3ATXIE; inline;
  44436. begin
  44437. pTDefRegMap(@Self)^.clr := $00000400;
  44438. end;
  44439. procedure TINT_IEC1.setSPI3ATXIE(thebits : TBits_1); inline;
  44440. begin
  44441. if thebits = 0 then
  44442. pTDefRegMap(@Self)^.clr := $00000400
  44443. else
  44444. pTDefRegMap(@Self)^.&set := $00000400;
  44445. end;
  44446. function TINT_IEC1.getSPI3ATXIE : TBits_1; inline;
  44447. begin
  44448. getSPI3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44449. end;
  44450. procedure TINT_IEC1.setI2C4BIE; inline;
  44451. begin
  44452. pTDefRegMap(@Self)^.&set := $00000020;
  44453. end;
  44454. procedure TINT_IEC1.clearI2C4BIE; inline;
  44455. begin
  44456. pTDefRegMap(@Self)^.clr := $00000020;
  44457. end;
  44458. procedure TINT_IEC1.setI2C4BIE(thebits : TBits_1); inline;
  44459. begin
  44460. if thebits = 0 then
  44461. pTDefRegMap(@Self)^.clr := $00000020
  44462. else
  44463. pTDefRegMap(@Self)^.&set := $00000020;
  44464. end;
  44465. function TINT_IEC1.getI2C4BIE : TBits_1; inline;
  44466. begin
  44467. getI2C4BIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44468. end;
  44469. procedure TINT_IEC1.setI2C4SIE; inline;
  44470. begin
  44471. pTDefRegMap(@Self)^.&set := $00000040;
  44472. end;
  44473. procedure TINT_IEC1.clearI2C4SIE; inline;
  44474. begin
  44475. pTDefRegMap(@Self)^.clr := $00000040;
  44476. end;
  44477. procedure TINT_IEC1.setI2C4SIE(thebits : TBits_1); inline;
  44478. begin
  44479. if thebits = 0 then
  44480. pTDefRegMap(@Self)^.clr := $00000040
  44481. else
  44482. pTDefRegMap(@Self)^.&set := $00000040;
  44483. end;
  44484. function TINT_IEC1.getI2C4SIE : TBits_1; inline;
  44485. begin
  44486. getI2C4SIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44487. end;
  44488. procedure TINT_IEC1.setI2C4MIE; inline;
  44489. begin
  44490. pTDefRegMap(@Self)^.&set := $00000080;
  44491. end;
  44492. procedure TINT_IEC1.clearI2C4MIE; inline;
  44493. begin
  44494. pTDefRegMap(@Self)^.clr := $00000080;
  44495. end;
  44496. procedure TINT_IEC1.setI2C4MIE(thebits : TBits_1); inline;
  44497. begin
  44498. if thebits = 0 then
  44499. pTDefRegMap(@Self)^.clr := $00000080
  44500. else
  44501. pTDefRegMap(@Self)^.&set := $00000080;
  44502. end;
  44503. function TINT_IEC1.getI2C4MIE : TBits_1; inline;
  44504. begin
  44505. getI2C4MIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44506. end;
  44507. procedure TINT_IEC1.setI2C5BIE; inline;
  44508. begin
  44509. pTDefRegMap(@Self)^.&set := $00000100;
  44510. end;
  44511. procedure TINT_IEC1.clearI2C5BIE; inline;
  44512. begin
  44513. pTDefRegMap(@Self)^.clr := $00000100;
  44514. end;
  44515. procedure TINT_IEC1.setI2C5BIE(thebits : TBits_1); inline;
  44516. begin
  44517. if thebits = 0 then
  44518. pTDefRegMap(@Self)^.clr := $00000100
  44519. else
  44520. pTDefRegMap(@Self)^.&set := $00000100;
  44521. end;
  44522. function TINT_IEC1.getI2C5BIE : TBits_1; inline;
  44523. begin
  44524. getI2C5BIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44525. end;
  44526. procedure TINT_IEC1.setI2C5SIE; inline;
  44527. begin
  44528. pTDefRegMap(@Self)^.&set := $00000200;
  44529. end;
  44530. procedure TINT_IEC1.clearI2C5SIE; inline;
  44531. begin
  44532. pTDefRegMap(@Self)^.clr := $00000200;
  44533. end;
  44534. procedure TINT_IEC1.setI2C5SIE(thebits : TBits_1); inline;
  44535. begin
  44536. if thebits = 0 then
  44537. pTDefRegMap(@Self)^.clr := $00000200
  44538. else
  44539. pTDefRegMap(@Self)^.&set := $00000200;
  44540. end;
  44541. function TINT_IEC1.getI2C5SIE : TBits_1; inline;
  44542. begin
  44543. getI2C5SIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44544. end;
  44545. procedure TINT_IEC1.setI2C5MIE; inline;
  44546. begin
  44547. pTDefRegMap(@Self)^.&set := $00000400;
  44548. end;
  44549. procedure TINT_IEC1.clearI2C5MIE; inline;
  44550. begin
  44551. pTDefRegMap(@Self)^.clr := $00000400;
  44552. end;
  44553. procedure TINT_IEC1.setI2C5MIE(thebits : TBits_1); inline;
  44554. begin
  44555. if thebits = 0 then
  44556. pTDefRegMap(@Self)^.clr := $00000400
  44557. else
  44558. pTDefRegMap(@Self)^.&set := $00000400;
  44559. end;
  44560. function TINT_IEC1.getI2C5MIE : TBits_1; inline;
  44561. begin
  44562. getI2C5MIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44563. end;
  44564. procedure TINT_IEC1.setI2C2ABIE; inline;
  44565. begin
  44566. pTDefRegMap(@Self)^.&set := $00000020;
  44567. end;
  44568. procedure TINT_IEC1.clearI2C2ABIE; inline;
  44569. begin
  44570. pTDefRegMap(@Self)^.clr := $00000020;
  44571. end;
  44572. procedure TINT_IEC1.setI2C2ABIE(thebits : TBits_1); inline;
  44573. begin
  44574. if thebits = 0 then
  44575. pTDefRegMap(@Self)^.clr := $00000020
  44576. else
  44577. pTDefRegMap(@Self)^.&set := $00000020;
  44578. end;
  44579. function TINT_IEC1.getI2C2ABIE : TBits_1; inline;
  44580. begin
  44581. getI2C2ABIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44582. end;
  44583. procedure TINT_IEC1.setI2C2ASIE; inline;
  44584. begin
  44585. pTDefRegMap(@Self)^.&set := $00000040;
  44586. end;
  44587. procedure TINT_IEC1.clearI2C2ASIE; inline;
  44588. begin
  44589. pTDefRegMap(@Self)^.clr := $00000040;
  44590. end;
  44591. procedure TINT_IEC1.setI2C2ASIE(thebits : TBits_1); inline;
  44592. begin
  44593. if thebits = 0 then
  44594. pTDefRegMap(@Self)^.clr := $00000040
  44595. else
  44596. pTDefRegMap(@Self)^.&set := $00000040;
  44597. end;
  44598. function TINT_IEC1.getI2C2ASIE : TBits_1; inline;
  44599. begin
  44600. getI2C2ASIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44601. end;
  44602. procedure TINT_IEC1.setI2C2AMIE; inline;
  44603. begin
  44604. pTDefRegMap(@Self)^.&set := $00000080;
  44605. end;
  44606. procedure TINT_IEC1.clearI2C2AMIE; inline;
  44607. begin
  44608. pTDefRegMap(@Self)^.clr := $00000080;
  44609. end;
  44610. procedure TINT_IEC1.setI2C2AMIE(thebits : TBits_1); inline;
  44611. begin
  44612. if thebits = 0 then
  44613. pTDefRegMap(@Self)^.clr := $00000080
  44614. else
  44615. pTDefRegMap(@Self)^.&set := $00000080;
  44616. end;
  44617. function TINT_IEC1.getI2C2AMIE : TBits_1; inline;
  44618. begin
  44619. getI2C2AMIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44620. end;
  44621. procedure TINT_IEC1.setI2C3ABIE; inline;
  44622. begin
  44623. pTDefRegMap(@Self)^.&set := $00000100;
  44624. end;
  44625. procedure TINT_IEC1.clearI2C3ABIE; inline;
  44626. begin
  44627. pTDefRegMap(@Self)^.clr := $00000100;
  44628. end;
  44629. procedure TINT_IEC1.setI2C3ABIE(thebits : TBits_1); inline;
  44630. begin
  44631. if thebits = 0 then
  44632. pTDefRegMap(@Self)^.clr := $00000100
  44633. else
  44634. pTDefRegMap(@Self)^.&set := $00000100;
  44635. end;
  44636. function TINT_IEC1.getI2C3ABIE : TBits_1; inline;
  44637. begin
  44638. getI2C3ABIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44639. end;
  44640. procedure TINT_IEC1.setI2C3ASIE; inline;
  44641. begin
  44642. pTDefRegMap(@Self)^.&set := $00000200;
  44643. end;
  44644. procedure TINT_IEC1.clearI2C3ASIE; inline;
  44645. begin
  44646. pTDefRegMap(@Self)^.clr := $00000200;
  44647. end;
  44648. procedure TINT_IEC1.setI2C3ASIE(thebits : TBits_1); inline;
  44649. begin
  44650. if thebits = 0 then
  44651. pTDefRegMap(@Self)^.clr := $00000200
  44652. else
  44653. pTDefRegMap(@Self)^.&set := $00000200;
  44654. end;
  44655. function TINT_IEC1.getI2C3ASIE : TBits_1; inline;
  44656. begin
  44657. getI2C3ASIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44658. end;
  44659. procedure TINT_IEC1.setI2C3AMIE; inline;
  44660. begin
  44661. pTDefRegMap(@Self)^.&set := $00000400;
  44662. end;
  44663. procedure TINT_IEC1.clearI2C3AMIE; inline;
  44664. begin
  44665. pTDefRegMap(@Self)^.clr := $00000400;
  44666. end;
  44667. procedure TINT_IEC1.setI2C3AMIE(thebits : TBits_1); inline;
  44668. begin
  44669. if thebits = 0 then
  44670. pTDefRegMap(@Self)^.clr := $00000400
  44671. else
  44672. pTDefRegMap(@Self)^.&set := $00000400;
  44673. end;
  44674. function TINT_IEC1.getI2C3AMIE : TBits_1; inline;
  44675. begin
  44676. getI2C3AMIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44677. end;
  44678. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  44679. begin
  44680. pTDefRegMap(@Self)^.val := thebits;
  44681. end;
  44682. function TINT_IEC1.getw : TBits_32; inline;
  44683. begin
  44684. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44685. end;
  44686. procedure TINT_IEC2.setIC4EIE; inline;
  44687. begin
  44688. pTDefRegMap(@Self)^.&set := $00000001;
  44689. end;
  44690. procedure TINT_IEC2.clearIC4EIE; inline;
  44691. begin
  44692. pTDefRegMap(@Self)^.clr := $00000001;
  44693. end;
  44694. procedure TINT_IEC2.setIC4EIE(thebits : TBits_1); inline;
  44695. begin
  44696. if thebits = 0 then
  44697. pTDefRegMap(@Self)^.clr := $00000001
  44698. else
  44699. pTDefRegMap(@Self)^.&set := $00000001;
  44700. end;
  44701. function TINT_IEC2.getIC4EIE : TBits_1; inline;
  44702. begin
  44703. getIC4EIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44704. end;
  44705. procedure TINT_IEC2.setIC5EIE; inline;
  44706. begin
  44707. pTDefRegMap(@Self)^.&set := $00000002;
  44708. end;
  44709. procedure TINT_IEC2.clearIC5EIE; inline;
  44710. begin
  44711. pTDefRegMap(@Self)^.clr := $00000002;
  44712. end;
  44713. procedure TINT_IEC2.setIC5EIE(thebits : TBits_1); inline;
  44714. begin
  44715. if thebits = 0 then
  44716. pTDefRegMap(@Self)^.clr := $00000002
  44717. else
  44718. pTDefRegMap(@Self)^.&set := $00000002;
  44719. end;
  44720. function TINT_IEC2.getIC5EIE : TBits_1; inline;
  44721. begin
  44722. getIC5EIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44723. end;
  44724. procedure TINT_IEC2.setPMPEIE; inline;
  44725. begin
  44726. pTDefRegMap(@Self)^.&set := $00000004;
  44727. end;
  44728. procedure TINT_IEC2.clearPMPEIE; inline;
  44729. begin
  44730. pTDefRegMap(@Self)^.clr := $00000004;
  44731. end;
  44732. procedure TINT_IEC2.setPMPEIE(thebits : TBits_1); inline;
  44733. begin
  44734. if thebits = 0 then
  44735. pTDefRegMap(@Self)^.clr := $00000004
  44736. else
  44737. pTDefRegMap(@Self)^.&set := $00000004;
  44738. end;
  44739. function TINT_IEC2.getPMPEIE : TBits_1; inline;
  44740. begin
  44741. getPMPEIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44742. end;
  44743. procedure TINT_IEC2.setU1BEIE; inline;
  44744. begin
  44745. pTDefRegMap(@Self)^.&set := $00000008;
  44746. end;
  44747. procedure TINT_IEC2.clearU1BEIE; inline;
  44748. begin
  44749. pTDefRegMap(@Self)^.clr := $00000008;
  44750. end;
  44751. procedure TINT_IEC2.setU1BEIE(thebits : TBits_1); inline;
  44752. begin
  44753. if thebits = 0 then
  44754. pTDefRegMap(@Self)^.clr := $00000008
  44755. else
  44756. pTDefRegMap(@Self)^.&set := $00000008;
  44757. end;
  44758. function TINT_IEC2.getU1BEIE : TBits_1; inline;
  44759. begin
  44760. getU1BEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44761. end;
  44762. procedure TINT_IEC2.setU1BRXIE; inline;
  44763. begin
  44764. pTDefRegMap(@Self)^.&set := $00000010;
  44765. end;
  44766. procedure TINT_IEC2.clearU1BRXIE; inline;
  44767. begin
  44768. pTDefRegMap(@Self)^.clr := $00000010;
  44769. end;
  44770. procedure TINT_IEC2.setU1BRXIE(thebits : TBits_1); inline;
  44771. begin
  44772. if thebits = 0 then
  44773. pTDefRegMap(@Self)^.clr := $00000010
  44774. else
  44775. pTDefRegMap(@Self)^.&set := $00000010;
  44776. end;
  44777. function TINT_IEC2.getU1BRXIE : TBits_1; inline;
  44778. begin
  44779. getU1BRXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44780. end;
  44781. procedure TINT_IEC2.setU1BTXIE; inline;
  44782. begin
  44783. pTDefRegMap(@Self)^.&set := $00000020;
  44784. end;
  44785. procedure TINT_IEC2.clearU1BTXIE; inline;
  44786. begin
  44787. pTDefRegMap(@Self)^.clr := $00000020;
  44788. end;
  44789. procedure TINT_IEC2.setU1BTXIE(thebits : TBits_1); inline;
  44790. begin
  44791. if thebits = 0 then
  44792. pTDefRegMap(@Self)^.clr := $00000020
  44793. else
  44794. pTDefRegMap(@Self)^.&set := $00000020;
  44795. end;
  44796. function TINT_IEC2.getU1BTXIE : TBits_1; inline;
  44797. begin
  44798. getU1BTXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44799. end;
  44800. procedure TINT_IEC2.setU2BEIE; inline;
  44801. begin
  44802. pTDefRegMap(@Self)^.&set := $00000040;
  44803. end;
  44804. procedure TINT_IEC2.clearU2BEIE; inline;
  44805. begin
  44806. pTDefRegMap(@Self)^.clr := $00000040;
  44807. end;
  44808. procedure TINT_IEC2.setU2BEIE(thebits : TBits_1); inline;
  44809. begin
  44810. if thebits = 0 then
  44811. pTDefRegMap(@Self)^.clr := $00000040
  44812. else
  44813. pTDefRegMap(@Self)^.&set := $00000040;
  44814. end;
  44815. function TINT_IEC2.getU2BEIE : TBits_1; inline;
  44816. begin
  44817. getU2BEIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44818. end;
  44819. procedure TINT_IEC2.setU2BRXIE; inline;
  44820. begin
  44821. pTDefRegMap(@Self)^.&set := $00000080;
  44822. end;
  44823. procedure TINT_IEC2.clearU2BRXIE; inline;
  44824. begin
  44825. pTDefRegMap(@Self)^.clr := $00000080;
  44826. end;
  44827. procedure TINT_IEC2.setU2BRXIE(thebits : TBits_1); inline;
  44828. begin
  44829. if thebits = 0 then
  44830. pTDefRegMap(@Self)^.clr := $00000080
  44831. else
  44832. pTDefRegMap(@Self)^.&set := $00000080;
  44833. end;
  44834. function TINT_IEC2.getU2BRXIE : TBits_1; inline;
  44835. begin
  44836. getU2BRXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44837. end;
  44838. procedure TINT_IEC2.setU2BTXIE; inline;
  44839. begin
  44840. pTDefRegMap(@Self)^.&set := $00000100;
  44841. end;
  44842. procedure TINT_IEC2.clearU2BTXIE; inline;
  44843. begin
  44844. pTDefRegMap(@Self)^.clr := $00000100;
  44845. end;
  44846. procedure TINT_IEC2.setU2BTXIE(thebits : TBits_1); inline;
  44847. begin
  44848. if thebits = 0 then
  44849. pTDefRegMap(@Self)^.clr := $00000100
  44850. else
  44851. pTDefRegMap(@Self)^.&set := $00000100;
  44852. end;
  44853. function TINT_IEC2.getU2BTXIE : TBits_1; inline;
  44854. begin
  44855. getU2BTXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44856. end;
  44857. procedure TINT_IEC2.setU3BEIE; inline;
  44858. begin
  44859. pTDefRegMap(@Self)^.&set := $00000200;
  44860. end;
  44861. procedure TINT_IEC2.clearU3BEIE; inline;
  44862. begin
  44863. pTDefRegMap(@Self)^.clr := $00000200;
  44864. end;
  44865. procedure TINT_IEC2.setU3BEIE(thebits : TBits_1); inline;
  44866. begin
  44867. if thebits = 0 then
  44868. pTDefRegMap(@Self)^.clr := $00000200
  44869. else
  44870. pTDefRegMap(@Self)^.&set := $00000200;
  44871. end;
  44872. function TINT_IEC2.getU3BEIE : TBits_1; inline;
  44873. begin
  44874. getU3BEIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44875. end;
  44876. procedure TINT_IEC2.setU3BRXIE; inline;
  44877. begin
  44878. pTDefRegMap(@Self)^.&set := $00000400;
  44879. end;
  44880. procedure TINT_IEC2.clearU3BRXIE; inline;
  44881. begin
  44882. pTDefRegMap(@Self)^.clr := $00000400;
  44883. end;
  44884. procedure TINT_IEC2.setU3BRXIE(thebits : TBits_1); inline;
  44885. begin
  44886. if thebits = 0 then
  44887. pTDefRegMap(@Self)^.clr := $00000400
  44888. else
  44889. pTDefRegMap(@Self)^.&set := $00000400;
  44890. end;
  44891. function TINT_IEC2.getU3BRXIE : TBits_1; inline;
  44892. begin
  44893. getU3BRXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44894. end;
  44895. procedure TINT_IEC2.setU3BTXIE; inline;
  44896. begin
  44897. pTDefRegMap(@Self)^.&set := $00000800;
  44898. end;
  44899. procedure TINT_IEC2.clearU3BTXIE; inline;
  44900. begin
  44901. pTDefRegMap(@Self)^.clr := $00000800;
  44902. end;
  44903. procedure TINT_IEC2.setU3BTXIE(thebits : TBits_1); inline;
  44904. begin
  44905. if thebits = 0 then
  44906. pTDefRegMap(@Self)^.clr := $00000800
  44907. else
  44908. pTDefRegMap(@Self)^.&set := $00000800;
  44909. end;
  44910. function TINT_IEC2.getU3BTXIE : TBits_1; inline;
  44911. begin
  44912. getU3BTXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44913. end;
  44914. procedure TINT_IEC2.setU4EIE; inline;
  44915. begin
  44916. pTDefRegMap(@Self)^.&set := $00000008;
  44917. end;
  44918. procedure TINT_IEC2.clearU4EIE; inline;
  44919. begin
  44920. pTDefRegMap(@Self)^.clr := $00000008;
  44921. end;
  44922. procedure TINT_IEC2.setU4EIE(thebits : TBits_1); inline;
  44923. begin
  44924. if thebits = 0 then
  44925. pTDefRegMap(@Self)^.clr := $00000008
  44926. else
  44927. pTDefRegMap(@Self)^.&set := $00000008;
  44928. end;
  44929. function TINT_IEC2.getU4EIE : TBits_1; inline;
  44930. begin
  44931. getU4EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44932. end;
  44933. procedure TINT_IEC2.setU4RXIE; inline;
  44934. begin
  44935. pTDefRegMap(@Self)^.&set := $00000010;
  44936. end;
  44937. procedure TINT_IEC2.clearU4RXIE; inline;
  44938. begin
  44939. pTDefRegMap(@Self)^.clr := $00000010;
  44940. end;
  44941. procedure TINT_IEC2.setU4RXIE(thebits : TBits_1); inline;
  44942. begin
  44943. if thebits = 0 then
  44944. pTDefRegMap(@Self)^.clr := $00000010
  44945. else
  44946. pTDefRegMap(@Self)^.&set := $00000010;
  44947. end;
  44948. function TINT_IEC2.getU4RXIE : TBits_1; inline;
  44949. begin
  44950. getU4RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44951. end;
  44952. procedure TINT_IEC2.setU4TXIE; inline;
  44953. begin
  44954. pTDefRegMap(@Self)^.&set := $00000020;
  44955. end;
  44956. procedure TINT_IEC2.clearU4TXIE; inline;
  44957. begin
  44958. pTDefRegMap(@Self)^.clr := $00000020;
  44959. end;
  44960. procedure TINT_IEC2.setU4TXIE(thebits : TBits_1); inline;
  44961. begin
  44962. if thebits = 0 then
  44963. pTDefRegMap(@Self)^.clr := $00000020
  44964. else
  44965. pTDefRegMap(@Self)^.&set := $00000020;
  44966. end;
  44967. function TINT_IEC2.getU4TXIE : TBits_1; inline;
  44968. begin
  44969. getU4TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44970. end;
  44971. procedure TINT_IEC2.setU6EIE; inline;
  44972. begin
  44973. pTDefRegMap(@Self)^.&set := $00000040;
  44974. end;
  44975. procedure TINT_IEC2.clearU6EIE; inline;
  44976. begin
  44977. pTDefRegMap(@Self)^.clr := $00000040;
  44978. end;
  44979. procedure TINT_IEC2.setU6EIE(thebits : TBits_1); inline;
  44980. begin
  44981. if thebits = 0 then
  44982. pTDefRegMap(@Self)^.clr := $00000040
  44983. else
  44984. pTDefRegMap(@Self)^.&set := $00000040;
  44985. end;
  44986. function TINT_IEC2.getU6EIE : TBits_1; inline;
  44987. begin
  44988. getU6EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44989. end;
  44990. procedure TINT_IEC2.setU6RXIE; inline;
  44991. begin
  44992. pTDefRegMap(@Self)^.&set := $00000080;
  44993. end;
  44994. procedure TINT_IEC2.clearU6RXIE; inline;
  44995. begin
  44996. pTDefRegMap(@Self)^.clr := $00000080;
  44997. end;
  44998. procedure TINT_IEC2.setU6RXIE(thebits : TBits_1); inline;
  44999. begin
  45000. if thebits = 0 then
  45001. pTDefRegMap(@Self)^.clr := $00000080
  45002. else
  45003. pTDefRegMap(@Self)^.&set := $00000080;
  45004. end;
  45005. function TINT_IEC2.getU6RXIE : TBits_1; inline;
  45006. begin
  45007. getU6RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45008. end;
  45009. procedure TINT_IEC2.setU6TXIE; inline;
  45010. begin
  45011. pTDefRegMap(@Self)^.&set := $00000100;
  45012. end;
  45013. procedure TINT_IEC2.clearU6TXIE; inline;
  45014. begin
  45015. pTDefRegMap(@Self)^.clr := $00000100;
  45016. end;
  45017. procedure TINT_IEC2.setU6TXIE(thebits : TBits_1); inline;
  45018. begin
  45019. if thebits = 0 then
  45020. pTDefRegMap(@Self)^.clr := $00000100
  45021. else
  45022. pTDefRegMap(@Self)^.&set := $00000100;
  45023. end;
  45024. function TINT_IEC2.getU6TXIE : TBits_1; inline;
  45025. begin
  45026. getU6TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45027. end;
  45028. procedure TINT_IEC2.setU5EIE; inline;
  45029. begin
  45030. pTDefRegMap(@Self)^.&set := $00000200;
  45031. end;
  45032. procedure TINT_IEC2.clearU5EIE; inline;
  45033. begin
  45034. pTDefRegMap(@Self)^.clr := $00000200;
  45035. end;
  45036. procedure TINT_IEC2.setU5EIE(thebits : TBits_1); inline;
  45037. begin
  45038. if thebits = 0 then
  45039. pTDefRegMap(@Self)^.clr := $00000200
  45040. else
  45041. pTDefRegMap(@Self)^.&set := $00000200;
  45042. end;
  45043. function TINT_IEC2.getU5EIE : TBits_1; inline;
  45044. begin
  45045. getU5EIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45046. end;
  45047. procedure TINT_IEC2.setU5RXIE; inline;
  45048. begin
  45049. pTDefRegMap(@Self)^.&set := $00000400;
  45050. end;
  45051. procedure TINT_IEC2.clearU5RXIE; inline;
  45052. begin
  45053. pTDefRegMap(@Self)^.clr := $00000400;
  45054. end;
  45055. procedure TINT_IEC2.setU5RXIE(thebits : TBits_1); inline;
  45056. begin
  45057. if thebits = 0 then
  45058. pTDefRegMap(@Self)^.clr := $00000400
  45059. else
  45060. pTDefRegMap(@Self)^.&set := $00000400;
  45061. end;
  45062. function TINT_IEC2.getU5RXIE : TBits_1; inline;
  45063. begin
  45064. getU5RXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45065. end;
  45066. procedure TINT_IEC2.setU5TXIE; inline;
  45067. begin
  45068. pTDefRegMap(@Self)^.&set := $00000800;
  45069. end;
  45070. procedure TINT_IEC2.clearU5TXIE; inline;
  45071. begin
  45072. pTDefRegMap(@Self)^.clr := $00000800;
  45073. end;
  45074. procedure TINT_IEC2.setU5TXIE(thebits : TBits_1); inline;
  45075. begin
  45076. if thebits = 0 then
  45077. pTDefRegMap(@Self)^.clr := $00000800
  45078. else
  45079. pTDefRegMap(@Self)^.&set := $00000800;
  45080. end;
  45081. function TINT_IEC2.getU5TXIE : TBits_1; inline;
  45082. begin
  45083. getU5TXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45084. end;
  45085. procedure TINT_IEC2.setw(thebits : TBits_32); inline;
  45086. begin
  45087. pTDefRegMap(@Self)^.val := thebits;
  45088. end;
  45089. function TINT_IEC2.getw : TBits_32; inline;
  45090. begin
  45091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45092. end;
  45093. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  45094. begin
  45095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45096. end;
  45097. function TINT_IPC0.getCTIS : TBits_2; inline;
  45098. begin
  45099. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45100. end;
  45101. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  45102. begin
  45103. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45104. end;
  45105. function TINT_IPC0.getCTIP : TBits_3; inline;
  45106. begin
  45107. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45108. end;
  45109. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  45110. begin
  45111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45112. end;
  45113. function TINT_IPC0.getCS0IS : TBits_2; inline;
  45114. begin
  45115. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45116. end;
  45117. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  45118. begin
  45119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45120. end;
  45121. function TINT_IPC0.getCS0IP : TBits_3; inline;
  45122. begin
  45123. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45124. end;
  45125. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  45126. begin
  45127. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45128. end;
  45129. function TINT_IPC0.getCS1IS : TBits_2; inline;
  45130. begin
  45131. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45132. end;
  45133. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  45134. begin
  45135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45136. end;
  45137. function TINT_IPC0.getCS1IP : TBits_3; inline;
  45138. begin
  45139. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45140. end;
  45141. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  45142. begin
  45143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45144. end;
  45145. function TINT_IPC0.getINT0IS : TBits_2; inline;
  45146. begin
  45147. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45148. end;
  45149. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  45150. begin
  45151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45152. end;
  45153. function TINT_IPC0.getINT0IP : TBits_3; inline;
  45154. begin
  45155. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45156. end;
  45157. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  45158. begin
  45159. pTDefRegMap(@Self)^.val := thebits;
  45160. end;
  45161. function TINT_IPC0.getw : TBits_32; inline;
  45162. begin
  45163. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45164. end;
  45165. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  45166. begin
  45167. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45168. end;
  45169. function TINT_IPC1.getT1IS : TBits_2; inline;
  45170. begin
  45171. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45172. end;
  45173. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  45174. begin
  45175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45176. end;
  45177. function TINT_IPC1.getT1IP : TBits_3; inline;
  45178. begin
  45179. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45180. end;
  45181. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  45182. begin
  45183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45184. end;
  45185. function TINT_IPC1.getIC1IS : TBits_2; inline;
  45186. begin
  45187. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45188. end;
  45189. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  45190. begin
  45191. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45192. end;
  45193. function TINT_IPC1.getIC1IP : TBits_3; inline;
  45194. begin
  45195. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45196. end;
  45197. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  45198. begin
  45199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45200. end;
  45201. function TINT_IPC1.getOC1IS : TBits_2; inline;
  45202. begin
  45203. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45204. end;
  45205. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  45206. begin
  45207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45208. end;
  45209. function TINT_IPC1.getOC1IP : TBits_3; inline;
  45210. begin
  45211. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45212. end;
  45213. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  45214. begin
  45215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45216. end;
  45217. function TINT_IPC1.getINT1IS : TBits_2; inline;
  45218. begin
  45219. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45220. end;
  45221. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  45222. begin
  45223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45224. end;
  45225. function TINT_IPC1.getINT1IP : TBits_3; inline;
  45226. begin
  45227. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45228. end;
  45229. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  45230. begin
  45231. pTDefRegMap(@Self)^.val := thebits;
  45232. end;
  45233. function TINT_IPC1.getw : TBits_32; inline;
  45234. begin
  45235. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45236. end;
  45237. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  45238. begin
  45239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45240. end;
  45241. function TINT_IPC2.getT2IS : TBits_2; inline;
  45242. begin
  45243. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45244. end;
  45245. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  45246. begin
  45247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45248. end;
  45249. function TINT_IPC2.getT2IP : TBits_3; inline;
  45250. begin
  45251. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45252. end;
  45253. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  45254. begin
  45255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45256. end;
  45257. function TINT_IPC2.getIC2IS : TBits_2; inline;
  45258. begin
  45259. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45260. end;
  45261. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  45262. begin
  45263. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45264. end;
  45265. function TINT_IPC2.getIC2IP : TBits_3; inline;
  45266. begin
  45267. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45268. end;
  45269. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  45270. begin
  45271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45272. end;
  45273. function TINT_IPC2.getOC2IS : TBits_2; inline;
  45274. begin
  45275. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45276. end;
  45277. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  45278. begin
  45279. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45280. end;
  45281. function TINT_IPC2.getOC2IP : TBits_3; inline;
  45282. begin
  45283. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45284. end;
  45285. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  45286. begin
  45287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45288. end;
  45289. function TINT_IPC2.getINT2IS : TBits_2; inline;
  45290. begin
  45291. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45292. end;
  45293. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  45294. begin
  45295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45296. end;
  45297. function TINT_IPC2.getINT2IP : TBits_3; inline;
  45298. begin
  45299. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45300. end;
  45301. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  45302. begin
  45303. pTDefRegMap(@Self)^.val := thebits;
  45304. end;
  45305. function TINT_IPC2.getw : TBits_32; inline;
  45306. begin
  45307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45308. end;
  45309. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  45310. begin
  45311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45312. end;
  45313. function TINT_IPC3.getT3IS : TBits_2; inline;
  45314. begin
  45315. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45316. end;
  45317. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  45318. begin
  45319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45320. end;
  45321. function TINT_IPC3.getT3IP : TBits_3; inline;
  45322. begin
  45323. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45324. end;
  45325. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  45326. begin
  45327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45328. end;
  45329. function TINT_IPC3.getIC3IS : TBits_2; inline;
  45330. begin
  45331. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45332. end;
  45333. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  45334. begin
  45335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45336. end;
  45337. function TINT_IPC3.getIC3IP : TBits_3; inline;
  45338. begin
  45339. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45340. end;
  45341. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  45342. begin
  45343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45344. end;
  45345. function TINT_IPC3.getOC3IS : TBits_2; inline;
  45346. begin
  45347. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45348. end;
  45349. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  45350. begin
  45351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45352. end;
  45353. function TINT_IPC3.getOC3IP : TBits_3; inline;
  45354. begin
  45355. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45356. end;
  45357. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  45358. begin
  45359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45360. end;
  45361. function TINT_IPC3.getINT3IS : TBits_2; inline;
  45362. begin
  45363. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45364. end;
  45365. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  45366. begin
  45367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45368. end;
  45369. function TINT_IPC3.getINT3IP : TBits_3; inline;
  45370. begin
  45371. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45372. end;
  45373. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  45374. begin
  45375. pTDefRegMap(@Self)^.val := thebits;
  45376. end;
  45377. function TINT_IPC3.getw : TBits_32; inline;
  45378. begin
  45379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45380. end;
  45381. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  45382. begin
  45383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45384. end;
  45385. function TINT_IPC4.getT4IS : TBits_2; inline;
  45386. begin
  45387. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45388. end;
  45389. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  45390. begin
  45391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45392. end;
  45393. function TINT_IPC4.getT4IP : TBits_3; inline;
  45394. begin
  45395. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45396. end;
  45397. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  45398. begin
  45399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45400. end;
  45401. function TINT_IPC4.getIC4IS : TBits_2; inline;
  45402. begin
  45403. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45404. end;
  45405. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  45406. begin
  45407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45408. end;
  45409. function TINT_IPC4.getIC4IP : TBits_3; inline;
  45410. begin
  45411. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45412. end;
  45413. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  45414. begin
  45415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45416. end;
  45417. function TINT_IPC4.getOC4IS : TBits_2; inline;
  45418. begin
  45419. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45420. end;
  45421. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  45422. begin
  45423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45424. end;
  45425. function TINT_IPC4.getOC4IP : TBits_3; inline;
  45426. begin
  45427. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45428. end;
  45429. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  45430. begin
  45431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45432. end;
  45433. function TINT_IPC4.getINT4IS : TBits_2; inline;
  45434. begin
  45435. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45436. end;
  45437. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  45438. begin
  45439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45440. end;
  45441. function TINT_IPC4.getINT4IP : TBits_3; inline;
  45442. begin
  45443. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45444. end;
  45445. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  45446. begin
  45447. pTDefRegMap(@Self)^.val := thebits;
  45448. end;
  45449. function TINT_IPC4.getw : TBits_32; inline;
  45450. begin
  45451. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45452. end;
  45453. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  45454. begin
  45455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45456. end;
  45457. function TINT_IPC5.getT5IS : TBits_2; inline;
  45458. begin
  45459. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45460. end;
  45461. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  45462. begin
  45463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45464. end;
  45465. function TINT_IPC5.getT5IP : TBits_3; inline;
  45466. begin
  45467. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45468. end;
  45469. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  45470. begin
  45471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45472. end;
  45473. function TINT_IPC5.getIC5IS : TBits_2; inline;
  45474. begin
  45475. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45476. end;
  45477. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  45478. begin
  45479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45480. end;
  45481. function TINT_IPC5.getIC5IP : TBits_3; inline;
  45482. begin
  45483. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45484. end;
  45485. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  45486. begin
  45487. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45488. end;
  45489. function TINT_IPC5.getOC5IS : TBits_2; inline;
  45490. begin
  45491. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45492. end;
  45493. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  45494. begin
  45495. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45496. end;
  45497. function TINT_IPC5.getOC5IP : TBits_3; inline;
  45498. begin
  45499. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45500. end;
  45501. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  45502. begin
  45503. pTDefRegMap(@Self)^.val := thebits;
  45504. end;
  45505. function TINT_IPC5.getw : TBits_32; inline;
  45506. begin
  45507. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45508. end;
  45509. procedure TINT_IPC6.setU1IS(thebits : TBits_2); inline;
  45510. begin
  45511. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45512. end;
  45513. function TINT_IPC6.getU1IS : TBits_2; inline;
  45514. begin
  45515. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45516. end;
  45517. procedure TINT_IPC6.setU1IP(thebits : TBits_3); inline;
  45518. begin
  45519. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45520. end;
  45521. function TINT_IPC6.getU1IP : TBits_3; inline;
  45522. begin
  45523. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45524. end;
  45525. procedure TINT_IPC6.setI2C1IS(thebits : TBits_2); inline;
  45526. begin
  45527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45528. end;
  45529. function TINT_IPC6.getI2C1IS : TBits_2; inline;
  45530. begin
  45531. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45532. end;
  45533. procedure TINT_IPC6.setI2C1IP(thebits : TBits_3); inline;
  45534. begin
  45535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45536. end;
  45537. function TINT_IPC6.getI2C1IP : TBits_3; inline;
  45538. begin
  45539. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45540. end;
  45541. procedure TINT_IPC6.setCNIS(thebits : TBits_2); inline;
  45542. begin
  45543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45544. end;
  45545. function TINT_IPC6.getCNIS : TBits_2; inline;
  45546. begin
  45547. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45548. end;
  45549. procedure TINT_IPC6.setCNIP(thebits : TBits_3); inline;
  45550. begin
  45551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45552. end;
  45553. function TINT_IPC6.getCNIP : TBits_3; inline;
  45554. begin
  45555. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45556. end;
  45557. procedure TINT_IPC6.setAD1IS(thebits : TBits_2); inline;
  45558. begin
  45559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45560. end;
  45561. function TINT_IPC6.getAD1IS : TBits_2; inline;
  45562. begin
  45563. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45564. end;
  45565. procedure TINT_IPC6.setAD1IP(thebits : TBits_3); inline;
  45566. begin
  45567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45568. end;
  45569. function TINT_IPC6.getAD1IP : TBits_3; inline;
  45570. begin
  45571. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45572. end;
  45573. procedure TINT_IPC6.setU1AIS(thebits : TBits_2); inline;
  45574. begin
  45575. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45576. end;
  45577. function TINT_IPC6.getU1AIS : TBits_2; inline;
  45578. begin
  45579. getU1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45580. end;
  45581. procedure TINT_IPC6.setU1AIP(thebits : TBits_3); inline;
  45582. begin
  45583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45584. end;
  45585. function TINT_IPC6.getU1AIP : TBits_3; inline;
  45586. begin
  45587. getU1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45588. end;
  45589. procedure TINT_IPC6.setSPI3IS(thebits : TBits_2); inline;
  45590. begin
  45591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45592. end;
  45593. function TINT_IPC6.getSPI3IS : TBits_2; inline;
  45594. begin
  45595. getSPI3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45596. end;
  45597. procedure TINT_IPC6.setSPI3IP(thebits : TBits_3); inline;
  45598. begin
  45599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45600. end;
  45601. function TINT_IPC6.getSPI3IP : TBits_3; inline;
  45602. begin
  45603. getSPI3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45604. end;
  45605. procedure TINT_IPC6.setSPI1AIS(thebits : TBits_2); inline;
  45606. begin
  45607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45608. end;
  45609. function TINT_IPC6.getSPI1AIS : TBits_2; inline;
  45610. begin
  45611. getSPI1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45612. end;
  45613. procedure TINT_IPC6.setSPI1AIP(thebits : TBits_3); inline;
  45614. begin
  45615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45616. end;
  45617. function TINT_IPC6.getSPI1AIP : TBits_3; inline;
  45618. begin
  45619. getSPI1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45620. end;
  45621. procedure TINT_IPC6.setI2C3IS(thebits : TBits_2); inline;
  45622. begin
  45623. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45624. end;
  45625. function TINT_IPC6.getI2C3IS : TBits_2; inline;
  45626. begin
  45627. getI2C3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45628. end;
  45629. procedure TINT_IPC6.setI2C3IP(thebits : TBits_3); inline;
  45630. begin
  45631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45632. end;
  45633. function TINT_IPC6.getI2C3IP : TBits_3; inline;
  45634. begin
  45635. getI2C3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45636. end;
  45637. procedure TINT_IPC6.setI2C1AIS(thebits : TBits_2); inline;
  45638. begin
  45639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45640. end;
  45641. function TINT_IPC6.getI2C1AIS : TBits_2; inline;
  45642. begin
  45643. getI2C1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45644. end;
  45645. procedure TINT_IPC6.setI2C1AIP(thebits : TBits_3); inline;
  45646. begin
  45647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45648. end;
  45649. function TINT_IPC6.getI2C1AIP : TBits_3; inline;
  45650. begin
  45651. getI2C1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45652. end;
  45653. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  45654. begin
  45655. pTDefRegMap(@Self)^.val := thebits;
  45656. end;
  45657. function TINT_IPC6.getw : TBits_32; inline;
  45658. begin
  45659. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45660. end;
  45661. procedure TINT_IPC7.setPMPIS(thebits : TBits_2); inline;
  45662. begin
  45663. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45664. end;
  45665. function TINT_IPC7.getPMPIS : TBits_2; inline;
  45666. begin
  45667. getPMPIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45668. end;
  45669. procedure TINT_IPC7.setPMPIP(thebits : TBits_3); inline;
  45670. begin
  45671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45672. end;
  45673. function TINT_IPC7.getPMPIP : TBits_3; inline;
  45674. begin
  45675. getPMPIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45676. end;
  45677. procedure TINT_IPC7.setCMP1IS(thebits : TBits_2); inline;
  45678. begin
  45679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45680. end;
  45681. function TINT_IPC7.getCMP1IS : TBits_2; inline;
  45682. begin
  45683. getCMP1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45684. end;
  45685. procedure TINT_IPC7.setCMP1IP(thebits : TBits_3); inline;
  45686. begin
  45687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45688. end;
  45689. function TINT_IPC7.getCMP1IP : TBits_3; inline;
  45690. begin
  45691. getCMP1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45692. end;
  45693. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  45694. begin
  45695. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45696. end;
  45697. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  45698. begin
  45699. getCMP2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45700. end;
  45701. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  45702. begin
  45703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45704. end;
  45705. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  45706. begin
  45707. getCMP2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45708. end;
  45709. procedure TINT_IPC7.setU3IS(thebits : TBits_2); inline;
  45710. begin
  45711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45712. end;
  45713. function TINT_IPC7.getU3IS : TBits_2; inline;
  45714. begin
  45715. getU3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45716. end;
  45717. procedure TINT_IPC7.setU3IP(thebits : TBits_3); inline;
  45718. begin
  45719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45720. end;
  45721. function TINT_IPC7.getU3IP : TBits_3; inline;
  45722. begin
  45723. getU3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45724. end;
  45725. procedure TINT_IPC7.setU2AIS(thebits : TBits_2); inline;
  45726. begin
  45727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45728. end;
  45729. function TINT_IPC7.getU2AIS : TBits_2; inline;
  45730. begin
  45731. getU2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45732. end;
  45733. procedure TINT_IPC7.setU2AIP(thebits : TBits_3); inline;
  45734. begin
  45735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45736. end;
  45737. function TINT_IPC7.getU2AIP : TBits_3; inline;
  45738. begin
  45739. getU2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45740. end;
  45741. procedure TINT_IPC7.setSPI2IS(thebits : TBits_2); inline;
  45742. begin
  45743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45744. end;
  45745. function TINT_IPC7.getSPI2IS : TBits_2; inline;
  45746. begin
  45747. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45748. end;
  45749. procedure TINT_IPC7.setSPI2IP(thebits : TBits_3); inline;
  45750. begin
  45751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45752. end;
  45753. function TINT_IPC7.getSPI2IP : TBits_3; inline;
  45754. begin
  45755. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45756. end;
  45757. procedure TINT_IPC7.setSPI2AIS(thebits : TBits_2); inline;
  45758. begin
  45759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45760. end;
  45761. function TINT_IPC7.getSPI2AIS : TBits_2; inline;
  45762. begin
  45763. getSPI2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45764. end;
  45765. procedure TINT_IPC7.setSPI2AIP(thebits : TBits_3); inline;
  45766. begin
  45767. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45768. end;
  45769. function TINT_IPC7.getSPI2AIP : TBits_3; inline;
  45770. begin
  45771. getSPI2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45772. end;
  45773. procedure TINT_IPC7.setI2C4IS(thebits : TBits_2); inline;
  45774. begin
  45775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45776. end;
  45777. function TINT_IPC7.getI2C4IS : TBits_2; inline;
  45778. begin
  45779. getI2C4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45780. end;
  45781. procedure TINT_IPC7.setI2C4IP(thebits : TBits_3); inline;
  45782. begin
  45783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45784. end;
  45785. function TINT_IPC7.getI2C4IP : TBits_3; inline;
  45786. begin
  45787. getI2C4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45788. end;
  45789. procedure TINT_IPC7.setI2C2AIS(thebits : TBits_2); inline;
  45790. begin
  45791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45792. end;
  45793. function TINT_IPC7.getI2C2AIS : TBits_2; inline;
  45794. begin
  45795. getI2C2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45796. end;
  45797. procedure TINT_IPC7.setI2C2AIP(thebits : TBits_3); inline;
  45798. begin
  45799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45800. end;
  45801. function TINT_IPC7.getI2C2AIP : TBits_3; inline;
  45802. begin
  45803. getI2C2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45804. end;
  45805. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  45806. begin
  45807. pTDefRegMap(@Self)^.val := thebits;
  45808. end;
  45809. function TINT_IPC7.getw : TBits_32; inline;
  45810. begin
  45811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45812. end;
  45813. procedure TINT_IPC8.setU2IS(thebits : TBits_2); inline;
  45814. begin
  45815. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45816. end;
  45817. function TINT_IPC8.getU2IS : TBits_2; inline;
  45818. begin
  45819. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45820. end;
  45821. procedure TINT_IPC8.setU2IP(thebits : TBits_3); inline;
  45822. begin
  45823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45824. end;
  45825. function TINT_IPC8.getU2IP : TBits_3; inline;
  45826. begin
  45827. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45828. end;
  45829. procedure TINT_IPC8.setFSCMIS(thebits : TBits_2); inline;
  45830. begin
  45831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45832. end;
  45833. function TINT_IPC8.getFSCMIS : TBits_2; inline;
  45834. begin
  45835. getFSCMIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45836. end;
  45837. procedure TINT_IPC8.setFSCMIP(thebits : TBits_3); inline;
  45838. begin
  45839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45840. end;
  45841. function TINT_IPC8.getFSCMIP : TBits_3; inline;
  45842. begin
  45843. getFSCMIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45844. end;
  45845. procedure TINT_IPC8.setRTCCIS(thebits : TBits_2); inline;
  45846. begin
  45847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45848. end;
  45849. function TINT_IPC8.getRTCCIS : TBits_2; inline;
  45850. begin
  45851. getRTCCIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45852. end;
  45853. procedure TINT_IPC8.setRTCCIP(thebits : TBits_3); inline;
  45854. begin
  45855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45856. end;
  45857. function TINT_IPC8.getRTCCIP : TBits_3; inline;
  45858. begin
  45859. getRTCCIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45860. end;
  45861. procedure TINT_IPC8.setU3AIS(thebits : TBits_2); inline;
  45862. begin
  45863. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45864. end;
  45865. function TINT_IPC8.getU3AIS : TBits_2; inline;
  45866. begin
  45867. getU3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45868. end;
  45869. procedure TINT_IPC8.setU3AIP(thebits : TBits_3); inline;
  45870. begin
  45871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45872. end;
  45873. function TINT_IPC8.getU3AIP : TBits_3; inline;
  45874. begin
  45875. getU3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45876. end;
  45877. procedure TINT_IPC8.setSPI4IS(thebits : TBits_2); inline;
  45878. begin
  45879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45880. end;
  45881. function TINT_IPC8.getSPI4IS : TBits_2; inline;
  45882. begin
  45883. getSPI4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45884. end;
  45885. procedure TINT_IPC8.setSPI4IP(thebits : TBits_3); inline;
  45886. begin
  45887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45888. end;
  45889. function TINT_IPC8.getSPI4IP : TBits_3; inline;
  45890. begin
  45891. getSPI4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45892. end;
  45893. procedure TINT_IPC8.setSPI3AIS(thebits : TBits_2); inline;
  45894. begin
  45895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45896. end;
  45897. function TINT_IPC8.getSPI3AIS : TBits_2; inline;
  45898. begin
  45899. getSPI3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45900. end;
  45901. procedure TINT_IPC8.setSPI3AIP(thebits : TBits_3); inline;
  45902. begin
  45903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45904. end;
  45905. function TINT_IPC8.getSPI3AIP : TBits_3; inline;
  45906. begin
  45907. getSPI3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45908. end;
  45909. procedure TINT_IPC8.setI2C5IS(thebits : TBits_2); inline;
  45910. begin
  45911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45912. end;
  45913. function TINT_IPC8.getI2C5IS : TBits_2; inline;
  45914. begin
  45915. getI2C5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45916. end;
  45917. procedure TINT_IPC8.setI2C5IP(thebits : TBits_3); inline;
  45918. begin
  45919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45920. end;
  45921. function TINT_IPC8.getI2C5IP : TBits_3; inline;
  45922. begin
  45923. getI2C5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45924. end;
  45925. procedure TINT_IPC8.setI2C3AIS(thebits : TBits_2); inline;
  45926. begin
  45927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45928. end;
  45929. function TINT_IPC8.getI2C3AIS : TBits_2; inline;
  45930. begin
  45931. getI2C3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45932. end;
  45933. procedure TINT_IPC8.setI2C3AIP(thebits : TBits_3); inline;
  45934. begin
  45935. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45936. end;
  45937. function TINT_IPC8.getI2C3AIP : TBits_3; inline;
  45938. begin
  45939. getI2C3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45940. end;
  45941. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  45942. begin
  45943. pTDefRegMap(@Self)^.val := thebits;
  45944. end;
  45945. function TINT_IPC8.getw : TBits_32; inline;
  45946. begin
  45947. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45948. end;
  45949. procedure TINT_IPC9.setDMA0IS(thebits : TBits_2); inline;
  45950. begin
  45951. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45952. end;
  45953. function TINT_IPC9.getDMA0IS : TBits_2; inline;
  45954. begin
  45955. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45956. end;
  45957. procedure TINT_IPC9.setDMA0IP(thebits : TBits_3); inline;
  45958. begin
  45959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45960. end;
  45961. function TINT_IPC9.getDMA0IP : TBits_3; inline;
  45962. begin
  45963. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45964. end;
  45965. procedure TINT_IPC9.setDMA1IS(thebits : TBits_2); inline;
  45966. begin
  45967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45968. end;
  45969. function TINT_IPC9.getDMA1IS : TBits_2; inline;
  45970. begin
  45971. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45972. end;
  45973. procedure TINT_IPC9.setDMA1IP(thebits : TBits_3); inline;
  45974. begin
  45975. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45976. end;
  45977. function TINT_IPC9.getDMA1IP : TBits_3; inline;
  45978. begin
  45979. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45980. end;
  45981. procedure TINT_IPC9.setDMA2IS(thebits : TBits_2); inline;
  45982. begin
  45983. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45984. end;
  45985. function TINT_IPC9.getDMA2IS : TBits_2; inline;
  45986. begin
  45987. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45988. end;
  45989. procedure TINT_IPC9.setDMA2IP(thebits : TBits_3); inline;
  45990. begin
  45991. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45992. end;
  45993. function TINT_IPC9.getDMA2IP : TBits_3; inline;
  45994. begin
  45995. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45996. end;
  45997. procedure TINT_IPC9.setDMA3IS(thebits : TBits_2); inline;
  45998. begin
  45999. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46000. end;
  46001. function TINT_IPC9.getDMA3IS : TBits_2; inline;
  46002. begin
  46003. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46004. end;
  46005. procedure TINT_IPC9.setDMA3IP(thebits : TBits_3); inline;
  46006. begin
  46007. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46008. end;
  46009. function TINT_IPC9.getDMA3IP : TBits_3; inline;
  46010. begin
  46011. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46012. end;
  46013. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  46014. begin
  46015. pTDefRegMap(@Self)^.val := thebits;
  46016. end;
  46017. function TINT_IPC9.getw : TBits_32; inline;
  46018. begin
  46019. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46020. end;
  46021. procedure TINT_IPC10.setDMA4IS(thebits : TBits_2); inline;
  46022. begin
  46023. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46024. end;
  46025. function TINT_IPC10.getDMA4IS : TBits_2; inline;
  46026. begin
  46027. getDMA4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46028. end;
  46029. procedure TINT_IPC10.setDMA4IP(thebits : TBits_3); inline;
  46030. begin
  46031. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46032. end;
  46033. function TINT_IPC10.getDMA4IP : TBits_3; inline;
  46034. begin
  46035. getDMA4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46036. end;
  46037. procedure TINT_IPC10.setDMA5IS(thebits : TBits_2); inline;
  46038. begin
  46039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46040. end;
  46041. function TINT_IPC10.getDMA5IS : TBits_2; inline;
  46042. begin
  46043. getDMA5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46044. end;
  46045. procedure TINT_IPC10.setDMA5IP(thebits : TBits_3); inline;
  46046. begin
  46047. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46048. end;
  46049. function TINT_IPC10.getDMA5IP : TBits_3; inline;
  46050. begin
  46051. getDMA5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46052. end;
  46053. procedure TINT_IPC10.setDMA6IS(thebits : TBits_2); inline;
  46054. begin
  46055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46056. end;
  46057. function TINT_IPC10.getDMA6IS : TBits_2; inline;
  46058. begin
  46059. getDMA6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46060. end;
  46061. procedure TINT_IPC10.setDMA6IP(thebits : TBits_3); inline;
  46062. begin
  46063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46064. end;
  46065. function TINT_IPC10.getDMA6IP : TBits_3; inline;
  46066. begin
  46067. getDMA6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46068. end;
  46069. procedure TINT_IPC10.setDMA7IS(thebits : TBits_2); inline;
  46070. begin
  46071. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46072. end;
  46073. function TINT_IPC10.getDMA7IS : TBits_2; inline;
  46074. begin
  46075. getDMA7IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46076. end;
  46077. procedure TINT_IPC10.setDMA7IP(thebits : TBits_3); inline;
  46078. begin
  46079. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46080. end;
  46081. function TINT_IPC10.getDMA7IP : TBits_3; inline;
  46082. begin
  46083. getDMA7IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46084. end;
  46085. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  46086. begin
  46087. pTDefRegMap(@Self)^.val := thebits;
  46088. end;
  46089. function TINT_IPC10.getw : TBits_32; inline;
  46090. begin
  46091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46092. end;
  46093. procedure TINT_IPC11.setFCEIS(thebits : TBits_2); inline;
  46094. begin
  46095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46096. end;
  46097. function TINT_IPC11.getFCEIS : TBits_2; inline;
  46098. begin
  46099. getFCEIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46100. end;
  46101. procedure TINT_IPC11.setFCEIP(thebits : TBits_3); inline;
  46102. begin
  46103. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46104. end;
  46105. function TINT_IPC11.getFCEIP : TBits_3; inline;
  46106. begin
  46107. getFCEIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46108. end;
  46109. procedure TINT_IPC11.setUSBIS(thebits : TBits_2); inline;
  46110. begin
  46111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46112. end;
  46113. function TINT_IPC11.getUSBIS : TBits_2; inline;
  46114. begin
  46115. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46116. end;
  46117. procedure TINT_IPC11.setUSBIP(thebits : TBits_3); inline;
  46118. begin
  46119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46120. end;
  46121. function TINT_IPC11.getUSBIP : TBits_3; inline;
  46122. begin
  46123. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46124. end;
  46125. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  46126. begin
  46127. pTDefRegMap(@Self)^.val := thebits;
  46128. end;
  46129. function TINT_IPC11.getw : TBits_32; inline;
  46130. begin
  46131. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46132. end;
  46133. procedure TINT_IPC12.setETHIS(thebits : TBits_2); inline;
  46134. begin
  46135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46136. end;
  46137. function TINT_IPC12.getETHIS : TBits_2; inline;
  46138. begin
  46139. getETHIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46140. end;
  46141. procedure TINT_IPC12.setETHIP(thebits : TBits_3); inline;
  46142. begin
  46143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46144. end;
  46145. function TINT_IPC12.getETHIP : TBits_3; inline;
  46146. begin
  46147. getETHIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46148. end;
  46149. procedure TINT_IPC12.setU4IS(thebits : TBits_2); inline;
  46150. begin
  46151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46152. end;
  46153. function TINT_IPC12.getU4IS : TBits_2; inline;
  46154. begin
  46155. getU4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46156. end;
  46157. procedure TINT_IPC12.setU4IP(thebits : TBits_3); inline;
  46158. begin
  46159. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46160. end;
  46161. function TINT_IPC12.getU4IP : TBits_3; inline;
  46162. begin
  46163. getU4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46164. end;
  46165. procedure TINT_IPC12.setU6IS(thebits : TBits_2); inline;
  46166. begin
  46167. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46168. end;
  46169. function TINT_IPC12.getU6IS : TBits_2; inline;
  46170. begin
  46171. getU6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46172. end;
  46173. procedure TINT_IPC12.setU6IP(thebits : TBits_3); inline;
  46174. begin
  46175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46176. end;
  46177. function TINT_IPC12.getU6IP : TBits_3; inline;
  46178. begin
  46179. getU6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46180. end;
  46181. procedure TINT_IPC12.setU5IS(thebits : TBits_2); inline;
  46182. begin
  46183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46184. end;
  46185. function TINT_IPC12.getU5IS : TBits_2; inline;
  46186. begin
  46187. getU5IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46188. end;
  46189. procedure TINT_IPC12.setU5IP(thebits : TBits_3); inline;
  46190. begin
  46191. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46192. end;
  46193. function TINT_IPC12.getU5IP : TBits_3; inline;
  46194. begin
  46195. getU5IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46196. end;
  46197. procedure TINT_IPC12.setU1BIS(thebits : TBits_2); inline;
  46198. begin
  46199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46200. end;
  46201. function TINT_IPC12.getU1BIS : TBits_2; inline;
  46202. begin
  46203. getU1BIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46204. end;
  46205. procedure TINT_IPC12.setU1BIP(thebits : TBits_3); inline;
  46206. begin
  46207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46208. end;
  46209. function TINT_IPC12.getU1BIP : TBits_3; inline;
  46210. begin
  46211. getU1BIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46212. end;
  46213. procedure TINT_IPC12.setU2BIS(thebits : TBits_2); inline;
  46214. begin
  46215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46216. end;
  46217. function TINT_IPC12.getU2BIS : TBits_2; inline;
  46218. begin
  46219. getU2BIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46220. end;
  46221. procedure TINT_IPC12.setU2BIP(thebits : TBits_3); inline;
  46222. begin
  46223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46224. end;
  46225. function TINT_IPC12.getU2BIP : TBits_3; inline;
  46226. begin
  46227. getU2BIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46228. end;
  46229. procedure TINT_IPC12.setU3BIS(thebits : TBits_2); inline;
  46230. begin
  46231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46232. end;
  46233. function TINT_IPC12.getU3BIS : TBits_2; inline;
  46234. begin
  46235. getU3BIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46236. end;
  46237. procedure TINT_IPC12.setU3BIP(thebits : TBits_3); inline;
  46238. begin
  46239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46240. end;
  46241. function TINT_IPC12.getU3BIP : TBits_3; inline;
  46242. begin
  46243. getU3BIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46244. end;
  46245. procedure TINT_IPC12.setw(thebits : TBits_32); inline;
  46246. begin
  46247. pTDefRegMap(@Self)^.val := thebits;
  46248. end;
  46249. function TINT_IPC12.getw : TBits_32; inline;
  46250. begin
  46251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46252. end;
  46253. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  46254. begin
  46255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  46256. end;
  46257. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  46258. begin
  46259. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  46260. end;
  46261. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  46262. begin
  46263. pTDefRegMap(@Self)^.&set := $00000040;
  46264. end;
  46265. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  46266. begin
  46267. pTDefRegMap(@Self)^.clr := $00000040;
  46268. end;
  46269. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  46270. begin
  46271. if thebits = 0 then
  46272. pTDefRegMap(@Self)^.clr := $00000040
  46273. else
  46274. pTDefRegMap(@Self)^.&set := $00000040;
  46275. end;
  46276. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  46277. begin
  46278. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46279. end;
  46280. procedure TBMX_BMXCON.setBMXERRIS; inline;
  46281. begin
  46282. pTDefRegMap(@Self)^.&set := $00010000;
  46283. end;
  46284. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  46285. begin
  46286. pTDefRegMap(@Self)^.clr := $00010000;
  46287. end;
  46288. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  46289. begin
  46290. if thebits = 0 then
  46291. pTDefRegMap(@Self)^.clr := $00010000
  46292. else
  46293. pTDefRegMap(@Self)^.&set := $00010000;
  46294. end;
  46295. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  46296. begin
  46297. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  46298. end;
  46299. procedure TBMX_BMXCON.setBMXERRDS; inline;
  46300. begin
  46301. pTDefRegMap(@Self)^.&set := $00020000;
  46302. end;
  46303. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  46304. begin
  46305. pTDefRegMap(@Self)^.clr := $00020000;
  46306. end;
  46307. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  46308. begin
  46309. if thebits = 0 then
  46310. pTDefRegMap(@Self)^.clr := $00020000
  46311. else
  46312. pTDefRegMap(@Self)^.&set := $00020000;
  46313. end;
  46314. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  46315. begin
  46316. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  46317. end;
  46318. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  46319. begin
  46320. pTDefRegMap(@Self)^.&set := $00040000;
  46321. end;
  46322. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  46323. begin
  46324. pTDefRegMap(@Self)^.clr := $00040000;
  46325. end;
  46326. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  46327. begin
  46328. if thebits = 0 then
  46329. pTDefRegMap(@Self)^.clr := $00040000
  46330. else
  46331. pTDefRegMap(@Self)^.&set := $00040000;
  46332. end;
  46333. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  46334. begin
  46335. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  46336. end;
  46337. procedure TBMX_BMXCON.setBMXERRICD; inline;
  46338. begin
  46339. pTDefRegMap(@Self)^.&set := $00080000;
  46340. end;
  46341. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  46342. begin
  46343. pTDefRegMap(@Self)^.clr := $00080000;
  46344. end;
  46345. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  46346. begin
  46347. if thebits = 0 then
  46348. pTDefRegMap(@Self)^.clr := $00080000
  46349. else
  46350. pTDefRegMap(@Self)^.&set := $00080000;
  46351. end;
  46352. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  46353. begin
  46354. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  46355. end;
  46356. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  46357. begin
  46358. pTDefRegMap(@Self)^.&set := $00100000;
  46359. end;
  46360. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  46361. begin
  46362. pTDefRegMap(@Self)^.clr := $00100000;
  46363. end;
  46364. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  46365. begin
  46366. if thebits = 0 then
  46367. pTDefRegMap(@Self)^.clr := $00100000
  46368. else
  46369. pTDefRegMap(@Self)^.&set := $00100000;
  46370. end;
  46371. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  46372. begin
  46373. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  46374. end;
  46375. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  46376. begin
  46377. pTDefRegMap(@Self)^.&set := $04000000;
  46378. end;
  46379. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  46380. begin
  46381. pTDefRegMap(@Self)^.clr := $04000000;
  46382. end;
  46383. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  46384. begin
  46385. if thebits = 0 then
  46386. pTDefRegMap(@Self)^.clr := $04000000
  46387. else
  46388. pTDefRegMap(@Self)^.&set := $04000000;
  46389. end;
  46390. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  46391. begin
  46392. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  46393. end;
  46394. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  46395. begin
  46396. pTDefRegMap(@Self)^.val := thebits;
  46397. end;
  46398. function TBMX_BMXCON.getw : TBits_32; inline;
  46399. begin
  46400. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46401. end;
  46402. procedure TDMAC_DMACON.setDMABUSY; inline;
  46403. begin
  46404. pTDefRegMap(@Self)^.&set := $00000800;
  46405. end;
  46406. procedure TDMAC_DMACON.clearDMABUSY; inline;
  46407. begin
  46408. pTDefRegMap(@Self)^.clr := $00000800;
  46409. end;
  46410. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  46411. begin
  46412. if thebits = 0 then
  46413. pTDefRegMap(@Self)^.clr := $00000800
  46414. else
  46415. pTDefRegMap(@Self)^.&set := $00000800;
  46416. end;
  46417. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  46418. begin
  46419. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46420. end;
  46421. procedure TDMAC_DMACON.setSUSPEND; inline;
  46422. begin
  46423. pTDefRegMap(@Self)^.&set := $00001000;
  46424. end;
  46425. procedure TDMAC_DMACON.clearSUSPEND; inline;
  46426. begin
  46427. pTDefRegMap(@Self)^.clr := $00001000;
  46428. end;
  46429. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  46430. begin
  46431. if thebits = 0 then
  46432. pTDefRegMap(@Self)^.clr := $00001000
  46433. else
  46434. pTDefRegMap(@Self)^.&set := $00001000;
  46435. end;
  46436. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  46437. begin
  46438. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46439. end;
  46440. procedure TDMAC_DMACON.setON; inline;
  46441. begin
  46442. pTDefRegMap(@Self)^.&set := $00008000;
  46443. end;
  46444. procedure TDMAC_DMACON.clearON; inline;
  46445. begin
  46446. pTDefRegMap(@Self)^.clr := $00008000;
  46447. end;
  46448. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  46449. begin
  46450. if thebits = 0 then
  46451. pTDefRegMap(@Self)^.clr := $00008000
  46452. else
  46453. pTDefRegMap(@Self)^.&set := $00008000;
  46454. end;
  46455. function TDMAC_DMACON.getON : TBits_1; inline;
  46456. begin
  46457. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46458. end;
  46459. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  46460. begin
  46461. pTDefRegMap(@Self)^.val := thebits;
  46462. end;
  46463. function TDMAC_DMACON.getw : TBits_32; inline;
  46464. begin
  46465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46466. end;
  46467. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  46468. begin
  46469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  46470. end;
  46471. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  46472. begin
  46473. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  46474. end;
  46475. procedure TDMAC_DMASTAT.setRDWR; inline;
  46476. begin
  46477. pTDefRegMap(@Self)^.&set := $00000008;
  46478. end;
  46479. procedure TDMAC_DMASTAT.clearRDWR; inline;
  46480. begin
  46481. pTDefRegMap(@Self)^.clr := $00000008;
  46482. end;
  46483. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  46484. begin
  46485. if thebits = 0 then
  46486. pTDefRegMap(@Self)^.clr := $00000008
  46487. else
  46488. pTDefRegMap(@Self)^.&set := $00000008;
  46489. end;
  46490. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  46491. begin
  46492. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46493. end;
  46494. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  46495. begin
  46496. pTDefRegMap(@Self)^.val := thebits;
  46497. end;
  46498. function TDMAC_DMASTAT.getw : TBits_32; inline;
  46499. begin
  46500. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46501. end;
  46502. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  46503. begin
  46504. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  46505. end;
  46506. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  46507. begin
  46508. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  46509. end;
  46510. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  46511. begin
  46512. pTDefRegMap(@Self)^.&set := $00000020;
  46513. end;
  46514. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  46515. begin
  46516. pTDefRegMap(@Self)^.clr := $00000020;
  46517. end;
  46518. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  46519. begin
  46520. if thebits = 0 then
  46521. pTDefRegMap(@Self)^.clr := $00000020
  46522. else
  46523. pTDefRegMap(@Self)^.&set := $00000020;
  46524. end;
  46525. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  46526. begin
  46527. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46528. end;
  46529. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  46530. begin
  46531. pTDefRegMap(@Self)^.&set := $00000040;
  46532. end;
  46533. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  46534. begin
  46535. pTDefRegMap(@Self)^.clr := $00000040;
  46536. end;
  46537. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  46538. begin
  46539. if thebits = 0 then
  46540. pTDefRegMap(@Self)^.clr := $00000040
  46541. else
  46542. pTDefRegMap(@Self)^.&set := $00000040;
  46543. end;
  46544. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  46545. begin
  46546. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46547. end;
  46548. procedure TDMAC_DCRCCON.setCRCEN; inline;
  46549. begin
  46550. pTDefRegMap(@Self)^.&set := $00000080;
  46551. end;
  46552. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  46553. begin
  46554. pTDefRegMap(@Self)^.clr := $00000080;
  46555. end;
  46556. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  46557. begin
  46558. if thebits = 0 then
  46559. pTDefRegMap(@Self)^.clr := $00000080
  46560. else
  46561. pTDefRegMap(@Self)^.&set := $00000080;
  46562. end;
  46563. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  46564. begin
  46565. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46566. end;
  46567. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  46568. begin
  46569. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  46570. end;
  46571. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  46572. begin
  46573. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  46574. end;
  46575. procedure TDMAC_DCRCCON.setBITO; inline;
  46576. begin
  46577. pTDefRegMap(@Self)^.&set := $01000000;
  46578. end;
  46579. procedure TDMAC_DCRCCON.clearBITO; inline;
  46580. begin
  46581. pTDefRegMap(@Self)^.clr := $01000000;
  46582. end;
  46583. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  46584. begin
  46585. if thebits = 0 then
  46586. pTDefRegMap(@Self)^.clr := $01000000
  46587. else
  46588. pTDefRegMap(@Self)^.&set := $01000000;
  46589. end;
  46590. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  46591. begin
  46592. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  46593. end;
  46594. procedure TDMAC_DCRCCON.setWBO; inline;
  46595. begin
  46596. pTDefRegMap(@Self)^.&set := $08000000;
  46597. end;
  46598. procedure TDMAC_DCRCCON.clearWBO; inline;
  46599. begin
  46600. pTDefRegMap(@Self)^.clr := $08000000;
  46601. end;
  46602. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  46603. begin
  46604. if thebits = 0 then
  46605. pTDefRegMap(@Self)^.clr := $08000000
  46606. else
  46607. pTDefRegMap(@Self)^.&set := $08000000;
  46608. end;
  46609. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  46610. begin
  46611. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  46612. end;
  46613. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  46614. begin
  46615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  46616. end;
  46617. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  46618. begin
  46619. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  46620. end;
  46621. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  46622. begin
  46623. pTDefRegMap(@Self)^.val := thebits;
  46624. end;
  46625. function TDMAC_DCRCCON.getw : TBits_32; inline;
  46626. begin
  46627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46628. end;
  46629. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  46630. begin
  46631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46632. end;
  46633. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  46634. begin
  46635. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46636. end;
  46637. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  46638. begin
  46639. pTDefRegMap(@Self)^.&set := $00000004;
  46640. end;
  46641. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  46642. begin
  46643. pTDefRegMap(@Self)^.clr := $00000004;
  46644. end;
  46645. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  46646. begin
  46647. if thebits = 0 then
  46648. pTDefRegMap(@Self)^.clr := $00000004
  46649. else
  46650. pTDefRegMap(@Self)^.&set := $00000004;
  46651. end;
  46652. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  46653. begin
  46654. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46655. end;
  46656. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  46657. begin
  46658. pTDefRegMap(@Self)^.&set := $00000010;
  46659. end;
  46660. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  46661. begin
  46662. pTDefRegMap(@Self)^.clr := $00000010;
  46663. end;
  46664. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  46665. begin
  46666. if thebits = 0 then
  46667. pTDefRegMap(@Self)^.clr := $00000010
  46668. else
  46669. pTDefRegMap(@Self)^.&set := $00000010;
  46670. end;
  46671. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  46672. begin
  46673. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46674. end;
  46675. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  46676. begin
  46677. pTDefRegMap(@Self)^.&set := $00000020;
  46678. end;
  46679. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  46680. begin
  46681. pTDefRegMap(@Self)^.clr := $00000020;
  46682. end;
  46683. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  46684. begin
  46685. if thebits = 0 then
  46686. pTDefRegMap(@Self)^.clr := $00000020
  46687. else
  46688. pTDefRegMap(@Self)^.&set := $00000020;
  46689. end;
  46690. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  46691. begin
  46692. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46693. end;
  46694. procedure TDMAC0_DCH0CON.setCHAED; inline;
  46695. begin
  46696. pTDefRegMap(@Self)^.&set := $00000040;
  46697. end;
  46698. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  46699. begin
  46700. pTDefRegMap(@Self)^.clr := $00000040;
  46701. end;
  46702. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  46703. begin
  46704. if thebits = 0 then
  46705. pTDefRegMap(@Self)^.clr := $00000040
  46706. else
  46707. pTDefRegMap(@Self)^.&set := $00000040;
  46708. end;
  46709. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  46710. begin
  46711. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46712. end;
  46713. procedure TDMAC0_DCH0CON.setCHEN; inline;
  46714. begin
  46715. pTDefRegMap(@Self)^.&set := $00000080;
  46716. end;
  46717. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  46718. begin
  46719. pTDefRegMap(@Self)^.clr := $00000080;
  46720. end;
  46721. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  46722. begin
  46723. if thebits = 0 then
  46724. pTDefRegMap(@Self)^.clr := $00000080
  46725. else
  46726. pTDefRegMap(@Self)^.&set := $00000080;
  46727. end;
  46728. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  46729. begin
  46730. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46731. end;
  46732. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  46733. begin
  46734. pTDefRegMap(@Self)^.&set := $00000100;
  46735. end;
  46736. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  46737. begin
  46738. pTDefRegMap(@Self)^.clr := $00000100;
  46739. end;
  46740. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  46741. begin
  46742. if thebits = 0 then
  46743. pTDefRegMap(@Self)^.clr := $00000100
  46744. else
  46745. pTDefRegMap(@Self)^.&set := $00000100;
  46746. end;
  46747. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  46748. begin
  46749. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46750. end;
  46751. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  46752. begin
  46753. pTDefRegMap(@Self)^.&set := $00008000;
  46754. end;
  46755. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  46756. begin
  46757. pTDefRegMap(@Self)^.clr := $00008000;
  46758. end;
  46759. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  46760. begin
  46761. if thebits = 0 then
  46762. pTDefRegMap(@Self)^.clr := $00008000
  46763. else
  46764. pTDefRegMap(@Self)^.&set := $00008000;
  46765. end;
  46766. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  46767. begin
  46768. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46769. end;
  46770. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  46771. begin
  46772. pTDefRegMap(@Self)^.val := thebits;
  46773. end;
  46774. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  46775. begin
  46776. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46777. end;
  46778. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  46779. begin
  46780. pTDefRegMap(@Self)^.&set := $00000008;
  46781. end;
  46782. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  46783. begin
  46784. pTDefRegMap(@Self)^.clr := $00000008;
  46785. end;
  46786. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  46787. begin
  46788. if thebits = 0 then
  46789. pTDefRegMap(@Self)^.clr := $00000008
  46790. else
  46791. pTDefRegMap(@Self)^.&set := $00000008;
  46792. end;
  46793. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  46794. begin
  46795. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46796. end;
  46797. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  46798. begin
  46799. pTDefRegMap(@Self)^.&set := $00000010;
  46800. end;
  46801. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  46802. begin
  46803. pTDefRegMap(@Self)^.clr := $00000010;
  46804. end;
  46805. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  46806. begin
  46807. if thebits = 0 then
  46808. pTDefRegMap(@Self)^.clr := $00000010
  46809. else
  46810. pTDefRegMap(@Self)^.&set := $00000010;
  46811. end;
  46812. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  46813. begin
  46814. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46815. end;
  46816. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  46817. begin
  46818. pTDefRegMap(@Self)^.&set := $00000020;
  46819. end;
  46820. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  46821. begin
  46822. pTDefRegMap(@Self)^.clr := $00000020;
  46823. end;
  46824. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  46825. begin
  46826. if thebits = 0 then
  46827. pTDefRegMap(@Self)^.clr := $00000020
  46828. else
  46829. pTDefRegMap(@Self)^.&set := $00000020;
  46830. end;
  46831. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  46832. begin
  46833. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46834. end;
  46835. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  46836. begin
  46837. pTDefRegMap(@Self)^.&set := $00000040;
  46838. end;
  46839. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  46840. begin
  46841. pTDefRegMap(@Self)^.clr := $00000040;
  46842. end;
  46843. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  46844. begin
  46845. if thebits = 0 then
  46846. pTDefRegMap(@Self)^.clr := $00000040
  46847. else
  46848. pTDefRegMap(@Self)^.&set := $00000040;
  46849. end;
  46850. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  46851. begin
  46852. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46853. end;
  46854. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  46855. begin
  46856. pTDefRegMap(@Self)^.&set := $00000080;
  46857. end;
  46858. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  46859. begin
  46860. pTDefRegMap(@Self)^.clr := $00000080;
  46861. end;
  46862. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  46863. begin
  46864. if thebits = 0 then
  46865. pTDefRegMap(@Self)^.clr := $00000080
  46866. else
  46867. pTDefRegMap(@Self)^.&set := $00000080;
  46868. end;
  46869. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  46870. begin
  46871. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46872. end;
  46873. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  46874. begin
  46875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  46876. end;
  46877. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  46878. begin
  46879. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  46880. end;
  46881. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  46882. begin
  46883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  46884. end;
  46885. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  46886. begin
  46887. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  46888. end;
  46889. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  46890. begin
  46891. pTDefRegMap(@Self)^.val := thebits;
  46892. end;
  46893. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  46894. begin
  46895. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46896. end;
  46897. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  46898. begin
  46899. pTDefRegMap(@Self)^.&set := $00000001;
  46900. end;
  46901. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  46902. begin
  46903. pTDefRegMap(@Self)^.clr := $00000001;
  46904. end;
  46905. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  46906. begin
  46907. if thebits = 0 then
  46908. pTDefRegMap(@Self)^.clr := $00000001
  46909. else
  46910. pTDefRegMap(@Self)^.&set := $00000001;
  46911. end;
  46912. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  46913. begin
  46914. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46915. end;
  46916. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  46917. begin
  46918. pTDefRegMap(@Self)^.&set := $00000002;
  46919. end;
  46920. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  46921. begin
  46922. pTDefRegMap(@Self)^.clr := $00000002;
  46923. end;
  46924. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  46925. begin
  46926. if thebits = 0 then
  46927. pTDefRegMap(@Self)^.clr := $00000002
  46928. else
  46929. pTDefRegMap(@Self)^.&set := $00000002;
  46930. end;
  46931. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  46932. begin
  46933. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46934. end;
  46935. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  46936. begin
  46937. pTDefRegMap(@Self)^.&set := $00000004;
  46938. end;
  46939. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  46940. begin
  46941. pTDefRegMap(@Self)^.clr := $00000004;
  46942. end;
  46943. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  46944. begin
  46945. if thebits = 0 then
  46946. pTDefRegMap(@Self)^.clr := $00000004
  46947. else
  46948. pTDefRegMap(@Self)^.&set := $00000004;
  46949. end;
  46950. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  46951. begin
  46952. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46953. end;
  46954. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  46955. begin
  46956. pTDefRegMap(@Self)^.&set := $00000008;
  46957. end;
  46958. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  46959. begin
  46960. pTDefRegMap(@Self)^.clr := $00000008;
  46961. end;
  46962. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  46963. begin
  46964. if thebits = 0 then
  46965. pTDefRegMap(@Self)^.clr := $00000008
  46966. else
  46967. pTDefRegMap(@Self)^.&set := $00000008;
  46968. end;
  46969. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  46970. begin
  46971. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46972. end;
  46973. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  46974. begin
  46975. pTDefRegMap(@Self)^.&set := $00000010;
  46976. end;
  46977. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  46978. begin
  46979. pTDefRegMap(@Self)^.clr := $00000010;
  46980. end;
  46981. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  46982. begin
  46983. if thebits = 0 then
  46984. pTDefRegMap(@Self)^.clr := $00000010
  46985. else
  46986. pTDefRegMap(@Self)^.&set := $00000010;
  46987. end;
  46988. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  46989. begin
  46990. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46991. end;
  46992. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  46993. begin
  46994. pTDefRegMap(@Self)^.&set := $00000020;
  46995. end;
  46996. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  46997. begin
  46998. pTDefRegMap(@Self)^.clr := $00000020;
  46999. end;
  47000. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  47001. begin
  47002. if thebits = 0 then
  47003. pTDefRegMap(@Self)^.clr := $00000020
  47004. else
  47005. pTDefRegMap(@Self)^.&set := $00000020;
  47006. end;
  47007. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  47008. begin
  47009. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47010. end;
  47011. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  47012. begin
  47013. pTDefRegMap(@Self)^.&set := $00000040;
  47014. end;
  47015. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  47016. begin
  47017. pTDefRegMap(@Self)^.clr := $00000040;
  47018. end;
  47019. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  47020. begin
  47021. if thebits = 0 then
  47022. pTDefRegMap(@Self)^.clr := $00000040
  47023. else
  47024. pTDefRegMap(@Self)^.&set := $00000040;
  47025. end;
  47026. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  47027. begin
  47028. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47029. end;
  47030. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  47031. begin
  47032. pTDefRegMap(@Self)^.&set := $00000080;
  47033. end;
  47034. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  47035. begin
  47036. pTDefRegMap(@Self)^.clr := $00000080;
  47037. end;
  47038. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  47039. begin
  47040. if thebits = 0 then
  47041. pTDefRegMap(@Self)^.clr := $00000080
  47042. else
  47043. pTDefRegMap(@Self)^.&set := $00000080;
  47044. end;
  47045. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  47046. begin
  47047. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47048. end;
  47049. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  47050. begin
  47051. pTDefRegMap(@Self)^.&set := $00010000;
  47052. end;
  47053. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  47054. begin
  47055. pTDefRegMap(@Self)^.clr := $00010000;
  47056. end;
  47057. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  47058. begin
  47059. if thebits = 0 then
  47060. pTDefRegMap(@Self)^.clr := $00010000
  47061. else
  47062. pTDefRegMap(@Self)^.&set := $00010000;
  47063. end;
  47064. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  47065. begin
  47066. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47067. end;
  47068. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  47069. begin
  47070. pTDefRegMap(@Self)^.&set := $00020000;
  47071. end;
  47072. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  47073. begin
  47074. pTDefRegMap(@Self)^.clr := $00020000;
  47075. end;
  47076. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  47077. begin
  47078. if thebits = 0 then
  47079. pTDefRegMap(@Self)^.clr := $00020000
  47080. else
  47081. pTDefRegMap(@Self)^.&set := $00020000;
  47082. end;
  47083. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  47084. begin
  47085. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47086. end;
  47087. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  47088. begin
  47089. pTDefRegMap(@Self)^.&set := $00040000;
  47090. end;
  47091. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  47092. begin
  47093. pTDefRegMap(@Self)^.clr := $00040000;
  47094. end;
  47095. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  47096. begin
  47097. if thebits = 0 then
  47098. pTDefRegMap(@Self)^.clr := $00040000
  47099. else
  47100. pTDefRegMap(@Self)^.&set := $00040000;
  47101. end;
  47102. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  47103. begin
  47104. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47105. end;
  47106. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  47107. begin
  47108. pTDefRegMap(@Self)^.&set := $00080000;
  47109. end;
  47110. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  47111. begin
  47112. pTDefRegMap(@Self)^.clr := $00080000;
  47113. end;
  47114. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  47115. begin
  47116. if thebits = 0 then
  47117. pTDefRegMap(@Self)^.clr := $00080000
  47118. else
  47119. pTDefRegMap(@Self)^.&set := $00080000;
  47120. end;
  47121. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  47122. begin
  47123. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47124. end;
  47125. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  47126. begin
  47127. pTDefRegMap(@Self)^.&set := $00100000;
  47128. end;
  47129. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  47130. begin
  47131. pTDefRegMap(@Self)^.clr := $00100000;
  47132. end;
  47133. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  47134. begin
  47135. if thebits = 0 then
  47136. pTDefRegMap(@Self)^.clr := $00100000
  47137. else
  47138. pTDefRegMap(@Self)^.&set := $00100000;
  47139. end;
  47140. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  47141. begin
  47142. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47143. end;
  47144. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  47145. begin
  47146. pTDefRegMap(@Self)^.&set := $00200000;
  47147. end;
  47148. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  47149. begin
  47150. pTDefRegMap(@Self)^.clr := $00200000;
  47151. end;
  47152. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  47153. begin
  47154. if thebits = 0 then
  47155. pTDefRegMap(@Self)^.clr := $00200000
  47156. else
  47157. pTDefRegMap(@Self)^.&set := $00200000;
  47158. end;
  47159. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  47160. begin
  47161. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  47162. end;
  47163. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  47164. begin
  47165. pTDefRegMap(@Self)^.&set := $00400000;
  47166. end;
  47167. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  47168. begin
  47169. pTDefRegMap(@Self)^.clr := $00400000;
  47170. end;
  47171. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  47172. begin
  47173. if thebits = 0 then
  47174. pTDefRegMap(@Self)^.clr := $00400000
  47175. else
  47176. pTDefRegMap(@Self)^.&set := $00400000;
  47177. end;
  47178. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  47179. begin
  47180. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  47181. end;
  47182. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  47183. begin
  47184. pTDefRegMap(@Self)^.&set := $00800000;
  47185. end;
  47186. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  47187. begin
  47188. pTDefRegMap(@Self)^.clr := $00800000;
  47189. end;
  47190. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  47191. begin
  47192. if thebits = 0 then
  47193. pTDefRegMap(@Self)^.clr := $00800000
  47194. else
  47195. pTDefRegMap(@Self)^.&set := $00800000;
  47196. end;
  47197. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  47198. begin
  47199. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  47200. end;
  47201. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  47202. begin
  47203. pTDefRegMap(@Self)^.val := thebits;
  47204. end;
  47205. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  47206. begin
  47207. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47208. end;
  47209. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  47210. begin
  47211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47212. end;
  47213. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  47214. begin
  47215. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47216. end;
  47217. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  47218. begin
  47219. pTDefRegMap(@Self)^.&set := $00000004;
  47220. end;
  47221. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  47222. begin
  47223. pTDefRegMap(@Self)^.clr := $00000004;
  47224. end;
  47225. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  47226. begin
  47227. if thebits = 0 then
  47228. pTDefRegMap(@Self)^.clr := $00000004
  47229. else
  47230. pTDefRegMap(@Self)^.&set := $00000004;
  47231. end;
  47232. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  47233. begin
  47234. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47235. end;
  47236. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  47237. begin
  47238. pTDefRegMap(@Self)^.&set := $00000010;
  47239. end;
  47240. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  47241. begin
  47242. pTDefRegMap(@Self)^.clr := $00000010;
  47243. end;
  47244. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  47245. begin
  47246. if thebits = 0 then
  47247. pTDefRegMap(@Self)^.clr := $00000010
  47248. else
  47249. pTDefRegMap(@Self)^.&set := $00000010;
  47250. end;
  47251. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  47252. begin
  47253. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47254. end;
  47255. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  47256. begin
  47257. pTDefRegMap(@Self)^.&set := $00000020;
  47258. end;
  47259. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  47260. begin
  47261. pTDefRegMap(@Self)^.clr := $00000020;
  47262. end;
  47263. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  47264. begin
  47265. if thebits = 0 then
  47266. pTDefRegMap(@Self)^.clr := $00000020
  47267. else
  47268. pTDefRegMap(@Self)^.&set := $00000020;
  47269. end;
  47270. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  47271. begin
  47272. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47273. end;
  47274. procedure TDMAC1_DCH1CON.setCHAED; inline;
  47275. begin
  47276. pTDefRegMap(@Self)^.&set := $00000040;
  47277. end;
  47278. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  47279. begin
  47280. pTDefRegMap(@Self)^.clr := $00000040;
  47281. end;
  47282. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  47283. begin
  47284. if thebits = 0 then
  47285. pTDefRegMap(@Self)^.clr := $00000040
  47286. else
  47287. pTDefRegMap(@Self)^.&set := $00000040;
  47288. end;
  47289. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  47290. begin
  47291. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47292. end;
  47293. procedure TDMAC1_DCH1CON.setCHEN; inline;
  47294. begin
  47295. pTDefRegMap(@Self)^.&set := $00000080;
  47296. end;
  47297. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  47298. begin
  47299. pTDefRegMap(@Self)^.clr := $00000080;
  47300. end;
  47301. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  47302. begin
  47303. if thebits = 0 then
  47304. pTDefRegMap(@Self)^.clr := $00000080
  47305. else
  47306. pTDefRegMap(@Self)^.&set := $00000080;
  47307. end;
  47308. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  47309. begin
  47310. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47311. end;
  47312. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  47313. begin
  47314. pTDefRegMap(@Self)^.&set := $00000100;
  47315. end;
  47316. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  47317. begin
  47318. pTDefRegMap(@Self)^.clr := $00000100;
  47319. end;
  47320. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  47321. begin
  47322. if thebits = 0 then
  47323. pTDefRegMap(@Self)^.clr := $00000100
  47324. else
  47325. pTDefRegMap(@Self)^.&set := $00000100;
  47326. end;
  47327. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  47328. begin
  47329. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47330. end;
  47331. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  47332. begin
  47333. pTDefRegMap(@Self)^.&set := $00008000;
  47334. end;
  47335. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  47336. begin
  47337. pTDefRegMap(@Self)^.clr := $00008000;
  47338. end;
  47339. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  47340. begin
  47341. if thebits = 0 then
  47342. pTDefRegMap(@Self)^.clr := $00008000
  47343. else
  47344. pTDefRegMap(@Self)^.&set := $00008000;
  47345. end;
  47346. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  47347. begin
  47348. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47349. end;
  47350. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  47351. begin
  47352. pTDefRegMap(@Self)^.val := thebits;
  47353. end;
  47354. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  47355. begin
  47356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47357. end;
  47358. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  47359. begin
  47360. pTDefRegMap(@Self)^.&set := $00000008;
  47361. end;
  47362. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  47363. begin
  47364. pTDefRegMap(@Self)^.clr := $00000008;
  47365. end;
  47366. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  47367. begin
  47368. if thebits = 0 then
  47369. pTDefRegMap(@Self)^.clr := $00000008
  47370. else
  47371. pTDefRegMap(@Self)^.&set := $00000008;
  47372. end;
  47373. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  47374. begin
  47375. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47376. end;
  47377. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  47378. begin
  47379. pTDefRegMap(@Self)^.&set := $00000010;
  47380. end;
  47381. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  47382. begin
  47383. pTDefRegMap(@Self)^.clr := $00000010;
  47384. end;
  47385. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  47386. begin
  47387. if thebits = 0 then
  47388. pTDefRegMap(@Self)^.clr := $00000010
  47389. else
  47390. pTDefRegMap(@Self)^.&set := $00000010;
  47391. end;
  47392. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  47393. begin
  47394. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47395. end;
  47396. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  47397. begin
  47398. pTDefRegMap(@Self)^.&set := $00000020;
  47399. end;
  47400. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  47401. begin
  47402. pTDefRegMap(@Self)^.clr := $00000020;
  47403. end;
  47404. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  47405. begin
  47406. if thebits = 0 then
  47407. pTDefRegMap(@Self)^.clr := $00000020
  47408. else
  47409. pTDefRegMap(@Self)^.&set := $00000020;
  47410. end;
  47411. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  47412. begin
  47413. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47414. end;
  47415. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  47416. begin
  47417. pTDefRegMap(@Self)^.&set := $00000040;
  47418. end;
  47419. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  47420. begin
  47421. pTDefRegMap(@Self)^.clr := $00000040;
  47422. end;
  47423. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  47424. begin
  47425. if thebits = 0 then
  47426. pTDefRegMap(@Self)^.clr := $00000040
  47427. else
  47428. pTDefRegMap(@Self)^.&set := $00000040;
  47429. end;
  47430. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  47431. begin
  47432. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47433. end;
  47434. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  47435. begin
  47436. pTDefRegMap(@Self)^.&set := $00000080;
  47437. end;
  47438. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  47439. begin
  47440. pTDefRegMap(@Self)^.clr := $00000080;
  47441. end;
  47442. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  47443. begin
  47444. if thebits = 0 then
  47445. pTDefRegMap(@Self)^.clr := $00000080
  47446. else
  47447. pTDefRegMap(@Self)^.&set := $00000080;
  47448. end;
  47449. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  47450. begin
  47451. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47452. end;
  47453. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  47454. begin
  47455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  47456. end;
  47457. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  47458. begin
  47459. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  47460. end;
  47461. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  47462. begin
  47463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  47464. end;
  47465. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  47466. begin
  47467. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  47468. end;
  47469. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  47470. begin
  47471. pTDefRegMap(@Self)^.val := thebits;
  47472. end;
  47473. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  47474. begin
  47475. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47476. end;
  47477. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  47478. begin
  47479. pTDefRegMap(@Self)^.&set := $00000001;
  47480. end;
  47481. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  47482. begin
  47483. pTDefRegMap(@Self)^.clr := $00000001;
  47484. end;
  47485. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  47486. begin
  47487. if thebits = 0 then
  47488. pTDefRegMap(@Self)^.clr := $00000001
  47489. else
  47490. pTDefRegMap(@Self)^.&set := $00000001;
  47491. end;
  47492. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  47493. begin
  47494. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47495. end;
  47496. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  47497. begin
  47498. pTDefRegMap(@Self)^.&set := $00000002;
  47499. end;
  47500. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  47501. begin
  47502. pTDefRegMap(@Self)^.clr := $00000002;
  47503. end;
  47504. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  47505. begin
  47506. if thebits = 0 then
  47507. pTDefRegMap(@Self)^.clr := $00000002
  47508. else
  47509. pTDefRegMap(@Self)^.&set := $00000002;
  47510. end;
  47511. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  47512. begin
  47513. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47514. end;
  47515. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  47516. begin
  47517. pTDefRegMap(@Self)^.&set := $00000004;
  47518. end;
  47519. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  47520. begin
  47521. pTDefRegMap(@Self)^.clr := $00000004;
  47522. end;
  47523. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  47524. begin
  47525. if thebits = 0 then
  47526. pTDefRegMap(@Self)^.clr := $00000004
  47527. else
  47528. pTDefRegMap(@Self)^.&set := $00000004;
  47529. end;
  47530. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  47531. begin
  47532. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47533. end;
  47534. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  47535. begin
  47536. pTDefRegMap(@Self)^.&set := $00000008;
  47537. end;
  47538. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  47539. begin
  47540. pTDefRegMap(@Self)^.clr := $00000008;
  47541. end;
  47542. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  47543. begin
  47544. if thebits = 0 then
  47545. pTDefRegMap(@Self)^.clr := $00000008
  47546. else
  47547. pTDefRegMap(@Self)^.&set := $00000008;
  47548. end;
  47549. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  47550. begin
  47551. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47552. end;
  47553. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  47554. begin
  47555. pTDefRegMap(@Self)^.&set := $00000010;
  47556. end;
  47557. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  47558. begin
  47559. pTDefRegMap(@Self)^.clr := $00000010;
  47560. end;
  47561. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  47562. begin
  47563. if thebits = 0 then
  47564. pTDefRegMap(@Self)^.clr := $00000010
  47565. else
  47566. pTDefRegMap(@Self)^.&set := $00000010;
  47567. end;
  47568. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  47569. begin
  47570. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47571. end;
  47572. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  47573. begin
  47574. pTDefRegMap(@Self)^.&set := $00000020;
  47575. end;
  47576. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  47577. begin
  47578. pTDefRegMap(@Self)^.clr := $00000020;
  47579. end;
  47580. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  47581. begin
  47582. if thebits = 0 then
  47583. pTDefRegMap(@Self)^.clr := $00000020
  47584. else
  47585. pTDefRegMap(@Self)^.&set := $00000020;
  47586. end;
  47587. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  47588. begin
  47589. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47590. end;
  47591. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  47592. begin
  47593. pTDefRegMap(@Self)^.&set := $00000040;
  47594. end;
  47595. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  47596. begin
  47597. pTDefRegMap(@Self)^.clr := $00000040;
  47598. end;
  47599. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  47600. begin
  47601. if thebits = 0 then
  47602. pTDefRegMap(@Self)^.clr := $00000040
  47603. else
  47604. pTDefRegMap(@Self)^.&set := $00000040;
  47605. end;
  47606. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  47607. begin
  47608. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47609. end;
  47610. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  47611. begin
  47612. pTDefRegMap(@Self)^.&set := $00000080;
  47613. end;
  47614. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  47615. begin
  47616. pTDefRegMap(@Self)^.clr := $00000080;
  47617. end;
  47618. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  47619. begin
  47620. if thebits = 0 then
  47621. pTDefRegMap(@Self)^.clr := $00000080
  47622. else
  47623. pTDefRegMap(@Self)^.&set := $00000080;
  47624. end;
  47625. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  47626. begin
  47627. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47628. end;
  47629. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  47630. begin
  47631. pTDefRegMap(@Self)^.&set := $00010000;
  47632. end;
  47633. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  47634. begin
  47635. pTDefRegMap(@Self)^.clr := $00010000;
  47636. end;
  47637. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  47638. begin
  47639. if thebits = 0 then
  47640. pTDefRegMap(@Self)^.clr := $00010000
  47641. else
  47642. pTDefRegMap(@Self)^.&set := $00010000;
  47643. end;
  47644. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  47645. begin
  47646. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47647. end;
  47648. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  47649. begin
  47650. pTDefRegMap(@Self)^.&set := $00020000;
  47651. end;
  47652. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  47653. begin
  47654. pTDefRegMap(@Self)^.clr := $00020000;
  47655. end;
  47656. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  47657. begin
  47658. if thebits = 0 then
  47659. pTDefRegMap(@Self)^.clr := $00020000
  47660. else
  47661. pTDefRegMap(@Self)^.&set := $00020000;
  47662. end;
  47663. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  47664. begin
  47665. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47666. end;
  47667. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  47668. begin
  47669. pTDefRegMap(@Self)^.&set := $00040000;
  47670. end;
  47671. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  47672. begin
  47673. pTDefRegMap(@Self)^.clr := $00040000;
  47674. end;
  47675. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  47676. begin
  47677. if thebits = 0 then
  47678. pTDefRegMap(@Self)^.clr := $00040000
  47679. else
  47680. pTDefRegMap(@Self)^.&set := $00040000;
  47681. end;
  47682. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  47683. begin
  47684. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47685. end;
  47686. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  47687. begin
  47688. pTDefRegMap(@Self)^.&set := $00080000;
  47689. end;
  47690. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  47691. begin
  47692. pTDefRegMap(@Self)^.clr := $00080000;
  47693. end;
  47694. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  47695. begin
  47696. if thebits = 0 then
  47697. pTDefRegMap(@Self)^.clr := $00080000
  47698. else
  47699. pTDefRegMap(@Self)^.&set := $00080000;
  47700. end;
  47701. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  47702. begin
  47703. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47704. end;
  47705. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  47706. begin
  47707. pTDefRegMap(@Self)^.&set := $00100000;
  47708. end;
  47709. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  47710. begin
  47711. pTDefRegMap(@Self)^.clr := $00100000;
  47712. end;
  47713. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  47714. begin
  47715. if thebits = 0 then
  47716. pTDefRegMap(@Self)^.clr := $00100000
  47717. else
  47718. pTDefRegMap(@Self)^.&set := $00100000;
  47719. end;
  47720. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  47721. begin
  47722. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47723. end;
  47724. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  47725. begin
  47726. pTDefRegMap(@Self)^.&set := $00200000;
  47727. end;
  47728. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  47729. begin
  47730. pTDefRegMap(@Self)^.clr := $00200000;
  47731. end;
  47732. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  47733. begin
  47734. if thebits = 0 then
  47735. pTDefRegMap(@Self)^.clr := $00200000
  47736. else
  47737. pTDefRegMap(@Self)^.&set := $00200000;
  47738. end;
  47739. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  47740. begin
  47741. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  47742. end;
  47743. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  47744. begin
  47745. pTDefRegMap(@Self)^.&set := $00400000;
  47746. end;
  47747. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  47748. begin
  47749. pTDefRegMap(@Self)^.clr := $00400000;
  47750. end;
  47751. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  47752. begin
  47753. if thebits = 0 then
  47754. pTDefRegMap(@Self)^.clr := $00400000
  47755. else
  47756. pTDefRegMap(@Self)^.&set := $00400000;
  47757. end;
  47758. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  47759. begin
  47760. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  47761. end;
  47762. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  47763. begin
  47764. pTDefRegMap(@Self)^.&set := $00800000;
  47765. end;
  47766. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  47767. begin
  47768. pTDefRegMap(@Self)^.clr := $00800000;
  47769. end;
  47770. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  47771. begin
  47772. if thebits = 0 then
  47773. pTDefRegMap(@Self)^.clr := $00800000
  47774. else
  47775. pTDefRegMap(@Self)^.&set := $00800000;
  47776. end;
  47777. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  47778. begin
  47779. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  47780. end;
  47781. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  47782. begin
  47783. pTDefRegMap(@Self)^.val := thebits;
  47784. end;
  47785. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  47786. begin
  47787. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47788. end;
  47789. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  47790. begin
  47791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47792. end;
  47793. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  47794. begin
  47795. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47796. end;
  47797. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  47798. begin
  47799. pTDefRegMap(@Self)^.&set := $00000004;
  47800. end;
  47801. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  47802. begin
  47803. pTDefRegMap(@Self)^.clr := $00000004;
  47804. end;
  47805. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  47806. begin
  47807. if thebits = 0 then
  47808. pTDefRegMap(@Self)^.clr := $00000004
  47809. else
  47810. pTDefRegMap(@Self)^.&set := $00000004;
  47811. end;
  47812. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  47813. begin
  47814. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47815. end;
  47816. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  47817. begin
  47818. pTDefRegMap(@Self)^.&set := $00000010;
  47819. end;
  47820. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  47821. begin
  47822. pTDefRegMap(@Self)^.clr := $00000010;
  47823. end;
  47824. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  47825. begin
  47826. if thebits = 0 then
  47827. pTDefRegMap(@Self)^.clr := $00000010
  47828. else
  47829. pTDefRegMap(@Self)^.&set := $00000010;
  47830. end;
  47831. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  47832. begin
  47833. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47834. end;
  47835. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  47836. begin
  47837. pTDefRegMap(@Self)^.&set := $00000020;
  47838. end;
  47839. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  47840. begin
  47841. pTDefRegMap(@Self)^.clr := $00000020;
  47842. end;
  47843. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  47844. begin
  47845. if thebits = 0 then
  47846. pTDefRegMap(@Self)^.clr := $00000020
  47847. else
  47848. pTDefRegMap(@Self)^.&set := $00000020;
  47849. end;
  47850. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  47851. begin
  47852. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47853. end;
  47854. procedure TDMAC2_DCH2CON.setCHAED; inline;
  47855. begin
  47856. pTDefRegMap(@Self)^.&set := $00000040;
  47857. end;
  47858. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  47859. begin
  47860. pTDefRegMap(@Self)^.clr := $00000040;
  47861. end;
  47862. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  47863. begin
  47864. if thebits = 0 then
  47865. pTDefRegMap(@Self)^.clr := $00000040
  47866. else
  47867. pTDefRegMap(@Self)^.&set := $00000040;
  47868. end;
  47869. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  47870. begin
  47871. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47872. end;
  47873. procedure TDMAC2_DCH2CON.setCHEN; inline;
  47874. begin
  47875. pTDefRegMap(@Self)^.&set := $00000080;
  47876. end;
  47877. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  47878. begin
  47879. pTDefRegMap(@Self)^.clr := $00000080;
  47880. end;
  47881. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  47882. begin
  47883. if thebits = 0 then
  47884. pTDefRegMap(@Self)^.clr := $00000080
  47885. else
  47886. pTDefRegMap(@Self)^.&set := $00000080;
  47887. end;
  47888. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  47889. begin
  47890. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47891. end;
  47892. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  47893. begin
  47894. pTDefRegMap(@Self)^.&set := $00000100;
  47895. end;
  47896. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  47897. begin
  47898. pTDefRegMap(@Self)^.clr := $00000100;
  47899. end;
  47900. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  47901. begin
  47902. if thebits = 0 then
  47903. pTDefRegMap(@Self)^.clr := $00000100
  47904. else
  47905. pTDefRegMap(@Self)^.&set := $00000100;
  47906. end;
  47907. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  47908. begin
  47909. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47910. end;
  47911. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  47912. begin
  47913. pTDefRegMap(@Self)^.&set := $00008000;
  47914. end;
  47915. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  47916. begin
  47917. pTDefRegMap(@Self)^.clr := $00008000;
  47918. end;
  47919. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  47920. begin
  47921. if thebits = 0 then
  47922. pTDefRegMap(@Self)^.clr := $00008000
  47923. else
  47924. pTDefRegMap(@Self)^.&set := $00008000;
  47925. end;
  47926. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  47927. begin
  47928. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47929. end;
  47930. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  47931. begin
  47932. pTDefRegMap(@Self)^.val := thebits;
  47933. end;
  47934. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  47935. begin
  47936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47937. end;
  47938. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  47939. begin
  47940. pTDefRegMap(@Self)^.&set := $00000008;
  47941. end;
  47942. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  47943. begin
  47944. pTDefRegMap(@Self)^.clr := $00000008;
  47945. end;
  47946. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  47947. begin
  47948. if thebits = 0 then
  47949. pTDefRegMap(@Self)^.clr := $00000008
  47950. else
  47951. pTDefRegMap(@Self)^.&set := $00000008;
  47952. end;
  47953. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  47954. begin
  47955. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47956. end;
  47957. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  47958. begin
  47959. pTDefRegMap(@Self)^.&set := $00000010;
  47960. end;
  47961. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  47962. begin
  47963. pTDefRegMap(@Self)^.clr := $00000010;
  47964. end;
  47965. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  47966. begin
  47967. if thebits = 0 then
  47968. pTDefRegMap(@Self)^.clr := $00000010
  47969. else
  47970. pTDefRegMap(@Self)^.&set := $00000010;
  47971. end;
  47972. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  47973. begin
  47974. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47975. end;
  47976. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  47977. begin
  47978. pTDefRegMap(@Self)^.&set := $00000020;
  47979. end;
  47980. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  47981. begin
  47982. pTDefRegMap(@Self)^.clr := $00000020;
  47983. end;
  47984. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  47985. begin
  47986. if thebits = 0 then
  47987. pTDefRegMap(@Self)^.clr := $00000020
  47988. else
  47989. pTDefRegMap(@Self)^.&set := $00000020;
  47990. end;
  47991. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  47992. begin
  47993. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47994. end;
  47995. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  47996. begin
  47997. pTDefRegMap(@Self)^.&set := $00000040;
  47998. end;
  47999. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  48000. begin
  48001. pTDefRegMap(@Self)^.clr := $00000040;
  48002. end;
  48003. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  48004. begin
  48005. if thebits = 0 then
  48006. pTDefRegMap(@Self)^.clr := $00000040
  48007. else
  48008. pTDefRegMap(@Self)^.&set := $00000040;
  48009. end;
  48010. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  48011. begin
  48012. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48013. end;
  48014. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  48015. begin
  48016. pTDefRegMap(@Self)^.&set := $00000080;
  48017. end;
  48018. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  48019. begin
  48020. pTDefRegMap(@Self)^.clr := $00000080;
  48021. end;
  48022. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  48023. begin
  48024. if thebits = 0 then
  48025. pTDefRegMap(@Self)^.clr := $00000080
  48026. else
  48027. pTDefRegMap(@Self)^.&set := $00000080;
  48028. end;
  48029. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  48030. begin
  48031. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48032. end;
  48033. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  48034. begin
  48035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  48036. end;
  48037. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  48038. begin
  48039. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  48040. end;
  48041. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  48042. begin
  48043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  48044. end;
  48045. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  48046. begin
  48047. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  48048. end;
  48049. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  48050. begin
  48051. pTDefRegMap(@Self)^.val := thebits;
  48052. end;
  48053. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  48054. begin
  48055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48056. end;
  48057. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  48058. begin
  48059. pTDefRegMap(@Self)^.&set := $00000001;
  48060. end;
  48061. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  48062. begin
  48063. pTDefRegMap(@Self)^.clr := $00000001;
  48064. end;
  48065. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  48066. begin
  48067. if thebits = 0 then
  48068. pTDefRegMap(@Self)^.clr := $00000001
  48069. else
  48070. pTDefRegMap(@Self)^.&set := $00000001;
  48071. end;
  48072. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  48073. begin
  48074. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48075. end;
  48076. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  48077. begin
  48078. pTDefRegMap(@Self)^.&set := $00000002;
  48079. end;
  48080. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  48081. begin
  48082. pTDefRegMap(@Self)^.clr := $00000002;
  48083. end;
  48084. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  48085. begin
  48086. if thebits = 0 then
  48087. pTDefRegMap(@Self)^.clr := $00000002
  48088. else
  48089. pTDefRegMap(@Self)^.&set := $00000002;
  48090. end;
  48091. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  48092. begin
  48093. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48094. end;
  48095. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  48096. begin
  48097. pTDefRegMap(@Self)^.&set := $00000004;
  48098. end;
  48099. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  48100. begin
  48101. pTDefRegMap(@Self)^.clr := $00000004;
  48102. end;
  48103. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  48104. begin
  48105. if thebits = 0 then
  48106. pTDefRegMap(@Self)^.clr := $00000004
  48107. else
  48108. pTDefRegMap(@Self)^.&set := $00000004;
  48109. end;
  48110. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  48111. begin
  48112. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48113. end;
  48114. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  48115. begin
  48116. pTDefRegMap(@Self)^.&set := $00000008;
  48117. end;
  48118. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  48119. begin
  48120. pTDefRegMap(@Self)^.clr := $00000008;
  48121. end;
  48122. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  48123. begin
  48124. if thebits = 0 then
  48125. pTDefRegMap(@Self)^.clr := $00000008
  48126. else
  48127. pTDefRegMap(@Self)^.&set := $00000008;
  48128. end;
  48129. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  48130. begin
  48131. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48132. end;
  48133. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  48134. begin
  48135. pTDefRegMap(@Self)^.&set := $00000010;
  48136. end;
  48137. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  48138. begin
  48139. pTDefRegMap(@Self)^.clr := $00000010;
  48140. end;
  48141. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  48142. begin
  48143. if thebits = 0 then
  48144. pTDefRegMap(@Self)^.clr := $00000010
  48145. else
  48146. pTDefRegMap(@Self)^.&set := $00000010;
  48147. end;
  48148. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  48149. begin
  48150. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48151. end;
  48152. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  48153. begin
  48154. pTDefRegMap(@Self)^.&set := $00000020;
  48155. end;
  48156. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  48157. begin
  48158. pTDefRegMap(@Self)^.clr := $00000020;
  48159. end;
  48160. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  48161. begin
  48162. if thebits = 0 then
  48163. pTDefRegMap(@Self)^.clr := $00000020
  48164. else
  48165. pTDefRegMap(@Self)^.&set := $00000020;
  48166. end;
  48167. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  48168. begin
  48169. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48170. end;
  48171. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  48172. begin
  48173. pTDefRegMap(@Self)^.&set := $00000040;
  48174. end;
  48175. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  48176. begin
  48177. pTDefRegMap(@Self)^.clr := $00000040;
  48178. end;
  48179. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  48180. begin
  48181. if thebits = 0 then
  48182. pTDefRegMap(@Self)^.clr := $00000040
  48183. else
  48184. pTDefRegMap(@Self)^.&set := $00000040;
  48185. end;
  48186. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  48187. begin
  48188. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48189. end;
  48190. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  48191. begin
  48192. pTDefRegMap(@Self)^.&set := $00000080;
  48193. end;
  48194. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  48195. begin
  48196. pTDefRegMap(@Self)^.clr := $00000080;
  48197. end;
  48198. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  48199. begin
  48200. if thebits = 0 then
  48201. pTDefRegMap(@Self)^.clr := $00000080
  48202. else
  48203. pTDefRegMap(@Self)^.&set := $00000080;
  48204. end;
  48205. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  48206. begin
  48207. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48208. end;
  48209. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  48210. begin
  48211. pTDefRegMap(@Self)^.&set := $00010000;
  48212. end;
  48213. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  48214. begin
  48215. pTDefRegMap(@Self)^.clr := $00010000;
  48216. end;
  48217. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  48218. begin
  48219. if thebits = 0 then
  48220. pTDefRegMap(@Self)^.clr := $00010000
  48221. else
  48222. pTDefRegMap(@Self)^.&set := $00010000;
  48223. end;
  48224. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  48225. begin
  48226. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  48227. end;
  48228. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  48229. begin
  48230. pTDefRegMap(@Self)^.&set := $00020000;
  48231. end;
  48232. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  48233. begin
  48234. pTDefRegMap(@Self)^.clr := $00020000;
  48235. end;
  48236. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  48237. begin
  48238. if thebits = 0 then
  48239. pTDefRegMap(@Self)^.clr := $00020000
  48240. else
  48241. pTDefRegMap(@Self)^.&set := $00020000;
  48242. end;
  48243. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  48244. begin
  48245. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  48246. end;
  48247. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  48248. begin
  48249. pTDefRegMap(@Self)^.&set := $00040000;
  48250. end;
  48251. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  48252. begin
  48253. pTDefRegMap(@Self)^.clr := $00040000;
  48254. end;
  48255. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  48256. begin
  48257. if thebits = 0 then
  48258. pTDefRegMap(@Self)^.clr := $00040000
  48259. else
  48260. pTDefRegMap(@Self)^.&set := $00040000;
  48261. end;
  48262. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  48263. begin
  48264. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  48265. end;
  48266. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  48267. begin
  48268. pTDefRegMap(@Self)^.&set := $00080000;
  48269. end;
  48270. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  48271. begin
  48272. pTDefRegMap(@Self)^.clr := $00080000;
  48273. end;
  48274. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  48275. begin
  48276. if thebits = 0 then
  48277. pTDefRegMap(@Self)^.clr := $00080000
  48278. else
  48279. pTDefRegMap(@Self)^.&set := $00080000;
  48280. end;
  48281. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  48282. begin
  48283. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  48284. end;
  48285. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  48286. begin
  48287. pTDefRegMap(@Self)^.&set := $00100000;
  48288. end;
  48289. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  48290. begin
  48291. pTDefRegMap(@Self)^.clr := $00100000;
  48292. end;
  48293. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  48294. begin
  48295. if thebits = 0 then
  48296. pTDefRegMap(@Self)^.clr := $00100000
  48297. else
  48298. pTDefRegMap(@Self)^.&set := $00100000;
  48299. end;
  48300. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  48301. begin
  48302. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  48303. end;
  48304. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  48305. begin
  48306. pTDefRegMap(@Self)^.&set := $00200000;
  48307. end;
  48308. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  48309. begin
  48310. pTDefRegMap(@Self)^.clr := $00200000;
  48311. end;
  48312. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  48313. begin
  48314. if thebits = 0 then
  48315. pTDefRegMap(@Self)^.clr := $00200000
  48316. else
  48317. pTDefRegMap(@Self)^.&set := $00200000;
  48318. end;
  48319. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  48320. begin
  48321. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  48322. end;
  48323. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  48324. begin
  48325. pTDefRegMap(@Self)^.&set := $00400000;
  48326. end;
  48327. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  48328. begin
  48329. pTDefRegMap(@Self)^.clr := $00400000;
  48330. end;
  48331. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  48332. begin
  48333. if thebits = 0 then
  48334. pTDefRegMap(@Self)^.clr := $00400000
  48335. else
  48336. pTDefRegMap(@Self)^.&set := $00400000;
  48337. end;
  48338. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  48339. begin
  48340. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  48341. end;
  48342. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  48343. begin
  48344. pTDefRegMap(@Self)^.&set := $00800000;
  48345. end;
  48346. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  48347. begin
  48348. pTDefRegMap(@Self)^.clr := $00800000;
  48349. end;
  48350. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  48351. begin
  48352. if thebits = 0 then
  48353. pTDefRegMap(@Self)^.clr := $00800000
  48354. else
  48355. pTDefRegMap(@Self)^.&set := $00800000;
  48356. end;
  48357. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  48358. begin
  48359. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  48360. end;
  48361. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  48362. begin
  48363. pTDefRegMap(@Self)^.val := thebits;
  48364. end;
  48365. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  48366. begin
  48367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48368. end;
  48369. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  48370. begin
  48371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48372. end;
  48373. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  48374. begin
  48375. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48376. end;
  48377. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  48378. begin
  48379. pTDefRegMap(@Self)^.&set := $00000004;
  48380. end;
  48381. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  48382. begin
  48383. pTDefRegMap(@Self)^.clr := $00000004;
  48384. end;
  48385. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  48386. begin
  48387. if thebits = 0 then
  48388. pTDefRegMap(@Self)^.clr := $00000004
  48389. else
  48390. pTDefRegMap(@Self)^.&set := $00000004;
  48391. end;
  48392. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  48393. begin
  48394. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48395. end;
  48396. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  48397. begin
  48398. pTDefRegMap(@Self)^.&set := $00000010;
  48399. end;
  48400. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  48401. begin
  48402. pTDefRegMap(@Self)^.clr := $00000010;
  48403. end;
  48404. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  48405. begin
  48406. if thebits = 0 then
  48407. pTDefRegMap(@Self)^.clr := $00000010
  48408. else
  48409. pTDefRegMap(@Self)^.&set := $00000010;
  48410. end;
  48411. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  48412. begin
  48413. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48414. end;
  48415. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  48416. begin
  48417. pTDefRegMap(@Self)^.&set := $00000020;
  48418. end;
  48419. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  48420. begin
  48421. pTDefRegMap(@Self)^.clr := $00000020;
  48422. end;
  48423. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  48424. begin
  48425. if thebits = 0 then
  48426. pTDefRegMap(@Self)^.clr := $00000020
  48427. else
  48428. pTDefRegMap(@Self)^.&set := $00000020;
  48429. end;
  48430. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  48431. begin
  48432. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48433. end;
  48434. procedure TDMAC3_DCH3CON.setCHAED; inline;
  48435. begin
  48436. pTDefRegMap(@Self)^.&set := $00000040;
  48437. end;
  48438. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  48439. begin
  48440. pTDefRegMap(@Self)^.clr := $00000040;
  48441. end;
  48442. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  48443. begin
  48444. if thebits = 0 then
  48445. pTDefRegMap(@Self)^.clr := $00000040
  48446. else
  48447. pTDefRegMap(@Self)^.&set := $00000040;
  48448. end;
  48449. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  48450. begin
  48451. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48452. end;
  48453. procedure TDMAC3_DCH3CON.setCHEN; inline;
  48454. begin
  48455. pTDefRegMap(@Self)^.&set := $00000080;
  48456. end;
  48457. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  48458. begin
  48459. pTDefRegMap(@Self)^.clr := $00000080;
  48460. end;
  48461. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  48462. begin
  48463. if thebits = 0 then
  48464. pTDefRegMap(@Self)^.clr := $00000080
  48465. else
  48466. pTDefRegMap(@Self)^.&set := $00000080;
  48467. end;
  48468. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  48469. begin
  48470. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48471. end;
  48472. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  48473. begin
  48474. pTDefRegMap(@Self)^.&set := $00000100;
  48475. end;
  48476. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  48477. begin
  48478. pTDefRegMap(@Self)^.clr := $00000100;
  48479. end;
  48480. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  48481. begin
  48482. if thebits = 0 then
  48483. pTDefRegMap(@Self)^.clr := $00000100
  48484. else
  48485. pTDefRegMap(@Self)^.&set := $00000100;
  48486. end;
  48487. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  48488. begin
  48489. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48490. end;
  48491. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  48492. begin
  48493. pTDefRegMap(@Self)^.&set := $00008000;
  48494. end;
  48495. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  48496. begin
  48497. pTDefRegMap(@Self)^.clr := $00008000;
  48498. end;
  48499. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  48500. begin
  48501. if thebits = 0 then
  48502. pTDefRegMap(@Self)^.clr := $00008000
  48503. else
  48504. pTDefRegMap(@Self)^.&set := $00008000;
  48505. end;
  48506. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  48507. begin
  48508. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48509. end;
  48510. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  48511. begin
  48512. pTDefRegMap(@Self)^.val := thebits;
  48513. end;
  48514. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  48515. begin
  48516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48517. end;
  48518. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  48519. begin
  48520. pTDefRegMap(@Self)^.&set := $00000008;
  48521. end;
  48522. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  48523. begin
  48524. pTDefRegMap(@Self)^.clr := $00000008;
  48525. end;
  48526. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  48527. begin
  48528. if thebits = 0 then
  48529. pTDefRegMap(@Self)^.clr := $00000008
  48530. else
  48531. pTDefRegMap(@Self)^.&set := $00000008;
  48532. end;
  48533. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  48534. begin
  48535. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48536. end;
  48537. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  48538. begin
  48539. pTDefRegMap(@Self)^.&set := $00000010;
  48540. end;
  48541. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  48542. begin
  48543. pTDefRegMap(@Self)^.clr := $00000010;
  48544. end;
  48545. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  48546. begin
  48547. if thebits = 0 then
  48548. pTDefRegMap(@Self)^.clr := $00000010
  48549. else
  48550. pTDefRegMap(@Self)^.&set := $00000010;
  48551. end;
  48552. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  48553. begin
  48554. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48555. end;
  48556. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  48557. begin
  48558. pTDefRegMap(@Self)^.&set := $00000020;
  48559. end;
  48560. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  48561. begin
  48562. pTDefRegMap(@Self)^.clr := $00000020;
  48563. end;
  48564. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  48565. begin
  48566. if thebits = 0 then
  48567. pTDefRegMap(@Self)^.clr := $00000020
  48568. else
  48569. pTDefRegMap(@Self)^.&set := $00000020;
  48570. end;
  48571. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  48572. begin
  48573. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48574. end;
  48575. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  48576. begin
  48577. pTDefRegMap(@Self)^.&set := $00000040;
  48578. end;
  48579. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  48580. begin
  48581. pTDefRegMap(@Self)^.clr := $00000040;
  48582. end;
  48583. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  48584. begin
  48585. if thebits = 0 then
  48586. pTDefRegMap(@Self)^.clr := $00000040
  48587. else
  48588. pTDefRegMap(@Self)^.&set := $00000040;
  48589. end;
  48590. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  48591. begin
  48592. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48593. end;
  48594. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  48595. begin
  48596. pTDefRegMap(@Self)^.&set := $00000080;
  48597. end;
  48598. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  48599. begin
  48600. pTDefRegMap(@Self)^.clr := $00000080;
  48601. end;
  48602. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  48603. begin
  48604. if thebits = 0 then
  48605. pTDefRegMap(@Self)^.clr := $00000080
  48606. else
  48607. pTDefRegMap(@Self)^.&set := $00000080;
  48608. end;
  48609. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  48610. begin
  48611. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48612. end;
  48613. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  48614. begin
  48615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  48616. end;
  48617. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  48618. begin
  48619. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  48620. end;
  48621. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  48622. begin
  48623. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  48624. end;
  48625. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  48626. begin
  48627. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  48628. end;
  48629. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  48630. begin
  48631. pTDefRegMap(@Self)^.val := thebits;
  48632. end;
  48633. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  48634. begin
  48635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48636. end;
  48637. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  48638. begin
  48639. pTDefRegMap(@Self)^.&set := $00000001;
  48640. end;
  48641. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  48642. begin
  48643. pTDefRegMap(@Self)^.clr := $00000001;
  48644. end;
  48645. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  48646. begin
  48647. if thebits = 0 then
  48648. pTDefRegMap(@Self)^.clr := $00000001
  48649. else
  48650. pTDefRegMap(@Self)^.&set := $00000001;
  48651. end;
  48652. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  48653. begin
  48654. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48655. end;
  48656. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  48657. begin
  48658. pTDefRegMap(@Self)^.&set := $00000002;
  48659. end;
  48660. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  48661. begin
  48662. pTDefRegMap(@Self)^.clr := $00000002;
  48663. end;
  48664. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  48665. begin
  48666. if thebits = 0 then
  48667. pTDefRegMap(@Self)^.clr := $00000002
  48668. else
  48669. pTDefRegMap(@Self)^.&set := $00000002;
  48670. end;
  48671. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  48672. begin
  48673. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48674. end;
  48675. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  48676. begin
  48677. pTDefRegMap(@Self)^.&set := $00000004;
  48678. end;
  48679. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  48680. begin
  48681. pTDefRegMap(@Self)^.clr := $00000004;
  48682. end;
  48683. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  48684. begin
  48685. if thebits = 0 then
  48686. pTDefRegMap(@Self)^.clr := $00000004
  48687. else
  48688. pTDefRegMap(@Self)^.&set := $00000004;
  48689. end;
  48690. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  48691. begin
  48692. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48693. end;
  48694. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  48695. begin
  48696. pTDefRegMap(@Self)^.&set := $00000008;
  48697. end;
  48698. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  48699. begin
  48700. pTDefRegMap(@Self)^.clr := $00000008;
  48701. end;
  48702. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  48703. begin
  48704. if thebits = 0 then
  48705. pTDefRegMap(@Self)^.clr := $00000008
  48706. else
  48707. pTDefRegMap(@Self)^.&set := $00000008;
  48708. end;
  48709. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  48710. begin
  48711. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48712. end;
  48713. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  48714. begin
  48715. pTDefRegMap(@Self)^.&set := $00000010;
  48716. end;
  48717. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  48718. begin
  48719. pTDefRegMap(@Self)^.clr := $00000010;
  48720. end;
  48721. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  48722. begin
  48723. if thebits = 0 then
  48724. pTDefRegMap(@Self)^.clr := $00000010
  48725. else
  48726. pTDefRegMap(@Self)^.&set := $00000010;
  48727. end;
  48728. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  48729. begin
  48730. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48731. end;
  48732. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  48733. begin
  48734. pTDefRegMap(@Self)^.&set := $00000020;
  48735. end;
  48736. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  48737. begin
  48738. pTDefRegMap(@Self)^.clr := $00000020;
  48739. end;
  48740. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  48741. begin
  48742. if thebits = 0 then
  48743. pTDefRegMap(@Self)^.clr := $00000020
  48744. else
  48745. pTDefRegMap(@Self)^.&set := $00000020;
  48746. end;
  48747. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  48748. begin
  48749. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48750. end;
  48751. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  48752. begin
  48753. pTDefRegMap(@Self)^.&set := $00000040;
  48754. end;
  48755. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  48756. begin
  48757. pTDefRegMap(@Self)^.clr := $00000040;
  48758. end;
  48759. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  48760. begin
  48761. if thebits = 0 then
  48762. pTDefRegMap(@Self)^.clr := $00000040
  48763. else
  48764. pTDefRegMap(@Self)^.&set := $00000040;
  48765. end;
  48766. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  48767. begin
  48768. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48769. end;
  48770. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  48771. begin
  48772. pTDefRegMap(@Self)^.&set := $00000080;
  48773. end;
  48774. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  48775. begin
  48776. pTDefRegMap(@Self)^.clr := $00000080;
  48777. end;
  48778. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  48779. begin
  48780. if thebits = 0 then
  48781. pTDefRegMap(@Self)^.clr := $00000080
  48782. else
  48783. pTDefRegMap(@Self)^.&set := $00000080;
  48784. end;
  48785. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  48786. begin
  48787. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48788. end;
  48789. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  48790. begin
  48791. pTDefRegMap(@Self)^.&set := $00010000;
  48792. end;
  48793. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  48794. begin
  48795. pTDefRegMap(@Self)^.clr := $00010000;
  48796. end;
  48797. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  48798. begin
  48799. if thebits = 0 then
  48800. pTDefRegMap(@Self)^.clr := $00010000
  48801. else
  48802. pTDefRegMap(@Self)^.&set := $00010000;
  48803. end;
  48804. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  48805. begin
  48806. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  48807. end;
  48808. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  48809. begin
  48810. pTDefRegMap(@Self)^.&set := $00020000;
  48811. end;
  48812. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  48813. begin
  48814. pTDefRegMap(@Self)^.clr := $00020000;
  48815. end;
  48816. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  48817. begin
  48818. if thebits = 0 then
  48819. pTDefRegMap(@Self)^.clr := $00020000
  48820. else
  48821. pTDefRegMap(@Self)^.&set := $00020000;
  48822. end;
  48823. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  48824. begin
  48825. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  48826. end;
  48827. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  48828. begin
  48829. pTDefRegMap(@Self)^.&set := $00040000;
  48830. end;
  48831. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  48832. begin
  48833. pTDefRegMap(@Self)^.clr := $00040000;
  48834. end;
  48835. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  48836. begin
  48837. if thebits = 0 then
  48838. pTDefRegMap(@Self)^.clr := $00040000
  48839. else
  48840. pTDefRegMap(@Self)^.&set := $00040000;
  48841. end;
  48842. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  48843. begin
  48844. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  48845. end;
  48846. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  48847. begin
  48848. pTDefRegMap(@Self)^.&set := $00080000;
  48849. end;
  48850. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  48851. begin
  48852. pTDefRegMap(@Self)^.clr := $00080000;
  48853. end;
  48854. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  48855. begin
  48856. if thebits = 0 then
  48857. pTDefRegMap(@Self)^.clr := $00080000
  48858. else
  48859. pTDefRegMap(@Self)^.&set := $00080000;
  48860. end;
  48861. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  48862. begin
  48863. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  48864. end;
  48865. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  48866. begin
  48867. pTDefRegMap(@Self)^.&set := $00100000;
  48868. end;
  48869. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  48870. begin
  48871. pTDefRegMap(@Self)^.clr := $00100000;
  48872. end;
  48873. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  48874. begin
  48875. if thebits = 0 then
  48876. pTDefRegMap(@Self)^.clr := $00100000
  48877. else
  48878. pTDefRegMap(@Self)^.&set := $00100000;
  48879. end;
  48880. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  48881. begin
  48882. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  48883. end;
  48884. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  48885. begin
  48886. pTDefRegMap(@Self)^.&set := $00200000;
  48887. end;
  48888. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  48889. begin
  48890. pTDefRegMap(@Self)^.clr := $00200000;
  48891. end;
  48892. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  48893. begin
  48894. if thebits = 0 then
  48895. pTDefRegMap(@Self)^.clr := $00200000
  48896. else
  48897. pTDefRegMap(@Self)^.&set := $00200000;
  48898. end;
  48899. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  48900. begin
  48901. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  48902. end;
  48903. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  48904. begin
  48905. pTDefRegMap(@Self)^.&set := $00400000;
  48906. end;
  48907. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  48908. begin
  48909. pTDefRegMap(@Self)^.clr := $00400000;
  48910. end;
  48911. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  48912. begin
  48913. if thebits = 0 then
  48914. pTDefRegMap(@Self)^.clr := $00400000
  48915. else
  48916. pTDefRegMap(@Self)^.&set := $00400000;
  48917. end;
  48918. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  48919. begin
  48920. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  48921. end;
  48922. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  48923. begin
  48924. pTDefRegMap(@Self)^.&set := $00800000;
  48925. end;
  48926. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  48927. begin
  48928. pTDefRegMap(@Self)^.clr := $00800000;
  48929. end;
  48930. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  48931. begin
  48932. if thebits = 0 then
  48933. pTDefRegMap(@Self)^.clr := $00800000
  48934. else
  48935. pTDefRegMap(@Self)^.&set := $00800000;
  48936. end;
  48937. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  48938. begin
  48939. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  48940. end;
  48941. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  48942. begin
  48943. pTDefRegMap(@Self)^.val := thebits;
  48944. end;
  48945. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  48946. begin
  48947. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48948. end;
  48949. procedure TDMAC4_DCH4CON.setCHPRI(thebits : TBits_2); inline;
  48950. begin
  48951. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48952. end;
  48953. function TDMAC4_DCH4CON.getCHPRI : TBits_2; inline;
  48954. begin
  48955. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48956. end;
  48957. procedure TDMAC4_DCH4CON.setCHEDET; inline;
  48958. begin
  48959. pTDefRegMap(@Self)^.&set := $00000004;
  48960. end;
  48961. procedure TDMAC4_DCH4CON.clearCHEDET; inline;
  48962. begin
  48963. pTDefRegMap(@Self)^.clr := $00000004;
  48964. end;
  48965. procedure TDMAC4_DCH4CON.setCHEDET(thebits : TBits_1); inline;
  48966. begin
  48967. if thebits = 0 then
  48968. pTDefRegMap(@Self)^.clr := $00000004
  48969. else
  48970. pTDefRegMap(@Self)^.&set := $00000004;
  48971. end;
  48972. function TDMAC4_DCH4CON.getCHEDET : TBits_1; inline;
  48973. begin
  48974. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48975. end;
  48976. procedure TDMAC4_DCH4CON.setCHAEN; inline;
  48977. begin
  48978. pTDefRegMap(@Self)^.&set := $00000010;
  48979. end;
  48980. procedure TDMAC4_DCH4CON.clearCHAEN; inline;
  48981. begin
  48982. pTDefRegMap(@Self)^.clr := $00000010;
  48983. end;
  48984. procedure TDMAC4_DCH4CON.setCHAEN(thebits : TBits_1); inline;
  48985. begin
  48986. if thebits = 0 then
  48987. pTDefRegMap(@Self)^.clr := $00000010
  48988. else
  48989. pTDefRegMap(@Self)^.&set := $00000010;
  48990. end;
  48991. function TDMAC4_DCH4CON.getCHAEN : TBits_1; inline;
  48992. begin
  48993. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48994. end;
  48995. procedure TDMAC4_DCH4CON.setCHCHN; inline;
  48996. begin
  48997. pTDefRegMap(@Self)^.&set := $00000020;
  48998. end;
  48999. procedure TDMAC4_DCH4CON.clearCHCHN; inline;
  49000. begin
  49001. pTDefRegMap(@Self)^.clr := $00000020;
  49002. end;
  49003. procedure TDMAC4_DCH4CON.setCHCHN(thebits : TBits_1); inline;
  49004. begin
  49005. if thebits = 0 then
  49006. pTDefRegMap(@Self)^.clr := $00000020
  49007. else
  49008. pTDefRegMap(@Self)^.&set := $00000020;
  49009. end;
  49010. function TDMAC4_DCH4CON.getCHCHN : TBits_1; inline;
  49011. begin
  49012. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49013. end;
  49014. procedure TDMAC4_DCH4CON.setCHAED; inline;
  49015. begin
  49016. pTDefRegMap(@Self)^.&set := $00000040;
  49017. end;
  49018. procedure TDMAC4_DCH4CON.clearCHAED; inline;
  49019. begin
  49020. pTDefRegMap(@Self)^.clr := $00000040;
  49021. end;
  49022. procedure TDMAC4_DCH4CON.setCHAED(thebits : TBits_1); inline;
  49023. begin
  49024. if thebits = 0 then
  49025. pTDefRegMap(@Self)^.clr := $00000040
  49026. else
  49027. pTDefRegMap(@Self)^.&set := $00000040;
  49028. end;
  49029. function TDMAC4_DCH4CON.getCHAED : TBits_1; inline;
  49030. begin
  49031. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49032. end;
  49033. procedure TDMAC4_DCH4CON.setCHEN; inline;
  49034. begin
  49035. pTDefRegMap(@Self)^.&set := $00000080;
  49036. end;
  49037. procedure TDMAC4_DCH4CON.clearCHEN; inline;
  49038. begin
  49039. pTDefRegMap(@Self)^.clr := $00000080;
  49040. end;
  49041. procedure TDMAC4_DCH4CON.setCHEN(thebits : TBits_1); inline;
  49042. begin
  49043. if thebits = 0 then
  49044. pTDefRegMap(@Self)^.clr := $00000080
  49045. else
  49046. pTDefRegMap(@Self)^.&set := $00000080;
  49047. end;
  49048. function TDMAC4_DCH4CON.getCHEN : TBits_1; inline;
  49049. begin
  49050. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49051. end;
  49052. procedure TDMAC4_DCH4CON.setCHCHNS; inline;
  49053. begin
  49054. pTDefRegMap(@Self)^.&set := $00000100;
  49055. end;
  49056. procedure TDMAC4_DCH4CON.clearCHCHNS; inline;
  49057. begin
  49058. pTDefRegMap(@Self)^.clr := $00000100;
  49059. end;
  49060. procedure TDMAC4_DCH4CON.setCHCHNS(thebits : TBits_1); inline;
  49061. begin
  49062. if thebits = 0 then
  49063. pTDefRegMap(@Self)^.clr := $00000100
  49064. else
  49065. pTDefRegMap(@Self)^.&set := $00000100;
  49066. end;
  49067. function TDMAC4_DCH4CON.getCHCHNS : TBits_1; inline;
  49068. begin
  49069. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49070. end;
  49071. procedure TDMAC4_DCH4CON.setCHBUSY; inline;
  49072. begin
  49073. pTDefRegMap(@Self)^.&set := $00008000;
  49074. end;
  49075. procedure TDMAC4_DCH4CON.clearCHBUSY; inline;
  49076. begin
  49077. pTDefRegMap(@Self)^.clr := $00008000;
  49078. end;
  49079. procedure TDMAC4_DCH4CON.setCHBUSY(thebits : TBits_1); inline;
  49080. begin
  49081. if thebits = 0 then
  49082. pTDefRegMap(@Self)^.clr := $00008000
  49083. else
  49084. pTDefRegMap(@Self)^.&set := $00008000;
  49085. end;
  49086. function TDMAC4_DCH4CON.getCHBUSY : TBits_1; inline;
  49087. begin
  49088. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49089. end;
  49090. procedure TDMAC4_DCH4CON.setw(thebits : TBits_32); inline;
  49091. begin
  49092. pTDefRegMap(@Self)^.val := thebits;
  49093. end;
  49094. function TDMAC4_DCH4CON.getw : TBits_32; inline;
  49095. begin
  49096. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49097. end;
  49098. procedure TDMAC4_DCH4ECON.setAIRQEN; inline;
  49099. begin
  49100. pTDefRegMap(@Self)^.&set := $00000008;
  49101. end;
  49102. procedure TDMAC4_DCH4ECON.clearAIRQEN; inline;
  49103. begin
  49104. pTDefRegMap(@Self)^.clr := $00000008;
  49105. end;
  49106. procedure TDMAC4_DCH4ECON.setAIRQEN(thebits : TBits_1); inline;
  49107. begin
  49108. if thebits = 0 then
  49109. pTDefRegMap(@Self)^.clr := $00000008
  49110. else
  49111. pTDefRegMap(@Self)^.&set := $00000008;
  49112. end;
  49113. function TDMAC4_DCH4ECON.getAIRQEN : TBits_1; inline;
  49114. begin
  49115. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49116. end;
  49117. procedure TDMAC4_DCH4ECON.setSIRQEN; inline;
  49118. begin
  49119. pTDefRegMap(@Self)^.&set := $00000010;
  49120. end;
  49121. procedure TDMAC4_DCH4ECON.clearSIRQEN; inline;
  49122. begin
  49123. pTDefRegMap(@Self)^.clr := $00000010;
  49124. end;
  49125. procedure TDMAC4_DCH4ECON.setSIRQEN(thebits : TBits_1); inline;
  49126. begin
  49127. if thebits = 0 then
  49128. pTDefRegMap(@Self)^.clr := $00000010
  49129. else
  49130. pTDefRegMap(@Self)^.&set := $00000010;
  49131. end;
  49132. function TDMAC4_DCH4ECON.getSIRQEN : TBits_1; inline;
  49133. begin
  49134. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49135. end;
  49136. procedure TDMAC4_DCH4ECON.setPATEN; inline;
  49137. begin
  49138. pTDefRegMap(@Self)^.&set := $00000020;
  49139. end;
  49140. procedure TDMAC4_DCH4ECON.clearPATEN; inline;
  49141. begin
  49142. pTDefRegMap(@Self)^.clr := $00000020;
  49143. end;
  49144. procedure TDMAC4_DCH4ECON.setPATEN(thebits : TBits_1); inline;
  49145. begin
  49146. if thebits = 0 then
  49147. pTDefRegMap(@Self)^.clr := $00000020
  49148. else
  49149. pTDefRegMap(@Self)^.&set := $00000020;
  49150. end;
  49151. function TDMAC4_DCH4ECON.getPATEN : TBits_1; inline;
  49152. begin
  49153. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49154. end;
  49155. procedure TDMAC4_DCH4ECON.setCABORT; inline;
  49156. begin
  49157. pTDefRegMap(@Self)^.&set := $00000040;
  49158. end;
  49159. procedure TDMAC4_DCH4ECON.clearCABORT; inline;
  49160. begin
  49161. pTDefRegMap(@Self)^.clr := $00000040;
  49162. end;
  49163. procedure TDMAC4_DCH4ECON.setCABORT(thebits : TBits_1); inline;
  49164. begin
  49165. if thebits = 0 then
  49166. pTDefRegMap(@Self)^.clr := $00000040
  49167. else
  49168. pTDefRegMap(@Self)^.&set := $00000040;
  49169. end;
  49170. function TDMAC4_DCH4ECON.getCABORT : TBits_1; inline;
  49171. begin
  49172. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49173. end;
  49174. procedure TDMAC4_DCH4ECON.setCFORCE; inline;
  49175. begin
  49176. pTDefRegMap(@Self)^.&set := $00000080;
  49177. end;
  49178. procedure TDMAC4_DCH4ECON.clearCFORCE; inline;
  49179. begin
  49180. pTDefRegMap(@Self)^.clr := $00000080;
  49181. end;
  49182. procedure TDMAC4_DCH4ECON.setCFORCE(thebits : TBits_1); inline;
  49183. begin
  49184. if thebits = 0 then
  49185. pTDefRegMap(@Self)^.clr := $00000080
  49186. else
  49187. pTDefRegMap(@Self)^.&set := $00000080;
  49188. end;
  49189. function TDMAC4_DCH4ECON.getCFORCE : TBits_1; inline;
  49190. begin
  49191. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49192. end;
  49193. procedure TDMAC4_DCH4ECON.setCHSIRQ(thebits : TBits_8); inline;
  49194. begin
  49195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49196. end;
  49197. function TDMAC4_DCH4ECON.getCHSIRQ : TBits_8; inline;
  49198. begin
  49199. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49200. end;
  49201. procedure TDMAC4_DCH4ECON.setCHAIRQ(thebits : TBits_8); inline;
  49202. begin
  49203. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49204. end;
  49205. function TDMAC4_DCH4ECON.getCHAIRQ : TBits_8; inline;
  49206. begin
  49207. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49208. end;
  49209. procedure TDMAC4_DCH4ECON.setw(thebits : TBits_32); inline;
  49210. begin
  49211. pTDefRegMap(@Self)^.val := thebits;
  49212. end;
  49213. function TDMAC4_DCH4ECON.getw : TBits_32; inline;
  49214. begin
  49215. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49216. end;
  49217. procedure TDMAC4_DCH4INT.setCHERIF; inline;
  49218. begin
  49219. pTDefRegMap(@Self)^.&set := $00000001;
  49220. end;
  49221. procedure TDMAC4_DCH4INT.clearCHERIF; inline;
  49222. begin
  49223. pTDefRegMap(@Self)^.clr := $00000001;
  49224. end;
  49225. procedure TDMAC4_DCH4INT.setCHERIF(thebits : TBits_1); inline;
  49226. begin
  49227. if thebits = 0 then
  49228. pTDefRegMap(@Self)^.clr := $00000001
  49229. else
  49230. pTDefRegMap(@Self)^.&set := $00000001;
  49231. end;
  49232. function TDMAC4_DCH4INT.getCHERIF : TBits_1; inline;
  49233. begin
  49234. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49235. end;
  49236. procedure TDMAC4_DCH4INT.setCHTAIF; inline;
  49237. begin
  49238. pTDefRegMap(@Self)^.&set := $00000002;
  49239. end;
  49240. procedure TDMAC4_DCH4INT.clearCHTAIF; inline;
  49241. begin
  49242. pTDefRegMap(@Self)^.clr := $00000002;
  49243. end;
  49244. procedure TDMAC4_DCH4INT.setCHTAIF(thebits : TBits_1); inline;
  49245. begin
  49246. if thebits = 0 then
  49247. pTDefRegMap(@Self)^.clr := $00000002
  49248. else
  49249. pTDefRegMap(@Self)^.&set := $00000002;
  49250. end;
  49251. function TDMAC4_DCH4INT.getCHTAIF : TBits_1; inline;
  49252. begin
  49253. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49254. end;
  49255. procedure TDMAC4_DCH4INT.setCHCCIF; inline;
  49256. begin
  49257. pTDefRegMap(@Self)^.&set := $00000004;
  49258. end;
  49259. procedure TDMAC4_DCH4INT.clearCHCCIF; inline;
  49260. begin
  49261. pTDefRegMap(@Self)^.clr := $00000004;
  49262. end;
  49263. procedure TDMAC4_DCH4INT.setCHCCIF(thebits : TBits_1); inline;
  49264. begin
  49265. if thebits = 0 then
  49266. pTDefRegMap(@Self)^.clr := $00000004
  49267. else
  49268. pTDefRegMap(@Self)^.&set := $00000004;
  49269. end;
  49270. function TDMAC4_DCH4INT.getCHCCIF : TBits_1; inline;
  49271. begin
  49272. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49273. end;
  49274. procedure TDMAC4_DCH4INT.setCHBCIF; inline;
  49275. begin
  49276. pTDefRegMap(@Self)^.&set := $00000008;
  49277. end;
  49278. procedure TDMAC4_DCH4INT.clearCHBCIF; inline;
  49279. begin
  49280. pTDefRegMap(@Self)^.clr := $00000008;
  49281. end;
  49282. procedure TDMAC4_DCH4INT.setCHBCIF(thebits : TBits_1); inline;
  49283. begin
  49284. if thebits = 0 then
  49285. pTDefRegMap(@Self)^.clr := $00000008
  49286. else
  49287. pTDefRegMap(@Self)^.&set := $00000008;
  49288. end;
  49289. function TDMAC4_DCH4INT.getCHBCIF : TBits_1; inline;
  49290. begin
  49291. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49292. end;
  49293. procedure TDMAC4_DCH4INT.setCHDHIF; inline;
  49294. begin
  49295. pTDefRegMap(@Self)^.&set := $00000010;
  49296. end;
  49297. procedure TDMAC4_DCH4INT.clearCHDHIF; inline;
  49298. begin
  49299. pTDefRegMap(@Self)^.clr := $00000010;
  49300. end;
  49301. procedure TDMAC4_DCH4INT.setCHDHIF(thebits : TBits_1); inline;
  49302. begin
  49303. if thebits = 0 then
  49304. pTDefRegMap(@Self)^.clr := $00000010
  49305. else
  49306. pTDefRegMap(@Self)^.&set := $00000010;
  49307. end;
  49308. function TDMAC4_DCH4INT.getCHDHIF : TBits_1; inline;
  49309. begin
  49310. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49311. end;
  49312. procedure TDMAC4_DCH4INT.setCHDDIF; inline;
  49313. begin
  49314. pTDefRegMap(@Self)^.&set := $00000020;
  49315. end;
  49316. procedure TDMAC4_DCH4INT.clearCHDDIF; inline;
  49317. begin
  49318. pTDefRegMap(@Self)^.clr := $00000020;
  49319. end;
  49320. procedure TDMAC4_DCH4INT.setCHDDIF(thebits : TBits_1); inline;
  49321. begin
  49322. if thebits = 0 then
  49323. pTDefRegMap(@Self)^.clr := $00000020
  49324. else
  49325. pTDefRegMap(@Self)^.&set := $00000020;
  49326. end;
  49327. function TDMAC4_DCH4INT.getCHDDIF : TBits_1; inline;
  49328. begin
  49329. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49330. end;
  49331. procedure TDMAC4_DCH4INT.setCHSHIF; inline;
  49332. begin
  49333. pTDefRegMap(@Self)^.&set := $00000040;
  49334. end;
  49335. procedure TDMAC4_DCH4INT.clearCHSHIF; inline;
  49336. begin
  49337. pTDefRegMap(@Self)^.clr := $00000040;
  49338. end;
  49339. procedure TDMAC4_DCH4INT.setCHSHIF(thebits : TBits_1); inline;
  49340. begin
  49341. if thebits = 0 then
  49342. pTDefRegMap(@Self)^.clr := $00000040
  49343. else
  49344. pTDefRegMap(@Self)^.&set := $00000040;
  49345. end;
  49346. function TDMAC4_DCH4INT.getCHSHIF : TBits_1; inline;
  49347. begin
  49348. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49349. end;
  49350. procedure TDMAC4_DCH4INT.setCHSDIF; inline;
  49351. begin
  49352. pTDefRegMap(@Self)^.&set := $00000080;
  49353. end;
  49354. procedure TDMAC4_DCH4INT.clearCHSDIF; inline;
  49355. begin
  49356. pTDefRegMap(@Self)^.clr := $00000080;
  49357. end;
  49358. procedure TDMAC4_DCH4INT.setCHSDIF(thebits : TBits_1); inline;
  49359. begin
  49360. if thebits = 0 then
  49361. pTDefRegMap(@Self)^.clr := $00000080
  49362. else
  49363. pTDefRegMap(@Self)^.&set := $00000080;
  49364. end;
  49365. function TDMAC4_DCH4INT.getCHSDIF : TBits_1; inline;
  49366. begin
  49367. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49368. end;
  49369. procedure TDMAC4_DCH4INT.setCHERIE; inline;
  49370. begin
  49371. pTDefRegMap(@Self)^.&set := $00010000;
  49372. end;
  49373. procedure TDMAC4_DCH4INT.clearCHERIE; inline;
  49374. begin
  49375. pTDefRegMap(@Self)^.clr := $00010000;
  49376. end;
  49377. procedure TDMAC4_DCH4INT.setCHERIE(thebits : TBits_1); inline;
  49378. begin
  49379. if thebits = 0 then
  49380. pTDefRegMap(@Self)^.clr := $00010000
  49381. else
  49382. pTDefRegMap(@Self)^.&set := $00010000;
  49383. end;
  49384. function TDMAC4_DCH4INT.getCHERIE : TBits_1; inline;
  49385. begin
  49386. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49387. end;
  49388. procedure TDMAC4_DCH4INT.setCHTAIE; inline;
  49389. begin
  49390. pTDefRegMap(@Self)^.&set := $00020000;
  49391. end;
  49392. procedure TDMAC4_DCH4INT.clearCHTAIE; inline;
  49393. begin
  49394. pTDefRegMap(@Self)^.clr := $00020000;
  49395. end;
  49396. procedure TDMAC4_DCH4INT.setCHTAIE(thebits : TBits_1); inline;
  49397. begin
  49398. if thebits = 0 then
  49399. pTDefRegMap(@Self)^.clr := $00020000
  49400. else
  49401. pTDefRegMap(@Self)^.&set := $00020000;
  49402. end;
  49403. function TDMAC4_DCH4INT.getCHTAIE : TBits_1; inline;
  49404. begin
  49405. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49406. end;
  49407. procedure TDMAC4_DCH4INT.setCHCCIE; inline;
  49408. begin
  49409. pTDefRegMap(@Self)^.&set := $00040000;
  49410. end;
  49411. procedure TDMAC4_DCH4INT.clearCHCCIE; inline;
  49412. begin
  49413. pTDefRegMap(@Self)^.clr := $00040000;
  49414. end;
  49415. procedure TDMAC4_DCH4INT.setCHCCIE(thebits : TBits_1); inline;
  49416. begin
  49417. if thebits = 0 then
  49418. pTDefRegMap(@Self)^.clr := $00040000
  49419. else
  49420. pTDefRegMap(@Self)^.&set := $00040000;
  49421. end;
  49422. function TDMAC4_DCH4INT.getCHCCIE : TBits_1; inline;
  49423. begin
  49424. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49425. end;
  49426. procedure TDMAC4_DCH4INT.setCHBCIE; inline;
  49427. begin
  49428. pTDefRegMap(@Self)^.&set := $00080000;
  49429. end;
  49430. procedure TDMAC4_DCH4INT.clearCHBCIE; inline;
  49431. begin
  49432. pTDefRegMap(@Self)^.clr := $00080000;
  49433. end;
  49434. procedure TDMAC4_DCH4INT.setCHBCIE(thebits : TBits_1); inline;
  49435. begin
  49436. if thebits = 0 then
  49437. pTDefRegMap(@Self)^.clr := $00080000
  49438. else
  49439. pTDefRegMap(@Self)^.&set := $00080000;
  49440. end;
  49441. function TDMAC4_DCH4INT.getCHBCIE : TBits_1; inline;
  49442. begin
  49443. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49444. end;
  49445. procedure TDMAC4_DCH4INT.setCHDHIE; inline;
  49446. begin
  49447. pTDefRegMap(@Self)^.&set := $00100000;
  49448. end;
  49449. procedure TDMAC4_DCH4INT.clearCHDHIE; inline;
  49450. begin
  49451. pTDefRegMap(@Self)^.clr := $00100000;
  49452. end;
  49453. procedure TDMAC4_DCH4INT.setCHDHIE(thebits : TBits_1); inline;
  49454. begin
  49455. if thebits = 0 then
  49456. pTDefRegMap(@Self)^.clr := $00100000
  49457. else
  49458. pTDefRegMap(@Self)^.&set := $00100000;
  49459. end;
  49460. function TDMAC4_DCH4INT.getCHDHIE : TBits_1; inline;
  49461. begin
  49462. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49463. end;
  49464. procedure TDMAC4_DCH4INT.setCHDDIE; inline;
  49465. begin
  49466. pTDefRegMap(@Self)^.&set := $00200000;
  49467. end;
  49468. procedure TDMAC4_DCH4INT.clearCHDDIE; inline;
  49469. begin
  49470. pTDefRegMap(@Self)^.clr := $00200000;
  49471. end;
  49472. procedure TDMAC4_DCH4INT.setCHDDIE(thebits : TBits_1); inline;
  49473. begin
  49474. if thebits = 0 then
  49475. pTDefRegMap(@Self)^.clr := $00200000
  49476. else
  49477. pTDefRegMap(@Self)^.&set := $00200000;
  49478. end;
  49479. function TDMAC4_DCH4INT.getCHDDIE : TBits_1; inline;
  49480. begin
  49481. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49482. end;
  49483. procedure TDMAC4_DCH4INT.setCHSHIE; inline;
  49484. begin
  49485. pTDefRegMap(@Self)^.&set := $00400000;
  49486. end;
  49487. procedure TDMAC4_DCH4INT.clearCHSHIE; inline;
  49488. begin
  49489. pTDefRegMap(@Self)^.clr := $00400000;
  49490. end;
  49491. procedure TDMAC4_DCH4INT.setCHSHIE(thebits : TBits_1); inline;
  49492. begin
  49493. if thebits = 0 then
  49494. pTDefRegMap(@Self)^.clr := $00400000
  49495. else
  49496. pTDefRegMap(@Self)^.&set := $00400000;
  49497. end;
  49498. function TDMAC4_DCH4INT.getCHSHIE : TBits_1; inline;
  49499. begin
  49500. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49501. end;
  49502. procedure TDMAC4_DCH4INT.setCHSDIE; inline;
  49503. begin
  49504. pTDefRegMap(@Self)^.&set := $00800000;
  49505. end;
  49506. procedure TDMAC4_DCH4INT.clearCHSDIE; inline;
  49507. begin
  49508. pTDefRegMap(@Self)^.clr := $00800000;
  49509. end;
  49510. procedure TDMAC4_DCH4INT.setCHSDIE(thebits : TBits_1); inline;
  49511. begin
  49512. if thebits = 0 then
  49513. pTDefRegMap(@Self)^.clr := $00800000
  49514. else
  49515. pTDefRegMap(@Self)^.&set := $00800000;
  49516. end;
  49517. function TDMAC4_DCH4INT.getCHSDIE : TBits_1; inline;
  49518. begin
  49519. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49520. end;
  49521. procedure TDMAC4_DCH4INT.setw(thebits : TBits_32); inline;
  49522. begin
  49523. pTDefRegMap(@Self)^.val := thebits;
  49524. end;
  49525. function TDMAC4_DCH4INT.getw : TBits_32; inline;
  49526. begin
  49527. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49528. end;
  49529. procedure TDMAC5_DCH5CON.setCHPRI(thebits : TBits_2); inline;
  49530. begin
  49531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49532. end;
  49533. function TDMAC5_DCH5CON.getCHPRI : TBits_2; inline;
  49534. begin
  49535. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49536. end;
  49537. procedure TDMAC5_DCH5CON.setCHEDET; inline;
  49538. begin
  49539. pTDefRegMap(@Self)^.&set := $00000004;
  49540. end;
  49541. procedure TDMAC5_DCH5CON.clearCHEDET; inline;
  49542. begin
  49543. pTDefRegMap(@Self)^.clr := $00000004;
  49544. end;
  49545. procedure TDMAC5_DCH5CON.setCHEDET(thebits : TBits_1); inline;
  49546. begin
  49547. if thebits = 0 then
  49548. pTDefRegMap(@Self)^.clr := $00000004
  49549. else
  49550. pTDefRegMap(@Self)^.&set := $00000004;
  49551. end;
  49552. function TDMAC5_DCH5CON.getCHEDET : TBits_1; inline;
  49553. begin
  49554. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49555. end;
  49556. procedure TDMAC5_DCH5CON.setCHAEN; inline;
  49557. begin
  49558. pTDefRegMap(@Self)^.&set := $00000010;
  49559. end;
  49560. procedure TDMAC5_DCH5CON.clearCHAEN; inline;
  49561. begin
  49562. pTDefRegMap(@Self)^.clr := $00000010;
  49563. end;
  49564. procedure TDMAC5_DCH5CON.setCHAEN(thebits : TBits_1); inline;
  49565. begin
  49566. if thebits = 0 then
  49567. pTDefRegMap(@Self)^.clr := $00000010
  49568. else
  49569. pTDefRegMap(@Self)^.&set := $00000010;
  49570. end;
  49571. function TDMAC5_DCH5CON.getCHAEN : TBits_1; inline;
  49572. begin
  49573. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49574. end;
  49575. procedure TDMAC5_DCH5CON.setCHCHN; inline;
  49576. begin
  49577. pTDefRegMap(@Self)^.&set := $00000020;
  49578. end;
  49579. procedure TDMAC5_DCH5CON.clearCHCHN; inline;
  49580. begin
  49581. pTDefRegMap(@Self)^.clr := $00000020;
  49582. end;
  49583. procedure TDMAC5_DCH5CON.setCHCHN(thebits : TBits_1); inline;
  49584. begin
  49585. if thebits = 0 then
  49586. pTDefRegMap(@Self)^.clr := $00000020
  49587. else
  49588. pTDefRegMap(@Self)^.&set := $00000020;
  49589. end;
  49590. function TDMAC5_DCH5CON.getCHCHN : TBits_1; inline;
  49591. begin
  49592. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49593. end;
  49594. procedure TDMAC5_DCH5CON.setCHAED; inline;
  49595. begin
  49596. pTDefRegMap(@Self)^.&set := $00000040;
  49597. end;
  49598. procedure TDMAC5_DCH5CON.clearCHAED; inline;
  49599. begin
  49600. pTDefRegMap(@Self)^.clr := $00000040;
  49601. end;
  49602. procedure TDMAC5_DCH5CON.setCHAED(thebits : TBits_1); inline;
  49603. begin
  49604. if thebits = 0 then
  49605. pTDefRegMap(@Self)^.clr := $00000040
  49606. else
  49607. pTDefRegMap(@Self)^.&set := $00000040;
  49608. end;
  49609. function TDMAC5_DCH5CON.getCHAED : TBits_1; inline;
  49610. begin
  49611. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49612. end;
  49613. procedure TDMAC5_DCH5CON.setCHEN; inline;
  49614. begin
  49615. pTDefRegMap(@Self)^.&set := $00000080;
  49616. end;
  49617. procedure TDMAC5_DCH5CON.clearCHEN; inline;
  49618. begin
  49619. pTDefRegMap(@Self)^.clr := $00000080;
  49620. end;
  49621. procedure TDMAC5_DCH5CON.setCHEN(thebits : TBits_1); inline;
  49622. begin
  49623. if thebits = 0 then
  49624. pTDefRegMap(@Self)^.clr := $00000080
  49625. else
  49626. pTDefRegMap(@Self)^.&set := $00000080;
  49627. end;
  49628. function TDMAC5_DCH5CON.getCHEN : TBits_1; inline;
  49629. begin
  49630. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49631. end;
  49632. procedure TDMAC5_DCH5CON.setCHCHNS; inline;
  49633. begin
  49634. pTDefRegMap(@Self)^.&set := $00000100;
  49635. end;
  49636. procedure TDMAC5_DCH5CON.clearCHCHNS; inline;
  49637. begin
  49638. pTDefRegMap(@Self)^.clr := $00000100;
  49639. end;
  49640. procedure TDMAC5_DCH5CON.setCHCHNS(thebits : TBits_1); inline;
  49641. begin
  49642. if thebits = 0 then
  49643. pTDefRegMap(@Self)^.clr := $00000100
  49644. else
  49645. pTDefRegMap(@Self)^.&set := $00000100;
  49646. end;
  49647. function TDMAC5_DCH5CON.getCHCHNS : TBits_1; inline;
  49648. begin
  49649. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49650. end;
  49651. procedure TDMAC5_DCH5CON.setCHBUSY; inline;
  49652. begin
  49653. pTDefRegMap(@Self)^.&set := $00008000;
  49654. end;
  49655. procedure TDMAC5_DCH5CON.clearCHBUSY; inline;
  49656. begin
  49657. pTDefRegMap(@Self)^.clr := $00008000;
  49658. end;
  49659. procedure TDMAC5_DCH5CON.setCHBUSY(thebits : TBits_1); inline;
  49660. begin
  49661. if thebits = 0 then
  49662. pTDefRegMap(@Self)^.clr := $00008000
  49663. else
  49664. pTDefRegMap(@Self)^.&set := $00008000;
  49665. end;
  49666. function TDMAC5_DCH5CON.getCHBUSY : TBits_1; inline;
  49667. begin
  49668. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49669. end;
  49670. procedure TDMAC5_DCH5CON.setw(thebits : TBits_32); inline;
  49671. begin
  49672. pTDefRegMap(@Self)^.val := thebits;
  49673. end;
  49674. function TDMAC5_DCH5CON.getw : TBits_32; inline;
  49675. begin
  49676. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49677. end;
  49678. procedure TDMAC5_DCH5ECON.setAIRQEN; inline;
  49679. begin
  49680. pTDefRegMap(@Self)^.&set := $00000008;
  49681. end;
  49682. procedure TDMAC5_DCH5ECON.clearAIRQEN; inline;
  49683. begin
  49684. pTDefRegMap(@Self)^.clr := $00000008;
  49685. end;
  49686. procedure TDMAC5_DCH5ECON.setAIRQEN(thebits : TBits_1); inline;
  49687. begin
  49688. if thebits = 0 then
  49689. pTDefRegMap(@Self)^.clr := $00000008
  49690. else
  49691. pTDefRegMap(@Self)^.&set := $00000008;
  49692. end;
  49693. function TDMAC5_DCH5ECON.getAIRQEN : TBits_1; inline;
  49694. begin
  49695. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49696. end;
  49697. procedure TDMAC5_DCH5ECON.setSIRQEN; inline;
  49698. begin
  49699. pTDefRegMap(@Self)^.&set := $00000010;
  49700. end;
  49701. procedure TDMAC5_DCH5ECON.clearSIRQEN; inline;
  49702. begin
  49703. pTDefRegMap(@Self)^.clr := $00000010;
  49704. end;
  49705. procedure TDMAC5_DCH5ECON.setSIRQEN(thebits : TBits_1); inline;
  49706. begin
  49707. if thebits = 0 then
  49708. pTDefRegMap(@Self)^.clr := $00000010
  49709. else
  49710. pTDefRegMap(@Self)^.&set := $00000010;
  49711. end;
  49712. function TDMAC5_DCH5ECON.getSIRQEN : TBits_1; inline;
  49713. begin
  49714. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49715. end;
  49716. procedure TDMAC5_DCH5ECON.setPATEN; inline;
  49717. begin
  49718. pTDefRegMap(@Self)^.&set := $00000020;
  49719. end;
  49720. procedure TDMAC5_DCH5ECON.clearPATEN; inline;
  49721. begin
  49722. pTDefRegMap(@Self)^.clr := $00000020;
  49723. end;
  49724. procedure TDMAC5_DCH5ECON.setPATEN(thebits : TBits_1); inline;
  49725. begin
  49726. if thebits = 0 then
  49727. pTDefRegMap(@Self)^.clr := $00000020
  49728. else
  49729. pTDefRegMap(@Self)^.&set := $00000020;
  49730. end;
  49731. function TDMAC5_DCH5ECON.getPATEN : TBits_1; inline;
  49732. begin
  49733. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49734. end;
  49735. procedure TDMAC5_DCH5ECON.setCABORT; inline;
  49736. begin
  49737. pTDefRegMap(@Self)^.&set := $00000040;
  49738. end;
  49739. procedure TDMAC5_DCH5ECON.clearCABORT; inline;
  49740. begin
  49741. pTDefRegMap(@Self)^.clr := $00000040;
  49742. end;
  49743. procedure TDMAC5_DCH5ECON.setCABORT(thebits : TBits_1); inline;
  49744. begin
  49745. if thebits = 0 then
  49746. pTDefRegMap(@Self)^.clr := $00000040
  49747. else
  49748. pTDefRegMap(@Self)^.&set := $00000040;
  49749. end;
  49750. function TDMAC5_DCH5ECON.getCABORT : TBits_1; inline;
  49751. begin
  49752. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49753. end;
  49754. procedure TDMAC5_DCH5ECON.setCFORCE; inline;
  49755. begin
  49756. pTDefRegMap(@Self)^.&set := $00000080;
  49757. end;
  49758. procedure TDMAC5_DCH5ECON.clearCFORCE; inline;
  49759. begin
  49760. pTDefRegMap(@Self)^.clr := $00000080;
  49761. end;
  49762. procedure TDMAC5_DCH5ECON.setCFORCE(thebits : TBits_1); inline;
  49763. begin
  49764. if thebits = 0 then
  49765. pTDefRegMap(@Self)^.clr := $00000080
  49766. else
  49767. pTDefRegMap(@Self)^.&set := $00000080;
  49768. end;
  49769. function TDMAC5_DCH5ECON.getCFORCE : TBits_1; inline;
  49770. begin
  49771. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49772. end;
  49773. procedure TDMAC5_DCH5ECON.setCHSIRQ(thebits : TBits_8); inline;
  49774. begin
  49775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49776. end;
  49777. function TDMAC5_DCH5ECON.getCHSIRQ : TBits_8; inline;
  49778. begin
  49779. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49780. end;
  49781. procedure TDMAC5_DCH5ECON.setCHAIRQ(thebits : TBits_8); inline;
  49782. begin
  49783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49784. end;
  49785. function TDMAC5_DCH5ECON.getCHAIRQ : TBits_8; inline;
  49786. begin
  49787. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49788. end;
  49789. procedure TDMAC5_DCH5ECON.setw(thebits : TBits_32); inline;
  49790. begin
  49791. pTDefRegMap(@Self)^.val := thebits;
  49792. end;
  49793. function TDMAC5_DCH5ECON.getw : TBits_32; inline;
  49794. begin
  49795. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49796. end;
  49797. procedure TDMAC5_DCH5INT.setCHERIF; inline;
  49798. begin
  49799. pTDefRegMap(@Self)^.&set := $00000001;
  49800. end;
  49801. procedure TDMAC5_DCH5INT.clearCHERIF; inline;
  49802. begin
  49803. pTDefRegMap(@Self)^.clr := $00000001;
  49804. end;
  49805. procedure TDMAC5_DCH5INT.setCHERIF(thebits : TBits_1); inline;
  49806. begin
  49807. if thebits = 0 then
  49808. pTDefRegMap(@Self)^.clr := $00000001
  49809. else
  49810. pTDefRegMap(@Self)^.&set := $00000001;
  49811. end;
  49812. function TDMAC5_DCH5INT.getCHERIF : TBits_1; inline;
  49813. begin
  49814. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49815. end;
  49816. procedure TDMAC5_DCH5INT.setCHTAIF; inline;
  49817. begin
  49818. pTDefRegMap(@Self)^.&set := $00000002;
  49819. end;
  49820. procedure TDMAC5_DCH5INT.clearCHTAIF; inline;
  49821. begin
  49822. pTDefRegMap(@Self)^.clr := $00000002;
  49823. end;
  49824. procedure TDMAC5_DCH5INT.setCHTAIF(thebits : TBits_1); inline;
  49825. begin
  49826. if thebits = 0 then
  49827. pTDefRegMap(@Self)^.clr := $00000002
  49828. else
  49829. pTDefRegMap(@Self)^.&set := $00000002;
  49830. end;
  49831. function TDMAC5_DCH5INT.getCHTAIF : TBits_1; inline;
  49832. begin
  49833. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49834. end;
  49835. procedure TDMAC5_DCH5INT.setCHCCIF; inline;
  49836. begin
  49837. pTDefRegMap(@Self)^.&set := $00000004;
  49838. end;
  49839. procedure TDMAC5_DCH5INT.clearCHCCIF; inline;
  49840. begin
  49841. pTDefRegMap(@Self)^.clr := $00000004;
  49842. end;
  49843. procedure TDMAC5_DCH5INT.setCHCCIF(thebits : TBits_1); inline;
  49844. begin
  49845. if thebits = 0 then
  49846. pTDefRegMap(@Self)^.clr := $00000004
  49847. else
  49848. pTDefRegMap(@Self)^.&set := $00000004;
  49849. end;
  49850. function TDMAC5_DCH5INT.getCHCCIF : TBits_1; inline;
  49851. begin
  49852. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49853. end;
  49854. procedure TDMAC5_DCH5INT.setCHBCIF; inline;
  49855. begin
  49856. pTDefRegMap(@Self)^.&set := $00000008;
  49857. end;
  49858. procedure TDMAC5_DCH5INT.clearCHBCIF; inline;
  49859. begin
  49860. pTDefRegMap(@Self)^.clr := $00000008;
  49861. end;
  49862. procedure TDMAC5_DCH5INT.setCHBCIF(thebits : TBits_1); inline;
  49863. begin
  49864. if thebits = 0 then
  49865. pTDefRegMap(@Self)^.clr := $00000008
  49866. else
  49867. pTDefRegMap(@Self)^.&set := $00000008;
  49868. end;
  49869. function TDMAC5_DCH5INT.getCHBCIF : TBits_1; inline;
  49870. begin
  49871. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49872. end;
  49873. procedure TDMAC5_DCH5INT.setCHDHIF; inline;
  49874. begin
  49875. pTDefRegMap(@Self)^.&set := $00000010;
  49876. end;
  49877. procedure TDMAC5_DCH5INT.clearCHDHIF; inline;
  49878. begin
  49879. pTDefRegMap(@Self)^.clr := $00000010;
  49880. end;
  49881. procedure TDMAC5_DCH5INT.setCHDHIF(thebits : TBits_1); inline;
  49882. begin
  49883. if thebits = 0 then
  49884. pTDefRegMap(@Self)^.clr := $00000010
  49885. else
  49886. pTDefRegMap(@Self)^.&set := $00000010;
  49887. end;
  49888. function TDMAC5_DCH5INT.getCHDHIF : TBits_1; inline;
  49889. begin
  49890. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49891. end;
  49892. procedure TDMAC5_DCH5INT.setCHDDIF; inline;
  49893. begin
  49894. pTDefRegMap(@Self)^.&set := $00000020;
  49895. end;
  49896. procedure TDMAC5_DCH5INT.clearCHDDIF; inline;
  49897. begin
  49898. pTDefRegMap(@Self)^.clr := $00000020;
  49899. end;
  49900. procedure TDMAC5_DCH5INT.setCHDDIF(thebits : TBits_1); inline;
  49901. begin
  49902. if thebits = 0 then
  49903. pTDefRegMap(@Self)^.clr := $00000020
  49904. else
  49905. pTDefRegMap(@Self)^.&set := $00000020;
  49906. end;
  49907. function TDMAC5_DCH5INT.getCHDDIF : TBits_1; inline;
  49908. begin
  49909. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49910. end;
  49911. procedure TDMAC5_DCH5INT.setCHSHIF; inline;
  49912. begin
  49913. pTDefRegMap(@Self)^.&set := $00000040;
  49914. end;
  49915. procedure TDMAC5_DCH5INT.clearCHSHIF; inline;
  49916. begin
  49917. pTDefRegMap(@Self)^.clr := $00000040;
  49918. end;
  49919. procedure TDMAC5_DCH5INT.setCHSHIF(thebits : TBits_1); inline;
  49920. begin
  49921. if thebits = 0 then
  49922. pTDefRegMap(@Self)^.clr := $00000040
  49923. else
  49924. pTDefRegMap(@Self)^.&set := $00000040;
  49925. end;
  49926. function TDMAC5_DCH5INT.getCHSHIF : TBits_1; inline;
  49927. begin
  49928. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49929. end;
  49930. procedure TDMAC5_DCH5INT.setCHSDIF; inline;
  49931. begin
  49932. pTDefRegMap(@Self)^.&set := $00000080;
  49933. end;
  49934. procedure TDMAC5_DCH5INT.clearCHSDIF; inline;
  49935. begin
  49936. pTDefRegMap(@Self)^.clr := $00000080;
  49937. end;
  49938. procedure TDMAC5_DCH5INT.setCHSDIF(thebits : TBits_1); inline;
  49939. begin
  49940. if thebits = 0 then
  49941. pTDefRegMap(@Self)^.clr := $00000080
  49942. else
  49943. pTDefRegMap(@Self)^.&set := $00000080;
  49944. end;
  49945. function TDMAC5_DCH5INT.getCHSDIF : TBits_1; inline;
  49946. begin
  49947. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49948. end;
  49949. procedure TDMAC5_DCH5INT.setCHERIE; inline;
  49950. begin
  49951. pTDefRegMap(@Self)^.&set := $00010000;
  49952. end;
  49953. procedure TDMAC5_DCH5INT.clearCHERIE; inline;
  49954. begin
  49955. pTDefRegMap(@Self)^.clr := $00010000;
  49956. end;
  49957. procedure TDMAC5_DCH5INT.setCHERIE(thebits : TBits_1); inline;
  49958. begin
  49959. if thebits = 0 then
  49960. pTDefRegMap(@Self)^.clr := $00010000
  49961. else
  49962. pTDefRegMap(@Self)^.&set := $00010000;
  49963. end;
  49964. function TDMAC5_DCH5INT.getCHERIE : TBits_1; inline;
  49965. begin
  49966. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49967. end;
  49968. procedure TDMAC5_DCH5INT.setCHTAIE; inline;
  49969. begin
  49970. pTDefRegMap(@Self)^.&set := $00020000;
  49971. end;
  49972. procedure TDMAC5_DCH5INT.clearCHTAIE; inline;
  49973. begin
  49974. pTDefRegMap(@Self)^.clr := $00020000;
  49975. end;
  49976. procedure TDMAC5_DCH5INT.setCHTAIE(thebits : TBits_1); inline;
  49977. begin
  49978. if thebits = 0 then
  49979. pTDefRegMap(@Self)^.clr := $00020000
  49980. else
  49981. pTDefRegMap(@Self)^.&set := $00020000;
  49982. end;
  49983. function TDMAC5_DCH5INT.getCHTAIE : TBits_1; inline;
  49984. begin
  49985. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49986. end;
  49987. procedure TDMAC5_DCH5INT.setCHCCIE; inline;
  49988. begin
  49989. pTDefRegMap(@Self)^.&set := $00040000;
  49990. end;
  49991. procedure TDMAC5_DCH5INT.clearCHCCIE; inline;
  49992. begin
  49993. pTDefRegMap(@Self)^.clr := $00040000;
  49994. end;
  49995. procedure TDMAC5_DCH5INT.setCHCCIE(thebits : TBits_1); inline;
  49996. begin
  49997. if thebits = 0 then
  49998. pTDefRegMap(@Self)^.clr := $00040000
  49999. else
  50000. pTDefRegMap(@Self)^.&set := $00040000;
  50001. end;
  50002. function TDMAC5_DCH5INT.getCHCCIE : TBits_1; inline;
  50003. begin
  50004. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50005. end;
  50006. procedure TDMAC5_DCH5INT.setCHBCIE; inline;
  50007. begin
  50008. pTDefRegMap(@Self)^.&set := $00080000;
  50009. end;
  50010. procedure TDMAC5_DCH5INT.clearCHBCIE; inline;
  50011. begin
  50012. pTDefRegMap(@Self)^.clr := $00080000;
  50013. end;
  50014. procedure TDMAC5_DCH5INT.setCHBCIE(thebits : TBits_1); inline;
  50015. begin
  50016. if thebits = 0 then
  50017. pTDefRegMap(@Self)^.clr := $00080000
  50018. else
  50019. pTDefRegMap(@Self)^.&set := $00080000;
  50020. end;
  50021. function TDMAC5_DCH5INT.getCHBCIE : TBits_1; inline;
  50022. begin
  50023. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50024. end;
  50025. procedure TDMAC5_DCH5INT.setCHDHIE; inline;
  50026. begin
  50027. pTDefRegMap(@Self)^.&set := $00100000;
  50028. end;
  50029. procedure TDMAC5_DCH5INT.clearCHDHIE; inline;
  50030. begin
  50031. pTDefRegMap(@Self)^.clr := $00100000;
  50032. end;
  50033. procedure TDMAC5_DCH5INT.setCHDHIE(thebits : TBits_1); inline;
  50034. begin
  50035. if thebits = 0 then
  50036. pTDefRegMap(@Self)^.clr := $00100000
  50037. else
  50038. pTDefRegMap(@Self)^.&set := $00100000;
  50039. end;
  50040. function TDMAC5_DCH5INT.getCHDHIE : TBits_1; inline;
  50041. begin
  50042. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50043. end;
  50044. procedure TDMAC5_DCH5INT.setCHDDIE; inline;
  50045. begin
  50046. pTDefRegMap(@Self)^.&set := $00200000;
  50047. end;
  50048. procedure TDMAC5_DCH5INT.clearCHDDIE; inline;
  50049. begin
  50050. pTDefRegMap(@Self)^.clr := $00200000;
  50051. end;
  50052. procedure TDMAC5_DCH5INT.setCHDDIE(thebits : TBits_1); inline;
  50053. begin
  50054. if thebits = 0 then
  50055. pTDefRegMap(@Self)^.clr := $00200000
  50056. else
  50057. pTDefRegMap(@Self)^.&set := $00200000;
  50058. end;
  50059. function TDMAC5_DCH5INT.getCHDDIE : TBits_1; inline;
  50060. begin
  50061. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  50062. end;
  50063. procedure TDMAC5_DCH5INT.setCHSHIE; inline;
  50064. begin
  50065. pTDefRegMap(@Self)^.&set := $00400000;
  50066. end;
  50067. procedure TDMAC5_DCH5INT.clearCHSHIE; inline;
  50068. begin
  50069. pTDefRegMap(@Self)^.clr := $00400000;
  50070. end;
  50071. procedure TDMAC5_DCH5INT.setCHSHIE(thebits : TBits_1); inline;
  50072. begin
  50073. if thebits = 0 then
  50074. pTDefRegMap(@Self)^.clr := $00400000
  50075. else
  50076. pTDefRegMap(@Self)^.&set := $00400000;
  50077. end;
  50078. function TDMAC5_DCH5INT.getCHSHIE : TBits_1; inline;
  50079. begin
  50080. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  50081. end;
  50082. procedure TDMAC5_DCH5INT.setCHSDIE; inline;
  50083. begin
  50084. pTDefRegMap(@Self)^.&set := $00800000;
  50085. end;
  50086. procedure TDMAC5_DCH5INT.clearCHSDIE; inline;
  50087. begin
  50088. pTDefRegMap(@Self)^.clr := $00800000;
  50089. end;
  50090. procedure TDMAC5_DCH5INT.setCHSDIE(thebits : TBits_1); inline;
  50091. begin
  50092. if thebits = 0 then
  50093. pTDefRegMap(@Self)^.clr := $00800000
  50094. else
  50095. pTDefRegMap(@Self)^.&set := $00800000;
  50096. end;
  50097. function TDMAC5_DCH5INT.getCHSDIE : TBits_1; inline;
  50098. begin
  50099. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  50100. end;
  50101. procedure TDMAC5_DCH5INT.setw(thebits : TBits_32); inline;
  50102. begin
  50103. pTDefRegMap(@Self)^.val := thebits;
  50104. end;
  50105. function TDMAC5_DCH5INT.getw : TBits_32; inline;
  50106. begin
  50107. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50108. end;
  50109. procedure TDMAC6_DCH6CON.setCHPRI(thebits : TBits_2); inline;
  50110. begin
  50111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  50112. end;
  50113. function TDMAC6_DCH6CON.getCHPRI : TBits_2; inline;
  50114. begin
  50115. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  50116. end;
  50117. procedure TDMAC6_DCH6CON.setCHEDET; inline;
  50118. begin
  50119. pTDefRegMap(@Self)^.&set := $00000004;
  50120. end;
  50121. procedure TDMAC6_DCH6CON.clearCHEDET; inline;
  50122. begin
  50123. pTDefRegMap(@Self)^.clr := $00000004;
  50124. end;
  50125. procedure TDMAC6_DCH6CON.setCHEDET(thebits : TBits_1); inline;
  50126. begin
  50127. if thebits = 0 then
  50128. pTDefRegMap(@Self)^.clr := $00000004
  50129. else
  50130. pTDefRegMap(@Self)^.&set := $00000004;
  50131. end;
  50132. function TDMAC6_DCH6CON.getCHEDET : TBits_1; inline;
  50133. begin
  50134. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50135. end;
  50136. procedure TDMAC6_DCH6CON.setCHAEN; inline;
  50137. begin
  50138. pTDefRegMap(@Self)^.&set := $00000010;
  50139. end;
  50140. procedure TDMAC6_DCH6CON.clearCHAEN; inline;
  50141. begin
  50142. pTDefRegMap(@Self)^.clr := $00000010;
  50143. end;
  50144. procedure TDMAC6_DCH6CON.setCHAEN(thebits : TBits_1); inline;
  50145. begin
  50146. if thebits = 0 then
  50147. pTDefRegMap(@Self)^.clr := $00000010
  50148. else
  50149. pTDefRegMap(@Self)^.&set := $00000010;
  50150. end;
  50151. function TDMAC6_DCH6CON.getCHAEN : TBits_1; inline;
  50152. begin
  50153. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50154. end;
  50155. procedure TDMAC6_DCH6CON.setCHCHN; inline;
  50156. begin
  50157. pTDefRegMap(@Self)^.&set := $00000020;
  50158. end;
  50159. procedure TDMAC6_DCH6CON.clearCHCHN; inline;
  50160. begin
  50161. pTDefRegMap(@Self)^.clr := $00000020;
  50162. end;
  50163. procedure TDMAC6_DCH6CON.setCHCHN(thebits : TBits_1); inline;
  50164. begin
  50165. if thebits = 0 then
  50166. pTDefRegMap(@Self)^.clr := $00000020
  50167. else
  50168. pTDefRegMap(@Self)^.&set := $00000020;
  50169. end;
  50170. function TDMAC6_DCH6CON.getCHCHN : TBits_1; inline;
  50171. begin
  50172. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50173. end;
  50174. procedure TDMAC6_DCH6CON.setCHAED; inline;
  50175. begin
  50176. pTDefRegMap(@Self)^.&set := $00000040;
  50177. end;
  50178. procedure TDMAC6_DCH6CON.clearCHAED; inline;
  50179. begin
  50180. pTDefRegMap(@Self)^.clr := $00000040;
  50181. end;
  50182. procedure TDMAC6_DCH6CON.setCHAED(thebits : TBits_1); inline;
  50183. begin
  50184. if thebits = 0 then
  50185. pTDefRegMap(@Self)^.clr := $00000040
  50186. else
  50187. pTDefRegMap(@Self)^.&set := $00000040;
  50188. end;
  50189. function TDMAC6_DCH6CON.getCHAED : TBits_1; inline;
  50190. begin
  50191. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50192. end;
  50193. procedure TDMAC6_DCH6CON.setCHEN; inline;
  50194. begin
  50195. pTDefRegMap(@Self)^.&set := $00000080;
  50196. end;
  50197. procedure TDMAC6_DCH6CON.clearCHEN; inline;
  50198. begin
  50199. pTDefRegMap(@Self)^.clr := $00000080;
  50200. end;
  50201. procedure TDMAC6_DCH6CON.setCHEN(thebits : TBits_1); inline;
  50202. begin
  50203. if thebits = 0 then
  50204. pTDefRegMap(@Self)^.clr := $00000080
  50205. else
  50206. pTDefRegMap(@Self)^.&set := $00000080;
  50207. end;
  50208. function TDMAC6_DCH6CON.getCHEN : TBits_1; inline;
  50209. begin
  50210. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50211. end;
  50212. procedure TDMAC6_DCH6CON.setCHCHNS; inline;
  50213. begin
  50214. pTDefRegMap(@Self)^.&set := $00000100;
  50215. end;
  50216. procedure TDMAC6_DCH6CON.clearCHCHNS; inline;
  50217. begin
  50218. pTDefRegMap(@Self)^.clr := $00000100;
  50219. end;
  50220. procedure TDMAC6_DCH6CON.setCHCHNS(thebits : TBits_1); inline;
  50221. begin
  50222. if thebits = 0 then
  50223. pTDefRegMap(@Self)^.clr := $00000100
  50224. else
  50225. pTDefRegMap(@Self)^.&set := $00000100;
  50226. end;
  50227. function TDMAC6_DCH6CON.getCHCHNS : TBits_1; inline;
  50228. begin
  50229. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50230. end;
  50231. procedure TDMAC6_DCH6CON.setCHBUSY; inline;
  50232. begin
  50233. pTDefRegMap(@Self)^.&set := $00008000;
  50234. end;
  50235. procedure TDMAC6_DCH6CON.clearCHBUSY; inline;
  50236. begin
  50237. pTDefRegMap(@Self)^.clr := $00008000;
  50238. end;
  50239. procedure TDMAC6_DCH6CON.setCHBUSY(thebits : TBits_1); inline;
  50240. begin
  50241. if thebits = 0 then
  50242. pTDefRegMap(@Self)^.clr := $00008000
  50243. else
  50244. pTDefRegMap(@Self)^.&set := $00008000;
  50245. end;
  50246. function TDMAC6_DCH6CON.getCHBUSY : TBits_1; inline;
  50247. begin
  50248. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50249. end;
  50250. procedure TDMAC6_DCH6CON.setw(thebits : TBits_32); inline;
  50251. begin
  50252. pTDefRegMap(@Self)^.val := thebits;
  50253. end;
  50254. function TDMAC6_DCH6CON.getw : TBits_32; inline;
  50255. begin
  50256. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50257. end;
  50258. procedure TDMAC6_DCH6ECON.setAIRQEN; inline;
  50259. begin
  50260. pTDefRegMap(@Self)^.&set := $00000008;
  50261. end;
  50262. procedure TDMAC6_DCH6ECON.clearAIRQEN; inline;
  50263. begin
  50264. pTDefRegMap(@Self)^.clr := $00000008;
  50265. end;
  50266. procedure TDMAC6_DCH6ECON.setAIRQEN(thebits : TBits_1); inline;
  50267. begin
  50268. if thebits = 0 then
  50269. pTDefRegMap(@Self)^.clr := $00000008
  50270. else
  50271. pTDefRegMap(@Self)^.&set := $00000008;
  50272. end;
  50273. function TDMAC6_DCH6ECON.getAIRQEN : TBits_1; inline;
  50274. begin
  50275. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50276. end;
  50277. procedure TDMAC6_DCH6ECON.setSIRQEN; inline;
  50278. begin
  50279. pTDefRegMap(@Self)^.&set := $00000010;
  50280. end;
  50281. procedure TDMAC6_DCH6ECON.clearSIRQEN; inline;
  50282. begin
  50283. pTDefRegMap(@Self)^.clr := $00000010;
  50284. end;
  50285. procedure TDMAC6_DCH6ECON.setSIRQEN(thebits : TBits_1); inline;
  50286. begin
  50287. if thebits = 0 then
  50288. pTDefRegMap(@Self)^.clr := $00000010
  50289. else
  50290. pTDefRegMap(@Self)^.&set := $00000010;
  50291. end;
  50292. function TDMAC6_DCH6ECON.getSIRQEN : TBits_1; inline;
  50293. begin
  50294. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50295. end;
  50296. procedure TDMAC6_DCH6ECON.setPATEN; inline;
  50297. begin
  50298. pTDefRegMap(@Self)^.&set := $00000020;
  50299. end;
  50300. procedure TDMAC6_DCH6ECON.clearPATEN; inline;
  50301. begin
  50302. pTDefRegMap(@Self)^.clr := $00000020;
  50303. end;
  50304. procedure TDMAC6_DCH6ECON.setPATEN(thebits : TBits_1); inline;
  50305. begin
  50306. if thebits = 0 then
  50307. pTDefRegMap(@Self)^.clr := $00000020
  50308. else
  50309. pTDefRegMap(@Self)^.&set := $00000020;
  50310. end;
  50311. function TDMAC6_DCH6ECON.getPATEN : TBits_1; inline;
  50312. begin
  50313. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50314. end;
  50315. procedure TDMAC6_DCH6ECON.setCABORT; inline;
  50316. begin
  50317. pTDefRegMap(@Self)^.&set := $00000040;
  50318. end;
  50319. procedure TDMAC6_DCH6ECON.clearCABORT; inline;
  50320. begin
  50321. pTDefRegMap(@Self)^.clr := $00000040;
  50322. end;
  50323. procedure TDMAC6_DCH6ECON.setCABORT(thebits : TBits_1); inline;
  50324. begin
  50325. if thebits = 0 then
  50326. pTDefRegMap(@Self)^.clr := $00000040
  50327. else
  50328. pTDefRegMap(@Self)^.&set := $00000040;
  50329. end;
  50330. function TDMAC6_DCH6ECON.getCABORT : TBits_1; inline;
  50331. begin
  50332. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50333. end;
  50334. procedure TDMAC6_DCH6ECON.setCFORCE; inline;
  50335. begin
  50336. pTDefRegMap(@Self)^.&set := $00000080;
  50337. end;
  50338. procedure TDMAC6_DCH6ECON.clearCFORCE; inline;
  50339. begin
  50340. pTDefRegMap(@Self)^.clr := $00000080;
  50341. end;
  50342. procedure TDMAC6_DCH6ECON.setCFORCE(thebits : TBits_1); inline;
  50343. begin
  50344. if thebits = 0 then
  50345. pTDefRegMap(@Self)^.clr := $00000080
  50346. else
  50347. pTDefRegMap(@Self)^.&set := $00000080;
  50348. end;
  50349. function TDMAC6_DCH6ECON.getCFORCE : TBits_1; inline;
  50350. begin
  50351. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50352. end;
  50353. procedure TDMAC6_DCH6ECON.setCHSIRQ(thebits : TBits_8); inline;
  50354. begin
  50355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50356. end;
  50357. function TDMAC6_DCH6ECON.getCHSIRQ : TBits_8; inline;
  50358. begin
  50359. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50360. end;
  50361. procedure TDMAC6_DCH6ECON.setCHAIRQ(thebits : TBits_8); inline;
  50362. begin
  50363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50364. end;
  50365. function TDMAC6_DCH6ECON.getCHAIRQ : TBits_8; inline;
  50366. begin
  50367. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50368. end;
  50369. procedure TDMAC6_DCH6ECON.setw(thebits : TBits_32); inline;
  50370. begin
  50371. pTDefRegMap(@Self)^.val := thebits;
  50372. end;
  50373. function TDMAC6_DCH6ECON.getw : TBits_32; inline;
  50374. begin
  50375. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50376. end;
  50377. procedure TDMAC6_DCH6INT.setCHERIF; inline;
  50378. begin
  50379. pTDefRegMap(@Self)^.&set := $00000001;
  50380. end;
  50381. procedure TDMAC6_DCH6INT.clearCHERIF; inline;
  50382. begin
  50383. pTDefRegMap(@Self)^.clr := $00000001;
  50384. end;
  50385. procedure TDMAC6_DCH6INT.setCHERIF(thebits : TBits_1); inline;
  50386. begin
  50387. if thebits = 0 then
  50388. pTDefRegMap(@Self)^.clr := $00000001
  50389. else
  50390. pTDefRegMap(@Self)^.&set := $00000001;
  50391. end;
  50392. function TDMAC6_DCH6INT.getCHERIF : TBits_1; inline;
  50393. begin
  50394. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50395. end;
  50396. procedure TDMAC6_DCH6INT.setCHTAIF; inline;
  50397. begin
  50398. pTDefRegMap(@Self)^.&set := $00000002;
  50399. end;
  50400. procedure TDMAC6_DCH6INT.clearCHTAIF; inline;
  50401. begin
  50402. pTDefRegMap(@Self)^.clr := $00000002;
  50403. end;
  50404. procedure TDMAC6_DCH6INT.setCHTAIF(thebits : TBits_1); inline;
  50405. begin
  50406. if thebits = 0 then
  50407. pTDefRegMap(@Self)^.clr := $00000002
  50408. else
  50409. pTDefRegMap(@Self)^.&set := $00000002;
  50410. end;
  50411. function TDMAC6_DCH6INT.getCHTAIF : TBits_1; inline;
  50412. begin
  50413. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50414. end;
  50415. procedure TDMAC6_DCH6INT.setCHCCIF; inline;
  50416. begin
  50417. pTDefRegMap(@Self)^.&set := $00000004;
  50418. end;
  50419. procedure TDMAC6_DCH6INT.clearCHCCIF; inline;
  50420. begin
  50421. pTDefRegMap(@Self)^.clr := $00000004;
  50422. end;
  50423. procedure TDMAC6_DCH6INT.setCHCCIF(thebits : TBits_1); inline;
  50424. begin
  50425. if thebits = 0 then
  50426. pTDefRegMap(@Self)^.clr := $00000004
  50427. else
  50428. pTDefRegMap(@Self)^.&set := $00000004;
  50429. end;
  50430. function TDMAC6_DCH6INT.getCHCCIF : TBits_1; inline;
  50431. begin
  50432. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50433. end;
  50434. procedure TDMAC6_DCH6INT.setCHBCIF; inline;
  50435. begin
  50436. pTDefRegMap(@Self)^.&set := $00000008;
  50437. end;
  50438. procedure TDMAC6_DCH6INT.clearCHBCIF; inline;
  50439. begin
  50440. pTDefRegMap(@Self)^.clr := $00000008;
  50441. end;
  50442. procedure TDMAC6_DCH6INT.setCHBCIF(thebits : TBits_1); inline;
  50443. begin
  50444. if thebits = 0 then
  50445. pTDefRegMap(@Self)^.clr := $00000008
  50446. else
  50447. pTDefRegMap(@Self)^.&set := $00000008;
  50448. end;
  50449. function TDMAC6_DCH6INT.getCHBCIF : TBits_1; inline;
  50450. begin
  50451. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50452. end;
  50453. procedure TDMAC6_DCH6INT.setCHDHIF; inline;
  50454. begin
  50455. pTDefRegMap(@Self)^.&set := $00000010;
  50456. end;
  50457. procedure TDMAC6_DCH6INT.clearCHDHIF; inline;
  50458. begin
  50459. pTDefRegMap(@Self)^.clr := $00000010;
  50460. end;
  50461. procedure TDMAC6_DCH6INT.setCHDHIF(thebits : TBits_1); inline;
  50462. begin
  50463. if thebits = 0 then
  50464. pTDefRegMap(@Self)^.clr := $00000010
  50465. else
  50466. pTDefRegMap(@Self)^.&set := $00000010;
  50467. end;
  50468. function TDMAC6_DCH6INT.getCHDHIF : TBits_1; inline;
  50469. begin
  50470. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50471. end;
  50472. procedure TDMAC6_DCH6INT.setCHDDIF; inline;
  50473. begin
  50474. pTDefRegMap(@Self)^.&set := $00000020;
  50475. end;
  50476. procedure TDMAC6_DCH6INT.clearCHDDIF; inline;
  50477. begin
  50478. pTDefRegMap(@Self)^.clr := $00000020;
  50479. end;
  50480. procedure TDMAC6_DCH6INT.setCHDDIF(thebits : TBits_1); inline;
  50481. begin
  50482. if thebits = 0 then
  50483. pTDefRegMap(@Self)^.clr := $00000020
  50484. else
  50485. pTDefRegMap(@Self)^.&set := $00000020;
  50486. end;
  50487. function TDMAC6_DCH6INT.getCHDDIF : TBits_1; inline;
  50488. begin
  50489. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50490. end;
  50491. procedure TDMAC6_DCH6INT.setCHSHIF; inline;
  50492. begin
  50493. pTDefRegMap(@Self)^.&set := $00000040;
  50494. end;
  50495. procedure TDMAC6_DCH6INT.clearCHSHIF; inline;
  50496. begin
  50497. pTDefRegMap(@Self)^.clr := $00000040;
  50498. end;
  50499. procedure TDMAC6_DCH6INT.setCHSHIF(thebits : TBits_1); inline;
  50500. begin
  50501. if thebits = 0 then
  50502. pTDefRegMap(@Self)^.clr := $00000040
  50503. else
  50504. pTDefRegMap(@Self)^.&set := $00000040;
  50505. end;
  50506. function TDMAC6_DCH6INT.getCHSHIF : TBits_1; inline;
  50507. begin
  50508. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50509. end;
  50510. procedure TDMAC6_DCH6INT.setCHSDIF; inline;
  50511. begin
  50512. pTDefRegMap(@Self)^.&set := $00000080;
  50513. end;
  50514. procedure TDMAC6_DCH6INT.clearCHSDIF; inline;
  50515. begin
  50516. pTDefRegMap(@Self)^.clr := $00000080;
  50517. end;
  50518. procedure TDMAC6_DCH6INT.setCHSDIF(thebits : TBits_1); inline;
  50519. begin
  50520. if thebits = 0 then
  50521. pTDefRegMap(@Self)^.clr := $00000080
  50522. else
  50523. pTDefRegMap(@Self)^.&set := $00000080;
  50524. end;
  50525. function TDMAC6_DCH6INT.getCHSDIF : TBits_1; inline;
  50526. begin
  50527. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50528. end;
  50529. procedure TDMAC6_DCH6INT.setCHERIE; inline;
  50530. begin
  50531. pTDefRegMap(@Self)^.&set := $00010000;
  50532. end;
  50533. procedure TDMAC6_DCH6INT.clearCHERIE; inline;
  50534. begin
  50535. pTDefRegMap(@Self)^.clr := $00010000;
  50536. end;
  50537. procedure TDMAC6_DCH6INT.setCHERIE(thebits : TBits_1); inline;
  50538. begin
  50539. if thebits = 0 then
  50540. pTDefRegMap(@Self)^.clr := $00010000
  50541. else
  50542. pTDefRegMap(@Self)^.&set := $00010000;
  50543. end;
  50544. function TDMAC6_DCH6INT.getCHERIE : TBits_1; inline;
  50545. begin
  50546. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50547. end;
  50548. procedure TDMAC6_DCH6INT.setCHTAIE; inline;
  50549. begin
  50550. pTDefRegMap(@Self)^.&set := $00020000;
  50551. end;
  50552. procedure TDMAC6_DCH6INT.clearCHTAIE; inline;
  50553. begin
  50554. pTDefRegMap(@Self)^.clr := $00020000;
  50555. end;
  50556. procedure TDMAC6_DCH6INT.setCHTAIE(thebits : TBits_1); inline;
  50557. begin
  50558. if thebits = 0 then
  50559. pTDefRegMap(@Self)^.clr := $00020000
  50560. else
  50561. pTDefRegMap(@Self)^.&set := $00020000;
  50562. end;
  50563. function TDMAC6_DCH6INT.getCHTAIE : TBits_1; inline;
  50564. begin
  50565. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  50566. end;
  50567. procedure TDMAC6_DCH6INT.setCHCCIE; inline;
  50568. begin
  50569. pTDefRegMap(@Self)^.&set := $00040000;
  50570. end;
  50571. procedure TDMAC6_DCH6INT.clearCHCCIE; inline;
  50572. begin
  50573. pTDefRegMap(@Self)^.clr := $00040000;
  50574. end;
  50575. procedure TDMAC6_DCH6INT.setCHCCIE(thebits : TBits_1); inline;
  50576. begin
  50577. if thebits = 0 then
  50578. pTDefRegMap(@Self)^.clr := $00040000
  50579. else
  50580. pTDefRegMap(@Self)^.&set := $00040000;
  50581. end;
  50582. function TDMAC6_DCH6INT.getCHCCIE : TBits_1; inline;
  50583. begin
  50584. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50585. end;
  50586. procedure TDMAC6_DCH6INT.setCHBCIE; inline;
  50587. begin
  50588. pTDefRegMap(@Self)^.&set := $00080000;
  50589. end;
  50590. procedure TDMAC6_DCH6INT.clearCHBCIE; inline;
  50591. begin
  50592. pTDefRegMap(@Self)^.clr := $00080000;
  50593. end;
  50594. procedure TDMAC6_DCH6INT.setCHBCIE(thebits : TBits_1); inline;
  50595. begin
  50596. if thebits = 0 then
  50597. pTDefRegMap(@Self)^.clr := $00080000
  50598. else
  50599. pTDefRegMap(@Self)^.&set := $00080000;
  50600. end;
  50601. function TDMAC6_DCH6INT.getCHBCIE : TBits_1; inline;
  50602. begin
  50603. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50604. end;
  50605. procedure TDMAC6_DCH6INT.setCHDHIE; inline;
  50606. begin
  50607. pTDefRegMap(@Self)^.&set := $00100000;
  50608. end;
  50609. procedure TDMAC6_DCH6INT.clearCHDHIE; inline;
  50610. begin
  50611. pTDefRegMap(@Self)^.clr := $00100000;
  50612. end;
  50613. procedure TDMAC6_DCH6INT.setCHDHIE(thebits : TBits_1); inline;
  50614. begin
  50615. if thebits = 0 then
  50616. pTDefRegMap(@Self)^.clr := $00100000
  50617. else
  50618. pTDefRegMap(@Self)^.&set := $00100000;
  50619. end;
  50620. function TDMAC6_DCH6INT.getCHDHIE : TBits_1; inline;
  50621. begin
  50622. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50623. end;
  50624. procedure TDMAC6_DCH6INT.setCHDDIE; inline;
  50625. begin
  50626. pTDefRegMap(@Self)^.&set := $00200000;
  50627. end;
  50628. procedure TDMAC6_DCH6INT.clearCHDDIE; inline;
  50629. begin
  50630. pTDefRegMap(@Self)^.clr := $00200000;
  50631. end;
  50632. procedure TDMAC6_DCH6INT.setCHDDIE(thebits : TBits_1); inline;
  50633. begin
  50634. if thebits = 0 then
  50635. pTDefRegMap(@Self)^.clr := $00200000
  50636. else
  50637. pTDefRegMap(@Self)^.&set := $00200000;
  50638. end;
  50639. function TDMAC6_DCH6INT.getCHDDIE : TBits_1; inline;
  50640. begin
  50641. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  50642. end;
  50643. procedure TDMAC6_DCH6INT.setCHSHIE; inline;
  50644. begin
  50645. pTDefRegMap(@Self)^.&set := $00400000;
  50646. end;
  50647. procedure TDMAC6_DCH6INT.clearCHSHIE; inline;
  50648. begin
  50649. pTDefRegMap(@Self)^.clr := $00400000;
  50650. end;
  50651. procedure TDMAC6_DCH6INT.setCHSHIE(thebits : TBits_1); inline;
  50652. begin
  50653. if thebits = 0 then
  50654. pTDefRegMap(@Self)^.clr := $00400000
  50655. else
  50656. pTDefRegMap(@Self)^.&set := $00400000;
  50657. end;
  50658. function TDMAC6_DCH6INT.getCHSHIE : TBits_1; inline;
  50659. begin
  50660. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  50661. end;
  50662. procedure TDMAC6_DCH6INT.setCHSDIE; inline;
  50663. begin
  50664. pTDefRegMap(@Self)^.&set := $00800000;
  50665. end;
  50666. procedure TDMAC6_DCH6INT.clearCHSDIE; inline;
  50667. begin
  50668. pTDefRegMap(@Self)^.clr := $00800000;
  50669. end;
  50670. procedure TDMAC6_DCH6INT.setCHSDIE(thebits : TBits_1); inline;
  50671. begin
  50672. if thebits = 0 then
  50673. pTDefRegMap(@Self)^.clr := $00800000
  50674. else
  50675. pTDefRegMap(@Self)^.&set := $00800000;
  50676. end;
  50677. function TDMAC6_DCH6INT.getCHSDIE : TBits_1; inline;
  50678. begin
  50679. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  50680. end;
  50681. procedure TDMAC6_DCH6INT.setw(thebits : TBits_32); inline;
  50682. begin
  50683. pTDefRegMap(@Self)^.val := thebits;
  50684. end;
  50685. function TDMAC6_DCH6INT.getw : TBits_32; inline;
  50686. begin
  50687. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50688. end;
  50689. procedure TDMAC7_DCH7CON.setCHPRI(thebits : TBits_2); inline;
  50690. begin
  50691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  50692. end;
  50693. function TDMAC7_DCH7CON.getCHPRI : TBits_2; inline;
  50694. begin
  50695. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  50696. end;
  50697. procedure TDMAC7_DCH7CON.setCHEDET; inline;
  50698. begin
  50699. pTDefRegMap(@Self)^.&set := $00000004;
  50700. end;
  50701. procedure TDMAC7_DCH7CON.clearCHEDET; inline;
  50702. begin
  50703. pTDefRegMap(@Self)^.clr := $00000004;
  50704. end;
  50705. procedure TDMAC7_DCH7CON.setCHEDET(thebits : TBits_1); inline;
  50706. begin
  50707. if thebits = 0 then
  50708. pTDefRegMap(@Self)^.clr := $00000004
  50709. else
  50710. pTDefRegMap(@Self)^.&set := $00000004;
  50711. end;
  50712. function TDMAC7_DCH7CON.getCHEDET : TBits_1; inline;
  50713. begin
  50714. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50715. end;
  50716. procedure TDMAC7_DCH7CON.setCHAEN; inline;
  50717. begin
  50718. pTDefRegMap(@Self)^.&set := $00000010;
  50719. end;
  50720. procedure TDMAC7_DCH7CON.clearCHAEN; inline;
  50721. begin
  50722. pTDefRegMap(@Self)^.clr := $00000010;
  50723. end;
  50724. procedure TDMAC7_DCH7CON.setCHAEN(thebits : TBits_1); inline;
  50725. begin
  50726. if thebits = 0 then
  50727. pTDefRegMap(@Self)^.clr := $00000010
  50728. else
  50729. pTDefRegMap(@Self)^.&set := $00000010;
  50730. end;
  50731. function TDMAC7_DCH7CON.getCHAEN : TBits_1; inline;
  50732. begin
  50733. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50734. end;
  50735. procedure TDMAC7_DCH7CON.setCHCHN; inline;
  50736. begin
  50737. pTDefRegMap(@Self)^.&set := $00000020;
  50738. end;
  50739. procedure TDMAC7_DCH7CON.clearCHCHN; inline;
  50740. begin
  50741. pTDefRegMap(@Self)^.clr := $00000020;
  50742. end;
  50743. procedure TDMAC7_DCH7CON.setCHCHN(thebits : TBits_1); inline;
  50744. begin
  50745. if thebits = 0 then
  50746. pTDefRegMap(@Self)^.clr := $00000020
  50747. else
  50748. pTDefRegMap(@Self)^.&set := $00000020;
  50749. end;
  50750. function TDMAC7_DCH7CON.getCHCHN : TBits_1; inline;
  50751. begin
  50752. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50753. end;
  50754. procedure TDMAC7_DCH7CON.setCHAED; inline;
  50755. begin
  50756. pTDefRegMap(@Self)^.&set := $00000040;
  50757. end;
  50758. procedure TDMAC7_DCH7CON.clearCHAED; inline;
  50759. begin
  50760. pTDefRegMap(@Self)^.clr := $00000040;
  50761. end;
  50762. procedure TDMAC7_DCH7CON.setCHAED(thebits : TBits_1); inline;
  50763. begin
  50764. if thebits = 0 then
  50765. pTDefRegMap(@Self)^.clr := $00000040
  50766. else
  50767. pTDefRegMap(@Self)^.&set := $00000040;
  50768. end;
  50769. function TDMAC7_DCH7CON.getCHAED : TBits_1; inline;
  50770. begin
  50771. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50772. end;
  50773. procedure TDMAC7_DCH7CON.setCHEN; inline;
  50774. begin
  50775. pTDefRegMap(@Self)^.&set := $00000080;
  50776. end;
  50777. procedure TDMAC7_DCH7CON.clearCHEN; inline;
  50778. begin
  50779. pTDefRegMap(@Self)^.clr := $00000080;
  50780. end;
  50781. procedure TDMAC7_DCH7CON.setCHEN(thebits : TBits_1); inline;
  50782. begin
  50783. if thebits = 0 then
  50784. pTDefRegMap(@Self)^.clr := $00000080
  50785. else
  50786. pTDefRegMap(@Self)^.&set := $00000080;
  50787. end;
  50788. function TDMAC7_DCH7CON.getCHEN : TBits_1; inline;
  50789. begin
  50790. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50791. end;
  50792. procedure TDMAC7_DCH7CON.setCHCHNS; inline;
  50793. begin
  50794. pTDefRegMap(@Self)^.&set := $00000100;
  50795. end;
  50796. procedure TDMAC7_DCH7CON.clearCHCHNS; inline;
  50797. begin
  50798. pTDefRegMap(@Self)^.clr := $00000100;
  50799. end;
  50800. procedure TDMAC7_DCH7CON.setCHCHNS(thebits : TBits_1); inline;
  50801. begin
  50802. if thebits = 0 then
  50803. pTDefRegMap(@Self)^.clr := $00000100
  50804. else
  50805. pTDefRegMap(@Self)^.&set := $00000100;
  50806. end;
  50807. function TDMAC7_DCH7CON.getCHCHNS : TBits_1; inline;
  50808. begin
  50809. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50810. end;
  50811. procedure TDMAC7_DCH7CON.setCHBUSY; inline;
  50812. begin
  50813. pTDefRegMap(@Self)^.&set := $00008000;
  50814. end;
  50815. procedure TDMAC7_DCH7CON.clearCHBUSY; inline;
  50816. begin
  50817. pTDefRegMap(@Self)^.clr := $00008000;
  50818. end;
  50819. procedure TDMAC7_DCH7CON.setCHBUSY(thebits : TBits_1); inline;
  50820. begin
  50821. if thebits = 0 then
  50822. pTDefRegMap(@Self)^.clr := $00008000
  50823. else
  50824. pTDefRegMap(@Self)^.&set := $00008000;
  50825. end;
  50826. function TDMAC7_DCH7CON.getCHBUSY : TBits_1; inline;
  50827. begin
  50828. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50829. end;
  50830. procedure TDMAC7_DCH7CON.setw(thebits : TBits_32); inline;
  50831. begin
  50832. pTDefRegMap(@Self)^.val := thebits;
  50833. end;
  50834. function TDMAC7_DCH7CON.getw : TBits_32; inline;
  50835. begin
  50836. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50837. end;
  50838. procedure TDMAC7_DCH7ECON.setAIRQEN; inline;
  50839. begin
  50840. pTDefRegMap(@Self)^.&set := $00000008;
  50841. end;
  50842. procedure TDMAC7_DCH7ECON.clearAIRQEN; inline;
  50843. begin
  50844. pTDefRegMap(@Self)^.clr := $00000008;
  50845. end;
  50846. procedure TDMAC7_DCH7ECON.setAIRQEN(thebits : TBits_1); inline;
  50847. begin
  50848. if thebits = 0 then
  50849. pTDefRegMap(@Self)^.clr := $00000008
  50850. else
  50851. pTDefRegMap(@Self)^.&set := $00000008;
  50852. end;
  50853. function TDMAC7_DCH7ECON.getAIRQEN : TBits_1; inline;
  50854. begin
  50855. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50856. end;
  50857. procedure TDMAC7_DCH7ECON.setSIRQEN; inline;
  50858. begin
  50859. pTDefRegMap(@Self)^.&set := $00000010;
  50860. end;
  50861. procedure TDMAC7_DCH7ECON.clearSIRQEN; inline;
  50862. begin
  50863. pTDefRegMap(@Self)^.clr := $00000010;
  50864. end;
  50865. procedure TDMAC7_DCH7ECON.setSIRQEN(thebits : TBits_1); inline;
  50866. begin
  50867. if thebits = 0 then
  50868. pTDefRegMap(@Self)^.clr := $00000010
  50869. else
  50870. pTDefRegMap(@Self)^.&set := $00000010;
  50871. end;
  50872. function TDMAC7_DCH7ECON.getSIRQEN : TBits_1; inline;
  50873. begin
  50874. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50875. end;
  50876. procedure TDMAC7_DCH7ECON.setPATEN; inline;
  50877. begin
  50878. pTDefRegMap(@Self)^.&set := $00000020;
  50879. end;
  50880. procedure TDMAC7_DCH7ECON.clearPATEN; inline;
  50881. begin
  50882. pTDefRegMap(@Self)^.clr := $00000020;
  50883. end;
  50884. procedure TDMAC7_DCH7ECON.setPATEN(thebits : TBits_1); inline;
  50885. begin
  50886. if thebits = 0 then
  50887. pTDefRegMap(@Self)^.clr := $00000020
  50888. else
  50889. pTDefRegMap(@Self)^.&set := $00000020;
  50890. end;
  50891. function TDMAC7_DCH7ECON.getPATEN : TBits_1; inline;
  50892. begin
  50893. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50894. end;
  50895. procedure TDMAC7_DCH7ECON.setCABORT; inline;
  50896. begin
  50897. pTDefRegMap(@Self)^.&set := $00000040;
  50898. end;
  50899. procedure TDMAC7_DCH7ECON.clearCABORT; inline;
  50900. begin
  50901. pTDefRegMap(@Self)^.clr := $00000040;
  50902. end;
  50903. procedure TDMAC7_DCH7ECON.setCABORT(thebits : TBits_1); inline;
  50904. begin
  50905. if thebits = 0 then
  50906. pTDefRegMap(@Self)^.clr := $00000040
  50907. else
  50908. pTDefRegMap(@Self)^.&set := $00000040;
  50909. end;
  50910. function TDMAC7_DCH7ECON.getCABORT : TBits_1; inline;
  50911. begin
  50912. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50913. end;
  50914. procedure TDMAC7_DCH7ECON.setCFORCE; inline;
  50915. begin
  50916. pTDefRegMap(@Self)^.&set := $00000080;
  50917. end;
  50918. procedure TDMAC7_DCH7ECON.clearCFORCE; inline;
  50919. begin
  50920. pTDefRegMap(@Self)^.clr := $00000080;
  50921. end;
  50922. procedure TDMAC7_DCH7ECON.setCFORCE(thebits : TBits_1); inline;
  50923. begin
  50924. if thebits = 0 then
  50925. pTDefRegMap(@Self)^.clr := $00000080
  50926. else
  50927. pTDefRegMap(@Self)^.&set := $00000080;
  50928. end;
  50929. function TDMAC7_DCH7ECON.getCFORCE : TBits_1; inline;
  50930. begin
  50931. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50932. end;
  50933. procedure TDMAC7_DCH7ECON.setCHSIRQ(thebits : TBits_8); inline;
  50934. begin
  50935. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50936. end;
  50937. function TDMAC7_DCH7ECON.getCHSIRQ : TBits_8; inline;
  50938. begin
  50939. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50940. end;
  50941. procedure TDMAC7_DCH7ECON.setCHAIRQ(thebits : TBits_8); inline;
  50942. begin
  50943. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50944. end;
  50945. function TDMAC7_DCH7ECON.getCHAIRQ : TBits_8; inline;
  50946. begin
  50947. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50948. end;
  50949. procedure TDMAC7_DCH7ECON.setw(thebits : TBits_32); inline;
  50950. begin
  50951. pTDefRegMap(@Self)^.val := thebits;
  50952. end;
  50953. function TDMAC7_DCH7ECON.getw : TBits_32; inline;
  50954. begin
  50955. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50956. end;
  50957. procedure TDMAC7_DCH7INT.setCHERIF; inline;
  50958. begin
  50959. pTDefRegMap(@Self)^.&set := $00000001;
  50960. end;
  50961. procedure TDMAC7_DCH7INT.clearCHERIF; inline;
  50962. begin
  50963. pTDefRegMap(@Self)^.clr := $00000001;
  50964. end;
  50965. procedure TDMAC7_DCH7INT.setCHERIF(thebits : TBits_1); inline;
  50966. begin
  50967. if thebits = 0 then
  50968. pTDefRegMap(@Self)^.clr := $00000001
  50969. else
  50970. pTDefRegMap(@Self)^.&set := $00000001;
  50971. end;
  50972. function TDMAC7_DCH7INT.getCHERIF : TBits_1; inline;
  50973. begin
  50974. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50975. end;
  50976. procedure TDMAC7_DCH7INT.setCHTAIF; inline;
  50977. begin
  50978. pTDefRegMap(@Self)^.&set := $00000002;
  50979. end;
  50980. procedure TDMAC7_DCH7INT.clearCHTAIF; inline;
  50981. begin
  50982. pTDefRegMap(@Self)^.clr := $00000002;
  50983. end;
  50984. procedure TDMAC7_DCH7INT.setCHTAIF(thebits : TBits_1); inline;
  50985. begin
  50986. if thebits = 0 then
  50987. pTDefRegMap(@Self)^.clr := $00000002
  50988. else
  50989. pTDefRegMap(@Self)^.&set := $00000002;
  50990. end;
  50991. function TDMAC7_DCH7INT.getCHTAIF : TBits_1; inline;
  50992. begin
  50993. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50994. end;
  50995. procedure TDMAC7_DCH7INT.setCHCCIF; inline;
  50996. begin
  50997. pTDefRegMap(@Self)^.&set := $00000004;
  50998. end;
  50999. procedure TDMAC7_DCH7INT.clearCHCCIF; inline;
  51000. begin
  51001. pTDefRegMap(@Self)^.clr := $00000004;
  51002. end;
  51003. procedure TDMAC7_DCH7INT.setCHCCIF(thebits : TBits_1); inline;
  51004. begin
  51005. if thebits = 0 then
  51006. pTDefRegMap(@Self)^.clr := $00000004
  51007. else
  51008. pTDefRegMap(@Self)^.&set := $00000004;
  51009. end;
  51010. function TDMAC7_DCH7INT.getCHCCIF : TBits_1; inline;
  51011. begin
  51012. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51013. end;
  51014. procedure TDMAC7_DCH7INT.setCHBCIF; inline;
  51015. begin
  51016. pTDefRegMap(@Self)^.&set := $00000008;
  51017. end;
  51018. procedure TDMAC7_DCH7INT.clearCHBCIF; inline;
  51019. begin
  51020. pTDefRegMap(@Self)^.clr := $00000008;
  51021. end;
  51022. procedure TDMAC7_DCH7INT.setCHBCIF(thebits : TBits_1); inline;
  51023. begin
  51024. if thebits = 0 then
  51025. pTDefRegMap(@Self)^.clr := $00000008
  51026. else
  51027. pTDefRegMap(@Self)^.&set := $00000008;
  51028. end;
  51029. function TDMAC7_DCH7INT.getCHBCIF : TBits_1; inline;
  51030. begin
  51031. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51032. end;
  51033. procedure TDMAC7_DCH7INT.setCHDHIF; inline;
  51034. begin
  51035. pTDefRegMap(@Self)^.&set := $00000010;
  51036. end;
  51037. procedure TDMAC7_DCH7INT.clearCHDHIF; inline;
  51038. begin
  51039. pTDefRegMap(@Self)^.clr := $00000010;
  51040. end;
  51041. procedure TDMAC7_DCH7INT.setCHDHIF(thebits : TBits_1); inline;
  51042. begin
  51043. if thebits = 0 then
  51044. pTDefRegMap(@Self)^.clr := $00000010
  51045. else
  51046. pTDefRegMap(@Self)^.&set := $00000010;
  51047. end;
  51048. function TDMAC7_DCH7INT.getCHDHIF : TBits_1; inline;
  51049. begin
  51050. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51051. end;
  51052. procedure TDMAC7_DCH7INT.setCHDDIF; inline;
  51053. begin
  51054. pTDefRegMap(@Self)^.&set := $00000020;
  51055. end;
  51056. procedure TDMAC7_DCH7INT.clearCHDDIF; inline;
  51057. begin
  51058. pTDefRegMap(@Self)^.clr := $00000020;
  51059. end;
  51060. procedure TDMAC7_DCH7INT.setCHDDIF(thebits : TBits_1); inline;
  51061. begin
  51062. if thebits = 0 then
  51063. pTDefRegMap(@Self)^.clr := $00000020
  51064. else
  51065. pTDefRegMap(@Self)^.&set := $00000020;
  51066. end;
  51067. function TDMAC7_DCH7INT.getCHDDIF : TBits_1; inline;
  51068. begin
  51069. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51070. end;
  51071. procedure TDMAC7_DCH7INT.setCHSHIF; inline;
  51072. begin
  51073. pTDefRegMap(@Self)^.&set := $00000040;
  51074. end;
  51075. procedure TDMAC7_DCH7INT.clearCHSHIF; inline;
  51076. begin
  51077. pTDefRegMap(@Self)^.clr := $00000040;
  51078. end;
  51079. procedure TDMAC7_DCH7INT.setCHSHIF(thebits : TBits_1); inline;
  51080. begin
  51081. if thebits = 0 then
  51082. pTDefRegMap(@Self)^.clr := $00000040
  51083. else
  51084. pTDefRegMap(@Self)^.&set := $00000040;
  51085. end;
  51086. function TDMAC7_DCH7INT.getCHSHIF : TBits_1; inline;
  51087. begin
  51088. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51089. end;
  51090. procedure TDMAC7_DCH7INT.setCHSDIF; inline;
  51091. begin
  51092. pTDefRegMap(@Self)^.&set := $00000080;
  51093. end;
  51094. procedure TDMAC7_DCH7INT.clearCHSDIF; inline;
  51095. begin
  51096. pTDefRegMap(@Self)^.clr := $00000080;
  51097. end;
  51098. procedure TDMAC7_DCH7INT.setCHSDIF(thebits : TBits_1); inline;
  51099. begin
  51100. if thebits = 0 then
  51101. pTDefRegMap(@Self)^.clr := $00000080
  51102. else
  51103. pTDefRegMap(@Self)^.&set := $00000080;
  51104. end;
  51105. function TDMAC7_DCH7INT.getCHSDIF : TBits_1; inline;
  51106. begin
  51107. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51108. end;
  51109. procedure TDMAC7_DCH7INT.setCHERIE; inline;
  51110. begin
  51111. pTDefRegMap(@Self)^.&set := $00010000;
  51112. end;
  51113. procedure TDMAC7_DCH7INT.clearCHERIE; inline;
  51114. begin
  51115. pTDefRegMap(@Self)^.clr := $00010000;
  51116. end;
  51117. procedure TDMAC7_DCH7INT.setCHERIE(thebits : TBits_1); inline;
  51118. begin
  51119. if thebits = 0 then
  51120. pTDefRegMap(@Self)^.clr := $00010000
  51121. else
  51122. pTDefRegMap(@Self)^.&set := $00010000;
  51123. end;
  51124. function TDMAC7_DCH7INT.getCHERIE : TBits_1; inline;
  51125. begin
  51126. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  51127. end;
  51128. procedure TDMAC7_DCH7INT.setCHTAIE; inline;
  51129. begin
  51130. pTDefRegMap(@Self)^.&set := $00020000;
  51131. end;
  51132. procedure TDMAC7_DCH7INT.clearCHTAIE; inline;
  51133. begin
  51134. pTDefRegMap(@Self)^.clr := $00020000;
  51135. end;
  51136. procedure TDMAC7_DCH7INT.setCHTAIE(thebits : TBits_1); inline;
  51137. begin
  51138. if thebits = 0 then
  51139. pTDefRegMap(@Self)^.clr := $00020000
  51140. else
  51141. pTDefRegMap(@Self)^.&set := $00020000;
  51142. end;
  51143. function TDMAC7_DCH7INT.getCHTAIE : TBits_1; inline;
  51144. begin
  51145. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  51146. end;
  51147. procedure TDMAC7_DCH7INT.setCHCCIE; inline;
  51148. begin
  51149. pTDefRegMap(@Self)^.&set := $00040000;
  51150. end;
  51151. procedure TDMAC7_DCH7INT.clearCHCCIE; inline;
  51152. begin
  51153. pTDefRegMap(@Self)^.clr := $00040000;
  51154. end;
  51155. procedure TDMAC7_DCH7INT.setCHCCIE(thebits : TBits_1); inline;
  51156. begin
  51157. if thebits = 0 then
  51158. pTDefRegMap(@Self)^.clr := $00040000
  51159. else
  51160. pTDefRegMap(@Self)^.&set := $00040000;
  51161. end;
  51162. function TDMAC7_DCH7INT.getCHCCIE : TBits_1; inline;
  51163. begin
  51164. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  51165. end;
  51166. procedure TDMAC7_DCH7INT.setCHBCIE; inline;
  51167. begin
  51168. pTDefRegMap(@Self)^.&set := $00080000;
  51169. end;
  51170. procedure TDMAC7_DCH7INT.clearCHBCIE; inline;
  51171. begin
  51172. pTDefRegMap(@Self)^.clr := $00080000;
  51173. end;
  51174. procedure TDMAC7_DCH7INT.setCHBCIE(thebits : TBits_1); inline;
  51175. begin
  51176. if thebits = 0 then
  51177. pTDefRegMap(@Self)^.clr := $00080000
  51178. else
  51179. pTDefRegMap(@Self)^.&set := $00080000;
  51180. end;
  51181. function TDMAC7_DCH7INT.getCHBCIE : TBits_1; inline;
  51182. begin
  51183. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  51184. end;
  51185. procedure TDMAC7_DCH7INT.setCHDHIE; inline;
  51186. begin
  51187. pTDefRegMap(@Self)^.&set := $00100000;
  51188. end;
  51189. procedure TDMAC7_DCH7INT.clearCHDHIE; inline;
  51190. begin
  51191. pTDefRegMap(@Self)^.clr := $00100000;
  51192. end;
  51193. procedure TDMAC7_DCH7INT.setCHDHIE(thebits : TBits_1); inline;
  51194. begin
  51195. if thebits = 0 then
  51196. pTDefRegMap(@Self)^.clr := $00100000
  51197. else
  51198. pTDefRegMap(@Self)^.&set := $00100000;
  51199. end;
  51200. function TDMAC7_DCH7INT.getCHDHIE : TBits_1; inline;
  51201. begin
  51202. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  51203. end;
  51204. procedure TDMAC7_DCH7INT.setCHDDIE; inline;
  51205. begin
  51206. pTDefRegMap(@Self)^.&set := $00200000;
  51207. end;
  51208. procedure TDMAC7_DCH7INT.clearCHDDIE; inline;
  51209. begin
  51210. pTDefRegMap(@Self)^.clr := $00200000;
  51211. end;
  51212. procedure TDMAC7_DCH7INT.setCHDDIE(thebits : TBits_1); inline;
  51213. begin
  51214. if thebits = 0 then
  51215. pTDefRegMap(@Self)^.clr := $00200000
  51216. else
  51217. pTDefRegMap(@Self)^.&set := $00200000;
  51218. end;
  51219. function TDMAC7_DCH7INT.getCHDDIE : TBits_1; inline;
  51220. begin
  51221. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  51222. end;
  51223. procedure TDMAC7_DCH7INT.setCHSHIE; inline;
  51224. begin
  51225. pTDefRegMap(@Self)^.&set := $00400000;
  51226. end;
  51227. procedure TDMAC7_DCH7INT.clearCHSHIE; inline;
  51228. begin
  51229. pTDefRegMap(@Self)^.clr := $00400000;
  51230. end;
  51231. procedure TDMAC7_DCH7INT.setCHSHIE(thebits : TBits_1); inline;
  51232. begin
  51233. if thebits = 0 then
  51234. pTDefRegMap(@Self)^.clr := $00400000
  51235. else
  51236. pTDefRegMap(@Self)^.&set := $00400000;
  51237. end;
  51238. function TDMAC7_DCH7INT.getCHSHIE : TBits_1; inline;
  51239. begin
  51240. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  51241. end;
  51242. procedure TDMAC7_DCH7INT.setCHSDIE; inline;
  51243. begin
  51244. pTDefRegMap(@Self)^.&set := $00800000;
  51245. end;
  51246. procedure TDMAC7_DCH7INT.clearCHSDIE; inline;
  51247. begin
  51248. pTDefRegMap(@Self)^.clr := $00800000;
  51249. end;
  51250. procedure TDMAC7_DCH7INT.setCHSDIE(thebits : TBits_1); inline;
  51251. begin
  51252. if thebits = 0 then
  51253. pTDefRegMap(@Self)^.clr := $00800000
  51254. else
  51255. pTDefRegMap(@Self)^.&set := $00800000;
  51256. end;
  51257. function TDMAC7_DCH7INT.getCHSDIE : TBits_1; inline;
  51258. begin
  51259. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  51260. end;
  51261. procedure TDMAC7_DCH7INT.setw(thebits : TBits_32); inline;
  51262. begin
  51263. pTDefRegMap(@Self)^.val := thebits;
  51264. end;
  51265. function TDMAC7_DCH7INT.getw : TBits_32; inline;
  51266. begin
  51267. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51268. end;
  51269. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  51270. begin
  51271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  51272. end;
  51273. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  51274. begin
  51275. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  51276. end;
  51277. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  51278. begin
  51279. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  51280. end;
  51281. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  51282. begin
  51283. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  51284. end;
  51285. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  51286. begin
  51287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  51288. end;
  51289. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  51290. begin
  51291. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  51292. end;
  51293. procedure TPCACHE_CHECON.setCHECOH; inline;
  51294. begin
  51295. pTDefRegMap(@Self)^.&set := $00010000;
  51296. end;
  51297. procedure TPCACHE_CHECON.clearCHECOH; inline;
  51298. begin
  51299. pTDefRegMap(@Self)^.clr := $00010000;
  51300. end;
  51301. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  51302. begin
  51303. if thebits = 0 then
  51304. pTDefRegMap(@Self)^.clr := $00010000
  51305. else
  51306. pTDefRegMap(@Self)^.&set := $00010000;
  51307. end;
  51308. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  51309. begin
  51310. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  51311. end;
  51312. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  51313. begin
  51314. pTDefRegMap(@Self)^.val := thebits;
  51315. end;
  51316. function TPCACHE_CHECON.getw : TBits_32; inline;
  51317. begin
  51318. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51319. end;
  51320. procedure TPCACHE_CHETAG.setLTYPE; inline;
  51321. begin
  51322. pTDefRegMap(@Self)^.&set := $00000002;
  51323. end;
  51324. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  51325. begin
  51326. pTDefRegMap(@Self)^.clr := $00000002;
  51327. end;
  51328. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  51329. begin
  51330. if thebits = 0 then
  51331. pTDefRegMap(@Self)^.clr := $00000002
  51332. else
  51333. pTDefRegMap(@Self)^.&set := $00000002;
  51334. end;
  51335. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  51336. begin
  51337. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51338. end;
  51339. procedure TPCACHE_CHETAG.setLLOCK; inline;
  51340. begin
  51341. pTDefRegMap(@Self)^.&set := $00000004;
  51342. end;
  51343. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  51344. begin
  51345. pTDefRegMap(@Self)^.clr := $00000004;
  51346. end;
  51347. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  51348. begin
  51349. if thebits = 0 then
  51350. pTDefRegMap(@Self)^.clr := $00000004
  51351. else
  51352. pTDefRegMap(@Self)^.&set := $00000004;
  51353. end;
  51354. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  51355. begin
  51356. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51357. end;
  51358. procedure TPCACHE_CHETAG.setLVALID; inline;
  51359. begin
  51360. pTDefRegMap(@Self)^.&set := $00000008;
  51361. end;
  51362. procedure TPCACHE_CHETAG.clearLVALID; inline;
  51363. begin
  51364. pTDefRegMap(@Self)^.clr := $00000008;
  51365. end;
  51366. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  51367. begin
  51368. if thebits = 0 then
  51369. pTDefRegMap(@Self)^.clr := $00000008
  51370. else
  51371. pTDefRegMap(@Self)^.&set := $00000008;
  51372. end;
  51373. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  51374. begin
  51375. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51376. end;
  51377. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  51378. begin
  51379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  51380. end;
  51381. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  51382. begin
  51383. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  51384. end;
  51385. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  51386. begin
  51387. pTDefRegMap(@Self)^.&set := $80000000;
  51388. end;
  51389. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  51390. begin
  51391. pTDefRegMap(@Self)^.clr := $80000000;
  51392. end;
  51393. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  51394. begin
  51395. if thebits = 0 then
  51396. pTDefRegMap(@Self)^.clr := $80000000
  51397. else
  51398. pTDefRegMap(@Self)^.&set := $80000000;
  51399. end;
  51400. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  51401. begin
  51402. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  51403. end;
  51404. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  51405. begin
  51406. pTDefRegMap(@Self)^.val := thebits;
  51407. end;
  51408. function TPCACHE_CHETAG.getw : TBits_32; inline;
  51409. begin
  51410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51411. end;
  51412. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  51413. begin
  51414. pTDefRegMap(@Self)^.&set := $00000001;
  51415. end;
  51416. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  51417. begin
  51418. pTDefRegMap(@Self)^.clr := $00000001;
  51419. end;
  51420. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  51421. begin
  51422. if thebits = 0 then
  51423. pTDefRegMap(@Self)^.clr := $00000001
  51424. else
  51425. pTDefRegMap(@Self)^.&set := $00000001;
  51426. end;
  51427. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  51428. begin
  51429. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51430. end;
  51431. procedure TUSB_U1IR.setUERRIF; inline;
  51432. begin
  51433. pTDefRegMap(@Self)^.&set := $00000002;
  51434. end;
  51435. procedure TUSB_U1IR.clearUERRIF; inline;
  51436. begin
  51437. pTDefRegMap(@Self)^.clr := $00000002;
  51438. end;
  51439. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  51440. begin
  51441. if thebits = 0 then
  51442. pTDefRegMap(@Self)^.clr := $00000002
  51443. else
  51444. pTDefRegMap(@Self)^.&set := $00000002;
  51445. end;
  51446. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  51447. begin
  51448. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51449. end;
  51450. procedure TUSB_U1IR.setSOFIF; inline;
  51451. begin
  51452. pTDefRegMap(@Self)^.&set := $00000004;
  51453. end;
  51454. procedure TUSB_U1IR.clearSOFIF; inline;
  51455. begin
  51456. pTDefRegMap(@Self)^.clr := $00000004;
  51457. end;
  51458. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  51459. begin
  51460. if thebits = 0 then
  51461. pTDefRegMap(@Self)^.clr := $00000004
  51462. else
  51463. pTDefRegMap(@Self)^.&set := $00000004;
  51464. end;
  51465. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  51466. begin
  51467. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51468. end;
  51469. procedure TUSB_U1IR.setTRNIF; inline;
  51470. begin
  51471. pTDefRegMap(@Self)^.&set := $00000008;
  51472. end;
  51473. procedure TUSB_U1IR.clearTRNIF; inline;
  51474. begin
  51475. pTDefRegMap(@Self)^.clr := $00000008;
  51476. end;
  51477. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  51478. begin
  51479. if thebits = 0 then
  51480. pTDefRegMap(@Self)^.clr := $00000008
  51481. else
  51482. pTDefRegMap(@Self)^.&set := $00000008;
  51483. end;
  51484. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  51485. begin
  51486. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51487. end;
  51488. procedure TUSB_U1IR.setIDLEIF; inline;
  51489. begin
  51490. pTDefRegMap(@Self)^.&set := $00000010;
  51491. end;
  51492. procedure TUSB_U1IR.clearIDLEIF; inline;
  51493. begin
  51494. pTDefRegMap(@Self)^.clr := $00000010;
  51495. end;
  51496. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  51497. begin
  51498. if thebits = 0 then
  51499. pTDefRegMap(@Self)^.clr := $00000010
  51500. else
  51501. pTDefRegMap(@Self)^.&set := $00000010;
  51502. end;
  51503. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  51504. begin
  51505. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51506. end;
  51507. procedure TUSB_U1IR.setRESUMEIF; inline;
  51508. begin
  51509. pTDefRegMap(@Self)^.&set := $00000020;
  51510. end;
  51511. procedure TUSB_U1IR.clearRESUMEIF; inline;
  51512. begin
  51513. pTDefRegMap(@Self)^.clr := $00000020;
  51514. end;
  51515. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  51516. begin
  51517. if thebits = 0 then
  51518. pTDefRegMap(@Self)^.clr := $00000020
  51519. else
  51520. pTDefRegMap(@Self)^.&set := $00000020;
  51521. end;
  51522. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  51523. begin
  51524. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51525. end;
  51526. procedure TUSB_U1IR.setATTACHIF; inline;
  51527. begin
  51528. pTDefRegMap(@Self)^.&set := $00000040;
  51529. end;
  51530. procedure TUSB_U1IR.clearATTACHIF; inline;
  51531. begin
  51532. pTDefRegMap(@Self)^.clr := $00000040;
  51533. end;
  51534. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  51535. begin
  51536. if thebits = 0 then
  51537. pTDefRegMap(@Self)^.clr := $00000040
  51538. else
  51539. pTDefRegMap(@Self)^.&set := $00000040;
  51540. end;
  51541. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  51542. begin
  51543. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51544. end;
  51545. procedure TUSB_U1IR.setSTALLIF; inline;
  51546. begin
  51547. pTDefRegMap(@Self)^.&set := $00000080;
  51548. end;
  51549. procedure TUSB_U1IR.clearSTALLIF; inline;
  51550. begin
  51551. pTDefRegMap(@Self)^.clr := $00000080;
  51552. end;
  51553. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  51554. begin
  51555. if thebits = 0 then
  51556. pTDefRegMap(@Self)^.clr := $00000080
  51557. else
  51558. pTDefRegMap(@Self)^.&set := $00000080;
  51559. end;
  51560. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  51561. begin
  51562. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51563. end;
  51564. procedure TUSB_U1IR.setDETACHIF; inline;
  51565. begin
  51566. pTDefRegMap(@Self)^.&set := $00000001;
  51567. end;
  51568. procedure TUSB_U1IR.clearDETACHIF; inline;
  51569. begin
  51570. pTDefRegMap(@Self)^.clr := $00000001;
  51571. end;
  51572. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  51573. begin
  51574. if thebits = 0 then
  51575. pTDefRegMap(@Self)^.clr := $00000001
  51576. else
  51577. pTDefRegMap(@Self)^.&set := $00000001;
  51578. end;
  51579. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  51580. begin
  51581. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51582. end;
  51583. procedure TUSB_U1IR.setURSTIF; inline;
  51584. begin
  51585. pTDefRegMap(@Self)^.&set := $00000001;
  51586. end;
  51587. procedure TUSB_U1IR.clearURSTIF; inline;
  51588. begin
  51589. pTDefRegMap(@Self)^.clr := $00000001;
  51590. end;
  51591. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  51592. begin
  51593. if thebits = 0 then
  51594. pTDefRegMap(@Self)^.clr := $00000001
  51595. else
  51596. pTDefRegMap(@Self)^.&set := $00000001;
  51597. end;
  51598. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  51599. begin
  51600. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51601. end;
  51602. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  51603. begin
  51604. pTDefRegMap(@Self)^.&set := $00000001;
  51605. end;
  51606. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  51607. begin
  51608. pTDefRegMap(@Self)^.clr := $00000001;
  51609. end;
  51610. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  51611. begin
  51612. if thebits = 0 then
  51613. pTDefRegMap(@Self)^.clr := $00000001
  51614. else
  51615. pTDefRegMap(@Self)^.&set := $00000001;
  51616. end;
  51617. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  51618. begin
  51619. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51620. end;
  51621. procedure TUSB_U1IE.setUERRIE; inline;
  51622. begin
  51623. pTDefRegMap(@Self)^.&set := $00000002;
  51624. end;
  51625. procedure TUSB_U1IE.clearUERRIE; inline;
  51626. begin
  51627. pTDefRegMap(@Self)^.clr := $00000002;
  51628. end;
  51629. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  51630. begin
  51631. if thebits = 0 then
  51632. pTDefRegMap(@Self)^.clr := $00000002
  51633. else
  51634. pTDefRegMap(@Self)^.&set := $00000002;
  51635. end;
  51636. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  51637. begin
  51638. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51639. end;
  51640. procedure TUSB_U1IE.setSOFIE; inline;
  51641. begin
  51642. pTDefRegMap(@Self)^.&set := $00000004;
  51643. end;
  51644. procedure TUSB_U1IE.clearSOFIE; inline;
  51645. begin
  51646. pTDefRegMap(@Self)^.clr := $00000004;
  51647. end;
  51648. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  51649. begin
  51650. if thebits = 0 then
  51651. pTDefRegMap(@Self)^.clr := $00000004
  51652. else
  51653. pTDefRegMap(@Self)^.&set := $00000004;
  51654. end;
  51655. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  51656. begin
  51657. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51658. end;
  51659. procedure TUSB_U1IE.setTRNIE; inline;
  51660. begin
  51661. pTDefRegMap(@Self)^.&set := $00000008;
  51662. end;
  51663. procedure TUSB_U1IE.clearTRNIE; inline;
  51664. begin
  51665. pTDefRegMap(@Self)^.clr := $00000008;
  51666. end;
  51667. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  51668. begin
  51669. if thebits = 0 then
  51670. pTDefRegMap(@Self)^.clr := $00000008
  51671. else
  51672. pTDefRegMap(@Self)^.&set := $00000008;
  51673. end;
  51674. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  51675. begin
  51676. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51677. end;
  51678. procedure TUSB_U1IE.setIDLEIE; inline;
  51679. begin
  51680. pTDefRegMap(@Self)^.&set := $00000010;
  51681. end;
  51682. procedure TUSB_U1IE.clearIDLEIE; inline;
  51683. begin
  51684. pTDefRegMap(@Self)^.clr := $00000010;
  51685. end;
  51686. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  51687. begin
  51688. if thebits = 0 then
  51689. pTDefRegMap(@Self)^.clr := $00000010
  51690. else
  51691. pTDefRegMap(@Self)^.&set := $00000010;
  51692. end;
  51693. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  51694. begin
  51695. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51696. end;
  51697. procedure TUSB_U1IE.setRESUMEIE; inline;
  51698. begin
  51699. pTDefRegMap(@Self)^.&set := $00000020;
  51700. end;
  51701. procedure TUSB_U1IE.clearRESUMEIE; inline;
  51702. begin
  51703. pTDefRegMap(@Self)^.clr := $00000020;
  51704. end;
  51705. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  51706. begin
  51707. if thebits = 0 then
  51708. pTDefRegMap(@Self)^.clr := $00000020
  51709. else
  51710. pTDefRegMap(@Self)^.&set := $00000020;
  51711. end;
  51712. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  51713. begin
  51714. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51715. end;
  51716. procedure TUSB_U1IE.setATTACHIE; inline;
  51717. begin
  51718. pTDefRegMap(@Self)^.&set := $00000040;
  51719. end;
  51720. procedure TUSB_U1IE.clearATTACHIE; inline;
  51721. begin
  51722. pTDefRegMap(@Self)^.clr := $00000040;
  51723. end;
  51724. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  51725. begin
  51726. if thebits = 0 then
  51727. pTDefRegMap(@Self)^.clr := $00000040
  51728. else
  51729. pTDefRegMap(@Self)^.&set := $00000040;
  51730. end;
  51731. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  51732. begin
  51733. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51734. end;
  51735. procedure TUSB_U1IE.setSTALLIE; inline;
  51736. begin
  51737. pTDefRegMap(@Self)^.&set := $00000080;
  51738. end;
  51739. procedure TUSB_U1IE.clearSTALLIE; inline;
  51740. begin
  51741. pTDefRegMap(@Self)^.clr := $00000080;
  51742. end;
  51743. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  51744. begin
  51745. if thebits = 0 then
  51746. pTDefRegMap(@Self)^.clr := $00000080
  51747. else
  51748. pTDefRegMap(@Self)^.&set := $00000080;
  51749. end;
  51750. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  51751. begin
  51752. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51753. end;
  51754. procedure TUSB_U1IE.setDETACHIE; inline;
  51755. begin
  51756. pTDefRegMap(@Self)^.&set := $00000001;
  51757. end;
  51758. procedure TUSB_U1IE.clearDETACHIE; inline;
  51759. begin
  51760. pTDefRegMap(@Self)^.clr := $00000001;
  51761. end;
  51762. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  51763. begin
  51764. if thebits = 0 then
  51765. pTDefRegMap(@Self)^.clr := $00000001
  51766. else
  51767. pTDefRegMap(@Self)^.&set := $00000001;
  51768. end;
  51769. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  51770. begin
  51771. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51772. end;
  51773. procedure TUSB_U1IE.setURSTIE; inline;
  51774. begin
  51775. pTDefRegMap(@Self)^.&set := $00000001;
  51776. end;
  51777. procedure TUSB_U1IE.clearURSTIE; inline;
  51778. begin
  51779. pTDefRegMap(@Self)^.clr := $00000001;
  51780. end;
  51781. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  51782. begin
  51783. if thebits = 0 then
  51784. pTDefRegMap(@Self)^.clr := $00000001
  51785. else
  51786. pTDefRegMap(@Self)^.&set := $00000001;
  51787. end;
  51788. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  51789. begin
  51790. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51791. end;
  51792. procedure TUSB_U1EIR.setPIDEF; inline;
  51793. begin
  51794. pTDefRegMap(@Self)^.&set := $00000001;
  51795. end;
  51796. procedure TUSB_U1EIR.clearPIDEF; inline;
  51797. begin
  51798. pTDefRegMap(@Self)^.clr := $00000001;
  51799. end;
  51800. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  51801. begin
  51802. if thebits = 0 then
  51803. pTDefRegMap(@Self)^.clr := $00000001
  51804. else
  51805. pTDefRegMap(@Self)^.&set := $00000001;
  51806. end;
  51807. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  51808. begin
  51809. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51810. end;
  51811. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  51812. begin
  51813. pTDefRegMap(@Self)^.&set := $00000002;
  51814. end;
  51815. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  51816. begin
  51817. pTDefRegMap(@Self)^.clr := $00000002;
  51818. end;
  51819. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  51820. begin
  51821. if thebits = 0 then
  51822. pTDefRegMap(@Self)^.clr := $00000002
  51823. else
  51824. pTDefRegMap(@Self)^.&set := $00000002;
  51825. end;
  51826. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  51827. begin
  51828. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51829. end;
  51830. procedure TUSB_U1EIR.setCRC16EF; inline;
  51831. begin
  51832. pTDefRegMap(@Self)^.&set := $00000004;
  51833. end;
  51834. procedure TUSB_U1EIR.clearCRC16EF; inline;
  51835. begin
  51836. pTDefRegMap(@Self)^.clr := $00000004;
  51837. end;
  51838. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  51839. begin
  51840. if thebits = 0 then
  51841. pTDefRegMap(@Self)^.clr := $00000004
  51842. else
  51843. pTDefRegMap(@Self)^.&set := $00000004;
  51844. end;
  51845. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  51846. begin
  51847. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51848. end;
  51849. procedure TUSB_U1EIR.setDFN8EF; inline;
  51850. begin
  51851. pTDefRegMap(@Self)^.&set := $00000008;
  51852. end;
  51853. procedure TUSB_U1EIR.clearDFN8EF; inline;
  51854. begin
  51855. pTDefRegMap(@Self)^.clr := $00000008;
  51856. end;
  51857. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  51858. begin
  51859. if thebits = 0 then
  51860. pTDefRegMap(@Self)^.clr := $00000008
  51861. else
  51862. pTDefRegMap(@Self)^.&set := $00000008;
  51863. end;
  51864. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  51865. begin
  51866. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51867. end;
  51868. procedure TUSB_U1EIR.setBTOEF; inline;
  51869. begin
  51870. pTDefRegMap(@Self)^.&set := $00000010;
  51871. end;
  51872. procedure TUSB_U1EIR.clearBTOEF; inline;
  51873. begin
  51874. pTDefRegMap(@Self)^.clr := $00000010;
  51875. end;
  51876. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  51877. begin
  51878. if thebits = 0 then
  51879. pTDefRegMap(@Self)^.clr := $00000010
  51880. else
  51881. pTDefRegMap(@Self)^.&set := $00000010;
  51882. end;
  51883. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  51884. begin
  51885. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51886. end;
  51887. procedure TUSB_U1EIR.setDMAEF; inline;
  51888. begin
  51889. pTDefRegMap(@Self)^.&set := $00000020;
  51890. end;
  51891. procedure TUSB_U1EIR.clearDMAEF; inline;
  51892. begin
  51893. pTDefRegMap(@Self)^.clr := $00000020;
  51894. end;
  51895. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  51896. begin
  51897. if thebits = 0 then
  51898. pTDefRegMap(@Self)^.clr := $00000020
  51899. else
  51900. pTDefRegMap(@Self)^.&set := $00000020;
  51901. end;
  51902. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  51903. begin
  51904. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51905. end;
  51906. procedure TUSB_U1EIR.setBMXEF; inline;
  51907. begin
  51908. pTDefRegMap(@Self)^.&set := $00000040;
  51909. end;
  51910. procedure TUSB_U1EIR.clearBMXEF; inline;
  51911. begin
  51912. pTDefRegMap(@Self)^.clr := $00000040;
  51913. end;
  51914. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  51915. begin
  51916. if thebits = 0 then
  51917. pTDefRegMap(@Self)^.clr := $00000040
  51918. else
  51919. pTDefRegMap(@Self)^.&set := $00000040;
  51920. end;
  51921. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  51922. begin
  51923. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51924. end;
  51925. procedure TUSB_U1EIR.setBTSEF; inline;
  51926. begin
  51927. pTDefRegMap(@Self)^.&set := $00000080;
  51928. end;
  51929. procedure TUSB_U1EIR.clearBTSEF; inline;
  51930. begin
  51931. pTDefRegMap(@Self)^.clr := $00000080;
  51932. end;
  51933. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  51934. begin
  51935. if thebits = 0 then
  51936. pTDefRegMap(@Self)^.clr := $00000080
  51937. else
  51938. pTDefRegMap(@Self)^.&set := $00000080;
  51939. end;
  51940. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  51941. begin
  51942. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51943. end;
  51944. procedure TUSB_U1EIR.setCRC5EF; inline;
  51945. begin
  51946. pTDefRegMap(@Self)^.&set := $00000002;
  51947. end;
  51948. procedure TUSB_U1EIR.clearCRC5EF; inline;
  51949. begin
  51950. pTDefRegMap(@Self)^.clr := $00000002;
  51951. end;
  51952. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  51953. begin
  51954. if thebits = 0 then
  51955. pTDefRegMap(@Self)^.clr := $00000002
  51956. else
  51957. pTDefRegMap(@Self)^.&set := $00000002;
  51958. end;
  51959. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  51960. begin
  51961. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51962. end;
  51963. procedure TUSB_U1EIR.setEOFEF; inline;
  51964. begin
  51965. pTDefRegMap(@Self)^.&set := $00000002;
  51966. end;
  51967. procedure TUSB_U1EIR.clearEOFEF; inline;
  51968. begin
  51969. pTDefRegMap(@Self)^.clr := $00000002;
  51970. end;
  51971. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  51972. begin
  51973. if thebits = 0 then
  51974. pTDefRegMap(@Self)^.clr := $00000002
  51975. else
  51976. pTDefRegMap(@Self)^.&set := $00000002;
  51977. end;
  51978. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  51979. begin
  51980. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51981. end;
  51982. procedure TUSB_U1EIE.setPIDEE; inline;
  51983. begin
  51984. pTDefRegMap(@Self)^.&set := $00000001;
  51985. end;
  51986. procedure TUSB_U1EIE.clearPIDEE; inline;
  51987. begin
  51988. pTDefRegMap(@Self)^.clr := $00000001;
  51989. end;
  51990. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  51991. begin
  51992. if thebits = 0 then
  51993. pTDefRegMap(@Self)^.clr := $00000001
  51994. else
  51995. pTDefRegMap(@Self)^.&set := $00000001;
  51996. end;
  51997. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  51998. begin
  51999. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52000. end;
  52001. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  52002. begin
  52003. pTDefRegMap(@Self)^.&set := $00000002;
  52004. end;
  52005. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  52006. begin
  52007. pTDefRegMap(@Self)^.clr := $00000002;
  52008. end;
  52009. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  52010. begin
  52011. if thebits = 0 then
  52012. pTDefRegMap(@Self)^.clr := $00000002
  52013. else
  52014. pTDefRegMap(@Self)^.&set := $00000002;
  52015. end;
  52016. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  52017. begin
  52018. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52019. end;
  52020. procedure TUSB_U1EIE.setCRC16EE; inline;
  52021. begin
  52022. pTDefRegMap(@Self)^.&set := $00000004;
  52023. end;
  52024. procedure TUSB_U1EIE.clearCRC16EE; inline;
  52025. begin
  52026. pTDefRegMap(@Self)^.clr := $00000004;
  52027. end;
  52028. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  52029. begin
  52030. if thebits = 0 then
  52031. pTDefRegMap(@Self)^.clr := $00000004
  52032. else
  52033. pTDefRegMap(@Self)^.&set := $00000004;
  52034. end;
  52035. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  52036. begin
  52037. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52038. end;
  52039. procedure TUSB_U1EIE.setDFN8EE; inline;
  52040. begin
  52041. pTDefRegMap(@Self)^.&set := $00000008;
  52042. end;
  52043. procedure TUSB_U1EIE.clearDFN8EE; inline;
  52044. begin
  52045. pTDefRegMap(@Self)^.clr := $00000008;
  52046. end;
  52047. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  52048. begin
  52049. if thebits = 0 then
  52050. pTDefRegMap(@Self)^.clr := $00000008
  52051. else
  52052. pTDefRegMap(@Self)^.&set := $00000008;
  52053. end;
  52054. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  52055. begin
  52056. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52057. end;
  52058. procedure TUSB_U1EIE.setBTOEE; inline;
  52059. begin
  52060. pTDefRegMap(@Self)^.&set := $00000010;
  52061. end;
  52062. procedure TUSB_U1EIE.clearBTOEE; inline;
  52063. begin
  52064. pTDefRegMap(@Self)^.clr := $00000010;
  52065. end;
  52066. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  52067. begin
  52068. if thebits = 0 then
  52069. pTDefRegMap(@Self)^.clr := $00000010
  52070. else
  52071. pTDefRegMap(@Self)^.&set := $00000010;
  52072. end;
  52073. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  52074. begin
  52075. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52076. end;
  52077. procedure TUSB_U1EIE.setDMAEE; inline;
  52078. begin
  52079. pTDefRegMap(@Self)^.&set := $00000020;
  52080. end;
  52081. procedure TUSB_U1EIE.clearDMAEE; inline;
  52082. begin
  52083. pTDefRegMap(@Self)^.clr := $00000020;
  52084. end;
  52085. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  52086. begin
  52087. if thebits = 0 then
  52088. pTDefRegMap(@Self)^.clr := $00000020
  52089. else
  52090. pTDefRegMap(@Self)^.&set := $00000020;
  52091. end;
  52092. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  52093. begin
  52094. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52095. end;
  52096. procedure TUSB_U1EIE.setBMXEE; inline;
  52097. begin
  52098. pTDefRegMap(@Self)^.&set := $00000040;
  52099. end;
  52100. procedure TUSB_U1EIE.clearBMXEE; inline;
  52101. begin
  52102. pTDefRegMap(@Self)^.clr := $00000040;
  52103. end;
  52104. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  52105. begin
  52106. if thebits = 0 then
  52107. pTDefRegMap(@Self)^.clr := $00000040
  52108. else
  52109. pTDefRegMap(@Self)^.&set := $00000040;
  52110. end;
  52111. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  52112. begin
  52113. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52114. end;
  52115. procedure TUSB_U1EIE.setBTSEE; inline;
  52116. begin
  52117. pTDefRegMap(@Self)^.&set := $00000080;
  52118. end;
  52119. procedure TUSB_U1EIE.clearBTSEE; inline;
  52120. begin
  52121. pTDefRegMap(@Self)^.clr := $00000080;
  52122. end;
  52123. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  52124. begin
  52125. if thebits = 0 then
  52126. pTDefRegMap(@Self)^.clr := $00000080
  52127. else
  52128. pTDefRegMap(@Self)^.&set := $00000080;
  52129. end;
  52130. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  52131. begin
  52132. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52133. end;
  52134. procedure TUSB_U1EIE.setCRC5EE; inline;
  52135. begin
  52136. pTDefRegMap(@Self)^.&set := $00000002;
  52137. end;
  52138. procedure TUSB_U1EIE.clearCRC5EE; inline;
  52139. begin
  52140. pTDefRegMap(@Self)^.clr := $00000002;
  52141. end;
  52142. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  52143. begin
  52144. if thebits = 0 then
  52145. pTDefRegMap(@Self)^.clr := $00000002
  52146. else
  52147. pTDefRegMap(@Self)^.&set := $00000002;
  52148. end;
  52149. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  52150. begin
  52151. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52152. end;
  52153. procedure TUSB_U1EIE.setEOFEE; inline;
  52154. begin
  52155. pTDefRegMap(@Self)^.&set := $00000002;
  52156. end;
  52157. procedure TUSB_U1EIE.clearEOFEE; inline;
  52158. begin
  52159. pTDefRegMap(@Self)^.clr := $00000002;
  52160. end;
  52161. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  52162. begin
  52163. if thebits = 0 then
  52164. pTDefRegMap(@Self)^.clr := $00000002
  52165. else
  52166. pTDefRegMap(@Self)^.&set := $00000002;
  52167. end;
  52168. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  52169. begin
  52170. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52171. end;
  52172. procedure TUSB_U1STAT.setPPBI; inline;
  52173. begin
  52174. pTDefRegMap(@Self)^.&set := $00000004;
  52175. end;
  52176. procedure TUSB_U1STAT.clearPPBI; inline;
  52177. begin
  52178. pTDefRegMap(@Self)^.clr := $00000004;
  52179. end;
  52180. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  52181. begin
  52182. if thebits = 0 then
  52183. pTDefRegMap(@Self)^.clr := $00000004
  52184. else
  52185. pTDefRegMap(@Self)^.&set := $00000004;
  52186. end;
  52187. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  52188. begin
  52189. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52190. end;
  52191. procedure TUSB_U1STAT.setDIR; inline;
  52192. begin
  52193. pTDefRegMap(@Self)^.&set := $00000008;
  52194. end;
  52195. procedure TUSB_U1STAT.clearDIR; inline;
  52196. begin
  52197. pTDefRegMap(@Self)^.clr := $00000008;
  52198. end;
  52199. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  52200. begin
  52201. if thebits = 0 then
  52202. pTDefRegMap(@Self)^.clr := $00000008
  52203. else
  52204. pTDefRegMap(@Self)^.&set := $00000008;
  52205. end;
  52206. function TUSB_U1STAT.getDIR : TBits_1; inline;
  52207. begin
  52208. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52209. end;
  52210. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  52211. begin
  52212. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  52213. end;
  52214. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  52215. begin
  52216. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  52217. end;
  52218. procedure TUSB_U1STAT.setENDPT0; inline;
  52219. begin
  52220. pTDefRegMap(@Self)^.&set := $00000010;
  52221. end;
  52222. procedure TUSB_U1STAT.clearENDPT0; inline;
  52223. begin
  52224. pTDefRegMap(@Self)^.clr := $00000010;
  52225. end;
  52226. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  52227. begin
  52228. if thebits = 0 then
  52229. pTDefRegMap(@Self)^.clr := $00000010
  52230. else
  52231. pTDefRegMap(@Self)^.&set := $00000010;
  52232. end;
  52233. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  52234. begin
  52235. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52236. end;
  52237. procedure TUSB_U1STAT.setENDPT1; inline;
  52238. begin
  52239. pTDefRegMap(@Self)^.&set := $00000020;
  52240. end;
  52241. procedure TUSB_U1STAT.clearENDPT1; inline;
  52242. begin
  52243. pTDefRegMap(@Self)^.clr := $00000020;
  52244. end;
  52245. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  52246. begin
  52247. if thebits = 0 then
  52248. pTDefRegMap(@Self)^.clr := $00000020
  52249. else
  52250. pTDefRegMap(@Self)^.&set := $00000020;
  52251. end;
  52252. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  52253. begin
  52254. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52255. end;
  52256. procedure TUSB_U1STAT.setENDPT2; inline;
  52257. begin
  52258. pTDefRegMap(@Self)^.&set := $00000040;
  52259. end;
  52260. procedure TUSB_U1STAT.clearENDPT2; inline;
  52261. begin
  52262. pTDefRegMap(@Self)^.clr := $00000040;
  52263. end;
  52264. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  52265. begin
  52266. if thebits = 0 then
  52267. pTDefRegMap(@Self)^.clr := $00000040
  52268. else
  52269. pTDefRegMap(@Self)^.&set := $00000040;
  52270. end;
  52271. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  52272. begin
  52273. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52274. end;
  52275. procedure TUSB_U1STAT.setENDPT3; inline;
  52276. begin
  52277. pTDefRegMap(@Self)^.&set := $00000080;
  52278. end;
  52279. procedure TUSB_U1STAT.clearENDPT3; inline;
  52280. begin
  52281. pTDefRegMap(@Self)^.clr := $00000080;
  52282. end;
  52283. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  52284. begin
  52285. if thebits = 0 then
  52286. pTDefRegMap(@Self)^.clr := $00000080
  52287. else
  52288. pTDefRegMap(@Self)^.&set := $00000080;
  52289. end;
  52290. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  52291. begin
  52292. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52293. end;
  52294. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  52295. begin
  52296. pTDefRegMap(@Self)^.&set := $00000001;
  52297. end;
  52298. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  52299. begin
  52300. pTDefRegMap(@Self)^.clr := $00000001;
  52301. end;
  52302. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  52303. begin
  52304. if thebits = 0 then
  52305. pTDefRegMap(@Self)^.clr := $00000001
  52306. else
  52307. pTDefRegMap(@Self)^.&set := $00000001;
  52308. end;
  52309. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  52310. begin
  52311. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52312. end;
  52313. procedure TUSB_U1CON.setPPBRST; inline;
  52314. begin
  52315. pTDefRegMap(@Self)^.&set := $00000002;
  52316. end;
  52317. procedure TUSB_U1CON.clearPPBRST; inline;
  52318. begin
  52319. pTDefRegMap(@Self)^.clr := $00000002;
  52320. end;
  52321. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  52322. begin
  52323. if thebits = 0 then
  52324. pTDefRegMap(@Self)^.clr := $00000002
  52325. else
  52326. pTDefRegMap(@Self)^.&set := $00000002;
  52327. end;
  52328. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  52329. begin
  52330. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52331. end;
  52332. procedure TUSB_U1CON.setRESUME; inline;
  52333. begin
  52334. pTDefRegMap(@Self)^.&set := $00000004;
  52335. end;
  52336. procedure TUSB_U1CON.clearRESUME; inline;
  52337. begin
  52338. pTDefRegMap(@Self)^.clr := $00000004;
  52339. end;
  52340. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  52341. begin
  52342. if thebits = 0 then
  52343. pTDefRegMap(@Self)^.clr := $00000004
  52344. else
  52345. pTDefRegMap(@Self)^.&set := $00000004;
  52346. end;
  52347. function TUSB_U1CON.getRESUME : TBits_1; inline;
  52348. begin
  52349. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52350. end;
  52351. procedure TUSB_U1CON.setHOSTEN; inline;
  52352. begin
  52353. pTDefRegMap(@Self)^.&set := $00000008;
  52354. end;
  52355. procedure TUSB_U1CON.clearHOSTEN; inline;
  52356. begin
  52357. pTDefRegMap(@Self)^.clr := $00000008;
  52358. end;
  52359. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  52360. begin
  52361. if thebits = 0 then
  52362. pTDefRegMap(@Self)^.clr := $00000008
  52363. else
  52364. pTDefRegMap(@Self)^.&set := $00000008;
  52365. end;
  52366. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  52367. begin
  52368. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52369. end;
  52370. procedure TUSB_U1CON.setUSBRST; inline;
  52371. begin
  52372. pTDefRegMap(@Self)^.&set := $00000010;
  52373. end;
  52374. procedure TUSB_U1CON.clearUSBRST; inline;
  52375. begin
  52376. pTDefRegMap(@Self)^.clr := $00000010;
  52377. end;
  52378. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  52379. begin
  52380. if thebits = 0 then
  52381. pTDefRegMap(@Self)^.clr := $00000010
  52382. else
  52383. pTDefRegMap(@Self)^.&set := $00000010;
  52384. end;
  52385. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  52386. begin
  52387. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52388. end;
  52389. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  52390. begin
  52391. pTDefRegMap(@Self)^.&set := $00000020;
  52392. end;
  52393. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  52394. begin
  52395. pTDefRegMap(@Self)^.clr := $00000020;
  52396. end;
  52397. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  52398. begin
  52399. if thebits = 0 then
  52400. pTDefRegMap(@Self)^.clr := $00000020
  52401. else
  52402. pTDefRegMap(@Self)^.&set := $00000020;
  52403. end;
  52404. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  52405. begin
  52406. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52407. end;
  52408. procedure TUSB_U1CON.setSE0; inline;
  52409. begin
  52410. pTDefRegMap(@Self)^.&set := $00000040;
  52411. end;
  52412. procedure TUSB_U1CON.clearSE0; inline;
  52413. begin
  52414. pTDefRegMap(@Self)^.clr := $00000040;
  52415. end;
  52416. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  52417. begin
  52418. if thebits = 0 then
  52419. pTDefRegMap(@Self)^.clr := $00000040
  52420. else
  52421. pTDefRegMap(@Self)^.&set := $00000040;
  52422. end;
  52423. function TUSB_U1CON.getSE0 : TBits_1; inline;
  52424. begin
  52425. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52426. end;
  52427. procedure TUSB_U1CON.setJSTATE; inline;
  52428. begin
  52429. pTDefRegMap(@Self)^.&set := $00000080;
  52430. end;
  52431. procedure TUSB_U1CON.clearJSTATE; inline;
  52432. begin
  52433. pTDefRegMap(@Self)^.clr := $00000080;
  52434. end;
  52435. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  52436. begin
  52437. if thebits = 0 then
  52438. pTDefRegMap(@Self)^.clr := $00000080
  52439. else
  52440. pTDefRegMap(@Self)^.&set := $00000080;
  52441. end;
  52442. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  52443. begin
  52444. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52445. end;
  52446. procedure TUSB_U1CON.setUSBEN; inline;
  52447. begin
  52448. pTDefRegMap(@Self)^.&set := $00000001;
  52449. end;
  52450. procedure TUSB_U1CON.clearUSBEN; inline;
  52451. begin
  52452. pTDefRegMap(@Self)^.clr := $00000001;
  52453. end;
  52454. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  52455. begin
  52456. if thebits = 0 then
  52457. pTDefRegMap(@Self)^.clr := $00000001
  52458. else
  52459. pTDefRegMap(@Self)^.&set := $00000001;
  52460. end;
  52461. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  52462. begin
  52463. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52464. end;
  52465. procedure TUSB_U1CON.setSOFEN; inline;
  52466. begin
  52467. pTDefRegMap(@Self)^.&set := $00000001;
  52468. end;
  52469. procedure TUSB_U1CON.clearSOFEN; inline;
  52470. begin
  52471. pTDefRegMap(@Self)^.clr := $00000001;
  52472. end;
  52473. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  52474. begin
  52475. if thebits = 0 then
  52476. pTDefRegMap(@Self)^.clr := $00000001
  52477. else
  52478. pTDefRegMap(@Self)^.&set := $00000001;
  52479. end;
  52480. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  52481. begin
  52482. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52483. end;
  52484. procedure TUSB_U1CON.setPKTDIS; inline;
  52485. begin
  52486. pTDefRegMap(@Self)^.&set := $00000020;
  52487. end;
  52488. procedure TUSB_U1CON.clearPKTDIS; inline;
  52489. begin
  52490. pTDefRegMap(@Self)^.clr := $00000020;
  52491. end;
  52492. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  52493. begin
  52494. if thebits = 0 then
  52495. pTDefRegMap(@Self)^.clr := $00000020
  52496. else
  52497. pTDefRegMap(@Self)^.&set := $00000020;
  52498. end;
  52499. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  52500. begin
  52501. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52502. end;
  52503. procedure TUSB_U1CON.setTOKBUSY; inline;
  52504. begin
  52505. pTDefRegMap(@Self)^.&set := $00000020;
  52506. end;
  52507. procedure TUSB_U1CON.clearTOKBUSY; inline;
  52508. begin
  52509. pTDefRegMap(@Self)^.clr := $00000020;
  52510. end;
  52511. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  52512. begin
  52513. if thebits = 0 then
  52514. pTDefRegMap(@Self)^.clr := $00000020
  52515. else
  52516. pTDefRegMap(@Self)^.&set := $00000020;
  52517. end;
  52518. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  52519. begin
  52520. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52521. end;
  52522. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  52523. begin
  52524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  52525. end;
  52526. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  52527. begin
  52528. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  52529. end;
  52530. procedure TUSB_U1ADDR.setLSPDEN; inline;
  52531. begin
  52532. pTDefRegMap(@Self)^.&set := $00000080;
  52533. end;
  52534. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  52535. begin
  52536. pTDefRegMap(@Self)^.clr := $00000080;
  52537. end;
  52538. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  52539. begin
  52540. if thebits = 0 then
  52541. pTDefRegMap(@Self)^.clr := $00000080
  52542. else
  52543. pTDefRegMap(@Self)^.&set := $00000080;
  52544. end;
  52545. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  52546. begin
  52547. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52548. end;
  52549. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  52550. begin
  52551. pTDefRegMap(@Self)^.&set := $00000001;
  52552. end;
  52553. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  52554. begin
  52555. pTDefRegMap(@Self)^.clr := $00000001;
  52556. end;
  52557. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  52558. begin
  52559. if thebits = 0 then
  52560. pTDefRegMap(@Self)^.clr := $00000001
  52561. else
  52562. pTDefRegMap(@Self)^.&set := $00000001;
  52563. end;
  52564. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  52565. begin
  52566. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52567. end;
  52568. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  52569. begin
  52570. pTDefRegMap(@Self)^.&set := $00000002;
  52571. end;
  52572. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  52573. begin
  52574. pTDefRegMap(@Self)^.clr := $00000002;
  52575. end;
  52576. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  52577. begin
  52578. if thebits = 0 then
  52579. pTDefRegMap(@Self)^.clr := $00000002
  52580. else
  52581. pTDefRegMap(@Self)^.&set := $00000002;
  52582. end;
  52583. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  52584. begin
  52585. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52586. end;
  52587. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  52588. begin
  52589. pTDefRegMap(@Self)^.&set := $00000004;
  52590. end;
  52591. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  52592. begin
  52593. pTDefRegMap(@Self)^.clr := $00000004;
  52594. end;
  52595. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  52596. begin
  52597. if thebits = 0 then
  52598. pTDefRegMap(@Self)^.clr := $00000004
  52599. else
  52600. pTDefRegMap(@Self)^.&set := $00000004;
  52601. end;
  52602. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  52603. begin
  52604. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52605. end;
  52606. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  52607. begin
  52608. pTDefRegMap(@Self)^.&set := $00000008;
  52609. end;
  52610. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  52611. begin
  52612. pTDefRegMap(@Self)^.clr := $00000008;
  52613. end;
  52614. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  52615. begin
  52616. if thebits = 0 then
  52617. pTDefRegMap(@Self)^.clr := $00000008
  52618. else
  52619. pTDefRegMap(@Self)^.&set := $00000008;
  52620. end;
  52621. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  52622. begin
  52623. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52624. end;
  52625. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  52626. begin
  52627. pTDefRegMap(@Self)^.&set := $00000010;
  52628. end;
  52629. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  52630. begin
  52631. pTDefRegMap(@Self)^.clr := $00000010;
  52632. end;
  52633. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  52634. begin
  52635. if thebits = 0 then
  52636. pTDefRegMap(@Self)^.clr := $00000010
  52637. else
  52638. pTDefRegMap(@Self)^.&set := $00000010;
  52639. end;
  52640. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  52641. begin
  52642. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52643. end;
  52644. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  52645. begin
  52646. pTDefRegMap(@Self)^.&set := $00000020;
  52647. end;
  52648. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  52649. begin
  52650. pTDefRegMap(@Self)^.clr := $00000020;
  52651. end;
  52652. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  52653. begin
  52654. if thebits = 0 then
  52655. pTDefRegMap(@Self)^.clr := $00000020
  52656. else
  52657. pTDefRegMap(@Self)^.&set := $00000020;
  52658. end;
  52659. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  52660. begin
  52661. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52662. end;
  52663. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  52664. begin
  52665. pTDefRegMap(@Self)^.&set := $00000040;
  52666. end;
  52667. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  52668. begin
  52669. pTDefRegMap(@Self)^.clr := $00000040;
  52670. end;
  52671. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  52672. begin
  52673. if thebits = 0 then
  52674. pTDefRegMap(@Self)^.clr := $00000040
  52675. else
  52676. pTDefRegMap(@Self)^.&set := $00000040;
  52677. end;
  52678. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  52679. begin
  52680. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52681. end;
  52682. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  52683. begin
  52684. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  52685. end;
  52686. function TUSB_U1FRML.getFRML : TBits_8; inline;
  52687. begin
  52688. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  52689. end;
  52690. procedure TUSB_U1FRML.setFRM0; inline;
  52691. begin
  52692. pTDefRegMap(@Self)^.&set := $00000001;
  52693. end;
  52694. procedure TUSB_U1FRML.clearFRM0; inline;
  52695. begin
  52696. pTDefRegMap(@Self)^.clr := $00000001;
  52697. end;
  52698. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  52699. begin
  52700. if thebits = 0 then
  52701. pTDefRegMap(@Self)^.clr := $00000001
  52702. else
  52703. pTDefRegMap(@Self)^.&set := $00000001;
  52704. end;
  52705. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  52706. begin
  52707. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52708. end;
  52709. procedure TUSB_U1FRML.setFRM1; inline;
  52710. begin
  52711. pTDefRegMap(@Self)^.&set := $00000002;
  52712. end;
  52713. procedure TUSB_U1FRML.clearFRM1; inline;
  52714. begin
  52715. pTDefRegMap(@Self)^.clr := $00000002;
  52716. end;
  52717. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  52718. begin
  52719. if thebits = 0 then
  52720. pTDefRegMap(@Self)^.clr := $00000002
  52721. else
  52722. pTDefRegMap(@Self)^.&set := $00000002;
  52723. end;
  52724. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  52725. begin
  52726. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52727. end;
  52728. procedure TUSB_U1FRML.setFRM2; inline;
  52729. begin
  52730. pTDefRegMap(@Self)^.&set := $00000004;
  52731. end;
  52732. procedure TUSB_U1FRML.clearFRM2; inline;
  52733. begin
  52734. pTDefRegMap(@Self)^.clr := $00000004;
  52735. end;
  52736. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  52737. begin
  52738. if thebits = 0 then
  52739. pTDefRegMap(@Self)^.clr := $00000004
  52740. else
  52741. pTDefRegMap(@Self)^.&set := $00000004;
  52742. end;
  52743. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  52744. begin
  52745. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52746. end;
  52747. procedure TUSB_U1FRML.setFRM3; inline;
  52748. begin
  52749. pTDefRegMap(@Self)^.&set := $00000008;
  52750. end;
  52751. procedure TUSB_U1FRML.clearFRM3; inline;
  52752. begin
  52753. pTDefRegMap(@Self)^.clr := $00000008;
  52754. end;
  52755. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  52756. begin
  52757. if thebits = 0 then
  52758. pTDefRegMap(@Self)^.clr := $00000008
  52759. else
  52760. pTDefRegMap(@Self)^.&set := $00000008;
  52761. end;
  52762. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  52763. begin
  52764. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52765. end;
  52766. procedure TUSB_U1FRML.setFRM4; inline;
  52767. begin
  52768. pTDefRegMap(@Self)^.&set := $00000010;
  52769. end;
  52770. procedure TUSB_U1FRML.clearFRM4; inline;
  52771. begin
  52772. pTDefRegMap(@Self)^.clr := $00000010;
  52773. end;
  52774. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  52775. begin
  52776. if thebits = 0 then
  52777. pTDefRegMap(@Self)^.clr := $00000010
  52778. else
  52779. pTDefRegMap(@Self)^.&set := $00000010;
  52780. end;
  52781. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  52782. begin
  52783. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52784. end;
  52785. procedure TUSB_U1FRML.setFRM5; inline;
  52786. begin
  52787. pTDefRegMap(@Self)^.&set := $00000020;
  52788. end;
  52789. procedure TUSB_U1FRML.clearFRM5; inline;
  52790. begin
  52791. pTDefRegMap(@Self)^.clr := $00000020;
  52792. end;
  52793. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  52794. begin
  52795. if thebits = 0 then
  52796. pTDefRegMap(@Self)^.clr := $00000020
  52797. else
  52798. pTDefRegMap(@Self)^.&set := $00000020;
  52799. end;
  52800. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  52801. begin
  52802. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52803. end;
  52804. procedure TUSB_U1FRML.setFRM6; inline;
  52805. begin
  52806. pTDefRegMap(@Self)^.&set := $00000040;
  52807. end;
  52808. procedure TUSB_U1FRML.clearFRM6; inline;
  52809. begin
  52810. pTDefRegMap(@Self)^.clr := $00000040;
  52811. end;
  52812. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  52813. begin
  52814. if thebits = 0 then
  52815. pTDefRegMap(@Self)^.clr := $00000040
  52816. else
  52817. pTDefRegMap(@Self)^.&set := $00000040;
  52818. end;
  52819. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  52820. begin
  52821. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52822. end;
  52823. procedure TUSB_U1FRML.setFRM7; inline;
  52824. begin
  52825. pTDefRegMap(@Self)^.&set := $00000080;
  52826. end;
  52827. procedure TUSB_U1FRML.clearFRM7; inline;
  52828. begin
  52829. pTDefRegMap(@Self)^.clr := $00000080;
  52830. end;
  52831. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  52832. begin
  52833. if thebits = 0 then
  52834. pTDefRegMap(@Self)^.clr := $00000080
  52835. else
  52836. pTDefRegMap(@Self)^.&set := $00000080;
  52837. end;
  52838. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  52839. begin
  52840. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52841. end;
  52842. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  52843. begin
  52844. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  52845. end;
  52846. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  52847. begin
  52848. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  52849. end;
  52850. procedure TUSB_U1FRMH.setFRM8; inline;
  52851. begin
  52852. pTDefRegMap(@Self)^.&set := $00000001;
  52853. end;
  52854. procedure TUSB_U1FRMH.clearFRM8; inline;
  52855. begin
  52856. pTDefRegMap(@Self)^.clr := $00000001;
  52857. end;
  52858. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  52859. begin
  52860. if thebits = 0 then
  52861. pTDefRegMap(@Self)^.clr := $00000001
  52862. else
  52863. pTDefRegMap(@Self)^.&set := $00000001;
  52864. end;
  52865. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  52866. begin
  52867. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52868. end;
  52869. procedure TUSB_U1FRMH.setFRM9; inline;
  52870. begin
  52871. pTDefRegMap(@Self)^.&set := $00000002;
  52872. end;
  52873. procedure TUSB_U1FRMH.clearFRM9; inline;
  52874. begin
  52875. pTDefRegMap(@Self)^.clr := $00000002;
  52876. end;
  52877. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  52878. begin
  52879. if thebits = 0 then
  52880. pTDefRegMap(@Self)^.clr := $00000002
  52881. else
  52882. pTDefRegMap(@Self)^.&set := $00000002;
  52883. end;
  52884. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  52885. begin
  52886. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52887. end;
  52888. procedure TUSB_U1FRMH.setFRM10; inline;
  52889. begin
  52890. pTDefRegMap(@Self)^.&set := $00000004;
  52891. end;
  52892. procedure TUSB_U1FRMH.clearFRM10; inline;
  52893. begin
  52894. pTDefRegMap(@Self)^.clr := $00000004;
  52895. end;
  52896. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  52897. begin
  52898. if thebits = 0 then
  52899. pTDefRegMap(@Self)^.clr := $00000004
  52900. else
  52901. pTDefRegMap(@Self)^.&set := $00000004;
  52902. end;
  52903. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  52904. begin
  52905. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52906. end;
  52907. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  52908. begin
  52909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  52910. end;
  52911. function TUSB_U1TOK.getEP : TBits_4; inline;
  52912. begin
  52913. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  52914. end;
  52915. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  52916. begin
  52917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  52918. end;
  52919. function TUSB_U1TOK.getPID : TBits_4; inline;
  52920. begin
  52921. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  52922. end;
  52923. procedure TUSB_U1TOK.setEP0; inline;
  52924. begin
  52925. pTDefRegMap(@Self)^.&set := $00000001;
  52926. end;
  52927. procedure TUSB_U1TOK.clearEP0; inline;
  52928. begin
  52929. pTDefRegMap(@Self)^.clr := $00000001;
  52930. end;
  52931. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  52932. begin
  52933. if thebits = 0 then
  52934. pTDefRegMap(@Self)^.clr := $00000001
  52935. else
  52936. pTDefRegMap(@Self)^.&set := $00000001;
  52937. end;
  52938. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  52939. begin
  52940. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52941. end;
  52942. procedure TUSB_U1TOK.setEP1; inline;
  52943. begin
  52944. pTDefRegMap(@Self)^.&set := $00000002;
  52945. end;
  52946. procedure TUSB_U1TOK.clearEP1; inline;
  52947. begin
  52948. pTDefRegMap(@Self)^.clr := $00000002;
  52949. end;
  52950. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  52951. begin
  52952. if thebits = 0 then
  52953. pTDefRegMap(@Self)^.clr := $00000002
  52954. else
  52955. pTDefRegMap(@Self)^.&set := $00000002;
  52956. end;
  52957. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  52958. begin
  52959. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52960. end;
  52961. procedure TUSB_U1TOK.setEP2; inline;
  52962. begin
  52963. pTDefRegMap(@Self)^.&set := $00000004;
  52964. end;
  52965. procedure TUSB_U1TOK.clearEP2; inline;
  52966. begin
  52967. pTDefRegMap(@Self)^.clr := $00000004;
  52968. end;
  52969. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  52970. begin
  52971. if thebits = 0 then
  52972. pTDefRegMap(@Self)^.clr := $00000004
  52973. else
  52974. pTDefRegMap(@Self)^.&set := $00000004;
  52975. end;
  52976. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  52977. begin
  52978. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52979. end;
  52980. procedure TUSB_U1TOK.setEP3; inline;
  52981. begin
  52982. pTDefRegMap(@Self)^.&set := $00000008;
  52983. end;
  52984. procedure TUSB_U1TOK.clearEP3; inline;
  52985. begin
  52986. pTDefRegMap(@Self)^.clr := $00000008;
  52987. end;
  52988. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  52989. begin
  52990. if thebits = 0 then
  52991. pTDefRegMap(@Self)^.clr := $00000008
  52992. else
  52993. pTDefRegMap(@Self)^.&set := $00000008;
  52994. end;
  52995. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  52996. begin
  52997. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52998. end;
  52999. procedure TUSB_U1TOK.setPID0; inline;
  53000. begin
  53001. pTDefRegMap(@Self)^.&set := $00000010;
  53002. end;
  53003. procedure TUSB_U1TOK.clearPID0; inline;
  53004. begin
  53005. pTDefRegMap(@Self)^.clr := $00000010;
  53006. end;
  53007. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  53008. begin
  53009. if thebits = 0 then
  53010. pTDefRegMap(@Self)^.clr := $00000010
  53011. else
  53012. pTDefRegMap(@Self)^.&set := $00000010;
  53013. end;
  53014. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  53015. begin
  53016. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53017. end;
  53018. procedure TUSB_U1TOK.setPID1; inline;
  53019. begin
  53020. pTDefRegMap(@Self)^.&set := $00000020;
  53021. end;
  53022. procedure TUSB_U1TOK.clearPID1; inline;
  53023. begin
  53024. pTDefRegMap(@Self)^.clr := $00000020;
  53025. end;
  53026. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  53027. begin
  53028. if thebits = 0 then
  53029. pTDefRegMap(@Self)^.clr := $00000020
  53030. else
  53031. pTDefRegMap(@Self)^.&set := $00000020;
  53032. end;
  53033. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  53034. begin
  53035. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53036. end;
  53037. procedure TUSB_U1TOK.setPID2; inline;
  53038. begin
  53039. pTDefRegMap(@Self)^.&set := $00000040;
  53040. end;
  53041. procedure TUSB_U1TOK.clearPID2; inline;
  53042. begin
  53043. pTDefRegMap(@Self)^.clr := $00000040;
  53044. end;
  53045. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  53046. begin
  53047. if thebits = 0 then
  53048. pTDefRegMap(@Self)^.clr := $00000040
  53049. else
  53050. pTDefRegMap(@Self)^.&set := $00000040;
  53051. end;
  53052. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  53053. begin
  53054. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53055. end;
  53056. procedure TUSB_U1TOK.setPID3; inline;
  53057. begin
  53058. pTDefRegMap(@Self)^.&set := $00000080;
  53059. end;
  53060. procedure TUSB_U1TOK.clearPID3; inline;
  53061. begin
  53062. pTDefRegMap(@Self)^.clr := $00000080;
  53063. end;
  53064. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  53065. begin
  53066. if thebits = 0 then
  53067. pTDefRegMap(@Self)^.clr := $00000080
  53068. else
  53069. pTDefRegMap(@Self)^.&set := $00000080;
  53070. end;
  53071. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  53072. begin
  53073. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53074. end;
  53075. procedure TPORTB_TRISB.setTRISB0; inline;
  53076. begin
  53077. pTDefRegMap(@Self)^.&set := $00000001;
  53078. end;
  53079. procedure TPORTB_TRISB.clearTRISB0; inline;
  53080. begin
  53081. pTDefRegMap(@Self)^.clr := $00000001;
  53082. end;
  53083. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  53084. begin
  53085. if thebits = 0 then
  53086. pTDefRegMap(@Self)^.clr := $00000001
  53087. else
  53088. pTDefRegMap(@Self)^.&set := $00000001;
  53089. end;
  53090. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  53091. begin
  53092. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53093. end;
  53094. procedure TPORTB_TRISB.setTRISB1; inline;
  53095. begin
  53096. pTDefRegMap(@Self)^.&set := $00000002;
  53097. end;
  53098. procedure TPORTB_TRISB.clearTRISB1; inline;
  53099. begin
  53100. pTDefRegMap(@Self)^.clr := $00000002;
  53101. end;
  53102. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  53103. begin
  53104. if thebits = 0 then
  53105. pTDefRegMap(@Self)^.clr := $00000002
  53106. else
  53107. pTDefRegMap(@Self)^.&set := $00000002;
  53108. end;
  53109. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  53110. begin
  53111. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53112. end;
  53113. procedure TPORTB_TRISB.setTRISB2; inline;
  53114. begin
  53115. pTDefRegMap(@Self)^.&set := $00000004;
  53116. end;
  53117. procedure TPORTB_TRISB.clearTRISB2; inline;
  53118. begin
  53119. pTDefRegMap(@Self)^.clr := $00000004;
  53120. end;
  53121. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  53122. begin
  53123. if thebits = 0 then
  53124. pTDefRegMap(@Self)^.clr := $00000004
  53125. else
  53126. pTDefRegMap(@Self)^.&set := $00000004;
  53127. end;
  53128. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  53129. begin
  53130. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53131. end;
  53132. procedure TPORTB_TRISB.setTRISB3; inline;
  53133. begin
  53134. pTDefRegMap(@Self)^.&set := $00000008;
  53135. end;
  53136. procedure TPORTB_TRISB.clearTRISB3; inline;
  53137. begin
  53138. pTDefRegMap(@Self)^.clr := $00000008;
  53139. end;
  53140. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  53141. begin
  53142. if thebits = 0 then
  53143. pTDefRegMap(@Self)^.clr := $00000008
  53144. else
  53145. pTDefRegMap(@Self)^.&set := $00000008;
  53146. end;
  53147. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  53148. begin
  53149. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53150. end;
  53151. procedure TPORTB_TRISB.setTRISB4; inline;
  53152. begin
  53153. pTDefRegMap(@Self)^.&set := $00000010;
  53154. end;
  53155. procedure TPORTB_TRISB.clearTRISB4; inline;
  53156. begin
  53157. pTDefRegMap(@Self)^.clr := $00000010;
  53158. end;
  53159. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  53160. begin
  53161. if thebits = 0 then
  53162. pTDefRegMap(@Self)^.clr := $00000010
  53163. else
  53164. pTDefRegMap(@Self)^.&set := $00000010;
  53165. end;
  53166. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  53167. begin
  53168. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53169. end;
  53170. procedure TPORTB_TRISB.setTRISB5; inline;
  53171. begin
  53172. pTDefRegMap(@Self)^.&set := $00000020;
  53173. end;
  53174. procedure TPORTB_TRISB.clearTRISB5; inline;
  53175. begin
  53176. pTDefRegMap(@Self)^.clr := $00000020;
  53177. end;
  53178. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  53179. begin
  53180. if thebits = 0 then
  53181. pTDefRegMap(@Self)^.clr := $00000020
  53182. else
  53183. pTDefRegMap(@Self)^.&set := $00000020;
  53184. end;
  53185. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  53186. begin
  53187. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53188. end;
  53189. procedure TPORTB_TRISB.setTRISB6; inline;
  53190. begin
  53191. pTDefRegMap(@Self)^.&set := $00000040;
  53192. end;
  53193. procedure TPORTB_TRISB.clearTRISB6; inline;
  53194. begin
  53195. pTDefRegMap(@Self)^.clr := $00000040;
  53196. end;
  53197. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  53198. begin
  53199. if thebits = 0 then
  53200. pTDefRegMap(@Self)^.clr := $00000040
  53201. else
  53202. pTDefRegMap(@Self)^.&set := $00000040;
  53203. end;
  53204. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  53205. begin
  53206. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53207. end;
  53208. procedure TPORTB_TRISB.setTRISB7; inline;
  53209. begin
  53210. pTDefRegMap(@Self)^.&set := $00000080;
  53211. end;
  53212. procedure TPORTB_TRISB.clearTRISB7; inline;
  53213. begin
  53214. pTDefRegMap(@Self)^.clr := $00000080;
  53215. end;
  53216. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  53217. begin
  53218. if thebits = 0 then
  53219. pTDefRegMap(@Self)^.clr := $00000080
  53220. else
  53221. pTDefRegMap(@Self)^.&set := $00000080;
  53222. end;
  53223. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  53224. begin
  53225. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53226. end;
  53227. procedure TPORTB_TRISB.setTRISB8; inline;
  53228. begin
  53229. pTDefRegMap(@Self)^.&set := $00000100;
  53230. end;
  53231. procedure TPORTB_TRISB.clearTRISB8; inline;
  53232. begin
  53233. pTDefRegMap(@Self)^.clr := $00000100;
  53234. end;
  53235. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  53236. begin
  53237. if thebits = 0 then
  53238. pTDefRegMap(@Self)^.clr := $00000100
  53239. else
  53240. pTDefRegMap(@Self)^.&set := $00000100;
  53241. end;
  53242. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  53243. begin
  53244. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53245. end;
  53246. procedure TPORTB_TRISB.setTRISB9; inline;
  53247. begin
  53248. pTDefRegMap(@Self)^.&set := $00000200;
  53249. end;
  53250. procedure TPORTB_TRISB.clearTRISB9; inline;
  53251. begin
  53252. pTDefRegMap(@Self)^.clr := $00000200;
  53253. end;
  53254. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  53255. begin
  53256. if thebits = 0 then
  53257. pTDefRegMap(@Self)^.clr := $00000200
  53258. else
  53259. pTDefRegMap(@Self)^.&set := $00000200;
  53260. end;
  53261. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  53262. begin
  53263. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53264. end;
  53265. procedure TPORTB_TRISB.setTRISB10; inline;
  53266. begin
  53267. pTDefRegMap(@Self)^.&set := $00000400;
  53268. end;
  53269. procedure TPORTB_TRISB.clearTRISB10; inline;
  53270. begin
  53271. pTDefRegMap(@Self)^.clr := $00000400;
  53272. end;
  53273. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  53274. begin
  53275. if thebits = 0 then
  53276. pTDefRegMap(@Self)^.clr := $00000400
  53277. else
  53278. pTDefRegMap(@Self)^.&set := $00000400;
  53279. end;
  53280. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  53281. begin
  53282. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53283. end;
  53284. procedure TPORTB_TRISB.setTRISB11; inline;
  53285. begin
  53286. pTDefRegMap(@Self)^.&set := $00000800;
  53287. end;
  53288. procedure TPORTB_TRISB.clearTRISB11; inline;
  53289. begin
  53290. pTDefRegMap(@Self)^.clr := $00000800;
  53291. end;
  53292. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  53293. begin
  53294. if thebits = 0 then
  53295. pTDefRegMap(@Self)^.clr := $00000800
  53296. else
  53297. pTDefRegMap(@Self)^.&set := $00000800;
  53298. end;
  53299. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  53300. begin
  53301. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53302. end;
  53303. procedure TPORTB_TRISB.setTRISB12; inline;
  53304. begin
  53305. pTDefRegMap(@Self)^.&set := $00001000;
  53306. end;
  53307. procedure TPORTB_TRISB.clearTRISB12; inline;
  53308. begin
  53309. pTDefRegMap(@Self)^.clr := $00001000;
  53310. end;
  53311. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  53312. begin
  53313. if thebits = 0 then
  53314. pTDefRegMap(@Self)^.clr := $00001000
  53315. else
  53316. pTDefRegMap(@Self)^.&set := $00001000;
  53317. end;
  53318. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  53319. begin
  53320. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53321. end;
  53322. procedure TPORTB_TRISB.setTRISB13; inline;
  53323. begin
  53324. pTDefRegMap(@Self)^.&set := $00002000;
  53325. end;
  53326. procedure TPORTB_TRISB.clearTRISB13; inline;
  53327. begin
  53328. pTDefRegMap(@Self)^.clr := $00002000;
  53329. end;
  53330. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  53331. begin
  53332. if thebits = 0 then
  53333. pTDefRegMap(@Self)^.clr := $00002000
  53334. else
  53335. pTDefRegMap(@Self)^.&set := $00002000;
  53336. end;
  53337. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  53338. begin
  53339. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53340. end;
  53341. procedure TPORTB_TRISB.setTRISB14; inline;
  53342. begin
  53343. pTDefRegMap(@Self)^.&set := $00004000;
  53344. end;
  53345. procedure TPORTB_TRISB.clearTRISB14; inline;
  53346. begin
  53347. pTDefRegMap(@Self)^.clr := $00004000;
  53348. end;
  53349. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  53350. begin
  53351. if thebits = 0 then
  53352. pTDefRegMap(@Self)^.clr := $00004000
  53353. else
  53354. pTDefRegMap(@Self)^.&set := $00004000;
  53355. end;
  53356. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  53357. begin
  53358. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53359. end;
  53360. procedure TPORTB_TRISB.setTRISB15; inline;
  53361. begin
  53362. pTDefRegMap(@Self)^.&set := $00008000;
  53363. end;
  53364. procedure TPORTB_TRISB.clearTRISB15; inline;
  53365. begin
  53366. pTDefRegMap(@Self)^.clr := $00008000;
  53367. end;
  53368. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  53369. begin
  53370. if thebits = 0 then
  53371. pTDefRegMap(@Self)^.clr := $00008000
  53372. else
  53373. pTDefRegMap(@Self)^.&set := $00008000;
  53374. end;
  53375. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  53376. begin
  53377. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53378. end;
  53379. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  53380. begin
  53381. pTDefRegMap(@Self)^.val := thebits;
  53382. end;
  53383. function TPORTB_TRISB.getw : TBits_32; inline;
  53384. begin
  53385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53386. end;
  53387. procedure TPORTB_PORTB.setRB0; inline;
  53388. begin
  53389. pTDefRegMap(@Self)^.&set := $00000001;
  53390. end;
  53391. procedure TPORTB_PORTB.clearRB0; inline;
  53392. begin
  53393. pTDefRegMap(@Self)^.clr := $00000001;
  53394. end;
  53395. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  53396. begin
  53397. if thebits = 0 then
  53398. pTDefRegMap(@Self)^.clr := $00000001
  53399. else
  53400. pTDefRegMap(@Self)^.&set := $00000001;
  53401. end;
  53402. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  53403. begin
  53404. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53405. end;
  53406. procedure TPORTB_PORTB.setRB1; inline;
  53407. begin
  53408. pTDefRegMap(@Self)^.&set := $00000002;
  53409. end;
  53410. procedure TPORTB_PORTB.clearRB1; inline;
  53411. begin
  53412. pTDefRegMap(@Self)^.clr := $00000002;
  53413. end;
  53414. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  53415. begin
  53416. if thebits = 0 then
  53417. pTDefRegMap(@Self)^.clr := $00000002
  53418. else
  53419. pTDefRegMap(@Self)^.&set := $00000002;
  53420. end;
  53421. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  53422. begin
  53423. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53424. end;
  53425. procedure TPORTB_PORTB.setRB2; inline;
  53426. begin
  53427. pTDefRegMap(@Self)^.&set := $00000004;
  53428. end;
  53429. procedure TPORTB_PORTB.clearRB2; inline;
  53430. begin
  53431. pTDefRegMap(@Self)^.clr := $00000004;
  53432. end;
  53433. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  53434. begin
  53435. if thebits = 0 then
  53436. pTDefRegMap(@Self)^.clr := $00000004
  53437. else
  53438. pTDefRegMap(@Self)^.&set := $00000004;
  53439. end;
  53440. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  53441. begin
  53442. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53443. end;
  53444. procedure TPORTB_PORTB.setRB3; inline;
  53445. begin
  53446. pTDefRegMap(@Self)^.&set := $00000008;
  53447. end;
  53448. procedure TPORTB_PORTB.clearRB3; inline;
  53449. begin
  53450. pTDefRegMap(@Self)^.clr := $00000008;
  53451. end;
  53452. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  53453. begin
  53454. if thebits = 0 then
  53455. pTDefRegMap(@Self)^.clr := $00000008
  53456. else
  53457. pTDefRegMap(@Self)^.&set := $00000008;
  53458. end;
  53459. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  53460. begin
  53461. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53462. end;
  53463. procedure TPORTB_PORTB.setRB4; inline;
  53464. begin
  53465. pTDefRegMap(@Self)^.&set := $00000010;
  53466. end;
  53467. procedure TPORTB_PORTB.clearRB4; inline;
  53468. begin
  53469. pTDefRegMap(@Self)^.clr := $00000010;
  53470. end;
  53471. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  53472. begin
  53473. if thebits = 0 then
  53474. pTDefRegMap(@Self)^.clr := $00000010
  53475. else
  53476. pTDefRegMap(@Self)^.&set := $00000010;
  53477. end;
  53478. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  53479. begin
  53480. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53481. end;
  53482. procedure TPORTB_PORTB.setRB5; inline;
  53483. begin
  53484. pTDefRegMap(@Self)^.&set := $00000020;
  53485. end;
  53486. procedure TPORTB_PORTB.clearRB5; inline;
  53487. begin
  53488. pTDefRegMap(@Self)^.clr := $00000020;
  53489. end;
  53490. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  53491. begin
  53492. if thebits = 0 then
  53493. pTDefRegMap(@Self)^.clr := $00000020
  53494. else
  53495. pTDefRegMap(@Self)^.&set := $00000020;
  53496. end;
  53497. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  53498. begin
  53499. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53500. end;
  53501. procedure TPORTB_PORTB.setRB6; inline;
  53502. begin
  53503. pTDefRegMap(@Self)^.&set := $00000040;
  53504. end;
  53505. procedure TPORTB_PORTB.clearRB6; inline;
  53506. begin
  53507. pTDefRegMap(@Self)^.clr := $00000040;
  53508. end;
  53509. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  53510. begin
  53511. if thebits = 0 then
  53512. pTDefRegMap(@Self)^.clr := $00000040
  53513. else
  53514. pTDefRegMap(@Self)^.&set := $00000040;
  53515. end;
  53516. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  53517. begin
  53518. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53519. end;
  53520. procedure TPORTB_PORTB.setRB7; inline;
  53521. begin
  53522. pTDefRegMap(@Self)^.&set := $00000080;
  53523. end;
  53524. procedure TPORTB_PORTB.clearRB7; inline;
  53525. begin
  53526. pTDefRegMap(@Self)^.clr := $00000080;
  53527. end;
  53528. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  53529. begin
  53530. if thebits = 0 then
  53531. pTDefRegMap(@Self)^.clr := $00000080
  53532. else
  53533. pTDefRegMap(@Self)^.&set := $00000080;
  53534. end;
  53535. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  53536. begin
  53537. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53538. end;
  53539. procedure TPORTB_PORTB.setRB8; inline;
  53540. begin
  53541. pTDefRegMap(@Self)^.&set := $00000100;
  53542. end;
  53543. procedure TPORTB_PORTB.clearRB8; inline;
  53544. begin
  53545. pTDefRegMap(@Self)^.clr := $00000100;
  53546. end;
  53547. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  53548. begin
  53549. if thebits = 0 then
  53550. pTDefRegMap(@Self)^.clr := $00000100
  53551. else
  53552. pTDefRegMap(@Self)^.&set := $00000100;
  53553. end;
  53554. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  53555. begin
  53556. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53557. end;
  53558. procedure TPORTB_PORTB.setRB9; inline;
  53559. begin
  53560. pTDefRegMap(@Self)^.&set := $00000200;
  53561. end;
  53562. procedure TPORTB_PORTB.clearRB9; inline;
  53563. begin
  53564. pTDefRegMap(@Self)^.clr := $00000200;
  53565. end;
  53566. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  53567. begin
  53568. if thebits = 0 then
  53569. pTDefRegMap(@Self)^.clr := $00000200
  53570. else
  53571. pTDefRegMap(@Self)^.&set := $00000200;
  53572. end;
  53573. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  53574. begin
  53575. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53576. end;
  53577. procedure TPORTB_PORTB.setRB10; inline;
  53578. begin
  53579. pTDefRegMap(@Self)^.&set := $00000400;
  53580. end;
  53581. procedure TPORTB_PORTB.clearRB10; inline;
  53582. begin
  53583. pTDefRegMap(@Self)^.clr := $00000400;
  53584. end;
  53585. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  53586. begin
  53587. if thebits = 0 then
  53588. pTDefRegMap(@Self)^.clr := $00000400
  53589. else
  53590. pTDefRegMap(@Self)^.&set := $00000400;
  53591. end;
  53592. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  53593. begin
  53594. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53595. end;
  53596. procedure TPORTB_PORTB.setRB11; inline;
  53597. begin
  53598. pTDefRegMap(@Self)^.&set := $00000800;
  53599. end;
  53600. procedure TPORTB_PORTB.clearRB11; inline;
  53601. begin
  53602. pTDefRegMap(@Self)^.clr := $00000800;
  53603. end;
  53604. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  53605. begin
  53606. if thebits = 0 then
  53607. pTDefRegMap(@Self)^.clr := $00000800
  53608. else
  53609. pTDefRegMap(@Self)^.&set := $00000800;
  53610. end;
  53611. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  53612. begin
  53613. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53614. end;
  53615. procedure TPORTB_PORTB.setRB12; inline;
  53616. begin
  53617. pTDefRegMap(@Self)^.&set := $00001000;
  53618. end;
  53619. procedure TPORTB_PORTB.clearRB12; inline;
  53620. begin
  53621. pTDefRegMap(@Self)^.clr := $00001000;
  53622. end;
  53623. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  53624. begin
  53625. if thebits = 0 then
  53626. pTDefRegMap(@Self)^.clr := $00001000
  53627. else
  53628. pTDefRegMap(@Self)^.&set := $00001000;
  53629. end;
  53630. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  53631. begin
  53632. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53633. end;
  53634. procedure TPORTB_PORTB.setRB13; inline;
  53635. begin
  53636. pTDefRegMap(@Self)^.&set := $00002000;
  53637. end;
  53638. procedure TPORTB_PORTB.clearRB13; inline;
  53639. begin
  53640. pTDefRegMap(@Self)^.clr := $00002000;
  53641. end;
  53642. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  53643. begin
  53644. if thebits = 0 then
  53645. pTDefRegMap(@Self)^.clr := $00002000
  53646. else
  53647. pTDefRegMap(@Self)^.&set := $00002000;
  53648. end;
  53649. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  53650. begin
  53651. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53652. end;
  53653. procedure TPORTB_PORTB.setRB14; inline;
  53654. begin
  53655. pTDefRegMap(@Self)^.&set := $00004000;
  53656. end;
  53657. procedure TPORTB_PORTB.clearRB14; inline;
  53658. begin
  53659. pTDefRegMap(@Self)^.clr := $00004000;
  53660. end;
  53661. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  53662. begin
  53663. if thebits = 0 then
  53664. pTDefRegMap(@Self)^.clr := $00004000
  53665. else
  53666. pTDefRegMap(@Self)^.&set := $00004000;
  53667. end;
  53668. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  53669. begin
  53670. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53671. end;
  53672. procedure TPORTB_PORTB.setRB15; inline;
  53673. begin
  53674. pTDefRegMap(@Self)^.&set := $00008000;
  53675. end;
  53676. procedure TPORTB_PORTB.clearRB15; inline;
  53677. begin
  53678. pTDefRegMap(@Self)^.clr := $00008000;
  53679. end;
  53680. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  53681. begin
  53682. if thebits = 0 then
  53683. pTDefRegMap(@Self)^.clr := $00008000
  53684. else
  53685. pTDefRegMap(@Self)^.&set := $00008000;
  53686. end;
  53687. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  53688. begin
  53689. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53690. end;
  53691. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  53692. begin
  53693. pTDefRegMap(@Self)^.val := thebits;
  53694. end;
  53695. function TPORTB_PORTB.getw : TBits_32; inline;
  53696. begin
  53697. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53698. end;
  53699. procedure TPORTB_LATB.setLATB0; inline;
  53700. begin
  53701. pTDefRegMap(@Self)^.&set := $00000001;
  53702. end;
  53703. procedure TPORTB_LATB.clearLATB0; inline;
  53704. begin
  53705. pTDefRegMap(@Self)^.clr := $00000001;
  53706. end;
  53707. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  53708. begin
  53709. if thebits = 0 then
  53710. pTDefRegMap(@Self)^.clr := $00000001
  53711. else
  53712. pTDefRegMap(@Self)^.&set := $00000001;
  53713. end;
  53714. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  53715. begin
  53716. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53717. end;
  53718. procedure TPORTB_LATB.setLATB1; inline;
  53719. begin
  53720. pTDefRegMap(@Self)^.&set := $00000002;
  53721. end;
  53722. procedure TPORTB_LATB.clearLATB1; inline;
  53723. begin
  53724. pTDefRegMap(@Self)^.clr := $00000002;
  53725. end;
  53726. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  53727. begin
  53728. if thebits = 0 then
  53729. pTDefRegMap(@Self)^.clr := $00000002
  53730. else
  53731. pTDefRegMap(@Self)^.&set := $00000002;
  53732. end;
  53733. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  53734. begin
  53735. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53736. end;
  53737. procedure TPORTB_LATB.setLATB2; inline;
  53738. begin
  53739. pTDefRegMap(@Self)^.&set := $00000004;
  53740. end;
  53741. procedure TPORTB_LATB.clearLATB2; inline;
  53742. begin
  53743. pTDefRegMap(@Self)^.clr := $00000004;
  53744. end;
  53745. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  53746. begin
  53747. if thebits = 0 then
  53748. pTDefRegMap(@Self)^.clr := $00000004
  53749. else
  53750. pTDefRegMap(@Self)^.&set := $00000004;
  53751. end;
  53752. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  53753. begin
  53754. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53755. end;
  53756. procedure TPORTB_LATB.setLATB3; inline;
  53757. begin
  53758. pTDefRegMap(@Self)^.&set := $00000008;
  53759. end;
  53760. procedure TPORTB_LATB.clearLATB3; inline;
  53761. begin
  53762. pTDefRegMap(@Self)^.clr := $00000008;
  53763. end;
  53764. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  53765. begin
  53766. if thebits = 0 then
  53767. pTDefRegMap(@Self)^.clr := $00000008
  53768. else
  53769. pTDefRegMap(@Self)^.&set := $00000008;
  53770. end;
  53771. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  53772. begin
  53773. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53774. end;
  53775. procedure TPORTB_LATB.setLATB4; inline;
  53776. begin
  53777. pTDefRegMap(@Self)^.&set := $00000010;
  53778. end;
  53779. procedure TPORTB_LATB.clearLATB4; inline;
  53780. begin
  53781. pTDefRegMap(@Self)^.clr := $00000010;
  53782. end;
  53783. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  53784. begin
  53785. if thebits = 0 then
  53786. pTDefRegMap(@Self)^.clr := $00000010
  53787. else
  53788. pTDefRegMap(@Self)^.&set := $00000010;
  53789. end;
  53790. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  53791. begin
  53792. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53793. end;
  53794. procedure TPORTB_LATB.setLATB5; inline;
  53795. begin
  53796. pTDefRegMap(@Self)^.&set := $00000020;
  53797. end;
  53798. procedure TPORTB_LATB.clearLATB5; inline;
  53799. begin
  53800. pTDefRegMap(@Self)^.clr := $00000020;
  53801. end;
  53802. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  53803. begin
  53804. if thebits = 0 then
  53805. pTDefRegMap(@Self)^.clr := $00000020
  53806. else
  53807. pTDefRegMap(@Self)^.&set := $00000020;
  53808. end;
  53809. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  53810. begin
  53811. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53812. end;
  53813. procedure TPORTB_LATB.setLATB6; inline;
  53814. begin
  53815. pTDefRegMap(@Self)^.&set := $00000040;
  53816. end;
  53817. procedure TPORTB_LATB.clearLATB6; inline;
  53818. begin
  53819. pTDefRegMap(@Self)^.clr := $00000040;
  53820. end;
  53821. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  53822. begin
  53823. if thebits = 0 then
  53824. pTDefRegMap(@Self)^.clr := $00000040
  53825. else
  53826. pTDefRegMap(@Self)^.&set := $00000040;
  53827. end;
  53828. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  53829. begin
  53830. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53831. end;
  53832. procedure TPORTB_LATB.setLATB7; inline;
  53833. begin
  53834. pTDefRegMap(@Self)^.&set := $00000080;
  53835. end;
  53836. procedure TPORTB_LATB.clearLATB7; inline;
  53837. begin
  53838. pTDefRegMap(@Self)^.clr := $00000080;
  53839. end;
  53840. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  53841. begin
  53842. if thebits = 0 then
  53843. pTDefRegMap(@Self)^.clr := $00000080
  53844. else
  53845. pTDefRegMap(@Self)^.&set := $00000080;
  53846. end;
  53847. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  53848. begin
  53849. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53850. end;
  53851. procedure TPORTB_LATB.setLATB8; inline;
  53852. begin
  53853. pTDefRegMap(@Self)^.&set := $00000100;
  53854. end;
  53855. procedure TPORTB_LATB.clearLATB8; inline;
  53856. begin
  53857. pTDefRegMap(@Self)^.clr := $00000100;
  53858. end;
  53859. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  53860. begin
  53861. if thebits = 0 then
  53862. pTDefRegMap(@Self)^.clr := $00000100
  53863. else
  53864. pTDefRegMap(@Self)^.&set := $00000100;
  53865. end;
  53866. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  53867. begin
  53868. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53869. end;
  53870. procedure TPORTB_LATB.setLATB9; inline;
  53871. begin
  53872. pTDefRegMap(@Self)^.&set := $00000200;
  53873. end;
  53874. procedure TPORTB_LATB.clearLATB9; inline;
  53875. begin
  53876. pTDefRegMap(@Self)^.clr := $00000200;
  53877. end;
  53878. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  53879. begin
  53880. if thebits = 0 then
  53881. pTDefRegMap(@Self)^.clr := $00000200
  53882. else
  53883. pTDefRegMap(@Self)^.&set := $00000200;
  53884. end;
  53885. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  53886. begin
  53887. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53888. end;
  53889. procedure TPORTB_LATB.setLATB10; inline;
  53890. begin
  53891. pTDefRegMap(@Self)^.&set := $00000400;
  53892. end;
  53893. procedure TPORTB_LATB.clearLATB10; inline;
  53894. begin
  53895. pTDefRegMap(@Self)^.clr := $00000400;
  53896. end;
  53897. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  53898. begin
  53899. if thebits = 0 then
  53900. pTDefRegMap(@Self)^.clr := $00000400
  53901. else
  53902. pTDefRegMap(@Self)^.&set := $00000400;
  53903. end;
  53904. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  53905. begin
  53906. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53907. end;
  53908. procedure TPORTB_LATB.setLATB11; inline;
  53909. begin
  53910. pTDefRegMap(@Self)^.&set := $00000800;
  53911. end;
  53912. procedure TPORTB_LATB.clearLATB11; inline;
  53913. begin
  53914. pTDefRegMap(@Self)^.clr := $00000800;
  53915. end;
  53916. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  53917. begin
  53918. if thebits = 0 then
  53919. pTDefRegMap(@Self)^.clr := $00000800
  53920. else
  53921. pTDefRegMap(@Self)^.&set := $00000800;
  53922. end;
  53923. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  53924. begin
  53925. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53926. end;
  53927. procedure TPORTB_LATB.setLATB12; inline;
  53928. begin
  53929. pTDefRegMap(@Self)^.&set := $00001000;
  53930. end;
  53931. procedure TPORTB_LATB.clearLATB12; inline;
  53932. begin
  53933. pTDefRegMap(@Self)^.clr := $00001000;
  53934. end;
  53935. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  53936. begin
  53937. if thebits = 0 then
  53938. pTDefRegMap(@Self)^.clr := $00001000
  53939. else
  53940. pTDefRegMap(@Self)^.&set := $00001000;
  53941. end;
  53942. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  53943. begin
  53944. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53945. end;
  53946. procedure TPORTB_LATB.setLATB13; inline;
  53947. begin
  53948. pTDefRegMap(@Self)^.&set := $00002000;
  53949. end;
  53950. procedure TPORTB_LATB.clearLATB13; inline;
  53951. begin
  53952. pTDefRegMap(@Self)^.clr := $00002000;
  53953. end;
  53954. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  53955. begin
  53956. if thebits = 0 then
  53957. pTDefRegMap(@Self)^.clr := $00002000
  53958. else
  53959. pTDefRegMap(@Self)^.&set := $00002000;
  53960. end;
  53961. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  53962. begin
  53963. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53964. end;
  53965. procedure TPORTB_LATB.setLATB14; inline;
  53966. begin
  53967. pTDefRegMap(@Self)^.&set := $00004000;
  53968. end;
  53969. procedure TPORTB_LATB.clearLATB14; inline;
  53970. begin
  53971. pTDefRegMap(@Self)^.clr := $00004000;
  53972. end;
  53973. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  53974. begin
  53975. if thebits = 0 then
  53976. pTDefRegMap(@Self)^.clr := $00004000
  53977. else
  53978. pTDefRegMap(@Self)^.&set := $00004000;
  53979. end;
  53980. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  53981. begin
  53982. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53983. end;
  53984. procedure TPORTB_LATB.setLATB15; inline;
  53985. begin
  53986. pTDefRegMap(@Self)^.&set := $00008000;
  53987. end;
  53988. procedure TPORTB_LATB.clearLATB15; inline;
  53989. begin
  53990. pTDefRegMap(@Self)^.clr := $00008000;
  53991. end;
  53992. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  53993. begin
  53994. if thebits = 0 then
  53995. pTDefRegMap(@Self)^.clr := $00008000
  53996. else
  53997. pTDefRegMap(@Self)^.&set := $00008000;
  53998. end;
  53999. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  54000. begin
  54001. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54002. end;
  54003. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  54004. begin
  54005. pTDefRegMap(@Self)^.val := thebits;
  54006. end;
  54007. function TPORTB_LATB.getw : TBits_32; inline;
  54008. begin
  54009. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54010. end;
  54011. procedure TPORTB_ODCB.setODCB0; inline;
  54012. begin
  54013. pTDefRegMap(@Self)^.&set := $00000001;
  54014. end;
  54015. procedure TPORTB_ODCB.clearODCB0; inline;
  54016. begin
  54017. pTDefRegMap(@Self)^.clr := $00000001;
  54018. end;
  54019. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  54020. begin
  54021. if thebits = 0 then
  54022. pTDefRegMap(@Self)^.clr := $00000001
  54023. else
  54024. pTDefRegMap(@Self)^.&set := $00000001;
  54025. end;
  54026. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  54027. begin
  54028. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54029. end;
  54030. procedure TPORTB_ODCB.setODCB1; inline;
  54031. begin
  54032. pTDefRegMap(@Self)^.&set := $00000002;
  54033. end;
  54034. procedure TPORTB_ODCB.clearODCB1; inline;
  54035. begin
  54036. pTDefRegMap(@Self)^.clr := $00000002;
  54037. end;
  54038. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  54039. begin
  54040. if thebits = 0 then
  54041. pTDefRegMap(@Self)^.clr := $00000002
  54042. else
  54043. pTDefRegMap(@Self)^.&set := $00000002;
  54044. end;
  54045. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  54046. begin
  54047. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54048. end;
  54049. procedure TPORTB_ODCB.setODCB2; inline;
  54050. begin
  54051. pTDefRegMap(@Self)^.&set := $00000004;
  54052. end;
  54053. procedure TPORTB_ODCB.clearODCB2; inline;
  54054. begin
  54055. pTDefRegMap(@Self)^.clr := $00000004;
  54056. end;
  54057. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  54058. begin
  54059. if thebits = 0 then
  54060. pTDefRegMap(@Self)^.clr := $00000004
  54061. else
  54062. pTDefRegMap(@Self)^.&set := $00000004;
  54063. end;
  54064. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  54065. begin
  54066. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54067. end;
  54068. procedure TPORTB_ODCB.setODCB3; inline;
  54069. begin
  54070. pTDefRegMap(@Self)^.&set := $00000008;
  54071. end;
  54072. procedure TPORTB_ODCB.clearODCB3; inline;
  54073. begin
  54074. pTDefRegMap(@Self)^.clr := $00000008;
  54075. end;
  54076. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  54077. begin
  54078. if thebits = 0 then
  54079. pTDefRegMap(@Self)^.clr := $00000008
  54080. else
  54081. pTDefRegMap(@Self)^.&set := $00000008;
  54082. end;
  54083. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  54084. begin
  54085. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54086. end;
  54087. procedure TPORTB_ODCB.setODCB4; inline;
  54088. begin
  54089. pTDefRegMap(@Self)^.&set := $00000010;
  54090. end;
  54091. procedure TPORTB_ODCB.clearODCB4; inline;
  54092. begin
  54093. pTDefRegMap(@Self)^.clr := $00000010;
  54094. end;
  54095. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  54096. begin
  54097. if thebits = 0 then
  54098. pTDefRegMap(@Self)^.clr := $00000010
  54099. else
  54100. pTDefRegMap(@Self)^.&set := $00000010;
  54101. end;
  54102. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  54103. begin
  54104. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54105. end;
  54106. procedure TPORTB_ODCB.setODCB5; inline;
  54107. begin
  54108. pTDefRegMap(@Self)^.&set := $00000020;
  54109. end;
  54110. procedure TPORTB_ODCB.clearODCB5; inline;
  54111. begin
  54112. pTDefRegMap(@Self)^.clr := $00000020;
  54113. end;
  54114. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  54115. begin
  54116. if thebits = 0 then
  54117. pTDefRegMap(@Self)^.clr := $00000020
  54118. else
  54119. pTDefRegMap(@Self)^.&set := $00000020;
  54120. end;
  54121. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  54122. begin
  54123. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54124. end;
  54125. procedure TPORTB_ODCB.setODCB6; inline;
  54126. begin
  54127. pTDefRegMap(@Self)^.&set := $00000040;
  54128. end;
  54129. procedure TPORTB_ODCB.clearODCB6; inline;
  54130. begin
  54131. pTDefRegMap(@Self)^.clr := $00000040;
  54132. end;
  54133. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  54134. begin
  54135. if thebits = 0 then
  54136. pTDefRegMap(@Self)^.clr := $00000040
  54137. else
  54138. pTDefRegMap(@Self)^.&set := $00000040;
  54139. end;
  54140. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  54141. begin
  54142. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54143. end;
  54144. procedure TPORTB_ODCB.setODCB7; inline;
  54145. begin
  54146. pTDefRegMap(@Self)^.&set := $00000080;
  54147. end;
  54148. procedure TPORTB_ODCB.clearODCB7; inline;
  54149. begin
  54150. pTDefRegMap(@Self)^.clr := $00000080;
  54151. end;
  54152. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  54153. begin
  54154. if thebits = 0 then
  54155. pTDefRegMap(@Self)^.clr := $00000080
  54156. else
  54157. pTDefRegMap(@Self)^.&set := $00000080;
  54158. end;
  54159. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  54160. begin
  54161. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54162. end;
  54163. procedure TPORTB_ODCB.setODCB8; inline;
  54164. begin
  54165. pTDefRegMap(@Self)^.&set := $00000100;
  54166. end;
  54167. procedure TPORTB_ODCB.clearODCB8; inline;
  54168. begin
  54169. pTDefRegMap(@Self)^.clr := $00000100;
  54170. end;
  54171. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  54172. begin
  54173. if thebits = 0 then
  54174. pTDefRegMap(@Self)^.clr := $00000100
  54175. else
  54176. pTDefRegMap(@Self)^.&set := $00000100;
  54177. end;
  54178. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  54179. begin
  54180. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54181. end;
  54182. procedure TPORTB_ODCB.setODCB9; inline;
  54183. begin
  54184. pTDefRegMap(@Self)^.&set := $00000200;
  54185. end;
  54186. procedure TPORTB_ODCB.clearODCB9; inline;
  54187. begin
  54188. pTDefRegMap(@Self)^.clr := $00000200;
  54189. end;
  54190. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  54191. begin
  54192. if thebits = 0 then
  54193. pTDefRegMap(@Self)^.clr := $00000200
  54194. else
  54195. pTDefRegMap(@Self)^.&set := $00000200;
  54196. end;
  54197. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  54198. begin
  54199. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54200. end;
  54201. procedure TPORTB_ODCB.setODCB10; inline;
  54202. begin
  54203. pTDefRegMap(@Self)^.&set := $00000400;
  54204. end;
  54205. procedure TPORTB_ODCB.clearODCB10; inline;
  54206. begin
  54207. pTDefRegMap(@Self)^.clr := $00000400;
  54208. end;
  54209. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  54210. begin
  54211. if thebits = 0 then
  54212. pTDefRegMap(@Self)^.clr := $00000400
  54213. else
  54214. pTDefRegMap(@Self)^.&set := $00000400;
  54215. end;
  54216. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  54217. begin
  54218. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54219. end;
  54220. procedure TPORTB_ODCB.setODCB11; inline;
  54221. begin
  54222. pTDefRegMap(@Self)^.&set := $00000800;
  54223. end;
  54224. procedure TPORTB_ODCB.clearODCB11; inline;
  54225. begin
  54226. pTDefRegMap(@Self)^.clr := $00000800;
  54227. end;
  54228. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  54229. begin
  54230. if thebits = 0 then
  54231. pTDefRegMap(@Self)^.clr := $00000800
  54232. else
  54233. pTDefRegMap(@Self)^.&set := $00000800;
  54234. end;
  54235. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  54236. begin
  54237. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54238. end;
  54239. procedure TPORTB_ODCB.setODCB12; inline;
  54240. begin
  54241. pTDefRegMap(@Self)^.&set := $00001000;
  54242. end;
  54243. procedure TPORTB_ODCB.clearODCB12; inline;
  54244. begin
  54245. pTDefRegMap(@Self)^.clr := $00001000;
  54246. end;
  54247. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  54248. begin
  54249. if thebits = 0 then
  54250. pTDefRegMap(@Self)^.clr := $00001000
  54251. else
  54252. pTDefRegMap(@Self)^.&set := $00001000;
  54253. end;
  54254. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  54255. begin
  54256. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54257. end;
  54258. procedure TPORTB_ODCB.setODCB13; inline;
  54259. begin
  54260. pTDefRegMap(@Self)^.&set := $00002000;
  54261. end;
  54262. procedure TPORTB_ODCB.clearODCB13; inline;
  54263. begin
  54264. pTDefRegMap(@Self)^.clr := $00002000;
  54265. end;
  54266. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  54267. begin
  54268. if thebits = 0 then
  54269. pTDefRegMap(@Self)^.clr := $00002000
  54270. else
  54271. pTDefRegMap(@Self)^.&set := $00002000;
  54272. end;
  54273. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  54274. begin
  54275. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54276. end;
  54277. procedure TPORTB_ODCB.setODCB14; inline;
  54278. begin
  54279. pTDefRegMap(@Self)^.&set := $00004000;
  54280. end;
  54281. procedure TPORTB_ODCB.clearODCB14; inline;
  54282. begin
  54283. pTDefRegMap(@Self)^.clr := $00004000;
  54284. end;
  54285. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  54286. begin
  54287. if thebits = 0 then
  54288. pTDefRegMap(@Self)^.clr := $00004000
  54289. else
  54290. pTDefRegMap(@Self)^.&set := $00004000;
  54291. end;
  54292. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  54293. begin
  54294. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54295. end;
  54296. procedure TPORTB_ODCB.setODCB15; inline;
  54297. begin
  54298. pTDefRegMap(@Self)^.&set := $00008000;
  54299. end;
  54300. procedure TPORTB_ODCB.clearODCB15; inline;
  54301. begin
  54302. pTDefRegMap(@Self)^.clr := $00008000;
  54303. end;
  54304. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  54305. begin
  54306. if thebits = 0 then
  54307. pTDefRegMap(@Self)^.clr := $00008000
  54308. else
  54309. pTDefRegMap(@Self)^.&set := $00008000;
  54310. end;
  54311. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  54312. begin
  54313. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54314. end;
  54315. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  54316. begin
  54317. pTDefRegMap(@Self)^.val := thebits;
  54318. end;
  54319. function TPORTB_ODCB.getw : TBits_32; inline;
  54320. begin
  54321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54322. end;
  54323. procedure TPORTC_TRISC.setTRISC12; inline;
  54324. begin
  54325. pTDefRegMap(@Self)^.&set := $00001000;
  54326. end;
  54327. procedure TPORTC_TRISC.clearTRISC12; inline;
  54328. begin
  54329. pTDefRegMap(@Self)^.clr := $00001000;
  54330. end;
  54331. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  54332. begin
  54333. if thebits = 0 then
  54334. pTDefRegMap(@Self)^.clr := $00001000
  54335. else
  54336. pTDefRegMap(@Self)^.&set := $00001000;
  54337. end;
  54338. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  54339. begin
  54340. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54341. end;
  54342. procedure TPORTC_TRISC.setTRISC13; inline;
  54343. begin
  54344. pTDefRegMap(@Self)^.&set := $00002000;
  54345. end;
  54346. procedure TPORTC_TRISC.clearTRISC13; inline;
  54347. begin
  54348. pTDefRegMap(@Self)^.clr := $00002000;
  54349. end;
  54350. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  54351. begin
  54352. if thebits = 0 then
  54353. pTDefRegMap(@Self)^.clr := $00002000
  54354. else
  54355. pTDefRegMap(@Self)^.&set := $00002000;
  54356. end;
  54357. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  54358. begin
  54359. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54360. end;
  54361. procedure TPORTC_TRISC.setTRISC14; inline;
  54362. begin
  54363. pTDefRegMap(@Self)^.&set := $00004000;
  54364. end;
  54365. procedure TPORTC_TRISC.clearTRISC14; inline;
  54366. begin
  54367. pTDefRegMap(@Self)^.clr := $00004000;
  54368. end;
  54369. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  54370. begin
  54371. if thebits = 0 then
  54372. pTDefRegMap(@Self)^.clr := $00004000
  54373. else
  54374. pTDefRegMap(@Self)^.&set := $00004000;
  54375. end;
  54376. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  54377. begin
  54378. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54379. end;
  54380. procedure TPORTC_TRISC.setTRISC15; inline;
  54381. begin
  54382. pTDefRegMap(@Self)^.&set := $00008000;
  54383. end;
  54384. procedure TPORTC_TRISC.clearTRISC15; inline;
  54385. begin
  54386. pTDefRegMap(@Self)^.clr := $00008000;
  54387. end;
  54388. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  54389. begin
  54390. if thebits = 0 then
  54391. pTDefRegMap(@Self)^.clr := $00008000
  54392. else
  54393. pTDefRegMap(@Self)^.&set := $00008000;
  54394. end;
  54395. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  54396. begin
  54397. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54398. end;
  54399. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  54400. begin
  54401. pTDefRegMap(@Self)^.val := thebits;
  54402. end;
  54403. function TPORTC_TRISC.getw : TBits_32; inline;
  54404. begin
  54405. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54406. end;
  54407. procedure TPORTC_PORTC.setRC12; inline;
  54408. begin
  54409. pTDefRegMap(@Self)^.&set := $00001000;
  54410. end;
  54411. procedure TPORTC_PORTC.clearRC12; inline;
  54412. begin
  54413. pTDefRegMap(@Self)^.clr := $00001000;
  54414. end;
  54415. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  54416. begin
  54417. if thebits = 0 then
  54418. pTDefRegMap(@Self)^.clr := $00001000
  54419. else
  54420. pTDefRegMap(@Self)^.&set := $00001000;
  54421. end;
  54422. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  54423. begin
  54424. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54425. end;
  54426. procedure TPORTC_PORTC.setRC13; inline;
  54427. begin
  54428. pTDefRegMap(@Self)^.&set := $00002000;
  54429. end;
  54430. procedure TPORTC_PORTC.clearRC13; inline;
  54431. begin
  54432. pTDefRegMap(@Self)^.clr := $00002000;
  54433. end;
  54434. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  54435. begin
  54436. if thebits = 0 then
  54437. pTDefRegMap(@Self)^.clr := $00002000
  54438. else
  54439. pTDefRegMap(@Self)^.&set := $00002000;
  54440. end;
  54441. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  54442. begin
  54443. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54444. end;
  54445. procedure TPORTC_PORTC.setRC14; inline;
  54446. begin
  54447. pTDefRegMap(@Self)^.&set := $00004000;
  54448. end;
  54449. procedure TPORTC_PORTC.clearRC14; inline;
  54450. begin
  54451. pTDefRegMap(@Self)^.clr := $00004000;
  54452. end;
  54453. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  54454. begin
  54455. if thebits = 0 then
  54456. pTDefRegMap(@Self)^.clr := $00004000
  54457. else
  54458. pTDefRegMap(@Self)^.&set := $00004000;
  54459. end;
  54460. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  54461. begin
  54462. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54463. end;
  54464. procedure TPORTC_PORTC.setRC15; inline;
  54465. begin
  54466. pTDefRegMap(@Self)^.&set := $00008000;
  54467. end;
  54468. procedure TPORTC_PORTC.clearRC15; inline;
  54469. begin
  54470. pTDefRegMap(@Self)^.clr := $00008000;
  54471. end;
  54472. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  54473. begin
  54474. if thebits = 0 then
  54475. pTDefRegMap(@Self)^.clr := $00008000
  54476. else
  54477. pTDefRegMap(@Self)^.&set := $00008000;
  54478. end;
  54479. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  54480. begin
  54481. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54482. end;
  54483. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  54484. begin
  54485. pTDefRegMap(@Self)^.val := thebits;
  54486. end;
  54487. function TPORTC_PORTC.getw : TBits_32; inline;
  54488. begin
  54489. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54490. end;
  54491. procedure TPORTC_LATC.setLATC12; inline;
  54492. begin
  54493. pTDefRegMap(@Self)^.&set := $00001000;
  54494. end;
  54495. procedure TPORTC_LATC.clearLATC12; inline;
  54496. begin
  54497. pTDefRegMap(@Self)^.clr := $00001000;
  54498. end;
  54499. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  54500. begin
  54501. if thebits = 0 then
  54502. pTDefRegMap(@Self)^.clr := $00001000
  54503. else
  54504. pTDefRegMap(@Self)^.&set := $00001000;
  54505. end;
  54506. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  54507. begin
  54508. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54509. end;
  54510. procedure TPORTC_LATC.setLATC13; inline;
  54511. begin
  54512. pTDefRegMap(@Self)^.&set := $00002000;
  54513. end;
  54514. procedure TPORTC_LATC.clearLATC13; inline;
  54515. begin
  54516. pTDefRegMap(@Self)^.clr := $00002000;
  54517. end;
  54518. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  54519. begin
  54520. if thebits = 0 then
  54521. pTDefRegMap(@Self)^.clr := $00002000
  54522. else
  54523. pTDefRegMap(@Self)^.&set := $00002000;
  54524. end;
  54525. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  54526. begin
  54527. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54528. end;
  54529. procedure TPORTC_LATC.setLATC14; inline;
  54530. begin
  54531. pTDefRegMap(@Self)^.&set := $00004000;
  54532. end;
  54533. procedure TPORTC_LATC.clearLATC14; inline;
  54534. begin
  54535. pTDefRegMap(@Self)^.clr := $00004000;
  54536. end;
  54537. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  54538. begin
  54539. if thebits = 0 then
  54540. pTDefRegMap(@Self)^.clr := $00004000
  54541. else
  54542. pTDefRegMap(@Self)^.&set := $00004000;
  54543. end;
  54544. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  54545. begin
  54546. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54547. end;
  54548. procedure TPORTC_LATC.setLATC15; inline;
  54549. begin
  54550. pTDefRegMap(@Self)^.&set := $00008000;
  54551. end;
  54552. procedure TPORTC_LATC.clearLATC15; inline;
  54553. begin
  54554. pTDefRegMap(@Self)^.clr := $00008000;
  54555. end;
  54556. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  54557. begin
  54558. if thebits = 0 then
  54559. pTDefRegMap(@Self)^.clr := $00008000
  54560. else
  54561. pTDefRegMap(@Self)^.&set := $00008000;
  54562. end;
  54563. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  54564. begin
  54565. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54566. end;
  54567. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  54568. begin
  54569. pTDefRegMap(@Self)^.val := thebits;
  54570. end;
  54571. function TPORTC_LATC.getw : TBits_32; inline;
  54572. begin
  54573. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54574. end;
  54575. procedure TPORTC_ODCC.setODCC12; inline;
  54576. begin
  54577. pTDefRegMap(@Self)^.&set := $00001000;
  54578. end;
  54579. procedure TPORTC_ODCC.clearODCC12; inline;
  54580. begin
  54581. pTDefRegMap(@Self)^.clr := $00001000;
  54582. end;
  54583. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  54584. begin
  54585. if thebits = 0 then
  54586. pTDefRegMap(@Self)^.clr := $00001000
  54587. else
  54588. pTDefRegMap(@Self)^.&set := $00001000;
  54589. end;
  54590. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  54591. begin
  54592. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54593. end;
  54594. procedure TPORTC_ODCC.setODCC13; inline;
  54595. begin
  54596. pTDefRegMap(@Self)^.&set := $00002000;
  54597. end;
  54598. procedure TPORTC_ODCC.clearODCC13; inline;
  54599. begin
  54600. pTDefRegMap(@Self)^.clr := $00002000;
  54601. end;
  54602. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  54603. begin
  54604. if thebits = 0 then
  54605. pTDefRegMap(@Self)^.clr := $00002000
  54606. else
  54607. pTDefRegMap(@Self)^.&set := $00002000;
  54608. end;
  54609. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  54610. begin
  54611. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54612. end;
  54613. procedure TPORTC_ODCC.setODCC14; inline;
  54614. begin
  54615. pTDefRegMap(@Self)^.&set := $00004000;
  54616. end;
  54617. procedure TPORTC_ODCC.clearODCC14; inline;
  54618. begin
  54619. pTDefRegMap(@Self)^.clr := $00004000;
  54620. end;
  54621. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  54622. begin
  54623. if thebits = 0 then
  54624. pTDefRegMap(@Self)^.clr := $00004000
  54625. else
  54626. pTDefRegMap(@Self)^.&set := $00004000;
  54627. end;
  54628. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  54629. begin
  54630. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54631. end;
  54632. procedure TPORTC_ODCC.setODCC15; inline;
  54633. begin
  54634. pTDefRegMap(@Self)^.&set := $00008000;
  54635. end;
  54636. procedure TPORTC_ODCC.clearODCC15; inline;
  54637. begin
  54638. pTDefRegMap(@Self)^.clr := $00008000;
  54639. end;
  54640. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  54641. begin
  54642. if thebits = 0 then
  54643. pTDefRegMap(@Self)^.clr := $00008000
  54644. else
  54645. pTDefRegMap(@Self)^.&set := $00008000;
  54646. end;
  54647. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  54648. begin
  54649. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54650. end;
  54651. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  54652. begin
  54653. pTDefRegMap(@Self)^.val := thebits;
  54654. end;
  54655. function TPORTC_ODCC.getw : TBits_32; inline;
  54656. begin
  54657. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54658. end;
  54659. procedure TPORTD_TRISD.setTRISD0; inline;
  54660. begin
  54661. pTDefRegMap(@Self)^.&set := $00000001;
  54662. end;
  54663. procedure TPORTD_TRISD.clearTRISD0; inline;
  54664. begin
  54665. pTDefRegMap(@Self)^.clr := $00000001;
  54666. end;
  54667. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  54668. begin
  54669. if thebits = 0 then
  54670. pTDefRegMap(@Self)^.clr := $00000001
  54671. else
  54672. pTDefRegMap(@Self)^.&set := $00000001;
  54673. end;
  54674. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  54675. begin
  54676. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54677. end;
  54678. procedure TPORTD_TRISD.setTRISD1; inline;
  54679. begin
  54680. pTDefRegMap(@Self)^.&set := $00000002;
  54681. end;
  54682. procedure TPORTD_TRISD.clearTRISD1; inline;
  54683. begin
  54684. pTDefRegMap(@Self)^.clr := $00000002;
  54685. end;
  54686. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  54687. begin
  54688. if thebits = 0 then
  54689. pTDefRegMap(@Self)^.clr := $00000002
  54690. else
  54691. pTDefRegMap(@Self)^.&set := $00000002;
  54692. end;
  54693. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  54694. begin
  54695. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54696. end;
  54697. procedure TPORTD_TRISD.setTRISD2; inline;
  54698. begin
  54699. pTDefRegMap(@Self)^.&set := $00000004;
  54700. end;
  54701. procedure TPORTD_TRISD.clearTRISD2; inline;
  54702. begin
  54703. pTDefRegMap(@Self)^.clr := $00000004;
  54704. end;
  54705. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  54706. begin
  54707. if thebits = 0 then
  54708. pTDefRegMap(@Self)^.clr := $00000004
  54709. else
  54710. pTDefRegMap(@Self)^.&set := $00000004;
  54711. end;
  54712. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  54713. begin
  54714. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54715. end;
  54716. procedure TPORTD_TRISD.setTRISD3; inline;
  54717. begin
  54718. pTDefRegMap(@Self)^.&set := $00000008;
  54719. end;
  54720. procedure TPORTD_TRISD.clearTRISD3; inline;
  54721. begin
  54722. pTDefRegMap(@Self)^.clr := $00000008;
  54723. end;
  54724. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  54725. begin
  54726. if thebits = 0 then
  54727. pTDefRegMap(@Self)^.clr := $00000008
  54728. else
  54729. pTDefRegMap(@Self)^.&set := $00000008;
  54730. end;
  54731. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  54732. begin
  54733. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54734. end;
  54735. procedure TPORTD_TRISD.setTRISD4; inline;
  54736. begin
  54737. pTDefRegMap(@Self)^.&set := $00000010;
  54738. end;
  54739. procedure TPORTD_TRISD.clearTRISD4; inline;
  54740. begin
  54741. pTDefRegMap(@Self)^.clr := $00000010;
  54742. end;
  54743. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  54744. begin
  54745. if thebits = 0 then
  54746. pTDefRegMap(@Self)^.clr := $00000010
  54747. else
  54748. pTDefRegMap(@Self)^.&set := $00000010;
  54749. end;
  54750. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  54751. begin
  54752. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54753. end;
  54754. procedure TPORTD_TRISD.setTRISD5; inline;
  54755. begin
  54756. pTDefRegMap(@Self)^.&set := $00000020;
  54757. end;
  54758. procedure TPORTD_TRISD.clearTRISD5; inline;
  54759. begin
  54760. pTDefRegMap(@Self)^.clr := $00000020;
  54761. end;
  54762. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  54763. begin
  54764. if thebits = 0 then
  54765. pTDefRegMap(@Self)^.clr := $00000020
  54766. else
  54767. pTDefRegMap(@Self)^.&set := $00000020;
  54768. end;
  54769. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  54770. begin
  54771. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54772. end;
  54773. procedure TPORTD_TRISD.setTRISD6; inline;
  54774. begin
  54775. pTDefRegMap(@Self)^.&set := $00000040;
  54776. end;
  54777. procedure TPORTD_TRISD.clearTRISD6; inline;
  54778. begin
  54779. pTDefRegMap(@Self)^.clr := $00000040;
  54780. end;
  54781. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  54782. begin
  54783. if thebits = 0 then
  54784. pTDefRegMap(@Self)^.clr := $00000040
  54785. else
  54786. pTDefRegMap(@Self)^.&set := $00000040;
  54787. end;
  54788. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  54789. begin
  54790. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54791. end;
  54792. procedure TPORTD_TRISD.setTRISD7; inline;
  54793. begin
  54794. pTDefRegMap(@Self)^.&set := $00000080;
  54795. end;
  54796. procedure TPORTD_TRISD.clearTRISD7; inline;
  54797. begin
  54798. pTDefRegMap(@Self)^.clr := $00000080;
  54799. end;
  54800. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  54801. begin
  54802. if thebits = 0 then
  54803. pTDefRegMap(@Self)^.clr := $00000080
  54804. else
  54805. pTDefRegMap(@Self)^.&set := $00000080;
  54806. end;
  54807. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  54808. begin
  54809. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54810. end;
  54811. procedure TPORTD_TRISD.setTRISD8; inline;
  54812. begin
  54813. pTDefRegMap(@Self)^.&set := $00000100;
  54814. end;
  54815. procedure TPORTD_TRISD.clearTRISD8; inline;
  54816. begin
  54817. pTDefRegMap(@Self)^.clr := $00000100;
  54818. end;
  54819. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  54820. begin
  54821. if thebits = 0 then
  54822. pTDefRegMap(@Self)^.clr := $00000100
  54823. else
  54824. pTDefRegMap(@Self)^.&set := $00000100;
  54825. end;
  54826. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  54827. begin
  54828. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54829. end;
  54830. procedure TPORTD_TRISD.setTRISD9; inline;
  54831. begin
  54832. pTDefRegMap(@Self)^.&set := $00000200;
  54833. end;
  54834. procedure TPORTD_TRISD.clearTRISD9; inline;
  54835. begin
  54836. pTDefRegMap(@Self)^.clr := $00000200;
  54837. end;
  54838. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  54839. begin
  54840. if thebits = 0 then
  54841. pTDefRegMap(@Self)^.clr := $00000200
  54842. else
  54843. pTDefRegMap(@Self)^.&set := $00000200;
  54844. end;
  54845. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  54846. begin
  54847. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54848. end;
  54849. procedure TPORTD_TRISD.setTRISD10; inline;
  54850. begin
  54851. pTDefRegMap(@Self)^.&set := $00000400;
  54852. end;
  54853. procedure TPORTD_TRISD.clearTRISD10; inline;
  54854. begin
  54855. pTDefRegMap(@Self)^.clr := $00000400;
  54856. end;
  54857. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  54858. begin
  54859. if thebits = 0 then
  54860. pTDefRegMap(@Self)^.clr := $00000400
  54861. else
  54862. pTDefRegMap(@Self)^.&set := $00000400;
  54863. end;
  54864. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  54865. begin
  54866. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54867. end;
  54868. procedure TPORTD_TRISD.setTRISD11; inline;
  54869. begin
  54870. pTDefRegMap(@Self)^.&set := $00000800;
  54871. end;
  54872. procedure TPORTD_TRISD.clearTRISD11; inline;
  54873. begin
  54874. pTDefRegMap(@Self)^.clr := $00000800;
  54875. end;
  54876. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  54877. begin
  54878. if thebits = 0 then
  54879. pTDefRegMap(@Self)^.clr := $00000800
  54880. else
  54881. pTDefRegMap(@Self)^.&set := $00000800;
  54882. end;
  54883. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  54884. begin
  54885. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54886. end;
  54887. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  54888. begin
  54889. pTDefRegMap(@Self)^.val := thebits;
  54890. end;
  54891. function TPORTD_TRISD.getw : TBits_32; inline;
  54892. begin
  54893. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54894. end;
  54895. procedure TPORTD_PORTD.setRD0; inline;
  54896. begin
  54897. pTDefRegMap(@Self)^.&set := $00000001;
  54898. end;
  54899. procedure TPORTD_PORTD.clearRD0; inline;
  54900. begin
  54901. pTDefRegMap(@Self)^.clr := $00000001;
  54902. end;
  54903. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  54904. begin
  54905. if thebits = 0 then
  54906. pTDefRegMap(@Self)^.clr := $00000001
  54907. else
  54908. pTDefRegMap(@Self)^.&set := $00000001;
  54909. end;
  54910. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  54911. begin
  54912. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54913. end;
  54914. procedure TPORTD_PORTD.setRD1; inline;
  54915. begin
  54916. pTDefRegMap(@Self)^.&set := $00000002;
  54917. end;
  54918. procedure TPORTD_PORTD.clearRD1; inline;
  54919. begin
  54920. pTDefRegMap(@Self)^.clr := $00000002;
  54921. end;
  54922. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  54923. begin
  54924. if thebits = 0 then
  54925. pTDefRegMap(@Self)^.clr := $00000002
  54926. else
  54927. pTDefRegMap(@Self)^.&set := $00000002;
  54928. end;
  54929. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  54930. begin
  54931. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54932. end;
  54933. procedure TPORTD_PORTD.setRD2; inline;
  54934. begin
  54935. pTDefRegMap(@Self)^.&set := $00000004;
  54936. end;
  54937. procedure TPORTD_PORTD.clearRD2; inline;
  54938. begin
  54939. pTDefRegMap(@Self)^.clr := $00000004;
  54940. end;
  54941. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  54942. begin
  54943. if thebits = 0 then
  54944. pTDefRegMap(@Self)^.clr := $00000004
  54945. else
  54946. pTDefRegMap(@Self)^.&set := $00000004;
  54947. end;
  54948. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  54949. begin
  54950. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54951. end;
  54952. procedure TPORTD_PORTD.setRD3; inline;
  54953. begin
  54954. pTDefRegMap(@Self)^.&set := $00000008;
  54955. end;
  54956. procedure TPORTD_PORTD.clearRD3; inline;
  54957. begin
  54958. pTDefRegMap(@Self)^.clr := $00000008;
  54959. end;
  54960. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  54961. begin
  54962. if thebits = 0 then
  54963. pTDefRegMap(@Self)^.clr := $00000008
  54964. else
  54965. pTDefRegMap(@Self)^.&set := $00000008;
  54966. end;
  54967. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  54968. begin
  54969. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54970. end;
  54971. procedure TPORTD_PORTD.setRD4; inline;
  54972. begin
  54973. pTDefRegMap(@Self)^.&set := $00000010;
  54974. end;
  54975. procedure TPORTD_PORTD.clearRD4; inline;
  54976. begin
  54977. pTDefRegMap(@Self)^.clr := $00000010;
  54978. end;
  54979. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  54980. begin
  54981. if thebits = 0 then
  54982. pTDefRegMap(@Self)^.clr := $00000010
  54983. else
  54984. pTDefRegMap(@Self)^.&set := $00000010;
  54985. end;
  54986. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  54987. begin
  54988. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54989. end;
  54990. procedure TPORTD_PORTD.setRD5; inline;
  54991. begin
  54992. pTDefRegMap(@Self)^.&set := $00000020;
  54993. end;
  54994. procedure TPORTD_PORTD.clearRD5; inline;
  54995. begin
  54996. pTDefRegMap(@Self)^.clr := $00000020;
  54997. end;
  54998. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  54999. begin
  55000. if thebits = 0 then
  55001. pTDefRegMap(@Self)^.clr := $00000020
  55002. else
  55003. pTDefRegMap(@Self)^.&set := $00000020;
  55004. end;
  55005. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  55006. begin
  55007. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55008. end;
  55009. procedure TPORTD_PORTD.setRD6; inline;
  55010. begin
  55011. pTDefRegMap(@Self)^.&set := $00000040;
  55012. end;
  55013. procedure TPORTD_PORTD.clearRD6; inline;
  55014. begin
  55015. pTDefRegMap(@Self)^.clr := $00000040;
  55016. end;
  55017. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  55018. begin
  55019. if thebits = 0 then
  55020. pTDefRegMap(@Self)^.clr := $00000040
  55021. else
  55022. pTDefRegMap(@Self)^.&set := $00000040;
  55023. end;
  55024. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  55025. begin
  55026. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55027. end;
  55028. procedure TPORTD_PORTD.setRD7; inline;
  55029. begin
  55030. pTDefRegMap(@Self)^.&set := $00000080;
  55031. end;
  55032. procedure TPORTD_PORTD.clearRD7; inline;
  55033. begin
  55034. pTDefRegMap(@Self)^.clr := $00000080;
  55035. end;
  55036. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  55037. begin
  55038. if thebits = 0 then
  55039. pTDefRegMap(@Self)^.clr := $00000080
  55040. else
  55041. pTDefRegMap(@Self)^.&set := $00000080;
  55042. end;
  55043. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  55044. begin
  55045. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55046. end;
  55047. procedure TPORTD_PORTD.setRD8; inline;
  55048. begin
  55049. pTDefRegMap(@Self)^.&set := $00000100;
  55050. end;
  55051. procedure TPORTD_PORTD.clearRD8; inline;
  55052. begin
  55053. pTDefRegMap(@Self)^.clr := $00000100;
  55054. end;
  55055. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  55056. begin
  55057. if thebits = 0 then
  55058. pTDefRegMap(@Self)^.clr := $00000100
  55059. else
  55060. pTDefRegMap(@Self)^.&set := $00000100;
  55061. end;
  55062. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  55063. begin
  55064. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55065. end;
  55066. procedure TPORTD_PORTD.setRD9; inline;
  55067. begin
  55068. pTDefRegMap(@Self)^.&set := $00000200;
  55069. end;
  55070. procedure TPORTD_PORTD.clearRD9; inline;
  55071. begin
  55072. pTDefRegMap(@Self)^.clr := $00000200;
  55073. end;
  55074. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  55075. begin
  55076. if thebits = 0 then
  55077. pTDefRegMap(@Self)^.clr := $00000200
  55078. else
  55079. pTDefRegMap(@Self)^.&set := $00000200;
  55080. end;
  55081. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  55082. begin
  55083. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55084. end;
  55085. procedure TPORTD_PORTD.setRD10; inline;
  55086. begin
  55087. pTDefRegMap(@Self)^.&set := $00000400;
  55088. end;
  55089. procedure TPORTD_PORTD.clearRD10; inline;
  55090. begin
  55091. pTDefRegMap(@Self)^.clr := $00000400;
  55092. end;
  55093. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  55094. begin
  55095. if thebits = 0 then
  55096. pTDefRegMap(@Self)^.clr := $00000400
  55097. else
  55098. pTDefRegMap(@Self)^.&set := $00000400;
  55099. end;
  55100. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  55101. begin
  55102. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55103. end;
  55104. procedure TPORTD_PORTD.setRD11; inline;
  55105. begin
  55106. pTDefRegMap(@Self)^.&set := $00000800;
  55107. end;
  55108. procedure TPORTD_PORTD.clearRD11; inline;
  55109. begin
  55110. pTDefRegMap(@Self)^.clr := $00000800;
  55111. end;
  55112. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  55113. begin
  55114. if thebits = 0 then
  55115. pTDefRegMap(@Self)^.clr := $00000800
  55116. else
  55117. pTDefRegMap(@Self)^.&set := $00000800;
  55118. end;
  55119. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  55120. begin
  55121. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55122. end;
  55123. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  55124. begin
  55125. pTDefRegMap(@Self)^.val := thebits;
  55126. end;
  55127. function TPORTD_PORTD.getw : TBits_32; inline;
  55128. begin
  55129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55130. end;
  55131. procedure TPORTD_LATD.setLATD0; inline;
  55132. begin
  55133. pTDefRegMap(@Self)^.&set := $00000001;
  55134. end;
  55135. procedure TPORTD_LATD.clearLATD0; inline;
  55136. begin
  55137. pTDefRegMap(@Self)^.clr := $00000001;
  55138. end;
  55139. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  55140. begin
  55141. if thebits = 0 then
  55142. pTDefRegMap(@Self)^.clr := $00000001
  55143. else
  55144. pTDefRegMap(@Self)^.&set := $00000001;
  55145. end;
  55146. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  55147. begin
  55148. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55149. end;
  55150. procedure TPORTD_LATD.setLATD1; inline;
  55151. begin
  55152. pTDefRegMap(@Self)^.&set := $00000002;
  55153. end;
  55154. procedure TPORTD_LATD.clearLATD1; inline;
  55155. begin
  55156. pTDefRegMap(@Self)^.clr := $00000002;
  55157. end;
  55158. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  55159. begin
  55160. if thebits = 0 then
  55161. pTDefRegMap(@Self)^.clr := $00000002
  55162. else
  55163. pTDefRegMap(@Self)^.&set := $00000002;
  55164. end;
  55165. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  55166. begin
  55167. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55168. end;
  55169. procedure TPORTD_LATD.setLATD2; inline;
  55170. begin
  55171. pTDefRegMap(@Self)^.&set := $00000004;
  55172. end;
  55173. procedure TPORTD_LATD.clearLATD2; inline;
  55174. begin
  55175. pTDefRegMap(@Self)^.clr := $00000004;
  55176. end;
  55177. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  55178. begin
  55179. if thebits = 0 then
  55180. pTDefRegMap(@Self)^.clr := $00000004
  55181. else
  55182. pTDefRegMap(@Self)^.&set := $00000004;
  55183. end;
  55184. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  55185. begin
  55186. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55187. end;
  55188. procedure TPORTD_LATD.setLATD3; inline;
  55189. begin
  55190. pTDefRegMap(@Self)^.&set := $00000008;
  55191. end;
  55192. procedure TPORTD_LATD.clearLATD3; inline;
  55193. begin
  55194. pTDefRegMap(@Self)^.clr := $00000008;
  55195. end;
  55196. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  55197. begin
  55198. if thebits = 0 then
  55199. pTDefRegMap(@Self)^.clr := $00000008
  55200. else
  55201. pTDefRegMap(@Self)^.&set := $00000008;
  55202. end;
  55203. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  55204. begin
  55205. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55206. end;
  55207. procedure TPORTD_LATD.setLATD4; inline;
  55208. begin
  55209. pTDefRegMap(@Self)^.&set := $00000010;
  55210. end;
  55211. procedure TPORTD_LATD.clearLATD4; inline;
  55212. begin
  55213. pTDefRegMap(@Self)^.clr := $00000010;
  55214. end;
  55215. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  55216. begin
  55217. if thebits = 0 then
  55218. pTDefRegMap(@Self)^.clr := $00000010
  55219. else
  55220. pTDefRegMap(@Self)^.&set := $00000010;
  55221. end;
  55222. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  55223. begin
  55224. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55225. end;
  55226. procedure TPORTD_LATD.setLATD5; inline;
  55227. begin
  55228. pTDefRegMap(@Self)^.&set := $00000020;
  55229. end;
  55230. procedure TPORTD_LATD.clearLATD5; inline;
  55231. begin
  55232. pTDefRegMap(@Self)^.clr := $00000020;
  55233. end;
  55234. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  55235. begin
  55236. if thebits = 0 then
  55237. pTDefRegMap(@Self)^.clr := $00000020
  55238. else
  55239. pTDefRegMap(@Self)^.&set := $00000020;
  55240. end;
  55241. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  55242. begin
  55243. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55244. end;
  55245. procedure TPORTD_LATD.setLATD6; inline;
  55246. begin
  55247. pTDefRegMap(@Self)^.&set := $00000040;
  55248. end;
  55249. procedure TPORTD_LATD.clearLATD6; inline;
  55250. begin
  55251. pTDefRegMap(@Self)^.clr := $00000040;
  55252. end;
  55253. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  55254. begin
  55255. if thebits = 0 then
  55256. pTDefRegMap(@Self)^.clr := $00000040
  55257. else
  55258. pTDefRegMap(@Self)^.&set := $00000040;
  55259. end;
  55260. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  55261. begin
  55262. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55263. end;
  55264. procedure TPORTD_LATD.setLATD7; inline;
  55265. begin
  55266. pTDefRegMap(@Self)^.&set := $00000080;
  55267. end;
  55268. procedure TPORTD_LATD.clearLATD7; inline;
  55269. begin
  55270. pTDefRegMap(@Self)^.clr := $00000080;
  55271. end;
  55272. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  55273. begin
  55274. if thebits = 0 then
  55275. pTDefRegMap(@Self)^.clr := $00000080
  55276. else
  55277. pTDefRegMap(@Self)^.&set := $00000080;
  55278. end;
  55279. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  55280. begin
  55281. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55282. end;
  55283. procedure TPORTD_LATD.setLATD8; inline;
  55284. begin
  55285. pTDefRegMap(@Self)^.&set := $00000100;
  55286. end;
  55287. procedure TPORTD_LATD.clearLATD8; inline;
  55288. begin
  55289. pTDefRegMap(@Self)^.clr := $00000100;
  55290. end;
  55291. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  55292. begin
  55293. if thebits = 0 then
  55294. pTDefRegMap(@Self)^.clr := $00000100
  55295. else
  55296. pTDefRegMap(@Self)^.&set := $00000100;
  55297. end;
  55298. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  55299. begin
  55300. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55301. end;
  55302. procedure TPORTD_LATD.setLATD9; inline;
  55303. begin
  55304. pTDefRegMap(@Self)^.&set := $00000200;
  55305. end;
  55306. procedure TPORTD_LATD.clearLATD9; inline;
  55307. begin
  55308. pTDefRegMap(@Self)^.clr := $00000200;
  55309. end;
  55310. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  55311. begin
  55312. if thebits = 0 then
  55313. pTDefRegMap(@Self)^.clr := $00000200
  55314. else
  55315. pTDefRegMap(@Self)^.&set := $00000200;
  55316. end;
  55317. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  55318. begin
  55319. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55320. end;
  55321. procedure TPORTD_LATD.setLATD10; inline;
  55322. begin
  55323. pTDefRegMap(@Self)^.&set := $00000400;
  55324. end;
  55325. procedure TPORTD_LATD.clearLATD10; inline;
  55326. begin
  55327. pTDefRegMap(@Self)^.clr := $00000400;
  55328. end;
  55329. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  55330. begin
  55331. if thebits = 0 then
  55332. pTDefRegMap(@Self)^.clr := $00000400
  55333. else
  55334. pTDefRegMap(@Self)^.&set := $00000400;
  55335. end;
  55336. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  55337. begin
  55338. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55339. end;
  55340. procedure TPORTD_LATD.setLATD11; inline;
  55341. begin
  55342. pTDefRegMap(@Self)^.&set := $00000800;
  55343. end;
  55344. procedure TPORTD_LATD.clearLATD11; inline;
  55345. begin
  55346. pTDefRegMap(@Self)^.clr := $00000800;
  55347. end;
  55348. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  55349. begin
  55350. if thebits = 0 then
  55351. pTDefRegMap(@Self)^.clr := $00000800
  55352. else
  55353. pTDefRegMap(@Self)^.&set := $00000800;
  55354. end;
  55355. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  55356. begin
  55357. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55358. end;
  55359. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  55360. begin
  55361. pTDefRegMap(@Self)^.val := thebits;
  55362. end;
  55363. function TPORTD_LATD.getw : TBits_32; inline;
  55364. begin
  55365. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55366. end;
  55367. procedure TPORTD_ODCD.setODCD0; inline;
  55368. begin
  55369. pTDefRegMap(@Self)^.&set := $00000001;
  55370. end;
  55371. procedure TPORTD_ODCD.clearODCD0; inline;
  55372. begin
  55373. pTDefRegMap(@Self)^.clr := $00000001;
  55374. end;
  55375. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  55376. begin
  55377. if thebits = 0 then
  55378. pTDefRegMap(@Self)^.clr := $00000001
  55379. else
  55380. pTDefRegMap(@Self)^.&set := $00000001;
  55381. end;
  55382. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  55383. begin
  55384. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55385. end;
  55386. procedure TPORTD_ODCD.setODCD1; inline;
  55387. begin
  55388. pTDefRegMap(@Self)^.&set := $00000002;
  55389. end;
  55390. procedure TPORTD_ODCD.clearODCD1; inline;
  55391. begin
  55392. pTDefRegMap(@Self)^.clr := $00000002;
  55393. end;
  55394. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  55395. begin
  55396. if thebits = 0 then
  55397. pTDefRegMap(@Self)^.clr := $00000002
  55398. else
  55399. pTDefRegMap(@Self)^.&set := $00000002;
  55400. end;
  55401. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  55402. begin
  55403. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55404. end;
  55405. procedure TPORTD_ODCD.setODCD2; inline;
  55406. begin
  55407. pTDefRegMap(@Self)^.&set := $00000004;
  55408. end;
  55409. procedure TPORTD_ODCD.clearODCD2; inline;
  55410. begin
  55411. pTDefRegMap(@Self)^.clr := $00000004;
  55412. end;
  55413. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  55414. begin
  55415. if thebits = 0 then
  55416. pTDefRegMap(@Self)^.clr := $00000004
  55417. else
  55418. pTDefRegMap(@Self)^.&set := $00000004;
  55419. end;
  55420. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  55421. begin
  55422. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55423. end;
  55424. procedure TPORTD_ODCD.setODCD3; inline;
  55425. begin
  55426. pTDefRegMap(@Self)^.&set := $00000008;
  55427. end;
  55428. procedure TPORTD_ODCD.clearODCD3; inline;
  55429. begin
  55430. pTDefRegMap(@Self)^.clr := $00000008;
  55431. end;
  55432. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  55433. begin
  55434. if thebits = 0 then
  55435. pTDefRegMap(@Self)^.clr := $00000008
  55436. else
  55437. pTDefRegMap(@Self)^.&set := $00000008;
  55438. end;
  55439. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  55440. begin
  55441. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55442. end;
  55443. procedure TPORTD_ODCD.setODCD4; inline;
  55444. begin
  55445. pTDefRegMap(@Self)^.&set := $00000010;
  55446. end;
  55447. procedure TPORTD_ODCD.clearODCD4; inline;
  55448. begin
  55449. pTDefRegMap(@Self)^.clr := $00000010;
  55450. end;
  55451. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  55452. begin
  55453. if thebits = 0 then
  55454. pTDefRegMap(@Self)^.clr := $00000010
  55455. else
  55456. pTDefRegMap(@Self)^.&set := $00000010;
  55457. end;
  55458. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  55459. begin
  55460. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55461. end;
  55462. procedure TPORTD_ODCD.setODCD5; inline;
  55463. begin
  55464. pTDefRegMap(@Self)^.&set := $00000020;
  55465. end;
  55466. procedure TPORTD_ODCD.clearODCD5; inline;
  55467. begin
  55468. pTDefRegMap(@Self)^.clr := $00000020;
  55469. end;
  55470. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  55471. begin
  55472. if thebits = 0 then
  55473. pTDefRegMap(@Self)^.clr := $00000020
  55474. else
  55475. pTDefRegMap(@Self)^.&set := $00000020;
  55476. end;
  55477. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  55478. begin
  55479. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55480. end;
  55481. procedure TPORTD_ODCD.setODCD6; inline;
  55482. begin
  55483. pTDefRegMap(@Self)^.&set := $00000040;
  55484. end;
  55485. procedure TPORTD_ODCD.clearODCD6; inline;
  55486. begin
  55487. pTDefRegMap(@Self)^.clr := $00000040;
  55488. end;
  55489. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  55490. begin
  55491. if thebits = 0 then
  55492. pTDefRegMap(@Self)^.clr := $00000040
  55493. else
  55494. pTDefRegMap(@Self)^.&set := $00000040;
  55495. end;
  55496. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  55497. begin
  55498. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55499. end;
  55500. procedure TPORTD_ODCD.setODCD7; inline;
  55501. begin
  55502. pTDefRegMap(@Self)^.&set := $00000080;
  55503. end;
  55504. procedure TPORTD_ODCD.clearODCD7; inline;
  55505. begin
  55506. pTDefRegMap(@Self)^.clr := $00000080;
  55507. end;
  55508. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  55509. begin
  55510. if thebits = 0 then
  55511. pTDefRegMap(@Self)^.clr := $00000080
  55512. else
  55513. pTDefRegMap(@Self)^.&set := $00000080;
  55514. end;
  55515. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  55516. begin
  55517. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55518. end;
  55519. procedure TPORTD_ODCD.setODCD8; inline;
  55520. begin
  55521. pTDefRegMap(@Self)^.&set := $00000100;
  55522. end;
  55523. procedure TPORTD_ODCD.clearODCD8; inline;
  55524. begin
  55525. pTDefRegMap(@Self)^.clr := $00000100;
  55526. end;
  55527. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  55528. begin
  55529. if thebits = 0 then
  55530. pTDefRegMap(@Self)^.clr := $00000100
  55531. else
  55532. pTDefRegMap(@Self)^.&set := $00000100;
  55533. end;
  55534. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  55535. begin
  55536. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55537. end;
  55538. procedure TPORTD_ODCD.setODCD9; inline;
  55539. begin
  55540. pTDefRegMap(@Self)^.&set := $00000200;
  55541. end;
  55542. procedure TPORTD_ODCD.clearODCD9; inline;
  55543. begin
  55544. pTDefRegMap(@Self)^.clr := $00000200;
  55545. end;
  55546. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  55547. begin
  55548. if thebits = 0 then
  55549. pTDefRegMap(@Self)^.clr := $00000200
  55550. else
  55551. pTDefRegMap(@Self)^.&set := $00000200;
  55552. end;
  55553. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  55554. begin
  55555. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55556. end;
  55557. procedure TPORTD_ODCD.setODCD10; inline;
  55558. begin
  55559. pTDefRegMap(@Self)^.&set := $00000400;
  55560. end;
  55561. procedure TPORTD_ODCD.clearODCD10; inline;
  55562. begin
  55563. pTDefRegMap(@Self)^.clr := $00000400;
  55564. end;
  55565. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  55566. begin
  55567. if thebits = 0 then
  55568. pTDefRegMap(@Self)^.clr := $00000400
  55569. else
  55570. pTDefRegMap(@Self)^.&set := $00000400;
  55571. end;
  55572. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  55573. begin
  55574. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55575. end;
  55576. procedure TPORTD_ODCD.setODCD11; inline;
  55577. begin
  55578. pTDefRegMap(@Self)^.&set := $00000800;
  55579. end;
  55580. procedure TPORTD_ODCD.clearODCD11; inline;
  55581. begin
  55582. pTDefRegMap(@Self)^.clr := $00000800;
  55583. end;
  55584. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  55585. begin
  55586. if thebits = 0 then
  55587. pTDefRegMap(@Self)^.clr := $00000800
  55588. else
  55589. pTDefRegMap(@Self)^.&set := $00000800;
  55590. end;
  55591. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  55592. begin
  55593. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55594. end;
  55595. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  55596. begin
  55597. pTDefRegMap(@Self)^.val := thebits;
  55598. end;
  55599. function TPORTD_ODCD.getw : TBits_32; inline;
  55600. begin
  55601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55602. end;
  55603. procedure TPORTE_TRISE.setTRISE0; inline;
  55604. begin
  55605. pTDefRegMap(@Self)^.&set := $00000001;
  55606. end;
  55607. procedure TPORTE_TRISE.clearTRISE0; inline;
  55608. begin
  55609. pTDefRegMap(@Self)^.clr := $00000001;
  55610. end;
  55611. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  55612. begin
  55613. if thebits = 0 then
  55614. pTDefRegMap(@Self)^.clr := $00000001
  55615. else
  55616. pTDefRegMap(@Self)^.&set := $00000001;
  55617. end;
  55618. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  55619. begin
  55620. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55621. end;
  55622. procedure TPORTE_TRISE.setTRISE1; inline;
  55623. begin
  55624. pTDefRegMap(@Self)^.&set := $00000002;
  55625. end;
  55626. procedure TPORTE_TRISE.clearTRISE1; inline;
  55627. begin
  55628. pTDefRegMap(@Self)^.clr := $00000002;
  55629. end;
  55630. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  55631. begin
  55632. if thebits = 0 then
  55633. pTDefRegMap(@Self)^.clr := $00000002
  55634. else
  55635. pTDefRegMap(@Self)^.&set := $00000002;
  55636. end;
  55637. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  55638. begin
  55639. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55640. end;
  55641. procedure TPORTE_TRISE.setTRISE2; inline;
  55642. begin
  55643. pTDefRegMap(@Self)^.&set := $00000004;
  55644. end;
  55645. procedure TPORTE_TRISE.clearTRISE2; inline;
  55646. begin
  55647. pTDefRegMap(@Self)^.clr := $00000004;
  55648. end;
  55649. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  55650. begin
  55651. if thebits = 0 then
  55652. pTDefRegMap(@Self)^.clr := $00000004
  55653. else
  55654. pTDefRegMap(@Self)^.&set := $00000004;
  55655. end;
  55656. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  55657. begin
  55658. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55659. end;
  55660. procedure TPORTE_TRISE.setTRISE3; inline;
  55661. begin
  55662. pTDefRegMap(@Self)^.&set := $00000008;
  55663. end;
  55664. procedure TPORTE_TRISE.clearTRISE3; inline;
  55665. begin
  55666. pTDefRegMap(@Self)^.clr := $00000008;
  55667. end;
  55668. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  55669. begin
  55670. if thebits = 0 then
  55671. pTDefRegMap(@Self)^.clr := $00000008
  55672. else
  55673. pTDefRegMap(@Self)^.&set := $00000008;
  55674. end;
  55675. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  55676. begin
  55677. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55678. end;
  55679. procedure TPORTE_TRISE.setTRISE4; inline;
  55680. begin
  55681. pTDefRegMap(@Self)^.&set := $00000010;
  55682. end;
  55683. procedure TPORTE_TRISE.clearTRISE4; inline;
  55684. begin
  55685. pTDefRegMap(@Self)^.clr := $00000010;
  55686. end;
  55687. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  55688. begin
  55689. if thebits = 0 then
  55690. pTDefRegMap(@Self)^.clr := $00000010
  55691. else
  55692. pTDefRegMap(@Self)^.&set := $00000010;
  55693. end;
  55694. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  55695. begin
  55696. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55697. end;
  55698. procedure TPORTE_TRISE.setTRISE5; inline;
  55699. begin
  55700. pTDefRegMap(@Self)^.&set := $00000020;
  55701. end;
  55702. procedure TPORTE_TRISE.clearTRISE5; inline;
  55703. begin
  55704. pTDefRegMap(@Self)^.clr := $00000020;
  55705. end;
  55706. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  55707. begin
  55708. if thebits = 0 then
  55709. pTDefRegMap(@Self)^.clr := $00000020
  55710. else
  55711. pTDefRegMap(@Self)^.&set := $00000020;
  55712. end;
  55713. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  55714. begin
  55715. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55716. end;
  55717. procedure TPORTE_TRISE.setTRISE6; inline;
  55718. begin
  55719. pTDefRegMap(@Self)^.&set := $00000040;
  55720. end;
  55721. procedure TPORTE_TRISE.clearTRISE6; inline;
  55722. begin
  55723. pTDefRegMap(@Self)^.clr := $00000040;
  55724. end;
  55725. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  55726. begin
  55727. if thebits = 0 then
  55728. pTDefRegMap(@Self)^.clr := $00000040
  55729. else
  55730. pTDefRegMap(@Self)^.&set := $00000040;
  55731. end;
  55732. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  55733. begin
  55734. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55735. end;
  55736. procedure TPORTE_TRISE.setTRISE7; inline;
  55737. begin
  55738. pTDefRegMap(@Self)^.&set := $00000080;
  55739. end;
  55740. procedure TPORTE_TRISE.clearTRISE7; inline;
  55741. begin
  55742. pTDefRegMap(@Self)^.clr := $00000080;
  55743. end;
  55744. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  55745. begin
  55746. if thebits = 0 then
  55747. pTDefRegMap(@Self)^.clr := $00000080
  55748. else
  55749. pTDefRegMap(@Self)^.&set := $00000080;
  55750. end;
  55751. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  55752. begin
  55753. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55754. end;
  55755. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  55756. begin
  55757. pTDefRegMap(@Self)^.val := thebits;
  55758. end;
  55759. function TPORTE_TRISE.getw : TBits_32; inline;
  55760. begin
  55761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55762. end;
  55763. procedure TPORTE_PORTE.setRE0; inline;
  55764. begin
  55765. pTDefRegMap(@Self)^.&set := $00000001;
  55766. end;
  55767. procedure TPORTE_PORTE.clearRE0; inline;
  55768. begin
  55769. pTDefRegMap(@Self)^.clr := $00000001;
  55770. end;
  55771. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  55772. begin
  55773. if thebits = 0 then
  55774. pTDefRegMap(@Self)^.clr := $00000001
  55775. else
  55776. pTDefRegMap(@Self)^.&set := $00000001;
  55777. end;
  55778. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  55779. begin
  55780. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55781. end;
  55782. procedure TPORTE_PORTE.setRE1; inline;
  55783. begin
  55784. pTDefRegMap(@Self)^.&set := $00000002;
  55785. end;
  55786. procedure TPORTE_PORTE.clearRE1; inline;
  55787. begin
  55788. pTDefRegMap(@Self)^.clr := $00000002;
  55789. end;
  55790. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  55791. begin
  55792. if thebits = 0 then
  55793. pTDefRegMap(@Self)^.clr := $00000002
  55794. else
  55795. pTDefRegMap(@Self)^.&set := $00000002;
  55796. end;
  55797. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  55798. begin
  55799. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55800. end;
  55801. procedure TPORTE_PORTE.setRE2; inline;
  55802. begin
  55803. pTDefRegMap(@Self)^.&set := $00000004;
  55804. end;
  55805. procedure TPORTE_PORTE.clearRE2; inline;
  55806. begin
  55807. pTDefRegMap(@Self)^.clr := $00000004;
  55808. end;
  55809. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  55810. begin
  55811. if thebits = 0 then
  55812. pTDefRegMap(@Self)^.clr := $00000004
  55813. else
  55814. pTDefRegMap(@Self)^.&set := $00000004;
  55815. end;
  55816. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  55817. begin
  55818. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55819. end;
  55820. procedure TPORTE_PORTE.setRE3; inline;
  55821. begin
  55822. pTDefRegMap(@Self)^.&set := $00000008;
  55823. end;
  55824. procedure TPORTE_PORTE.clearRE3; inline;
  55825. begin
  55826. pTDefRegMap(@Self)^.clr := $00000008;
  55827. end;
  55828. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  55829. begin
  55830. if thebits = 0 then
  55831. pTDefRegMap(@Self)^.clr := $00000008
  55832. else
  55833. pTDefRegMap(@Self)^.&set := $00000008;
  55834. end;
  55835. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  55836. begin
  55837. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55838. end;
  55839. procedure TPORTE_PORTE.setRE4; inline;
  55840. begin
  55841. pTDefRegMap(@Self)^.&set := $00000010;
  55842. end;
  55843. procedure TPORTE_PORTE.clearRE4; inline;
  55844. begin
  55845. pTDefRegMap(@Self)^.clr := $00000010;
  55846. end;
  55847. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  55848. begin
  55849. if thebits = 0 then
  55850. pTDefRegMap(@Self)^.clr := $00000010
  55851. else
  55852. pTDefRegMap(@Self)^.&set := $00000010;
  55853. end;
  55854. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  55855. begin
  55856. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55857. end;
  55858. procedure TPORTE_PORTE.setRE5; inline;
  55859. begin
  55860. pTDefRegMap(@Self)^.&set := $00000020;
  55861. end;
  55862. procedure TPORTE_PORTE.clearRE5; inline;
  55863. begin
  55864. pTDefRegMap(@Self)^.clr := $00000020;
  55865. end;
  55866. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  55867. begin
  55868. if thebits = 0 then
  55869. pTDefRegMap(@Self)^.clr := $00000020
  55870. else
  55871. pTDefRegMap(@Self)^.&set := $00000020;
  55872. end;
  55873. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  55874. begin
  55875. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55876. end;
  55877. procedure TPORTE_PORTE.setRE6; inline;
  55878. begin
  55879. pTDefRegMap(@Self)^.&set := $00000040;
  55880. end;
  55881. procedure TPORTE_PORTE.clearRE6; inline;
  55882. begin
  55883. pTDefRegMap(@Self)^.clr := $00000040;
  55884. end;
  55885. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  55886. begin
  55887. if thebits = 0 then
  55888. pTDefRegMap(@Self)^.clr := $00000040
  55889. else
  55890. pTDefRegMap(@Self)^.&set := $00000040;
  55891. end;
  55892. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  55893. begin
  55894. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55895. end;
  55896. procedure TPORTE_PORTE.setRE7; inline;
  55897. begin
  55898. pTDefRegMap(@Self)^.&set := $00000080;
  55899. end;
  55900. procedure TPORTE_PORTE.clearRE7; inline;
  55901. begin
  55902. pTDefRegMap(@Self)^.clr := $00000080;
  55903. end;
  55904. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  55905. begin
  55906. if thebits = 0 then
  55907. pTDefRegMap(@Self)^.clr := $00000080
  55908. else
  55909. pTDefRegMap(@Self)^.&set := $00000080;
  55910. end;
  55911. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  55912. begin
  55913. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55914. end;
  55915. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  55916. begin
  55917. pTDefRegMap(@Self)^.val := thebits;
  55918. end;
  55919. function TPORTE_PORTE.getw : TBits_32; inline;
  55920. begin
  55921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55922. end;
  55923. procedure TPORTE_LATE.setLATE0; inline;
  55924. begin
  55925. pTDefRegMap(@Self)^.&set := $00000001;
  55926. end;
  55927. procedure TPORTE_LATE.clearLATE0; inline;
  55928. begin
  55929. pTDefRegMap(@Self)^.clr := $00000001;
  55930. end;
  55931. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  55932. begin
  55933. if thebits = 0 then
  55934. pTDefRegMap(@Self)^.clr := $00000001
  55935. else
  55936. pTDefRegMap(@Self)^.&set := $00000001;
  55937. end;
  55938. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  55939. begin
  55940. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55941. end;
  55942. procedure TPORTE_LATE.setLATE1; inline;
  55943. begin
  55944. pTDefRegMap(@Self)^.&set := $00000002;
  55945. end;
  55946. procedure TPORTE_LATE.clearLATE1; inline;
  55947. begin
  55948. pTDefRegMap(@Self)^.clr := $00000002;
  55949. end;
  55950. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  55951. begin
  55952. if thebits = 0 then
  55953. pTDefRegMap(@Self)^.clr := $00000002
  55954. else
  55955. pTDefRegMap(@Self)^.&set := $00000002;
  55956. end;
  55957. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  55958. begin
  55959. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55960. end;
  55961. procedure TPORTE_LATE.setLATE2; inline;
  55962. begin
  55963. pTDefRegMap(@Self)^.&set := $00000004;
  55964. end;
  55965. procedure TPORTE_LATE.clearLATE2; inline;
  55966. begin
  55967. pTDefRegMap(@Self)^.clr := $00000004;
  55968. end;
  55969. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  55970. begin
  55971. if thebits = 0 then
  55972. pTDefRegMap(@Self)^.clr := $00000004
  55973. else
  55974. pTDefRegMap(@Self)^.&set := $00000004;
  55975. end;
  55976. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  55977. begin
  55978. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55979. end;
  55980. procedure TPORTE_LATE.setLATE3; inline;
  55981. begin
  55982. pTDefRegMap(@Self)^.&set := $00000008;
  55983. end;
  55984. procedure TPORTE_LATE.clearLATE3; inline;
  55985. begin
  55986. pTDefRegMap(@Self)^.clr := $00000008;
  55987. end;
  55988. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  55989. begin
  55990. if thebits = 0 then
  55991. pTDefRegMap(@Self)^.clr := $00000008
  55992. else
  55993. pTDefRegMap(@Self)^.&set := $00000008;
  55994. end;
  55995. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  55996. begin
  55997. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55998. end;
  55999. procedure TPORTE_LATE.setLATE4; inline;
  56000. begin
  56001. pTDefRegMap(@Self)^.&set := $00000010;
  56002. end;
  56003. procedure TPORTE_LATE.clearLATE4; inline;
  56004. begin
  56005. pTDefRegMap(@Self)^.clr := $00000010;
  56006. end;
  56007. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  56008. begin
  56009. if thebits = 0 then
  56010. pTDefRegMap(@Self)^.clr := $00000010
  56011. else
  56012. pTDefRegMap(@Self)^.&set := $00000010;
  56013. end;
  56014. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  56015. begin
  56016. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56017. end;
  56018. procedure TPORTE_LATE.setLATE5; inline;
  56019. begin
  56020. pTDefRegMap(@Self)^.&set := $00000020;
  56021. end;
  56022. procedure TPORTE_LATE.clearLATE5; inline;
  56023. begin
  56024. pTDefRegMap(@Self)^.clr := $00000020;
  56025. end;
  56026. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  56027. begin
  56028. if thebits = 0 then
  56029. pTDefRegMap(@Self)^.clr := $00000020
  56030. else
  56031. pTDefRegMap(@Self)^.&set := $00000020;
  56032. end;
  56033. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  56034. begin
  56035. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56036. end;
  56037. procedure TPORTE_LATE.setLATE6; inline;
  56038. begin
  56039. pTDefRegMap(@Self)^.&set := $00000040;
  56040. end;
  56041. procedure TPORTE_LATE.clearLATE6; inline;
  56042. begin
  56043. pTDefRegMap(@Self)^.clr := $00000040;
  56044. end;
  56045. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  56046. begin
  56047. if thebits = 0 then
  56048. pTDefRegMap(@Self)^.clr := $00000040
  56049. else
  56050. pTDefRegMap(@Self)^.&set := $00000040;
  56051. end;
  56052. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  56053. begin
  56054. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56055. end;
  56056. procedure TPORTE_LATE.setLATE7; inline;
  56057. begin
  56058. pTDefRegMap(@Self)^.&set := $00000080;
  56059. end;
  56060. procedure TPORTE_LATE.clearLATE7; inline;
  56061. begin
  56062. pTDefRegMap(@Self)^.clr := $00000080;
  56063. end;
  56064. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  56065. begin
  56066. if thebits = 0 then
  56067. pTDefRegMap(@Self)^.clr := $00000080
  56068. else
  56069. pTDefRegMap(@Self)^.&set := $00000080;
  56070. end;
  56071. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  56072. begin
  56073. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56074. end;
  56075. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  56076. begin
  56077. pTDefRegMap(@Self)^.val := thebits;
  56078. end;
  56079. function TPORTE_LATE.getw : TBits_32; inline;
  56080. begin
  56081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56082. end;
  56083. procedure TPORTE_ODCE.setODCE0; inline;
  56084. begin
  56085. pTDefRegMap(@Self)^.&set := $00000001;
  56086. end;
  56087. procedure TPORTE_ODCE.clearODCE0; inline;
  56088. begin
  56089. pTDefRegMap(@Self)^.clr := $00000001;
  56090. end;
  56091. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  56092. begin
  56093. if thebits = 0 then
  56094. pTDefRegMap(@Self)^.clr := $00000001
  56095. else
  56096. pTDefRegMap(@Self)^.&set := $00000001;
  56097. end;
  56098. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  56099. begin
  56100. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56101. end;
  56102. procedure TPORTE_ODCE.setODCE1; inline;
  56103. begin
  56104. pTDefRegMap(@Self)^.&set := $00000002;
  56105. end;
  56106. procedure TPORTE_ODCE.clearODCE1; inline;
  56107. begin
  56108. pTDefRegMap(@Self)^.clr := $00000002;
  56109. end;
  56110. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  56111. begin
  56112. if thebits = 0 then
  56113. pTDefRegMap(@Self)^.clr := $00000002
  56114. else
  56115. pTDefRegMap(@Self)^.&set := $00000002;
  56116. end;
  56117. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  56118. begin
  56119. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56120. end;
  56121. procedure TPORTE_ODCE.setODCE2; inline;
  56122. begin
  56123. pTDefRegMap(@Self)^.&set := $00000004;
  56124. end;
  56125. procedure TPORTE_ODCE.clearODCE2; inline;
  56126. begin
  56127. pTDefRegMap(@Self)^.clr := $00000004;
  56128. end;
  56129. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  56130. begin
  56131. if thebits = 0 then
  56132. pTDefRegMap(@Self)^.clr := $00000004
  56133. else
  56134. pTDefRegMap(@Self)^.&set := $00000004;
  56135. end;
  56136. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  56137. begin
  56138. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56139. end;
  56140. procedure TPORTE_ODCE.setODCE3; inline;
  56141. begin
  56142. pTDefRegMap(@Self)^.&set := $00000008;
  56143. end;
  56144. procedure TPORTE_ODCE.clearODCE3; inline;
  56145. begin
  56146. pTDefRegMap(@Self)^.clr := $00000008;
  56147. end;
  56148. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  56149. begin
  56150. if thebits = 0 then
  56151. pTDefRegMap(@Self)^.clr := $00000008
  56152. else
  56153. pTDefRegMap(@Self)^.&set := $00000008;
  56154. end;
  56155. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  56156. begin
  56157. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56158. end;
  56159. procedure TPORTE_ODCE.setODCE4; inline;
  56160. begin
  56161. pTDefRegMap(@Self)^.&set := $00000010;
  56162. end;
  56163. procedure TPORTE_ODCE.clearODCE4; inline;
  56164. begin
  56165. pTDefRegMap(@Self)^.clr := $00000010;
  56166. end;
  56167. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  56168. begin
  56169. if thebits = 0 then
  56170. pTDefRegMap(@Self)^.clr := $00000010
  56171. else
  56172. pTDefRegMap(@Self)^.&set := $00000010;
  56173. end;
  56174. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  56175. begin
  56176. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56177. end;
  56178. procedure TPORTE_ODCE.setODCE5; inline;
  56179. begin
  56180. pTDefRegMap(@Self)^.&set := $00000020;
  56181. end;
  56182. procedure TPORTE_ODCE.clearODCE5; inline;
  56183. begin
  56184. pTDefRegMap(@Self)^.clr := $00000020;
  56185. end;
  56186. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  56187. begin
  56188. if thebits = 0 then
  56189. pTDefRegMap(@Self)^.clr := $00000020
  56190. else
  56191. pTDefRegMap(@Self)^.&set := $00000020;
  56192. end;
  56193. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  56194. begin
  56195. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56196. end;
  56197. procedure TPORTE_ODCE.setODCE6; inline;
  56198. begin
  56199. pTDefRegMap(@Self)^.&set := $00000040;
  56200. end;
  56201. procedure TPORTE_ODCE.clearODCE6; inline;
  56202. begin
  56203. pTDefRegMap(@Self)^.clr := $00000040;
  56204. end;
  56205. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  56206. begin
  56207. if thebits = 0 then
  56208. pTDefRegMap(@Self)^.clr := $00000040
  56209. else
  56210. pTDefRegMap(@Self)^.&set := $00000040;
  56211. end;
  56212. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  56213. begin
  56214. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56215. end;
  56216. procedure TPORTE_ODCE.setODCE7; inline;
  56217. begin
  56218. pTDefRegMap(@Self)^.&set := $00000080;
  56219. end;
  56220. procedure TPORTE_ODCE.clearODCE7; inline;
  56221. begin
  56222. pTDefRegMap(@Self)^.clr := $00000080;
  56223. end;
  56224. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  56225. begin
  56226. if thebits = 0 then
  56227. pTDefRegMap(@Self)^.clr := $00000080
  56228. else
  56229. pTDefRegMap(@Self)^.&set := $00000080;
  56230. end;
  56231. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  56232. begin
  56233. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56234. end;
  56235. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  56236. begin
  56237. pTDefRegMap(@Self)^.val := thebits;
  56238. end;
  56239. function TPORTE_ODCE.getw : TBits_32; inline;
  56240. begin
  56241. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56242. end;
  56243. procedure TPORTF_TRISF.setTRISF0; inline;
  56244. begin
  56245. pTDefRegMap(@Self)^.&set := $00000001;
  56246. end;
  56247. procedure TPORTF_TRISF.clearTRISF0; inline;
  56248. begin
  56249. pTDefRegMap(@Self)^.clr := $00000001;
  56250. end;
  56251. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  56252. begin
  56253. if thebits = 0 then
  56254. pTDefRegMap(@Self)^.clr := $00000001
  56255. else
  56256. pTDefRegMap(@Self)^.&set := $00000001;
  56257. end;
  56258. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  56259. begin
  56260. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56261. end;
  56262. procedure TPORTF_TRISF.setTRISF1; inline;
  56263. begin
  56264. pTDefRegMap(@Self)^.&set := $00000002;
  56265. end;
  56266. procedure TPORTF_TRISF.clearTRISF1; inline;
  56267. begin
  56268. pTDefRegMap(@Self)^.clr := $00000002;
  56269. end;
  56270. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  56271. begin
  56272. if thebits = 0 then
  56273. pTDefRegMap(@Self)^.clr := $00000002
  56274. else
  56275. pTDefRegMap(@Self)^.&set := $00000002;
  56276. end;
  56277. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  56278. begin
  56279. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56280. end;
  56281. procedure TPORTF_TRISF.setTRISF2; inline;
  56282. begin
  56283. pTDefRegMap(@Self)^.&set := $00000004;
  56284. end;
  56285. procedure TPORTF_TRISF.clearTRISF2; inline;
  56286. begin
  56287. pTDefRegMap(@Self)^.clr := $00000004;
  56288. end;
  56289. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  56290. begin
  56291. if thebits = 0 then
  56292. pTDefRegMap(@Self)^.clr := $00000004
  56293. else
  56294. pTDefRegMap(@Self)^.&set := $00000004;
  56295. end;
  56296. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  56297. begin
  56298. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56299. end;
  56300. procedure TPORTF_TRISF.setTRISF3; inline;
  56301. begin
  56302. pTDefRegMap(@Self)^.&set := $00000008;
  56303. end;
  56304. procedure TPORTF_TRISF.clearTRISF3; inline;
  56305. begin
  56306. pTDefRegMap(@Self)^.clr := $00000008;
  56307. end;
  56308. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  56309. begin
  56310. if thebits = 0 then
  56311. pTDefRegMap(@Self)^.clr := $00000008
  56312. else
  56313. pTDefRegMap(@Self)^.&set := $00000008;
  56314. end;
  56315. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  56316. begin
  56317. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56318. end;
  56319. procedure TPORTF_TRISF.setTRISF4; inline;
  56320. begin
  56321. pTDefRegMap(@Self)^.&set := $00000010;
  56322. end;
  56323. procedure TPORTF_TRISF.clearTRISF4; inline;
  56324. begin
  56325. pTDefRegMap(@Self)^.clr := $00000010;
  56326. end;
  56327. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  56328. begin
  56329. if thebits = 0 then
  56330. pTDefRegMap(@Self)^.clr := $00000010
  56331. else
  56332. pTDefRegMap(@Self)^.&set := $00000010;
  56333. end;
  56334. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  56335. begin
  56336. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56337. end;
  56338. procedure TPORTF_TRISF.setTRISF5; inline;
  56339. begin
  56340. pTDefRegMap(@Self)^.&set := $00000020;
  56341. end;
  56342. procedure TPORTF_TRISF.clearTRISF5; inline;
  56343. begin
  56344. pTDefRegMap(@Self)^.clr := $00000020;
  56345. end;
  56346. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  56347. begin
  56348. if thebits = 0 then
  56349. pTDefRegMap(@Self)^.clr := $00000020
  56350. else
  56351. pTDefRegMap(@Self)^.&set := $00000020;
  56352. end;
  56353. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  56354. begin
  56355. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56356. end;
  56357. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  56358. begin
  56359. pTDefRegMap(@Self)^.val := thebits;
  56360. end;
  56361. function TPORTF_TRISF.getw : TBits_32; inline;
  56362. begin
  56363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56364. end;
  56365. procedure TPORTF_PORTF.setRF0; inline;
  56366. begin
  56367. pTDefRegMap(@Self)^.&set := $00000001;
  56368. end;
  56369. procedure TPORTF_PORTF.clearRF0; inline;
  56370. begin
  56371. pTDefRegMap(@Self)^.clr := $00000001;
  56372. end;
  56373. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  56374. begin
  56375. if thebits = 0 then
  56376. pTDefRegMap(@Self)^.clr := $00000001
  56377. else
  56378. pTDefRegMap(@Self)^.&set := $00000001;
  56379. end;
  56380. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  56381. begin
  56382. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56383. end;
  56384. procedure TPORTF_PORTF.setRF1; inline;
  56385. begin
  56386. pTDefRegMap(@Self)^.&set := $00000002;
  56387. end;
  56388. procedure TPORTF_PORTF.clearRF1; inline;
  56389. begin
  56390. pTDefRegMap(@Self)^.clr := $00000002;
  56391. end;
  56392. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  56393. begin
  56394. if thebits = 0 then
  56395. pTDefRegMap(@Self)^.clr := $00000002
  56396. else
  56397. pTDefRegMap(@Self)^.&set := $00000002;
  56398. end;
  56399. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  56400. begin
  56401. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56402. end;
  56403. procedure TPORTF_PORTF.setRF2; inline;
  56404. begin
  56405. pTDefRegMap(@Self)^.&set := $00000004;
  56406. end;
  56407. procedure TPORTF_PORTF.clearRF2; inline;
  56408. begin
  56409. pTDefRegMap(@Self)^.clr := $00000004;
  56410. end;
  56411. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  56412. begin
  56413. if thebits = 0 then
  56414. pTDefRegMap(@Self)^.clr := $00000004
  56415. else
  56416. pTDefRegMap(@Self)^.&set := $00000004;
  56417. end;
  56418. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  56419. begin
  56420. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56421. end;
  56422. procedure TPORTF_PORTF.setRF3; inline;
  56423. begin
  56424. pTDefRegMap(@Self)^.&set := $00000008;
  56425. end;
  56426. procedure TPORTF_PORTF.clearRF3; inline;
  56427. begin
  56428. pTDefRegMap(@Self)^.clr := $00000008;
  56429. end;
  56430. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  56431. begin
  56432. if thebits = 0 then
  56433. pTDefRegMap(@Self)^.clr := $00000008
  56434. else
  56435. pTDefRegMap(@Self)^.&set := $00000008;
  56436. end;
  56437. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  56438. begin
  56439. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56440. end;
  56441. procedure TPORTF_PORTF.setRF4; inline;
  56442. begin
  56443. pTDefRegMap(@Self)^.&set := $00000010;
  56444. end;
  56445. procedure TPORTF_PORTF.clearRF4; inline;
  56446. begin
  56447. pTDefRegMap(@Self)^.clr := $00000010;
  56448. end;
  56449. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  56450. begin
  56451. if thebits = 0 then
  56452. pTDefRegMap(@Self)^.clr := $00000010
  56453. else
  56454. pTDefRegMap(@Self)^.&set := $00000010;
  56455. end;
  56456. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  56457. begin
  56458. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56459. end;
  56460. procedure TPORTF_PORTF.setRF5; inline;
  56461. begin
  56462. pTDefRegMap(@Self)^.&set := $00000020;
  56463. end;
  56464. procedure TPORTF_PORTF.clearRF5; inline;
  56465. begin
  56466. pTDefRegMap(@Self)^.clr := $00000020;
  56467. end;
  56468. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  56469. begin
  56470. if thebits = 0 then
  56471. pTDefRegMap(@Self)^.clr := $00000020
  56472. else
  56473. pTDefRegMap(@Self)^.&set := $00000020;
  56474. end;
  56475. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  56476. begin
  56477. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56478. end;
  56479. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  56480. begin
  56481. pTDefRegMap(@Self)^.val := thebits;
  56482. end;
  56483. function TPORTF_PORTF.getw : TBits_32; inline;
  56484. begin
  56485. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56486. end;
  56487. procedure TPORTF_LATF.setLATF0; inline;
  56488. begin
  56489. pTDefRegMap(@Self)^.&set := $00000001;
  56490. end;
  56491. procedure TPORTF_LATF.clearLATF0; inline;
  56492. begin
  56493. pTDefRegMap(@Self)^.clr := $00000001;
  56494. end;
  56495. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  56496. begin
  56497. if thebits = 0 then
  56498. pTDefRegMap(@Self)^.clr := $00000001
  56499. else
  56500. pTDefRegMap(@Self)^.&set := $00000001;
  56501. end;
  56502. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  56503. begin
  56504. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56505. end;
  56506. procedure TPORTF_LATF.setLATF1; inline;
  56507. begin
  56508. pTDefRegMap(@Self)^.&set := $00000002;
  56509. end;
  56510. procedure TPORTF_LATF.clearLATF1; inline;
  56511. begin
  56512. pTDefRegMap(@Self)^.clr := $00000002;
  56513. end;
  56514. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  56515. begin
  56516. if thebits = 0 then
  56517. pTDefRegMap(@Self)^.clr := $00000002
  56518. else
  56519. pTDefRegMap(@Self)^.&set := $00000002;
  56520. end;
  56521. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  56522. begin
  56523. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56524. end;
  56525. procedure TPORTF_LATF.setLATF2; inline;
  56526. begin
  56527. pTDefRegMap(@Self)^.&set := $00000004;
  56528. end;
  56529. procedure TPORTF_LATF.clearLATF2; inline;
  56530. begin
  56531. pTDefRegMap(@Self)^.clr := $00000004;
  56532. end;
  56533. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  56534. begin
  56535. if thebits = 0 then
  56536. pTDefRegMap(@Self)^.clr := $00000004
  56537. else
  56538. pTDefRegMap(@Self)^.&set := $00000004;
  56539. end;
  56540. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  56541. begin
  56542. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56543. end;
  56544. procedure TPORTF_LATF.setLATF3; inline;
  56545. begin
  56546. pTDefRegMap(@Self)^.&set := $00000008;
  56547. end;
  56548. procedure TPORTF_LATF.clearLATF3; inline;
  56549. begin
  56550. pTDefRegMap(@Self)^.clr := $00000008;
  56551. end;
  56552. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  56553. begin
  56554. if thebits = 0 then
  56555. pTDefRegMap(@Self)^.clr := $00000008
  56556. else
  56557. pTDefRegMap(@Self)^.&set := $00000008;
  56558. end;
  56559. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  56560. begin
  56561. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56562. end;
  56563. procedure TPORTF_LATF.setLATF4; inline;
  56564. begin
  56565. pTDefRegMap(@Self)^.&set := $00000010;
  56566. end;
  56567. procedure TPORTF_LATF.clearLATF4; inline;
  56568. begin
  56569. pTDefRegMap(@Self)^.clr := $00000010;
  56570. end;
  56571. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  56572. begin
  56573. if thebits = 0 then
  56574. pTDefRegMap(@Self)^.clr := $00000010
  56575. else
  56576. pTDefRegMap(@Self)^.&set := $00000010;
  56577. end;
  56578. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  56579. begin
  56580. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56581. end;
  56582. procedure TPORTF_LATF.setLATF5; inline;
  56583. begin
  56584. pTDefRegMap(@Self)^.&set := $00000020;
  56585. end;
  56586. procedure TPORTF_LATF.clearLATF5; inline;
  56587. begin
  56588. pTDefRegMap(@Self)^.clr := $00000020;
  56589. end;
  56590. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  56591. begin
  56592. if thebits = 0 then
  56593. pTDefRegMap(@Self)^.clr := $00000020
  56594. else
  56595. pTDefRegMap(@Self)^.&set := $00000020;
  56596. end;
  56597. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  56598. begin
  56599. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56600. end;
  56601. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  56602. begin
  56603. pTDefRegMap(@Self)^.val := thebits;
  56604. end;
  56605. function TPORTF_LATF.getw : TBits_32; inline;
  56606. begin
  56607. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56608. end;
  56609. procedure TPORTF_ODCF.setODCF0; inline;
  56610. begin
  56611. pTDefRegMap(@Self)^.&set := $00000001;
  56612. end;
  56613. procedure TPORTF_ODCF.clearODCF0; inline;
  56614. begin
  56615. pTDefRegMap(@Self)^.clr := $00000001;
  56616. end;
  56617. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  56618. begin
  56619. if thebits = 0 then
  56620. pTDefRegMap(@Self)^.clr := $00000001
  56621. else
  56622. pTDefRegMap(@Self)^.&set := $00000001;
  56623. end;
  56624. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  56625. begin
  56626. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56627. end;
  56628. procedure TPORTF_ODCF.setODCF1; inline;
  56629. begin
  56630. pTDefRegMap(@Self)^.&set := $00000002;
  56631. end;
  56632. procedure TPORTF_ODCF.clearODCF1; inline;
  56633. begin
  56634. pTDefRegMap(@Self)^.clr := $00000002;
  56635. end;
  56636. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  56637. begin
  56638. if thebits = 0 then
  56639. pTDefRegMap(@Self)^.clr := $00000002
  56640. else
  56641. pTDefRegMap(@Self)^.&set := $00000002;
  56642. end;
  56643. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  56644. begin
  56645. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56646. end;
  56647. procedure TPORTF_ODCF.setODCF2; inline;
  56648. begin
  56649. pTDefRegMap(@Self)^.&set := $00000004;
  56650. end;
  56651. procedure TPORTF_ODCF.clearODCF2; inline;
  56652. begin
  56653. pTDefRegMap(@Self)^.clr := $00000004;
  56654. end;
  56655. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  56656. begin
  56657. if thebits = 0 then
  56658. pTDefRegMap(@Self)^.clr := $00000004
  56659. else
  56660. pTDefRegMap(@Self)^.&set := $00000004;
  56661. end;
  56662. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  56663. begin
  56664. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56665. end;
  56666. procedure TPORTF_ODCF.setODCF3; inline;
  56667. begin
  56668. pTDefRegMap(@Self)^.&set := $00000008;
  56669. end;
  56670. procedure TPORTF_ODCF.clearODCF3; inline;
  56671. begin
  56672. pTDefRegMap(@Self)^.clr := $00000008;
  56673. end;
  56674. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  56675. begin
  56676. if thebits = 0 then
  56677. pTDefRegMap(@Self)^.clr := $00000008
  56678. else
  56679. pTDefRegMap(@Self)^.&set := $00000008;
  56680. end;
  56681. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  56682. begin
  56683. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56684. end;
  56685. procedure TPORTF_ODCF.setODCF4; inline;
  56686. begin
  56687. pTDefRegMap(@Self)^.&set := $00000010;
  56688. end;
  56689. procedure TPORTF_ODCF.clearODCF4; inline;
  56690. begin
  56691. pTDefRegMap(@Self)^.clr := $00000010;
  56692. end;
  56693. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  56694. begin
  56695. if thebits = 0 then
  56696. pTDefRegMap(@Self)^.clr := $00000010
  56697. else
  56698. pTDefRegMap(@Self)^.&set := $00000010;
  56699. end;
  56700. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  56701. begin
  56702. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56703. end;
  56704. procedure TPORTF_ODCF.setODCF5; inline;
  56705. begin
  56706. pTDefRegMap(@Self)^.&set := $00000020;
  56707. end;
  56708. procedure TPORTF_ODCF.clearODCF5; inline;
  56709. begin
  56710. pTDefRegMap(@Self)^.clr := $00000020;
  56711. end;
  56712. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  56713. begin
  56714. if thebits = 0 then
  56715. pTDefRegMap(@Self)^.clr := $00000020
  56716. else
  56717. pTDefRegMap(@Self)^.&set := $00000020;
  56718. end;
  56719. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  56720. begin
  56721. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56722. end;
  56723. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  56724. begin
  56725. pTDefRegMap(@Self)^.val := thebits;
  56726. end;
  56727. function TPORTF_ODCF.getw : TBits_32; inline;
  56728. begin
  56729. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56730. end;
  56731. procedure TPORTG_TRISG.setTRISG2; inline;
  56732. begin
  56733. pTDefRegMap(@Self)^.&set := $00000004;
  56734. end;
  56735. procedure TPORTG_TRISG.clearTRISG2; inline;
  56736. begin
  56737. pTDefRegMap(@Self)^.clr := $00000004;
  56738. end;
  56739. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  56740. begin
  56741. if thebits = 0 then
  56742. pTDefRegMap(@Self)^.clr := $00000004
  56743. else
  56744. pTDefRegMap(@Self)^.&set := $00000004;
  56745. end;
  56746. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  56747. begin
  56748. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56749. end;
  56750. procedure TPORTG_TRISG.setTRISG3; inline;
  56751. begin
  56752. pTDefRegMap(@Self)^.&set := $00000008;
  56753. end;
  56754. procedure TPORTG_TRISG.clearTRISG3; inline;
  56755. begin
  56756. pTDefRegMap(@Self)^.clr := $00000008;
  56757. end;
  56758. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  56759. begin
  56760. if thebits = 0 then
  56761. pTDefRegMap(@Self)^.clr := $00000008
  56762. else
  56763. pTDefRegMap(@Self)^.&set := $00000008;
  56764. end;
  56765. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  56766. begin
  56767. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56768. end;
  56769. procedure TPORTG_TRISG.setTRISG6; inline;
  56770. begin
  56771. pTDefRegMap(@Self)^.&set := $00000040;
  56772. end;
  56773. procedure TPORTG_TRISG.clearTRISG6; inline;
  56774. begin
  56775. pTDefRegMap(@Self)^.clr := $00000040;
  56776. end;
  56777. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  56778. begin
  56779. if thebits = 0 then
  56780. pTDefRegMap(@Self)^.clr := $00000040
  56781. else
  56782. pTDefRegMap(@Self)^.&set := $00000040;
  56783. end;
  56784. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  56785. begin
  56786. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56787. end;
  56788. procedure TPORTG_TRISG.setTRISG7; inline;
  56789. begin
  56790. pTDefRegMap(@Self)^.&set := $00000080;
  56791. end;
  56792. procedure TPORTG_TRISG.clearTRISG7; inline;
  56793. begin
  56794. pTDefRegMap(@Self)^.clr := $00000080;
  56795. end;
  56796. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  56797. begin
  56798. if thebits = 0 then
  56799. pTDefRegMap(@Self)^.clr := $00000080
  56800. else
  56801. pTDefRegMap(@Self)^.&set := $00000080;
  56802. end;
  56803. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  56804. begin
  56805. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56806. end;
  56807. procedure TPORTG_TRISG.setTRISG8; inline;
  56808. begin
  56809. pTDefRegMap(@Self)^.&set := $00000100;
  56810. end;
  56811. procedure TPORTG_TRISG.clearTRISG8; inline;
  56812. begin
  56813. pTDefRegMap(@Self)^.clr := $00000100;
  56814. end;
  56815. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  56816. begin
  56817. if thebits = 0 then
  56818. pTDefRegMap(@Self)^.clr := $00000100
  56819. else
  56820. pTDefRegMap(@Self)^.&set := $00000100;
  56821. end;
  56822. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  56823. begin
  56824. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56825. end;
  56826. procedure TPORTG_TRISG.setTRISG9; inline;
  56827. begin
  56828. pTDefRegMap(@Self)^.&set := $00000200;
  56829. end;
  56830. procedure TPORTG_TRISG.clearTRISG9; inline;
  56831. begin
  56832. pTDefRegMap(@Self)^.clr := $00000200;
  56833. end;
  56834. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  56835. begin
  56836. if thebits = 0 then
  56837. pTDefRegMap(@Self)^.clr := $00000200
  56838. else
  56839. pTDefRegMap(@Self)^.&set := $00000200;
  56840. end;
  56841. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  56842. begin
  56843. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56844. end;
  56845. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  56846. begin
  56847. pTDefRegMap(@Self)^.val := thebits;
  56848. end;
  56849. function TPORTG_TRISG.getw : TBits_32; inline;
  56850. begin
  56851. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56852. end;
  56853. procedure TPORTG_PORTG.setRG2; inline;
  56854. begin
  56855. pTDefRegMap(@Self)^.&set := $00000004;
  56856. end;
  56857. procedure TPORTG_PORTG.clearRG2; inline;
  56858. begin
  56859. pTDefRegMap(@Self)^.clr := $00000004;
  56860. end;
  56861. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  56862. begin
  56863. if thebits = 0 then
  56864. pTDefRegMap(@Self)^.clr := $00000004
  56865. else
  56866. pTDefRegMap(@Self)^.&set := $00000004;
  56867. end;
  56868. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  56869. begin
  56870. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56871. end;
  56872. procedure TPORTG_PORTG.setRG3; inline;
  56873. begin
  56874. pTDefRegMap(@Self)^.&set := $00000008;
  56875. end;
  56876. procedure TPORTG_PORTG.clearRG3; inline;
  56877. begin
  56878. pTDefRegMap(@Self)^.clr := $00000008;
  56879. end;
  56880. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  56881. begin
  56882. if thebits = 0 then
  56883. pTDefRegMap(@Self)^.clr := $00000008
  56884. else
  56885. pTDefRegMap(@Self)^.&set := $00000008;
  56886. end;
  56887. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  56888. begin
  56889. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56890. end;
  56891. procedure TPORTG_PORTG.setRG6; inline;
  56892. begin
  56893. pTDefRegMap(@Self)^.&set := $00000040;
  56894. end;
  56895. procedure TPORTG_PORTG.clearRG6; inline;
  56896. begin
  56897. pTDefRegMap(@Self)^.clr := $00000040;
  56898. end;
  56899. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  56900. begin
  56901. if thebits = 0 then
  56902. pTDefRegMap(@Self)^.clr := $00000040
  56903. else
  56904. pTDefRegMap(@Self)^.&set := $00000040;
  56905. end;
  56906. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  56907. begin
  56908. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56909. end;
  56910. procedure TPORTG_PORTG.setRG7; inline;
  56911. begin
  56912. pTDefRegMap(@Self)^.&set := $00000080;
  56913. end;
  56914. procedure TPORTG_PORTG.clearRG7; inline;
  56915. begin
  56916. pTDefRegMap(@Self)^.clr := $00000080;
  56917. end;
  56918. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  56919. begin
  56920. if thebits = 0 then
  56921. pTDefRegMap(@Self)^.clr := $00000080
  56922. else
  56923. pTDefRegMap(@Self)^.&set := $00000080;
  56924. end;
  56925. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  56926. begin
  56927. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56928. end;
  56929. procedure TPORTG_PORTG.setRG8; inline;
  56930. begin
  56931. pTDefRegMap(@Self)^.&set := $00000100;
  56932. end;
  56933. procedure TPORTG_PORTG.clearRG8; inline;
  56934. begin
  56935. pTDefRegMap(@Self)^.clr := $00000100;
  56936. end;
  56937. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  56938. begin
  56939. if thebits = 0 then
  56940. pTDefRegMap(@Self)^.clr := $00000100
  56941. else
  56942. pTDefRegMap(@Self)^.&set := $00000100;
  56943. end;
  56944. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  56945. begin
  56946. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56947. end;
  56948. procedure TPORTG_PORTG.setRG9; inline;
  56949. begin
  56950. pTDefRegMap(@Self)^.&set := $00000200;
  56951. end;
  56952. procedure TPORTG_PORTG.clearRG9; inline;
  56953. begin
  56954. pTDefRegMap(@Self)^.clr := $00000200;
  56955. end;
  56956. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  56957. begin
  56958. if thebits = 0 then
  56959. pTDefRegMap(@Self)^.clr := $00000200
  56960. else
  56961. pTDefRegMap(@Self)^.&set := $00000200;
  56962. end;
  56963. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  56964. begin
  56965. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56966. end;
  56967. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  56968. begin
  56969. pTDefRegMap(@Self)^.val := thebits;
  56970. end;
  56971. function TPORTG_PORTG.getw : TBits_32; inline;
  56972. begin
  56973. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56974. end;
  56975. procedure TPORTG_LATG.setLATG2; inline;
  56976. begin
  56977. pTDefRegMap(@Self)^.&set := $00000004;
  56978. end;
  56979. procedure TPORTG_LATG.clearLATG2; inline;
  56980. begin
  56981. pTDefRegMap(@Self)^.clr := $00000004;
  56982. end;
  56983. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  56984. begin
  56985. if thebits = 0 then
  56986. pTDefRegMap(@Self)^.clr := $00000004
  56987. else
  56988. pTDefRegMap(@Self)^.&set := $00000004;
  56989. end;
  56990. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  56991. begin
  56992. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56993. end;
  56994. procedure TPORTG_LATG.setLATG3; inline;
  56995. begin
  56996. pTDefRegMap(@Self)^.&set := $00000008;
  56997. end;
  56998. procedure TPORTG_LATG.clearLATG3; inline;
  56999. begin
  57000. pTDefRegMap(@Self)^.clr := $00000008;
  57001. end;
  57002. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  57003. begin
  57004. if thebits = 0 then
  57005. pTDefRegMap(@Self)^.clr := $00000008
  57006. else
  57007. pTDefRegMap(@Self)^.&set := $00000008;
  57008. end;
  57009. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  57010. begin
  57011. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57012. end;
  57013. procedure TPORTG_LATG.setLATG6; inline;
  57014. begin
  57015. pTDefRegMap(@Self)^.&set := $00000040;
  57016. end;
  57017. procedure TPORTG_LATG.clearLATG6; inline;
  57018. begin
  57019. pTDefRegMap(@Self)^.clr := $00000040;
  57020. end;
  57021. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  57022. begin
  57023. if thebits = 0 then
  57024. pTDefRegMap(@Self)^.clr := $00000040
  57025. else
  57026. pTDefRegMap(@Self)^.&set := $00000040;
  57027. end;
  57028. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  57029. begin
  57030. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57031. end;
  57032. procedure TPORTG_LATG.setLATG7; inline;
  57033. begin
  57034. pTDefRegMap(@Self)^.&set := $00000080;
  57035. end;
  57036. procedure TPORTG_LATG.clearLATG7; inline;
  57037. begin
  57038. pTDefRegMap(@Self)^.clr := $00000080;
  57039. end;
  57040. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  57041. begin
  57042. if thebits = 0 then
  57043. pTDefRegMap(@Self)^.clr := $00000080
  57044. else
  57045. pTDefRegMap(@Self)^.&set := $00000080;
  57046. end;
  57047. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  57048. begin
  57049. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57050. end;
  57051. procedure TPORTG_LATG.setLATG8; inline;
  57052. begin
  57053. pTDefRegMap(@Self)^.&set := $00000100;
  57054. end;
  57055. procedure TPORTG_LATG.clearLATG8; inline;
  57056. begin
  57057. pTDefRegMap(@Self)^.clr := $00000100;
  57058. end;
  57059. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  57060. begin
  57061. if thebits = 0 then
  57062. pTDefRegMap(@Self)^.clr := $00000100
  57063. else
  57064. pTDefRegMap(@Self)^.&set := $00000100;
  57065. end;
  57066. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  57067. begin
  57068. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57069. end;
  57070. procedure TPORTG_LATG.setLATG9; inline;
  57071. begin
  57072. pTDefRegMap(@Self)^.&set := $00000200;
  57073. end;
  57074. procedure TPORTG_LATG.clearLATG9; inline;
  57075. begin
  57076. pTDefRegMap(@Self)^.clr := $00000200;
  57077. end;
  57078. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  57079. begin
  57080. if thebits = 0 then
  57081. pTDefRegMap(@Self)^.clr := $00000200
  57082. else
  57083. pTDefRegMap(@Self)^.&set := $00000200;
  57084. end;
  57085. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  57086. begin
  57087. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57088. end;
  57089. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  57090. begin
  57091. pTDefRegMap(@Self)^.val := thebits;
  57092. end;
  57093. function TPORTG_LATG.getw : TBits_32; inline;
  57094. begin
  57095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57096. end;
  57097. procedure TPORTG_ODCG.setODCG2; inline;
  57098. begin
  57099. pTDefRegMap(@Self)^.&set := $00000004;
  57100. end;
  57101. procedure TPORTG_ODCG.clearODCG2; inline;
  57102. begin
  57103. pTDefRegMap(@Self)^.clr := $00000004;
  57104. end;
  57105. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  57106. begin
  57107. if thebits = 0 then
  57108. pTDefRegMap(@Self)^.clr := $00000004
  57109. else
  57110. pTDefRegMap(@Self)^.&set := $00000004;
  57111. end;
  57112. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  57113. begin
  57114. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57115. end;
  57116. procedure TPORTG_ODCG.setODCG3; inline;
  57117. begin
  57118. pTDefRegMap(@Self)^.&set := $00000008;
  57119. end;
  57120. procedure TPORTG_ODCG.clearODCG3; inline;
  57121. begin
  57122. pTDefRegMap(@Self)^.clr := $00000008;
  57123. end;
  57124. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  57125. begin
  57126. if thebits = 0 then
  57127. pTDefRegMap(@Self)^.clr := $00000008
  57128. else
  57129. pTDefRegMap(@Self)^.&set := $00000008;
  57130. end;
  57131. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  57132. begin
  57133. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57134. end;
  57135. procedure TPORTG_ODCG.setODCG6; inline;
  57136. begin
  57137. pTDefRegMap(@Self)^.&set := $00000040;
  57138. end;
  57139. procedure TPORTG_ODCG.clearODCG6; inline;
  57140. begin
  57141. pTDefRegMap(@Self)^.clr := $00000040;
  57142. end;
  57143. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  57144. begin
  57145. if thebits = 0 then
  57146. pTDefRegMap(@Self)^.clr := $00000040
  57147. else
  57148. pTDefRegMap(@Self)^.&set := $00000040;
  57149. end;
  57150. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  57151. begin
  57152. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57153. end;
  57154. procedure TPORTG_ODCG.setODCG7; inline;
  57155. begin
  57156. pTDefRegMap(@Self)^.&set := $00000080;
  57157. end;
  57158. procedure TPORTG_ODCG.clearODCG7; inline;
  57159. begin
  57160. pTDefRegMap(@Self)^.clr := $00000080;
  57161. end;
  57162. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  57163. begin
  57164. if thebits = 0 then
  57165. pTDefRegMap(@Self)^.clr := $00000080
  57166. else
  57167. pTDefRegMap(@Self)^.&set := $00000080;
  57168. end;
  57169. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  57170. begin
  57171. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57172. end;
  57173. procedure TPORTG_ODCG.setODCG8; inline;
  57174. begin
  57175. pTDefRegMap(@Self)^.&set := $00000100;
  57176. end;
  57177. procedure TPORTG_ODCG.clearODCG8; inline;
  57178. begin
  57179. pTDefRegMap(@Self)^.clr := $00000100;
  57180. end;
  57181. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  57182. begin
  57183. if thebits = 0 then
  57184. pTDefRegMap(@Self)^.clr := $00000100
  57185. else
  57186. pTDefRegMap(@Self)^.&set := $00000100;
  57187. end;
  57188. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  57189. begin
  57190. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57191. end;
  57192. procedure TPORTG_ODCG.setODCG9; inline;
  57193. begin
  57194. pTDefRegMap(@Self)^.&set := $00000200;
  57195. end;
  57196. procedure TPORTG_ODCG.clearODCG9; inline;
  57197. begin
  57198. pTDefRegMap(@Self)^.clr := $00000200;
  57199. end;
  57200. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  57201. begin
  57202. if thebits = 0 then
  57203. pTDefRegMap(@Self)^.clr := $00000200
  57204. else
  57205. pTDefRegMap(@Self)^.&set := $00000200;
  57206. end;
  57207. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  57208. begin
  57209. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57210. end;
  57211. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  57212. begin
  57213. pTDefRegMap(@Self)^.val := thebits;
  57214. end;
  57215. function TPORTG_ODCG.getw : TBits_32; inline;
  57216. begin
  57217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57218. end;
  57219. procedure TPORTG_CNCON.setSIDL; inline;
  57220. begin
  57221. pTDefRegMap(@Self)^.&set := $00002000;
  57222. end;
  57223. procedure TPORTG_CNCON.clearSIDL; inline;
  57224. begin
  57225. pTDefRegMap(@Self)^.clr := $00002000;
  57226. end;
  57227. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  57228. begin
  57229. if thebits = 0 then
  57230. pTDefRegMap(@Self)^.clr := $00002000
  57231. else
  57232. pTDefRegMap(@Self)^.&set := $00002000;
  57233. end;
  57234. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  57235. begin
  57236. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57237. end;
  57238. procedure TPORTG_CNCON.setON; inline;
  57239. begin
  57240. pTDefRegMap(@Self)^.&set := $00008000;
  57241. end;
  57242. procedure TPORTG_CNCON.clearON; inline;
  57243. begin
  57244. pTDefRegMap(@Self)^.clr := $00008000;
  57245. end;
  57246. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  57247. begin
  57248. if thebits = 0 then
  57249. pTDefRegMap(@Self)^.clr := $00008000
  57250. else
  57251. pTDefRegMap(@Self)^.&set := $00008000;
  57252. end;
  57253. function TPORTG_CNCON.getON : TBits_1; inline;
  57254. begin
  57255. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57256. end;
  57257. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  57258. begin
  57259. pTDefRegMap(@Self)^.val := thebits;
  57260. end;
  57261. function TPORTG_CNCON.getw : TBits_32; inline;
  57262. begin
  57263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57264. end;
  57265. procedure TPORTG_CNEN.setCNEN0; inline;
  57266. begin
  57267. pTDefRegMap(@Self)^.&set := $00000001;
  57268. end;
  57269. procedure TPORTG_CNEN.clearCNEN0; inline;
  57270. begin
  57271. pTDefRegMap(@Self)^.clr := $00000001;
  57272. end;
  57273. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  57274. begin
  57275. if thebits = 0 then
  57276. pTDefRegMap(@Self)^.clr := $00000001
  57277. else
  57278. pTDefRegMap(@Self)^.&set := $00000001;
  57279. end;
  57280. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  57281. begin
  57282. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57283. end;
  57284. procedure TPORTG_CNEN.setCNEN1; inline;
  57285. begin
  57286. pTDefRegMap(@Self)^.&set := $00000002;
  57287. end;
  57288. procedure TPORTG_CNEN.clearCNEN1; inline;
  57289. begin
  57290. pTDefRegMap(@Self)^.clr := $00000002;
  57291. end;
  57292. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  57293. begin
  57294. if thebits = 0 then
  57295. pTDefRegMap(@Self)^.clr := $00000002
  57296. else
  57297. pTDefRegMap(@Self)^.&set := $00000002;
  57298. end;
  57299. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  57300. begin
  57301. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57302. end;
  57303. procedure TPORTG_CNEN.setCNEN2; inline;
  57304. begin
  57305. pTDefRegMap(@Self)^.&set := $00000004;
  57306. end;
  57307. procedure TPORTG_CNEN.clearCNEN2; inline;
  57308. begin
  57309. pTDefRegMap(@Self)^.clr := $00000004;
  57310. end;
  57311. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  57312. begin
  57313. if thebits = 0 then
  57314. pTDefRegMap(@Self)^.clr := $00000004
  57315. else
  57316. pTDefRegMap(@Self)^.&set := $00000004;
  57317. end;
  57318. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  57319. begin
  57320. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57321. end;
  57322. procedure TPORTG_CNEN.setCNEN3; inline;
  57323. begin
  57324. pTDefRegMap(@Self)^.&set := $00000008;
  57325. end;
  57326. procedure TPORTG_CNEN.clearCNEN3; inline;
  57327. begin
  57328. pTDefRegMap(@Self)^.clr := $00000008;
  57329. end;
  57330. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  57331. begin
  57332. if thebits = 0 then
  57333. pTDefRegMap(@Self)^.clr := $00000008
  57334. else
  57335. pTDefRegMap(@Self)^.&set := $00000008;
  57336. end;
  57337. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  57338. begin
  57339. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57340. end;
  57341. procedure TPORTG_CNEN.setCNEN4; inline;
  57342. begin
  57343. pTDefRegMap(@Self)^.&set := $00000010;
  57344. end;
  57345. procedure TPORTG_CNEN.clearCNEN4; inline;
  57346. begin
  57347. pTDefRegMap(@Self)^.clr := $00000010;
  57348. end;
  57349. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  57350. begin
  57351. if thebits = 0 then
  57352. pTDefRegMap(@Self)^.clr := $00000010
  57353. else
  57354. pTDefRegMap(@Self)^.&set := $00000010;
  57355. end;
  57356. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  57357. begin
  57358. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57359. end;
  57360. procedure TPORTG_CNEN.setCNEN5; inline;
  57361. begin
  57362. pTDefRegMap(@Self)^.&set := $00000020;
  57363. end;
  57364. procedure TPORTG_CNEN.clearCNEN5; inline;
  57365. begin
  57366. pTDefRegMap(@Self)^.clr := $00000020;
  57367. end;
  57368. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  57369. begin
  57370. if thebits = 0 then
  57371. pTDefRegMap(@Self)^.clr := $00000020
  57372. else
  57373. pTDefRegMap(@Self)^.&set := $00000020;
  57374. end;
  57375. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  57376. begin
  57377. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57378. end;
  57379. procedure TPORTG_CNEN.setCNEN6; inline;
  57380. begin
  57381. pTDefRegMap(@Self)^.&set := $00000040;
  57382. end;
  57383. procedure TPORTG_CNEN.clearCNEN6; inline;
  57384. begin
  57385. pTDefRegMap(@Self)^.clr := $00000040;
  57386. end;
  57387. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  57388. begin
  57389. if thebits = 0 then
  57390. pTDefRegMap(@Self)^.clr := $00000040
  57391. else
  57392. pTDefRegMap(@Self)^.&set := $00000040;
  57393. end;
  57394. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  57395. begin
  57396. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57397. end;
  57398. procedure TPORTG_CNEN.setCNEN7; inline;
  57399. begin
  57400. pTDefRegMap(@Self)^.&set := $00000080;
  57401. end;
  57402. procedure TPORTG_CNEN.clearCNEN7; inline;
  57403. begin
  57404. pTDefRegMap(@Self)^.clr := $00000080;
  57405. end;
  57406. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  57407. begin
  57408. if thebits = 0 then
  57409. pTDefRegMap(@Self)^.clr := $00000080
  57410. else
  57411. pTDefRegMap(@Self)^.&set := $00000080;
  57412. end;
  57413. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  57414. begin
  57415. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57416. end;
  57417. procedure TPORTG_CNEN.setCNEN8; inline;
  57418. begin
  57419. pTDefRegMap(@Self)^.&set := $00000100;
  57420. end;
  57421. procedure TPORTG_CNEN.clearCNEN8; inline;
  57422. begin
  57423. pTDefRegMap(@Self)^.clr := $00000100;
  57424. end;
  57425. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  57426. begin
  57427. if thebits = 0 then
  57428. pTDefRegMap(@Self)^.clr := $00000100
  57429. else
  57430. pTDefRegMap(@Self)^.&set := $00000100;
  57431. end;
  57432. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  57433. begin
  57434. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57435. end;
  57436. procedure TPORTG_CNEN.setCNEN9; inline;
  57437. begin
  57438. pTDefRegMap(@Self)^.&set := $00000200;
  57439. end;
  57440. procedure TPORTG_CNEN.clearCNEN9; inline;
  57441. begin
  57442. pTDefRegMap(@Self)^.clr := $00000200;
  57443. end;
  57444. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  57445. begin
  57446. if thebits = 0 then
  57447. pTDefRegMap(@Self)^.clr := $00000200
  57448. else
  57449. pTDefRegMap(@Self)^.&set := $00000200;
  57450. end;
  57451. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  57452. begin
  57453. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57454. end;
  57455. procedure TPORTG_CNEN.setCNEN10; inline;
  57456. begin
  57457. pTDefRegMap(@Self)^.&set := $00000400;
  57458. end;
  57459. procedure TPORTG_CNEN.clearCNEN10; inline;
  57460. begin
  57461. pTDefRegMap(@Self)^.clr := $00000400;
  57462. end;
  57463. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  57464. begin
  57465. if thebits = 0 then
  57466. pTDefRegMap(@Self)^.clr := $00000400
  57467. else
  57468. pTDefRegMap(@Self)^.&set := $00000400;
  57469. end;
  57470. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  57471. begin
  57472. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57473. end;
  57474. procedure TPORTG_CNEN.setCNEN11; inline;
  57475. begin
  57476. pTDefRegMap(@Self)^.&set := $00000800;
  57477. end;
  57478. procedure TPORTG_CNEN.clearCNEN11; inline;
  57479. begin
  57480. pTDefRegMap(@Self)^.clr := $00000800;
  57481. end;
  57482. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  57483. begin
  57484. if thebits = 0 then
  57485. pTDefRegMap(@Self)^.clr := $00000800
  57486. else
  57487. pTDefRegMap(@Self)^.&set := $00000800;
  57488. end;
  57489. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  57490. begin
  57491. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  57492. end;
  57493. procedure TPORTG_CNEN.setCNEN12; inline;
  57494. begin
  57495. pTDefRegMap(@Self)^.&set := $00001000;
  57496. end;
  57497. procedure TPORTG_CNEN.clearCNEN12; inline;
  57498. begin
  57499. pTDefRegMap(@Self)^.clr := $00001000;
  57500. end;
  57501. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  57502. begin
  57503. if thebits = 0 then
  57504. pTDefRegMap(@Self)^.clr := $00001000
  57505. else
  57506. pTDefRegMap(@Self)^.&set := $00001000;
  57507. end;
  57508. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  57509. begin
  57510. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57511. end;
  57512. procedure TPORTG_CNEN.setCNEN13; inline;
  57513. begin
  57514. pTDefRegMap(@Self)^.&set := $00002000;
  57515. end;
  57516. procedure TPORTG_CNEN.clearCNEN13; inline;
  57517. begin
  57518. pTDefRegMap(@Self)^.clr := $00002000;
  57519. end;
  57520. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  57521. begin
  57522. if thebits = 0 then
  57523. pTDefRegMap(@Self)^.clr := $00002000
  57524. else
  57525. pTDefRegMap(@Self)^.&set := $00002000;
  57526. end;
  57527. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  57528. begin
  57529. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57530. end;
  57531. procedure TPORTG_CNEN.setCNEN14; inline;
  57532. begin
  57533. pTDefRegMap(@Self)^.&set := $00004000;
  57534. end;
  57535. procedure TPORTG_CNEN.clearCNEN14; inline;
  57536. begin
  57537. pTDefRegMap(@Self)^.clr := $00004000;
  57538. end;
  57539. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  57540. begin
  57541. if thebits = 0 then
  57542. pTDefRegMap(@Self)^.clr := $00004000
  57543. else
  57544. pTDefRegMap(@Self)^.&set := $00004000;
  57545. end;
  57546. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  57547. begin
  57548. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  57549. end;
  57550. procedure TPORTG_CNEN.setCNEN15; inline;
  57551. begin
  57552. pTDefRegMap(@Self)^.&set := $00008000;
  57553. end;
  57554. procedure TPORTG_CNEN.clearCNEN15; inline;
  57555. begin
  57556. pTDefRegMap(@Self)^.clr := $00008000;
  57557. end;
  57558. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  57559. begin
  57560. if thebits = 0 then
  57561. pTDefRegMap(@Self)^.clr := $00008000
  57562. else
  57563. pTDefRegMap(@Self)^.&set := $00008000;
  57564. end;
  57565. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  57566. begin
  57567. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57568. end;
  57569. procedure TPORTG_CNEN.setCNEN16; inline;
  57570. begin
  57571. pTDefRegMap(@Self)^.&set := $00010000;
  57572. end;
  57573. procedure TPORTG_CNEN.clearCNEN16; inline;
  57574. begin
  57575. pTDefRegMap(@Self)^.clr := $00010000;
  57576. end;
  57577. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  57578. begin
  57579. if thebits = 0 then
  57580. pTDefRegMap(@Self)^.clr := $00010000
  57581. else
  57582. pTDefRegMap(@Self)^.&set := $00010000;
  57583. end;
  57584. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  57585. begin
  57586. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  57587. end;
  57588. procedure TPORTG_CNEN.setCNEN17; inline;
  57589. begin
  57590. pTDefRegMap(@Self)^.&set := $00020000;
  57591. end;
  57592. procedure TPORTG_CNEN.clearCNEN17; inline;
  57593. begin
  57594. pTDefRegMap(@Self)^.clr := $00020000;
  57595. end;
  57596. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  57597. begin
  57598. if thebits = 0 then
  57599. pTDefRegMap(@Self)^.clr := $00020000
  57600. else
  57601. pTDefRegMap(@Self)^.&set := $00020000;
  57602. end;
  57603. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  57604. begin
  57605. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  57606. end;
  57607. procedure TPORTG_CNEN.setCNEN18; inline;
  57608. begin
  57609. pTDefRegMap(@Self)^.&set := $00040000;
  57610. end;
  57611. procedure TPORTG_CNEN.clearCNEN18; inline;
  57612. begin
  57613. pTDefRegMap(@Self)^.clr := $00040000;
  57614. end;
  57615. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  57616. begin
  57617. if thebits = 0 then
  57618. pTDefRegMap(@Self)^.clr := $00040000
  57619. else
  57620. pTDefRegMap(@Self)^.&set := $00040000;
  57621. end;
  57622. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  57623. begin
  57624. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  57625. end;
  57626. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  57627. begin
  57628. pTDefRegMap(@Self)^.val := thebits;
  57629. end;
  57630. function TPORTG_CNEN.getw : TBits_32; inline;
  57631. begin
  57632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57633. end;
  57634. procedure TPORTG_CNPUE.setCNPUE0; inline;
  57635. begin
  57636. pTDefRegMap(@Self)^.&set := $00000001;
  57637. end;
  57638. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  57639. begin
  57640. pTDefRegMap(@Self)^.clr := $00000001;
  57641. end;
  57642. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  57643. begin
  57644. if thebits = 0 then
  57645. pTDefRegMap(@Self)^.clr := $00000001
  57646. else
  57647. pTDefRegMap(@Self)^.&set := $00000001;
  57648. end;
  57649. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  57650. begin
  57651. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57652. end;
  57653. procedure TPORTG_CNPUE.setCNPUE1; inline;
  57654. begin
  57655. pTDefRegMap(@Self)^.&set := $00000002;
  57656. end;
  57657. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  57658. begin
  57659. pTDefRegMap(@Self)^.clr := $00000002;
  57660. end;
  57661. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  57662. begin
  57663. if thebits = 0 then
  57664. pTDefRegMap(@Self)^.clr := $00000002
  57665. else
  57666. pTDefRegMap(@Self)^.&set := $00000002;
  57667. end;
  57668. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  57669. begin
  57670. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57671. end;
  57672. procedure TPORTG_CNPUE.setCNPUE2; inline;
  57673. begin
  57674. pTDefRegMap(@Self)^.&set := $00000004;
  57675. end;
  57676. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  57677. begin
  57678. pTDefRegMap(@Self)^.clr := $00000004;
  57679. end;
  57680. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  57681. begin
  57682. if thebits = 0 then
  57683. pTDefRegMap(@Self)^.clr := $00000004
  57684. else
  57685. pTDefRegMap(@Self)^.&set := $00000004;
  57686. end;
  57687. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  57688. begin
  57689. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57690. end;
  57691. procedure TPORTG_CNPUE.setCNPUE3; inline;
  57692. begin
  57693. pTDefRegMap(@Self)^.&set := $00000008;
  57694. end;
  57695. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  57696. begin
  57697. pTDefRegMap(@Self)^.clr := $00000008;
  57698. end;
  57699. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  57700. begin
  57701. if thebits = 0 then
  57702. pTDefRegMap(@Self)^.clr := $00000008
  57703. else
  57704. pTDefRegMap(@Self)^.&set := $00000008;
  57705. end;
  57706. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  57707. begin
  57708. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57709. end;
  57710. procedure TPORTG_CNPUE.setCNPUE4; inline;
  57711. begin
  57712. pTDefRegMap(@Self)^.&set := $00000010;
  57713. end;
  57714. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  57715. begin
  57716. pTDefRegMap(@Self)^.clr := $00000010;
  57717. end;
  57718. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  57719. begin
  57720. if thebits = 0 then
  57721. pTDefRegMap(@Self)^.clr := $00000010
  57722. else
  57723. pTDefRegMap(@Self)^.&set := $00000010;
  57724. end;
  57725. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  57726. begin
  57727. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57728. end;
  57729. procedure TPORTG_CNPUE.setCNPUE5; inline;
  57730. begin
  57731. pTDefRegMap(@Self)^.&set := $00000020;
  57732. end;
  57733. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  57734. begin
  57735. pTDefRegMap(@Self)^.clr := $00000020;
  57736. end;
  57737. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  57738. begin
  57739. if thebits = 0 then
  57740. pTDefRegMap(@Self)^.clr := $00000020
  57741. else
  57742. pTDefRegMap(@Self)^.&set := $00000020;
  57743. end;
  57744. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  57745. begin
  57746. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57747. end;
  57748. procedure TPORTG_CNPUE.setCNPUE6; inline;
  57749. begin
  57750. pTDefRegMap(@Self)^.&set := $00000040;
  57751. end;
  57752. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  57753. begin
  57754. pTDefRegMap(@Self)^.clr := $00000040;
  57755. end;
  57756. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  57757. begin
  57758. if thebits = 0 then
  57759. pTDefRegMap(@Self)^.clr := $00000040
  57760. else
  57761. pTDefRegMap(@Self)^.&set := $00000040;
  57762. end;
  57763. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  57764. begin
  57765. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57766. end;
  57767. procedure TPORTG_CNPUE.setCNPUE7; inline;
  57768. begin
  57769. pTDefRegMap(@Self)^.&set := $00000080;
  57770. end;
  57771. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  57772. begin
  57773. pTDefRegMap(@Self)^.clr := $00000080;
  57774. end;
  57775. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  57776. begin
  57777. if thebits = 0 then
  57778. pTDefRegMap(@Self)^.clr := $00000080
  57779. else
  57780. pTDefRegMap(@Self)^.&set := $00000080;
  57781. end;
  57782. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  57783. begin
  57784. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57785. end;
  57786. procedure TPORTG_CNPUE.setCNPUE8; inline;
  57787. begin
  57788. pTDefRegMap(@Self)^.&set := $00000100;
  57789. end;
  57790. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  57791. begin
  57792. pTDefRegMap(@Self)^.clr := $00000100;
  57793. end;
  57794. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  57795. begin
  57796. if thebits = 0 then
  57797. pTDefRegMap(@Self)^.clr := $00000100
  57798. else
  57799. pTDefRegMap(@Self)^.&set := $00000100;
  57800. end;
  57801. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  57802. begin
  57803. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57804. end;
  57805. procedure TPORTG_CNPUE.setCNPUE9; inline;
  57806. begin
  57807. pTDefRegMap(@Self)^.&set := $00000200;
  57808. end;
  57809. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  57810. begin
  57811. pTDefRegMap(@Self)^.clr := $00000200;
  57812. end;
  57813. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  57814. begin
  57815. if thebits = 0 then
  57816. pTDefRegMap(@Self)^.clr := $00000200
  57817. else
  57818. pTDefRegMap(@Self)^.&set := $00000200;
  57819. end;
  57820. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  57821. begin
  57822. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57823. end;
  57824. procedure TPORTG_CNPUE.setCNPUE10; inline;
  57825. begin
  57826. pTDefRegMap(@Self)^.&set := $00000400;
  57827. end;
  57828. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  57829. begin
  57830. pTDefRegMap(@Self)^.clr := $00000400;
  57831. end;
  57832. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  57833. begin
  57834. if thebits = 0 then
  57835. pTDefRegMap(@Self)^.clr := $00000400
  57836. else
  57837. pTDefRegMap(@Self)^.&set := $00000400;
  57838. end;
  57839. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  57840. begin
  57841. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57842. end;
  57843. procedure TPORTG_CNPUE.setCNPUE11; inline;
  57844. begin
  57845. pTDefRegMap(@Self)^.&set := $00000800;
  57846. end;
  57847. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  57848. begin
  57849. pTDefRegMap(@Self)^.clr := $00000800;
  57850. end;
  57851. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  57852. begin
  57853. if thebits = 0 then
  57854. pTDefRegMap(@Self)^.clr := $00000800
  57855. else
  57856. pTDefRegMap(@Self)^.&set := $00000800;
  57857. end;
  57858. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  57859. begin
  57860. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  57861. end;
  57862. procedure TPORTG_CNPUE.setCNPUE12; inline;
  57863. begin
  57864. pTDefRegMap(@Self)^.&set := $00001000;
  57865. end;
  57866. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  57867. begin
  57868. pTDefRegMap(@Self)^.clr := $00001000;
  57869. end;
  57870. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  57871. begin
  57872. if thebits = 0 then
  57873. pTDefRegMap(@Self)^.clr := $00001000
  57874. else
  57875. pTDefRegMap(@Self)^.&set := $00001000;
  57876. end;
  57877. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  57878. begin
  57879. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57880. end;
  57881. procedure TPORTG_CNPUE.setCNPUE13; inline;
  57882. begin
  57883. pTDefRegMap(@Self)^.&set := $00002000;
  57884. end;
  57885. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  57886. begin
  57887. pTDefRegMap(@Self)^.clr := $00002000;
  57888. end;
  57889. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  57890. begin
  57891. if thebits = 0 then
  57892. pTDefRegMap(@Self)^.clr := $00002000
  57893. else
  57894. pTDefRegMap(@Self)^.&set := $00002000;
  57895. end;
  57896. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  57897. begin
  57898. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57899. end;
  57900. procedure TPORTG_CNPUE.setCNPUE14; inline;
  57901. begin
  57902. pTDefRegMap(@Self)^.&set := $00004000;
  57903. end;
  57904. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  57905. begin
  57906. pTDefRegMap(@Self)^.clr := $00004000;
  57907. end;
  57908. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  57909. begin
  57910. if thebits = 0 then
  57911. pTDefRegMap(@Self)^.clr := $00004000
  57912. else
  57913. pTDefRegMap(@Self)^.&set := $00004000;
  57914. end;
  57915. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  57916. begin
  57917. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  57918. end;
  57919. procedure TPORTG_CNPUE.setCNPUE15; inline;
  57920. begin
  57921. pTDefRegMap(@Self)^.&set := $00008000;
  57922. end;
  57923. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  57924. begin
  57925. pTDefRegMap(@Self)^.clr := $00008000;
  57926. end;
  57927. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  57928. begin
  57929. if thebits = 0 then
  57930. pTDefRegMap(@Self)^.clr := $00008000
  57931. else
  57932. pTDefRegMap(@Self)^.&set := $00008000;
  57933. end;
  57934. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  57935. begin
  57936. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57937. end;
  57938. procedure TPORTG_CNPUE.setCNPUE16; inline;
  57939. begin
  57940. pTDefRegMap(@Self)^.&set := $00010000;
  57941. end;
  57942. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  57943. begin
  57944. pTDefRegMap(@Self)^.clr := $00010000;
  57945. end;
  57946. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  57947. begin
  57948. if thebits = 0 then
  57949. pTDefRegMap(@Self)^.clr := $00010000
  57950. else
  57951. pTDefRegMap(@Self)^.&set := $00010000;
  57952. end;
  57953. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  57954. begin
  57955. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  57956. end;
  57957. procedure TPORTG_CNPUE.setCNPUE17; inline;
  57958. begin
  57959. pTDefRegMap(@Self)^.&set := $00020000;
  57960. end;
  57961. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  57962. begin
  57963. pTDefRegMap(@Self)^.clr := $00020000;
  57964. end;
  57965. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  57966. begin
  57967. if thebits = 0 then
  57968. pTDefRegMap(@Self)^.clr := $00020000
  57969. else
  57970. pTDefRegMap(@Self)^.&set := $00020000;
  57971. end;
  57972. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  57973. begin
  57974. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  57975. end;
  57976. procedure TPORTG_CNPUE.setCNPUE18; inline;
  57977. begin
  57978. pTDefRegMap(@Self)^.&set := $00040000;
  57979. end;
  57980. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  57981. begin
  57982. pTDefRegMap(@Self)^.clr := $00040000;
  57983. end;
  57984. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  57985. begin
  57986. if thebits = 0 then
  57987. pTDefRegMap(@Self)^.clr := $00040000
  57988. else
  57989. pTDefRegMap(@Self)^.&set := $00040000;
  57990. end;
  57991. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  57992. begin
  57993. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  57994. end;
  57995. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  57996. begin
  57997. pTDefRegMap(@Self)^.val := thebits;
  57998. end;
  57999. function TPORTG_CNPUE.getw : TBits_32; inline;
  58000. begin
  58001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58002. end;
  58003. procedure TETH_ETHCON1.setBUFCDEC; inline;
  58004. begin
  58005. pTDefRegMap(@Self)^.&set := $00000001;
  58006. end;
  58007. procedure TETH_ETHCON1.clearBUFCDEC; inline;
  58008. begin
  58009. pTDefRegMap(@Self)^.clr := $00000001;
  58010. end;
  58011. procedure TETH_ETHCON1.setBUFCDEC(thebits : TBits_1); inline;
  58012. begin
  58013. if thebits = 0 then
  58014. pTDefRegMap(@Self)^.clr := $00000001
  58015. else
  58016. pTDefRegMap(@Self)^.&set := $00000001;
  58017. end;
  58018. function TETH_ETHCON1.getBUFCDEC : TBits_1; inline;
  58019. begin
  58020. getBUFCDEC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58021. end;
  58022. procedure TETH_ETHCON1.setMANFC; inline;
  58023. begin
  58024. pTDefRegMap(@Self)^.&set := $00000010;
  58025. end;
  58026. procedure TETH_ETHCON1.clearMANFC; inline;
  58027. begin
  58028. pTDefRegMap(@Self)^.clr := $00000010;
  58029. end;
  58030. procedure TETH_ETHCON1.setMANFC(thebits : TBits_1); inline;
  58031. begin
  58032. if thebits = 0 then
  58033. pTDefRegMap(@Self)^.clr := $00000010
  58034. else
  58035. pTDefRegMap(@Self)^.&set := $00000010;
  58036. end;
  58037. function TETH_ETHCON1.getMANFC : TBits_1; inline;
  58038. begin
  58039. getMANFC := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58040. end;
  58041. procedure TETH_ETHCON1.setAUTOFC; inline;
  58042. begin
  58043. pTDefRegMap(@Self)^.&set := $00000080;
  58044. end;
  58045. procedure TETH_ETHCON1.clearAUTOFC; inline;
  58046. begin
  58047. pTDefRegMap(@Self)^.clr := $00000080;
  58048. end;
  58049. procedure TETH_ETHCON1.setAUTOFC(thebits : TBits_1); inline;
  58050. begin
  58051. if thebits = 0 then
  58052. pTDefRegMap(@Self)^.clr := $00000080
  58053. else
  58054. pTDefRegMap(@Self)^.&set := $00000080;
  58055. end;
  58056. function TETH_ETHCON1.getAUTOFC : TBits_1; inline;
  58057. begin
  58058. getAUTOFC := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58059. end;
  58060. procedure TETH_ETHCON1.setRXEN; inline;
  58061. begin
  58062. pTDefRegMap(@Self)^.&set := $00000100;
  58063. end;
  58064. procedure TETH_ETHCON1.clearRXEN; inline;
  58065. begin
  58066. pTDefRegMap(@Self)^.clr := $00000100;
  58067. end;
  58068. procedure TETH_ETHCON1.setRXEN(thebits : TBits_1); inline;
  58069. begin
  58070. if thebits = 0 then
  58071. pTDefRegMap(@Self)^.clr := $00000100
  58072. else
  58073. pTDefRegMap(@Self)^.&set := $00000100;
  58074. end;
  58075. function TETH_ETHCON1.getRXEN : TBits_1; inline;
  58076. begin
  58077. getRXEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58078. end;
  58079. procedure TETH_ETHCON1.setTXRTS; inline;
  58080. begin
  58081. pTDefRegMap(@Self)^.&set := $00000200;
  58082. end;
  58083. procedure TETH_ETHCON1.clearTXRTS; inline;
  58084. begin
  58085. pTDefRegMap(@Self)^.clr := $00000200;
  58086. end;
  58087. procedure TETH_ETHCON1.setTXRTS(thebits : TBits_1); inline;
  58088. begin
  58089. if thebits = 0 then
  58090. pTDefRegMap(@Self)^.clr := $00000200
  58091. else
  58092. pTDefRegMap(@Self)^.&set := $00000200;
  58093. end;
  58094. function TETH_ETHCON1.getTXRTS : TBits_1; inline;
  58095. begin
  58096. getTXRTS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58097. end;
  58098. procedure TETH_ETHCON1.setSIDL; inline;
  58099. begin
  58100. pTDefRegMap(@Self)^.&set := $00002000;
  58101. end;
  58102. procedure TETH_ETHCON1.clearSIDL; inline;
  58103. begin
  58104. pTDefRegMap(@Self)^.clr := $00002000;
  58105. end;
  58106. procedure TETH_ETHCON1.setSIDL(thebits : TBits_1); inline;
  58107. begin
  58108. if thebits = 0 then
  58109. pTDefRegMap(@Self)^.clr := $00002000
  58110. else
  58111. pTDefRegMap(@Self)^.&set := $00002000;
  58112. end;
  58113. function TETH_ETHCON1.getSIDL : TBits_1; inline;
  58114. begin
  58115. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58116. end;
  58117. procedure TETH_ETHCON1.setON; inline;
  58118. begin
  58119. pTDefRegMap(@Self)^.&set := $00008000;
  58120. end;
  58121. procedure TETH_ETHCON1.clearON; inline;
  58122. begin
  58123. pTDefRegMap(@Self)^.clr := $00008000;
  58124. end;
  58125. procedure TETH_ETHCON1.setON(thebits : TBits_1); inline;
  58126. begin
  58127. if thebits = 0 then
  58128. pTDefRegMap(@Self)^.clr := $00008000
  58129. else
  58130. pTDefRegMap(@Self)^.&set := $00008000;
  58131. end;
  58132. function TETH_ETHCON1.getON : TBits_1; inline;
  58133. begin
  58134. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58135. end;
  58136. procedure TETH_ETHCON1.setPTV(thebits : TBits_16); inline;
  58137. begin
  58138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0000FFFF or ( thebits shl 16 );
  58139. end;
  58140. function TETH_ETHCON1.getPTV : TBits_16; inline;
  58141. begin
  58142. getPTV := (pTDefRegMap(@Self)^.val and $FFFF0000) shr 16;
  58143. end;
  58144. procedure TETH_ETHCON1.setw(thebits : TBits_32); inline;
  58145. begin
  58146. pTDefRegMap(@Self)^.val := thebits;
  58147. end;
  58148. function TETH_ETHCON1.getw : TBits_32; inline;
  58149. begin
  58150. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58151. end;
  58152. procedure TETH_ETHCON2.setRXBUF_SZ(thebits : TBits_7); inline;
  58153. begin
  58154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF80F or ( thebits shl 4 );
  58155. end;
  58156. function TETH_ETHCON2.getRXBUF_SZ : TBits_7; inline;
  58157. begin
  58158. getRXBUF_SZ := (pTDefRegMap(@Self)^.val and $000007F0) shr 4;
  58159. end;
  58160. procedure TETH_ETHCON2.setw(thebits : TBits_32); inline;
  58161. begin
  58162. pTDefRegMap(@Self)^.val := thebits;
  58163. end;
  58164. function TETH_ETHCON2.getw : TBits_32; inline;
  58165. begin
  58166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58167. end;
  58168. procedure TETH_ETHTXST.setTXSTADDR(thebits : TBits_30); inline;
  58169. begin
  58170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  58171. end;
  58172. function TETH_ETHTXST.getTXSTADDR : TBits_30; inline;
  58173. begin
  58174. getTXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  58175. end;
  58176. procedure TETH_ETHTXST.setw(thebits : TBits_32); inline;
  58177. begin
  58178. pTDefRegMap(@Self)^.val := thebits;
  58179. end;
  58180. function TETH_ETHTXST.getw : TBits_32; inline;
  58181. begin
  58182. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58183. end;
  58184. procedure TETH_ETHRXST.setRXSTADDR(thebits : TBits_30); inline;
  58185. begin
  58186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  58187. end;
  58188. function TETH_ETHRXST.getRXSTADDR : TBits_30; inline;
  58189. begin
  58190. getRXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  58191. end;
  58192. procedure TETH_ETHRXST.setw(thebits : TBits_32); inline;
  58193. begin
  58194. pTDefRegMap(@Self)^.val := thebits;
  58195. end;
  58196. function TETH_ETHRXST.getw : TBits_32; inline;
  58197. begin
  58198. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58199. end;
  58200. procedure TETH_ETHHT0.setw(thebits : TBits_32); inline;
  58201. begin
  58202. pTDefRegMap(@Self)^.val := thebits;
  58203. end;
  58204. function TETH_ETHHT0.getw : TBits_32; inline;
  58205. begin
  58206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58207. end;
  58208. procedure TETH_ETHHT0.setHTLOWER(thebits : TBits_32); inline;
  58209. begin
  58210. pTDefRegMap(@Self)^.val := thebits;
  58211. end;
  58212. function TETH_ETHHT0.getHTLOWER : TBits_32; inline;
  58213. begin
  58214. getHTLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58215. end;
  58216. procedure TETH_ETHHT1.setw(thebits : TBits_32); inline;
  58217. begin
  58218. pTDefRegMap(@Self)^.val := thebits;
  58219. end;
  58220. function TETH_ETHHT1.getw : TBits_32; inline;
  58221. begin
  58222. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58223. end;
  58224. procedure TETH_ETHHT1.setHTUPPER(thebits : TBits_32); inline;
  58225. begin
  58226. pTDefRegMap(@Self)^.val := thebits;
  58227. end;
  58228. function TETH_ETHHT1.getHTUPPER : TBits_32; inline;
  58229. begin
  58230. getHTUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58231. end;
  58232. procedure TETH_ETHPMM0.setw(thebits : TBits_32); inline;
  58233. begin
  58234. pTDefRegMap(@Self)^.val := thebits;
  58235. end;
  58236. function TETH_ETHPMM0.getw : TBits_32; inline;
  58237. begin
  58238. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58239. end;
  58240. procedure TETH_ETHPMM0.setPMMLOWER(thebits : TBits_32); inline;
  58241. begin
  58242. pTDefRegMap(@Self)^.val := thebits;
  58243. end;
  58244. function TETH_ETHPMM0.getPMMLOWER : TBits_32; inline;
  58245. begin
  58246. getPMMLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58247. end;
  58248. procedure TETH_ETHPMM1.setw(thebits : TBits_32); inline;
  58249. begin
  58250. pTDefRegMap(@Self)^.val := thebits;
  58251. end;
  58252. function TETH_ETHPMM1.getw : TBits_32; inline;
  58253. begin
  58254. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58255. end;
  58256. procedure TETH_ETHPMM1.setPMMUPPER(thebits : TBits_32); inline;
  58257. begin
  58258. pTDefRegMap(@Self)^.val := thebits;
  58259. end;
  58260. function TETH_ETHPMM1.getPMMUPPER : TBits_32; inline;
  58261. begin
  58262. getPMMUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58263. end;
  58264. procedure TETH_ETHPMCS.setPMCS(thebits : TBits_16); inline;
  58265. begin
  58266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  58267. end;
  58268. function TETH_ETHPMCS.getPMCS : TBits_16; inline;
  58269. begin
  58270. getPMCS := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  58271. end;
  58272. procedure TETH_ETHPMCS.setw(thebits : TBits_32); inline;
  58273. begin
  58274. pTDefRegMap(@Self)^.val := thebits;
  58275. end;
  58276. function TETH_ETHPMCS.getw : TBits_32; inline;
  58277. begin
  58278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58279. end;
  58280. procedure TETH_ETHPMO.setPMO(thebits : TBits_16); inline;
  58281. begin
  58282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  58283. end;
  58284. function TETH_ETHPMO.getPMO : TBits_16; inline;
  58285. begin
  58286. getPMO := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  58287. end;
  58288. procedure TETH_ETHPMO.setw(thebits : TBits_32); inline;
  58289. begin
  58290. pTDefRegMap(@Self)^.val := thebits;
  58291. end;
  58292. function TETH_ETHPMO.getw : TBits_32; inline;
  58293. begin
  58294. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58295. end;
  58296. procedure TETH_ETHRXFC.setBCEN; inline;
  58297. begin
  58298. pTDefRegMap(@Self)^.&set := $00000001;
  58299. end;
  58300. procedure TETH_ETHRXFC.clearBCEN; inline;
  58301. begin
  58302. pTDefRegMap(@Self)^.clr := $00000001;
  58303. end;
  58304. procedure TETH_ETHRXFC.setBCEN(thebits : TBits_1); inline;
  58305. begin
  58306. if thebits = 0 then
  58307. pTDefRegMap(@Self)^.clr := $00000001
  58308. else
  58309. pTDefRegMap(@Self)^.&set := $00000001;
  58310. end;
  58311. function TETH_ETHRXFC.getBCEN : TBits_1; inline;
  58312. begin
  58313. getBCEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58314. end;
  58315. procedure TETH_ETHRXFC.setMCEN; inline;
  58316. begin
  58317. pTDefRegMap(@Self)^.&set := $00000002;
  58318. end;
  58319. procedure TETH_ETHRXFC.clearMCEN; inline;
  58320. begin
  58321. pTDefRegMap(@Self)^.clr := $00000002;
  58322. end;
  58323. procedure TETH_ETHRXFC.setMCEN(thebits : TBits_1); inline;
  58324. begin
  58325. if thebits = 0 then
  58326. pTDefRegMap(@Self)^.clr := $00000002
  58327. else
  58328. pTDefRegMap(@Self)^.&set := $00000002;
  58329. end;
  58330. function TETH_ETHRXFC.getMCEN : TBits_1; inline;
  58331. begin
  58332. getMCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58333. end;
  58334. procedure TETH_ETHRXFC.setNOTMEEN; inline;
  58335. begin
  58336. pTDefRegMap(@Self)^.&set := $00000004;
  58337. end;
  58338. procedure TETH_ETHRXFC.clearNOTMEEN; inline;
  58339. begin
  58340. pTDefRegMap(@Self)^.clr := $00000004;
  58341. end;
  58342. procedure TETH_ETHRXFC.setNOTMEEN(thebits : TBits_1); inline;
  58343. begin
  58344. if thebits = 0 then
  58345. pTDefRegMap(@Self)^.clr := $00000004
  58346. else
  58347. pTDefRegMap(@Self)^.&set := $00000004;
  58348. end;
  58349. function TETH_ETHRXFC.getNOTMEEN : TBits_1; inline;
  58350. begin
  58351. getNOTMEEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58352. end;
  58353. procedure TETH_ETHRXFC.setUCEN; inline;
  58354. begin
  58355. pTDefRegMap(@Self)^.&set := $00000008;
  58356. end;
  58357. procedure TETH_ETHRXFC.clearUCEN; inline;
  58358. begin
  58359. pTDefRegMap(@Self)^.clr := $00000008;
  58360. end;
  58361. procedure TETH_ETHRXFC.setUCEN(thebits : TBits_1); inline;
  58362. begin
  58363. if thebits = 0 then
  58364. pTDefRegMap(@Self)^.clr := $00000008
  58365. else
  58366. pTDefRegMap(@Self)^.&set := $00000008;
  58367. end;
  58368. function TETH_ETHRXFC.getUCEN : TBits_1; inline;
  58369. begin
  58370. getUCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58371. end;
  58372. procedure TETH_ETHRXFC.setRUNTEN; inline;
  58373. begin
  58374. pTDefRegMap(@Self)^.&set := $00000010;
  58375. end;
  58376. procedure TETH_ETHRXFC.clearRUNTEN; inline;
  58377. begin
  58378. pTDefRegMap(@Self)^.clr := $00000010;
  58379. end;
  58380. procedure TETH_ETHRXFC.setRUNTEN(thebits : TBits_1); inline;
  58381. begin
  58382. if thebits = 0 then
  58383. pTDefRegMap(@Self)^.clr := $00000010
  58384. else
  58385. pTDefRegMap(@Self)^.&set := $00000010;
  58386. end;
  58387. function TETH_ETHRXFC.getRUNTEN : TBits_1; inline;
  58388. begin
  58389. getRUNTEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58390. end;
  58391. procedure TETH_ETHRXFC.setRUNTERREN; inline;
  58392. begin
  58393. pTDefRegMap(@Self)^.&set := $00000020;
  58394. end;
  58395. procedure TETH_ETHRXFC.clearRUNTERREN; inline;
  58396. begin
  58397. pTDefRegMap(@Self)^.clr := $00000020;
  58398. end;
  58399. procedure TETH_ETHRXFC.setRUNTERREN(thebits : TBits_1); inline;
  58400. begin
  58401. if thebits = 0 then
  58402. pTDefRegMap(@Self)^.clr := $00000020
  58403. else
  58404. pTDefRegMap(@Self)^.&set := $00000020;
  58405. end;
  58406. function TETH_ETHRXFC.getRUNTERREN : TBits_1; inline;
  58407. begin
  58408. getRUNTERREN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58409. end;
  58410. procedure TETH_ETHRXFC.setCRCOKEN; inline;
  58411. begin
  58412. pTDefRegMap(@Self)^.&set := $00000040;
  58413. end;
  58414. procedure TETH_ETHRXFC.clearCRCOKEN; inline;
  58415. begin
  58416. pTDefRegMap(@Self)^.clr := $00000040;
  58417. end;
  58418. procedure TETH_ETHRXFC.setCRCOKEN(thebits : TBits_1); inline;
  58419. begin
  58420. if thebits = 0 then
  58421. pTDefRegMap(@Self)^.clr := $00000040
  58422. else
  58423. pTDefRegMap(@Self)^.&set := $00000040;
  58424. end;
  58425. function TETH_ETHRXFC.getCRCOKEN : TBits_1; inline;
  58426. begin
  58427. getCRCOKEN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58428. end;
  58429. procedure TETH_ETHRXFC.setCRCERREN; inline;
  58430. begin
  58431. pTDefRegMap(@Self)^.&set := $00000080;
  58432. end;
  58433. procedure TETH_ETHRXFC.clearCRCERREN; inline;
  58434. begin
  58435. pTDefRegMap(@Self)^.clr := $00000080;
  58436. end;
  58437. procedure TETH_ETHRXFC.setCRCERREN(thebits : TBits_1); inline;
  58438. begin
  58439. if thebits = 0 then
  58440. pTDefRegMap(@Self)^.clr := $00000080
  58441. else
  58442. pTDefRegMap(@Self)^.&set := $00000080;
  58443. end;
  58444. function TETH_ETHRXFC.getCRCERREN : TBits_1; inline;
  58445. begin
  58446. getCRCERREN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58447. end;
  58448. procedure TETH_ETHRXFC.setPMMODE(thebits : TBits_4); inline;
  58449. begin
  58450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  58451. end;
  58452. function TETH_ETHRXFC.getPMMODE : TBits_4; inline;
  58453. begin
  58454. getPMMODE := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  58455. end;
  58456. procedure TETH_ETHRXFC.setNOTPM; inline;
  58457. begin
  58458. pTDefRegMap(@Self)^.&set := $00001000;
  58459. end;
  58460. procedure TETH_ETHRXFC.clearNOTPM; inline;
  58461. begin
  58462. pTDefRegMap(@Self)^.clr := $00001000;
  58463. end;
  58464. procedure TETH_ETHRXFC.setNOTPM(thebits : TBits_1); inline;
  58465. begin
  58466. if thebits = 0 then
  58467. pTDefRegMap(@Self)^.clr := $00001000
  58468. else
  58469. pTDefRegMap(@Self)^.&set := $00001000;
  58470. end;
  58471. function TETH_ETHRXFC.getNOTPM : TBits_1; inline;
  58472. begin
  58473. getNOTPM := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58474. end;
  58475. procedure TETH_ETHRXFC.setMPEN; inline;
  58476. begin
  58477. pTDefRegMap(@Self)^.&set := $00004000;
  58478. end;
  58479. procedure TETH_ETHRXFC.clearMPEN; inline;
  58480. begin
  58481. pTDefRegMap(@Self)^.clr := $00004000;
  58482. end;
  58483. procedure TETH_ETHRXFC.setMPEN(thebits : TBits_1); inline;
  58484. begin
  58485. if thebits = 0 then
  58486. pTDefRegMap(@Self)^.clr := $00004000
  58487. else
  58488. pTDefRegMap(@Self)^.&set := $00004000;
  58489. end;
  58490. function TETH_ETHRXFC.getMPEN : TBits_1; inline;
  58491. begin
  58492. getMPEN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58493. end;
  58494. procedure TETH_ETHRXFC.setHTEN; inline;
  58495. begin
  58496. pTDefRegMap(@Self)^.&set := $00008000;
  58497. end;
  58498. procedure TETH_ETHRXFC.clearHTEN; inline;
  58499. begin
  58500. pTDefRegMap(@Self)^.clr := $00008000;
  58501. end;
  58502. procedure TETH_ETHRXFC.setHTEN(thebits : TBits_1); inline;
  58503. begin
  58504. if thebits = 0 then
  58505. pTDefRegMap(@Self)^.clr := $00008000
  58506. else
  58507. pTDefRegMap(@Self)^.&set := $00008000;
  58508. end;
  58509. function TETH_ETHRXFC.getHTEN : TBits_1; inline;
  58510. begin
  58511. getHTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58512. end;
  58513. procedure TETH_ETHRXFC.setw(thebits : TBits_32); inline;
  58514. begin
  58515. pTDefRegMap(@Self)^.val := thebits;
  58516. end;
  58517. function TETH_ETHRXFC.getw : TBits_32; inline;
  58518. begin
  58519. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58520. end;
  58521. procedure TETH_ETHRXWM.setRXEWM(thebits : TBits_8); inline;
  58522. begin
  58523. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  58524. end;
  58525. function TETH_ETHRXWM.getRXEWM : TBits_8; inline;
  58526. begin
  58527. getRXEWM := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  58528. end;
  58529. procedure TETH_ETHRXWM.setRXFWM(thebits : TBits_8); inline;
  58530. begin
  58531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  58532. end;
  58533. function TETH_ETHRXWM.getRXFWM : TBits_8; inline;
  58534. begin
  58535. getRXFWM := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  58536. end;
  58537. procedure TETH_ETHRXWM.setw(thebits : TBits_32); inline;
  58538. begin
  58539. pTDefRegMap(@Self)^.val := thebits;
  58540. end;
  58541. function TETH_ETHRXWM.getw : TBits_32; inline;
  58542. begin
  58543. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58544. end;
  58545. procedure TETH_ETHIEN.setRXOVFLWIE; inline;
  58546. begin
  58547. pTDefRegMap(@Self)^.&set := $00000001;
  58548. end;
  58549. procedure TETH_ETHIEN.clearRXOVFLWIE; inline;
  58550. begin
  58551. pTDefRegMap(@Self)^.clr := $00000001;
  58552. end;
  58553. procedure TETH_ETHIEN.setRXOVFLWIE(thebits : TBits_1); inline;
  58554. begin
  58555. if thebits = 0 then
  58556. pTDefRegMap(@Self)^.clr := $00000001
  58557. else
  58558. pTDefRegMap(@Self)^.&set := $00000001;
  58559. end;
  58560. function TETH_ETHIEN.getRXOVFLWIE : TBits_1; inline;
  58561. begin
  58562. getRXOVFLWIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58563. end;
  58564. procedure TETH_ETHIEN.setRXBUFNAIE; inline;
  58565. begin
  58566. pTDefRegMap(@Self)^.&set := $00000002;
  58567. end;
  58568. procedure TETH_ETHIEN.clearRXBUFNAIE; inline;
  58569. begin
  58570. pTDefRegMap(@Self)^.clr := $00000002;
  58571. end;
  58572. procedure TETH_ETHIEN.setRXBUFNAIE(thebits : TBits_1); inline;
  58573. begin
  58574. if thebits = 0 then
  58575. pTDefRegMap(@Self)^.clr := $00000002
  58576. else
  58577. pTDefRegMap(@Self)^.&set := $00000002;
  58578. end;
  58579. function TETH_ETHIEN.getRXBUFNAIE : TBits_1; inline;
  58580. begin
  58581. getRXBUFNAIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58582. end;
  58583. procedure TETH_ETHIEN.setTXABORTIE; inline;
  58584. begin
  58585. pTDefRegMap(@Self)^.&set := $00000004;
  58586. end;
  58587. procedure TETH_ETHIEN.clearTXABORTIE; inline;
  58588. begin
  58589. pTDefRegMap(@Self)^.clr := $00000004;
  58590. end;
  58591. procedure TETH_ETHIEN.setTXABORTIE(thebits : TBits_1); inline;
  58592. begin
  58593. if thebits = 0 then
  58594. pTDefRegMap(@Self)^.clr := $00000004
  58595. else
  58596. pTDefRegMap(@Self)^.&set := $00000004;
  58597. end;
  58598. function TETH_ETHIEN.getTXABORTIE : TBits_1; inline;
  58599. begin
  58600. getTXABORTIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58601. end;
  58602. procedure TETH_ETHIEN.setTXDONEIE; inline;
  58603. begin
  58604. pTDefRegMap(@Self)^.&set := $00000008;
  58605. end;
  58606. procedure TETH_ETHIEN.clearTXDONEIE; inline;
  58607. begin
  58608. pTDefRegMap(@Self)^.clr := $00000008;
  58609. end;
  58610. procedure TETH_ETHIEN.setTXDONEIE(thebits : TBits_1); inline;
  58611. begin
  58612. if thebits = 0 then
  58613. pTDefRegMap(@Self)^.clr := $00000008
  58614. else
  58615. pTDefRegMap(@Self)^.&set := $00000008;
  58616. end;
  58617. function TETH_ETHIEN.getTXDONEIE : TBits_1; inline;
  58618. begin
  58619. getTXDONEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58620. end;
  58621. procedure TETH_ETHIEN.setRXACTIE; inline;
  58622. begin
  58623. pTDefRegMap(@Self)^.&set := $00000020;
  58624. end;
  58625. procedure TETH_ETHIEN.clearRXACTIE; inline;
  58626. begin
  58627. pTDefRegMap(@Self)^.clr := $00000020;
  58628. end;
  58629. procedure TETH_ETHIEN.setRXACTIE(thebits : TBits_1); inline;
  58630. begin
  58631. if thebits = 0 then
  58632. pTDefRegMap(@Self)^.clr := $00000020
  58633. else
  58634. pTDefRegMap(@Self)^.&set := $00000020;
  58635. end;
  58636. function TETH_ETHIEN.getRXACTIE : TBits_1; inline;
  58637. begin
  58638. getRXACTIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58639. end;
  58640. procedure TETH_ETHIEN.setPKTPENDIE; inline;
  58641. begin
  58642. pTDefRegMap(@Self)^.&set := $00000040;
  58643. end;
  58644. procedure TETH_ETHIEN.clearPKTPENDIE; inline;
  58645. begin
  58646. pTDefRegMap(@Self)^.clr := $00000040;
  58647. end;
  58648. procedure TETH_ETHIEN.setPKTPENDIE(thebits : TBits_1); inline;
  58649. begin
  58650. if thebits = 0 then
  58651. pTDefRegMap(@Self)^.clr := $00000040
  58652. else
  58653. pTDefRegMap(@Self)^.&set := $00000040;
  58654. end;
  58655. function TETH_ETHIEN.getPKTPENDIE : TBits_1; inline;
  58656. begin
  58657. getPKTPENDIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58658. end;
  58659. procedure TETH_ETHIEN.setRXDONEIE; inline;
  58660. begin
  58661. pTDefRegMap(@Self)^.&set := $00000080;
  58662. end;
  58663. procedure TETH_ETHIEN.clearRXDONEIE; inline;
  58664. begin
  58665. pTDefRegMap(@Self)^.clr := $00000080;
  58666. end;
  58667. procedure TETH_ETHIEN.setRXDONEIE(thebits : TBits_1); inline;
  58668. begin
  58669. if thebits = 0 then
  58670. pTDefRegMap(@Self)^.clr := $00000080
  58671. else
  58672. pTDefRegMap(@Self)^.&set := $00000080;
  58673. end;
  58674. function TETH_ETHIEN.getRXDONEIE : TBits_1; inline;
  58675. begin
  58676. getRXDONEIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58677. end;
  58678. procedure TETH_ETHIEN.setFWMARKIE; inline;
  58679. begin
  58680. pTDefRegMap(@Self)^.&set := $00000100;
  58681. end;
  58682. procedure TETH_ETHIEN.clearFWMARKIE; inline;
  58683. begin
  58684. pTDefRegMap(@Self)^.clr := $00000100;
  58685. end;
  58686. procedure TETH_ETHIEN.setFWMARKIE(thebits : TBits_1); inline;
  58687. begin
  58688. if thebits = 0 then
  58689. pTDefRegMap(@Self)^.clr := $00000100
  58690. else
  58691. pTDefRegMap(@Self)^.&set := $00000100;
  58692. end;
  58693. function TETH_ETHIEN.getFWMARKIE : TBits_1; inline;
  58694. begin
  58695. getFWMARKIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58696. end;
  58697. procedure TETH_ETHIEN.setEWMARKIE; inline;
  58698. begin
  58699. pTDefRegMap(@Self)^.&set := $00000200;
  58700. end;
  58701. procedure TETH_ETHIEN.clearEWMARKIE; inline;
  58702. begin
  58703. pTDefRegMap(@Self)^.clr := $00000200;
  58704. end;
  58705. procedure TETH_ETHIEN.setEWMARKIE(thebits : TBits_1); inline;
  58706. begin
  58707. if thebits = 0 then
  58708. pTDefRegMap(@Self)^.clr := $00000200
  58709. else
  58710. pTDefRegMap(@Self)^.&set := $00000200;
  58711. end;
  58712. function TETH_ETHIEN.getEWMARKIE : TBits_1; inline;
  58713. begin
  58714. getEWMARKIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58715. end;
  58716. procedure TETH_ETHIEN.setRXBUSEIE; inline;
  58717. begin
  58718. pTDefRegMap(@Self)^.&set := $00002000;
  58719. end;
  58720. procedure TETH_ETHIEN.clearRXBUSEIE; inline;
  58721. begin
  58722. pTDefRegMap(@Self)^.clr := $00002000;
  58723. end;
  58724. procedure TETH_ETHIEN.setRXBUSEIE(thebits : TBits_1); inline;
  58725. begin
  58726. if thebits = 0 then
  58727. pTDefRegMap(@Self)^.clr := $00002000
  58728. else
  58729. pTDefRegMap(@Self)^.&set := $00002000;
  58730. end;
  58731. function TETH_ETHIEN.getRXBUSEIE : TBits_1; inline;
  58732. begin
  58733. getRXBUSEIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58734. end;
  58735. procedure TETH_ETHIEN.setTXBUSEIE; inline;
  58736. begin
  58737. pTDefRegMap(@Self)^.&set := $00004000;
  58738. end;
  58739. procedure TETH_ETHIEN.clearTXBUSEIE; inline;
  58740. begin
  58741. pTDefRegMap(@Self)^.clr := $00004000;
  58742. end;
  58743. procedure TETH_ETHIEN.setTXBUSEIE(thebits : TBits_1); inline;
  58744. begin
  58745. if thebits = 0 then
  58746. pTDefRegMap(@Self)^.clr := $00004000
  58747. else
  58748. pTDefRegMap(@Self)^.&set := $00004000;
  58749. end;
  58750. function TETH_ETHIEN.getTXBUSEIE : TBits_1; inline;
  58751. begin
  58752. getTXBUSEIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58753. end;
  58754. procedure TETH_ETHIEN.setw(thebits : TBits_32); inline;
  58755. begin
  58756. pTDefRegMap(@Self)^.val := thebits;
  58757. end;
  58758. function TETH_ETHIEN.getw : TBits_32; inline;
  58759. begin
  58760. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58761. end;
  58762. procedure TETH_ETHIRQ.setRXOVFLW; inline;
  58763. begin
  58764. pTDefRegMap(@Self)^.&set := $00000001;
  58765. end;
  58766. procedure TETH_ETHIRQ.clearRXOVFLW; inline;
  58767. begin
  58768. pTDefRegMap(@Self)^.clr := $00000001;
  58769. end;
  58770. procedure TETH_ETHIRQ.setRXOVFLW(thebits : TBits_1); inline;
  58771. begin
  58772. if thebits = 0 then
  58773. pTDefRegMap(@Self)^.clr := $00000001
  58774. else
  58775. pTDefRegMap(@Self)^.&set := $00000001;
  58776. end;
  58777. function TETH_ETHIRQ.getRXOVFLW : TBits_1; inline;
  58778. begin
  58779. getRXOVFLW := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58780. end;
  58781. procedure TETH_ETHIRQ.setRXBUFNA; inline;
  58782. begin
  58783. pTDefRegMap(@Self)^.&set := $00000002;
  58784. end;
  58785. procedure TETH_ETHIRQ.clearRXBUFNA; inline;
  58786. begin
  58787. pTDefRegMap(@Self)^.clr := $00000002;
  58788. end;
  58789. procedure TETH_ETHIRQ.setRXBUFNA(thebits : TBits_1); inline;
  58790. begin
  58791. if thebits = 0 then
  58792. pTDefRegMap(@Self)^.clr := $00000002
  58793. else
  58794. pTDefRegMap(@Self)^.&set := $00000002;
  58795. end;
  58796. function TETH_ETHIRQ.getRXBUFNA : TBits_1; inline;
  58797. begin
  58798. getRXBUFNA := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58799. end;
  58800. procedure TETH_ETHIRQ.setTXABORT; inline;
  58801. begin
  58802. pTDefRegMap(@Self)^.&set := $00000004;
  58803. end;
  58804. procedure TETH_ETHIRQ.clearTXABORT; inline;
  58805. begin
  58806. pTDefRegMap(@Self)^.clr := $00000004;
  58807. end;
  58808. procedure TETH_ETHIRQ.setTXABORT(thebits : TBits_1); inline;
  58809. begin
  58810. if thebits = 0 then
  58811. pTDefRegMap(@Self)^.clr := $00000004
  58812. else
  58813. pTDefRegMap(@Self)^.&set := $00000004;
  58814. end;
  58815. function TETH_ETHIRQ.getTXABORT : TBits_1; inline;
  58816. begin
  58817. getTXABORT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58818. end;
  58819. procedure TETH_ETHIRQ.setTXDONE; inline;
  58820. begin
  58821. pTDefRegMap(@Self)^.&set := $00000008;
  58822. end;
  58823. procedure TETH_ETHIRQ.clearTXDONE; inline;
  58824. begin
  58825. pTDefRegMap(@Self)^.clr := $00000008;
  58826. end;
  58827. procedure TETH_ETHIRQ.setTXDONE(thebits : TBits_1); inline;
  58828. begin
  58829. if thebits = 0 then
  58830. pTDefRegMap(@Self)^.clr := $00000008
  58831. else
  58832. pTDefRegMap(@Self)^.&set := $00000008;
  58833. end;
  58834. function TETH_ETHIRQ.getTXDONE : TBits_1; inline;
  58835. begin
  58836. getTXDONE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58837. end;
  58838. procedure TETH_ETHIRQ.setRXACT; inline;
  58839. begin
  58840. pTDefRegMap(@Self)^.&set := $00000020;
  58841. end;
  58842. procedure TETH_ETHIRQ.clearRXACT; inline;
  58843. begin
  58844. pTDefRegMap(@Self)^.clr := $00000020;
  58845. end;
  58846. procedure TETH_ETHIRQ.setRXACT(thebits : TBits_1); inline;
  58847. begin
  58848. if thebits = 0 then
  58849. pTDefRegMap(@Self)^.clr := $00000020
  58850. else
  58851. pTDefRegMap(@Self)^.&set := $00000020;
  58852. end;
  58853. function TETH_ETHIRQ.getRXACT : TBits_1; inline;
  58854. begin
  58855. getRXACT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58856. end;
  58857. procedure TETH_ETHIRQ.setPKTPEND; inline;
  58858. begin
  58859. pTDefRegMap(@Self)^.&set := $00000040;
  58860. end;
  58861. procedure TETH_ETHIRQ.clearPKTPEND; inline;
  58862. begin
  58863. pTDefRegMap(@Self)^.clr := $00000040;
  58864. end;
  58865. procedure TETH_ETHIRQ.setPKTPEND(thebits : TBits_1); inline;
  58866. begin
  58867. if thebits = 0 then
  58868. pTDefRegMap(@Self)^.clr := $00000040
  58869. else
  58870. pTDefRegMap(@Self)^.&set := $00000040;
  58871. end;
  58872. function TETH_ETHIRQ.getPKTPEND : TBits_1; inline;
  58873. begin
  58874. getPKTPEND := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58875. end;
  58876. procedure TETH_ETHIRQ.setRXDONE; inline;
  58877. begin
  58878. pTDefRegMap(@Self)^.&set := $00000080;
  58879. end;
  58880. procedure TETH_ETHIRQ.clearRXDONE; inline;
  58881. begin
  58882. pTDefRegMap(@Self)^.clr := $00000080;
  58883. end;
  58884. procedure TETH_ETHIRQ.setRXDONE(thebits : TBits_1); inline;
  58885. begin
  58886. if thebits = 0 then
  58887. pTDefRegMap(@Self)^.clr := $00000080
  58888. else
  58889. pTDefRegMap(@Self)^.&set := $00000080;
  58890. end;
  58891. function TETH_ETHIRQ.getRXDONE : TBits_1; inline;
  58892. begin
  58893. getRXDONE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58894. end;
  58895. procedure TETH_ETHIRQ.setFWMARK; inline;
  58896. begin
  58897. pTDefRegMap(@Self)^.&set := $00000100;
  58898. end;
  58899. procedure TETH_ETHIRQ.clearFWMARK; inline;
  58900. begin
  58901. pTDefRegMap(@Self)^.clr := $00000100;
  58902. end;
  58903. procedure TETH_ETHIRQ.setFWMARK(thebits : TBits_1); inline;
  58904. begin
  58905. if thebits = 0 then
  58906. pTDefRegMap(@Self)^.clr := $00000100
  58907. else
  58908. pTDefRegMap(@Self)^.&set := $00000100;
  58909. end;
  58910. function TETH_ETHIRQ.getFWMARK : TBits_1; inline;
  58911. begin
  58912. getFWMARK := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58913. end;
  58914. procedure TETH_ETHIRQ.setEWMARK; inline;
  58915. begin
  58916. pTDefRegMap(@Self)^.&set := $00000200;
  58917. end;
  58918. procedure TETH_ETHIRQ.clearEWMARK; inline;
  58919. begin
  58920. pTDefRegMap(@Self)^.clr := $00000200;
  58921. end;
  58922. procedure TETH_ETHIRQ.setEWMARK(thebits : TBits_1); inline;
  58923. begin
  58924. if thebits = 0 then
  58925. pTDefRegMap(@Self)^.clr := $00000200
  58926. else
  58927. pTDefRegMap(@Self)^.&set := $00000200;
  58928. end;
  58929. function TETH_ETHIRQ.getEWMARK : TBits_1; inline;
  58930. begin
  58931. getEWMARK := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58932. end;
  58933. procedure TETH_ETHIRQ.setRXBUSE; inline;
  58934. begin
  58935. pTDefRegMap(@Self)^.&set := $00002000;
  58936. end;
  58937. procedure TETH_ETHIRQ.clearRXBUSE; inline;
  58938. begin
  58939. pTDefRegMap(@Self)^.clr := $00002000;
  58940. end;
  58941. procedure TETH_ETHIRQ.setRXBUSE(thebits : TBits_1); inline;
  58942. begin
  58943. if thebits = 0 then
  58944. pTDefRegMap(@Self)^.clr := $00002000
  58945. else
  58946. pTDefRegMap(@Self)^.&set := $00002000;
  58947. end;
  58948. function TETH_ETHIRQ.getRXBUSE : TBits_1; inline;
  58949. begin
  58950. getRXBUSE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58951. end;
  58952. procedure TETH_ETHIRQ.setTXBUSE; inline;
  58953. begin
  58954. pTDefRegMap(@Self)^.&set := $00004000;
  58955. end;
  58956. procedure TETH_ETHIRQ.clearTXBUSE; inline;
  58957. begin
  58958. pTDefRegMap(@Self)^.clr := $00004000;
  58959. end;
  58960. procedure TETH_ETHIRQ.setTXBUSE(thebits : TBits_1); inline;
  58961. begin
  58962. if thebits = 0 then
  58963. pTDefRegMap(@Self)^.clr := $00004000
  58964. else
  58965. pTDefRegMap(@Self)^.&set := $00004000;
  58966. end;
  58967. function TETH_ETHIRQ.getTXBUSE : TBits_1; inline;
  58968. begin
  58969. getTXBUSE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58970. end;
  58971. procedure TETH_ETHIRQ.setw(thebits : TBits_32); inline;
  58972. begin
  58973. pTDefRegMap(@Self)^.val := thebits;
  58974. end;
  58975. function TETH_ETHIRQ.getw : TBits_32; inline;
  58976. begin
  58977. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58978. end;
  58979. procedure TETH_ETHSTAT.setRXBUSY; inline;
  58980. begin
  58981. pTDefRegMap(@Self)^.&set := $00000020;
  58982. end;
  58983. procedure TETH_ETHSTAT.clearRXBUSY; inline;
  58984. begin
  58985. pTDefRegMap(@Self)^.clr := $00000020;
  58986. end;
  58987. procedure TETH_ETHSTAT.setRXBUSY(thebits : TBits_1); inline;
  58988. begin
  58989. if thebits = 0 then
  58990. pTDefRegMap(@Self)^.clr := $00000020
  58991. else
  58992. pTDefRegMap(@Self)^.&set := $00000020;
  58993. end;
  58994. function TETH_ETHSTAT.getRXBUSY : TBits_1; inline;
  58995. begin
  58996. getRXBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58997. end;
  58998. procedure TETH_ETHSTAT.setTXBUSY; inline;
  58999. begin
  59000. pTDefRegMap(@Self)^.&set := $00000040;
  59001. end;
  59002. procedure TETH_ETHSTAT.clearTXBUSY; inline;
  59003. begin
  59004. pTDefRegMap(@Self)^.clr := $00000040;
  59005. end;
  59006. procedure TETH_ETHSTAT.setTXBUSY(thebits : TBits_1); inline;
  59007. begin
  59008. if thebits = 0 then
  59009. pTDefRegMap(@Self)^.clr := $00000040
  59010. else
  59011. pTDefRegMap(@Self)^.&set := $00000040;
  59012. end;
  59013. function TETH_ETHSTAT.getTXBUSY : TBits_1; inline;
  59014. begin
  59015. getTXBUSY := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59016. end;
  59017. procedure TETH_ETHSTAT.setBUSY; inline;
  59018. begin
  59019. pTDefRegMap(@Self)^.&set := $00000080;
  59020. end;
  59021. procedure TETH_ETHSTAT.clearBUSY; inline;
  59022. begin
  59023. pTDefRegMap(@Self)^.clr := $00000080;
  59024. end;
  59025. procedure TETH_ETHSTAT.setBUSY(thebits : TBits_1); inline;
  59026. begin
  59027. if thebits = 0 then
  59028. pTDefRegMap(@Self)^.clr := $00000080
  59029. else
  59030. pTDefRegMap(@Self)^.&set := $00000080;
  59031. end;
  59032. function TETH_ETHSTAT.getBUSY : TBits_1; inline;
  59033. begin
  59034. getBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59035. end;
  59036. procedure TETH_ETHSTAT.setBUFCNT(thebits : TBits_8); inline;
  59037. begin
  59038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  59039. end;
  59040. function TETH_ETHSTAT.getBUFCNT : TBits_8; inline;
  59041. begin
  59042. getBUFCNT := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  59043. end;
  59044. procedure TETH_ETHSTAT.setETHBUSY; inline;
  59045. begin
  59046. pTDefRegMap(@Self)^.&set := $00000080;
  59047. end;
  59048. procedure TETH_ETHSTAT.clearETHBUSY; inline;
  59049. begin
  59050. pTDefRegMap(@Self)^.clr := $00000080;
  59051. end;
  59052. procedure TETH_ETHSTAT.setETHBUSY(thebits : TBits_1); inline;
  59053. begin
  59054. if thebits = 0 then
  59055. pTDefRegMap(@Self)^.clr := $00000080
  59056. else
  59057. pTDefRegMap(@Self)^.&set := $00000080;
  59058. end;
  59059. function TETH_ETHSTAT.getETHBUSY : TBits_1; inline;
  59060. begin
  59061. getETHBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59062. end;
  59063. procedure TETH_ETHSTAT.setw(thebits : TBits_32); inline;
  59064. begin
  59065. pTDefRegMap(@Self)^.val := thebits;
  59066. end;
  59067. function TETH_ETHSTAT.getw : TBits_32; inline;
  59068. begin
  59069. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59070. end;
  59071. procedure TETH_ETHRXOVFLOW.setRXOVFLWCNT(thebits : TBits_16); inline;
  59072. begin
  59073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59074. end;
  59075. function TETH_ETHRXOVFLOW.getRXOVFLWCNT : TBits_16; inline;
  59076. begin
  59077. getRXOVFLWCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59078. end;
  59079. procedure TETH_ETHRXOVFLOW.setw(thebits : TBits_32); inline;
  59080. begin
  59081. pTDefRegMap(@Self)^.val := thebits;
  59082. end;
  59083. function TETH_ETHRXOVFLOW.getw : TBits_32; inline;
  59084. begin
  59085. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59086. end;
  59087. procedure TETH_ETHFRMTXOK.setFRMTXOKCNT(thebits : TBits_16); inline;
  59088. begin
  59089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59090. end;
  59091. function TETH_ETHFRMTXOK.getFRMTXOKCNT : TBits_16; inline;
  59092. begin
  59093. getFRMTXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59094. end;
  59095. procedure TETH_ETHFRMTXOK.setw(thebits : TBits_32); inline;
  59096. begin
  59097. pTDefRegMap(@Self)^.val := thebits;
  59098. end;
  59099. function TETH_ETHFRMTXOK.getw : TBits_32; inline;
  59100. begin
  59101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59102. end;
  59103. procedure TETH_ETHSCOLFRM.setSCOLFRMCNT(thebits : TBits_16); inline;
  59104. begin
  59105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59106. end;
  59107. function TETH_ETHSCOLFRM.getSCOLFRMCNT : TBits_16; inline;
  59108. begin
  59109. getSCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59110. end;
  59111. procedure TETH_ETHSCOLFRM.setw(thebits : TBits_32); inline;
  59112. begin
  59113. pTDefRegMap(@Self)^.val := thebits;
  59114. end;
  59115. function TETH_ETHSCOLFRM.getw : TBits_32; inline;
  59116. begin
  59117. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59118. end;
  59119. procedure TETH_ETHMCOLFRM.setMCOLFRMCNT(thebits : TBits_16); inline;
  59120. begin
  59121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59122. end;
  59123. function TETH_ETHMCOLFRM.getMCOLFRMCNT : TBits_16; inline;
  59124. begin
  59125. getMCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59126. end;
  59127. procedure TETH_ETHMCOLFRM.setMCOLFRM_CNT(thebits : TBits_16); inline;
  59128. begin
  59129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59130. end;
  59131. function TETH_ETHMCOLFRM.getMCOLFRM_CNT : TBits_16; inline;
  59132. begin
  59133. getMCOLFRM_CNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59134. end;
  59135. procedure TETH_ETHMCOLFRM.setw(thebits : TBits_32); inline;
  59136. begin
  59137. pTDefRegMap(@Self)^.val := thebits;
  59138. end;
  59139. function TETH_ETHMCOLFRM.getw : TBits_32; inline;
  59140. begin
  59141. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59142. end;
  59143. procedure TETH_ETHFRMRXOK.setFRMRXOKCNT(thebits : TBits_16); inline;
  59144. begin
  59145. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59146. end;
  59147. function TETH_ETHFRMRXOK.getFRMRXOKCNT : TBits_16; inline;
  59148. begin
  59149. getFRMRXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59150. end;
  59151. procedure TETH_ETHFRMRXOK.setw(thebits : TBits_32); inline;
  59152. begin
  59153. pTDefRegMap(@Self)^.val := thebits;
  59154. end;
  59155. function TETH_ETHFRMRXOK.getw : TBits_32; inline;
  59156. begin
  59157. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59158. end;
  59159. procedure TETH_ETHFCSERR.setFCSERRCNT(thebits : TBits_16); inline;
  59160. begin
  59161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59162. end;
  59163. function TETH_ETHFCSERR.getFCSERRCNT : TBits_16; inline;
  59164. begin
  59165. getFCSERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59166. end;
  59167. procedure TETH_ETHFCSERR.setw(thebits : TBits_32); inline;
  59168. begin
  59169. pTDefRegMap(@Self)^.val := thebits;
  59170. end;
  59171. function TETH_ETHFCSERR.getw : TBits_32; inline;
  59172. begin
  59173. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59174. end;
  59175. procedure TETH_ETHALGNERR.setALGNERRCNT(thebits : TBits_16); inline;
  59176. begin
  59177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  59178. end;
  59179. function TETH_ETHALGNERR.getALGNERRCNT : TBits_16; inline;
  59180. begin
  59181. getALGNERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  59182. end;
  59183. procedure TETH_ETHALGNERR.setw(thebits : TBits_32); inline;
  59184. begin
  59185. pTDefRegMap(@Self)^.val := thebits;
  59186. end;
  59187. function TETH_ETHALGNERR.getw : TBits_32; inline;
  59188. begin
  59189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59190. end;
  59191. procedure TETH_EMAC1CFG1.setRXENABLE; inline;
  59192. begin
  59193. pTDefRegMap(@Self)^.&set := $00000001;
  59194. end;
  59195. procedure TETH_EMAC1CFG1.clearRXENABLE; inline;
  59196. begin
  59197. pTDefRegMap(@Self)^.clr := $00000001;
  59198. end;
  59199. procedure TETH_EMAC1CFG1.setRXENABLE(thebits : TBits_1); inline;
  59200. begin
  59201. if thebits = 0 then
  59202. pTDefRegMap(@Self)^.clr := $00000001
  59203. else
  59204. pTDefRegMap(@Self)^.&set := $00000001;
  59205. end;
  59206. function TETH_EMAC1CFG1.getRXENABLE : TBits_1; inline;
  59207. begin
  59208. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59209. end;
  59210. procedure TETH_EMAC1CFG1.setPASSALL; inline;
  59211. begin
  59212. pTDefRegMap(@Self)^.&set := $00000002;
  59213. end;
  59214. procedure TETH_EMAC1CFG1.clearPASSALL; inline;
  59215. begin
  59216. pTDefRegMap(@Self)^.clr := $00000002;
  59217. end;
  59218. procedure TETH_EMAC1CFG1.setPASSALL(thebits : TBits_1); inline;
  59219. begin
  59220. if thebits = 0 then
  59221. pTDefRegMap(@Self)^.clr := $00000002
  59222. else
  59223. pTDefRegMap(@Self)^.&set := $00000002;
  59224. end;
  59225. function TETH_EMAC1CFG1.getPASSALL : TBits_1; inline;
  59226. begin
  59227. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59228. end;
  59229. procedure TETH_EMAC1CFG1.setRXPAUSE; inline;
  59230. begin
  59231. pTDefRegMap(@Self)^.&set := $00000004;
  59232. end;
  59233. procedure TETH_EMAC1CFG1.clearRXPAUSE; inline;
  59234. begin
  59235. pTDefRegMap(@Self)^.clr := $00000004;
  59236. end;
  59237. procedure TETH_EMAC1CFG1.setRXPAUSE(thebits : TBits_1); inline;
  59238. begin
  59239. if thebits = 0 then
  59240. pTDefRegMap(@Self)^.clr := $00000004
  59241. else
  59242. pTDefRegMap(@Self)^.&set := $00000004;
  59243. end;
  59244. function TETH_EMAC1CFG1.getRXPAUSE : TBits_1; inline;
  59245. begin
  59246. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59247. end;
  59248. procedure TETH_EMAC1CFG1.setTXPAUSE; inline;
  59249. begin
  59250. pTDefRegMap(@Self)^.&set := $00000008;
  59251. end;
  59252. procedure TETH_EMAC1CFG1.clearTXPAUSE; inline;
  59253. begin
  59254. pTDefRegMap(@Self)^.clr := $00000008;
  59255. end;
  59256. procedure TETH_EMAC1CFG1.setTXPAUSE(thebits : TBits_1); inline;
  59257. begin
  59258. if thebits = 0 then
  59259. pTDefRegMap(@Self)^.clr := $00000008
  59260. else
  59261. pTDefRegMap(@Self)^.&set := $00000008;
  59262. end;
  59263. function TETH_EMAC1CFG1.getTXPAUSE : TBits_1; inline;
  59264. begin
  59265. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59266. end;
  59267. procedure TETH_EMAC1CFG1.setLOOPBACK; inline;
  59268. begin
  59269. pTDefRegMap(@Self)^.&set := $00000010;
  59270. end;
  59271. procedure TETH_EMAC1CFG1.clearLOOPBACK; inline;
  59272. begin
  59273. pTDefRegMap(@Self)^.clr := $00000010;
  59274. end;
  59275. procedure TETH_EMAC1CFG1.setLOOPBACK(thebits : TBits_1); inline;
  59276. begin
  59277. if thebits = 0 then
  59278. pTDefRegMap(@Self)^.clr := $00000010
  59279. else
  59280. pTDefRegMap(@Self)^.&set := $00000010;
  59281. end;
  59282. function TETH_EMAC1CFG1.getLOOPBACK : TBits_1; inline;
  59283. begin
  59284. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59285. end;
  59286. procedure TETH_EMAC1CFG1.setRESETTFUN; inline;
  59287. begin
  59288. pTDefRegMap(@Self)^.&set := $00000100;
  59289. end;
  59290. procedure TETH_EMAC1CFG1.clearRESETTFUN; inline;
  59291. begin
  59292. pTDefRegMap(@Self)^.clr := $00000100;
  59293. end;
  59294. procedure TETH_EMAC1CFG1.setRESETTFUN(thebits : TBits_1); inline;
  59295. begin
  59296. if thebits = 0 then
  59297. pTDefRegMap(@Self)^.clr := $00000100
  59298. else
  59299. pTDefRegMap(@Self)^.&set := $00000100;
  59300. end;
  59301. function TETH_EMAC1CFG1.getRESETTFUN : TBits_1; inline;
  59302. begin
  59303. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59304. end;
  59305. procedure TETH_EMAC1CFG1.setRESETTMCS; inline;
  59306. begin
  59307. pTDefRegMap(@Self)^.&set := $00000200;
  59308. end;
  59309. procedure TETH_EMAC1CFG1.clearRESETTMCS; inline;
  59310. begin
  59311. pTDefRegMap(@Self)^.clr := $00000200;
  59312. end;
  59313. procedure TETH_EMAC1CFG1.setRESETTMCS(thebits : TBits_1); inline;
  59314. begin
  59315. if thebits = 0 then
  59316. pTDefRegMap(@Self)^.clr := $00000200
  59317. else
  59318. pTDefRegMap(@Self)^.&set := $00000200;
  59319. end;
  59320. function TETH_EMAC1CFG1.getRESETTMCS : TBits_1; inline;
  59321. begin
  59322. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59323. end;
  59324. procedure TETH_EMAC1CFG1.setRESETRFUN; inline;
  59325. begin
  59326. pTDefRegMap(@Self)^.&set := $00000400;
  59327. end;
  59328. procedure TETH_EMAC1CFG1.clearRESETRFUN; inline;
  59329. begin
  59330. pTDefRegMap(@Self)^.clr := $00000400;
  59331. end;
  59332. procedure TETH_EMAC1CFG1.setRESETRFUN(thebits : TBits_1); inline;
  59333. begin
  59334. if thebits = 0 then
  59335. pTDefRegMap(@Self)^.clr := $00000400
  59336. else
  59337. pTDefRegMap(@Self)^.&set := $00000400;
  59338. end;
  59339. function TETH_EMAC1CFG1.getRESETRFUN : TBits_1; inline;
  59340. begin
  59341. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59342. end;
  59343. procedure TETH_EMAC1CFG1.setRESETRMCS; inline;
  59344. begin
  59345. pTDefRegMap(@Self)^.&set := $00000800;
  59346. end;
  59347. procedure TETH_EMAC1CFG1.clearRESETRMCS; inline;
  59348. begin
  59349. pTDefRegMap(@Self)^.clr := $00000800;
  59350. end;
  59351. procedure TETH_EMAC1CFG1.setRESETRMCS(thebits : TBits_1); inline;
  59352. begin
  59353. if thebits = 0 then
  59354. pTDefRegMap(@Self)^.clr := $00000800
  59355. else
  59356. pTDefRegMap(@Self)^.&set := $00000800;
  59357. end;
  59358. function TETH_EMAC1CFG1.getRESETRMCS : TBits_1; inline;
  59359. begin
  59360. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59361. end;
  59362. procedure TETH_EMAC1CFG1.setSIMRESET; inline;
  59363. begin
  59364. pTDefRegMap(@Self)^.&set := $00004000;
  59365. end;
  59366. procedure TETH_EMAC1CFG1.clearSIMRESET; inline;
  59367. begin
  59368. pTDefRegMap(@Self)^.clr := $00004000;
  59369. end;
  59370. procedure TETH_EMAC1CFG1.setSIMRESET(thebits : TBits_1); inline;
  59371. begin
  59372. if thebits = 0 then
  59373. pTDefRegMap(@Self)^.clr := $00004000
  59374. else
  59375. pTDefRegMap(@Self)^.&set := $00004000;
  59376. end;
  59377. function TETH_EMAC1CFG1.getSIMRESET : TBits_1; inline;
  59378. begin
  59379. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59380. end;
  59381. procedure TETH_EMAC1CFG1.setSOFTRESET; inline;
  59382. begin
  59383. pTDefRegMap(@Self)^.&set := $00008000;
  59384. end;
  59385. procedure TETH_EMAC1CFG1.clearSOFTRESET; inline;
  59386. begin
  59387. pTDefRegMap(@Self)^.clr := $00008000;
  59388. end;
  59389. procedure TETH_EMAC1CFG1.setSOFTRESET(thebits : TBits_1); inline;
  59390. begin
  59391. if thebits = 0 then
  59392. pTDefRegMap(@Self)^.clr := $00008000
  59393. else
  59394. pTDefRegMap(@Self)^.&set := $00008000;
  59395. end;
  59396. function TETH_EMAC1CFG1.getSOFTRESET : TBits_1; inline;
  59397. begin
  59398. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59399. end;
  59400. procedure TETH_EMAC1CFG1.setw(thebits : TBits_32); inline;
  59401. begin
  59402. pTDefRegMap(@Self)^.val := thebits;
  59403. end;
  59404. function TETH_EMAC1CFG1.getw : TBits_32; inline;
  59405. begin
  59406. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59407. end;
  59408. procedure TETH_EMACxCFG1.setRXENABLE; inline;
  59409. begin
  59410. pTDefRegMap(@Self)^.&set := $00000001;
  59411. end;
  59412. procedure TETH_EMACxCFG1.clearRXENABLE; inline;
  59413. begin
  59414. pTDefRegMap(@Self)^.clr := $00000001;
  59415. end;
  59416. procedure TETH_EMACxCFG1.setRXENABLE(thebits : TBits_1); inline;
  59417. begin
  59418. if thebits = 0 then
  59419. pTDefRegMap(@Self)^.clr := $00000001
  59420. else
  59421. pTDefRegMap(@Self)^.&set := $00000001;
  59422. end;
  59423. function TETH_EMACxCFG1.getRXENABLE : TBits_1; inline;
  59424. begin
  59425. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59426. end;
  59427. procedure TETH_EMACxCFG1.setPASSALL; inline;
  59428. begin
  59429. pTDefRegMap(@Self)^.&set := $00000002;
  59430. end;
  59431. procedure TETH_EMACxCFG1.clearPASSALL; inline;
  59432. begin
  59433. pTDefRegMap(@Self)^.clr := $00000002;
  59434. end;
  59435. procedure TETH_EMACxCFG1.setPASSALL(thebits : TBits_1); inline;
  59436. begin
  59437. if thebits = 0 then
  59438. pTDefRegMap(@Self)^.clr := $00000002
  59439. else
  59440. pTDefRegMap(@Self)^.&set := $00000002;
  59441. end;
  59442. function TETH_EMACxCFG1.getPASSALL : TBits_1; inline;
  59443. begin
  59444. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59445. end;
  59446. procedure TETH_EMACxCFG1.setRXPAUSE; inline;
  59447. begin
  59448. pTDefRegMap(@Self)^.&set := $00000004;
  59449. end;
  59450. procedure TETH_EMACxCFG1.clearRXPAUSE; inline;
  59451. begin
  59452. pTDefRegMap(@Self)^.clr := $00000004;
  59453. end;
  59454. procedure TETH_EMACxCFG1.setRXPAUSE(thebits : TBits_1); inline;
  59455. begin
  59456. if thebits = 0 then
  59457. pTDefRegMap(@Self)^.clr := $00000004
  59458. else
  59459. pTDefRegMap(@Self)^.&set := $00000004;
  59460. end;
  59461. function TETH_EMACxCFG1.getRXPAUSE : TBits_1; inline;
  59462. begin
  59463. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59464. end;
  59465. procedure TETH_EMACxCFG1.setTXPAUSE; inline;
  59466. begin
  59467. pTDefRegMap(@Self)^.&set := $00000008;
  59468. end;
  59469. procedure TETH_EMACxCFG1.clearTXPAUSE; inline;
  59470. begin
  59471. pTDefRegMap(@Self)^.clr := $00000008;
  59472. end;
  59473. procedure TETH_EMACxCFG1.setTXPAUSE(thebits : TBits_1); inline;
  59474. begin
  59475. if thebits = 0 then
  59476. pTDefRegMap(@Self)^.clr := $00000008
  59477. else
  59478. pTDefRegMap(@Self)^.&set := $00000008;
  59479. end;
  59480. function TETH_EMACxCFG1.getTXPAUSE : TBits_1; inline;
  59481. begin
  59482. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59483. end;
  59484. procedure TETH_EMACxCFG1.setLOOPBACK; inline;
  59485. begin
  59486. pTDefRegMap(@Self)^.&set := $00000010;
  59487. end;
  59488. procedure TETH_EMACxCFG1.clearLOOPBACK; inline;
  59489. begin
  59490. pTDefRegMap(@Self)^.clr := $00000010;
  59491. end;
  59492. procedure TETH_EMACxCFG1.setLOOPBACK(thebits : TBits_1); inline;
  59493. begin
  59494. if thebits = 0 then
  59495. pTDefRegMap(@Self)^.clr := $00000010
  59496. else
  59497. pTDefRegMap(@Self)^.&set := $00000010;
  59498. end;
  59499. function TETH_EMACxCFG1.getLOOPBACK : TBits_1; inline;
  59500. begin
  59501. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59502. end;
  59503. procedure TETH_EMACxCFG1.setRESETTFUN; inline;
  59504. begin
  59505. pTDefRegMap(@Self)^.&set := $00000100;
  59506. end;
  59507. procedure TETH_EMACxCFG1.clearRESETTFUN; inline;
  59508. begin
  59509. pTDefRegMap(@Self)^.clr := $00000100;
  59510. end;
  59511. procedure TETH_EMACxCFG1.setRESETTFUN(thebits : TBits_1); inline;
  59512. begin
  59513. if thebits = 0 then
  59514. pTDefRegMap(@Self)^.clr := $00000100
  59515. else
  59516. pTDefRegMap(@Self)^.&set := $00000100;
  59517. end;
  59518. function TETH_EMACxCFG1.getRESETTFUN : TBits_1; inline;
  59519. begin
  59520. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59521. end;
  59522. procedure TETH_EMACxCFG1.setRESETTMCS; inline;
  59523. begin
  59524. pTDefRegMap(@Self)^.&set := $00000200;
  59525. end;
  59526. procedure TETH_EMACxCFG1.clearRESETTMCS; inline;
  59527. begin
  59528. pTDefRegMap(@Self)^.clr := $00000200;
  59529. end;
  59530. procedure TETH_EMACxCFG1.setRESETTMCS(thebits : TBits_1); inline;
  59531. begin
  59532. if thebits = 0 then
  59533. pTDefRegMap(@Self)^.clr := $00000200
  59534. else
  59535. pTDefRegMap(@Self)^.&set := $00000200;
  59536. end;
  59537. function TETH_EMACxCFG1.getRESETTMCS : TBits_1; inline;
  59538. begin
  59539. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59540. end;
  59541. procedure TETH_EMACxCFG1.setRESETRFUN; inline;
  59542. begin
  59543. pTDefRegMap(@Self)^.&set := $00000400;
  59544. end;
  59545. procedure TETH_EMACxCFG1.clearRESETRFUN; inline;
  59546. begin
  59547. pTDefRegMap(@Self)^.clr := $00000400;
  59548. end;
  59549. procedure TETH_EMACxCFG1.setRESETRFUN(thebits : TBits_1); inline;
  59550. begin
  59551. if thebits = 0 then
  59552. pTDefRegMap(@Self)^.clr := $00000400
  59553. else
  59554. pTDefRegMap(@Self)^.&set := $00000400;
  59555. end;
  59556. function TETH_EMACxCFG1.getRESETRFUN : TBits_1; inline;
  59557. begin
  59558. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59559. end;
  59560. procedure TETH_EMACxCFG1.setRESETRMCS; inline;
  59561. begin
  59562. pTDefRegMap(@Self)^.&set := $00000800;
  59563. end;
  59564. procedure TETH_EMACxCFG1.clearRESETRMCS; inline;
  59565. begin
  59566. pTDefRegMap(@Self)^.clr := $00000800;
  59567. end;
  59568. procedure TETH_EMACxCFG1.setRESETRMCS(thebits : TBits_1); inline;
  59569. begin
  59570. if thebits = 0 then
  59571. pTDefRegMap(@Self)^.clr := $00000800
  59572. else
  59573. pTDefRegMap(@Self)^.&set := $00000800;
  59574. end;
  59575. function TETH_EMACxCFG1.getRESETRMCS : TBits_1; inline;
  59576. begin
  59577. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59578. end;
  59579. procedure TETH_EMACxCFG1.setSIMRESET; inline;
  59580. begin
  59581. pTDefRegMap(@Self)^.&set := $00004000;
  59582. end;
  59583. procedure TETH_EMACxCFG1.clearSIMRESET; inline;
  59584. begin
  59585. pTDefRegMap(@Self)^.clr := $00004000;
  59586. end;
  59587. procedure TETH_EMACxCFG1.setSIMRESET(thebits : TBits_1); inline;
  59588. begin
  59589. if thebits = 0 then
  59590. pTDefRegMap(@Self)^.clr := $00004000
  59591. else
  59592. pTDefRegMap(@Self)^.&set := $00004000;
  59593. end;
  59594. function TETH_EMACxCFG1.getSIMRESET : TBits_1; inline;
  59595. begin
  59596. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59597. end;
  59598. procedure TETH_EMACxCFG1.setSOFTRESET; inline;
  59599. begin
  59600. pTDefRegMap(@Self)^.&set := $00008000;
  59601. end;
  59602. procedure TETH_EMACxCFG1.clearSOFTRESET; inline;
  59603. begin
  59604. pTDefRegMap(@Self)^.clr := $00008000;
  59605. end;
  59606. procedure TETH_EMACxCFG1.setSOFTRESET(thebits : TBits_1); inline;
  59607. begin
  59608. if thebits = 0 then
  59609. pTDefRegMap(@Self)^.clr := $00008000
  59610. else
  59611. pTDefRegMap(@Self)^.&set := $00008000;
  59612. end;
  59613. function TETH_EMACxCFG1.getSOFTRESET : TBits_1; inline;
  59614. begin
  59615. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59616. end;
  59617. procedure TETH_EMACxCFG1.setw(thebits : TBits_32); inline;
  59618. begin
  59619. pTDefRegMap(@Self)^.val := thebits;
  59620. end;
  59621. function TETH_EMACxCFG1.getw : TBits_32; inline;
  59622. begin
  59623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59624. end;
  59625. procedure TETH_EMAC1CFG2.setFULLDPLX; inline;
  59626. begin
  59627. pTDefRegMap(@Self)^.&set := $00000001;
  59628. end;
  59629. procedure TETH_EMAC1CFG2.clearFULLDPLX; inline;
  59630. begin
  59631. pTDefRegMap(@Self)^.clr := $00000001;
  59632. end;
  59633. procedure TETH_EMAC1CFG2.setFULLDPLX(thebits : TBits_1); inline;
  59634. begin
  59635. if thebits = 0 then
  59636. pTDefRegMap(@Self)^.clr := $00000001
  59637. else
  59638. pTDefRegMap(@Self)^.&set := $00000001;
  59639. end;
  59640. function TETH_EMAC1CFG2.getFULLDPLX : TBits_1; inline;
  59641. begin
  59642. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59643. end;
  59644. procedure TETH_EMAC1CFG2.setLENGTHCK; inline;
  59645. begin
  59646. pTDefRegMap(@Self)^.&set := $00000002;
  59647. end;
  59648. procedure TETH_EMAC1CFG2.clearLENGTHCK; inline;
  59649. begin
  59650. pTDefRegMap(@Self)^.clr := $00000002;
  59651. end;
  59652. procedure TETH_EMAC1CFG2.setLENGTHCK(thebits : TBits_1); inline;
  59653. begin
  59654. if thebits = 0 then
  59655. pTDefRegMap(@Self)^.clr := $00000002
  59656. else
  59657. pTDefRegMap(@Self)^.&set := $00000002;
  59658. end;
  59659. function TETH_EMAC1CFG2.getLENGTHCK : TBits_1; inline;
  59660. begin
  59661. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59662. end;
  59663. procedure TETH_EMAC1CFG2.setHUGEFRM; inline;
  59664. begin
  59665. pTDefRegMap(@Self)^.&set := $00000004;
  59666. end;
  59667. procedure TETH_EMAC1CFG2.clearHUGEFRM; inline;
  59668. begin
  59669. pTDefRegMap(@Self)^.clr := $00000004;
  59670. end;
  59671. procedure TETH_EMAC1CFG2.setHUGEFRM(thebits : TBits_1); inline;
  59672. begin
  59673. if thebits = 0 then
  59674. pTDefRegMap(@Self)^.clr := $00000004
  59675. else
  59676. pTDefRegMap(@Self)^.&set := $00000004;
  59677. end;
  59678. function TETH_EMAC1CFG2.getHUGEFRM : TBits_1; inline;
  59679. begin
  59680. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59681. end;
  59682. procedure TETH_EMAC1CFG2.setDELAYCRC; inline;
  59683. begin
  59684. pTDefRegMap(@Self)^.&set := $00000008;
  59685. end;
  59686. procedure TETH_EMAC1CFG2.clearDELAYCRC; inline;
  59687. begin
  59688. pTDefRegMap(@Self)^.clr := $00000008;
  59689. end;
  59690. procedure TETH_EMAC1CFG2.setDELAYCRC(thebits : TBits_1); inline;
  59691. begin
  59692. if thebits = 0 then
  59693. pTDefRegMap(@Self)^.clr := $00000008
  59694. else
  59695. pTDefRegMap(@Self)^.&set := $00000008;
  59696. end;
  59697. function TETH_EMAC1CFG2.getDELAYCRC : TBits_1; inline;
  59698. begin
  59699. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59700. end;
  59701. procedure TETH_EMAC1CFG2.setCRCENABLE; inline;
  59702. begin
  59703. pTDefRegMap(@Self)^.&set := $00000010;
  59704. end;
  59705. procedure TETH_EMAC1CFG2.clearCRCENABLE; inline;
  59706. begin
  59707. pTDefRegMap(@Self)^.clr := $00000010;
  59708. end;
  59709. procedure TETH_EMAC1CFG2.setCRCENABLE(thebits : TBits_1); inline;
  59710. begin
  59711. if thebits = 0 then
  59712. pTDefRegMap(@Self)^.clr := $00000010
  59713. else
  59714. pTDefRegMap(@Self)^.&set := $00000010;
  59715. end;
  59716. function TETH_EMAC1CFG2.getCRCENABLE : TBits_1; inline;
  59717. begin
  59718. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59719. end;
  59720. procedure TETH_EMAC1CFG2.setPADENABLE; inline;
  59721. begin
  59722. pTDefRegMap(@Self)^.&set := $00000020;
  59723. end;
  59724. procedure TETH_EMAC1CFG2.clearPADENABLE; inline;
  59725. begin
  59726. pTDefRegMap(@Self)^.clr := $00000020;
  59727. end;
  59728. procedure TETH_EMAC1CFG2.setPADENABLE(thebits : TBits_1); inline;
  59729. begin
  59730. if thebits = 0 then
  59731. pTDefRegMap(@Self)^.clr := $00000020
  59732. else
  59733. pTDefRegMap(@Self)^.&set := $00000020;
  59734. end;
  59735. function TETH_EMAC1CFG2.getPADENABLE : TBits_1; inline;
  59736. begin
  59737. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59738. end;
  59739. procedure TETH_EMAC1CFG2.setVLANPAD; inline;
  59740. begin
  59741. pTDefRegMap(@Self)^.&set := $00000040;
  59742. end;
  59743. procedure TETH_EMAC1CFG2.clearVLANPAD; inline;
  59744. begin
  59745. pTDefRegMap(@Self)^.clr := $00000040;
  59746. end;
  59747. procedure TETH_EMAC1CFG2.setVLANPAD(thebits : TBits_1); inline;
  59748. begin
  59749. if thebits = 0 then
  59750. pTDefRegMap(@Self)^.clr := $00000040
  59751. else
  59752. pTDefRegMap(@Self)^.&set := $00000040;
  59753. end;
  59754. function TETH_EMAC1CFG2.getVLANPAD : TBits_1; inline;
  59755. begin
  59756. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59757. end;
  59758. procedure TETH_EMAC1CFG2.setAUTOPAD; inline;
  59759. begin
  59760. pTDefRegMap(@Self)^.&set := $00000080;
  59761. end;
  59762. procedure TETH_EMAC1CFG2.clearAUTOPAD; inline;
  59763. begin
  59764. pTDefRegMap(@Self)^.clr := $00000080;
  59765. end;
  59766. procedure TETH_EMAC1CFG2.setAUTOPAD(thebits : TBits_1); inline;
  59767. begin
  59768. if thebits = 0 then
  59769. pTDefRegMap(@Self)^.clr := $00000080
  59770. else
  59771. pTDefRegMap(@Self)^.&set := $00000080;
  59772. end;
  59773. function TETH_EMAC1CFG2.getAUTOPAD : TBits_1; inline;
  59774. begin
  59775. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59776. end;
  59777. procedure TETH_EMAC1CFG2.setPUREPRE; inline;
  59778. begin
  59779. pTDefRegMap(@Self)^.&set := $00000100;
  59780. end;
  59781. procedure TETH_EMAC1CFG2.clearPUREPRE; inline;
  59782. begin
  59783. pTDefRegMap(@Self)^.clr := $00000100;
  59784. end;
  59785. procedure TETH_EMAC1CFG2.setPUREPRE(thebits : TBits_1); inline;
  59786. begin
  59787. if thebits = 0 then
  59788. pTDefRegMap(@Self)^.clr := $00000100
  59789. else
  59790. pTDefRegMap(@Self)^.&set := $00000100;
  59791. end;
  59792. function TETH_EMAC1CFG2.getPUREPRE : TBits_1; inline;
  59793. begin
  59794. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59795. end;
  59796. procedure TETH_EMAC1CFG2.setLONGPRE; inline;
  59797. begin
  59798. pTDefRegMap(@Self)^.&set := $00000200;
  59799. end;
  59800. procedure TETH_EMAC1CFG2.clearLONGPRE; inline;
  59801. begin
  59802. pTDefRegMap(@Self)^.clr := $00000200;
  59803. end;
  59804. procedure TETH_EMAC1CFG2.setLONGPRE(thebits : TBits_1); inline;
  59805. begin
  59806. if thebits = 0 then
  59807. pTDefRegMap(@Self)^.clr := $00000200
  59808. else
  59809. pTDefRegMap(@Self)^.&set := $00000200;
  59810. end;
  59811. function TETH_EMAC1CFG2.getLONGPRE : TBits_1; inline;
  59812. begin
  59813. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59814. end;
  59815. procedure TETH_EMAC1CFG2.setNOBKOFF; inline;
  59816. begin
  59817. pTDefRegMap(@Self)^.&set := $00001000;
  59818. end;
  59819. procedure TETH_EMAC1CFG2.clearNOBKOFF; inline;
  59820. begin
  59821. pTDefRegMap(@Self)^.clr := $00001000;
  59822. end;
  59823. procedure TETH_EMAC1CFG2.setNOBKOFF(thebits : TBits_1); inline;
  59824. begin
  59825. if thebits = 0 then
  59826. pTDefRegMap(@Self)^.clr := $00001000
  59827. else
  59828. pTDefRegMap(@Self)^.&set := $00001000;
  59829. end;
  59830. function TETH_EMAC1CFG2.getNOBKOFF : TBits_1; inline;
  59831. begin
  59832. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59833. end;
  59834. procedure TETH_EMAC1CFG2.setBPNOBKOFF; inline;
  59835. begin
  59836. pTDefRegMap(@Self)^.&set := $00002000;
  59837. end;
  59838. procedure TETH_EMAC1CFG2.clearBPNOBKOFF; inline;
  59839. begin
  59840. pTDefRegMap(@Self)^.clr := $00002000;
  59841. end;
  59842. procedure TETH_EMAC1CFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  59843. begin
  59844. if thebits = 0 then
  59845. pTDefRegMap(@Self)^.clr := $00002000
  59846. else
  59847. pTDefRegMap(@Self)^.&set := $00002000;
  59848. end;
  59849. function TETH_EMAC1CFG2.getBPNOBKOFF : TBits_1; inline;
  59850. begin
  59851. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59852. end;
  59853. procedure TETH_EMAC1CFG2.setEXCESSDFR; inline;
  59854. begin
  59855. pTDefRegMap(@Self)^.&set := $00004000;
  59856. end;
  59857. procedure TETH_EMAC1CFG2.clearEXCESSDFR; inline;
  59858. begin
  59859. pTDefRegMap(@Self)^.clr := $00004000;
  59860. end;
  59861. procedure TETH_EMAC1CFG2.setEXCESSDFR(thebits : TBits_1); inline;
  59862. begin
  59863. if thebits = 0 then
  59864. pTDefRegMap(@Self)^.clr := $00004000
  59865. else
  59866. pTDefRegMap(@Self)^.&set := $00004000;
  59867. end;
  59868. function TETH_EMAC1CFG2.getEXCESSDFR : TBits_1; inline;
  59869. begin
  59870. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59871. end;
  59872. procedure TETH_EMAC1CFG2.setw(thebits : TBits_32); inline;
  59873. begin
  59874. pTDefRegMap(@Self)^.val := thebits;
  59875. end;
  59876. function TETH_EMAC1CFG2.getw : TBits_32; inline;
  59877. begin
  59878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59879. end;
  59880. procedure TETH_EMACxCFG2.setFULLDPLX; inline;
  59881. begin
  59882. pTDefRegMap(@Self)^.&set := $00000001;
  59883. end;
  59884. procedure TETH_EMACxCFG2.clearFULLDPLX; inline;
  59885. begin
  59886. pTDefRegMap(@Self)^.clr := $00000001;
  59887. end;
  59888. procedure TETH_EMACxCFG2.setFULLDPLX(thebits : TBits_1); inline;
  59889. begin
  59890. if thebits = 0 then
  59891. pTDefRegMap(@Self)^.clr := $00000001
  59892. else
  59893. pTDefRegMap(@Self)^.&set := $00000001;
  59894. end;
  59895. function TETH_EMACxCFG2.getFULLDPLX : TBits_1; inline;
  59896. begin
  59897. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59898. end;
  59899. procedure TETH_EMACxCFG2.setLENGTHCK; inline;
  59900. begin
  59901. pTDefRegMap(@Self)^.&set := $00000002;
  59902. end;
  59903. procedure TETH_EMACxCFG2.clearLENGTHCK; inline;
  59904. begin
  59905. pTDefRegMap(@Self)^.clr := $00000002;
  59906. end;
  59907. procedure TETH_EMACxCFG2.setLENGTHCK(thebits : TBits_1); inline;
  59908. begin
  59909. if thebits = 0 then
  59910. pTDefRegMap(@Self)^.clr := $00000002
  59911. else
  59912. pTDefRegMap(@Self)^.&set := $00000002;
  59913. end;
  59914. function TETH_EMACxCFG2.getLENGTHCK : TBits_1; inline;
  59915. begin
  59916. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59917. end;
  59918. procedure TETH_EMACxCFG2.setHUGEFRM; inline;
  59919. begin
  59920. pTDefRegMap(@Self)^.&set := $00000004;
  59921. end;
  59922. procedure TETH_EMACxCFG2.clearHUGEFRM; inline;
  59923. begin
  59924. pTDefRegMap(@Self)^.clr := $00000004;
  59925. end;
  59926. procedure TETH_EMACxCFG2.setHUGEFRM(thebits : TBits_1); inline;
  59927. begin
  59928. if thebits = 0 then
  59929. pTDefRegMap(@Self)^.clr := $00000004
  59930. else
  59931. pTDefRegMap(@Self)^.&set := $00000004;
  59932. end;
  59933. function TETH_EMACxCFG2.getHUGEFRM : TBits_1; inline;
  59934. begin
  59935. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59936. end;
  59937. procedure TETH_EMACxCFG2.setDELAYCRC; inline;
  59938. begin
  59939. pTDefRegMap(@Self)^.&set := $00000008;
  59940. end;
  59941. procedure TETH_EMACxCFG2.clearDELAYCRC; inline;
  59942. begin
  59943. pTDefRegMap(@Self)^.clr := $00000008;
  59944. end;
  59945. procedure TETH_EMACxCFG2.setDELAYCRC(thebits : TBits_1); inline;
  59946. begin
  59947. if thebits = 0 then
  59948. pTDefRegMap(@Self)^.clr := $00000008
  59949. else
  59950. pTDefRegMap(@Self)^.&set := $00000008;
  59951. end;
  59952. function TETH_EMACxCFG2.getDELAYCRC : TBits_1; inline;
  59953. begin
  59954. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59955. end;
  59956. procedure TETH_EMACxCFG2.setCRCENABLE; inline;
  59957. begin
  59958. pTDefRegMap(@Self)^.&set := $00000010;
  59959. end;
  59960. procedure TETH_EMACxCFG2.clearCRCENABLE; inline;
  59961. begin
  59962. pTDefRegMap(@Self)^.clr := $00000010;
  59963. end;
  59964. procedure TETH_EMACxCFG2.setCRCENABLE(thebits : TBits_1); inline;
  59965. begin
  59966. if thebits = 0 then
  59967. pTDefRegMap(@Self)^.clr := $00000010
  59968. else
  59969. pTDefRegMap(@Self)^.&set := $00000010;
  59970. end;
  59971. function TETH_EMACxCFG2.getCRCENABLE : TBits_1; inline;
  59972. begin
  59973. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59974. end;
  59975. procedure TETH_EMACxCFG2.setPADENABLE; inline;
  59976. begin
  59977. pTDefRegMap(@Self)^.&set := $00000020;
  59978. end;
  59979. procedure TETH_EMACxCFG2.clearPADENABLE; inline;
  59980. begin
  59981. pTDefRegMap(@Self)^.clr := $00000020;
  59982. end;
  59983. procedure TETH_EMACxCFG2.setPADENABLE(thebits : TBits_1); inline;
  59984. begin
  59985. if thebits = 0 then
  59986. pTDefRegMap(@Self)^.clr := $00000020
  59987. else
  59988. pTDefRegMap(@Self)^.&set := $00000020;
  59989. end;
  59990. function TETH_EMACxCFG2.getPADENABLE : TBits_1; inline;
  59991. begin
  59992. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59993. end;
  59994. procedure TETH_EMACxCFG2.setVLANPAD; inline;
  59995. begin
  59996. pTDefRegMap(@Self)^.&set := $00000040;
  59997. end;
  59998. procedure TETH_EMACxCFG2.clearVLANPAD; inline;
  59999. begin
  60000. pTDefRegMap(@Self)^.clr := $00000040;
  60001. end;
  60002. procedure TETH_EMACxCFG2.setVLANPAD(thebits : TBits_1); inline;
  60003. begin
  60004. if thebits = 0 then
  60005. pTDefRegMap(@Self)^.clr := $00000040
  60006. else
  60007. pTDefRegMap(@Self)^.&set := $00000040;
  60008. end;
  60009. function TETH_EMACxCFG2.getVLANPAD : TBits_1; inline;
  60010. begin
  60011. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60012. end;
  60013. procedure TETH_EMACxCFG2.setAUTOPAD; inline;
  60014. begin
  60015. pTDefRegMap(@Self)^.&set := $00000080;
  60016. end;
  60017. procedure TETH_EMACxCFG2.clearAUTOPAD; inline;
  60018. begin
  60019. pTDefRegMap(@Self)^.clr := $00000080;
  60020. end;
  60021. procedure TETH_EMACxCFG2.setAUTOPAD(thebits : TBits_1); inline;
  60022. begin
  60023. if thebits = 0 then
  60024. pTDefRegMap(@Self)^.clr := $00000080
  60025. else
  60026. pTDefRegMap(@Self)^.&set := $00000080;
  60027. end;
  60028. function TETH_EMACxCFG2.getAUTOPAD : TBits_1; inline;
  60029. begin
  60030. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60031. end;
  60032. procedure TETH_EMACxCFG2.setPUREPRE; inline;
  60033. begin
  60034. pTDefRegMap(@Self)^.&set := $00000100;
  60035. end;
  60036. procedure TETH_EMACxCFG2.clearPUREPRE; inline;
  60037. begin
  60038. pTDefRegMap(@Self)^.clr := $00000100;
  60039. end;
  60040. procedure TETH_EMACxCFG2.setPUREPRE(thebits : TBits_1); inline;
  60041. begin
  60042. if thebits = 0 then
  60043. pTDefRegMap(@Self)^.clr := $00000100
  60044. else
  60045. pTDefRegMap(@Self)^.&set := $00000100;
  60046. end;
  60047. function TETH_EMACxCFG2.getPUREPRE : TBits_1; inline;
  60048. begin
  60049. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60050. end;
  60051. procedure TETH_EMACxCFG2.setLONGPRE; inline;
  60052. begin
  60053. pTDefRegMap(@Self)^.&set := $00000200;
  60054. end;
  60055. procedure TETH_EMACxCFG2.clearLONGPRE; inline;
  60056. begin
  60057. pTDefRegMap(@Self)^.clr := $00000200;
  60058. end;
  60059. procedure TETH_EMACxCFG2.setLONGPRE(thebits : TBits_1); inline;
  60060. begin
  60061. if thebits = 0 then
  60062. pTDefRegMap(@Self)^.clr := $00000200
  60063. else
  60064. pTDefRegMap(@Self)^.&set := $00000200;
  60065. end;
  60066. function TETH_EMACxCFG2.getLONGPRE : TBits_1; inline;
  60067. begin
  60068. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60069. end;
  60070. procedure TETH_EMACxCFG2.setNOBKOFF; inline;
  60071. begin
  60072. pTDefRegMap(@Self)^.&set := $00001000;
  60073. end;
  60074. procedure TETH_EMACxCFG2.clearNOBKOFF; inline;
  60075. begin
  60076. pTDefRegMap(@Self)^.clr := $00001000;
  60077. end;
  60078. procedure TETH_EMACxCFG2.setNOBKOFF(thebits : TBits_1); inline;
  60079. begin
  60080. if thebits = 0 then
  60081. pTDefRegMap(@Self)^.clr := $00001000
  60082. else
  60083. pTDefRegMap(@Self)^.&set := $00001000;
  60084. end;
  60085. function TETH_EMACxCFG2.getNOBKOFF : TBits_1; inline;
  60086. begin
  60087. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  60088. end;
  60089. procedure TETH_EMACxCFG2.setBPNOBKOFF; inline;
  60090. begin
  60091. pTDefRegMap(@Self)^.&set := $00002000;
  60092. end;
  60093. procedure TETH_EMACxCFG2.clearBPNOBKOFF; inline;
  60094. begin
  60095. pTDefRegMap(@Self)^.clr := $00002000;
  60096. end;
  60097. procedure TETH_EMACxCFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  60098. begin
  60099. if thebits = 0 then
  60100. pTDefRegMap(@Self)^.clr := $00002000
  60101. else
  60102. pTDefRegMap(@Self)^.&set := $00002000;
  60103. end;
  60104. function TETH_EMACxCFG2.getBPNOBKOFF : TBits_1; inline;
  60105. begin
  60106. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60107. end;
  60108. procedure TETH_EMACxCFG2.setEXCESSDFR; inline;
  60109. begin
  60110. pTDefRegMap(@Self)^.&set := $00004000;
  60111. end;
  60112. procedure TETH_EMACxCFG2.clearEXCESSDFR; inline;
  60113. begin
  60114. pTDefRegMap(@Self)^.clr := $00004000;
  60115. end;
  60116. procedure TETH_EMACxCFG2.setEXCESSDFR(thebits : TBits_1); inline;
  60117. begin
  60118. if thebits = 0 then
  60119. pTDefRegMap(@Self)^.clr := $00004000
  60120. else
  60121. pTDefRegMap(@Self)^.&set := $00004000;
  60122. end;
  60123. function TETH_EMACxCFG2.getEXCESSDFR : TBits_1; inline;
  60124. begin
  60125. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60126. end;
  60127. procedure TETH_EMACxCFG2.setw(thebits : TBits_32); inline;
  60128. begin
  60129. pTDefRegMap(@Self)^.val := thebits;
  60130. end;
  60131. function TETH_EMACxCFG2.getw : TBits_32; inline;
  60132. begin
  60133. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60134. end;
  60135. procedure TETH_EMAC1IPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  60136. begin
  60137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  60138. end;
  60139. function TETH_EMAC1IPGT.getB2BIPKTGP : TBits_7; inline;
  60140. begin
  60141. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  60142. end;
  60143. procedure TETH_EMAC1IPGT.setw(thebits : TBits_32); inline;
  60144. begin
  60145. pTDefRegMap(@Self)^.val := thebits;
  60146. end;
  60147. function TETH_EMAC1IPGT.getw : TBits_32; inline;
  60148. begin
  60149. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60150. end;
  60151. procedure TETH_EMACxIPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  60152. begin
  60153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  60154. end;
  60155. function TETH_EMACxIPGT.getB2BIPKTGP : TBits_7; inline;
  60156. begin
  60157. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  60158. end;
  60159. procedure TETH_EMACxIPGT.setw(thebits : TBits_32); inline;
  60160. begin
  60161. pTDefRegMap(@Self)^.val := thebits;
  60162. end;
  60163. function TETH_EMACxIPGT.getw : TBits_32; inline;
  60164. begin
  60165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60166. end;
  60167. procedure TETH_EMAC1IPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  60168. begin
  60169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  60170. end;
  60171. function TETH_EMAC1IPGR.getNB2BIPKTGP2 : TBits_7; inline;
  60172. begin
  60173. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  60174. end;
  60175. procedure TETH_EMAC1IPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  60176. begin
  60177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  60178. end;
  60179. function TETH_EMAC1IPGR.getNB2BIPKTGP1 : TBits_7; inline;
  60180. begin
  60181. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  60182. end;
  60183. procedure TETH_EMAC1IPGR.setw(thebits : TBits_32); inline;
  60184. begin
  60185. pTDefRegMap(@Self)^.val := thebits;
  60186. end;
  60187. function TETH_EMAC1IPGR.getw : TBits_32; inline;
  60188. begin
  60189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60190. end;
  60191. procedure TETH_EMACxIPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  60192. begin
  60193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  60194. end;
  60195. function TETH_EMACxIPGR.getNB2BIPKTGP2 : TBits_7; inline;
  60196. begin
  60197. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  60198. end;
  60199. procedure TETH_EMACxIPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  60200. begin
  60201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  60202. end;
  60203. function TETH_EMACxIPGR.getNB2BIPKTGP1 : TBits_7; inline;
  60204. begin
  60205. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  60206. end;
  60207. procedure TETH_EMACxIPGR.setw(thebits : TBits_32); inline;
  60208. begin
  60209. pTDefRegMap(@Self)^.val := thebits;
  60210. end;
  60211. function TETH_EMACxIPGR.getw : TBits_32; inline;
  60212. begin
  60213. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60214. end;
  60215. procedure TETH_EMAC1CLRT.setRETX(thebits : TBits_4); inline;
  60216. begin
  60217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  60218. end;
  60219. function TETH_EMAC1CLRT.getRETX : TBits_4; inline;
  60220. begin
  60221. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  60222. end;
  60223. procedure TETH_EMAC1CLRT.setCWINDOW(thebits : TBits_6); inline;
  60224. begin
  60225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  60226. end;
  60227. function TETH_EMAC1CLRT.getCWINDOW : TBits_6; inline;
  60228. begin
  60229. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  60230. end;
  60231. procedure TETH_EMAC1CLRT.setw(thebits : TBits_32); inline;
  60232. begin
  60233. pTDefRegMap(@Self)^.val := thebits;
  60234. end;
  60235. function TETH_EMAC1CLRT.getw : TBits_32; inline;
  60236. begin
  60237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60238. end;
  60239. procedure TETH_EMACxCLRT.setRETX(thebits : TBits_4); inline;
  60240. begin
  60241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  60242. end;
  60243. function TETH_EMACxCLRT.getRETX : TBits_4; inline;
  60244. begin
  60245. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  60246. end;
  60247. procedure TETH_EMACxCLRT.setCWINDOW(thebits : TBits_6); inline;
  60248. begin
  60249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  60250. end;
  60251. function TETH_EMACxCLRT.getCWINDOW : TBits_6; inline;
  60252. begin
  60253. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  60254. end;
  60255. procedure TETH_EMACxCLRT.setw(thebits : TBits_32); inline;
  60256. begin
  60257. pTDefRegMap(@Self)^.val := thebits;
  60258. end;
  60259. function TETH_EMACxCLRT.getw : TBits_32; inline;
  60260. begin
  60261. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60262. end;
  60263. procedure TETH_EMAC1MAXF.setMACMAXF(thebits : TBits_16); inline;
  60264. begin
  60265. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60266. end;
  60267. function TETH_EMAC1MAXF.getMACMAXF : TBits_16; inline;
  60268. begin
  60269. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60270. end;
  60271. procedure TETH_EMAC1MAXF.setw(thebits : TBits_32); inline;
  60272. begin
  60273. pTDefRegMap(@Self)^.val := thebits;
  60274. end;
  60275. function TETH_EMAC1MAXF.getw : TBits_32; inline;
  60276. begin
  60277. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60278. end;
  60279. procedure TETH_EMACxMAXF.setMACMAXF(thebits : TBits_16); inline;
  60280. begin
  60281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60282. end;
  60283. function TETH_EMACxMAXF.getMACMAXF : TBits_16; inline;
  60284. begin
  60285. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60286. end;
  60287. procedure TETH_EMACxMAXF.setw(thebits : TBits_32); inline;
  60288. begin
  60289. pTDefRegMap(@Self)^.val := thebits;
  60290. end;
  60291. function TETH_EMACxMAXF.getw : TBits_32; inline;
  60292. begin
  60293. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60294. end;
  60295. procedure TETH_EMAC1SUPP.setSPEEDRMII; inline;
  60296. begin
  60297. pTDefRegMap(@Self)^.&set := $00000100;
  60298. end;
  60299. procedure TETH_EMAC1SUPP.clearSPEEDRMII; inline;
  60300. begin
  60301. pTDefRegMap(@Self)^.clr := $00000100;
  60302. end;
  60303. procedure TETH_EMAC1SUPP.setSPEEDRMII(thebits : TBits_1); inline;
  60304. begin
  60305. if thebits = 0 then
  60306. pTDefRegMap(@Self)^.clr := $00000100
  60307. else
  60308. pTDefRegMap(@Self)^.&set := $00000100;
  60309. end;
  60310. function TETH_EMAC1SUPP.getSPEEDRMII : TBits_1; inline;
  60311. begin
  60312. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60313. end;
  60314. procedure TETH_EMAC1SUPP.setRESETRMII; inline;
  60315. begin
  60316. pTDefRegMap(@Self)^.&set := $00000800;
  60317. end;
  60318. procedure TETH_EMAC1SUPP.clearRESETRMII; inline;
  60319. begin
  60320. pTDefRegMap(@Self)^.clr := $00000800;
  60321. end;
  60322. procedure TETH_EMAC1SUPP.setRESETRMII(thebits : TBits_1); inline;
  60323. begin
  60324. if thebits = 0 then
  60325. pTDefRegMap(@Self)^.clr := $00000800
  60326. else
  60327. pTDefRegMap(@Self)^.&set := $00000800;
  60328. end;
  60329. function TETH_EMAC1SUPP.getRESETRMII : TBits_1; inline;
  60330. begin
  60331. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  60332. end;
  60333. procedure TETH_EMAC1SUPP.setw(thebits : TBits_32); inline;
  60334. begin
  60335. pTDefRegMap(@Self)^.val := thebits;
  60336. end;
  60337. function TETH_EMAC1SUPP.getw : TBits_32; inline;
  60338. begin
  60339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60340. end;
  60341. procedure TETH_EMACxSUPP.setSPEEDRMII; inline;
  60342. begin
  60343. pTDefRegMap(@Self)^.&set := $00000100;
  60344. end;
  60345. procedure TETH_EMACxSUPP.clearSPEEDRMII; inline;
  60346. begin
  60347. pTDefRegMap(@Self)^.clr := $00000100;
  60348. end;
  60349. procedure TETH_EMACxSUPP.setSPEEDRMII(thebits : TBits_1); inline;
  60350. begin
  60351. if thebits = 0 then
  60352. pTDefRegMap(@Self)^.clr := $00000100
  60353. else
  60354. pTDefRegMap(@Self)^.&set := $00000100;
  60355. end;
  60356. function TETH_EMACxSUPP.getSPEEDRMII : TBits_1; inline;
  60357. begin
  60358. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60359. end;
  60360. procedure TETH_EMACxSUPP.setRESETRMII; inline;
  60361. begin
  60362. pTDefRegMap(@Self)^.&set := $00000800;
  60363. end;
  60364. procedure TETH_EMACxSUPP.clearRESETRMII; inline;
  60365. begin
  60366. pTDefRegMap(@Self)^.clr := $00000800;
  60367. end;
  60368. procedure TETH_EMACxSUPP.setRESETRMII(thebits : TBits_1); inline;
  60369. begin
  60370. if thebits = 0 then
  60371. pTDefRegMap(@Self)^.clr := $00000800
  60372. else
  60373. pTDefRegMap(@Self)^.&set := $00000800;
  60374. end;
  60375. function TETH_EMACxSUPP.getRESETRMII : TBits_1; inline;
  60376. begin
  60377. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  60378. end;
  60379. procedure TETH_EMACxSUPP.setw(thebits : TBits_32); inline;
  60380. begin
  60381. pTDefRegMap(@Self)^.val := thebits;
  60382. end;
  60383. function TETH_EMACxSUPP.getw : TBits_32; inline;
  60384. begin
  60385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60386. end;
  60387. procedure TETH_EMAC1TEST.setSHRTQNTA; inline;
  60388. begin
  60389. pTDefRegMap(@Self)^.&set := $00000001;
  60390. end;
  60391. procedure TETH_EMAC1TEST.clearSHRTQNTA; inline;
  60392. begin
  60393. pTDefRegMap(@Self)^.clr := $00000001;
  60394. end;
  60395. procedure TETH_EMAC1TEST.setSHRTQNTA(thebits : TBits_1); inline;
  60396. begin
  60397. if thebits = 0 then
  60398. pTDefRegMap(@Self)^.clr := $00000001
  60399. else
  60400. pTDefRegMap(@Self)^.&set := $00000001;
  60401. end;
  60402. function TETH_EMAC1TEST.getSHRTQNTA : TBits_1; inline;
  60403. begin
  60404. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60405. end;
  60406. procedure TETH_EMAC1TEST.setTESTPAUSE; inline;
  60407. begin
  60408. pTDefRegMap(@Self)^.&set := $00000002;
  60409. end;
  60410. procedure TETH_EMAC1TEST.clearTESTPAUSE; inline;
  60411. begin
  60412. pTDefRegMap(@Self)^.clr := $00000002;
  60413. end;
  60414. procedure TETH_EMAC1TEST.setTESTPAUSE(thebits : TBits_1); inline;
  60415. begin
  60416. if thebits = 0 then
  60417. pTDefRegMap(@Self)^.clr := $00000002
  60418. else
  60419. pTDefRegMap(@Self)^.&set := $00000002;
  60420. end;
  60421. function TETH_EMAC1TEST.getTESTPAUSE : TBits_1; inline;
  60422. begin
  60423. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60424. end;
  60425. procedure TETH_EMAC1TEST.setTESTBP; inline;
  60426. begin
  60427. pTDefRegMap(@Self)^.&set := $00000004;
  60428. end;
  60429. procedure TETH_EMAC1TEST.clearTESTBP; inline;
  60430. begin
  60431. pTDefRegMap(@Self)^.clr := $00000004;
  60432. end;
  60433. procedure TETH_EMAC1TEST.setTESTBP(thebits : TBits_1); inline;
  60434. begin
  60435. if thebits = 0 then
  60436. pTDefRegMap(@Self)^.clr := $00000004
  60437. else
  60438. pTDefRegMap(@Self)^.&set := $00000004;
  60439. end;
  60440. function TETH_EMAC1TEST.getTESTBP : TBits_1; inline;
  60441. begin
  60442. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60443. end;
  60444. procedure TETH_EMAC1TEST.setw(thebits : TBits_32); inline;
  60445. begin
  60446. pTDefRegMap(@Self)^.val := thebits;
  60447. end;
  60448. function TETH_EMAC1TEST.getw : TBits_32; inline;
  60449. begin
  60450. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60451. end;
  60452. procedure TETH_EMACxTEST.setSHRTQNTA; inline;
  60453. begin
  60454. pTDefRegMap(@Self)^.&set := $00000001;
  60455. end;
  60456. procedure TETH_EMACxTEST.clearSHRTQNTA; inline;
  60457. begin
  60458. pTDefRegMap(@Self)^.clr := $00000001;
  60459. end;
  60460. procedure TETH_EMACxTEST.setSHRTQNTA(thebits : TBits_1); inline;
  60461. begin
  60462. if thebits = 0 then
  60463. pTDefRegMap(@Self)^.clr := $00000001
  60464. else
  60465. pTDefRegMap(@Self)^.&set := $00000001;
  60466. end;
  60467. function TETH_EMACxTEST.getSHRTQNTA : TBits_1; inline;
  60468. begin
  60469. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60470. end;
  60471. procedure TETH_EMACxTEST.setTESTPAUSE; inline;
  60472. begin
  60473. pTDefRegMap(@Self)^.&set := $00000002;
  60474. end;
  60475. procedure TETH_EMACxTEST.clearTESTPAUSE; inline;
  60476. begin
  60477. pTDefRegMap(@Self)^.clr := $00000002;
  60478. end;
  60479. procedure TETH_EMACxTEST.setTESTPAUSE(thebits : TBits_1); inline;
  60480. begin
  60481. if thebits = 0 then
  60482. pTDefRegMap(@Self)^.clr := $00000002
  60483. else
  60484. pTDefRegMap(@Self)^.&set := $00000002;
  60485. end;
  60486. function TETH_EMACxTEST.getTESTPAUSE : TBits_1; inline;
  60487. begin
  60488. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60489. end;
  60490. procedure TETH_EMACxTEST.setTESTBP; inline;
  60491. begin
  60492. pTDefRegMap(@Self)^.&set := $00000004;
  60493. end;
  60494. procedure TETH_EMACxTEST.clearTESTBP; inline;
  60495. begin
  60496. pTDefRegMap(@Self)^.clr := $00000004;
  60497. end;
  60498. procedure TETH_EMACxTEST.setTESTBP(thebits : TBits_1); inline;
  60499. begin
  60500. if thebits = 0 then
  60501. pTDefRegMap(@Self)^.clr := $00000004
  60502. else
  60503. pTDefRegMap(@Self)^.&set := $00000004;
  60504. end;
  60505. function TETH_EMACxTEST.getTESTBP : TBits_1; inline;
  60506. begin
  60507. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60508. end;
  60509. procedure TETH_EMACxTEST.setw(thebits : TBits_32); inline;
  60510. begin
  60511. pTDefRegMap(@Self)^.val := thebits;
  60512. end;
  60513. function TETH_EMACxTEST.getw : TBits_32; inline;
  60514. begin
  60515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60516. end;
  60517. procedure TETH_EMAC1MCFG.setSCANINC; inline;
  60518. begin
  60519. pTDefRegMap(@Self)^.&set := $00000001;
  60520. end;
  60521. procedure TETH_EMAC1MCFG.clearSCANINC; inline;
  60522. begin
  60523. pTDefRegMap(@Self)^.clr := $00000001;
  60524. end;
  60525. procedure TETH_EMAC1MCFG.setSCANINC(thebits : TBits_1); inline;
  60526. begin
  60527. if thebits = 0 then
  60528. pTDefRegMap(@Self)^.clr := $00000001
  60529. else
  60530. pTDefRegMap(@Self)^.&set := $00000001;
  60531. end;
  60532. function TETH_EMAC1MCFG.getSCANINC : TBits_1; inline;
  60533. begin
  60534. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60535. end;
  60536. procedure TETH_EMAC1MCFG.setNOPRE; inline;
  60537. begin
  60538. pTDefRegMap(@Self)^.&set := $00000002;
  60539. end;
  60540. procedure TETH_EMAC1MCFG.clearNOPRE; inline;
  60541. begin
  60542. pTDefRegMap(@Self)^.clr := $00000002;
  60543. end;
  60544. procedure TETH_EMAC1MCFG.setNOPRE(thebits : TBits_1); inline;
  60545. begin
  60546. if thebits = 0 then
  60547. pTDefRegMap(@Self)^.clr := $00000002
  60548. else
  60549. pTDefRegMap(@Self)^.&set := $00000002;
  60550. end;
  60551. function TETH_EMAC1MCFG.getNOPRE : TBits_1; inline;
  60552. begin
  60553. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60554. end;
  60555. procedure TETH_EMAC1MCFG.setCLKSEL(thebits : TBits_4); inline;
  60556. begin
  60557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  60558. end;
  60559. function TETH_EMAC1MCFG.getCLKSEL : TBits_4; inline;
  60560. begin
  60561. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  60562. end;
  60563. procedure TETH_EMAC1MCFG.setRESETMGMT; inline;
  60564. begin
  60565. pTDefRegMap(@Self)^.&set := $00008000;
  60566. end;
  60567. procedure TETH_EMAC1MCFG.clearRESETMGMT; inline;
  60568. begin
  60569. pTDefRegMap(@Self)^.clr := $00008000;
  60570. end;
  60571. procedure TETH_EMAC1MCFG.setRESETMGMT(thebits : TBits_1); inline;
  60572. begin
  60573. if thebits = 0 then
  60574. pTDefRegMap(@Self)^.clr := $00008000
  60575. else
  60576. pTDefRegMap(@Self)^.&set := $00008000;
  60577. end;
  60578. function TETH_EMAC1MCFG.getRESETMGMT : TBits_1; inline;
  60579. begin
  60580. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  60581. end;
  60582. procedure TETH_EMAC1MCFG.setw(thebits : TBits_32); inline;
  60583. begin
  60584. pTDefRegMap(@Self)^.val := thebits;
  60585. end;
  60586. function TETH_EMAC1MCFG.getw : TBits_32; inline;
  60587. begin
  60588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60589. end;
  60590. procedure TETH_EMACxMCFG.setSCANINC; inline;
  60591. begin
  60592. pTDefRegMap(@Self)^.&set := $00000001;
  60593. end;
  60594. procedure TETH_EMACxMCFG.clearSCANINC; inline;
  60595. begin
  60596. pTDefRegMap(@Self)^.clr := $00000001;
  60597. end;
  60598. procedure TETH_EMACxMCFG.setSCANINC(thebits : TBits_1); inline;
  60599. begin
  60600. if thebits = 0 then
  60601. pTDefRegMap(@Self)^.clr := $00000001
  60602. else
  60603. pTDefRegMap(@Self)^.&set := $00000001;
  60604. end;
  60605. function TETH_EMACxMCFG.getSCANINC : TBits_1; inline;
  60606. begin
  60607. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60608. end;
  60609. procedure TETH_EMACxMCFG.setNOPRE; inline;
  60610. begin
  60611. pTDefRegMap(@Self)^.&set := $00000002;
  60612. end;
  60613. procedure TETH_EMACxMCFG.clearNOPRE; inline;
  60614. begin
  60615. pTDefRegMap(@Self)^.clr := $00000002;
  60616. end;
  60617. procedure TETH_EMACxMCFG.setNOPRE(thebits : TBits_1); inline;
  60618. begin
  60619. if thebits = 0 then
  60620. pTDefRegMap(@Self)^.clr := $00000002
  60621. else
  60622. pTDefRegMap(@Self)^.&set := $00000002;
  60623. end;
  60624. function TETH_EMACxMCFG.getNOPRE : TBits_1; inline;
  60625. begin
  60626. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60627. end;
  60628. procedure TETH_EMACxMCFG.setCLKSEL(thebits : TBits_4); inline;
  60629. begin
  60630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  60631. end;
  60632. function TETH_EMACxMCFG.getCLKSEL : TBits_4; inline;
  60633. begin
  60634. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  60635. end;
  60636. procedure TETH_EMACxMCFG.setRESETMGMT; inline;
  60637. begin
  60638. pTDefRegMap(@Self)^.&set := $00008000;
  60639. end;
  60640. procedure TETH_EMACxMCFG.clearRESETMGMT; inline;
  60641. begin
  60642. pTDefRegMap(@Self)^.clr := $00008000;
  60643. end;
  60644. procedure TETH_EMACxMCFG.setRESETMGMT(thebits : TBits_1); inline;
  60645. begin
  60646. if thebits = 0 then
  60647. pTDefRegMap(@Self)^.clr := $00008000
  60648. else
  60649. pTDefRegMap(@Self)^.&set := $00008000;
  60650. end;
  60651. function TETH_EMACxMCFG.getRESETMGMT : TBits_1; inline;
  60652. begin
  60653. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  60654. end;
  60655. procedure TETH_EMACxMCFG.setw(thebits : TBits_32); inline;
  60656. begin
  60657. pTDefRegMap(@Self)^.val := thebits;
  60658. end;
  60659. function TETH_EMACxMCFG.getw : TBits_32; inline;
  60660. begin
  60661. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60662. end;
  60663. procedure TETH_EMAC1MCMD.setREAD; inline;
  60664. begin
  60665. pTDefRegMap(@Self)^.&set := $00000001;
  60666. end;
  60667. procedure TETH_EMAC1MCMD.clearREAD; inline;
  60668. begin
  60669. pTDefRegMap(@Self)^.clr := $00000001;
  60670. end;
  60671. procedure TETH_EMAC1MCMD.setREAD(thebits : TBits_1); inline;
  60672. begin
  60673. if thebits = 0 then
  60674. pTDefRegMap(@Self)^.clr := $00000001
  60675. else
  60676. pTDefRegMap(@Self)^.&set := $00000001;
  60677. end;
  60678. function TETH_EMAC1MCMD.getREAD : TBits_1; inline;
  60679. begin
  60680. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60681. end;
  60682. procedure TETH_EMAC1MCMD.setSCAN; inline;
  60683. begin
  60684. pTDefRegMap(@Self)^.&set := $00000002;
  60685. end;
  60686. procedure TETH_EMAC1MCMD.clearSCAN; inline;
  60687. begin
  60688. pTDefRegMap(@Self)^.clr := $00000002;
  60689. end;
  60690. procedure TETH_EMAC1MCMD.setSCAN(thebits : TBits_1); inline;
  60691. begin
  60692. if thebits = 0 then
  60693. pTDefRegMap(@Self)^.clr := $00000002
  60694. else
  60695. pTDefRegMap(@Self)^.&set := $00000002;
  60696. end;
  60697. function TETH_EMAC1MCMD.getSCAN : TBits_1; inline;
  60698. begin
  60699. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60700. end;
  60701. procedure TETH_EMAC1MCMD.setw(thebits : TBits_32); inline;
  60702. begin
  60703. pTDefRegMap(@Self)^.val := thebits;
  60704. end;
  60705. function TETH_EMAC1MCMD.getw : TBits_32; inline;
  60706. begin
  60707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60708. end;
  60709. procedure TETH_EMACxMCMD.setREAD; inline;
  60710. begin
  60711. pTDefRegMap(@Self)^.&set := $00000001;
  60712. end;
  60713. procedure TETH_EMACxMCMD.clearREAD; inline;
  60714. begin
  60715. pTDefRegMap(@Self)^.clr := $00000001;
  60716. end;
  60717. procedure TETH_EMACxMCMD.setREAD(thebits : TBits_1); inline;
  60718. begin
  60719. if thebits = 0 then
  60720. pTDefRegMap(@Self)^.clr := $00000001
  60721. else
  60722. pTDefRegMap(@Self)^.&set := $00000001;
  60723. end;
  60724. function TETH_EMACxMCMD.getREAD : TBits_1; inline;
  60725. begin
  60726. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60727. end;
  60728. procedure TETH_EMACxMCMD.setSCAN; inline;
  60729. begin
  60730. pTDefRegMap(@Self)^.&set := $00000002;
  60731. end;
  60732. procedure TETH_EMACxMCMD.clearSCAN; inline;
  60733. begin
  60734. pTDefRegMap(@Self)^.clr := $00000002;
  60735. end;
  60736. procedure TETH_EMACxMCMD.setSCAN(thebits : TBits_1); inline;
  60737. begin
  60738. if thebits = 0 then
  60739. pTDefRegMap(@Self)^.clr := $00000002
  60740. else
  60741. pTDefRegMap(@Self)^.&set := $00000002;
  60742. end;
  60743. function TETH_EMACxMCMD.getSCAN : TBits_1; inline;
  60744. begin
  60745. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60746. end;
  60747. procedure TETH_EMACxMCMD.setw(thebits : TBits_32); inline;
  60748. begin
  60749. pTDefRegMap(@Self)^.val := thebits;
  60750. end;
  60751. function TETH_EMACxMCMD.getw : TBits_32; inline;
  60752. begin
  60753. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60754. end;
  60755. procedure TETH_EMAC1MADR.setREGADDR(thebits : TBits_5); inline;
  60756. begin
  60757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  60758. end;
  60759. function TETH_EMAC1MADR.getREGADDR : TBits_5; inline;
  60760. begin
  60761. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  60762. end;
  60763. procedure TETH_EMAC1MADR.setPHYADDR(thebits : TBits_5); inline;
  60764. begin
  60765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  60766. end;
  60767. function TETH_EMAC1MADR.getPHYADDR : TBits_5; inline;
  60768. begin
  60769. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  60770. end;
  60771. procedure TETH_EMAC1MADR.setw(thebits : TBits_32); inline;
  60772. begin
  60773. pTDefRegMap(@Self)^.val := thebits;
  60774. end;
  60775. function TETH_EMAC1MADR.getw : TBits_32; inline;
  60776. begin
  60777. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60778. end;
  60779. procedure TETH_EMACxMADR.setREGADDR(thebits : TBits_5); inline;
  60780. begin
  60781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  60782. end;
  60783. function TETH_EMACxMADR.getREGADDR : TBits_5; inline;
  60784. begin
  60785. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  60786. end;
  60787. procedure TETH_EMACxMADR.setPHYADDR(thebits : TBits_5); inline;
  60788. begin
  60789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  60790. end;
  60791. function TETH_EMACxMADR.getPHYADDR : TBits_5; inline;
  60792. begin
  60793. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  60794. end;
  60795. procedure TETH_EMACxMADR.setw(thebits : TBits_32); inline;
  60796. begin
  60797. pTDefRegMap(@Self)^.val := thebits;
  60798. end;
  60799. function TETH_EMACxMADR.getw : TBits_32; inline;
  60800. begin
  60801. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60802. end;
  60803. procedure TETH_EMAC1MWTD.setMWTD(thebits : TBits_16); inline;
  60804. begin
  60805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60806. end;
  60807. function TETH_EMAC1MWTD.getMWTD : TBits_16; inline;
  60808. begin
  60809. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60810. end;
  60811. procedure TETH_EMAC1MWTD.setw(thebits : TBits_32); inline;
  60812. begin
  60813. pTDefRegMap(@Self)^.val := thebits;
  60814. end;
  60815. function TETH_EMAC1MWTD.getw : TBits_32; inline;
  60816. begin
  60817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60818. end;
  60819. procedure TETH_EMACxMWTD.setMWTD(thebits : TBits_16); inline;
  60820. begin
  60821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60822. end;
  60823. function TETH_EMACxMWTD.getMWTD : TBits_16; inline;
  60824. begin
  60825. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60826. end;
  60827. procedure TETH_EMACxMWTD.setw(thebits : TBits_32); inline;
  60828. begin
  60829. pTDefRegMap(@Self)^.val := thebits;
  60830. end;
  60831. function TETH_EMACxMWTD.getw : TBits_32; inline;
  60832. begin
  60833. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60834. end;
  60835. procedure TETH_EMAC1MRDD.setMRDD(thebits : TBits_16); inline;
  60836. begin
  60837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60838. end;
  60839. function TETH_EMAC1MRDD.getMRDD : TBits_16; inline;
  60840. begin
  60841. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60842. end;
  60843. procedure TETH_EMAC1MRDD.setw(thebits : TBits_32); inline;
  60844. begin
  60845. pTDefRegMap(@Self)^.val := thebits;
  60846. end;
  60847. function TETH_EMAC1MRDD.getw : TBits_32; inline;
  60848. begin
  60849. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60850. end;
  60851. procedure TETH_EMACxMRDD.setMRDD(thebits : TBits_16); inline;
  60852. begin
  60853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60854. end;
  60855. function TETH_EMACxMRDD.getMRDD : TBits_16; inline;
  60856. begin
  60857. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60858. end;
  60859. procedure TETH_EMACxMRDD.setw(thebits : TBits_32); inline;
  60860. begin
  60861. pTDefRegMap(@Self)^.val := thebits;
  60862. end;
  60863. function TETH_EMACxMRDD.getw : TBits_32; inline;
  60864. begin
  60865. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60866. end;
  60867. procedure TETH_EMAC1MIND.setMIIMBUSY; inline;
  60868. begin
  60869. pTDefRegMap(@Self)^.&set := $00000001;
  60870. end;
  60871. procedure TETH_EMAC1MIND.clearMIIMBUSY; inline;
  60872. begin
  60873. pTDefRegMap(@Self)^.clr := $00000001;
  60874. end;
  60875. procedure TETH_EMAC1MIND.setMIIMBUSY(thebits : TBits_1); inline;
  60876. begin
  60877. if thebits = 0 then
  60878. pTDefRegMap(@Self)^.clr := $00000001
  60879. else
  60880. pTDefRegMap(@Self)^.&set := $00000001;
  60881. end;
  60882. function TETH_EMAC1MIND.getMIIMBUSY : TBits_1; inline;
  60883. begin
  60884. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60885. end;
  60886. procedure TETH_EMAC1MIND.setSCAN; inline;
  60887. begin
  60888. pTDefRegMap(@Self)^.&set := $00000002;
  60889. end;
  60890. procedure TETH_EMAC1MIND.clearSCAN; inline;
  60891. begin
  60892. pTDefRegMap(@Self)^.clr := $00000002;
  60893. end;
  60894. procedure TETH_EMAC1MIND.setSCAN(thebits : TBits_1); inline;
  60895. begin
  60896. if thebits = 0 then
  60897. pTDefRegMap(@Self)^.clr := $00000002
  60898. else
  60899. pTDefRegMap(@Self)^.&set := $00000002;
  60900. end;
  60901. function TETH_EMAC1MIND.getSCAN : TBits_1; inline;
  60902. begin
  60903. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60904. end;
  60905. procedure TETH_EMAC1MIND.setNOTVALID; inline;
  60906. begin
  60907. pTDefRegMap(@Self)^.&set := $00000004;
  60908. end;
  60909. procedure TETH_EMAC1MIND.clearNOTVALID; inline;
  60910. begin
  60911. pTDefRegMap(@Self)^.clr := $00000004;
  60912. end;
  60913. procedure TETH_EMAC1MIND.setNOTVALID(thebits : TBits_1); inline;
  60914. begin
  60915. if thebits = 0 then
  60916. pTDefRegMap(@Self)^.clr := $00000004
  60917. else
  60918. pTDefRegMap(@Self)^.&set := $00000004;
  60919. end;
  60920. function TETH_EMAC1MIND.getNOTVALID : TBits_1; inline;
  60921. begin
  60922. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60923. end;
  60924. procedure TETH_EMAC1MIND.setLINKFAIL; inline;
  60925. begin
  60926. pTDefRegMap(@Self)^.&set := $00000008;
  60927. end;
  60928. procedure TETH_EMAC1MIND.clearLINKFAIL; inline;
  60929. begin
  60930. pTDefRegMap(@Self)^.clr := $00000008;
  60931. end;
  60932. procedure TETH_EMAC1MIND.setLINKFAIL(thebits : TBits_1); inline;
  60933. begin
  60934. if thebits = 0 then
  60935. pTDefRegMap(@Self)^.clr := $00000008
  60936. else
  60937. pTDefRegMap(@Self)^.&set := $00000008;
  60938. end;
  60939. function TETH_EMAC1MIND.getLINKFAIL : TBits_1; inline;
  60940. begin
  60941. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60942. end;
  60943. procedure TETH_EMAC1MIND.setw(thebits : TBits_32); inline;
  60944. begin
  60945. pTDefRegMap(@Self)^.val := thebits;
  60946. end;
  60947. function TETH_EMAC1MIND.getw : TBits_32; inline;
  60948. begin
  60949. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60950. end;
  60951. procedure TETH_EMACxMIND.setMIIMBUSY; inline;
  60952. begin
  60953. pTDefRegMap(@Self)^.&set := $00000001;
  60954. end;
  60955. procedure TETH_EMACxMIND.clearMIIMBUSY; inline;
  60956. begin
  60957. pTDefRegMap(@Self)^.clr := $00000001;
  60958. end;
  60959. procedure TETH_EMACxMIND.setMIIMBUSY(thebits : TBits_1); inline;
  60960. begin
  60961. if thebits = 0 then
  60962. pTDefRegMap(@Self)^.clr := $00000001
  60963. else
  60964. pTDefRegMap(@Self)^.&set := $00000001;
  60965. end;
  60966. function TETH_EMACxMIND.getMIIMBUSY : TBits_1; inline;
  60967. begin
  60968. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60969. end;
  60970. procedure TETH_EMACxMIND.setSCAN; inline;
  60971. begin
  60972. pTDefRegMap(@Self)^.&set := $00000002;
  60973. end;
  60974. procedure TETH_EMACxMIND.clearSCAN; inline;
  60975. begin
  60976. pTDefRegMap(@Self)^.clr := $00000002;
  60977. end;
  60978. procedure TETH_EMACxMIND.setSCAN(thebits : TBits_1); inline;
  60979. begin
  60980. if thebits = 0 then
  60981. pTDefRegMap(@Self)^.clr := $00000002
  60982. else
  60983. pTDefRegMap(@Self)^.&set := $00000002;
  60984. end;
  60985. function TETH_EMACxMIND.getSCAN : TBits_1; inline;
  60986. begin
  60987. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60988. end;
  60989. procedure TETH_EMACxMIND.setNOTVALID; inline;
  60990. begin
  60991. pTDefRegMap(@Self)^.&set := $00000004;
  60992. end;
  60993. procedure TETH_EMACxMIND.clearNOTVALID; inline;
  60994. begin
  60995. pTDefRegMap(@Self)^.clr := $00000004;
  60996. end;
  60997. procedure TETH_EMACxMIND.setNOTVALID(thebits : TBits_1); inline;
  60998. begin
  60999. if thebits = 0 then
  61000. pTDefRegMap(@Self)^.clr := $00000004
  61001. else
  61002. pTDefRegMap(@Self)^.&set := $00000004;
  61003. end;
  61004. function TETH_EMACxMIND.getNOTVALID : TBits_1; inline;
  61005. begin
  61006. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61007. end;
  61008. procedure TETH_EMACxMIND.setLINKFAIL; inline;
  61009. begin
  61010. pTDefRegMap(@Self)^.&set := $00000008;
  61011. end;
  61012. procedure TETH_EMACxMIND.clearLINKFAIL; inline;
  61013. begin
  61014. pTDefRegMap(@Self)^.clr := $00000008;
  61015. end;
  61016. procedure TETH_EMACxMIND.setLINKFAIL(thebits : TBits_1); inline;
  61017. begin
  61018. if thebits = 0 then
  61019. pTDefRegMap(@Self)^.clr := $00000008
  61020. else
  61021. pTDefRegMap(@Self)^.&set := $00000008;
  61022. end;
  61023. function TETH_EMACxMIND.getLINKFAIL : TBits_1; inline;
  61024. begin
  61025. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61026. end;
  61027. procedure TETH_EMACxMIND.setw(thebits : TBits_32); inline;
  61028. begin
  61029. pTDefRegMap(@Self)^.val := thebits;
  61030. end;
  61031. function TETH_EMACxMIND.getw : TBits_32; inline;
  61032. begin
  61033. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61034. end;
  61035. procedure TETH_EMAC1SA0.setSTNADDR5(thebits : TBits_8); inline;
  61036. begin
  61037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61038. end;
  61039. function TETH_EMAC1SA0.getSTNADDR5 : TBits_8; inline;
  61040. begin
  61041. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61042. end;
  61043. procedure TETH_EMAC1SA0.setSTNADDR6(thebits : TBits_8); inline;
  61044. begin
  61045. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61046. end;
  61047. function TETH_EMAC1SA0.getSTNADDR6 : TBits_8; inline;
  61048. begin
  61049. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61050. end;
  61051. procedure TETH_EMAC1SA0.setw(thebits : TBits_32); inline;
  61052. begin
  61053. pTDefRegMap(@Self)^.val := thebits;
  61054. end;
  61055. function TETH_EMAC1SA0.getw : TBits_32; inline;
  61056. begin
  61057. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61058. end;
  61059. procedure TETH_EMACxSA0.setSTNADDR5(thebits : TBits_8); inline;
  61060. begin
  61061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61062. end;
  61063. function TETH_EMACxSA0.getSTNADDR5 : TBits_8; inline;
  61064. begin
  61065. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61066. end;
  61067. procedure TETH_EMACxSA0.setSTNADDR6(thebits : TBits_8); inline;
  61068. begin
  61069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61070. end;
  61071. function TETH_EMACxSA0.getSTNADDR6 : TBits_8; inline;
  61072. begin
  61073. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61074. end;
  61075. procedure TETH_EMACxSA0.setw(thebits : TBits_32); inline;
  61076. begin
  61077. pTDefRegMap(@Self)^.val := thebits;
  61078. end;
  61079. function TETH_EMACxSA0.getw : TBits_32; inline;
  61080. begin
  61081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61082. end;
  61083. procedure TETH_EMAC1SA1.setSTNADDR3(thebits : TBits_8); inline;
  61084. begin
  61085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61086. end;
  61087. function TETH_EMAC1SA1.getSTNADDR3 : TBits_8; inline;
  61088. begin
  61089. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61090. end;
  61091. procedure TETH_EMAC1SA1.setSTNADDR4(thebits : TBits_8); inline;
  61092. begin
  61093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61094. end;
  61095. function TETH_EMAC1SA1.getSTNADDR4 : TBits_8; inline;
  61096. begin
  61097. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61098. end;
  61099. procedure TETH_EMAC1SA1.setw(thebits : TBits_32); inline;
  61100. begin
  61101. pTDefRegMap(@Self)^.val := thebits;
  61102. end;
  61103. function TETH_EMAC1SA1.getw : TBits_32; inline;
  61104. begin
  61105. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61106. end;
  61107. procedure TETH_EMACxSA1.setSTNADDR3(thebits : TBits_8); inline;
  61108. begin
  61109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61110. end;
  61111. function TETH_EMACxSA1.getSTNADDR3 : TBits_8; inline;
  61112. begin
  61113. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61114. end;
  61115. procedure TETH_EMACxSA1.setSTNADDR4(thebits : TBits_8); inline;
  61116. begin
  61117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61118. end;
  61119. function TETH_EMACxSA1.getSTNADDR4 : TBits_8; inline;
  61120. begin
  61121. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61122. end;
  61123. procedure TETH_EMACxSA1.setw(thebits : TBits_32); inline;
  61124. begin
  61125. pTDefRegMap(@Self)^.val := thebits;
  61126. end;
  61127. function TETH_EMACxSA1.getw : TBits_32; inline;
  61128. begin
  61129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61130. end;
  61131. procedure TETH_EMAC1SA2.setSTNADDR1(thebits : TBits_8); inline;
  61132. begin
  61133. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61134. end;
  61135. function TETH_EMAC1SA2.getSTNADDR1 : TBits_8; inline;
  61136. begin
  61137. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61138. end;
  61139. procedure TETH_EMAC1SA2.setSTNADDR2(thebits : TBits_8); inline;
  61140. begin
  61141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61142. end;
  61143. function TETH_EMAC1SA2.getSTNADDR2 : TBits_8; inline;
  61144. begin
  61145. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61146. end;
  61147. procedure TETH_EMAC1SA2.setw(thebits : TBits_32); inline;
  61148. begin
  61149. pTDefRegMap(@Self)^.val := thebits;
  61150. end;
  61151. function TETH_EMAC1SA2.getw : TBits_32; inline;
  61152. begin
  61153. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61154. end;
  61155. procedure TETH_EMACxSA2.setSTNADDR1(thebits : TBits_8); inline;
  61156. begin
  61157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  61158. end;
  61159. function TETH_EMACxSA2.getSTNADDR1 : TBits_8; inline;
  61160. begin
  61161. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  61162. end;
  61163. procedure TETH_EMACxSA2.setSTNADDR2(thebits : TBits_8); inline;
  61164. begin
  61165. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  61166. end;
  61167. function TETH_EMACxSA2.getSTNADDR2 : TBits_8; inline;
  61168. begin
  61169. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  61170. end;
  61171. procedure TETH_EMACxSA2.setw(thebits : TBits_32); inline;
  61172. begin
  61173. pTDefRegMap(@Self)^.val := thebits;
  61174. end;
  61175. function TETH_EMACxSA2.getw : TBits_32; inline;
  61176. begin
  61177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61178. end;
  61179. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  61180. begin
  61181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  61182. end;
  61183. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  61184. begin
  61185. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  61186. end;
  61187. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  61188. begin
  61189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  61190. end;
  61191. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  61192. begin
  61193. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  61194. end;
  61195. procedure TDEVCFG_DEVCFG3.setFMIIEN; inline;
  61196. begin
  61197. pTDefRegMap(@Self)^.&set := $01000000;
  61198. end;
  61199. procedure TDEVCFG_DEVCFG3.clearFMIIEN; inline;
  61200. begin
  61201. pTDefRegMap(@Self)^.clr := $01000000;
  61202. end;
  61203. procedure TDEVCFG_DEVCFG3.setFMIIEN(thebits : TBits_1); inline;
  61204. begin
  61205. if thebits = 0 then
  61206. pTDefRegMap(@Self)^.clr := $01000000
  61207. else
  61208. pTDefRegMap(@Self)^.&set := $01000000;
  61209. end;
  61210. function TDEVCFG_DEVCFG3.getFMIIEN : TBits_1; inline;
  61211. begin
  61212. getFMIIEN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  61213. end;
  61214. procedure TDEVCFG_DEVCFG3.setFETHIO; inline;
  61215. begin
  61216. pTDefRegMap(@Self)^.&set := $02000000;
  61217. end;
  61218. procedure TDEVCFG_DEVCFG3.clearFETHIO; inline;
  61219. begin
  61220. pTDefRegMap(@Self)^.clr := $02000000;
  61221. end;
  61222. procedure TDEVCFG_DEVCFG3.setFETHIO(thebits : TBits_1); inline;
  61223. begin
  61224. if thebits = 0 then
  61225. pTDefRegMap(@Self)^.clr := $02000000
  61226. else
  61227. pTDefRegMap(@Self)^.&set := $02000000;
  61228. end;
  61229. function TDEVCFG_DEVCFG3.getFETHIO : TBits_1; inline;
  61230. begin
  61231. getFETHIO := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  61232. end;
  61233. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  61234. begin
  61235. pTDefRegMap(@Self)^.&set := $40000000;
  61236. end;
  61237. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  61238. begin
  61239. pTDefRegMap(@Self)^.clr := $40000000;
  61240. end;
  61241. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  61242. begin
  61243. if thebits = 0 then
  61244. pTDefRegMap(@Self)^.clr := $40000000
  61245. else
  61246. pTDefRegMap(@Self)^.&set := $40000000;
  61247. end;
  61248. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  61249. begin
  61250. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  61251. end;
  61252. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  61253. begin
  61254. pTDefRegMap(@Self)^.&set := $80000000;
  61255. end;
  61256. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  61257. begin
  61258. pTDefRegMap(@Self)^.clr := $80000000;
  61259. end;
  61260. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  61261. begin
  61262. if thebits = 0 then
  61263. pTDefRegMap(@Self)^.clr := $80000000
  61264. else
  61265. pTDefRegMap(@Self)^.&set := $80000000;
  61266. end;
  61267. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  61268. begin
  61269. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  61270. end;
  61271. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  61272. begin
  61273. pTDefRegMap(@Self)^.val := thebits;
  61274. end;
  61275. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  61276. begin
  61277. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61278. end;
  61279. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  61280. begin
  61281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  61282. end;
  61283. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  61284. begin
  61285. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  61286. end;
  61287. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  61288. begin
  61289. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  61290. end;
  61291. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  61292. begin
  61293. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  61294. end;
  61295. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  61296. begin
  61297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  61298. end;
  61299. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  61300. begin
  61301. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  61302. end;
  61303. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  61304. begin
  61305. pTDefRegMap(@Self)^.&set := $00008000;
  61306. end;
  61307. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  61308. begin
  61309. pTDefRegMap(@Self)^.clr := $00008000;
  61310. end;
  61311. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  61312. begin
  61313. if thebits = 0 then
  61314. pTDefRegMap(@Self)^.clr := $00008000
  61315. else
  61316. pTDefRegMap(@Self)^.&set := $00008000;
  61317. end;
  61318. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  61319. begin
  61320. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61321. end;
  61322. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  61323. begin
  61324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  61325. end;
  61326. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  61327. begin
  61328. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  61329. end;
  61330. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  61331. begin
  61332. pTDefRegMap(@Self)^.val := thebits;
  61333. end;
  61334. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  61335. begin
  61336. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61337. end;
  61338. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  61339. begin
  61340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  61341. end;
  61342. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  61343. begin
  61344. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  61345. end;
  61346. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  61347. begin
  61348. pTDefRegMap(@Self)^.&set := $00000020;
  61349. end;
  61350. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  61351. begin
  61352. pTDefRegMap(@Self)^.clr := $00000020;
  61353. end;
  61354. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  61355. begin
  61356. if thebits = 0 then
  61357. pTDefRegMap(@Self)^.clr := $00000020
  61358. else
  61359. pTDefRegMap(@Self)^.&set := $00000020;
  61360. end;
  61361. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  61362. begin
  61363. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61364. end;
  61365. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  61366. begin
  61367. pTDefRegMap(@Self)^.&set := $00000080;
  61368. end;
  61369. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  61370. begin
  61371. pTDefRegMap(@Self)^.clr := $00000080;
  61372. end;
  61373. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  61374. begin
  61375. if thebits = 0 then
  61376. pTDefRegMap(@Self)^.clr := $00000080
  61377. else
  61378. pTDefRegMap(@Self)^.&set := $00000080;
  61379. end;
  61380. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  61381. begin
  61382. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61383. end;
  61384. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  61385. begin
  61386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  61387. end;
  61388. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  61389. begin
  61390. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  61391. end;
  61392. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  61393. begin
  61394. pTDefRegMap(@Self)^.&set := $00000400;
  61395. end;
  61396. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  61397. begin
  61398. pTDefRegMap(@Self)^.clr := $00000400;
  61399. end;
  61400. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  61401. begin
  61402. if thebits = 0 then
  61403. pTDefRegMap(@Self)^.clr := $00000400
  61404. else
  61405. pTDefRegMap(@Self)^.&set := $00000400;
  61406. end;
  61407. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  61408. begin
  61409. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  61410. end;
  61411. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  61412. begin
  61413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  61414. end;
  61415. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  61416. begin
  61417. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  61418. end;
  61419. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  61420. begin
  61421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  61422. end;
  61423. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  61424. begin
  61425. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  61426. end;
  61427. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  61428. begin
  61429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  61430. end;
  61431. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  61432. begin
  61433. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  61434. end;
  61435. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  61436. begin
  61437. pTDefRegMap(@Self)^.&set := $00800000;
  61438. end;
  61439. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  61440. begin
  61441. pTDefRegMap(@Self)^.clr := $00800000;
  61442. end;
  61443. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  61444. begin
  61445. if thebits = 0 then
  61446. pTDefRegMap(@Self)^.clr := $00800000
  61447. else
  61448. pTDefRegMap(@Self)^.&set := $00800000;
  61449. end;
  61450. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  61451. begin
  61452. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  61453. end;
  61454. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  61455. begin
  61456. pTDefRegMap(@Self)^.val := thebits;
  61457. end;
  61458. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  61459. begin
  61460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61461. end;
  61462. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  61463. begin
  61464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  61465. end;
  61466. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  61467. begin
  61468. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  61469. end;
  61470. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  61471. begin
  61472. pTDefRegMap(@Self)^.&set := $00000008;
  61473. end;
  61474. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  61475. begin
  61476. pTDefRegMap(@Self)^.clr := $00000008;
  61477. end;
  61478. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  61479. begin
  61480. if thebits = 0 then
  61481. pTDefRegMap(@Self)^.clr := $00000008
  61482. else
  61483. pTDefRegMap(@Self)^.&set := $00000008;
  61484. end;
  61485. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  61486. begin
  61487. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61488. end;
  61489. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  61490. begin
  61491. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  61492. end;
  61493. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  61494. begin
  61495. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  61496. end;
  61497. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  61498. begin
  61499. pTDefRegMap(@Self)^.&set := $01000000;
  61500. end;
  61501. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  61502. begin
  61503. pTDefRegMap(@Self)^.clr := $01000000;
  61504. end;
  61505. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  61506. begin
  61507. if thebits = 0 then
  61508. pTDefRegMap(@Self)^.clr := $01000000
  61509. else
  61510. pTDefRegMap(@Self)^.&set := $01000000;
  61511. end;
  61512. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  61513. begin
  61514. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  61515. end;
  61516. procedure TDEVCFG_DEVCFG0.setCP; inline;
  61517. begin
  61518. pTDefRegMap(@Self)^.&set := $10000000;
  61519. end;
  61520. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  61521. begin
  61522. pTDefRegMap(@Self)^.clr := $10000000;
  61523. end;
  61524. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  61525. begin
  61526. if thebits = 0 then
  61527. pTDefRegMap(@Self)^.clr := $10000000
  61528. else
  61529. pTDefRegMap(@Self)^.&set := $10000000;
  61530. end;
  61531. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  61532. begin
  61533. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  61534. end;
  61535. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  61536. begin
  61537. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  61538. end;
  61539. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  61540. begin
  61541. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  61542. end;
  61543. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  61544. begin
  61545. pTDefRegMap(@Self)^.val := thebits;
  61546. end;
  61547. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  61548. begin
  61549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61550. end;
  61551. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  61552. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  61553. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  61554. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  61555. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  61556. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  61557. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  61558. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  61559. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  61560. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  61561. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  61562. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  61563. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  61564. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  61565. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  61566. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  61567. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  61568. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  61569. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  61570. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  61571. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  61572. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  61573. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  61574. procedure _SPI_1A_VECTOR_interrupt; external name '_SPI_1A_VECTOR_interrupt';
  61575. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  61576. procedure _UART_1A_VECTOR_interrupt; external name '_UART_1A_VECTOR_interrupt';
  61577. procedure _I2C_3_VECTOR_interrupt; external name '_I2C_3_VECTOR_interrupt';
  61578. procedure _I2C_1A_VECTOR_interrupt; external name '_I2C_1A_VECTOR_interrupt';
  61579. procedure _SPI_3_VECTOR_interrupt; external name '_SPI_3_VECTOR_interrupt';
  61580. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  61581. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  61582. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  61583. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  61584. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  61585. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  61586. procedure _SPI_2A_VECTOR_interrupt; external name '_SPI_2A_VECTOR_interrupt';
  61587. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  61588. procedure _UART_2A_VECTOR_interrupt; external name '_UART_2A_VECTOR_interrupt';
  61589. procedure _I2C_4_VECTOR_interrupt; external name '_I2C_4_VECTOR_interrupt';
  61590. procedure _I2C_2A_VECTOR_interrupt; external name '_I2C_2A_VECTOR_interrupt';
  61591. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  61592. procedure _SPI_3A_VECTOR_interrupt; external name '_SPI_3A_VECTOR_interrupt';
  61593. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  61594. procedure _UART_3A_VECTOR_interrupt; external name '_UART_3A_VECTOR_interrupt';
  61595. procedure _I2C_5_VECTOR_interrupt; external name '_I2C_5_VECTOR_interrupt';
  61596. procedure _I2C_3A_VECTOR_interrupt; external name '_I2C_3A_VECTOR_interrupt';
  61597. procedure _SPI_4_VECTOR_interrupt; external name '_SPI_4_VECTOR_interrupt';
  61598. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  61599. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  61600. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  61601. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  61602. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  61603. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  61604. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  61605. procedure _DMA_4_VECTOR_interrupt; external name '_DMA_4_VECTOR_interrupt';
  61606. procedure _DMA_5_VECTOR_interrupt; external name '_DMA_5_VECTOR_interrupt';
  61607. procedure _DMA_6_VECTOR_interrupt; external name '_DMA_6_VECTOR_interrupt';
  61608. procedure _DMA_7_VECTOR_interrupt; external name '_DMA_7_VECTOR_interrupt';
  61609. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  61610. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  61611. procedure _ETH_VECTOR_interrupt; external name '_ETH_VECTOR_interrupt';
  61612. procedure _UART_1B_VECTOR_interrupt; external name '_UART_1B_VECTOR_interrupt';
  61613. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  61614. procedure _UART_2B_VECTOR_interrupt; external name '_UART_2B_VECTOR_interrupt';
  61615. procedure _UART_6_VECTOR_interrupt; external name '_UART_6_VECTOR_interrupt';
  61616. procedure _UART_3B_VECTOR_interrupt; external name '_UART_3B_VECTOR_interrupt';
  61617. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  61618. procedure Vectors; assembler; nostackframe;
  61619. label interrupt_vectors;
  61620. asm
  61621. .section ".init.interrupt_vectors,\"ax\",@progbits"
  61622. interrupt_vectors:
  61623. j _CORE_TIMER_VECTOR_interrupt
  61624. nop
  61625. nop
  61626. nop
  61627. nop
  61628. nop
  61629. nop
  61630. nop
  61631. j _CORE_SOFTWARE_0_VECTOR_interrupt
  61632. nop
  61633. nop
  61634. nop
  61635. nop
  61636. nop
  61637. nop
  61638. nop
  61639. j _CORE_SOFTWARE_1_VECTOR_interrupt
  61640. nop
  61641. nop
  61642. nop
  61643. nop
  61644. nop
  61645. nop
  61646. nop
  61647. j _EXTERNAL_0_VECTOR_interrupt
  61648. nop
  61649. nop
  61650. nop
  61651. nop
  61652. nop
  61653. nop
  61654. nop
  61655. j _TIMER_1_VECTOR_interrupt
  61656. nop
  61657. nop
  61658. nop
  61659. nop
  61660. nop
  61661. nop
  61662. nop
  61663. j _INPUT_CAPTURE_1_VECTOR_interrupt
  61664. nop
  61665. nop
  61666. nop
  61667. nop
  61668. nop
  61669. nop
  61670. nop
  61671. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  61672. nop
  61673. nop
  61674. nop
  61675. nop
  61676. nop
  61677. nop
  61678. nop
  61679. j _EXTERNAL_1_VECTOR_interrupt
  61680. nop
  61681. nop
  61682. nop
  61683. nop
  61684. nop
  61685. nop
  61686. nop
  61687. j _TIMER_2_VECTOR_interrupt
  61688. nop
  61689. nop
  61690. nop
  61691. nop
  61692. nop
  61693. nop
  61694. nop
  61695. j _INPUT_CAPTURE_2_VECTOR_interrupt
  61696. nop
  61697. nop
  61698. nop
  61699. nop
  61700. nop
  61701. nop
  61702. nop
  61703. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  61704. nop
  61705. nop
  61706. nop
  61707. nop
  61708. nop
  61709. nop
  61710. nop
  61711. j _EXTERNAL_2_VECTOR_interrupt
  61712. nop
  61713. nop
  61714. nop
  61715. nop
  61716. nop
  61717. nop
  61718. nop
  61719. j _TIMER_3_VECTOR_interrupt
  61720. nop
  61721. nop
  61722. nop
  61723. nop
  61724. nop
  61725. nop
  61726. nop
  61727. j _INPUT_CAPTURE_3_VECTOR_interrupt
  61728. nop
  61729. nop
  61730. nop
  61731. nop
  61732. nop
  61733. nop
  61734. nop
  61735. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  61736. nop
  61737. nop
  61738. nop
  61739. nop
  61740. nop
  61741. nop
  61742. nop
  61743. j _EXTERNAL_3_VECTOR_interrupt
  61744. nop
  61745. nop
  61746. nop
  61747. nop
  61748. nop
  61749. nop
  61750. nop
  61751. j _TIMER_4_VECTOR_interrupt
  61752. nop
  61753. nop
  61754. nop
  61755. nop
  61756. nop
  61757. nop
  61758. nop
  61759. j _INPUT_CAPTURE_4_VECTOR_interrupt
  61760. nop
  61761. nop
  61762. nop
  61763. nop
  61764. nop
  61765. nop
  61766. nop
  61767. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  61768. nop
  61769. nop
  61770. nop
  61771. nop
  61772. nop
  61773. nop
  61774. nop
  61775. j _EXTERNAL_4_VECTOR_interrupt
  61776. nop
  61777. nop
  61778. nop
  61779. nop
  61780. nop
  61781. nop
  61782. nop
  61783. j _TIMER_5_VECTOR_interrupt
  61784. nop
  61785. nop
  61786. nop
  61787. nop
  61788. nop
  61789. nop
  61790. nop
  61791. j _INPUT_CAPTURE_5_VECTOR_interrupt
  61792. nop
  61793. nop
  61794. nop
  61795. nop
  61796. nop
  61797. nop
  61798. nop
  61799. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  61800. nop
  61801. nop
  61802. nop
  61803. nop
  61804. nop
  61805. nop
  61806. nop
  61807. nop
  61808. nop
  61809. nop
  61810. nop
  61811. nop
  61812. nop
  61813. nop
  61814. nop
  61815. j _SPI_1A_VECTOR_interrupt
  61816. nop
  61817. nop
  61818. nop
  61819. nop
  61820. nop
  61821. nop
  61822. nop
  61823. j _I2C_1_VECTOR_interrupt
  61824. nop
  61825. nop
  61826. nop
  61827. nop
  61828. nop
  61829. nop
  61830. nop
  61831. j _CHANGE_NOTICE_VECTOR_interrupt
  61832. nop
  61833. nop
  61834. nop
  61835. nop
  61836. nop
  61837. nop
  61838. nop
  61839. j _ADC_VECTOR_interrupt
  61840. nop
  61841. nop
  61842. nop
  61843. nop
  61844. nop
  61845. nop
  61846. nop
  61847. j _PMP_VECTOR_interrupt
  61848. nop
  61849. nop
  61850. nop
  61851. nop
  61852. nop
  61853. nop
  61854. nop
  61855. j _COMPARATOR_1_VECTOR_interrupt
  61856. nop
  61857. nop
  61858. nop
  61859. nop
  61860. nop
  61861. nop
  61862. nop
  61863. j _COMPARATOR_2_VECTOR_interrupt
  61864. nop
  61865. nop
  61866. nop
  61867. nop
  61868. nop
  61869. nop
  61870. nop
  61871. j _SPI_2A_VECTOR_interrupt
  61872. nop
  61873. nop
  61874. nop
  61875. nop
  61876. nop
  61877. nop
  61878. nop
  61879. j _SPI_3A_VECTOR_interrupt
  61880. nop
  61881. nop
  61882. nop
  61883. nop
  61884. nop
  61885. nop
  61886. nop
  61887. j _I2C_2_VECTOR_interrupt
  61888. nop
  61889. nop
  61890. nop
  61891. nop
  61892. nop
  61893. nop
  61894. nop
  61895. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  61896. nop
  61897. nop
  61898. nop
  61899. nop
  61900. nop
  61901. nop
  61902. nop
  61903. j _RTCC_VECTOR_interrupt
  61904. nop
  61905. nop
  61906. nop
  61907. nop
  61908. nop
  61909. nop
  61910. nop
  61911. j _DMA_0_VECTOR_interrupt
  61912. nop
  61913. nop
  61914. nop
  61915. nop
  61916. nop
  61917. nop
  61918. nop
  61919. j _DMA_1_VECTOR_interrupt
  61920. nop
  61921. nop
  61922. nop
  61923. nop
  61924. nop
  61925. nop
  61926. nop
  61927. j _DMA_2_VECTOR_interrupt
  61928. nop
  61929. nop
  61930. nop
  61931. nop
  61932. nop
  61933. nop
  61934. nop
  61935. j _DMA_3_VECTOR_interrupt
  61936. nop
  61937. nop
  61938. nop
  61939. nop
  61940. nop
  61941. nop
  61942. nop
  61943. j _DMA_4_VECTOR_interrupt
  61944. nop
  61945. nop
  61946. nop
  61947. nop
  61948. nop
  61949. nop
  61950. nop
  61951. j _DMA_5_VECTOR_interrupt
  61952. nop
  61953. nop
  61954. nop
  61955. nop
  61956. nop
  61957. nop
  61958. nop
  61959. j _DMA_6_VECTOR_interrupt
  61960. nop
  61961. nop
  61962. nop
  61963. nop
  61964. nop
  61965. nop
  61966. nop
  61967. j _DMA_7_VECTOR_interrupt
  61968. nop
  61969. nop
  61970. nop
  61971. nop
  61972. nop
  61973. nop
  61974. nop
  61975. j _FCE_VECTOR_interrupt
  61976. nop
  61977. nop
  61978. nop
  61979. nop
  61980. nop
  61981. nop
  61982. nop
  61983. j _USB_1_VECTOR_interrupt
  61984. nop
  61985. nop
  61986. nop
  61987. nop
  61988. nop
  61989. nop
  61990. nop
  61991. nop
  61992. nop
  61993. nop
  61994. nop
  61995. nop
  61996. nop
  61997. nop
  61998. nop
  61999. nop
  62000. nop
  62001. nop
  62002. nop
  62003. nop
  62004. nop
  62005. nop
  62006. nop
  62007. j _ETH_VECTOR_interrupt
  62008. nop
  62009. nop
  62010. nop
  62011. nop
  62012. nop
  62013. nop
  62014. nop
  62015. j _UART_1B_VECTOR_interrupt
  62016. nop
  62017. nop
  62018. nop
  62019. nop
  62020. nop
  62021. nop
  62022. nop
  62023. j _UART_2B_VECTOR_interrupt
  62024. nop
  62025. nop
  62026. nop
  62027. nop
  62028. nop
  62029. nop
  62030. nop
  62031. j _UART_3B_VECTOR_interrupt
  62032. nop
  62033. nop
  62034. nop
  62035. nop
  62036. nop
  62037. nop
  62038. nop
  62039. .weak _CORE_TIMER_VECTOR_interrupt
  62040. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  62041. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  62042. .weak _EXTERNAL_0_VECTOR_interrupt
  62043. .weak _TIMER_1_VECTOR_interrupt
  62044. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  62045. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  62046. .weak _EXTERNAL_1_VECTOR_interrupt
  62047. .weak _TIMER_2_VECTOR_interrupt
  62048. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  62049. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  62050. .weak _EXTERNAL_2_VECTOR_interrupt
  62051. .weak _TIMER_3_VECTOR_interrupt
  62052. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  62053. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  62054. .weak _EXTERNAL_3_VECTOR_interrupt
  62055. .weak _TIMER_4_VECTOR_interrupt
  62056. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  62057. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  62058. .weak _EXTERNAL_4_VECTOR_interrupt
  62059. .weak _TIMER_5_VECTOR_interrupt
  62060. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  62061. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  62062. .weak _SPI_1A_VECTOR_interrupt
  62063. .weak _UART_1_VECTOR_interrupt
  62064. .weak _UART_1A_VECTOR_interrupt
  62065. .weak _I2C_3_VECTOR_interrupt
  62066. .weak _I2C_1A_VECTOR_interrupt
  62067. .weak _SPI_3_VECTOR_interrupt
  62068. .weak _I2C_1_VECTOR_interrupt
  62069. .weak _CHANGE_NOTICE_VECTOR_interrupt
  62070. .weak _ADC_VECTOR_interrupt
  62071. .weak _PMP_VECTOR_interrupt
  62072. .weak _COMPARATOR_1_VECTOR_interrupt
  62073. .weak _COMPARATOR_2_VECTOR_interrupt
  62074. .weak _SPI_2A_VECTOR_interrupt
  62075. .weak _UART_3_VECTOR_interrupt
  62076. .weak _UART_2A_VECTOR_interrupt
  62077. .weak _I2C_4_VECTOR_interrupt
  62078. .weak _I2C_2A_VECTOR_interrupt
  62079. .weak _SPI_2_VECTOR_interrupt
  62080. .weak _SPI_3A_VECTOR_interrupt
  62081. .weak _UART_2_VECTOR_interrupt
  62082. .weak _UART_3A_VECTOR_interrupt
  62083. .weak _I2C_5_VECTOR_interrupt
  62084. .weak _I2C_3A_VECTOR_interrupt
  62085. .weak _SPI_4_VECTOR_interrupt
  62086. .weak _I2C_2_VECTOR_interrupt
  62087. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  62088. .weak _RTCC_VECTOR_interrupt
  62089. .weak _DMA_0_VECTOR_interrupt
  62090. .weak _DMA_1_VECTOR_interrupt
  62091. .weak _DMA_2_VECTOR_interrupt
  62092. .weak _DMA_3_VECTOR_interrupt
  62093. .weak _DMA_4_VECTOR_interrupt
  62094. .weak _DMA_5_VECTOR_interrupt
  62095. .weak _DMA_6_VECTOR_interrupt
  62096. .weak _DMA_7_VECTOR_interrupt
  62097. .weak _FCE_VECTOR_interrupt
  62098. .weak _USB_1_VECTOR_interrupt
  62099. .weak _ETH_VECTOR_interrupt
  62100. .weak _UART_1B_VECTOR_interrupt
  62101. .weak _UART_4_VECTOR_interrupt
  62102. .weak _UART_2B_VECTOR_interrupt
  62103. .weak _UART_6_VECTOR_interrupt
  62104. .weak _UART_3B_VECTOR_interrupt
  62105. .weak _UART_5_VECTOR_interrupt
  62106. .text
  62107. end;
  62108. end.