pic32mx695f512l.pp 1.9 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184631856318663187631886318963190631916319263193631946319563196631976319863199632006320163202632036320463205632066320763208632096321063211632126321363214632156321663217632186321963220632216322263223632246322563226632276322863229632306323163232632336323463235632366323763238632396324063241632426324363244632456324663247632486324963250632516325263253632546325563256632576325863259632606326163262632636326463265632666326763268632696327063271632726327363274632756327663277632786327963280632816328263283632846328563286632876328863289632906329163292632936329463295632966329763298632996330063301633026330363304633056330663307633086330963310633116331263313633146331563316633176331863319633206332163322633236332463325633266332763328633296333063331633326333363334633356333663337633386333963340633416334263343633446334563346633476334863349633506335163352633536335463355633566335763358633596336063361633626336363364633656336663367633686336963370633716337263373633746337563376633776337863379633806338163382633836338463385633866338763388633896339063391633926339363394633956339663397633986339963400634016340263403634046340563406634076340863409634106341163412634136341463415634166341763418634196342063421634226342363424634256342663427634286342963430634316343263433634346343563436634376343863439634406344163442634436344463445634466344763448634496345063451634526345363454634556345663457634586345963460634616346263463634646346563466634676346863469634706347163472634736347463475634766347763478634796348063481634826348363484634856348663487634886348963490634916349263493634946349563496634976349863499635006350163502635036350463505635066350763508635096351063511635126351363514635156351663517635186351963520635216352263523635246352563526635276352863529635306353163532635336353463535635366353763538635396354063541635426354363544635456354663547635486354963550635516355263553635546355563556635576355863559635606356163562635636356463565635666356763568635696357063571635726357363574635756357663577635786357963580635816358263583635846358563586635876358863589635906359163592635936359463595635966359763598635996360063601636026360363604636056360663607636086360963610636116361263613636146361563616636176361863619636206362163622636236362463625636266362763628636296363063631636326363363634636356363663637636386363963640636416364263643636446364563646636476364863649636506365163652636536365463655636566365763658636596366063661636626366363664636656366663667636686366963670636716367263673636746367563676636776367863679636806368163682636836368463685636866368763688636896369063691636926369363694636956369663697636986369963700637016370263703637046370563706637076370863709637106371163712637136371463715637166371763718637196372063721637226372363724637256372663727637286372963730637316373263733637346373563736637376373863739637406374163742637436374463745637466374763748637496375063751637526375363754637556375663757637586375963760637616376263763637646376563766637676376863769637706377163772637736377463775637766377763778637796378063781637826378363784637856378663787637886378963790637916379263793637946379563796637976379863799638006380163802638036380463805638066380763808638096381063811638126381363814638156381663817638186381963820638216382263823638246382563826638276382863829638306383163832638336383463835638366383763838638396384063841638426384363844638456384663847638486384963850638516385263853638546385563856638576385863859638606386163862638636386463865638666386763868638696387063871638726387363874638756387663877638786387963880638816388263883638846388563886638876388863889638906389163892638936389463895638966389763898638996390063901639026390363904639056390663907639086390963910639116391263913639146391563916639176391863919639206392163922639236392463925639266392763928639296393063931639326393363934639356393663937639386393963940639416394263943639446394563946639476394863949639506395163952639536395463955639566395763958639596396063961639626396363964639656396663967639686396963970639716397263973639746397563976639776397863979639806398163982639836398463985639866398763988639896399063991639926399363994639956399663997639986399964000640016400264003640046400564006640076400864009640106401164012640136401464015640166401764018640196402064021640226402364024640256402664027640286402964030640316403264033640346403564036640376403864039640406404164042640436404464045640466404764048640496405064051640526405364054640556405664057640586405964060640616406264063640646406564066640676406864069640706407164072640736407464075640766407764078640796408064081640826408364084640856408664087640886408964090640916409264093640946409564096640976409864099641006410164102641036410464105641066410764108641096411064111641126411364114641156411664117641186411964120641216412264123641246412564126641276412864129641306413164132641336413464135641366413764138641396414064141641426414364144641456414664147641486414964150641516415264153641546415564156641576415864159641606416164162641636416464165641666416764168641696417064171641726417364174641756417664177641786417964180641816418264183641846418564186641876418864189641906419164192641936419464195641966419764198641996420064201642026420364204642056420664207642086420964210642116421264213642146421564216642176421864219642206422164222642236422464225642266422764228642296423064231642326423364234642356423664237642386423964240642416424264243642446424564246642476424864249642506425164252642536425464255642566425764258642596426064261642626426364264642656426664267642686426964270642716427264273642746427564276642776427864279642806428164282642836428464285642866428764288642896429064291642926429364294642956429664297642986429964300643016430264303643046430564306643076430864309643106431164312643136431464315643166431764318643196432064321643226432364324643256432664327643286432964330643316433264333643346433564336643376433864339643406434164342643436434464345643466434764348643496435064351643526435364354643556435664357643586435964360643616436264363643646436564366643676436864369643706437164372643736437464375643766437764378643796438064381643826438364384643856438664387643886438964390643916439264393643946439564396643976439864399644006440164402644036440464405644066440764408644096441064411644126441364414644156441664417644186441964420644216442264423644246442564426644276442864429644306443164432644336443464435644366443764438644396444064441644426444364444644456444664447644486444964450644516445264453644546445564456644576445864459644606446164462644636446464465644666446764468644696447064471644726447364474644756447664477644786447964480644816448264483644846448564486644876448864489644906449164492644936449464495644966449764498644996450064501645026450364504645056450664507645086450964510645116451264513645146451564516645176451864519645206452164522645236452464525645266452764528645296453064531645326453364534645356453664537645386453964540645416454264543645446454564546645476454864549645506455164552645536455464555645566455764558645596456064561645626456364564645656456664567645686456964570645716457264573645746457564576645776457864579645806458164582645836458464585645866458764588645896459064591645926459364594645956459664597645986459964600646016460264603646046460564606646076460864609646106461164612646136461464615646166461764618646196462064621646226462364624646256462664627646286462964630646316463264633646346463564636646376463864639646406464164642646436464464645646466464764648646496465064651646526465364654646556465664657646586465964660646616466264663646646466564666646676466864669646706467164672646736467464675646766467764678646796468064681646826468364684646856468664687646886468964690646916469264693646946469564696646976469864699647006470164702647036470464705647066470764708647096471064711647126471364714647156471664717647186471964720647216472264723647246472564726647276472864729647306473164732647336473464735647366473764738647396474064741647426474364744647456474664747647486474964750647516475264753647546475564756647576475864759647606476164762647636476464765647666476764768647696477064771647726477364774647756477664777647786477964780647816478264783647846478564786647876478864789647906479164792647936479464795647966479764798647996480064801648026480364804648056480664807648086480964810648116481264813648146481564816648176481864819648206482164822648236482464825648266482764828648296483064831648326483364834648356483664837648386483964840648416484264843648446484564846648476484864849648506485164852648536485464855648566485764858648596486064861648626486364864648656486664867648686486964870648716487264873648746487564876648776487864879648806488164882648836488464885648866488764888648896489064891648926489364894648956489664897648986489964900649016490264903649046490564906649076490864909649106491164912649136491464915649166491764918649196492064921649226492364924649256492664927649286492964930649316493264933649346493564936649376493864939649406494164942649436494464945649466494764948649496495064951649526495364954649556495664957649586495964960649616496264963649646496564966649676496864969649706497164972649736497464975649766497764978649796498064981649826498364984649856498664987649886498964990649916499264993649946499564996649976499864999650006500165002650036500465005650066500765008650096501065011650126501365014650156501665017650186501965020650216502265023650246502565026650276502865029650306503165032650336503465035650366503765038650396504065041650426504365044650456504665047650486504965050650516505265053650546505565056650576505865059650606506165062650636506465065650666506765068650696507065071650726507365074650756507665077650786507965080650816508265083650846508565086650876508865089650906509165092650936509465095650966509765098650996510065101651026510365104651056510665107651086510965110651116511265113651146511565116651176511865119651206512165122651236512465125651266512765128651296513065131651326513365134651356513665137651386513965140651416514265143651446514565146651476514865149651506515165152651536515465155651566515765158651596516065161651626516365164651656516665167651686516965170651716517265173651746517565176651776517865179651806518165182651836518465185651866518765188651896519065191651926519365194651956519665197651986519965200652016520265203652046520565206652076520865209652106521165212652136521465215652166521765218652196522065221652226522365224652256522665227652286522965230652316523265233652346523565236652376523865239652406524165242652436524465245652466524765248652496525065251652526525365254652556525665257652586525965260652616526265263652646526565266652676526865269652706527165272652736527465275652766527765278652796528065281652826528365284652856528665287652886528965290652916529265293652946529565296652976529865299653006530165302653036530465305653066530765308653096531065311653126531365314653156531665317653186531965320653216532265323653246532565326653276532865329653306533165332653336533465335653366533765338653396534065341653426534365344653456534665347653486534965350653516535265353653546535565356653576535865359653606536165362653636536465365653666536765368653696537065371653726537365374653756537665377653786537965380653816538265383653846538565386653876538865389653906539165392653936539465395653966539765398653996540065401654026540365404654056540665407654086540965410654116541265413654146541565416654176541865419654206542165422654236542465425654266542765428654296543065431654326543365434654356543665437654386543965440654416544265443654446544565446654476544865449654506545165452654536545465455654566545765458654596546065461654626546365464654656546665467654686546965470654716547265473654746547565476654776547865479654806548165482654836548465485654866548765488654896549065491654926549365494654956549665497654986549965500655016550265503655046550565506655076550865509655106551165512655136551465515655166551765518655196552065521655226552365524655256552665527655286552965530655316553265533655346553565536655376553865539655406554165542655436554465545655466554765548655496555065551655526555365554655556555665557655586555965560655616556265563655646556565566655676556865569655706557165572655736557465575655766557765578655796558065581655826558365584655856558665587655886558965590655916559265593655946559565596655976559865599656006560165602656036560465605656066560765608656096561065611656126561365614656156561665617656186561965620656216562265623656246562565626656276562865629656306563165632656336563465635656366563765638656396564065641656426564365644656456564665647656486564965650656516565265653656546565565656656576565865659656606566165662656636566465665656666566765668656696567065671656726567365674656756567665677656786567965680656816568265683656846568565686656876568865689656906569165692656936569465695656966569765698656996570065701657026570365704657056570665707657086570965710657116571265713657146571565716657176571865719657206572165722657236572465725657266572765728657296573065731657326573365734657356573665737657386573965740657416574265743657446574565746657476574865749657506575165752657536575465755657566575765758657596576065761657626576365764657656576665767657686576965770657716577265773657746577565776657776577865779657806578165782657836578465785657866578765788657896579065791657926579365794657956579665797657986579965800658016580265803658046580565806658076580865809658106581165812658136581465815658166581765818658196582065821658226582365824658256582665827658286582965830658316583265833658346583565836658376583865839658406584165842658436584465845658466584765848658496585065851658526585365854658556585665857658586585965860658616586265863658646586565866658676586865869658706587165872658736587465875658766587765878658796588065881658826588365884658856588665887658886588965890658916589265893658946589565896658976589865899659006590165902659036590465905659066590765908659096591065911659126591365914659156591665917659186591965920659216592265923659246592565926659276592865929659306593165932659336593465935659366593765938659396594065941659426594365944659456594665947659486594965950659516595265953659546595565956659576595865959659606596165962659636596465965659666596765968659696597065971659726597365974659756597665977659786597965980659816598265983659846598565986659876598865989659906599165992659936599465995659966599765998659996600066001660026600366004660056600666007660086600966010660116601266013660146601566016660176601866019660206602166022660236602466025660266602766028660296603066031660326603366034660356603666037660386603966040660416604266043660446604566046660476604866049660506605166052660536605466055660566605766058660596606066061660626606366064660656606666067660686606966070660716607266073660746607566076660776607866079660806608166082660836608466085660866608766088660896609066091660926609366094660956609666097660986609966100661016610266103661046610566106661076610866109661106611166112661136611466115661166611766118661196612066121661226612366124661256612666127661286612966130661316613266133661346613566136661376613866139661406614166142661436614466145661466614766148661496615066151661526615366154661556615666157661586615966160661616616266163661646616566166661676616866169661706617166172661736617466175661766617766178661796618066181661826618366184661856618666187661886618966190661916619266193661946619566196661976619866199662006620166202662036620466205662066620766208662096621066211662126621366214662156621666217662186621966220662216622266223662246622566226662276622866229662306623166232662336623466235662366623766238662396624066241662426624366244662456624666247662486624966250662516625266253662546625566256662576625866259662606626166262662636626466265662666626766268662696627066271662726627366274662756627666277662786627966280662816628266283662846628566286662876628866289662906629166292662936629466295662966629766298662996630066301663026630366304663056630666307663086630966310663116631266313663146631566316663176631866319663206632166322663236632466325663266632766328663296633066331663326633366334663356633666337663386633966340663416634266343663446634566346663476634866349663506635166352663536635466355663566635766358663596636066361663626636366364663656636666367663686636966370663716637266373663746637566376663776637866379663806638166382663836638466385663866638766388663896639066391663926639366394663956639666397663986639966400664016640266403664046640566406664076640866409664106641166412664136641466415664166641766418664196642066421664226642366424664256642666427664286642966430664316643266433664346643566436664376643866439664406644166442664436644466445664466644766448664496645066451664526645366454664556645666457664586645966460664616646266463664646646566466664676646866469664706647166472664736647466475664766647766478664796648066481664826648366484664856648666487664886648966490664916649266493664946649566496664976649866499665006650166502665036650466505665066650766508665096651066511665126651366514665156651666517665186651966520665216652266523665246652566526665276652866529665306653166532665336653466535665366653766538665396654066541665426654366544665456654666547665486654966550665516655266553665546655566556665576655866559665606656166562665636656466565665666656766568665696657066571665726657366574665756657666577665786657966580665816658266583665846658566586665876658866589665906659166592665936659466595665966659766598665996660066601666026660366604666056660666607666086660966610666116661266613666146661566616666176661866619666206662166622666236662466625666266662766628666296663066631666326663366634666356663666637666386663966640666416664266643666446664566646666476664866649666506665166652666536665466655666566665766658666596666066661666626666366664666656666666667666686666966670666716667266673666746667566676666776667866679666806668166682666836668466685666866668766688666896669066691666926669366694666956669666697666986669966700667016670266703667046670566706667076670866709667106671166712667136671466715667166671766718667196672066721667226672366724667256672666727667286672966730667316673266733667346673566736667376673866739667406674166742667436674466745667466674766748667496675066751667526675366754667556675666757667586675966760667616676266763667646676566766667676676866769667706677166772667736677466775667766677766778667796678066781667826678366784667856678666787667886678966790667916679266793667946679566796667976679866799668006680166802668036680466805668066680766808668096681066811668126681366814668156681666817668186681966820668216682266823668246682566826668276682866829668306683166832668336683466835668366683766838668396684066841668426684366844668456684666847668486684966850668516685266853668546685566856668576685866859668606686166862668636686466865668666686766868668696687066871668726687366874668756687666877668786687966880668816688266883668846688566886668876688866889668906689166892668936689466895668966689766898668996690066901669026690366904669056690666907669086690966910669116691266913669146691566916669176691866919669206692166922669236692466925669266692766928669296693066931669326693366934669356693666937669386693966940669416694266943669446694566946669476694866949669506695166952669536695466955669566695766958669596696066961669626696366964669656696666967669686696966970669716697266973669746697566976669776697866979669806698166982669836698466985669866698766988669896699066991669926699366994669956699666997669986699967000670016700267003670046700567006670076700867009670106701167012670136701467015670166701767018670196702067021670226702367024670256702667027670286702967030670316703267033670346703567036670376703867039670406704167042670436704467045670466704767048670496705067051670526705367054670556705667057670586705967060670616706267063670646706567066670676706867069670706707167072670736707467075670766707767078670796708067081670826708367084670856708667087670886708967090670916709267093670946709567096670976709867099671006710167102671036710467105671066710767108671096711067111671126711367114671156711667117671186711967120671216712267123671246712567126671276712867129671306713167132671336713467135671366713767138671396714067141671426714367144671456714667147671486714967150671516715267153671546715567156671576715867159671606716167162671636716467165671666716767168671696717067171671726717367174671756717667177671786717967180671816718267183671846718567186671876718867189671906719167192671936719467195671966719767198671996720067201672026720367204672056720667207672086720967210672116721267213672146721567216672176721867219672206722167222672236722467225672266722767228672296723067231672326723367234672356723667237672386723967240672416724267243672446724567246672476724867249672506725167252672536725467255672566725767258672596726067261672626726367264672656726667267672686726967270672716727267273672746727567276672776727867279672806728167282672836728467285672866728767288672896729067291672926729367294672956729667297
  1. unit pic32mx695f512l;
  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 getTCS : TBits_1; inline;
  408. function getTGATE : TBits_1; inline;
  409. function getTON : TBits_1; inline;
  410. function getTSIDL : TBits_1; inline;
  411. function getw : TBits_32; inline;
  412. procedure setON(thebits : TBits_1); inline;
  413. procedure setSIDL(thebits : TBits_1); inline;
  414. procedure setT32(thebits : TBits_1); inline;
  415. procedure setTCKPS(thebits : TBits_3); inline;
  416. procedure setTCKPS0(thebits : TBits_1); inline;
  417. procedure setTCKPS1(thebits : TBits_1); inline;
  418. procedure setTCKPS2(thebits : TBits_1); inline;
  419. procedure setTCS(thebits : TBits_1); inline;
  420. procedure setTGATE(thebits : TBits_1); inline;
  421. procedure setTON(thebits : TBits_1); inline;
  422. procedure setTSIDL(thebits : TBits_1); inline;
  423. procedure setw(thebits : TBits_32); inline;
  424. public
  425. procedure clearON; inline;
  426. procedure clearSIDL; inline;
  427. procedure clearT32; inline;
  428. procedure clearTCKPS0; inline;
  429. procedure clearTCKPS1; inline;
  430. procedure clearTCKPS2; inline;
  431. procedure clearTCS; inline;
  432. procedure clearTGATE; inline;
  433. procedure clearTON; inline;
  434. procedure clearTSIDL; inline;
  435. procedure setON; inline;
  436. procedure setSIDL; inline;
  437. procedure setT32; inline;
  438. procedure setTCKPS0; inline;
  439. procedure setTCKPS1; inline;
  440. procedure setTCKPS2; inline;
  441. procedure setTCS; inline;
  442. procedure setTGATE; inline;
  443. procedure setTON; inline;
  444. procedure setTSIDL; inline;
  445. property ON : TBits_1 read getON write setON;
  446. property SIDL : TBits_1 read getSIDL write setSIDL;
  447. property T32 : TBits_1 read getT32 write setT32;
  448. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  449. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  450. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  451. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  452. property TCS : TBits_1 read getTCS write setTCS;
  453. property TGATE : TBits_1 read getTGATE write setTGATE;
  454. property TON : TBits_1 read getTON write setTON;
  455. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  456. property w : TBits_32 read getw write setw;
  457. end;
  458. type
  459. TTMR2Registers = record
  460. T2CONbits : TTMR2_T2CON;
  461. T2CON : longWord;
  462. T2CONCLR : longWord;
  463. T2CONSET : longWord;
  464. T2CONINV : longWord;
  465. TMR2 : longWord;
  466. TMR2CLR : longWord;
  467. TMR2SET : longWord;
  468. TMR2INV : longWord;
  469. PR2 : longWord;
  470. PR2CLR : longWord;
  471. PR2SET : longWord;
  472. PR2INV : longWord;
  473. end;
  474. TTMR3_T3CON = record
  475. private
  476. function getON : TBits_1; inline;
  477. function getSIDL : TBits_1; inline;
  478. function getTCKPS : TBits_3; inline;
  479. function getTCKPS0 : TBits_1; inline;
  480. function getTCKPS1 : TBits_1; inline;
  481. function getTCKPS2 : TBits_1; inline;
  482. function getTCS : TBits_1; inline;
  483. function getTGATE : TBits_1; inline;
  484. function getTON : TBits_1; inline;
  485. function getTSIDL : TBits_1; inline;
  486. function getw : TBits_32; inline;
  487. procedure setON(thebits : TBits_1); inline;
  488. procedure setSIDL(thebits : TBits_1); inline;
  489. procedure setTCKPS(thebits : TBits_3); inline;
  490. procedure setTCKPS0(thebits : TBits_1); inline;
  491. procedure setTCKPS1(thebits : TBits_1); inline;
  492. procedure setTCKPS2(thebits : TBits_1); inline;
  493. procedure setTCS(thebits : TBits_1); inline;
  494. procedure setTGATE(thebits : TBits_1); inline;
  495. procedure setTON(thebits : TBits_1); inline;
  496. procedure setTSIDL(thebits : TBits_1); inline;
  497. procedure setw(thebits : TBits_32); inline;
  498. public
  499. procedure clearON; inline;
  500. procedure clearSIDL; inline;
  501. procedure clearTCKPS0; inline;
  502. procedure clearTCKPS1; inline;
  503. procedure clearTCKPS2; inline;
  504. procedure clearTCS; inline;
  505. procedure clearTGATE; inline;
  506. procedure clearTON; inline;
  507. procedure clearTSIDL; inline;
  508. procedure setON; inline;
  509. procedure setSIDL; inline;
  510. procedure setTCKPS0; inline;
  511. procedure setTCKPS1; inline;
  512. procedure setTCKPS2; inline;
  513. procedure setTCS; inline;
  514. procedure setTGATE; inline;
  515. procedure setTON; inline;
  516. procedure setTSIDL; inline;
  517. property ON : TBits_1 read getON write setON;
  518. property SIDL : TBits_1 read getSIDL write setSIDL;
  519. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  520. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  521. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  522. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  523. property TCS : TBits_1 read getTCS write setTCS;
  524. property TGATE : TBits_1 read getTGATE write setTGATE;
  525. property TON : TBits_1 read getTON write setTON;
  526. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  527. property w : TBits_32 read getw write setw;
  528. end;
  529. type
  530. TTMR3Registers = record
  531. T3CONbits : TTMR3_T3CON;
  532. T3CON : longWord;
  533. T3CONCLR : longWord;
  534. T3CONSET : longWord;
  535. T3CONINV : longWord;
  536. TMR3 : longWord;
  537. TMR3CLR : longWord;
  538. TMR3SET : longWord;
  539. TMR3INV : longWord;
  540. PR3 : longWord;
  541. PR3CLR : longWord;
  542. PR3SET : longWord;
  543. PR3INV : longWord;
  544. end;
  545. TTMR4_T4CON = record
  546. private
  547. function getON : TBits_1; inline;
  548. function getSIDL : TBits_1; inline;
  549. function getT32 : TBits_1; inline;
  550. function getTCKPS : TBits_3; inline;
  551. function getTCKPS0 : TBits_1; inline;
  552. function getTCKPS1 : TBits_1; inline;
  553. function getTCKPS2 : TBits_1; inline;
  554. function getTCS : TBits_1; inline;
  555. function getTGATE : TBits_1; inline;
  556. function getTON : TBits_1; inline;
  557. function getTSIDL : TBits_1; inline;
  558. function getw : TBits_32; inline;
  559. procedure setON(thebits : TBits_1); inline;
  560. procedure setSIDL(thebits : TBits_1); inline;
  561. procedure setT32(thebits : TBits_1); inline;
  562. procedure setTCKPS(thebits : TBits_3); inline;
  563. procedure setTCKPS0(thebits : TBits_1); inline;
  564. procedure setTCKPS1(thebits : TBits_1); inline;
  565. procedure setTCKPS2(thebits : TBits_1); inline;
  566. procedure setTCS(thebits : TBits_1); inline;
  567. procedure setTGATE(thebits : TBits_1); inline;
  568. procedure setTON(thebits : TBits_1); inline;
  569. procedure setTSIDL(thebits : TBits_1); inline;
  570. procedure setw(thebits : TBits_32); inline;
  571. public
  572. procedure clearON; inline;
  573. procedure clearSIDL; inline;
  574. procedure clearT32; inline;
  575. procedure clearTCKPS0; inline;
  576. procedure clearTCKPS1; inline;
  577. procedure clearTCKPS2; inline;
  578. procedure clearTCS; inline;
  579. procedure clearTGATE; inline;
  580. procedure clearTON; inline;
  581. procedure clearTSIDL; inline;
  582. procedure setON; inline;
  583. procedure setSIDL; inline;
  584. procedure setT32; inline;
  585. procedure setTCKPS0; inline;
  586. procedure setTCKPS1; inline;
  587. procedure setTCKPS2; inline;
  588. procedure setTCS; inline;
  589. procedure setTGATE; inline;
  590. procedure setTON; inline;
  591. procedure setTSIDL; inline;
  592. property ON : TBits_1 read getON write setON;
  593. property SIDL : TBits_1 read getSIDL write setSIDL;
  594. property T32 : TBits_1 read getT32 write setT32;
  595. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  596. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  597. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  598. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  599. property TCS : TBits_1 read getTCS write setTCS;
  600. property TGATE : TBits_1 read getTGATE write setTGATE;
  601. property TON : TBits_1 read getTON write setTON;
  602. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  603. property w : TBits_32 read getw write setw;
  604. end;
  605. type
  606. TTMR4Registers = record
  607. T4CONbits : TTMR4_T4CON;
  608. T4CON : longWord;
  609. T4CONCLR : longWord;
  610. T4CONSET : longWord;
  611. T4CONINV : longWord;
  612. TMR4 : longWord;
  613. TMR4CLR : longWord;
  614. TMR4SET : longWord;
  615. TMR4INV : longWord;
  616. PR4 : longWord;
  617. PR4CLR : longWord;
  618. PR4SET : longWord;
  619. PR4INV : longWord;
  620. end;
  621. TTMR5_T5CON = record
  622. private
  623. function getON : TBits_1; inline;
  624. function getSIDL : TBits_1; inline;
  625. function getTCKPS : TBits_3; inline;
  626. function getTCKPS0 : TBits_1; inline;
  627. function getTCKPS1 : TBits_1; inline;
  628. function getTCKPS2 : TBits_1; inline;
  629. function getTCS : TBits_1; inline;
  630. function getTGATE : TBits_1; inline;
  631. function getTON : TBits_1; inline;
  632. function getTSIDL : TBits_1; inline;
  633. function getw : TBits_32; inline;
  634. procedure setON(thebits : TBits_1); inline;
  635. procedure setSIDL(thebits : TBits_1); inline;
  636. procedure setTCKPS(thebits : TBits_3); inline;
  637. procedure setTCKPS0(thebits : TBits_1); inline;
  638. procedure setTCKPS1(thebits : TBits_1); inline;
  639. procedure setTCKPS2(thebits : TBits_1); inline;
  640. procedure setTCS(thebits : TBits_1); inline;
  641. procedure setTGATE(thebits : TBits_1); inline;
  642. procedure setTON(thebits : TBits_1); inline;
  643. procedure setTSIDL(thebits : TBits_1); inline;
  644. procedure setw(thebits : TBits_32); inline;
  645. public
  646. procedure clearON; inline;
  647. procedure clearSIDL; inline;
  648. procedure clearTCKPS0; inline;
  649. procedure clearTCKPS1; inline;
  650. procedure clearTCKPS2; inline;
  651. procedure clearTCS; inline;
  652. procedure clearTGATE; inline;
  653. procedure clearTON; inline;
  654. procedure clearTSIDL; inline;
  655. procedure setON; inline;
  656. procedure setSIDL; inline;
  657. procedure setTCKPS0; inline;
  658. procedure setTCKPS1; inline;
  659. procedure setTCKPS2; inline;
  660. procedure setTCS; inline;
  661. procedure setTGATE; inline;
  662. procedure setTON; inline;
  663. procedure setTSIDL; inline;
  664. property ON : TBits_1 read getON write setON;
  665. property SIDL : TBits_1 read getSIDL write setSIDL;
  666. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  667. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  668. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  669. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  670. property TCS : TBits_1 read getTCS write setTCS;
  671. property TGATE : TBits_1 read getTGATE write setTGATE;
  672. property TON : TBits_1 read getTON write setTON;
  673. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  674. property w : TBits_32 read getw write setw;
  675. end;
  676. type
  677. TTMR5Registers = record
  678. T5CONbits : TTMR5_T5CON;
  679. T5CON : longWord;
  680. T5CONCLR : longWord;
  681. T5CONSET : longWord;
  682. T5CONINV : longWord;
  683. TMR5 : longWord;
  684. TMR5CLR : longWord;
  685. TMR5SET : longWord;
  686. TMR5INV : longWord;
  687. PR5 : longWord;
  688. PR5CLR : longWord;
  689. PR5SET : longWord;
  690. PR5INV : longWord;
  691. end;
  692. TICAP1_IC1CON = record
  693. private
  694. function getC32 : TBits_1; inline;
  695. function getFEDGE : TBits_1; inline;
  696. function getICBNE : TBits_1; inline;
  697. function getICI : TBits_2; inline;
  698. function getICI0 : TBits_1; inline;
  699. function getICI1 : TBits_1; inline;
  700. function getICM : TBits_3; inline;
  701. function getICM0 : TBits_1; inline;
  702. function getICM1 : TBits_1; inline;
  703. function getICM2 : TBits_1; inline;
  704. function getICOV : TBits_1; inline;
  705. function getICSIDL : TBits_1; inline;
  706. function getICTMR : TBits_1; inline;
  707. function getON : TBits_1; inline;
  708. function getSIDL : TBits_1; inline;
  709. function getw : TBits_32; inline;
  710. procedure setC32(thebits : TBits_1); inline;
  711. procedure setFEDGE(thebits : TBits_1); inline;
  712. procedure setICBNE(thebits : TBits_1); inline;
  713. procedure setICI(thebits : TBits_2); inline;
  714. procedure setICI0(thebits : TBits_1); inline;
  715. procedure setICI1(thebits : TBits_1); inline;
  716. procedure setICM(thebits : TBits_3); inline;
  717. procedure setICM0(thebits : TBits_1); inline;
  718. procedure setICM1(thebits : TBits_1); inline;
  719. procedure setICM2(thebits : TBits_1); inline;
  720. procedure setICOV(thebits : TBits_1); inline;
  721. procedure setICSIDL(thebits : TBits_1); inline;
  722. procedure setICTMR(thebits : TBits_1); inline;
  723. procedure setON(thebits : TBits_1); inline;
  724. procedure setSIDL(thebits : TBits_1); inline;
  725. procedure setw(thebits : TBits_32); inline;
  726. public
  727. procedure clearC32; inline;
  728. procedure clearFEDGE; inline;
  729. procedure clearICBNE; inline;
  730. procedure clearICI0; inline;
  731. procedure clearICI1; inline;
  732. procedure clearICM0; inline;
  733. procedure clearICM1; inline;
  734. procedure clearICM2; inline;
  735. procedure clearICOV; inline;
  736. procedure clearICSIDL; inline;
  737. procedure clearICTMR; inline;
  738. procedure clearON; inline;
  739. procedure clearSIDL; inline;
  740. procedure setC32; inline;
  741. procedure setFEDGE; inline;
  742. procedure setICBNE; inline;
  743. procedure setICI0; inline;
  744. procedure setICI1; inline;
  745. procedure setICM0; inline;
  746. procedure setICM1; inline;
  747. procedure setICM2; inline;
  748. procedure setICOV; inline;
  749. procedure setICSIDL; inline;
  750. procedure setICTMR; inline;
  751. procedure setON; inline;
  752. procedure setSIDL; inline;
  753. property C32 : TBits_1 read getC32 write setC32;
  754. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  755. property ICBNE : TBits_1 read getICBNE write setICBNE;
  756. property ICI : TBits_2 read getICI write setICI;
  757. property ICI0 : TBits_1 read getICI0 write setICI0;
  758. property ICI1 : TBits_1 read getICI1 write setICI1;
  759. property ICM : TBits_3 read getICM write setICM;
  760. property ICM0 : TBits_1 read getICM0 write setICM0;
  761. property ICM1 : TBits_1 read getICM1 write setICM1;
  762. property ICM2 : TBits_1 read getICM2 write setICM2;
  763. property ICOV : TBits_1 read getICOV write setICOV;
  764. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  765. property ICTMR : TBits_1 read getICTMR write setICTMR;
  766. property ON : TBits_1 read getON write setON;
  767. property SIDL : TBits_1 read getSIDL write setSIDL;
  768. property w : TBits_32 read getw write setw;
  769. end;
  770. type
  771. TICAP1Registers = record
  772. IC1CONbits : TICAP1_IC1CON;
  773. IC1CON : longWord;
  774. IC1CONCLR : longWord;
  775. IC1CONSET : longWord;
  776. IC1CONINV : longWord;
  777. IC1BUF : longWord;
  778. end;
  779. TICAP2_IC2CON = record
  780. private
  781. function getC32 : TBits_1; inline;
  782. function getFEDGE : TBits_1; inline;
  783. function getICBNE : TBits_1; inline;
  784. function getICI : TBits_2; inline;
  785. function getICI0 : TBits_1; inline;
  786. function getICI1 : TBits_1; inline;
  787. function getICM : TBits_3; inline;
  788. function getICM0 : TBits_1; inline;
  789. function getICM1 : TBits_1; inline;
  790. function getICM2 : TBits_1; inline;
  791. function getICOV : TBits_1; inline;
  792. function getICSIDL : TBits_1; inline;
  793. function getICTMR : TBits_1; inline;
  794. function getON : TBits_1; inline;
  795. function getSIDL : TBits_1; inline;
  796. function getw : TBits_32; inline;
  797. procedure setC32(thebits : TBits_1); inline;
  798. procedure setFEDGE(thebits : TBits_1); inline;
  799. procedure setICBNE(thebits : TBits_1); inline;
  800. procedure setICI(thebits : TBits_2); inline;
  801. procedure setICI0(thebits : TBits_1); inline;
  802. procedure setICI1(thebits : TBits_1); inline;
  803. procedure setICM(thebits : TBits_3); inline;
  804. procedure setICM0(thebits : TBits_1); inline;
  805. procedure setICM1(thebits : TBits_1); inline;
  806. procedure setICM2(thebits : TBits_1); inline;
  807. procedure setICOV(thebits : TBits_1); inline;
  808. procedure setICSIDL(thebits : TBits_1); inline;
  809. procedure setICTMR(thebits : TBits_1); inline;
  810. procedure setON(thebits : TBits_1); inline;
  811. procedure setSIDL(thebits : TBits_1); inline;
  812. procedure setw(thebits : TBits_32); inline;
  813. public
  814. procedure clearC32; inline;
  815. procedure clearFEDGE; inline;
  816. procedure clearICBNE; inline;
  817. procedure clearICI0; inline;
  818. procedure clearICI1; inline;
  819. procedure clearICM0; inline;
  820. procedure clearICM1; inline;
  821. procedure clearICM2; inline;
  822. procedure clearICOV; inline;
  823. procedure clearICSIDL; inline;
  824. procedure clearICTMR; inline;
  825. procedure clearON; inline;
  826. procedure clearSIDL; inline;
  827. procedure setC32; inline;
  828. procedure setFEDGE; inline;
  829. procedure setICBNE; inline;
  830. procedure setICI0; inline;
  831. procedure setICI1; inline;
  832. procedure setICM0; inline;
  833. procedure setICM1; inline;
  834. procedure setICM2; inline;
  835. procedure setICOV; inline;
  836. procedure setICSIDL; inline;
  837. procedure setICTMR; inline;
  838. procedure setON; inline;
  839. procedure setSIDL; inline;
  840. property C32 : TBits_1 read getC32 write setC32;
  841. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  842. property ICBNE : TBits_1 read getICBNE write setICBNE;
  843. property ICI : TBits_2 read getICI write setICI;
  844. property ICI0 : TBits_1 read getICI0 write setICI0;
  845. property ICI1 : TBits_1 read getICI1 write setICI1;
  846. property ICM : TBits_3 read getICM write setICM;
  847. property ICM0 : TBits_1 read getICM0 write setICM0;
  848. property ICM1 : TBits_1 read getICM1 write setICM1;
  849. property ICM2 : TBits_1 read getICM2 write setICM2;
  850. property ICOV : TBits_1 read getICOV write setICOV;
  851. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  852. property ICTMR : TBits_1 read getICTMR write setICTMR;
  853. property ON : TBits_1 read getON write setON;
  854. property SIDL : TBits_1 read getSIDL write setSIDL;
  855. property w : TBits_32 read getw write setw;
  856. end;
  857. type
  858. TICAP2Registers = record
  859. IC2CONbits : TICAP2_IC2CON;
  860. IC2CON : longWord;
  861. IC2CONCLR : longWord;
  862. IC2CONSET : longWord;
  863. IC2CONINV : longWord;
  864. IC2BUF : longWord;
  865. end;
  866. TICAP3_IC3CON = record
  867. private
  868. function getC32 : TBits_1; inline;
  869. function getFEDGE : TBits_1; inline;
  870. function getICBNE : TBits_1; inline;
  871. function getICI : TBits_2; inline;
  872. function getICI0 : TBits_1; inline;
  873. function getICI1 : TBits_1; inline;
  874. function getICM : TBits_3; inline;
  875. function getICM0 : TBits_1; inline;
  876. function getICM1 : TBits_1; inline;
  877. function getICM2 : TBits_1; inline;
  878. function getICOV : TBits_1; inline;
  879. function getICSIDL : TBits_1; inline;
  880. function getICTMR : TBits_1; inline;
  881. function getON : TBits_1; inline;
  882. function getSIDL : TBits_1; inline;
  883. function getw : TBits_32; inline;
  884. procedure setC32(thebits : TBits_1); inline;
  885. procedure setFEDGE(thebits : TBits_1); inline;
  886. procedure setICBNE(thebits : TBits_1); inline;
  887. procedure setICI(thebits : TBits_2); inline;
  888. procedure setICI0(thebits : TBits_1); inline;
  889. procedure setICI1(thebits : TBits_1); inline;
  890. procedure setICM(thebits : TBits_3); inline;
  891. procedure setICM0(thebits : TBits_1); inline;
  892. procedure setICM1(thebits : TBits_1); inline;
  893. procedure setICM2(thebits : TBits_1); inline;
  894. procedure setICOV(thebits : TBits_1); inline;
  895. procedure setICSIDL(thebits : TBits_1); inline;
  896. procedure setICTMR(thebits : TBits_1); inline;
  897. procedure setON(thebits : TBits_1); inline;
  898. procedure setSIDL(thebits : TBits_1); inline;
  899. procedure setw(thebits : TBits_32); inline;
  900. public
  901. procedure clearC32; inline;
  902. procedure clearFEDGE; inline;
  903. procedure clearICBNE; inline;
  904. procedure clearICI0; inline;
  905. procedure clearICI1; inline;
  906. procedure clearICM0; inline;
  907. procedure clearICM1; inline;
  908. procedure clearICM2; inline;
  909. procedure clearICOV; inline;
  910. procedure clearICSIDL; inline;
  911. procedure clearICTMR; inline;
  912. procedure clearON; inline;
  913. procedure clearSIDL; inline;
  914. procedure setC32; inline;
  915. procedure setFEDGE; inline;
  916. procedure setICBNE; inline;
  917. procedure setICI0; inline;
  918. procedure setICI1; inline;
  919. procedure setICM0; inline;
  920. procedure setICM1; inline;
  921. procedure setICM2; inline;
  922. procedure setICOV; inline;
  923. procedure setICSIDL; inline;
  924. procedure setICTMR; inline;
  925. procedure setON; inline;
  926. procedure setSIDL; inline;
  927. property C32 : TBits_1 read getC32 write setC32;
  928. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  929. property ICBNE : TBits_1 read getICBNE write setICBNE;
  930. property ICI : TBits_2 read getICI write setICI;
  931. property ICI0 : TBits_1 read getICI0 write setICI0;
  932. property ICI1 : TBits_1 read getICI1 write setICI1;
  933. property ICM : TBits_3 read getICM write setICM;
  934. property ICM0 : TBits_1 read getICM0 write setICM0;
  935. property ICM1 : TBits_1 read getICM1 write setICM1;
  936. property ICM2 : TBits_1 read getICM2 write setICM2;
  937. property ICOV : TBits_1 read getICOV write setICOV;
  938. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  939. property ICTMR : TBits_1 read getICTMR write setICTMR;
  940. property ON : TBits_1 read getON write setON;
  941. property SIDL : TBits_1 read getSIDL write setSIDL;
  942. property w : TBits_32 read getw write setw;
  943. end;
  944. type
  945. TICAP3Registers = record
  946. IC3CONbits : TICAP3_IC3CON;
  947. IC3CON : longWord;
  948. IC3CONCLR : longWord;
  949. IC3CONSET : longWord;
  950. IC3CONINV : longWord;
  951. IC3BUF : longWord;
  952. end;
  953. TICAP4_IC4CON = record
  954. private
  955. function getC32 : TBits_1; inline;
  956. function getFEDGE : TBits_1; inline;
  957. function getICBNE : TBits_1; inline;
  958. function getICI : TBits_2; inline;
  959. function getICI0 : TBits_1; inline;
  960. function getICI1 : TBits_1; inline;
  961. function getICM : TBits_3; inline;
  962. function getICM0 : TBits_1; inline;
  963. function getICM1 : TBits_1; inline;
  964. function getICM2 : TBits_1; inline;
  965. function getICOV : TBits_1; inline;
  966. function getICSIDL : TBits_1; inline;
  967. function getICTMR : TBits_1; inline;
  968. function getON : TBits_1; inline;
  969. function getSIDL : TBits_1; inline;
  970. function getw : TBits_32; inline;
  971. procedure setC32(thebits : TBits_1); inline;
  972. procedure setFEDGE(thebits : TBits_1); inline;
  973. procedure setICBNE(thebits : TBits_1); inline;
  974. procedure setICI(thebits : TBits_2); inline;
  975. procedure setICI0(thebits : TBits_1); inline;
  976. procedure setICI1(thebits : TBits_1); inline;
  977. procedure setICM(thebits : TBits_3); inline;
  978. procedure setICM0(thebits : TBits_1); inline;
  979. procedure setICM1(thebits : TBits_1); inline;
  980. procedure setICM2(thebits : TBits_1); inline;
  981. procedure setICOV(thebits : TBits_1); inline;
  982. procedure setICSIDL(thebits : TBits_1); inline;
  983. procedure setICTMR(thebits : TBits_1); inline;
  984. procedure setON(thebits : TBits_1); inline;
  985. procedure setSIDL(thebits : TBits_1); inline;
  986. procedure setw(thebits : TBits_32); inline;
  987. public
  988. procedure clearC32; inline;
  989. procedure clearFEDGE; inline;
  990. procedure clearICBNE; inline;
  991. procedure clearICI0; inline;
  992. procedure clearICI1; inline;
  993. procedure clearICM0; inline;
  994. procedure clearICM1; inline;
  995. procedure clearICM2; inline;
  996. procedure clearICOV; inline;
  997. procedure clearICSIDL; inline;
  998. procedure clearICTMR; inline;
  999. procedure clearON; inline;
  1000. procedure clearSIDL; inline;
  1001. procedure setC32; inline;
  1002. procedure setFEDGE; inline;
  1003. procedure setICBNE; inline;
  1004. procedure setICI0; inline;
  1005. procedure setICI1; inline;
  1006. procedure setICM0; inline;
  1007. procedure setICM1; inline;
  1008. procedure setICM2; inline;
  1009. procedure setICOV; inline;
  1010. procedure setICSIDL; inline;
  1011. procedure setICTMR; inline;
  1012. procedure setON; inline;
  1013. procedure setSIDL; inline;
  1014. property C32 : TBits_1 read getC32 write setC32;
  1015. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1016. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1017. property ICI : TBits_2 read getICI write setICI;
  1018. property ICI0 : TBits_1 read getICI0 write setICI0;
  1019. property ICI1 : TBits_1 read getICI1 write setICI1;
  1020. property ICM : TBits_3 read getICM write setICM;
  1021. property ICM0 : TBits_1 read getICM0 write setICM0;
  1022. property ICM1 : TBits_1 read getICM1 write setICM1;
  1023. property ICM2 : TBits_1 read getICM2 write setICM2;
  1024. property ICOV : TBits_1 read getICOV write setICOV;
  1025. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1026. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1027. property ON : TBits_1 read getON write setON;
  1028. property SIDL : TBits_1 read getSIDL write setSIDL;
  1029. property w : TBits_32 read getw write setw;
  1030. end;
  1031. type
  1032. TICAP4Registers = record
  1033. IC4CONbits : TICAP4_IC4CON;
  1034. IC4CON : longWord;
  1035. IC4CONCLR : longWord;
  1036. IC4CONSET : longWord;
  1037. IC4CONINV : longWord;
  1038. IC4BUF : longWord;
  1039. end;
  1040. TICAP5_IC5CON = record
  1041. private
  1042. function getC32 : TBits_1; inline;
  1043. function getFEDGE : TBits_1; inline;
  1044. function getICBNE : TBits_1; inline;
  1045. function getICI : TBits_2; inline;
  1046. function getICI0 : TBits_1; inline;
  1047. function getICI1 : TBits_1; inline;
  1048. function getICM : TBits_3; inline;
  1049. function getICM0 : TBits_1; inline;
  1050. function getICM1 : TBits_1; inline;
  1051. function getICM2 : TBits_1; inline;
  1052. function getICOV : TBits_1; inline;
  1053. function getICSIDL : TBits_1; inline;
  1054. function getICTMR : TBits_1; inline;
  1055. function getON : TBits_1; inline;
  1056. function getSIDL : TBits_1; inline;
  1057. function getw : TBits_32; inline;
  1058. procedure setC32(thebits : TBits_1); inline;
  1059. procedure setFEDGE(thebits : TBits_1); inline;
  1060. procedure setICBNE(thebits : TBits_1); inline;
  1061. procedure setICI(thebits : TBits_2); inline;
  1062. procedure setICI0(thebits : TBits_1); inline;
  1063. procedure setICI1(thebits : TBits_1); inline;
  1064. procedure setICM(thebits : TBits_3); inline;
  1065. procedure setICM0(thebits : TBits_1); inline;
  1066. procedure setICM1(thebits : TBits_1); inline;
  1067. procedure setICM2(thebits : TBits_1); inline;
  1068. procedure setICOV(thebits : TBits_1); inline;
  1069. procedure setICSIDL(thebits : TBits_1); inline;
  1070. procedure setICTMR(thebits : TBits_1); inline;
  1071. procedure setON(thebits : TBits_1); inline;
  1072. procedure setSIDL(thebits : TBits_1); inline;
  1073. procedure setw(thebits : TBits_32); inline;
  1074. public
  1075. procedure clearC32; inline;
  1076. procedure clearFEDGE; inline;
  1077. procedure clearICBNE; inline;
  1078. procedure clearICI0; inline;
  1079. procedure clearICI1; inline;
  1080. procedure clearICM0; inline;
  1081. procedure clearICM1; inline;
  1082. procedure clearICM2; inline;
  1083. procedure clearICOV; inline;
  1084. procedure clearICSIDL; inline;
  1085. procedure clearICTMR; inline;
  1086. procedure clearON; inline;
  1087. procedure clearSIDL; inline;
  1088. procedure setC32; inline;
  1089. procedure setFEDGE; inline;
  1090. procedure setICBNE; inline;
  1091. procedure setICI0; inline;
  1092. procedure setICI1; inline;
  1093. procedure setICM0; inline;
  1094. procedure setICM1; inline;
  1095. procedure setICM2; inline;
  1096. procedure setICOV; inline;
  1097. procedure setICSIDL; inline;
  1098. procedure setICTMR; inline;
  1099. procedure setON; inline;
  1100. procedure setSIDL; inline;
  1101. property C32 : TBits_1 read getC32 write setC32;
  1102. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1103. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1104. property ICI : TBits_2 read getICI write setICI;
  1105. property ICI0 : TBits_1 read getICI0 write setICI0;
  1106. property ICI1 : TBits_1 read getICI1 write setICI1;
  1107. property ICM : TBits_3 read getICM write setICM;
  1108. property ICM0 : TBits_1 read getICM0 write setICM0;
  1109. property ICM1 : TBits_1 read getICM1 write setICM1;
  1110. property ICM2 : TBits_1 read getICM2 write setICM2;
  1111. property ICOV : TBits_1 read getICOV write setICOV;
  1112. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1113. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1114. property ON : TBits_1 read getON write setON;
  1115. property SIDL : TBits_1 read getSIDL write setSIDL;
  1116. property w : TBits_32 read getw write setw;
  1117. end;
  1118. type
  1119. TICAP5Registers = record
  1120. IC5CONbits : TICAP5_IC5CON;
  1121. IC5CON : longWord;
  1122. IC5CONCLR : longWord;
  1123. IC5CONSET : longWord;
  1124. IC5CONINV : longWord;
  1125. IC5BUF : longWord;
  1126. end;
  1127. TOCMP1_OC1CON = record
  1128. private
  1129. function getOC32 : TBits_1; inline;
  1130. function getOCFLT : TBits_1; inline;
  1131. function getOCM : TBits_3; inline;
  1132. function getOCM0 : TBits_1; inline;
  1133. function getOCM1 : TBits_1; inline;
  1134. function getOCM2 : TBits_1; inline;
  1135. function getOCSIDL : TBits_1; inline;
  1136. function getOCTSEL : TBits_1; inline;
  1137. function getON : TBits_1; inline;
  1138. function getSIDL : TBits_1; inline;
  1139. function getw : TBits_32; inline;
  1140. procedure setOC32(thebits : TBits_1); inline;
  1141. procedure setOCFLT(thebits : TBits_1); inline;
  1142. procedure setOCM(thebits : TBits_3); inline;
  1143. procedure setOCM0(thebits : TBits_1); inline;
  1144. procedure setOCM1(thebits : TBits_1); inline;
  1145. procedure setOCM2(thebits : TBits_1); inline;
  1146. procedure setOCSIDL(thebits : TBits_1); inline;
  1147. procedure setOCTSEL(thebits : TBits_1); inline;
  1148. procedure setON(thebits : TBits_1); inline;
  1149. procedure setSIDL(thebits : TBits_1); inline;
  1150. procedure setw(thebits : TBits_32); inline;
  1151. public
  1152. procedure clearOC32; inline;
  1153. procedure clearOCFLT; inline;
  1154. procedure clearOCM0; inline;
  1155. procedure clearOCM1; inline;
  1156. procedure clearOCM2; inline;
  1157. procedure clearOCSIDL; inline;
  1158. procedure clearOCTSEL; inline;
  1159. procedure clearON; inline;
  1160. procedure clearSIDL; inline;
  1161. procedure setOC32; inline;
  1162. procedure setOCFLT; inline;
  1163. procedure setOCM0; inline;
  1164. procedure setOCM1; inline;
  1165. procedure setOCM2; inline;
  1166. procedure setOCSIDL; inline;
  1167. procedure setOCTSEL; inline;
  1168. procedure setON; inline;
  1169. procedure setSIDL; inline;
  1170. property OC32 : TBits_1 read getOC32 write setOC32;
  1171. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1172. property OCM : TBits_3 read getOCM write setOCM;
  1173. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1174. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1175. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1176. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1177. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1178. property ON : TBits_1 read getON write setON;
  1179. property SIDL : TBits_1 read getSIDL write setSIDL;
  1180. property w : TBits_32 read getw write setw;
  1181. end;
  1182. type
  1183. TOCMP1Registers = record
  1184. OC1CONbits : TOCMP1_OC1CON;
  1185. OC1CON : longWord;
  1186. OC1CONCLR : longWord;
  1187. OC1CONSET : longWord;
  1188. OC1CONINV : longWord;
  1189. OC1R : longWord;
  1190. OC1RCLR : longWord;
  1191. OC1RSET : longWord;
  1192. OC1RINV : longWord;
  1193. OC1RS : longWord;
  1194. OC1RSCLR : longWord;
  1195. OC1RSSET : longWord;
  1196. OC1RSINV : longWord;
  1197. end;
  1198. TOCMP2_OC2CON = record
  1199. private
  1200. function getOC32 : TBits_1; inline;
  1201. function getOCFLT : TBits_1; inline;
  1202. function getOCM : TBits_3; inline;
  1203. function getOCM0 : TBits_1; inline;
  1204. function getOCM1 : TBits_1; inline;
  1205. function getOCM2 : TBits_1; inline;
  1206. function getOCSIDL : TBits_1; inline;
  1207. function getOCTSEL : TBits_1; inline;
  1208. function getON : TBits_1; inline;
  1209. function getSIDL : TBits_1; inline;
  1210. function getw : TBits_32; inline;
  1211. procedure setOC32(thebits : TBits_1); inline;
  1212. procedure setOCFLT(thebits : TBits_1); inline;
  1213. procedure setOCM(thebits : TBits_3); inline;
  1214. procedure setOCM0(thebits : TBits_1); inline;
  1215. procedure setOCM1(thebits : TBits_1); inline;
  1216. procedure setOCM2(thebits : TBits_1); inline;
  1217. procedure setOCSIDL(thebits : TBits_1); inline;
  1218. procedure setOCTSEL(thebits : TBits_1); inline;
  1219. procedure setON(thebits : TBits_1); inline;
  1220. procedure setSIDL(thebits : TBits_1); inline;
  1221. procedure setw(thebits : TBits_32); inline;
  1222. public
  1223. procedure clearOC32; inline;
  1224. procedure clearOCFLT; inline;
  1225. procedure clearOCM0; inline;
  1226. procedure clearOCM1; inline;
  1227. procedure clearOCM2; inline;
  1228. procedure clearOCSIDL; inline;
  1229. procedure clearOCTSEL; inline;
  1230. procedure clearON; inline;
  1231. procedure clearSIDL; inline;
  1232. procedure setOC32; inline;
  1233. procedure setOCFLT; inline;
  1234. procedure setOCM0; inline;
  1235. procedure setOCM1; inline;
  1236. procedure setOCM2; inline;
  1237. procedure setOCSIDL; inline;
  1238. procedure setOCTSEL; inline;
  1239. procedure setON; inline;
  1240. procedure setSIDL; inline;
  1241. property OC32 : TBits_1 read getOC32 write setOC32;
  1242. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1243. property OCM : TBits_3 read getOCM write setOCM;
  1244. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1245. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1246. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1247. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1248. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1249. property ON : TBits_1 read getON write setON;
  1250. property SIDL : TBits_1 read getSIDL write setSIDL;
  1251. property w : TBits_32 read getw write setw;
  1252. end;
  1253. type
  1254. TOCMP2Registers = record
  1255. OC2CONbits : TOCMP2_OC2CON;
  1256. OC2CON : longWord;
  1257. OC2CONCLR : longWord;
  1258. OC2CONSET : longWord;
  1259. OC2CONINV : longWord;
  1260. OC2R : longWord;
  1261. OC2RCLR : longWord;
  1262. OC2RSET : longWord;
  1263. OC2RINV : longWord;
  1264. OC2RS : longWord;
  1265. OC2RSCLR : longWord;
  1266. OC2RSSET : longWord;
  1267. OC2RSINV : longWord;
  1268. end;
  1269. TOCMP3_OC3CON = record
  1270. private
  1271. function getOC32 : TBits_1; inline;
  1272. function getOCFLT : TBits_1; inline;
  1273. function getOCM : TBits_3; inline;
  1274. function getOCM0 : TBits_1; inline;
  1275. function getOCM1 : TBits_1; inline;
  1276. function getOCM2 : TBits_1; inline;
  1277. function getOCSIDL : TBits_1; inline;
  1278. function getOCTSEL : TBits_1; inline;
  1279. function getON : TBits_1; inline;
  1280. function getSIDL : TBits_1; inline;
  1281. function getw : TBits_32; inline;
  1282. procedure setOC32(thebits : TBits_1); inline;
  1283. procedure setOCFLT(thebits : TBits_1); inline;
  1284. procedure setOCM(thebits : TBits_3); inline;
  1285. procedure setOCM0(thebits : TBits_1); inline;
  1286. procedure setOCM1(thebits : TBits_1); inline;
  1287. procedure setOCM2(thebits : TBits_1); inline;
  1288. procedure setOCSIDL(thebits : TBits_1); inline;
  1289. procedure setOCTSEL(thebits : TBits_1); inline;
  1290. procedure setON(thebits : TBits_1); inline;
  1291. procedure setSIDL(thebits : TBits_1); inline;
  1292. procedure setw(thebits : TBits_32); inline;
  1293. public
  1294. procedure clearOC32; inline;
  1295. procedure clearOCFLT; inline;
  1296. procedure clearOCM0; inline;
  1297. procedure clearOCM1; inline;
  1298. procedure clearOCM2; inline;
  1299. procedure clearOCSIDL; inline;
  1300. procedure clearOCTSEL; inline;
  1301. procedure clearON; inline;
  1302. procedure clearSIDL; inline;
  1303. procedure setOC32; inline;
  1304. procedure setOCFLT; inline;
  1305. procedure setOCM0; inline;
  1306. procedure setOCM1; inline;
  1307. procedure setOCM2; inline;
  1308. procedure setOCSIDL; inline;
  1309. procedure setOCTSEL; inline;
  1310. procedure setON; inline;
  1311. procedure setSIDL; inline;
  1312. property OC32 : TBits_1 read getOC32 write setOC32;
  1313. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1314. property OCM : TBits_3 read getOCM write setOCM;
  1315. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1316. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1317. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1318. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1319. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1320. property ON : TBits_1 read getON write setON;
  1321. property SIDL : TBits_1 read getSIDL write setSIDL;
  1322. property w : TBits_32 read getw write setw;
  1323. end;
  1324. type
  1325. TOCMP3Registers = record
  1326. OC3CONbits : TOCMP3_OC3CON;
  1327. OC3CON : longWord;
  1328. OC3CONCLR : longWord;
  1329. OC3CONSET : longWord;
  1330. OC3CONINV : longWord;
  1331. OC3R : longWord;
  1332. OC3RCLR : longWord;
  1333. OC3RSET : longWord;
  1334. OC3RINV : longWord;
  1335. OC3RS : longWord;
  1336. OC3RSCLR : longWord;
  1337. OC3RSSET : longWord;
  1338. OC3RSINV : longWord;
  1339. end;
  1340. TOCMP4_OC4CON = record
  1341. private
  1342. function getOC32 : TBits_1; inline;
  1343. function getOCFLT : TBits_1; inline;
  1344. function getOCM : TBits_3; inline;
  1345. function getOCM0 : TBits_1; inline;
  1346. function getOCM1 : TBits_1; inline;
  1347. function getOCM2 : TBits_1; inline;
  1348. function getOCSIDL : TBits_1; inline;
  1349. function getOCTSEL : TBits_1; inline;
  1350. function getON : TBits_1; inline;
  1351. function getSIDL : TBits_1; inline;
  1352. function getw : TBits_32; inline;
  1353. procedure setOC32(thebits : TBits_1); inline;
  1354. procedure setOCFLT(thebits : TBits_1); inline;
  1355. procedure setOCM(thebits : TBits_3); inline;
  1356. procedure setOCM0(thebits : TBits_1); inline;
  1357. procedure setOCM1(thebits : TBits_1); inline;
  1358. procedure setOCM2(thebits : TBits_1); inline;
  1359. procedure setOCSIDL(thebits : TBits_1); inline;
  1360. procedure setOCTSEL(thebits : TBits_1); inline;
  1361. procedure setON(thebits : TBits_1); inline;
  1362. procedure setSIDL(thebits : TBits_1); inline;
  1363. procedure setw(thebits : TBits_32); inline;
  1364. public
  1365. procedure clearOC32; inline;
  1366. procedure clearOCFLT; inline;
  1367. procedure clearOCM0; inline;
  1368. procedure clearOCM1; inline;
  1369. procedure clearOCM2; inline;
  1370. procedure clearOCSIDL; inline;
  1371. procedure clearOCTSEL; inline;
  1372. procedure clearON; inline;
  1373. procedure clearSIDL; inline;
  1374. procedure setOC32; inline;
  1375. procedure setOCFLT; inline;
  1376. procedure setOCM0; inline;
  1377. procedure setOCM1; inline;
  1378. procedure setOCM2; inline;
  1379. procedure setOCSIDL; inline;
  1380. procedure setOCTSEL; inline;
  1381. procedure setON; inline;
  1382. procedure setSIDL; inline;
  1383. property OC32 : TBits_1 read getOC32 write setOC32;
  1384. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1385. property OCM : TBits_3 read getOCM write setOCM;
  1386. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1387. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1388. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1389. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1390. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1391. property ON : TBits_1 read getON write setON;
  1392. property SIDL : TBits_1 read getSIDL write setSIDL;
  1393. property w : TBits_32 read getw write setw;
  1394. end;
  1395. type
  1396. TOCMP4Registers = record
  1397. OC4CONbits : TOCMP4_OC4CON;
  1398. OC4CON : longWord;
  1399. OC4CONCLR : longWord;
  1400. OC4CONSET : longWord;
  1401. OC4CONINV : longWord;
  1402. OC4R : longWord;
  1403. OC4RCLR : longWord;
  1404. OC4RSET : longWord;
  1405. OC4RINV : longWord;
  1406. OC4RS : longWord;
  1407. OC4RSCLR : longWord;
  1408. OC4RSSET : longWord;
  1409. OC4RSINV : longWord;
  1410. end;
  1411. TOCMP5_OC5CON = record
  1412. private
  1413. function getOC32 : TBits_1; inline;
  1414. function getOCFLT : TBits_1; inline;
  1415. function getOCM : TBits_3; inline;
  1416. function getOCM0 : TBits_1; inline;
  1417. function getOCM1 : TBits_1; inline;
  1418. function getOCM2 : TBits_1; inline;
  1419. function getOCSIDL : TBits_1; inline;
  1420. function getOCTSEL : TBits_1; inline;
  1421. function getON : TBits_1; inline;
  1422. function getSIDL : TBits_1; inline;
  1423. function getw : TBits_32; inline;
  1424. procedure setOC32(thebits : TBits_1); inline;
  1425. procedure setOCFLT(thebits : TBits_1); inline;
  1426. procedure setOCM(thebits : TBits_3); inline;
  1427. procedure setOCM0(thebits : TBits_1); inline;
  1428. procedure setOCM1(thebits : TBits_1); inline;
  1429. procedure setOCM2(thebits : TBits_1); inline;
  1430. procedure setOCSIDL(thebits : TBits_1); inline;
  1431. procedure setOCTSEL(thebits : TBits_1); inline;
  1432. procedure setON(thebits : TBits_1); inline;
  1433. procedure setSIDL(thebits : TBits_1); inline;
  1434. procedure setw(thebits : TBits_32); inline;
  1435. public
  1436. procedure clearOC32; inline;
  1437. procedure clearOCFLT; inline;
  1438. procedure clearOCM0; inline;
  1439. procedure clearOCM1; inline;
  1440. procedure clearOCM2; inline;
  1441. procedure clearOCSIDL; inline;
  1442. procedure clearOCTSEL; inline;
  1443. procedure clearON; inline;
  1444. procedure clearSIDL; inline;
  1445. procedure setOC32; inline;
  1446. procedure setOCFLT; inline;
  1447. procedure setOCM0; inline;
  1448. procedure setOCM1; inline;
  1449. procedure setOCM2; inline;
  1450. procedure setOCSIDL; inline;
  1451. procedure setOCTSEL; inline;
  1452. procedure setON; inline;
  1453. procedure setSIDL; inline;
  1454. property OC32 : TBits_1 read getOC32 write setOC32;
  1455. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1456. property OCM : TBits_3 read getOCM write setOCM;
  1457. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1458. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1459. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1460. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1461. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1462. property ON : TBits_1 read getON write setON;
  1463. property SIDL : TBits_1 read getSIDL write setSIDL;
  1464. property w : TBits_32 read getw write setw;
  1465. end;
  1466. type
  1467. TOCMP5Registers = record
  1468. OC5CONbits : TOCMP5_OC5CON;
  1469. OC5CON : longWord;
  1470. OC5CONCLR : longWord;
  1471. OC5CONSET : longWord;
  1472. OC5CONINV : longWord;
  1473. OC5R : longWord;
  1474. OC5RCLR : longWord;
  1475. OC5RSET : longWord;
  1476. OC5RINV : longWord;
  1477. OC5RS : longWord;
  1478. OC5RSCLR : longWord;
  1479. OC5RSSET : longWord;
  1480. OC5RSINV : longWord;
  1481. end;
  1482. TI2C3_I2C1ACON = record
  1483. private
  1484. function getA10M : TBits_1; inline;
  1485. function getACKDT : TBits_1; inline;
  1486. function getACKEN : TBits_1; inline;
  1487. function getDISSLW : TBits_1; inline;
  1488. function getGCEN : TBits_1; inline;
  1489. function getI2CEN : TBits_1; inline;
  1490. function getI2CSIDL : TBits_1; inline;
  1491. function getIPMIEN : TBits_1; inline;
  1492. function getON : TBits_1; inline;
  1493. function getPEN : TBits_1; inline;
  1494. function getRCEN : TBits_1; inline;
  1495. function getRSEN : TBits_1; inline;
  1496. function getSCLREL : TBits_1; inline;
  1497. function getSEN : TBits_1; inline;
  1498. function getSIDL : TBits_1; inline;
  1499. function getSMEN : TBits_1; inline;
  1500. function getSTREN : TBits_1; inline;
  1501. function getSTRICT : TBits_1; inline;
  1502. function getw : TBits_32; inline;
  1503. procedure setA10M(thebits : TBits_1); inline;
  1504. procedure setACKDT(thebits : TBits_1); inline;
  1505. procedure setACKEN(thebits : TBits_1); inline;
  1506. procedure setDISSLW(thebits : TBits_1); inline;
  1507. procedure setGCEN(thebits : TBits_1); inline;
  1508. procedure setI2CEN(thebits : TBits_1); inline;
  1509. procedure setI2CSIDL(thebits : TBits_1); inline;
  1510. procedure setIPMIEN(thebits : TBits_1); inline;
  1511. procedure setON(thebits : TBits_1); inline;
  1512. procedure setPEN(thebits : TBits_1); inline;
  1513. procedure setRCEN(thebits : TBits_1); inline;
  1514. procedure setRSEN(thebits : TBits_1); inline;
  1515. procedure setSCLREL(thebits : TBits_1); inline;
  1516. procedure setSEN(thebits : TBits_1); inline;
  1517. procedure setSIDL(thebits : TBits_1); inline;
  1518. procedure setSMEN(thebits : TBits_1); inline;
  1519. procedure setSTREN(thebits : TBits_1); inline;
  1520. procedure setSTRICT(thebits : TBits_1); inline;
  1521. procedure setw(thebits : TBits_32); inline;
  1522. public
  1523. procedure clearA10M; inline;
  1524. procedure clearACKDT; inline;
  1525. procedure clearACKEN; inline;
  1526. procedure clearDISSLW; inline;
  1527. procedure clearGCEN; inline;
  1528. procedure clearI2CEN; inline;
  1529. procedure clearI2CSIDL; inline;
  1530. procedure clearIPMIEN; inline;
  1531. procedure clearON; inline;
  1532. procedure clearPEN; inline;
  1533. procedure clearRCEN; inline;
  1534. procedure clearRSEN; inline;
  1535. procedure clearSCLREL; inline;
  1536. procedure clearSEN; inline;
  1537. procedure clearSIDL; inline;
  1538. procedure clearSMEN; inline;
  1539. procedure clearSTREN; inline;
  1540. procedure clearSTRICT; inline;
  1541. procedure setA10M; inline;
  1542. procedure setACKDT; inline;
  1543. procedure setACKEN; inline;
  1544. procedure setDISSLW; inline;
  1545. procedure setGCEN; inline;
  1546. procedure setI2CEN; inline;
  1547. procedure setI2CSIDL; inline;
  1548. procedure setIPMIEN; inline;
  1549. procedure setON; inline;
  1550. procedure setPEN; inline;
  1551. procedure setRCEN; inline;
  1552. procedure setRSEN; inline;
  1553. procedure setSCLREL; inline;
  1554. procedure setSEN; inline;
  1555. procedure setSIDL; inline;
  1556. procedure setSMEN; inline;
  1557. procedure setSTREN; inline;
  1558. procedure setSTRICT; inline;
  1559. property A10M : TBits_1 read getA10M write setA10M;
  1560. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1561. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1562. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1563. property GCEN : TBits_1 read getGCEN write setGCEN;
  1564. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1565. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1566. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1567. property ON : TBits_1 read getON write setON;
  1568. property PEN : TBits_1 read getPEN write setPEN;
  1569. property RCEN : TBits_1 read getRCEN write setRCEN;
  1570. property RSEN : TBits_1 read getRSEN write setRSEN;
  1571. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1572. property SEN : TBits_1 read getSEN write setSEN;
  1573. property SIDL : TBits_1 read getSIDL write setSIDL;
  1574. property SMEN : TBits_1 read getSMEN write setSMEN;
  1575. property STREN : TBits_1 read getSTREN write setSTREN;
  1576. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1577. property w : TBits_32 read getw write setw;
  1578. end;
  1579. TI2C3_I2C3CON = record
  1580. private
  1581. function getA10M : TBits_1; inline;
  1582. function getACKDT : TBits_1; inline;
  1583. function getACKEN : TBits_1; inline;
  1584. function getDISSLW : TBits_1; inline;
  1585. function getGCEN : TBits_1; inline;
  1586. function getI2CEN : TBits_1; inline;
  1587. function getI2CSIDL : TBits_1; inline;
  1588. function getIPMIEN : TBits_1; inline;
  1589. function getON : TBits_1; inline;
  1590. function getPEN : TBits_1; inline;
  1591. function getRCEN : TBits_1; inline;
  1592. function getRSEN : TBits_1; inline;
  1593. function getSCLREL : TBits_1; inline;
  1594. function getSEN : TBits_1; inline;
  1595. function getSIDL : TBits_1; inline;
  1596. function getSMEN : TBits_1; inline;
  1597. function getSTREN : TBits_1; inline;
  1598. function getSTRICT : TBits_1; inline;
  1599. function getw : TBits_32; inline;
  1600. procedure setA10M(thebits : TBits_1); inline;
  1601. procedure setACKDT(thebits : TBits_1); inline;
  1602. procedure setACKEN(thebits : TBits_1); inline;
  1603. procedure setDISSLW(thebits : TBits_1); inline;
  1604. procedure setGCEN(thebits : TBits_1); inline;
  1605. procedure setI2CEN(thebits : TBits_1); inline;
  1606. procedure setI2CSIDL(thebits : TBits_1); inline;
  1607. procedure setIPMIEN(thebits : TBits_1); inline;
  1608. procedure setON(thebits : TBits_1); inline;
  1609. procedure setPEN(thebits : TBits_1); inline;
  1610. procedure setRCEN(thebits : TBits_1); inline;
  1611. procedure setRSEN(thebits : TBits_1); inline;
  1612. procedure setSCLREL(thebits : TBits_1); inline;
  1613. procedure setSEN(thebits : TBits_1); inline;
  1614. procedure setSIDL(thebits : TBits_1); inline;
  1615. procedure setSMEN(thebits : TBits_1); inline;
  1616. procedure setSTREN(thebits : TBits_1); inline;
  1617. procedure setSTRICT(thebits : TBits_1); inline;
  1618. procedure setw(thebits : TBits_32); inline;
  1619. public
  1620. procedure clearA10M; inline;
  1621. procedure clearACKDT; inline;
  1622. procedure clearACKEN; inline;
  1623. procedure clearDISSLW; inline;
  1624. procedure clearGCEN; inline;
  1625. procedure clearI2CEN; inline;
  1626. procedure clearI2CSIDL; inline;
  1627. procedure clearIPMIEN; inline;
  1628. procedure clearON; inline;
  1629. procedure clearPEN; inline;
  1630. procedure clearRCEN; inline;
  1631. procedure clearRSEN; inline;
  1632. procedure clearSCLREL; inline;
  1633. procedure clearSEN; inline;
  1634. procedure clearSIDL; inline;
  1635. procedure clearSMEN; inline;
  1636. procedure clearSTREN; inline;
  1637. procedure clearSTRICT; inline;
  1638. procedure setA10M; inline;
  1639. procedure setACKDT; inline;
  1640. procedure setACKEN; inline;
  1641. procedure setDISSLW; inline;
  1642. procedure setGCEN; inline;
  1643. procedure setI2CEN; inline;
  1644. procedure setI2CSIDL; inline;
  1645. procedure setIPMIEN; inline;
  1646. procedure setON; inline;
  1647. procedure setPEN; inline;
  1648. procedure setRCEN; inline;
  1649. procedure setRSEN; inline;
  1650. procedure setSCLREL; inline;
  1651. procedure setSEN; inline;
  1652. procedure setSIDL; inline;
  1653. procedure setSMEN; inline;
  1654. procedure setSTREN; inline;
  1655. procedure setSTRICT; inline;
  1656. property A10M : TBits_1 read getA10M write setA10M;
  1657. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1658. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1659. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1660. property GCEN : TBits_1 read getGCEN write setGCEN;
  1661. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1662. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1663. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1664. property ON : TBits_1 read getON write setON;
  1665. property PEN : TBits_1 read getPEN write setPEN;
  1666. property RCEN : TBits_1 read getRCEN write setRCEN;
  1667. property RSEN : TBits_1 read getRSEN write setRSEN;
  1668. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1669. property SEN : TBits_1 read getSEN write setSEN;
  1670. property SIDL : TBits_1 read getSIDL write setSIDL;
  1671. property SMEN : TBits_1 read getSMEN write setSMEN;
  1672. property STREN : TBits_1 read getSTREN write setSTREN;
  1673. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1674. property w : TBits_32 read getw write setw;
  1675. end;
  1676. TI2C3_I2C1ASTAT = record
  1677. private
  1678. function getACKSTAT : TBits_1; inline;
  1679. function getADD10 : TBits_1; inline;
  1680. function getBCL : TBits_1; inline;
  1681. function getD_A : TBits_1; inline;
  1682. function getGCSTAT : TBits_1; inline;
  1683. function getI2COV : TBits_1; inline;
  1684. function getI2CPOV : TBits_1; inline;
  1685. function getIWCOL : TBits_1; inline;
  1686. function getP : TBits_1; inline;
  1687. function getRBF : TBits_1; inline;
  1688. function getR_W : TBits_1; inline;
  1689. function getS : TBits_1; inline;
  1690. function getTBF : TBits_1; inline;
  1691. function getTRSTAT : TBits_1; inline;
  1692. function getw : TBits_32; inline;
  1693. procedure setACKSTAT(thebits : TBits_1); inline;
  1694. procedure setADD10(thebits : TBits_1); inline;
  1695. procedure setBCL(thebits : TBits_1); inline;
  1696. procedure setD_A(thebits : TBits_1); inline;
  1697. procedure setGCSTAT(thebits : TBits_1); inline;
  1698. procedure setI2COV(thebits : TBits_1); inline;
  1699. procedure setI2CPOV(thebits : TBits_1); inline;
  1700. procedure setIWCOL(thebits : TBits_1); inline;
  1701. procedure setP(thebits : TBits_1); inline;
  1702. procedure setRBF(thebits : TBits_1); inline;
  1703. procedure setR_W(thebits : TBits_1); inline;
  1704. procedure setS(thebits : TBits_1); inline;
  1705. procedure setTBF(thebits : TBits_1); inline;
  1706. procedure setTRSTAT(thebits : TBits_1); inline;
  1707. procedure setw(thebits : TBits_32); inline;
  1708. public
  1709. procedure clearACKSTAT; inline;
  1710. procedure clearADD10; inline;
  1711. procedure clearBCL; inline;
  1712. procedure clearD_A; inline;
  1713. procedure clearGCSTAT; inline;
  1714. procedure clearI2COV; inline;
  1715. procedure clearI2CPOV; inline;
  1716. procedure clearIWCOL; inline;
  1717. procedure clearP; inline;
  1718. procedure clearRBF; inline;
  1719. procedure clearR_W; inline;
  1720. procedure clearS; inline;
  1721. procedure clearTBF; inline;
  1722. procedure clearTRSTAT; inline;
  1723. procedure setACKSTAT; inline;
  1724. procedure setADD10; inline;
  1725. procedure setBCL; inline;
  1726. procedure setD_A; inline;
  1727. procedure setGCSTAT; inline;
  1728. procedure setI2COV; inline;
  1729. procedure setI2CPOV; inline;
  1730. procedure setIWCOL; inline;
  1731. procedure setP; inline;
  1732. procedure setRBF; inline;
  1733. procedure setR_W; inline;
  1734. procedure setS; inline;
  1735. procedure setTBF; inline;
  1736. procedure setTRSTAT; inline;
  1737. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1738. property ADD10 : TBits_1 read getADD10 write setADD10;
  1739. property BCL : TBits_1 read getBCL write setBCL;
  1740. property D_A : TBits_1 read getD_A write setD_A;
  1741. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1742. property I2COV : TBits_1 read getI2COV write setI2COV;
  1743. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1744. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1745. property P : TBits_1 read getP write setP;
  1746. property RBF : TBits_1 read getRBF write setRBF;
  1747. property R_W : TBits_1 read getR_W write setR_W;
  1748. property S : TBits_1 read getS write setS;
  1749. property TBF : TBits_1 read getTBF write setTBF;
  1750. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1751. property w : TBits_32 read getw write setw;
  1752. end;
  1753. TI2C3_I2C3STAT = record
  1754. private
  1755. function getACKSTAT : TBits_1; inline;
  1756. function getADD10 : TBits_1; inline;
  1757. function getBCL : TBits_1; inline;
  1758. function getD_A : TBits_1; inline;
  1759. function getGCSTAT : TBits_1; inline;
  1760. function getI2COV : TBits_1; inline;
  1761. function getI2CPOV : TBits_1; inline;
  1762. function getIWCOL : TBits_1; inline;
  1763. function getP : TBits_1; inline;
  1764. function getRBF : TBits_1; inline;
  1765. function getR_W : TBits_1; inline;
  1766. function getS : TBits_1; inline;
  1767. function getTBF : TBits_1; inline;
  1768. function getTRSTAT : TBits_1; inline;
  1769. function getw : TBits_32; inline;
  1770. procedure setACKSTAT(thebits : TBits_1); inline;
  1771. procedure setADD10(thebits : TBits_1); inline;
  1772. procedure setBCL(thebits : TBits_1); inline;
  1773. procedure setD_A(thebits : TBits_1); inline;
  1774. procedure setGCSTAT(thebits : TBits_1); inline;
  1775. procedure setI2COV(thebits : TBits_1); inline;
  1776. procedure setI2CPOV(thebits : TBits_1); inline;
  1777. procedure setIWCOL(thebits : TBits_1); inline;
  1778. procedure setP(thebits : TBits_1); inline;
  1779. procedure setRBF(thebits : TBits_1); inline;
  1780. procedure setR_W(thebits : TBits_1); inline;
  1781. procedure setS(thebits : TBits_1); inline;
  1782. procedure setTBF(thebits : TBits_1); inline;
  1783. procedure setTRSTAT(thebits : TBits_1); inline;
  1784. procedure setw(thebits : TBits_32); inline;
  1785. public
  1786. procedure clearACKSTAT; inline;
  1787. procedure clearADD10; inline;
  1788. procedure clearBCL; inline;
  1789. procedure clearD_A; inline;
  1790. procedure clearGCSTAT; inline;
  1791. procedure clearI2COV; inline;
  1792. procedure clearI2CPOV; inline;
  1793. procedure clearIWCOL; inline;
  1794. procedure clearP; inline;
  1795. procedure clearRBF; inline;
  1796. procedure clearR_W; inline;
  1797. procedure clearS; inline;
  1798. procedure clearTBF; inline;
  1799. procedure clearTRSTAT; inline;
  1800. procedure setACKSTAT; inline;
  1801. procedure setADD10; inline;
  1802. procedure setBCL; inline;
  1803. procedure setD_A; inline;
  1804. procedure setGCSTAT; inline;
  1805. procedure setI2COV; inline;
  1806. procedure setI2CPOV; inline;
  1807. procedure setIWCOL; inline;
  1808. procedure setP; inline;
  1809. procedure setRBF; inline;
  1810. procedure setR_W; inline;
  1811. procedure setS; inline;
  1812. procedure setTBF; inline;
  1813. procedure setTRSTAT; inline;
  1814. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1815. property ADD10 : TBits_1 read getADD10 write setADD10;
  1816. property BCL : TBits_1 read getBCL write setBCL;
  1817. property D_A : TBits_1 read getD_A write setD_A;
  1818. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1819. property I2COV : TBits_1 read getI2COV write setI2COV;
  1820. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1821. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1822. property P : TBits_1 read getP write setP;
  1823. property RBF : TBits_1 read getRBF write setRBF;
  1824. property R_W : TBits_1 read getR_W write setR_W;
  1825. property S : TBits_1 read getS write setS;
  1826. property TBF : TBits_1 read getTBF write setTBF;
  1827. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1828. property w : TBits_32 read getw write setw;
  1829. end;
  1830. type
  1831. TI2C3Registers = record
  1832. I2C1ACONbits : TI2C3_I2C1ACON;
  1833. I2C1ACON : longWord;
  1834. I2C3CONbits : TI2C3_I2C3CON;
  1835. I2C3CON : longWord;
  1836. I2C1ACONCLR : longWord;
  1837. I2C3CONCLR : longWord;
  1838. I2C1ACONSET : longWord;
  1839. I2C3CONSET : longWord;
  1840. I2C1ACONINV : longWord;
  1841. I2C3CONINV : longWord;
  1842. I2C1ASTATbits : TI2C3_I2C1ASTAT;
  1843. I2C1ASTAT : longWord;
  1844. I2C3STATbits : TI2C3_I2C3STAT;
  1845. I2C3STAT : longWord;
  1846. I2C1ASTATCLR : longWord;
  1847. I2C3STATCLR : longWord;
  1848. I2C1ASTATSET : longWord;
  1849. I2C3STATSET : longWord;
  1850. I2C1ASTATINV : longWord;
  1851. I2C3STATINV : longWord;
  1852. I2C1AADD : longWord;
  1853. I2C3ADD : longWord;
  1854. I2C1AADDCLR : longWord;
  1855. I2C3ADDCLR : longWord;
  1856. I2C1AADDSET : longWord;
  1857. I2C3ADDSET : longWord;
  1858. I2C1AADDINV : longWord;
  1859. I2C3ADDINV : longWord;
  1860. I2C1AMSK : longWord;
  1861. I2C3MSK : longWord;
  1862. I2C1AMSKCLR : longWord;
  1863. I2C3MSKCLR : longWord;
  1864. I2C1AMSKSET : longWord;
  1865. I2C3MSKSET : longWord;
  1866. I2C1AMSKINV : longWord;
  1867. I2C3MSKINV : longWord;
  1868. I2C1ABRG : longWord;
  1869. I2C3BRG : longWord;
  1870. I2C1ABRGCLR : longWord;
  1871. I2C3BRGCLR : longWord;
  1872. I2C1ABRGSET : longWord;
  1873. I2C3BRGSET : longWord;
  1874. I2C1ABRGINV : longWord;
  1875. I2C3BRGINV : longWord;
  1876. I2C1ATRN : longWord;
  1877. I2C3TRN : longWord;
  1878. I2C1ATRNCLR : longWord;
  1879. I2C3TRNCLR : longWord;
  1880. I2C1ATRNSET : longWord;
  1881. I2C3TRNSET : longWord;
  1882. I2C1ATRNINV : longWord;
  1883. I2C3TRNINV : longWord;
  1884. I2C1ARCV : longWord;
  1885. I2C3RCV : longWord;
  1886. end;
  1887. TI2C4_I2C2ACON = record
  1888. private
  1889. function getA10M : TBits_1; inline;
  1890. function getACKDT : TBits_1; inline;
  1891. function getACKEN : TBits_1; inline;
  1892. function getDISSLW : TBits_1; inline;
  1893. function getGCEN : TBits_1; inline;
  1894. function getI2CEN : TBits_1; inline;
  1895. function getI2CSIDL : TBits_1; inline;
  1896. function getIPMIEN : TBits_1; inline;
  1897. function getON : TBits_1; inline;
  1898. function getPEN : TBits_1; inline;
  1899. function getRCEN : TBits_1; inline;
  1900. function getRSEN : TBits_1; inline;
  1901. function getSCLREL : TBits_1; inline;
  1902. function getSEN : TBits_1; inline;
  1903. function getSIDL : TBits_1; inline;
  1904. function getSMEN : TBits_1; inline;
  1905. function getSTREN : TBits_1; inline;
  1906. function getSTRICT : TBits_1; inline;
  1907. function getw : TBits_32; inline;
  1908. procedure setA10M(thebits : TBits_1); inline;
  1909. procedure setACKDT(thebits : TBits_1); inline;
  1910. procedure setACKEN(thebits : TBits_1); inline;
  1911. procedure setDISSLW(thebits : TBits_1); inline;
  1912. procedure setGCEN(thebits : TBits_1); inline;
  1913. procedure setI2CEN(thebits : TBits_1); inline;
  1914. procedure setI2CSIDL(thebits : TBits_1); inline;
  1915. procedure setIPMIEN(thebits : TBits_1); inline;
  1916. procedure setON(thebits : TBits_1); inline;
  1917. procedure setPEN(thebits : TBits_1); inline;
  1918. procedure setRCEN(thebits : TBits_1); inline;
  1919. procedure setRSEN(thebits : TBits_1); inline;
  1920. procedure setSCLREL(thebits : TBits_1); inline;
  1921. procedure setSEN(thebits : TBits_1); inline;
  1922. procedure setSIDL(thebits : TBits_1); inline;
  1923. procedure setSMEN(thebits : TBits_1); inline;
  1924. procedure setSTREN(thebits : TBits_1); inline;
  1925. procedure setSTRICT(thebits : TBits_1); inline;
  1926. procedure setw(thebits : TBits_32); inline;
  1927. public
  1928. procedure clearA10M; inline;
  1929. procedure clearACKDT; inline;
  1930. procedure clearACKEN; inline;
  1931. procedure clearDISSLW; inline;
  1932. procedure clearGCEN; inline;
  1933. procedure clearI2CEN; inline;
  1934. procedure clearI2CSIDL; inline;
  1935. procedure clearIPMIEN; inline;
  1936. procedure clearON; inline;
  1937. procedure clearPEN; inline;
  1938. procedure clearRCEN; inline;
  1939. procedure clearRSEN; inline;
  1940. procedure clearSCLREL; inline;
  1941. procedure clearSEN; inline;
  1942. procedure clearSIDL; inline;
  1943. procedure clearSMEN; inline;
  1944. procedure clearSTREN; inline;
  1945. procedure clearSTRICT; inline;
  1946. procedure setA10M; inline;
  1947. procedure setACKDT; inline;
  1948. procedure setACKEN; inline;
  1949. procedure setDISSLW; inline;
  1950. procedure setGCEN; inline;
  1951. procedure setI2CEN; inline;
  1952. procedure setI2CSIDL; inline;
  1953. procedure setIPMIEN; inline;
  1954. procedure setON; inline;
  1955. procedure setPEN; inline;
  1956. procedure setRCEN; inline;
  1957. procedure setRSEN; inline;
  1958. procedure setSCLREL; inline;
  1959. procedure setSEN; inline;
  1960. procedure setSIDL; inline;
  1961. procedure setSMEN; inline;
  1962. procedure setSTREN; inline;
  1963. procedure setSTRICT; inline;
  1964. property A10M : TBits_1 read getA10M write setA10M;
  1965. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1966. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1967. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1968. property GCEN : TBits_1 read getGCEN write setGCEN;
  1969. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1970. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1971. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1972. property ON : TBits_1 read getON write setON;
  1973. property PEN : TBits_1 read getPEN write setPEN;
  1974. property RCEN : TBits_1 read getRCEN write setRCEN;
  1975. property RSEN : TBits_1 read getRSEN write setRSEN;
  1976. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1977. property SEN : TBits_1 read getSEN write setSEN;
  1978. property SIDL : TBits_1 read getSIDL write setSIDL;
  1979. property SMEN : TBits_1 read getSMEN write setSMEN;
  1980. property STREN : TBits_1 read getSTREN write setSTREN;
  1981. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1982. property w : TBits_32 read getw write setw;
  1983. end;
  1984. TI2C4_I2C4CON = record
  1985. private
  1986. function getA10M : TBits_1; inline;
  1987. function getACKDT : TBits_1; inline;
  1988. function getACKEN : TBits_1; inline;
  1989. function getDISSLW : TBits_1; inline;
  1990. function getGCEN : TBits_1; inline;
  1991. function getI2CEN : TBits_1; inline;
  1992. function getI2CSIDL : TBits_1; inline;
  1993. function getIPMIEN : TBits_1; inline;
  1994. function getON : TBits_1; inline;
  1995. function getPEN : TBits_1; inline;
  1996. function getRCEN : TBits_1; inline;
  1997. function getRSEN : TBits_1; inline;
  1998. function getSCLREL : TBits_1; inline;
  1999. function getSEN : TBits_1; inline;
  2000. function getSIDL : TBits_1; inline;
  2001. function getSMEN : TBits_1; inline;
  2002. function getSTREN : TBits_1; inline;
  2003. function getSTRICT : TBits_1; inline;
  2004. function getw : TBits_32; inline;
  2005. procedure setA10M(thebits : TBits_1); inline;
  2006. procedure setACKDT(thebits : TBits_1); inline;
  2007. procedure setACKEN(thebits : TBits_1); inline;
  2008. procedure setDISSLW(thebits : TBits_1); inline;
  2009. procedure setGCEN(thebits : TBits_1); inline;
  2010. procedure setI2CEN(thebits : TBits_1); inline;
  2011. procedure setI2CSIDL(thebits : TBits_1); inline;
  2012. procedure setIPMIEN(thebits : TBits_1); inline;
  2013. procedure setON(thebits : TBits_1); inline;
  2014. procedure setPEN(thebits : TBits_1); inline;
  2015. procedure setRCEN(thebits : TBits_1); inline;
  2016. procedure setRSEN(thebits : TBits_1); inline;
  2017. procedure setSCLREL(thebits : TBits_1); inline;
  2018. procedure setSEN(thebits : TBits_1); inline;
  2019. procedure setSIDL(thebits : TBits_1); inline;
  2020. procedure setSMEN(thebits : TBits_1); inline;
  2021. procedure setSTREN(thebits : TBits_1); inline;
  2022. procedure setSTRICT(thebits : TBits_1); inline;
  2023. procedure setw(thebits : TBits_32); inline;
  2024. public
  2025. procedure clearA10M; inline;
  2026. procedure clearACKDT; inline;
  2027. procedure clearACKEN; inline;
  2028. procedure clearDISSLW; inline;
  2029. procedure clearGCEN; inline;
  2030. procedure clearI2CEN; inline;
  2031. procedure clearI2CSIDL; inline;
  2032. procedure clearIPMIEN; inline;
  2033. procedure clearON; inline;
  2034. procedure clearPEN; inline;
  2035. procedure clearRCEN; inline;
  2036. procedure clearRSEN; inline;
  2037. procedure clearSCLREL; inline;
  2038. procedure clearSEN; inline;
  2039. procedure clearSIDL; inline;
  2040. procedure clearSMEN; inline;
  2041. procedure clearSTREN; inline;
  2042. procedure clearSTRICT; inline;
  2043. procedure setA10M; inline;
  2044. procedure setACKDT; inline;
  2045. procedure setACKEN; inline;
  2046. procedure setDISSLW; inline;
  2047. procedure setGCEN; inline;
  2048. procedure setI2CEN; inline;
  2049. procedure setI2CSIDL; inline;
  2050. procedure setIPMIEN; inline;
  2051. procedure setON; inline;
  2052. procedure setPEN; inline;
  2053. procedure setRCEN; inline;
  2054. procedure setRSEN; inline;
  2055. procedure setSCLREL; inline;
  2056. procedure setSEN; inline;
  2057. procedure setSIDL; inline;
  2058. procedure setSMEN; inline;
  2059. procedure setSTREN; inline;
  2060. procedure setSTRICT; inline;
  2061. property A10M : TBits_1 read getA10M write setA10M;
  2062. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2063. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2064. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2065. property GCEN : TBits_1 read getGCEN write setGCEN;
  2066. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2067. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2068. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2069. property ON : TBits_1 read getON write setON;
  2070. property PEN : TBits_1 read getPEN write setPEN;
  2071. property RCEN : TBits_1 read getRCEN write setRCEN;
  2072. property RSEN : TBits_1 read getRSEN write setRSEN;
  2073. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2074. property SEN : TBits_1 read getSEN write setSEN;
  2075. property SIDL : TBits_1 read getSIDL write setSIDL;
  2076. property SMEN : TBits_1 read getSMEN write setSMEN;
  2077. property STREN : TBits_1 read getSTREN write setSTREN;
  2078. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2079. property w : TBits_32 read getw write setw;
  2080. end;
  2081. TI2C4_I2C2ASTAT = record
  2082. private
  2083. function getACKSTAT : TBits_1; inline;
  2084. function getADD10 : TBits_1; inline;
  2085. function getBCL : TBits_1; inline;
  2086. function getD_A : TBits_1; inline;
  2087. function getGCSTAT : TBits_1; inline;
  2088. function getI2COV : TBits_1; inline;
  2089. function getI2CPOV : TBits_1; inline;
  2090. function getIWCOL : TBits_1; inline;
  2091. function getP : TBits_1; inline;
  2092. function getRBF : TBits_1; inline;
  2093. function getR_W : TBits_1; inline;
  2094. function getS : TBits_1; inline;
  2095. function getTBF : TBits_1; inline;
  2096. function getTRSTAT : TBits_1; inline;
  2097. function getw : TBits_32; inline;
  2098. procedure setACKSTAT(thebits : TBits_1); inline;
  2099. procedure setADD10(thebits : TBits_1); inline;
  2100. procedure setBCL(thebits : TBits_1); inline;
  2101. procedure setD_A(thebits : TBits_1); inline;
  2102. procedure setGCSTAT(thebits : TBits_1); inline;
  2103. procedure setI2COV(thebits : TBits_1); inline;
  2104. procedure setI2CPOV(thebits : TBits_1); inline;
  2105. procedure setIWCOL(thebits : TBits_1); inline;
  2106. procedure setP(thebits : TBits_1); inline;
  2107. procedure setRBF(thebits : TBits_1); inline;
  2108. procedure setR_W(thebits : TBits_1); inline;
  2109. procedure setS(thebits : TBits_1); inline;
  2110. procedure setTBF(thebits : TBits_1); inline;
  2111. procedure setTRSTAT(thebits : TBits_1); inline;
  2112. procedure setw(thebits : TBits_32); inline;
  2113. public
  2114. procedure clearACKSTAT; inline;
  2115. procedure clearADD10; inline;
  2116. procedure clearBCL; inline;
  2117. procedure clearD_A; inline;
  2118. procedure clearGCSTAT; inline;
  2119. procedure clearI2COV; inline;
  2120. procedure clearI2CPOV; inline;
  2121. procedure clearIWCOL; inline;
  2122. procedure clearP; inline;
  2123. procedure clearRBF; inline;
  2124. procedure clearR_W; inline;
  2125. procedure clearS; inline;
  2126. procedure clearTBF; inline;
  2127. procedure clearTRSTAT; inline;
  2128. procedure setACKSTAT; inline;
  2129. procedure setADD10; inline;
  2130. procedure setBCL; inline;
  2131. procedure setD_A; inline;
  2132. procedure setGCSTAT; inline;
  2133. procedure setI2COV; inline;
  2134. procedure setI2CPOV; inline;
  2135. procedure setIWCOL; inline;
  2136. procedure setP; inline;
  2137. procedure setRBF; inline;
  2138. procedure setR_W; inline;
  2139. procedure setS; inline;
  2140. procedure setTBF; inline;
  2141. procedure setTRSTAT; inline;
  2142. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2143. property ADD10 : TBits_1 read getADD10 write setADD10;
  2144. property BCL : TBits_1 read getBCL write setBCL;
  2145. property D_A : TBits_1 read getD_A write setD_A;
  2146. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2147. property I2COV : TBits_1 read getI2COV write setI2COV;
  2148. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2149. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2150. property P : TBits_1 read getP write setP;
  2151. property RBF : TBits_1 read getRBF write setRBF;
  2152. property R_W : TBits_1 read getR_W write setR_W;
  2153. property S : TBits_1 read getS write setS;
  2154. property TBF : TBits_1 read getTBF write setTBF;
  2155. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2156. property w : TBits_32 read getw write setw;
  2157. end;
  2158. TI2C4_I2C4STAT = record
  2159. private
  2160. function getACKSTAT : TBits_1; inline;
  2161. function getADD10 : TBits_1; inline;
  2162. function getBCL : TBits_1; inline;
  2163. function getD_A : TBits_1; inline;
  2164. function getGCSTAT : TBits_1; inline;
  2165. function getI2COV : TBits_1; inline;
  2166. function getI2CPOV : TBits_1; inline;
  2167. function getIWCOL : TBits_1; inline;
  2168. function getP : TBits_1; inline;
  2169. function getRBF : TBits_1; inline;
  2170. function getR_W : TBits_1; inline;
  2171. function getS : TBits_1; inline;
  2172. function getTBF : TBits_1; inline;
  2173. function getTRSTAT : TBits_1; inline;
  2174. function getw : TBits_32; inline;
  2175. procedure setACKSTAT(thebits : TBits_1); inline;
  2176. procedure setADD10(thebits : TBits_1); inline;
  2177. procedure setBCL(thebits : TBits_1); inline;
  2178. procedure setD_A(thebits : TBits_1); inline;
  2179. procedure setGCSTAT(thebits : TBits_1); inline;
  2180. procedure setI2COV(thebits : TBits_1); inline;
  2181. procedure setI2CPOV(thebits : TBits_1); inline;
  2182. procedure setIWCOL(thebits : TBits_1); inline;
  2183. procedure setP(thebits : TBits_1); inline;
  2184. procedure setRBF(thebits : TBits_1); inline;
  2185. procedure setR_W(thebits : TBits_1); inline;
  2186. procedure setS(thebits : TBits_1); inline;
  2187. procedure setTBF(thebits : TBits_1); inline;
  2188. procedure setTRSTAT(thebits : TBits_1); inline;
  2189. procedure setw(thebits : TBits_32); inline;
  2190. public
  2191. procedure clearACKSTAT; inline;
  2192. procedure clearADD10; inline;
  2193. procedure clearBCL; inline;
  2194. procedure clearD_A; inline;
  2195. procedure clearGCSTAT; inline;
  2196. procedure clearI2COV; inline;
  2197. procedure clearI2CPOV; inline;
  2198. procedure clearIWCOL; inline;
  2199. procedure clearP; inline;
  2200. procedure clearRBF; inline;
  2201. procedure clearR_W; inline;
  2202. procedure clearS; inline;
  2203. procedure clearTBF; inline;
  2204. procedure clearTRSTAT; inline;
  2205. procedure setACKSTAT; inline;
  2206. procedure setADD10; inline;
  2207. procedure setBCL; inline;
  2208. procedure setD_A; inline;
  2209. procedure setGCSTAT; inline;
  2210. procedure setI2COV; inline;
  2211. procedure setI2CPOV; inline;
  2212. procedure setIWCOL; inline;
  2213. procedure setP; inline;
  2214. procedure setRBF; inline;
  2215. procedure setR_W; inline;
  2216. procedure setS; inline;
  2217. procedure setTBF; inline;
  2218. procedure setTRSTAT; inline;
  2219. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2220. property ADD10 : TBits_1 read getADD10 write setADD10;
  2221. property BCL : TBits_1 read getBCL write setBCL;
  2222. property D_A : TBits_1 read getD_A write setD_A;
  2223. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2224. property I2COV : TBits_1 read getI2COV write setI2COV;
  2225. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2226. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2227. property P : TBits_1 read getP write setP;
  2228. property RBF : TBits_1 read getRBF write setRBF;
  2229. property R_W : TBits_1 read getR_W write setR_W;
  2230. property S : TBits_1 read getS write setS;
  2231. property TBF : TBits_1 read getTBF write setTBF;
  2232. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2233. property w : TBits_32 read getw write setw;
  2234. end;
  2235. type
  2236. TI2C4Registers = record
  2237. I2C2ACONbits : TI2C4_I2C2ACON;
  2238. I2C2ACON : longWord;
  2239. I2C4CONbits : TI2C4_I2C4CON;
  2240. I2C4CON : longWord;
  2241. I2C2ACONCLR : longWord;
  2242. I2C4CONCLR : longWord;
  2243. I2C2ACONSET : longWord;
  2244. I2C4CONSET : longWord;
  2245. I2C2ACONINV : longWord;
  2246. I2C4CONINV : longWord;
  2247. I2C2ASTATbits : TI2C4_I2C2ASTAT;
  2248. I2C2ASTAT : longWord;
  2249. I2C4STATbits : TI2C4_I2C4STAT;
  2250. I2C4STAT : longWord;
  2251. I2C2ASTATCLR : longWord;
  2252. I2C4STATCLR : longWord;
  2253. I2C2ASTATSET : longWord;
  2254. I2C4STATSET : longWord;
  2255. I2C2ASTATINV : longWord;
  2256. I2C4STATINV : longWord;
  2257. I2C2AADD : longWord;
  2258. I2C4ADD : longWord;
  2259. I2C2AADDCLR : longWord;
  2260. I2C4ADDCLR : longWord;
  2261. I2C2AADDSET : longWord;
  2262. I2C4ADDSET : longWord;
  2263. I2C2AADDINV : longWord;
  2264. I2C4ADDINV : longWord;
  2265. I2C2AMSK : longWord;
  2266. I2C4MSK : longWord;
  2267. I2C2AMSKCLR : longWord;
  2268. I2C4MSKCLR : longWord;
  2269. I2C2AMSKSET : longWord;
  2270. I2C4MSKSET : longWord;
  2271. I2C2AMSKINV : longWord;
  2272. I2C4MSKINV : longWord;
  2273. I2C2ABRG : longWord;
  2274. I2C4BRG : longWord;
  2275. I2C2ABRGCLR : longWord;
  2276. I2C4BRGCLR : longWord;
  2277. I2C2ABRGSET : longWord;
  2278. I2C4BRGSET : longWord;
  2279. I2C2ABRGINV : longWord;
  2280. I2C4BRGINV : longWord;
  2281. I2C2ATRN : longWord;
  2282. I2C4TRN : longWord;
  2283. I2C2ATRNCLR : longWord;
  2284. I2C4TRNCLR : longWord;
  2285. I2C2ATRNSET : longWord;
  2286. I2C4TRNSET : longWord;
  2287. I2C2ATRNINV : longWord;
  2288. I2C4TRNINV : longWord;
  2289. I2C2ARCV : longWord;
  2290. I2C4RCV : longWord;
  2291. end;
  2292. TI2C5_I2C3ACON = record
  2293. private
  2294. function getA10M : TBits_1; inline;
  2295. function getACKDT : TBits_1; inline;
  2296. function getACKEN : TBits_1; inline;
  2297. function getDISSLW : TBits_1; inline;
  2298. function getGCEN : TBits_1; inline;
  2299. function getI2CEN : TBits_1; inline;
  2300. function getI2CSIDL : TBits_1; inline;
  2301. function getIPMIEN : TBits_1; inline;
  2302. function getON : TBits_1; inline;
  2303. function getPEN : TBits_1; inline;
  2304. function getRCEN : TBits_1; inline;
  2305. function getRSEN : TBits_1; inline;
  2306. function getSCLREL : TBits_1; inline;
  2307. function getSEN : TBits_1; inline;
  2308. function getSIDL : TBits_1; inline;
  2309. function getSMEN : TBits_1; inline;
  2310. function getSTREN : TBits_1; inline;
  2311. function getSTRICT : TBits_1; inline;
  2312. function getw : TBits_32; inline;
  2313. procedure setA10M(thebits : TBits_1); inline;
  2314. procedure setACKDT(thebits : TBits_1); inline;
  2315. procedure setACKEN(thebits : TBits_1); inline;
  2316. procedure setDISSLW(thebits : TBits_1); inline;
  2317. procedure setGCEN(thebits : TBits_1); inline;
  2318. procedure setI2CEN(thebits : TBits_1); inline;
  2319. procedure setI2CSIDL(thebits : TBits_1); inline;
  2320. procedure setIPMIEN(thebits : TBits_1); inline;
  2321. procedure setON(thebits : TBits_1); inline;
  2322. procedure setPEN(thebits : TBits_1); inline;
  2323. procedure setRCEN(thebits : TBits_1); inline;
  2324. procedure setRSEN(thebits : TBits_1); inline;
  2325. procedure setSCLREL(thebits : TBits_1); inline;
  2326. procedure setSEN(thebits : TBits_1); inline;
  2327. procedure setSIDL(thebits : TBits_1); inline;
  2328. procedure setSMEN(thebits : TBits_1); inline;
  2329. procedure setSTREN(thebits : TBits_1); inline;
  2330. procedure setSTRICT(thebits : TBits_1); inline;
  2331. procedure setw(thebits : TBits_32); inline;
  2332. public
  2333. procedure clearA10M; inline;
  2334. procedure clearACKDT; inline;
  2335. procedure clearACKEN; inline;
  2336. procedure clearDISSLW; inline;
  2337. procedure clearGCEN; inline;
  2338. procedure clearI2CEN; inline;
  2339. procedure clearI2CSIDL; inline;
  2340. procedure clearIPMIEN; inline;
  2341. procedure clearON; inline;
  2342. procedure clearPEN; inline;
  2343. procedure clearRCEN; inline;
  2344. procedure clearRSEN; inline;
  2345. procedure clearSCLREL; inline;
  2346. procedure clearSEN; inline;
  2347. procedure clearSIDL; inline;
  2348. procedure clearSMEN; inline;
  2349. procedure clearSTREN; inline;
  2350. procedure clearSTRICT; inline;
  2351. procedure setA10M; inline;
  2352. procedure setACKDT; inline;
  2353. procedure setACKEN; inline;
  2354. procedure setDISSLW; inline;
  2355. procedure setGCEN; inline;
  2356. procedure setI2CEN; inline;
  2357. procedure setI2CSIDL; inline;
  2358. procedure setIPMIEN; inline;
  2359. procedure setON; inline;
  2360. procedure setPEN; inline;
  2361. procedure setRCEN; inline;
  2362. procedure setRSEN; inline;
  2363. procedure setSCLREL; inline;
  2364. procedure setSEN; inline;
  2365. procedure setSIDL; inline;
  2366. procedure setSMEN; inline;
  2367. procedure setSTREN; inline;
  2368. procedure setSTRICT; inline;
  2369. property A10M : TBits_1 read getA10M write setA10M;
  2370. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2371. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2372. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2373. property GCEN : TBits_1 read getGCEN write setGCEN;
  2374. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2375. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2376. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2377. property ON : TBits_1 read getON write setON;
  2378. property PEN : TBits_1 read getPEN write setPEN;
  2379. property RCEN : TBits_1 read getRCEN write setRCEN;
  2380. property RSEN : TBits_1 read getRSEN write setRSEN;
  2381. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2382. property SEN : TBits_1 read getSEN write setSEN;
  2383. property SIDL : TBits_1 read getSIDL write setSIDL;
  2384. property SMEN : TBits_1 read getSMEN write setSMEN;
  2385. property STREN : TBits_1 read getSTREN write setSTREN;
  2386. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2387. property w : TBits_32 read getw write setw;
  2388. end;
  2389. TI2C5_I2C5CON = record
  2390. private
  2391. function getA10M : TBits_1; inline;
  2392. function getACKDT : TBits_1; inline;
  2393. function getACKEN : TBits_1; inline;
  2394. function getDISSLW : TBits_1; inline;
  2395. function getGCEN : TBits_1; inline;
  2396. function getI2CEN : TBits_1; inline;
  2397. function getI2CSIDL : TBits_1; inline;
  2398. function getIPMIEN : TBits_1; inline;
  2399. function getON : TBits_1; inline;
  2400. function getPEN : TBits_1; inline;
  2401. function getRCEN : TBits_1; inline;
  2402. function getRSEN : TBits_1; inline;
  2403. function getSCLREL : TBits_1; inline;
  2404. function getSEN : TBits_1; inline;
  2405. function getSIDL : TBits_1; inline;
  2406. function getSMEN : TBits_1; inline;
  2407. function getSTREN : TBits_1; inline;
  2408. function getSTRICT : TBits_1; inline;
  2409. function getw : TBits_32; inline;
  2410. procedure setA10M(thebits : TBits_1); inline;
  2411. procedure setACKDT(thebits : TBits_1); inline;
  2412. procedure setACKEN(thebits : TBits_1); inline;
  2413. procedure setDISSLW(thebits : TBits_1); inline;
  2414. procedure setGCEN(thebits : TBits_1); inline;
  2415. procedure setI2CEN(thebits : TBits_1); inline;
  2416. procedure setI2CSIDL(thebits : TBits_1); inline;
  2417. procedure setIPMIEN(thebits : TBits_1); inline;
  2418. procedure setON(thebits : TBits_1); inline;
  2419. procedure setPEN(thebits : TBits_1); inline;
  2420. procedure setRCEN(thebits : TBits_1); inline;
  2421. procedure setRSEN(thebits : TBits_1); inline;
  2422. procedure setSCLREL(thebits : TBits_1); inline;
  2423. procedure setSEN(thebits : TBits_1); inline;
  2424. procedure setSIDL(thebits : TBits_1); inline;
  2425. procedure setSMEN(thebits : TBits_1); inline;
  2426. procedure setSTREN(thebits : TBits_1); inline;
  2427. procedure setSTRICT(thebits : TBits_1); inline;
  2428. procedure setw(thebits : TBits_32); inline;
  2429. public
  2430. procedure clearA10M; inline;
  2431. procedure clearACKDT; inline;
  2432. procedure clearACKEN; inline;
  2433. procedure clearDISSLW; inline;
  2434. procedure clearGCEN; inline;
  2435. procedure clearI2CEN; inline;
  2436. procedure clearI2CSIDL; inline;
  2437. procedure clearIPMIEN; inline;
  2438. procedure clearON; inline;
  2439. procedure clearPEN; inline;
  2440. procedure clearRCEN; inline;
  2441. procedure clearRSEN; inline;
  2442. procedure clearSCLREL; inline;
  2443. procedure clearSEN; inline;
  2444. procedure clearSIDL; inline;
  2445. procedure clearSMEN; inline;
  2446. procedure clearSTREN; inline;
  2447. procedure clearSTRICT; inline;
  2448. procedure setA10M; inline;
  2449. procedure setACKDT; inline;
  2450. procedure setACKEN; inline;
  2451. procedure setDISSLW; inline;
  2452. procedure setGCEN; inline;
  2453. procedure setI2CEN; inline;
  2454. procedure setI2CSIDL; inline;
  2455. procedure setIPMIEN; inline;
  2456. procedure setON; inline;
  2457. procedure setPEN; inline;
  2458. procedure setRCEN; inline;
  2459. procedure setRSEN; inline;
  2460. procedure setSCLREL; inline;
  2461. procedure setSEN; inline;
  2462. procedure setSIDL; inline;
  2463. procedure setSMEN; inline;
  2464. procedure setSTREN; inline;
  2465. procedure setSTRICT; inline;
  2466. property A10M : TBits_1 read getA10M write setA10M;
  2467. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2468. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2469. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2470. property GCEN : TBits_1 read getGCEN write setGCEN;
  2471. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2472. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2473. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2474. property ON : TBits_1 read getON write setON;
  2475. property PEN : TBits_1 read getPEN write setPEN;
  2476. property RCEN : TBits_1 read getRCEN write setRCEN;
  2477. property RSEN : TBits_1 read getRSEN write setRSEN;
  2478. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2479. property SEN : TBits_1 read getSEN write setSEN;
  2480. property SIDL : TBits_1 read getSIDL write setSIDL;
  2481. property SMEN : TBits_1 read getSMEN write setSMEN;
  2482. property STREN : TBits_1 read getSTREN write setSTREN;
  2483. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2484. property w : TBits_32 read getw write setw;
  2485. end;
  2486. TI2C5_I2C3ASTAT = record
  2487. private
  2488. function getACKSTAT : TBits_1; inline;
  2489. function getADD10 : TBits_1; inline;
  2490. function getBCL : TBits_1; inline;
  2491. function getD_A : TBits_1; inline;
  2492. function getGCSTAT : TBits_1; inline;
  2493. function getI2COV : TBits_1; inline;
  2494. function getI2CPOV : TBits_1; inline;
  2495. function getIWCOL : TBits_1; inline;
  2496. function getP : TBits_1; inline;
  2497. function getRBF : TBits_1; inline;
  2498. function getR_W : TBits_1; inline;
  2499. function getS : TBits_1; inline;
  2500. function getTBF : TBits_1; inline;
  2501. function getTRSTAT : TBits_1; inline;
  2502. function getw : TBits_32; inline;
  2503. procedure setACKSTAT(thebits : TBits_1); inline;
  2504. procedure setADD10(thebits : TBits_1); inline;
  2505. procedure setBCL(thebits : TBits_1); inline;
  2506. procedure setD_A(thebits : TBits_1); inline;
  2507. procedure setGCSTAT(thebits : TBits_1); inline;
  2508. procedure setI2COV(thebits : TBits_1); inline;
  2509. procedure setI2CPOV(thebits : TBits_1); inline;
  2510. procedure setIWCOL(thebits : TBits_1); inline;
  2511. procedure setP(thebits : TBits_1); inline;
  2512. procedure setRBF(thebits : TBits_1); inline;
  2513. procedure setR_W(thebits : TBits_1); inline;
  2514. procedure setS(thebits : TBits_1); inline;
  2515. procedure setTBF(thebits : TBits_1); inline;
  2516. procedure setTRSTAT(thebits : TBits_1); inline;
  2517. procedure setw(thebits : TBits_32); inline;
  2518. public
  2519. procedure clearACKSTAT; inline;
  2520. procedure clearADD10; inline;
  2521. procedure clearBCL; inline;
  2522. procedure clearD_A; inline;
  2523. procedure clearGCSTAT; inline;
  2524. procedure clearI2COV; inline;
  2525. procedure clearI2CPOV; inline;
  2526. procedure clearIWCOL; inline;
  2527. procedure clearP; inline;
  2528. procedure clearRBF; inline;
  2529. procedure clearR_W; inline;
  2530. procedure clearS; inline;
  2531. procedure clearTBF; inline;
  2532. procedure clearTRSTAT; inline;
  2533. procedure setACKSTAT; inline;
  2534. procedure setADD10; inline;
  2535. procedure setBCL; inline;
  2536. procedure setD_A; inline;
  2537. procedure setGCSTAT; inline;
  2538. procedure setI2COV; inline;
  2539. procedure setI2CPOV; inline;
  2540. procedure setIWCOL; inline;
  2541. procedure setP; inline;
  2542. procedure setRBF; inline;
  2543. procedure setR_W; inline;
  2544. procedure setS; inline;
  2545. procedure setTBF; inline;
  2546. procedure setTRSTAT; inline;
  2547. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2548. property ADD10 : TBits_1 read getADD10 write setADD10;
  2549. property BCL : TBits_1 read getBCL write setBCL;
  2550. property D_A : TBits_1 read getD_A write setD_A;
  2551. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2552. property I2COV : TBits_1 read getI2COV write setI2COV;
  2553. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2554. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2555. property P : TBits_1 read getP write setP;
  2556. property RBF : TBits_1 read getRBF write setRBF;
  2557. property R_W : TBits_1 read getR_W write setR_W;
  2558. property S : TBits_1 read getS write setS;
  2559. property TBF : TBits_1 read getTBF write setTBF;
  2560. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2561. property w : TBits_32 read getw write setw;
  2562. end;
  2563. TI2C5_I2C5STAT = record
  2564. private
  2565. function getACKSTAT : TBits_1; inline;
  2566. function getADD10 : TBits_1; inline;
  2567. function getBCL : TBits_1; inline;
  2568. function getD_A : TBits_1; inline;
  2569. function getGCSTAT : TBits_1; inline;
  2570. function getI2COV : TBits_1; inline;
  2571. function getI2CPOV : TBits_1; inline;
  2572. function getIWCOL : TBits_1; inline;
  2573. function getP : TBits_1; inline;
  2574. function getRBF : TBits_1; inline;
  2575. function getR_W : TBits_1; inline;
  2576. function getS : TBits_1; inline;
  2577. function getTBF : TBits_1; inline;
  2578. function getTRSTAT : TBits_1; inline;
  2579. function getw : TBits_32; inline;
  2580. procedure setACKSTAT(thebits : TBits_1); inline;
  2581. procedure setADD10(thebits : TBits_1); inline;
  2582. procedure setBCL(thebits : TBits_1); inline;
  2583. procedure setD_A(thebits : TBits_1); inline;
  2584. procedure setGCSTAT(thebits : TBits_1); inline;
  2585. procedure setI2COV(thebits : TBits_1); inline;
  2586. procedure setI2CPOV(thebits : TBits_1); inline;
  2587. procedure setIWCOL(thebits : TBits_1); inline;
  2588. procedure setP(thebits : TBits_1); inline;
  2589. procedure setRBF(thebits : TBits_1); inline;
  2590. procedure setR_W(thebits : TBits_1); inline;
  2591. procedure setS(thebits : TBits_1); inline;
  2592. procedure setTBF(thebits : TBits_1); inline;
  2593. procedure setTRSTAT(thebits : TBits_1); inline;
  2594. procedure setw(thebits : TBits_32); inline;
  2595. public
  2596. procedure clearACKSTAT; inline;
  2597. procedure clearADD10; inline;
  2598. procedure clearBCL; inline;
  2599. procedure clearD_A; inline;
  2600. procedure clearGCSTAT; inline;
  2601. procedure clearI2COV; inline;
  2602. procedure clearI2CPOV; inline;
  2603. procedure clearIWCOL; inline;
  2604. procedure clearP; inline;
  2605. procedure clearRBF; inline;
  2606. procedure clearR_W; inline;
  2607. procedure clearS; inline;
  2608. procedure clearTBF; inline;
  2609. procedure clearTRSTAT; inline;
  2610. procedure setACKSTAT; inline;
  2611. procedure setADD10; inline;
  2612. procedure setBCL; inline;
  2613. procedure setD_A; inline;
  2614. procedure setGCSTAT; inline;
  2615. procedure setI2COV; inline;
  2616. procedure setI2CPOV; inline;
  2617. procedure setIWCOL; inline;
  2618. procedure setP; inline;
  2619. procedure setRBF; inline;
  2620. procedure setR_W; inline;
  2621. procedure setS; inline;
  2622. procedure setTBF; inline;
  2623. procedure setTRSTAT; inline;
  2624. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2625. property ADD10 : TBits_1 read getADD10 write setADD10;
  2626. property BCL : TBits_1 read getBCL write setBCL;
  2627. property D_A : TBits_1 read getD_A write setD_A;
  2628. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2629. property I2COV : TBits_1 read getI2COV write setI2COV;
  2630. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2631. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2632. property P : TBits_1 read getP write setP;
  2633. property RBF : TBits_1 read getRBF write setRBF;
  2634. property R_W : TBits_1 read getR_W write setR_W;
  2635. property S : TBits_1 read getS write setS;
  2636. property TBF : TBits_1 read getTBF write setTBF;
  2637. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2638. property w : TBits_32 read getw write setw;
  2639. end;
  2640. type
  2641. TI2C5Registers = record
  2642. I2C3ACONbits : TI2C5_I2C3ACON;
  2643. I2C3ACON : longWord;
  2644. I2C5CONbits : TI2C5_I2C5CON;
  2645. I2C5CON : longWord;
  2646. I2C3ACONCLR : longWord;
  2647. I2C5CONCLR : longWord;
  2648. I2C3ACONSET : longWord;
  2649. I2C5CONSET : longWord;
  2650. I2C3ACONINV : longWord;
  2651. I2C5CONINV : longWord;
  2652. I2C3ASTATbits : TI2C5_I2C3ASTAT;
  2653. I2C3ASTAT : longWord;
  2654. I2C5STATbits : TI2C5_I2C5STAT;
  2655. I2C5STAT : longWord;
  2656. I2C3ASTATCLR : longWord;
  2657. I2C5STATCLR : longWord;
  2658. I2C3ASTATSET : longWord;
  2659. I2C5STATSET : longWord;
  2660. I2C3ASTATINV : longWord;
  2661. I2C5STATINV : longWord;
  2662. I2C3AADD : longWord;
  2663. I2C5ADD : longWord;
  2664. I2C3AADDCLR : longWord;
  2665. I2C5ADDCLR : longWord;
  2666. I2C3AADDSET : longWord;
  2667. I2C5ADDSET : longWord;
  2668. I2C3AADDINV : longWord;
  2669. I2C5ADDINV : longWord;
  2670. I2C3AMSK : longWord;
  2671. I2C5MSK : longWord;
  2672. I2C3AMSKCLR : longWord;
  2673. I2C5MSKCLR : longWord;
  2674. I2C3AMSKSET : longWord;
  2675. I2C5MSKSET : longWord;
  2676. I2C3AMSKINV : longWord;
  2677. I2C5MSKINV : longWord;
  2678. I2C3ABRG : longWord;
  2679. I2C5BRG : longWord;
  2680. I2C3ABRGCLR : longWord;
  2681. I2C5BRGCLR : longWord;
  2682. I2C3ABRGSET : longWord;
  2683. I2C5BRGSET : longWord;
  2684. I2C3ABRGINV : longWord;
  2685. I2C5BRGINV : longWord;
  2686. I2C3ATRN : longWord;
  2687. I2C5TRN : longWord;
  2688. I2C3ATRNCLR : longWord;
  2689. I2C5TRNCLR : longWord;
  2690. I2C3ATRNSET : longWord;
  2691. I2C5TRNSET : longWord;
  2692. I2C3ATRNINV : longWord;
  2693. I2C5TRNINV : longWord;
  2694. I2C3ARCV : longWord;
  2695. I2C5RCV : longWord;
  2696. end;
  2697. TI2C1_I2C1CON = record
  2698. private
  2699. function getA10M : TBits_1; inline;
  2700. function getACKDT : TBits_1; inline;
  2701. function getACKEN : TBits_1; inline;
  2702. function getDISSLW : TBits_1; inline;
  2703. function getGCEN : TBits_1; inline;
  2704. function getI2CEN : TBits_1; inline;
  2705. function getI2CSIDL : TBits_1; inline;
  2706. function getIPMIEN : TBits_1; inline;
  2707. function getON : TBits_1; inline;
  2708. function getPEN : TBits_1; inline;
  2709. function getRCEN : TBits_1; inline;
  2710. function getRSEN : TBits_1; inline;
  2711. function getSCLREL : TBits_1; inline;
  2712. function getSEN : TBits_1; inline;
  2713. function getSIDL : TBits_1; inline;
  2714. function getSMEN : TBits_1; inline;
  2715. function getSTREN : TBits_1; inline;
  2716. function getSTRICT : TBits_1; inline;
  2717. function getw : TBits_32; inline;
  2718. procedure setA10M(thebits : TBits_1); inline;
  2719. procedure setACKDT(thebits : TBits_1); inline;
  2720. procedure setACKEN(thebits : TBits_1); inline;
  2721. procedure setDISSLW(thebits : TBits_1); inline;
  2722. procedure setGCEN(thebits : TBits_1); inline;
  2723. procedure setI2CEN(thebits : TBits_1); inline;
  2724. procedure setI2CSIDL(thebits : TBits_1); inline;
  2725. procedure setIPMIEN(thebits : TBits_1); inline;
  2726. procedure setON(thebits : TBits_1); inline;
  2727. procedure setPEN(thebits : TBits_1); inline;
  2728. procedure setRCEN(thebits : TBits_1); inline;
  2729. procedure setRSEN(thebits : TBits_1); inline;
  2730. procedure setSCLREL(thebits : TBits_1); inline;
  2731. procedure setSEN(thebits : TBits_1); inline;
  2732. procedure setSIDL(thebits : TBits_1); inline;
  2733. procedure setSMEN(thebits : TBits_1); inline;
  2734. procedure setSTREN(thebits : TBits_1); inline;
  2735. procedure setSTRICT(thebits : TBits_1); inline;
  2736. procedure setw(thebits : TBits_32); inline;
  2737. public
  2738. procedure clearA10M; inline;
  2739. procedure clearACKDT; inline;
  2740. procedure clearACKEN; inline;
  2741. procedure clearDISSLW; inline;
  2742. procedure clearGCEN; inline;
  2743. procedure clearI2CEN; inline;
  2744. procedure clearI2CSIDL; inline;
  2745. procedure clearIPMIEN; inline;
  2746. procedure clearON; inline;
  2747. procedure clearPEN; inline;
  2748. procedure clearRCEN; inline;
  2749. procedure clearRSEN; inline;
  2750. procedure clearSCLREL; inline;
  2751. procedure clearSEN; inline;
  2752. procedure clearSIDL; inline;
  2753. procedure clearSMEN; inline;
  2754. procedure clearSTREN; inline;
  2755. procedure clearSTRICT; inline;
  2756. procedure setA10M; inline;
  2757. procedure setACKDT; inline;
  2758. procedure setACKEN; inline;
  2759. procedure setDISSLW; inline;
  2760. procedure setGCEN; inline;
  2761. procedure setI2CEN; inline;
  2762. procedure setI2CSIDL; inline;
  2763. procedure setIPMIEN; inline;
  2764. procedure setON; inline;
  2765. procedure setPEN; inline;
  2766. procedure setRCEN; inline;
  2767. procedure setRSEN; inline;
  2768. procedure setSCLREL; inline;
  2769. procedure setSEN; inline;
  2770. procedure setSIDL; inline;
  2771. procedure setSMEN; inline;
  2772. procedure setSTREN; inline;
  2773. procedure setSTRICT; inline;
  2774. property A10M : TBits_1 read getA10M write setA10M;
  2775. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2776. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2777. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2778. property GCEN : TBits_1 read getGCEN write setGCEN;
  2779. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2780. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2781. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2782. property ON : TBits_1 read getON write setON;
  2783. property PEN : TBits_1 read getPEN write setPEN;
  2784. property RCEN : TBits_1 read getRCEN write setRCEN;
  2785. property RSEN : TBits_1 read getRSEN write setRSEN;
  2786. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2787. property SEN : TBits_1 read getSEN write setSEN;
  2788. property SIDL : TBits_1 read getSIDL write setSIDL;
  2789. property SMEN : TBits_1 read getSMEN write setSMEN;
  2790. property STREN : TBits_1 read getSTREN write setSTREN;
  2791. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2792. property w : TBits_32 read getw write setw;
  2793. end;
  2794. TI2C1_I2C1STAT = record
  2795. private
  2796. function getACKSTAT : TBits_1; inline;
  2797. function getADD10 : TBits_1; inline;
  2798. function getBCL : TBits_1; inline;
  2799. function getD_A : TBits_1; inline;
  2800. function getGCSTAT : TBits_1; inline;
  2801. function getI2COV : TBits_1; inline;
  2802. function getI2CPOV : TBits_1; inline;
  2803. function getIWCOL : TBits_1; inline;
  2804. function getP : TBits_1; inline;
  2805. function getRBF : TBits_1; inline;
  2806. function getR_W : TBits_1; inline;
  2807. function getS : TBits_1; inline;
  2808. function getTBF : TBits_1; inline;
  2809. function getTRSTAT : TBits_1; inline;
  2810. function getw : TBits_32; inline;
  2811. procedure setACKSTAT(thebits : TBits_1); inline;
  2812. procedure setADD10(thebits : TBits_1); inline;
  2813. procedure setBCL(thebits : TBits_1); inline;
  2814. procedure setD_A(thebits : TBits_1); inline;
  2815. procedure setGCSTAT(thebits : TBits_1); inline;
  2816. procedure setI2COV(thebits : TBits_1); inline;
  2817. procedure setI2CPOV(thebits : TBits_1); inline;
  2818. procedure setIWCOL(thebits : TBits_1); inline;
  2819. procedure setP(thebits : TBits_1); inline;
  2820. procedure setRBF(thebits : TBits_1); inline;
  2821. procedure setR_W(thebits : TBits_1); inline;
  2822. procedure setS(thebits : TBits_1); inline;
  2823. procedure setTBF(thebits : TBits_1); inline;
  2824. procedure setTRSTAT(thebits : TBits_1); inline;
  2825. procedure setw(thebits : TBits_32); inline;
  2826. public
  2827. procedure clearACKSTAT; inline;
  2828. procedure clearADD10; inline;
  2829. procedure clearBCL; inline;
  2830. procedure clearD_A; inline;
  2831. procedure clearGCSTAT; inline;
  2832. procedure clearI2COV; inline;
  2833. procedure clearI2CPOV; inline;
  2834. procedure clearIWCOL; inline;
  2835. procedure clearP; inline;
  2836. procedure clearRBF; inline;
  2837. procedure clearR_W; inline;
  2838. procedure clearS; inline;
  2839. procedure clearTBF; inline;
  2840. procedure clearTRSTAT; inline;
  2841. procedure setACKSTAT; inline;
  2842. procedure setADD10; inline;
  2843. procedure setBCL; inline;
  2844. procedure setD_A; inline;
  2845. procedure setGCSTAT; inline;
  2846. procedure setI2COV; inline;
  2847. procedure setI2CPOV; inline;
  2848. procedure setIWCOL; inline;
  2849. procedure setP; inline;
  2850. procedure setRBF; inline;
  2851. procedure setR_W; inline;
  2852. procedure setS; inline;
  2853. procedure setTBF; inline;
  2854. procedure setTRSTAT; inline;
  2855. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2856. property ADD10 : TBits_1 read getADD10 write setADD10;
  2857. property BCL : TBits_1 read getBCL write setBCL;
  2858. property D_A : TBits_1 read getD_A write setD_A;
  2859. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2860. property I2COV : TBits_1 read getI2COV write setI2COV;
  2861. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2862. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2863. property P : TBits_1 read getP write setP;
  2864. property RBF : TBits_1 read getRBF write setRBF;
  2865. property R_W : TBits_1 read getR_W write setR_W;
  2866. property S : TBits_1 read getS write setS;
  2867. property TBF : TBits_1 read getTBF write setTBF;
  2868. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2869. property w : TBits_32 read getw write setw;
  2870. end;
  2871. type
  2872. TI2C1Registers = record
  2873. I2C1CONbits : TI2C1_I2C1CON;
  2874. I2C1CON : longWord;
  2875. I2C1CONCLR : longWord;
  2876. I2C1CONSET : longWord;
  2877. I2C1CONINV : longWord;
  2878. I2C1STATbits : TI2C1_I2C1STAT;
  2879. I2C1STAT : longWord;
  2880. I2C1STATCLR : longWord;
  2881. I2C1STATSET : longWord;
  2882. I2C1STATINV : longWord;
  2883. I2C1ADD : longWord;
  2884. I2C1ADDCLR : longWord;
  2885. I2C1ADDSET : longWord;
  2886. I2C1ADDINV : longWord;
  2887. I2C1MSK : longWord;
  2888. I2C1MSKCLR : longWord;
  2889. I2C1MSKSET : longWord;
  2890. I2C1MSKINV : longWord;
  2891. I2C1BRG : longWord;
  2892. I2C1BRGCLR : longWord;
  2893. I2C1BRGSET : longWord;
  2894. I2C1BRGINV : longWord;
  2895. I2C1TRN : longWord;
  2896. I2C1TRNCLR : longWord;
  2897. I2C1TRNSET : longWord;
  2898. I2C1TRNINV : longWord;
  2899. I2C1RCV : longWord;
  2900. end;
  2901. TI2C2_I2C2CON = record
  2902. private
  2903. function getA10M : TBits_1; inline;
  2904. function getACKDT : TBits_1; inline;
  2905. function getACKEN : TBits_1; inline;
  2906. function getDISSLW : TBits_1; inline;
  2907. function getGCEN : TBits_1; inline;
  2908. function getI2CEN : TBits_1; inline;
  2909. function getI2CSIDL : TBits_1; inline;
  2910. function getIPMIEN : TBits_1; inline;
  2911. function getON : TBits_1; inline;
  2912. function getPEN : TBits_1; inline;
  2913. function getRCEN : TBits_1; inline;
  2914. function getRSEN : TBits_1; inline;
  2915. function getSCLREL : TBits_1; inline;
  2916. function getSEN : TBits_1; inline;
  2917. function getSIDL : TBits_1; inline;
  2918. function getSMEN : TBits_1; inline;
  2919. function getSTREN : TBits_1; inline;
  2920. function getSTRICT : TBits_1; inline;
  2921. function getw : TBits_32; inline;
  2922. procedure setA10M(thebits : TBits_1); inline;
  2923. procedure setACKDT(thebits : TBits_1); inline;
  2924. procedure setACKEN(thebits : TBits_1); inline;
  2925. procedure setDISSLW(thebits : TBits_1); inline;
  2926. procedure setGCEN(thebits : TBits_1); inline;
  2927. procedure setI2CEN(thebits : TBits_1); inline;
  2928. procedure setI2CSIDL(thebits : TBits_1); inline;
  2929. procedure setIPMIEN(thebits : TBits_1); inline;
  2930. procedure setON(thebits : TBits_1); inline;
  2931. procedure setPEN(thebits : TBits_1); inline;
  2932. procedure setRCEN(thebits : TBits_1); inline;
  2933. procedure setRSEN(thebits : TBits_1); inline;
  2934. procedure setSCLREL(thebits : TBits_1); inline;
  2935. procedure setSEN(thebits : TBits_1); inline;
  2936. procedure setSIDL(thebits : TBits_1); inline;
  2937. procedure setSMEN(thebits : TBits_1); inline;
  2938. procedure setSTREN(thebits : TBits_1); inline;
  2939. procedure setSTRICT(thebits : TBits_1); inline;
  2940. procedure setw(thebits : TBits_32); inline;
  2941. public
  2942. procedure clearA10M; inline;
  2943. procedure clearACKDT; inline;
  2944. procedure clearACKEN; inline;
  2945. procedure clearDISSLW; inline;
  2946. procedure clearGCEN; inline;
  2947. procedure clearI2CEN; inline;
  2948. procedure clearI2CSIDL; inline;
  2949. procedure clearIPMIEN; inline;
  2950. procedure clearON; inline;
  2951. procedure clearPEN; inline;
  2952. procedure clearRCEN; inline;
  2953. procedure clearRSEN; inline;
  2954. procedure clearSCLREL; inline;
  2955. procedure clearSEN; inline;
  2956. procedure clearSIDL; inline;
  2957. procedure clearSMEN; inline;
  2958. procedure clearSTREN; inline;
  2959. procedure clearSTRICT; inline;
  2960. procedure setA10M; inline;
  2961. procedure setACKDT; inline;
  2962. procedure setACKEN; inline;
  2963. procedure setDISSLW; inline;
  2964. procedure setGCEN; inline;
  2965. procedure setI2CEN; inline;
  2966. procedure setI2CSIDL; inline;
  2967. procedure setIPMIEN; inline;
  2968. procedure setON; inline;
  2969. procedure setPEN; inline;
  2970. procedure setRCEN; inline;
  2971. procedure setRSEN; inline;
  2972. procedure setSCLREL; inline;
  2973. procedure setSEN; inline;
  2974. procedure setSIDL; inline;
  2975. procedure setSMEN; inline;
  2976. procedure setSTREN; inline;
  2977. procedure setSTRICT; inline;
  2978. property A10M : TBits_1 read getA10M write setA10M;
  2979. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2980. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2981. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2982. property GCEN : TBits_1 read getGCEN write setGCEN;
  2983. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2984. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2985. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2986. property ON : TBits_1 read getON write setON;
  2987. property PEN : TBits_1 read getPEN write setPEN;
  2988. property RCEN : TBits_1 read getRCEN write setRCEN;
  2989. property RSEN : TBits_1 read getRSEN write setRSEN;
  2990. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2991. property SEN : TBits_1 read getSEN write setSEN;
  2992. property SIDL : TBits_1 read getSIDL write setSIDL;
  2993. property SMEN : TBits_1 read getSMEN write setSMEN;
  2994. property STREN : TBits_1 read getSTREN write setSTREN;
  2995. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2996. property w : TBits_32 read getw write setw;
  2997. end;
  2998. TI2C2_I2C2STAT = record
  2999. private
  3000. function getACKSTAT : TBits_1; inline;
  3001. function getADD10 : TBits_1; inline;
  3002. function getBCL : TBits_1; inline;
  3003. function getD_A : TBits_1; inline;
  3004. function getGCSTAT : TBits_1; inline;
  3005. function getI2COV : TBits_1; inline;
  3006. function getI2CPOV : TBits_1; inline;
  3007. function getIWCOL : TBits_1; inline;
  3008. function getP : TBits_1; inline;
  3009. function getRBF : TBits_1; inline;
  3010. function getR_W : TBits_1; inline;
  3011. function getS : TBits_1; inline;
  3012. function getTBF : TBits_1; inline;
  3013. function getTRSTAT : TBits_1; inline;
  3014. function getw : TBits_32; inline;
  3015. procedure setACKSTAT(thebits : TBits_1); inline;
  3016. procedure setADD10(thebits : TBits_1); inline;
  3017. procedure setBCL(thebits : TBits_1); inline;
  3018. procedure setD_A(thebits : TBits_1); inline;
  3019. procedure setGCSTAT(thebits : TBits_1); inline;
  3020. procedure setI2COV(thebits : TBits_1); inline;
  3021. procedure setI2CPOV(thebits : TBits_1); inline;
  3022. procedure setIWCOL(thebits : TBits_1); inline;
  3023. procedure setP(thebits : TBits_1); inline;
  3024. procedure setRBF(thebits : TBits_1); inline;
  3025. procedure setR_W(thebits : TBits_1); inline;
  3026. procedure setS(thebits : TBits_1); inline;
  3027. procedure setTBF(thebits : TBits_1); inline;
  3028. procedure setTRSTAT(thebits : TBits_1); inline;
  3029. procedure setw(thebits : TBits_32); inline;
  3030. public
  3031. procedure clearACKSTAT; inline;
  3032. procedure clearADD10; inline;
  3033. procedure clearBCL; inline;
  3034. procedure clearD_A; inline;
  3035. procedure clearGCSTAT; inline;
  3036. procedure clearI2COV; inline;
  3037. procedure clearI2CPOV; inline;
  3038. procedure clearIWCOL; inline;
  3039. procedure clearP; inline;
  3040. procedure clearRBF; inline;
  3041. procedure clearR_W; inline;
  3042. procedure clearS; inline;
  3043. procedure clearTBF; inline;
  3044. procedure clearTRSTAT; inline;
  3045. procedure setACKSTAT; inline;
  3046. procedure setADD10; inline;
  3047. procedure setBCL; inline;
  3048. procedure setD_A; inline;
  3049. procedure setGCSTAT; inline;
  3050. procedure setI2COV; inline;
  3051. procedure setI2CPOV; inline;
  3052. procedure setIWCOL; inline;
  3053. procedure setP; inline;
  3054. procedure setRBF; inline;
  3055. procedure setR_W; inline;
  3056. procedure setS; inline;
  3057. procedure setTBF; inline;
  3058. procedure setTRSTAT; inline;
  3059. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  3060. property ADD10 : TBits_1 read getADD10 write setADD10;
  3061. property BCL : TBits_1 read getBCL write setBCL;
  3062. property D_A : TBits_1 read getD_A write setD_A;
  3063. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  3064. property I2COV : TBits_1 read getI2COV write setI2COV;
  3065. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  3066. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  3067. property P : TBits_1 read getP write setP;
  3068. property RBF : TBits_1 read getRBF write setRBF;
  3069. property R_W : TBits_1 read getR_W write setR_W;
  3070. property S : TBits_1 read getS write setS;
  3071. property TBF : TBits_1 read getTBF write setTBF;
  3072. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  3073. property w : TBits_32 read getw write setw;
  3074. end;
  3075. type
  3076. TI2C2Registers = record
  3077. I2C2CONbits : TI2C2_I2C2CON;
  3078. I2C2CON : longWord;
  3079. I2C2CONCLR : longWord;
  3080. I2C2CONSET : longWord;
  3081. I2C2CONINV : longWord;
  3082. I2C2STATbits : TI2C2_I2C2STAT;
  3083. I2C2STAT : longWord;
  3084. I2C2STATCLR : longWord;
  3085. I2C2STATSET : longWord;
  3086. I2C2STATINV : longWord;
  3087. I2C2ADD : longWord;
  3088. I2C2ADDCLR : longWord;
  3089. I2C2ADDSET : longWord;
  3090. I2C2ADDINV : longWord;
  3091. I2C2MSK : longWord;
  3092. I2C2MSKCLR : longWord;
  3093. I2C2MSKSET : longWord;
  3094. I2C2MSKINV : longWord;
  3095. I2C2BRG : longWord;
  3096. I2C2BRGCLR : longWord;
  3097. I2C2BRGSET : longWord;
  3098. I2C2BRGINV : longWord;
  3099. I2C2TRN : longWord;
  3100. I2C2TRNCLR : longWord;
  3101. I2C2TRNSET : longWord;
  3102. I2C2TRNINV : longWord;
  3103. I2C2RCV : longWord;
  3104. end;
  3105. TSPI3_SPI1ACON = record
  3106. private
  3107. function getCKE : TBits_1; inline;
  3108. function getCKP : TBits_1; inline;
  3109. function getDISSDO : TBits_1; inline;
  3110. function getENHBUF : TBits_1; inline;
  3111. function getFRMCNT : TBits_3; inline;
  3112. function getFRMEN : TBits_1; inline;
  3113. function getFRMPOL : TBits_1; inline;
  3114. function getFRMSYNC : TBits_1; inline;
  3115. function getFRMSYPW : TBits_1; inline;
  3116. function getMODE16 : TBits_1; inline;
  3117. function getMODE32 : TBits_1; inline;
  3118. function getMSSEN : TBits_1; inline;
  3119. function getMSTEN : TBits_1; inline;
  3120. function getON : TBits_1; inline;
  3121. function getSIDL : TBits_1; inline;
  3122. function getSMP : TBits_1; inline;
  3123. function getSPIFE : TBits_1; inline;
  3124. function getSRXISEL : TBits_2; inline;
  3125. function getSSEN : TBits_1; inline;
  3126. function getSTXISEL : TBits_2; inline;
  3127. function getw : TBits_32; inline;
  3128. procedure setCKE(thebits : TBits_1); inline;
  3129. procedure setCKP(thebits : TBits_1); inline;
  3130. procedure setDISSDO(thebits : TBits_1); inline;
  3131. procedure setENHBUF(thebits : TBits_1); inline;
  3132. procedure setFRMCNT(thebits : TBits_3); inline;
  3133. procedure setFRMEN(thebits : TBits_1); inline;
  3134. procedure setFRMPOL(thebits : TBits_1); inline;
  3135. procedure setFRMSYNC(thebits : TBits_1); inline;
  3136. procedure setFRMSYPW(thebits : TBits_1); inline;
  3137. procedure setMODE16(thebits : TBits_1); inline;
  3138. procedure setMODE32(thebits : TBits_1); inline;
  3139. procedure setMSSEN(thebits : TBits_1); inline;
  3140. procedure setMSTEN(thebits : TBits_1); inline;
  3141. procedure setON(thebits : TBits_1); inline;
  3142. procedure setSIDL(thebits : TBits_1); inline;
  3143. procedure setSMP(thebits : TBits_1); inline;
  3144. procedure setSPIFE(thebits : TBits_1); inline;
  3145. procedure setSRXISEL(thebits : TBits_2); inline;
  3146. procedure setSSEN(thebits : TBits_1); inline;
  3147. procedure setSTXISEL(thebits : TBits_2); inline;
  3148. procedure setw(thebits : TBits_32); inline;
  3149. public
  3150. procedure clearCKE; inline;
  3151. procedure clearCKP; inline;
  3152. procedure clearDISSDO; inline;
  3153. procedure clearENHBUF; inline;
  3154. procedure clearFRMEN; inline;
  3155. procedure clearFRMPOL; inline;
  3156. procedure clearFRMSYNC; inline;
  3157. procedure clearFRMSYPW; inline;
  3158. procedure clearMODE16; inline;
  3159. procedure clearMODE32; inline;
  3160. procedure clearMSSEN; inline;
  3161. procedure clearMSTEN; inline;
  3162. procedure clearON; inline;
  3163. procedure clearSIDL; inline;
  3164. procedure clearSMP; inline;
  3165. procedure clearSPIFE; inline;
  3166. procedure clearSSEN; inline;
  3167. procedure setCKE; inline;
  3168. procedure setCKP; inline;
  3169. procedure setDISSDO; inline;
  3170. procedure setENHBUF; inline;
  3171. procedure setFRMEN; inline;
  3172. procedure setFRMPOL; inline;
  3173. procedure setFRMSYNC; inline;
  3174. procedure setFRMSYPW; inline;
  3175. procedure setMODE16; inline;
  3176. procedure setMODE32; inline;
  3177. procedure setMSSEN; inline;
  3178. procedure setMSTEN; inline;
  3179. procedure setON; inline;
  3180. procedure setSIDL; inline;
  3181. procedure setSMP; inline;
  3182. procedure setSPIFE; inline;
  3183. procedure setSSEN; inline;
  3184. property CKE : TBits_1 read getCKE write setCKE;
  3185. property CKP : TBits_1 read getCKP write setCKP;
  3186. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3187. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3188. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3189. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3190. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3191. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3192. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3193. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3194. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3195. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3196. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3197. property ON : TBits_1 read getON write setON;
  3198. property SIDL : TBits_1 read getSIDL write setSIDL;
  3199. property SMP : TBits_1 read getSMP write setSMP;
  3200. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3201. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3202. property SSEN : TBits_1 read getSSEN write setSSEN;
  3203. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3204. property w : TBits_32 read getw write setw;
  3205. end;
  3206. TSPI3_SPI3CON = record
  3207. private
  3208. function getCKE : TBits_1; inline;
  3209. function getCKP : TBits_1; inline;
  3210. function getDISSDO : TBits_1; inline;
  3211. function getENHBUF : TBits_1; inline;
  3212. function getFRMCNT : TBits_3; inline;
  3213. function getFRMEN : TBits_1; inline;
  3214. function getFRMPOL : TBits_1; inline;
  3215. function getFRMSYNC : TBits_1; inline;
  3216. function getFRMSYPW : TBits_1; inline;
  3217. function getMODE16 : TBits_1; inline;
  3218. function getMODE32 : TBits_1; inline;
  3219. function getMSSEN : TBits_1; inline;
  3220. function getMSTEN : TBits_1; inline;
  3221. function getON : TBits_1; inline;
  3222. function getSIDL : TBits_1; inline;
  3223. function getSMP : TBits_1; inline;
  3224. function getSPIFE : TBits_1; inline;
  3225. function getSRXISEL : TBits_2; inline;
  3226. function getSSEN : TBits_1; inline;
  3227. function getSTXISEL : TBits_2; inline;
  3228. function getw : TBits_32; inline;
  3229. procedure setCKE(thebits : TBits_1); inline;
  3230. procedure setCKP(thebits : TBits_1); inline;
  3231. procedure setDISSDO(thebits : TBits_1); inline;
  3232. procedure setENHBUF(thebits : TBits_1); inline;
  3233. procedure setFRMCNT(thebits : TBits_3); inline;
  3234. procedure setFRMEN(thebits : TBits_1); inline;
  3235. procedure setFRMPOL(thebits : TBits_1); inline;
  3236. procedure setFRMSYNC(thebits : TBits_1); inline;
  3237. procedure setFRMSYPW(thebits : TBits_1); inline;
  3238. procedure setMODE16(thebits : TBits_1); inline;
  3239. procedure setMODE32(thebits : TBits_1); inline;
  3240. procedure setMSSEN(thebits : TBits_1); inline;
  3241. procedure setMSTEN(thebits : TBits_1); inline;
  3242. procedure setON(thebits : TBits_1); inline;
  3243. procedure setSIDL(thebits : TBits_1); inline;
  3244. procedure setSMP(thebits : TBits_1); inline;
  3245. procedure setSPIFE(thebits : TBits_1); inline;
  3246. procedure setSRXISEL(thebits : TBits_2); inline;
  3247. procedure setSSEN(thebits : TBits_1); inline;
  3248. procedure setSTXISEL(thebits : TBits_2); inline;
  3249. procedure setw(thebits : TBits_32); inline;
  3250. public
  3251. procedure clearCKE; inline;
  3252. procedure clearCKP; inline;
  3253. procedure clearDISSDO; inline;
  3254. procedure clearENHBUF; inline;
  3255. procedure clearFRMEN; inline;
  3256. procedure clearFRMPOL; inline;
  3257. procedure clearFRMSYNC; inline;
  3258. procedure clearFRMSYPW; inline;
  3259. procedure clearMODE16; inline;
  3260. procedure clearMODE32; inline;
  3261. procedure clearMSSEN; inline;
  3262. procedure clearMSTEN; inline;
  3263. procedure clearON; inline;
  3264. procedure clearSIDL; inline;
  3265. procedure clearSMP; inline;
  3266. procedure clearSPIFE; inline;
  3267. procedure clearSSEN; inline;
  3268. procedure setCKE; inline;
  3269. procedure setCKP; inline;
  3270. procedure setDISSDO; inline;
  3271. procedure setENHBUF; inline;
  3272. procedure setFRMEN; inline;
  3273. procedure setFRMPOL; inline;
  3274. procedure setFRMSYNC; inline;
  3275. procedure setFRMSYPW; inline;
  3276. procedure setMODE16; inline;
  3277. procedure setMODE32; inline;
  3278. procedure setMSSEN; inline;
  3279. procedure setMSTEN; inline;
  3280. procedure setON; inline;
  3281. procedure setSIDL; inline;
  3282. procedure setSMP; inline;
  3283. procedure setSPIFE; inline;
  3284. procedure setSSEN; inline;
  3285. property CKE : TBits_1 read getCKE write setCKE;
  3286. property CKP : TBits_1 read getCKP write setCKP;
  3287. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3288. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3289. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3290. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3291. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3292. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3293. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3294. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3295. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3296. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3297. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3298. property ON : TBits_1 read getON write setON;
  3299. property SIDL : TBits_1 read getSIDL write setSIDL;
  3300. property SMP : TBits_1 read getSMP write setSMP;
  3301. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3302. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3303. property SSEN : TBits_1 read getSSEN write setSSEN;
  3304. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3305. property w : TBits_32 read getw write setw;
  3306. end;
  3307. TSPI3_SPI1ASTAT = record
  3308. private
  3309. function getRXBUFELM : TBits_5; inline;
  3310. function getSPIBUSY : TBits_1; inline;
  3311. function getSPIRBE : TBits_1; inline;
  3312. function getSPIRBF : TBits_1; inline;
  3313. function getSPIROV : TBits_1; inline;
  3314. function getSPITBE : TBits_1; inline;
  3315. function getSPITBF : TBits_1; inline;
  3316. function getSPITUR : TBits_1; inline;
  3317. function getSRMT : TBits_1; inline;
  3318. function getTXBUFELM : TBits_5; inline;
  3319. function getw : TBits_32; inline;
  3320. procedure setRXBUFELM(thebits : TBits_5); inline;
  3321. procedure setSPIBUSY(thebits : TBits_1); inline;
  3322. procedure setSPIRBE(thebits : TBits_1); inline;
  3323. procedure setSPIRBF(thebits : TBits_1); inline;
  3324. procedure setSPIROV(thebits : TBits_1); inline;
  3325. procedure setSPITBE(thebits : TBits_1); inline;
  3326. procedure setSPITBF(thebits : TBits_1); inline;
  3327. procedure setSPITUR(thebits : TBits_1); inline;
  3328. procedure setSRMT(thebits : TBits_1); inline;
  3329. procedure setTXBUFELM(thebits : TBits_5); inline;
  3330. procedure setw(thebits : TBits_32); inline;
  3331. public
  3332. procedure clearSPIBUSY; inline;
  3333. procedure clearSPIRBE; inline;
  3334. procedure clearSPIRBF; inline;
  3335. procedure clearSPIROV; inline;
  3336. procedure clearSPITBE; inline;
  3337. procedure clearSPITBF; inline;
  3338. procedure clearSPITUR; inline;
  3339. procedure clearSRMT; inline;
  3340. procedure setSPIBUSY; inline;
  3341. procedure setSPIRBE; inline;
  3342. procedure setSPIRBF; inline;
  3343. procedure setSPIROV; inline;
  3344. procedure setSPITBE; inline;
  3345. procedure setSPITBF; inline;
  3346. procedure setSPITUR; inline;
  3347. procedure setSRMT; inline;
  3348. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3349. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3350. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3351. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3352. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3353. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3354. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3355. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3356. property SRMT : TBits_1 read getSRMT write setSRMT;
  3357. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3358. property w : TBits_32 read getw write setw;
  3359. end;
  3360. TSPI3_SPI3STAT = record
  3361. private
  3362. function getRXBUFELM : TBits_5; inline;
  3363. function getSPIBUSY : TBits_1; inline;
  3364. function getSPIRBE : TBits_1; inline;
  3365. function getSPIRBF : TBits_1; inline;
  3366. function getSPIROV : TBits_1; inline;
  3367. function getSPITBE : TBits_1; inline;
  3368. function getSPITBF : TBits_1; inline;
  3369. function getSPITUR : TBits_1; inline;
  3370. function getSRMT : TBits_1; inline;
  3371. function getTXBUFELM : TBits_5; inline;
  3372. function getw : TBits_32; inline;
  3373. procedure setRXBUFELM(thebits : TBits_5); inline;
  3374. procedure setSPIBUSY(thebits : TBits_1); inline;
  3375. procedure setSPIRBE(thebits : TBits_1); inline;
  3376. procedure setSPIRBF(thebits : TBits_1); inline;
  3377. procedure setSPIROV(thebits : TBits_1); inline;
  3378. procedure setSPITBE(thebits : TBits_1); inline;
  3379. procedure setSPITBF(thebits : TBits_1); inline;
  3380. procedure setSPITUR(thebits : TBits_1); inline;
  3381. procedure setSRMT(thebits : TBits_1); inline;
  3382. procedure setTXBUFELM(thebits : TBits_5); inline;
  3383. procedure setw(thebits : TBits_32); inline;
  3384. public
  3385. procedure clearSPIBUSY; inline;
  3386. procedure clearSPIRBE; inline;
  3387. procedure clearSPIRBF; inline;
  3388. procedure clearSPIROV; inline;
  3389. procedure clearSPITBE; inline;
  3390. procedure clearSPITBF; inline;
  3391. procedure clearSPITUR; inline;
  3392. procedure clearSRMT; inline;
  3393. procedure setSPIBUSY; inline;
  3394. procedure setSPIRBE; inline;
  3395. procedure setSPIRBF; inline;
  3396. procedure setSPIROV; inline;
  3397. procedure setSPITBE; inline;
  3398. procedure setSPITBF; inline;
  3399. procedure setSPITUR; inline;
  3400. procedure setSRMT; inline;
  3401. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3402. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3403. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3404. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3405. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3406. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3407. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3408. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3409. property SRMT : TBits_1 read getSRMT write setSRMT;
  3410. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3411. property w : TBits_32 read getw write setw;
  3412. end;
  3413. type
  3414. TSPI3Registers = record
  3415. SPI1ACONbits : TSPI3_SPI1ACON;
  3416. SPI1ACON : longWord;
  3417. SPI3CONbits : TSPI3_SPI3CON;
  3418. SPI3CON : longWord;
  3419. SPI1ACONCLR : longWord;
  3420. SPI3CONCLR : longWord;
  3421. SPI1ACONSET : longWord;
  3422. SPI3CONSET : longWord;
  3423. SPI1ACONINV : longWord;
  3424. SPI3CONINV : longWord;
  3425. SPI1ASTATbits : TSPI3_SPI1ASTAT;
  3426. SPI1ASTAT : longWord;
  3427. SPI3STATbits : TSPI3_SPI3STAT;
  3428. SPI3STAT : longWord;
  3429. SPI1ASTATCLR : longWord;
  3430. SPI3STATCLR : longWord;
  3431. SPI1ASTATSET : longWord;
  3432. SPI3STATSET : longWord;
  3433. SPI1ASTATINV : longWord;
  3434. SPI3STATINV : longWord;
  3435. SPI1ABUF : longWord;
  3436. SPI3BUF : longWord;
  3437. SPI1ABRG : longWord;
  3438. SPI3BRG : longWord;
  3439. SPI1ABRGCLR : longWord;
  3440. SPI3BRGCLR : longWord;
  3441. SPI1ABRGSET : longWord;
  3442. SPI3BRGSET : longWord;
  3443. SPI1ABRGINV : longWord;
  3444. SPI3BRGINV : longWord;
  3445. end;
  3446. TSPI2A_SPI2ACON = record
  3447. private
  3448. function getCKE : TBits_1; inline;
  3449. function getCKP : TBits_1; inline;
  3450. function getDISSDO : TBits_1; inline;
  3451. function getENHBUF : TBits_1; inline;
  3452. function getFRMCNT : TBits_3; inline;
  3453. function getFRMEN : TBits_1; inline;
  3454. function getFRMPOL : TBits_1; inline;
  3455. function getFRMSYNC : TBits_1; inline;
  3456. function getFRMSYPW : TBits_1; inline;
  3457. function getMODE16 : TBits_1; inline;
  3458. function getMODE32 : TBits_1; inline;
  3459. function getMSSEN : TBits_1; inline;
  3460. function getMSTEN : TBits_1; inline;
  3461. function getON : TBits_1; inline;
  3462. function getSIDL : TBits_1; inline;
  3463. function getSMP : TBits_1; inline;
  3464. function getSPIFE : TBits_1; inline;
  3465. function getSRXISEL : TBits_2; inline;
  3466. function getSSEN : TBits_1; inline;
  3467. function getSTXISEL : TBits_2; inline;
  3468. function getw : TBits_32; inline;
  3469. procedure setCKE(thebits : TBits_1); inline;
  3470. procedure setCKP(thebits : TBits_1); inline;
  3471. procedure setDISSDO(thebits : TBits_1); inline;
  3472. procedure setENHBUF(thebits : TBits_1); inline;
  3473. procedure setFRMCNT(thebits : TBits_3); inline;
  3474. procedure setFRMEN(thebits : TBits_1); inline;
  3475. procedure setFRMPOL(thebits : TBits_1); inline;
  3476. procedure setFRMSYNC(thebits : TBits_1); inline;
  3477. procedure setFRMSYPW(thebits : TBits_1); inline;
  3478. procedure setMODE16(thebits : TBits_1); inline;
  3479. procedure setMODE32(thebits : TBits_1); inline;
  3480. procedure setMSSEN(thebits : TBits_1); inline;
  3481. procedure setMSTEN(thebits : TBits_1); inline;
  3482. procedure setON(thebits : TBits_1); inline;
  3483. procedure setSIDL(thebits : TBits_1); inline;
  3484. procedure setSMP(thebits : TBits_1); inline;
  3485. procedure setSPIFE(thebits : TBits_1); inline;
  3486. procedure setSRXISEL(thebits : TBits_2); inline;
  3487. procedure setSSEN(thebits : TBits_1); inline;
  3488. procedure setSTXISEL(thebits : TBits_2); inline;
  3489. procedure setw(thebits : TBits_32); inline;
  3490. public
  3491. procedure clearCKE; inline;
  3492. procedure clearCKP; inline;
  3493. procedure clearDISSDO; inline;
  3494. procedure clearENHBUF; inline;
  3495. procedure clearFRMEN; inline;
  3496. procedure clearFRMPOL; inline;
  3497. procedure clearFRMSYNC; inline;
  3498. procedure clearFRMSYPW; inline;
  3499. procedure clearMODE16; inline;
  3500. procedure clearMODE32; inline;
  3501. procedure clearMSSEN; inline;
  3502. procedure clearMSTEN; inline;
  3503. procedure clearON; inline;
  3504. procedure clearSIDL; inline;
  3505. procedure clearSMP; inline;
  3506. procedure clearSPIFE; inline;
  3507. procedure clearSSEN; inline;
  3508. procedure setCKE; inline;
  3509. procedure setCKP; inline;
  3510. procedure setDISSDO; inline;
  3511. procedure setENHBUF; inline;
  3512. procedure setFRMEN; inline;
  3513. procedure setFRMPOL; inline;
  3514. procedure setFRMSYNC; inline;
  3515. procedure setFRMSYPW; inline;
  3516. procedure setMODE16; inline;
  3517. procedure setMODE32; inline;
  3518. procedure setMSSEN; inline;
  3519. procedure setMSTEN; inline;
  3520. procedure setON; inline;
  3521. procedure setSIDL; inline;
  3522. procedure setSMP; inline;
  3523. procedure setSPIFE; inline;
  3524. procedure setSSEN; inline;
  3525. property CKE : TBits_1 read getCKE write setCKE;
  3526. property CKP : TBits_1 read getCKP write setCKP;
  3527. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3528. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3529. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3530. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3531. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3532. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3533. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3534. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3535. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3536. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3537. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3538. property ON : TBits_1 read getON write setON;
  3539. property SIDL : TBits_1 read getSIDL write setSIDL;
  3540. property SMP : TBits_1 read getSMP write setSMP;
  3541. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3542. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3543. property SSEN : TBits_1 read getSSEN write setSSEN;
  3544. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3545. property w : TBits_32 read getw write setw;
  3546. end;
  3547. TSPI2A_SPI2CON = record
  3548. private
  3549. function getCKE : TBits_1; inline;
  3550. function getCKP : TBits_1; inline;
  3551. function getDISSDO : TBits_1; inline;
  3552. function getENHBUF : TBits_1; inline;
  3553. function getFRMCNT : TBits_3; inline;
  3554. function getFRMEN : TBits_1; inline;
  3555. function getFRMPOL : TBits_1; inline;
  3556. function getFRMSYNC : TBits_1; inline;
  3557. function getFRMSYPW : TBits_1; inline;
  3558. function getMODE16 : TBits_1; inline;
  3559. function getMODE32 : TBits_1; inline;
  3560. function getMSSEN : TBits_1; inline;
  3561. function getMSTEN : TBits_1; inline;
  3562. function getON : TBits_1; inline;
  3563. function getSIDL : TBits_1; inline;
  3564. function getSMP : TBits_1; inline;
  3565. function getSPIFE : TBits_1; inline;
  3566. function getSRXISEL : TBits_2; inline;
  3567. function getSSEN : TBits_1; inline;
  3568. function getSTXISEL : TBits_2; inline;
  3569. function getw : TBits_32; inline;
  3570. procedure setCKE(thebits : TBits_1); inline;
  3571. procedure setCKP(thebits : TBits_1); inline;
  3572. procedure setDISSDO(thebits : TBits_1); inline;
  3573. procedure setENHBUF(thebits : TBits_1); inline;
  3574. procedure setFRMCNT(thebits : TBits_3); inline;
  3575. procedure setFRMEN(thebits : TBits_1); inline;
  3576. procedure setFRMPOL(thebits : TBits_1); inline;
  3577. procedure setFRMSYNC(thebits : TBits_1); inline;
  3578. procedure setFRMSYPW(thebits : TBits_1); inline;
  3579. procedure setMODE16(thebits : TBits_1); inline;
  3580. procedure setMODE32(thebits : TBits_1); inline;
  3581. procedure setMSSEN(thebits : TBits_1); inline;
  3582. procedure setMSTEN(thebits : TBits_1); inline;
  3583. procedure setON(thebits : TBits_1); inline;
  3584. procedure setSIDL(thebits : TBits_1); inline;
  3585. procedure setSMP(thebits : TBits_1); inline;
  3586. procedure setSPIFE(thebits : TBits_1); inline;
  3587. procedure setSRXISEL(thebits : TBits_2); inline;
  3588. procedure setSSEN(thebits : TBits_1); inline;
  3589. procedure setSTXISEL(thebits : TBits_2); inline;
  3590. procedure setw(thebits : TBits_32); inline;
  3591. public
  3592. procedure clearCKE; inline;
  3593. procedure clearCKP; inline;
  3594. procedure clearDISSDO; inline;
  3595. procedure clearENHBUF; inline;
  3596. procedure clearFRMEN; inline;
  3597. procedure clearFRMPOL; inline;
  3598. procedure clearFRMSYNC; inline;
  3599. procedure clearFRMSYPW; inline;
  3600. procedure clearMODE16; inline;
  3601. procedure clearMODE32; inline;
  3602. procedure clearMSSEN; inline;
  3603. procedure clearMSTEN; inline;
  3604. procedure clearON; inline;
  3605. procedure clearSIDL; inline;
  3606. procedure clearSMP; inline;
  3607. procedure clearSPIFE; inline;
  3608. procedure clearSSEN; inline;
  3609. procedure setCKE; inline;
  3610. procedure setCKP; inline;
  3611. procedure setDISSDO; inline;
  3612. procedure setENHBUF; inline;
  3613. procedure setFRMEN; inline;
  3614. procedure setFRMPOL; inline;
  3615. procedure setFRMSYNC; inline;
  3616. procedure setFRMSYPW; inline;
  3617. procedure setMODE16; inline;
  3618. procedure setMODE32; inline;
  3619. procedure setMSSEN; inline;
  3620. procedure setMSTEN; inline;
  3621. procedure setON; inline;
  3622. procedure setSIDL; inline;
  3623. procedure setSMP; inline;
  3624. procedure setSPIFE; inline;
  3625. procedure setSSEN; inline;
  3626. property CKE : TBits_1 read getCKE write setCKE;
  3627. property CKP : TBits_1 read getCKP write setCKP;
  3628. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3629. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3630. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3631. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3632. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3633. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3634. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3635. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3636. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3637. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3638. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3639. property ON : TBits_1 read getON write setON;
  3640. property SIDL : TBits_1 read getSIDL write setSIDL;
  3641. property SMP : TBits_1 read getSMP write setSMP;
  3642. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3643. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3644. property SSEN : TBits_1 read getSSEN write setSSEN;
  3645. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3646. property w : TBits_32 read getw write setw;
  3647. end;
  3648. TSPI2A_SPI2ASTAT = record
  3649. private
  3650. function getRXBUFELM : TBits_5; inline;
  3651. function getSPIBUSY : TBits_1; inline;
  3652. function getSPIRBE : TBits_1; inline;
  3653. function getSPIRBF : TBits_1; inline;
  3654. function getSPIROV : TBits_1; inline;
  3655. function getSPITBE : TBits_1; inline;
  3656. function getSPITBF : TBits_1; inline;
  3657. function getSPITUR : TBits_1; inline;
  3658. function getSRMT : TBits_1; inline;
  3659. function getTXBUFELM : TBits_5; inline;
  3660. function getw : TBits_32; inline;
  3661. procedure setRXBUFELM(thebits : TBits_5); inline;
  3662. procedure setSPIBUSY(thebits : TBits_1); inline;
  3663. procedure setSPIRBE(thebits : TBits_1); inline;
  3664. procedure setSPIRBF(thebits : TBits_1); inline;
  3665. procedure setSPIROV(thebits : TBits_1); inline;
  3666. procedure setSPITBE(thebits : TBits_1); inline;
  3667. procedure setSPITBF(thebits : TBits_1); inline;
  3668. procedure setSPITUR(thebits : TBits_1); inline;
  3669. procedure setSRMT(thebits : TBits_1); inline;
  3670. procedure setTXBUFELM(thebits : TBits_5); inline;
  3671. procedure setw(thebits : TBits_32); inline;
  3672. public
  3673. procedure clearSPIBUSY; inline;
  3674. procedure clearSPIRBE; inline;
  3675. procedure clearSPIRBF; inline;
  3676. procedure clearSPIROV; inline;
  3677. procedure clearSPITBE; inline;
  3678. procedure clearSPITBF; inline;
  3679. procedure clearSPITUR; inline;
  3680. procedure clearSRMT; inline;
  3681. procedure setSPIBUSY; inline;
  3682. procedure setSPIRBE; inline;
  3683. procedure setSPIRBF; inline;
  3684. procedure setSPIROV; inline;
  3685. procedure setSPITBE; inline;
  3686. procedure setSPITBF; inline;
  3687. procedure setSPITUR; inline;
  3688. procedure setSRMT; inline;
  3689. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3690. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3691. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3692. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3693. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3694. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3695. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3696. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3697. property SRMT : TBits_1 read getSRMT write setSRMT;
  3698. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3699. property w : TBits_32 read getw write setw;
  3700. end;
  3701. TSPI2A_SPI2STAT = record
  3702. private
  3703. function getRXBUFELM : TBits_5; inline;
  3704. function getSPIBUSY : TBits_1; inline;
  3705. function getSPIRBE : TBits_1; inline;
  3706. function getSPIRBF : TBits_1; inline;
  3707. function getSPIROV : TBits_1; inline;
  3708. function getSPITBE : TBits_1; inline;
  3709. function getSPITBF : TBits_1; inline;
  3710. function getSPITUR : TBits_1; inline;
  3711. function getSRMT : TBits_1; inline;
  3712. function getTXBUFELM : TBits_5; inline;
  3713. function getw : TBits_32; inline;
  3714. procedure setRXBUFELM(thebits : TBits_5); inline;
  3715. procedure setSPIBUSY(thebits : TBits_1); inline;
  3716. procedure setSPIRBE(thebits : TBits_1); inline;
  3717. procedure setSPIRBF(thebits : TBits_1); inline;
  3718. procedure setSPIROV(thebits : TBits_1); inline;
  3719. procedure setSPITBE(thebits : TBits_1); inline;
  3720. procedure setSPITBF(thebits : TBits_1); inline;
  3721. procedure setSPITUR(thebits : TBits_1); inline;
  3722. procedure setSRMT(thebits : TBits_1); inline;
  3723. procedure setTXBUFELM(thebits : TBits_5); inline;
  3724. procedure setw(thebits : TBits_32); inline;
  3725. public
  3726. procedure clearSPIBUSY; inline;
  3727. procedure clearSPIRBE; inline;
  3728. procedure clearSPIRBF; inline;
  3729. procedure clearSPIROV; inline;
  3730. procedure clearSPITBE; inline;
  3731. procedure clearSPITBF; inline;
  3732. procedure clearSPITUR; inline;
  3733. procedure clearSRMT; inline;
  3734. procedure setSPIBUSY; inline;
  3735. procedure setSPIRBE; inline;
  3736. procedure setSPIRBF; inline;
  3737. procedure setSPIROV; inline;
  3738. procedure setSPITBE; inline;
  3739. procedure setSPITBF; inline;
  3740. procedure setSPITUR; inline;
  3741. procedure setSRMT; inline;
  3742. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3743. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3744. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3745. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3746. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3747. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3748. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3749. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3750. property SRMT : TBits_1 read getSRMT write setSRMT;
  3751. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3752. property w : TBits_32 read getw write setw;
  3753. end;
  3754. type
  3755. TSPI2ARegisters = record
  3756. SPI2ACONbits : TSPI2A_SPI2ACON;
  3757. SPI2ACON : longWord;
  3758. SPI2CONbits : TSPI2A_SPI2CON;
  3759. SPI2CON : longWord;
  3760. SPI2ACONCLR : longWord;
  3761. SPI2CONCLR : longWord;
  3762. SPI2ACONSET : longWord;
  3763. SPI2CONSET : longWord;
  3764. SPI2ACONINV : longWord;
  3765. SPI2CONINV : longWord;
  3766. SPI2ASTATbits : TSPI2A_SPI2ASTAT;
  3767. SPI2ASTAT : longWord;
  3768. SPI2STATbits : TSPI2A_SPI2STAT;
  3769. SPI2STAT : longWord;
  3770. SPI2ASTATCLR : longWord;
  3771. SPI2STATCLR : longWord;
  3772. SPI2ASTATSET : longWord;
  3773. SPI2STATSET : longWord;
  3774. SPI2ASTATINV : longWord;
  3775. SPI2STATINV : longWord;
  3776. SPI2ABUF : longWord;
  3777. SPI2BUF : longWord;
  3778. SPI2ABRG : longWord;
  3779. SPI2BRG : longWord;
  3780. SPI2ABRGCLR : longWord;
  3781. SPI2BRGCLR : longWord;
  3782. SPI2ABRGSET : longWord;
  3783. SPI2BRGSET : longWord;
  3784. SPI2ABRGINV : longWord;
  3785. SPI2BRGINV : longWord;
  3786. end;
  3787. TSPI3A_SPI3ACON = record
  3788. private
  3789. function getCKE : TBits_1; inline;
  3790. function getCKP : TBits_1; inline;
  3791. function getDISSDO : TBits_1; inline;
  3792. function getENHBUF : TBits_1; inline;
  3793. function getFRMCNT : TBits_3; inline;
  3794. function getFRMEN : TBits_1; inline;
  3795. function getFRMPOL : TBits_1; inline;
  3796. function getFRMSYNC : TBits_1; inline;
  3797. function getFRMSYPW : TBits_1; inline;
  3798. function getMODE16 : TBits_1; inline;
  3799. function getMODE32 : TBits_1; inline;
  3800. function getMSSEN : TBits_1; inline;
  3801. function getMSTEN : TBits_1; inline;
  3802. function getON : TBits_1; inline;
  3803. function getSIDL : TBits_1; inline;
  3804. function getSMP : TBits_1; inline;
  3805. function getSPIFE : TBits_1; inline;
  3806. function getSRXISEL : TBits_2; inline;
  3807. function getSSEN : TBits_1; inline;
  3808. function getSTXISEL : TBits_2; inline;
  3809. function getw : TBits_32; inline;
  3810. procedure setCKE(thebits : TBits_1); inline;
  3811. procedure setCKP(thebits : TBits_1); inline;
  3812. procedure setDISSDO(thebits : TBits_1); inline;
  3813. procedure setENHBUF(thebits : TBits_1); inline;
  3814. procedure setFRMCNT(thebits : TBits_3); inline;
  3815. procedure setFRMEN(thebits : TBits_1); inline;
  3816. procedure setFRMPOL(thebits : TBits_1); inline;
  3817. procedure setFRMSYNC(thebits : TBits_1); inline;
  3818. procedure setFRMSYPW(thebits : TBits_1); inline;
  3819. procedure setMODE16(thebits : TBits_1); inline;
  3820. procedure setMODE32(thebits : TBits_1); inline;
  3821. procedure setMSSEN(thebits : TBits_1); inline;
  3822. procedure setMSTEN(thebits : TBits_1); inline;
  3823. procedure setON(thebits : TBits_1); inline;
  3824. procedure setSIDL(thebits : TBits_1); inline;
  3825. procedure setSMP(thebits : TBits_1); inline;
  3826. procedure setSPIFE(thebits : TBits_1); inline;
  3827. procedure setSRXISEL(thebits : TBits_2); inline;
  3828. procedure setSSEN(thebits : TBits_1); inline;
  3829. procedure setSTXISEL(thebits : TBits_2); inline;
  3830. procedure setw(thebits : TBits_32); inline;
  3831. public
  3832. procedure clearCKE; inline;
  3833. procedure clearCKP; inline;
  3834. procedure clearDISSDO; inline;
  3835. procedure clearENHBUF; inline;
  3836. procedure clearFRMEN; inline;
  3837. procedure clearFRMPOL; inline;
  3838. procedure clearFRMSYNC; inline;
  3839. procedure clearFRMSYPW; inline;
  3840. procedure clearMODE16; inline;
  3841. procedure clearMODE32; inline;
  3842. procedure clearMSSEN; inline;
  3843. procedure clearMSTEN; inline;
  3844. procedure clearON; inline;
  3845. procedure clearSIDL; inline;
  3846. procedure clearSMP; inline;
  3847. procedure clearSPIFE; inline;
  3848. procedure clearSSEN; inline;
  3849. procedure setCKE; inline;
  3850. procedure setCKP; inline;
  3851. procedure setDISSDO; inline;
  3852. procedure setENHBUF; inline;
  3853. procedure setFRMEN; inline;
  3854. procedure setFRMPOL; inline;
  3855. procedure setFRMSYNC; inline;
  3856. procedure setFRMSYPW; inline;
  3857. procedure setMODE16; inline;
  3858. procedure setMODE32; inline;
  3859. procedure setMSSEN; inline;
  3860. procedure setMSTEN; inline;
  3861. procedure setON; inline;
  3862. procedure setSIDL; inline;
  3863. procedure setSMP; inline;
  3864. procedure setSPIFE; inline;
  3865. procedure setSSEN; inline;
  3866. property CKE : TBits_1 read getCKE write setCKE;
  3867. property CKP : TBits_1 read getCKP write setCKP;
  3868. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3869. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3870. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3871. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3872. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3873. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3874. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3875. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3876. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3877. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3878. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3879. property ON : TBits_1 read getON write setON;
  3880. property SIDL : TBits_1 read getSIDL write setSIDL;
  3881. property SMP : TBits_1 read getSMP write setSMP;
  3882. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3883. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3884. property SSEN : TBits_1 read getSSEN write setSSEN;
  3885. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TSPI3A_SPI4CON = record
  3889. private
  3890. function getCKE : TBits_1; inline;
  3891. function getCKP : TBits_1; inline;
  3892. function getDISSDO : TBits_1; inline;
  3893. function getENHBUF : TBits_1; inline;
  3894. function getFRMCNT : TBits_3; inline;
  3895. function getFRMEN : TBits_1; inline;
  3896. function getFRMPOL : TBits_1; inline;
  3897. function getFRMSYNC : TBits_1; inline;
  3898. function getFRMSYPW : TBits_1; inline;
  3899. function getMODE16 : TBits_1; inline;
  3900. function getMODE32 : TBits_1; inline;
  3901. function getMSSEN : TBits_1; inline;
  3902. function getMSTEN : TBits_1; inline;
  3903. function getON : TBits_1; inline;
  3904. function getSIDL : TBits_1; inline;
  3905. function getSMP : TBits_1; inline;
  3906. function getSPIFE : TBits_1; inline;
  3907. function getSRXISEL : TBits_2; inline;
  3908. function getSSEN : TBits_1; inline;
  3909. function getSTXISEL : TBits_2; inline;
  3910. function getw : TBits_32; inline;
  3911. procedure setCKE(thebits : TBits_1); inline;
  3912. procedure setCKP(thebits : TBits_1); inline;
  3913. procedure setDISSDO(thebits : TBits_1); inline;
  3914. procedure setENHBUF(thebits : TBits_1); inline;
  3915. procedure setFRMCNT(thebits : TBits_3); inline;
  3916. procedure setFRMEN(thebits : TBits_1); inline;
  3917. procedure setFRMPOL(thebits : TBits_1); inline;
  3918. procedure setFRMSYNC(thebits : TBits_1); inline;
  3919. procedure setFRMSYPW(thebits : TBits_1); inline;
  3920. procedure setMODE16(thebits : TBits_1); inline;
  3921. procedure setMODE32(thebits : TBits_1); inline;
  3922. procedure setMSSEN(thebits : TBits_1); inline;
  3923. procedure setMSTEN(thebits : TBits_1); inline;
  3924. procedure setON(thebits : TBits_1); inline;
  3925. procedure setSIDL(thebits : TBits_1); inline;
  3926. procedure setSMP(thebits : TBits_1); inline;
  3927. procedure setSPIFE(thebits : TBits_1); inline;
  3928. procedure setSRXISEL(thebits : TBits_2); inline;
  3929. procedure setSSEN(thebits : TBits_1); inline;
  3930. procedure setSTXISEL(thebits : TBits_2); inline;
  3931. procedure setw(thebits : TBits_32); inline;
  3932. public
  3933. procedure clearCKE; inline;
  3934. procedure clearCKP; inline;
  3935. procedure clearDISSDO; inline;
  3936. procedure clearENHBUF; inline;
  3937. procedure clearFRMEN; inline;
  3938. procedure clearFRMPOL; inline;
  3939. procedure clearFRMSYNC; inline;
  3940. procedure clearFRMSYPW; inline;
  3941. procedure clearMODE16; inline;
  3942. procedure clearMODE32; inline;
  3943. procedure clearMSSEN; inline;
  3944. procedure clearMSTEN; inline;
  3945. procedure clearON; inline;
  3946. procedure clearSIDL; inline;
  3947. procedure clearSMP; inline;
  3948. procedure clearSPIFE; inline;
  3949. procedure clearSSEN; inline;
  3950. procedure setCKE; inline;
  3951. procedure setCKP; inline;
  3952. procedure setDISSDO; inline;
  3953. procedure setENHBUF; inline;
  3954. procedure setFRMEN; inline;
  3955. procedure setFRMPOL; inline;
  3956. procedure setFRMSYNC; inline;
  3957. procedure setFRMSYPW; inline;
  3958. procedure setMODE16; inline;
  3959. procedure setMODE32; inline;
  3960. procedure setMSSEN; inline;
  3961. procedure setMSTEN; inline;
  3962. procedure setON; inline;
  3963. procedure setSIDL; inline;
  3964. procedure setSMP; inline;
  3965. procedure setSPIFE; inline;
  3966. procedure setSSEN; inline;
  3967. property CKE : TBits_1 read getCKE write setCKE;
  3968. property CKP : TBits_1 read getCKP write setCKP;
  3969. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3970. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3971. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3972. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3973. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3974. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3975. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3976. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3977. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3978. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3979. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3980. property ON : TBits_1 read getON write setON;
  3981. property SIDL : TBits_1 read getSIDL write setSIDL;
  3982. property SMP : TBits_1 read getSMP write setSMP;
  3983. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3984. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3985. property SSEN : TBits_1 read getSSEN write setSSEN;
  3986. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3987. property w : TBits_32 read getw write setw;
  3988. end;
  3989. TSPI3A_SPI3ASTAT = record
  3990. private
  3991. function getRXBUFELM : TBits_5; inline;
  3992. function getSPIBUSY : TBits_1; inline;
  3993. function getSPIRBE : TBits_1; inline;
  3994. function getSPIRBF : TBits_1; inline;
  3995. function getSPIROV : TBits_1; inline;
  3996. function getSPITBE : TBits_1; inline;
  3997. function getSPITBF : TBits_1; inline;
  3998. function getSPITUR : TBits_1; inline;
  3999. function getSRMT : TBits_1; inline;
  4000. function getTXBUFELM : TBits_5; inline;
  4001. function getw : TBits_32; inline;
  4002. procedure setRXBUFELM(thebits : TBits_5); inline;
  4003. procedure setSPIBUSY(thebits : TBits_1); inline;
  4004. procedure setSPIRBE(thebits : TBits_1); inline;
  4005. procedure setSPIRBF(thebits : TBits_1); inline;
  4006. procedure setSPIROV(thebits : TBits_1); inline;
  4007. procedure setSPITBE(thebits : TBits_1); inline;
  4008. procedure setSPITBF(thebits : TBits_1); inline;
  4009. procedure setSPITUR(thebits : TBits_1); inline;
  4010. procedure setSRMT(thebits : TBits_1); inline;
  4011. procedure setTXBUFELM(thebits : TBits_5); inline;
  4012. procedure setw(thebits : TBits_32); inline;
  4013. public
  4014. procedure clearSPIBUSY; inline;
  4015. procedure clearSPIRBE; inline;
  4016. procedure clearSPIRBF; inline;
  4017. procedure clearSPIROV; inline;
  4018. procedure clearSPITBE; inline;
  4019. procedure clearSPITBF; inline;
  4020. procedure clearSPITUR; inline;
  4021. procedure clearSRMT; inline;
  4022. procedure setSPIBUSY; inline;
  4023. procedure setSPIRBE; inline;
  4024. procedure setSPIRBF; inline;
  4025. procedure setSPIROV; inline;
  4026. procedure setSPITBE; inline;
  4027. procedure setSPITBF; inline;
  4028. procedure setSPITUR; inline;
  4029. procedure setSRMT; inline;
  4030. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  4031. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  4032. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  4033. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  4034. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  4035. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  4036. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  4037. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  4038. property SRMT : TBits_1 read getSRMT write setSRMT;
  4039. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  4040. property w : TBits_32 read getw write setw;
  4041. end;
  4042. TSPI3A_SPI4STAT = record
  4043. private
  4044. function getRXBUFELM : TBits_5; inline;
  4045. function getSPIBUSY : TBits_1; inline;
  4046. function getSPIRBE : TBits_1; inline;
  4047. function getSPIRBF : TBits_1; inline;
  4048. function getSPIROV : TBits_1; inline;
  4049. function getSPITBE : TBits_1; inline;
  4050. function getSPITBF : TBits_1; inline;
  4051. function getSPITUR : TBits_1; inline;
  4052. function getSRMT : TBits_1; inline;
  4053. function getTXBUFELM : TBits_5; inline;
  4054. function getw : TBits_32; inline;
  4055. procedure setRXBUFELM(thebits : TBits_5); inline;
  4056. procedure setSPIBUSY(thebits : TBits_1); inline;
  4057. procedure setSPIRBE(thebits : TBits_1); inline;
  4058. procedure setSPIRBF(thebits : TBits_1); inline;
  4059. procedure setSPIROV(thebits : TBits_1); inline;
  4060. procedure setSPITBE(thebits : TBits_1); inline;
  4061. procedure setSPITBF(thebits : TBits_1); inline;
  4062. procedure setSPITUR(thebits : TBits_1); inline;
  4063. procedure setSRMT(thebits : TBits_1); inline;
  4064. procedure setTXBUFELM(thebits : TBits_5); inline;
  4065. procedure setw(thebits : TBits_32); inline;
  4066. public
  4067. procedure clearSPIBUSY; inline;
  4068. procedure clearSPIRBE; inline;
  4069. procedure clearSPIRBF; inline;
  4070. procedure clearSPIROV; inline;
  4071. procedure clearSPITBE; inline;
  4072. procedure clearSPITBF; inline;
  4073. procedure clearSPITUR; inline;
  4074. procedure clearSRMT; inline;
  4075. procedure setSPIBUSY; inline;
  4076. procedure setSPIRBE; inline;
  4077. procedure setSPIRBF; inline;
  4078. procedure setSPIROV; inline;
  4079. procedure setSPITBE; inline;
  4080. procedure setSPITBF; inline;
  4081. procedure setSPITUR; inline;
  4082. procedure setSRMT; inline;
  4083. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  4084. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  4085. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  4086. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  4087. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  4088. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  4089. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  4090. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  4091. property SRMT : TBits_1 read getSRMT write setSRMT;
  4092. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  4093. property w : TBits_32 read getw write setw;
  4094. end;
  4095. type
  4096. TSPI3ARegisters = record
  4097. SPI3ACONbits : TSPI3A_SPI3ACON;
  4098. SPI3ACON : longWord;
  4099. SPI4CONbits : TSPI3A_SPI4CON;
  4100. SPI4CON : longWord;
  4101. SPI3ACONCLR : longWord;
  4102. SPI4CONCLR : longWord;
  4103. SPI3ACONSET : longWord;
  4104. SPI4CONSET : longWord;
  4105. SPI3ACONINV : longWord;
  4106. SPI4CONINV : longWord;
  4107. SPI3ASTATbits : TSPI3A_SPI3ASTAT;
  4108. SPI3ASTAT : longWord;
  4109. SPI4STATbits : TSPI3A_SPI4STAT;
  4110. SPI4STAT : longWord;
  4111. SPI3ASTATCLR : longWord;
  4112. SPI4STATCLR : longWord;
  4113. SPI3ASTATSET : longWord;
  4114. SPI4STATSET : longWord;
  4115. SPI3ASTATINV : longWord;
  4116. SPI4STATINV : longWord;
  4117. SPI3ABUF : longWord;
  4118. SPI4BUF : longWord;
  4119. SPI3ABRG : longWord;
  4120. SPI4BRG : longWord;
  4121. SPI3ABRGCLR : longWord;
  4122. SPI4BRGCLR : longWord;
  4123. SPI3ABRGSET : longWord;
  4124. SPI4BRGSET : longWord;
  4125. SPI3ABRGINV : longWord;
  4126. SPI4BRGINV : longWord;
  4127. end;
  4128. TSPI1_SPI1CON = record
  4129. private
  4130. function getCKE : TBits_1; inline;
  4131. function getCKP : TBits_1; inline;
  4132. function getDISSDO : TBits_1; inline;
  4133. function getENHBUF : TBits_1; inline;
  4134. function getFRMCNT : TBits_3; inline;
  4135. function getFRMEN : TBits_1; inline;
  4136. function getFRMPOL : TBits_1; inline;
  4137. function getFRMSYNC : TBits_1; inline;
  4138. function getFRMSYPW : TBits_1; inline;
  4139. function getMODE16 : TBits_1; inline;
  4140. function getMODE32 : TBits_1; inline;
  4141. function getMSSEN : TBits_1; inline;
  4142. function getMSTEN : TBits_1; inline;
  4143. function getON : TBits_1; inline;
  4144. function getSIDL : TBits_1; inline;
  4145. function getSMP : TBits_1; inline;
  4146. function getSPIFE : TBits_1; inline;
  4147. function getSRXISEL : TBits_2; inline;
  4148. function getSSEN : TBits_1; inline;
  4149. function getSTXISEL : TBits_2; inline;
  4150. function getw : TBits_32; inline;
  4151. procedure setCKE(thebits : TBits_1); inline;
  4152. procedure setCKP(thebits : TBits_1); inline;
  4153. procedure setDISSDO(thebits : TBits_1); inline;
  4154. procedure setENHBUF(thebits : TBits_1); inline;
  4155. procedure setFRMCNT(thebits : TBits_3); inline;
  4156. procedure setFRMEN(thebits : TBits_1); inline;
  4157. procedure setFRMPOL(thebits : TBits_1); inline;
  4158. procedure setFRMSYNC(thebits : TBits_1); inline;
  4159. procedure setFRMSYPW(thebits : TBits_1); inline;
  4160. procedure setMODE16(thebits : TBits_1); inline;
  4161. procedure setMODE32(thebits : TBits_1); inline;
  4162. procedure setMSSEN(thebits : TBits_1); inline;
  4163. procedure setMSTEN(thebits : TBits_1); inline;
  4164. procedure setON(thebits : TBits_1); inline;
  4165. procedure setSIDL(thebits : TBits_1); inline;
  4166. procedure setSMP(thebits : TBits_1); inline;
  4167. procedure setSPIFE(thebits : TBits_1); inline;
  4168. procedure setSRXISEL(thebits : TBits_2); inline;
  4169. procedure setSSEN(thebits : TBits_1); inline;
  4170. procedure setSTXISEL(thebits : TBits_2); inline;
  4171. procedure setw(thebits : TBits_32); inline;
  4172. public
  4173. procedure clearCKE; inline;
  4174. procedure clearCKP; inline;
  4175. procedure clearDISSDO; inline;
  4176. procedure clearENHBUF; inline;
  4177. procedure clearFRMEN; inline;
  4178. procedure clearFRMPOL; inline;
  4179. procedure clearFRMSYNC; inline;
  4180. procedure clearFRMSYPW; inline;
  4181. procedure clearMODE16; inline;
  4182. procedure clearMODE32; inline;
  4183. procedure clearMSSEN; inline;
  4184. procedure clearMSTEN; inline;
  4185. procedure clearON; inline;
  4186. procedure clearSIDL; inline;
  4187. procedure clearSMP; inline;
  4188. procedure clearSPIFE; inline;
  4189. procedure clearSSEN; inline;
  4190. procedure setCKE; inline;
  4191. procedure setCKP; inline;
  4192. procedure setDISSDO; inline;
  4193. procedure setENHBUF; inline;
  4194. procedure setFRMEN; inline;
  4195. procedure setFRMPOL; inline;
  4196. procedure setFRMSYNC; inline;
  4197. procedure setFRMSYPW; inline;
  4198. procedure setMODE16; inline;
  4199. procedure setMODE32; inline;
  4200. procedure setMSSEN; inline;
  4201. procedure setMSTEN; inline;
  4202. procedure setON; inline;
  4203. procedure setSIDL; inline;
  4204. procedure setSMP; inline;
  4205. procedure setSPIFE; inline;
  4206. procedure setSSEN; inline;
  4207. property CKE : TBits_1 read getCKE write setCKE;
  4208. property CKP : TBits_1 read getCKP write setCKP;
  4209. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  4210. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  4211. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  4212. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  4213. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  4214. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  4215. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  4216. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  4217. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  4218. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  4219. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  4220. property ON : TBits_1 read getON write setON;
  4221. property SIDL : TBits_1 read getSIDL write setSIDL;
  4222. property SMP : TBits_1 read getSMP write setSMP;
  4223. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  4224. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  4225. property SSEN : TBits_1 read getSSEN write setSSEN;
  4226. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  4227. property w : TBits_32 read getw write setw;
  4228. end;
  4229. TSPI1_SPI1STAT = record
  4230. private
  4231. function getRXBUFELM : TBits_5; inline;
  4232. function getSPIBUSY : TBits_1; inline;
  4233. function getSPIRBE : TBits_1; inline;
  4234. function getSPIRBF : TBits_1; inline;
  4235. function getSPIROV : TBits_1; inline;
  4236. function getSPITBE : TBits_1; inline;
  4237. function getSPITBF : TBits_1; inline;
  4238. function getSPITUR : TBits_1; inline;
  4239. function getSRMT : TBits_1; inline;
  4240. function getTXBUFELM : TBits_5; inline;
  4241. function getw : TBits_32; inline;
  4242. procedure setRXBUFELM(thebits : TBits_5); inline;
  4243. procedure setSPIBUSY(thebits : TBits_1); inline;
  4244. procedure setSPIRBE(thebits : TBits_1); inline;
  4245. procedure setSPIRBF(thebits : TBits_1); inline;
  4246. procedure setSPIROV(thebits : TBits_1); inline;
  4247. procedure setSPITBE(thebits : TBits_1); inline;
  4248. procedure setSPITBF(thebits : TBits_1); inline;
  4249. procedure setSPITUR(thebits : TBits_1); inline;
  4250. procedure setSRMT(thebits : TBits_1); inline;
  4251. procedure setTXBUFELM(thebits : TBits_5); inline;
  4252. procedure setw(thebits : TBits_32); inline;
  4253. public
  4254. procedure clearSPIBUSY; inline;
  4255. procedure clearSPIRBE; inline;
  4256. procedure clearSPIRBF; inline;
  4257. procedure clearSPIROV; inline;
  4258. procedure clearSPITBE; inline;
  4259. procedure clearSPITBF; inline;
  4260. procedure clearSPITUR; inline;
  4261. procedure clearSRMT; inline;
  4262. procedure setSPIBUSY; inline;
  4263. procedure setSPIRBE; inline;
  4264. procedure setSPIRBF; inline;
  4265. procedure setSPIROV; inline;
  4266. procedure setSPITBE; inline;
  4267. procedure setSPITBF; inline;
  4268. procedure setSPITUR; inline;
  4269. procedure setSRMT; inline;
  4270. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  4271. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  4272. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  4273. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  4274. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  4275. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  4276. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  4277. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  4278. property SRMT : TBits_1 read getSRMT write setSRMT;
  4279. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  4280. property w : TBits_32 read getw write setw;
  4281. end;
  4282. type
  4283. TSPI1Registers = record
  4284. SPI1CONbits : TSPI1_SPI1CON;
  4285. SPI1CON : longWord;
  4286. SPI1CONCLR : longWord;
  4287. SPI1CONSET : longWord;
  4288. SPI1CONINV : longWord;
  4289. SPI1STATbits : TSPI1_SPI1STAT;
  4290. SPI1STAT : longWord;
  4291. SPI1STATCLR : longWord;
  4292. SPI1STATSET : longWord;
  4293. SPI1STATINV : longWord;
  4294. SPI1BUF : longWord;
  4295. SPI1BRG : longWord;
  4296. SPI1BRGCLR : longWord;
  4297. SPI1BRGSET : longWord;
  4298. SPI1BRGINV : longWord;
  4299. end;
  4300. TUART1A_U1AMODE = record
  4301. private
  4302. function getABAUD : TBits_1; inline;
  4303. function getBRGH : TBits_1; inline;
  4304. function getIREN : TBits_1; inline;
  4305. function getLPBACK : TBits_1; inline;
  4306. function getON : TBits_1; inline;
  4307. function getPDSEL : TBits_2; inline;
  4308. function getPDSEL0 : TBits_1; inline;
  4309. function getPDSEL1 : TBits_1; inline;
  4310. function getRTSMD : TBits_1; inline;
  4311. function getRXINV : TBits_1; inline;
  4312. function getSIDL : TBits_1; inline;
  4313. function getSTSEL : TBits_1; inline;
  4314. function getUARTEN : TBits_1; inline;
  4315. function getUEN : TBits_2; inline;
  4316. function getUEN0 : TBits_1; inline;
  4317. function getUEN1 : TBits_1; inline;
  4318. function getUSIDL : TBits_1; inline;
  4319. function getWAKE : TBits_1; inline;
  4320. function getw : TBits_32; inline;
  4321. procedure setABAUD(thebits : TBits_1); inline;
  4322. procedure setBRGH(thebits : TBits_1); inline;
  4323. procedure setIREN(thebits : TBits_1); inline;
  4324. procedure setLPBACK(thebits : TBits_1); inline;
  4325. procedure setON(thebits : TBits_1); inline;
  4326. procedure setPDSEL(thebits : TBits_2); inline;
  4327. procedure setPDSEL0(thebits : TBits_1); inline;
  4328. procedure setPDSEL1(thebits : TBits_1); inline;
  4329. procedure setRTSMD(thebits : TBits_1); inline;
  4330. procedure setRXINV(thebits : TBits_1); inline;
  4331. procedure setSIDL(thebits : TBits_1); inline;
  4332. procedure setSTSEL(thebits : TBits_1); inline;
  4333. procedure setUARTEN(thebits : TBits_1); inline;
  4334. procedure setUEN(thebits : TBits_2); inline;
  4335. procedure setUEN0(thebits : TBits_1); inline;
  4336. procedure setUEN1(thebits : TBits_1); inline;
  4337. procedure setUSIDL(thebits : TBits_1); inline;
  4338. procedure setWAKE(thebits : TBits_1); inline;
  4339. procedure setw(thebits : TBits_32); inline;
  4340. public
  4341. procedure clearABAUD; inline;
  4342. procedure clearBRGH; inline;
  4343. procedure clearIREN; inline;
  4344. procedure clearLPBACK; inline;
  4345. procedure clearON; inline;
  4346. procedure clearPDSEL0; inline;
  4347. procedure clearPDSEL1; inline;
  4348. procedure clearRTSMD; inline;
  4349. procedure clearRXINV; inline;
  4350. procedure clearSIDL; inline;
  4351. procedure clearSTSEL; inline;
  4352. procedure clearUARTEN; inline;
  4353. procedure clearUEN0; inline;
  4354. procedure clearUEN1; inline;
  4355. procedure clearUSIDL; inline;
  4356. procedure clearWAKE; inline;
  4357. procedure setABAUD; inline;
  4358. procedure setBRGH; inline;
  4359. procedure setIREN; inline;
  4360. procedure setLPBACK; inline;
  4361. procedure setON; inline;
  4362. procedure setPDSEL0; inline;
  4363. procedure setPDSEL1; inline;
  4364. procedure setRTSMD; inline;
  4365. procedure setRXINV; inline;
  4366. procedure setSIDL; inline;
  4367. procedure setSTSEL; inline;
  4368. procedure setUARTEN; inline;
  4369. procedure setUEN0; inline;
  4370. procedure setUEN1; inline;
  4371. procedure setUSIDL; inline;
  4372. procedure setWAKE; inline;
  4373. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4374. property BRGH : TBits_1 read getBRGH write setBRGH;
  4375. property IREN : TBits_1 read getIREN write setIREN;
  4376. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4377. property ON : TBits_1 read getON write setON;
  4378. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4379. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4380. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4381. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4382. property RXINV : TBits_1 read getRXINV write setRXINV;
  4383. property SIDL : TBits_1 read getSIDL write setSIDL;
  4384. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4385. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4386. property UEN : TBits_2 read getUEN write setUEN;
  4387. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4388. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4389. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4390. property WAKE : TBits_1 read getWAKE write setWAKE;
  4391. property w : TBits_32 read getw write setw;
  4392. end;
  4393. TUART1A_U1MODE = record
  4394. private
  4395. function getABAUD : TBits_1; inline;
  4396. function getBRGH : TBits_1; inline;
  4397. function getIREN : TBits_1; inline;
  4398. function getLPBACK : TBits_1; inline;
  4399. function getON : TBits_1; inline;
  4400. function getPDSEL : TBits_2; inline;
  4401. function getPDSEL0 : TBits_1; inline;
  4402. function getPDSEL1 : TBits_1; inline;
  4403. function getRTSMD : TBits_1; inline;
  4404. function getRXINV : TBits_1; inline;
  4405. function getSIDL : TBits_1; inline;
  4406. function getSTSEL : TBits_1; inline;
  4407. function getUARTEN : TBits_1; inline;
  4408. function getUEN : TBits_2; inline;
  4409. function getUEN0 : TBits_1; inline;
  4410. function getUEN1 : TBits_1; inline;
  4411. function getUSIDL : TBits_1; inline;
  4412. function getWAKE : TBits_1; inline;
  4413. function getw : TBits_32; inline;
  4414. procedure setABAUD(thebits : TBits_1); inline;
  4415. procedure setBRGH(thebits : TBits_1); inline;
  4416. procedure setIREN(thebits : TBits_1); inline;
  4417. procedure setLPBACK(thebits : TBits_1); inline;
  4418. procedure setON(thebits : TBits_1); inline;
  4419. procedure setPDSEL(thebits : TBits_2); inline;
  4420. procedure setPDSEL0(thebits : TBits_1); inline;
  4421. procedure setPDSEL1(thebits : TBits_1); inline;
  4422. procedure setRTSMD(thebits : TBits_1); inline;
  4423. procedure setRXINV(thebits : TBits_1); inline;
  4424. procedure setSIDL(thebits : TBits_1); inline;
  4425. procedure setSTSEL(thebits : TBits_1); inline;
  4426. procedure setUARTEN(thebits : TBits_1); inline;
  4427. procedure setUEN(thebits : TBits_2); inline;
  4428. procedure setUEN0(thebits : TBits_1); inline;
  4429. procedure setUEN1(thebits : TBits_1); inline;
  4430. procedure setUSIDL(thebits : TBits_1); inline;
  4431. procedure setWAKE(thebits : TBits_1); inline;
  4432. procedure setw(thebits : TBits_32); inline;
  4433. public
  4434. procedure clearABAUD; inline;
  4435. procedure clearBRGH; inline;
  4436. procedure clearIREN; inline;
  4437. procedure clearLPBACK; inline;
  4438. procedure clearON; inline;
  4439. procedure clearPDSEL0; inline;
  4440. procedure clearPDSEL1; inline;
  4441. procedure clearRTSMD; inline;
  4442. procedure clearRXINV; inline;
  4443. procedure clearSIDL; inline;
  4444. procedure clearSTSEL; inline;
  4445. procedure clearUARTEN; inline;
  4446. procedure clearUEN0; inline;
  4447. procedure clearUEN1; inline;
  4448. procedure clearUSIDL; inline;
  4449. procedure clearWAKE; inline;
  4450. procedure setABAUD; inline;
  4451. procedure setBRGH; inline;
  4452. procedure setIREN; inline;
  4453. procedure setLPBACK; inline;
  4454. procedure setON; inline;
  4455. procedure setPDSEL0; inline;
  4456. procedure setPDSEL1; inline;
  4457. procedure setRTSMD; inline;
  4458. procedure setRXINV; inline;
  4459. procedure setSIDL; inline;
  4460. procedure setSTSEL; inline;
  4461. procedure setUARTEN; inline;
  4462. procedure setUEN0; inline;
  4463. procedure setUEN1; inline;
  4464. procedure setUSIDL; inline;
  4465. procedure setWAKE; inline;
  4466. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4467. property BRGH : TBits_1 read getBRGH write setBRGH;
  4468. property IREN : TBits_1 read getIREN write setIREN;
  4469. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4470. property ON : TBits_1 read getON write setON;
  4471. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4472. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4473. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4474. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  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 UEN : TBits_2 read getUEN write setUEN;
  4480. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4481. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4482. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4483. property WAKE : TBits_1 read getWAKE write setWAKE;
  4484. property w : TBits_32 read getw write setw;
  4485. end;
  4486. TUART1A_U1ASTA = record
  4487. private
  4488. function getADDEN : TBits_1; inline;
  4489. function getADDR : TBits_8; inline;
  4490. function getADM_EN : TBits_1; inline;
  4491. function getFERR : TBits_1; inline;
  4492. function getOERR : TBits_1; inline;
  4493. function getPERR : TBits_1; inline;
  4494. function getRIDLE : TBits_1; inline;
  4495. function getTRMT : TBits_1; inline;
  4496. function getURXDA : TBits_1; inline;
  4497. function getURXEN : TBits_1; inline;
  4498. function getURXISEL : TBits_2; inline;
  4499. function getURXISEL0 : TBits_1; inline;
  4500. function getURXISEL1 : TBits_1; inline;
  4501. function getUTXBF : TBits_1; inline;
  4502. function getUTXBRK : TBits_1; inline;
  4503. function getUTXEN : TBits_1; inline;
  4504. function getUTXINV : TBits_1; inline;
  4505. function getUTXISEL : TBits_2; inline;
  4506. function getUTXISEL0 : TBits_1; inline;
  4507. function getUTXISEL1 : TBits_1; inline;
  4508. function getUTXSEL : TBits_2; inline;
  4509. function getw : TBits_32; inline;
  4510. procedure setADDEN(thebits : TBits_1); inline;
  4511. procedure setADDR(thebits : TBits_8); inline;
  4512. procedure setADM_EN(thebits : TBits_1); inline;
  4513. procedure setFERR(thebits : TBits_1); inline;
  4514. procedure setOERR(thebits : TBits_1); inline;
  4515. procedure setPERR(thebits : TBits_1); inline;
  4516. procedure setRIDLE(thebits : TBits_1); inline;
  4517. procedure setTRMT(thebits : TBits_1); inline;
  4518. procedure setURXDA(thebits : TBits_1); inline;
  4519. procedure setURXEN(thebits : TBits_1); inline;
  4520. procedure setURXISEL(thebits : TBits_2); inline;
  4521. procedure setURXISEL0(thebits : TBits_1); inline;
  4522. procedure setURXISEL1(thebits : TBits_1); inline;
  4523. procedure setUTXBF(thebits : TBits_1); inline;
  4524. procedure setUTXBRK(thebits : TBits_1); inline;
  4525. procedure setUTXEN(thebits : TBits_1); inline;
  4526. procedure setUTXINV(thebits : TBits_1); inline;
  4527. procedure setUTXISEL(thebits : TBits_2); inline;
  4528. procedure setUTXISEL0(thebits : TBits_1); inline;
  4529. procedure setUTXISEL1(thebits : TBits_1); inline;
  4530. procedure setUTXSEL(thebits : TBits_2); inline;
  4531. procedure setw(thebits : TBits_32); inline;
  4532. public
  4533. procedure clearADDEN; inline;
  4534. procedure clearADM_EN; inline;
  4535. procedure clearFERR; inline;
  4536. procedure clearOERR; inline;
  4537. procedure clearPERR; inline;
  4538. procedure clearRIDLE; inline;
  4539. procedure clearTRMT; inline;
  4540. procedure clearURXDA; inline;
  4541. procedure clearURXEN; inline;
  4542. procedure clearURXISEL0; inline;
  4543. procedure clearURXISEL1; inline;
  4544. procedure clearUTXBF; inline;
  4545. procedure clearUTXBRK; inline;
  4546. procedure clearUTXEN; inline;
  4547. procedure clearUTXINV; inline;
  4548. procedure clearUTXISEL0; inline;
  4549. procedure clearUTXISEL1; inline;
  4550. procedure setADDEN; inline;
  4551. procedure setADM_EN; inline;
  4552. procedure setFERR; inline;
  4553. procedure setOERR; inline;
  4554. procedure setPERR; inline;
  4555. procedure setRIDLE; inline;
  4556. procedure setTRMT; inline;
  4557. procedure setURXDA; inline;
  4558. procedure setURXEN; inline;
  4559. procedure setURXISEL0; inline;
  4560. procedure setURXISEL1; inline;
  4561. procedure setUTXBF; inline;
  4562. procedure setUTXBRK; inline;
  4563. procedure setUTXEN; inline;
  4564. procedure setUTXINV; inline;
  4565. procedure setUTXISEL0; inline;
  4566. procedure setUTXISEL1; inline;
  4567. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4568. property ADDR : TBits_8 read getADDR write setADDR;
  4569. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4570. property FERR : TBits_1 read getFERR write setFERR;
  4571. property OERR : TBits_1 read getOERR write setOERR;
  4572. property PERR : TBits_1 read getPERR write setPERR;
  4573. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4574. property TRMT : TBits_1 read getTRMT write setTRMT;
  4575. property URXDA : TBits_1 read getURXDA write setURXDA;
  4576. property URXEN : TBits_1 read getURXEN write setURXEN;
  4577. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4578. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4579. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4580. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4581. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4582. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4583. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4584. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4585. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4586. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4587. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4588. property w : TBits_32 read getw write setw;
  4589. end;
  4590. TUART1A_U1STA = record
  4591. private
  4592. function getADDEN : TBits_1; inline;
  4593. function getADDR : TBits_8; inline;
  4594. function getADM_EN : TBits_1; inline;
  4595. function getFERR : TBits_1; inline;
  4596. function getOERR : TBits_1; inline;
  4597. function getPERR : TBits_1; inline;
  4598. function getRIDLE : TBits_1; inline;
  4599. function getTRMT : TBits_1; inline;
  4600. function getURXDA : TBits_1; inline;
  4601. function getURXEN : TBits_1; inline;
  4602. function getURXISEL : TBits_2; inline;
  4603. function getURXISEL0 : TBits_1; inline;
  4604. function getURXISEL1 : TBits_1; inline;
  4605. function getUTXBF : TBits_1; inline;
  4606. function getUTXBRK : TBits_1; inline;
  4607. function getUTXEN : TBits_1; inline;
  4608. function getUTXINV : TBits_1; inline;
  4609. function getUTXISEL : TBits_2; inline;
  4610. function getUTXISEL0 : TBits_1; inline;
  4611. function getUTXISEL1 : TBits_1; inline;
  4612. function getUTXSEL : TBits_2; inline;
  4613. function getw : TBits_32; inline;
  4614. procedure setADDEN(thebits : TBits_1); inline;
  4615. procedure setADDR(thebits : TBits_8); inline;
  4616. procedure setADM_EN(thebits : TBits_1); inline;
  4617. procedure setFERR(thebits : TBits_1); inline;
  4618. procedure setOERR(thebits : TBits_1); inline;
  4619. procedure setPERR(thebits : TBits_1); inline;
  4620. procedure setRIDLE(thebits : TBits_1); inline;
  4621. procedure setTRMT(thebits : TBits_1); inline;
  4622. procedure setURXDA(thebits : TBits_1); inline;
  4623. procedure setURXEN(thebits : TBits_1); inline;
  4624. procedure setURXISEL(thebits : TBits_2); inline;
  4625. procedure setURXISEL0(thebits : TBits_1); inline;
  4626. procedure setURXISEL1(thebits : TBits_1); inline;
  4627. procedure setUTXBF(thebits : TBits_1); inline;
  4628. procedure setUTXBRK(thebits : TBits_1); inline;
  4629. procedure setUTXEN(thebits : TBits_1); inline;
  4630. procedure setUTXINV(thebits : TBits_1); inline;
  4631. procedure setUTXISEL(thebits : TBits_2); inline;
  4632. procedure setUTXISEL0(thebits : TBits_1); inline;
  4633. procedure setUTXISEL1(thebits : TBits_1); inline;
  4634. procedure setUTXSEL(thebits : TBits_2); inline;
  4635. procedure setw(thebits : TBits_32); inline;
  4636. public
  4637. procedure clearADDEN; inline;
  4638. procedure clearADM_EN; inline;
  4639. procedure clearFERR; inline;
  4640. procedure clearOERR; inline;
  4641. procedure clearPERR; inline;
  4642. procedure clearRIDLE; inline;
  4643. procedure clearTRMT; inline;
  4644. procedure clearURXDA; inline;
  4645. procedure clearURXEN; inline;
  4646. procedure clearURXISEL0; inline;
  4647. procedure clearURXISEL1; inline;
  4648. procedure clearUTXBF; inline;
  4649. procedure clearUTXBRK; inline;
  4650. procedure clearUTXEN; inline;
  4651. procedure clearUTXINV; inline;
  4652. procedure clearUTXISEL0; inline;
  4653. procedure clearUTXISEL1; inline;
  4654. procedure setADDEN; inline;
  4655. procedure setADM_EN; inline;
  4656. procedure setFERR; inline;
  4657. procedure setOERR; inline;
  4658. procedure setPERR; inline;
  4659. procedure setRIDLE; inline;
  4660. procedure setTRMT; inline;
  4661. procedure setURXDA; inline;
  4662. procedure setURXEN; inline;
  4663. procedure setURXISEL0; inline;
  4664. procedure setURXISEL1; inline;
  4665. procedure setUTXBF; inline;
  4666. procedure setUTXBRK; inline;
  4667. procedure setUTXEN; inline;
  4668. procedure setUTXINV; inline;
  4669. procedure setUTXISEL0; inline;
  4670. procedure setUTXISEL1; inline;
  4671. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4672. property ADDR : TBits_8 read getADDR write setADDR;
  4673. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4674. property FERR : TBits_1 read getFERR write setFERR;
  4675. property OERR : TBits_1 read getOERR write setOERR;
  4676. property PERR : TBits_1 read getPERR write setPERR;
  4677. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4678. property TRMT : TBits_1 read getTRMT write setTRMT;
  4679. property URXDA : TBits_1 read getURXDA write setURXDA;
  4680. property URXEN : TBits_1 read getURXEN write setURXEN;
  4681. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4682. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4683. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4684. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4685. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4686. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4687. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4688. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4689. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4690. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4691. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4692. property w : TBits_32 read getw write setw;
  4693. end;
  4694. type
  4695. TUART1ARegisters = record
  4696. U1AMODEbits : TUART1A_U1AMODE;
  4697. U1AMODE : longWord;
  4698. U1MODEbits : TUART1A_U1MODE;
  4699. U1MODE : longWord;
  4700. U1AMODECLR : longWord;
  4701. U1MODECLR : longWord;
  4702. U1AMODESET : longWord;
  4703. U1MODESET : longWord;
  4704. U1AMODEINV : longWord;
  4705. U1MODEINV : longWord;
  4706. U1ASTAbits : TUART1A_U1ASTA;
  4707. U1ASTA : longWord;
  4708. U1STAbits : TUART1A_U1STA;
  4709. U1STA : longWord;
  4710. U1ASTACLR : longWord;
  4711. U1STACLR : longWord;
  4712. U1ASTASET : longWord;
  4713. U1STASET : longWord;
  4714. U1ASTAINV : longWord;
  4715. U1STAINV : longWord;
  4716. U1ATXREG : longWord;
  4717. U1TXREG : longWord;
  4718. U1ARXREG : longWord;
  4719. U1RXREG : longWord;
  4720. U1ABRG : longWord;
  4721. U1BRG : longWord;
  4722. U1ABRGCLR : longWord;
  4723. U1BRGCLR : longWord;
  4724. U1ABRGSET : longWord;
  4725. U1BRGSET : longWord;
  4726. U1ABRGINV : longWord;
  4727. U1BRGINV : longWord;
  4728. end;
  4729. TUART1B_U1BMODE = record
  4730. private
  4731. function getABAUD : TBits_1; inline;
  4732. function getBRGH : TBits_1; inline;
  4733. function getIREN : TBits_1; inline;
  4734. function getLPBACK : TBits_1; inline;
  4735. function getON : TBits_1; inline;
  4736. function getPDSEL : TBits_2; inline;
  4737. function getPDSEL0 : TBits_1; inline;
  4738. function getPDSEL1 : TBits_1; inline;
  4739. function getRXINV : TBits_1; inline;
  4740. function getSIDL : TBits_1; inline;
  4741. function getSTSEL : TBits_1; inline;
  4742. function getUARTEN : TBits_1; inline;
  4743. function getUSIDL : TBits_1; inline;
  4744. function getWAKE : TBits_1; inline;
  4745. function getw : TBits_32; inline;
  4746. procedure setABAUD(thebits : TBits_1); inline;
  4747. procedure setBRGH(thebits : TBits_1); inline;
  4748. procedure setIREN(thebits : TBits_1); inline;
  4749. procedure setLPBACK(thebits : TBits_1); inline;
  4750. procedure setON(thebits : TBits_1); inline;
  4751. procedure setPDSEL(thebits : TBits_2); inline;
  4752. procedure setPDSEL0(thebits : TBits_1); inline;
  4753. procedure setPDSEL1(thebits : TBits_1); inline;
  4754. procedure setRXINV(thebits : TBits_1); inline;
  4755. procedure setSIDL(thebits : TBits_1); inline;
  4756. procedure setSTSEL(thebits : TBits_1); inline;
  4757. procedure setUARTEN(thebits : TBits_1); inline;
  4758. procedure setUSIDL(thebits : TBits_1); inline;
  4759. procedure setWAKE(thebits : TBits_1); inline;
  4760. procedure setw(thebits : TBits_32); inline;
  4761. public
  4762. procedure clearABAUD; inline;
  4763. procedure clearBRGH; inline;
  4764. procedure clearIREN; inline;
  4765. procedure clearLPBACK; inline;
  4766. procedure clearON; inline;
  4767. procedure clearPDSEL0; inline;
  4768. procedure clearPDSEL1; inline;
  4769. procedure clearRXINV; inline;
  4770. procedure clearSIDL; inline;
  4771. procedure clearSTSEL; inline;
  4772. procedure clearUARTEN; inline;
  4773. procedure clearUSIDL; inline;
  4774. procedure clearWAKE; inline;
  4775. procedure setABAUD; inline;
  4776. procedure setBRGH; inline;
  4777. procedure setIREN; inline;
  4778. procedure setLPBACK; inline;
  4779. procedure setON; inline;
  4780. procedure setPDSEL0; inline;
  4781. procedure setPDSEL1; inline;
  4782. procedure setRXINV; inline;
  4783. procedure setSIDL; inline;
  4784. procedure setSTSEL; inline;
  4785. procedure setUARTEN; inline;
  4786. procedure setUSIDL; inline;
  4787. procedure setWAKE; inline;
  4788. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4789. property BRGH : TBits_1 read getBRGH write setBRGH;
  4790. property IREN : TBits_1 read getIREN write setIREN;
  4791. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4792. property ON : TBits_1 read getON write setON;
  4793. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4794. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4795. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4796. property RXINV : TBits_1 read getRXINV write setRXINV;
  4797. property SIDL : TBits_1 read getSIDL write setSIDL;
  4798. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4799. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4800. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4801. property WAKE : TBits_1 read getWAKE write setWAKE;
  4802. property w : TBits_32 read getw write setw;
  4803. end;
  4804. TUART1B_U4MODE = record
  4805. private
  4806. function getABAUD : TBits_1; inline;
  4807. function getBRGH : TBits_1; inline;
  4808. function getIREN : TBits_1; inline;
  4809. function getLPBACK : TBits_1; inline;
  4810. function getON : TBits_1; inline;
  4811. function getPDSEL : TBits_2; inline;
  4812. function getPDSEL0 : TBits_1; inline;
  4813. function getPDSEL1 : TBits_1; inline;
  4814. function getRXINV : TBits_1; inline;
  4815. function getSIDL : TBits_1; inline;
  4816. function getSTSEL : TBits_1; inline;
  4817. function getUARTEN : TBits_1; inline;
  4818. function getUSIDL : TBits_1; inline;
  4819. function getWAKE : TBits_1; inline;
  4820. function getw : TBits_32; inline;
  4821. procedure setABAUD(thebits : TBits_1); inline;
  4822. procedure setBRGH(thebits : TBits_1); inline;
  4823. procedure setIREN(thebits : TBits_1); inline;
  4824. procedure setLPBACK(thebits : TBits_1); inline;
  4825. procedure setON(thebits : TBits_1); inline;
  4826. procedure setPDSEL(thebits : TBits_2); inline;
  4827. procedure setPDSEL0(thebits : TBits_1); inline;
  4828. procedure setPDSEL1(thebits : TBits_1); inline;
  4829. procedure setRXINV(thebits : TBits_1); inline;
  4830. procedure setSIDL(thebits : TBits_1); inline;
  4831. procedure setSTSEL(thebits : TBits_1); inline;
  4832. procedure setUARTEN(thebits : TBits_1); inline;
  4833. procedure setUSIDL(thebits : TBits_1); inline;
  4834. procedure setWAKE(thebits : TBits_1); inline;
  4835. procedure setw(thebits : TBits_32); inline;
  4836. public
  4837. procedure clearABAUD; inline;
  4838. procedure clearBRGH; inline;
  4839. procedure clearIREN; inline;
  4840. procedure clearLPBACK; inline;
  4841. procedure clearON; inline;
  4842. procedure clearPDSEL0; inline;
  4843. procedure clearPDSEL1; inline;
  4844. procedure clearRXINV; inline;
  4845. procedure clearSIDL; inline;
  4846. procedure clearSTSEL; inline;
  4847. procedure clearUARTEN; inline;
  4848. procedure clearUSIDL; inline;
  4849. procedure clearWAKE; inline;
  4850. procedure setABAUD; inline;
  4851. procedure setBRGH; inline;
  4852. procedure setIREN; inline;
  4853. procedure setLPBACK; inline;
  4854. procedure setON; inline;
  4855. procedure setPDSEL0; inline;
  4856. procedure setPDSEL1; inline;
  4857. procedure setRXINV; inline;
  4858. procedure setSIDL; inline;
  4859. procedure setSTSEL; inline;
  4860. procedure setUARTEN; inline;
  4861. procedure setUSIDL; inline;
  4862. procedure setWAKE; inline;
  4863. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4864. property BRGH : TBits_1 read getBRGH write setBRGH;
  4865. property IREN : TBits_1 read getIREN write setIREN;
  4866. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4867. property ON : TBits_1 read getON write setON;
  4868. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4869. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4870. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4871. property RXINV : TBits_1 read getRXINV write setRXINV;
  4872. property SIDL : TBits_1 read getSIDL write setSIDL;
  4873. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4874. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4875. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4876. property WAKE : TBits_1 read getWAKE write setWAKE;
  4877. property w : TBits_32 read getw write setw;
  4878. end;
  4879. TUART1B_U1BSTA = record
  4880. private
  4881. function getADDEN : TBits_1; inline;
  4882. function getADDR : TBits_8; inline;
  4883. function getADM_EN : TBits_1; inline;
  4884. function getFERR : TBits_1; inline;
  4885. function getOERR : TBits_1; inline;
  4886. function getPERR : TBits_1; inline;
  4887. function getRIDLE : TBits_1; inline;
  4888. function getTRMT : TBits_1; inline;
  4889. function getURXDA : TBits_1; inline;
  4890. function getURXEN : TBits_1; inline;
  4891. function getURXISEL : TBits_2; inline;
  4892. function getURXISEL0 : TBits_1; inline;
  4893. function getURXISEL1 : TBits_1; inline;
  4894. function getUTXBF : TBits_1; inline;
  4895. function getUTXBRK : TBits_1; inline;
  4896. function getUTXEN : TBits_1; inline;
  4897. function getUTXINV : TBits_1; inline;
  4898. function getUTXISEL : TBits_2; inline;
  4899. function getUTXISEL0 : TBits_1; inline;
  4900. function getUTXISEL1 : TBits_1; inline;
  4901. function getUTXSEL : TBits_2; inline;
  4902. function getw : TBits_32; inline;
  4903. procedure setADDEN(thebits : TBits_1); inline;
  4904. procedure setADDR(thebits : TBits_8); inline;
  4905. procedure setADM_EN(thebits : TBits_1); inline;
  4906. procedure setFERR(thebits : TBits_1); inline;
  4907. procedure setOERR(thebits : TBits_1); inline;
  4908. procedure setPERR(thebits : TBits_1); inline;
  4909. procedure setRIDLE(thebits : TBits_1); inline;
  4910. procedure setTRMT(thebits : TBits_1); inline;
  4911. procedure setURXDA(thebits : TBits_1); inline;
  4912. procedure setURXEN(thebits : TBits_1); inline;
  4913. procedure setURXISEL(thebits : TBits_2); inline;
  4914. procedure setURXISEL0(thebits : TBits_1); inline;
  4915. procedure setURXISEL1(thebits : TBits_1); inline;
  4916. procedure setUTXBF(thebits : TBits_1); inline;
  4917. procedure setUTXBRK(thebits : TBits_1); inline;
  4918. procedure setUTXEN(thebits : TBits_1); inline;
  4919. procedure setUTXINV(thebits : TBits_1); inline;
  4920. procedure setUTXISEL(thebits : TBits_2); inline;
  4921. procedure setUTXISEL0(thebits : TBits_1); inline;
  4922. procedure setUTXISEL1(thebits : TBits_1); inline;
  4923. procedure setUTXSEL(thebits : TBits_2); inline;
  4924. procedure setw(thebits : TBits_32); inline;
  4925. public
  4926. procedure clearADDEN; inline;
  4927. procedure clearADM_EN; inline;
  4928. procedure clearFERR; inline;
  4929. procedure clearOERR; inline;
  4930. procedure clearPERR; inline;
  4931. procedure clearRIDLE; inline;
  4932. procedure clearTRMT; inline;
  4933. procedure clearURXDA; inline;
  4934. procedure clearURXEN; inline;
  4935. procedure clearURXISEL0; inline;
  4936. procedure clearURXISEL1; inline;
  4937. procedure clearUTXBF; inline;
  4938. procedure clearUTXBRK; inline;
  4939. procedure clearUTXEN; inline;
  4940. procedure clearUTXINV; inline;
  4941. procedure clearUTXISEL0; inline;
  4942. procedure clearUTXISEL1; inline;
  4943. procedure setADDEN; inline;
  4944. procedure setADM_EN; inline;
  4945. procedure setFERR; inline;
  4946. procedure setOERR; inline;
  4947. procedure setPERR; inline;
  4948. procedure setRIDLE; inline;
  4949. procedure setTRMT; inline;
  4950. procedure setURXDA; inline;
  4951. procedure setURXEN; inline;
  4952. procedure setURXISEL0; inline;
  4953. procedure setURXISEL1; inline;
  4954. procedure setUTXBF; inline;
  4955. procedure setUTXBRK; inline;
  4956. procedure setUTXEN; inline;
  4957. procedure setUTXINV; inline;
  4958. procedure setUTXISEL0; inline;
  4959. procedure setUTXISEL1; inline;
  4960. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4961. property ADDR : TBits_8 read getADDR write setADDR;
  4962. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4963. property FERR : TBits_1 read getFERR write setFERR;
  4964. property OERR : TBits_1 read getOERR write setOERR;
  4965. property PERR : TBits_1 read getPERR write setPERR;
  4966. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4967. property TRMT : TBits_1 read getTRMT write setTRMT;
  4968. property URXDA : TBits_1 read getURXDA write setURXDA;
  4969. property URXEN : TBits_1 read getURXEN write setURXEN;
  4970. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4971. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4972. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4973. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4974. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4975. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4976. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4977. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4978. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4979. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4980. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4981. property w : TBits_32 read getw write setw;
  4982. end;
  4983. TUART1B_U4STA = record
  4984. private
  4985. function getADDEN : TBits_1; inline;
  4986. function getADDR : TBits_8; inline;
  4987. function getADM_EN : TBits_1; inline;
  4988. function getFERR : TBits_1; inline;
  4989. function getOERR : TBits_1; inline;
  4990. function getPERR : TBits_1; inline;
  4991. function getRIDLE : TBits_1; inline;
  4992. function getTRMT : TBits_1; inline;
  4993. function getURXDA : TBits_1; inline;
  4994. function getURXEN : TBits_1; inline;
  4995. function getURXISEL : TBits_2; inline;
  4996. function getURXISEL0 : TBits_1; inline;
  4997. function getURXISEL1 : TBits_1; inline;
  4998. function getUTXBF : TBits_1; inline;
  4999. function getUTXBRK : TBits_1; inline;
  5000. function getUTXEN : TBits_1; inline;
  5001. function getUTXINV : TBits_1; inline;
  5002. function getUTXISEL : TBits_2; inline;
  5003. function getUTXISEL0 : TBits_1; inline;
  5004. function getUTXISEL1 : TBits_1; inline;
  5005. function getUTXSEL : TBits_2; inline;
  5006. function getw : TBits_32; inline;
  5007. procedure setADDEN(thebits : TBits_1); inline;
  5008. procedure setADDR(thebits : TBits_8); inline;
  5009. procedure setADM_EN(thebits : TBits_1); inline;
  5010. procedure setFERR(thebits : TBits_1); inline;
  5011. procedure setOERR(thebits : TBits_1); inline;
  5012. procedure setPERR(thebits : TBits_1); inline;
  5013. procedure setRIDLE(thebits : TBits_1); inline;
  5014. procedure setTRMT(thebits : TBits_1); inline;
  5015. procedure setURXDA(thebits : TBits_1); inline;
  5016. procedure setURXEN(thebits : TBits_1); inline;
  5017. procedure setURXISEL(thebits : TBits_2); inline;
  5018. procedure setURXISEL0(thebits : TBits_1); inline;
  5019. procedure setURXISEL1(thebits : TBits_1); inline;
  5020. procedure setUTXBF(thebits : TBits_1); inline;
  5021. procedure setUTXBRK(thebits : TBits_1); inline;
  5022. procedure setUTXEN(thebits : TBits_1); inline;
  5023. procedure setUTXINV(thebits : TBits_1); inline;
  5024. procedure setUTXISEL(thebits : TBits_2); inline;
  5025. procedure setUTXISEL0(thebits : TBits_1); inline;
  5026. procedure setUTXISEL1(thebits : TBits_1); inline;
  5027. procedure setUTXSEL(thebits : TBits_2); inline;
  5028. procedure setw(thebits : TBits_32); inline;
  5029. public
  5030. procedure clearADDEN; inline;
  5031. procedure clearADM_EN; inline;
  5032. procedure clearFERR; inline;
  5033. procedure clearOERR; inline;
  5034. procedure clearPERR; inline;
  5035. procedure clearRIDLE; inline;
  5036. procedure clearTRMT; inline;
  5037. procedure clearURXDA; inline;
  5038. procedure clearURXEN; inline;
  5039. procedure clearURXISEL0; inline;
  5040. procedure clearURXISEL1; inline;
  5041. procedure clearUTXBF; inline;
  5042. procedure clearUTXBRK; inline;
  5043. procedure clearUTXEN; inline;
  5044. procedure clearUTXINV; inline;
  5045. procedure clearUTXISEL0; inline;
  5046. procedure clearUTXISEL1; inline;
  5047. procedure setADDEN; inline;
  5048. procedure setADM_EN; inline;
  5049. procedure setFERR; inline;
  5050. procedure setOERR; inline;
  5051. procedure setPERR; inline;
  5052. procedure setRIDLE; inline;
  5053. procedure setTRMT; inline;
  5054. procedure setURXDA; inline;
  5055. procedure setURXEN; inline;
  5056. procedure setURXISEL0; inline;
  5057. procedure setURXISEL1; inline;
  5058. procedure setUTXBF; inline;
  5059. procedure setUTXBRK; inline;
  5060. procedure setUTXEN; inline;
  5061. procedure setUTXINV; inline;
  5062. procedure setUTXISEL0; inline;
  5063. procedure setUTXISEL1; inline;
  5064. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5065. property ADDR : TBits_8 read getADDR write setADDR;
  5066. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5067. property FERR : TBits_1 read getFERR write setFERR;
  5068. property OERR : TBits_1 read getOERR write setOERR;
  5069. property PERR : TBits_1 read getPERR write setPERR;
  5070. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5071. property TRMT : TBits_1 read getTRMT write setTRMT;
  5072. property URXDA : TBits_1 read getURXDA write setURXDA;
  5073. property URXEN : TBits_1 read getURXEN write setURXEN;
  5074. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5075. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5076. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5077. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5078. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5079. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5080. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5081. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5082. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5083. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5084. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5085. property w : TBits_32 read getw write setw;
  5086. end;
  5087. type
  5088. TUART1BRegisters = record
  5089. U1BMODEbits : TUART1B_U1BMODE;
  5090. U1BMODE : longWord;
  5091. U4MODEbits : TUART1B_U4MODE;
  5092. U4MODE : longWord;
  5093. U1BMODECLR : longWord;
  5094. U4MODECLR : longWord;
  5095. U1BMODESET : longWord;
  5096. U4MODESET : longWord;
  5097. U1BMODEINV : longWord;
  5098. U4MODEINV : longWord;
  5099. U1BSTAbits : TUART1B_U1BSTA;
  5100. U1BSTA : longWord;
  5101. U4STAbits : TUART1B_U4STA;
  5102. U4STA : longWord;
  5103. U1BSTACLR : longWord;
  5104. U4STACLR : longWord;
  5105. U1BSTASET : longWord;
  5106. U4STASET : longWord;
  5107. U1BSTAINV : longWord;
  5108. U4STAINV : longWord;
  5109. U1BTXREG : longWord;
  5110. U4TXREG : longWord;
  5111. U1BRXREG : longWord;
  5112. U4RXREG : longWord;
  5113. U1BBRG : longWord;
  5114. U4BRG : longWord;
  5115. U1BBRGCLR : longWord;
  5116. U4BRGCLR : longWord;
  5117. U1BBRGSET : longWord;
  5118. U4BRGSET : longWord;
  5119. U1BBRGINV : longWord;
  5120. U4BRGINV : longWord;
  5121. end;
  5122. TUART2A_U2AMODE = record
  5123. private
  5124. function getABAUD : TBits_1; inline;
  5125. function getBRGH : TBits_1; inline;
  5126. function getIREN : TBits_1; inline;
  5127. function getLPBACK : TBits_1; inline;
  5128. function getON : TBits_1; inline;
  5129. function getPDSEL : TBits_2; inline;
  5130. function getPDSEL0 : TBits_1; inline;
  5131. function getPDSEL1 : TBits_1; inline;
  5132. function getRTSMD : TBits_1; inline;
  5133. function getRXINV : TBits_1; inline;
  5134. function getSIDL : TBits_1; inline;
  5135. function getSTSEL : TBits_1; inline;
  5136. function getUARTEN : TBits_1; inline;
  5137. function getUEN : TBits_2; inline;
  5138. function getUEN0 : TBits_1; inline;
  5139. function getUEN1 : TBits_1; inline;
  5140. function getUSIDL : TBits_1; inline;
  5141. function getWAKE : TBits_1; inline;
  5142. function getw : TBits_32; inline;
  5143. procedure setABAUD(thebits : TBits_1); inline;
  5144. procedure setBRGH(thebits : TBits_1); inline;
  5145. procedure setIREN(thebits : TBits_1); inline;
  5146. procedure setLPBACK(thebits : TBits_1); inline;
  5147. procedure setON(thebits : TBits_1); inline;
  5148. procedure setPDSEL(thebits : TBits_2); inline;
  5149. procedure setPDSEL0(thebits : TBits_1); inline;
  5150. procedure setPDSEL1(thebits : TBits_1); inline;
  5151. procedure setRTSMD(thebits : TBits_1); inline;
  5152. procedure setRXINV(thebits : TBits_1); inline;
  5153. procedure setSIDL(thebits : TBits_1); inline;
  5154. procedure setSTSEL(thebits : TBits_1); inline;
  5155. procedure setUARTEN(thebits : TBits_1); inline;
  5156. procedure setUEN(thebits : TBits_2); inline;
  5157. procedure setUEN0(thebits : TBits_1); inline;
  5158. procedure setUEN1(thebits : TBits_1); inline;
  5159. procedure setUSIDL(thebits : TBits_1); inline;
  5160. procedure setWAKE(thebits : TBits_1); inline;
  5161. procedure setw(thebits : TBits_32); inline;
  5162. public
  5163. procedure clearABAUD; inline;
  5164. procedure clearBRGH; inline;
  5165. procedure clearIREN; inline;
  5166. procedure clearLPBACK; inline;
  5167. procedure clearON; inline;
  5168. procedure clearPDSEL0; inline;
  5169. procedure clearPDSEL1; inline;
  5170. procedure clearRTSMD; inline;
  5171. procedure clearRXINV; inline;
  5172. procedure clearSIDL; inline;
  5173. procedure clearSTSEL; inline;
  5174. procedure clearUARTEN; inline;
  5175. procedure clearUEN0; inline;
  5176. procedure clearUEN1; inline;
  5177. procedure clearUSIDL; inline;
  5178. procedure clearWAKE; inline;
  5179. procedure setABAUD; inline;
  5180. procedure setBRGH; inline;
  5181. procedure setIREN; inline;
  5182. procedure setLPBACK; inline;
  5183. procedure setON; inline;
  5184. procedure setPDSEL0; inline;
  5185. procedure setPDSEL1; inline;
  5186. procedure setRTSMD; inline;
  5187. procedure setRXINV; inline;
  5188. procedure setSIDL; inline;
  5189. procedure setSTSEL; inline;
  5190. procedure setUARTEN; inline;
  5191. procedure setUEN0; inline;
  5192. procedure setUEN1; inline;
  5193. procedure setUSIDL; inline;
  5194. procedure setWAKE; inline;
  5195. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5196. property BRGH : TBits_1 read getBRGH write setBRGH;
  5197. property IREN : TBits_1 read getIREN write setIREN;
  5198. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5199. property ON : TBits_1 read getON write setON;
  5200. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5201. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5202. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5203. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  5204. property RXINV : TBits_1 read getRXINV write setRXINV;
  5205. property SIDL : TBits_1 read getSIDL write setSIDL;
  5206. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5207. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5208. property UEN : TBits_2 read getUEN write setUEN;
  5209. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  5210. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  5211. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5212. property WAKE : TBits_1 read getWAKE write setWAKE;
  5213. property w : TBits_32 read getw write setw;
  5214. end;
  5215. TUART2A_U3MODE = record
  5216. private
  5217. function getABAUD : TBits_1; inline;
  5218. function getBRGH : TBits_1; inline;
  5219. function getIREN : TBits_1; inline;
  5220. function getLPBACK : TBits_1; inline;
  5221. function getON : TBits_1; inline;
  5222. function getPDSEL : TBits_2; inline;
  5223. function getPDSEL0 : TBits_1; inline;
  5224. function getPDSEL1 : TBits_1; inline;
  5225. function getRTSMD : TBits_1; inline;
  5226. function getRXINV : TBits_1; inline;
  5227. function getSIDL : TBits_1; inline;
  5228. function getSTSEL : TBits_1; inline;
  5229. function getUARTEN : TBits_1; inline;
  5230. function getUEN : TBits_2; inline;
  5231. function getUEN0 : TBits_1; inline;
  5232. function getUEN1 : TBits_1; inline;
  5233. function getUSIDL : TBits_1; inline;
  5234. function getWAKE : TBits_1; inline;
  5235. function getw : TBits_32; inline;
  5236. procedure setABAUD(thebits : TBits_1); inline;
  5237. procedure setBRGH(thebits : TBits_1); inline;
  5238. procedure setIREN(thebits : TBits_1); inline;
  5239. procedure setLPBACK(thebits : TBits_1); inline;
  5240. procedure setON(thebits : TBits_1); inline;
  5241. procedure setPDSEL(thebits : TBits_2); inline;
  5242. procedure setPDSEL0(thebits : TBits_1); inline;
  5243. procedure setPDSEL1(thebits : TBits_1); inline;
  5244. procedure setRTSMD(thebits : TBits_1); inline;
  5245. procedure setRXINV(thebits : TBits_1); inline;
  5246. procedure setSIDL(thebits : TBits_1); inline;
  5247. procedure setSTSEL(thebits : TBits_1); inline;
  5248. procedure setUARTEN(thebits : TBits_1); inline;
  5249. procedure setUEN(thebits : TBits_2); inline;
  5250. procedure setUEN0(thebits : TBits_1); inline;
  5251. procedure setUEN1(thebits : TBits_1); inline;
  5252. procedure setUSIDL(thebits : TBits_1); inline;
  5253. procedure setWAKE(thebits : TBits_1); inline;
  5254. procedure setw(thebits : TBits_32); inline;
  5255. public
  5256. procedure clearABAUD; inline;
  5257. procedure clearBRGH; inline;
  5258. procedure clearIREN; inline;
  5259. procedure clearLPBACK; inline;
  5260. procedure clearON; inline;
  5261. procedure clearPDSEL0; inline;
  5262. procedure clearPDSEL1; inline;
  5263. procedure clearRTSMD; inline;
  5264. procedure clearRXINV; inline;
  5265. procedure clearSIDL; inline;
  5266. procedure clearSTSEL; inline;
  5267. procedure clearUARTEN; inline;
  5268. procedure clearUEN0; inline;
  5269. procedure clearUEN1; inline;
  5270. procedure clearUSIDL; inline;
  5271. procedure clearWAKE; inline;
  5272. procedure setABAUD; inline;
  5273. procedure setBRGH; inline;
  5274. procedure setIREN; inline;
  5275. procedure setLPBACK; inline;
  5276. procedure setON; inline;
  5277. procedure setPDSEL0; inline;
  5278. procedure setPDSEL1; inline;
  5279. procedure setRTSMD; inline;
  5280. procedure setRXINV; inline;
  5281. procedure setSIDL; inline;
  5282. procedure setSTSEL; inline;
  5283. procedure setUARTEN; inline;
  5284. procedure setUEN0; inline;
  5285. procedure setUEN1; inline;
  5286. procedure setUSIDL; inline;
  5287. procedure setWAKE; inline;
  5288. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5289. property BRGH : TBits_1 read getBRGH write setBRGH;
  5290. property IREN : TBits_1 read getIREN write setIREN;
  5291. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5292. property ON : TBits_1 read getON write setON;
  5293. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5294. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5295. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5296. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  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 UEN : TBits_2 read getUEN write setUEN;
  5302. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  5303. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  5304. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5305. property WAKE : TBits_1 read getWAKE write setWAKE;
  5306. property w : TBits_32 read getw write setw;
  5307. end;
  5308. TUART2A_U2ASTA = record
  5309. private
  5310. function getADDEN : TBits_1; inline;
  5311. function getADDR : TBits_8; inline;
  5312. function getADM_EN : TBits_1; inline;
  5313. function getFERR : TBits_1; inline;
  5314. function getOERR : TBits_1; inline;
  5315. function getPERR : TBits_1; inline;
  5316. function getRIDLE : TBits_1; inline;
  5317. function getTRMT : TBits_1; inline;
  5318. function getURXDA : TBits_1; inline;
  5319. function getURXEN : TBits_1; inline;
  5320. function getURXISEL : TBits_2; inline;
  5321. function getURXISEL0 : TBits_1; inline;
  5322. function getURXISEL1 : TBits_1; inline;
  5323. function getUTXBF : TBits_1; inline;
  5324. function getUTXBRK : TBits_1; inline;
  5325. function getUTXEN : TBits_1; inline;
  5326. function getUTXINV : TBits_1; inline;
  5327. function getUTXISEL : TBits_2; inline;
  5328. function getUTXISEL0 : TBits_1; inline;
  5329. function getUTXISEL1 : TBits_1; inline;
  5330. function getUTXSEL : TBits_2; inline;
  5331. function getw : TBits_32; inline;
  5332. procedure setADDEN(thebits : TBits_1); inline;
  5333. procedure setADDR(thebits : TBits_8); inline;
  5334. procedure setADM_EN(thebits : TBits_1); inline;
  5335. procedure setFERR(thebits : TBits_1); inline;
  5336. procedure setOERR(thebits : TBits_1); inline;
  5337. procedure setPERR(thebits : TBits_1); inline;
  5338. procedure setRIDLE(thebits : TBits_1); inline;
  5339. procedure setTRMT(thebits : TBits_1); inline;
  5340. procedure setURXDA(thebits : TBits_1); inline;
  5341. procedure setURXEN(thebits : TBits_1); inline;
  5342. procedure setURXISEL(thebits : TBits_2); inline;
  5343. procedure setURXISEL0(thebits : TBits_1); inline;
  5344. procedure setURXISEL1(thebits : TBits_1); inline;
  5345. procedure setUTXBF(thebits : TBits_1); inline;
  5346. procedure setUTXBRK(thebits : TBits_1); inline;
  5347. procedure setUTXEN(thebits : TBits_1); inline;
  5348. procedure setUTXINV(thebits : TBits_1); inline;
  5349. procedure setUTXISEL(thebits : TBits_2); inline;
  5350. procedure setUTXISEL0(thebits : TBits_1); inline;
  5351. procedure setUTXISEL1(thebits : TBits_1); inline;
  5352. procedure setUTXSEL(thebits : TBits_2); inline;
  5353. procedure setw(thebits : TBits_32); inline;
  5354. public
  5355. procedure clearADDEN; inline;
  5356. procedure clearADM_EN; inline;
  5357. procedure clearFERR; inline;
  5358. procedure clearOERR; inline;
  5359. procedure clearPERR; inline;
  5360. procedure clearRIDLE; inline;
  5361. procedure clearTRMT; inline;
  5362. procedure clearURXDA; inline;
  5363. procedure clearURXEN; inline;
  5364. procedure clearURXISEL0; inline;
  5365. procedure clearURXISEL1; inline;
  5366. procedure clearUTXBF; inline;
  5367. procedure clearUTXBRK; inline;
  5368. procedure clearUTXEN; inline;
  5369. procedure clearUTXINV; inline;
  5370. procedure clearUTXISEL0; inline;
  5371. procedure clearUTXISEL1; inline;
  5372. procedure setADDEN; inline;
  5373. procedure setADM_EN; inline;
  5374. procedure setFERR; inline;
  5375. procedure setOERR; inline;
  5376. procedure setPERR; inline;
  5377. procedure setRIDLE; inline;
  5378. procedure setTRMT; inline;
  5379. procedure setURXDA; inline;
  5380. procedure setURXEN; inline;
  5381. procedure setURXISEL0; inline;
  5382. procedure setURXISEL1; inline;
  5383. procedure setUTXBF; inline;
  5384. procedure setUTXBRK; inline;
  5385. procedure setUTXEN; inline;
  5386. procedure setUTXINV; inline;
  5387. procedure setUTXISEL0; inline;
  5388. procedure setUTXISEL1; inline;
  5389. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5390. property ADDR : TBits_8 read getADDR write setADDR;
  5391. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5392. property FERR : TBits_1 read getFERR write setFERR;
  5393. property OERR : TBits_1 read getOERR write setOERR;
  5394. property PERR : TBits_1 read getPERR write setPERR;
  5395. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5396. property TRMT : TBits_1 read getTRMT write setTRMT;
  5397. property URXDA : TBits_1 read getURXDA write setURXDA;
  5398. property URXEN : TBits_1 read getURXEN write setURXEN;
  5399. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5400. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5401. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5402. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5403. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5404. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5405. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5406. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5407. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5408. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5409. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5410. property w : TBits_32 read getw write setw;
  5411. end;
  5412. TUART2A_U3STA = record
  5413. private
  5414. function getADDEN : TBits_1; inline;
  5415. function getADDR : TBits_8; inline;
  5416. function getADM_EN : TBits_1; inline;
  5417. function getFERR : TBits_1; inline;
  5418. function getOERR : TBits_1; inline;
  5419. function getPERR : TBits_1; inline;
  5420. function getRIDLE : TBits_1; inline;
  5421. function getTRMT : TBits_1; inline;
  5422. function getURXDA : TBits_1; inline;
  5423. function getURXEN : TBits_1; inline;
  5424. function getURXISEL : TBits_2; inline;
  5425. function getURXISEL0 : TBits_1; inline;
  5426. function getURXISEL1 : TBits_1; inline;
  5427. function getUTXBF : TBits_1; inline;
  5428. function getUTXBRK : TBits_1; inline;
  5429. function getUTXEN : TBits_1; inline;
  5430. function getUTXINV : TBits_1; inline;
  5431. function getUTXISEL : TBits_2; inline;
  5432. function getUTXISEL0 : TBits_1; inline;
  5433. function getUTXISEL1 : TBits_1; inline;
  5434. function getUTXSEL : TBits_2; inline;
  5435. function getw : TBits_32; inline;
  5436. procedure setADDEN(thebits : TBits_1); inline;
  5437. procedure setADDR(thebits : TBits_8); inline;
  5438. procedure setADM_EN(thebits : TBits_1); inline;
  5439. procedure setFERR(thebits : TBits_1); inline;
  5440. procedure setOERR(thebits : TBits_1); inline;
  5441. procedure setPERR(thebits : TBits_1); inline;
  5442. procedure setRIDLE(thebits : TBits_1); inline;
  5443. procedure setTRMT(thebits : TBits_1); inline;
  5444. procedure setURXDA(thebits : TBits_1); inline;
  5445. procedure setURXEN(thebits : TBits_1); inline;
  5446. procedure setURXISEL(thebits : TBits_2); inline;
  5447. procedure setURXISEL0(thebits : TBits_1); inline;
  5448. procedure setURXISEL1(thebits : TBits_1); inline;
  5449. procedure setUTXBF(thebits : TBits_1); inline;
  5450. procedure setUTXBRK(thebits : TBits_1); inline;
  5451. procedure setUTXEN(thebits : TBits_1); inline;
  5452. procedure setUTXINV(thebits : TBits_1); inline;
  5453. procedure setUTXISEL(thebits : TBits_2); inline;
  5454. procedure setUTXISEL0(thebits : TBits_1); inline;
  5455. procedure setUTXISEL1(thebits : TBits_1); inline;
  5456. procedure setUTXSEL(thebits : TBits_2); inline;
  5457. procedure setw(thebits : TBits_32); inline;
  5458. public
  5459. procedure clearADDEN; inline;
  5460. procedure clearADM_EN; inline;
  5461. procedure clearFERR; inline;
  5462. procedure clearOERR; inline;
  5463. procedure clearPERR; inline;
  5464. procedure clearRIDLE; inline;
  5465. procedure clearTRMT; inline;
  5466. procedure clearURXDA; inline;
  5467. procedure clearURXEN; inline;
  5468. procedure clearURXISEL0; inline;
  5469. procedure clearURXISEL1; inline;
  5470. procedure clearUTXBF; inline;
  5471. procedure clearUTXBRK; inline;
  5472. procedure clearUTXEN; inline;
  5473. procedure clearUTXINV; inline;
  5474. procedure clearUTXISEL0; inline;
  5475. procedure clearUTXISEL1; inline;
  5476. procedure setADDEN; inline;
  5477. procedure setADM_EN; inline;
  5478. procedure setFERR; inline;
  5479. procedure setOERR; inline;
  5480. procedure setPERR; inline;
  5481. procedure setRIDLE; inline;
  5482. procedure setTRMT; inline;
  5483. procedure setURXDA; inline;
  5484. procedure setURXEN; inline;
  5485. procedure setURXISEL0; inline;
  5486. procedure setURXISEL1; inline;
  5487. procedure setUTXBF; inline;
  5488. procedure setUTXBRK; inline;
  5489. procedure setUTXEN; inline;
  5490. procedure setUTXINV; inline;
  5491. procedure setUTXISEL0; inline;
  5492. procedure setUTXISEL1; inline;
  5493. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5494. property ADDR : TBits_8 read getADDR write setADDR;
  5495. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5496. property FERR : TBits_1 read getFERR write setFERR;
  5497. property OERR : TBits_1 read getOERR write setOERR;
  5498. property PERR : TBits_1 read getPERR write setPERR;
  5499. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5500. property TRMT : TBits_1 read getTRMT write setTRMT;
  5501. property URXDA : TBits_1 read getURXDA write setURXDA;
  5502. property URXEN : TBits_1 read getURXEN write setURXEN;
  5503. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5504. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5505. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5506. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5507. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5508. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5509. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5510. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5511. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5512. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5513. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5514. property w : TBits_32 read getw write setw;
  5515. end;
  5516. type
  5517. TUART2ARegisters = record
  5518. U2AMODEbits : TUART2A_U2AMODE;
  5519. U2AMODE : longWord;
  5520. U3MODEbits : TUART2A_U3MODE;
  5521. U3MODE : longWord;
  5522. U2AMODECLR : longWord;
  5523. U3MODECLR : longWord;
  5524. U2AMODESET : longWord;
  5525. U3MODESET : longWord;
  5526. U2AMODEINV : longWord;
  5527. U3MODEINV : longWord;
  5528. U2ASTAbits : TUART2A_U2ASTA;
  5529. U2ASTA : longWord;
  5530. U3STAbits : TUART2A_U3STA;
  5531. U3STA : longWord;
  5532. U2ASTACLR : longWord;
  5533. U3STACLR : longWord;
  5534. U2ASTASET : longWord;
  5535. U3STASET : longWord;
  5536. U2ASTAINV : longWord;
  5537. U3STAINV : longWord;
  5538. U2ATXREG : longWord;
  5539. U3TXREG : longWord;
  5540. U2ARXREG : longWord;
  5541. U3RXREG : longWord;
  5542. U2ABRG : longWord;
  5543. U3BRG : longWord;
  5544. U2ABRGCLR : longWord;
  5545. U3BRGCLR : longWord;
  5546. U2ABRGSET : longWord;
  5547. U3BRGSET : longWord;
  5548. U2ABRGINV : longWord;
  5549. U3BRGINV : longWord;
  5550. end;
  5551. TUART2B_U2BMODE = record
  5552. private
  5553. function getABAUD : TBits_1; inline;
  5554. function getBRGH : TBits_1; inline;
  5555. function getIREN : TBits_1; inline;
  5556. function getLPBACK : TBits_1; inline;
  5557. function getON : TBits_1; inline;
  5558. function getPDSEL : TBits_2; inline;
  5559. function getPDSEL0 : TBits_1; inline;
  5560. function getPDSEL1 : TBits_1; inline;
  5561. function getRXINV : TBits_1; inline;
  5562. function getSIDL : TBits_1; inline;
  5563. function getSTSEL : TBits_1; inline;
  5564. function getUARTEN : TBits_1; inline;
  5565. function getUSIDL : TBits_1; inline;
  5566. function getWAKE : TBits_1; inline;
  5567. function getw : TBits_32; inline;
  5568. procedure setABAUD(thebits : TBits_1); inline;
  5569. procedure setBRGH(thebits : TBits_1); inline;
  5570. procedure setIREN(thebits : TBits_1); inline;
  5571. procedure setLPBACK(thebits : TBits_1); inline;
  5572. procedure setON(thebits : TBits_1); inline;
  5573. procedure setPDSEL(thebits : TBits_2); inline;
  5574. procedure setPDSEL0(thebits : TBits_1); inline;
  5575. procedure setPDSEL1(thebits : TBits_1); inline;
  5576. procedure setRXINV(thebits : TBits_1); inline;
  5577. procedure setSIDL(thebits : TBits_1); inline;
  5578. procedure setSTSEL(thebits : TBits_1); inline;
  5579. procedure setUARTEN(thebits : TBits_1); inline;
  5580. procedure setUSIDL(thebits : TBits_1); inline;
  5581. procedure setWAKE(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearABAUD; inline;
  5585. procedure clearBRGH; inline;
  5586. procedure clearIREN; inline;
  5587. procedure clearLPBACK; inline;
  5588. procedure clearON; inline;
  5589. procedure clearPDSEL0; inline;
  5590. procedure clearPDSEL1; inline;
  5591. procedure clearRXINV; inline;
  5592. procedure clearSIDL; inline;
  5593. procedure clearSTSEL; inline;
  5594. procedure clearUARTEN; inline;
  5595. procedure clearUSIDL; inline;
  5596. procedure clearWAKE; inline;
  5597. procedure setABAUD; inline;
  5598. procedure setBRGH; inline;
  5599. procedure setIREN; inline;
  5600. procedure setLPBACK; inline;
  5601. procedure setON; inline;
  5602. procedure setPDSEL0; inline;
  5603. procedure setPDSEL1; inline;
  5604. procedure setRXINV; inline;
  5605. procedure setSIDL; inline;
  5606. procedure setSTSEL; inline;
  5607. procedure setUARTEN; inline;
  5608. procedure setUSIDL; inline;
  5609. procedure setWAKE; inline;
  5610. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5611. property BRGH : TBits_1 read getBRGH write setBRGH;
  5612. property IREN : TBits_1 read getIREN write setIREN;
  5613. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5614. property ON : TBits_1 read getON write setON;
  5615. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5616. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5617. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5618. property RXINV : TBits_1 read getRXINV write setRXINV;
  5619. property SIDL : TBits_1 read getSIDL write setSIDL;
  5620. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5621. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5622. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5623. property WAKE : TBits_1 read getWAKE write setWAKE;
  5624. property w : TBits_32 read getw write setw;
  5625. end;
  5626. TUART2B_U6MODE = record
  5627. private
  5628. function getABAUD : TBits_1; inline;
  5629. function getBRGH : TBits_1; inline;
  5630. function getIREN : TBits_1; inline;
  5631. function getLPBACK : TBits_1; inline;
  5632. function getON : TBits_1; inline;
  5633. function getPDSEL : TBits_2; inline;
  5634. function getPDSEL0 : TBits_1; inline;
  5635. function getPDSEL1 : TBits_1; inline;
  5636. function getRXINV : TBits_1; inline;
  5637. function getSIDL : TBits_1; inline;
  5638. function getSTSEL : TBits_1; inline;
  5639. function getUARTEN : TBits_1; inline;
  5640. function getUSIDL : TBits_1; inline;
  5641. function getWAKE : TBits_1; inline;
  5642. function getw : TBits_32; inline;
  5643. procedure setABAUD(thebits : TBits_1); inline;
  5644. procedure setBRGH(thebits : TBits_1); inline;
  5645. procedure setIREN(thebits : TBits_1); inline;
  5646. procedure setLPBACK(thebits : TBits_1); inline;
  5647. procedure setON(thebits : TBits_1); inline;
  5648. procedure setPDSEL(thebits : TBits_2); inline;
  5649. procedure setPDSEL0(thebits : TBits_1); inline;
  5650. procedure setPDSEL1(thebits : TBits_1); inline;
  5651. procedure setRXINV(thebits : TBits_1); inline;
  5652. procedure setSIDL(thebits : TBits_1); inline;
  5653. procedure setSTSEL(thebits : TBits_1); inline;
  5654. procedure setUARTEN(thebits : TBits_1); inline;
  5655. procedure setUSIDL(thebits : TBits_1); inline;
  5656. procedure setWAKE(thebits : TBits_1); inline;
  5657. procedure setw(thebits : TBits_32); inline;
  5658. public
  5659. procedure clearABAUD; inline;
  5660. procedure clearBRGH; inline;
  5661. procedure clearIREN; inline;
  5662. procedure clearLPBACK; inline;
  5663. procedure clearON; inline;
  5664. procedure clearPDSEL0; inline;
  5665. procedure clearPDSEL1; inline;
  5666. procedure clearRXINV; inline;
  5667. procedure clearSIDL; inline;
  5668. procedure clearSTSEL; inline;
  5669. procedure clearUARTEN; inline;
  5670. procedure clearUSIDL; inline;
  5671. procedure clearWAKE; inline;
  5672. procedure setABAUD; inline;
  5673. procedure setBRGH; inline;
  5674. procedure setIREN; inline;
  5675. procedure setLPBACK; inline;
  5676. procedure setON; inline;
  5677. procedure setPDSEL0; inline;
  5678. procedure setPDSEL1; inline;
  5679. procedure setRXINV; inline;
  5680. procedure setSIDL; inline;
  5681. procedure setSTSEL; inline;
  5682. procedure setUARTEN; inline;
  5683. procedure setUSIDL; inline;
  5684. procedure setWAKE; inline;
  5685. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5686. property BRGH : TBits_1 read getBRGH write setBRGH;
  5687. property IREN : TBits_1 read getIREN write setIREN;
  5688. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5689. property ON : TBits_1 read getON write setON;
  5690. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5691. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5692. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5693. property RXINV : TBits_1 read getRXINV write setRXINV;
  5694. property SIDL : TBits_1 read getSIDL write setSIDL;
  5695. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5696. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5697. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5698. property WAKE : TBits_1 read getWAKE write setWAKE;
  5699. property w : TBits_32 read getw write setw;
  5700. end;
  5701. TUART2B_U2BSTA = record
  5702. private
  5703. function getADDEN : TBits_1; inline;
  5704. function getADDR : TBits_8; inline;
  5705. function getADM_EN : TBits_1; inline;
  5706. function getFERR : TBits_1; inline;
  5707. function getOERR : TBits_1; inline;
  5708. function getPERR : TBits_1; inline;
  5709. function getRIDLE : TBits_1; inline;
  5710. function getTRMT : TBits_1; inline;
  5711. function getURXDA : TBits_1; inline;
  5712. function getURXEN : TBits_1; inline;
  5713. function getURXISEL : TBits_2; inline;
  5714. function getURXISEL0 : TBits_1; inline;
  5715. function getURXISEL1 : TBits_1; inline;
  5716. function getUTXBF : TBits_1; inline;
  5717. function getUTXBRK : TBits_1; inline;
  5718. function getUTXEN : TBits_1; inline;
  5719. function getUTXINV : TBits_1; inline;
  5720. function getUTXISEL : TBits_2; inline;
  5721. function getUTXISEL0 : TBits_1; inline;
  5722. function getUTXISEL1 : TBits_1; inline;
  5723. function getUTXSEL : TBits_2; inline;
  5724. function getw : TBits_32; inline;
  5725. procedure setADDEN(thebits : TBits_1); inline;
  5726. procedure setADDR(thebits : TBits_8); inline;
  5727. procedure setADM_EN(thebits : TBits_1); inline;
  5728. procedure setFERR(thebits : TBits_1); inline;
  5729. procedure setOERR(thebits : TBits_1); inline;
  5730. procedure setPERR(thebits : TBits_1); inline;
  5731. procedure setRIDLE(thebits : TBits_1); inline;
  5732. procedure setTRMT(thebits : TBits_1); inline;
  5733. procedure setURXDA(thebits : TBits_1); inline;
  5734. procedure setURXEN(thebits : TBits_1); inline;
  5735. procedure setURXISEL(thebits : TBits_2); inline;
  5736. procedure setURXISEL0(thebits : TBits_1); inline;
  5737. procedure setURXISEL1(thebits : TBits_1); inline;
  5738. procedure setUTXBF(thebits : TBits_1); inline;
  5739. procedure setUTXBRK(thebits : TBits_1); inline;
  5740. procedure setUTXEN(thebits : TBits_1); inline;
  5741. procedure setUTXINV(thebits : TBits_1); inline;
  5742. procedure setUTXISEL(thebits : TBits_2); inline;
  5743. procedure setUTXISEL0(thebits : TBits_1); inline;
  5744. procedure setUTXISEL1(thebits : TBits_1); inline;
  5745. procedure setUTXSEL(thebits : TBits_2); inline;
  5746. procedure setw(thebits : TBits_32); inline;
  5747. public
  5748. procedure clearADDEN; inline;
  5749. procedure clearADM_EN; inline;
  5750. procedure clearFERR; inline;
  5751. procedure clearOERR; inline;
  5752. procedure clearPERR; inline;
  5753. procedure clearRIDLE; inline;
  5754. procedure clearTRMT; inline;
  5755. procedure clearURXDA; inline;
  5756. procedure clearURXEN; inline;
  5757. procedure clearURXISEL0; inline;
  5758. procedure clearURXISEL1; inline;
  5759. procedure clearUTXBF; inline;
  5760. procedure clearUTXBRK; inline;
  5761. procedure clearUTXEN; inline;
  5762. procedure clearUTXINV; inline;
  5763. procedure clearUTXISEL0; inline;
  5764. procedure clearUTXISEL1; inline;
  5765. procedure setADDEN; inline;
  5766. procedure setADM_EN; inline;
  5767. procedure setFERR; inline;
  5768. procedure setOERR; inline;
  5769. procedure setPERR; inline;
  5770. procedure setRIDLE; inline;
  5771. procedure setTRMT; inline;
  5772. procedure setURXDA; inline;
  5773. procedure setURXEN; inline;
  5774. procedure setURXISEL0; inline;
  5775. procedure setURXISEL1; inline;
  5776. procedure setUTXBF; inline;
  5777. procedure setUTXBRK; inline;
  5778. procedure setUTXEN; inline;
  5779. procedure setUTXINV; inline;
  5780. procedure setUTXISEL0; inline;
  5781. procedure setUTXISEL1; inline;
  5782. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5783. property ADDR : TBits_8 read getADDR write setADDR;
  5784. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5785. property FERR : TBits_1 read getFERR write setFERR;
  5786. property OERR : TBits_1 read getOERR write setOERR;
  5787. property PERR : TBits_1 read getPERR write setPERR;
  5788. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5789. property TRMT : TBits_1 read getTRMT write setTRMT;
  5790. property URXDA : TBits_1 read getURXDA write setURXDA;
  5791. property URXEN : TBits_1 read getURXEN write setURXEN;
  5792. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5793. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5794. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5795. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5796. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5797. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5798. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5799. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5800. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5801. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5802. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5803. property w : TBits_32 read getw write setw;
  5804. end;
  5805. TUART2B_U6STA = record
  5806. private
  5807. function getADDEN : TBits_1; inline;
  5808. function getADDR : TBits_8; inline;
  5809. function getADM_EN : TBits_1; inline;
  5810. function getFERR : TBits_1; inline;
  5811. function getOERR : TBits_1; inline;
  5812. function getPERR : TBits_1; inline;
  5813. function getRIDLE : TBits_1; inline;
  5814. function getTRMT : TBits_1; inline;
  5815. function getURXDA : TBits_1; inline;
  5816. function getURXEN : TBits_1; inline;
  5817. function getURXISEL : TBits_2; inline;
  5818. function getURXISEL0 : TBits_1; inline;
  5819. function getURXISEL1 : TBits_1; inline;
  5820. function getUTXBF : TBits_1; inline;
  5821. function getUTXBRK : TBits_1; inline;
  5822. function getUTXEN : TBits_1; inline;
  5823. function getUTXINV : TBits_1; inline;
  5824. function getUTXISEL : TBits_2; inline;
  5825. function getUTXISEL0 : TBits_1; inline;
  5826. function getUTXISEL1 : TBits_1; inline;
  5827. function getUTXSEL : TBits_2; inline;
  5828. function getw : TBits_32; inline;
  5829. procedure setADDEN(thebits : TBits_1); inline;
  5830. procedure setADDR(thebits : TBits_8); inline;
  5831. procedure setADM_EN(thebits : TBits_1); inline;
  5832. procedure setFERR(thebits : TBits_1); inline;
  5833. procedure setOERR(thebits : TBits_1); inline;
  5834. procedure setPERR(thebits : TBits_1); inline;
  5835. procedure setRIDLE(thebits : TBits_1); inline;
  5836. procedure setTRMT(thebits : TBits_1); inline;
  5837. procedure setURXDA(thebits : TBits_1); inline;
  5838. procedure setURXEN(thebits : TBits_1); inline;
  5839. procedure setURXISEL(thebits : TBits_2); inline;
  5840. procedure setURXISEL0(thebits : TBits_1); inline;
  5841. procedure setURXISEL1(thebits : TBits_1); inline;
  5842. procedure setUTXBF(thebits : TBits_1); inline;
  5843. procedure setUTXBRK(thebits : TBits_1); inline;
  5844. procedure setUTXEN(thebits : TBits_1); inline;
  5845. procedure setUTXINV(thebits : TBits_1); inline;
  5846. procedure setUTXISEL(thebits : TBits_2); inline;
  5847. procedure setUTXISEL0(thebits : TBits_1); inline;
  5848. procedure setUTXISEL1(thebits : TBits_1); inline;
  5849. procedure setUTXSEL(thebits : TBits_2); inline;
  5850. procedure setw(thebits : TBits_32); inline;
  5851. public
  5852. procedure clearADDEN; inline;
  5853. procedure clearADM_EN; inline;
  5854. procedure clearFERR; inline;
  5855. procedure clearOERR; inline;
  5856. procedure clearPERR; inline;
  5857. procedure clearRIDLE; inline;
  5858. procedure clearTRMT; inline;
  5859. procedure clearURXDA; inline;
  5860. procedure clearURXEN; inline;
  5861. procedure clearURXISEL0; inline;
  5862. procedure clearURXISEL1; inline;
  5863. procedure clearUTXBF; inline;
  5864. procedure clearUTXBRK; inline;
  5865. procedure clearUTXEN; inline;
  5866. procedure clearUTXINV; inline;
  5867. procedure clearUTXISEL0; inline;
  5868. procedure clearUTXISEL1; inline;
  5869. procedure setADDEN; inline;
  5870. procedure setADM_EN; inline;
  5871. procedure setFERR; inline;
  5872. procedure setOERR; inline;
  5873. procedure setPERR; inline;
  5874. procedure setRIDLE; inline;
  5875. procedure setTRMT; inline;
  5876. procedure setURXDA; inline;
  5877. procedure setURXEN; inline;
  5878. procedure setURXISEL0; inline;
  5879. procedure setURXISEL1; inline;
  5880. procedure setUTXBF; inline;
  5881. procedure setUTXBRK; inline;
  5882. procedure setUTXEN; inline;
  5883. procedure setUTXINV; inline;
  5884. procedure setUTXISEL0; inline;
  5885. procedure setUTXISEL1; inline;
  5886. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5887. property ADDR : TBits_8 read getADDR write setADDR;
  5888. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5889. property FERR : TBits_1 read getFERR write setFERR;
  5890. property OERR : TBits_1 read getOERR write setOERR;
  5891. property PERR : TBits_1 read getPERR write setPERR;
  5892. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5893. property TRMT : TBits_1 read getTRMT write setTRMT;
  5894. property URXDA : TBits_1 read getURXDA write setURXDA;
  5895. property URXEN : TBits_1 read getURXEN write setURXEN;
  5896. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5897. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5898. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5899. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5900. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5901. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5902. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5903. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5904. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5905. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5906. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5907. property w : TBits_32 read getw write setw;
  5908. end;
  5909. type
  5910. TUART2BRegisters = record
  5911. U2BMODEbits : TUART2B_U2BMODE;
  5912. U2BMODE : longWord;
  5913. U6MODEbits : TUART2B_U6MODE;
  5914. U6MODE : longWord;
  5915. U2BMODECLR : longWord;
  5916. U6MODECLR : longWord;
  5917. U2BMODESET : longWord;
  5918. U6MODESET : longWord;
  5919. U2BMODEINV : longWord;
  5920. U6MODEINV : longWord;
  5921. U2BSTAbits : TUART2B_U2BSTA;
  5922. U2BSTA : longWord;
  5923. U6STAbits : TUART2B_U6STA;
  5924. U6STA : longWord;
  5925. U2BSTACLR : longWord;
  5926. U6STACLR : longWord;
  5927. U2BSTASET : longWord;
  5928. U6STASET : longWord;
  5929. U2BSTAINV : longWord;
  5930. U6STAINV : longWord;
  5931. U2BTXREG : longWord;
  5932. U6TXREG : longWord;
  5933. U2BRXREG : longWord;
  5934. U6RXREG : longWord;
  5935. U2BBRG : longWord;
  5936. U6BRG : longWord;
  5937. U2BBRGCLR : longWord;
  5938. U6BRGCLR : longWord;
  5939. U2BBRGSET : longWord;
  5940. U6BRGSET : longWord;
  5941. U2BBRGINV : longWord;
  5942. U6BRGINV : longWord;
  5943. end;
  5944. TUART3A_U2MODE = record
  5945. private
  5946. function getABAUD : TBits_1; inline;
  5947. function getBRGH : TBits_1; inline;
  5948. function getIREN : TBits_1; inline;
  5949. function getLPBACK : TBits_1; inline;
  5950. function getON : TBits_1; inline;
  5951. function getPDSEL : TBits_2; inline;
  5952. function getPDSEL0 : TBits_1; inline;
  5953. function getPDSEL1 : TBits_1; inline;
  5954. function getRTSMD : TBits_1; inline;
  5955. function getRXINV : TBits_1; inline;
  5956. function getSIDL : TBits_1; inline;
  5957. function getSTSEL : TBits_1; inline;
  5958. function getUARTEN : TBits_1; inline;
  5959. function getUEN : TBits_2; inline;
  5960. function getUEN0 : TBits_1; inline;
  5961. function getUEN1 : TBits_1; inline;
  5962. function getUSIDL : TBits_1; inline;
  5963. function getWAKE : TBits_1; inline;
  5964. function getw : TBits_32; inline;
  5965. procedure setABAUD(thebits : TBits_1); inline;
  5966. procedure setBRGH(thebits : TBits_1); inline;
  5967. procedure setIREN(thebits : TBits_1); inline;
  5968. procedure setLPBACK(thebits : TBits_1); inline;
  5969. procedure setON(thebits : TBits_1); inline;
  5970. procedure setPDSEL(thebits : TBits_2); inline;
  5971. procedure setPDSEL0(thebits : TBits_1); inline;
  5972. procedure setPDSEL1(thebits : TBits_1); inline;
  5973. procedure setRTSMD(thebits : TBits_1); inline;
  5974. procedure setRXINV(thebits : TBits_1); inline;
  5975. procedure setSIDL(thebits : TBits_1); inline;
  5976. procedure setSTSEL(thebits : TBits_1); inline;
  5977. procedure setUARTEN(thebits : TBits_1); inline;
  5978. procedure setUEN(thebits : TBits_2); inline;
  5979. procedure setUEN0(thebits : TBits_1); inline;
  5980. procedure setUEN1(thebits : TBits_1); inline;
  5981. procedure setUSIDL(thebits : TBits_1); inline;
  5982. procedure setWAKE(thebits : TBits_1); inline;
  5983. procedure setw(thebits : TBits_32); inline;
  5984. public
  5985. procedure clearABAUD; inline;
  5986. procedure clearBRGH; inline;
  5987. procedure clearIREN; inline;
  5988. procedure clearLPBACK; inline;
  5989. procedure clearON; inline;
  5990. procedure clearPDSEL0; inline;
  5991. procedure clearPDSEL1; inline;
  5992. procedure clearRTSMD; inline;
  5993. procedure clearRXINV; inline;
  5994. procedure clearSIDL; inline;
  5995. procedure clearSTSEL; inline;
  5996. procedure clearUARTEN; inline;
  5997. procedure clearUEN0; inline;
  5998. procedure clearUEN1; inline;
  5999. procedure clearUSIDL; inline;
  6000. procedure clearWAKE; inline;
  6001. procedure setABAUD; inline;
  6002. procedure setBRGH; inline;
  6003. procedure setIREN; inline;
  6004. procedure setLPBACK; inline;
  6005. procedure setON; inline;
  6006. procedure setPDSEL0; inline;
  6007. procedure setPDSEL1; inline;
  6008. procedure setRTSMD; inline;
  6009. procedure setRXINV; inline;
  6010. procedure setSIDL; inline;
  6011. procedure setSTSEL; inline;
  6012. procedure setUARTEN; inline;
  6013. procedure setUEN0; inline;
  6014. procedure setUEN1; inline;
  6015. procedure setUSIDL; inline;
  6016. procedure setWAKE; inline;
  6017. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6018. property BRGH : TBits_1 read getBRGH write setBRGH;
  6019. property IREN : TBits_1 read getIREN write setIREN;
  6020. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6021. property ON : TBits_1 read getON write setON;
  6022. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6023. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6024. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6025. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  6026. property RXINV : TBits_1 read getRXINV write setRXINV;
  6027. property SIDL : TBits_1 read getSIDL write setSIDL;
  6028. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  6029. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  6030. property UEN : TBits_2 read getUEN write setUEN;
  6031. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  6032. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  6033. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6034. property WAKE : TBits_1 read getWAKE write setWAKE;
  6035. property w : TBits_32 read getw write setw;
  6036. end;
  6037. TUART3A_U3AMODE = record
  6038. private
  6039. function getABAUD : TBits_1; inline;
  6040. function getBRGH : TBits_1; inline;
  6041. function getIREN : TBits_1; inline;
  6042. function getLPBACK : TBits_1; inline;
  6043. function getON : TBits_1; inline;
  6044. function getPDSEL : TBits_2; inline;
  6045. function getPDSEL0 : TBits_1; inline;
  6046. function getPDSEL1 : TBits_1; inline;
  6047. function getRTSMD : TBits_1; inline;
  6048. function getRXINV : TBits_1; inline;
  6049. function getSIDL : TBits_1; inline;
  6050. function getSTSEL : TBits_1; inline;
  6051. function getUARTEN : TBits_1; inline;
  6052. function getUEN : TBits_2; inline;
  6053. function getUEN0 : TBits_1; inline;
  6054. function getUEN1 : TBits_1; inline;
  6055. function getUSIDL : TBits_1; inline;
  6056. function getWAKE : TBits_1; inline;
  6057. function getw : TBits_32; inline;
  6058. procedure setABAUD(thebits : TBits_1); inline;
  6059. procedure setBRGH(thebits : TBits_1); inline;
  6060. procedure setIREN(thebits : TBits_1); inline;
  6061. procedure setLPBACK(thebits : TBits_1); inline;
  6062. procedure setON(thebits : TBits_1); inline;
  6063. procedure setPDSEL(thebits : TBits_2); inline;
  6064. procedure setPDSEL0(thebits : TBits_1); inline;
  6065. procedure setPDSEL1(thebits : TBits_1); inline;
  6066. procedure setRTSMD(thebits : TBits_1); inline;
  6067. procedure setRXINV(thebits : TBits_1); inline;
  6068. procedure setSIDL(thebits : TBits_1); inline;
  6069. procedure setSTSEL(thebits : TBits_1); inline;
  6070. procedure setUARTEN(thebits : TBits_1); inline;
  6071. procedure setUEN(thebits : TBits_2); inline;
  6072. procedure setUEN0(thebits : TBits_1); inline;
  6073. procedure setUEN1(thebits : TBits_1); inline;
  6074. procedure setUSIDL(thebits : TBits_1); inline;
  6075. procedure setWAKE(thebits : TBits_1); inline;
  6076. procedure setw(thebits : TBits_32); inline;
  6077. public
  6078. procedure clearABAUD; inline;
  6079. procedure clearBRGH; inline;
  6080. procedure clearIREN; inline;
  6081. procedure clearLPBACK; inline;
  6082. procedure clearON; inline;
  6083. procedure clearPDSEL0; inline;
  6084. procedure clearPDSEL1; inline;
  6085. procedure clearRTSMD; inline;
  6086. procedure clearRXINV; inline;
  6087. procedure clearSIDL; inline;
  6088. procedure clearSTSEL; inline;
  6089. procedure clearUARTEN; inline;
  6090. procedure clearUEN0; inline;
  6091. procedure clearUEN1; inline;
  6092. procedure clearUSIDL; inline;
  6093. procedure clearWAKE; inline;
  6094. procedure setABAUD; inline;
  6095. procedure setBRGH; inline;
  6096. procedure setIREN; inline;
  6097. procedure setLPBACK; inline;
  6098. procedure setON; inline;
  6099. procedure setPDSEL0; inline;
  6100. procedure setPDSEL1; inline;
  6101. procedure setRTSMD; inline;
  6102. procedure setRXINV; inline;
  6103. procedure setSIDL; inline;
  6104. procedure setSTSEL; inline;
  6105. procedure setUARTEN; inline;
  6106. procedure setUEN0; inline;
  6107. procedure setUEN1; inline;
  6108. procedure setUSIDL; inline;
  6109. procedure setWAKE; inline;
  6110. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6111. property BRGH : TBits_1 read getBRGH write setBRGH;
  6112. property IREN : TBits_1 read getIREN write setIREN;
  6113. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6114. property ON : TBits_1 read getON write setON;
  6115. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6116. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6117. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6118. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  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 UEN : TBits_2 read getUEN write setUEN;
  6124. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  6125. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  6126. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6127. property WAKE : TBits_1 read getWAKE write setWAKE;
  6128. property w : TBits_32 read getw write setw;
  6129. end;
  6130. TUART3A_U2STA = record
  6131. private
  6132. function getADDEN : TBits_1; inline;
  6133. function getADDR : TBits_8; inline;
  6134. function getADM_EN : TBits_1; inline;
  6135. function getFERR : TBits_1; inline;
  6136. function getOERR : TBits_1; inline;
  6137. function getPERR : TBits_1; inline;
  6138. function getRIDLE : TBits_1; inline;
  6139. function getTRMT : TBits_1; inline;
  6140. function getURXDA : TBits_1; inline;
  6141. function getURXEN : TBits_1; inline;
  6142. function getURXISEL : TBits_2; inline;
  6143. function getURXISEL0 : TBits_1; inline;
  6144. function getURXISEL1 : TBits_1; inline;
  6145. function getUTXBF : TBits_1; inline;
  6146. function getUTXBRK : TBits_1; inline;
  6147. function getUTXEN : TBits_1; inline;
  6148. function getUTXINV : TBits_1; inline;
  6149. function getUTXISEL : TBits_2; inline;
  6150. function getUTXISEL0 : TBits_1; inline;
  6151. function getUTXISEL1 : TBits_1; inline;
  6152. function getUTXSEL : TBits_2; inline;
  6153. function getw : TBits_32; inline;
  6154. procedure setADDEN(thebits : TBits_1); inline;
  6155. procedure setADDR(thebits : TBits_8); inline;
  6156. procedure setADM_EN(thebits : TBits_1); inline;
  6157. procedure setFERR(thebits : TBits_1); inline;
  6158. procedure setOERR(thebits : TBits_1); inline;
  6159. procedure setPERR(thebits : TBits_1); inline;
  6160. procedure setRIDLE(thebits : TBits_1); inline;
  6161. procedure setTRMT(thebits : TBits_1); inline;
  6162. procedure setURXDA(thebits : TBits_1); inline;
  6163. procedure setURXEN(thebits : TBits_1); inline;
  6164. procedure setURXISEL(thebits : TBits_2); inline;
  6165. procedure setURXISEL0(thebits : TBits_1); inline;
  6166. procedure setURXISEL1(thebits : TBits_1); inline;
  6167. procedure setUTXBF(thebits : TBits_1); inline;
  6168. procedure setUTXBRK(thebits : TBits_1); inline;
  6169. procedure setUTXEN(thebits : TBits_1); inline;
  6170. procedure setUTXINV(thebits : TBits_1); inline;
  6171. procedure setUTXISEL(thebits : TBits_2); inline;
  6172. procedure setUTXISEL0(thebits : TBits_1); inline;
  6173. procedure setUTXISEL1(thebits : TBits_1); inline;
  6174. procedure setUTXSEL(thebits : TBits_2); inline;
  6175. procedure setw(thebits : TBits_32); inline;
  6176. public
  6177. procedure clearADDEN; inline;
  6178. procedure clearADM_EN; inline;
  6179. procedure clearFERR; inline;
  6180. procedure clearOERR; inline;
  6181. procedure clearPERR; inline;
  6182. procedure clearRIDLE; inline;
  6183. procedure clearTRMT; inline;
  6184. procedure clearURXDA; inline;
  6185. procedure clearURXEN; inline;
  6186. procedure clearURXISEL0; inline;
  6187. procedure clearURXISEL1; inline;
  6188. procedure clearUTXBF; inline;
  6189. procedure clearUTXBRK; inline;
  6190. procedure clearUTXEN; inline;
  6191. procedure clearUTXINV; inline;
  6192. procedure clearUTXISEL0; inline;
  6193. procedure clearUTXISEL1; inline;
  6194. procedure setADDEN; inline;
  6195. procedure setADM_EN; inline;
  6196. procedure setFERR; inline;
  6197. procedure setOERR; inline;
  6198. procedure setPERR; inline;
  6199. procedure setRIDLE; inline;
  6200. procedure setTRMT; inline;
  6201. procedure setURXDA; inline;
  6202. procedure setURXEN; inline;
  6203. procedure setURXISEL0; inline;
  6204. procedure setURXISEL1; inline;
  6205. procedure setUTXBF; inline;
  6206. procedure setUTXBRK; inline;
  6207. procedure setUTXEN; inline;
  6208. procedure setUTXINV; inline;
  6209. procedure setUTXISEL0; inline;
  6210. procedure setUTXISEL1; inline;
  6211. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6212. property ADDR : TBits_8 read getADDR write setADDR;
  6213. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6214. property FERR : TBits_1 read getFERR write setFERR;
  6215. property OERR : TBits_1 read getOERR write setOERR;
  6216. property PERR : TBits_1 read getPERR write setPERR;
  6217. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6218. property TRMT : TBits_1 read getTRMT write setTRMT;
  6219. property URXDA : TBits_1 read getURXDA write setURXDA;
  6220. property URXEN : TBits_1 read getURXEN write setURXEN;
  6221. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6222. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6223. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6224. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6225. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6226. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6227. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6228. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6229. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6230. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6231. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6232. property w : TBits_32 read getw write setw;
  6233. end;
  6234. TUART3A_U3ASTA = record
  6235. private
  6236. function getADDEN : TBits_1; inline;
  6237. function getADDR : TBits_8; inline;
  6238. function getADM_EN : TBits_1; inline;
  6239. function getFERR : TBits_1; inline;
  6240. function getOERR : TBits_1; inline;
  6241. function getPERR : TBits_1; inline;
  6242. function getRIDLE : TBits_1; inline;
  6243. function getTRMT : TBits_1; inline;
  6244. function getURXDA : TBits_1; inline;
  6245. function getURXEN : TBits_1; inline;
  6246. function getURXISEL : TBits_2; inline;
  6247. function getURXISEL0 : TBits_1; inline;
  6248. function getURXISEL1 : TBits_1; inline;
  6249. function getUTXBF : TBits_1; inline;
  6250. function getUTXBRK : TBits_1; inline;
  6251. function getUTXEN : TBits_1; inline;
  6252. function getUTXINV : TBits_1; inline;
  6253. function getUTXISEL : TBits_2; inline;
  6254. function getUTXISEL0 : TBits_1; inline;
  6255. function getUTXISEL1 : TBits_1; inline;
  6256. function getUTXSEL : TBits_2; inline;
  6257. function getw : TBits_32; inline;
  6258. procedure setADDEN(thebits : TBits_1); inline;
  6259. procedure setADDR(thebits : TBits_8); inline;
  6260. procedure setADM_EN(thebits : TBits_1); inline;
  6261. procedure setFERR(thebits : TBits_1); inline;
  6262. procedure setOERR(thebits : TBits_1); inline;
  6263. procedure setPERR(thebits : TBits_1); inline;
  6264. procedure setRIDLE(thebits : TBits_1); inline;
  6265. procedure setTRMT(thebits : TBits_1); inline;
  6266. procedure setURXDA(thebits : TBits_1); inline;
  6267. procedure setURXEN(thebits : TBits_1); inline;
  6268. procedure setURXISEL(thebits : TBits_2); inline;
  6269. procedure setURXISEL0(thebits : TBits_1); inline;
  6270. procedure setURXISEL1(thebits : TBits_1); inline;
  6271. procedure setUTXBF(thebits : TBits_1); inline;
  6272. procedure setUTXBRK(thebits : TBits_1); inline;
  6273. procedure setUTXEN(thebits : TBits_1); inline;
  6274. procedure setUTXINV(thebits : TBits_1); inline;
  6275. procedure setUTXISEL(thebits : TBits_2); inline;
  6276. procedure setUTXISEL0(thebits : TBits_1); inline;
  6277. procedure setUTXISEL1(thebits : TBits_1); inline;
  6278. procedure setUTXSEL(thebits : TBits_2); inline;
  6279. procedure setw(thebits : TBits_32); inline;
  6280. public
  6281. procedure clearADDEN; inline;
  6282. procedure clearADM_EN; inline;
  6283. procedure clearFERR; inline;
  6284. procedure clearOERR; inline;
  6285. procedure clearPERR; inline;
  6286. procedure clearRIDLE; inline;
  6287. procedure clearTRMT; inline;
  6288. procedure clearURXDA; inline;
  6289. procedure clearURXEN; inline;
  6290. procedure clearURXISEL0; inline;
  6291. procedure clearURXISEL1; inline;
  6292. procedure clearUTXBF; inline;
  6293. procedure clearUTXBRK; inline;
  6294. procedure clearUTXEN; inline;
  6295. procedure clearUTXINV; inline;
  6296. procedure clearUTXISEL0; inline;
  6297. procedure clearUTXISEL1; inline;
  6298. procedure setADDEN; inline;
  6299. procedure setADM_EN; inline;
  6300. procedure setFERR; inline;
  6301. procedure setOERR; inline;
  6302. procedure setPERR; inline;
  6303. procedure setRIDLE; inline;
  6304. procedure setTRMT; inline;
  6305. procedure setURXDA; inline;
  6306. procedure setURXEN; inline;
  6307. procedure setURXISEL0; inline;
  6308. procedure setURXISEL1; inline;
  6309. procedure setUTXBF; inline;
  6310. procedure setUTXBRK; inline;
  6311. procedure setUTXEN; inline;
  6312. procedure setUTXINV; inline;
  6313. procedure setUTXISEL0; inline;
  6314. procedure setUTXISEL1; inline;
  6315. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6316. property ADDR : TBits_8 read getADDR write setADDR;
  6317. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6318. property FERR : TBits_1 read getFERR write setFERR;
  6319. property OERR : TBits_1 read getOERR write setOERR;
  6320. property PERR : TBits_1 read getPERR write setPERR;
  6321. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6322. property TRMT : TBits_1 read getTRMT write setTRMT;
  6323. property URXDA : TBits_1 read getURXDA write setURXDA;
  6324. property URXEN : TBits_1 read getURXEN write setURXEN;
  6325. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6326. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6327. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6328. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6329. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6330. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6331. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6332. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6333. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6334. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6335. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. type
  6339. TUART3ARegisters = record
  6340. U2MODEbits : TUART3A_U2MODE;
  6341. U2MODE : longWord;
  6342. U3AMODEbits : TUART3A_U3AMODE;
  6343. U3AMODE : longWord;
  6344. U2MODECLR : longWord;
  6345. U3AMODECLR : longWord;
  6346. U2MODESET : longWord;
  6347. U3AMODESET : longWord;
  6348. U2MODEINV : longWord;
  6349. U3AMODEINV : longWord;
  6350. U2STAbits : TUART3A_U2STA;
  6351. U2STA : longWord;
  6352. U3ASTAbits : TUART3A_U3ASTA;
  6353. U3ASTA : longWord;
  6354. U2STACLR : longWord;
  6355. U3ASTACLR : longWord;
  6356. U2STASET : longWord;
  6357. U3ASTASET : longWord;
  6358. U2STAINV : longWord;
  6359. U3ASTAINV : longWord;
  6360. U2TXREG : longWord;
  6361. U3ATXREG : longWord;
  6362. U2RXREG : longWord;
  6363. U3ARXREG : longWord;
  6364. U2BRG : longWord;
  6365. U3ABRG : longWord;
  6366. U2BRGCLR : longWord;
  6367. U3ABRGCLR : longWord;
  6368. U2BRGSET : longWord;
  6369. U3ABRGSET : longWord;
  6370. U2BRGINV : longWord;
  6371. U3ABRGINV : longWord;
  6372. end;
  6373. TUART5_U3BMODE = record
  6374. private
  6375. function getABAUD : TBits_1; inline;
  6376. function getBRGH : TBits_1; inline;
  6377. function getIREN : TBits_1; inline;
  6378. function getLPBACK : TBits_1; inline;
  6379. function getON : TBits_1; inline;
  6380. function getPDSEL : TBits_2; inline;
  6381. function getPDSEL0 : TBits_1; inline;
  6382. function getPDSEL1 : TBits_1; inline;
  6383. function getRXINV : TBits_1; inline;
  6384. function getSIDL : TBits_1; inline;
  6385. function getSTSEL : TBits_1; inline;
  6386. function getUARTEN : TBits_1; inline;
  6387. function getUSIDL : TBits_1; inline;
  6388. function getWAKE : TBits_1; inline;
  6389. function getw : TBits_32; inline;
  6390. procedure setABAUD(thebits : TBits_1); inline;
  6391. procedure setBRGH(thebits : TBits_1); inline;
  6392. procedure setIREN(thebits : TBits_1); inline;
  6393. procedure setLPBACK(thebits : TBits_1); inline;
  6394. procedure setON(thebits : TBits_1); inline;
  6395. procedure setPDSEL(thebits : TBits_2); inline;
  6396. procedure setPDSEL0(thebits : TBits_1); inline;
  6397. procedure setPDSEL1(thebits : TBits_1); inline;
  6398. procedure setRXINV(thebits : TBits_1); inline;
  6399. procedure setSIDL(thebits : TBits_1); inline;
  6400. procedure setSTSEL(thebits : TBits_1); inline;
  6401. procedure setUARTEN(thebits : TBits_1); inline;
  6402. procedure setUSIDL(thebits : TBits_1); inline;
  6403. procedure setWAKE(thebits : TBits_1); inline;
  6404. procedure setw(thebits : TBits_32); inline;
  6405. public
  6406. procedure clearABAUD; inline;
  6407. procedure clearBRGH; inline;
  6408. procedure clearIREN; inline;
  6409. procedure clearLPBACK; inline;
  6410. procedure clearON; inline;
  6411. procedure clearPDSEL0; inline;
  6412. procedure clearPDSEL1; inline;
  6413. procedure clearRXINV; inline;
  6414. procedure clearSIDL; inline;
  6415. procedure clearSTSEL; inline;
  6416. procedure clearUARTEN; inline;
  6417. procedure clearUSIDL; inline;
  6418. procedure clearWAKE; inline;
  6419. procedure setABAUD; inline;
  6420. procedure setBRGH; inline;
  6421. procedure setIREN; inline;
  6422. procedure setLPBACK; inline;
  6423. procedure setON; inline;
  6424. procedure setPDSEL0; inline;
  6425. procedure setPDSEL1; inline;
  6426. procedure setRXINV; inline;
  6427. procedure setSIDL; inline;
  6428. procedure setSTSEL; inline;
  6429. procedure setUARTEN; inline;
  6430. procedure setUSIDL; inline;
  6431. procedure setWAKE; inline;
  6432. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6433. property BRGH : TBits_1 read getBRGH write setBRGH;
  6434. property IREN : TBits_1 read getIREN write setIREN;
  6435. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6436. property ON : TBits_1 read getON write setON;
  6437. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6438. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6439. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6440. property RXINV : TBits_1 read getRXINV write setRXINV;
  6441. property SIDL : TBits_1 read getSIDL write setSIDL;
  6442. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  6443. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  6444. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6445. property WAKE : TBits_1 read getWAKE write setWAKE;
  6446. property w : TBits_32 read getw write setw;
  6447. end;
  6448. TUART5_U5MODE = record
  6449. private
  6450. function getABAUD : TBits_1; inline;
  6451. function getBRGH : TBits_1; inline;
  6452. function getIREN : TBits_1; inline;
  6453. function getLPBACK : TBits_1; inline;
  6454. function getON : TBits_1; inline;
  6455. function getPDSEL : TBits_2; inline;
  6456. function getPDSEL0 : TBits_1; inline;
  6457. function getPDSEL1 : TBits_1; inline;
  6458. function getRXINV : TBits_1; inline;
  6459. function getSIDL : TBits_1; inline;
  6460. function getSTSEL : TBits_1; inline;
  6461. function getUARTEN : TBits_1; inline;
  6462. function getUSIDL : TBits_1; inline;
  6463. function getWAKE : TBits_1; inline;
  6464. function getw : TBits_32; inline;
  6465. procedure setABAUD(thebits : TBits_1); inline;
  6466. procedure setBRGH(thebits : TBits_1); inline;
  6467. procedure setIREN(thebits : TBits_1); inline;
  6468. procedure setLPBACK(thebits : TBits_1); inline;
  6469. procedure setON(thebits : TBits_1); inline;
  6470. procedure setPDSEL(thebits : TBits_2); inline;
  6471. procedure setPDSEL0(thebits : TBits_1); inline;
  6472. procedure setPDSEL1(thebits : TBits_1); inline;
  6473. procedure setRXINV(thebits : TBits_1); inline;
  6474. procedure setSIDL(thebits : TBits_1); inline;
  6475. procedure setSTSEL(thebits : TBits_1); inline;
  6476. procedure setUARTEN(thebits : TBits_1); inline;
  6477. procedure setUSIDL(thebits : TBits_1); inline;
  6478. procedure setWAKE(thebits : TBits_1); inline;
  6479. procedure setw(thebits : TBits_32); inline;
  6480. public
  6481. procedure clearABAUD; inline;
  6482. procedure clearBRGH; inline;
  6483. procedure clearIREN; inline;
  6484. procedure clearLPBACK; inline;
  6485. procedure clearON; inline;
  6486. procedure clearPDSEL0; inline;
  6487. procedure clearPDSEL1; inline;
  6488. procedure clearRXINV; inline;
  6489. procedure clearSIDL; inline;
  6490. procedure clearSTSEL; inline;
  6491. procedure clearUARTEN; inline;
  6492. procedure clearUSIDL; inline;
  6493. procedure clearWAKE; inline;
  6494. procedure setABAUD; inline;
  6495. procedure setBRGH; inline;
  6496. procedure setIREN; inline;
  6497. procedure setLPBACK; inline;
  6498. procedure setON; inline;
  6499. procedure setPDSEL0; inline;
  6500. procedure setPDSEL1; inline;
  6501. procedure setRXINV; inline;
  6502. procedure setSIDL; inline;
  6503. procedure setSTSEL; inline;
  6504. procedure setUARTEN; inline;
  6505. procedure setUSIDL; inline;
  6506. procedure setWAKE; inline;
  6507. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6508. property BRGH : TBits_1 read getBRGH write setBRGH;
  6509. property IREN : TBits_1 read getIREN write setIREN;
  6510. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6511. property ON : TBits_1 read getON write setON;
  6512. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6513. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6514. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6515. property RXINV : TBits_1 read getRXINV write setRXINV;
  6516. property SIDL : TBits_1 read getSIDL write setSIDL;
  6517. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  6518. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  6519. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6520. property WAKE : TBits_1 read getWAKE write setWAKE;
  6521. property w : TBits_32 read getw write setw;
  6522. end;
  6523. TUART5_U3BSTA = record
  6524. private
  6525. function getADDEN : TBits_1; inline;
  6526. function getADDR : TBits_8; inline;
  6527. function getADM_EN : TBits_1; inline;
  6528. function getFERR : TBits_1; inline;
  6529. function getOERR : TBits_1; inline;
  6530. function getPERR : TBits_1; inline;
  6531. function getRIDLE : TBits_1; inline;
  6532. function getTRMT : TBits_1; inline;
  6533. function getURXDA : TBits_1; inline;
  6534. function getURXEN : TBits_1; inline;
  6535. function getURXISEL : TBits_2; inline;
  6536. function getURXISEL0 : TBits_1; inline;
  6537. function getURXISEL1 : TBits_1; inline;
  6538. function getUTXBF : TBits_1; inline;
  6539. function getUTXBRK : TBits_1; inline;
  6540. function getUTXEN : TBits_1; inline;
  6541. function getUTXINV : TBits_1; inline;
  6542. function getUTXISEL : TBits_2; inline;
  6543. function getUTXISEL0 : TBits_1; inline;
  6544. function getUTXISEL1 : TBits_1; inline;
  6545. function getUTXSEL : TBits_2; inline;
  6546. function getw : TBits_32; inline;
  6547. procedure setADDEN(thebits : TBits_1); inline;
  6548. procedure setADDR(thebits : TBits_8); inline;
  6549. procedure setADM_EN(thebits : TBits_1); inline;
  6550. procedure setFERR(thebits : TBits_1); inline;
  6551. procedure setOERR(thebits : TBits_1); inline;
  6552. procedure setPERR(thebits : TBits_1); inline;
  6553. procedure setRIDLE(thebits : TBits_1); inline;
  6554. procedure setTRMT(thebits : TBits_1); inline;
  6555. procedure setURXDA(thebits : TBits_1); inline;
  6556. procedure setURXEN(thebits : TBits_1); inline;
  6557. procedure setURXISEL(thebits : TBits_2); inline;
  6558. procedure setURXISEL0(thebits : TBits_1); inline;
  6559. procedure setURXISEL1(thebits : TBits_1); inline;
  6560. procedure setUTXBF(thebits : TBits_1); inline;
  6561. procedure setUTXBRK(thebits : TBits_1); inline;
  6562. procedure setUTXEN(thebits : TBits_1); inline;
  6563. procedure setUTXINV(thebits : TBits_1); inline;
  6564. procedure setUTXISEL(thebits : TBits_2); inline;
  6565. procedure setUTXISEL0(thebits : TBits_1); inline;
  6566. procedure setUTXISEL1(thebits : TBits_1); inline;
  6567. procedure setUTXSEL(thebits : TBits_2); inline;
  6568. procedure setw(thebits : TBits_32); inline;
  6569. public
  6570. procedure clearADDEN; inline;
  6571. procedure clearADM_EN; inline;
  6572. procedure clearFERR; inline;
  6573. procedure clearOERR; inline;
  6574. procedure clearPERR; inline;
  6575. procedure clearRIDLE; inline;
  6576. procedure clearTRMT; inline;
  6577. procedure clearURXDA; inline;
  6578. procedure clearURXEN; inline;
  6579. procedure clearURXISEL0; inline;
  6580. procedure clearURXISEL1; inline;
  6581. procedure clearUTXBF; inline;
  6582. procedure clearUTXBRK; inline;
  6583. procedure clearUTXEN; inline;
  6584. procedure clearUTXINV; inline;
  6585. procedure clearUTXISEL0; inline;
  6586. procedure clearUTXISEL1; inline;
  6587. procedure setADDEN; inline;
  6588. procedure setADM_EN; inline;
  6589. procedure setFERR; inline;
  6590. procedure setOERR; inline;
  6591. procedure setPERR; inline;
  6592. procedure setRIDLE; inline;
  6593. procedure setTRMT; inline;
  6594. procedure setURXDA; inline;
  6595. procedure setURXEN; inline;
  6596. procedure setURXISEL0; inline;
  6597. procedure setURXISEL1; inline;
  6598. procedure setUTXBF; inline;
  6599. procedure setUTXBRK; inline;
  6600. procedure setUTXEN; inline;
  6601. procedure setUTXINV; inline;
  6602. procedure setUTXISEL0; inline;
  6603. procedure setUTXISEL1; inline;
  6604. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6605. property ADDR : TBits_8 read getADDR write setADDR;
  6606. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6607. property FERR : TBits_1 read getFERR write setFERR;
  6608. property OERR : TBits_1 read getOERR write setOERR;
  6609. property PERR : TBits_1 read getPERR write setPERR;
  6610. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6611. property TRMT : TBits_1 read getTRMT write setTRMT;
  6612. property URXDA : TBits_1 read getURXDA write setURXDA;
  6613. property URXEN : TBits_1 read getURXEN write setURXEN;
  6614. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6615. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6616. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6617. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6618. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6619. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6620. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6621. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6622. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6623. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6624. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6625. property w : TBits_32 read getw write setw;
  6626. end;
  6627. TUART5_U5STA = record
  6628. private
  6629. function getADDEN : TBits_1; inline;
  6630. function getADDR : TBits_8; inline;
  6631. function getADM_EN : TBits_1; inline;
  6632. function getFERR : TBits_1; inline;
  6633. function getOERR : TBits_1; inline;
  6634. function getPERR : TBits_1; inline;
  6635. function getRIDLE : TBits_1; inline;
  6636. function getTRMT : TBits_1; inline;
  6637. function getURXDA : TBits_1; inline;
  6638. function getURXEN : TBits_1; inline;
  6639. function getURXISEL : TBits_2; inline;
  6640. function getURXISEL0 : TBits_1; inline;
  6641. function getURXISEL1 : TBits_1; inline;
  6642. function getUTXBF : TBits_1; inline;
  6643. function getUTXBRK : TBits_1; inline;
  6644. function getUTXEN : TBits_1; inline;
  6645. function getUTXINV : TBits_1; inline;
  6646. function getUTXISEL : TBits_2; inline;
  6647. function getUTXISEL0 : TBits_1; inline;
  6648. function getUTXISEL1 : TBits_1; inline;
  6649. function getUTXSEL : TBits_2; inline;
  6650. function getw : TBits_32; inline;
  6651. procedure setADDEN(thebits : TBits_1); inline;
  6652. procedure setADDR(thebits : TBits_8); inline;
  6653. procedure setADM_EN(thebits : TBits_1); inline;
  6654. procedure setFERR(thebits : TBits_1); inline;
  6655. procedure setOERR(thebits : TBits_1); inline;
  6656. procedure setPERR(thebits : TBits_1); inline;
  6657. procedure setRIDLE(thebits : TBits_1); inline;
  6658. procedure setTRMT(thebits : TBits_1); inline;
  6659. procedure setURXDA(thebits : TBits_1); inline;
  6660. procedure setURXEN(thebits : TBits_1); inline;
  6661. procedure setURXISEL(thebits : TBits_2); inline;
  6662. procedure setURXISEL0(thebits : TBits_1); inline;
  6663. procedure setURXISEL1(thebits : TBits_1); inline;
  6664. procedure setUTXBF(thebits : TBits_1); inline;
  6665. procedure setUTXBRK(thebits : TBits_1); inline;
  6666. procedure setUTXEN(thebits : TBits_1); inline;
  6667. procedure setUTXINV(thebits : TBits_1); inline;
  6668. procedure setUTXISEL(thebits : TBits_2); inline;
  6669. procedure setUTXISEL0(thebits : TBits_1); inline;
  6670. procedure setUTXISEL1(thebits : TBits_1); inline;
  6671. procedure setUTXSEL(thebits : TBits_2); inline;
  6672. procedure setw(thebits : TBits_32); inline;
  6673. public
  6674. procedure clearADDEN; inline;
  6675. procedure clearADM_EN; inline;
  6676. procedure clearFERR; inline;
  6677. procedure clearOERR; inline;
  6678. procedure clearPERR; inline;
  6679. procedure clearRIDLE; inline;
  6680. procedure clearTRMT; inline;
  6681. procedure clearURXDA; inline;
  6682. procedure clearURXEN; inline;
  6683. procedure clearURXISEL0; inline;
  6684. procedure clearURXISEL1; inline;
  6685. procedure clearUTXBF; inline;
  6686. procedure clearUTXBRK; inline;
  6687. procedure clearUTXEN; inline;
  6688. procedure clearUTXINV; inline;
  6689. procedure clearUTXISEL0; inline;
  6690. procedure clearUTXISEL1; inline;
  6691. procedure setADDEN; inline;
  6692. procedure setADM_EN; inline;
  6693. procedure setFERR; inline;
  6694. procedure setOERR; inline;
  6695. procedure setPERR; inline;
  6696. procedure setRIDLE; inline;
  6697. procedure setTRMT; inline;
  6698. procedure setURXDA; inline;
  6699. procedure setURXEN; inline;
  6700. procedure setURXISEL0; inline;
  6701. procedure setURXISEL1; inline;
  6702. procedure setUTXBF; inline;
  6703. procedure setUTXBRK; inline;
  6704. procedure setUTXEN; inline;
  6705. procedure setUTXINV; inline;
  6706. procedure setUTXISEL0; inline;
  6707. procedure setUTXISEL1; inline;
  6708. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6709. property ADDR : TBits_8 read getADDR write setADDR;
  6710. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6711. property FERR : TBits_1 read getFERR write setFERR;
  6712. property OERR : TBits_1 read getOERR write setOERR;
  6713. property PERR : TBits_1 read getPERR write setPERR;
  6714. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6715. property TRMT : TBits_1 read getTRMT write setTRMT;
  6716. property URXDA : TBits_1 read getURXDA write setURXDA;
  6717. property URXEN : TBits_1 read getURXEN write setURXEN;
  6718. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6719. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6720. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6721. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6722. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6723. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6724. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6725. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6726. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6727. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6728. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6729. property w : TBits_32 read getw write setw;
  6730. end;
  6731. type
  6732. TUART5Registers = record
  6733. U3BMODEbits : TUART5_U3BMODE;
  6734. U3BMODE : longWord;
  6735. U5MODEbits : TUART5_U5MODE;
  6736. U5MODE : longWord;
  6737. U3BMODECLR : longWord;
  6738. U5MODECLR : longWord;
  6739. U3BMODESET : longWord;
  6740. U5MODESET : longWord;
  6741. U3BMODEINV : longWord;
  6742. U5MODEINV : longWord;
  6743. U3BSTAbits : TUART5_U3BSTA;
  6744. U3BSTA : longWord;
  6745. U5STAbits : TUART5_U5STA;
  6746. U5STA : longWord;
  6747. U3BSTACLR : longWord;
  6748. U5STACLR : longWord;
  6749. U3BSTASET : longWord;
  6750. U5STASET : longWord;
  6751. U3BSTAINV : longWord;
  6752. U5STAINV : longWord;
  6753. U3BTXREG : longWord;
  6754. U5TXREG : longWord;
  6755. U3BRXREG : longWord;
  6756. U5RXREG : longWord;
  6757. U3BBRG : longWord;
  6758. U5BRG : longWord;
  6759. U3BBRGCLR : longWord;
  6760. U5BRGCLR : longWord;
  6761. U3BBRGSET : longWord;
  6762. U5BRGSET : longWord;
  6763. U3BBRGINV : longWord;
  6764. U5BRGINV : longWord;
  6765. end;
  6766. TPMP_PMCON = record
  6767. private
  6768. function getADRMUX : TBits_2; inline;
  6769. function getADRMUX0 : TBits_1; inline;
  6770. function getADRMUX1 : TBits_1; inline;
  6771. function getALP : TBits_1; inline;
  6772. function getCS1P : TBits_1; inline;
  6773. function getCS2P : TBits_1; inline;
  6774. function getCSF : TBits_2; inline;
  6775. function getCSF0 : TBits_1; inline;
  6776. function getCSF1 : TBits_1; inline;
  6777. function getON : TBits_1; inline;
  6778. function getPMPEN : TBits_1; inline;
  6779. function getPMPTTL : TBits_1; inline;
  6780. function getPSIDL : TBits_1; inline;
  6781. function getPTRDEN : TBits_1; inline;
  6782. function getPTWREN : TBits_1; inline;
  6783. function getRDSP : TBits_1; inline;
  6784. function getSIDL : TBits_1; inline;
  6785. function getWRSP : TBits_1; inline;
  6786. function getw : TBits_32; inline;
  6787. procedure setADRMUX(thebits : TBits_2); inline;
  6788. procedure setADRMUX0(thebits : TBits_1); inline;
  6789. procedure setADRMUX1(thebits : TBits_1); inline;
  6790. procedure setALP(thebits : TBits_1); inline;
  6791. procedure setCS1P(thebits : TBits_1); inline;
  6792. procedure setCS2P(thebits : TBits_1); inline;
  6793. procedure setCSF(thebits : TBits_2); inline;
  6794. procedure setCSF0(thebits : TBits_1); inline;
  6795. procedure setCSF1(thebits : TBits_1); inline;
  6796. procedure setON(thebits : TBits_1); inline;
  6797. procedure setPMPEN(thebits : TBits_1); inline;
  6798. procedure setPMPTTL(thebits : TBits_1); inline;
  6799. procedure setPSIDL(thebits : TBits_1); inline;
  6800. procedure setPTRDEN(thebits : TBits_1); inline;
  6801. procedure setPTWREN(thebits : TBits_1); inline;
  6802. procedure setRDSP(thebits : TBits_1); inline;
  6803. procedure setSIDL(thebits : TBits_1); inline;
  6804. procedure setWRSP(thebits : TBits_1); inline;
  6805. procedure setw(thebits : TBits_32); inline;
  6806. public
  6807. procedure clearADRMUX0; inline;
  6808. procedure clearADRMUX1; inline;
  6809. procedure clearALP; inline;
  6810. procedure clearCS1P; inline;
  6811. procedure clearCS2P; inline;
  6812. procedure clearCSF0; inline;
  6813. procedure clearCSF1; inline;
  6814. procedure clearON; inline;
  6815. procedure clearPMPEN; inline;
  6816. procedure clearPMPTTL; inline;
  6817. procedure clearPSIDL; inline;
  6818. procedure clearPTRDEN; inline;
  6819. procedure clearPTWREN; inline;
  6820. procedure clearRDSP; inline;
  6821. procedure clearSIDL; inline;
  6822. procedure clearWRSP; inline;
  6823. procedure setADRMUX0; inline;
  6824. procedure setADRMUX1; inline;
  6825. procedure setALP; inline;
  6826. procedure setCS1P; inline;
  6827. procedure setCS2P; inline;
  6828. procedure setCSF0; inline;
  6829. procedure setCSF1; inline;
  6830. procedure setON; inline;
  6831. procedure setPMPEN; inline;
  6832. procedure setPMPTTL; inline;
  6833. procedure setPSIDL; inline;
  6834. procedure setPTRDEN; inline;
  6835. procedure setPTWREN; inline;
  6836. procedure setRDSP; inline;
  6837. procedure setSIDL; inline;
  6838. procedure setWRSP; inline;
  6839. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  6840. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  6841. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  6842. property ALP : TBits_1 read getALP write setALP;
  6843. property CS1P : TBits_1 read getCS1P write setCS1P;
  6844. property CS2P : TBits_1 read getCS2P write setCS2P;
  6845. property CSF : TBits_2 read getCSF write setCSF;
  6846. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  6847. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  6848. property ON : TBits_1 read getON write setON;
  6849. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  6850. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  6851. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  6852. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  6853. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  6854. property RDSP : TBits_1 read getRDSP write setRDSP;
  6855. property SIDL : TBits_1 read getSIDL write setSIDL;
  6856. property WRSP : TBits_1 read getWRSP write setWRSP;
  6857. property w : TBits_32 read getw write setw;
  6858. end;
  6859. TPMP_PMMODE = record
  6860. private
  6861. function getBUSY : TBits_1; inline;
  6862. function getINCM : TBits_2; inline;
  6863. function getINCM0 : TBits_1; inline;
  6864. function getINCM1 : TBits_1; inline;
  6865. function getIRQM : TBits_2; inline;
  6866. function getIRQM0 : TBits_1; inline;
  6867. function getIRQM1 : TBits_1; inline;
  6868. function getMODE : TBits_2; inline;
  6869. function getMODE0 : TBits_1; inline;
  6870. function getMODE1 : TBits_1; inline;
  6871. function getMODE16 : TBits_1; inline;
  6872. function getWAITB : TBits_2; inline;
  6873. function getWAITB0 : TBits_1; inline;
  6874. function getWAITB1 : TBits_1; inline;
  6875. function getWAITE : TBits_2; inline;
  6876. function getWAITE0 : TBits_1; inline;
  6877. function getWAITE1 : TBits_1; inline;
  6878. function getWAITM : TBits_4; inline;
  6879. function getWAITM0 : TBits_1; inline;
  6880. function getWAITM1 : TBits_1; inline;
  6881. function getWAITM2 : TBits_1; inline;
  6882. function getWAITM3 : TBits_1; inline;
  6883. function getw : TBits_32; inline;
  6884. procedure setBUSY(thebits : TBits_1); inline;
  6885. procedure setINCM(thebits : TBits_2); inline;
  6886. procedure setINCM0(thebits : TBits_1); inline;
  6887. procedure setINCM1(thebits : TBits_1); inline;
  6888. procedure setIRQM(thebits : TBits_2); inline;
  6889. procedure setIRQM0(thebits : TBits_1); inline;
  6890. procedure setIRQM1(thebits : TBits_1); inline;
  6891. procedure setMODE(thebits : TBits_2); inline;
  6892. procedure setMODE0(thebits : TBits_1); inline;
  6893. procedure setMODE1(thebits : TBits_1); inline;
  6894. procedure setMODE16(thebits : TBits_1); inline;
  6895. procedure setWAITB(thebits : TBits_2); inline;
  6896. procedure setWAITB0(thebits : TBits_1); inline;
  6897. procedure setWAITB1(thebits : TBits_1); inline;
  6898. procedure setWAITE(thebits : TBits_2); inline;
  6899. procedure setWAITE0(thebits : TBits_1); inline;
  6900. procedure setWAITE1(thebits : TBits_1); inline;
  6901. procedure setWAITM(thebits : TBits_4); inline;
  6902. procedure setWAITM0(thebits : TBits_1); inline;
  6903. procedure setWAITM1(thebits : TBits_1); inline;
  6904. procedure setWAITM2(thebits : TBits_1); inline;
  6905. procedure setWAITM3(thebits : TBits_1); inline;
  6906. procedure setw(thebits : TBits_32); inline;
  6907. public
  6908. procedure clearBUSY; inline;
  6909. procedure clearINCM0; inline;
  6910. procedure clearINCM1; inline;
  6911. procedure clearIRQM0; inline;
  6912. procedure clearIRQM1; inline;
  6913. procedure clearMODE0; inline;
  6914. procedure clearMODE16; inline;
  6915. procedure clearMODE1; inline;
  6916. procedure clearWAITB0; inline;
  6917. procedure clearWAITB1; inline;
  6918. procedure clearWAITE0; inline;
  6919. procedure clearWAITE1; inline;
  6920. procedure clearWAITM0; inline;
  6921. procedure clearWAITM1; inline;
  6922. procedure clearWAITM2; inline;
  6923. procedure clearWAITM3; inline;
  6924. procedure setBUSY; inline;
  6925. procedure setINCM0; inline;
  6926. procedure setINCM1; inline;
  6927. procedure setIRQM0; inline;
  6928. procedure setIRQM1; inline;
  6929. procedure setMODE0; inline;
  6930. procedure setMODE16; inline;
  6931. procedure setMODE1; inline;
  6932. procedure setWAITB0; inline;
  6933. procedure setWAITB1; inline;
  6934. procedure setWAITE0; inline;
  6935. procedure setWAITE1; inline;
  6936. procedure setWAITM0; inline;
  6937. procedure setWAITM1; inline;
  6938. procedure setWAITM2; inline;
  6939. procedure setWAITM3; inline;
  6940. property BUSY : TBits_1 read getBUSY write setBUSY;
  6941. property INCM : TBits_2 read getINCM write setINCM;
  6942. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  6943. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  6944. property IRQM : TBits_2 read getIRQM write setIRQM;
  6945. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  6946. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  6947. property MODE : TBits_2 read getMODE write setMODE;
  6948. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  6949. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  6950. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  6951. property WAITB : TBits_2 read getWAITB write setWAITB;
  6952. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  6953. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  6954. property WAITE : TBits_2 read getWAITE write setWAITE;
  6955. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  6956. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  6957. property WAITM : TBits_4 read getWAITM write setWAITM;
  6958. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  6959. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  6960. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  6961. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  6962. property w : TBits_32 read getw write setw;
  6963. end;
  6964. TPMP_PMADDR = record
  6965. private
  6966. function getADDR : TBits_14; inline;
  6967. function getCS : TBits_2; inline;
  6968. function getCS1 : TBits_1; inline;
  6969. function getCS2 : TBits_1; inline;
  6970. function getPADDR : TBits_14; inline;
  6971. function getw : TBits_32; inline;
  6972. procedure setADDR(thebits : TBits_14); inline;
  6973. procedure setCS(thebits : TBits_2); inline;
  6974. procedure setCS1(thebits : TBits_1); inline;
  6975. procedure setCS2(thebits : TBits_1); inline;
  6976. procedure setPADDR(thebits : TBits_14); inline;
  6977. procedure setw(thebits : TBits_32); inline;
  6978. public
  6979. procedure clearCS1; inline;
  6980. procedure clearCS2; inline;
  6981. procedure setCS1; inline;
  6982. procedure setCS2; inline;
  6983. property ADDR : TBits_14 read getADDR write setADDR;
  6984. property CS : TBits_2 read getCS write setCS;
  6985. property CS1 : TBits_1 read getCS1 write setCS1;
  6986. property CS2 : TBits_1 read getCS2 write setCS2;
  6987. property PADDR : TBits_14 read getPADDR write setPADDR;
  6988. property w : TBits_32 read getw write setw;
  6989. end;
  6990. TPMP_PMDOUT = record
  6991. private
  6992. function getDATAOUT : TBits_32; inline;
  6993. function getw : TBits_32; inline;
  6994. procedure setDATAOUT(thebits : TBits_32); inline;
  6995. procedure setw(thebits : TBits_32); inline;
  6996. public
  6997. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  6998. property w : TBits_32 read getw write setw;
  6999. end;
  7000. TPMP_PMDIN = record
  7001. private
  7002. function getDATAIN : TBits_32; inline;
  7003. function getw : TBits_32; inline;
  7004. procedure setDATAIN(thebits : TBits_32); inline;
  7005. procedure setw(thebits : TBits_32); inline;
  7006. public
  7007. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  7008. property w : TBits_32 read getw write setw;
  7009. end;
  7010. TPMP_PMAEN = record
  7011. private
  7012. function getPTEN : TBits_16; inline;
  7013. function getPTEN0 : TBits_1; inline;
  7014. function getPTEN1 : TBits_1; inline;
  7015. function getPTEN10 : TBits_1; inline;
  7016. function getPTEN11 : TBits_1; inline;
  7017. function getPTEN12 : TBits_1; inline;
  7018. function getPTEN13 : TBits_1; inline;
  7019. function getPTEN14 : TBits_1; inline;
  7020. function getPTEN15 : TBits_1; inline;
  7021. function getPTEN2 : TBits_1; inline;
  7022. function getPTEN3 : TBits_1; inline;
  7023. function getPTEN4 : TBits_1; inline;
  7024. function getPTEN5 : TBits_1; inline;
  7025. function getPTEN6 : TBits_1; inline;
  7026. function getPTEN7 : TBits_1; inline;
  7027. function getPTEN8 : TBits_1; inline;
  7028. function getPTEN9 : TBits_1; inline;
  7029. function getw : TBits_32; inline;
  7030. procedure setPTEN(thebits : TBits_16); inline;
  7031. procedure setPTEN0(thebits : TBits_1); inline;
  7032. procedure setPTEN1(thebits : TBits_1); inline;
  7033. procedure setPTEN10(thebits : TBits_1); inline;
  7034. procedure setPTEN11(thebits : TBits_1); inline;
  7035. procedure setPTEN12(thebits : TBits_1); inline;
  7036. procedure setPTEN13(thebits : TBits_1); inline;
  7037. procedure setPTEN14(thebits : TBits_1); inline;
  7038. procedure setPTEN15(thebits : TBits_1); inline;
  7039. procedure setPTEN2(thebits : TBits_1); inline;
  7040. procedure setPTEN3(thebits : TBits_1); inline;
  7041. procedure setPTEN4(thebits : TBits_1); inline;
  7042. procedure setPTEN5(thebits : TBits_1); inline;
  7043. procedure setPTEN6(thebits : TBits_1); inline;
  7044. procedure setPTEN7(thebits : TBits_1); inline;
  7045. procedure setPTEN8(thebits : TBits_1); inline;
  7046. procedure setPTEN9(thebits : TBits_1); inline;
  7047. procedure setw(thebits : TBits_32); inline;
  7048. public
  7049. procedure clearPTEN0; inline;
  7050. procedure clearPTEN10; inline;
  7051. procedure clearPTEN11; inline;
  7052. procedure clearPTEN12; inline;
  7053. procedure clearPTEN13; inline;
  7054. procedure clearPTEN14; inline;
  7055. procedure clearPTEN15; inline;
  7056. procedure clearPTEN1; inline;
  7057. procedure clearPTEN2; inline;
  7058. procedure clearPTEN3; inline;
  7059. procedure clearPTEN4; inline;
  7060. procedure clearPTEN5; inline;
  7061. procedure clearPTEN6; inline;
  7062. procedure clearPTEN7; inline;
  7063. procedure clearPTEN8; inline;
  7064. procedure clearPTEN9; inline;
  7065. procedure setPTEN0; inline;
  7066. procedure setPTEN10; inline;
  7067. procedure setPTEN11; inline;
  7068. procedure setPTEN12; inline;
  7069. procedure setPTEN13; inline;
  7070. procedure setPTEN14; inline;
  7071. procedure setPTEN15; inline;
  7072. procedure setPTEN1; inline;
  7073. procedure setPTEN2; inline;
  7074. procedure setPTEN3; inline;
  7075. procedure setPTEN4; inline;
  7076. procedure setPTEN5; inline;
  7077. procedure setPTEN6; inline;
  7078. procedure setPTEN7; inline;
  7079. procedure setPTEN8; inline;
  7080. procedure setPTEN9; inline;
  7081. property PTEN : TBits_16 read getPTEN write setPTEN;
  7082. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  7083. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  7084. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  7085. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  7086. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  7087. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  7088. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  7089. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  7090. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  7091. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  7092. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  7093. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  7094. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  7095. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  7096. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  7097. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  7098. property w : TBits_32 read getw write setw;
  7099. end;
  7100. TPMP_PMSTAT = record
  7101. private
  7102. function getIB0F : TBits_1; inline;
  7103. function getIB1F : TBits_1; inline;
  7104. function getIB2F : TBits_1; inline;
  7105. function getIB3F : TBits_1; inline;
  7106. function getIBF : TBits_1; inline;
  7107. function getIBOV : TBits_1; inline;
  7108. function getOB0E : TBits_1; inline;
  7109. function getOB1E : TBits_1; inline;
  7110. function getOB2E : TBits_1; inline;
  7111. function getOB3E : TBits_1; inline;
  7112. function getOBE : TBits_1; inline;
  7113. function getOBUF : TBits_1; inline;
  7114. function getw : TBits_32; inline;
  7115. procedure setIB0F(thebits : TBits_1); inline;
  7116. procedure setIB1F(thebits : TBits_1); inline;
  7117. procedure setIB2F(thebits : TBits_1); inline;
  7118. procedure setIB3F(thebits : TBits_1); inline;
  7119. procedure setIBF(thebits : TBits_1); inline;
  7120. procedure setIBOV(thebits : TBits_1); inline;
  7121. procedure setOB0E(thebits : TBits_1); inline;
  7122. procedure setOB1E(thebits : TBits_1); inline;
  7123. procedure setOB2E(thebits : TBits_1); inline;
  7124. procedure setOB3E(thebits : TBits_1); inline;
  7125. procedure setOBE(thebits : TBits_1); inline;
  7126. procedure setOBUF(thebits : TBits_1); inline;
  7127. procedure setw(thebits : TBits_32); inline;
  7128. public
  7129. procedure clearIB0F; inline;
  7130. procedure clearIB1F; inline;
  7131. procedure clearIB2F; inline;
  7132. procedure clearIB3F; inline;
  7133. procedure clearIBF; inline;
  7134. procedure clearIBOV; inline;
  7135. procedure clearOB0E; inline;
  7136. procedure clearOB1E; inline;
  7137. procedure clearOB2E; inline;
  7138. procedure clearOB3E; inline;
  7139. procedure clearOBE; inline;
  7140. procedure clearOBUF; inline;
  7141. procedure setIB0F; inline;
  7142. procedure setIB1F; inline;
  7143. procedure setIB2F; inline;
  7144. procedure setIB3F; inline;
  7145. procedure setIBF; inline;
  7146. procedure setIBOV; inline;
  7147. procedure setOB0E; inline;
  7148. procedure setOB1E; inline;
  7149. procedure setOB2E; inline;
  7150. procedure setOB3E; inline;
  7151. procedure setOBE; inline;
  7152. procedure setOBUF; inline;
  7153. property IB0F : TBits_1 read getIB0F write setIB0F;
  7154. property IB1F : TBits_1 read getIB1F write setIB1F;
  7155. property IB2F : TBits_1 read getIB2F write setIB2F;
  7156. property IB3F : TBits_1 read getIB3F write setIB3F;
  7157. property IBF : TBits_1 read getIBF write setIBF;
  7158. property IBOV : TBits_1 read getIBOV write setIBOV;
  7159. property OB0E : TBits_1 read getOB0E write setOB0E;
  7160. property OB1E : TBits_1 read getOB1E write setOB1E;
  7161. property OB2E : TBits_1 read getOB2E write setOB2E;
  7162. property OB3E : TBits_1 read getOB3E write setOB3E;
  7163. property OBE : TBits_1 read getOBE write setOBE;
  7164. property OBUF : TBits_1 read getOBUF write setOBUF;
  7165. property w : TBits_32 read getw write setw;
  7166. end;
  7167. type
  7168. TPMPRegisters = record
  7169. PMCONbits : TPMP_PMCON;
  7170. PMCON : longWord;
  7171. PMCONCLR : longWord;
  7172. PMCONSET : longWord;
  7173. PMCONINV : longWord;
  7174. PMMODEbits : TPMP_PMMODE;
  7175. PMMODE : longWord;
  7176. PMMODECLR : longWord;
  7177. PMMODESET : longWord;
  7178. PMMODEINV : longWord;
  7179. PMADDRbits : TPMP_PMADDR;
  7180. PMADDR : longWord;
  7181. PMADDRCLR : longWord;
  7182. PMADDRSET : longWord;
  7183. PMADDRINV : longWord;
  7184. PMDOUTbits : TPMP_PMDOUT;
  7185. PMDOUT : longWord;
  7186. PMDOUTCLR : longWord;
  7187. PMDOUTSET : longWord;
  7188. PMDOUTINV : longWord;
  7189. PMDINbits : TPMP_PMDIN;
  7190. PMDIN : longWord;
  7191. PMDINCLR : longWord;
  7192. PMDINSET : longWord;
  7193. PMDININV : longWord;
  7194. PMAENbits : TPMP_PMAEN;
  7195. PMAEN : longWord;
  7196. PMAENCLR : longWord;
  7197. PMAENSET : longWord;
  7198. PMAENINV : longWord;
  7199. PMSTATbits : TPMP_PMSTAT;
  7200. PMSTAT : longWord;
  7201. PMSTATCLR : longWord;
  7202. PMSTATSET : longWord;
  7203. PMSTATINV : longWord;
  7204. end;
  7205. TADC10_AD1CON1 = record
  7206. private
  7207. function getADON : TBits_1; inline;
  7208. function getADSIDL : TBits_1; inline;
  7209. function getASAM : TBits_1; inline;
  7210. function getCLRASAM : TBits_1; inline;
  7211. function getDONE : TBits_1; inline;
  7212. function getFORM : TBits_3; inline;
  7213. function getFORM0 : TBits_1; inline;
  7214. function getFORM1 : TBits_1; inline;
  7215. function getFORM2 : TBits_1; inline;
  7216. function getON : TBits_1; inline;
  7217. function getSAMP : TBits_1; inline;
  7218. function getSIDL : TBits_1; inline;
  7219. function getSSRC : TBits_3; inline;
  7220. function getSSRC0 : TBits_1; inline;
  7221. function getSSRC1 : TBits_1; inline;
  7222. function getSSRC2 : TBits_1; inline;
  7223. function getw : TBits_32; inline;
  7224. procedure setADON(thebits : TBits_1); inline;
  7225. procedure setADSIDL(thebits : TBits_1); inline;
  7226. procedure setASAM(thebits : TBits_1); inline;
  7227. procedure setCLRASAM(thebits : TBits_1); inline;
  7228. procedure setDONE(thebits : TBits_1); inline;
  7229. procedure setFORM(thebits : TBits_3); inline;
  7230. procedure setFORM0(thebits : TBits_1); inline;
  7231. procedure setFORM1(thebits : TBits_1); inline;
  7232. procedure setFORM2(thebits : TBits_1); inline;
  7233. procedure setON(thebits : TBits_1); inline;
  7234. procedure setSAMP(thebits : TBits_1); inline;
  7235. procedure setSIDL(thebits : TBits_1); inline;
  7236. procedure setSSRC(thebits : TBits_3); inline;
  7237. procedure setSSRC0(thebits : TBits_1); inline;
  7238. procedure setSSRC1(thebits : TBits_1); inline;
  7239. procedure setSSRC2(thebits : TBits_1); inline;
  7240. procedure setw(thebits : TBits_32); inline;
  7241. public
  7242. procedure clearADON; inline;
  7243. procedure clearADSIDL; inline;
  7244. procedure clearASAM; inline;
  7245. procedure clearCLRASAM; inline;
  7246. procedure clearDONE; inline;
  7247. procedure clearFORM0; inline;
  7248. procedure clearFORM1; inline;
  7249. procedure clearFORM2; inline;
  7250. procedure clearON; inline;
  7251. procedure clearSAMP; inline;
  7252. procedure clearSIDL; inline;
  7253. procedure clearSSRC0; inline;
  7254. procedure clearSSRC1; inline;
  7255. procedure clearSSRC2; inline;
  7256. procedure setADON; inline;
  7257. procedure setADSIDL; inline;
  7258. procedure setASAM; inline;
  7259. procedure setCLRASAM; inline;
  7260. procedure setDONE; inline;
  7261. procedure setFORM0; inline;
  7262. procedure setFORM1; inline;
  7263. procedure setFORM2; inline;
  7264. procedure setON; inline;
  7265. procedure setSAMP; inline;
  7266. procedure setSIDL; inline;
  7267. procedure setSSRC0; inline;
  7268. procedure setSSRC1; inline;
  7269. procedure setSSRC2; inline;
  7270. property ADON : TBits_1 read getADON write setADON;
  7271. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  7272. property ASAM : TBits_1 read getASAM write setASAM;
  7273. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  7274. property DONE : TBits_1 read getDONE write setDONE;
  7275. property FORM : TBits_3 read getFORM write setFORM;
  7276. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  7277. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  7278. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  7279. property ON : TBits_1 read getON write setON;
  7280. property SAMP : TBits_1 read getSAMP write setSAMP;
  7281. property SIDL : TBits_1 read getSIDL write setSIDL;
  7282. property SSRC : TBits_3 read getSSRC write setSSRC;
  7283. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  7284. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  7285. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  7286. property w : TBits_32 read getw write setw;
  7287. end;
  7288. TADC10_AD1CON2 = record
  7289. private
  7290. function getALTS : TBits_1; inline;
  7291. function getBUFM : TBits_1; inline;
  7292. function getBUFS : TBits_1; inline;
  7293. function getCSCNA : TBits_1; inline;
  7294. function getOFFCAL : TBits_1; inline;
  7295. function getSMPI : TBits_4; inline;
  7296. function getSMPI0 : TBits_1; inline;
  7297. function getSMPI1 : TBits_1; inline;
  7298. function getSMPI2 : TBits_1; inline;
  7299. function getSMPI3 : TBits_1; inline;
  7300. function getVCFG : TBits_3; inline;
  7301. function getVCFG0 : TBits_1; inline;
  7302. function getVCFG1 : TBits_1; inline;
  7303. function getVCFG2 : TBits_1; inline;
  7304. function getw : TBits_32; inline;
  7305. procedure setALTS(thebits : TBits_1); inline;
  7306. procedure setBUFM(thebits : TBits_1); inline;
  7307. procedure setBUFS(thebits : TBits_1); inline;
  7308. procedure setCSCNA(thebits : TBits_1); inline;
  7309. procedure setOFFCAL(thebits : TBits_1); inline;
  7310. procedure setSMPI(thebits : TBits_4); inline;
  7311. procedure setSMPI0(thebits : TBits_1); inline;
  7312. procedure setSMPI1(thebits : TBits_1); inline;
  7313. procedure setSMPI2(thebits : TBits_1); inline;
  7314. procedure setSMPI3(thebits : TBits_1); inline;
  7315. procedure setVCFG(thebits : TBits_3); inline;
  7316. procedure setVCFG0(thebits : TBits_1); inline;
  7317. procedure setVCFG1(thebits : TBits_1); inline;
  7318. procedure setVCFG2(thebits : TBits_1); inline;
  7319. procedure setw(thebits : TBits_32); inline;
  7320. public
  7321. procedure clearALTS; inline;
  7322. procedure clearBUFM; inline;
  7323. procedure clearBUFS; inline;
  7324. procedure clearCSCNA; inline;
  7325. procedure clearOFFCAL; inline;
  7326. procedure clearSMPI0; inline;
  7327. procedure clearSMPI1; inline;
  7328. procedure clearSMPI2; inline;
  7329. procedure clearSMPI3; inline;
  7330. procedure clearVCFG0; inline;
  7331. procedure clearVCFG1; inline;
  7332. procedure clearVCFG2; inline;
  7333. procedure setALTS; inline;
  7334. procedure setBUFM; inline;
  7335. procedure setBUFS; inline;
  7336. procedure setCSCNA; inline;
  7337. procedure setOFFCAL; inline;
  7338. procedure setSMPI0; inline;
  7339. procedure setSMPI1; inline;
  7340. procedure setSMPI2; inline;
  7341. procedure setSMPI3; inline;
  7342. procedure setVCFG0; inline;
  7343. procedure setVCFG1; inline;
  7344. procedure setVCFG2; inline;
  7345. property ALTS : TBits_1 read getALTS write setALTS;
  7346. property BUFM : TBits_1 read getBUFM write setBUFM;
  7347. property BUFS : TBits_1 read getBUFS write setBUFS;
  7348. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  7349. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  7350. property SMPI : TBits_4 read getSMPI write setSMPI;
  7351. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  7352. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  7353. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  7354. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  7355. property VCFG : TBits_3 read getVCFG write setVCFG;
  7356. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  7357. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  7358. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  7359. property w : TBits_32 read getw write setw;
  7360. end;
  7361. TADC10_AD1CON3 = record
  7362. private
  7363. function getADCS : TBits_8; inline;
  7364. function getADCS0 : TBits_1; inline;
  7365. function getADCS1 : TBits_1; inline;
  7366. function getADCS2 : TBits_1; inline;
  7367. function getADCS3 : TBits_1; inline;
  7368. function getADCS4 : TBits_1; inline;
  7369. function getADCS5 : TBits_1; inline;
  7370. function getADCS6 : TBits_1; inline;
  7371. function getADCS7 : TBits_1; inline;
  7372. function getADRC : TBits_1; inline;
  7373. function getSAMC : TBits_5; inline;
  7374. function getSAMC0 : TBits_1; inline;
  7375. function getSAMC1 : TBits_1; inline;
  7376. function getSAMC2 : TBits_1; inline;
  7377. function getSAMC3 : TBits_1; inline;
  7378. function getSAMC4 : TBits_1; inline;
  7379. function getw : TBits_32; inline;
  7380. procedure setADCS(thebits : TBits_8); inline;
  7381. procedure setADCS0(thebits : TBits_1); inline;
  7382. procedure setADCS1(thebits : TBits_1); inline;
  7383. procedure setADCS2(thebits : TBits_1); inline;
  7384. procedure setADCS3(thebits : TBits_1); inline;
  7385. procedure setADCS4(thebits : TBits_1); inline;
  7386. procedure setADCS5(thebits : TBits_1); inline;
  7387. procedure setADCS6(thebits : TBits_1); inline;
  7388. procedure setADCS7(thebits : TBits_1); inline;
  7389. procedure setADRC(thebits : TBits_1); inline;
  7390. procedure setSAMC(thebits : TBits_5); inline;
  7391. procedure setSAMC0(thebits : TBits_1); inline;
  7392. procedure setSAMC1(thebits : TBits_1); inline;
  7393. procedure setSAMC2(thebits : TBits_1); inline;
  7394. procedure setSAMC3(thebits : TBits_1); inline;
  7395. procedure setSAMC4(thebits : TBits_1); inline;
  7396. procedure setw(thebits : TBits_32); inline;
  7397. public
  7398. procedure clearADCS0; inline;
  7399. procedure clearADCS1; inline;
  7400. procedure clearADCS2; inline;
  7401. procedure clearADCS3; inline;
  7402. procedure clearADCS4; inline;
  7403. procedure clearADCS5; inline;
  7404. procedure clearADCS6; inline;
  7405. procedure clearADCS7; inline;
  7406. procedure clearADRC; inline;
  7407. procedure clearSAMC0; inline;
  7408. procedure clearSAMC1; inline;
  7409. procedure clearSAMC2; inline;
  7410. procedure clearSAMC3; inline;
  7411. procedure clearSAMC4; inline;
  7412. procedure setADCS0; inline;
  7413. procedure setADCS1; inline;
  7414. procedure setADCS2; inline;
  7415. procedure setADCS3; inline;
  7416. procedure setADCS4; inline;
  7417. procedure setADCS5; inline;
  7418. procedure setADCS6; inline;
  7419. procedure setADCS7; inline;
  7420. procedure setADRC; inline;
  7421. procedure setSAMC0; inline;
  7422. procedure setSAMC1; inline;
  7423. procedure setSAMC2; inline;
  7424. procedure setSAMC3; inline;
  7425. procedure setSAMC4; inline;
  7426. property ADCS : TBits_8 read getADCS write setADCS;
  7427. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  7428. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  7429. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  7430. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  7431. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  7432. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  7433. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  7434. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  7435. property ADRC : TBits_1 read getADRC write setADRC;
  7436. property SAMC : TBits_5 read getSAMC write setSAMC;
  7437. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  7438. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  7439. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  7440. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  7441. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  7442. property w : TBits_32 read getw write setw;
  7443. end;
  7444. TADC10_AD1CHS = record
  7445. private
  7446. function getCH0NA : TBits_1; inline;
  7447. function getCH0NB : TBits_1; inline;
  7448. function getCH0SA : TBits_4; inline;
  7449. function getCH0SA0 : TBits_1; inline;
  7450. function getCH0SA1 : TBits_1; inline;
  7451. function getCH0SA2 : TBits_1; inline;
  7452. function getCH0SA3 : TBits_1; inline;
  7453. function getCH0SB : TBits_4; inline;
  7454. function getCH0SB0 : TBits_1; inline;
  7455. function getCH0SB1 : TBits_1; inline;
  7456. function getCH0SB2 : TBits_1; inline;
  7457. function getCH0SB3 : TBits_1; inline;
  7458. function getw : TBits_32; inline;
  7459. procedure setCH0NA(thebits : TBits_1); inline;
  7460. procedure setCH0NB(thebits : TBits_1); inline;
  7461. procedure setCH0SA(thebits : TBits_4); inline;
  7462. procedure setCH0SA0(thebits : TBits_1); inline;
  7463. procedure setCH0SA1(thebits : TBits_1); inline;
  7464. procedure setCH0SA2(thebits : TBits_1); inline;
  7465. procedure setCH0SA3(thebits : TBits_1); inline;
  7466. procedure setCH0SB(thebits : TBits_4); inline;
  7467. procedure setCH0SB0(thebits : TBits_1); inline;
  7468. procedure setCH0SB1(thebits : TBits_1); inline;
  7469. procedure setCH0SB2(thebits : TBits_1); inline;
  7470. procedure setCH0SB3(thebits : TBits_1); inline;
  7471. procedure setw(thebits : TBits_32); inline;
  7472. public
  7473. procedure clearCH0NA; inline;
  7474. procedure clearCH0NB; inline;
  7475. procedure clearCH0SA0; inline;
  7476. procedure clearCH0SA1; inline;
  7477. procedure clearCH0SA2; inline;
  7478. procedure clearCH0SA3; inline;
  7479. procedure clearCH0SB0; inline;
  7480. procedure clearCH0SB1; inline;
  7481. procedure clearCH0SB2; inline;
  7482. procedure clearCH0SB3; inline;
  7483. procedure setCH0NA; inline;
  7484. procedure setCH0NB; inline;
  7485. procedure setCH0SA0; inline;
  7486. procedure setCH0SA1; inline;
  7487. procedure setCH0SA2; inline;
  7488. procedure setCH0SA3; inline;
  7489. procedure setCH0SB0; inline;
  7490. procedure setCH0SB1; inline;
  7491. procedure setCH0SB2; inline;
  7492. procedure setCH0SB3; inline;
  7493. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  7494. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  7495. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  7496. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  7497. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  7498. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  7499. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  7500. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  7501. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  7502. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  7503. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  7504. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  7505. property w : TBits_32 read getw write setw;
  7506. end;
  7507. TADC10_AD1CSSL = record
  7508. private
  7509. function getCSSL : TBits_16; inline;
  7510. function getCSSL0 : TBits_1; inline;
  7511. function getCSSL1 : TBits_1; inline;
  7512. function getCSSL10 : TBits_1; inline;
  7513. function getCSSL11 : TBits_1; inline;
  7514. function getCSSL12 : TBits_1; inline;
  7515. function getCSSL13 : TBits_1; inline;
  7516. function getCSSL14 : TBits_1; inline;
  7517. function getCSSL15 : TBits_1; inline;
  7518. function getCSSL2 : TBits_1; inline;
  7519. function getCSSL3 : TBits_1; inline;
  7520. function getCSSL4 : TBits_1; inline;
  7521. function getCSSL5 : TBits_1; inline;
  7522. function getCSSL6 : TBits_1; inline;
  7523. function getCSSL7 : TBits_1; inline;
  7524. function getCSSL8 : TBits_1; inline;
  7525. function getCSSL9 : TBits_1; inline;
  7526. function getw : TBits_32; inline;
  7527. procedure setCSSL(thebits : TBits_16); inline;
  7528. procedure setCSSL0(thebits : TBits_1); inline;
  7529. procedure setCSSL1(thebits : TBits_1); inline;
  7530. procedure setCSSL10(thebits : TBits_1); inline;
  7531. procedure setCSSL11(thebits : TBits_1); inline;
  7532. procedure setCSSL12(thebits : TBits_1); inline;
  7533. procedure setCSSL13(thebits : TBits_1); inline;
  7534. procedure setCSSL14(thebits : TBits_1); inline;
  7535. procedure setCSSL15(thebits : TBits_1); inline;
  7536. procedure setCSSL2(thebits : TBits_1); inline;
  7537. procedure setCSSL3(thebits : TBits_1); inline;
  7538. procedure setCSSL4(thebits : TBits_1); inline;
  7539. procedure setCSSL5(thebits : TBits_1); inline;
  7540. procedure setCSSL6(thebits : TBits_1); inline;
  7541. procedure setCSSL7(thebits : TBits_1); inline;
  7542. procedure setCSSL8(thebits : TBits_1); inline;
  7543. procedure setCSSL9(thebits : TBits_1); inline;
  7544. procedure setw(thebits : TBits_32); inline;
  7545. public
  7546. procedure clearCSSL0; inline;
  7547. procedure clearCSSL10; inline;
  7548. procedure clearCSSL11; inline;
  7549. procedure clearCSSL12; inline;
  7550. procedure clearCSSL13; inline;
  7551. procedure clearCSSL14; inline;
  7552. procedure clearCSSL15; inline;
  7553. procedure clearCSSL1; inline;
  7554. procedure clearCSSL2; inline;
  7555. procedure clearCSSL3; inline;
  7556. procedure clearCSSL4; inline;
  7557. procedure clearCSSL5; inline;
  7558. procedure clearCSSL6; inline;
  7559. procedure clearCSSL7; inline;
  7560. procedure clearCSSL8; inline;
  7561. procedure clearCSSL9; inline;
  7562. procedure setCSSL0; inline;
  7563. procedure setCSSL10; inline;
  7564. procedure setCSSL11; inline;
  7565. procedure setCSSL12; inline;
  7566. procedure setCSSL13; inline;
  7567. procedure setCSSL14; inline;
  7568. procedure setCSSL15; inline;
  7569. procedure setCSSL1; inline;
  7570. procedure setCSSL2; inline;
  7571. procedure setCSSL3; inline;
  7572. procedure setCSSL4; inline;
  7573. procedure setCSSL5; inline;
  7574. procedure setCSSL6; inline;
  7575. procedure setCSSL7; inline;
  7576. procedure setCSSL8; inline;
  7577. procedure setCSSL9; inline;
  7578. property CSSL : TBits_16 read getCSSL write setCSSL;
  7579. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  7580. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  7581. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  7582. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  7583. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  7584. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  7585. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  7586. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  7587. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  7588. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  7589. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  7590. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  7591. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  7592. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  7593. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  7594. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  7595. property w : TBits_32 read getw write setw;
  7596. end;
  7597. TADC10_AD1PCFG = record
  7598. private
  7599. function getPCFG : TBits_16; inline;
  7600. function getPCFG0 : TBits_1; inline;
  7601. function getPCFG1 : TBits_1; inline;
  7602. function getPCFG10 : TBits_1; inline;
  7603. function getPCFG11 : TBits_1; inline;
  7604. function getPCFG12 : TBits_1; inline;
  7605. function getPCFG13 : TBits_1; inline;
  7606. function getPCFG14 : TBits_1; inline;
  7607. function getPCFG15 : TBits_1; inline;
  7608. function getPCFG2 : TBits_1; inline;
  7609. function getPCFG3 : TBits_1; inline;
  7610. function getPCFG4 : TBits_1; inline;
  7611. function getPCFG5 : TBits_1; inline;
  7612. function getPCFG6 : TBits_1; inline;
  7613. function getPCFG7 : TBits_1; inline;
  7614. function getPCFG8 : TBits_1; inline;
  7615. function getPCFG9 : TBits_1; inline;
  7616. function getw : TBits_32; inline;
  7617. procedure setPCFG(thebits : TBits_16); inline;
  7618. procedure setPCFG0(thebits : TBits_1); inline;
  7619. procedure setPCFG1(thebits : TBits_1); inline;
  7620. procedure setPCFG10(thebits : TBits_1); inline;
  7621. procedure setPCFG11(thebits : TBits_1); inline;
  7622. procedure setPCFG12(thebits : TBits_1); inline;
  7623. procedure setPCFG13(thebits : TBits_1); inline;
  7624. procedure setPCFG14(thebits : TBits_1); inline;
  7625. procedure setPCFG15(thebits : TBits_1); inline;
  7626. procedure setPCFG2(thebits : TBits_1); inline;
  7627. procedure setPCFG3(thebits : TBits_1); inline;
  7628. procedure setPCFG4(thebits : TBits_1); inline;
  7629. procedure setPCFG5(thebits : TBits_1); inline;
  7630. procedure setPCFG6(thebits : TBits_1); inline;
  7631. procedure setPCFG7(thebits : TBits_1); inline;
  7632. procedure setPCFG8(thebits : TBits_1); inline;
  7633. procedure setPCFG9(thebits : TBits_1); inline;
  7634. procedure setw(thebits : TBits_32); inline;
  7635. public
  7636. procedure clearPCFG0; inline;
  7637. procedure clearPCFG10; inline;
  7638. procedure clearPCFG11; inline;
  7639. procedure clearPCFG12; inline;
  7640. procedure clearPCFG13; inline;
  7641. procedure clearPCFG14; inline;
  7642. procedure clearPCFG15; inline;
  7643. procedure clearPCFG1; inline;
  7644. procedure clearPCFG2; inline;
  7645. procedure clearPCFG3; inline;
  7646. procedure clearPCFG4; inline;
  7647. procedure clearPCFG5; inline;
  7648. procedure clearPCFG6; inline;
  7649. procedure clearPCFG7; inline;
  7650. procedure clearPCFG8; inline;
  7651. procedure clearPCFG9; inline;
  7652. procedure setPCFG0; inline;
  7653. procedure setPCFG10; inline;
  7654. procedure setPCFG11; inline;
  7655. procedure setPCFG12; inline;
  7656. procedure setPCFG13; inline;
  7657. procedure setPCFG14; inline;
  7658. procedure setPCFG15; inline;
  7659. procedure setPCFG1; inline;
  7660. procedure setPCFG2; inline;
  7661. procedure setPCFG3; inline;
  7662. procedure setPCFG4; inline;
  7663. procedure setPCFG5; inline;
  7664. procedure setPCFG6; inline;
  7665. procedure setPCFG7; inline;
  7666. procedure setPCFG8; inline;
  7667. procedure setPCFG9; inline;
  7668. property PCFG : TBits_16 read getPCFG write setPCFG;
  7669. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  7670. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  7671. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  7672. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  7673. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  7674. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  7675. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  7676. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  7677. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  7678. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  7679. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  7680. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  7681. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  7682. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  7683. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  7684. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  7685. property w : TBits_32 read getw write setw;
  7686. end;
  7687. type
  7688. TADC10Registers = record
  7689. AD1CON1bits : TADC10_AD1CON1;
  7690. AD1CON1 : longWord;
  7691. AD1CON1CLR : longWord;
  7692. AD1CON1SET : longWord;
  7693. AD1CON1INV : longWord;
  7694. AD1CON2bits : TADC10_AD1CON2;
  7695. AD1CON2 : longWord;
  7696. AD1CON2CLR : longWord;
  7697. AD1CON2SET : longWord;
  7698. AD1CON2INV : longWord;
  7699. AD1CON3bits : TADC10_AD1CON3;
  7700. AD1CON3 : longWord;
  7701. AD1CON3CLR : longWord;
  7702. AD1CON3SET : longWord;
  7703. AD1CON3INV : longWord;
  7704. AD1CHSbits : TADC10_AD1CHS;
  7705. AD1CHS : longWord;
  7706. AD1CHSCLR : longWord;
  7707. AD1CHSSET : longWord;
  7708. AD1CHSINV : longWord;
  7709. AD1CSSLbits : TADC10_AD1CSSL;
  7710. AD1CSSL : longWord;
  7711. AD1CSSLCLR : longWord;
  7712. AD1CSSLSET : longWord;
  7713. AD1CSSLINV : longWord;
  7714. AD1PCFGbits : TADC10_AD1PCFG;
  7715. AD1PCFG : longWord;
  7716. AD1PCFGCLR : longWord;
  7717. AD1PCFGSET : longWord;
  7718. AD1PCFGINV : longWord;
  7719. ADC1BUF0 : longWord;
  7720. ADC1BUF1 : longWord;
  7721. ADC1BUF2 : longWord;
  7722. ADC1BUF3 : longWord;
  7723. ADC1BUF4 : longWord;
  7724. ADC1BUF5 : longWord;
  7725. ADC1BUF6 : longWord;
  7726. ADC1BUF7 : longWord;
  7727. ADC1BUF8 : longWord;
  7728. ADC1BUF9 : longWord;
  7729. ADC1BUFA : longWord;
  7730. ADC1BUFB : longWord;
  7731. ADC1BUFC : longWord;
  7732. ADC1BUFD : longWord;
  7733. ADC1BUFE : longWord;
  7734. ADC1BUFF : longWord;
  7735. end;
  7736. TCVR_CVRCON = record
  7737. private
  7738. function getCVR : TBits_4; inline;
  7739. function getCVR0 : TBits_1; inline;
  7740. function getCVR1 : TBits_1; inline;
  7741. function getCVR2 : TBits_1; inline;
  7742. function getCVR3 : TBits_1; inline;
  7743. function getCVROE : TBits_1; inline;
  7744. function getCVRR : TBits_1; inline;
  7745. function getCVRSS : TBits_1; inline;
  7746. function getON : TBits_1; inline;
  7747. function getw : TBits_32; inline;
  7748. procedure setCVR(thebits : TBits_4); inline;
  7749. procedure setCVR0(thebits : TBits_1); inline;
  7750. procedure setCVR1(thebits : TBits_1); inline;
  7751. procedure setCVR2(thebits : TBits_1); inline;
  7752. procedure setCVR3(thebits : TBits_1); inline;
  7753. procedure setCVROE(thebits : TBits_1); inline;
  7754. procedure setCVRR(thebits : TBits_1); inline;
  7755. procedure setCVRSS(thebits : TBits_1); inline;
  7756. procedure setON(thebits : TBits_1); inline;
  7757. procedure setw(thebits : TBits_32); inline;
  7758. public
  7759. procedure clearCVR0; inline;
  7760. procedure clearCVR1; inline;
  7761. procedure clearCVR2; inline;
  7762. procedure clearCVR3; inline;
  7763. procedure clearCVROE; inline;
  7764. procedure clearCVRR; inline;
  7765. procedure clearCVRSS; inline;
  7766. procedure clearON; inline;
  7767. procedure setCVR0; inline;
  7768. procedure setCVR1; inline;
  7769. procedure setCVR2; inline;
  7770. procedure setCVR3; inline;
  7771. procedure setCVROE; inline;
  7772. procedure setCVRR; inline;
  7773. procedure setCVRSS; inline;
  7774. procedure setON; inline;
  7775. property CVR : TBits_4 read getCVR write setCVR;
  7776. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  7777. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  7778. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  7779. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  7780. property CVROE : TBits_1 read getCVROE write setCVROE;
  7781. property CVRR : TBits_1 read getCVRR write setCVRR;
  7782. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  7783. property ON : TBits_1 read getON write setON;
  7784. property w : TBits_32 read getw write setw;
  7785. end;
  7786. type
  7787. TCVRRegisters = record
  7788. CVRCONbits : TCVR_CVRCON;
  7789. CVRCON : longWord;
  7790. CVRCONCLR : longWord;
  7791. CVRCONSET : longWord;
  7792. CVRCONINV : longWord;
  7793. end;
  7794. TCMP_CM1CON = record
  7795. private
  7796. function getCCH : TBits_2; inline;
  7797. function getCCH0 : TBits_1; inline;
  7798. function getCCH1 : TBits_1; inline;
  7799. function getCOE : TBits_1; inline;
  7800. function getCOUT : TBits_1; inline;
  7801. function getCPOL : TBits_1; inline;
  7802. function getCREF : TBits_1; inline;
  7803. function getEVPOL : TBits_2; inline;
  7804. function getEVPOL0 : TBits_1; inline;
  7805. function getEVPOL1 : TBits_1; inline;
  7806. function getON : TBits_1; inline;
  7807. function getw : TBits_32; inline;
  7808. procedure setCCH(thebits : TBits_2); inline;
  7809. procedure setCCH0(thebits : TBits_1); inline;
  7810. procedure setCCH1(thebits : TBits_1); inline;
  7811. procedure setCOE(thebits : TBits_1); inline;
  7812. procedure setCOUT(thebits : TBits_1); inline;
  7813. procedure setCPOL(thebits : TBits_1); inline;
  7814. procedure setCREF(thebits : TBits_1); inline;
  7815. procedure setEVPOL(thebits : TBits_2); inline;
  7816. procedure setEVPOL0(thebits : TBits_1); inline;
  7817. procedure setEVPOL1(thebits : TBits_1); inline;
  7818. procedure setON(thebits : TBits_1); inline;
  7819. procedure setw(thebits : TBits_32); inline;
  7820. public
  7821. procedure clearCCH0; inline;
  7822. procedure clearCCH1; inline;
  7823. procedure clearCOE; inline;
  7824. procedure clearCOUT; inline;
  7825. procedure clearCPOL; inline;
  7826. procedure clearCREF; inline;
  7827. procedure clearEVPOL0; inline;
  7828. procedure clearEVPOL1; inline;
  7829. procedure clearON; inline;
  7830. procedure setCCH0; inline;
  7831. procedure setCCH1; inline;
  7832. procedure setCOE; inline;
  7833. procedure setCOUT; inline;
  7834. procedure setCPOL; inline;
  7835. procedure setCREF; inline;
  7836. procedure setEVPOL0; inline;
  7837. procedure setEVPOL1; inline;
  7838. procedure setON; inline;
  7839. property CCH : TBits_2 read getCCH write setCCH;
  7840. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7841. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7842. property COE : TBits_1 read getCOE write setCOE;
  7843. property COUT : TBits_1 read getCOUT write setCOUT;
  7844. property CPOL : TBits_1 read getCPOL write setCPOL;
  7845. property CREF : TBits_1 read getCREF write setCREF;
  7846. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7847. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7848. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7849. property ON : TBits_1 read getON write setON;
  7850. property w : TBits_32 read getw write setw;
  7851. end;
  7852. TCMP_CM2CON = record
  7853. private
  7854. function getCCH : TBits_2; inline;
  7855. function getCCH0 : TBits_1; inline;
  7856. function getCCH1 : TBits_1; inline;
  7857. function getCOE : TBits_1; inline;
  7858. function getCOUT : TBits_1; inline;
  7859. function getCPOL : TBits_1; inline;
  7860. function getCREF : TBits_1; inline;
  7861. function getEVPOL : TBits_2; inline;
  7862. function getEVPOL0 : TBits_1; inline;
  7863. function getEVPOL1 : TBits_1; inline;
  7864. function getON : TBits_1; inline;
  7865. function getw : TBits_32; inline;
  7866. procedure setCCH(thebits : TBits_2); inline;
  7867. procedure setCCH0(thebits : TBits_1); inline;
  7868. procedure setCCH1(thebits : TBits_1); inline;
  7869. procedure setCOE(thebits : TBits_1); inline;
  7870. procedure setCOUT(thebits : TBits_1); inline;
  7871. procedure setCPOL(thebits : TBits_1); inline;
  7872. procedure setCREF(thebits : TBits_1); inline;
  7873. procedure setEVPOL(thebits : TBits_2); inline;
  7874. procedure setEVPOL0(thebits : TBits_1); inline;
  7875. procedure setEVPOL1(thebits : TBits_1); inline;
  7876. procedure setON(thebits : TBits_1); inline;
  7877. procedure setw(thebits : TBits_32); inline;
  7878. public
  7879. procedure clearCCH0; inline;
  7880. procedure clearCCH1; inline;
  7881. procedure clearCOE; inline;
  7882. procedure clearCOUT; inline;
  7883. procedure clearCPOL; inline;
  7884. procedure clearCREF; inline;
  7885. procedure clearEVPOL0; inline;
  7886. procedure clearEVPOL1; inline;
  7887. procedure clearON; inline;
  7888. procedure setCCH0; inline;
  7889. procedure setCCH1; inline;
  7890. procedure setCOE; inline;
  7891. procedure setCOUT; inline;
  7892. procedure setCPOL; inline;
  7893. procedure setCREF; inline;
  7894. procedure setEVPOL0; inline;
  7895. procedure setEVPOL1; inline;
  7896. procedure setON; inline;
  7897. property CCH : TBits_2 read getCCH write setCCH;
  7898. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7899. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7900. property COE : TBits_1 read getCOE write setCOE;
  7901. property COUT : TBits_1 read getCOUT write setCOUT;
  7902. property CPOL : TBits_1 read getCPOL write setCPOL;
  7903. property CREF : TBits_1 read getCREF write setCREF;
  7904. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7905. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7906. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7907. property ON : TBits_1 read getON write setON;
  7908. property w : TBits_32 read getw write setw;
  7909. end;
  7910. TCMP_CMSTAT = record
  7911. private
  7912. function getC1OUT : TBits_1; inline;
  7913. function getC2OUT : TBits_1; inline;
  7914. function getSIDL : TBits_1; inline;
  7915. function getw : TBits_32; inline;
  7916. procedure setC1OUT(thebits : TBits_1); inline;
  7917. procedure setC2OUT(thebits : TBits_1); inline;
  7918. procedure setSIDL(thebits : TBits_1); inline;
  7919. procedure setw(thebits : TBits_32); inline;
  7920. public
  7921. procedure clearC1OUT; inline;
  7922. procedure clearC2OUT; inline;
  7923. procedure clearSIDL; inline;
  7924. procedure setC1OUT; inline;
  7925. procedure setC2OUT; inline;
  7926. procedure setSIDL; inline;
  7927. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  7928. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  7929. property SIDL : TBits_1 read getSIDL write setSIDL;
  7930. property w : TBits_32 read getw write setw;
  7931. end;
  7932. type
  7933. TCMPRegisters = record
  7934. CM1CONbits : TCMP_CM1CON;
  7935. CM1CON : longWord;
  7936. CM1CONCLR : longWord;
  7937. CM1CONSET : longWord;
  7938. CM1CONINV : longWord;
  7939. CM2CONbits : TCMP_CM2CON;
  7940. CM2CON : longWord;
  7941. CM2CONCLR : longWord;
  7942. CM2CONSET : longWord;
  7943. CM2CONINV : longWord;
  7944. CMSTATbits : TCMP_CMSTAT;
  7945. CMSTAT : longWord;
  7946. CMSTATCLR : longWord;
  7947. CMSTATSET : longWord;
  7948. CMSTATINV : longWord;
  7949. end;
  7950. TOSC_OSCCON = record
  7951. private
  7952. function getCF : TBits_1; inline;
  7953. function getCLKLOCK : TBits_1; inline;
  7954. function getCOSC : TBits_3; inline;
  7955. function getCOSC0 : TBits_1; inline;
  7956. function getCOSC1 : TBits_1; inline;
  7957. function getCOSC2 : TBits_1; inline;
  7958. function getFRCDIV : TBits_3; inline;
  7959. function getFRCDIV0 : TBits_1; inline;
  7960. function getFRCDIV1 : TBits_1; inline;
  7961. function getFRCDIV2 : TBits_1; inline;
  7962. function getNOSC : TBits_3; inline;
  7963. function getNOSC0 : TBits_1; inline;
  7964. function getNOSC1 : TBits_1; inline;
  7965. function getNOSC2 : TBits_1; inline;
  7966. function getOSWEN : TBits_1; inline;
  7967. function getPBDIV : TBits_2; inline;
  7968. function getPBDIV0 : TBits_1; inline;
  7969. function getPBDIV1 : TBits_1; inline;
  7970. function getPLLMULT : TBits_3; inline;
  7971. function getPLLMULT0 : TBits_1; inline;
  7972. function getPLLMULT1 : TBits_1; inline;
  7973. function getPLLMULT2 : TBits_1; inline;
  7974. function getPLLODIV : TBits_3; inline;
  7975. function getPLLODIV0 : TBits_1; inline;
  7976. function getPLLODIV1 : TBits_1; inline;
  7977. function getPLLODIV2 : TBits_1; inline;
  7978. function getSLOCK : TBits_1; inline;
  7979. function getSLPEN : TBits_1; inline;
  7980. function getSOSCEN : TBits_1; inline;
  7981. function getSOSCRDY : TBits_1; inline;
  7982. function getUFRCEN : TBits_1; inline;
  7983. function getULOCK : TBits_1; inline;
  7984. function getw : TBits_32; inline;
  7985. procedure setCF(thebits : TBits_1); inline;
  7986. procedure setCLKLOCK(thebits : TBits_1); inline;
  7987. procedure setCOSC(thebits : TBits_3); inline;
  7988. procedure setCOSC0(thebits : TBits_1); inline;
  7989. procedure setCOSC1(thebits : TBits_1); inline;
  7990. procedure setCOSC2(thebits : TBits_1); inline;
  7991. procedure setFRCDIV(thebits : TBits_3); inline;
  7992. procedure setFRCDIV0(thebits : TBits_1); inline;
  7993. procedure setFRCDIV1(thebits : TBits_1); inline;
  7994. procedure setFRCDIV2(thebits : TBits_1); inline;
  7995. procedure setNOSC(thebits : TBits_3); inline;
  7996. procedure setNOSC0(thebits : TBits_1); inline;
  7997. procedure setNOSC1(thebits : TBits_1); inline;
  7998. procedure setNOSC2(thebits : TBits_1); inline;
  7999. procedure setOSWEN(thebits : TBits_1); inline;
  8000. procedure setPBDIV(thebits : TBits_2); inline;
  8001. procedure setPBDIV0(thebits : TBits_1); inline;
  8002. procedure setPBDIV1(thebits : TBits_1); inline;
  8003. procedure setPLLMULT(thebits : TBits_3); inline;
  8004. procedure setPLLMULT0(thebits : TBits_1); inline;
  8005. procedure setPLLMULT1(thebits : TBits_1); inline;
  8006. procedure setPLLMULT2(thebits : TBits_1); inline;
  8007. procedure setPLLODIV(thebits : TBits_3); inline;
  8008. procedure setPLLODIV0(thebits : TBits_1); inline;
  8009. procedure setPLLODIV1(thebits : TBits_1); inline;
  8010. procedure setPLLODIV2(thebits : TBits_1); inline;
  8011. procedure setSLOCK(thebits : TBits_1); inline;
  8012. procedure setSLPEN(thebits : TBits_1); inline;
  8013. procedure setSOSCEN(thebits : TBits_1); inline;
  8014. procedure setSOSCRDY(thebits : TBits_1); inline;
  8015. procedure setUFRCEN(thebits : TBits_1); inline;
  8016. procedure setULOCK(thebits : TBits_1); inline;
  8017. procedure setw(thebits : TBits_32); inline;
  8018. public
  8019. procedure clearCF; inline;
  8020. procedure clearCLKLOCK; inline;
  8021. procedure clearCOSC0; inline;
  8022. procedure clearCOSC1; inline;
  8023. procedure clearCOSC2; inline;
  8024. procedure clearFRCDIV0; inline;
  8025. procedure clearFRCDIV1; inline;
  8026. procedure clearFRCDIV2; inline;
  8027. procedure clearNOSC0; inline;
  8028. procedure clearNOSC1; inline;
  8029. procedure clearNOSC2; inline;
  8030. procedure clearOSWEN; inline;
  8031. procedure clearPBDIV0; inline;
  8032. procedure clearPBDIV1; inline;
  8033. procedure clearPLLMULT0; inline;
  8034. procedure clearPLLMULT1; inline;
  8035. procedure clearPLLMULT2; inline;
  8036. procedure clearPLLODIV0; inline;
  8037. procedure clearPLLODIV1; inline;
  8038. procedure clearPLLODIV2; inline;
  8039. procedure clearSLOCK; inline;
  8040. procedure clearSLPEN; inline;
  8041. procedure clearSOSCEN; inline;
  8042. procedure clearSOSCRDY; inline;
  8043. procedure clearUFRCEN; inline;
  8044. procedure clearULOCK; inline;
  8045. procedure setCF; inline;
  8046. procedure setCLKLOCK; inline;
  8047. procedure setCOSC0; inline;
  8048. procedure setCOSC1; inline;
  8049. procedure setCOSC2; inline;
  8050. procedure setFRCDIV0; inline;
  8051. procedure setFRCDIV1; inline;
  8052. procedure setFRCDIV2; inline;
  8053. procedure setNOSC0; inline;
  8054. procedure setNOSC1; inline;
  8055. procedure setNOSC2; inline;
  8056. procedure setOSWEN; inline;
  8057. procedure setPBDIV0; inline;
  8058. procedure setPBDIV1; inline;
  8059. procedure setPLLMULT0; inline;
  8060. procedure setPLLMULT1; inline;
  8061. procedure setPLLMULT2; inline;
  8062. procedure setPLLODIV0; inline;
  8063. procedure setPLLODIV1; inline;
  8064. procedure setPLLODIV2; inline;
  8065. procedure setSLOCK; inline;
  8066. procedure setSLPEN; inline;
  8067. procedure setSOSCEN; inline;
  8068. procedure setSOSCRDY; inline;
  8069. procedure setUFRCEN; inline;
  8070. procedure setULOCK; inline;
  8071. property CF : TBits_1 read getCF write setCF;
  8072. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  8073. property COSC : TBits_3 read getCOSC write setCOSC;
  8074. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  8075. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  8076. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  8077. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  8078. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  8079. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  8080. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  8081. property NOSC : TBits_3 read getNOSC write setNOSC;
  8082. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  8083. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  8084. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  8085. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  8086. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  8087. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  8088. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  8089. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  8090. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  8091. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  8092. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  8093. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  8094. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  8095. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  8096. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  8097. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  8098. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  8099. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  8100. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  8101. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  8102. property ULOCK : TBits_1 read getULOCK write setULOCK;
  8103. property w : TBits_32 read getw write setw;
  8104. end;
  8105. TOSC_OSCTUN = record
  8106. private
  8107. function getTUN : TBits_6; inline;
  8108. function getTUN0 : TBits_1; inline;
  8109. function getTUN1 : TBits_1; inline;
  8110. function getTUN2 : TBits_1; inline;
  8111. function getTUN3 : TBits_1; inline;
  8112. function getTUN4 : TBits_1; inline;
  8113. function getTUN5 : TBits_1; inline;
  8114. function getw : TBits_32; inline;
  8115. procedure setTUN(thebits : TBits_6); inline;
  8116. procedure setTUN0(thebits : TBits_1); inline;
  8117. procedure setTUN1(thebits : TBits_1); inline;
  8118. procedure setTUN2(thebits : TBits_1); inline;
  8119. procedure setTUN3(thebits : TBits_1); inline;
  8120. procedure setTUN4(thebits : TBits_1); inline;
  8121. procedure setTUN5(thebits : TBits_1); inline;
  8122. procedure setw(thebits : TBits_32); inline;
  8123. public
  8124. procedure clearTUN0; inline;
  8125. procedure clearTUN1; inline;
  8126. procedure clearTUN2; inline;
  8127. procedure clearTUN3; inline;
  8128. procedure clearTUN4; inline;
  8129. procedure clearTUN5; inline;
  8130. procedure setTUN0; inline;
  8131. procedure setTUN1; inline;
  8132. procedure setTUN2; inline;
  8133. procedure setTUN3; inline;
  8134. procedure setTUN4; inline;
  8135. procedure setTUN5; inline;
  8136. property TUN : TBits_6 read getTUN write setTUN;
  8137. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  8138. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  8139. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  8140. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  8141. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  8142. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  8143. property w : TBits_32 read getw write setw;
  8144. end;
  8145. type
  8146. TOSCRegisters = record
  8147. OSCCONbits : TOSC_OSCCON;
  8148. OSCCON : longWord;
  8149. OSCCONCLR : longWord;
  8150. OSCCONSET : longWord;
  8151. OSCCONINV : longWord;
  8152. OSCTUNbits : TOSC_OSCTUN;
  8153. OSCTUN : longWord;
  8154. OSCTUNCLR : longWord;
  8155. OSCTUNSET : longWord;
  8156. OSCTUNINV : longWord;
  8157. end;
  8158. type
  8159. TCFGRegisters = record
  8160. DDPCON : longWord;
  8161. DEVID : longWord;
  8162. SYSKEY : longWord;
  8163. SYSKEYCLR : longWord;
  8164. SYSKEYSET : longWord;
  8165. SYSKEYINV : longWord;
  8166. end;
  8167. TNVM_NVMCON = record
  8168. private
  8169. function getLVDERR : TBits_1; inline;
  8170. function getLVDSTAT : TBits_1; inline;
  8171. function getNVMOP : TBits_4; inline;
  8172. function getNVMOP0 : TBits_1; inline;
  8173. function getNVMOP1 : TBits_1; inline;
  8174. function getNVMOP2 : TBits_1; inline;
  8175. function getNVMOP3 : TBits_1; inline;
  8176. function getPROGOP : TBits_4; inline;
  8177. function getPROGOP0 : TBits_1; inline;
  8178. function getPROGOP1 : TBits_1; inline;
  8179. function getPROGOP2 : TBits_1; inline;
  8180. function getPROGOP3 : TBits_1; inline;
  8181. function getWR : TBits_1; inline;
  8182. function getWREN : TBits_1; inline;
  8183. function getWRERR : TBits_1; inline;
  8184. function getw : TBits_32; inline;
  8185. procedure setLVDERR(thebits : TBits_1); inline;
  8186. procedure setLVDSTAT(thebits : TBits_1); inline;
  8187. procedure setNVMOP(thebits : TBits_4); inline;
  8188. procedure setNVMOP0(thebits : TBits_1); inline;
  8189. procedure setNVMOP1(thebits : TBits_1); inline;
  8190. procedure setNVMOP2(thebits : TBits_1); inline;
  8191. procedure setNVMOP3(thebits : TBits_1); inline;
  8192. procedure setPROGOP(thebits : TBits_4); inline;
  8193. procedure setPROGOP0(thebits : TBits_1); inline;
  8194. procedure setPROGOP1(thebits : TBits_1); inline;
  8195. procedure setPROGOP2(thebits : TBits_1); inline;
  8196. procedure setPROGOP3(thebits : TBits_1); inline;
  8197. procedure setWR(thebits : TBits_1); inline;
  8198. procedure setWREN(thebits : TBits_1); inline;
  8199. procedure setWRERR(thebits : TBits_1); inline;
  8200. procedure setw(thebits : TBits_32); inline;
  8201. public
  8202. procedure clearLVDERR; inline;
  8203. procedure clearLVDSTAT; inline;
  8204. procedure clearNVMOP0; inline;
  8205. procedure clearNVMOP1; inline;
  8206. procedure clearNVMOP2; inline;
  8207. procedure clearNVMOP3; inline;
  8208. procedure clearPROGOP0; inline;
  8209. procedure clearPROGOP1; inline;
  8210. procedure clearPROGOP2; inline;
  8211. procedure clearPROGOP3; inline;
  8212. procedure clearWR; inline;
  8213. procedure clearWREN; inline;
  8214. procedure clearWRERR; inline;
  8215. procedure setLVDERR; inline;
  8216. procedure setLVDSTAT; inline;
  8217. procedure setNVMOP0; inline;
  8218. procedure setNVMOP1; inline;
  8219. procedure setNVMOP2; inline;
  8220. procedure setNVMOP3; inline;
  8221. procedure setPROGOP0; inline;
  8222. procedure setPROGOP1; inline;
  8223. procedure setPROGOP2; inline;
  8224. procedure setPROGOP3; inline;
  8225. procedure setWR; inline;
  8226. procedure setWREN; inline;
  8227. procedure setWRERR; inline;
  8228. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  8229. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  8230. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  8231. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  8232. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  8233. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  8234. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  8235. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  8236. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  8237. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  8238. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  8239. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  8240. property WR : TBits_1 read getWR write setWR;
  8241. property WREN : TBits_1 read getWREN write setWREN;
  8242. property WRERR : TBits_1 read getWRERR write setWRERR;
  8243. property w : TBits_32 read getw write setw;
  8244. end;
  8245. type
  8246. TNVMRegisters = record
  8247. NVMCONbits : TNVM_NVMCON;
  8248. NVMCON : longWord;
  8249. NVMCONCLR : longWord;
  8250. NVMCONSET : longWord;
  8251. NVMCONINV : longWord;
  8252. NVMKEY : longWord;
  8253. NVMADDR : longWord;
  8254. NVMADDRCLR : longWord;
  8255. NVMADDRSET : longWord;
  8256. NVMADDRINV : longWord;
  8257. NVMDATA : longWord;
  8258. NVMSRCADDR : longWord;
  8259. end;
  8260. TRCON_RCON = record
  8261. private
  8262. function getBOR : TBits_1; inline;
  8263. function getCMR : TBits_1; inline;
  8264. function getEXTR : TBits_1; inline;
  8265. function getIDLE : TBits_1; inline;
  8266. function getPOR : TBits_1; inline;
  8267. function getSLEEP : TBits_1; inline;
  8268. function getSWR : TBits_1; inline;
  8269. function getVREGS : TBits_1; inline;
  8270. function getWDTO : TBits_1; inline;
  8271. function getw : TBits_32; inline;
  8272. procedure setBOR(thebits : TBits_1); inline;
  8273. procedure setCMR(thebits : TBits_1); inline;
  8274. procedure setEXTR(thebits : TBits_1); inline;
  8275. procedure setIDLE(thebits : TBits_1); inline;
  8276. procedure setPOR(thebits : TBits_1); inline;
  8277. procedure setSLEEP(thebits : TBits_1); inline;
  8278. procedure setSWR(thebits : TBits_1); inline;
  8279. procedure setVREGS(thebits : TBits_1); inline;
  8280. procedure setWDTO(thebits : TBits_1); inline;
  8281. procedure setw(thebits : TBits_32); inline;
  8282. public
  8283. procedure clearBOR; inline;
  8284. procedure clearCMR; inline;
  8285. procedure clearEXTR; inline;
  8286. procedure clearIDLE; inline;
  8287. procedure clearPOR; inline;
  8288. procedure clearSLEEP; inline;
  8289. procedure clearSWR; inline;
  8290. procedure clearVREGS; inline;
  8291. procedure clearWDTO; inline;
  8292. procedure setBOR; inline;
  8293. procedure setCMR; inline;
  8294. procedure setEXTR; inline;
  8295. procedure setIDLE; inline;
  8296. procedure setPOR; inline;
  8297. procedure setSLEEP; inline;
  8298. procedure setSWR; inline;
  8299. procedure setVREGS; inline;
  8300. procedure setWDTO; inline;
  8301. property BOR : TBits_1 read getBOR write setBOR;
  8302. property CMR : TBits_1 read getCMR write setCMR;
  8303. property EXTR : TBits_1 read getEXTR write setEXTR;
  8304. property IDLE : TBits_1 read getIDLE write setIDLE;
  8305. property POR : TBits_1 read getPOR write setPOR;
  8306. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  8307. property SWR : TBits_1 read getSWR write setSWR;
  8308. property VREGS : TBits_1 read getVREGS write setVREGS;
  8309. property WDTO : TBits_1 read getWDTO write setWDTO;
  8310. property w : TBits_32 read getw write setw;
  8311. end;
  8312. TRCON_RSWRST = record
  8313. private
  8314. function getSWRST : TBits_1; inline;
  8315. function getw : TBits_32; inline;
  8316. procedure setSWRST(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearSWRST; inline;
  8320. procedure setSWRST; inline;
  8321. property SWRST : TBits_1 read getSWRST write setSWRST;
  8322. property w : TBits_32 read getw write setw;
  8323. end;
  8324. type
  8325. TRCONRegisters = record
  8326. RCONbits : TRCON_RCON;
  8327. RCON : longWord;
  8328. RCONCLR : longWord;
  8329. RCONSET : longWord;
  8330. RCONINV : longWord;
  8331. RSWRSTbits : TRCON_RSWRST;
  8332. RSWRST : longWord;
  8333. RSWRSTCLR : longWord;
  8334. RSWRSTSET : longWord;
  8335. RSWRSTINV : longWord;
  8336. end;
  8337. type
  8338. T_DDPSTATRegisters = record
  8339. _DDPSTAT : longWord;
  8340. end;
  8341. type
  8342. T_STRORegisters = record
  8343. _STRO : longWord;
  8344. _STROCLR : longWord;
  8345. _STROSET : longWord;
  8346. _STROINV : longWord;
  8347. end;
  8348. type
  8349. T_APPORegisters = record
  8350. _APPO : longWord;
  8351. _APPOCLR : longWord;
  8352. _APPOSET : longWord;
  8353. _APPOINV : longWord;
  8354. end;
  8355. type
  8356. T_APPIRegisters = record
  8357. _APPI : longWord;
  8358. end;
  8359. TINT_INTCON = record
  8360. private
  8361. function getFRZ : TBits_1; inline;
  8362. function getINT0EP : TBits_1; inline;
  8363. function getINT1EP : TBits_1; inline;
  8364. function getINT2EP : TBits_1; inline;
  8365. function getINT3EP : TBits_1; inline;
  8366. function getINT4EP : TBits_1; inline;
  8367. function getMVEC : TBits_1; inline;
  8368. function getSS0 : TBits_1; inline;
  8369. function getTPC : TBits_3; inline;
  8370. function getw : TBits_32; inline;
  8371. procedure setFRZ(thebits : TBits_1); inline;
  8372. procedure setINT0EP(thebits : TBits_1); inline;
  8373. procedure setINT1EP(thebits : TBits_1); inline;
  8374. procedure setINT2EP(thebits : TBits_1); inline;
  8375. procedure setINT3EP(thebits : TBits_1); inline;
  8376. procedure setINT4EP(thebits : TBits_1); inline;
  8377. procedure setMVEC(thebits : TBits_1); inline;
  8378. procedure setSS0(thebits : TBits_1); inline;
  8379. procedure setTPC(thebits : TBits_3); inline;
  8380. procedure setw(thebits : TBits_32); inline;
  8381. public
  8382. procedure clearFRZ; inline;
  8383. procedure clearINT0EP; inline;
  8384. procedure clearINT1EP; inline;
  8385. procedure clearINT2EP; inline;
  8386. procedure clearINT3EP; inline;
  8387. procedure clearINT4EP; inline;
  8388. procedure clearMVEC; inline;
  8389. procedure clearSS0; inline;
  8390. procedure setFRZ; inline;
  8391. procedure setINT0EP; inline;
  8392. procedure setINT1EP; inline;
  8393. procedure setINT2EP; inline;
  8394. procedure setINT3EP; inline;
  8395. procedure setINT4EP; inline;
  8396. procedure setMVEC; inline;
  8397. procedure setSS0; inline;
  8398. property FRZ : TBits_1 read getFRZ write setFRZ;
  8399. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  8400. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  8401. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  8402. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  8403. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  8404. property MVEC : TBits_1 read getMVEC write setMVEC;
  8405. property SS0 : TBits_1 read getSS0 write setSS0;
  8406. property TPC : TBits_3 read getTPC write setTPC;
  8407. property w : TBits_32 read getw write setw;
  8408. end;
  8409. TINT_IFS0 = record
  8410. private
  8411. function getCS0IF : TBits_1; inline;
  8412. function getCS1IF : TBits_1; inline;
  8413. function getCTIF : TBits_1; inline;
  8414. function getI2C1ABIF : TBits_1; inline;
  8415. function getI2C1AMIF : TBits_1; inline;
  8416. function getI2C1ASIF : TBits_1; inline;
  8417. function getI2C1BIF : TBits_1; inline;
  8418. function getI2C1MIF : TBits_1; inline;
  8419. function getI2C1SIF : TBits_1; inline;
  8420. function getI2C3BIF : TBits_1; inline;
  8421. function getI2C3MIF : TBits_1; inline;
  8422. function getI2C3SIF : TBits_1; inline;
  8423. function getIC1IF : TBits_1; inline;
  8424. function getIC2IF : TBits_1; inline;
  8425. function getIC3IF : TBits_1; inline;
  8426. function getIC4IF : TBits_1; inline;
  8427. function getIC5IF : TBits_1; inline;
  8428. function getINT0IF : TBits_1; inline;
  8429. function getINT1IF : TBits_1; inline;
  8430. function getINT2IF : TBits_1; inline;
  8431. function getINT3IF : TBits_1; inline;
  8432. function getINT4IF : TBits_1; inline;
  8433. function getOC1IF : TBits_1; inline;
  8434. function getOC2IF : TBits_1; inline;
  8435. function getOC3IF : TBits_1; inline;
  8436. function getOC4IF : TBits_1; inline;
  8437. function getOC5IF : TBits_1; inline;
  8438. function getSPI1AEIF : TBits_1; inline;
  8439. function getSPI1ARXIF : TBits_1; inline;
  8440. function getSPI1ATXIF : TBits_1; inline;
  8441. function getSPI1EIF : TBits_1; inline;
  8442. function getSPI1RXIF : TBits_1; inline;
  8443. function getSPI1TXIF : TBits_1; inline;
  8444. function getSPI3EIF : TBits_1; inline;
  8445. function getSPI3RXIF : TBits_1; inline;
  8446. function getSPI3TXIF : TBits_1; inline;
  8447. function getT1IF : TBits_1; inline;
  8448. function getT2IF : TBits_1; inline;
  8449. function getT3IF : TBits_1; inline;
  8450. function getT4IF : TBits_1; inline;
  8451. function getT5IF : TBits_1; inline;
  8452. function getU1AEIF : TBits_1; inline;
  8453. function getU1ARXIF : TBits_1; inline;
  8454. function getU1ATXIF : TBits_1; inline;
  8455. function getU1EIF : TBits_1; inline;
  8456. function getU1RXIF : TBits_1; inline;
  8457. function getU1TXIF : TBits_1; inline;
  8458. function getw : TBits_32; inline;
  8459. procedure setCS0IF(thebits : TBits_1); inline;
  8460. procedure setCS1IF(thebits : TBits_1); inline;
  8461. procedure setCTIF(thebits : TBits_1); inline;
  8462. procedure setI2C1ABIF(thebits : TBits_1); inline;
  8463. procedure setI2C1AMIF(thebits : TBits_1); inline;
  8464. procedure setI2C1ASIF(thebits : TBits_1); inline;
  8465. procedure setI2C1BIF(thebits : TBits_1); inline;
  8466. procedure setI2C1MIF(thebits : TBits_1); inline;
  8467. procedure setI2C1SIF(thebits : TBits_1); inline;
  8468. procedure setI2C3BIF(thebits : TBits_1); inline;
  8469. procedure setI2C3MIF(thebits : TBits_1); inline;
  8470. procedure setI2C3SIF(thebits : TBits_1); inline;
  8471. procedure setIC1IF(thebits : TBits_1); inline;
  8472. procedure setIC2IF(thebits : TBits_1); inline;
  8473. procedure setIC3IF(thebits : TBits_1); inline;
  8474. procedure setIC4IF(thebits : TBits_1); inline;
  8475. procedure setIC5IF(thebits : TBits_1); inline;
  8476. procedure setINT0IF(thebits : TBits_1); inline;
  8477. procedure setINT1IF(thebits : TBits_1); inline;
  8478. procedure setINT2IF(thebits : TBits_1); inline;
  8479. procedure setINT3IF(thebits : TBits_1); inline;
  8480. procedure setINT4IF(thebits : TBits_1); inline;
  8481. procedure setOC1IF(thebits : TBits_1); inline;
  8482. procedure setOC2IF(thebits : TBits_1); inline;
  8483. procedure setOC3IF(thebits : TBits_1); inline;
  8484. procedure setOC4IF(thebits : TBits_1); inline;
  8485. procedure setOC5IF(thebits : TBits_1); inline;
  8486. procedure setSPI1AEIF(thebits : TBits_1); inline;
  8487. procedure setSPI1ARXIF(thebits : TBits_1); inline;
  8488. procedure setSPI1ATXIF(thebits : TBits_1); inline;
  8489. procedure setSPI1EIF(thebits : TBits_1); inline;
  8490. procedure setSPI1RXIF(thebits : TBits_1); inline;
  8491. procedure setSPI1TXIF(thebits : TBits_1); inline;
  8492. procedure setSPI3EIF(thebits : TBits_1); inline;
  8493. procedure setSPI3RXIF(thebits : TBits_1); inline;
  8494. procedure setSPI3TXIF(thebits : TBits_1); inline;
  8495. procedure setT1IF(thebits : TBits_1); inline;
  8496. procedure setT2IF(thebits : TBits_1); inline;
  8497. procedure setT3IF(thebits : TBits_1); inline;
  8498. procedure setT4IF(thebits : TBits_1); inline;
  8499. procedure setT5IF(thebits : TBits_1); inline;
  8500. procedure setU1AEIF(thebits : TBits_1); inline;
  8501. procedure setU1ARXIF(thebits : TBits_1); inline;
  8502. procedure setU1ATXIF(thebits : TBits_1); inline;
  8503. procedure setU1EIF(thebits : TBits_1); inline;
  8504. procedure setU1RXIF(thebits : TBits_1); inline;
  8505. procedure setU1TXIF(thebits : TBits_1); inline;
  8506. procedure setw(thebits : TBits_32); inline;
  8507. public
  8508. procedure clearCS0IF; inline;
  8509. procedure clearCS1IF; inline;
  8510. procedure clearCTIF; inline;
  8511. procedure clearI2C1ABIF; inline;
  8512. procedure clearI2C1AMIF; inline;
  8513. procedure clearI2C1ASIF; inline;
  8514. procedure clearI2C1BIF; inline;
  8515. procedure clearI2C1MIF; inline;
  8516. procedure clearI2C1SIF; inline;
  8517. procedure clearI2C3BIF; inline;
  8518. procedure clearI2C3MIF; inline;
  8519. procedure clearI2C3SIF; inline;
  8520. procedure clearIC1IF; inline;
  8521. procedure clearIC2IF; inline;
  8522. procedure clearIC3IF; inline;
  8523. procedure clearIC4IF; inline;
  8524. procedure clearIC5IF; inline;
  8525. procedure clearINT0IF; inline;
  8526. procedure clearINT1IF; inline;
  8527. procedure clearINT2IF; inline;
  8528. procedure clearINT3IF; inline;
  8529. procedure clearINT4IF; inline;
  8530. procedure clearOC1IF; inline;
  8531. procedure clearOC2IF; inline;
  8532. procedure clearOC3IF; inline;
  8533. procedure clearOC4IF; inline;
  8534. procedure clearOC5IF; inline;
  8535. procedure clearSPI1AEIF; inline;
  8536. procedure clearSPI1ARXIF; inline;
  8537. procedure clearSPI1ATXIF; inline;
  8538. procedure clearSPI1EIF; inline;
  8539. procedure clearSPI1RXIF; inline;
  8540. procedure clearSPI1TXIF; inline;
  8541. procedure clearSPI3EIF; inline;
  8542. procedure clearSPI3RXIF; inline;
  8543. procedure clearSPI3TXIF; inline;
  8544. procedure clearT1IF; inline;
  8545. procedure clearT2IF; inline;
  8546. procedure clearT3IF; inline;
  8547. procedure clearT4IF; inline;
  8548. procedure clearT5IF; inline;
  8549. procedure clearU1AEIF; inline;
  8550. procedure clearU1ARXIF; inline;
  8551. procedure clearU1ATXIF; inline;
  8552. procedure clearU1EIF; inline;
  8553. procedure clearU1RXIF; inline;
  8554. procedure clearU1TXIF; inline;
  8555. procedure setCS0IF; inline;
  8556. procedure setCS1IF; inline;
  8557. procedure setCTIF; inline;
  8558. procedure setI2C1ABIF; inline;
  8559. procedure setI2C1AMIF; inline;
  8560. procedure setI2C1ASIF; inline;
  8561. procedure setI2C1BIF; inline;
  8562. procedure setI2C1MIF; inline;
  8563. procedure setI2C1SIF; inline;
  8564. procedure setI2C3BIF; inline;
  8565. procedure setI2C3MIF; inline;
  8566. procedure setI2C3SIF; inline;
  8567. procedure setIC1IF; inline;
  8568. procedure setIC2IF; inline;
  8569. procedure setIC3IF; inline;
  8570. procedure setIC4IF; inline;
  8571. procedure setIC5IF; inline;
  8572. procedure setINT0IF; inline;
  8573. procedure setINT1IF; inline;
  8574. procedure setINT2IF; inline;
  8575. procedure setINT3IF; inline;
  8576. procedure setINT4IF; inline;
  8577. procedure setOC1IF; inline;
  8578. procedure setOC2IF; inline;
  8579. procedure setOC3IF; inline;
  8580. procedure setOC4IF; inline;
  8581. procedure setOC5IF; inline;
  8582. procedure setSPI1AEIF; inline;
  8583. procedure setSPI1ARXIF; inline;
  8584. procedure setSPI1ATXIF; inline;
  8585. procedure setSPI1EIF; inline;
  8586. procedure setSPI1RXIF; inline;
  8587. procedure setSPI1TXIF; inline;
  8588. procedure setSPI3EIF; inline;
  8589. procedure setSPI3RXIF; inline;
  8590. procedure setSPI3TXIF; inline;
  8591. procedure setT1IF; inline;
  8592. procedure setT2IF; inline;
  8593. procedure setT3IF; inline;
  8594. procedure setT4IF; inline;
  8595. procedure setT5IF; inline;
  8596. procedure setU1AEIF; inline;
  8597. procedure setU1ARXIF; inline;
  8598. procedure setU1ATXIF; inline;
  8599. procedure setU1EIF; inline;
  8600. procedure setU1RXIF; inline;
  8601. procedure setU1TXIF; inline;
  8602. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  8603. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  8604. property CTIF : TBits_1 read getCTIF write setCTIF;
  8605. property I2C1ABIF : TBits_1 read getI2C1ABIF write setI2C1ABIF;
  8606. property I2C1AMIF : TBits_1 read getI2C1AMIF write setI2C1AMIF;
  8607. property I2C1ASIF : TBits_1 read getI2C1ASIF write setI2C1ASIF;
  8608. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  8609. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  8610. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  8611. property I2C3BIF : TBits_1 read getI2C3BIF write setI2C3BIF;
  8612. property I2C3MIF : TBits_1 read getI2C3MIF write setI2C3MIF;
  8613. property I2C3SIF : TBits_1 read getI2C3SIF write setI2C3SIF;
  8614. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  8615. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  8616. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  8617. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  8618. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  8619. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  8620. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  8621. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  8622. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  8623. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  8624. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  8625. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  8626. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  8627. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  8628. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  8629. property SPI1AEIF : TBits_1 read getSPI1AEIF write setSPI1AEIF;
  8630. property SPI1ARXIF : TBits_1 read getSPI1ARXIF write setSPI1ARXIF;
  8631. property SPI1ATXIF : TBits_1 read getSPI1ATXIF write setSPI1ATXIF;
  8632. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  8633. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  8634. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  8635. property SPI3EIF : TBits_1 read getSPI3EIF write setSPI3EIF;
  8636. property SPI3RXIF : TBits_1 read getSPI3RXIF write setSPI3RXIF;
  8637. property SPI3TXIF : TBits_1 read getSPI3TXIF write setSPI3TXIF;
  8638. property T1IF : TBits_1 read getT1IF write setT1IF;
  8639. property T2IF : TBits_1 read getT2IF write setT2IF;
  8640. property T3IF : TBits_1 read getT3IF write setT3IF;
  8641. property T4IF : TBits_1 read getT4IF write setT4IF;
  8642. property T5IF : TBits_1 read getT5IF write setT5IF;
  8643. property U1AEIF : TBits_1 read getU1AEIF write setU1AEIF;
  8644. property U1ARXIF : TBits_1 read getU1ARXIF write setU1ARXIF;
  8645. property U1ATXIF : TBits_1 read getU1ATXIF write setU1ATXIF;
  8646. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  8647. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  8648. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  8649. property w : TBits_32 read getw write setw;
  8650. end;
  8651. TINT_IFS1 = record
  8652. private
  8653. function getAD1IF : TBits_1; inline;
  8654. function getCMP1IF : TBits_1; inline;
  8655. function getCMP2IF : TBits_1; inline;
  8656. function getCNIF : TBits_1; inline;
  8657. function getDMA0IF : TBits_1; inline;
  8658. function getDMA1IF : TBits_1; inline;
  8659. function getDMA2IF : TBits_1; inline;
  8660. function getDMA3IF : TBits_1; inline;
  8661. function getDMA4IF : TBits_1; inline;
  8662. function getDMA5IF : TBits_1; inline;
  8663. function getDMA6IF : TBits_1; inline;
  8664. function getDMA7IF : TBits_1; inline;
  8665. function getETHIF : TBits_1; inline;
  8666. function getFCEIF : TBits_1; inline;
  8667. function getFSCMIF : TBits_1; inline;
  8668. function getI2C2ABIF : TBits_1; inline;
  8669. function getI2C2AMIF : TBits_1; inline;
  8670. function getI2C2ASIF : TBits_1; inline;
  8671. function getI2C2BIF : TBits_1; inline;
  8672. function getI2C2MIF : TBits_1; inline;
  8673. function getI2C2SIF : TBits_1; inline;
  8674. function getI2C3ABIF : TBits_1; inline;
  8675. function getI2C3AMIF : TBits_1; inline;
  8676. function getI2C3ASIF : TBits_1; inline;
  8677. function getI2C4BIF : TBits_1; inline;
  8678. function getI2C4MIF : TBits_1; inline;
  8679. function getI2C4SIF : TBits_1; inline;
  8680. function getI2C5BIF : TBits_1; inline;
  8681. function getI2C5MIF : TBits_1; inline;
  8682. function getI2C5SIF : TBits_1; inline;
  8683. function getIC1EIF : TBits_1; inline;
  8684. function getIC2EIF : TBits_1; inline;
  8685. function getIC3EIF : TBits_1; inline;
  8686. function getPMPIF : TBits_1; inline;
  8687. function getRTCCIF : TBits_1; inline;
  8688. function getSPI2AEIF : TBits_1; inline;
  8689. function getSPI2ARXIF : TBits_1; inline;
  8690. function getSPI2ATXIF : TBits_1; inline;
  8691. function getSPI2EIF : TBits_1; inline;
  8692. function getSPI2RXIF : TBits_1; inline;
  8693. function getSPI2TXIF : TBits_1; inline;
  8694. function getSPI3AEIF : TBits_1; inline;
  8695. function getSPI3ARXIF : TBits_1; inline;
  8696. function getSPI3ATXIF : TBits_1; inline;
  8697. function getSPI4EIF : TBits_1; inline;
  8698. function getSPI4RXIF : TBits_1; inline;
  8699. function getSPI4TXIF : TBits_1; inline;
  8700. function getU2AEIF : TBits_1; inline;
  8701. function getU2ARXIF : TBits_1; inline;
  8702. function getU2ATXIF : TBits_1; inline;
  8703. function getU2EIF : TBits_1; inline;
  8704. function getU2RXIF : TBits_1; inline;
  8705. function getU2TXIF : TBits_1; inline;
  8706. function getU3AEIF : TBits_1; inline;
  8707. function getU3ARXIF : TBits_1; inline;
  8708. function getU3ATXIF : TBits_1; inline;
  8709. function getU3EIF : TBits_1; inline;
  8710. function getU3RXIF : TBits_1; inline;
  8711. function getU3TXIF : TBits_1; inline;
  8712. function getUSBIF : TBits_1; inline;
  8713. function getw : TBits_32; inline;
  8714. procedure setAD1IF(thebits : TBits_1); inline;
  8715. procedure setCMP1IF(thebits : TBits_1); inline;
  8716. procedure setCMP2IF(thebits : TBits_1); inline;
  8717. procedure setCNIF(thebits : TBits_1); inline;
  8718. procedure setDMA0IF(thebits : TBits_1); inline;
  8719. procedure setDMA1IF(thebits : TBits_1); inline;
  8720. procedure setDMA2IF(thebits : TBits_1); inline;
  8721. procedure setDMA3IF(thebits : TBits_1); inline;
  8722. procedure setDMA4IF(thebits : TBits_1); inline;
  8723. procedure setDMA5IF(thebits : TBits_1); inline;
  8724. procedure setDMA6IF(thebits : TBits_1); inline;
  8725. procedure setDMA7IF(thebits : TBits_1); inline;
  8726. procedure setETHIF(thebits : TBits_1); inline;
  8727. procedure setFCEIF(thebits : TBits_1); inline;
  8728. procedure setFSCMIF(thebits : TBits_1); inline;
  8729. procedure setI2C2ABIF(thebits : TBits_1); inline;
  8730. procedure setI2C2AMIF(thebits : TBits_1); inline;
  8731. procedure setI2C2ASIF(thebits : TBits_1); inline;
  8732. procedure setI2C2BIF(thebits : TBits_1); inline;
  8733. procedure setI2C2MIF(thebits : TBits_1); inline;
  8734. procedure setI2C2SIF(thebits : TBits_1); inline;
  8735. procedure setI2C3ABIF(thebits : TBits_1); inline;
  8736. procedure setI2C3AMIF(thebits : TBits_1); inline;
  8737. procedure setI2C3ASIF(thebits : TBits_1); inline;
  8738. procedure setI2C4BIF(thebits : TBits_1); inline;
  8739. procedure setI2C4MIF(thebits : TBits_1); inline;
  8740. procedure setI2C4SIF(thebits : TBits_1); inline;
  8741. procedure setI2C5BIF(thebits : TBits_1); inline;
  8742. procedure setI2C5MIF(thebits : TBits_1); inline;
  8743. procedure setI2C5SIF(thebits : TBits_1); inline;
  8744. procedure setIC1EIF(thebits : TBits_1); inline;
  8745. procedure setIC2EIF(thebits : TBits_1); inline;
  8746. procedure setIC3EIF(thebits : TBits_1); inline;
  8747. procedure setPMPIF(thebits : TBits_1); inline;
  8748. procedure setRTCCIF(thebits : TBits_1); inline;
  8749. procedure setSPI2AEIF(thebits : TBits_1); inline;
  8750. procedure setSPI2ARXIF(thebits : TBits_1); inline;
  8751. procedure setSPI2ATXIF(thebits : TBits_1); inline;
  8752. procedure setSPI2EIF(thebits : TBits_1); inline;
  8753. procedure setSPI2RXIF(thebits : TBits_1); inline;
  8754. procedure setSPI2TXIF(thebits : TBits_1); inline;
  8755. procedure setSPI3AEIF(thebits : TBits_1); inline;
  8756. procedure setSPI3ARXIF(thebits : TBits_1); inline;
  8757. procedure setSPI3ATXIF(thebits : TBits_1); inline;
  8758. procedure setSPI4EIF(thebits : TBits_1); inline;
  8759. procedure setSPI4RXIF(thebits : TBits_1); inline;
  8760. procedure setSPI4TXIF(thebits : TBits_1); inline;
  8761. procedure setU2AEIF(thebits : TBits_1); inline;
  8762. procedure setU2ARXIF(thebits : TBits_1); inline;
  8763. procedure setU2ATXIF(thebits : TBits_1); inline;
  8764. procedure setU2EIF(thebits : TBits_1); inline;
  8765. procedure setU2RXIF(thebits : TBits_1); inline;
  8766. procedure setU2TXIF(thebits : TBits_1); inline;
  8767. procedure setU3AEIF(thebits : TBits_1); inline;
  8768. procedure setU3ARXIF(thebits : TBits_1); inline;
  8769. procedure setU3ATXIF(thebits : TBits_1); inline;
  8770. procedure setU3EIF(thebits : TBits_1); inline;
  8771. procedure setU3RXIF(thebits : TBits_1); inline;
  8772. procedure setU3TXIF(thebits : TBits_1); inline;
  8773. procedure setUSBIF(thebits : TBits_1); inline;
  8774. procedure setw(thebits : TBits_32); inline;
  8775. public
  8776. procedure clearAD1IF; inline;
  8777. procedure clearCMP1IF; inline;
  8778. procedure clearCMP2IF; inline;
  8779. procedure clearCNIF; inline;
  8780. procedure clearDMA0IF; inline;
  8781. procedure clearDMA1IF; inline;
  8782. procedure clearDMA2IF; inline;
  8783. procedure clearDMA3IF; inline;
  8784. procedure clearDMA4IF; inline;
  8785. procedure clearDMA5IF; inline;
  8786. procedure clearDMA6IF; inline;
  8787. procedure clearDMA7IF; inline;
  8788. procedure clearETHIF; inline;
  8789. procedure clearFCEIF; inline;
  8790. procedure clearFSCMIF; inline;
  8791. procedure clearI2C2ABIF; inline;
  8792. procedure clearI2C2AMIF; inline;
  8793. procedure clearI2C2ASIF; inline;
  8794. procedure clearI2C2BIF; inline;
  8795. procedure clearI2C2MIF; inline;
  8796. procedure clearI2C2SIF; inline;
  8797. procedure clearI2C3ABIF; inline;
  8798. procedure clearI2C3AMIF; inline;
  8799. procedure clearI2C3ASIF; inline;
  8800. procedure clearI2C4BIF; inline;
  8801. procedure clearI2C4MIF; inline;
  8802. procedure clearI2C4SIF; inline;
  8803. procedure clearI2C5BIF; inline;
  8804. procedure clearI2C5MIF; inline;
  8805. procedure clearI2C5SIF; inline;
  8806. procedure clearIC1EIF; inline;
  8807. procedure clearIC2EIF; inline;
  8808. procedure clearIC3EIF; inline;
  8809. procedure clearPMPIF; inline;
  8810. procedure clearRTCCIF; inline;
  8811. procedure clearSPI2AEIF; inline;
  8812. procedure clearSPI2ARXIF; inline;
  8813. procedure clearSPI2ATXIF; inline;
  8814. procedure clearSPI2EIF; inline;
  8815. procedure clearSPI2RXIF; inline;
  8816. procedure clearSPI2TXIF; inline;
  8817. procedure clearSPI3AEIF; inline;
  8818. procedure clearSPI3ARXIF; inline;
  8819. procedure clearSPI3ATXIF; inline;
  8820. procedure clearSPI4EIF; inline;
  8821. procedure clearSPI4RXIF; inline;
  8822. procedure clearSPI4TXIF; inline;
  8823. procedure clearU2AEIF; inline;
  8824. procedure clearU2ARXIF; inline;
  8825. procedure clearU2ATXIF; inline;
  8826. procedure clearU2EIF; inline;
  8827. procedure clearU2RXIF; inline;
  8828. procedure clearU2TXIF; inline;
  8829. procedure clearU3AEIF; inline;
  8830. procedure clearU3ARXIF; inline;
  8831. procedure clearU3ATXIF; inline;
  8832. procedure clearU3EIF; inline;
  8833. procedure clearU3RXIF; inline;
  8834. procedure clearU3TXIF; inline;
  8835. procedure clearUSBIF; inline;
  8836. procedure setAD1IF; inline;
  8837. procedure setCMP1IF; inline;
  8838. procedure setCMP2IF; inline;
  8839. procedure setCNIF; inline;
  8840. procedure setDMA0IF; inline;
  8841. procedure setDMA1IF; inline;
  8842. procedure setDMA2IF; inline;
  8843. procedure setDMA3IF; inline;
  8844. procedure setDMA4IF; inline;
  8845. procedure setDMA5IF; inline;
  8846. procedure setDMA6IF; inline;
  8847. procedure setDMA7IF; inline;
  8848. procedure setETHIF; inline;
  8849. procedure setFCEIF; inline;
  8850. procedure setFSCMIF; inline;
  8851. procedure setI2C2ABIF; inline;
  8852. procedure setI2C2AMIF; inline;
  8853. procedure setI2C2ASIF; inline;
  8854. procedure setI2C2BIF; inline;
  8855. procedure setI2C2MIF; inline;
  8856. procedure setI2C2SIF; inline;
  8857. procedure setI2C3ABIF; inline;
  8858. procedure setI2C3AMIF; inline;
  8859. procedure setI2C3ASIF; inline;
  8860. procedure setI2C4BIF; inline;
  8861. procedure setI2C4MIF; inline;
  8862. procedure setI2C4SIF; inline;
  8863. procedure setI2C5BIF; inline;
  8864. procedure setI2C5MIF; inline;
  8865. procedure setI2C5SIF; inline;
  8866. procedure setIC1EIF; inline;
  8867. procedure setIC2EIF; inline;
  8868. procedure setIC3EIF; inline;
  8869. procedure setPMPIF; inline;
  8870. procedure setRTCCIF; inline;
  8871. procedure setSPI2AEIF; inline;
  8872. procedure setSPI2ARXIF; inline;
  8873. procedure setSPI2ATXIF; inline;
  8874. procedure setSPI2EIF; inline;
  8875. procedure setSPI2RXIF; inline;
  8876. procedure setSPI2TXIF; inline;
  8877. procedure setSPI3AEIF; inline;
  8878. procedure setSPI3ARXIF; inline;
  8879. procedure setSPI3ATXIF; inline;
  8880. procedure setSPI4EIF; inline;
  8881. procedure setSPI4RXIF; inline;
  8882. procedure setSPI4TXIF; inline;
  8883. procedure setU2AEIF; inline;
  8884. procedure setU2ARXIF; inline;
  8885. procedure setU2ATXIF; inline;
  8886. procedure setU2EIF; inline;
  8887. procedure setU2RXIF; inline;
  8888. procedure setU2TXIF; inline;
  8889. procedure setU3AEIF; inline;
  8890. procedure setU3ARXIF; inline;
  8891. procedure setU3ATXIF; inline;
  8892. procedure setU3EIF; inline;
  8893. procedure setU3RXIF; inline;
  8894. procedure setU3TXIF; inline;
  8895. procedure setUSBIF; inline;
  8896. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  8897. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  8898. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  8899. property CNIF : TBits_1 read getCNIF write setCNIF;
  8900. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  8901. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  8902. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  8903. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  8904. property DMA4IF : TBits_1 read getDMA4IF write setDMA4IF;
  8905. property DMA5IF : TBits_1 read getDMA5IF write setDMA5IF;
  8906. property DMA6IF : TBits_1 read getDMA6IF write setDMA6IF;
  8907. property DMA7IF : TBits_1 read getDMA7IF write setDMA7IF;
  8908. property ETHIF : TBits_1 read getETHIF write setETHIF;
  8909. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  8910. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  8911. property I2C2ABIF : TBits_1 read getI2C2ABIF write setI2C2ABIF;
  8912. property I2C2AMIF : TBits_1 read getI2C2AMIF write setI2C2AMIF;
  8913. property I2C2ASIF : TBits_1 read getI2C2ASIF write setI2C2ASIF;
  8914. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  8915. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  8916. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  8917. property I2C3ABIF : TBits_1 read getI2C3ABIF write setI2C3ABIF;
  8918. property I2C3AMIF : TBits_1 read getI2C3AMIF write setI2C3AMIF;
  8919. property I2C3ASIF : TBits_1 read getI2C3ASIF write setI2C3ASIF;
  8920. property I2C4BIF : TBits_1 read getI2C4BIF write setI2C4BIF;
  8921. property I2C4MIF : TBits_1 read getI2C4MIF write setI2C4MIF;
  8922. property I2C4SIF : TBits_1 read getI2C4SIF write setI2C4SIF;
  8923. property I2C5BIF : TBits_1 read getI2C5BIF write setI2C5BIF;
  8924. property I2C5MIF : TBits_1 read getI2C5MIF write setI2C5MIF;
  8925. property I2C5SIF : TBits_1 read getI2C5SIF write setI2C5SIF;
  8926. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  8927. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  8928. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  8929. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  8930. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  8931. property SPI2AEIF : TBits_1 read getSPI2AEIF write setSPI2AEIF;
  8932. property SPI2ARXIF : TBits_1 read getSPI2ARXIF write setSPI2ARXIF;
  8933. property SPI2ATXIF : TBits_1 read getSPI2ATXIF write setSPI2ATXIF;
  8934. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  8935. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  8936. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  8937. property SPI3AEIF : TBits_1 read getSPI3AEIF write setSPI3AEIF;
  8938. property SPI3ARXIF : TBits_1 read getSPI3ARXIF write setSPI3ARXIF;
  8939. property SPI3ATXIF : TBits_1 read getSPI3ATXIF write setSPI3ATXIF;
  8940. property SPI4EIF : TBits_1 read getSPI4EIF write setSPI4EIF;
  8941. property SPI4RXIF : TBits_1 read getSPI4RXIF write setSPI4RXIF;
  8942. property SPI4TXIF : TBits_1 read getSPI4TXIF write setSPI4TXIF;
  8943. property U2AEIF : TBits_1 read getU2AEIF write setU2AEIF;
  8944. property U2ARXIF : TBits_1 read getU2ARXIF write setU2ARXIF;
  8945. property U2ATXIF : TBits_1 read getU2ATXIF write setU2ATXIF;
  8946. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  8947. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  8948. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  8949. property U3AEIF : TBits_1 read getU3AEIF write setU3AEIF;
  8950. property U3ARXIF : TBits_1 read getU3ARXIF write setU3ARXIF;
  8951. property U3ATXIF : TBits_1 read getU3ATXIF write setU3ATXIF;
  8952. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  8953. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  8954. property U3TXIF : TBits_1 read getU3TXIF write setU3TXIF;
  8955. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  8956. property w : TBits_32 read getw write setw;
  8957. end;
  8958. TINT_IFS2 = record
  8959. private
  8960. function getIC4EIF : TBits_1; inline;
  8961. function getIC5EIF : TBits_1; inline;
  8962. function getPMPEIF : TBits_1; inline;
  8963. function getU1BEIF : TBits_1; inline;
  8964. function getU1BRXIF : TBits_1; inline;
  8965. function getU1BTXIF : TBits_1; inline;
  8966. function getU2BEIF : TBits_1; inline;
  8967. function getU2BRXIF : TBits_1; inline;
  8968. function getU2BTXIF : TBits_1; inline;
  8969. function getU3BEIF : TBits_1; inline;
  8970. function getU3BRXIF : TBits_1; inline;
  8971. function getU3BTXIF : TBits_1; inline;
  8972. function getU4EIF : TBits_1; inline;
  8973. function getU4RXIF : TBits_1; inline;
  8974. function getU4TXIF : TBits_1; inline;
  8975. function getU5EIF : TBits_1; inline;
  8976. function getU5RXIF : TBits_1; inline;
  8977. function getU5TXIF : TBits_1; inline;
  8978. function getU6EIF : TBits_1; inline;
  8979. function getU6RXIF : TBits_1; inline;
  8980. function getU6TXIF : TBits_1; inline;
  8981. function getw : TBits_32; inline;
  8982. procedure setIC4EIF(thebits : TBits_1); inline;
  8983. procedure setIC5EIF(thebits : TBits_1); inline;
  8984. procedure setPMPEIF(thebits : TBits_1); inline;
  8985. procedure setU1BEIF(thebits : TBits_1); inline;
  8986. procedure setU1BRXIF(thebits : TBits_1); inline;
  8987. procedure setU1BTXIF(thebits : TBits_1); inline;
  8988. procedure setU2BEIF(thebits : TBits_1); inline;
  8989. procedure setU2BRXIF(thebits : TBits_1); inline;
  8990. procedure setU2BTXIF(thebits : TBits_1); inline;
  8991. procedure setU3BEIF(thebits : TBits_1); inline;
  8992. procedure setU3BRXIF(thebits : TBits_1); inline;
  8993. procedure setU3BTXIF(thebits : TBits_1); inline;
  8994. procedure setU4EIF(thebits : TBits_1); inline;
  8995. procedure setU4RXIF(thebits : TBits_1); inline;
  8996. procedure setU4TXIF(thebits : TBits_1); inline;
  8997. procedure setU5EIF(thebits : TBits_1); inline;
  8998. procedure setU5RXIF(thebits : TBits_1); inline;
  8999. procedure setU5TXIF(thebits : TBits_1); inline;
  9000. procedure setU6EIF(thebits : TBits_1); inline;
  9001. procedure setU6RXIF(thebits : TBits_1); inline;
  9002. procedure setU6TXIF(thebits : TBits_1); inline;
  9003. procedure setw(thebits : TBits_32); inline;
  9004. public
  9005. procedure clearIC4EIF; inline;
  9006. procedure clearIC5EIF; inline;
  9007. procedure clearPMPEIF; inline;
  9008. procedure clearU1BEIF; inline;
  9009. procedure clearU1BRXIF; inline;
  9010. procedure clearU1BTXIF; inline;
  9011. procedure clearU2BEIF; inline;
  9012. procedure clearU2BRXIF; inline;
  9013. procedure clearU2BTXIF; inline;
  9014. procedure clearU3BEIF; inline;
  9015. procedure clearU3BRXIF; inline;
  9016. procedure clearU3BTXIF; inline;
  9017. procedure clearU4EIF; inline;
  9018. procedure clearU4RXIF; inline;
  9019. procedure clearU4TXIF; inline;
  9020. procedure clearU5EIF; inline;
  9021. procedure clearU5RXIF; inline;
  9022. procedure clearU5TXIF; inline;
  9023. procedure clearU6EIF; inline;
  9024. procedure clearU6RXIF; inline;
  9025. procedure clearU6TXIF; inline;
  9026. procedure setIC4EIF; inline;
  9027. procedure setIC5EIF; inline;
  9028. procedure setPMPEIF; inline;
  9029. procedure setU1BEIF; inline;
  9030. procedure setU1BRXIF; inline;
  9031. procedure setU1BTXIF; inline;
  9032. procedure setU2BEIF; inline;
  9033. procedure setU2BRXIF; inline;
  9034. procedure setU2BTXIF; inline;
  9035. procedure setU3BEIF; inline;
  9036. procedure setU3BRXIF; inline;
  9037. procedure setU3BTXIF; inline;
  9038. procedure setU4EIF; inline;
  9039. procedure setU4RXIF; inline;
  9040. procedure setU4TXIF; inline;
  9041. procedure setU5EIF; inline;
  9042. procedure setU5RXIF; inline;
  9043. procedure setU5TXIF; inline;
  9044. procedure setU6EIF; inline;
  9045. procedure setU6RXIF; inline;
  9046. procedure setU6TXIF; inline;
  9047. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  9048. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  9049. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  9050. property U1BEIF : TBits_1 read getU1BEIF write setU1BEIF;
  9051. property U1BRXIF : TBits_1 read getU1BRXIF write setU1BRXIF;
  9052. property U1BTXIF : TBits_1 read getU1BTXIF write setU1BTXIF;
  9053. property U2BEIF : TBits_1 read getU2BEIF write setU2BEIF;
  9054. property U2BRXIF : TBits_1 read getU2BRXIF write setU2BRXIF;
  9055. property U2BTXIF : TBits_1 read getU2BTXIF write setU2BTXIF;
  9056. property U3BEIF : TBits_1 read getU3BEIF write setU3BEIF;
  9057. property U3BRXIF : TBits_1 read getU3BRXIF write setU3BRXIF;
  9058. property U3BTXIF : TBits_1 read getU3BTXIF write setU3BTXIF;
  9059. property U4EIF : TBits_1 read getU4EIF write setU4EIF;
  9060. property U4RXIF : TBits_1 read getU4RXIF write setU4RXIF;
  9061. property U4TXIF : TBits_1 read getU4TXIF write setU4TXIF;
  9062. property U5EIF : TBits_1 read getU5EIF write setU5EIF;
  9063. property U5RXIF : TBits_1 read getU5RXIF write setU5RXIF;
  9064. property U5TXIF : TBits_1 read getU5TXIF write setU5TXIF;
  9065. property U6EIF : TBits_1 read getU6EIF write setU6EIF;
  9066. property U6RXIF : TBits_1 read getU6RXIF write setU6RXIF;
  9067. property U6TXIF : TBits_1 read getU6TXIF write setU6TXIF;
  9068. property w : TBits_32 read getw write setw;
  9069. end;
  9070. TINT_IEC0 = record
  9071. private
  9072. function getCS0IE : TBits_1; inline;
  9073. function getCS1IE : TBits_1; inline;
  9074. function getCTIE : TBits_1; inline;
  9075. function getI2C1ABIE : TBits_1; inline;
  9076. function getI2C1AMIE : TBits_1; inline;
  9077. function getI2C1ASIE : TBits_1; inline;
  9078. function getI2C1BIE : TBits_1; inline;
  9079. function getI2C1MIE : TBits_1; inline;
  9080. function getI2C1SIE : TBits_1; inline;
  9081. function getI2C3BIE : TBits_1; inline;
  9082. function getI2C3MIE : TBits_1; inline;
  9083. function getI2C3SIE : TBits_1; inline;
  9084. function getIC1IE : TBits_1; inline;
  9085. function getIC2IE : TBits_1; inline;
  9086. function getIC3IE : TBits_1; inline;
  9087. function getIC4IE : TBits_1; inline;
  9088. function getIC5IE : TBits_1; inline;
  9089. function getINT0IE : TBits_1; inline;
  9090. function getINT1IE : TBits_1; inline;
  9091. function getINT2IE : TBits_1; inline;
  9092. function getINT3IE : TBits_1; inline;
  9093. function getINT4IE : TBits_1; inline;
  9094. function getOC1IE : TBits_1; inline;
  9095. function getOC2IE : TBits_1; inline;
  9096. function getOC3IE : TBits_1; inline;
  9097. function getOC4IE : TBits_1; inline;
  9098. function getOC5IE : TBits_1; inline;
  9099. function getSPI1AEIE : TBits_1; inline;
  9100. function getSPI1ARXIE : TBits_1; inline;
  9101. function getSPI1ATXIE : TBits_1; inline;
  9102. function getSPI1EIE : TBits_1; inline;
  9103. function getSPI1RXIE : TBits_1; inline;
  9104. function getSPI1TXIE : TBits_1; inline;
  9105. function getSPI3EIE : TBits_1; inline;
  9106. function getSPI3RXIE : TBits_1; inline;
  9107. function getSPI3TXIE : TBits_1; inline;
  9108. function getT1IE : TBits_1; inline;
  9109. function getT2IE : TBits_1; inline;
  9110. function getT3IE : TBits_1; inline;
  9111. function getT4IE : TBits_1; inline;
  9112. function getT5IE : TBits_1; inline;
  9113. function getU1AEIE : TBits_1; inline;
  9114. function getU1ARXIE : TBits_1; inline;
  9115. function getU1ATXIE : TBits_1; inline;
  9116. function getU1EIE : TBits_1; inline;
  9117. function getU1RXIE : TBits_1; inline;
  9118. function getU1TXIE : TBits_1; inline;
  9119. function getw : TBits_32; inline;
  9120. procedure setCS0IE(thebits : TBits_1); inline;
  9121. procedure setCS1IE(thebits : TBits_1); inline;
  9122. procedure setCTIE(thebits : TBits_1); inline;
  9123. procedure setI2C1ABIE(thebits : TBits_1); inline;
  9124. procedure setI2C1AMIE(thebits : TBits_1); inline;
  9125. procedure setI2C1ASIE(thebits : TBits_1); inline;
  9126. procedure setI2C1BIE(thebits : TBits_1); inline;
  9127. procedure setI2C1MIE(thebits : TBits_1); inline;
  9128. procedure setI2C1SIE(thebits : TBits_1); inline;
  9129. procedure setI2C3BIE(thebits : TBits_1); inline;
  9130. procedure setI2C3MIE(thebits : TBits_1); inline;
  9131. procedure setI2C3SIE(thebits : TBits_1); inline;
  9132. procedure setIC1IE(thebits : TBits_1); inline;
  9133. procedure setIC2IE(thebits : TBits_1); inline;
  9134. procedure setIC3IE(thebits : TBits_1); inline;
  9135. procedure setIC4IE(thebits : TBits_1); inline;
  9136. procedure setIC5IE(thebits : TBits_1); inline;
  9137. procedure setINT0IE(thebits : TBits_1); inline;
  9138. procedure setINT1IE(thebits : TBits_1); inline;
  9139. procedure setINT2IE(thebits : TBits_1); inline;
  9140. procedure setINT3IE(thebits : TBits_1); inline;
  9141. procedure setINT4IE(thebits : TBits_1); inline;
  9142. procedure setOC1IE(thebits : TBits_1); inline;
  9143. procedure setOC2IE(thebits : TBits_1); inline;
  9144. procedure setOC3IE(thebits : TBits_1); inline;
  9145. procedure setOC4IE(thebits : TBits_1); inline;
  9146. procedure setOC5IE(thebits : TBits_1); inline;
  9147. procedure setSPI1AEIE(thebits : TBits_1); inline;
  9148. procedure setSPI1ARXIE(thebits : TBits_1); inline;
  9149. procedure setSPI1ATXIE(thebits : TBits_1); inline;
  9150. procedure setSPI1EIE(thebits : TBits_1); inline;
  9151. procedure setSPI1RXIE(thebits : TBits_1); inline;
  9152. procedure setSPI1TXIE(thebits : TBits_1); inline;
  9153. procedure setSPI3EIE(thebits : TBits_1); inline;
  9154. procedure setSPI3RXIE(thebits : TBits_1); inline;
  9155. procedure setSPI3TXIE(thebits : TBits_1); inline;
  9156. procedure setT1IE(thebits : TBits_1); inline;
  9157. procedure setT2IE(thebits : TBits_1); inline;
  9158. procedure setT3IE(thebits : TBits_1); inline;
  9159. procedure setT4IE(thebits : TBits_1); inline;
  9160. procedure setT5IE(thebits : TBits_1); inline;
  9161. procedure setU1AEIE(thebits : TBits_1); inline;
  9162. procedure setU1ARXIE(thebits : TBits_1); inline;
  9163. procedure setU1ATXIE(thebits : TBits_1); inline;
  9164. procedure setU1EIE(thebits : TBits_1); inline;
  9165. procedure setU1RXIE(thebits : TBits_1); inline;
  9166. procedure setU1TXIE(thebits : TBits_1); inline;
  9167. procedure setw(thebits : TBits_32); inline;
  9168. public
  9169. procedure clearCS0IE; inline;
  9170. procedure clearCS1IE; inline;
  9171. procedure clearCTIE; inline;
  9172. procedure clearI2C1ABIE; inline;
  9173. procedure clearI2C1AMIE; inline;
  9174. procedure clearI2C1ASIE; inline;
  9175. procedure clearI2C1BIE; inline;
  9176. procedure clearI2C1MIE; inline;
  9177. procedure clearI2C1SIE; inline;
  9178. procedure clearI2C3BIE; inline;
  9179. procedure clearI2C3MIE; inline;
  9180. procedure clearI2C3SIE; inline;
  9181. procedure clearIC1IE; inline;
  9182. procedure clearIC2IE; inline;
  9183. procedure clearIC3IE; inline;
  9184. procedure clearIC4IE; inline;
  9185. procedure clearIC5IE; inline;
  9186. procedure clearINT0IE; inline;
  9187. procedure clearINT1IE; inline;
  9188. procedure clearINT2IE; inline;
  9189. procedure clearINT3IE; inline;
  9190. procedure clearINT4IE; inline;
  9191. procedure clearOC1IE; inline;
  9192. procedure clearOC2IE; inline;
  9193. procedure clearOC3IE; inline;
  9194. procedure clearOC4IE; inline;
  9195. procedure clearOC5IE; inline;
  9196. procedure clearSPI1AEIE; inline;
  9197. procedure clearSPI1ARXIE; inline;
  9198. procedure clearSPI1ATXIE; inline;
  9199. procedure clearSPI1EIE; inline;
  9200. procedure clearSPI1RXIE; inline;
  9201. procedure clearSPI1TXIE; inline;
  9202. procedure clearSPI3EIE; inline;
  9203. procedure clearSPI3RXIE; inline;
  9204. procedure clearSPI3TXIE; inline;
  9205. procedure clearT1IE; inline;
  9206. procedure clearT2IE; inline;
  9207. procedure clearT3IE; inline;
  9208. procedure clearT4IE; inline;
  9209. procedure clearT5IE; inline;
  9210. procedure clearU1AEIE; inline;
  9211. procedure clearU1ARXIE; inline;
  9212. procedure clearU1ATXIE; inline;
  9213. procedure clearU1EIE; inline;
  9214. procedure clearU1RXIE; inline;
  9215. procedure clearU1TXIE; inline;
  9216. procedure setCS0IE; inline;
  9217. procedure setCS1IE; inline;
  9218. procedure setCTIE; inline;
  9219. procedure setI2C1ABIE; inline;
  9220. procedure setI2C1AMIE; inline;
  9221. procedure setI2C1ASIE; inline;
  9222. procedure setI2C1BIE; inline;
  9223. procedure setI2C1MIE; inline;
  9224. procedure setI2C1SIE; inline;
  9225. procedure setI2C3BIE; inline;
  9226. procedure setI2C3MIE; inline;
  9227. procedure setI2C3SIE; inline;
  9228. procedure setIC1IE; inline;
  9229. procedure setIC2IE; inline;
  9230. procedure setIC3IE; inline;
  9231. procedure setIC4IE; inline;
  9232. procedure setIC5IE; inline;
  9233. procedure setINT0IE; inline;
  9234. procedure setINT1IE; inline;
  9235. procedure setINT2IE; inline;
  9236. procedure setINT3IE; inline;
  9237. procedure setINT4IE; inline;
  9238. procedure setOC1IE; inline;
  9239. procedure setOC2IE; inline;
  9240. procedure setOC3IE; inline;
  9241. procedure setOC4IE; inline;
  9242. procedure setOC5IE; inline;
  9243. procedure setSPI1AEIE; inline;
  9244. procedure setSPI1ARXIE; inline;
  9245. procedure setSPI1ATXIE; inline;
  9246. procedure setSPI1EIE; inline;
  9247. procedure setSPI1RXIE; inline;
  9248. procedure setSPI1TXIE; inline;
  9249. procedure setSPI3EIE; inline;
  9250. procedure setSPI3RXIE; inline;
  9251. procedure setSPI3TXIE; inline;
  9252. procedure setT1IE; inline;
  9253. procedure setT2IE; inline;
  9254. procedure setT3IE; inline;
  9255. procedure setT4IE; inline;
  9256. procedure setT5IE; inline;
  9257. procedure setU1AEIE; inline;
  9258. procedure setU1ARXIE; inline;
  9259. procedure setU1ATXIE; inline;
  9260. procedure setU1EIE; inline;
  9261. procedure setU1RXIE; inline;
  9262. procedure setU1TXIE; inline;
  9263. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  9264. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  9265. property CTIE : TBits_1 read getCTIE write setCTIE;
  9266. property I2C1ABIE : TBits_1 read getI2C1ABIE write setI2C1ABIE;
  9267. property I2C1AMIE : TBits_1 read getI2C1AMIE write setI2C1AMIE;
  9268. property I2C1ASIE : TBits_1 read getI2C1ASIE write setI2C1ASIE;
  9269. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  9270. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  9271. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  9272. property I2C3BIE : TBits_1 read getI2C3BIE write setI2C3BIE;
  9273. property I2C3MIE : TBits_1 read getI2C3MIE write setI2C3MIE;
  9274. property I2C3SIE : TBits_1 read getI2C3SIE write setI2C3SIE;
  9275. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  9276. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  9277. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  9278. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  9279. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  9280. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  9281. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  9282. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  9283. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  9284. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  9285. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  9286. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  9287. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  9288. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  9289. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  9290. property SPI1AEIE : TBits_1 read getSPI1AEIE write setSPI1AEIE;
  9291. property SPI1ARXIE : TBits_1 read getSPI1ARXIE write setSPI1ARXIE;
  9292. property SPI1ATXIE : TBits_1 read getSPI1ATXIE write setSPI1ATXIE;
  9293. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  9294. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  9295. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  9296. property SPI3EIE : TBits_1 read getSPI3EIE write setSPI3EIE;
  9297. property SPI3RXIE : TBits_1 read getSPI3RXIE write setSPI3RXIE;
  9298. property SPI3TXIE : TBits_1 read getSPI3TXIE write setSPI3TXIE;
  9299. property T1IE : TBits_1 read getT1IE write setT1IE;
  9300. property T2IE : TBits_1 read getT2IE write setT2IE;
  9301. property T3IE : TBits_1 read getT3IE write setT3IE;
  9302. property T4IE : TBits_1 read getT4IE write setT4IE;
  9303. property T5IE : TBits_1 read getT5IE write setT5IE;
  9304. property U1AEIE : TBits_1 read getU1AEIE write setU1AEIE;
  9305. property U1ARXIE : TBits_1 read getU1ARXIE write setU1ARXIE;
  9306. property U1ATXIE : TBits_1 read getU1ATXIE write setU1ATXIE;
  9307. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  9308. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  9309. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  9310. property w : TBits_32 read getw write setw;
  9311. end;
  9312. TINT_IEC1 = record
  9313. private
  9314. function getAD1IE : TBits_1; inline;
  9315. function getCMP1IE : TBits_1; inline;
  9316. function getCMP2IE : TBits_1; inline;
  9317. function getCNIE : TBits_1; inline;
  9318. function getDMA0IE : TBits_1; inline;
  9319. function getDMA1IE : TBits_1; inline;
  9320. function getDMA2IE : TBits_1; inline;
  9321. function getDMA3IE : TBits_1; inline;
  9322. function getDMA4IE : TBits_1; inline;
  9323. function getDMA5IE : TBits_1; inline;
  9324. function getDMA6IE : TBits_1; inline;
  9325. function getDMA7IE : TBits_1; inline;
  9326. function getETHIE : TBits_1; inline;
  9327. function getFCEIE : TBits_1; inline;
  9328. function getFSCMIE : TBits_1; inline;
  9329. function getI2C2ABIE : TBits_1; inline;
  9330. function getI2C2AMIE : TBits_1; inline;
  9331. function getI2C2ASIE : TBits_1; inline;
  9332. function getI2C2BIE : TBits_1; inline;
  9333. function getI2C2MIE : TBits_1; inline;
  9334. function getI2C2SIE : TBits_1; inline;
  9335. function getI2C3ABIE : TBits_1; inline;
  9336. function getI2C3AMIE : TBits_1; inline;
  9337. function getI2C3ASIE : TBits_1; inline;
  9338. function getI2C4BIE : TBits_1; inline;
  9339. function getI2C4MIE : TBits_1; inline;
  9340. function getI2C4SIE : TBits_1; inline;
  9341. function getI2C5BIE : TBits_1; inline;
  9342. function getI2C5MIE : TBits_1; inline;
  9343. function getI2C5SIE : TBits_1; inline;
  9344. function getIC1EIE : TBits_1; inline;
  9345. function getIC2EIE : TBits_1; inline;
  9346. function getIC3EIE : TBits_1; inline;
  9347. function getPMPIE : TBits_1; inline;
  9348. function getRTCCIE : TBits_1; inline;
  9349. function getSPI2AEIE : TBits_1; inline;
  9350. function getSPI2ARXIE : TBits_1; inline;
  9351. function getSPI2ATXIE : TBits_1; inline;
  9352. function getSPI2EIE : TBits_1; inline;
  9353. function getSPI2RXIE : TBits_1; inline;
  9354. function getSPI2TXIE : TBits_1; inline;
  9355. function getSPI3AEIE : TBits_1; inline;
  9356. function getSPI3ARXIE : TBits_1; inline;
  9357. function getSPI3ATXIE : TBits_1; inline;
  9358. function getSPI4EIE : TBits_1; inline;
  9359. function getSPI4RXIE : TBits_1; inline;
  9360. function getSPI4TXIE : TBits_1; inline;
  9361. function getU2AEIE : TBits_1; inline;
  9362. function getU2ARXIE : TBits_1; inline;
  9363. function getU2ATXIE : TBits_1; inline;
  9364. function getU2EIE : TBits_1; inline;
  9365. function getU2RXIE : TBits_1; inline;
  9366. function getU2TXIE : TBits_1; inline;
  9367. function getU3AEIE : TBits_1; inline;
  9368. function getU3ARXIE : TBits_1; inline;
  9369. function getU3ATXIE : TBits_1; inline;
  9370. function getU3EIE : TBits_1; inline;
  9371. function getU3RXIE : TBits_1; inline;
  9372. function getU3TXIE : TBits_1; inline;
  9373. function getUSBIE : TBits_1; inline;
  9374. function getw : TBits_32; inline;
  9375. procedure setAD1IE(thebits : TBits_1); inline;
  9376. procedure setCMP1IE(thebits : TBits_1); inline;
  9377. procedure setCMP2IE(thebits : TBits_1); inline;
  9378. procedure setCNIE(thebits : TBits_1); inline;
  9379. procedure setDMA0IE(thebits : TBits_1); inline;
  9380. procedure setDMA1IE(thebits : TBits_1); inline;
  9381. procedure setDMA2IE(thebits : TBits_1); inline;
  9382. procedure setDMA3IE(thebits : TBits_1); inline;
  9383. procedure setDMA4IE(thebits : TBits_1); inline;
  9384. procedure setDMA5IE(thebits : TBits_1); inline;
  9385. procedure setDMA6IE(thebits : TBits_1); inline;
  9386. procedure setDMA7IE(thebits : TBits_1); inline;
  9387. procedure setETHIE(thebits : TBits_1); inline;
  9388. procedure setFCEIE(thebits : TBits_1); inline;
  9389. procedure setFSCMIE(thebits : TBits_1); inline;
  9390. procedure setI2C2ABIE(thebits : TBits_1); inline;
  9391. procedure setI2C2AMIE(thebits : TBits_1); inline;
  9392. procedure setI2C2ASIE(thebits : TBits_1); inline;
  9393. procedure setI2C2BIE(thebits : TBits_1); inline;
  9394. procedure setI2C2MIE(thebits : TBits_1); inline;
  9395. procedure setI2C2SIE(thebits : TBits_1); inline;
  9396. procedure setI2C3ABIE(thebits : TBits_1); inline;
  9397. procedure setI2C3AMIE(thebits : TBits_1); inline;
  9398. procedure setI2C3ASIE(thebits : TBits_1); inline;
  9399. procedure setI2C4BIE(thebits : TBits_1); inline;
  9400. procedure setI2C4MIE(thebits : TBits_1); inline;
  9401. procedure setI2C4SIE(thebits : TBits_1); inline;
  9402. procedure setI2C5BIE(thebits : TBits_1); inline;
  9403. procedure setI2C5MIE(thebits : TBits_1); inline;
  9404. procedure setI2C5SIE(thebits : TBits_1); inline;
  9405. procedure setIC1EIE(thebits : TBits_1); inline;
  9406. procedure setIC2EIE(thebits : TBits_1); inline;
  9407. procedure setIC3EIE(thebits : TBits_1); inline;
  9408. procedure setPMPIE(thebits : TBits_1); inline;
  9409. procedure setRTCCIE(thebits : TBits_1); inline;
  9410. procedure setSPI2AEIE(thebits : TBits_1); inline;
  9411. procedure setSPI2ARXIE(thebits : TBits_1); inline;
  9412. procedure setSPI2ATXIE(thebits : TBits_1); inline;
  9413. procedure setSPI2EIE(thebits : TBits_1); inline;
  9414. procedure setSPI2RXIE(thebits : TBits_1); inline;
  9415. procedure setSPI2TXIE(thebits : TBits_1); inline;
  9416. procedure setSPI3AEIE(thebits : TBits_1); inline;
  9417. procedure setSPI3ARXIE(thebits : TBits_1); inline;
  9418. procedure setSPI3ATXIE(thebits : TBits_1); inline;
  9419. procedure setSPI4EIE(thebits : TBits_1); inline;
  9420. procedure setSPI4RXIE(thebits : TBits_1); inline;
  9421. procedure setSPI4TXIE(thebits : TBits_1); inline;
  9422. procedure setU2AEIE(thebits : TBits_1); inline;
  9423. procedure setU2ARXIE(thebits : TBits_1); inline;
  9424. procedure setU2ATXIE(thebits : TBits_1); inline;
  9425. procedure setU2EIE(thebits : TBits_1); inline;
  9426. procedure setU2RXIE(thebits : TBits_1); inline;
  9427. procedure setU2TXIE(thebits : TBits_1); inline;
  9428. procedure setU3AEIE(thebits : TBits_1); inline;
  9429. procedure setU3ARXIE(thebits : TBits_1); inline;
  9430. procedure setU3ATXIE(thebits : TBits_1); inline;
  9431. procedure setU3EIE(thebits : TBits_1); inline;
  9432. procedure setU3RXIE(thebits : TBits_1); inline;
  9433. procedure setU3TXIE(thebits : TBits_1); inline;
  9434. procedure setUSBIE(thebits : TBits_1); inline;
  9435. procedure setw(thebits : TBits_32); inline;
  9436. public
  9437. procedure clearAD1IE; inline;
  9438. procedure clearCMP1IE; inline;
  9439. procedure clearCMP2IE; inline;
  9440. procedure clearCNIE; inline;
  9441. procedure clearDMA0IE; inline;
  9442. procedure clearDMA1IE; inline;
  9443. procedure clearDMA2IE; inline;
  9444. procedure clearDMA3IE; inline;
  9445. procedure clearDMA4IE; inline;
  9446. procedure clearDMA5IE; inline;
  9447. procedure clearDMA6IE; inline;
  9448. procedure clearDMA7IE; inline;
  9449. procedure clearETHIE; inline;
  9450. procedure clearFCEIE; inline;
  9451. procedure clearFSCMIE; inline;
  9452. procedure clearI2C2ABIE; inline;
  9453. procedure clearI2C2AMIE; inline;
  9454. procedure clearI2C2ASIE; inline;
  9455. procedure clearI2C2BIE; inline;
  9456. procedure clearI2C2MIE; inline;
  9457. procedure clearI2C2SIE; inline;
  9458. procedure clearI2C3ABIE; inline;
  9459. procedure clearI2C3AMIE; inline;
  9460. procedure clearI2C3ASIE; inline;
  9461. procedure clearI2C4BIE; inline;
  9462. procedure clearI2C4MIE; inline;
  9463. procedure clearI2C4SIE; inline;
  9464. procedure clearI2C5BIE; inline;
  9465. procedure clearI2C5MIE; inline;
  9466. procedure clearI2C5SIE; inline;
  9467. procedure clearIC1EIE; inline;
  9468. procedure clearIC2EIE; inline;
  9469. procedure clearIC3EIE; inline;
  9470. procedure clearPMPIE; inline;
  9471. procedure clearRTCCIE; inline;
  9472. procedure clearSPI2AEIE; inline;
  9473. procedure clearSPI2ARXIE; inline;
  9474. procedure clearSPI2ATXIE; inline;
  9475. procedure clearSPI2EIE; inline;
  9476. procedure clearSPI2RXIE; inline;
  9477. procedure clearSPI2TXIE; inline;
  9478. procedure clearSPI3AEIE; inline;
  9479. procedure clearSPI3ARXIE; inline;
  9480. procedure clearSPI3ATXIE; inline;
  9481. procedure clearSPI4EIE; inline;
  9482. procedure clearSPI4RXIE; inline;
  9483. procedure clearSPI4TXIE; inline;
  9484. procedure clearU2AEIE; inline;
  9485. procedure clearU2ARXIE; inline;
  9486. procedure clearU2ATXIE; inline;
  9487. procedure clearU2EIE; inline;
  9488. procedure clearU2RXIE; inline;
  9489. procedure clearU2TXIE; inline;
  9490. procedure clearU3AEIE; inline;
  9491. procedure clearU3ARXIE; inline;
  9492. procedure clearU3ATXIE; inline;
  9493. procedure clearU3EIE; inline;
  9494. procedure clearU3RXIE; inline;
  9495. procedure clearU3TXIE; inline;
  9496. procedure clearUSBIE; inline;
  9497. procedure setAD1IE; inline;
  9498. procedure setCMP1IE; inline;
  9499. procedure setCMP2IE; inline;
  9500. procedure setCNIE; inline;
  9501. procedure setDMA0IE; inline;
  9502. procedure setDMA1IE; inline;
  9503. procedure setDMA2IE; inline;
  9504. procedure setDMA3IE; inline;
  9505. procedure setDMA4IE; inline;
  9506. procedure setDMA5IE; inline;
  9507. procedure setDMA6IE; inline;
  9508. procedure setDMA7IE; inline;
  9509. procedure setETHIE; inline;
  9510. procedure setFCEIE; inline;
  9511. procedure setFSCMIE; inline;
  9512. procedure setI2C2ABIE; inline;
  9513. procedure setI2C2AMIE; inline;
  9514. procedure setI2C2ASIE; inline;
  9515. procedure setI2C2BIE; inline;
  9516. procedure setI2C2MIE; inline;
  9517. procedure setI2C2SIE; inline;
  9518. procedure setI2C3ABIE; inline;
  9519. procedure setI2C3AMIE; inline;
  9520. procedure setI2C3ASIE; inline;
  9521. procedure setI2C4BIE; inline;
  9522. procedure setI2C4MIE; inline;
  9523. procedure setI2C4SIE; inline;
  9524. procedure setI2C5BIE; inline;
  9525. procedure setI2C5MIE; inline;
  9526. procedure setI2C5SIE; inline;
  9527. procedure setIC1EIE; inline;
  9528. procedure setIC2EIE; inline;
  9529. procedure setIC3EIE; inline;
  9530. procedure setPMPIE; inline;
  9531. procedure setRTCCIE; inline;
  9532. procedure setSPI2AEIE; inline;
  9533. procedure setSPI2ARXIE; inline;
  9534. procedure setSPI2ATXIE; inline;
  9535. procedure setSPI2EIE; inline;
  9536. procedure setSPI2RXIE; inline;
  9537. procedure setSPI2TXIE; inline;
  9538. procedure setSPI3AEIE; inline;
  9539. procedure setSPI3ARXIE; inline;
  9540. procedure setSPI3ATXIE; inline;
  9541. procedure setSPI4EIE; inline;
  9542. procedure setSPI4RXIE; inline;
  9543. procedure setSPI4TXIE; inline;
  9544. procedure setU2AEIE; inline;
  9545. procedure setU2ARXIE; inline;
  9546. procedure setU2ATXIE; inline;
  9547. procedure setU2EIE; inline;
  9548. procedure setU2RXIE; inline;
  9549. procedure setU2TXIE; inline;
  9550. procedure setU3AEIE; inline;
  9551. procedure setU3ARXIE; inline;
  9552. procedure setU3ATXIE; inline;
  9553. procedure setU3EIE; inline;
  9554. procedure setU3RXIE; inline;
  9555. procedure setU3TXIE; inline;
  9556. procedure setUSBIE; inline;
  9557. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  9558. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  9559. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  9560. property CNIE : TBits_1 read getCNIE write setCNIE;
  9561. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  9562. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  9563. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  9564. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  9565. property DMA4IE : TBits_1 read getDMA4IE write setDMA4IE;
  9566. property DMA5IE : TBits_1 read getDMA5IE write setDMA5IE;
  9567. property DMA6IE : TBits_1 read getDMA6IE write setDMA6IE;
  9568. property DMA7IE : TBits_1 read getDMA7IE write setDMA7IE;
  9569. property ETHIE : TBits_1 read getETHIE write setETHIE;
  9570. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  9571. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  9572. property I2C2ABIE : TBits_1 read getI2C2ABIE write setI2C2ABIE;
  9573. property I2C2AMIE : TBits_1 read getI2C2AMIE write setI2C2AMIE;
  9574. property I2C2ASIE : TBits_1 read getI2C2ASIE write setI2C2ASIE;
  9575. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  9576. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  9577. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  9578. property I2C3ABIE : TBits_1 read getI2C3ABIE write setI2C3ABIE;
  9579. property I2C3AMIE : TBits_1 read getI2C3AMIE write setI2C3AMIE;
  9580. property I2C3ASIE : TBits_1 read getI2C3ASIE write setI2C3ASIE;
  9581. property I2C4BIE : TBits_1 read getI2C4BIE write setI2C4BIE;
  9582. property I2C4MIE : TBits_1 read getI2C4MIE write setI2C4MIE;
  9583. property I2C4SIE : TBits_1 read getI2C4SIE write setI2C4SIE;
  9584. property I2C5BIE : TBits_1 read getI2C5BIE write setI2C5BIE;
  9585. property I2C5MIE : TBits_1 read getI2C5MIE write setI2C5MIE;
  9586. property I2C5SIE : TBits_1 read getI2C5SIE write setI2C5SIE;
  9587. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  9588. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  9589. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  9590. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  9591. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  9592. property SPI2AEIE : TBits_1 read getSPI2AEIE write setSPI2AEIE;
  9593. property SPI2ARXIE : TBits_1 read getSPI2ARXIE write setSPI2ARXIE;
  9594. property SPI2ATXIE : TBits_1 read getSPI2ATXIE write setSPI2ATXIE;
  9595. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  9596. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  9597. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  9598. property SPI3AEIE : TBits_1 read getSPI3AEIE write setSPI3AEIE;
  9599. property SPI3ARXIE : TBits_1 read getSPI3ARXIE write setSPI3ARXIE;
  9600. property SPI3ATXIE : TBits_1 read getSPI3ATXIE write setSPI3ATXIE;
  9601. property SPI4EIE : TBits_1 read getSPI4EIE write setSPI4EIE;
  9602. property SPI4RXIE : TBits_1 read getSPI4RXIE write setSPI4RXIE;
  9603. property SPI4TXIE : TBits_1 read getSPI4TXIE write setSPI4TXIE;
  9604. property U2AEIE : TBits_1 read getU2AEIE write setU2AEIE;
  9605. property U2ARXIE : TBits_1 read getU2ARXIE write setU2ARXIE;
  9606. property U2ATXIE : TBits_1 read getU2ATXIE write setU2ATXIE;
  9607. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  9608. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  9609. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  9610. property U3AEIE : TBits_1 read getU3AEIE write setU3AEIE;
  9611. property U3ARXIE : TBits_1 read getU3ARXIE write setU3ARXIE;
  9612. property U3ATXIE : TBits_1 read getU3ATXIE write setU3ATXIE;
  9613. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  9614. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  9615. property U3TXIE : TBits_1 read getU3TXIE write setU3TXIE;
  9616. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  9617. property w : TBits_32 read getw write setw;
  9618. end;
  9619. TINT_IEC2 = record
  9620. private
  9621. function getIC4EIE : TBits_1; inline;
  9622. function getIC5EIE : TBits_1; inline;
  9623. function getPMPEIE : TBits_1; inline;
  9624. function getU1BEIE : TBits_1; inline;
  9625. function getU1BRXIE : TBits_1; inline;
  9626. function getU1BTXIE : TBits_1; inline;
  9627. function getU2BEIE : TBits_1; inline;
  9628. function getU2BRXIE : TBits_1; inline;
  9629. function getU2BTXIE : TBits_1; inline;
  9630. function getU3BEIE : TBits_1; inline;
  9631. function getU3BRXIE : TBits_1; inline;
  9632. function getU3BTXIE : TBits_1; inline;
  9633. function getU4EIE : TBits_1; inline;
  9634. function getU4RXIE : TBits_1; inline;
  9635. function getU4TXIE : TBits_1; inline;
  9636. function getU5EIE : TBits_1; inline;
  9637. function getU5RXIE : TBits_1; inline;
  9638. function getU5TXIE : TBits_1; inline;
  9639. function getU6EIE : TBits_1; inline;
  9640. function getU6RXIE : TBits_1; inline;
  9641. function getU6TXIE : TBits_1; inline;
  9642. function getw : TBits_32; inline;
  9643. procedure setIC4EIE(thebits : TBits_1); inline;
  9644. procedure setIC5EIE(thebits : TBits_1); inline;
  9645. procedure setPMPEIE(thebits : TBits_1); inline;
  9646. procedure setU1BEIE(thebits : TBits_1); inline;
  9647. procedure setU1BRXIE(thebits : TBits_1); inline;
  9648. procedure setU1BTXIE(thebits : TBits_1); inline;
  9649. procedure setU2BEIE(thebits : TBits_1); inline;
  9650. procedure setU2BRXIE(thebits : TBits_1); inline;
  9651. procedure setU2BTXIE(thebits : TBits_1); inline;
  9652. procedure setU3BEIE(thebits : TBits_1); inline;
  9653. procedure setU3BRXIE(thebits : TBits_1); inline;
  9654. procedure setU3BTXIE(thebits : TBits_1); inline;
  9655. procedure setU4EIE(thebits : TBits_1); inline;
  9656. procedure setU4RXIE(thebits : TBits_1); inline;
  9657. procedure setU4TXIE(thebits : TBits_1); inline;
  9658. procedure setU5EIE(thebits : TBits_1); inline;
  9659. procedure setU5RXIE(thebits : TBits_1); inline;
  9660. procedure setU5TXIE(thebits : TBits_1); inline;
  9661. procedure setU6EIE(thebits : TBits_1); inline;
  9662. procedure setU6RXIE(thebits : TBits_1); inline;
  9663. procedure setU6TXIE(thebits : TBits_1); inline;
  9664. procedure setw(thebits : TBits_32); inline;
  9665. public
  9666. procedure clearIC4EIE; inline;
  9667. procedure clearIC5EIE; inline;
  9668. procedure clearPMPEIE; inline;
  9669. procedure clearU1BEIE; inline;
  9670. procedure clearU1BRXIE; inline;
  9671. procedure clearU1BTXIE; inline;
  9672. procedure clearU2BEIE; inline;
  9673. procedure clearU2BRXIE; inline;
  9674. procedure clearU2BTXIE; inline;
  9675. procedure clearU3BEIE; inline;
  9676. procedure clearU3BRXIE; inline;
  9677. procedure clearU3BTXIE; inline;
  9678. procedure clearU4EIE; inline;
  9679. procedure clearU4RXIE; inline;
  9680. procedure clearU4TXIE; inline;
  9681. procedure clearU5EIE; inline;
  9682. procedure clearU5RXIE; inline;
  9683. procedure clearU5TXIE; inline;
  9684. procedure clearU6EIE; inline;
  9685. procedure clearU6RXIE; inline;
  9686. procedure clearU6TXIE; inline;
  9687. procedure setIC4EIE; inline;
  9688. procedure setIC5EIE; inline;
  9689. procedure setPMPEIE; inline;
  9690. procedure setU1BEIE; inline;
  9691. procedure setU1BRXIE; inline;
  9692. procedure setU1BTXIE; inline;
  9693. procedure setU2BEIE; inline;
  9694. procedure setU2BRXIE; inline;
  9695. procedure setU2BTXIE; inline;
  9696. procedure setU3BEIE; inline;
  9697. procedure setU3BRXIE; inline;
  9698. procedure setU3BTXIE; inline;
  9699. procedure setU4EIE; inline;
  9700. procedure setU4RXIE; inline;
  9701. procedure setU4TXIE; inline;
  9702. procedure setU5EIE; inline;
  9703. procedure setU5RXIE; inline;
  9704. procedure setU5TXIE; inline;
  9705. procedure setU6EIE; inline;
  9706. procedure setU6RXIE; inline;
  9707. procedure setU6TXIE; inline;
  9708. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  9709. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  9710. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  9711. property U1BEIE : TBits_1 read getU1BEIE write setU1BEIE;
  9712. property U1BRXIE : TBits_1 read getU1BRXIE write setU1BRXIE;
  9713. property U1BTXIE : TBits_1 read getU1BTXIE write setU1BTXIE;
  9714. property U2BEIE : TBits_1 read getU2BEIE write setU2BEIE;
  9715. property U2BRXIE : TBits_1 read getU2BRXIE write setU2BRXIE;
  9716. property U2BTXIE : TBits_1 read getU2BTXIE write setU2BTXIE;
  9717. property U3BEIE : TBits_1 read getU3BEIE write setU3BEIE;
  9718. property U3BRXIE : TBits_1 read getU3BRXIE write setU3BRXIE;
  9719. property U3BTXIE : TBits_1 read getU3BTXIE write setU3BTXIE;
  9720. property U4EIE : TBits_1 read getU4EIE write setU4EIE;
  9721. property U4RXIE : TBits_1 read getU4RXIE write setU4RXIE;
  9722. property U4TXIE : TBits_1 read getU4TXIE write setU4TXIE;
  9723. property U5EIE : TBits_1 read getU5EIE write setU5EIE;
  9724. property U5RXIE : TBits_1 read getU5RXIE write setU5RXIE;
  9725. property U5TXIE : TBits_1 read getU5TXIE write setU5TXIE;
  9726. property U6EIE : TBits_1 read getU6EIE write setU6EIE;
  9727. property U6RXIE : TBits_1 read getU6RXIE write setU6RXIE;
  9728. property U6TXIE : TBits_1 read getU6TXIE write setU6TXIE;
  9729. property w : TBits_32 read getw write setw;
  9730. end;
  9731. TINT_IPC0 = record
  9732. private
  9733. function getCS0IP : TBits_3; inline;
  9734. function getCS0IS : TBits_2; inline;
  9735. function getCS1IP : TBits_3; inline;
  9736. function getCS1IS : TBits_2; inline;
  9737. function getCTIP : TBits_3; inline;
  9738. function getCTIS : TBits_2; inline;
  9739. function getINT0IP : TBits_3; inline;
  9740. function getINT0IS : TBits_2; inline;
  9741. function getw : TBits_32; inline;
  9742. procedure setCS0IP(thebits : TBits_3); inline;
  9743. procedure setCS0IS(thebits : TBits_2); inline;
  9744. procedure setCS1IP(thebits : TBits_3); inline;
  9745. procedure setCS1IS(thebits : TBits_2); inline;
  9746. procedure setCTIP(thebits : TBits_3); inline;
  9747. procedure setCTIS(thebits : TBits_2); inline;
  9748. procedure setINT0IP(thebits : TBits_3); inline;
  9749. procedure setINT0IS(thebits : TBits_2); inline;
  9750. procedure setw(thebits : TBits_32); inline;
  9751. public
  9752. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  9753. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  9754. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  9755. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  9756. property CTIP : TBits_3 read getCTIP write setCTIP;
  9757. property CTIS : TBits_2 read getCTIS write setCTIS;
  9758. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  9759. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  9760. property w : TBits_32 read getw write setw;
  9761. end;
  9762. TINT_IPC1 = record
  9763. private
  9764. function getIC1IP : TBits_3; inline;
  9765. function getIC1IS : TBits_2; inline;
  9766. function getINT1IP : TBits_3; inline;
  9767. function getINT1IS : TBits_2; inline;
  9768. function getOC1IP : TBits_3; inline;
  9769. function getOC1IS : TBits_2; inline;
  9770. function getT1IP : TBits_3; inline;
  9771. function getT1IS : TBits_2; inline;
  9772. function getw : TBits_32; inline;
  9773. procedure setIC1IP(thebits : TBits_3); inline;
  9774. procedure setIC1IS(thebits : TBits_2); inline;
  9775. procedure setINT1IP(thebits : TBits_3); inline;
  9776. procedure setINT1IS(thebits : TBits_2); inline;
  9777. procedure setOC1IP(thebits : TBits_3); inline;
  9778. procedure setOC1IS(thebits : TBits_2); inline;
  9779. procedure setT1IP(thebits : TBits_3); inline;
  9780. procedure setT1IS(thebits : TBits_2); inline;
  9781. procedure setw(thebits : TBits_32); inline;
  9782. public
  9783. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  9784. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  9785. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  9786. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  9787. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  9788. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  9789. property T1IP : TBits_3 read getT1IP write setT1IP;
  9790. property T1IS : TBits_2 read getT1IS write setT1IS;
  9791. property w : TBits_32 read getw write setw;
  9792. end;
  9793. TINT_IPC2 = record
  9794. private
  9795. function getIC2IP : TBits_3; inline;
  9796. function getIC2IS : TBits_2; inline;
  9797. function getINT2IP : TBits_3; inline;
  9798. function getINT2IS : TBits_2; inline;
  9799. function getOC2IP : TBits_3; inline;
  9800. function getOC2IS : TBits_2; inline;
  9801. function getT2IP : TBits_3; inline;
  9802. function getT2IS : TBits_2; inline;
  9803. function getw : TBits_32; inline;
  9804. procedure setIC2IP(thebits : TBits_3); inline;
  9805. procedure setIC2IS(thebits : TBits_2); inline;
  9806. procedure setINT2IP(thebits : TBits_3); inline;
  9807. procedure setINT2IS(thebits : TBits_2); inline;
  9808. procedure setOC2IP(thebits : TBits_3); inline;
  9809. procedure setOC2IS(thebits : TBits_2); inline;
  9810. procedure setT2IP(thebits : TBits_3); inline;
  9811. procedure setT2IS(thebits : TBits_2); inline;
  9812. procedure setw(thebits : TBits_32); inline;
  9813. public
  9814. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  9815. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  9816. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  9817. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  9818. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  9819. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  9820. property T2IP : TBits_3 read getT2IP write setT2IP;
  9821. property T2IS : TBits_2 read getT2IS write setT2IS;
  9822. property w : TBits_32 read getw write setw;
  9823. end;
  9824. TINT_IPC3 = record
  9825. private
  9826. function getIC3IP : TBits_3; inline;
  9827. function getIC3IS : TBits_2; inline;
  9828. function getINT3IP : TBits_3; inline;
  9829. function getINT3IS : TBits_2; inline;
  9830. function getOC3IP : TBits_3; inline;
  9831. function getOC3IS : TBits_2; inline;
  9832. function getT3IP : TBits_3; inline;
  9833. function getT3IS : TBits_2; inline;
  9834. function getw : TBits_32; inline;
  9835. procedure setIC3IP(thebits : TBits_3); inline;
  9836. procedure setIC3IS(thebits : TBits_2); inline;
  9837. procedure setINT3IP(thebits : TBits_3); inline;
  9838. procedure setINT3IS(thebits : TBits_2); inline;
  9839. procedure setOC3IP(thebits : TBits_3); inline;
  9840. procedure setOC3IS(thebits : TBits_2); inline;
  9841. procedure setT3IP(thebits : TBits_3); inline;
  9842. procedure setT3IS(thebits : TBits_2); inline;
  9843. procedure setw(thebits : TBits_32); inline;
  9844. public
  9845. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  9846. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  9847. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  9848. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  9849. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  9850. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  9851. property T3IP : TBits_3 read getT3IP write setT3IP;
  9852. property T3IS : TBits_2 read getT3IS write setT3IS;
  9853. property w : TBits_32 read getw write setw;
  9854. end;
  9855. TINT_IPC4 = record
  9856. private
  9857. function getIC4IP : TBits_3; inline;
  9858. function getIC4IS : TBits_2; inline;
  9859. function getINT4IP : TBits_3; inline;
  9860. function getINT4IS : TBits_2; inline;
  9861. function getOC4IP : TBits_3; inline;
  9862. function getOC4IS : TBits_2; inline;
  9863. function getT4IP : TBits_3; inline;
  9864. function getT4IS : TBits_2; inline;
  9865. function getw : TBits_32; inline;
  9866. procedure setIC4IP(thebits : TBits_3); inline;
  9867. procedure setIC4IS(thebits : TBits_2); inline;
  9868. procedure setINT4IP(thebits : TBits_3); inline;
  9869. procedure setINT4IS(thebits : TBits_2); inline;
  9870. procedure setOC4IP(thebits : TBits_3); inline;
  9871. procedure setOC4IS(thebits : TBits_2); inline;
  9872. procedure setT4IP(thebits : TBits_3); inline;
  9873. procedure setT4IS(thebits : TBits_2); inline;
  9874. procedure setw(thebits : TBits_32); inline;
  9875. public
  9876. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  9877. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  9878. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  9879. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  9880. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  9881. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  9882. property T4IP : TBits_3 read getT4IP write setT4IP;
  9883. property T4IS : TBits_2 read getT4IS write setT4IS;
  9884. property w : TBits_32 read getw write setw;
  9885. end;
  9886. TINT_IPC5 = record
  9887. private
  9888. function getIC5IP : TBits_3; inline;
  9889. function getIC5IS : TBits_2; inline;
  9890. function getOC5IP : TBits_3; inline;
  9891. function getOC5IS : TBits_2; inline;
  9892. function getSPI1IP : TBits_3; inline;
  9893. function getSPI1IS : TBits_2; inline;
  9894. function getT5IP : TBits_3; inline;
  9895. function getT5IS : TBits_2; inline;
  9896. function getw : TBits_32; inline;
  9897. procedure setIC5IP(thebits : TBits_3); inline;
  9898. procedure setIC5IS(thebits : TBits_2); inline;
  9899. procedure setOC5IP(thebits : TBits_3); inline;
  9900. procedure setOC5IS(thebits : TBits_2); inline;
  9901. procedure setSPI1IP(thebits : TBits_3); inline;
  9902. procedure setSPI1IS(thebits : TBits_2); inline;
  9903. procedure setT5IP(thebits : TBits_3); inline;
  9904. procedure setT5IS(thebits : TBits_2); inline;
  9905. procedure setw(thebits : TBits_32); inline;
  9906. public
  9907. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  9908. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  9909. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  9910. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  9911. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  9912. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  9913. property T5IP : TBits_3 read getT5IP write setT5IP;
  9914. property T5IS : TBits_2 read getT5IS write setT5IS;
  9915. property w : TBits_32 read getw write setw;
  9916. end;
  9917. TINT_IPC6 = record
  9918. private
  9919. function getAD1IP : TBits_3; inline;
  9920. function getAD1IS : TBits_2; inline;
  9921. function getCNIP : TBits_3; inline;
  9922. function getCNIS : TBits_2; inline;
  9923. function getI2C1AIP : TBits_3; inline;
  9924. function getI2C1AIS : TBits_2; inline;
  9925. function getI2C1IP : TBits_3; inline;
  9926. function getI2C1IS : TBits_2; inline;
  9927. function getI2C3IP : TBits_3; inline;
  9928. function getI2C3IS : TBits_2; inline;
  9929. function getSPI1AIP : TBits_3; inline;
  9930. function getSPI1AIS : TBits_2; inline;
  9931. function getSPI3IP : TBits_3; inline;
  9932. function getSPI3IS : TBits_2; inline;
  9933. function getU1AIP : TBits_3; inline;
  9934. function getU1AIS : TBits_2; inline;
  9935. function getU1IP : TBits_3; inline;
  9936. function getU1IS : TBits_2; inline;
  9937. function getw : TBits_32; inline;
  9938. procedure setAD1IP(thebits : TBits_3); inline;
  9939. procedure setAD1IS(thebits : TBits_2); inline;
  9940. procedure setCNIP(thebits : TBits_3); inline;
  9941. procedure setCNIS(thebits : TBits_2); inline;
  9942. procedure setI2C1AIP(thebits : TBits_3); inline;
  9943. procedure setI2C1AIS(thebits : TBits_2); inline;
  9944. procedure setI2C1IP(thebits : TBits_3); inline;
  9945. procedure setI2C1IS(thebits : TBits_2); inline;
  9946. procedure setI2C3IP(thebits : TBits_3); inline;
  9947. procedure setI2C3IS(thebits : TBits_2); inline;
  9948. procedure setSPI1AIP(thebits : TBits_3); inline;
  9949. procedure setSPI1AIS(thebits : TBits_2); inline;
  9950. procedure setSPI3IP(thebits : TBits_3); inline;
  9951. procedure setSPI3IS(thebits : TBits_2); inline;
  9952. procedure setU1AIP(thebits : TBits_3); inline;
  9953. procedure setU1AIS(thebits : TBits_2); inline;
  9954. procedure setU1IP(thebits : TBits_3); inline;
  9955. procedure setU1IS(thebits : TBits_2); inline;
  9956. procedure setw(thebits : TBits_32); inline;
  9957. public
  9958. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  9959. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  9960. property CNIP : TBits_3 read getCNIP write setCNIP;
  9961. property CNIS : TBits_2 read getCNIS write setCNIS;
  9962. property I2C1AIP : TBits_3 read getI2C1AIP write setI2C1AIP;
  9963. property I2C1AIS : TBits_2 read getI2C1AIS write setI2C1AIS;
  9964. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  9965. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  9966. property I2C3IP : TBits_3 read getI2C3IP write setI2C3IP;
  9967. property I2C3IS : TBits_2 read getI2C3IS write setI2C3IS;
  9968. property SPI1AIP : TBits_3 read getSPI1AIP write setSPI1AIP;
  9969. property SPI1AIS : TBits_2 read getSPI1AIS write setSPI1AIS;
  9970. property SPI3IP : TBits_3 read getSPI3IP write setSPI3IP;
  9971. property SPI3IS : TBits_2 read getSPI3IS write setSPI3IS;
  9972. property U1AIP : TBits_3 read getU1AIP write setU1AIP;
  9973. property U1AIS : TBits_2 read getU1AIS write setU1AIS;
  9974. property U1IP : TBits_3 read getU1IP write setU1IP;
  9975. property U1IS : TBits_2 read getU1IS write setU1IS;
  9976. property w : TBits_32 read getw write setw;
  9977. end;
  9978. TINT_IPC7 = record
  9979. private
  9980. function getCMP1IP : TBits_3; inline;
  9981. function getCMP1IS : TBits_2; inline;
  9982. function getCMP2IP : TBits_3; inline;
  9983. function getCMP2IS : TBits_2; inline;
  9984. function getI2C2AIP : TBits_3; inline;
  9985. function getI2C2AIS : TBits_2; inline;
  9986. function getI2C4IP : TBits_3; inline;
  9987. function getI2C4IS : TBits_2; inline;
  9988. function getPMPIP : TBits_3; inline;
  9989. function getPMPIS : TBits_2; inline;
  9990. function getSPI2AIP : TBits_3; inline;
  9991. function getSPI2AIS : TBits_2; inline;
  9992. function getSPI2IP : TBits_3; inline;
  9993. function getSPI2IS : TBits_2; inline;
  9994. function getU2AIP : TBits_3; inline;
  9995. function getU2AIS : TBits_2; inline;
  9996. function getU3IP : TBits_3; inline;
  9997. function getU3IS : TBits_2; inline;
  9998. function getw : TBits_32; inline;
  9999. procedure setCMP1IP(thebits : TBits_3); inline;
  10000. procedure setCMP1IS(thebits : TBits_2); inline;
  10001. procedure setCMP2IP(thebits : TBits_3); inline;
  10002. procedure setCMP2IS(thebits : TBits_2); inline;
  10003. procedure setI2C2AIP(thebits : TBits_3); inline;
  10004. procedure setI2C2AIS(thebits : TBits_2); inline;
  10005. procedure setI2C4IP(thebits : TBits_3); inline;
  10006. procedure setI2C4IS(thebits : TBits_2); inline;
  10007. procedure setPMPIP(thebits : TBits_3); inline;
  10008. procedure setPMPIS(thebits : TBits_2); inline;
  10009. procedure setSPI2AIP(thebits : TBits_3); inline;
  10010. procedure setSPI2AIS(thebits : TBits_2); inline;
  10011. procedure setSPI2IP(thebits : TBits_3); inline;
  10012. procedure setSPI2IS(thebits : TBits_2); inline;
  10013. procedure setU2AIP(thebits : TBits_3); inline;
  10014. procedure setU2AIS(thebits : TBits_2); inline;
  10015. procedure setU3IP(thebits : TBits_3); inline;
  10016. procedure setU3IS(thebits : TBits_2); inline;
  10017. procedure setw(thebits : TBits_32); inline;
  10018. public
  10019. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  10020. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  10021. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  10022. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  10023. property I2C2AIP : TBits_3 read getI2C2AIP write setI2C2AIP;
  10024. property I2C2AIS : TBits_2 read getI2C2AIS write setI2C2AIS;
  10025. property I2C4IP : TBits_3 read getI2C4IP write setI2C4IP;
  10026. property I2C4IS : TBits_2 read getI2C4IS write setI2C4IS;
  10027. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  10028. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  10029. property SPI2AIP : TBits_3 read getSPI2AIP write setSPI2AIP;
  10030. property SPI2AIS : TBits_2 read getSPI2AIS write setSPI2AIS;
  10031. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  10032. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  10033. property U2AIP : TBits_3 read getU2AIP write setU2AIP;
  10034. property U2AIS : TBits_2 read getU2AIS write setU2AIS;
  10035. property U3IP : TBits_3 read getU3IP write setU3IP;
  10036. property U3IS : TBits_2 read getU3IS write setU3IS;
  10037. property w : TBits_32 read getw write setw;
  10038. end;
  10039. TINT_IPC8 = record
  10040. private
  10041. function getFSCMIP : TBits_3; inline;
  10042. function getFSCMIS : TBits_2; inline;
  10043. function getI2C2IP : TBits_3; inline;
  10044. function getI2C2IS : TBits_2; inline;
  10045. function getI2C3AIP : TBits_3; inline;
  10046. function getI2C3AIS : TBits_2; inline;
  10047. function getI2C5IP : TBits_3; inline;
  10048. function getI2C5IS : TBits_2; inline;
  10049. function getRTCCIP : TBits_3; inline;
  10050. function getRTCCIS : TBits_2; inline;
  10051. function getSPI3AIP : TBits_3; inline;
  10052. function getSPI3AIS : TBits_2; inline;
  10053. function getSPI4IP : TBits_3; inline;
  10054. function getSPI4IS : TBits_2; inline;
  10055. function getU2IP : TBits_3; inline;
  10056. function getU2IS : TBits_2; inline;
  10057. function getU3AIP : TBits_3; inline;
  10058. function getU3AIS : TBits_2; inline;
  10059. function getw : TBits_32; inline;
  10060. procedure setFSCMIP(thebits : TBits_3); inline;
  10061. procedure setFSCMIS(thebits : TBits_2); inline;
  10062. procedure setI2C2IP(thebits : TBits_3); inline;
  10063. procedure setI2C2IS(thebits : TBits_2); inline;
  10064. procedure setI2C3AIP(thebits : TBits_3); inline;
  10065. procedure setI2C3AIS(thebits : TBits_2); inline;
  10066. procedure setI2C5IP(thebits : TBits_3); inline;
  10067. procedure setI2C5IS(thebits : TBits_2); inline;
  10068. procedure setRTCCIP(thebits : TBits_3); inline;
  10069. procedure setRTCCIS(thebits : TBits_2); inline;
  10070. procedure setSPI3AIP(thebits : TBits_3); inline;
  10071. procedure setSPI3AIS(thebits : TBits_2); inline;
  10072. procedure setSPI4IP(thebits : TBits_3); inline;
  10073. procedure setSPI4IS(thebits : TBits_2); inline;
  10074. procedure setU2IP(thebits : TBits_3); inline;
  10075. procedure setU2IS(thebits : TBits_2); inline;
  10076. procedure setU3AIP(thebits : TBits_3); inline;
  10077. procedure setU3AIS(thebits : TBits_2); inline;
  10078. procedure setw(thebits : TBits_32); inline;
  10079. public
  10080. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  10081. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  10082. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  10083. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  10084. property I2C3AIP : TBits_3 read getI2C3AIP write setI2C3AIP;
  10085. property I2C3AIS : TBits_2 read getI2C3AIS write setI2C3AIS;
  10086. property I2C5IP : TBits_3 read getI2C5IP write setI2C5IP;
  10087. property I2C5IS : TBits_2 read getI2C5IS write setI2C5IS;
  10088. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  10089. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  10090. property SPI3AIP : TBits_3 read getSPI3AIP write setSPI3AIP;
  10091. property SPI3AIS : TBits_2 read getSPI3AIS write setSPI3AIS;
  10092. property SPI4IP : TBits_3 read getSPI4IP write setSPI4IP;
  10093. property SPI4IS : TBits_2 read getSPI4IS write setSPI4IS;
  10094. property U2IP : TBits_3 read getU2IP write setU2IP;
  10095. property U2IS : TBits_2 read getU2IS write setU2IS;
  10096. property U3AIP : TBits_3 read getU3AIP write setU3AIP;
  10097. property U3AIS : TBits_2 read getU3AIS write setU3AIS;
  10098. property w : TBits_32 read getw write setw;
  10099. end;
  10100. TINT_IPC9 = record
  10101. private
  10102. function getDMA0IP : TBits_3; inline;
  10103. function getDMA0IS : TBits_2; inline;
  10104. function getDMA1IP : TBits_3; inline;
  10105. function getDMA1IS : TBits_2; inline;
  10106. function getDMA2IP : TBits_3; inline;
  10107. function getDMA2IS : TBits_2; inline;
  10108. function getDMA3IP : TBits_3; inline;
  10109. function getDMA3IS : TBits_2; inline;
  10110. function getw : TBits_32; inline;
  10111. procedure setDMA0IP(thebits : TBits_3); inline;
  10112. procedure setDMA0IS(thebits : TBits_2); inline;
  10113. procedure setDMA1IP(thebits : TBits_3); inline;
  10114. procedure setDMA1IS(thebits : TBits_2); inline;
  10115. procedure setDMA2IP(thebits : TBits_3); inline;
  10116. procedure setDMA2IS(thebits : TBits_2); inline;
  10117. procedure setDMA3IP(thebits : TBits_3); inline;
  10118. procedure setDMA3IS(thebits : TBits_2); inline;
  10119. procedure setw(thebits : TBits_32); inline;
  10120. public
  10121. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  10122. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  10123. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  10124. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  10125. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  10126. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  10127. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  10128. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  10129. property w : TBits_32 read getw write setw;
  10130. end;
  10131. TINT_IPC10 = record
  10132. private
  10133. function getDMA4IP : TBits_3; inline;
  10134. function getDMA4IS : TBits_2; inline;
  10135. function getDMA5IP : TBits_3; inline;
  10136. function getDMA5IS : TBits_2; inline;
  10137. function getDMA6IP : TBits_3; inline;
  10138. function getDMA6IS : TBits_2; inline;
  10139. function getDMA7IP : TBits_3; inline;
  10140. function getDMA7IS : TBits_2; inline;
  10141. function getw : TBits_32; inline;
  10142. procedure setDMA4IP(thebits : TBits_3); inline;
  10143. procedure setDMA4IS(thebits : TBits_2); inline;
  10144. procedure setDMA5IP(thebits : TBits_3); inline;
  10145. procedure setDMA5IS(thebits : TBits_2); inline;
  10146. procedure setDMA6IP(thebits : TBits_3); inline;
  10147. procedure setDMA6IS(thebits : TBits_2); inline;
  10148. procedure setDMA7IP(thebits : TBits_3); inline;
  10149. procedure setDMA7IS(thebits : TBits_2); inline;
  10150. procedure setw(thebits : TBits_32); inline;
  10151. public
  10152. property DMA4IP : TBits_3 read getDMA4IP write setDMA4IP;
  10153. property DMA4IS : TBits_2 read getDMA4IS write setDMA4IS;
  10154. property DMA5IP : TBits_3 read getDMA5IP write setDMA5IP;
  10155. property DMA5IS : TBits_2 read getDMA5IS write setDMA5IS;
  10156. property DMA6IP : TBits_3 read getDMA6IP write setDMA6IP;
  10157. property DMA6IS : TBits_2 read getDMA6IS write setDMA6IS;
  10158. property DMA7IP : TBits_3 read getDMA7IP write setDMA7IP;
  10159. property DMA7IS : TBits_2 read getDMA7IS write setDMA7IS;
  10160. property w : TBits_32 read getw write setw;
  10161. end;
  10162. TINT_IPC11 = record
  10163. private
  10164. function getFCEIP : TBits_3; inline;
  10165. function getFCEIS : TBits_2; inline;
  10166. function getUSBIP : TBits_3; inline;
  10167. function getUSBIS : TBits_2; inline;
  10168. function getw : TBits_32; inline;
  10169. procedure setFCEIP(thebits : TBits_3); inline;
  10170. procedure setFCEIS(thebits : TBits_2); inline;
  10171. procedure setUSBIP(thebits : TBits_3); inline;
  10172. procedure setUSBIS(thebits : TBits_2); inline;
  10173. procedure setw(thebits : TBits_32); inline;
  10174. public
  10175. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  10176. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  10177. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  10178. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  10179. property w : TBits_32 read getw write setw;
  10180. end;
  10181. TINT_IPC12 = record
  10182. private
  10183. function getETHIP : TBits_3; inline;
  10184. function getETHIS : TBits_2; inline;
  10185. function getU1BIP : TBits_3; inline;
  10186. function getU1BIS : TBits_2; inline;
  10187. function getU2BIP : TBits_3; inline;
  10188. function getU2BIS : TBits_2; inline;
  10189. function getU3BIP : TBits_3; inline;
  10190. function getU3BIS : TBits_2; inline;
  10191. function getU4IP : TBits_3; inline;
  10192. function getU4IS : TBits_2; inline;
  10193. function getU5IP : TBits_3; inline;
  10194. function getU5IS : TBits_2; inline;
  10195. function getU6IP : TBits_3; inline;
  10196. function getU6IS : TBits_2; inline;
  10197. function getw : TBits_32; inline;
  10198. procedure setETHIP(thebits : TBits_3); inline;
  10199. procedure setETHIS(thebits : TBits_2); inline;
  10200. procedure setU1BIP(thebits : TBits_3); inline;
  10201. procedure setU1BIS(thebits : TBits_2); inline;
  10202. procedure setU2BIP(thebits : TBits_3); inline;
  10203. procedure setU2BIS(thebits : TBits_2); inline;
  10204. procedure setU3BIP(thebits : TBits_3); inline;
  10205. procedure setU3BIS(thebits : TBits_2); inline;
  10206. procedure setU4IP(thebits : TBits_3); inline;
  10207. procedure setU4IS(thebits : TBits_2); inline;
  10208. procedure setU5IP(thebits : TBits_3); inline;
  10209. procedure setU5IS(thebits : TBits_2); inline;
  10210. procedure setU6IP(thebits : TBits_3); inline;
  10211. procedure setU6IS(thebits : TBits_2); inline;
  10212. procedure setw(thebits : TBits_32); inline;
  10213. public
  10214. property ETHIP : TBits_3 read getETHIP write setETHIP;
  10215. property ETHIS : TBits_2 read getETHIS write setETHIS;
  10216. property U1BIP : TBits_3 read getU1BIP write setU1BIP;
  10217. property U1BIS : TBits_2 read getU1BIS write setU1BIS;
  10218. property U2BIP : TBits_3 read getU2BIP write setU2BIP;
  10219. property U2BIS : TBits_2 read getU2BIS write setU2BIS;
  10220. property U3BIP : TBits_3 read getU3BIP write setU3BIP;
  10221. property U3BIS : TBits_2 read getU3BIS write setU3BIS;
  10222. property U4IP : TBits_3 read getU4IP write setU4IP;
  10223. property U4IS : TBits_2 read getU4IS write setU4IS;
  10224. property U5IP : TBits_3 read getU5IP write setU5IP;
  10225. property U5IS : TBits_2 read getU5IS write setU5IS;
  10226. property U6IP : TBits_3 read getU6IP write setU6IP;
  10227. property U6IS : TBits_2 read getU6IS write setU6IS;
  10228. property w : TBits_32 read getw write setw;
  10229. end;
  10230. type
  10231. TINTRegisters = record
  10232. INTCONbits : TINT_INTCON;
  10233. INTCON : longWord;
  10234. INTCONCLR : longWord;
  10235. INTCONSET : longWord;
  10236. INTCONINV : longWord;
  10237. INTSTAT : longWord;
  10238. IPTMR : longWord;
  10239. IPTMRCLR : longWord;
  10240. IPTMRSET : longWord;
  10241. IPTMRINV : longWord;
  10242. IFS0bits : TINT_IFS0;
  10243. IFS0 : longWord;
  10244. IFS0CLR : longWord;
  10245. IFS0SET : longWord;
  10246. IFS0INV : longWord;
  10247. IFS1bits : TINT_IFS1;
  10248. IFS1 : longWord;
  10249. IFS1CLR : longWord;
  10250. IFS1SET : longWord;
  10251. IFS1INV : longWord;
  10252. IFS2bits : TINT_IFS2;
  10253. IFS2 : longWord;
  10254. IFS2CLR : longWord;
  10255. IFS2SET : longWord;
  10256. IFS2INV : longWord;
  10257. IEC0bits : TINT_IEC0;
  10258. IEC0 : longWord;
  10259. IEC0CLR : longWord;
  10260. IEC0SET : longWord;
  10261. IEC0INV : longWord;
  10262. IEC1bits : TINT_IEC1;
  10263. IEC1 : longWord;
  10264. IEC1CLR : longWord;
  10265. IEC1SET : longWord;
  10266. IEC1INV : longWord;
  10267. IEC2bits : TINT_IEC2;
  10268. IEC2 : longWord;
  10269. IEC2CLR : longWord;
  10270. IEC2SET : longWord;
  10271. IEC2INV : longWord;
  10272. IPC0bits : TINT_IPC0;
  10273. IPC0 : longWord;
  10274. IPC0CLR : longWord;
  10275. IPC0SET : longWord;
  10276. IPC0INV : longWord;
  10277. IPC1bits : TINT_IPC1;
  10278. IPC1 : longWord;
  10279. IPC1CLR : longWord;
  10280. IPC1SET : longWord;
  10281. IPC1INV : longWord;
  10282. IPC2bits : TINT_IPC2;
  10283. IPC2 : longWord;
  10284. IPC2CLR : longWord;
  10285. IPC2SET : longWord;
  10286. IPC2INV : longWord;
  10287. IPC3bits : TINT_IPC3;
  10288. IPC3 : longWord;
  10289. IPC3CLR : longWord;
  10290. IPC3SET : longWord;
  10291. IPC3INV : longWord;
  10292. IPC4bits : TINT_IPC4;
  10293. IPC4 : longWord;
  10294. IPC4CLR : longWord;
  10295. IPC4SET : longWord;
  10296. IPC4INV : longWord;
  10297. IPC5bits : TINT_IPC5;
  10298. IPC5 : longWord;
  10299. IPC5CLR : longWord;
  10300. IPC5SET : longWord;
  10301. IPC5INV : longWord;
  10302. IPC6bits : TINT_IPC6;
  10303. IPC6 : longWord;
  10304. IPC6CLR : longWord;
  10305. IPC6SET : longWord;
  10306. IPC6INV : longWord;
  10307. IPC7bits : TINT_IPC7;
  10308. IPC7 : longWord;
  10309. IPC7CLR : longWord;
  10310. IPC7SET : longWord;
  10311. IPC7INV : longWord;
  10312. IPC8bits : TINT_IPC8;
  10313. IPC8 : longWord;
  10314. IPC8CLR : longWord;
  10315. IPC8SET : longWord;
  10316. IPC8INV : longWord;
  10317. IPC9bits : TINT_IPC9;
  10318. IPC9 : longWord;
  10319. IPC9CLR : longWord;
  10320. IPC9SET : longWord;
  10321. IPC9INV : longWord;
  10322. IPC10bits : TINT_IPC10;
  10323. IPC10 : longWord;
  10324. IPC10CLR : longWord;
  10325. IPC10SET : longWord;
  10326. IPC10INV : longWord;
  10327. IPC11bits : TINT_IPC11;
  10328. IPC11 : longWord;
  10329. IPC11CLR : longWord;
  10330. IPC11SET : longWord;
  10331. IPC11INV : longWord;
  10332. IPC12bits : TINT_IPC12;
  10333. IPC12 : longWord;
  10334. IPC12CLR : longWord;
  10335. IPC12SET : longWord;
  10336. IPC12INV : longWord;
  10337. end;
  10338. TBMX_BMXCON = record
  10339. private
  10340. function getBMXARB : TBits_3; inline;
  10341. function getBMXCHEDMA : TBits_1; inline;
  10342. function getBMXERRDMA : TBits_1; inline;
  10343. function getBMXERRDS : TBits_1; inline;
  10344. function getBMXERRICD : TBits_1; inline;
  10345. function getBMXERRIS : TBits_1; inline;
  10346. function getBMXERRIXI : TBits_1; inline;
  10347. function getBMXWSDRM : TBits_1; inline;
  10348. function getw : TBits_32; inline;
  10349. procedure setBMXARB(thebits : TBits_3); inline;
  10350. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  10351. procedure setBMXERRDMA(thebits : TBits_1); inline;
  10352. procedure setBMXERRDS(thebits : TBits_1); inline;
  10353. procedure setBMXERRICD(thebits : TBits_1); inline;
  10354. procedure setBMXERRIS(thebits : TBits_1); inline;
  10355. procedure setBMXERRIXI(thebits : TBits_1); inline;
  10356. procedure setBMXWSDRM(thebits : TBits_1); inline;
  10357. procedure setw(thebits : TBits_32); inline;
  10358. public
  10359. procedure clearBMXCHEDMA; inline;
  10360. procedure clearBMXERRDMA; inline;
  10361. procedure clearBMXERRDS; inline;
  10362. procedure clearBMXERRICD; inline;
  10363. procedure clearBMXERRIS; inline;
  10364. procedure clearBMXERRIXI; inline;
  10365. procedure clearBMXWSDRM; inline;
  10366. procedure setBMXCHEDMA; inline;
  10367. procedure setBMXERRDMA; inline;
  10368. procedure setBMXERRDS; inline;
  10369. procedure setBMXERRICD; inline;
  10370. procedure setBMXERRIS; inline;
  10371. procedure setBMXERRIXI; inline;
  10372. procedure setBMXWSDRM; inline;
  10373. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  10374. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  10375. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  10376. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  10377. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  10378. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  10379. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  10380. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  10381. property w : TBits_32 read getw write setw;
  10382. end;
  10383. type
  10384. TBMXRegisters = record
  10385. BMXCONbits : TBMX_BMXCON;
  10386. BMXCON : longWord;
  10387. BMXCONCLR : longWord;
  10388. BMXCONSET : longWord;
  10389. BMXCONINV : longWord;
  10390. BMXDKPBA : longWord;
  10391. BMXDKPBACLR : longWord;
  10392. BMXDKPBASET : longWord;
  10393. BMXDKPBAINV : longWord;
  10394. BMXDUDBA : longWord;
  10395. BMXDUDBACLR : longWord;
  10396. BMXDUDBASET : longWord;
  10397. BMXDUDBAINV : longWord;
  10398. BMXDUPBA : longWord;
  10399. BMXDUPBACLR : longWord;
  10400. BMXDUPBASET : longWord;
  10401. BMXDUPBAINV : longWord;
  10402. BMXDRMSZ : longWord;
  10403. BMXPUPBA : longWord;
  10404. BMXPUPBACLR : longWord;
  10405. BMXPUPBASET : longWord;
  10406. BMXPUPBAINV : longWord;
  10407. BMXPFMSZ : longWord;
  10408. BMXBOOTSZ : longWord;
  10409. end;
  10410. TDMAC_DMACON = record
  10411. private
  10412. function getDMABUSY : TBits_1; inline;
  10413. function getON : TBits_1; inline;
  10414. function getSUSPEND : TBits_1; inline;
  10415. function getw : TBits_32; inline;
  10416. procedure setDMABUSY(thebits : TBits_1); inline;
  10417. procedure setON(thebits : TBits_1); inline;
  10418. procedure setSUSPEND(thebits : TBits_1); inline;
  10419. procedure setw(thebits : TBits_32); inline;
  10420. public
  10421. procedure clearDMABUSY; inline;
  10422. procedure clearON; inline;
  10423. procedure clearSUSPEND; inline;
  10424. procedure setDMABUSY; inline;
  10425. procedure setON; inline;
  10426. procedure setSUSPEND; inline;
  10427. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  10428. property ON : TBits_1 read getON write setON;
  10429. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  10430. property w : TBits_32 read getw write setw;
  10431. end;
  10432. TDMAC_DMASTAT = record
  10433. private
  10434. function getDMACH : TBits_3; inline;
  10435. function getRDWR : TBits_1; inline;
  10436. function getw : TBits_32; inline;
  10437. procedure setDMACH(thebits : TBits_3); inline;
  10438. procedure setRDWR(thebits : TBits_1); inline;
  10439. procedure setw(thebits : TBits_32); inline;
  10440. public
  10441. procedure clearRDWR; inline;
  10442. procedure setRDWR; inline;
  10443. property DMACH : TBits_3 read getDMACH write setDMACH;
  10444. property RDWR : TBits_1 read getRDWR write setRDWR;
  10445. property w : TBits_32 read getw write setw;
  10446. end;
  10447. TDMAC_DCRCCON = record
  10448. private
  10449. function getBITO : TBits_1; inline;
  10450. function getBYTO : TBits_2; inline;
  10451. function getCRCAPP : TBits_1; inline;
  10452. function getCRCCH : TBits_3; inline;
  10453. function getCRCEN : TBits_1; inline;
  10454. function getCRCTYP : TBits_1; inline;
  10455. function getPLEN : TBits_5; inline;
  10456. function getWBO : TBits_1; inline;
  10457. function getw : TBits_32; inline;
  10458. procedure setBITO(thebits : TBits_1); inline;
  10459. procedure setBYTO(thebits : TBits_2); inline;
  10460. procedure setCRCAPP(thebits : TBits_1); inline;
  10461. procedure setCRCCH(thebits : TBits_3); inline;
  10462. procedure setCRCEN(thebits : TBits_1); inline;
  10463. procedure setCRCTYP(thebits : TBits_1); inline;
  10464. procedure setPLEN(thebits : TBits_5); inline;
  10465. procedure setWBO(thebits : TBits_1); inline;
  10466. procedure setw(thebits : TBits_32); inline;
  10467. public
  10468. procedure clearBITO; inline;
  10469. procedure clearCRCAPP; inline;
  10470. procedure clearCRCEN; inline;
  10471. procedure clearCRCTYP; inline;
  10472. procedure clearWBO; inline;
  10473. procedure setBITO; inline;
  10474. procedure setCRCAPP; inline;
  10475. procedure setCRCEN; inline;
  10476. procedure setCRCTYP; inline;
  10477. procedure setWBO; inline;
  10478. property BITO : TBits_1 read getBITO write setBITO;
  10479. property BYTO : TBits_2 read getBYTO write setBYTO;
  10480. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  10481. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  10482. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  10483. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  10484. property PLEN : TBits_5 read getPLEN write setPLEN;
  10485. property WBO : TBits_1 read getWBO write setWBO;
  10486. property w : TBits_32 read getw write setw;
  10487. end;
  10488. type
  10489. TDMACRegisters = record
  10490. DMACONbits : TDMAC_DMACON;
  10491. DMACON : longWord;
  10492. DMACONCLR : longWord;
  10493. DMACONSET : longWord;
  10494. DMACONINV : longWord;
  10495. DMASTATbits : TDMAC_DMASTAT;
  10496. DMASTAT : longWord;
  10497. DMASTATCLR : longWord;
  10498. DMASTATSET : longWord;
  10499. DMASTATINV : longWord;
  10500. DMAADDR : longWord;
  10501. DMAADDRCLR : longWord;
  10502. DMAADDRSET : longWord;
  10503. DMAADDRINV : longWord;
  10504. DCRCCONbits : TDMAC_DCRCCON;
  10505. DCRCCON : longWord;
  10506. DCRCCONCLR : longWord;
  10507. DCRCCONSET : longWord;
  10508. DCRCCONINV : longWord;
  10509. DCRCDATA : longWord;
  10510. DCRCDATACLR : longWord;
  10511. DCRCDATASET : longWord;
  10512. DCRCDATAINV : longWord;
  10513. DCRCXOR : longWord;
  10514. DCRCXORCLR : longWord;
  10515. DCRCXORSET : longWord;
  10516. DCRCXORINV : longWord;
  10517. end;
  10518. TDMAC0_DCH0CON = record
  10519. private
  10520. function getCHAED : TBits_1; inline;
  10521. function getCHAEN : TBits_1; inline;
  10522. function getCHBUSY : TBits_1; inline;
  10523. function getCHCHN : TBits_1; inline;
  10524. function getCHCHNS : TBits_1; inline;
  10525. function getCHEDET : TBits_1; inline;
  10526. function getCHEN : TBits_1; inline;
  10527. function getCHPRI : TBits_2; inline;
  10528. function getw : TBits_32; inline;
  10529. procedure setCHAED(thebits : TBits_1); inline;
  10530. procedure setCHAEN(thebits : TBits_1); inline;
  10531. procedure setCHBUSY(thebits : TBits_1); inline;
  10532. procedure setCHCHN(thebits : TBits_1); inline;
  10533. procedure setCHCHNS(thebits : TBits_1); inline;
  10534. procedure setCHEDET(thebits : TBits_1); inline;
  10535. procedure setCHEN(thebits : TBits_1); inline;
  10536. procedure setCHPRI(thebits : TBits_2); inline;
  10537. procedure setw(thebits : TBits_32); inline;
  10538. public
  10539. procedure clearCHAED; inline;
  10540. procedure clearCHAEN; inline;
  10541. procedure clearCHBUSY; inline;
  10542. procedure clearCHCHN; inline;
  10543. procedure clearCHCHNS; inline;
  10544. procedure clearCHEDET; inline;
  10545. procedure clearCHEN; inline;
  10546. procedure setCHAED; inline;
  10547. procedure setCHAEN; inline;
  10548. procedure setCHBUSY; inline;
  10549. procedure setCHCHN; inline;
  10550. procedure setCHCHNS; inline;
  10551. procedure setCHEDET; inline;
  10552. procedure setCHEN; inline;
  10553. property CHAED : TBits_1 read getCHAED write setCHAED;
  10554. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10555. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10556. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10557. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10558. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10559. property CHEN : TBits_1 read getCHEN write setCHEN;
  10560. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10561. property w : TBits_32 read getw write setw;
  10562. end;
  10563. TDMAC0_DCH0ECON = record
  10564. private
  10565. function getAIRQEN : TBits_1; inline;
  10566. function getCABORT : TBits_1; inline;
  10567. function getCFORCE : TBits_1; inline;
  10568. function getCHAIRQ : TBits_8; inline;
  10569. function getCHSIRQ : TBits_8; inline;
  10570. function getPATEN : TBits_1; inline;
  10571. function getSIRQEN : TBits_1; inline;
  10572. function getw : TBits_32; inline;
  10573. procedure setAIRQEN(thebits : TBits_1); inline;
  10574. procedure setCABORT(thebits : TBits_1); inline;
  10575. procedure setCFORCE(thebits : TBits_1); inline;
  10576. procedure setCHAIRQ(thebits : TBits_8); inline;
  10577. procedure setCHSIRQ(thebits : TBits_8); inline;
  10578. procedure setPATEN(thebits : TBits_1); inline;
  10579. procedure setSIRQEN(thebits : TBits_1); inline;
  10580. procedure setw(thebits : TBits_32); inline;
  10581. public
  10582. procedure clearAIRQEN; inline;
  10583. procedure clearCABORT; inline;
  10584. procedure clearCFORCE; inline;
  10585. procedure clearPATEN; inline;
  10586. procedure clearSIRQEN; inline;
  10587. procedure setAIRQEN; inline;
  10588. procedure setCABORT; inline;
  10589. procedure setCFORCE; inline;
  10590. procedure setPATEN; inline;
  10591. procedure setSIRQEN; inline;
  10592. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10593. property CABORT : TBits_1 read getCABORT write setCABORT;
  10594. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10595. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10596. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10597. property PATEN : TBits_1 read getPATEN write setPATEN;
  10598. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10599. property w : TBits_32 read getw write setw;
  10600. end;
  10601. TDMAC0_DCH0INT = record
  10602. private
  10603. function getCHBCIE : TBits_1; inline;
  10604. function getCHBCIF : TBits_1; inline;
  10605. function getCHCCIE : TBits_1; inline;
  10606. function getCHCCIF : TBits_1; inline;
  10607. function getCHDDIE : TBits_1; inline;
  10608. function getCHDDIF : TBits_1; inline;
  10609. function getCHDHIE : TBits_1; inline;
  10610. function getCHDHIF : TBits_1; inline;
  10611. function getCHERIE : TBits_1; inline;
  10612. function getCHERIF : TBits_1; inline;
  10613. function getCHSDIE : TBits_1; inline;
  10614. function getCHSDIF : TBits_1; inline;
  10615. function getCHSHIE : TBits_1; inline;
  10616. function getCHSHIF : TBits_1; inline;
  10617. function getCHTAIE : TBits_1; inline;
  10618. function getCHTAIF : TBits_1; inline;
  10619. function getw : TBits_32; inline;
  10620. procedure setCHBCIE(thebits : TBits_1); inline;
  10621. procedure setCHBCIF(thebits : TBits_1); inline;
  10622. procedure setCHCCIE(thebits : TBits_1); inline;
  10623. procedure setCHCCIF(thebits : TBits_1); inline;
  10624. procedure setCHDDIE(thebits : TBits_1); inline;
  10625. procedure setCHDDIF(thebits : TBits_1); inline;
  10626. procedure setCHDHIE(thebits : TBits_1); inline;
  10627. procedure setCHDHIF(thebits : TBits_1); inline;
  10628. procedure setCHERIE(thebits : TBits_1); inline;
  10629. procedure setCHERIF(thebits : TBits_1); inline;
  10630. procedure setCHSDIE(thebits : TBits_1); inline;
  10631. procedure setCHSDIF(thebits : TBits_1); inline;
  10632. procedure setCHSHIE(thebits : TBits_1); inline;
  10633. procedure setCHSHIF(thebits : TBits_1); inline;
  10634. procedure setCHTAIE(thebits : TBits_1); inline;
  10635. procedure setCHTAIF(thebits : TBits_1); inline;
  10636. procedure setw(thebits : TBits_32); inline;
  10637. public
  10638. procedure clearCHBCIE; inline;
  10639. procedure clearCHBCIF; inline;
  10640. procedure clearCHCCIE; inline;
  10641. procedure clearCHCCIF; inline;
  10642. procedure clearCHDDIE; inline;
  10643. procedure clearCHDDIF; inline;
  10644. procedure clearCHDHIE; inline;
  10645. procedure clearCHDHIF; inline;
  10646. procedure clearCHERIE; inline;
  10647. procedure clearCHERIF; inline;
  10648. procedure clearCHSDIE; inline;
  10649. procedure clearCHSDIF; inline;
  10650. procedure clearCHSHIE; inline;
  10651. procedure clearCHSHIF; inline;
  10652. procedure clearCHTAIE; inline;
  10653. procedure clearCHTAIF; inline;
  10654. procedure setCHBCIE; inline;
  10655. procedure setCHBCIF; inline;
  10656. procedure setCHCCIE; inline;
  10657. procedure setCHCCIF; inline;
  10658. procedure setCHDDIE; inline;
  10659. procedure setCHDDIF; inline;
  10660. procedure setCHDHIE; inline;
  10661. procedure setCHDHIF; inline;
  10662. procedure setCHERIE; inline;
  10663. procedure setCHERIF; inline;
  10664. procedure setCHSDIE; inline;
  10665. procedure setCHSDIF; inline;
  10666. procedure setCHSHIE; inline;
  10667. procedure setCHSHIF; inline;
  10668. procedure setCHTAIE; inline;
  10669. procedure setCHTAIF; inline;
  10670. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10671. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10672. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10673. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10674. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10675. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10676. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10677. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10678. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10679. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10680. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10681. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10682. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10683. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10684. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10685. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10686. property w : TBits_32 read getw write setw;
  10687. end;
  10688. type
  10689. TDMAC0Registers = record
  10690. DCH0CONbits : TDMAC0_DCH0CON;
  10691. DCH0CON : longWord;
  10692. DCH0CONCLR : longWord;
  10693. DCH0CONSET : longWord;
  10694. DCH0CONINV : longWord;
  10695. DCH0ECONbits : TDMAC0_DCH0ECON;
  10696. DCH0ECON : longWord;
  10697. DCH0ECONCLR : longWord;
  10698. DCH0ECONSET : longWord;
  10699. DCH0ECONINV : longWord;
  10700. DCH0INTbits : TDMAC0_DCH0INT;
  10701. DCH0INT : longWord;
  10702. DCH0INTCLR : longWord;
  10703. DCH0INTSET : longWord;
  10704. DCH0INTINV : longWord;
  10705. DCH0SSA : longWord;
  10706. DCH0SSACLR : longWord;
  10707. DCH0SSASET : longWord;
  10708. DCH0SSAINV : longWord;
  10709. DCH0DSA : longWord;
  10710. DCH0DSACLR : longWord;
  10711. DCH0DSASET : longWord;
  10712. DCH0DSAINV : longWord;
  10713. DCH0SSIZ : longWord;
  10714. DCH0SSIZCLR : longWord;
  10715. DCH0SSIZSET : longWord;
  10716. DCH0SSIZINV : longWord;
  10717. DCH0DSIZ : longWord;
  10718. DCH0DSIZCLR : longWord;
  10719. DCH0DSIZSET : longWord;
  10720. DCH0DSIZINV : longWord;
  10721. DCH0SPTR : longWord;
  10722. DCH0SPTRCLR : longWord;
  10723. DCH0SPTRSET : longWord;
  10724. DCH0SPTRINV : longWord;
  10725. DCH0DPTR : longWord;
  10726. DCH0DPTRCLR : longWord;
  10727. DCH0DPTRSET : longWord;
  10728. DCH0DPTRINV : longWord;
  10729. DCH0CSIZ : longWord;
  10730. DCH0CSIZCLR : longWord;
  10731. DCH0CSIZSET : longWord;
  10732. DCH0CSIZINV : longWord;
  10733. DCH0CPTR : longWord;
  10734. DCH0CPTRCLR : longWord;
  10735. DCH0CPTRSET : longWord;
  10736. DCH0CPTRINV : longWord;
  10737. DCH0DAT : longWord;
  10738. DCH0DATCLR : longWord;
  10739. DCH0DATSET : longWord;
  10740. DCH0DATINV : longWord;
  10741. end;
  10742. TDMAC1_DCH1CON = record
  10743. private
  10744. function getCHAED : TBits_1; inline;
  10745. function getCHAEN : TBits_1; inline;
  10746. function getCHBUSY : TBits_1; inline;
  10747. function getCHCHN : TBits_1; inline;
  10748. function getCHCHNS : TBits_1; inline;
  10749. function getCHEDET : TBits_1; inline;
  10750. function getCHEN : TBits_1; inline;
  10751. function getCHPRI : TBits_2; inline;
  10752. function getw : TBits_32; inline;
  10753. procedure setCHAED(thebits : TBits_1); inline;
  10754. procedure setCHAEN(thebits : TBits_1); inline;
  10755. procedure setCHBUSY(thebits : TBits_1); inline;
  10756. procedure setCHCHN(thebits : TBits_1); inline;
  10757. procedure setCHCHNS(thebits : TBits_1); inline;
  10758. procedure setCHEDET(thebits : TBits_1); inline;
  10759. procedure setCHEN(thebits : TBits_1); inline;
  10760. procedure setCHPRI(thebits : TBits_2); inline;
  10761. procedure setw(thebits : TBits_32); inline;
  10762. public
  10763. procedure clearCHAED; inline;
  10764. procedure clearCHAEN; inline;
  10765. procedure clearCHBUSY; inline;
  10766. procedure clearCHCHN; inline;
  10767. procedure clearCHCHNS; inline;
  10768. procedure clearCHEDET; inline;
  10769. procedure clearCHEN; inline;
  10770. procedure setCHAED; inline;
  10771. procedure setCHAEN; inline;
  10772. procedure setCHBUSY; inline;
  10773. procedure setCHCHN; inline;
  10774. procedure setCHCHNS; inline;
  10775. procedure setCHEDET; inline;
  10776. procedure setCHEN; inline;
  10777. property CHAED : TBits_1 read getCHAED write setCHAED;
  10778. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10779. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10780. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10781. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10782. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10783. property CHEN : TBits_1 read getCHEN write setCHEN;
  10784. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10785. property w : TBits_32 read getw write setw;
  10786. end;
  10787. TDMAC1_DCH1ECON = record
  10788. private
  10789. function getAIRQEN : TBits_1; inline;
  10790. function getCABORT : TBits_1; inline;
  10791. function getCFORCE : TBits_1; inline;
  10792. function getCHAIRQ : TBits_8; inline;
  10793. function getCHSIRQ : TBits_8; inline;
  10794. function getPATEN : TBits_1; inline;
  10795. function getSIRQEN : TBits_1; inline;
  10796. function getw : TBits_32; inline;
  10797. procedure setAIRQEN(thebits : TBits_1); inline;
  10798. procedure setCABORT(thebits : TBits_1); inline;
  10799. procedure setCFORCE(thebits : TBits_1); inline;
  10800. procedure setCHAIRQ(thebits : TBits_8); inline;
  10801. procedure setCHSIRQ(thebits : TBits_8); inline;
  10802. procedure setPATEN(thebits : TBits_1); inline;
  10803. procedure setSIRQEN(thebits : TBits_1); inline;
  10804. procedure setw(thebits : TBits_32); inline;
  10805. public
  10806. procedure clearAIRQEN; inline;
  10807. procedure clearCABORT; inline;
  10808. procedure clearCFORCE; inline;
  10809. procedure clearPATEN; inline;
  10810. procedure clearSIRQEN; inline;
  10811. procedure setAIRQEN; inline;
  10812. procedure setCABORT; inline;
  10813. procedure setCFORCE; inline;
  10814. procedure setPATEN; inline;
  10815. procedure setSIRQEN; inline;
  10816. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10817. property CABORT : TBits_1 read getCABORT write setCABORT;
  10818. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10819. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10820. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10821. property PATEN : TBits_1 read getPATEN write setPATEN;
  10822. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10823. property w : TBits_32 read getw write setw;
  10824. end;
  10825. TDMAC1_DCH1INT = record
  10826. private
  10827. function getCHBCIE : TBits_1; inline;
  10828. function getCHBCIF : TBits_1; inline;
  10829. function getCHCCIE : TBits_1; inline;
  10830. function getCHCCIF : TBits_1; inline;
  10831. function getCHDDIE : TBits_1; inline;
  10832. function getCHDDIF : TBits_1; inline;
  10833. function getCHDHIE : TBits_1; inline;
  10834. function getCHDHIF : TBits_1; inline;
  10835. function getCHERIE : TBits_1; inline;
  10836. function getCHERIF : TBits_1; inline;
  10837. function getCHSDIE : TBits_1; inline;
  10838. function getCHSDIF : TBits_1; inline;
  10839. function getCHSHIE : TBits_1; inline;
  10840. function getCHSHIF : TBits_1; inline;
  10841. function getCHTAIE : TBits_1; inline;
  10842. function getCHTAIF : TBits_1; inline;
  10843. function getw : TBits_32; inline;
  10844. procedure setCHBCIE(thebits : TBits_1); inline;
  10845. procedure setCHBCIF(thebits : TBits_1); inline;
  10846. procedure setCHCCIE(thebits : TBits_1); inline;
  10847. procedure setCHCCIF(thebits : TBits_1); inline;
  10848. procedure setCHDDIE(thebits : TBits_1); inline;
  10849. procedure setCHDDIF(thebits : TBits_1); inline;
  10850. procedure setCHDHIE(thebits : TBits_1); inline;
  10851. procedure setCHDHIF(thebits : TBits_1); inline;
  10852. procedure setCHERIE(thebits : TBits_1); inline;
  10853. procedure setCHERIF(thebits : TBits_1); inline;
  10854. procedure setCHSDIE(thebits : TBits_1); inline;
  10855. procedure setCHSDIF(thebits : TBits_1); inline;
  10856. procedure setCHSHIE(thebits : TBits_1); inline;
  10857. procedure setCHSHIF(thebits : TBits_1); inline;
  10858. procedure setCHTAIE(thebits : TBits_1); inline;
  10859. procedure setCHTAIF(thebits : TBits_1); inline;
  10860. procedure setw(thebits : TBits_32); inline;
  10861. public
  10862. procedure clearCHBCIE; inline;
  10863. procedure clearCHBCIF; inline;
  10864. procedure clearCHCCIE; inline;
  10865. procedure clearCHCCIF; inline;
  10866. procedure clearCHDDIE; inline;
  10867. procedure clearCHDDIF; inline;
  10868. procedure clearCHDHIE; inline;
  10869. procedure clearCHDHIF; inline;
  10870. procedure clearCHERIE; inline;
  10871. procedure clearCHERIF; inline;
  10872. procedure clearCHSDIE; inline;
  10873. procedure clearCHSDIF; inline;
  10874. procedure clearCHSHIE; inline;
  10875. procedure clearCHSHIF; inline;
  10876. procedure clearCHTAIE; inline;
  10877. procedure clearCHTAIF; inline;
  10878. procedure setCHBCIE; inline;
  10879. procedure setCHBCIF; inline;
  10880. procedure setCHCCIE; inline;
  10881. procedure setCHCCIF; inline;
  10882. procedure setCHDDIE; inline;
  10883. procedure setCHDDIF; inline;
  10884. procedure setCHDHIE; inline;
  10885. procedure setCHDHIF; inline;
  10886. procedure setCHERIE; inline;
  10887. procedure setCHERIF; inline;
  10888. procedure setCHSDIE; inline;
  10889. procedure setCHSDIF; inline;
  10890. procedure setCHSHIE; inline;
  10891. procedure setCHSHIF; inline;
  10892. procedure setCHTAIE; inline;
  10893. procedure setCHTAIF; inline;
  10894. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10895. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10896. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10897. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10898. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10899. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10900. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10901. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10902. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10903. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10904. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10905. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10906. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10907. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10908. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10909. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10910. property w : TBits_32 read getw write setw;
  10911. end;
  10912. type
  10913. TDMAC1Registers = record
  10914. DCH1CONbits : TDMAC1_DCH1CON;
  10915. DCH1CON : longWord;
  10916. DCH1CONCLR : longWord;
  10917. DCH1CONSET : longWord;
  10918. DCH1CONINV : longWord;
  10919. DCH1ECONbits : TDMAC1_DCH1ECON;
  10920. DCH1ECON : longWord;
  10921. DCH1ECONCLR : longWord;
  10922. DCH1ECONSET : longWord;
  10923. DCH1ECONINV : longWord;
  10924. DCH1INTbits : TDMAC1_DCH1INT;
  10925. DCH1INT : longWord;
  10926. DCH1INTCLR : longWord;
  10927. DCH1INTSET : longWord;
  10928. DCH1INTINV : longWord;
  10929. DCH1SSA : longWord;
  10930. DCH1SSACLR : longWord;
  10931. DCH1SSASET : longWord;
  10932. DCH1SSAINV : longWord;
  10933. DCH1DSA : longWord;
  10934. DCH1DSACLR : longWord;
  10935. DCH1DSASET : longWord;
  10936. DCH1DSAINV : longWord;
  10937. DCH1SSIZ : longWord;
  10938. DCH1SSIZCLR : longWord;
  10939. DCH1SSIZSET : longWord;
  10940. DCH1SSIZINV : longWord;
  10941. DCH1DSIZ : longWord;
  10942. DCH1DSIZCLR : longWord;
  10943. DCH1DSIZSET : longWord;
  10944. DCH1DSIZINV : longWord;
  10945. DCH1SPTR : longWord;
  10946. DCH1SPTRCLR : longWord;
  10947. DCH1SPTRSET : longWord;
  10948. DCH1SPTRINV : longWord;
  10949. DCH1DPTR : longWord;
  10950. DCH1DPTRCLR : longWord;
  10951. DCH1DPTRSET : longWord;
  10952. DCH1DPTRINV : longWord;
  10953. DCH1CSIZ : longWord;
  10954. DCH1CSIZCLR : longWord;
  10955. DCH1CSIZSET : longWord;
  10956. DCH1CSIZINV : longWord;
  10957. DCH1CPTR : longWord;
  10958. DCH1CPTRCLR : longWord;
  10959. DCH1CPTRSET : longWord;
  10960. DCH1CPTRINV : longWord;
  10961. DCH1DAT : longWord;
  10962. DCH1DATCLR : longWord;
  10963. DCH1DATSET : longWord;
  10964. DCH1DATINV : longWord;
  10965. end;
  10966. TDMAC2_DCH2CON = record
  10967. private
  10968. function getCHAED : TBits_1; inline;
  10969. function getCHAEN : TBits_1; inline;
  10970. function getCHBUSY : TBits_1; inline;
  10971. function getCHCHN : TBits_1; inline;
  10972. function getCHCHNS : TBits_1; inline;
  10973. function getCHEDET : TBits_1; inline;
  10974. function getCHEN : TBits_1; inline;
  10975. function getCHPRI : TBits_2; inline;
  10976. function getw : TBits_32; inline;
  10977. procedure setCHAED(thebits : TBits_1); inline;
  10978. procedure setCHAEN(thebits : TBits_1); inline;
  10979. procedure setCHBUSY(thebits : TBits_1); inline;
  10980. procedure setCHCHN(thebits : TBits_1); inline;
  10981. procedure setCHCHNS(thebits : TBits_1); inline;
  10982. procedure setCHEDET(thebits : TBits_1); inline;
  10983. procedure setCHEN(thebits : TBits_1); inline;
  10984. procedure setCHPRI(thebits : TBits_2); inline;
  10985. procedure setw(thebits : TBits_32); inline;
  10986. public
  10987. procedure clearCHAED; inline;
  10988. procedure clearCHAEN; inline;
  10989. procedure clearCHBUSY; inline;
  10990. procedure clearCHCHN; inline;
  10991. procedure clearCHCHNS; inline;
  10992. procedure clearCHEDET; inline;
  10993. procedure clearCHEN; inline;
  10994. procedure setCHAED; inline;
  10995. procedure setCHAEN; inline;
  10996. procedure setCHBUSY; inline;
  10997. procedure setCHCHN; inline;
  10998. procedure setCHCHNS; inline;
  10999. procedure setCHEDET; inline;
  11000. procedure setCHEN; inline;
  11001. property CHAED : TBits_1 read getCHAED write setCHAED;
  11002. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11003. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11004. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11005. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11006. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11007. property CHEN : TBits_1 read getCHEN write setCHEN;
  11008. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11009. property w : TBits_32 read getw write setw;
  11010. end;
  11011. TDMAC2_DCH2ECON = record
  11012. private
  11013. function getAIRQEN : TBits_1; inline;
  11014. function getCABORT : TBits_1; inline;
  11015. function getCFORCE : TBits_1; inline;
  11016. function getCHAIRQ : TBits_8; inline;
  11017. function getCHSIRQ : TBits_8; inline;
  11018. function getPATEN : TBits_1; inline;
  11019. function getSIRQEN : TBits_1; inline;
  11020. function getw : TBits_32; inline;
  11021. procedure setAIRQEN(thebits : TBits_1); inline;
  11022. procedure setCABORT(thebits : TBits_1); inline;
  11023. procedure setCFORCE(thebits : TBits_1); inline;
  11024. procedure setCHAIRQ(thebits : TBits_8); inline;
  11025. procedure setCHSIRQ(thebits : TBits_8); inline;
  11026. procedure setPATEN(thebits : TBits_1); inline;
  11027. procedure setSIRQEN(thebits : TBits_1); inline;
  11028. procedure setw(thebits : TBits_32); inline;
  11029. public
  11030. procedure clearAIRQEN; inline;
  11031. procedure clearCABORT; inline;
  11032. procedure clearCFORCE; inline;
  11033. procedure clearPATEN; inline;
  11034. procedure clearSIRQEN; inline;
  11035. procedure setAIRQEN; inline;
  11036. procedure setCABORT; inline;
  11037. procedure setCFORCE; inline;
  11038. procedure setPATEN; inline;
  11039. procedure setSIRQEN; inline;
  11040. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11041. property CABORT : TBits_1 read getCABORT write setCABORT;
  11042. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11043. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11044. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11045. property PATEN : TBits_1 read getPATEN write setPATEN;
  11046. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11047. property w : TBits_32 read getw write setw;
  11048. end;
  11049. TDMAC2_DCH2INT = record
  11050. private
  11051. function getCHBCIE : TBits_1; inline;
  11052. function getCHBCIF : TBits_1; inline;
  11053. function getCHCCIE : TBits_1; inline;
  11054. function getCHCCIF : TBits_1; inline;
  11055. function getCHDDIE : TBits_1; inline;
  11056. function getCHDDIF : TBits_1; inline;
  11057. function getCHDHIE : TBits_1; inline;
  11058. function getCHDHIF : TBits_1; inline;
  11059. function getCHERIE : TBits_1; inline;
  11060. function getCHERIF : TBits_1; inline;
  11061. function getCHSDIE : TBits_1; inline;
  11062. function getCHSDIF : TBits_1; inline;
  11063. function getCHSHIE : TBits_1; inline;
  11064. function getCHSHIF : TBits_1; inline;
  11065. function getCHTAIE : TBits_1; inline;
  11066. function getCHTAIF : TBits_1; inline;
  11067. function getw : TBits_32; inline;
  11068. procedure setCHBCIE(thebits : TBits_1); inline;
  11069. procedure setCHBCIF(thebits : TBits_1); inline;
  11070. procedure setCHCCIE(thebits : TBits_1); inline;
  11071. procedure setCHCCIF(thebits : TBits_1); inline;
  11072. procedure setCHDDIE(thebits : TBits_1); inline;
  11073. procedure setCHDDIF(thebits : TBits_1); inline;
  11074. procedure setCHDHIE(thebits : TBits_1); inline;
  11075. procedure setCHDHIF(thebits : TBits_1); inline;
  11076. procedure setCHERIE(thebits : TBits_1); inline;
  11077. procedure setCHERIF(thebits : TBits_1); inline;
  11078. procedure setCHSDIE(thebits : TBits_1); inline;
  11079. procedure setCHSDIF(thebits : TBits_1); inline;
  11080. procedure setCHSHIE(thebits : TBits_1); inline;
  11081. procedure setCHSHIF(thebits : TBits_1); inline;
  11082. procedure setCHTAIE(thebits : TBits_1); inline;
  11083. procedure setCHTAIF(thebits : TBits_1); inline;
  11084. procedure setw(thebits : TBits_32); inline;
  11085. public
  11086. procedure clearCHBCIE; inline;
  11087. procedure clearCHBCIF; inline;
  11088. procedure clearCHCCIE; inline;
  11089. procedure clearCHCCIF; inline;
  11090. procedure clearCHDDIE; inline;
  11091. procedure clearCHDDIF; inline;
  11092. procedure clearCHDHIE; inline;
  11093. procedure clearCHDHIF; inline;
  11094. procedure clearCHERIE; inline;
  11095. procedure clearCHERIF; inline;
  11096. procedure clearCHSDIE; inline;
  11097. procedure clearCHSDIF; inline;
  11098. procedure clearCHSHIE; inline;
  11099. procedure clearCHSHIF; inline;
  11100. procedure clearCHTAIE; inline;
  11101. procedure clearCHTAIF; inline;
  11102. procedure setCHBCIE; inline;
  11103. procedure setCHBCIF; inline;
  11104. procedure setCHCCIE; inline;
  11105. procedure setCHCCIF; inline;
  11106. procedure setCHDDIE; inline;
  11107. procedure setCHDDIF; inline;
  11108. procedure setCHDHIE; inline;
  11109. procedure setCHDHIF; inline;
  11110. procedure setCHERIE; inline;
  11111. procedure setCHERIF; inline;
  11112. procedure setCHSDIE; inline;
  11113. procedure setCHSDIF; inline;
  11114. procedure setCHSHIE; inline;
  11115. procedure setCHSHIF; inline;
  11116. procedure setCHTAIE; inline;
  11117. procedure setCHTAIF; inline;
  11118. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11119. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11120. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11121. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11122. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11123. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11124. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11125. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11126. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11127. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11128. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11129. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11130. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11131. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11132. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11133. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11134. property w : TBits_32 read getw write setw;
  11135. end;
  11136. type
  11137. TDMAC2Registers = record
  11138. DCH2CONbits : TDMAC2_DCH2CON;
  11139. DCH2CON : longWord;
  11140. DCH2CONCLR : longWord;
  11141. DCH2CONSET : longWord;
  11142. DCH2CONINV : longWord;
  11143. DCH2ECONbits : TDMAC2_DCH2ECON;
  11144. DCH2ECON : longWord;
  11145. DCH2ECONCLR : longWord;
  11146. DCH2ECONSET : longWord;
  11147. DCH2ECONINV : longWord;
  11148. DCH2INTbits : TDMAC2_DCH2INT;
  11149. DCH2INT : longWord;
  11150. DCH2INTCLR : longWord;
  11151. DCH2INTSET : longWord;
  11152. DCH2INTINV : longWord;
  11153. DCH2SSA : longWord;
  11154. DCH2SSACLR : longWord;
  11155. DCH2SSASET : longWord;
  11156. DCH2SSAINV : longWord;
  11157. DCH2DSA : longWord;
  11158. DCH2DSACLR : longWord;
  11159. DCH2DSASET : longWord;
  11160. DCH2DSAINV : longWord;
  11161. DCH2SSIZ : longWord;
  11162. DCH2SSIZCLR : longWord;
  11163. DCH2SSIZSET : longWord;
  11164. DCH2SSIZINV : longWord;
  11165. DCH2DSIZ : longWord;
  11166. DCH2DSIZCLR : longWord;
  11167. DCH2DSIZSET : longWord;
  11168. DCH2DSIZINV : longWord;
  11169. DCH2SPTR : longWord;
  11170. DCH2SPTRCLR : longWord;
  11171. DCH2SPTRSET : longWord;
  11172. DCH2SPTRINV : longWord;
  11173. DCH2DPTR : longWord;
  11174. DCH2DPTRCLR : longWord;
  11175. DCH2DPTRSET : longWord;
  11176. DCH2DPTRINV : longWord;
  11177. DCH2CSIZ : longWord;
  11178. DCH2CSIZCLR : longWord;
  11179. DCH2CSIZSET : longWord;
  11180. DCH2CSIZINV : longWord;
  11181. DCH2CPTR : longWord;
  11182. DCH2CPTRCLR : longWord;
  11183. DCH2CPTRSET : longWord;
  11184. DCH2CPTRINV : longWord;
  11185. DCH2DAT : longWord;
  11186. DCH2DATCLR : longWord;
  11187. DCH2DATSET : longWord;
  11188. DCH2DATINV : longWord;
  11189. end;
  11190. TDMAC3_DCH3CON = record
  11191. private
  11192. function getCHAED : TBits_1; inline;
  11193. function getCHAEN : TBits_1; inline;
  11194. function getCHBUSY : TBits_1; inline;
  11195. function getCHCHN : TBits_1; inline;
  11196. function getCHCHNS : TBits_1; inline;
  11197. function getCHEDET : TBits_1; inline;
  11198. function getCHEN : TBits_1; inline;
  11199. function getCHPRI : TBits_2; inline;
  11200. function getw : TBits_32; inline;
  11201. procedure setCHAED(thebits : TBits_1); inline;
  11202. procedure setCHAEN(thebits : TBits_1); inline;
  11203. procedure setCHBUSY(thebits : TBits_1); inline;
  11204. procedure setCHCHN(thebits : TBits_1); inline;
  11205. procedure setCHCHNS(thebits : TBits_1); inline;
  11206. procedure setCHEDET(thebits : TBits_1); inline;
  11207. procedure setCHEN(thebits : TBits_1); inline;
  11208. procedure setCHPRI(thebits : TBits_2); inline;
  11209. procedure setw(thebits : TBits_32); inline;
  11210. public
  11211. procedure clearCHAED; inline;
  11212. procedure clearCHAEN; inline;
  11213. procedure clearCHBUSY; inline;
  11214. procedure clearCHCHN; inline;
  11215. procedure clearCHCHNS; inline;
  11216. procedure clearCHEDET; inline;
  11217. procedure clearCHEN; inline;
  11218. procedure setCHAED; inline;
  11219. procedure setCHAEN; inline;
  11220. procedure setCHBUSY; inline;
  11221. procedure setCHCHN; inline;
  11222. procedure setCHCHNS; inline;
  11223. procedure setCHEDET; inline;
  11224. procedure setCHEN; inline;
  11225. property CHAED : TBits_1 read getCHAED write setCHAED;
  11226. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11227. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11228. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11229. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11230. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11231. property CHEN : TBits_1 read getCHEN write setCHEN;
  11232. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11233. property w : TBits_32 read getw write setw;
  11234. end;
  11235. TDMAC3_DCH3ECON = record
  11236. private
  11237. function getAIRQEN : TBits_1; inline;
  11238. function getCABORT : TBits_1; inline;
  11239. function getCFORCE : TBits_1; inline;
  11240. function getCHAIRQ : TBits_8; inline;
  11241. function getCHSIRQ : TBits_8; inline;
  11242. function getPATEN : TBits_1; inline;
  11243. function getSIRQEN : TBits_1; inline;
  11244. function getw : TBits_32; inline;
  11245. procedure setAIRQEN(thebits : TBits_1); inline;
  11246. procedure setCABORT(thebits : TBits_1); inline;
  11247. procedure setCFORCE(thebits : TBits_1); inline;
  11248. procedure setCHAIRQ(thebits : TBits_8); inline;
  11249. procedure setCHSIRQ(thebits : TBits_8); inline;
  11250. procedure setPATEN(thebits : TBits_1); inline;
  11251. procedure setSIRQEN(thebits : TBits_1); inline;
  11252. procedure setw(thebits : TBits_32); inline;
  11253. public
  11254. procedure clearAIRQEN; inline;
  11255. procedure clearCABORT; inline;
  11256. procedure clearCFORCE; inline;
  11257. procedure clearPATEN; inline;
  11258. procedure clearSIRQEN; inline;
  11259. procedure setAIRQEN; inline;
  11260. procedure setCABORT; inline;
  11261. procedure setCFORCE; inline;
  11262. procedure setPATEN; inline;
  11263. procedure setSIRQEN; inline;
  11264. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11265. property CABORT : TBits_1 read getCABORT write setCABORT;
  11266. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11267. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11268. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11269. property PATEN : TBits_1 read getPATEN write setPATEN;
  11270. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11271. property w : TBits_32 read getw write setw;
  11272. end;
  11273. TDMAC3_DCH3INT = record
  11274. private
  11275. function getCHBCIE : TBits_1; inline;
  11276. function getCHBCIF : TBits_1; inline;
  11277. function getCHCCIE : TBits_1; inline;
  11278. function getCHCCIF : TBits_1; inline;
  11279. function getCHDDIE : TBits_1; inline;
  11280. function getCHDDIF : TBits_1; inline;
  11281. function getCHDHIE : TBits_1; inline;
  11282. function getCHDHIF : TBits_1; inline;
  11283. function getCHERIE : TBits_1; inline;
  11284. function getCHERIF : TBits_1; inline;
  11285. function getCHSDIE : TBits_1; inline;
  11286. function getCHSDIF : TBits_1; inline;
  11287. function getCHSHIE : TBits_1; inline;
  11288. function getCHSHIF : TBits_1; inline;
  11289. function getCHTAIE : TBits_1; inline;
  11290. function getCHTAIF : TBits_1; inline;
  11291. function getw : TBits_32; inline;
  11292. procedure setCHBCIE(thebits : TBits_1); inline;
  11293. procedure setCHBCIF(thebits : TBits_1); inline;
  11294. procedure setCHCCIE(thebits : TBits_1); inline;
  11295. procedure setCHCCIF(thebits : TBits_1); inline;
  11296. procedure setCHDDIE(thebits : TBits_1); inline;
  11297. procedure setCHDDIF(thebits : TBits_1); inline;
  11298. procedure setCHDHIE(thebits : TBits_1); inline;
  11299. procedure setCHDHIF(thebits : TBits_1); inline;
  11300. procedure setCHERIE(thebits : TBits_1); inline;
  11301. procedure setCHERIF(thebits : TBits_1); inline;
  11302. procedure setCHSDIE(thebits : TBits_1); inline;
  11303. procedure setCHSDIF(thebits : TBits_1); inline;
  11304. procedure setCHSHIE(thebits : TBits_1); inline;
  11305. procedure setCHSHIF(thebits : TBits_1); inline;
  11306. procedure setCHTAIE(thebits : TBits_1); inline;
  11307. procedure setCHTAIF(thebits : TBits_1); inline;
  11308. procedure setw(thebits : TBits_32); inline;
  11309. public
  11310. procedure clearCHBCIE; inline;
  11311. procedure clearCHBCIF; inline;
  11312. procedure clearCHCCIE; inline;
  11313. procedure clearCHCCIF; inline;
  11314. procedure clearCHDDIE; inline;
  11315. procedure clearCHDDIF; inline;
  11316. procedure clearCHDHIE; inline;
  11317. procedure clearCHDHIF; inline;
  11318. procedure clearCHERIE; inline;
  11319. procedure clearCHERIF; inline;
  11320. procedure clearCHSDIE; inline;
  11321. procedure clearCHSDIF; inline;
  11322. procedure clearCHSHIE; inline;
  11323. procedure clearCHSHIF; inline;
  11324. procedure clearCHTAIE; inline;
  11325. procedure clearCHTAIF; inline;
  11326. procedure setCHBCIE; inline;
  11327. procedure setCHBCIF; inline;
  11328. procedure setCHCCIE; inline;
  11329. procedure setCHCCIF; inline;
  11330. procedure setCHDDIE; inline;
  11331. procedure setCHDDIF; inline;
  11332. procedure setCHDHIE; inline;
  11333. procedure setCHDHIF; inline;
  11334. procedure setCHERIE; inline;
  11335. procedure setCHERIF; inline;
  11336. procedure setCHSDIE; inline;
  11337. procedure setCHSDIF; inline;
  11338. procedure setCHSHIE; inline;
  11339. procedure setCHSHIF; inline;
  11340. procedure setCHTAIE; inline;
  11341. procedure setCHTAIF; inline;
  11342. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11343. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11344. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11345. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11346. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11347. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11348. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11349. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11350. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11351. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11352. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11353. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11354. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11355. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11356. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11357. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11358. property w : TBits_32 read getw write setw;
  11359. end;
  11360. type
  11361. TDMAC3Registers = record
  11362. DCH3CONbits : TDMAC3_DCH3CON;
  11363. DCH3CON : longWord;
  11364. DCH3CONCLR : longWord;
  11365. DCH3CONSET : longWord;
  11366. DCH3CONINV : longWord;
  11367. DCH3ECONbits : TDMAC3_DCH3ECON;
  11368. DCH3ECON : longWord;
  11369. DCH3ECONCLR : longWord;
  11370. DCH3ECONSET : longWord;
  11371. DCH3ECONINV : longWord;
  11372. DCH3INTbits : TDMAC3_DCH3INT;
  11373. DCH3INT : longWord;
  11374. DCH3INTCLR : longWord;
  11375. DCH3INTSET : longWord;
  11376. DCH3INTINV : longWord;
  11377. DCH3SSA : longWord;
  11378. DCH3SSACLR : longWord;
  11379. DCH3SSASET : longWord;
  11380. DCH3SSAINV : longWord;
  11381. DCH3DSA : longWord;
  11382. DCH3DSACLR : longWord;
  11383. DCH3DSASET : longWord;
  11384. DCH3DSAINV : longWord;
  11385. DCH3SSIZ : longWord;
  11386. DCH3SSIZCLR : longWord;
  11387. DCH3SSIZSET : longWord;
  11388. DCH3SSIZINV : longWord;
  11389. DCH3DSIZ : longWord;
  11390. DCH3DSIZCLR : longWord;
  11391. DCH3DSIZSET : longWord;
  11392. DCH3DSIZINV : longWord;
  11393. DCH3SPTR : longWord;
  11394. DCH3SPTRCLR : longWord;
  11395. DCH3SPTRSET : longWord;
  11396. DCH3SPTRINV : longWord;
  11397. DCH3DPTR : longWord;
  11398. DCH3DPTRCLR : longWord;
  11399. DCH3DPTRSET : longWord;
  11400. DCH3DPTRINV : longWord;
  11401. DCH3CSIZ : longWord;
  11402. DCH3CSIZCLR : longWord;
  11403. DCH3CSIZSET : longWord;
  11404. DCH3CSIZINV : longWord;
  11405. DCH3CPTR : longWord;
  11406. DCH3CPTRCLR : longWord;
  11407. DCH3CPTRSET : longWord;
  11408. DCH3CPTRINV : longWord;
  11409. DCH3DAT : longWord;
  11410. DCH3DATCLR : longWord;
  11411. DCH3DATSET : longWord;
  11412. DCH3DATINV : longWord;
  11413. end;
  11414. TDMAC4_DCH4CON = record
  11415. private
  11416. function getCHAED : TBits_1; inline;
  11417. function getCHAEN : TBits_1; inline;
  11418. function getCHBUSY : TBits_1; inline;
  11419. function getCHCHN : TBits_1; inline;
  11420. function getCHCHNS : TBits_1; inline;
  11421. function getCHEDET : TBits_1; inline;
  11422. function getCHEN : TBits_1; inline;
  11423. function getCHPRI : TBits_2; inline;
  11424. function getw : TBits_32; inline;
  11425. procedure setCHAED(thebits : TBits_1); inline;
  11426. procedure setCHAEN(thebits : TBits_1); inline;
  11427. procedure setCHBUSY(thebits : TBits_1); inline;
  11428. procedure setCHCHN(thebits : TBits_1); inline;
  11429. procedure setCHCHNS(thebits : TBits_1); inline;
  11430. procedure setCHEDET(thebits : TBits_1); inline;
  11431. procedure setCHEN(thebits : TBits_1); inline;
  11432. procedure setCHPRI(thebits : TBits_2); inline;
  11433. procedure setw(thebits : TBits_32); inline;
  11434. public
  11435. procedure clearCHAED; inline;
  11436. procedure clearCHAEN; inline;
  11437. procedure clearCHBUSY; inline;
  11438. procedure clearCHCHN; inline;
  11439. procedure clearCHCHNS; inline;
  11440. procedure clearCHEDET; inline;
  11441. procedure clearCHEN; inline;
  11442. procedure setCHAED; inline;
  11443. procedure setCHAEN; inline;
  11444. procedure setCHBUSY; inline;
  11445. procedure setCHCHN; inline;
  11446. procedure setCHCHNS; inline;
  11447. procedure setCHEDET; inline;
  11448. procedure setCHEN; inline;
  11449. property CHAED : TBits_1 read getCHAED write setCHAED;
  11450. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11451. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11452. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11453. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11454. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11455. property CHEN : TBits_1 read getCHEN write setCHEN;
  11456. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11457. property w : TBits_32 read getw write setw;
  11458. end;
  11459. TDMAC4_DCH4ECON = record
  11460. private
  11461. function getAIRQEN : TBits_1; inline;
  11462. function getCABORT : TBits_1; inline;
  11463. function getCFORCE : TBits_1; inline;
  11464. function getCHAIRQ : TBits_8; inline;
  11465. function getCHSIRQ : TBits_8; inline;
  11466. function getPATEN : TBits_1; inline;
  11467. function getSIRQEN : TBits_1; inline;
  11468. function getw : TBits_32; inline;
  11469. procedure setAIRQEN(thebits : TBits_1); inline;
  11470. procedure setCABORT(thebits : TBits_1); inline;
  11471. procedure setCFORCE(thebits : TBits_1); inline;
  11472. procedure setCHAIRQ(thebits : TBits_8); inline;
  11473. procedure setCHSIRQ(thebits : TBits_8); inline;
  11474. procedure setPATEN(thebits : TBits_1); inline;
  11475. procedure setSIRQEN(thebits : TBits_1); inline;
  11476. procedure setw(thebits : TBits_32); inline;
  11477. public
  11478. procedure clearAIRQEN; inline;
  11479. procedure clearCABORT; inline;
  11480. procedure clearCFORCE; inline;
  11481. procedure clearPATEN; inline;
  11482. procedure clearSIRQEN; inline;
  11483. procedure setAIRQEN; inline;
  11484. procedure setCABORT; inline;
  11485. procedure setCFORCE; inline;
  11486. procedure setPATEN; inline;
  11487. procedure setSIRQEN; inline;
  11488. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11489. property CABORT : TBits_1 read getCABORT write setCABORT;
  11490. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11491. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11492. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11493. property PATEN : TBits_1 read getPATEN write setPATEN;
  11494. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11495. property w : TBits_32 read getw write setw;
  11496. end;
  11497. TDMAC4_DCH4INT = record
  11498. private
  11499. function getCHBCIE : TBits_1; inline;
  11500. function getCHBCIF : TBits_1; inline;
  11501. function getCHCCIE : TBits_1; inline;
  11502. function getCHCCIF : TBits_1; inline;
  11503. function getCHDDIE : TBits_1; inline;
  11504. function getCHDDIF : TBits_1; inline;
  11505. function getCHDHIE : TBits_1; inline;
  11506. function getCHDHIF : TBits_1; inline;
  11507. function getCHERIE : TBits_1; inline;
  11508. function getCHERIF : TBits_1; inline;
  11509. function getCHSDIE : TBits_1; inline;
  11510. function getCHSDIF : TBits_1; inline;
  11511. function getCHSHIE : TBits_1; inline;
  11512. function getCHSHIF : TBits_1; inline;
  11513. function getCHTAIE : TBits_1; inline;
  11514. function getCHTAIF : TBits_1; inline;
  11515. function getw : TBits_32; inline;
  11516. procedure setCHBCIE(thebits : TBits_1); inline;
  11517. procedure setCHBCIF(thebits : TBits_1); inline;
  11518. procedure setCHCCIE(thebits : TBits_1); inline;
  11519. procedure setCHCCIF(thebits : TBits_1); inline;
  11520. procedure setCHDDIE(thebits : TBits_1); inline;
  11521. procedure setCHDDIF(thebits : TBits_1); inline;
  11522. procedure setCHDHIE(thebits : TBits_1); inline;
  11523. procedure setCHDHIF(thebits : TBits_1); inline;
  11524. procedure setCHERIE(thebits : TBits_1); inline;
  11525. procedure setCHERIF(thebits : TBits_1); inline;
  11526. procedure setCHSDIE(thebits : TBits_1); inline;
  11527. procedure setCHSDIF(thebits : TBits_1); inline;
  11528. procedure setCHSHIE(thebits : TBits_1); inline;
  11529. procedure setCHSHIF(thebits : TBits_1); inline;
  11530. procedure setCHTAIE(thebits : TBits_1); inline;
  11531. procedure setCHTAIF(thebits : TBits_1); inline;
  11532. procedure setw(thebits : TBits_32); inline;
  11533. public
  11534. procedure clearCHBCIE; inline;
  11535. procedure clearCHBCIF; inline;
  11536. procedure clearCHCCIE; inline;
  11537. procedure clearCHCCIF; inline;
  11538. procedure clearCHDDIE; inline;
  11539. procedure clearCHDDIF; inline;
  11540. procedure clearCHDHIE; inline;
  11541. procedure clearCHDHIF; inline;
  11542. procedure clearCHERIE; inline;
  11543. procedure clearCHERIF; inline;
  11544. procedure clearCHSDIE; inline;
  11545. procedure clearCHSDIF; inline;
  11546. procedure clearCHSHIE; inline;
  11547. procedure clearCHSHIF; inline;
  11548. procedure clearCHTAIE; inline;
  11549. procedure clearCHTAIF; inline;
  11550. procedure setCHBCIE; inline;
  11551. procedure setCHBCIF; inline;
  11552. procedure setCHCCIE; inline;
  11553. procedure setCHCCIF; inline;
  11554. procedure setCHDDIE; inline;
  11555. procedure setCHDDIF; inline;
  11556. procedure setCHDHIE; inline;
  11557. procedure setCHDHIF; inline;
  11558. procedure setCHERIE; inline;
  11559. procedure setCHERIF; inline;
  11560. procedure setCHSDIE; inline;
  11561. procedure setCHSDIF; inline;
  11562. procedure setCHSHIE; inline;
  11563. procedure setCHSHIF; inline;
  11564. procedure setCHTAIE; inline;
  11565. procedure setCHTAIF; inline;
  11566. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11567. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11568. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11569. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11570. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11571. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11572. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11573. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11574. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11575. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11576. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11577. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11578. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11579. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11580. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11581. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11582. property w : TBits_32 read getw write setw;
  11583. end;
  11584. type
  11585. TDMAC4Registers = record
  11586. DCH4CONbits : TDMAC4_DCH4CON;
  11587. DCH4CON : longWord;
  11588. DCH4CONCLR : longWord;
  11589. DCH4CONSET : longWord;
  11590. DCH4CONINV : longWord;
  11591. DCH4ECONbits : TDMAC4_DCH4ECON;
  11592. DCH4ECON : longWord;
  11593. DCH4ECONCLR : longWord;
  11594. DCH4ECONSET : longWord;
  11595. DCH4ECONINV : longWord;
  11596. DCH4INTbits : TDMAC4_DCH4INT;
  11597. DCH4INT : longWord;
  11598. DCH4INTCLR : longWord;
  11599. DCH4INTSET : longWord;
  11600. DCH4INTINV : longWord;
  11601. DCH4SSA : longWord;
  11602. DCH4SSACLR : longWord;
  11603. DCH4SSASET : longWord;
  11604. DCH4SSAINV : longWord;
  11605. DCH4DSA : longWord;
  11606. DCH4DSACLR : longWord;
  11607. DCH4DSASET : longWord;
  11608. DCH4DSAINV : longWord;
  11609. DCH4SSIZ : longWord;
  11610. DCH4SSIZCLR : longWord;
  11611. DCH4SSIZSET : longWord;
  11612. DCH4SSIZINV : longWord;
  11613. DCH4DSIZ : longWord;
  11614. DCH4DSIZCLR : longWord;
  11615. DCH4DSIZSET : longWord;
  11616. DCH4DSIZINV : longWord;
  11617. DCH4SPTR : longWord;
  11618. DCH4SPTRCLR : longWord;
  11619. DCH4SPTRSET : longWord;
  11620. DCH4SPTRINV : longWord;
  11621. DCH4DPTR : longWord;
  11622. DCH4DPTRCLR : longWord;
  11623. DCH4DPTRSET : longWord;
  11624. DCH4DPTRINV : longWord;
  11625. DCH4CSIZ : longWord;
  11626. DCH4CSIZCLR : longWord;
  11627. DCH4CSIZSET : longWord;
  11628. DCH4CSIZINV : longWord;
  11629. DCH4CPTR : longWord;
  11630. DCH4CPTRCLR : longWord;
  11631. DCH4CPTRSET : longWord;
  11632. DCH4CPTRINV : longWord;
  11633. DCH4DAT : longWord;
  11634. DCH4DATCLR : longWord;
  11635. DCH4DATSET : longWord;
  11636. DCH4DATINV : longWord;
  11637. end;
  11638. TDMAC5_DCH5CON = record
  11639. private
  11640. function getCHAED : TBits_1; inline;
  11641. function getCHAEN : TBits_1; inline;
  11642. function getCHBUSY : TBits_1; inline;
  11643. function getCHCHN : TBits_1; inline;
  11644. function getCHCHNS : TBits_1; inline;
  11645. function getCHEDET : TBits_1; inline;
  11646. function getCHEN : TBits_1; inline;
  11647. function getCHPRI : TBits_2; inline;
  11648. function getw : TBits_32; inline;
  11649. procedure setCHAED(thebits : TBits_1); inline;
  11650. procedure setCHAEN(thebits : TBits_1); inline;
  11651. procedure setCHBUSY(thebits : TBits_1); inline;
  11652. procedure setCHCHN(thebits : TBits_1); inline;
  11653. procedure setCHCHNS(thebits : TBits_1); inline;
  11654. procedure setCHEDET(thebits : TBits_1); inline;
  11655. procedure setCHEN(thebits : TBits_1); inline;
  11656. procedure setCHPRI(thebits : TBits_2); inline;
  11657. procedure setw(thebits : TBits_32); inline;
  11658. public
  11659. procedure clearCHAED; inline;
  11660. procedure clearCHAEN; inline;
  11661. procedure clearCHBUSY; inline;
  11662. procedure clearCHCHN; inline;
  11663. procedure clearCHCHNS; inline;
  11664. procedure clearCHEDET; inline;
  11665. procedure clearCHEN; inline;
  11666. procedure setCHAED; inline;
  11667. procedure setCHAEN; inline;
  11668. procedure setCHBUSY; inline;
  11669. procedure setCHCHN; inline;
  11670. procedure setCHCHNS; inline;
  11671. procedure setCHEDET; inline;
  11672. procedure setCHEN; inline;
  11673. property CHAED : TBits_1 read getCHAED write setCHAED;
  11674. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11675. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11676. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11677. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11678. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11679. property CHEN : TBits_1 read getCHEN write setCHEN;
  11680. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11681. property w : TBits_32 read getw write setw;
  11682. end;
  11683. TDMAC5_DCH5ECON = record
  11684. private
  11685. function getAIRQEN : TBits_1; inline;
  11686. function getCABORT : TBits_1; inline;
  11687. function getCFORCE : TBits_1; inline;
  11688. function getCHAIRQ : TBits_8; inline;
  11689. function getCHSIRQ : TBits_8; inline;
  11690. function getPATEN : TBits_1; inline;
  11691. function getSIRQEN : TBits_1; inline;
  11692. function getw : TBits_32; inline;
  11693. procedure setAIRQEN(thebits : TBits_1); inline;
  11694. procedure setCABORT(thebits : TBits_1); inline;
  11695. procedure setCFORCE(thebits : TBits_1); inline;
  11696. procedure setCHAIRQ(thebits : TBits_8); inline;
  11697. procedure setCHSIRQ(thebits : TBits_8); inline;
  11698. procedure setPATEN(thebits : TBits_1); inline;
  11699. procedure setSIRQEN(thebits : TBits_1); inline;
  11700. procedure setw(thebits : TBits_32); inline;
  11701. public
  11702. procedure clearAIRQEN; inline;
  11703. procedure clearCABORT; inline;
  11704. procedure clearCFORCE; inline;
  11705. procedure clearPATEN; inline;
  11706. procedure clearSIRQEN; inline;
  11707. procedure setAIRQEN; inline;
  11708. procedure setCABORT; inline;
  11709. procedure setCFORCE; inline;
  11710. procedure setPATEN; inline;
  11711. procedure setSIRQEN; inline;
  11712. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11713. property CABORT : TBits_1 read getCABORT write setCABORT;
  11714. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11715. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11716. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11717. property PATEN : TBits_1 read getPATEN write setPATEN;
  11718. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11719. property w : TBits_32 read getw write setw;
  11720. end;
  11721. TDMAC5_DCH5INT = record
  11722. private
  11723. function getCHBCIE : TBits_1; inline;
  11724. function getCHBCIF : TBits_1; inline;
  11725. function getCHCCIE : TBits_1; inline;
  11726. function getCHCCIF : TBits_1; inline;
  11727. function getCHDDIE : TBits_1; inline;
  11728. function getCHDDIF : TBits_1; inline;
  11729. function getCHDHIE : TBits_1; inline;
  11730. function getCHDHIF : TBits_1; inline;
  11731. function getCHERIE : TBits_1; inline;
  11732. function getCHERIF : TBits_1; inline;
  11733. function getCHSDIE : TBits_1; inline;
  11734. function getCHSDIF : TBits_1; inline;
  11735. function getCHSHIE : TBits_1; inline;
  11736. function getCHSHIF : TBits_1; inline;
  11737. function getCHTAIE : TBits_1; inline;
  11738. function getCHTAIF : TBits_1; inline;
  11739. function getw : TBits_32; inline;
  11740. procedure setCHBCIE(thebits : TBits_1); inline;
  11741. procedure setCHBCIF(thebits : TBits_1); inline;
  11742. procedure setCHCCIE(thebits : TBits_1); inline;
  11743. procedure setCHCCIF(thebits : TBits_1); inline;
  11744. procedure setCHDDIE(thebits : TBits_1); inline;
  11745. procedure setCHDDIF(thebits : TBits_1); inline;
  11746. procedure setCHDHIE(thebits : TBits_1); inline;
  11747. procedure setCHDHIF(thebits : TBits_1); inline;
  11748. procedure setCHERIE(thebits : TBits_1); inline;
  11749. procedure setCHERIF(thebits : TBits_1); inline;
  11750. procedure setCHSDIE(thebits : TBits_1); inline;
  11751. procedure setCHSDIF(thebits : TBits_1); inline;
  11752. procedure setCHSHIE(thebits : TBits_1); inline;
  11753. procedure setCHSHIF(thebits : TBits_1); inline;
  11754. procedure setCHTAIE(thebits : TBits_1); inline;
  11755. procedure setCHTAIF(thebits : TBits_1); inline;
  11756. procedure setw(thebits : TBits_32); inline;
  11757. public
  11758. procedure clearCHBCIE; inline;
  11759. procedure clearCHBCIF; inline;
  11760. procedure clearCHCCIE; inline;
  11761. procedure clearCHCCIF; inline;
  11762. procedure clearCHDDIE; inline;
  11763. procedure clearCHDDIF; inline;
  11764. procedure clearCHDHIE; inline;
  11765. procedure clearCHDHIF; inline;
  11766. procedure clearCHERIE; inline;
  11767. procedure clearCHERIF; inline;
  11768. procedure clearCHSDIE; inline;
  11769. procedure clearCHSDIF; inline;
  11770. procedure clearCHSHIE; inline;
  11771. procedure clearCHSHIF; inline;
  11772. procedure clearCHTAIE; inline;
  11773. procedure clearCHTAIF; inline;
  11774. procedure setCHBCIE; inline;
  11775. procedure setCHBCIF; inline;
  11776. procedure setCHCCIE; inline;
  11777. procedure setCHCCIF; inline;
  11778. procedure setCHDDIE; inline;
  11779. procedure setCHDDIF; inline;
  11780. procedure setCHDHIE; inline;
  11781. procedure setCHDHIF; inline;
  11782. procedure setCHERIE; inline;
  11783. procedure setCHERIF; inline;
  11784. procedure setCHSDIE; inline;
  11785. procedure setCHSDIF; inline;
  11786. procedure setCHSHIE; inline;
  11787. procedure setCHSHIF; inline;
  11788. procedure setCHTAIE; inline;
  11789. procedure setCHTAIF; inline;
  11790. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11791. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11792. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11793. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11794. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11795. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11796. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11797. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11798. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11799. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11800. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11801. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11802. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11803. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11804. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11805. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11806. property w : TBits_32 read getw write setw;
  11807. end;
  11808. type
  11809. TDMAC5Registers = record
  11810. DCH5CONbits : TDMAC5_DCH5CON;
  11811. DCH5CON : longWord;
  11812. DCH5CONCLR : longWord;
  11813. DCH5CONSET : longWord;
  11814. DCH5CONINV : longWord;
  11815. DCH5ECONbits : TDMAC5_DCH5ECON;
  11816. DCH5ECON : longWord;
  11817. DCH5ECONCLR : longWord;
  11818. DCH5ECONSET : longWord;
  11819. DCH5ECONINV : longWord;
  11820. DCH5INTbits : TDMAC5_DCH5INT;
  11821. DCH5INT : longWord;
  11822. DCH5INTCLR : longWord;
  11823. DCH5INTSET : longWord;
  11824. DCH5INTINV : longWord;
  11825. DCH5SSA : longWord;
  11826. DCH5SSACLR : longWord;
  11827. DCH5SSASET : longWord;
  11828. DCH5SSAINV : longWord;
  11829. DCH5DSA : longWord;
  11830. DCH5DSACLR : longWord;
  11831. DCH5DSASET : longWord;
  11832. DCH5DSAINV : longWord;
  11833. DCH5SSIZ : longWord;
  11834. DCH5SSIZCLR : longWord;
  11835. DCH5SSIZSET : longWord;
  11836. DCH5SSIZINV : longWord;
  11837. DCH5DSIZ : longWord;
  11838. DCH5DSIZCLR : longWord;
  11839. DCH5DSIZSET : longWord;
  11840. DCH5DSIZINV : longWord;
  11841. DCH5SPTR : longWord;
  11842. DCH5SPTRCLR : longWord;
  11843. DCH5SPTRSET : longWord;
  11844. DCH5SPTRINV : longWord;
  11845. DCH5DPTR : longWord;
  11846. DCH5DPTRCLR : longWord;
  11847. DCH5DPTRSET : longWord;
  11848. DCH5DPTRINV : longWord;
  11849. DCH5CSIZ : longWord;
  11850. DCH5CSIZCLR : longWord;
  11851. DCH5CSIZSET : longWord;
  11852. DCH5CSIZINV : longWord;
  11853. DCH5CPTR : longWord;
  11854. DCH5CPTRCLR : longWord;
  11855. DCH5CPTRSET : longWord;
  11856. DCH5CPTRINV : longWord;
  11857. DCH5DAT : longWord;
  11858. DCH5DATCLR : longWord;
  11859. DCH5DATSET : longWord;
  11860. DCH5DATINV : longWord;
  11861. end;
  11862. TDMAC6_DCH6CON = record
  11863. private
  11864. function getCHAED : TBits_1; inline;
  11865. function getCHAEN : TBits_1; inline;
  11866. function getCHBUSY : TBits_1; inline;
  11867. function getCHCHN : TBits_1; inline;
  11868. function getCHCHNS : TBits_1; inline;
  11869. function getCHEDET : TBits_1; inline;
  11870. function getCHEN : TBits_1; inline;
  11871. function getCHPRI : TBits_2; inline;
  11872. function getw : TBits_32; inline;
  11873. procedure setCHAED(thebits : TBits_1); inline;
  11874. procedure setCHAEN(thebits : TBits_1); inline;
  11875. procedure setCHBUSY(thebits : TBits_1); inline;
  11876. procedure setCHCHN(thebits : TBits_1); inline;
  11877. procedure setCHCHNS(thebits : TBits_1); inline;
  11878. procedure setCHEDET(thebits : TBits_1); inline;
  11879. procedure setCHEN(thebits : TBits_1); inline;
  11880. procedure setCHPRI(thebits : TBits_2); inline;
  11881. procedure setw(thebits : TBits_32); inline;
  11882. public
  11883. procedure clearCHAED; inline;
  11884. procedure clearCHAEN; inline;
  11885. procedure clearCHBUSY; inline;
  11886. procedure clearCHCHN; inline;
  11887. procedure clearCHCHNS; inline;
  11888. procedure clearCHEDET; inline;
  11889. procedure clearCHEN; inline;
  11890. procedure setCHAED; inline;
  11891. procedure setCHAEN; inline;
  11892. procedure setCHBUSY; inline;
  11893. procedure setCHCHN; inline;
  11894. procedure setCHCHNS; inline;
  11895. procedure setCHEDET; inline;
  11896. procedure setCHEN; inline;
  11897. property CHAED : TBits_1 read getCHAED write setCHAED;
  11898. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11899. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11900. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11901. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11902. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11903. property CHEN : TBits_1 read getCHEN write setCHEN;
  11904. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11905. property w : TBits_32 read getw write setw;
  11906. end;
  11907. TDMAC6_DCH6ECON = record
  11908. private
  11909. function getAIRQEN : TBits_1; inline;
  11910. function getCABORT : TBits_1; inline;
  11911. function getCFORCE : TBits_1; inline;
  11912. function getCHAIRQ : TBits_8; inline;
  11913. function getCHSIRQ : TBits_8; inline;
  11914. function getPATEN : TBits_1; inline;
  11915. function getSIRQEN : TBits_1; inline;
  11916. function getw : TBits_32; inline;
  11917. procedure setAIRQEN(thebits : TBits_1); inline;
  11918. procedure setCABORT(thebits : TBits_1); inline;
  11919. procedure setCFORCE(thebits : TBits_1); inline;
  11920. procedure setCHAIRQ(thebits : TBits_8); inline;
  11921. procedure setCHSIRQ(thebits : TBits_8); inline;
  11922. procedure setPATEN(thebits : TBits_1); inline;
  11923. procedure setSIRQEN(thebits : TBits_1); inline;
  11924. procedure setw(thebits : TBits_32); inline;
  11925. public
  11926. procedure clearAIRQEN; inline;
  11927. procedure clearCABORT; inline;
  11928. procedure clearCFORCE; inline;
  11929. procedure clearPATEN; inline;
  11930. procedure clearSIRQEN; inline;
  11931. procedure setAIRQEN; inline;
  11932. procedure setCABORT; inline;
  11933. procedure setCFORCE; inline;
  11934. procedure setPATEN; inline;
  11935. procedure setSIRQEN; inline;
  11936. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11937. property CABORT : TBits_1 read getCABORT write setCABORT;
  11938. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11939. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11940. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11941. property PATEN : TBits_1 read getPATEN write setPATEN;
  11942. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11943. property w : TBits_32 read getw write setw;
  11944. end;
  11945. TDMAC6_DCH6INT = record
  11946. private
  11947. function getCHBCIE : TBits_1; inline;
  11948. function getCHBCIF : TBits_1; inline;
  11949. function getCHCCIE : TBits_1; inline;
  11950. function getCHCCIF : TBits_1; inline;
  11951. function getCHDDIE : TBits_1; inline;
  11952. function getCHDDIF : TBits_1; inline;
  11953. function getCHDHIE : TBits_1; inline;
  11954. function getCHDHIF : TBits_1; inline;
  11955. function getCHERIE : TBits_1; inline;
  11956. function getCHERIF : TBits_1; inline;
  11957. function getCHSDIE : TBits_1; inline;
  11958. function getCHSDIF : TBits_1; inline;
  11959. function getCHSHIE : TBits_1; inline;
  11960. function getCHSHIF : TBits_1; inline;
  11961. function getCHTAIE : TBits_1; inline;
  11962. function getCHTAIF : TBits_1; inline;
  11963. function getw : TBits_32; inline;
  11964. procedure setCHBCIE(thebits : TBits_1); inline;
  11965. procedure setCHBCIF(thebits : TBits_1); inline;
  11966. procedure setCHCCIE(thebits : TBits_1); inline;
  11967. procedure setCHCCIF(thebits : TBits_1); inline;
  11968. procedure setCHDDIE(thebits : TBits_1); inline;
  11969. procedure setCHDDIF(thebits : TBits_1); inline;
  11970. procedure setCHDHIE(thebits : TBits_1); inline;
  11971. procedure setCHDHIF(thebits : TBits_1); inline;
  11972. procedure setCHERIE(thebits : TBits_1); inline;
  11973. procedure setCHERIF(thebits : TBits_1); inline;
  11974. procedure setCHSDIE(thebits : TBits_1); inline;
  11975. procedure setCHSDIF(thebits : TBits_1); inline;
  11976. procedure setCHSHIE(thebits : TBits_1); inline;
  11977. procedure setCHSHIF(thebits : TBits_1); inline;
  11978. procedure setCHTAIE(thebits : TBits_1); inline;
  11979. procedure setCHTAIF(thebits : TBits_1); inline;
  11980. procedure setw(thebits : TBits_32); inline;
  11981. public
  11982. procedure clearCHBCIE; inline;
  11983. procedure clearCHBCIF; inline;
  11984. procedure clearCHCCIE; inline;
  11985. procedure clearCHCCIF; inline;
  11986. procedure clearCHDDIE; inline;
  11987. procedure clearCHDDIF; inline;
  11988. procedure clearCHDHIE; inline;
  11989. procedure clearCHDHIF; inline;
  11990. procedure clearCHERIE; inline;
  11991. procedure clearCHERIF; inline;
  11992. procedure clearCHSDIE; inline;
  11993. procedure clearCHSDIF; inline;
  11994. procedure clearCHSHIE; inline;
  11995. procedure clearCHSHIF; inline;
  11996. procedure clearCHTAIE; inline;
  11997. procedure clearCHTAIF; inline;
  11998. procedure setCHBCIE; inline;
  11999. procedure setCHBCIF; inline;
  12000. procedure setCHCCIE; inline;
  12001. procedure setCHCCIF; inline;
  12002. procedure setCHDDIE; inline;
  12003. procedure setCHDDIF; inline;
  12004. procedure setCHDHIE; inline;
  12005. procedure setCHDHIF; inline;
  12006. procedure setCHERIE; inline;
  12007. procedure setCHERIF; inline;
  12008. procedure setCHSDIE; inline;
  12009. procedure setCHSDIF; inline;
  12010. procedure setCHSHIE; inline;
  12011. procedure setCHSHIF; inline;
  12012. procedure setCHTAIE; inline;
  12013. procedure setCHTAIF; inline;
  12014. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  12015. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  12016. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  12017. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  12018. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  12019. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  12020. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  12021. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  12022. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  12023. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  12024. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  12025. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  12026. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  12027. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  12028. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  12029. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  12030. property w : TBits_32 read getw write setw;
  12031. end;
  12032. type
  12033. TDMAC6Registers = record
  12034. DCH6CONbits : TDMAC6_DCH6CON;
  12035. DCH6CON : longWord;
  12036. DCH6CONCLR : longWord;
  12037. DCH6CONSET : longWord;
  12038. DCH6CONINV : longWord;
  12039. DCH6ECONbits : TDMAC6_DCH6ECON;
  12040. DCH6ECON : longWord;
  12041. DCH6ECONCLR : longWord;
  12042. DCH6ECONSET : longWord;
  12043. DCH6ECONINV : longWord;
  12044. DCH6INTbits : TDMAC6_DCH6INT;
  12045. DCH6INT : longWord;
  12046. DCH6INTCLR : longWord;
  12047. DCH6INTSET : longWord;
  12048. DCH6INTINV : longWord;
  12049. DCH6SSA : longWord;
  12050. DCH6SSACLR : longWord;
  12051. DCH6SSASET : longWord;
  12052. DCH6SSAINV : longWord;
  12053. DCH6DSA : longWord;
  12054. DCH6DSACLR : longWord;
  12055. DCH6DSASET : longWord;
  12056. DCH6DSAINV : longWord;
  12057. DCH6SSIZ : longWord;
  12058. DCH6SSIZCLR : longWord;
  12059. DCH6SSIZSET : longWord;
  12060. DCH6SSIZINV : longWord;
  12061. DCH6DSIZ : longWord;
  12062. DCH6DSIZCLR : longWord;
  12063. DCH6DSIZSET : longWord;
  12064. DCH6DSIZINV : longWord;
  12065. DCH6SPTR : longWord;
  12066. DCH6SPTRCLR : longWord;
  12067. DCH6SPTRSET : longWord;
  12068. DCH6SPTRINV : longWord;
  12069. DCH6DPTR : longWord;
  12070. DCH6DPTRCLR : longWord;
  12071. DCH6DPTRSET : longWord;
  12072. DCH6DPTRINV : longWord;
  12073. DCH6CSIZ : longWord;
  12074. DCH6CSIZCLR : longWord;
  12075. DCH6CSIZSET : longWord;
  12076. DCH6CSIZINV : longWord;
  12077. DCH6CPTR : longWord;
  12078. DCH6CPTRCLR : longWord;
  12079. DCH6CPTRSET : longWord;
  12080. DCH6CPTRINV : longWord;
  12081. DCH6DAT : longWord;
  12082. DCH6DATCLR : longWord;
  12083. DCH6DATSET : longWord;
  12084. DCH6DATINV : longWord;
  12085. end;
  12086. TDMAC7_DCH7CON = record
  12087. private
  12088. function getCHAED : TBits_1; inline;
  12089. function getCHAEN : TBits_1; inline;
  12090. function getCHBUSY : TBits_1; inline;
  12091. function getCHCHN : TBits_1; inline;
  12092. function getCHCHNS : TBits_1; inline;
  12093. function getCHEDET : TBits_1; inline;
  12094. function getCHEN : TBits_1; inline;
  12095. function getCHPRI : TBits_2; inline;
  12096. function getw : TBits_32; inline;
  12097. procedure setCHAED(thebits : TBits_1); inline;
  12098. procedure setCHAEN(thebits : TBits_1); inline;
  12099. procedure setCHBUSY(thebits : TBits_1); inline;
  12100. procedure setCHCHN(thebits : TBits_1); inline;
  12101. procedure setCHCHNS(thebits : TBits_1); inline;
  12102. procedure setCHEDET(thebits : TBits_1); inline;
  12103. procedure setCHEN(thebits : TBits_1); inline;
  12104. procedure setCHPRI(thebits : TBits_2); inline;
  12105. procedure setw(thebits : TBits_32); inline;
  12106. public
  12107. procedure clearCHAED; inline;
  12108. procedure clearCHAEN; inline;
  12109. procedure clearCHBUSY; inline;
  12110. procedure clearCHCHN; inline;
  12111. procedure clearCHCHNS; inline;
  12112. procedure clearCHEDET; inline;
  12113. procedure clearCHEN; inline;
  12114. procedure setCHAED; inline;
  12115. procedure setCHAEN; inline;
  12116. procedure setCHBUSY; inline;
  12117. procedure setCHCHN; inline;
  12118. procedure setCHCHNS; inline;
  12119. procedure setCHEDET; inline;
  12120. procedure setCHEN; inline;
  12121. property CHAED : TBits_1 read getCHAED write setCHAED;
  12122. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  12123. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  12124. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  12125. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  12126. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  12127. property CHEN : TBits_1 read getCHEN write setCHEN;
  12128. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  12129. property w : TBits_32 read getw write setw;
  12130. end;
  12131. TDMAC7_DCH7ECON = record
  12132. private
  12133. function getAIRQEN : TBits_1; inline;
  12134. function getCABORT : TBits_1; inline;
  12135. function getCFORCE : TBits_1; inline;
  12136. function getCHAIRQ : TBits_8; inline;
  12137. function getCHSIRQ : TBits_8; inline;
  12138. function getPATEN : TBits_1; inline;
  12139. function getSIRQEN : TBits_1; inline;
  12140. function getw : TBits_32; inline;
  12141. procedure setAIRQEN(thebits : TBits_1); inline;
  12142. procedure setCABORT(thebits : TBits_1); inline;
  12143. procedure setCFORCE(thebits : TBits_1); inline;
  12144. procedure setCHAIRQ(thebits : TBits_8); inline;
  12145. procedure setCHSIRQ(thebits : TBits_8); inline;
  12146. procedure setPATEN(thebits : TBits_1); inline;
  12147. procedure setSIRQEN(thebits : TBits_1); inline;
  12148. procedure setw(thebits : TBits_32); inline;
  12149. public
  12150. procedure clearAIRQEN; inline;
  12151. procedure clearCABORT; inline;
  12152. procedure clearCFORCE; inline;
  12153. procedure clearPATEN; inline;
  12154. procedure clearSIRQEN; inline;
  12155. procedure setAIRQEN; inline;
  12156. procedure setCABORT; inline;
  12157. procedure setCFORCE; inline;
  12158. procedure setPATEN; inline;
  12159. procedure setSIRQEN; inline;
  12160. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  12161. property CABORT : TBits_1 read getCABORT write setCABORT;
  12162. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  12163. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  12164. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  12165. property PATEN : TBits_1 read getPATEN write setPATEN;
  12166. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  12167. property w : TBits_32 read getw write setw;
  12168. end;
  12169. TDMAC7_DCH7INT = record
  12170. private
  12171. function getCHBCIE : TBits_1; inline;
  12172. function getCHBCIF : TBits_1; inline;
  12173. function getCHCCIE : TBits_1; inline;
  12174. function getCHCCIF : TBits_1; inline;
  12175. function getCHDDIE : TBits_1; inline;
  12176. function getCHDDIF : TBits_1; inline;
  12177. function getCHDHIE : TBits_1; inline;
  12178. function getCHDHIF : TBits_1; inline;
  12179. function getCHERIE : TBits_1; inline;
  12180. function getCHERIF : TBits_1; inline;
  12181. function getCHSDIE : TBits_1; inline;
  12182. function getCHSDIF : TBits_1; inline;
  12183. function getCHSHIE : TBits_1; inline;
  12184. function getCHSHIF : TBits_1; inline;
  12185. function getCHTAIE : TBits_1; inline;
  12186. function getCHTAIF : TBits_1; inline;
  12187. function getw : TBits_32; inline;
  12188. procedure setCHBCIE(thebits : TBits_1); inline;
  12189. procedure setCHBCIF(thebits : TBits_1); inline;
  12190. procedure setCHCCIE(thebits : TBits_1); inline;
  12191. procedure setCHCCIF(thebits : TBits_1); inline;
  12192. procedure setCHDDIE(thebits : TBits_1); inline;
  12193. procedure setCHDDIF(thebits : TBits_1); inline;
  12194. procedure setCHDHIE(thebits : TBits_1); inline;
  12195. procedure setCHDHIF(thebits : TBits_1); inline;
  12196. procedure setCHERIE(thebits : TBits_1); inline;
  12197. procedure setCHERIF(thebits : TBits_1); inline;
  12198. procedure setCHSDIE(thebits : TBits_1); inline;
  12199. procedure setCHSDIF(thebits : TBits_1); inline;
  12200. procedure setCHSHIE(thebits : TBits_1); inline;
  12201. procedure setCHSHIF(thebits : TBits_1); inline;
  12202. procedure setCHTAIE(thebits : TBits_1); inline;
  12203. procedure setCHTAIF(thebits : TBits_1); inline;
  12204. procedure setw(thebits : TBits_32); inline;
  12205. public
  12206. procedure clearCHBCIE; inline;
  12207. procedure clearCHBCIF; inline;
  12208. procedure clearCHCCIE; inline;
  12209. procedure clearCHCCIF; inline;
  12210. procedure clearCHDDIE; inline;
  12211. procedure clearCHDDIF; inline;
  12212. procedure clearCHDHIE; inline;
  12213. procedure clearCHDHIF; inline;
  12214. procedure clearCHERIE; inline;
  12215. procedure clearCHERIF; inline;
  12216. procedure clearCHSDIE; inline;
  12217. procedure clearCHSDIF; inline;
  12218. procedure clearCHSHIE; inline;
  12219. procedure clearCHSHIF; inline;
  12220. procedure clearCHTAIE; inline;
  12221. procedure clearCHTAIF; inline;
  12222. procedure setCHBCIE; inline;
  12223. procedure setCHBCIF; inline;
  12224. procedure setCHCCIE; inline;
  12225. procedure setCHCCIF; inline;
  12226. procedure setCHDDIE; inline;
  12227. procedure setCHDDIF; inline;
  12228. procedure setCHDHIE; inline;
  12229. procedure setCHDHIF; inline;
  12230. procedure setCHERIE; inline;
  12231. procedure setCHERIF; inline;
  12232. procedure setCHSDIE; inline;
  12233. procedure setCHSDIF; inline;
  12234. procedure setCHSHIE; inline;
  12235. procedure setCHSHIF; inline;
  12236. procedure setCHTAIE; inline;
  12237. procedure setCHTAIF; inline;
  12238. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  12239. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  12240. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  12241. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  12242. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  12243. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  12244. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  12245. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  12246. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  12247. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  12248. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  12249. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  12250. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  12251. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  12252. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  12253. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  12254. property w : TBits_32 read getw write setw;
  12255. end;
  12256. type
  12257. TDMAC7Registers = record
  12258. DCH7CONbits : TDMAC7_DCH7CON;
  12259. DCH7CON : longWord;
  12260. DCH7CONCLR : longWord;
  12261. DCH7CONSET : longWord;
  12262. DCH7CONINV : longWord;
  12263. DCH7ECONbits : TDMAC7_DCH7ECON;
  12264. DCH7ECON : longWord;
  12265. DCH7ECONCLR : longWord;
  12266. DCH7ECONSET : longWord;
  12267. DCH7ECONINV : longWord;
  12268. DCH7INTbits : TDMAC7_DCH7INT;
  12269. DCH7INT : longWord;
  12270. DCH7INTCLR : longWord;
  12271. DCH7INTSET : longWord;
  12272. DCH7INTINV : longWord;
  12273. DCH7SSA : longWord;
  12274. DCH7SSACLR : longWord;
  12275. DCH7SSASET : longWord;
  12276. DCH7SSAINV : longWord;
  12277. DCH7DSA : longWord;
  12278. DCH7DSACLR : longWord;
  12279. DCH7DSASET : longWord;
  12280. DCH7DSAINV : longWord;
  12281. DCH7SSIZ : longWord;
  12282. DCH7SSIZCLR : longWord;
  12283. DCH7SSIZSET : longWord;
  12284. DCH7SSIZINV : longWord;
  12285. DCH7DSIZ : longWord;
  12286. DCH7DSIZCLR : longWord;
  12287. DCH7DSIZSET : longWord;
  12288. DCH7DSIZINV : longWord;
  12289. DCH7SPTR : longWord;
  12290. DCH7SPTRCLR : longWord;
  12291. DCH7SPTRSET : longWord;
  12292. DCH7SPTRINV : longWord;
  12293. DCH7DPTR : longWord;
  12294. DCH7DPTRCLR : longWord;
  12295. DCH7DPTRSET : longWord;
  12296. DCH7DPTRINV : longWord;
  12297. DCH7CSIZ : longWord;
  12298. DCH7CSIZCLR : longWord;
  12299. DCH7CSIZSET : longWord;
  12300. DCH7CSIZINV : longWord;
  12301. DCH7CPTR : longWord;
  12302. DCH7CPTRCLR : longWord;
  12303. DCH7CPTRSET : longWord;
  12304. DCH7CPTRINV : longWord;
  12305. DCH7DAT : longWord;
  12306. DCH7DATCLR : longWord;
  12307. DCH7DATSET : longWord;
  12308. DCH7DATINV : longWord;
  12309. end;
  12310. TPCACHE_CHECON = record
  12311. private
  12312. function getCHECOH : TBits_1; inline;
  12313. function getDCSZ : TBits_2; inline;
  12314. function getPFMWS : TBits_3; inline;
  12315. function getPREFEN : TBits_2; inline;
  12316. function getw : TBits_32; inline;
  12317. procedure setCHECOH(thebits : TBits_1); inline;
  12318. procedure setDCSZ(thebits : TBits_2); inline;
  12319. procedure setPFMWS(thebits : TBits_3); inline;
  12320. procedure setPREFEN(thebits : TBits_2); inline;
  12321. procedure setw(thebits : TBits_32); inline;
  12322. public
  12323. procedure clearCHECOH; inline;
  12324. procedure setCHECOH; inline;
  12325. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  12326. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  12327. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  12328. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  12329. property w : TBits_32 read getw write setw;
  12330. end;
  12331. TPCACHE_CHETAG = record
  12332. private
  12333. function getLLOCK : TBits_1; inline;
  12334. function getLTAG : TBits_20; inline;
  12335. function getLTAGBOOT : TBits_1; inline;
  12336. function getLTYPE : TBits_1; inline;
  12337. function getLVALID : TBits_1; inline;
  12338. function getw : TBits_32; inline;
  12339. procedure setLLOCK(thebits : TBits_1); inline;
  12340. procedure setLTAG(thebits : TBits_20); inline;
  12341. procedure setLTAGBOOT(thebits : TBits_1); inline;
  12342. procedure setLTYPE(thebits : TBits_1); inline;
  12343. procedure setLVALID(thebits : TBits_1); inline;
  12344. procedure setw(thebits : TBits_32); inline;
  12345. public
  12346. procedure clearLLOCK; inline;
  12347. procedure clearLTAGBOOT; inline;
  12348. procedure clearLTYPE; inline;
  12349. procedure clearLVALID; inline;
  12350. procedure setLLOCK; inline;
  12351. procedure setLTAGBOOT; inline;
  12352. procedure setLTYPE; inline;
  12353. procedure setLVALID; inline;
  12354. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  12355. property LTAG : TBits_20 read getLTAG write setLTAG;
  12356. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  12357. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  12358. property LVALID : TBits_1 read getLVALID write setLVALID;
  12359. property w : TBits_32 read getw write setw;
  12360. end;
  12361. type
  12362. TPCACHERegisters = record
  12363. CHECONbits : TPCACHE_CHECON;
  12364. CHECON : longWord;
  12365. CHECONCLR : longWord;
  12366. CHECONSET : longWord;
  12367. CHECONINV : longWord;
  12368. CHEACC : longWord;
  12369. CHEACCCLR : longWord;
  12370. CHEACCSET : longWord;
  12371. CHEACCINV : longWord;
  12372. CHETAGbits : TPCACHE_CHETAG;
  12373. CHETAG : longWord;
  12374. CHETAGCLR : longWord;
  12375. CHETAGSET : longWord;
  12376. CHETAGINV : longWord;
  12377. CHEMSK : longWord;
  12378. CHEMSKCLR : longWord;
  12379. CHEMSKSET : longWord;
  12380. CHEMSKINV : longWord;
  12381. CHEW0 : longWord;
  12382. CHEW1 : longWord;
  12383. CHEW2 : longWord;
  12384. CHEW3 : longWord;
  12385. CHELRU : longWord;
  12386. CHEHIT : longWord;
  12387. CHEMIS : longWord;
  12388. CHEPFABT : longWord;
  12389. end;
  12390. TUSB_U1IR = record
  12391. private
  12392. function getATTACHIF : TBits_1; inline;
  12393. function getDETACHIF : TBits_1; inline;
  12394. function getIDLEIF : TBits_1; inline;
  12395. function getRESUMEIF : TBits_1; inline;
  12396. function getSOFIF : TBits_1; inline;
  12397. function getSTALLIF : TBits_1; inline;
  12398. function getTRNIF : TBits_1; inline;
  12399. function getUERRIF : TBits_1; inline;
  12400. function getURSTIF : TBits_1; inline;
  12401. function getURSTIF_DETACHIF : TBits_1; inline;
  12402. procedure setATTACHIF(thebits : TBits_1); inline;
  12403. procedure setDETACHIF(thebits : TBits_1); inline;
  12404. procedure setIDLEIF(thebits : TBits_1); inline;
  12405. procedure setRESUMEIF(thebits : TBits_1); inline;
  12406. procedure setSOFIF(thebits : TBits_1); inline;
  12407. procedure setSTALLIF(thebits : TBits_1); inline;
  12408. procedure setTRNIF(thebits : TBits_1); inline;
  12409. procedure setUERRIF(thebits : TBits_1); inline;
  12410. procedure setURSTIF(thebits : TBits_1); inline;
  12411. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  12412. public
  12413. procedure clearATTACHIF; inline;
  12414. procedure clearDETACHIF; inline;
  12415. procedure clearIDLEIF; inline;
  12416. procedure clearRESUMEIF; inline;
  12417. procedure clearSOFIF; inline;
  12418. procedure clearSTALLIF; inline;
  12419. procedure clearTRNIF; inline;
  12420. procedure clearUERRIF; inline;
  12421. procedure clearURSTIF; inline;
  12422. procedure clearURSTIF_DETACHIF; inline;
  12423. procedure setATTACHIF; inline;
  12424. procedure setDETACHIF; inline;
  12425. procedure setIDLEIF; inline;
  12426. procedure setRESUMEIF; inline;
  12427. procedure setSOFIF; inline;
  12428. procedure setSTALLIF; inline;
  12429. procedure setTRNIF; inline;
  12430. procedure setUERRIF; inline;
  12431. procedure setURSTIF; inline;
  12432. procedure setURSTIF_DETACHIF; inline;
  12433. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  12434. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  12435. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  12436. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  12437. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  12438. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  12439. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  12440. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  12441. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  12442. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  12443. end;
  12444. TUSB_U1IE = record
  12445. private
  12446. function getATTACHIE : TBits_1; inline;
  12447. function getDETACHIE : TBits_1; inline;
  12448. function getIDLEIE : TBits_1; inline;
  12449. function getRESUMEIE : TBits_1; inline;
  12450. function getSOFIE : TBits_1; inline;
  12451. function getSTALLIE : TBits_1; inline;
  12452. function getTRNIE : TBits_1; inline;
  12453. function getUERRIE : TBits_1; inline;
  12454. function getURSTIE : TBits_1; inline;
  12455. function getURSTIE_DETACHIE : TBits_1; inline;
  12456. procedure setATTACHIE(thebits : TBits_1); inline;
  12457. procedure setDETACHIE(thebits : TBits_1); inline;
  12458. procedure setIDLEIE(thebits : TBits_1); inline;
  12459. procedure setRESUMEIE(thebits : TBits_1); inline;
  12460. procedure setSOFIE(thebits : TBits_1); inline;
  12461. procedure setSTALLIE(thebits : TBits_1); inline;
  12462. procedure setTRNIE(thebits : TBits_1); inline;
  12463. procedure setUERRIE(thebits : TBits_1); inline;
  12464. procedure setURSTIE(thebits : TBits_1); inline;
  12465. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  12466. public
  12467. procedure clearATTACHIE; inline;
  12468. procedure clearDETACHIE; inline;
  12469. procedure clearIDLEIE; inline;
  12470. procedure clearRESUMEIE; inline;
  12471. procedure clearSOFIE; inline;
  12472. procedure clearSTALLIE; inline;
  12473. procedure clearTRNIE; inline;
  12474. procedure clearUERRIE; inline;
  12475. procedure clearURSTIE; inline;
  12476. procedure clearURSTIE_DETACHIE; inline;
  12477. procedure setATTACHIE; inline;
  12478. procedure setDETACHIE; inline;
  12479. procedure setIDLEIE; inline;
  12480. procedure setRESUMEIE; inline;
  12481. procedure setSOFIE; inline;
  12482. procedure setSTALLIE; inline;
  12483. procedure setTRNIE; inline;
  12484. procedure setUERRIE; inline;
  12485. procedure setURSTIE; inline;
  12486. procedure setURSTIE_DETACHIE; inline;
  12487. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  12488. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  12489. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  12490. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  12491. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  12492. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  12493. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  12494. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  12495. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  12496. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  12497. end;
  12498. TUSB_U1EIR = record
  12499. private
  12500. function getBMXEF : TBits_1; inline;
  12501. function getBTOEF : TBits_1; inline;
  12502. function getBTSEF : TBits_1; inline;
  12503. function getCRC16EF : TBits_1; inline;
  12504. function getCRC5EF : TBits_1; inline;
  12505. function getCRC5EF_EOFEF : TBits_1; inline;
  12506. function getDFN8EF : TBits_1; inline;
  12507. function getDMAEF : TBits_1; inline;
  12508. function getEOFEF : TBits_1; inline;
  12509. function getPIDEF : TBits_1; inline;
  12510. procedure setBMXEF(thebits : TBits_1); inline;
  12511. procedure setBTOEF(thebits : TBits_1); inline;
  12512. procedure setBTSEF(thebits : TBits_1); inline;
  12513. procedure setCRC16EF(thebits : TBits_1); inline;
  12514. procedure setCRC5EF(thebits : TBits_1); inline;
  12515. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  12516. procedure setDFN8EF(thebits : TBits_1); inline;
  12517. procedure setDMAEF(thebits : TBits_1); inline;
  12518. procedure setEOFEF(thebits : TBits_1); inline;
  12519. procedure setPIDEF(thebits : TBits_1); inline;
  12520. public
  12521. procedure clearBMXEF; inline;
  12522. procedure clearBTOEF; inline;
  12523. procedure clearBTSEF; inline;
  12524. procedure clearCRC16EF; inline;
  12525. procedure clearCRC5EF; inline;
  12526. procedure clearCRC5EF_EOFEF; inline;
  12527. procedure clearDFN8EF; inline;
  12528. procedure clearDMAEF; inline;
  12529. procedure clearEOFEF; inline;
  12530. procedure clearPIDEF; inline;
  12531. procedure setBMXEF; inline;
  12532. procedure setBTOEF; inline;
  12533. procedure setBTSEF; inline;
  12534. procedure setCRC16EF; inline;
  12535. procedure setCRC5EF; inline;
  12536. procedure setCRC5EF_EOFEF; inline;
  12537. procedure setDFN8EF; inline;
  12538. procedure setDMAEF; inline;
  12539. procedure setEOFEF; inline;
  12540. procedure setPIDEF; inline;
  12541. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  12542. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  12543. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  12544. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  12545. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  12546. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  12547. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  12548. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  12549. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  12550. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  12551. end;
  12552. TUSB_U1EIE = record
  12553. private
  12554. function getBMXEE : TBits_1; inline;
  12555. function getBTOEE : TBits_1; inline;
  12556. function getBTSEE : TBits_1; inline;
  12557. function getCRC16EE : TBits_1; inline;
  12558. function getCRC5EE : TBits_1; inline;
  12559. function getCRC5EE_EOFEE : TBits_1; inline;
  12560. function getDFN8EE : TBits_1; inline;
  12561. function getDMAEE : TBits_1; inline;
  12562. function getEOFEE : TBits_1; inline;
  12563. function getPIDEE : TBits_1; inline;
  12564. procedure setBMXEE(thebits : TBits_1); inline;
  12565. procedure setBTOEE(thebits : TBits_1); inline;
  12566. procedure setBTSEE(thebits : TBits_1); inline;
  12567. procedure setCRC16EE(thebits : TBits_1); inline;
  12568. procedure setCRC5EE(thebits : TBits_1); inline;
  12569. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  12570. procedure setDFN8EE(thebits : TBits_1); inline;
  12571. procedure setDMAEE(thebits : TBits_1); inline;
  12572. procedure setEOFEE(thebits : TBits_1); inline;
  12573. procedure setPIDEE(thebits : TBits_1); inline;
  12574. public
  12575. procedure clearBMXEE; inline;
  12576. procedure clearBTOEE; inline;
  12577. procedure clearBTSEE; inline;
  12578. procedure clearCRC16EE; inline;
  12579. procedure clearCRC5EE; inline;
  12580. procedure clearCRC5EE_EOFEE; inline;
  12581. procedure clearDFN8EE; inline;
  12582. procedure clearDMAEE; inline;
  12583. procedure clearEOFEE; inline;
  12584. procedure clearPIDEE; inline;
  12585. procedure setBMXEE; inline;
  12586. procedure setBTOEE; inline;
  12587. procedure setBTSEE; inline;
  12588. procedure setCRC16EE; inline;
  12589. procedure setCRC5EE; inline;
  12590. procedure setCRC5EE_EOFEE; inline;
  12591. procedure setDFN8EE; inline;
  12592. procedure setDMAEE; inline;
  12593. procedure setEOFEE; inline;
  12594. procedure setPIDEE; inline;
  12595. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  12596. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  12597. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  12598. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  12599. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  12600. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  12601. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  12602. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  12603. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  12604. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  12605. end;
  12606. TUSB_U1STAT = record
  12607. private
  12608. function getDIR : TBits_1; inline;
  12609. function getENDPT : TBits_4; inline;
  12610. function getENDPT0 : TBits_1; inline;
  12611. function getENDPT1 : TBits_1; inline;
  12612. function getENDPT2 : TBits_1; inline;
  12613. function getENDPT3 : TBits_1; inline;
  12614. function getPPBI : TBits_1; inline;
  12615. procedure setDIR(thebits : TBits_1); inline;
  12616. procedure setENDPT(thebits : TBits_4); inline;
  12617. procedure setENDPT0(thebits : TBits_1); inline;
  12618. procedure setENDPT1(thebits : TBits_1); inline;
  12619. procedure setENDPT2(thebits : TBits_1); inline;
  12620. procedure setENDPT3(thebits : TBits_1); inline;
  12621. procedure setPPBI(thebits : TBits_1); inline;
  12622. public
  12623. procedure clearDIR; inline;
  12624. procedure clearENDPT0; inline;
  12625. procedure clearENDPT1; inline;
  12626. procedure clearENDPT2; inline;
  12627. procedure clearENDPT3; inline;
  12628. procedure clearPPBI; inline;
  12629. procedure setDIR; inline;
  12630. procedure setENDPT0; inline;
  12631. procedure setENDPT1; inline;
  12632. procedure setENDPT2; inline;
  12633. procedure setENDPT3; inline;
  12634. procedure setPPBI; inline;
  12635. property DIR : TBits_1 read getDIR write setDIR;
  12636. property ENDPT : TBits_4 read getENDPT write setENDPT;
  12637. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  12638. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  12639. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  12640. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  12641. property PPBI : TBits_1 read getPPBI write setPPBI;
  12642. end;
  12643. TUSB_U1CON = record
  12644. private
  12645. function getHOSTEN : TBits_1; inline;
  12646. function getJSTATE : TBits_1; inline;
  12647. function getPKTDIS : TBits_1; inline;
  12648. function getPKTDIS_TOKBUSY : TBits_1; inline;
  12649. function getPPBRST : TBits_1; inline;
  12650. function getRESUME : TBits_1; inline;
  12651. function getSE0 : TBits_1; inline;
  12652. function getSOFEN : TBits_1; inline;
  12653. function getTOKBUSY : TBits_1; inline;
  12654. function getUSBEN : TBits_1; inline;
  12655. function getUSBEN_SOFEN : TBits_1; inline;
  12656. function getUSBRST : TBits_1; inline;
  12657. procedure setHOSTEN(thebits : TBits_1); inline;
  12658. procedure setJSTATE(thebits : TBits_1); inline;
  12659. procedure setPKTDIS(thebits : TBits_1); inline;
  12660. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  12661. procedure setPPBRST(thebits : TBits_1); inline;
  12662. procedure setRESUME(thebits : TBits_1); inline;
  12663. procedure setSE0(thebits : TBits_1); inline;
  12664. procedure setSOFEN(thebits : TBits_1); inline;
  12665. procedure setTOKBUSY(thebits : TBits_1); inline;
  12666. procedure setUSBEN(thebits : TBits_1); inline;
  12667. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  12668. procedure setUSBRST(thebits : TBits_1); inline;
  12669. public
  12670. procedure clearHOSTEN; inline;
  12671. procedure clearJSTATE; inline;
  12672. procedure clearPKTDIS; inline;
  12673. procedure clearPKTDIS_TOKBUSY; inline;
  12674. procedure clearPPBRST; inline;
  12675. procedure clearRESUME; inline;
  12676. procedure clearSE0; inline;
  12677. procedure clearSOFEN; inline;
  12678. procedure clearTOKBUSY; inline;
  12679. procedure clearUSBEN; inline;
  12680. procedure clearUSBEN_SOFEN; inline;
  12681. procedure clearUSBRST; inline;
  12682. procedure setHOSTEN; inline;
  12683. procedure setJSTATE; inline;
  12684. procedure setPKTDIS; inline;
  12685. procedure setPKTDIS_TOKBUSY; inline;
  12686. procedure setPPBRST; inline;
  12687. procedure setRESUME; inline;
  12688. procedure setSE0; inline;
  12689. procedure setSOFEN; inline;
  12690. procedure setTOKBUSY; inline;
  12691. procedure setUSBEN; inline;
  12692. procedure setUSBEN_SOFEN; inline;
  12693. procedure setUSBRST; inline;
  12694. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  12695. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  12696. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  12697. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  12698. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  12699. property RESUME : TBits_1 read getRESUME write setRESUME;
  12700. property SE0 : TBits_1 read getSE0 write setSE0;
  12701. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  12702. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  12703. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  12704. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  12705. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  12706. end;
  12707. TUSB_U1ADDR = record
  12708. private
  12709. function getDEVADDR : TBits_7; inline;
  12710. function getDEVADDR0 : TBits_1; inline;
  12711. function getDEVADDR1 : TBits_1; inline;
  12712. function getDEVADDR2 : TBits_1; inline;
  12713. function getDEVADDR3 : TBits_1; inline;
  12714. function getDEVADDR4 : TBits_1; inline;
  12715. function getDEVADDR5 : TBits_1; inline;
  12716. function getDEVADDR6 : TBits_1; inline;
  12717. function getLSPDEN : TBits_1; inline;
  12718. procedure setDEVADDR(thebits : TBits_7); inline;
  12719. procedure setDEVADDR0(thebits : TBits_1); inline;
  12720. procedure setDEVADDR1(thebits : TBits_1); inline;
  12721. procedure setDEVADDR2(thebits : TBits_1); inline;
  12722. procedure setDEVADDR3(thebits : TBits_1); inline;
  12723. procedure setDEVADDR4(thebits : TBits_1); inline;
  12724. procedure setDEVADDR5(thebits : TBits_1); inline;
  12725. procedure setDEVADDR6(thebits : TBits_1); inline;
  12726. procedure setLSPDEN(thebits : TBits_1); inline;
  12727. public
  12728. procedure clearDEVADDR0; inline;
  12729. procedure clearDEVADDR1; inline;
  12730. procedure clearDEVADDR2; inline;
  12731. procedure clearDEVADDR3; inline;
  12732. procedure clearDEVADDR4; inline;
  12733. procedure clearDEVADDR5; inline;
  12734. procedure clearDEVADDR6; inline;
  12735. procedure clearLSPDEN; inline;
  12736. procedure setDEVADDR0; inline;
  12737. procedure setDEVADDR1; inline;
  12738. procedure setDEVADDR2; inline;
  12739. procedure setDEVADDR3; inline;
  12740. procedure setDEVADDR4; inline;
  12741. procedure setDEVADDR5; inline;
  12742. procedure setDEVADDR6; inline;
  12743. procedure setLSPDEN; inline;
  12744. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  12745. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  12746. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  12747. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  12748. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  12749. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  12750. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  12751. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  12752. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  12753. end;
  12754. TUSB_U1FRML = record
  12755. private
  12756. function getFRM0 : TBits_1; inline;
  12757. function getFRM1 : TBits_1; inline;
  12758. function getFRM2 : TBits_1; inline;
  12759. function getFRM3 : TBits_1; inline;
  12760. function getFRM4 : TBits_1; inline;
  12761. function getFRM5 : TBits_1; inline;
  12762. function getFRM6 : TBits_1; inline;
  12763. function getFRM7 : TBits_1; inline;
  12764. function getFRML : TBits_8; inline;
  12765. procedure setFRM0(thebits : TBits_1); inline;
  12766. procedure setFRM1(thebits : TBits_1); inline;
  12767. procedure setFRM2(thebits : TBits_1); inline;
  12768. procedure setFRM3(thebits : TBits_1); inline;
  12769. procedure setFRM4(thebits : TBits_1); inline;
  12770. procedure setFRM5(thebits : TBits_1); inline;
  12771. procedure setFRM6(thebits : TBits_1); inline;
  12772. procedure setFRM7(thebits : TBits_1); inline;
  12773. procedure setFRML(thebits : TBits_8); inline;
  12774. public
  12775. procedure clearFRM0; inline;
  12776. procedure clearFRM1; inline;
  12777. procedure clearFRM2; inline;
  12778. procedure clearFRM3; inline;
  12779. procedure clearFRM4; inline;
  12780. procedure clearFRM5; inline;
  12781. procedure clearFRM6; inline;
  12782. procedure clearFRM7; inline;
  12783. procedure setFRM0; inline;
  12784. procedure setFRM1; inline;
  12785. procedure setFRM2; inline;
  12786. procedure setFRM3; inline;
  12787. procedure setFRM4; inline;
  12788. procedure setFRM5; inline;
  12789. procedure setFRM6; inline;
  12790. procedure setFRM7; inline;
  12791. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  12792. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  12793. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  12794. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  12795. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  12796. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  12797. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  12798. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  12799. property FRML : TBits_8 read getFRML write setFRML;
  12800. end;
  12801. TUSB_U1FRMH = record
  12802. private
  12803. function getFRM10 : TBits_1; inline;
  12804. function getFRM8 : TBits_1; inline;
  12805. function getFRM9 : TBits_1; inline;
  12806. function getFRMH : TBits_3; inline;
  12807. procedure setFRM10(thebits : TBits_1); inline;
  12808. procedure setFRM8(thebits : TBits_1); inline;
  12809. procedure setFRM9(thebits : TBits_1); inline;
  12810. procedure setFRMH(thebits : TBits_3); inline;
  12811. public
  12812. procedure clearFRM10; inline;
  12813. procedure clearFRM8; inline;
  12814. procedure clearFRM9; inline;
  12815. procedure setFRM10; inline;
  12816. procedure setFRM8; inline;
  12817. procedure setFRM9; inline;
  12818. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  12819. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  12820. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  12821. property FRMH : TBits_3 read getFRMH write setFRMH;
  12822. end;
  12823. TUSB_U1TOK = record
  12824. private
  12825. function getEP : TBits_4; inline;
  12826. function getEP0 : TBits_1; inline;
  12827. function getEP1 : TBits_1; inline;
  12828. function getEP2 : TBits_1; inline;
  12829. function getEP3 : TBits_1; inline;
  12830. function getPID : TBits_4; inline;
  12831. function getPID0 : TBits_1; inline;
  12832. function getPID1 : TBits_1; inline;
  12833. function getPID2 : TBits_1; inline;
  12834. function getPID3 : TBits_1; inline;
  12835. procedure setEP(thebits : TBits_4); inline;
  12836. procedure setEP0(thebits : TBits_1); inline;
  12837. procedure setEP1(thebits : TBits_1); inline;
  12838. procedure setEP2(thebits : TBits_1); inline;
  12839. procedure setEP3(thebits : TBits_1); inline;
  12840. procedure setPID(thebits : TBits_4); inline;
  12841. procedure setPID0(thebits : TBits_1); inline;
  12842. procedure setPID1(thebits : TBits_1); inline;
  12843. procedure setPID2(thebits : TBits_1); inline;
  12844. procedure setPID3(thebits : TBits_1); inline;
  12845. public
  12846. procedure clearEP0; inline;
  12847. procedure clearEP1; inline;
  12848. procedure clearEP2; inline;
  12849. procedure clearEP3; inline;
  12850. procedure clearPID0; inline;
  12851. procedure clearPID1; inline;
  12852. procedure clearPID2; inline;
  12853. procedure clearPID3; inline;
  12854. procedure setEP0; inline;
  12855. procedure setEP1; inline;
  12856. procedure setEP2; inline;
  12857. procedure setEP3; inline;
  12858. procedure setPID0; inline;
  12859. procedure setPID1; inline;
  12860. procedure setPID2; inline;
  12861. procedure setPID3; inline;
  12862. property EP : TBits_4 read getEP write setEP;
  12863. property EP0 : TBits_1 read getEP0 write setEP0;
  12864. property EP1 : TBits_1 read getEP1 write setEP1;
  12865. property EP2 : TBits_1 read getEP2 write setEP2;
  12866. property EP3 : TBits_1 read getEP3 write setEP3;
  12867. property PID : TBits_4 read getPID write setPID;
  12868. property PID0 : TBits_1 read getPID0 write setPID0;
  12869. property PID1 : TBits_1 read getPID1 write setPID1;
  12870. property PID2 : TBits_1 read getPID2 write setPID2;
  12871. property PID3 : TBits_1 read getPID3 write setPID3;
  12872. end;
  12873. type
  12874. TUSBRegisters = record
  12875. U1OTGIR : longWord;
  12876. U1OTGIRCLR : longWord;
  12877. U1OTGIE : longWord;
  12878. U1OTGIECLR : longWord;
  12879. U1OTGIESET : longWord;
  12880. U1OTGIEINV : longWord;
  12881. U1OTGSTAT : longWord;
  12882. U1OTGCON : longWord;
  12883. U1OTGCONCLR : longWord;
  12884. U1OTGCONSET : longWord;
  12885. U1OTGCONINV : longWord;
  12886. U1PWRC : longWord;
  12887. U1PWRCCLR : longWord;
  12888. U1PWRCSET : longWord;
  12889. U1PWRCINV : longWord;
  12890. U1IRbits : TUSB_U1IR;
  12891. U1IR : longWord;
  12892. U1IRCLR : longWord;
  12893. U1IEbits : TUSB_U1IE;
  12894. U1IE : longWord;
  12895. U1IECLR : longWord;
  12896. U1IESET : longWord;
  12897. U1IEINV : longWord;
  12898. U1EIRbits : TUSB_U1EIR;
  12899. U1EIR : longWord;
  12900. U1EIRCLR : longWord;
  12901. U1EIEbits : TUSB_U1EIE;
  12902. U1EIE : longWord;
  12903. U1EIECLR : longWord;
  12904. U1EIESET : longWord;
  12905. U1EIEINV : longWord;
  12906. U1STATbits : TUSB_U1STAT;
  12907. U1STAT : longWord;
  12908. U1CONbits : TUSB_U1CON;
  12909. U1CON : longWord;
  12910. U1CONCLR : longWord;
  12911. U1CONSET : longWord;
  12912. U1CONINV : longWord;
  12913. U1ADDRbits : TUSB_U1ADDR;
  12914. U1ADDR : longWord;
  12915. U1ADDRCLR : longWord;
  12916. U1ADDRSET : longWord;
  12917. U1ADDRINV : longWord;
  12918. U1BDTP1 : longWord;
  12919. U1BDTP1CLR : longWord;
  12920. U1BDTP1SET : longWord;
  12921. U1BDTP1INV : longWord;
  12922. U1FRMLbits : TUSB_U1FRML;
  12923. U1FRML : longWord;
  12924. U1FRMHbits : TUSB_U1FRMH;
  12925. U1FRMH : longWord;
  12926. U1TOKbits : TUSB_U1TOK;
  12927. U1TOK : longWord;
  12928. U1TOKCLR : longWord;
  12929. U1TOKSET : longWord;
  12930. U1TOKINV : longWord;
  12931. U1SOF : longWord;
  12932. U1SOFCLR : longWord;
  12933. U1SOFSET : longWord;
  12934. U1SOFINV : longWord;
  12935. U1BDTP2 : longWord;
  12936. U1BDTP2CLR : longWord;
  12937. U1BDTP2SET : longWord;
  12938. U1BDTP2INV : longWord;
  12939. U1BDTP3 : longWord;
  12940. U1BDTP3CLR : longWord;
  12941. U1BDTP3SET : longWord;
  12942. U1BDTP3INV : longWord;
  12943. U1CNFG1 : longWord;
  12944. U1CNFG1CLR : longWord;
  12945. U1CNFG1SET : longWord;
  12946. U1CNFG1INV : longWord;
  12947. U1EP0 : longWord;
  12948. U1EP0CLR : longWord;
  12949. U1EP0SET : longWord;
  12950. U1EP0INV : longWord;
  12951. U1EP1 : longWord;
  12952. U1EP1CLR : longWord;
  12953. U1EP1SET : longWord;
  12954. U1EP1INV : longWord;
  12955. U1EP2 : longWord;
  12956. U1EP2CLR : longWord;
  12957. U1EP2SET : longWord;
  12958. U1EP2INV : longWord;
  12959. U1EP3 : longWord;
  12960. U1EP3CLR : longWord;
  12961. U1EP3SET : longWord;
  12962. U1EP3INV : longWord;
  12963. U1EP4 : longWord;
  12964. U1EP4CLR : longWord;
  12965. U1EP4SET : longWord;
  12966. U1EP4INV : longWord;
  12967. U1EP5 : longWord;
  12968. U1EP5CLR : longWord;
  12969. U1EP5SET : longWord;
  12970. U1EP5INV : longWord;
  12971. U1EP6 : longWord;
  12972. U1EP6CLR : longWord;
  12973. U1EP6SET : longWord;
  12974. U1EP6INV : longWord;
  12975. U1EP7 : longWord;
  12976. U1EP7CLR : longWord;
  12977. U1EP7SET : longWord;
  12978. U1EP7INV : longWord;
  12979. U1EP8 : longWord;
  12980. U1EP8CLR : longWord;
  12981. U1EP8SET : longWord;
  12982. U1EP8INV : longWord;
  12983. U1EP9 : longWord;
  12984. U1EP9CLR : longWord;
  12985. U1EP9SET : longWord;
  12986. U1EP9INV : longWord;
  12987. U1EP10 : longWord;
  12988. U1EP10CLR : longWord;
  12989. U1EP10SET : longWord;
  12990. U1EP10INV : longWord;
  12991. U1EP11 : longWord;
  12992. U1EP11CLR : longWord;
  12993. U1EP11SET : longWord;
  12994. U1EP11INV : longWord;
  12995. U1EP12 : longWord;
  12996. U1EP12CLR : longWord;
  12997. U1EP12SET : longWord;
  12998. U1EP12INV : longWord;
  12999. U1EP13 : longWord;
  13000. U1EP13CLR : longWord;
  13001. U1EP13SET : longWord;
  13002. U1EP13INV : longWord;
  13003. U1EP14 : longWord;
  13004. U1EP14CLR : longWord;
  13005. U1EP14SET : longWord;
  13006. U1EP14INV : longWord;
  13007. U1EP15 : longWord;
  13008. U1EP15CLR : longWord;
  13009. U1EP15SET : longWord;
  13010. U1EP15INV : longWord;
  13011. end;
  13012. TPORTA_TRISA = record
  13013. private
  13014. function getTRISA0 : TBits_1; inline;
  13015. function getTRISA1 : TBits_1; inline;
  13016. function getTRISA10 : TBits_1; inline;
  13017. function getTRISA14 : TBits_1; inline;
  13018. function getTRISA15 : TBits_1; inline;
  13019. function getTRISA2 : TBits_1; inline;
  13020. function getTRISA3 : TBits_1; inline;
  13021. function getTRISA4 : TBits_1; inline;
  13022. function getTRISA5 : TBits_1; inline;
  13023. function getTRISA6 : TBits_1; inline;
  13024. function getTRISA7 : TBits_1; inline;
  13025. function getTRISA9 : TBits_1; inline;
  13026. function getw : TBits_32; inline;
  13027. procedure setTRISA0(thebits : TBits_1); inline;
  13028. procedure setTRISA1(thebits : TBits_1); inline;
  13029. procedure setTRISA10(thebits : TBits_1); inline;
  13030. procedure setTRISA14(thebits : TBits_1); inline;
  13031. procedure setTRISA15(thebits : TBits_1); inline;
  13032. procedure setTRISA2(thebits : TBits_1); inline;
  13033. procedure setTRISA3(thebits : TBits_1); inline;
  13034. procedure setTRISA4(thebits : TBits_1); inline;
  13035. procedure setTRISA5(thebits : TBits_1); inline;
  13036. procedure setTRISA6(thebits : TBits_1); inline;
  13037. procedure setTRISA7(thebits : TBits_1); inline;
  13038. procedure setTRISA9(thebits : TBits_1); inline;
  13039. procedure setw(thebits : TBits_32); inline;
  13040. public
  13041. procedure clearTRISA0; inline;
  13042. procedure clearTRISA10; inline;
  13043. procedure clearTRISA14; inline;
  13044. procedure clearTRISA15; inline;
  13045. procedure clearTRISA1; inline;
  13046. procedure clearTRISA2; inline;
  13047. procedure clearTRISA3; inline;
  13048. procedure clearTRISA4; inline;
  13049. procedure clearTRISA5; inline;
  13050. procedure clearTRISA6; inline;
  13051. procedure clearTRISA7; inline;
  13052. procedure clearTRISA9; inline;
  13053. procedure setTRISA0; inline;
  13054. procedure setTRISA10; inline;
  13055. procedure setTRISA14; inline;
  13056. procedure setTRISA15; inline;
  13057. procedure setTRISA1; inline;
  13058. procedure setTRISA2; inline;
  13059. procedure setTRISA3; inline;
  13060. procedure setTRISA4; inline;
  13061. procedure setTRISA5; inline;
  13062. procedure setTRISA6; inline;
  13063. procedure setTRISA7; inline;
  13064. procedure setTRISA9; inline;
  13065. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  13066. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  13067. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  13068. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  13069. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  13070. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  13071. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  13072. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  13073. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  13074. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  13075. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  13076. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  13077. property w : TBits_32 read getw write setw;
  13078. end;
  13079. TPORTA_PORTA = record
  13080. private
  13081. function getRA0 : TBits_1; inline;
  13082. function getRA1 : TBits_1; inline;
  13083. function getRA10 : TBits_1; inline;
  13084. function getRA14 : TBits_1; inline;
  13085. function getRA15 : TBits_1; inline;
  13086. function getRA2 : TBits_1; inline;
  13087. function getRA3 : TBits_1; inline;
  13088. function getRA4 : TBits_1; inline;
  13089. function getRA5 : TBits_1; inline;
  13090. function getRA6 : TBits_1; inline;
  13091. function getRA7 : TBits_1; inline;
  13092. function getRA9 : TBits_1; inline;
  13093. function getw : TBits_32; inline;
  13094. procedure setRA0(thebits : TBits_1); inline;
  13095. procedure setRA1(thebits : TBits_1); inline;
  13096. procedure setRA10(thebits : TBits_1); inline;
  13097. procedure setRA14(thebits : TBits_1); inline;
  13098. procedure setRA15(thebits : TBits_1); inline;
  13099. procedure setRA2(thebits : TBits_1); inline;
  13100. procedure setRA3(thebits : TBits_1); inline;
  13101. procedure setRA4(thebits : TBits_1); inline;
  13102. procedure setRA5(thebits : TBits_1); inline;
  13103. procedure setRA6(thebits : TBits_1); inline;
  13104. procedure setRA7(thebits : TBits_1); inline;
  13105. procedure setRA9(thebits : TBits_1); inline;
  13106. procedure setw(thebits : TBits_32); inline;
  13107. public
  13108. procedure clearRA0; inline;
  13109. procedure clearRA10; inline;
  13110. procedure clearRA14; inline;
  13111. procedure clearRA15; inline;
  13112. procedure clearRA1; inline;
  13113. procedure clearRA2; inline;
  13114. procedure clearRA3; inline;
  13115. procedure clearRA4; inline;
  13116. procedure clearRA5; inline;
  13117. procedure clearRA6; inline;
  13118. procedure clearRA7; inline;
  13119. procedure clearRA9; inline;
  13120. procedure setRA0; inline;
  13121. procedure setRA10; inline;
  13122. procedure setRA14; inline;
  13123. procedure setRA15; inline;
  13124. procedure setRA1; inline;
  13125. procedure setRA2; inline;
  13126. procedure setRA3; inline;
  13127. procedure setRA4; inline;
  13128. procedure setRA5; inline;
  13129. procedure setRA6; inline;
  13130. procedure setRA7; inline;
  13131. procedure setRA9; inline;
  13132. property RA0 : TBits_1 read getRA0 write setRA0;
  13133. property RA1 : TBits_1 read getRA1 write setRA1;
  13134. property RA10 : TBits_1 read getRA10 write setRA10;
  13135. property RA14 : TBits_1 read getRA14 write setRA14;
  13136. property RA15 : TBits_1 read getRA15 write setRA15;
  13137. property RA2 : TBits_1 read getRA2 write setRA2;
  13138. property RA3 : TBits_1 read getRA3 write setRA3;
  13139. property RA4 : TBits_1 read getRA4 write setRA4;
  13140. property RA5 : TBits_1 read getRA5 write setRA5;
  13141. property RA6 : TBits_1 read getRA6 write setRA6;
  13142. property RA7 : TBits_1 read getRA7 write setRA7;
  13143. property RA9 : TBits_1 read getRA9 write setRA9;
  13144. property w : TBits_32 read getw write setw;
  13145. end;
  13146. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA5=5,RA6=6,RA7=7,RA9=9,RA10=10,RA14=14,RA15=15);
  13147. TPortA_bitset = set of TPortA_bits;
  13148. TPORTA_LATA = record
  13149. private
  13150. function getLATA0 : TBits_1; inline;
  13151. function getLATA1 : TBits_1; inline;
  13152. function getLATA10 : TBits_1; inline;
  13153. function getLATA14 : TBits_1; inline;
  13154. function getLATA15 : TBits_1; inline;
  13155. function getLATA2 : TBits_1; inline;
  13156. function getLATA3 : TBits_1; inline;
  13157. function getLATA4 : TBits_1; inline;
  13158. function getLATA5 : TBits_1; inline;
  13159. function getLATA6 : TBits_1; inline;
  13160. function getLATA7 : TBits_1; inline;
  13161. function getLATA9 : TBits_1; inline;
  13162. function getw : TBits_32; inline;
  13163. procedure setLATA0(thebits : TBits_1); inline;
  13164. procedure setLATA1(thebits : TBits_1); inline;
  13165. procedure setLATA10(thebits : TBits_1); inline;
  13166. procedure setLATA14(thebits : TBits_1); inline;
  13167. procedure setLATA15(thebits : TBits_1); inline;
  13168. procedure setLATA2(thebits : TBits_1); inline;
  13169. procedure setLATA3(thebits : TBits_1); inline;
  13170. procedure setLATA4(thebits : TBits_1); inline;
  13171. procedure setLATA5(thebits : TBits_1); inline;
  13172. procedure setLATA6(thebits : TBits_1); inline;
  13173. procedure setLATA7(thebits : TBits_1); inline;
  13174. procedure setLATA9(thebits : TBits_1); inline;
  13175. procedure setw(thebits : TBits_32); inline;
  13176. public
  13177. procedure clearLATA0; inline;
  13178. procedure clearLATA10; inline;
  13179. procedure clearLATA14; inline;
  13180. procedure clearLATA15; inline;
  13181. procedure clearLATA1; inline;
  13182. procedure clearLATA2; inline;
  13183. procedure clearLATA3; inline;
  13184. procedure clearLATA4; inline;
  13185. procedure clearLATA5; inline;
  13186. procedure clearLATA6; inline;
  13187. procedure clearLATA7; inline;
  13188. procedure clearLATA9; inline;
  13189. procedure setLATA0; inline;
  13190. procedure setLATA10; inline;
  13191. procedure setLATA14; inline;
  13192. procedure setLATA15; inline;
  13193. procedure setLATA1; inline;
  13194. procedure setLATA2; inline;
  13195. procedure setLATA3; inline;
  13196. procedure setLATA4; inline;
  13197. procedure setLATA5; inline;
  13198. procedure setLATA6; inline;
  13199. procedure setLATA7; inline;
  13200. procedure setLATA9; inline;
  13201. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  13202. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  13203. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  13204. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  13205. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  13206. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  13207. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  13208. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  13209. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  13210. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  13211. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  13212. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  13213. property w : TBits_32 read getw write setw;
  13214. end;
  13215. TPORTA_ODCA = record
  13216. private
  13217. function getODCA0 : TBits_1; inline;
  13218. function getODCA1 : TBits_1; inline;
  13219. function getODCA10 : TBits_1; inline;
  13220. function getODCA14 : TBits_1; inline;
  13221. function getODCA15 : TBits_1; inline;
  13222. function getODCA2 : TBits_1; inline;
  13223. function getODCA3 : TBits_1; inline;
  13224. function getODCA4 : TBits_1; inline;
  13225. function getODCA5 : TBits_1; inline;
  13226. function getODCA6 : TBits_1; inline;
  13227. function getODCA7 : TBits_1; inline;
  13228. function getODCA9 : TBits_1; inline;
  13229. function getw : TBits_32; inline;
  13230. procedure setODCA0(thebits : TBits_1); inline;
  13231. procedure setODCA1(thebits : TBits_1); inline;
  13232. procedure setODCA10(thebits : TBits_1); inline;
  13233. procedure setODCA14(thebits : TBits_1); inline;
  13234. procedure setODCA15(thebits : TBits_1); inline;
  13235. procedure setODCA2(thebits : TBits_1); inline;
  13236. procedure setODCA3(thebits : TBits_1); inline;
  13237. procedure setODCA4(thebits : TBits_1); inline;
  13238. procedure setODCA5(thebits : TBits_1); inline;
  13239. procedure setODCA6(thebits : TBits_1); inline;
  13240. procedure setODCA7(thebits : TBits_1); inline;
  13241. procedure setODCA9(thebits : TBits_1); inline;
  13242. procedure setw(thebits : TBits_32); inline;
  13243. public
  13244. procedure clearODCA0; inline;
  13245. procedure clearODCA10; inline;
  13246. procedure clearODCA14; inline;
  13247. procedure clearODCA15; inline;
  13248. procedure clearODCA1; inline;
  13249. procedure clearODCA2; inline;
  13250. procedure clearODCA3; inline;
  13251. procedure clearODCA4; inline;
  13252. procedure clearODCA5; inline;
  13253. procedure clearODCA6; inline;
  13254. procedure clearODCA7; inline;
  13255. procedure clearODCA9; inline;
  13256. procedure setODCA0; inline;
  13257. procedure setODCA10; inline;
  13258. procedure setODCA14; inline;
  13259. procedure setODCA15; inline;
  13260. procedure setODCA1; inline;
  13261. procedure setODCA2; inline;
  13262. procedure setODCA3; inline;
  13263. procedure setODCA4; inline;
  13264. procedure setODCA5; inline;
  13265. procedure setODCA6; inline;
  13266. procedure setODCA7; inline;
  13267. procedure setODCA9; inline;
  13268. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  13269. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  13270. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  13271. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  13272. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  13273. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  13274. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  13275. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  13276. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  13277. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  13278. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  13279. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  13280. property w : TBits_32 read getw write setw;
  13281. end;
  13282. type
  13283. TPORTARegisters = record
  13284. TRISAbits : TPORTA_TRISA;
  13285. TRISA : longWord;
  13286. TRISACLR : longWord;
  13287. TRISASET : longWord;
  13288. TRISAINV : longWord;
  13289. PORTAbits : TPORTA_PORTA;
  13290. PORTA : longWord;
  13291. PORTACLR : longWord;
  13292. PORTASET : longWord;
  13293. PORTAINV : longWord;
  13294. LATAbits : TPORTA_LATA;
  13295. LATA : longWord;
  13296. LATACLR : longWord;
  13297. LATASET : longWord;
  13298. LATAINV : longWord;
  13299. ODCAbits : TPORTA_ODCA;
  13300. ODCA : longWord;
  13301. ODCACLR : longWord;
  13302. ODCASET : longWord;
  13303. ODCAINV : longWord;
  13304. end;
  13305. TPORTB_TRISB = record
  13306. private
  13307. function getTRISB0 : TBits_1; inline;
  13308. function getTRISB1 : TBits_1; inline;
  13309. function getTRISB10 : TBits_1; inline;
  13310. function getTRISB11 : TBits_1; inline;
  13311. function getTRISB12 : TBits_1; inline;
  13312. function getTRISB13 : TBits_1; inline;
  13313. function getTRISB14 : TBits_1; inline;
  13314. function getTRISB15 : TBits_1; inline;
  13315. function getTRISB2 : TBits_1; inline;
  13316. function getTRISB3 : TBits_1; inline;
  13317. function getTRISB4 : TBits_1; inline;
  13318. function getTRISB5 : TBits_1; inline;
  13319. function getTRISB6 : TBits_1; inline;
  13320. function getTRISB7 : TBits_1; inline;
  13321. function getTRISB8 : TBits_1; inline;
  13322. function getTRISB9 : TBits_1; inline;
  13323. function getw : TBits_32; inline;
  13324. procedure setTRISB0(thebits : TBits_1); inline;
  13325. procedure setTRISB1(thebits : TBits_1); inline;
  13326. procedure setTRISB10(thebits : TBits_1); inline;
  13327. procedure setTRISB11(thebits : TBits_1); inline;
  13328. procedure setTRISB12(thebits : TBits_1); inline;
  13329. procedure setTRISB13(thebits : TBits_1); inline;
  13330. procedure setTRISB14(thebits : TBits_1); inline;
  13331. procedure setTRISB15(thebits : TBits_1); inline;
  13332. procedure setTRISB2(thebits : TBits_1); inline;
  13333. procedure setTRISB3(thebits : TBits_1); inline;
  13334. procedure setTRISB4(thebits : TBits_1); inline;
  13335. procedure setTRISB5(thebits : TBits_1); inline;
  13336. procedure setTRISB6(thebits : TBits_1); inline;
  13337. procedure setTRISB7(thebits : TBits_1); inline;
  13338. procedure setTRISB8(thebits : TBits_1); inline;
  13339. procedure setTRISB9(thebits : TBits_1); inline;
  13340. procedure setw(thebits : TBits_32); inline;
  13341. public
  13342. procedure clearTRISB0; inline;
  13343. procedure clearTRISB10; inline;
  13344. procedure clearTRISB11; inline;
  13345. procedure clearTRISB12; inline;
  13346. procedure clearTRISB13; inline;
  13347. procedure clearTRISB14; inline;
  13348. procedure clearTRISB15; inline;
  13349. procedure clearTRISB1; inline;
  13350. procedure clearTRISB2; inline;
  13351. procedure clearTRISB3; inline;
  13352. procedure clearTRISB4; inline;
  13353. procedure clearTRISB5; inline;
  13354. procedure clearTRISB6; inline;
  13355. procedure clearTRISB7; inline;
  13356. procedure clearTRISB8; inline;
  13357. procedure clearTRISB9; inline;
  13358. procedure setTRISB0; inline;
  13359. procedure setTRISB10; inline;
  13360. procedure setTRISB11; inline;
  13361. procedure setTRISB12; inline;
  13362. procedure setTRISB13; inline;
  13363. procedure setTRISB14; inline;
  13364. procedure setTRISB15; inline;
  13365. procedure setTRISB1; inline;
  13366. procedure setTRISB2; inline;
  13367. procedure setTRISB3; inline;
  13368. procedure setTRISB4; inline;
  13369. procedure setTRISB5; inline;
  13370. procedure setTRISB6; inline;
  13371. procedure setTRISB7; inline;
  13372. procedure setTRISB8; inline;
  13373. procedure setTRISB9; inline;
  13374. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  13375. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  13376. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  13377. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  13378. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  13379. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  13380. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  13381. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  13382. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  13383. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  13384. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  13385. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  13386. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  13387. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  13388. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  13389. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  13390. property w : TBits_32 read getw write setw;
  13391. end;
  13392. TPORTB_PORTB = record
  13393. private
  13394. function getRB0 : TBits_1; inline;
  13395. function getRB1 : TBits_1; inline;
  13396. function getRB10 : TBits_1; inline;
  13397. function getRB11 : TBits_1; inline;
  13398. function getRB12 : TBits_1; inline;
  13399. function getRB13 : TBits_1; inline;
  13400. function getRB14 : TBits_1; inline;
  13401. function getRB15 : TBits_1; inline;
  13402. function getRB2 : TBits_1; inline;
  13403. function getRB3 : TBits_1; inline;
  13404. function getRB4 : TBits_1; inline;
  13405. function getRB5 : TBits_1; inline;
  13406. function getRB6 : TBits_1; inline;
  13407. function getRB7 : TBits_1; inline;
  13408. function getRB8 : TBits_1; inline;
  13409. function getRB9 : TBits_1; inline;
  13410. function getw : TBits_32; inline;
  13411. procedure setRB0(thebits : TBits_1); inline;
  13412. procedure setRB1(thebits : TBits_1); inline;
  13413. procedure setRB10(thebits : TBits_1); inline;
  13414. procedure setRB11(thebits : TBits_1); inline;
  13415. procedure setRB12(thebits : TBits_1); inline;
  13416. procedure setRB13(thebits : TBits_1); inline;
  13417. procedure setRB14(thebits : TBits_1); inline;
  13418. procedure setRB15(thebits : TBits_1); inline;
  13419. procedure setRB2(thebits : TBits_1); inline;
  13420. procedure setRB3(thebits : TBits_1); inline;
  13421. procedure setRB4(thebits : TBits_1); inline;
  13422. procedure setRB5(thebits : TBits_1); inline;
  13423. procedure setRB6(thebits : TBits_1); inline;
  13424. procedure setRB7(thebits : TBits_1); inline;
  13425. procedure setRB8(thebits : TBits_1); inline;
  13426. procedure setRB9(thebits : TBits_1); inline;
  13427. procedure setw(thebits : TBits_32); inline;
  13428. public
  13429. procedure clearRB0; inline;
  13430. procedure clearRB10; inline;
  13431. procedure clearRB11; inline;
  13432. procedure clearRB12; inline;
  13433. procedure clearRB13; inline;
  13434. procedure clearRB14; inline;
  13435. procedure clearRB15; inline;
  13436. procedure clearRB1; inline;
  13437. procedure clearRB2; inline;
  13438. procedure clearRB3; inline;
  13439. procedure clearRB4; inline;
  13440. procedure clearRB5; inline;
  13441. procedure clearRB6; inline;
  13442. procedure clearRB7; inline;
  13443. procedure clearRB8; inline;
  13444. procedure clearRB9; inline;
  13445. procedure setRB0; inline;
  13446. procedure setRB10; inline;
  13447. procedure setRB11; inline;
  13448. procedure setRB12; inline;
  13449. procedure setRB13; inline;
  13450. procedure setRB14; inline;
  13451. procedure setRB15; inline;
  13452. procedure setRB1; inline;
  13453. procedure setRB2; inline;
  13454. procedure setRB3; inline;
  13455. procedure setRB4; inline;
  13456. procedure setRB5; inline;
  13457. procedure setRB6; inline;
  13458. procedure setRB7; inline;
  13459. procedure setRB8; inline;
  13460. procedure setRB9; inline;
  13461. property RB0 : TBits_1 read getRB0 write setRB0;
  13462. property RB1 : TBits_1 read getRB1 write setRB1;
  13463. property RB10 : TBits_1 read getRB10 write setRB10;
  13464. property RB11 : TBits_1 read getRB11 write setRB11;
  13465. property RB12 : TBits_1 read getRB12 write setRB12;
  13466. property RB13 : TBits_1 read getRB13 write setRB13;
  13467. property RB14 : TBits_1 read getRB14 write setRB14;
  13468. property RB15 : TBits_1 read getRB15 write setRB15;
  13469. property RB2 : TBits_1 read getRB2 write setRB2;
  13470. property RB3 : TBits_1 read getRB3 write setRB3;
  13471. property RB4 : TBits_1 read getRB4 write setRB4;
  13472. property RB5 : TBits_1 read getRB5 write setRB5;
  13473. property RB6 : TBits_1 read getRB6 write setRB6;
  13474. property RB7 : TBits_1 read getRB7 write setRB7;
  13475. property RB8 : TBits_1 read getRB8 write setRB8;
  13476. property RB9 : TBits_1 read getRB9 write setRB9;
  13477. property w : TBits_32 read getw write setw;
  13478. end;
  13479. 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);
  13480. TPortB_bitset = set of TPortB_bits;
  13481. TPORTB_LATB = record
  13482. private
  13483. function getLATB0 : TBits_1; inline;
  13484. function getLATB1 : TBits_1; inline;
  13485. function getLATB10 : TBits_1; inline;
  13486. function getLATB11 : TBits_1; inline;
  13487. function getLATB12 : TBits_1; inline;
  13488. function getLATB13 : TBits_1; inline;
  13489. function getLATB14 : TBits_1; inline;
  13490. function getLATB15 : TBits_1; inline;
  13491. function getLATB2 : TBits_1; inline;
  13492. function getLATB3 : TBits_1; inline;
  13493. function getLATB4 : TBits_1; inline;
  13494. function getLATB5 : TBits_1; inline;
  13495. function getLATB6 : TBits_1; inline;
  13496. function getLATB7 : TBits_1; inline;
  13497. function getLATB8 : TBits_1; inline;
  13498. function getLATB9 : TBits_1; inline;
  13499. function getw : TBits_32; inline;
  13500. procedure setLATB0(thebits : TBits_1); inline;
  13501. procedure setLATB1(thebits : TBits_1); inline;
  13502. procedure setLATB10(thebits : TBits_1); inline;
  13503. procedure setLATB11(thebits : TBits_1); inline;
  13504. procedure setLATB12(thebits : TBits_1); inline;
  13505. procedure setLATB13(thebits : TBits_1); inline;
  13506. procedure setLATB14(thebits : TBits_1); inline;
  13507. procedure setLATB15(thebits : TBits_1); inline;
  13508. procedure setLATB2(thebits : TBits_1); inline;
  13509. procedure setLATB3(thebits : TBits_1); inline;
  13510. procedure setLATB4(thebits : TBits_1); inline;
  13511. procedure setLATB5(thebits : TBits_1); inline;
  13512. procedure setLATB6(thebits : TBits_1); inline;
  13513. procedure setLATB7(thebits : TBits_1); inline;
  13514. procedure setLATB8(thebits : TBits_1); inline;
  13515. procedure setLATB9(thebits : TBits_1); inline;
  13516. procedure setw(thebits : TBits_32); inline;
  13517. public
  13518. procedure clearLATB0; inline;
  13519. procedure clearLATB10; inline;
  13520. procedure clearLATB11; inline;
  13521. procedure clearLATB12; inline;
  13522. procedure clearLATB13; inline;
  13523. procedure clearLATB14; inline;
  13524. procedure clearLATB15; inline;
  13525. procedure clearLATB1; inline;
  13526. procedure clearLATB2; inline;
  13527. procedure clearLATB3; inline;
  13528. procedure clearLATB4; inline;
  13529. procedure clearLATB5; inline;
  13530. procedure clearLATB6; inline;
  13531. procedure clearLATB7; inline;
  13532. procedure clearLATB8; inline;
  13533. procedure clearLATB9; inline;
  13534. procedure setLATB0; inline;
  13535. procedure setLATB10; inline;
  13536. procedure setLATB11; inline;
  13537. procedure setLATB12; inline;
  13538. procedure setLATB13; inline;
  13539. procedure setLATB14; inline;
  13540. procedure setLATB15; inline;
  13541. procedure setLATB1; inline;
  13542. procedure setLATB2; inline;
  13543. procedure setLATB3; inline;
  13544. procedure setLATB4; inline;
  13545. procedure setLATB5; inline;
  13546. procedure setLATB6; inline;
  13547. procedure setLATB7; inline;
  13548. procedure setLATB8; inline;
  13549. procedure setLATB9; inline;
  13550. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  13551. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  13552. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  13553. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  13554. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  13555. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  13556. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  13557. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  13558. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  13559. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  13560. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  13561. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  13562. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  13563. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  13564. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  13565. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  13566. property w : TBits_32 read getw write setw;
  13567. end;
  13568. TPORTB_ODCB = record
  13569. private
  13570. function getODCB0 : TBits_1; inline;
  13571. function getODCB1 : TBits_1; inline;
  13572. function getODCB10 : TBits_1; inline;
  13573. function getODCB11 : TBits_1; inline;
  13574. function getODCB12 : TBits_1; inline;
  13575. function getODCB13 : TBits_1; inline;
  13576. function getODCB14 : TBits_1; inline;
  13577. function getODCB15 : TBits_1; inline;
  13578. function getODCB2 : TBits_1; inline;
  13579. function getODCB3 : TBits_1; inline;
  13580. function getODCB4 : TBits_1; inline;
  13581. function getODCB5 : TBits_1; inline;
  13582. function getODCB6 : TBits_1; inline;
  13583. function getODCB7 : TBits_1; inline;
  13584. function getODCB8 : TBits_1; inline;
  13585. function getODCB9 : TBits_1; inline;
  13586. function getw : TBits_32; inline;
  13587. procedure setODCB0(thebits : TBits_1); inline;
  13588. procedure setODCB1(thebits : TBits_1); inline;
  13589. procedure setODCB10(thebits : TBits_1); inline;
  13590. procedure setODCB11(thebits : TBits_1); inline;
  13591. procedure setODCB12(thebits : TBits_1); inline;
  13592. procedure setODCB13(thebits : TBits_1); inline;
  13593. procedure setODCB14(thebits : TBits_1); inline;
  13594. procedure setODCB15(thebits : TBits_1); inline;
  13595. procedure setODCB2(thebits : TBits_1); inline;
  13596. procedure setODCB3(thebits : TBits_1); inline;
  13597. procedure setODCB4(thebits : TBits_1); inline;
  13598. procedure setODCB5(thebits : TBits_1); inline;
  13599. procedure setODCB6(thebits : TBits_1); inline;
  13600. procedure setODCB7(thebits : TBits_1); inline;
  13601. procedure setODCB8(thebits : TBits_1); inline;
  13602. procedure setODCB9(thebits : TBits_1); inline;
  13603. procedure setw(thebits : TBits_32); inline;
  13604. public
  13605. procedure clearODCB0; inline;
  13606. procedure clearODCB10; inline;
  13607. procedure clearODCB11; inline;
  13608. procedure clearODCB12; inline;
  13609. procedure clearODCB13; inline;
  13610. procedure clearODCB14; inline;
  13611. procedure clearODCB15; inline;
  13612. procedure clearODCB1; inline;
  13613. procedure clearODCB2; inline;
  13614. procedure clearODCB3; inline;
  13615. procedure clearODCB4; inline;
  13616. procedure clearODCB5; inline;
  13617. procedure clearODCB6; inline;
  13618. procedure clearODCB7; inline;
  13619. procedure clearODCB8; inline;
  13620. procedure clearODCB9; inline;
  13621. procedure setODCB0; inline;
  13622. procedure setODCB10; inline;
  13623. procedure setODCB11; inline;
  13624. procedure setODCB12; inline;
  13625. procedure setODCB13; inline;
  13626. procedure setODCB14; inline;
  13627. procedure setODCB15; inline;
  13628. procedure setODCB1; inline;
  13629. procedure setODCB2; inline;
  13630. procedure setODCB3; inline;
  13631. procedure setODCB4; inline;
  13632. procedure setODCB5; inline;
  13633. procedure setODCB6; inline;
  13634. procedure setODCB7; inline;
  13635. procedure setODCB8; inline;
  13636. procedure setODCB9; inline;
  13637. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  13638. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  13639. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  13640. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  13641. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  13642. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  13643. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  13644. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  13645. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  13646. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  13647. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  13648. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  13649. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  13650. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  13651. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  13652. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  13653. property w : TBits_32 read getw write setw;
  13654. end;
  13655. type
  13656. TPORTBRegisters = record
  13657. TRISBbits : TPORTB_TRISB;
  13658. TRISB : longWord;
  13659. TRISBCLR : longWord;
  13660. TRISBSET : longWord;
  13661. TRISBINV : longWord;
  13662. PORTBbits : TPORTB_PORTB;
  13663. PORTB : longWord;
  13664. PORTBCLR : longWord;
  13665. PORTBSET : longWord;
  13666. PORTBINV : longWord;
  13667. LATBbits : TPORTB_LATB;
  13668. LATB : longWord;
  13669. LATBCLR : longWord;
  13670. LATBSET : longWord;
  13671. LATBINV : longWord;
  13672. ODCBbits : TPORTB_ODCB;
  13673. ODCB : longWord;
  13674. ODCBCLR : longWord;
  13675. ODCBSET : longWord;
  13676. ODCBINV : longWord;
  13677. end;
  13678. TPORTC_TRISC = record
  13679. private
  13680. function getTRISC1 : TBits_1; inline;
  13681. function getTRISC12 : TBits_1; inline;
  13682. function getTRISC13 : TBits_1; inline;
  13683. function getTRISC14 : TBits_1; inline;
  13684. function getTRISC15 : TBits_1; inline;
  13685. function getTRISC2 : TBits_1; inline;
  13686. function getTRISC3 : TBits_1; inline;
  13687. function getTRISC4 : TBits_1; inline;
  13688. function getw : TBits_32; inline;
  13689. procedure setTRISC1(thebits : TBits_1); inline;
  13690. procedure setTRISC12(thebits : TBits_1); inline;
  13691. procedure setTRISC13(thebits : TBits_1); inline;
  13692. procedure setTRISC14(thebits : TBits_1); inline;
  13693. procedure setTRISC15(thebits : TBits_1); inline;
  13694. procedure setTRISC2(thebits : TBits_1); inline;
  13695. procedure setTRISC3(thebits : TBits_1); inline;
  13696. procedure setTRISC4(thebits : TBits_1); inline;
  13697. procedure setw(thebits : TBits_32); inline;
  13698. public
  13699. procedure clearTRISC12; inline;
  13700. procedure clearTRISC13; inline;
  13701. procedure clearTRISC14; inline;
  13702. procedure clearTRISC15; inline;
  13703. procedure clearTRISC1; inline;
  13704. procedure clearTRISC2; inline;
  13705. procedure clearTRISC3; inline;
  13706. procedure clearTRISC4; inline;
  13707. procedure setTRISC12; inline;
  13708. procedure setTRISC13; inline;
  13709. procedure setTRISC14; inline;
  13710. procedure setTRISC15; inline;
  13711. procedure setTRISC1; inline;
  13712. procedure setTRISC2; inline;
  13713. procedure setTRISC3; inline;
  13714. procedure setTRISC4; inline;
  13715. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  13716. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  13717. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  13718. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  13719. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  13720. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  13721. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  13722. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  13723. property w : TBits_32 read getw write setw;
  13724. end;
  13725. TPORTC_PORTC = record
  13726. private
  13727. function getRC1 : TBits_1; inline;
  13728. function getRC12 : TBits_1; inline;
  13729. function getRC13 : TBits_1; inline;
  13730. function getRC14 : TBits_1; inline;
  13731. function getRC15 : TBits_1; inline;
  13732. function getRC2 : TBits_1; inline;
  13733. function getRC3 : TBits_1; inline;
  13734. function getRC4 : TBits_1; inline;
  13735. function getw : TBits_32; inline;
  13736. procedure setRC1(thebits : TBits_1); inline;
  13737. procedure setRC12(thebits : TBits_1); inline;
  13738. procedure setRC13(thebits : TBits_1); inline;
  13739. procedure setRC14(thebits : TBits_1); inline;
  13740. procedure setRC15(thebits : TBits_1); inline;
  13741. procedure setRC2(thebits : TBits_1); inline;
  13742. procedure setRC3(thebits : TBits_1); inline;
  13743. procedure setRC4(thebits : TBits_1); inline;
  13744. procedure setw(thebits : TBits_32); inline;
  13745. public
  13746. procedure clearRC12; inline;
  13747. procedure clearRC13; inline;
  13748. procedure clearRC14; inline;
  13749. procedure clearRC15; inline;
  13750. procedure clearRC1; inline;
  13751. procedure clearRC2; inline;
  13752. procedure clearRC3; inline;
  13753. procedure clearRC4; inline;
  13754. procedure setRC12; inline;
  13755. procedure setRC13; inline;
  13756. procedure setRC14; inline;
  13757. procedure setRC15; inline;
  13758. procedure setRC1; inline;
  13759. procedure setRC2; inline;
  13760. procedure setRC3; inline;
  13761. procedure setRC4; inline;
  13762. property RC1 : TBits_1 read getRC1 write setRC1;
  13763. property RC12 : TBits_1 read getRC12 write setRC12;
  13764. property RC13 : TBits_1 read getRC13 write setRC13;
  13765. property RC14 : TBits_1 read getRC14 write setRC14;
  13766. property RC15 : TBits_1 read getRC15 write setRC15;
  13767. property RC2 : TBits_1 read getRC2 write setRC2;
  13768. property RC3 : TBits_1 read getRC3 write setRC3;
  13769. property RC4 : TBits_1 read getRC4 write setRC4;
  13770. property w : TBits_32 read getw write setw;
  13771. end;
  13772. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  13773. TPortC_bitset = set of TPortC_bits;
  13774. TPORTC_LATC = record
  13775. private
  13776. function getLATC1 : TBits_1; inline;
  13777. function getLATC12 : TBits_1; inline;
  13778. function getLATC13 : TBits_1; inline;
  13779. function getLATC14 : TBits_1; inline;
  13780. function getLATC15 : TBits_1; inline;
  13781. function getLATC2 : TBits_1; inline;
  13782. function getLATC3 : TBits_1; inline;
  13783. function getLATC4 : TBits_1; inline;
  13784. function getw : TBits_32; inline;
  13785. procedure setLATC1(thebits : TBits_1); inline;
  13786. procedure setLATC12(thebits : TBits_1); inline;
  13787. procedure setLATC13(thebits : TBits_1); inline;
  13788. procedure setLATC14(thebits : TBits_1); inline;
  13789. procedure setLATC15(thebits : TBits_1); inline;
  13790. procedure setLATC2(thebits : TBits_1); inline;
  13791. procedure setLATC3(thebits : TBits_1); inline;
  13792. procedure setLATC4(thebits : TBits_1); inline;
  13793. procedure setw(thebits : TBits_32); inline;
  13794. public
  13795. procedure clearLATC12; inline;
  13796. procedure clearLATC13; inline;
  13797. procedure clearLATC14; inline;
  13798. procedure clearLATC15; inline;
  13799. procedure clearLATC1; inline;
  13800. procedure clearLATC2; inline;
  13801. procedure clearLATC3; inline;
  13802. procedure clearLATC4; inline;
  13803. procedure setLATC12; inline;
  13804. procedure setLATC13; inline;
  13805. procedure setLATC14; inline;
  13806. procedure setLATC15; inline;
  13807. procedure setLATC1; inline;
  13808. procedure setLATC2; inline;
  13809. procedure setLATC3; inline;
  13810. procedure setLATC4; inline;
  13811. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  13812. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  13813. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  13814. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  13815. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  13816. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  13817. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  13818. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  13819. property w : TBits_32 read getw write setw;
  13820. end;
  13821. TPORTC_ODCC = record
  13822. private
  13823. function getODCC1 : TBits_1; inline;
  13824. function getODCC12 : TBits_1; inline;
  13825. function getODCC13 : TBits_1; inline;
  13826. function getODCC14 : TBits_1; inline;
  13827. function getODCC15 : TBits_1; inline;
  13828. function getODCC2 : TBits_1; inline;
  13829. function getODCC3 : TBits_1; inline;
  13830. function getODCC4 : TBits_1; inline;
  13831. function getw : TBits_32; inline;
  13832. procedure setODCC1(thebits : TBits_1); inline;
  13833. procedure setODCC12(thebits : TBits_1); inline;
  13834. procedure setODCC13(thebits : TBits_1); inline;
  13835. procedure setODCC14(thebits : TBits_1); inline;
  13836. procedure setODCC15(thebits : TBits_1); inline;
  13837. procedure setODCC2(thebits : TBits_1); inline;
  13838. procedure setODCC3(thebits : TBits_1); inline;
  13839. procedure setODCC4(thebits : TBits_1); inline;
  13840. procedure setw(thebits : TBits_32); inline;
  13841. public
  13842. procedure clearODCC12; inline;
  13843. procedure clearODCC13; inline;
  13844. procedure clearODCC14; inline;
  13845. procedure clearODCC15; inline;
  13846. procedure clearODCC1; inline;
  13847. procedure clearODCC2; inline;
  13848. procedure clearODCC3; inline;
  13849. procedure clearODCC4; inline;
  13850. procedure setODCC12; inline;
  13851. procedure setODCC13; inline;
  13852. procedure setODCC14; inline;
  13853. procedure setODCC15; inline;
  13854. procedure setODCC1; inline;
  13855. procedure setODCC2; inline;
  13856. procedure setODCC3; inline;
  13857. procedure setODCC4; inline;
  13858. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  13859. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  13860. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  13861. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  13862. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  13863. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  13864. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  13865. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  13866. property w : TBits_32 read getw write setw;
  13867. end;
  13868. type
  13869. TPORTCRegisters = record
  13870. TRISCbits : TPORTC_TRISC;
  13871. TRISC : longWord;
  13872. TRISCCLR : longWord;
  13873. TRISCSET : longWord;
  13874. TRISCINV : longWord;
  13875. PORTCbits : TPORTC_PORTC;
  13876. PORTC : longWord;
  13877. PORTCCLR : longWord;
  13878. PORTCSET : longWord;
  13879. PORTCINV : longWord;
  13880. LATCbits : TPORTC_LATC;
  13881. LATC : longWord;
  13882. LATCCLR : longWord;
  13883. LATCSET : longWord;
  13884. LATCINV : longWord;
  13885. ODCCbits : TPORTC_ODCC;
  13886. ODCC : longWord;
  13887. ODCCCLR : longWord;
  13888. ODCCSET : longWord;
  13889. ODCCINV : longWord;
  13890. end;
  13891. TPORTD_TRISD = record
  13892. private
  13893. function getTRISD0 : TBits_1; inline;
  13894. function getTRISD1 : TBits_1; inline;
  13895. function getTRISD10 : TBits_1; inline;
  13896. function getTRISD11 : TBits_1; inline;
  13897. function getTRISD12 : TBits_1; inline;
  13898. function getTRISD13 : TBits_1; inline;
  13899. function getTRISD14 : TBits_1; inline;
  13900. function getTRISD15 : TBits_1; inline;
  13901. function getTRISD2 : TBits_1; inline;
  13902. function getTRISD3 : TBits_1; inline;
  13903. function getTRISD4 : TBits_1; inline;
  13904. function getTRISD5 : TBits_1; inline;
  13905. function getTRISD6 : TBits_1; inline;
  13906. function getTRISD7 : TBits_1; inline;
  13907. function getTRISD8 : TBits_1; inline;
  13908. function getTRISD9 : TBits_1; inline;
  13909. function getw : TBits_32; inline;
  13910. procedure setTRISD0(thebits : TBits_1); inline;
  13911. procedure setTRISD1(thebits : TBits_1); inline;
  13912. procedure setTRISD10(thebits : TBits_1); inline;
  13913. procedure setTRISD11(thebits : TBits_1); inline;
  13914. procedure setTRISD12(thebits : TBits_1); inline;
  13915. procedure setTRISD13(thebits : TBits_1); inline;
  13916. procedure setTRISD14(thebits : TBits_1); inline;
  13917. procedure setTRISD15(thebits : TBits_1); inline;
  13918. procedure setTRISD2(thebits : TBits_1); inline;
  13919. procedure setTRISD3(thebits : TBits_1); inline;
  13920. procedure setTRISD4(thebits : TBits_1); inline;
  13921. procedure setTRISD5(thebits : TBits_1); inline;
  13922. procedure setTRISD6(thebits : TBits_1); inline;
  13923. procedure setTRISD7(thebits : TBits_1); inline;
  13924. procedure setTRISD8(thebits : TBits_1); inline;
  13925. procedure setTRISD9(thebits : TBits_1); inline;
  13926. procedure setw(thebits : TBits_32); inline;
  13927. public
  13928. procedure clearTRISD0; inline;
  13929. procedure clearTRISD10; inline;
  13930. procedure clearTRISD11; inline;
  13931. procedure clearTRISD12; inline;
  13932. procedure clearTRISD13; inline;
  13933. procedure clearTRISD14; inline;
  13934. procedure clearTRISD15; inline;
  13935. procedure clearTRISD1; inline;
  13936. procedure clearTRISD2; inline;
  13937. procedure clearTRISD3; inline;
  13938. procedure clearTRISD4; inline;
  13939. procedure clearTRISD5; inline;
  13940. procedure clearTRISD6; inline;
  13941. procedure clearTRISD7; inline;
  13942. procedure clearTRISD8; inline;
  13943. procedure clearTRISD9; inline;
  13944. procedure setTRISD0; inline;
  13945. procedure setTRISD10; inline;
  13946. procedure setTRISD11; inline;
  13947. procedure setTRISD12; inline;
  13948. procedure setTRISD13; inline;
  13949. procedure setTRISD14; inline;
  13950. procedure setTRISD15; inline;
  13951. procedure setTRISD1; inline;
  13952. procedure setTRISD2; inline;
  13953. procedure setTRISD3; inline;
  13954. procedure setTRISD4; inline;
  13955. procedure setTRISD5; inline;
  13956. procedure setTRISD6; inline;
  13957. procedure setTRISD7; inline;
  13958. procedure setTRISD8; inline;
  13959. procedure setTRISD9; inline;
  13960. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  13961. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  13962. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  13963. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  13964. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  13965. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  13966. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  13967. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  13968. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  13969. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  13970. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  13971. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  13972. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  13973. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  13974. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  13975. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  13976. property w : TBits_32 read getw write setw;
  13977. end;
  13978. TPORTD_PORTD = record
  13979. private
  13980. function getRD0 : TBits_1; inline;
  13981. function getRD1 : TBits_1; inline;
  13982. function getRD10 : TBits_1; inline;
  13983. function getRD11 : TBits_1; inline;
  13984. function getRD12 : TBits_1; inline;
  13985. function getRD13 : TBits_1; inline;
  13986. function getRD14 : TBits_1; inline;
  13987. function getRD15 : TBits_1; inline;
  13988. function getRD2 : TBits_1; inline;
  13989. function getRD3 : TBits_1; inline;
  13990. function getRD4 : TBits_1; inline;
  13991. function getRD5 : TBits_1; inline;
  13992. function getRD6 : TBits_1; inline;
  13993. function getRD7 : TBits_1; inline;
  13994. function getRD8 : TBits_1; inline;
  13995. function getRD9 : TBits_1; inline;
  13996. function getw : TBits_32; inline;
  13997. procedure setRD0(thebits : TBits_1); inline;
  13998. procedure setRD1(thebits : TBits_1); inline;
  13999. procedure setRD10(thebits : TBits_1); inline;
  14000. procedure setRD11(thebits : TBits_1); inline;
  14001. procedure setRD12(thebits : TBits_1); inline;
  14002. procedure setRD13(thebits : TBits_1); inline;
  14003. procedure setRD14(thebits : TBits_1); inline;
  14004. procedure setRD15(thebits : TBits_1); inline;
  14005. procedure setRD2(thebits : TBits_1); inline;
  14006. procedure setRD3(thebits : TBits_1); inline;
  14007. procedure setRD4(thebits : TBits_1); inline;
  14008. procedure setRD5(thebits : TBits_1); inline;
  14009. procedure setRD6(thebits : TBits_1); inline;
  14010. procedure setRD7(thebits : TBits_1); inline;
  14011. procedure setRD8(thebits : TBits_1); inline;
  14012. procedure setRD9(thebits : TBits_1); inline;
  14013. procedure setw(thebits : TBits_32); inline;
  14014. public
  14015. procedure clearRD0; inline;
  14016. procedure clearRD10; inline;
  14017. procedure clearRD11; inline;
  14018. procedure clearRD12; inline;
  14019. procedure clearRD13; inline;
  14020. procedure clearRD14; inline;
  14021. procedure clearRD15; inline;
  14022. procedure clearRD1; inline;
  14023. procedure clearRD2; inline;
  14024. procedure clearRD3; inline;
  14025. procedure clearRD4; inline;
  14026. procedure clearRD5; inline;
  14027. procedure clearRD6; inline;
  14028. procedure clearRD7; inline;
  14029. procedure clearRD8; inline;
  14030. procedure clearRD9; inline;
  14031. procedure setRD0; inline;
  14032. procedure setRD10; inline;
  14033. procedure setRD11; inline;
  14034. procedure setRD12; inline;
  14035. procedure setRD13; inline;
  14036. procedure setRD14; inline;
  14037. procedure setRD15; inline;
  14038. procedure setRD1; inline;
  14039. procedure setRD2; inline;
  14040. procedure setRD3; inline;
  14041. procedure setRD4; inline;
  14042. procedure setRD5; inline;
  14043. procedure setRD6; inline;
  14044. procedure setRD7; inline;
  14045. procedure setRD8; inline;
  14046. procedure setRD9; inline;
  14047. property RD0 : TBits_1 read getRD0 write setRD0;
  14048. property RD1 : TBits_1 read getRD1 write setRD1;
  14049. property RD10 : TBits_1 read getRD10 write setRD10;
  14050. property RD11 : TBits_1 read getRD11 write setRD11;
  14051. property RD12 : TBits_1 read getRD12 write setRD12;
  14052. property RD13 : TBits_1 read getRD13 write setRD13;
  14053. property RD14 : TBits_1 read getRD14 write setRD14;
  14054. property RD15 : TBits_1 read getRD15 write setRD15;
  14055. property RD2 : TBits_1 read getRD2 write setRD2;
  14056. property RD3 : TBits_1 read getRD3 write setRD3;
  14057. property RD4 : TBits_1 read getRD4 write setRD4;
  14058. property RD5 : TBits_1 read getRD5 write setRD5;
  14059. property RD6 : TBits_1 read getRD6 write setRD6;
  14060. property RD7 : TBits_1 read getRD7 write setRD7;
  14061. property RD8 : TBits_1 read getRD8 write setRD8;
  14062. property RD9 : TBits_1 read getRD9 write setRD9;
  14063. property w : TBits_32 read getw write setw;
  14064. end;
  14065. TPortD_bits=(RD0=0,RD1=1,RD2=2,RD3=3,RD4=4,RD5=5,RD6=6,RD7=7,RD8=8,RD9=9,RD10=10,RD11=11,RD12=12,RD13=13,RD14=14,RD15=15);
  14066. TPortD_bitset = set of TPortD_bits;
  14067. TPORTD_LATD = record
  14068. private
  14069. function getLATD0 : TBits_1; inline;
  14070. function getLATD1 : TBits_1; inline;
  14071. function getLATD10 : TBits_1; inline;
  14072. function getLATD11 : TBits_1; inline;
  14073. function getLATD12 : TBits_1; inline;
  14074. function getLATD13 : TBits_1; inline;
  14075. function getLATD14 : TBits_1; inline;
  14076. function getLATD15 : TBits_1; inline;
  14077. function getLATD2 : TBits_1; inline;
  14078. function getLATD3 : TBits_1; inline;
  14079. function getLATD4 : TBits_1; inline;
  14080. function getLATD5 : TBits_1; inline;
  14081. function getLATD6 : TBits_1; inline;
  14082. function getLATD7 : TBits_1; inline;
  14083. function getLATD8 : TBits_1; inline;
  14084. function getLATD9 : TBits_1; inline;
  14085. function getw : TBits_32; inline;
  14086. procedure setLATD0(thebits : TBits_1); inline;
  14087. procedure setLATD1(thebits : TBits_1); inline;
  14088. procedure setLATD10(thebits : TBits_1); inline;
  14089. procedure setLATD11(thebits : TBits_1); inline;
  14090. procedure setLATD12(thebits : TBits_1); inline;
  14091. procedure setLATD13(thebits : TBits_1); inline;
  14092. procedure setLATD14(thebits : TBits_1); inline;
  14093. procedure setLATD15(thebits : TBits_1); inline;
  14094. procedure setLATD2(thebits : TBits_1); inline;
  14095. procedure setLATD3(thebits : TBits_1); inline;
  14096. procedure setLATD4(thebits : TBits_1); inline;
  14097. procedure setLATD5(thebits : TBits_1); inline;
  14098. procedure setLATD6(thebits : TBits_1); inline;
  14099. procedure setLATD7(thebits : TBits_1); inline;
  14100. procedure setLATD8(thebits : TBits_1); inline;
  14101. procedure setLATD9(thebits : TBits_1); inline;
  14102. procedure setw(thebits : TBits_32); inline;
  14103. public
  14104. procedure clearLATD0; inline;
  14105. procedure clearLATD10; inline;
  14106. procedure clearLATD11; inline;
  14107. procedure clearLATD12; inline;
  14108. procedure clearLATD13; inline;
  14109. procedure clearLATD14; inline;
  14110. procedure clearLATD15; inline;
  14111. procedure clearLATD1; inline;
  14112. procedure clearLATD2; inline;
  14113. procedure clearLATD3; inline;
  14114. procedure clearLATD4; inline;
  14115. procedure clearLATD5; inline;
  14116. procedure clearLATD6; inline;
  14117. procedure clearLATD7; inline;
  14118. procedure clearLATD8; inline;
  14119. procedure clearLATD9; inline;
  14120. procedure setLATD0; inline;
  14121. procedure setLATD10; inline;
  14122. procedure setLATD11; inline;
  14123. procedure setLATD12; inline;
  14124. procedure setLATD13; inline;
  14125. procedure setLATD14; inline;
  14126. procedure setLATD15; inline;
  14127. procedure setLATD1; inline;
  14128. procedure setLATD2; inline;
  14129. procedure setLATD3; inline;
  14130. procedure setLATD4; inline;
  14131. procedure setLATD5; inline;
  14132. procedure setLATD6; inline;
  14133. procedure setLATD7; inline;
  14134. procedure setLATD8; inline;
  14135. procedure setLATD9; inline;
  14136. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  14137. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  14138. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  14139. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  14140. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  14141. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  14142. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  14143. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  14144. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  14145. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  14146. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  14147. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  14148. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  14149. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  14150. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  14151. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  14152. property w : TBits_32 read getw write setw;
  14153. end;
  14154. TPORTD_ODCD = record
  14155. private
  14156. function getODCD0 : TBits_1; inline;
  14157. function getODCD1 : TBits_1; inline;
  14158. function getODCD10 : TBits_1; inline;
  14159. function getODCD11 : TBits_1; inline;
  14160. function getODCD12 : TBits_1; inline;
  14161. function getODCD13 : TBits_1; inline;
  14162. function getODCD14 : TBits_1; inline;
  14163. function getODCD15 : TBits_1; inline;
  14164. function getODCD2 : TBits_1; inline;
  14165. function getODCD3 : TBits_1; inline;
  14166. function getODCD4 : TBits_1; inline;
  14167. function getODCD5 : TBits_1; inline;
  14168. function getODCD6 : TBits_1; inline;
  14169. function getODCD7 : TBits_1; inline;
  14170. function getODCD8 : TBits_1; inline;
  14171. function getODCD9 : TBits_1; inline;
  14172. function getw : TBits_32; inline;
  14173. procedure setODCD0(thebits : TBits_1); inline;
  14174. procedure setODCD1(thebits : TBits_1); inline;
  14175. procedure setODCD10(thebits : TBits_1); inline;
  14176. procedure setODCD11(thebits : TBits_1); inline;
  14177. procedure setODCD12(thebits : TBits_1); inline;
  14178. procedure setODCD13(thebits : TBits_1); inline;
  14179. procedure setODCD14(thebits : TBits_1); inline;
  14180. procedure setODCD15(thebits : TBits_1); inline;
  14181. procedure setODCD2(thebits : TBits_1); inline;
  14182. procedure setODCD3(thebits : TBits_1); inline;
  14183. procedure setODCD4(thebits : TBits_1); inline;
  14184. procedure setODCD5(thebits : TBits_1); inline;
  14185. procedure setODCD6(thebits : TBits_1); inline;
  14186. procedure setODCD7(thebits : TBits_1); inline;
  14187. procedure setODCD8(thebits : TBits_1); inline;
  14188. procedure setODCD9(thebits : TBits_1); inline;
  14189. procedure setw(thebits : TBits_32); inline;
  14190. public
  14191. procedure clearODCD0; inline;
  14192. procedure clearODCD10; inline;
  14193. procedure clearODCD11; inline;
  14194. procedure clearODCD12; inline;
  14195. procedure clearODCD13; inline;
  14196. procedure clearODCD14; inline;
  14197. procedure clearODCD15; inline;
  14198. procedure clearODCD1; inline;
  14199. procedure clearODCD2; inline;
  14200. procedure clearODCD3; inline;
  14201. procedure clearODCD4; inline;
  14202. procedure clearODCD5; inline;
  14203. procedure clearODCD6; inline;
  14204. procedure clearODCD7; inline;
  14205. procedure clearODCD8; inline;
  14206. procedure clearODCD9; inline;
  14207. procedure setODCD0; inline;
  14208. procedure setODCD10; inline;
  14209. procedure setODCD11; inline;
  14210. procedure setODCD12; inline;
  14211. procedure setODCD13; inline;
  14212. procedure setODCD14; inline;
  14213. procedure setODCD15; inline;
  14214. procedure setODCD1; inline;
  14215. procedure setODCD2; inline;
  14216. procedure setODCD3; inline;
  14217. procedure setODCD4; inline;
  14218. procedure setODCD5; inline;
  14219. procedure setODCD6; inline;
  14220. procedure setODCD7; inline;
  14221. procedure setODCD8; inline;
  14222. procedure setODCD9; inline;
  14223. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  14224. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  14225. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  14226. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  14227. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  14228. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  14229. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  14230. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  14231. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  14232. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  14233. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  14234. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  14235. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  14236. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  14237. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  14238. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  14239. property w : TBits_32 read getw write setw;
  14240. end;
  14241. type
  14242. TPORTDRegisters = record
  14243. TRISDbits : TPORTD_TRISD;
  14244. TRISD : longWord;
  14245. TRISDCLR : longWord;
  14246. TRISDSET : longWord;
  14247. TRISDINV : longWord;
  14248. PORTDbits : TPORTD_PORTD;
  14249. PORTD : longWord;
  14250. PORTDCLR : longWord;
  14251. PORTDSET : longWord;
  14252. PORTDINV : longWord;
  14253. LATDbits : TPORTD_LATD;
  14254. LATD : longWord;
  14255. LATDCLR : longWord;
  14256. LATDSET : longWord;
  14257. LATDINV : longWord;
  14258. ODCDbits : TPORTD_ODCD;
  14259. ODCD : longWord;
  14260. ODCDCLR : longWord;
  14261. ODCDSET : longWord;
  14262. ODCDINV : longWord;
  14263. end;
  14264. TPORTE_TRISE = record
  14265. private
  14266. function getTRISE0 : TBits_1; inline;
  14267. function getTRISE1 : TBits_1; inline;
  14268. function getTRISE2 : TBits_1; inline;
  14269. function getTRISE3 : TBits_1; inline;
  14270. function getTRISE4 : TBits_1; inline;
  14271. function getTRISE5 : TBits_1; inline;
  14272. function getTRISE6 : TBits_1; inline;
  14273. function getTRISE7 : TBits_1; inline;
  14274. function getTRISE8 : TBits_1; inline;
  14275. function getTRISE9 : TBits_1; inline;
  14276. function getw : TBits_32; inline;
  14277. procedure setTRISE0(thebits : TBits_1); inline;
  14278. procedure setTRISE1(thebits : TBits_1); inline;
  14279. procedure setTRISE2(thebits : TBits_1); inline;
  14280. procedure setTRISE3(thebits : TBits_1); inline;
  14281. procedure setTRISE4(thebits : TBits_1); inline;
  14282. procedure setTRISE5(thebits : TBits_1); inline;
  14283. procedure setTRISE6(thebits : TBits_1); inline;
  14284. procedure setTRISE7(thebits : TBits_1); inline;
  14285. procedure setTRISE8(thebits : TBits_1); inline;
  14286. procedure setTRISE9(thebits : TBits_1); inline;
  14287. procedure setw(thebits : TBits_32); inline;
  14288. public
  14289. procedure clearTRISE0; inline;
  14290. procedure clearTRISE1; inline;
  14291. procedure clearTRISE2; inline;
  14292. procedure clearTRISE3; inline;
  14293. procedure clearTRISE4; inline;
  14294. procedure clearTRISE5; inline;
  14295. procedure clearTRISE6; inline;
  14296. procedure clearTRISE7; inline;
  14297. procedure clearTRISE8; inline;
  14298. procedure clearTRISE9; inline;
  14299. procedure setTRISE0; inline;
  14300. procedure setTRISE1; inline;
  14301. procedure setTRISE2; inline;
  14302. procedure setTRISE3; inline;
  14303. procedure setTRISE4; inline;
  14304. procedure setTRISE5; inline;
  14305. procedure setTRISE6; inline;
  14306. procedure setTRISE7; inline;
  14307. procedure setTRISE8; inline;
  14308. procedure setTRISE9; inline;
  14309. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  14310. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  14311. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  14312. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  14313. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  14314. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  14315. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  14316. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  14317. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  14318. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  14319. property w : TBits_32 read getw write setw;
  14320. end;
  14321. TPORTE_PORTE = record
  14322. private
  14323. function getRE0 : TBits_1; inline;
  14324. function getRE1 : TBits_1; inline;
  14325. function getRE2 : TBits_1; inline;
  14326. function getRE3 : TBits_1; inline;
  14327. function getRE4 : TBits_1; inline;
  14328. function getRE5 : TBits_1; inline;
  14329. function getRE6 : TBits_1; inline;
  14330. function getRE7 : TBits_1; inline;
  14331. function getRE8 : TBits_1; inline;
  14332. function getRE9 : TBits_1; inline;
  14333. function getw : TBits_32; inline;
  14334. procedure setRE0(thebits : TBits_1); inline;
  14335. procedure setRE1(thebits : TBits_1); inline;
  14336. procedure setRE2(thebits : TBits_1); inline;
  14337. procedure setRE3(thebits : TBits_1); inline;
  14338. procedure setRE4(thebits : TBits_1); inline;
  14339. procedure setRE5(thebits : TBits_1); inline;
  14340. procedure setRE6(thebits : TBits_1); inline;
  14341. procedure setRE7(thebits : TBits_1); inline;
  14342. procedure setRE8(thebits : TBits_1); inline;
  14343. procedure setRE9(thebits : TBits_1); inline;
  14344. procedure setw(thebits : TBits_32); inline;
  14345. public
  14346. procedure clearRE0; inline;
  14347. procedure clearRE1; inline;
  14348. procedure clearRE2; inline;
  14349. procedure clearRE3; inline;
  14350. procedure clearRE4; inline;
  14351. procedure clearRE5; inline;
  14352. procedure clearRE6; inline;
  14353. procedure clearRE7; inline;
  14354. procedure clearRE8; inline;
  14355. procedure clearRE9; inline;
  14356. procedure setRE0; inline;
  14357. procedure setRE1; inline;
  14358. procedure setRE2; inline;
  14359. procedure setRE3; inline;
  14360. procedure setRE4; inline;
  14361. procedure setRE5; inline;
  14362. procedure setRE6; inline;
  14363. procedure setRE7; inline;
  14364. procedure setRE8; inline;
  14365. procedure setRE9; inline;
  14366. property RE0 : TBits_1 read getRE0 write setRE0;
  14367. property RE1 : TBits_1 read getRE1 write setRE1;
  14368. property RE2 : TBits_1 read getRE2 write setRE2;
  14369. property RE3 : TBits_1 read getRE3 write setRE3;
  14370. property RE4 : TBits_1 read getRE4 write setRE4;
  14371. property RE5 : TBits_1 read getRE5 write setRE5;
  14372. property RE6 : TBits_1 read getRE6 write setRE6;
  14373. property RE7 : TBits_1 read getRE7 write setRE7;
  14374. property RE8 : TBits_1 read getRE8 write setRE8;
  14375. property RE9 : TBits_1 read getRE9 write setRE9;
  14376. property w : TBits_32 read getw write setw;
  14377. end;
  14378. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  14379. TPortE_bitset = set of TPortE_bits;
  14380. TPORTE_LATE = record
  14381. private
  14382. function getLATE0 : TBits_1; inline;
  14383. function getLATE1 : TBits_1; inline;
  14384. function getLATE2 : TBits_1; inline;
  14385. function getLATE3 : TBits_1; inline;
  14386. function getLATE4 : TBits_1; inline;
  14387. function getLATE5 : TBits_1; inline;
  14388. function getLATE6 : TBits_1; inline;
  14389. function getLATE7 : TBits_1; inline;
  14390. function getLATE8 : TBits_1; inline;
  14391. function getLATE9 : TBits_1; inline;
  14392. function getw : TBits_32; inline;
  14393. procedure setLATE0(thebits : TBits_1); inline;
  14394. procedure setLATE1(thebits : TBits_1); inline;
  14395. procedure setLATE2(thebits : TBits_1); inline;
  14396. procedure setLATE3(thebits : TBits_1); inline;
  14397. procedure setLATE4(thebits : TBits_1); inline;
  14398. procedure setLATE5(thebits : TBits_1); inline;
  14399. procedure setLATE6(thebits : TBits_1); inline;
  14400. procedure setLATE7(thebits : TBits_1); inline;
  14401. procedure setLATE8(thebits : TBits_1); inline;
  14402. procedure setLATE9(thebits : TBits_1); inline;
  14403. procedure setw(thebits : TBits_32); inline;
  14404. public
  14405. procedure clearLATE0; inline;
  14406. procedure clearLATE1; inline;
  14407. procedure clearLATE2; inline;
  14408. procedure clearLATE3; inline;
  14409. procedure clearLATE4; inline;
  14410. procedure clearLATE5; inline;
  14411. procedure clearLATE6; inline;
  14412. procedure clearLATE7; inline;
  14413. procedure clearLATE8; inline;
  14414. procedure clearLATE9; inline;
  14415. procedure setLATE0; inline;
  14416. procedure setLATE1; inline;
  14417. procedure setLATE2; inline;
  14418. procedure setLATE3; inline;
  14419. procedure setLATE4; inline;
  14420. procedure setLATE5; inline;
  14421. procedure setLATE6; inline;
  14422. procedure setLATE7; inline;
  14423. procedure setLATE8; inline;
  14424. procedure setLATE9; inline;
  14425. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  14426. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  14427. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  14428. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  14429. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  14430. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  14431. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  14432. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  14433. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  14434. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  14435. property w : TBits_32 read getw write setw;
  14436. end;
  14437. TPORTE_ODCE = record
  14438. private
  14439. function getODCE0 : TBits_1; inline;
  14440. function getODCE1 : TBits_1; inline;
  14441. function getODCE2 : TBits_1; inline;
  14442. function getODCE3 : TBits_1; inline;
  14443. function getODCE4 : TBits_1; inline;
  14444. function getODCE5 : TBits_1; inline;
  14445. function getODCE6 : TBits_1; inline;
  14446. function getODCE7 : TBits_1; inline;
  14447. function getODCE8 : TBits_1; inline;
  14448. function getODCE9 : TBits_1; inline;
  14449. function getw : TBits_32; inline;
  14450. procedure setODCE0(thebits : TBits_1); inline;
  14451. procedure setODCE1(thebits : TBits_1); inline;
  14452. procedure setODCE2(thebits : TBits_1); inline;
  14453. procedure setODCE3(thebits : TBits_1); inline;
  14454. procedure setODCE4(thebits : TBits_1); inline;
  14455. procedure setODCE5(thebits : TBits_1); inline;
  14456. procedure setODCE6(thebits : TBits_1); inline;
  14457. procedure setODCE7(thebits : TBits_1); inline;
  14458. procedure setODCE8(thebits : TBits_1); inline;
  14459. procedure setODCE9(thebits : TBits_1); inline;
  14460. procedure setw(thebits : TBits_32); inline;
  14461. public
  14462. procedure clearODCE0; inline;
  14463. procedure clearODCE1; inline;
  14464. procedure clearODCE2; inline;
  14465. procedure clearODCE3; inline;
  14466. procedure clearODCE4; inline;
  14467. procedure clearODCE5; inline;
  14468. procedure clearODCE6; inline;
  14469. procedure clearODCE7; inline;
  14470. procedure clearODCE8; inline;
  14471. procedure clearODCE9; inline;
  14472. procedure setODCE0; inline;
  14473. procedure setODCE1; inline;
  14474. procedure setODCE2; inline;
  14475. procedure setODCE3; inline;
  14476. procedure setODCE4; inline;
  14477. procedure setODCE5; inline;
  14478. procedure setODCE6; inline;
  14479. procedure setODCE7; inline;
  14480. procedure setODCE8; inline;
  14481. procedure setODCE9; inline;
  14482. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  14483. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  14484. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  14485. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  14486. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  14487. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  14488. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  14489. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  14490. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  14491. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  14492. property w : TBits_32 read getw write setw;
  14493. end;
  14494. type
  14495. TPORTERegisters = record
  14496. TRISEbits : TPORTE_TRISE;
  14497. TRISE : longWord;
  14498. TRISECLR : longWord;
  14499. TRISESET : longWord;
  14500. TRISEINV : longWord;
  14501. PORTEbits : TPORTE_PORTE;
  14502. PORTE : longWord;
  14503. PORTECLR : longWord;
  14504. PORTESET : longWord;
  14505. PORTEINV : longWord;
  14506. LATEbits : TPORTE_LATE;
  14507. LATE : longWord;
  14508. LATECLR : longWord;
  14509. LATESET : longWord;
  14510. LATEINV : longWord;
  14511. ODCEbits : TPORTE_ODCE;
  14512. ODCE : longWord;
  14513. ODCECLR : longWord;
  14514. ODCESET : longWord;
  14515. ODCEINV : longWord;
  14516. end;
  14517. TPORTF_TRISF = record
  14518. private
  14519. function getTRISF0 : TBits_1; inline;
  14520. function getTRISF1 : TBits_1; inline;
  14521. function getTRISF12 : TBits_1; inline;
  14522. function getTRISF13 : TBits_1; inline;
  14523. function getTRISF2 : TBits_1; inline;
  14524. function getTRISF3 : TBits_1; inline;
  14525. function getTRISF4 : TBits_1; inline;
  14526. function getTRISF5 : TBits_1; inline;
  14527. function getTRISF8 : TBits_1; inline;
  14528. function getw : TBits_32; inline;
  14529. procedure setTRISF0(thebits : TBits_1); inline;
  14530. procedure setTRISF1(thebits : TBits_1); inline;
  14531. procedure setTRISF12(thebits : TBits_1); inline;
  14532. procedure setTRISF13(thebits : TBits_1); inline;
  14533. procedure setTRISF2(thebits : TBits_1); inline;
  14534. procedure setTRISF3(thebits : TBits_1); inline;
  14535. procedure setTRISF4(thebits : TBits_1); inline;
  14536. procedure setTRISF5(thebits : TBits_1); inline;
  14537. procedure setTRISF8(thebits : TBits_1); inline;
  14538. procedure setw(thebits : TBits_32); inline;
  14539. public
  14540. procedure clearTRISF0; inline;
  14541. procedure clearTRISF12; inline;
  14542. procedure clearTRISF13; inline;
  14543. procedure clearTRISF1; inline;
  14544. procedure clearTRISF2; inline;
  14545. procedure clearTRISF3; inline;
  14546. procedure clearTRISF4; inline;
  14547. procedure clearTRISF5; inline;
  14548. procedure clearTRISF8; inline;
  14549. procedure setTRISF0; inline;
  14550. procedure setTRISF12; inline;
  14551. procedure setTRISF13; inline;
  14552. procedure setTRISF1; inline;
  14553. procedure setTRISF2; inline;
  14554. procedure setTRISF3; inline;
  14555. procedure setTRISF4; inline;
  14556. procedure setTRISF5; inline;
  14557. procedure setTRISF8; inline;
  14558. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  14559. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  14560. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  14561. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  14562. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  14563. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  14564. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  14565. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  14566. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  14567. property w : TBits_32 read getw write setw;
  14568. end;
  14569. TPORTF_PORTF = record
  14570. private
  14571. function getRF0 : TBits_1; inline;
  14572. function getRF1 : TBits_1; inline;
  14573. function getRF12 : TBits_1; inline;
  14574. function getRF13 : TBits_1; inline;
  14575. function getRF2 : TBits_1; inline;
  14576. function getRF3 : TBits_1; inline;
  14577. function getRF4 : TBits_1; inline;
  14578. function getRF5 : TBits_1; inline;
  14579. function getRF8 : TBits_1; inline;
  14580. function getw : TBits_32; inline;
  14581. procedure setRF0(thebits : TBits_1); inline;
  14582. procedure setRF1(thebits : TBits_1); inline;
  14583. procedure setRF12(thebits : TBits_1); inline;
  14584. procedure setRF13(thebits : TBits_1); inline;
  14585. procedure setRF2(thebits : TBits_1); inline;
  14586. procedure setRF3(thebits : TBits_1); inline;
  14587. procedure setRF4(thebits : TBits_1); inline;
  14588. procedure setRF5(thebits : TBits_1); inline;
  14589. procedure setRF8(thebits : TBits_1); inline;
  14590. procedure setw(thebits : TBits_32); inline;
  14591. public
  14592. procedure clearRF0; inline;
  14593. procedure clearRF12; inline;
  14594. procedure clearRF13; inline;
  14595. procedure clearRF1; inline;
  14596. procedure clearRF2; inline;
  14597. procedure clearRF3; inline;
  14598. procedure clearRF4; inline;
  14599. procedure clearRF5; inline;
  14600. procedure clearRF8; inline;
  14601. procedure setRF0; inline;
  14602. procedure setRF12; inline;
  14603. procedure setRF13; inline;
  14604. procedure setRF1; inline;
  14605. procedure setRF2; inline;
  14606. procedure setRF3; inline;
  14607. procedure setRF4; inline;
  14608. procedure setRF5; inline;
  14609. procedure setRF8; inline;
  14610. property RF0 : TBits_1 read getRF0 write setRF0;
  14611. property RF1 : TBits_1 read getRF1 write setRF1;
  14612. property RF12 : TBits_1 read getRF12 write setRF12;
  14613. property RF13 : TBits_1 read getRF13 write setRF13;
  14614. property RF2 : TBits_1 read getRF2 write setRF2;
  14615. property RF3 : TBits_1 read getRF3 write setRF3;
  14616. property RF4 : TBits_1 read getRF4 write setRF4;
  14617. property RF5 : TBits_1 read getRF5 write setRF5;
  14618. property RF8 : TBits_1 read getRF8 write setRF8;
  14619. property w : TBits_32 read getw write setw;
  14620. end;
  14621. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF8=8,RF12=12,RF13=13);
  14622. TPortF_bitset = set of TPortF_bits;
  14623. TPORTF_LATF = record
  14624. private
  14625. function getLATF0 : TBits_1; inline;
  14626. function getLATF1 : TBits_1; inline;
  14627. function getLATF12 : TBits_1; inline;
  14628. function getLATF13 : TBits_1; inline;
  14629. function getLATF2 : TBits_1; inline;
  14630. function getLATF3 : TBits_1; inline;
  14631. function getLATF4 : TBits_1; inline;
  14632. function getLATF5 : TBits_1; inline;
  14633. function getLATF8 : TBits_1; inline;
  14634. function getw : TBits_32; inline;
  14635. procedure setLATF0(thebits : TBits_1); inline;
  14636. procedure setLATF1(thebits : TBits_1); inline;
  14637. procedure setLATF12(thebits : TBits_1); inline;
  14638. procedure setLATF13(thebits : TBits_1); inline;
  14639. procedure setLATF2(thebits : TBits_1); inline;
  14640. procedure setLATF3(thebits : TBits_1); inline;
  14641. procedure setLATF4(thebits : TBits_1); inline;
  14642. procedure setLATF5(thebits : TBits_1); inline;
  14643. procedure setLATF8(thebits : TBits_1); inline;
  14644. procedure setw(thebits : TBits_32); inline;
  14645. public
  14646. procedure clearLATF0; inline;
  14647. procedure clearLATF12; inline;
  14648. procedure clearLATF13; inline;
  14649. procedure clearLATF1; inline;
  14650. procedure clearLATF2; inline;
  14651. procedure clearLATF3; inline;
  14652. procedure clearLATF4; inline;
  14653. procedure clearLATF5; inline;
  14654. procedure clearLATF8; inline;
  14655. procedure setLATF0; inline;
  14656. procedure setLATF12; inline;
  14657. procedure setLATF13; inline;
  14658. procedure setLATF1; inline;
  14659. procedure setLATF2; inline;
  14660. procedure setLATF3; inline;
  14661. procedure setLATF4; inline;
  14662. procedure setLATF5; inline;
  14663. procedure setLATF8; inline;
  14664. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  14665. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  14666. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  14667. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  14668. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  14669. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  14670. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  14671. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  14672. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  14673. property w : TBits_32 read getw write setw;
  14674. end;
  14675. TPORTF_ODCF = record
  14676. private
  14677. function getODCF0 : TBits_1; inline;
  14678. function getODCF1 : TBits_1; inline;
  14679. function getODCF12 : TBits_1; inline;
  14680. function getODCF13 : TBits_1; inline;
  14681. function getODCF2 : TBits_1; inline;
  14682. function getODCF3 : TBits_1; inline;
  14683. function getODCF4 : TBits_1; inline;
  14684. function getODCF5 : TBits_1; inline;
  14685. function getODCF8 : TBits_1; inline;
  14686. function getw : TBits_32; inline;
  14687. procedure setODCF0(thebits : TBits_1); inline;
  14688. procedure setODCF1(thebits : TBits_1); inline;
  14689. procedure setODCF12(thebits : TBits_1); inline;
  14690. procedure setODCF13(thebits : TBits_1); inline;
  14691. procedure setODCF2(thebits : TBits_1); inline;
  14692. procedure setODCF3(thebits : TBits_1); inline;
  14693. procedure setODCF4(thebits : TBits_1); inline;
  14694. procedure setODCF5(thebits : TBits_1); inline;
  14695. procedure setODCF8(thebits : TBits_1); inline;
  14696. procedure setw(thebits : TBits_32); inline;
  14697. public
  14698. procedure clearODCF0; inline;
  14699. procedure clearODCF12; inline;
  14700. procedure clearODCF13; inline;
  14701. procedure clearODCF1; inline;
  14702. procedure clearODCF2; inline;
  14703. procedure clearODCF3; inline;
  14704. procedure clearODCF4; inline;
  14705. procedure clearODCF5; inline;
  14706. procedure clearODCF8; inline;
  14707. procedure setODCF0; inline;
  14708. procedure setODCF12; inline;
  14709. procedure setODCF13; inline;
  14710. procedure setODCF1; inline;
  14711. procedure setODCF2; inline;
  14712. procedure setODCF3; inline;
  14713. procedure setODCF4; inline;
  14714. procedure setODCF5; inline;
  14715. procedure setODCF8; inline;
  14716. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  14717. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  14718. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  14719. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  14720. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  14721. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  14722. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  14723. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  14724. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  14725. property w : TBits_32 read getw write setw;
  14726. end;
  14727. type
  14728. TPORTFRegisters = record
  14729. TRISFbits : TPORTF_TRISF;
  14730. TRISF : longWord;
  14731. TRISFCLR : longWord;
  14732. TRISFSET : longWord;
  14733. TRISFINV : longWord;
  14734. PORTFbits : TPORTF_PORTF;
  14735. PORTF : longWord;
  14736. PORTFCLR : longWord;
  14737. PORTFSET : longWord;
  14738. PORTFINV : longWord;
  14739. LATFbits : TPORTF_LATF;
  14740. LATF : longWord;
  14741. LATFCLR : longWord;
  14742. LATFSET : longWord;
  14743. LATFINV : longWord;
  14744. ODCFbits : TPORTF_ODCF;
  14745. ODCF : longWord;
  14746. ODCFCLR : longWord;
  14747. ODCFSET : longWord;
  14748. ODCFINV : longWord;
  14749. end;
  14750. TPORTG_TRISG = record
  14751. private
  14752. function getTRISG0 : TBits_1; inline;
  14753. function getTRISG1 : TBits_1; inline;
  14754. function getTRISG12 : TBits_1; inline;
  14755. function getTRISG13 : TBits_1; inline;
  14756. function getTRISG14 : TBits_1; inline;
  14757. function getTRISG15 : TBits_1; inline;
  14758. function getTRISG2 : TBits_1; inline;
  14759. function getTRISG3 : TBits_1; inline;
  14760. function getTRISG6 : TBits_1; inline;
  14761. function getTRISG7 : TBits_1; inline;
  14762. function getTRISG8 : TBits_1; inline;
  14763. function getTRISG9 : TBits_1; inline;
  14764. function getw : TBits_32; inline;
  14765. procedure setTRISG0(thebits : TBits_1); inline;
  14766. procedure setTRISG1(thebits : TBits_1); inline;
  14767. procedure setTRISG12(thebits : TBits_1); inline;
  14768. procedure setTRISG13(thebits : TBits_1); inline;
  14769. procedure setTRISG14(thebits : TBits_1); inline;
  14770. procedure setTRISG15(thebits : TBits_1); inline;
  14771. procedure setTRISG2(thebits : TBits_1); inline;
  14772. procedure setTRISG3(thebits : TBits_1); inline;
  14773. procedure setTRISG6(thebits : TBits_1); inline;
  14774. procedure setTRISG7(thebits : TBits_1); inline;
  14775. procedure setTRISG8(thebits : TBits_1); inline;
  14776. procedure setTRISG9(thebits : TBits_1); inline;
  14777. procedure setw(thebits : TBits_32); inline;
  14778. public
  14779. procedure clearTRISG0; inline;
  14780. procedure clearTRISG12; inline;
  14781. procedure clearTRISG13; inline;
  14782. procedure clearTRISG14; inline;
  14783. procedure clearTRISG15; inline;
  14784. procedure clearTRISG1; inline;
  14785. procedure clearTRISG2; inline;
  14786. procedure clearTRISG3; inline;
  14787. procedure clearTRISG6; inline;
  14788. procedure clearTRISG7; inline;
  14789. procedure clearTRISG8; inline;
  14790. procedure clearTRISG9; inline;
  14791. procedure setTRISG0; inline;
  14792. procedure setTRISG12; inline;
  14793. procedure setTRISG13; inline;
  14794. procedure setTRISG14; inline;
  14795. procedure setTRISG15; inline;
  14796. procedure setTRISG1; inline;
  14797. procedure setTRISG2; inline;
  14798. procedure setTRISG3; inline;
  14799. procedure setTRISG6; inline;
  14800. procedure setTRISG7; inline;
  14801. procedure setTRISG8; inline;
  14802. procedure setTRISG9; inline;
  14803. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  14804. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  14805. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  14806. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  14807. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  14808. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  14809. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  14810. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  14811. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  14812. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  14813. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  14814. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  14815. property w : TBits_32 read getw write setw;
  14816. end;
  14817. TPORTG_PORTG = record
  14818. private
  14819. function getRG0 : TBits_1; inline;
  14820. function getRG1 : TBits_1; inline;
  14821. function getRG12 : TBits_1; inline;
  14822. function getRG13 : TBits_1; inline;
  14823. function getRG14 : TBits_1; inline;
  14824. function getRG15 : TBits_1; inline;
  14825. function getRG2 : TBits_1; inline;
  14826. function getRG3 : TBits_1; inline;
  14827. function getRG6 : TBits_1; inline;
  14828. function getRG7 : TBits_1; inline;
  14829. function getRG8 : TBits_1; inline;
  14830. function getRG9 : TBits_1; inline;
  14831. function getw : TBits_32; inline;
  14832. procedure setRG0(thebits : TBits_1); inline;
  14833. procedure setRG1(thebits : TBits_1); inline;
  14834. procedure setRG12(thebits : TBits_1); inline;
  14835. procedure setRG13(thebits : TBits_1); inline;
  14836. procedure setRG14(thebits : TBits_1); inline;
  14837. procedure setRG15(thebits : TBits_1); inline;
  14838. procedure setRG2(thebits : TBits_1); inline;
  14839. procedure setRG3(thebits : TBits_1); inline;
  14840. procedure setRG6(thebits : TBits_1); inline;
  14841. procedure setRG7(thebits : TBits_1); inline;
  14842. procedure setRG8(thebits : TBits_1); inline;
  14843. procedure setRG9(thebits : TBits_1); inline;
  14844. procedure setw(thebits : TBits_32); inline;
  14845. public
  14846. procedure clearRG0; inline;
  14847. procedure clearRG12; inline;
  14848. procedure clearRG13; inline;
  14849. procedure clearRG14; inline;
  14850. procedure clearRG15; inline;
  14851. procedure clearRG1; inline;
  14852. procedure clearRG2; inline;
  14853. procedure clearRG3; inline;
  14854. procedure clearRG6; inline;
  14855. procedure clearRG7; inline;
  14856. procedure clearRG8; inline;
  14857. procedure clearRG9; inline;
  14858. procedure setRG0; inline;
  14859. procedure setRG12; inline;
  14860. procedure setRG13; inline;
  14861. procedure setRG14; inline;
  14862. procedure setRG15; inline;
  14863. procedure setRG1; inline;
  14864. procedure setRG2; inline;
  14865. procedure setRG3; inline;
  14866. procedure setRG6; inline;
  14867. procedure setRG7; inline;
  14868. procedure setRG8; inline;
  14869. procedure setRG9; inline;
  14870. property RG0 : TBits_1 read getRG0 write setRG0;
  14871. property RG1 : TBits_1 read getRG1 write setRG1;
  14872. property RG12 : TBits_1 read getRG12 write setRG12;
  14873. property RG13 : TBits_1 read getRG13 write setRG13;
  14874. property RG14 : TBits_1 read getRG14 write setRG14;
  14875. property RG15 : TBits_1 read getRG15 write setRG15;
  14876. property RG2 : TBits_1 read getRG2 write setRG2;
  14877. property RG3 : TBits_1 read getRG3 write setRG3;
  14878. property RG6 : TBits_1 read getRG6 write setRG6;
  14879. property RG7 : TBits_1 read getRG7 write setRG7;
  14880. property RG8 : TBits_1 read getRG8 write setRG8;
  14881. property RG9 : TBits_1 read getRG9 write setRG9;
  14882. property w : TBits_32 read getw write setw;
  14883. end;
  14884. TPortG_bits=(RG0=0,RG1=1,RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9,RG12=12,RG13=13,RG14=14,RG15=15);
  14885. TPortG_bitset = set of TPortG_bits;
  14886. TPORTG_LATG = record
  14887. private
  14888. function getLATG0 : TBits_1; inline;
  14889. function getLATG1 : TBits_1; inline;
  14890. function getLATG12 : TBits_1; inline;
  14891. function getLATG13 : TBits_1; inline;
  14892. function getLATG14 : TBits_1; inline;
  14893. function getLATG15 : TBits_1; inline;
  14894. function getLATG2 : TBits_1; inline;
  14895. function getLATG3 : TBits_1; inline;
  14896. function getLATG6 : TBits_1; inline;
  14897. function getLATG7 : TBits_1; inline;
  14898. function getLATG8 : TBits_1; inline;
  14899. function getLATG9 : TBits_1; inline;
  14900. function getw : TBits_32; inline;
  14901. procedure setLATG0(thebits : TBits_1); inline;
  14902. procedure setLATG1(thebits : TBits_1); inline;
  14903. procedure setLATG12(thebits : TBits_1); inline;
  14904. procedure setLATG13(thebits : TBits_1); inline;
  14905. procedure setLATG14(thebits : TBits_1); inline;
  14906. procedure setLATG15(thebits : TBits_1); inline;
  14907. procedure setLATG2(thebits : TBits_1); inline;
  14908. procedure setLATG3(thebits : TBits_1); inline;
  14909. procedure setLATG6(thebits : TBits_1); inline;
  14910. procedure setLATG7(thebits : TBits_1); inline;
  14911. procedure setLATG8(thebits : TBits_1); inline;
  14912. procedure setLATG9(thebits : TBits_1); inline;
  14913. procedure setw(thebits : TBits_32); inline;
  14914. public
  14915. procedure clearLATG0; inline;
  14916. procedure clearLATG12; inline;
  14917. procedure clearLATG13; inline;
  14918. procedure clearLATG14; inline;
  14919. procedure clearLATG15; inline;
  14920. procedure clearLATG1; inline;
  14921. procedure clearLATG2; inline;
  14922. procedure clearLATG3; inline;
  14923. procedure clearLATG6; inline;
  14924. procedure clearLATG7; inline;
  14925. procedure clearLATG8; inline;
  14926. procedure clearLATG9; inline;
  14927. procedure setLATG0; inline;
  14928. procedure setLATG12; inline;
  14929. procedure setLATG13; inline;
  14930. procedure setLATG14; inline;
  14931. procedure setLATG15; inline;
  14932. procedure setLATG1; inline;
  14933. procedure setLATG2; inline;
  14934. procedure setLATG3; inline;
  14935. procedure setLATG6; inline;
  14936. procedure setLATG7; inline;
  14937. procedure setLATG8; inline;
  14938. procedure setLATG9; inline;
  14939. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  14940. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  14941. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  14942. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  14943. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  14944. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  14945. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  14946. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  14947. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  14948. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  14949. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  14950. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  14951. property w : TBits_32 read getw write setw;
  14952. end;
  14953. TPORTG_ODCG = record
  14954. private
  14955. function getODCG0 : TBits_1; inline;
  14956. function getODCG1 : TBits_1; inline;
  14957. function getODCG12 : TBits_1; inline;
  14958. function getODCG13 : TBits_1; inline;
  14959. function getODCG14 : TBits_1; inline;
  14960. function getODCG15 : TBits_1; inline;
  14961. function getODCG2 : TBits_1; inline;
  14962. function getODCG3 : TBits_1; inline;
  14963. function getODCG6 : TBits_1; inline;
  14964. function getODCG7 : TBits_1; inline;
  14965. function getODCG8 : TBits_1; inline;
  14966. function getODCG9 : TBits_1; inline;
  14967. function getw : TBits_32; inline;
  14968. procedure setODCG0(thebits : TBits_1); inline;
  14969. procedure setODCG1(thebits : TBits_1); inline;
  14970. procedure setODCG12(thebits : TBits_1); inline;
  14971. procedure setODCG13(thebits : TBits_1); inline;
  14972. procedure setODCG14(thebits : TBits_1); inline;
  14973. procedure setODCG15(thebits : TBits_1); inline;
  14974. procedure setODCG2(thebits : TBits_1); inline;
  14975. procedure setODCG3(thebits : TBits_1); inline;
  14976. procedure setODCG6(thebits : TBits_1); inline;
  14977. procedure setODCG7(thebits : TBits_1); inline;
  14978. procedure setODCG8(thebits : TBits_1); inline;
  14979. procedure setODCG9(thebits : TBits_1); inline;
  14980. procedure setw(thebits : TBits_32); inline;
  14981. public
  14982. procedure clearODCG0; inline;
  14983. procedure clearODCG12; inline;
  14984. procedure clearODCG13; inline;
  14985. procedure clearODCG14; inline;
  14986. procedure clearODCG15; inline;
  14987. procedure clearODCG1; inline;
  14988. procedure clearODCG2; inline;
  14989. procedure clearODCG3; inline;
  14990. procedure clearODCG6; inline;
  14991. procedure clearODCG7; inline;
  14992. procedure clearODCG8; inline;
  14993. procedure clearODCG9; inline;
  14994. procedure setODCG0; inline;
  14995. procedure setODCG12; inline;
  14996. procedure setODCG13; inline;
  14997. procedure setODCG14; inline;
  14998. procedure setODCG15; inline;
  14999. procedure setODCG1; inline;
  15000. procedure setODCG2; inline;
  15001. procedure setODCG3; inline;
  15002. procedure setODCG6; inline;
  15003. procedure setODCG7; inline;
  15004. procedure setODCG8; inline;
  15005. procedure setODCG9; inline;
  15006. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  15007. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  15008. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  15009. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  15010. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  15011. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  15012. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  15013. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  15014. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  15015. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  15016. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  15017. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  15018. property w : TBits_32 read getw write setw;
  15019. end;
  15020. TPORTG_CNCON = record
  15021. private
  15022. function getON : TBits_1; inline;
  15023. function getSIDL : TBits_1; inline;
  15024. function getw : TBits_32; inline;
  15025. procedure setON(thebits : TBits_1); inline;
  15026. procedure setSIDL(thebits : TBits_1); inline;
  15027. procedure setw(thebits : TBits_32); inline;
  15028. public
  15029. procedure clearON; inline;
  15030. procedure clearSIDL; inline;
  15031. procedure setON; inline;
  15032. procedure setSIDL; inline;
  15033. property ON : TBits_1 read getON write setON;
  15034. property SIDL : TBits_1 read getSIDL write setSIDL;
  15035. property w : TBits_32 read getw write setw;
  15036. end;
  15037. TPORTG_CNEN = record
  15038. private
  15039. function getCNEN0 : TBits_1; inline;
  15040. function getCNEN1 : TBits_1; inline;
  15041. function getCNEN10 : TBits_1; inline;
  15042. function getCNEN11 : TBits_1; inline;
  15043. function getCNEN12 : TBits_1; inline;
  15044. function getCNEN13 : TBits_1; inline;
  15045. function getCNEN14 : TBits_1; inline;
  15046. function getCNEN15 : TBits_1; inline;
  15047. function getCNEN16 : TBits_1; inline;
  15048. function getCNEN17 : TBits_1; inline;
  15049. function getCNEN18 : TBits_1; inline;
  15050. function getCNEN19 : TBits_1; inline;
  15051. function getCNEN2 : TBits_1; inline;
  15052. function getCNEN20 : TBits_1; inline;
  15053. function getCNEN21 : TBits_1; inline;
  15054. function getCNEN3 : TBits_1; inline;
  15055. function getCNEN4 : TBits_1; inline;
  15056. function getCNEN5 : TBits_1; inline;
  15057. function getCNEN6 : TBits_1; inline;
  15058. function getCNEN7 : TBits_1; inline;
  15059. function getCNEN8 : TBits_1; inline;
  15060. function getCNEN9 : TBits_1; inline;
  15061. function getw : TBits_32; inline;
  15062. procedure setCNEN0(thebits : TBits_1); inline;
  15063. procedure setCNEN1(thebits : TBits_1); inline;
  15064. procedure setCNEN10(thebits : TBits_1); inline;
  15065. procedure setCNEN11(thebits : TBits_1); inline;
  15066. procedure setCNEN12(thebits : TBits_1); inline;
  15067. procedure setCNEN13(thebits : TBits_1); inline;
  15068. procedure setCNEN14(thebits : TBits_1); inline;
  15069. procedure setCNEN15(thebits : TBits_1); inline;
  15070. procedure setCNEN16(thebits : TBits_1); inline;
  15071. procedure setCNEN17(thebits : TBits_1); inline;
  15072. procedure setCNEN18(thebits : TBits_1); inline;
  15073. procedure setCNEN19(thebits : TBits_1); inline;
  15074. procedure setCNEN2(thebits : TBits_1); inline;
  15075. procedure setCNEN20(thebits : TBits_1); inline;
  15076. procedure setCNEN21(thebits : TBits_1); inline;
  15077. procedure setCNEN3(thebits : TBits_1); inline;
  15078. procedure setCNEN4(thebits : TBits_1); inline;
  15079. procedure setCNEN5(thebits : TBits_1); inline;
  15080. procedure setCNEN6(thebits : TBits_1); inline;
  15081. procedure setCNEN7(thebits : TBits_1); inline;
  15082. procedure setCNEN8(thebits : TBits_1); inline;
  15083. procedure setCNEN9(thebits : TBits_1); inline;
  15084. procedure setw(thebits : TBits_32); inline;
  15085. public
  15086. procedure clearCNEN0; inline;
  15087. procedure clearCNEN10; inline;
  15088. procedure clearCNEN11; inline;
  15089. procedure clearCNEN12; inline;
  15090. procedure clearCNEN13; inline;
  15091. procedure clearCNEN14; inline;
  15092. procedure clearCNEN15; inline;
  15093. procedure clearCNEN16; inline;
  15094. procedure clearCNEN17; inline;
  15095. procedure clearCNEN18; inline;
  15096. procedure clearCNEN19; inline;
  15097. procedure clearCNEN1; inline;
  15098. procedure clearCNEN20; inline;
  15099. procedure clearCNEN21; inline;
  15100. procedure clearCNEN2; inline;
  15101. procedure clearCNEN3; inline;
  15102. procedure clearCNEN4; inline;
  15103. procedure clearCNEN5; inline;
  15104. procedure clearCNEN6; inline;
  15105. procedure clearCNEN7; inline;
  15106. procedure clearCNEN8; inline;
  15107. procedure clearCNEN9; inline;
  15108. procedure setCNEN0; inline;
  15109. procedure setCNEN10; inline;
  15110. procedure setCNEN11; inline;
  15111. procedure setCNEN12; inline;
  15112. procedure setCNEN13; inline;
  15113. procedure setCNEN14; inline;
  15114. procedure setCNEN15; inline;
  15115. procedure setCNEN16; inline;
  15116. procedure setCNEN17; inline;
  15117. procedure setCNEN18; inline;
  15118. procedure setCNEN19; inline;
  15119. procedure setCNEN1; inline;
  15120. procedure setCNEN20; inline;
  15121. procedure setCNEN21; inline;
  15122. procedure setCNEN2; inline;
  15123. procedure setCNEN3; inline;
  15124. procedure setCNEN4; inline;
  15125. procedure setCNEN5; inline;
  15126. procedure setCNEN6; inline;
  15127. procedure setCNEN7; inline;
  15128. procedure setCNEN8; inline;
  15129. procedure setCNEN9; inline;
  15130. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  15131. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  15132. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  15133. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  15134. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  15135. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  15136. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  15137. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  15138. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  15139. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  15140. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  15141. property CNEN19 : TBits_1 read getCNEN19 write setCNEN19;
  15142. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  15143. property CNEN20 : TBits_1 read getCNEN20 write setCNEN20;
  15144. property CNEN21 : TBits_1 read getCNEN21 write setCNEN21;
  15145. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  15146. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  15147. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  15148. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  15149. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  15150. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  15151. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  15152. property w : TBits_32 read getw write setw;
  15153. end;
  15154. TPORTG_CNPUE = record
  15155. private
  15156. function getCNPUE0 : TBits_1; inline;
  15157. function getCNPUE1 : TBits_1; inline;
  15158. function getCNPUE10 : TBits_1; inline;
  15159. function getCNPUE11 : TBits_1; inline;
  15160. function getCNPUE12 : TBits_1; inline;
  15161. function getCNPUE13 : TBits_1; inline;
  15162. function getCNPUE14 : TBits_1; inline;
  15163. function getCNPUE15 : TBits_1; inline;
  15164. function getCNPUE16 : TBits_1; inline;
  15165. function getCNPUE17 : TBits_1; inline;
  15166. function getCNPUE18 : TBits_1; inline;
  15167. function getCNPUE19 : TBits_1; inline;
  15168. function getCNPUE2 : TBits_1; inline;
  15169. function getCNPUE20 : TBits_1; inline;
  15170. function getCNPUE21 : TBits_1; inline;
  15171. function getCNPUE3 : TBits_1; inline;
  15172. function getCNPUE4 : TBits_1; inline;
  15173. function getCNPUE5 : TBits_1; inline;
  15174. function getCNPUE6 : TBits_1; inline;
  15175. function getCNPUE7 : TBits_1; inline;
  15176. function getCNPUE8 : TBits_1; inline;
  15177. function getCNPUE9 : TBits_1; inline;
  15178. function getw : TBits_32; inline;
  15179. procedure setCNPUE0(thebits : TBits_1); inline;
  15180. procedure setCNPUE1(thebits : TBits_1); inline;
  15181. procedure setCNPUE10(thebits : TBits_1); inline;
  15182. procedure setCNPUE11(thebits : TBits_1); inline;
  15183. procedure setCNPUE12(thebits : TBits_1); inline;
  15184. procedure setCNPUE13(thebits : TBits_1); inline;
  15185. procedure setCNPUE14(thebits : TBits_1); inline;
  15186. procedure setCNPUE15(thebits : TBits_1); inline;
  15187. procedure setCNPUE16(thebits : TBits_1); inline;
  15188. procedure setCNPUE17(thebits : TBits_1); inline;
  15189. procedure setCNPUE18(thebits : TBits_1); inline;
  15190. procedure setCNPUE19(thebits : TBits_1); inline;
  15191. procedure setCNPUE2(thebits : TBits_1); inline;
  15192. procedure setCNPUE20(thebits : TBits_1); inline;
  15193. procedure setCNPUE21(thebits : TBits_1); inline;
  15194. procedure setCNPUE3(thebits : TBits_1); inline;
  15195. procedure setCNPUE4(thebits : TBits_1); inline;
  15196. procedure setCNPUE5(thebits : TBits_1); inline;
  15197. procedure setCNPUE6(thebits : TBits_1); inline;
  15198. procedure setCNPUE7(thebits : TBits_1); inline;
  15199. procedure setCNPUE8(thebits : TBits_1); inline;
  15200. procedure setCNPUE9(thebits : TBits_1); inline;
  15201. procedure setw(thebits : TBits_32); inline;
  15202. public
  15203. procedure clearCNPUE0; inline;
  15204. procedure clearCNPUE10; inline;
  15205. procedure clearCNPUE11; inline;
  15206. procedure clearCNPUE12; inline;
  15207. procedure clearCNPUE13; inline;
  15208. procedure clearCNPUE14; inline;
  15209. procedure clearCNPUE15; inline;
  15210. procedure clearCNPUE16; inline;
  15211. procedure clearCNPUE17; inline;
  15212. procedure clearCNPUE18; inline;
  15213. procedure clearCNPUE19; inline;
  15214. procedure clearCNPUE1; inline;
  15215. procedure clearCNPUE20; inline;
  15216. procedure clearCNPUE21; inline;
  15217. procedure clearCNPUE2; inline;
  15218. procedure clearCNPUE3; inline;
  15219. procedure clearCNPUE4; inline;
  15220. procedure clearCNPUE5; inline;
  15221. procedure clearCNPUE6; inline;
  15222. procedure clearCNPUE7; inline;
  15223. procedure clearCNPUE8; inline;
  15224. procedure clearCNPUE9; inline;
  15225. procedure setCNPUE0; inline;
  15226. procedure setCNPUE10; inline;
  15227. procedure setCNPUE11; inline;
  15228. procedure setCNPUE12; inline;
  15229. procedure setCNPUE13; inline;
  15230. procedure setCNPUE14; inline;
  15231. procedure setCNPUE15; inline;
  15232. procedure setCNPUE16; inline;
  15233. procedure setCNPUE17; inline;
  15234. procedure setCNPUE18; inline;
  15235. procedure setCNPUE19; inline;
  15236. procedure setCNPUE1; inline;
  15237. procedure setCNPUE20; inline;
  15238. procedure setCNPUE21; inline;
  15239. procedure setCNPUE2; inline;
  15240. procedure setCNPUE3; inline;
  15241. procedure setCNPUE4; inline;
  15242. procedure setCNPUE5; inline;
  15243. procedure setCNPUE6; inline;
  15244. procedure setCNPUE7; inline;
  15245. procedure setCNPUE8; inline;
  15246. procedure setCNPUE9; inline;
  15247. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  15248. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  15249. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  15250. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  15251. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  15252. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  15253. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  15254. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  15255. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  15256. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  15257. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  15258. property CNPUE19 : TBits_1 read getCNPUE19 write setCNPUE19;
  15259. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  15260. property CNPUE20 : TBits_1 read getCNPUE20 write setCNPUE20;
  15261. property CNPUE21 : TBits_1 read getCNPUE21 write setCNPUE21;
  15262. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  15263. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  15264. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  15265. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  15266. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  15267. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  15268. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  15269. property w : TBits_32 read getw write setw;
  15270. end;
  15271. type
  15272. TPORTGRegisters = record
  15273. TRISGbits : TPORTG_TRISG;
  15274. TRISG : longWord;
  15275. TRISGCLR : longWord;
  15276. TRISGSET : longWord;
  15277. TRISGINV : longWord;
  15278. PORTGbits : TPORTG_PORTG;
  15279. PORTG : longWord;
  15280. PORTGCLR : longWord;
  15281. PORTGSET : longWord;
  15282. PORTGINV : longWord;
  15283. LATGbits : TPORTG_LATG;
  15284. LATG : longWord;
  15285. LATGCLR : longWord;
  15286. LATGSET : longWord;
  15287. LATGINV : longWord;
  15288. ODCGbits : TPORTG_ODCG;
  15289. ODCG : longWord;
  15290. ODCGCLR : longWord;
  15291. ODCGSET : longWord;
  15292. ODCGINV : longWord;
  15293. CNCONbits : TPORTG_CNCON;
  15294. CNCON : longWord;
  15295. CNCONCLR : longWord;
  15296. CNCONSET : longWord;
  15297. CNCONINV : longWord;
  15298. CNENbits : TPORTG_CNEN;
  15299. CNEN : longWord;
  15300. CNENCLR : longWord;
  15301. CNENSET : longWord;
  15302. CNENINV : longWord;
  15303. CNPUEbits : TPORTG_CNPUE;
  15304. CNPUE : longWord;
  15305. CNPUECLR : longWord;
  15306. CNPUESET : longWord;
  15307. CNPUEINV : longWord;
  15308. end;
  15309. TETH_ETHCON1 = record
  15310. private
  15311. function getAUTOFC : TBits_1; inline;
  15312. function getBUFCDEC : TBits_1; inline;
  15313. function getMANFC : TBits_1; inline;
  15314. function getON : TBits_1; inline;
  15315. function getPTV : TBits_16; inline;
  15316. function getRXEN : TBits_1; inline;
  15317. function getSIDL : TBits_1; inline;
  15318. function getTXRTS : TBits_1; inline;
  15319. function getw : TBits_32; inline;
  15320. procedure setAUTOFC(thebits : TBits_1); inline;
  15321. procedure setBUFCDEC(thebits : TBits_1); inline;
  15322. procedure setMANFC(thebits : TBits_1); inline;
  15323. procedure setON(thebits : TBits_1); inline;
  15324. procedure setPTV(thebits : TBits_16); inline;
  15325. procedure setRXEN(thebits : TBits_1); inline;
  15326. procedure setSIDL(thebits : TBits_1); inline;
  15327. procedure setTXRTS(thebits : TBits_1); inline;
  15328. procedure setw(thebits : TBits_32); inline;
  15329. public
  15330. procedure clearAUTOFC; inline;
  15331. procedure clearBUFCDEC; inline;
  15332. procedure clearMANFC; inline;
  15333. procedure clearON; inline;
  15334. procedure clearRXEN; inline;
  15335. procedure clearSIDL; inline;
  15336. procedure clearTXRTS; inline;
  15337. procedure setAUTOFC; inline;
  15338. procedure setBUFCDEC; inline;
  15339. procedure setMANFC; inline;
  15340. procedure setON; inline;
  15341. procedure setRXEN; inline;
  15342. procedure setSIDL; inline;
  15343. procedure setTXRTS; inline;
  15344. property AUTOFC : TBits_1 read getAUTOFC write setAUTOFC;
  15345. property BUFCDEC : TBits_1 read getBUFCDEC write setBUFCDEC;
  15346. property MANFC : TBits_1 read getMANFC write setMANFC;
  15347. property ON : TBits_1 read getON write setON;
  15348. property PTV : TBits_16 read getPTV write setPTV;
  15349. property RXEN : TBits_1 read getRXEN write setRXEN;
  15350. property SIDL : TBits_1 read getSIDL write setSIDL;
  15351. property TXRTS : TBits_1 read getTXRTS write setTXRTS;
  15352. property w : TBits_32 read getw write setw;
  15353. end;
  15354. TETH_ETHCON2 = record
  15355. private
  15356. function getRXBUF_SZ : TBits_7; inline;
  15357. function getw : TBits_32; inline;
  15358. procedure setRXBUF_SZ(thebits : TBits_7); inline;
  15359. procedure setw(thebits : TBits_32); inline;
  15360. public
  15361. property RXBUF_SZ : TBits_7 read getRXBUF_SZ write setRXBUF_SZ;
  15362. property w : TBits_32 read getw write setw;
  15363. end;
  15364. TETH_ETHTXST = record
  15365. private
  15366. function getTXSTADDR : TBits_30; inline;
  15367. function getw : TBits_32; inline;
  15368. procedure setTXSTADDR(thebits : TBits_30); inline;
  15369. procedure setw(thebits : TBits_32); inline;
  15370. public
  15371. property TXSTADDR : TBits_30 read getTXSTADDR write setTXSTADDR;
  15372. property w : TBits_32 read getw write setw;
  15373. end;
  15374. TETH_ETHRXST = record
  15375. private
  15376. function getRXSTADDR : TBits_30; inline;
  15377. function getw : TBits_32; inline;
  15378. procedure setRXSTADDR(thebits : TBits_30); inline;
  15379. procedure setw(thebits : TBits_32); inline;
  15380. public
  15381. property RXSTADDR : TBits_30 read getRXSTADDR write setRXSTADDR;
  15382. property w : TBits_32 read getw write setw;
  15383. end;
  15384. TETH_ETHHT0 = record
  15385. private
  15386. function getHTLOWER : TBits_32; inline;
  15387. function getw : TBits_32; inline;
  15388. procedure setHTLOWER(thebits : TBits_32); inline;
  15389. procedure setw(thebits : TBits_32); inline;
  15390. public
  15391. property HTLOWER : TBits_32 read getHTLOWER write setHTLOWER;
  15392. property w : TBits_32 read getw write setw;
  15393. end;
  15394. TETH_ETHHT1 = record
  15395. private
  15396. function getHTUPPER : TBits_32; inline;
  15397. function getw : TBits_32; inline;
  15398. procedure setHTUPPER(thebits : TBits_32); inline;
  15399. procedure setw(thebits : TBits_32); inline;
  15400. public
  15401. property HTUPPER : TBits_32 read getHTUPPER write setHTUPPER;
  15402. property w : TBits_32 read getw write setw;
  15403. end;
  15404. TETH_ETHPMM0 = record
  15405. private
  15406. function getPMMLOWER : TBits_32; inline;
  15407. function getw : TBits_32; inline;
  15408. procedure setPMMLOWER(thebits : TBits_32); inline;
  15409. procedure setw(thebits : TBits_32); inline;
  15410. public
  15411. property PMMLOWER : TBits_32 read getPMMLOWER write setPMMLOWER;
  15412. property w : TBits_32 read getw write setw;
  15413. end;
  15414. TETH_ETHPMM1 = record
  15415. private
  15416. function getPMMUPPER : TBits_32; inline;
  15417. function getw : TBits_32; inline;
  15418. procedure setPMMUPPER(thebits : TBits_32); inline;
  15419. procedure setw(thebits : TBits_32); inline;
  15420. public
  15421. property PMMUPPER : TBits_32 read getPMMUPPER write setPMMUPPER;
  15422. property w : TBits_32 read getw write setw;
  15423. end;
  15424. TETH_ETHPMCS = record
  15425. private
  15426. function getPMCS : TBits_16; inline;
  15427. function getw : TBits_32; inline;
  15428. procedure setPMCS(thebits : TBits_16); inline;
  15429. procedure setw(thebits : TBits_32); inline;
  15430. public
  15431. property PMCS : TBits_16 read getPMCS write setPMCS;
  15432. property w : TBits_32 read getw write setw;
  15433. end;
  15434. TETH_ETHPMO = record
  15435. private
  15436. function getPMO : TBits_16; inline;
  15437. function getw : TBits_32; inline;
  15438. procedure setPMO(thebits : TBits_16); inline;
  15439. procedure setw(thebits : TBits_32); inline;
  15440. public
  15441. property PMO : TBits_16 read getPMO write setPMO;
  15442. property w : TBits_32 read getw write setw;
  15443. end;
  15444. TETH_ETHRXFC = record
  15445. private
  15446. function getBCEN : TBits_1; inline;
  15447. function getCRCERREN : TBits_1; inline;
  15448. function getCRCOKEN : TBits_1; inline;
  15449. function getHTEN : TBits_1; inline;
  15450. function getMCEN : TBits_1; inline;
  15451. function getMPEN : TBits_1; inline;
  15452. function getNOTMEEN : TBits_1; inline;
  15453. function getNOTPM : TBits_1; inline;
  15454. function getPMMODE : TBits_4; inline;
  15455. function getRUNTEN : TBits_1; inline;
  15456. function getRUNTERREN : TBits_1; inline;
  15457. function getUCEN : TBits_1; inline;
  15458. function getw : TBits_32; inline;
  15459. procedure setBCEN(thebits : TBits_1); inline;
  15460. procedure setCRCERREN(thebits : TBits_1); inline;
  15461. procedure setCRCOKEN(thebits : TBits_1); inline;
  15462. procedure setHTEN(thebits : TBits_1); inline;
  15463. procedure setMCEN(thebits : TBits_1); inline;
  15464. procedure setMPEN(thebits : TBits_1); inline;
  15465. procedure setNOTMEEN(thebits : TBits_1); inline;
  15466. procedure setNOTPM(thebits : TBits_1); inline;
  15467. procedure setPMMODE(thebits : TBits_4); inline;
  15468. procedure setRUNTEN(thebits : TBits_1); inline;
  15469. procedure setRUNTERREN(thebits : TBits_1); inline;
  15470. procedure setUCEN(thebits : TBits_1); inline;
  15471. procedure setw(thebits : TBits_32); inline;
  15472. public
  15473. procedure clearBCEN; inline;
  15474. procedure clearCRCERREN; inline;
  15475. procedure clearCRCOKEN; inline;
  15476. procedure clearHTEN; inline;
  15477. procedure clearMCEN; inline;
  15478. procedure clearMPEN; inline;
  15479. procedure clearNOTMEEN; inline;
  15480. procedure clearNOTPM; inline;
  15481. procedure clearRUNTEN; inline;
  15482. procedure clearRUNTERREN; inline;
  15483. procedure clearUCEN; inline;
  15484. procedure setBCEN; inline;
  15485. procedure setCRCERREN; inline;
  15486. procedure setCRCOKEN; inline;
  15487. procedure setHTEN; inline;
  15488. procedure setMCEN; inline;
  15489. procedure setMPEN; inline;
  15490. procedure setNOTMEEN; inline;
  15491. procedure setNOTPM; inline;
  15492. procedure setRUNTEN; inline;
  15493. procedure setRUNTERREN; inline;
  15494. procedure setUCEN; inline;
  15495. property BCEN : TBits_1 read getBCEN write setBCEN;
  15496. property CRCERREN : TBits_1 read getCRCERREN write setCRCERREN;
  15497. property CRCOKEN : TBits_1 read getCRCOKEN write setCRCOKEN;
  15498. property HTEN : TBits_1 read getHTEN write setHTEN;
  15499. property MCEN : TBits_1 read getMCEN write setMCEN;
  15500. property MPEN : TBits_1 read getMPEN write setMPEN;
  15501. property NOTMEEN : TBits_1 read getNOTMEEN write setNOTMEEN;
  15502. property NOTPM : TBits_1 read getNOTPM write setNOTPM;
  15503. property PMMODE : TBits_4 read getPMMODE write setPMMODE;
  15504. property RUNTEN : TBits_1 read getRUNTEN write setRUNTEN;
  15505. property RUNTERREN : TBits_1 read getRUNTERREN write setRUNTERREN;
  15506. property UCEN : TBits_1 read getUCEN write setUCEN;
  15507. property w : TBits_32 read getw write setw;
  15508. end;
  15509. TETH_ETHRXWM = record
  15510. private
  15511. function getRXEWM : TBits_8; inline;
  15512. function getRXFWM : TBits_8; inline;
  15513. function getw : TBits_32; inline;
  15514. procedure setRXEWM(thebits : TBits_8); inline;
  15515. procedure setRXFWM(thebits : TBits_8); inline;
  15516. procedure setw(thebits : TBits_32); inline;
  15517. public
  15518. property RXEWM : TBits_8 read getRXEWM write setRXEWM;
  15519. property RXFWM : TBits_8 read getRXFWM write setRXFWM;
  15520. property w : TBits_32 read getw write setw;
  15521. end;
  15522. TETH_ETHIEN = record
  15523. private
  15524. function getEWMARKIE : TBits_1; inline;
  15525. function getFWMARKIE : TBits_1; inline;
  15526. function getPKTPENDIE : TBits_1; inline;
  15527. function getRXACTIE : TBits_1; inline;
  15528. function getRXBUFNAIE : TBits_1; inline;
  15529. function getRXBUSEIE : TBits_1; inline;
  15530. function getRXDONEIE : TBits_1; inline;
  15531. function getRXOVFLWIE : TBits_1; inline;
  15532. function getTXABORTIE : TBits_1; inline;
  15533. function getTXBUSEIE : TBits_1; inline;
  15534. function getTXDONEIE : TBits_1; inline;
  15535. function getw : TBits_32; inline;
  15536. procedure setEWMARKIE(thebits : TBits_1); inline;
  15537. procedure setFWMARKIE(thebits : TBits_1); inline;
  15538. procedure setPKTPENDIE(thebits : TBits_1); inline;
  15539. procedure setRXACTIE(thebits : TBits_1); inline;
  15540. procedure setRXBUFNAIE(thebits : TBits_1); inline;
  15541. procedure setRXBUSEIE(thebits : TBits_1); inline;
  15542. procedure setRXDONEIE(thebits : TBits_1); inline;
  15543. procedure setRXOVFLWIE(thebits : TBits_1); inline;
  15544. procedure setTXABORTIE(thebits : TBits_1); inline;
  15545. procedure setTXBUSEIE(thebits : TBits_1); inline;
  15546. procedure setTXDONEIE(thebits : TBits_1); inline;
  15547. procedure setw(thebits : TBits_32); inline;
  15548. public
  15549. procedure clearEWMARKIE; inline;
  15550. procedure clearFWMARKIE; inline;
  15551. procedure clearPKTPENDIE; inline;
  15552. procedure clearRXACTIE; inline;
  15553. procedure clearRXBUFNAIE; inline;
  15554. procedure clearRXBUSEIE; inline;
  15555. procedure clearRXDONEIE; inline;
  15556. procedure clearRXOVFLWIE; inline;
  15557. procedure clearTXABORTIE; inline;
  15558. procedure clearTXBUSEIE; inline;
  15559. procedure clearTXDONEIE; inline;
  15560. procedure setEWMARKIE; inline;
  15561. procedure setFWMARKIE; inline;
  15562. procedure setPKTPENDIE; inline;
  15563. procedure setRXACTIE; inline;
  15564. procedure setRXBUFNAIE; inline;
  15565. procedure setRXBUSEIE; inline;
  15566. procedure setRXDONEIE; inline;
  15567. procedure setRXOVFLWIE; inline;
  15568. procedure setTXABORTIE; inline;
  15569. procedure setTXBUSEIE; inline;
  15570. procedure setTXDONEIE; inline;
  15571. property EWMARKIE : TBits_1 read getEWMARKIE write setEWMARKIE;
  15572. property FWMARKIE : TBits_1 read getFWMARKIE write setFWMARKIE;
  15573. property PKTPENDIE : TBits_1 read getPKTPENDIE write setPKTPENDIE;
  15574. property RXACTIE : TBits_1 read getRXACTIE write setRXACTIE;
  15575. property RXBUFNAIE : TBits_1 read getRXBUFNAIE write setRXBUFNAIE;
  15576. property RXBUSEIE : TBits_1 read getRXBUSEIE write setRXBUSEIE;
  15577. property RXDONEIE : TBits_1 read getRXDONEIE write setRXDONEIE;
  15578. property RXOVFLWIE : TBits_1 read getRXOVFLWIE write setRXOVFLWIE;
  15579. property TXABORTIE : TBits_1 read getTXABORTIE write setTXABORTIE;
  15580. property TXBUSEIE : TBits_1 read getTXBUSEIE write setTXBUSEIE;
  15581. property TXDONEIE : TBits_1 read getTXDONEIE write setTXDONEIE;
  15582. property w : TBits_32 read getw write setw;
  15583. end;
  15584. TETH_ETHIRQ = record
  15585. private
  15586. function getEWMARK : TBits_1; inline;
  15587. function getFWMARK : TBits_1; inline;
  15588. function getPKTPEND : TBits_1; inline;
  15589. function getRXACT : TBits_1; inline;
  15590. function getRXBUFNA : TBits_1; inline;
  15591. function getRXBUSE : TBits_1; inline;
  15592. function getRXDONE : TBits_1; inline;
  15593. function getRXOVFLW : TBits_1; inline;
  15594. function getTXABORT : TBits_1; inline;
  15595. function getTXBUSE : TBits_1; inline;
  15596. function getTXDONE : TBits_1; inline;
  15597. function getw : TBits_32; inline;
  15598. procedure setEWMARK(thebits : TBits_1); inline;
  15599. procedure setFWMARK(thebits : TBits_1); inline;
  15600. procedure setPKTPEND(thebits : TBits_1); inline;
  15601. procedure setRXACT(thebits : TBits_1); inline;
  15602. procedure setRXBUFNA(thebits : TBits_1); inline;
  15603. procedure setRXBUSE(thebits : TBits_1); inline;
  15604. procedure setRXDONE(thebits : TBits_1); inline;
  15605. procedure setRXOVFLW(thebits : TBits_1); inline;
  15606. procedure setTXABORT(thebits : TBits_1); inline;
  15607. procedure setTXBUSE(thebits : TBits_1); inline;
  15608. procedure setTXDONE(thebits : TBits_1); inline;
  15609. procedure setw(thebits : TBits_32); inline;
  15610. public
  15611. procedure clearEWMARK; inline;
  15612. procedure clearFWMARK; inline;
  15613. procedure clearPKTPEND; inline;
  15614. procedure clearRXACT; inline;
  15615. procedure clearRXBUFNA; inline;
  15616. procedure clearRXBUSE; inline;
  15617. procedure clearRXDONE; inline;
  15618. procedure clearRXOVFLW; inline;
  15619. procedure clearTXABORT; inline;
  15620. procedure clearTXBUSE; inline;
  15621. procedure clearTXDONE; inline;
  15622. procedure setEWMARK; inline;
  15623. procedure setFWMARK; inline;
  15624. procedure setPKTPEND; inline;
  15625. procedure setRXACT; inline;
  15626. procedure setRXBUFNA; inline;
  15627. procedure setRXBUSE; inline;
  15628. procedure setRXDONE; inline;
  15629. procedure setRXOVFLW; inline;
  15630. procedure setTXABORT; inline;
  15631. procedure setTXBUSE; inline;
  15632. procedure setTXDONE; inline;
  15633. property EWMARK : TBits_1 read getEWMARK write setEWMARK;
  15634. property FWMARK : TBits_1 read getFWMARK write setFWMARK;
  15635. property PKTPEND : TBits_1 read getPKTPEND write setPKTPEND;
  15636. property RXACT : TBits_1 read getRXACT write setRXACT;
  15637. property RXBUFNA : TBits_1 read getRXBUFNA write setRXBUFNA;
  15638. property RXBUSE : TBits_1 read getRXBUSE write setRXBUSE;
  15639. property RXDONE : TBits_1 read getRXDONE write setRXDONE;
  15640. property RXOVFLW : TBits_1 read getRXOVFLW write setRXOVFLW;
  15641. property TXABORT : TBits_1 read getTXABORT write setTXABORT;
  15642. property TXBUSE : TBits_1 read getTXBUSE write setTXBUSE;
  15643. property TXDONE : TBits_1 read getTXDONE write setTXDONE;
  15644. property w : TBits_32 read getw write setw;
  15645. end;
  15646. TETH_ETHSTAT = record
  15647. private
  15648. function getBUFCNT : TBits_8; inline;
  15649. function getBUSY : TBits_1; inline;
  15650. function getETHBUSY : TBits_1; inline;
  15651. function getRXBUSY : TBits_1; inline;
  15652. function getTXBUSY : TBits_1; inline;
  15653. function getw : TBits_32; inline;
  15654. procedure setBUFCNT(thebits : TBits_8); inline;
  15655. procedure setBUSY(thebits : TBits_1); inline;
  15656. procedure setETHBUSY(thebits : TBits_1); inline;
  15657. procedure setRXBUSY(thebits : TBits_1); inline;
  15658. procedure setTXBUSY(thebits : TBits_1); inline;
  15659. procedure setw(thebits : TBits_32); inline;
  15660. public
  15661. procedure clearBUSY; inline;
  15662. procedure clearETHBUSY; inline;
  15663. procedure clearRXBUSY; inline;
  15664. procedure clearTXBUSY; inline;
  15665. procedure setBUSY; inline;
  15666. procedure setETHBUSY; inline;
  15667. procedure setRXBUSY; inline;
  15668. procedure setTXBUSY; inline;
  15669. property BUFCNT : TBits_8 read getBUFCNT write setBUFCNT;
  15670. property BUSY : TBits_1 read getBUSY write setBUSY;
  15671. property ETHBUSY : TBits_1 read getETHBUSY write setETHBUSY;
  15672. property RXBUSY : TBits_1 read getRXBUSY write setRXBUSY;
  15673. property TXBUSY : TBits_1 read getTXBUSY write setTXBUSY;
  15674. property w : TBits_32 read getw write setw;
  15675. end;
  15676. TETH_ETHRXOVFLOW = record
  15677. private
  15678. function getRXOVFLWCNT : TBits_16; inline;
  15679. function getw : TBits_32; inline;
  15680. procedure setRXOVFLWCNT(thebits : TBits_16); inline;
  15681. procedure setw(thebits : TBits_32); inline;
  15682. public
  15683. property RXOVFLWCNT : TBits_16 read getRXOVFLWCNT write setRXOVFLWCNT;
  15684. property w : TBits_32 read getw write setw;
  15685. end;
  15686. TETH_ETHFRMTXOK = record
  15687. private
  15688. function getFRMTXOKCNT : TBits_16; inline;
  15689. function getw : TBits_32; inline;
  15690. procedure setFRMTXOKCNT(thebits : TBits_16); inline;
  15691. procedure setw(thebits : TBits_32); inline;
  15692. public
  15693. property FRMTXOKCNT : TBits_16 read getFRMTXOKCNT write setFRMTXOKCNT;
  15694. property w : TBits_32 read getw write setw;
  15695. end;
  15696. TETH_ETHSCOLFRM = record
  15697. private
  15698. function getSCOLFRMCNT : TBits_16; inline;
  15699. function getw : TBits_32; inline;
  15700. procedure setSCOLFRMCNT(thebits : TBits_16); inline;
  15701. procedure setw(thebits : TBits_32); inline;
  15702. public
  15703. property SCOLFRMCNT : TBits_16 read getSCOLFRMCNT write setSCOLFRMCNT;
  15704. property w : TBits_32 read getw write setw;
  15705. end;
  15706. TETH_ETHMCOLFRM = record
  15707. private
  15708. function getMCOLFRMCNT : TBits_16; inline;
  15709. function getMCOLFRM_CNT : TBits_16; inline;
  15710. function getw : TBits_32; inline;
  15711. procedure setMCOLFRMCNT(thebits : TBits_16); inline;
  15712. procedure setMCOLFRM_CNT(thebits : TBits_16); inline;
  15713. procedure setw(thebits : TBits_32); inline;
  15714. public
  15715. property MCOLFRMCNT : TBits_16 read getMCOLFRMCNT write setMCOLFRMCNT;
  15716. property MCOLFRM_CNT : TBits_16 read getMCOLFRM_CNT write setMCOLFRM_CNT;
  15717. property w : TBits_32 read getw write setw;
  15718. end;
  15719. TETH_ETHFRMRXOK = record
  15720. private
  15721. function getFRMRXOKCNT : TBits_16; inline;
  15722. function getw : TBits_32; inline;
  15723. procedure setFRMRXOKCNT(thebits : TBits_16); inline;
  15724. procedure setw(thebits : TBits_32); inline;
  15725. public
  15726. property FRMRXOKCNT : TBits_16 read getFRMRXOKCNT write setFRMRXOKCNT;
  15727. property w : TBits_32 read getw write setw;
  15728. end;
  15729. TETH_ETHFCSERR = record
  15730. private
  15731. function getFCSERRCNT : TBits_16; inline;
  15732. function getw : TBits_32; inline;
  15733. procedure setFCSERRCNT(thebits : TBits_16); inline;
  15734. procedure setw(thebits : TBits_32); inline;
  15735. public
  15736. property FCSERRCNT : TBits_16 read getFCSERRCNT write setFCSERRCNT;
  15737. property w : TBits_32 read getw write setw;
  15738. end;
  15739. TETH_ETHALGNERR = record
  15740. private
  15741. function getALGNERRCNT : TBits_16; inline;
  15742. function getw : TBits_32; inline;
  15743. procedure setALGNERRCNT(thebits : TBits_16); inline;
  15744. procedure setw(thebits : TBits_32); inline;
  15745. public
  15746. property ALGNERRCNT : TBits_16 read getALGNERRCNT write setALGNERRCNT;
  15747. property w : TBits_32 read getw write setw;
  15748. end;
  15749. TETH_EMAC1CFG1 = record
  15750. private
  15751. function getLOOPBACK : TBits_1; inline;
  15752. function getPASSALL : TBits_1; inline;
  15753. function getRESETRFUN : TBits_1; inline;
  15754. function getRESETRMCS : TBits_1; inline;
  15755. function getRESETTFUN : TBits_1; inline;
  15756. function getRESETTMCS : TBits_1; inline;
  15757. function getRXENABLE : TBits_1; inline;
  15758. function getRXPAUSE : TBits_1; inline;
  15759. function getSIMRESET : TBits_1; inline;
  15760. function getSOFTRESET : TBits_1; inline;
  15761. function getTXPAUSE : TBits_1; inline;
  15762. function getw : TBits_32; inline;
  15763. procedure setLOOPBACK(thebits : TBits_1); inline;
  15764. procedure setPASSALL(thebits : TBits_1); inline;
  15765. procedure setRESETRFUN(thebits : TBits_1); inline;
  15766. procedure setRESETRMCS(thebits : TBits_1); inline;
  15767. procedure setRESETTFUN(thebits : TBits_1); inline;
  15768. procedure setRESETTMCS(thebits : TBits_1); inline;
  15769. procedure setRXENABLE(thebits : TBits_1); inline;
  15770. procedure setRXPAUSE(thebits : TBits_1); inline;
  15771. procedure setSIMRESET(thebits : TBits_1); inline;
  15772. procedure setSOFTRESET(thebits : TBits_1); inline;
  15773. procedure setTXPAUSE(thebits : TBits_1); inline;
  15774. procedure setw(thebits : TBits_32); inline;
  15775. public
  15776. procedure clearLOOPBACK; inline;
  15777. procedure clearPASSALL; inline;
  15778. procedure clearRESETRFUN; inline;
  15779. procedure clearRESETRMCS; inline;
  15780. procedure clearRESETTFUN; inline;
  15781. procedure clearRESETTMCS; inline;
  15782. procedure clearRXENABLE; inline;
  15783. procedure clearRXPAUSE; inline;
  15784. procedure clearSIMRESET; inline;
  15785. procedure clearSOFTRESET; inline;
  15786. procedure clearTXPAUSE; inline;
  15787. procedure setLOOPBACK; inline;
  15788. procedure setPASSALL; inline;
  15789. procedure setRESETRFUN; inline;
  15790. procedure setRESETRMCS; inline;
  15791. procedure setRESETTFUN; inline;
  15792. procedure setRESETTMCS; inline;
  15793. procedure setRXENABLE; inline;
  15794. procedure setRXPAUSE; inline;
  15795. procedure setSIMRESET; inline;
  15796. procedure setSOFTRESET; inline;
  15797. procedure setTXPAUSE; inline;
  15798. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  15799. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  15800. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  15801. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  15802. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  15803. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  15804. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  15805. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  15806. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  15807. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  15808. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  15809. property w : TBits_32 read getw write setw;
  15810. end;
  15811. TETH_EMACxCFG1 = record
  15812. private
  15813. function getLOOPBACK : TBits_1; inline;
  15814. function getPASSALL : TBits_1; inline;
  15815. function getRESETRFUN : TBits_1; inline;
  15816. function getRESETRMCS : TBits_1; inline;
  15817. function getRESETTFUN : TBits_1; inline;
  15818. function getRESETTMCS : TBits_1; inline;
  15819. function getRXENABLE : TBits_1; inline;
  15820. function getRXPAUSE : TBits_1; inline;
  15821. function getSIMRESET : TBits_1; inline;
  15822. function getSOFTRESET : TBits_1; inline;
  15823. function getTXPAUSE : TBits_1; inline;
  15824. function getw : TBits_32; inline;
  15825. procedure setLOOPBACK(thebits : TBits_1); inline;
  15826. procedure setPASSALL(thebits : TBits_1); inline;
  15827. procedure setRESETRFUN(thebits : TBits_1); inline;
  15828. procedure setRESETRMCS(thebits : TBits_1); inline;
  15829. procedure setRESETTFUN(thebits : TBits_1); inline;
  15830. procedure setRESETTMCS(thebits : TBits_1); inline;
  15831. procedure setRXENABLE(thebits : TBits_1); inline;
  15832. procedure setRXPAUSE(thebits : TBits_1); inline;
  15833. procedure setSIMRESET(thebits : TBits_1); inline;
  15834. procedure setSOFTRESET(thebits : TBits_1); inline;
  15835. procedure setTXPAUSE(thebits : TBits_1); inline;
  15836. procedure setw(thebits : TBits_32); inline;
  15837. public
  15838. procedure clearLOOPBACK; inline;
  15839. procedure clearPASSALL; inline;
  15840. procedure clearRESETRFUN; inline;
  15841. procedure clearRESETRMCS; inline;
  15842. procedure clearRESETTFUN; inline;
  15843. procedure clearRESETTMCS; inline;
  15844. procedure clearRXENABLE; inline;
  15845. procedure clearRXPAUSE; inline;
  15846. procedure clearSIMRESET; inline;
  15847. procedure clearSOFTRESET; inline;
  15848. procedure clearTXPAUSE; inline;
  15849. procedure setLOOPBACK; inline;
  15850. procedure setPASSALL; inline;
  15851. procedure setRESETRFUN; inline;
  15852. procedure setRESETRMCS; inline;
  15853. procedure setRESETTFUN; inline;
  15854. procedure setRESETTMCS; inline;
  15855. procedure setRXENABLE; inline;
  15856. procedure setRXPAUSE; inline;
  15857. procedure setSIMRESET; inline;
  15858. procedure setSOFTRESET; inline;
  15859. procedure setTXPAUSE; inline;
  15860. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  15861. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  15862. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  15863. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  15864. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  15865. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  15866. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  15867. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  15868. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  15869. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  15870. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  15871. property w : TBits_32 read getw write setw;
  15872. end;
  15873. TETH_EMAC1CFG2 = record
  15874. private
  15875. function getAUTOPAD : TBits_1; inline;
  15876. function getBPNOBKOFF : TBits_1; inline;
  15877. function getCRCENABLE : TBits_1; inline;
  15878. function getDELAYCRC : TBits_1; inline;
  15879. function getEXCESSDFR : TBits_1; inline;
  15880. function getFULLDPLX : TBits_1; inline;
  15881. function getHUGEFRM : TBits_1; inline;
  15882. function getLENGTHCK : TBits_1; inline;
  15883. function getLONGPRE : TBits_1; inline;
  15884. function getNOBKOFF : TBits_1; inline;
  15885. function getPADENABLE : TBits_1; inline;
  15886. function getPUREPRE : TBits_1; inline;
  15887. function getVLANPAD : TBits_1; inline;
  15888. function getw : TBits_32; inline;
  15889. procedure setAUTOPAD(thebits : TBits_1); inline;
  15890. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  15891. procedure setCRCENABLE(thebits : TBits_1); inline;
  15892. procedure setDELAYCRC(thebits : TBits_1); inline;
  15893. procedure setEXCESSDFR(thebits : TBits_1); inline;
  15894. procedure setFULLDPLX(thebits : TBits_1); inline;
  15895. procedure setHUGEFRM(thebits : TBits_1); inline;
  15896. procedure setLENGTHCK(thebits : TBits_1); inline;
  15897. procedure setLONGPRE(thebits : TBits_1); inline;
  15898. procedure setNOBKOFF(thebits : TBits_1); inline;
  15899. procedure setPADENABLE(thebits : TBits_1); inline;
  15900. procedure setPUREPRE(thebits : TBits_1); inline;
  15901. procedure setVLANPAD(thebits : TBits_1); inline;
  15902. procedure setw(thebits : TBits_32); inline;
  15903. public
  15904. procedure clearAUTOPAD; inline;
  15905. procedure clearBPNOBKOFF; inline;
  15906. procedure clearCRCENABLE; inline;
  15907. procedure clearDELAYCRC; inline;
  15908. procedure clearEXCESSDFR; inline;
  15909. procedure clearFULLDPLX; inline;
  15910. procedure clearHUGEFRM; inline;
  15911. procedure clearLENGTHCK; inline;
  15912. procedure clearLONGPRE; inline;
  15913. procedure clearNOBKOFF; inline;
  15914. procedure clearPADENABLE; inline;
  15915. procedure clearPUREPRE; inline;
  15916. procedure clearVLANPAD; inline;
  15917. procedure setAUTOPAD; inline;
  15918. procedure setBPNOBKOFF; inline;
  15919. procedure setCRCENABLE; inline;
  15920. procedure setDELAYCRC; inline;
  15921. procedure setEXCESSDFR; inline;
  15922. procedure setFULLDPLX; inline;
  15923. procedure setHUGEFRM; inline;
  15924. procedure setLENGTHCK; inline;
  15925. procedure setLONGPRE; inline;
  15926. procedure setNOBKOFF; inline;
  15927. procedure setPADENABLE; inline;
  15928. procedure setPUREPRE; inline;
  15929. procedure setVLANPAD; inline;
  15930. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  15931. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  15932. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  15933. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  15934. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  15935. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  15936. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  15937. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  15938. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  15939. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  15940. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  15941. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  15942. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  15943. property w : TBits_32 read getw write setw;
  15944. end;
  15945. TETH_EMACxCFG2 = record
  15946. private
  15947. function getAUTOPAD : TBits_1; inline;
  15948. function getBPNOBKOFF : TBits_1; inline;
  15949. function getCRCENABLE : TBits_1; inline;
  15950. function getDELAYCRC : TBits_1; inline;
  15951. function getEXCESSDFR : TBits_1; inline;
  15952. function getFULLDPLX : TBits_1; inline;
  15953. function getHUGEFRM : TBits_1; inline;
  15954. function getLENGTHCK : TBits_1; inline;
  15955. function getLONGPRE : TBits_1; inline;
  15956. function getNOBKOFF : TBits_1; inline;
  15957. function getPADENABLE : TBits_1; inline;
  15958. function getPUREPRE : TBits_1; inline;
  15959. function getVLANPAD : TBits_1; inline;
  15960. function getw : TBits_32; inline;
  15961. procedure setAUTOPAD(thebits : TBits_1); inline;
  15962. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  15963. procedure setCRCENABLE(thebits : TBits_1); inline;
  15964. procedure setDELAYCRC(thebits : TBits_1); inline;
  15965. procedure setEXCESSDFR(thebits : TBits_1); inline;
  15966. procedure setFULLDPLX(thebits : TBits_1); inline;
  15967. procedure setHUGEFRM(thebits : TBits_1); inline;
  15968. procedure setLENGTHCK(thebits : TBits_1); inline;
  15969. procedure setLONGPRE(thebits : TBits_1); inline;
  15970. procedure setNOBKOFF(thebits : TBits_1); inline;
  15971. procedure setPADENABLE(thebits : TBits_1); inline;
  15972. procedure setPUREPRE(thebits : TBits_1); inline;
  15973. procedure setVLANPAD(thebits : TBits_1); inline;
  15974. procedure setw(thebits : TBits_32); inline;
  15975. public
  15976. procedure clearAUTOPAD; inline;
  15977. procedure clearBPNOBKOFF; inline;
  15978. procedure clearCRCENABLE; inline;
  15979. procedure clearDELAYCRC; inline;
  15980. procedure clearEXCESSDFR; inline;
  15981. procedure clearFULLDPLX; inline;
  15982. procedure clearHUGEFRM; inline;
  15983. procedure clearLENGTHCK; inline;
  15984. procedure clearLONGPRE; inline;
  15985. procedure clearNOBKOFF; inline;
  15986. procedure clearPADENABLE; inline;
  15987. procedure clearPUREPRE; inline;
  15988. procedure clearVLANPAD; inline;
  15989. procedure setAUTOPAD; inline;
  15990. procedure setBPNOBKOFF; inline;
  15991. procedure setCRCENABLE; inline;
  15992. procedure setDELAYCRC; inline;
  15993. procedure setEXCESSDFR; inline;
  15994. procedure setFULLDPLX; inline;
  15995. procedure setHUGEFRM; inline;
  15996. procedure setLENGTHCK; inline;
  15997. procedure setLONGPRE; inline;
  15998. procedure setNOBKOFF; inline;
  15999. procedure setPADENABLE; inline;
  16000. procedure setPUREPRE; inline;
  16001. procedure setVLANPAD; inline;
  16002. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  16003. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  16004. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  16005. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  16006. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  16007. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  16008. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  16009. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  16010. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  16011. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  16012. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  16013. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  16014. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  16015. property w : TBits_32 read getw write setw;
  16016. end;
  16017. TETH_EMAC1IPGT = record
  16018. private
  16019. function getB2BIPKTGP : TBits_7; inline;
  16020. function getw : TBits_32; inline;
  16021. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  16022. procedure setw(thebits : TBits_32); inline;
  16023. public
  16024. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  16025. property w : TBits_32 read getw write setw;
  16026. end;
  16027. TETH_EMACxIPGT = record
  16028. private
  16029. function getB2BIPKTGP : TBits_7; inline;
  16030. function getw : TBits_32; inline;
  16031. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  16032. procedure setw(thebits : TBits_32); inline;
  16033. public
  16034. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  16035. property w : TBits_32 read getw write setw;
  16036. end;
  16037. TETH_EMAC1IPGR = record
  16038. private
  16039. function getNB2BIPKTGP1 : TBits_7; inline;
  16040. function getNB2BIPKTGP2 : TBits_7; inline;
  16041. function getw : TBits_32; inline;
  16042. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  16043. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  16044. procedure setw(thebits : TBits_32); inline;
  16045. public
  16046. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  16047. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  16048. property w : TBits_32 read getw write setw;
  16049. end;
  16050. TETH_EMACxIPGR = record
  16051. private
  16052. function getNB2BIPKTGP1 : TBits_7; inline;
  16053. function getNB2BIPKTGP2 : TBits_7; inline;
  16054. function getw : TBits_32; inline;
  16055. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  16056. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  16057. procedure setw(thebits : TBits_32); inline;
  16058. public
  16059. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  16060. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  16061. property w : TBits_32 read getw write setw;
  16062. end;
  16063. TETH_EMAC1CLRT = record
  16064. private
  16065. function getCWINDOW : TBits_6; inline;
  16066. function getRETX : TBits_4; inline;
  16067. function getw : TBits_32; inline;
  16068. procedure setCWINDOW(thebits : TBits_6); inline;
  16069. procedure setRETX(thebits : TBits_4); inline;
  16070. procedure setw(thebits : TBits_32); inline;
  16071. public
  16072. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  16073. property RETX : TBits_4 read getRETX write setRETX;
  16074. property w : TBits_32 read getw write setw;
  16075. end;
  16076. TETH_EMACxCLRT = record
  16077. private
  16078. function getCWINDOW : TBits_6; inline;
  16079. function getRETX : TBits_4; inline;
  16080. function getw : TBits_32; inline;
  16081. procedure setCWINDOW(thebits : TBits_6); inline;
  16082. procedure setRETX(thebits : TBits_4); inline;
  16083. procedure setw(thebits : TBits_32); inline;
  16084. public
  16085. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  16086. property RETX : TBits_4 read getRETX write setRETX;
  16087. property w : TBits_32 read getw write setw;
  16088. end;
  16089. TETH_EMAC1MAXF = record
  16090. private
  16091. function getMACMAXF : TBits_16; inline;
  16092. function getw : TBits_32; inline;
  16093. procedure setMACMAXF(thebits : TBits_16); inline;
  16094. procedure setw(thebits : TBits_32); inline;
  16095. public
  16096. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  16097. property w : TBits_32 read getw write setw;
  16098. end;
  16099. TETH_EMACxMAXF = record
  16100. private
  16101. function getMACMAXF : TBits_16; inline;
  16102. function getw : TBits_32; inline;
  16103. procedure setMACMAXF(thebits : TBits_16); inline;
  16104. procedure setw(thebits : TBits_32); inline;
  16105. public
  16106. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  16107. property w : TBits_32 read getw write setw;
  16108. end;
  16109. TETH_EMAC1SUPP = record
  16110. private
  16111. function getRESETRMII : TBits_1; inline;
  16112. function getSPEEDRMII : TBits_1; inline;
  16113. function getw : TBits_32; inline;
  16114. procedure setRESETRMII(thebits : TBits_1); inline;
  16115. procedure setSPEEDRMII(thebits : TBits_1); inline;
  16116. procedure setw(thebits : TBits_32); inline;
  16117. public
  16118. procedure clearRESETRMII; inline;
  16119. procedure clearSPEEDRMII; inline;
  16120. procedure setRESETRMII; inline;
  16121. procedure setSPEEDRMII; inline;
  16122. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  16123. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  16124. property w : TBits_32 read getw write setw;
  16125. end;
  16126. TETH_EMACxSUPP = record
  16127. private
  16128. function getRESETRMII : TBits_1; inline;
  16129. function getSPEEDRMII : TBits_1; inline;
  16130. function getw : TBits_32; inline;
  16131. procedure setRESETRMII(thebits : TBits_1); inline;
  16132. procedure setSPEEDRMII(thebits : TBits_1); inline;
  16133. procedure setw(thebits : TBits_32); inline;
  16134. public
  16135. procedure clearRESETRMII; inline;
  16136. procedure clearSPEEDRMII; inline;
  16137. procedure setRESETRMII; inline;
  16138. procedure setSPEEDRMII; inline;
  16139. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  16140. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  16141. property w : TBits_32 read getw write setw;
  16142. end;
  16143. TETH_EMAC1TEST = record
  16144. private
  16145. function getSHRTQNTA : TBits_1; inline;
  16146. function getTESTBP : TBits_1; inline;
  16147. function getTESTPAUSE : TBits_1; inline;
  16148. function getw : TBits_32; inline;
  16149. procedure setSHRTQNTA(thebits : TBits_1); inline;
  16150. procedure setTESTBP(thebits : TBits_1); inline;
  16151. procedure setTESTPAUSE(thebits : TBits_1); inline;
  16152. procedure setw(thebits : TBits_32); inline;
  16153. public
  16154. procedure clearSHRTQNTA; inline;
  16155. procedure clearTESTBP; inline;
  16156. procedure clearTESTPAUSE; inline;
  16157. procedure setSHRTQNTA; inline;
  16158. procedure setTESTBP; inline;
  16159. procedure setTESTPAUSE; inline;
  16160. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  16161. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  16162. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  16163. property w : TBits_32 read getw write setw;
  16164. end;
  16165. TETH_EMACxTEST = record
  16166. private
  16167. function getSHRTQNTA : TBits_1; inline;
  16168. function getTESTBP : TBits_1; inline;
  16169. function getTESTPAUSE : TBits_1; inline;
  16170. function getw : TBits_32; inline;
  16171. procedure setSHRTQNTA(thebits : TBits_1); inline;
  16172. procedure setTESTBP(thebits : TBits_1); inline;
  16173. procedure setTESTPAUSE(thebits : TBits_1); inline;
  16174. procedure setw(thebits : TBits_32); inline;
  16175. public
  16176. procedure clearSHRTQNTA; inline;
  16177. procedure clearTESTBP; inline;
  16178. procedure clearTESTPAUSE; inline;
  16179. procedure setSHRTQNTA; inline;
  16180. procedure setTESTBP; inline;
  16181. procedure setTESTPAUSE; inline;
  16182. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  16183. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  16184. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  16185. property w : TBits_32 read getw write setw;
  16186. end;
  16187. TETH_EMAC1MCFG = record
  16188. private
  16189. function getCLKSEL : TBits_4; inline;
  16190. function getNOPRE : TBits_1; inline;
  16191. function getRESETMGMT : TBits_1; inline;
  16192. function getSCANINC : TBits_1; inline;
  16193. function getw : TBits_32; inline;
  16194. procedure setCLKSEL(thebits : TBits_4); inline;
  16195. procedure setNOPRE(thebits : TBits_1); inline;
  16196. procedure setRESETMGMT(thebits : TBits_1); inline;
  16197. procedure setSCANINC(thebits : TBits_1); inline;
  16198. procedure setw(thebits : TBits_32); inline;
  16199. public
  16200. procedure clearNOPRE; inline;
  16201. procedure clearRESETMGMT; inline;
  16202. procedure clearSCANINC; inline;
  16203. procedure setNOPRE; inline;
  16204. procedure setRESETMGMT; inline;
  16205. procedure setSCANINC; inline;
  16206. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  16207. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  16208. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  16209. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  16210. property w : TBits_32 read getw write setw;
  16211. end;
  16212. TETH_EMACxMCFG = record
  16213. private
  16214. function getCLKSEL : TBits_4; inline;
  16215. function getNOPRE : TBits_1; inline;
  16216. function getRESETMGMT : TBits_1; inline;
  16217. function getSCANINC : TBits_1; inline;
  16218. function getw : TBits_32; inline;
  16219. procedure setCLKSEL(thebits : TBits_4); inline;
  16220. procedure setNOPRE(thebits : TBits_1); inline;
  16221. procedure setRESETMGMT(thebits : TBits_1); inline;
  16222. procedure setSCANINC(thebits : TBits_1); inline;
  16223. procedure setw(thebits : TBits_32); inline;
  16224. public
  16225. procedure clearNOPRE; inline;
  16226. procedure clearRESETMGMT; inline;
  16227. procedure clearSCANINC; inline;
  16228. procedure setNOPRE; inline;
  16229. procedure setRESETMGMT; inline;
  16230. procedure setSCANINC; inline;
  16231. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  16232. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  16233. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  16234. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  16235. property w : TBits_32 read getw write setw;
  16236. end;
  16237. TETH_EMAC1MCMD = record
  16238. private
  16239. function getREAD : TBits_1; inline;
  16240. function getSCAN : TBits_1; inline;
  16241. function getw : TBits_32; inline;
  16242. procedure setREAD(thebits : TBits_1); inline;
  16243. procedure setSCAN(thebits : TBits_1); inline;
  16244. procedure setw(thebits : TBits_32); inline;
  16245. public
  16246. procedure clearREAD; inline;
  16247. procedure clearSCAN; inline;
  16248. procedure setREAD; inline;
  16249. procedure setSCAN; inline;
  16250. property READ : TBits_1 read getREAD write setREAD;
  16251. property SCAN : TBits_1 read getSCAN write setSCAN;
  16252. property w : TBits_32 read getw write setw;
  16253. end;
  16254. TETH_EMACxMCMD = record
  16255. private
  16256. function getREAD : TBits_1; inline;
  16257. function getSCAN : TBits_1; inline;
  16258. function getw : TBits_32; inline;
  16259. procedure setREAD(thebits : TBits_1); inline;
  16260. procedure setSCAN(thebits : TBits_1); inline;
  16261. procedure setw(thebits : TBits_32); inline;
  16262. public
  16263. procedure clearREAD; inline;
  16264. procedure clearSCAN; inline;
  16265. procedure setREAD; inline;
  16266. procedure setSCAN; inline;
  16267. property READ : TBits_1 read getREAD write setREAD;
  16268. property SCAN : TBits_1 read getSCAN write setSCAN;
  16269. property w : TBits_32 read getw write setw;
  16270. end;
  16271. TETH_EMAC1MADR = record
  16272. private
  16273. function getPHYADDR : TBits_5; inline;
  16274. function getREGADDR : TBits_5; inline;
  16275. function getw : TBits_32; inline;
  16276. procedure setPHYADDR(thebits : TBits_5); inline;
  16277. procedure setREGADDR(thebits : TBits_5); inline;
  16278. procedure setw(thebits : TBits_32); inline;
  16279. public
  16280. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  16281. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  16282. property w : TBits_32 read getw write setw;
  16283. end;
  16284. TETH_EMACxMADR = record
  16285. private
  16286. function getPHYADDR : TBits_5; inline;
  16287. function getREGADDR : TBits_5; inline;
  16288. function getw : TBits_32; inline;
  16289. procedure setPHYADDR(thebits : TBits_5); inline;
  16290. procedure setREGADDR(thebits : TBits_5); inline;
  16291. procedure setw(thebits : TBits_32); inline;
  16292. public
  16293. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  16294. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  16295. property w : TBits_32 read getw write setw;
  16296. end;
  16297. TETH_EMAC1MWTD = record
  16298. private
  16299. function getMWTD : TBits_16; inline;
  16300. function getw : TBits_32; inline;
  16301. procedure setMWTD(thebits : TBits_16); inline;
  16302. procedure setw(thebits : TBits_32); inline;
  16303. public
  16304. property MWTD : TBits_16 read getMWTD write setMWTD;
  16305. property w : TBits_32 read getw write setw;
  16306. end;
  16307. TETH_EMACxMWTD = record
  16308. private
  16309. function getMWTD : TBits_16; inline;
  16310. function getw : TBits_32; inline;
  16311. procedure setMWTD(thebits : TBits_16); inline;
  16312. procedure setw(thebits : TBits_32); inline;
  16313. public
  16314. property MWTD : TBits_16 read getMWTD write setMWTD;
  16315. property w : TBits_32 read getw write setw;
  16316. end;
  16317. TETH_EMAC1MRDD = record
  16318. private
  16319. function getMRDD : TBits_16; inline;
  16320. function getw : TBits_32; inline;
  16321. procedure setMRDD(thebits : TBits_16); inline;
  16322. procedure setw(thebits : TBits_32); inline;
  16323. public
  16324. property MRDD : TBits_16 read getMRDD write setMRDD;
  16325. property w : TBits_32 read getw write setw;
  16326. end;
  16327. TETH_EMACxMRDD = record
  16328. private
  16329. function getMRDD : TBits_16; inline;
  16330. function getw : TBits_32; inline;
  16331. procedure setMRDD(thebits : TBits_16); inline;
  16332. procedure setw(thebits : TBits_32); inline;
  16333. public
  16334. property MRDD : TBits_16 read getMRDD write setMRDD;
  16335. property w : TBits_32 read getw write setw;
  16336. end;
  16337. TETH_EMAC1MIND = record
  16338. private
  16339. function getLINKFAIL : TBits_1; inline;
  16340. function getMIIMBUSY : TBits_1; inline;
  16341. function getNOTVALID : TBits_1; inline;
  16342. function getSCAN : TBits_1; inline;
  16343. function getw : TBits_32; inline;
  16344. procedure setLINKFAIL(thebits : TBits_1); inline;
  16345. procedure setMIIMBUSY(thebits : TBits_1); inline;
  16346. procedure setNOTVALID(thebits : TBits_1); inline;
  16347. procedure setSCAN(thebits : TBits_1); inline;
  16348. procedure setw(thebits : TBits_32); inline;
  16349. public
  16350. procedure clearLINKFAIL; inline;
  16351. procedure clearMIIMBUSY; inline;
  16352. procedure clearNOTVALID; inline;
  16353. procedure clearSCAN; inline;
  16354. procedure setLINKFAIL; inline;
  16355. procedure setMIIMBUSY; inline;
  16356. procedure setNOTVALID; inline;
  16357. procedure setSCAN; inline;
  16358. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  16359. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  16360. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  16361. property SCAN : TBits_1 read getSCAN write setSCAN;
  16362. property w : TBits_32 read getw write setw;
  16363. end;
  16364. TETH_EMACxMIND = record
  16365. private
  16366. function getLINKFAIL : TBits_1; inline;
  16367. function getMIIMBUSY : TBits_1; inline;
  16368. function getNOTVALID : TBits_1; inline;
  16369. function getSCAN : TBits_1; inline;
  16370. function getw : TBits_32; inline;
  16371. procedure setLINKFAIL(thebits : TBits_1); inline;
  16372. procedure setMIIMBUSY(thebits : TBits_1); inline;
  16373. procedure setNOTVALID(thebits : TBits_1); inline;
  16374. procedure setSCAN(thebits : TBits_1); inline;
  16375. procedure setw(thebits : TBits_32); inline;
  16376. public
  16377. procedure clearLINKFAIL; inline;
  16378. procedure clearMIIMBUSY; inline;
  16379. procedure clearNOTVALID; inline;
  16380. procedure clearSCAN; inline;
  16381. procedure setLINKFAIL; inline;
  16382. procedure setMIIMBUSY; inline;
  16383. procedure setNOTVALID; inline;
  16384. procedure setSCAN; inline;
  16385. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  16386. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  16387. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  16388. property SCAN : TBits_1 read getSCAN write setSCAN;
  16389. property w : TBits_32 read getw write setw;
  16390. end;
  16391. TETH_EMAC1SA0 = record
  16392. private
  16393. function getSTNADDR5 : TBits_8; inline;
  16394. function getSTNADDR6 : TBits_8; inline;
  16395. function getw : TBits_32; inline;
  16396. procedure setSTNADDR5(thebits : TBits_8); inline;
  16397. procedure setSTNADDR6(thebits : TBits_8); inline;
  16398. procedure setw(thebits : TBits_32); inline;
  16399. public
  16400. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  16401. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  16402. property w : TBits_32 read getw write setw;
  16403. end;
  16404. TETH_EMACxSA0 = record
  16405. private
  16406. function getSTNADDR5 : TBits_8; inline;
  16407. function getSTNADDR6 : TBits_8; inline;
  16408. function getw : TBits_32; inline;
  16409. procedure setSTNADDR5(thebits : TBits_8); inline;
  16410. procedure setSTNADDR6(thebits : TBits_8); inline;
  16411. procedure setw(thebits : TBits_32); inline;
  16412. public
  16413. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  16414. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  16415. property w : TBits_32 read getw write setw;
  16416. end;
  16417. TETH_EMAC1SA1 = record
  16418. private
  16419. function getSTNADDR3 : TBits_8; inline;
  16420. function getSTNADDR4 : TBits_8; inline;
  16421. function getw : TBits_32; inline;
  16422. procedure setSTNADDR3(thebits : TBits_8); inline;
  16423. procedure setSTNADDR4(thebits : TBits_8); inline;
  16424. procedure setw(thebits : TBits_32); inline;
  16425. public
  16426. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  16427. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  16428. property w : TBits_32 read getw write setw;
  16429. end;
  16430. TETH_EMACxSA1 = record
  16431. private
  16432. function getSTNADDR3 : TBits_8; inline;
  16433. function getSTNADDR4 : TBits_8; inline;
  16434. function getw : TBits_32; inline;
  16435. procedure setSTNADDR3(thebits : TBits_8); inline;
  16436. procedure setSTNADDR4(thebits : TBits_8); inline;
  16437. procedure setw(thebits : TBits_32); inline;
  16438. public
  16439. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  16440. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  16441. property w : TBits_32 read getw write setw;
  16442. end;
  16443. TETH_EMAC1SA2 = record
  16444. private
  16445. function getSTNADDR1 : TBits_8; inline;
  16446. function getSTNADDR2 : TBits_8; inline;
  16447. function getw : TBits_32; inline;
  16448. procedure setSTNADDR1(thebits : TBits_8); inline;
  16449. procedure setSTNADDR2(thebits : TBits_8); inline;
  16450. procedure setw(thebits : TBits_32); inline;
  16451. public
  16452. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  16453. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  16454. property w : TBits_32 read getw write setw;
  16455. end;
  16456. TETH_EMACxSA2 = record
  16457. private
  16458. function getSTNADDR1 : TBits_8; inline;
  16459. function getSTNADDR2 : TBits_8; inline;
  16460. function getw : TBits_32; inline;
  16461. procedure setSTNADDR1(thebits : TBits_8); inline;
  16462. procedure setSTNADDR2(thebits : TBits_8); inline;
  16463. procedure setw(thebits : TBits_32); inline;
  16464. public
  16465. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  16466. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  16467. property w : TBits_32 read getw write setw;
  16468. end;
  16469. type
  16470. TETHRegisters = record
  16471. ETHCON1bits : TETH_ETHCON1;
  16472. ETHCON1 : longWord;
  16473. ETHCON1CLR : longWord;
  16474. ETHCON1SET : longWord;
  16475. ETHCON1INV : longWord;
  16476. ETHCON2bits : TETH_ETHCON2;
  16477. ETHCON2 : longWord;
  16478. ETHCON2CLR : longWord;
  16479. ETHCON2SET : longWord;
  16480. ETHCON2INV : longWord;
  16481. ETHTXSTbits : TETH_ETHTXST;
  16482. ETHTXST : longWord;
  16483. ETHTXSTCLR : longWord;
  16484. ETHTXSTSET : longWord;
  16485. ETHTXSTINV : longWord;
  16486. ETHRXSTbits : TETH_ETHRXST;
  16487. ETHRXST : longWord;
  16488. ETHRXSTCLR : longWord;
  16489. ETHRXSTSET : longWord;
  16490. ETHRXSTINV : longWord;
  16491. ETHHT0bits : TETH_ETHHT0;
  16492. ETHHT0 : longWord;
  16493. ETHHT0CLR : longWord;
  16494. ETHHT0SET : longWord;
  16495. ETHHT0INV : longWord;
  16496. ETHHT1bits : TETH_ETHHT1;
  16497. ETHHT1 : longWord;
  16498. ETHHT1CLR : longWord;
  16499. ETHHT1SET : longWord;
  16500. ETHHT1INV : longWord;
  16501. ETHPMM0bits : TETH_ETHPMM0;
  16502. ETHPMM0 : longWord;
  16503. ETHPMM0CLR : longWord;
  16504. ETHPMM0SET : longWord;
  16505. ETHPMM0INV : longWord;
  16506. ETHPMM1bits : TETH_ETHPMM1;
  16507. ETHPMM1 : longWord;
  16508. ETHPMM1CLR : longWord;
  16509. ETHPMM1SET : longWord;
  16510. ETHPMM1INV : longWord;
  16511. ETHPMCSbits : TETH_ETHPMCS;
  16512. ETHPMCS : longWord;
  16513. ETHPMCSCLR : longWord;
  16514. ETHPMCSSET : longWord;
  16515. ETHPMCSINV : longWord;
  16516. ETHPMObits : TETH_ETHPMO;
  16517. ETHPMO : longWord;
  16518. ETHPMOCLR : longWord;
  16519. ETHPMOSET : longWord;
  16520. ETHPMOINV : longWord;
  16521. ETHRXFCbits : TETH_ETHRXFC;
  16522. ETHRXFC : longWord;
  16523. ETHRXFCCLR : longWord;
  16524. ETHRXFCSET : longWord;
  16525. ETHRXFCINV : longWord;
  16526. ETHRXWMbits : TETH_ETHRXWM;
  16527. ETHRXWM : longWord;
  16528. ETHRXWMCLR : longWord;
  16529. ETHRXWMSET : longWord;
  16530. ETHRXWMINV : longWord;
  16531. ETHIENbits : TETH_ETHIEN;
  16532. ETHIEN : longWord;
  16533. ETHIENCLR : longWord;
  16534. ETHIENSET : longWord;
  16535. ETHIENINV : longWord;
  16536. ETHIRQbits : TETH_ETHIRQ;
  16537. ETHIRQ : longWord;
  16538. ETHIRQCLR : longWord;
  16539. ETHIRQSET : longWord;
  16540. ETHIRQINV : longWord;
  16541. ETHSTATbits : TETH_ETHSTAT;
  16542. ETHSTAT : longWord;
  16543. ETHSTATCLR : longWord;
  16544. ETHSTATSET : longWord;
  16545. ETHSTATINV : longWord;
  16546. ETHRXOVFLOWbits : TETH_ETHRXOVFLOW;
  16547. ETHRXOVFLOW : longWord;
  16548. ETHRXOVFLOWCLR : longWord;
  16549. ETHRXOVFLOWSET : longWord;
  16550. ETHRXOVFLOWINV : longWord;
  16551. ETHFRMTXOKbits : TETH_ETHFRMTXOK;
  16552. ETHFRMTXOK : longWord;
  16553. ETHFRMTXOKCLR : longWord;
  16554. ETHFRMTXOKSET : longWord;
  16555. ETHFRMTXOKINV : longWord;
  16556. ETHSCOLFRMbits : TETH_ETHSCOLFRM;
  16557. ETHSCOLFRM : longWord;
  16558. ETHSCOLFRMCLR : longWord;
  16559. ETHSCOLFRMSET : longWord;
  16560. ETHSCOLFRMINV : longWord;
  16561. ETHMCOLFRMbits : TETH_ETHMCOLFRM;
  16562. ETHMCOLFRM : longWord;
  16563. ETHMCOLFRMCLR : longWord;
  16564. ETHMCOLFRMSET : longWord;
  16565. ETHMCOLFRMINV : longWord;
  16566. ETHFRMRXOKbits : TETH_ETHFRMRXOK;
  16567. ETHFRMRXOK : longWord;
  16568. ETHFRMRXOKCLR : longWord;
  16569. ETHFRMRXOKSET : longWord;
  16570. ETHFRMRXOKINV : longWord;
  16571. ETHFCSERRbits : TETH_ETHFCSERR;
  16572. ETHFCSERR : longWord;
  16573. ETHFCSERRCLR : longWord;
  16574. ETHFCSERRSET : longWord;
  16575. ETHFCSERRINV : longWord;
  16576. ETHALGNERRbits : TETH_ETHALGNERR;
  16577. ETHALGNERR : longWord;
  16578. ETHALGNERRCLR : longWord;
  16579. ETHALGNERRSET : longWord;
  16580. ETHALGNERRINV : longWord;
  16581. EMAC1CFG1bits : TETH_EMAC1CFG1;
  16582. EMAC1CFG1 : longWord;
  16583. EMACxCFG1bits : TETH_EMACxCFG1;
  16584. EMACxCFG1 : longWord;
  16585. EMAC1CFG1CLR : longWord;
  16586. EMACxCFG1CLR : longWord;
  16587. EMAC1CFG1SET : longWord;
  16588. EMACxCFG1SET : longWord;
  16589. EMAC1CFG1INV : longWord;
  16590. EMACxCFG1INV : longWord;
  16591. EMAC1CFG2bits : TETH_EMAC1CFG2;
  16592. EMAC1CFG2 : longWord;
  16593. EMACxCFG2bits : TETH_EMACxCFG2;
  16594. EMACxCFG2 : longWord;
  16595. EMAC1CFG2CLR : longWord;
  16596. EMACxCFG2CLR : longWord;
  16597. EMAC1CFG2SET : longWord;
  16598. EMACxCFG2SET : longWord;
  16599. EMAC1CFG2INV : longWord;
  16600. EMACxCFG2INV : longWord;
  16601. EMAC1IPGTbits : TETH_EMAC1IPGT;
  16602. EMAC1IPGT : longWord;
  16603. EMACxIPGTbits : TETH_EMACxIPGT;
  16604. EMACxIPGT : longWord;
  16605. EMAC1IPGTCLR : longWord;
  16606. EMACxIPGTCLR : longWord;
  16607. EMAC1IPGTSET : longWord;
  16608. EMACxIPGTSET : longWord;
  16609. EMAC1IPGTINV : longWord;
  16610. EMACxIPGTINV : longWord;
  16611. EMAC1IPGRbits : TETH_EMAC1IPGR;
  16612. EMAC1IPGR : longWord;
  16613. EMACxIPGRbits : TETH_EMACxIPGR;
  16614. EMACxIPGR : longWord;
  16615. EMAC1IPGRCLR : longWord;
  16616. EMACxIPGRCLR : longWord;
  16617. EMAC1IPGRSET : longWord;
  16618. EMACxIPGRSET : longWord;
  16619. EMAC1IPGRINV : longWord;
  16620. EMACxIPGRINV : longWord;
  16621. EMAC1CLRTbits : TETH_EMAC1CLRT;
  16622. EMAC1CLRT : longWord;
  16623. EMACxCLRTbits : TETH_EMACxCLRT;
  16624. EMACxCLRT : longWord;
  16625. EMAC1CLRTCLR : longWord;
  16626. EMACxCLRTCLR : longWord;
  16627. EMAC1CLRTSET : longWord;
  16628. EMACxCLRTSET : longWord;
  16629. EMAC1CLRTINV : longWord;
  16630. EMACxCLRTINV : longWord;
  16631. EMAC1MAXFbits : TETH_EMAC1MAXF;
  16632. EMAC1MAXF : longWord;
  16633. EMACxMAXFbits : TETH_EMACxMAXF;
  16634. EMACxMAXF : longWord;
  16635. EMAC1MAXFCLR : longWord;
  16636. EMACxMAXFCLR : longWord;
  16637. EMAC1MAXFSET : longWord;
  16638. EMACxMAXFSET : longWord;
  16639. EMAC1MAXFINV : longWord;
  16640. EMACxMAXFINV : longWord;
  16641. EMAC1SUPPbits : TETH_EMAC1SUPP;
  16642. EMAC1SUPP : longWord;
  16643. EMACxSUPPbits : TETH_EMACxSUPP;
  16644. EMACxSUPP : longWord;
  16645. EMAC1SUPPCLR : longWord;
  16646. EMACxSUPPCLR : longWord;
  16647. EMAC1SUPPSET : longWord;
  16648. EMACxSUPPSET : longWord;
  16649. EMAC1SUPPINV : longWord;
  16650. EMACxSUPPINV : longWord;
  16651. EMAC1TESTbits : TETH_EMAC1TEST;
  16652. EMAC1TEST : longWord;
  16653. EMACxTESTbits : TETH_EMACxTEST;
  16654. EMACxTEST : longWord;
  16655. EMAC1TESTCLR : longWord;
  16656. EMACxTESTCLR : longWord;
  16657. EMAC1TESTSET : longWord;
  16658. EMACxTESTSET : longWord;
  16659. EMAC1TESTINV : longWord;
  16660. EMACxTESTINV : longWord;
  16661. EMAC1MCFGbits : TETH_EMAC1MCFG;
  16662. EMAC1MCFG : longWord;
  16663. EMACxMCFGbits : TETH_EMACxMCFG;
  16664. EMACxMCFG : longWord;
  16665. EMAC1MCFGCLR : longWord;
  16666. EMACxMCFGCLR : longWord;
  16667. EMAC1MCFGSET : longWord;
  16668. EMACxMCFGSET : longWord;
  16669. EMAC1MCFGINV : longWord;
  16670. EMACxMCFGINV : longWord;
  16671. EMAC1MCMDbits : TETH_EMAC1MCMD;
  16672. EMAC1MCMD : longWord;
  16673. EMACxMCMDbits : TETH_EMACxMCMD;
  16674. EMACxMCMD : longWord;
  16675. EMAC1MCMDCLR : longWord;
  16676. EMACxMCMDCLR : longWord;
  16677. EMAC1MCMDSET : longWord;
  16678. EMACxMCMDSET : longWord;
  16679. EMAC1MCMDINV : longWord;
  16680. EMACxMCMDINV : longWord;
  16681. EMAC1MADRbits : TETH_EMAC1MADR;
  16682. EMAC1MADR : longWord;
  16683. EMACxMADRbits : TETH_EMACxMADR;
  16684. EMACxMADR : longWord;
  16685. EMAC1MADRCLR : longWord;
  16686. EMACxMADRCLR : longWord;
  16687. EMAC1MADRSET : longWord;
  16688. EMACxMADRSET : longWord;
  16689. EMAC1MADRINV : longWord;
  16690. EMACxMADRINV : longWord;
  16691. EMAC1MWTDbits : TETH_EMAC1MWTD;
  16692. EMAC1MWTD : longWord;
  16693. EMACxMWTDbits : TETH_EMACxMWTD;
  16694. EMACxMWTD : longWord;
  16695. EMAC1MWTDCLR : longWord;
  16696. EMACxMWTDCLR : longWord;
  16697. EMAC1MWTDSET : longWord;
  16698. EMACxMWTDSET : longWord;
  16699. EMAC1MWTDINV : longWord;
  16700. EMACxMWTDINV : longWord;
  16701. EMAC1MRDDbits : TETH_EMAC1MRDD;
  16702. EMAC1MRDD : longWord;
  16703. EMACxMRDDbits : TETH_EMACxMRDD;
  16704. EMACxMRDD : longWord;
  16705. EMAC1MRDDCLR : longWord;
  16706. EMACxMRDDCLR : longWord;
  16707. EMAC1MRDDSET : longWord;
  16708. EMACxMRDDSET : longWord;
  16709. EMAC1MRDDINV : longWord;
  16710. EMACxMRDDINV : longWord;
  16711. EMAC1MINDbits : TETH_EMAC1MIND;
  16712. EMAC1MIND : longWord;
  16713. EMACxMINDbits : TETH_EMACxMIND;
  16714. EMACxMIND : longWord;
  16715. EMAC1MINDCLR : longWord;
  16716. EMACxMINDCLR : longWord;
  16717. EMAC1MINDSET : longWord;
  16718. EMACxMINDSET : longWord;
  16719. EMAC1MINDINV : longWord;
  16720. EMACxMINDINV : longWord;
  16721. EMAC1SA0bits : TETH_EMAC1SA0;
  16722. EMAC1SA0 : longWord;
  16723. EMACxSA0bits : TETH_EMACxSA0;
  16724. EMACxSA0 : longWord;
  16725. EMAC1SA0CLR : longWord;
  16726. EMACxSA0CLR : longWord;
  16727. EMAC1SA0SET : longWord;
  16728. EMACxSA0SET : longWord;
  16729. EMAC1SA0INV : longWord;
  16730. EMACxSA0INV : longWord;
  16731. EMAC1SA1bits : TETH_EMAC1SA1;
  16732. EMAC1SA1 : longWord;
  16733. EMACxSA1bits : TETH_EMACxSA1;
  16734. EMACxSA1 : longWord;
  16735. EMAC1SA1CLR : longWord;
  16736. EMACxSA1CLR : longWord;
  16737. EMAC1SA1SET : longWord;
  16738. EMACxSA1SET : longWord;
  16739. EMAC1SA1INV : longWord;
  16740. EMACxSA1INV : longWord;
  16741. EMAC1SA2bits : TETH_EMAC1SA2;
  16742. EMAC1SA2 : longWord;
  16743. EMACxSA2bits : TETH_EMACxSA2;
  16744. EMACxSA2 : longWord;
  16745. EMAC1SA2CLR : longWord;
  16746. EMACxSA2CLR : longWord;
  16747. EMAC1SA2SET : longWord;
  16748. EMACxSA2SET : longWord;
  16749. EMAC1SA2INV : longWord;
  16750. EMACxSA2INV : longWord;
  16751. end;
  16752. TDEVCFG_DEVCFG3 = record
  16753. private
  16754. function getFETHIO : TBits_1; inline;
  16755. function getFMIIEN : TBits_1; inline;
  16756. function getFSRSSEL : TBits_3; inline;
  16757. function getFUSBIDIO : TBits_1; inline;
  16758. function getFVBUSONIO : TBits_1; inline;
  16759. function getUSERID : TBits_16; inline;
  16760. function getw : TBits_32; inline;
  16761. procedure setFETHIO(thebits : TBits_1); inline;
  16762. procedure setFMIIEN(thebits : TBits_1); inline;
  16763. procedure setFSRSSEL(thebits : TBits_3); inline;
  16764. procedure setFUSBIDIO(thebits : TBits_1); inline;
  16765. procedure setFVBUSONIO(thebits : TBits_1); inline;
  16766. procedure setUSERID(thebits : TBits_16); inline;
  16767. procedure setw(thebits : TBits_32); inline;
  16768. public
  16769. procedure clearFETHIO; inline;
  16770. procedure clearFMIIEN; inline;
  16771. procedure clearFUSBIDIO; inline;
  16772. procedure clearFVBUSONIO; inline;
  16773. procedure setFETHIO; inline;
  16774. procedure setFMIIEN; inline;
  16775. procedure setFUSBIDIO; inline;
  16776. procedure setFVBUSONIO; inline;
  16777. property FETHIO : TBits_1 read getFETHIO write setFETHIO;
  16778. property FMIIEN : TBits_1 read getFMIIEN write setFMIIEN;
  16779. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  16780. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  16781. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  16782. property USERID : TBits_16 read getUSERID write setUSERID;
  16783. property w : TBits_32 read getw write setw;
  16784. end;
  16785. TDEVCFG_DEVCFG2 = record
  16786. private
  16787. function getFPLLIDIV : TBits_3; inline;
  16788. function getFPLLMUL : TBits_3; inline;
  16789. function getFPLLODIV : TBits_3; inline;
  16790. function getUPLLEN : TBits_1; inline;
  16791. function getUPLLIDIV : TBits_3; inline;
  16792. function getw : TBits_32; inline;
  16793. procedure setFPLLIDIV(thebits : TBits_3); inline;
  16794. procedure setFPLLMUL(thebits : TBits_3); inline;
  16795. procedure setFPLLODIV(thebits : TBits_3); inline;
  16796. procedure setUPLLEN(thebits : TBits_1); inline;
  16797. procedure setUPLLIDIV(thebits : TBits_3); inline;
  16798. procedure setw(thebits : TBits_32); inline;
  16799. public
  16800. procedure clearUPLLEN; inline;
  16801. procedure setUPLLEN; inline;
  16802. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  16803. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  16804. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  16805. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  16806. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  16807. property w : TBits_32 read getw write setw;
  16808. end;
  16809. TDEVCFG_DEVCFG1 = record
  16810. private
  16811. function getFCKSM : TBits_2; inline;
  16812. function getFNOSC : TBits_3; inline;
  16813. function getFPBDIV : TBits_2; inline;
  16814. function getFSOSCEN : TBits_1; inline;
  16815. function getFWDTEN : TBits_1; inline;
  16816. function getIESO : TBits_1; inline;
  16817. function getOSCIOFNC : TBits_1; inline;
  16818. function getPOSCMOD : TBits_2; inline;
  16819. function getWDTPS : TBits_5; inline;
  16820. function getw : TBits_32; inline;
  16821. procedure setFCKSM(thebits : TBits_2); inline;
  16822. procedure setFNOSC(thebits : TBits_3); inline;
  16823. procedure setFPBDIV(thebits : TBits_2); inline;
  16824. procedure setFSOSCEN(thebits : TBits_1); inline;
  16825. procedure setFWDTEN(thebits : TBits_1); inline;
  16826. procedure setIESO(thebits : TBits_1); inline;
  16827. procedure setOSCIOFNC(thebits : TBits_1); inline;
  16828. procedure setPOSCMOD(thebits : TBits_2); inline;
  16829. procedure setWDTPS(thebits : TBits_5); inline;
  16830. procedure setw(thebits : TBits_32); inline;
  16831. public
  16832. procedure clearFSOSCEN; inline;
  16833. procedure clearFWDTEN; inline;
  16834. procedure clearIESO; inline;
  16835. procedure clearOSCIOFNC; inline;
  16836. procedure setFSOSCEN; inline;
  16837. procedure setFWDTEN; inline;
  16838. procedure setIESO; inline;
  16839. procedure setOSCIOFNC; inline;
  16840. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  16841. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  16842. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  16843. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  16844. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  16845. property IESO : TBits_1 read getIESO write setIESO;
  16846. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  16847. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  16848. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  16849. property w : TBits_32 read getw write setw;
  16850. end;
  16851. TDEVCFG_DEVCFG0 = record
  16852. private
  16853. function getBWP : TBits_1; inline;
  16854. function getCP : TBits_1; inline;
  16855. function getDEBUG : TBits_2; inline;
  16856. function getFDEBUG : TBits_2; inline;
  16857. function getICESEL : TBits_1; inline;
  16858. function getPWP : TBits_8; inline;
  16859. function getw : TBits_32; inline;
  16860. procedure setBWP(thebits : TBits_1); inline;
  16861. procedure setCP(thebits : TBits_1); inline;
  16862. procedure setDEBUG(thebits : TBits_2); inline;
  16863. procedure setFDEBUG(thebits : TBits_2); inline;
  16864. procedure setICESEL(thebits : TBits_1); inline;
  16865. procedure setPWP(thebits : TBits_8); inline;
  16866. procedure setw(thebits : TBits_32); inline;
  16867. public
  16868. procedure clearBWP; inline;
  16869. procedure clearCP; inline;
  16870. procedure clearICESEL; inline;
  16871. procedure setBWP; inline;
  16872. procedure setCP; inline;
  16873. procedure setICESEL; inline;
  16874. property BWP : TBits_1 read getBWP write setBWP;
  16875. property CP : TBits_1 read getCP write setCP;
  16876. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  16877. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  16878. property ICESEL : TBits_1 read getICESEL write setICESEL;
  16879. property PWP : TBits_8 read getPWP write setPWP;
  16880. property w : TBits_32 read getw write setw;
  16881. end;
  16882. const
  16883. _CORE_TIMER_IRQ = 0;
  16884. _CORE_SOFTWARE_0_IRQ = 1;
  16885. _CORE_SOFTWARE_1_IRQ = 2;
  16886. _EXTERNAL_0_IRQ = 3;
  16887. _TIMER_1_IRQ = 4;
  16888. _INPUT_CAPTURE_1_IRQ = 5;
  16889. _OUTPUT_COMPARE_1_IRQ = 6;
  16890. _EXTERNAL_1_IRQ = 7;
  16891. _TIMER_2_IRQ = 8;
  16892. _INPUT_CAPTURE_2_IRQ = 9;
  16893. _OUTPUT_COMPARE_2_IRQ = 10;
  16894. _EXTERNAL_2_IRQ = 11;
  16895. _TIMER_3_IRQ = 12;
  16896. _INPUT_CAPTURE_3_IRQ = 13;
  16897. _OUTPUT_COMPARE_3_IRQ = 14;
  16898. _EXTERNAL_3_IRQ = 15;
  16899. _TIMER_4_IRQ = 16;
  16900. _INPUT_CAPTURE_4_IRQ = 17;
  16901. _OUTPUT_COMPARE_4_IRQ = 18;
  16902. _EXTERNAL_4_IRQ = 19;
  16903. _TIMER_5_IRQ = 20;
  16904. _INPUT_CAPTURE_5_IRQ = 21;
  16905. _OUTPUT_COMPARE_5_IRQ = 22;
  16906. _SPI1_ERR_IRQ = 23;
  16907. _SPI1_RX_IRQ = 24;
  16908. _SPI1_TX_IRQ = 25;
  16909. _I2C1A_ERR_IRQ = 26;
  16910. _I2C3_BUS_IRQ = 26;
  16911. _SPI1A_ERR_IRQ = 26;
  16912. _SPI3_ERR_IRQ = 26;
  16913. _UART1A_ERR_IRQ = 26;
  16914. _UART1_ERR_IRQ = 26;
  16915. _I2C1A_RX_IRQ = 27;
  16916. _I2C3_SLAVE_IRQ = 27;
  16917. _SPI1A_RX_IRQ = 27;
  16918. _SPI3_RX_IRQ = 27;
  16919. _UART1A_RX_IRQ = 27;
  16920. _UART1_RX_IRQ = 27;
  16921. _I2C1A_TX_IRQ = 28;
  16922. _I2C3_MASTER_IRQ = 28;
  16923. _SPI1A_TX_IRQ = 28;
  16924. _SPI3_TX_IRQ = 28;
  16925. _UART1A_TX_IRQ = 28;
  16926. _UART1_TX_IRQ = 28;
  16927. _I2C1_BUS_IRQ = 29;
  16928. _I2C1_SLAVE_IRQ = 30;
  16929. _I2C1_MASTER_IRQ = 31;
  16930. _CHANGE_NOTICE_IRQ = 32;
  16931. _ADC_IRQ = 33;
  16932. _PMP_IRQ = 34;
  16933. _COMPARATOR_1_IRQ = 35;
  16934. _COMPARATOR_2_IRQ = 36;
  16935. _I2C2A_ERR_IRQ = 37;
  16936. _I2C4_BUS_IRQ = 37;
  16937. _SPI2_ERR_IRQ = 37;
  16938. _SPI2A_ERR_IRQ = 37;
  16939. _UART2A_ERR_IRQ = 37;
  16940. _UART3_ERR_IRQ = 37;
  16941. _I2C2A_RX_IRQ = 38;
  16942. _I2C4_SLAVE_IRQ = 38;
  16943. _SPI2_RX_IRQ = 38;
  16944. _SPI2A_RX_IRQ = 38;
  16945. _UART2A_RX_IRQ = 38;
  16946. _UART3_RX_IRQ = 38;
  16947. _I2C2A_TX_IRQ = 39;
  16948. _I2C4_MASTER_IRQ = 39;
  16949. _SPI2A_TX_IRQ = 39;
  16950. _SPI2_TX_IRQ = 39;
  16951. _UART2A_TX_IRQ = 39;
  16952. _UART3_TX_IRQ = 39;
  16953. _I2C3A_ERR_IRQ = 40;
  16954. _I2C5_BUS_IRQ = 40;
  16955. _SPI3A_ERR_IRQ = 40;
  16956. _SPI4_ERR_IRQ = 40;
  16957. _UART2_ERR_IRQ = 40;
  16958. _UART3A_ERR_IRQ = 40;
  16959. _I2C3A_RX_IRQ = 41;
  16960. _I2C5_SLAVE_IRQ = 41;
  16961. _SPI3A_RX_IRQ = 41;
  16962. _SPI4_RX_IRQ = 41;
  16963. _UART2_RX_IRQ = 41;
  16964. _UART3A_RX_IRQ = 41;
  16965. _I2C3A_TX_IRQ = 42;
  16966. _I2C5_MASTER_IRQ = 42;
  16967. _SPI3A_TX_IRQ = 42;
  16968. _SPI4_TX_IRQ = 42;
  16969. _UART2_TX_IRQ = 42;
  16970. _UART3A_TX_IRQ = 42;
  16971. _I2C2_BUS_IRQ = 43;
  16972. _I2C2_SLAVE_IRQ = 44;
  16973. _I2C2_MASTER_IRQ = 45;
  16974. _FAIL_SAFE_MONITOR_IRQ = 46;
  16975. _RTCC_IRQ = 47;
  16976. _DMA0_IRQ = 48;
  16977. _DMA1_IRQ = 49;
  16978. _DMA2_IRQ = 50;
  16979. _DMA3_IRQ = 51;
  16980. _DMA4_IRQ = 52;
  16981. _DMA5_IRQ = 53;
  16982. _DMA6_IRQ = 54;
  16983. _DMA7_IRQ = 55;
  16984. _FLASH_CONTROL_IRQ = 56;
  16985. _USB_IRQ = 57;
  16986. _ETHERNET_IRQ = 60;
  16987. _INPUT_CAPTURE_ERROR_1_IRQ = 61;
  16988. _INPUT_CAPTURE_ERROR_2_IRQ = 62;
  16989. _INPUT_CAPTURE_ERROR_3_IRQ = 63;
  16990. _INPUT_CAPTURE_ERROR_4_IRQ = 64;
  16991. _INPUT_CAPTURE_ERROR_5_IRQ = 65;
  16992. _PMP_ERROR_IRQ = 66;
  16993. _UART1B_ERR_IRQ = 67;
  16994. _UART4_ERR_IRQ = 67;
  16995. _UART1B_RX_IRQ = 68;
  16996. _UART4_RX_IRQ = 68;
  16997. _UART1B_TX_IRQ = 69;
  16998. _UART4_TX_IRQ = 69;
  16999. _UART2B_ERR_IRQ = 70;
  17000. _UART6_ERR_IRQ = 70;
  17001. _UART2B_RX_IRQ = 71;
  17002. _UART6_RX_IRQ = 71;
  17003. _UART2B_TX_IRQ = 72;
  17004. _UART6_TX_IRQ = 72;
  17005. _UART3B_ERR_IRQ = 73;
  17006. _UART5_ERR_IRQ = 73;
  17007. _UART3B_RX_IRQ = 74;
  17008. _UART5_RX_IRQ = 74;
  17009. _UART3B_TX_IRQ = 75;
  17010. _UART5_TX_IRQ = 75;
  17011. const
  17012. ADC10_BASE_ADDRESS = $BF809000;
  17013. var
  17014. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  17015. const
  17016. BMX_BASE_ADDRESS = $BF882000;
  17017. var
  17018. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  17019. const
  17020. CFG_BASE_ADDRESS = $BF80F200;
  17021. var
  17022. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  17023. const
  17024. CMP_BASE_ADDRESS = $BF80A000;
  17025. var
  17026. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  17027. const
  17028. CVR_BASE_ADDRESS = $BF809800;
  17029. var
  17030. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  17031. const
  17032. DMAC_BASE_ADDRESS = $BF883000;
  17033. var
  17034. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  17035. const
  17036. DMAC0_BASE_ADDRESS = $BF883060;
  17037. var
  17038. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  17039. const
  17040. DMAC1_BASE_ADDRESS = $BF883120;
  17041. var
  17042. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  17043. const
  17044. DMAC2_BASE_ADDRESS = $BF8831E0;
  17045. var
  17046. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  17047. const
  17048. DMAC3_BASE_ADDRESS = $BF8832A0;
  17049. var
  17050. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  17051. const
  17052. DMAC4_BASE_ADDRESS = $BF883360;
  17053. var
  17054. DMAC4 : TDMAC4Registers absolute DMAC4_BASE_ADDRESS;
  17055. const
  17056. DMAC5_BASE_ADDRESS = $BF883420;
  17057. var
  17058. DMAC5 : TDMAC5Registers absolute DMAC5_BASE_ADDRESS;
  17059. const
  17060. DMAC6_BASE_ADDRESS = $BF8834E0;
  17061. var
  17062. DMAC6 : TDMAC6Registers absolute DMAC6_BASE_ADDRESS;
  17063. const
  17064. DMAC7_BASE_ADDRESS = $BF8835A0;
  17065. var
  17066. DMAC7 : TDMAC7Registers absolute DMAC7_BASE_ADDRESS;
  17067. const
  17068. ETH_BASE_ADDRESS = $BF889000;
  17069. var
  17070. ETH : TETHRegisters absolute ETH_BASE_ADDRESS;
  17071. const
  17072. I2C1_BASE_ADDRESS = $BF805300;
  17073. var
  17074. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  17075. const
  17076. I2C2_BASE_ADDRESS = $BF805400;
  17077. var
  17078. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  17079. const
  17080. I2C3_BASE_ADDRESS = $BF805000;
  17081. var
  17082. I2C3 : TI2C3Registers absolute I2C3_BASE_ADDRESS;
  17083. const
  17084. I2C4_BASE_ADDRESS = $BF805100;
  17085. var
  17086. I2C4 : TI2C4Registers absolute I2C4_BASE_ADDRESS;
  17087. const
  17088. I2C5_BASE_ADDRESS = $BF805200;
  17089. var
  17090. I2C5 : TI2C5Registers absolute I2C5_BASE_ADDRESS;
  17091. const
  17092. ICAP1_BASE_ADDRESS = $BF802000;
  17093. var
  17094. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  17095. const
  17096. ICAP2_BASE_ADDRESS = $BF802200;
  17097. var
  17098. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  17099. const
  17100. ICAP3_BASE_ADDRESS = $BF802400;
  17101. var
  17102. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  17103. const
  17104. ICAP4_BASE_ADDRESS = $BF802600;
  17105. var
  17106. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  17107. const
  17108. ICAP5_BASE_ADDRESS = $BF802800;
  17109. var
  17110. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  17111. const
  17112. INT_BASE_ADDRESS = $BF881000;
  17113. var
  17114. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  17115. const
  17116. NVM_BASE_ADDRESS = $BF80F400;
  17117. var
  17118. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  17119. const
  17120. OCMP1_BASE_ADDRESS = $BF803000;
  17121. var
  17122. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  17123. const
  17124. OCMP2_BASE_ADDRESS = $BF803200;
  17125. var
  17126. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  17127. const
  17128. OCMP3_BASE_ADDRESS = $BF803400;
  17129. var
  17130. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  17131. const
  17132. OCMP4_BASE_ADDRESS = $BF803600;
  17133. var
  17134. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  17135. const
  17136. OCMP5_BASE_ADDRESS = $BF803800;
  17137. var
  17138. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  17139. const
  17140. OSC_BASE_ADDRESS = $BF80F000;
  17141. var
  17142. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  17143. const
  17144. PCACHE_BASE_ADDRESS = $BF884000;
  17145. var
  17146. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  17147. const
  17148. PMP_BASE_ADDRESS = $BF807000;
  17149. var
  17150. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  17151. const
  17152. PORTA_BASE_ADDRESS = $BF886000;
  17153. var
  17154. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  17155. const
  17156. PORTB_BASE_ADDRESS = $BF886040;
  17157. var
  17158. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  17159. const
  17160. PORTC_BASE_ADDRESS = $BF886080;
  17161. var
  17162. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  17163. const
  17164. PORTD_BASE_ADDRESS = $BF8860C0;
  17165. var
  17166. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  17167. const
  17168. PORTE_BASE_ADDRESS = $BF886100;
  17169. var
  17170. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  17171. const
  17172. PORTF_BASE_ADDRESS = $BF886140;
  17173. var
  17174. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  17175. const
  17176. PORTG_BASE_ADDRESS = $BF886180;
  17177. var
  17178. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  17179. const
  17180. RCON_BASE_ADDRESS = $BF80F600;
  17181. var
  17182. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  17183. const
  17184. RTCC_BASE_ADDRESS = $BF800200;
  17185. var
  17186. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  17187. const
  17188. SPI1_BASE_ADDRESS = $BF805E00;
  17189. var
  17190. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  17191. const
  17192. SPI2A_BASE_ADDRESS = $BF805A00;
  17193. var
  17194. SPI2A : TSPI2ARegisters absolute SPI2A_BASE_ADDRESS;
  17195. const
  17196. SPI3_BASE_ADDRESS = $BF805800;
  17197. var
  17198. SPI3 : TSPI3Registers absolute SPI3_BASE_ADDRESS;
  17199. const
  17200. SPI3A_BASE_ADDRESS = $BF805C00;
  17201. var
  17202. SPI3A : TSPI3ARegisters absolute SPI3A_BASE_ADDRESS;
  17203. const
  17204. TMR1_BASE_ADDRESS = $BF800600;
  17205. var
  17206. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  17207. const
  17208. TMR2_BASE_ADDRESS = $BF800800;
  17209. var
  17210. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  17211. const
  17212. TMR3_BASE_ADDRESS = $BF800A00;
  17213. var
  17214. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  17215. const
  17216. TMR4_BASE_ADDRESS = $BF800C00;
  17217. var
  17218. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  17219. const
  17220. TMR5_BASE_ADDRESS = $BF800E00;
  17221. var
  17222. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  17223. const
  17224. UART1A_BASE_ADDRESS = $BF806000;
  17225. var
  17226. UART1A : TUART1ARegisters absolute UART1A_BASE_ADDRESS;
  17227. const
  17228. UART1B_BASE_ADDRESS = $BF806200;
  17229. var
  17230. UART1B : TUART1BRegisters absolute UART1B_BASE_ADDRESS;
  17231. const
  17232. UART2A_BASE_ADDRESS = $BF806400;
  17233. var
  17234. UART2A : TUART2ARegisters absolute UART2A_BASE_ADDRESS;
  17235. const
  17236. UART2B_BASE_ADDRESS = $BF806600;
  17237. var
  17238. UART2B : TUART2BRegisters absolute UART2B_BASE_ADDRESS;
  17239. const
  17240. UART3A_BASE_ADDRESS = $BF806800;
  17241. var
  17242. UART3A : TUART3ARegisters absolute UART3A_BASE_ADDRESS;
  17243. const
  17244. UART5_BASE_ADDRESS = $BF806A00;
  17245. var
  17246. UART5 : TUART5Registers absolute UART5_BASE_ADDRESS;
  17247. const
  17248. USB_BASE_ADDRESS = $BF885040;
  17249. var
  17250. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  17251. const
  17252. WDT_BASE_ADDRESS = $BF800000;
  17253. var
  17254. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  17255. const
  17256. _APPI_BASE_ADDRESS = $BF880190;
  17257. var
  17258. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  17259. const
  17260. _APPO_BASE_ADDRESS = $BF880180;
  17261. var
  17262. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  17263. const
  17264. _DDPSTAT_BASE_ADDRESS = $BF880140;
  17265. var
  17266. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  17267. const
  17268. _STRO_BASE_ADDRESS = $BF880170;
  17269. var
  17270. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  17271. implementation
  17272. type
  17273. TDefRegMap = record
  17274. val : longWord;
  17275. clr : longWord;
  17276. &set : longWord;
  17277. inv : longWord;
  17278. end;
  17279. pTDefRegMap = ^TDefRegMap;
  17280. procedure TWDT_WDTCON.setWDTCLR; inline;
  17281. begin
  17282. pTDefRegMap(@Self)^.&set := $00000001;
  17283. end;
  17284. procedure TWDT_WDTCON.clearWDTCLR; inline;
  17285. begin
  17286. pTDefRegMap(@Self)^.clr := $00000001;
  17287. end;
  17288. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  17289. begin
  17290. if thebits = 0 then
  17291. pTDefRegMap(@Self)^.clr := $00000001
  17292. else
  17293. pTDefRegMap(@Self)^.&set := $00000001;
  17294. end;
  17295. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  17296. begin
  17297. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17298. end;
  17299. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  17300. begin
  17301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  17302. end;
  17303. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  17304. begin
  17305. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  17306. end;
  17307. procedure TWDT_WDTCON.setON; inline;
  17308. begin
  17309. pTDefRegMap(@Self)^.&set := $00008000;
  17310. end;
  17311. procedure TWDT_WDTCON.clearON; inline;
  17312. begin
  17313. pTDefRegMap(@Self)^.clr := $00008000;
  17314. end;
  17315. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  17316. begin
  17317. if thebits = 0 then
  17318. pTDefRegMap(@Self)^.clr := $00008000
  17319. else
  17320. pTDefRegMap(@Self)^.&set := $00008000;
  17321. end;
  17322. function TWDT_WDTCON.getON : TBits_1; inline;
  17323. begin
  17324. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17325. end;
  17326. procedure TWDT_WDTCON.setSWDTPS0; inline;
  17327. begin
  17328. pTDefRegMap(@Self)^.&set := $00000004;
  17329. end;
  17330. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  17331. begin
  17332. pTDefRegMap(@Self)^.clr := $00000004;
  17333. end;
  17334. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  17335. begin
  17336. if thebits = 0 then
  17337. pTDefRegMap(@Self)^.clr := $00000004
  17338. else
  17339. pTDefRegMap(@Self)^.&set := $00000004;
  17340. end;
  17341. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  17342. begin
  17343. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17344. end;
  17345. procedure TWDT_WDTCON.setSWDTPS1; inline;
  17346. begin
  17347. pTDefRegMap(@Self)^.&set := $00000008;
  17348. end;
  17349. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  17350. begin
  17351. pTDefRegMap(@Self)^.clr := $00000008;
  17352. end;
  17353. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  17354. begin
  17355. if thebits = 0 then
  17356. pTDefRegMap(@Self)^.clr := $00000008
  17357. else
  17358. pTDefRegMap(@Self)^.&set := $00000008;
  17359. end;
  17360. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  17361. begin
  17362. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17363. end;
  17364. procedure TWDT_WDTCON.setSWDTPS2; inline;
  17365. begin
  17366. pTDefRegMap(@Self)^.&set := $00000010;
  17367. end;
  17368. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  17369. begin
  17370. pTDefRegMap(@Self)^.clr := $00000010;
  17371. end;
  17372. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  17373. begin
  17374. if thebits = 0 then
  17375. pTDefRegMap(@Self)^.clr := $00000010
  17376. else
  17377. pTDefRegMap(@Self)^.&set := $00000010;
  17378. end;
  17379. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  17380. begin
  17381. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17382. end;
  17383. procedure TWDT_WDTCON.setSWDTPS3; inline;
  17384. begin
  17385. pTDefRegMap(@Self)^.&set := $00000020;
  17386. end;
  17387. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  17388. begin
  17389. pTDefRegMap(@Self)^.clr := $00000020;
  17390. end;
  17391. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  17392. begin
  17393. if thebits = 0 then
  17394. pTDefRegMap(@Self)^.clr := $00000020
  17395. else
  17396. pTDefRegMap(@Self)^.&set := $00000020;
  17397. end;
  17398. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  17399. begin
  17400. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17401. end;
  17402. procedure TWDT_WDTCON.setSWDTPS4; inline;
  17403. begin
  17404. pTDefRegMap(@Self)^.&set := $00000040;
  17405. end;
  17406. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  17407. begin
  17408. pTDefRegMap(@Self)^.clr := $00000040;
  17409. end;
  17410. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  17411. begin
  17412. if thebits = 0 then
  17413. pTDefRegMap(@Self)^.clr := $00000040
  17414. else
  17415. pTDefRegMap(@Self)^.&set := $00000040;
  17416. end;
  17417. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  17418. begin
  17419. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17420. end;
  17421. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  17422. begin
  17423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  17424. end;
  17425. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  17426. begin
  17427. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  17428. end;
  17429. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  17430. begin
  17431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  17432. end;
  17433. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  17434. begin
  17435. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  17436. end;
  17437. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  17438. begin
  17439. pTDefRegMap(@Self)^.val := thebits;
  17440. end;
  17441. function TWDT_WDTCON.getw : TBits_32; inline;
  17442. begin
  17443. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17444. end;
  17445. procedure TRTCC_RTCCON.setRTCOE; inline;
  17446. begin
  17447. pTDefRegMap(@Self)^.&set := $00000001;
  17448. end;
  17449. procedure TRTCC_RTCCON.clearRTCOE; inline;
  17450. begin
  17451. pTDefRegMap(@Self)^.clr := $00000001;
  17452. end;
  17453. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  17454. begin
  17455. if thebits = 0 then
  17456. pTDefRegMap(@Self)^.clr := $00000001
  17457. else
  17458. pTDefRegMap(@Self)^.&set := $00000001;
  17459. end;
  17460. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  17461. begin
  17462. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17463. end;
  17464. procedure TRTCC_RTCCON.setHALFSEC; inline;
  17465. begin
  17466. pTDefRegMap(@Self)^.&set := $00000002;
  17467. end;
  17468. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  17469. begin
  17470. pTDefRegMap(@Self)^.clr := $00000002;
  17471. end;
  17472. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  17473. begin
  17474. if thebits = 0 then
  17475. pTDefRegMap(@Self)^.clr := $00000002
  17476. else
  17477. pTDefRegMap(@Self)^.&set := $00000002;
  17478. end;
  17479. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  17480. begin
  17481. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17482. end;
  17483. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  17484. begin
  17485. pTDefRegMap(@Self)^.&set := $00000004;
  17486. end;
  17487. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  17488. begin
  17489. pTDefRegMap(@Self)^.clr := $00000004;
  17490. end;
  17491. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  17492. begin
  17493. if thebits = 0 then
  17494. pTDefRegMap(@Self)^.clr := $00000004
  17495. else
  17496. pTDefRegMap(@Self)^.&set := $00000004;
  17497. end;
  17498. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  17499. begin
  17500. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17501. end;
  17502. procedure TRTCC_RTCCON.setRTCWREN; inline;
  17503. begin
  17504. pTDefRegMap(@Self)^.&set := $00000008;
  17505. end;
  17506. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  17507. begin
  17508. pTDefRegMap(@Self)^.clr := $00000008;
  17509. end;
  17510. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  17511. begin
  17512. if thebits = 0 then
  17513. pTDefRegMap(@Self)^.clr := $00000008
  17514. else
  17515. pTDefRegMap(@Self)^.&set := $00000008;
  17516. end;
  17517. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  17518. begin
  17519. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17520. end;
  17521. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  17522. begin
  17523. pTDefRegMap(@Self)^.&set := $00000040;
  17524. end;
  17525. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  17526. begin
  17527. pTDefRegMap(@Self)^.clr := $00000040;
  17528. end;
  17529. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  17530. begin
  17531. if thebits = 0 then
  17532. pTDefRegMap(@Self)^.clr := $00000040
  17533. else
  17534. pTDefRegMap(@Self)^.&set := $00000040;
  17535. end;
  17536. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  17537. begin
  17538. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17539. end;
  17540. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  17541. begin
  17542. pTDefRegMap(@Self)^.&set := $00000080;
  17543. end;
  17544. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  17545. begin
  17546. pTDefRegMap(@Self)^.clr := $00000080;
  17547. end;
  17548. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  17549. begin
  17550. if thebits = 0 then
  17551. pTDefRegMap(@Self)^.clr := $00000080
  17552. else
  17553. pTDefRegMap(@Self)^.&set := $00000080;
  17554. end;
  17555. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  17556. begin
  17557. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17558. end;
  17559. procedure TRTCC_RTCCON.setSIDL; inline;
  17560. begin
  17561. pTDefRegMap(@Self)^.&set := $00002000;
  17562. end;
  17563. procedure TRTCC_RTCCON.clearSIDL; inline;
  17564. begin
  17565. pTDefRegMap(@Self)^.clr := $00002000;
  17566. end;
  17567. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  17568. begin
  17569. if thebits = 0 then
  17570. pTDefRegMap(@Self)^.clr := $00002000
  17571. else
  17572. pTDefRegMap(@Self)^.&set := $00002000;
  17573. end;
  17574. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  17575. begin
  17576. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17577. end;
  17578. procedure TRTCC_RTCCON.setON; inline;
  17579. begin
  17580. pTDefRegMap(@Self)^.&set := $00008000;
  17581. end;
  17582. procedure TRTCC_RTCCON.clearON; inline;
  17583. begin
  17584. pTDefRegMap(@Self)^.clr := $00008000;
  17585. end;
  17586. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  17587. begin
  17588. if thebits = 0 then
  17589. pTDefRegMap(@Self)^.clr := $00008000
  17590. else
  17591. pTDefRegMap(@Self)^.&set := $00008000;
  17592. end;
  17593. function TRTCC_RTCCON.getON : TBits_1; inline;
  17594. begin
  17595. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17596. end;
  17597. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  17598. begin
  17599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  17600. end;
  17601. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  17602. begin
  17603. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  17604. end;
  17605. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  17606. begin
  17607. pTDefRegMap(@Self)^.val := thebits;
  17608. end;
  17609. function TRTCC_RTCCON.getw : TBits_32; inline;
  17610. begin
  17611. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17612. end;
  17613. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  17614. begin
  17615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  17616. end;
  17617. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  17618. begin
  17619. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  17620. end;
  17621. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  17622. begin
  17623. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  17624. end;
  17625. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  17626. begin
  17627. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  17628. end;
  17629. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  17630. begin
  17631. pTDefRegMap(@Self)^.&set := $00001000;
  17632. end;
  17633. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  17634. begin
  17635. pTDefRegMap(@Self)^.clr := $00001000;
  17636. end;
  17637. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  17638. begin
  17639. if thebits = 0 then
  17640. pTDefRegMap(@Self)^.clr := $00001000
  17641. else
  17642. pTDefRegMap(@Self)^.&set := $00001000;
  17643. end;
  17644. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  17645. begin
  17646. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17647. end;
  17648. procedure TRTCC_RTCALRM.setPIV; inline;
  17649. begin
  17650. pTDefRegMap(@Self)^.&set := $00002000;
  17651. end;
  17652. procedure TRTCC_RTCALRM.clearPIV; inline;
  17653. begin
  17654. pTDefRegMap(@Self)^.clr := $00002000;
  17655. end;
  17656. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  17657. begin
  17658. if thebits = 0 then
  17659. pTDefRegMap(@Self)^.clr := $00002000
  17660. else
  17661. pTDefRegMap(@Self)^.&set := $00002000;
  17662. end;
  17663. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  17664. begin
  17665. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17666. end;
  17667. procedure TRTCC_RTCALRM.setCHIME; inline;
  17668. begin
  17669. pTDefRegMap(@Self)^.&set := $00004000;
  17670. end;
  17671. procedure TRTCC_RTCALRM.clearCHIME; inline;
  17672. begin
  17673. pTDefRegMap(@Self)^.clr := $00004000;
  17674. end;
  17675. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  17676. begin
  17677. if thebits = 0 then
  17678. pTDefRegMap(@Self)^.clr := $00004000
  17679. else
  17680. pTDefRegMap(@Self)^.&set := $00004000;
  17681. end;
  17682. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  17683. begin
  17684. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17685. end;
  17686. procedure TRTCC_RTCALRM.setALRMEN; inline;
  17687. begin
  17688. pTDefRegMap(@Self)^.&set := $00008000;
  17689. end;
  17690. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  17691. begin
  17692. pTDefRegMap(@Self)^.clr := $00008000;
  17693. end;
  17694. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  17695. begin
  17696. if thebits = 0 then
  17697. pTDefRegMap(@Self)^.clr := $00008000
  17698. else
  17699. pTDefRegMap(@Self)^.&set := $00008000;
  17700. end;
  17701. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  17702. begin
  17703. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17704. end;
  17705. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  17706. begin
  17707. pTDefRegMap(@Self)^.val := thebits;
  17708. end;
  17709. function TRTCC_RTCALRM.getw : TBits_32; inline;
  17710. begin
  17711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17712. end;
  17713. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  17716. end;
  17717. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  17718. begin
  17719. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  17720. end;
  17721. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  17722. begin
  17723. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  17724. end;
  17725. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  17726. begin
  17727. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  17728. end;
  17729. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  17730. begin
  17731. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  17732. end;
  17733. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  17734. begin
  17735. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  17736. end;
  17737. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  17738. begin
  17739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  17740. end;
  17741. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  17742. begin
  17743. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  17744. end;
  17745. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  17746. begin
  17747. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  17748. end;
  17749. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  17750. begin
  17751. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  17752. end;
  17753. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  17754. begin
  17755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  17756. end;
  17757. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  17758. begin
  17759. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  17760. end;
  17761. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  17762. begin
  17763. pTDefRegMap(@Self)^.val := thebits;
  17764. end;
  17765. function TRTCC_RTCTIME.getw : TBits_32; inline;
  17766. begin
  17767. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17768. end;
  17769. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  17770. begin
  17771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17772. end;
  17773. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  17774. begin
  17775. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17776. end;
  17777. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  17778. begin
  17779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  17780. end;
  17781. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  17782. begin
  17783. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  17784. end;
  17785. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  17786. begin
  17787. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  17788. end;
  17789. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  17790. begin
  17791. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  17792. end;
  17793. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  17794. begin
  17795. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  17796. end;
  17797. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  17798. begin
  17799. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  17800. end;
  17801. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  17802. begin
  17803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  17804. end;
  17805. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  17806. begin
  17807. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  17808. end;
  17809. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  17810. begin
  17811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  17812. end;
  17813. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  17814. begin
  17815. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  17816. end;
  17817. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  17818. begin
  17819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  17820. end;
  17821. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  17822. begin
  17823. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  17824. end;
  17825. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  17826. begin
  17827. pTDefRegMap(@Self)^.val := thebits;
  17828. end;
  17829. function TRTCC_RTCDATE.getw : TBits_32; inline;
  17830. begin
  17831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17832. end;
  17833. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  17834. begin
  17835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  17836. end;
  17837. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  17838. begin
  17839. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  17840. end;
  17841. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  17844. end;
  17845. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  17846. begin
  17847. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  17848. end;
  17849. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  17850. begin
  17851. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  17852. end;
  17853. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  17854. begin
  17855. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  17856. end;
  17857. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  17860. end;
  17861. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  17862. begin
  17863. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  17864. end;
  17865. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  17866. begin
  17867. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  17868. end;
  17869. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  17870. begin
  17871. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  17872. end;
  17873. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  17874. begin
  17875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  17876. end;
  17877. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  17878. begin
  17879. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  17880. end;
  17881. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  17882. begin
  17883. pTDefRegMap(@Self)^.val := thebits;
  17884. end;
  17885. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  17886. begin
  17887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17888. end;
  17889. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  17890. begin
  17891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17892. end;
  17893. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  17894. begin
  17895. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17896. end;
  17897. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  17898. begin
  17899. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  17900. end;
  17901. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  17902. begin
  17903. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  17904. end;
  17905. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  17906. begin
  17907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  17908. end;
  17909. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  17910. begin
  17911. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  17912. end;
  17913. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  17914. begin
  17915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  17916. end;
  17917. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  17918. begin
  17919. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  17920. end;
  17921. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  17922. begin
  17923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  17924. end;
  17925. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  17926. begin
  17927. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  17928. end;
  17929. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  17930. begin
  17931. pTDefRegMap(@Self)^.val := thebits;
  17932. end;
  17933. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  17934. begin
  17935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17936. end;
  17937. procedure TTMR1_T1CON.setTCS; inline;
  17938. begin
  17939. pTDefRegMap(@Self)^.&set := $00000002;
  17940. end;
  17941. procedure TTMR1_T1CON.clearTCS; inline;
  17942. begin
  17943. pTDefRegMap(@Self)^.clr := $00000002;
  17944. end;
  17945. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  17946. begin
  17947. if thebits = 0 then
  17948. pTDefRegMap(@Self)^.clr := $00000002
  17949. else
  17950. pTDefRegMap(@Self)^.&set := $00000002;
  17951. end;
  17952. function TTMR1_T1CON.getTCS : TBits_1; inline;
  17953. begin
  17954. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17955. end;
  17956. procedure TTMR1_T1CON.setTSYNC; inline;
  17957. begin
  17958. pTDefRegMap(@Self)^.&set := $00000004;
  17959. end;
  17960. procedure TTMR1_T1CON.clearTSYNC; inline;
  17961. begin
  17962. pTDefRegMap(@Self)^.clr := $00000004;
  17963. end;
  17964. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  17965. begin
  17966. if thebits = 0 then
  17967. pTDefRegMap(@Self)^.clr := $00000004
  17968. else
  17969. pTDefRegMap(@Self)^.&set := $00000004;
  17970. end;
  17971. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  17972. begin
  17973. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17974. end;
  17975. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  17976. begin
  17977. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  17978. end;
  17979. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  17980. begin
  17981. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  17982. end;
  17983. procedure TTMR1_T1CON.setTGATE; inline;
  17984. begin
  17985. pTDefRegMap(@Self)^.&set := $00000080;
  17986. end;
  17987. procedure TTMR1_T1CON.clearTGATE; inline;
  17988. begin
  17989. pTDefRegMap(@Self)^.clr := $00000080;
  17990. end;
  17991. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  17992. begin
  17993. if thebits = 0 then
  17994. pTDefRegMap(@Self)^.clr := $00000080
  17995. else
  17996. pTDefRegMap(@Self)^.&set := $00000080;
  17997. end;
  17998. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  17999. begin
  18000. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18001. end;
  18002. procedure TTMR1_T1CON.setTWIP; inline;
  18003. begin
  18004. pTDefRegMap(@Self)^.&set := $00000800;
  18005. end;
  18006. procedure TTMR1_T1CON.clearTWIP; inline;
  18007. begin
  18008. pTDefRegMap(@Self)^.clr := $00000800;
  18009. end;
  18010. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  18011. begin
  18012. if thebits = 0 then
  18013. pTDefRegMap(@Self)^.clr := $00000800
  18014. else
  18015. pTDefRegMap(@Self)^.&set := $00000800;
  18016. end;
  18017. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  18018. begin
  18019. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18020. end;
  18021. procedure TTMR1_T1CON.setTWDIS; inline;
  18022. begin
  18023. pTDefRegMap(@Self)^.&set := $00001000;
  18024. end;
  18025. procedure TTMR1_T1CON.clearTWDIS; inline;
  18026. begin
  18027. pTDefRegMap(@Self)^.clr := $00001000;
  18028. end;
  18029. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  18030. begin
  18031. if thebits = 0 then
  18032. pTDefRegMap(@Self)^.clr := $00001000
  18033. else
  18034. pTDefRegMap(@Self)^.&set := $00001000;
  18035. end;
  18036. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  18037. begin
  18038. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18039. end;
  18040. procedure TTMR1_T1CON.setSIDL; inline;
  18041. begin
  18042. pTDefRegMap(@Self)^.&set := $00002000;
  18043. end;
  18044. procedure TTMR1_T1CON.clearSIDL; inline;
  18045. begin
  18046. pTDefRegMap(@Self)^.clr := $00002000;
  18047. end;
  18048. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  18049. begin
  18050. if thebits = 0 then
  18051. pTDefRegMap(@Self)^.clr := $00002000
  18052. else
  18053. pTDefRegMap(@Self)^.&set := $00002000;
  18054. end;
  18055. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  18056. begin
  18057. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18058. end;
  18059. procedure TTMR1_T1CON.setON; inline;
  18060. begin
  18061. pTDefRegMap(@Self)^.&set := $00008000;
  18062. end;
  18063. procedure TTMR1_T1CON.clearON; inline;
  18064. begin
  18065. pTDefRegMap(@Self)^.clr := $00008000;
  18066. end;
  18067. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  18068. begin
  18069. if thebits = 0 then
  18070. pTDefRegMap(@Self)^.clr := $00008000
  18071. else
  18072. pTDefRegMap(@Self)^.&set := $00008000;
  18073. end;
  18074. function TTMR1_T1CON.getON : TBits_1; inline;
  18075. begin
  18076. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18077. end;
  18078. procedure TTMR1_T1CON.setTCKPS0; inline;
  18079. begin
  18080. pTDefRegMap(@Self)^.&set := $00000010;
  18081. end;
  18082. procedure TTMR1_T1CON.clearTCKPS0; inline;
  18083. begin
  18084. pTDefRegMap(@Self)^.clr := $00000010;
  18085. end;
  18086. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  18087. begin
  18088. if thebits = 0 then
  18089. pTDefRegMap(@Self)^.clr := $00000010
  18090. else
  18091. pTDefRegMap(@Self)^.&set := $00000010;
  18092. end;
  18093. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  18094. begin
  18095. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18096. end;
  18097. procedure TTMR1_T1CON.setTCKPS1; inline;
  18098. begin
  18099. pTDefRegMap(@Self)^.&set := $00000020;
  18100. end;
  18101. procedure TTMR1_T1CON.clearTCKPS1; inline;
  18102. begin
  18103. pTDefRegMap(@Self)^.clr := $00000020;
  18104. end;
  18105. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  18106. begin
  18107. if thebits = 0 then
  18108. pTDefRegMap(@Self)^.clr := $00000020
  18109. else
  18110. pTDefRegMap(@Self)^.&set := $00000020;
  18111. end;
  18112. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  18113. begin
  18114. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18115. end;
  18116. procedure TTMR1_T1CON.setTSIDL; inline;
  18117. begin
  18118. pTDefRegMap(@Self)^.&set := $00002000;
  18119. end;
  18120. procedure TTMR1_T1CON.clearTSIDL; inline;
  18121. begin
  18122. pTDefRegMap(@Self)^.clr := $00002000;
  18123. end;
  18124. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  18125. begin
  18126. if thebits = 0 then
  18127. pTDefRegMap(@Self)^.clr := $00002000
  18128. else
  18129. pTDefRegMap(@Self)^.&set := $00002000;
  18130. end;
  18131. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  18132. begin
  18133. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18134. end;
  18135. procedure TTMR1_T1CON.setTON; inline;
  18136. begin
  18137. pTDefRegMap(@Self)^.&set := $00008000;
  18138. end;
  18139. procedure TTMR1_T1CON.clearTON; inline;
  18140. begin
  18141. pTDefRegMap(@Self)^.clr := $00008000;
  18142. end;
  18143. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  18144. begin
  18145. if thebits = 0 then
  18146. pTDefRegMap(@Self)^.clr := $00008000
  18147. else
  18148. pTDefRegMap(@Self)^.&set := $00008000;
  18149. end;
  18150. function TTMR1_T1CON.getTON : TBits_1; inline;
  18151. begin
  18152. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18153. end;
  18154. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  18155. begin
  18156. pTDefRegMap(@Self)^.val := thebits;
  18157. end;
  18158. function TTMR1_T1CON.getw : TBits_32; inline;
  18159. begin
  18160. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18161. end;
  18162. procedure TTMR2_T2CON.setTCS; inline;
  18163. begin
  18164. pTDefRegMap(@Self)^.&set := $00000002;
  18165. end;
  18166. procedure TTMR2_T2CON.clearTCS; inline;
  18167. begin
  18168. pTDefRegMap(@Self)^.clr := $00000002;
  18169. end;
  18170. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  18171. begin
  18172. if thebits = 0 then
  18173. pTDefRegMap(@Self)^.clr := $00000002
  18174. else
  18175. pTDefRegMap(@Self)^.&set := $00000002;
  18176. end;
  18177. function TTMR2_T2CON.getTCS : TBits_1; inline;
  18178. begin
  18179. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18180. end;
  18181. procedure TTMR2_T2CON.setT32; inline;
  18182. begin
  18183. pTDefRegMap(@Self)^.&set := $00000008;
  18184. end;
  18185. procedure TTMR2_T2CON.clearT32; inline;
  18186. begin
  18187. pTDefRegMap(@Self)^.clr := $00000008;
  18188. end;
  18189. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  18190. begin
  18191. if thebits = 0 then
  18192. pTDefRegMap(@Self)^.clr := $00000008
  18193. else
  18194. pTDefRegMap(@Self)^.&set := $00000008;
  18195. end;
  18196. function TTMR2_T2CON.getT32 : TBits_1; inline;
  18197. begin
  18198. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18199. end;
  18200. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  18201. begin
  18202. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  18203. end;
  18204. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  18205. begin
  18206. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  18207. end;
  18208. procedure TTMR2_T2CON.setTGATE; inline;
  18209. begin
  18210. pTDefRegMap(@Self)^.&set := $00000080;
  18211. end;
  18212. procedure TTMR2_T2CON.clearTGATE; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.clr := $00000080;
  18215. end;
  18216. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  18217. begin
  18218. if thebits = 0 then
  18219. pTDefRegMap(@Self)^.clr := $00000080
  18220. else
  18221. pTDefRegMap(@Self)^.&set := $00000080;
  18222. end;
  18223. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  18224. begin
  18225. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18226. end;
  18227. procedure TTMR2_T2CON.setSIDL; inline;
  18228. begin
  18229. pTDefRegMap(@Self)^.&set := $00002000;
  18230. end;
  18231. procedure TTMR2_T2CON.clearSIDL; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.clr := $00002000;
  18234. end;
  18235. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  18236. begin
  18237. if thebits = 0 then
  18238. pTDefRegMap(@Self)^.clr := $00002000
  18239. else
  18240. pTDefRegMap(@Self)^.&set := $00002000;
  18241. end;
  18242. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  18243. begin
  18244. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18245. end;
  18246. procedure TTMR2_T2CON.setON; inline;
  18247. begin
  18248. pTDefRegMap(@Self)^.&set := $00008000;
  18249. end;
  18250. procedure TTMR2_T2CON.clearON; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.clr := $00008000;
  18253. end;
  18254. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  18255. begin
  18256. if thebits = 0 then
  18257. pTDefRegMap(@Self)^.clr := $00008000
  18258. else
  18259. pTDefRegMap(@Self)^.&set := $00008000;
  18260. end;
  18261. function TTMR2_T2CON.getON : TBits_1; inline;
  18262. begin
  18263. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18264. end;
  18265. procedure TTMR2_T2CON.setTCKPS0; inline;
  18266. begin
  18267. pTDefRegMap(@Self)^.&set := $00000010;
  18268. end;
  18269. procedure TTMR2_T2CON.clearTCKPS0; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.clr := $00000010;
  18272. end;
  18273. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  18274. begin
  18275. if thebits = 0 then
  18276. pTDefRegMap(@Self)^.clr := $00000010
  18277. else
  18278. pTDefRegMap(@Self)^.&set := $00000010;
  18279. end;
  18280. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  18281. begin
  18282. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18283. end;
  18284. procedure TTMR2_T2CON.setTCKPS1; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.&set := $00000020;
  18287. end;
  18288. procedure TTMR2_T2CON.clearTCKPS1; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.clr := $00000020;
  18291. end;
  18292. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  18293. begin
  18294. if thebits = 0 then
  18295. pTDefRegMap(@Self)^.clr := $00000020
  18296. else
  18297. pTDefRegMap(@Self)^.&set := $00000020;
  18298. end;
  18299. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  18300. begin
  18301. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18302. end;
  18303. procedure TTMR2_T2CON.setTCKPS2; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.&set := $00000040;
  18306. end;
  18307. procedure TTMR2_T2CON.clearTCKPS2; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.clr := $00000040;
  18310. end;
  18311. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  18312. begin
  18313. if thebits = 0 then
  18314. pTDefRegMap(@Self)^.clr := $00000040
  18315. else
  18316. pTDefRegMap(@Self)^.&set := $00000040;
  18317. end;
  18318. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  18319. begin
  18320. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18321. end;
  18322. procedure TTMR2_T2CON.setTSIDL; inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.&set := $00002000;
  18325. end;
  18326. procedure TTMR2_T2CON.clearTSIDL; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.clr := $00002000;
  18329. end;
  18330. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  18331. begin
  18332. if thebits = 0 then
  18333. pTDefRegMap(@Self)^.clr := $00002000
  18334. else
  18335. pTDefRegMap(@Self)^.&set := $00002000;
  18336. end;
  18337. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  18338. begin
  18339. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18340. end;
  18341. procedure TTMR2_T2CON.setTON; inline;
  18342. begin
  18343. pTDefRegMap(@Self)^.&set := $00008000;
  18344. end;
  18345. procedure TTMR2_T2CON.clearTON; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.clr := $00008000;
  18348. end;
  18349. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  18350. begin
  18351. if thebits = 0 then
  18352. pTDefRegMap(@Self)^.clr := $00008000
  18353. else
  18354. pTDefRegMap(@Self)^.&set := $00008000;
  18355. end;
  18356. function TTMR2_T2CON.getTON : TBits_1; inline;
  18357. begin
  18358. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18359. end;
  18360. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  18361. begin
  18362. pTDefRegMap(@Self)^.val := thebits;
  18363. end;
  18364. function TTMR2_T2CON.getw : TBits_32; inline;
  18365. begin
  18366. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18367. end;
  18368. procedure TTMR3_T3CON.setTCS; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.&set := $00000002;
  18371. end;
  18372. procedure TTMR3_T3CON.clearTCS; inline;
  18373. begin
  18374. pTDefRegMap(@Self)^.clr := $00000002;
  18375. end;
  18376. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  18377. begin
  18378. if thebits = 0 then
  18379. pTDefRegMap(@Self)^.clr := $00000002
  18380. else
  18381. pTDefRegMap(@Self)^.&set := $00000002;
  18382. end;
  18383. function TTMR3_T3CON.getTCS : TBits_1; inline;
  18384. begin
  18385. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18386. end;
  18387. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  18390. end;
  18391. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  18392. begin
  18393. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  18394. end;
  18395. procedure TTMR3_T3CON.setTGATE; inline;
  18396. begin
  18397. pTDefRegMap(@Self)^.&set := $00000080;
  18398. end;
  18399. procedure TTMR3_T3CON.clearTGATE; inline;
  18400. begin
  18401. pTDefRegMap(@Self)^.clr := $00000080;
  18402. end;
  18403. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  18404. begin
  18405. if thebits = 0 then
  18406. pTDefRegMap(@Self)^.clr := $00000080
  18407. else
  18408. pTDefRegMap(@Self)^.&set := $00000080;
  18409. end;
  18410. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  18411. begin
  18412. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18413. end;
  18414. procedure TTMR3_T3CON.setSIDL; inline;
  18415. begin
  18416. pTDefRegMap(@Self)^.&set := $00002000;
  18417. end;
  18418. procedure TTMR3_T3CON.clearSIDL; inline;
  18419. begin
  18420. pTDefRegMap(@Self)^.clr := $00002000;
  18421. end;
  18422. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  18423. begin
  18424. if thebits = 0 then
  18425. pTDefRegMap(@Self)^.clr := $00002000
  18426. else
  18427. pTDefRegMap(@Self)^.&set := $00002000;
  18428. end;
  18429. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  18430. begin
  18431. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18432. end;
  18433. procedure TTMR3_T3CON.setON; inline;
  18434. begin
  18435. pTDefRegMap(@Self)^.&set := $00008000;
  18436. end;
  18437. procedure TTMR3_T3CON.clearON; inline;
  18438. begin
  18439. pTDefRegMap(@Self)^.clr := $00008000;
  18440. end;
  18441. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  18442. begin
  18443. if thebits = 0 then
  18444. pTDefRegMap(@Self)^.clr := $00008000
  18445. else
  18446. pTDefRegMap(@Self)^.&set := $00008000;
  18447. end;
  18448. function TTMR3_T3CON.getON : TBits_1; inline;
  18449. begin
  18450. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18451. end;
  18452. procedure TTMR3_T3CON.setTCKPS0; inline;
  18453. begin
  18454. pTDefRegMap(@Self)^.&set := $00000010;
  18455. end;
  18456. procedure TTMR3_T3CON.clearTCKPS0; inline;
  18457. begin
  18458. pTDefRegMap(@Self)^.clr := $00000010;
  18459. end;
  18460. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  18461. begin
  18462. if thebits = 0 then
  18463. pTDefRegMap(@Self)^.clr := $00000010
  18464. else
  18465. pTDefRegMap(@Self)^.&set := $00000010;
  18466. end;
  18467. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  18468. begin
  18469. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18470. end;
  18471. procedure TTMR3_T3CON.setTCKPS1; inline;
  18472. begin
  18473. pTDefRegMap(@Self)^.&set := $00000020;
  18474. end;
  18475. procedure TTMR3_T3CON.clearTCKPS1; inline;
  18476. begin
  18477. pTDefRegMap(@Self)^.clr := $00000020;
  18478. end;
  18479. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  18480. begin
  18481. if thebits = 0 then
  18482. pTDefRegMap(@Self)^.clr := $00000020
  18483. else
  18484. pTDefRegMap(@Self)^.&set := $00000020;
  18485. end;
  18486. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  18487. begin
  18488. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18489. end;
  18490. procedure TTMR3_T3CON.setTCKPS2; inline;
  18491. begin
  18492. pTDefRegMap(@Self)^.&set := $00000040;
  18493. end;
  18494. procedure TTMR3_T3CON.clearTCKPS2; inline;
  18495. begin
  18496. pTDefRegMap(@Self)^.clr := $00000040;
  18497. end;
  18498. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  18499. begin
  18500. if thebits = 0 then
  18501. pTDefRegMap(@Self)^.clr := $00000040
  18502. else
  18503. pTDefRegMap(@Self)^.&set := $00000040;
  18504. end;
  18505. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  18506. begin
  18507. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18508. end;
  18509. procedure TTMR3_T3CON.setTSIDL; inline;
  18510. begin
  18511. pTDefRegMap(@Self)^.&set := $00002000;
  18512. end;
  18513. procedure TTMR3_T3CON.clearTSIDL; inline;
  18514. begin
  18515. pTDefRegMap(@Self)^.clr := $00002000;
  18516. end;
  18517. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  18518. begin
  18519. if thebits = 0 then
  18520. pTDefRegMap(@Self)^.clr := $00002000
  18521. else
  18522. pTDefRegMap(@Self)^.&set := $00002000;
  18523. end;
  18524. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  18525. begin
  18526. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18527. end;
  18528. procedure TTMR3_T3CON.setTON; inline;
  18529. begin
  18530. pTDefRegMap(@Self)^.&set := $00008000;
  18531. end;
  18532. procedure TTMR3_T3CON.clearTON; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.clr := $00008000;
  18535. end;
  18536. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  18537. begin
  18538. if thebits = 0 then
  18539. pTDefRegMap(@Self)^.clr := $00008000
  18540. else
  18541. pTDefRegMap(@Self)^.&set := $00008000;
  18542. end;
  18543. function TTMR3_T3CON.getTON : TBits_1; inline;
  18544. begin
  18545. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18546. end;
  18547. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  18548. begin
  18549. pTDefRegMap(@Self)^.val := thebits;
  18550. end;
  18551. function TTMR3_T3CON.getw : TBits_32; inline;
  18552. begin
  18553. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18554. end;
  18555. procedure TTMR4_T4CON.setTCS; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.&set := $00000002;
  18558. end;
  18559. procedure TTMR4_T4CON.clearTCS; inline;
  18560. begin
  18561. pTDefRegMap(@Self)^.clr := $00000002;
  18562. end;
  18563. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  18564. begin
  18565. if thebits = 0 then
  18566. pTDefRegMap(@Self)^.clr := $00000002
  18567. else
  18568. pTDefRegMap(@Self)^.&set := $00000002;
  18569. end;
  18570. function TTMR4_T4CON.getTCS : TBits_1; inline;
  18571. begin
  18572. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18573. end;
  18574. procedure TTMR4_T4CON.setT32; inline;
  18575. begin
  18576. pTDefRegMap(@Self)^.&set := $00000008;
  18577. end;
  18578. procedure TTMR4_T4CON.clearT32; inline;
  18579. begin
  18580. pTDefRegMap(@Self)^.clr := $00000008;
  18581. end;
  18582. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  18583. begin
  18584. if thebits = 0 then
  18585. pTDefRegMap(@Self)^.clr := $00000008
  18586. else
  18587. pTDefRegMap(@Self)^.&set := $00000008;
  18588. end;
  18589. function TTMR4_T4CON.getT32 : TBits_1; inline;
  18590. begin
  18591. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18592. end;
  18593. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  18594. begin
  18595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  18596. end;
  18597. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  18598. begin
  18599. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  18600. end;
  18601. procedure TTMR4_T4CON.setTGATE; inline;
  18602. begin
  18603. pTDefRegMap(@Self)^.&set := $00000080;
  18604. end;
  18605. procedure TTMR4_T4CON.clearTGATE; inline;
  18606. begin
  18607. pTDefRegMap(@Self)^.clr := $00000080;
  18608. end;
  18609. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  18610. begin
  18611. if thebits = 0 then
  18612. pTDefRegMap(@Self)^.clr := $00000080
  18613. else
  18614. pTDefRegMap(@Self)^.&set := $00000080;
  18615. end;
  18616. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  18617. begin
  18618. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18619. end;
  18620. procedure TTMR4_T4CON.setSIDL; inline;
  18621. begin
  18622. pTDefRegMap(@Self)^.&set := $00002000;
  18623. end;
  18624. procedure TTMR4_T4CON.clearSIDL; inline;
  18625. begin
  18626. pTDefRegMap(@Self)^.clr := $00002000;
  18627. end;
  18628. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  18629. begin
  18630. if thebits = 0 then
  18631. pTDefRegMap(@Self)^.clr := $00002000
  18632. else
  18633. pTDefRegMap(@Self)^.&set := $00002000;
  18634. end;
  18635. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  18636. begin
  18637. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18638. end;
  18639. procedure TTMR4_T4CON.setON; inline;
  18640. begin
  18641. pTDefRegMap(@Self)^.&set := $00008000;
  18642. end;
  18643. procedure TTMR4_T4CON.clearON; inline;
  18644. begin
  18645. pTDefRegMap(@Self)^.clr := $00008000;
  18646. end;
  18647. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  18648. begin
  18649. if thebits = 0 then
  18650. pTDefRegMap(@Self)^.clr := $00008000
  18651. else
  18652. pTDefRegMap(@Self)^.&set := $00008000;
  18653. end;
  18654. function TTMR4_T4CON.getON : TBits_1; inline;
  18655. begin
  18656. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18657. end;
  18658. procedure TTMR4_T4CON.setTCKPS0; inline;
  18659. begin
  18660. pTDefRegMap(@Self)^.&set := $00000010;
  18661. end;
  18662. procedure TTMR4_T4CON.clearTCKPS0; inline;
  18663. begin
  18664. pTDefRegMap(@Self)^.clr := $00000010;
  18665. end;
  18666. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  18667. begin
  18668. if thebits = 0 then
  18669. pTDefRegMap(@Self)^.clr := $00000010
  18670. else
  18671. pTDefRegMap(@Self)^.&set := $00000010;
  18672. end;
  18673. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  18674. begin
  18675. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18676. end;
  18677. procedure TTMR4_T4CON.setTCKPS1; inline;
  18678. begin
  18679. pTDefRegMap(@Self)^.&set := $00000020;
  18680. end;
  18681. procedure TTMR4_T4CON.clearTCKPS1; inline;
  18682. begin
  18683. pTDefRegMap(@Self)^.clr := $00000020;
  18684. end;
  18685. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  18686. begin
  18687. if thebits = 0 then
  18688. pTDefRegMap(@Self)^.clr := $00000020
  18689. else
  18690. pTDefRegMap(@Self)^.&set := $00000020;
  18691. end;
  18692. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  18693. begin
  18694. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18695. end;
  18696. procedure TTMR4_T4CON.setTCKPS2; inline;
  18697. begin
  18698. pTDefRegMap(@Self)^.&set := $00000040;
  18699. end;
  18700. procedure TTMR4_T4CON.clearTCKPS2; inline;
  18701. begin
  18702. pTDefRegMap(@Self)^.clr := $00000040;
  18703. end;
  18704. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  18705. begin
  18706. if thebits = 0 then
  18707. pTDefRegMap(@Self)^.clr := $00000040
  18708. else
  18709. pTDefRegMap(@Self)^.&set := $00000040;
  18710. end;
  18711. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  18712. begin
  18713. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18714. end;
  18715. procedure TTMR4_T4CON.setTSIDL; inline;
  18716. begin
  18717. pTDefRegMap(@Self)^.&set := $00002000;
  18718. end;
  18719. procedure TTMR4_T4CON.clearTSIDL; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.clr := $00002000;
  18722. end;
  18723. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  18724. begin
  18725. if thebits = 0 then
  18726. pTDefRegMap(@Self)^.clr := $00002000
  18727. else
  18728. pTDefRegMap(@Self)^.&set := $00002000;
  18729. end;
  18730. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  18731. begin
  18732. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18733. end;
  18734. procedure TTMR4_T4CON.setTON; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.&set := $00008000;
  18737. end;
  18738. procedure TTMR4_T4CON.clearTON; inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.clr := $00008000;
  18741. end;
  18742. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  18743. begin
  18744. if thebits = 0 then
  18745. pTDefRegMap(@Self)^.clr := $00008000
  18746. else
  18747. pTDefRegMap(@Self)^.&set := $00008000;
  18748. end;
  18749. function TTMR4_T4CON.getTON : TBits_1; inline;
  18750. begin
  18751. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18752. end;
  18753. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.val := thebits;
  18756. end;
  18757. function TTMR4_T4CON.getw : TBits_32; inline;
  18758. begin
  18759. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18760. end;
  18761. procedure TTMR5_T5CON.setTCS; inline;
  18762. begin
  18763. pTDefRegMap(@Self)^.&set := $00000002;
  18764. end;
  18765. procedure TTMR5_T5CON.clearTCS; inline;
  18766. begin
  18767. pTDefRegMap(@Self)^.clr := $00000002;
  18768. end;
  18769. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  18770. begin
  18771. if thebits = 0 then
  18772. pTDefRegMap(@Self)^.clr := $00000002
  18773. else
  18774. pTDefRegMap(@Self)^.&set := $00000002;
  18775. end;
  18776. function TTMR5_T5CON.getTCS : TBits_1; inline;
  18777. begin
  18778. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18779. end;
  18780. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  18781. begin
  18782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  18783. end;
  18784. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  18785. begin
  18786. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  18787. end;
  18788. procedure TTMR5_T5CON.setTGATE; inline;
  18789. begin
  18790. pTDefRegMap(@Self)^.&set := $00000080;
  18791. end;
  18792. procedure TTMR5_T5CON.clearTGATE; inline;
  18793. begin
  18794. pTDefRegMap(@Self)^.clr := $00000080;
  18795. end;
  18796. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  18797. begin
  18798. if thebits = 0 then
  18799. pTDefRegMap(@Self)^.clr := $00000080
  18800. else
  18801. pTDefRegMap(@Self)^.&set := $00000080;
  18802. end;
  18803. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  18804. begin
  18805. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18806. end;
  18807. procedure TTMR5_T5CON.setSIDL; inline;
  18808. begin
  18809. pTDefRegMap(@Self)^.&set := $00002000;
  18810. end;
  18811. procedure TTMR5_T5CON.clearSIDL; inline;
  18812. begin
  18813. pTDefRegMap(@Self)^.clr := $00002000;
  18814. end;
  18815. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  18816. begin
  18817. if thebits = 0 then
  18818. pTDefRegMap(@Self)^.clr := $00002000
  18819. else
  18820. pTDefRegMap(@Self)^.&set := $00002000;
  18821. end;
  18822. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  18823. begin
  18824. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18825. end;
  18826. procedure TTMR5_T5CON.setON; inline;
  18827. begin
  18828. pTDefRegMap(@Self)^.&set := $00008000;
  18829. end;
  18830. procedure TTMR5_T5CON.clearON; inline;
  18831. begin
  18832. pTDefRegMap(@Self)^.clr := $00008000;
  18833. end;
  18834. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  18835. begin
  18836. if thebits = 0 then
  18837. pTDefRegMap(@Self)^.clr := $00008000
  18838. else
  18839. pTDefRegMap(@Self)^.&set := $00008000;
  18840. end;
  18841. function TTMR5_T5CON.getON : TBits_1; inline;
  18842. begin
  18843. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18844. end;
  18845. procedure TTMR5_T5CON.setTCKPS0; inline;
  18846. begin
  18847. pTDefRegMap(@Self)^.&set := $00000010;
  18848. end;
  18849. procedure TTMR5_T5CON.clearTCKPS0; inline;
  18850. begin
  18851. pTDefRegMap(@Self)^.clr := $00000010;
  18852. end;
  18853. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  18854. begin
  18855. if thebits = 0 then
  18856. pTDefRegMap(@Self)^.clr := $00000010
  18857. else
  18858. pTDefRegMap(@Self)^.&set := $00000010;
  18859. end;
  18860. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  18861. begin
  18862. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18863. end;
  18864. procedure TTMR5_T5CON.setTCKPS1; inline;
  18865. begin
  18866. pTDefRegMap(@Self)^.&set := $00000020;
  18867. end;
  18868. procedure TTMR5_T5CON.clearTCKPS1; inline;
  18869. begin
  18870. pTDefRegMap(@Self)^.clr := $00000020;
  18871. end;
  18872. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  18873. begin
  18874. if thebits = 0 then
  18875. pTDefRegMap(@Self)^.clr := $00000020
  18876. else
  18877. pTDefRegMap(@Self)^.&set := $00000020;
  18878. end;
  18879. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  18880. begin
  18881. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18882. end;
  18883. procedure TTMR5_T5CON.setTCKPS2; inline;
  18884. begin
  18885. pTDefRegMap(@Self)^.&set := $00000040;
  18886. end;
  18887. procedure TTMR5_T5CON.clearTCKPS2; inline;
  18888. begin
  18889. pTDefRegMap(@Self)^.clr := $00000040;
  18890. end;
  18891. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  18892. begin
  18893. if thebits = 0 then
  18894. pTDefRegMap(@Self)^.clr := $00000040
  18895. else
  18896. pTDefRegMap(@Self)^.&set := $00000040;
  18897. end;
  18898. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  18899. begin
  18900. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18901. end;
  18902. procedure TTMR5_T5CON.setTSIDL; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.&set := $00002000;
  18905. end;
  18906. procedure TTMR5_T5CON.clearTSIDL; inline;
  18907. begin
  18908. pTDefRegMap(@Self)^.clr := $00002000;
  18909. end;
  18910. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  18911. begin
  18912. if thebits = 0 then
  18913. pTDefRegMap(@Self)^.clr := $00002000
  18914. else
  18915. pTDefRegMap(@Self)^.&set := $00002000;
  18916. end;
  18917. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  18918. begin
  18919. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18920. end;
  18921. procedure TTMR5_T5CON.setTON; inline;
  18922. begin
  18923. pTDefRegMap(@Self)^.&set := $00008000;
  18924. end;
  18925. procedure TTMR5_T5CON.clearTON; inline;
  18926. begin
  18927. pTDefRegMap(@Self)^.clr := $00008000;
  18928. end;
  18929. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  18930. begin
  18931. if thebits = 0 then
  18932. pTDefRegMap(@Self)^.clr := $00008000
  18933. else
  18934. pTDefRegMap(@Self)^.&set := $00008000;
  18935. end;
  18936. function TTMR5_T5CON.getTON : TBits_1; inline;
  18937. begin
  18938. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18939. end;
  18940. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  18941. begin
  18942. pTDefRegMap(@Self)^.val := thebits;
  18943. end;
  18944. function TTMR5_T5CON.getw : TBits_32; inline;
  18945. begin
  18946. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18947. end;
  18948. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  18949. begin
  18950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18951. end;
  18952. function TICAP1_IC1CON.getICM : TBits_3; inline;
  18953. begin
  18954. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18955. end;
  18956. procedure TICAP1_IC1CON.setICBNE; inline;
  18957. begin
  18958. pTDefRegMap(@Self)^.&set := $00000008;
  18959. end;
  18960. procedure TICAP1_IC1CON.clearICBNE; inline;
  18961. begin
  18962. pTDefRegMap(@Self)^.clr := $00000008;
  18963. end;
  18964. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  18965. begin
  18966. if thebits = 0 then
  18967. pTDefRegMap(@Self)^.clr := $00000008
  18968. else
  18969. pTDefRegMap(@Self)^.&set := $00000008;
  18970. end;
  18971. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  18972. begin
  18973. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18974. end;
  18975. procedure TICAP1_IC1CON.setICOV; inline;
  18976. begin
  18977. pTDefRegMap(@Self)^.&set := $00000010;
  18978. end;
  18979. procedure TICAP1_IC1CON.clearICOV; inline;
  18980. begin
  18981. pTDefRegMap(@Self)^.clr := $00000010;
  18982. end;
  18983. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  18984. begin
  18985. if thebits = 0 then
  18986. pTDefRegMap(@Self)^.clr := $00000010
  18987. else
  18988. pTDefRegMap(@Self)^.&set := $00000010;
  18989. end;
  18990. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  18991. begin
  18992. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18993. end;
  18994. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  18995. begin
  18996. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18997. end;
  18998. function TICAP1_IC1CON.getICI : TBits_2; inline;
  18999. begin
  19000. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19001. end;
  19002. procedure TICAP1_IC1CON.setICTMR; inline;
  19003. begin
  19004. pTDefRegMap(@Self)^.&set := $00000080;
  19005. end;
  19006. procedure TICAP1_IC1CON.clearICTMR; inline;
  19007. begin
  19008. pTDefRegMap(@Self)^.clr := $00000080;
  19009. end;
  19010. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  19011. begin
  19012. if thebits = 0 then
  19013. pTDefRegMap(@Self)^.clr := $00000080
  19014. else
  19015. pTDefRegMap(@Self)^.&set := $00000080;
  19016. end;
  19017. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  19018. begin
  19019. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19020. end;
  19021. procedure TICAP1_IC1CON.setC32; inline;
  19022. begin
  19023. pTDefRegMap(@Self)^.&set := $00000100;
  19024. end;
  19025. procedure TICAP1_IC1CON.clearC32; inline;
  19026. begin
  19027. pTDefRegMap(@Self)^.clr := $00000100;
  19028. end;
  19029. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  19030. begin
  19031. if thebits = 0 then
  19032. pTDefRegMap(@Self)^.clr := $00000100
  19033. else
  19034. pTDefRegMap(@Self)^.&set := $00000100;
  19035. end;
  19036. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  19037. begin
  19038. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19039. end;
  19040. procedure TICAP1_IC1CON.setFEDGE; inline;
  19041. begin
  19042. pTDefRegMap(@Self)^.&set := $00000200;
  19043. end;
  19044. procedure TICAP1_IC1CON.clearFEDGE; inline;
  19045. begin
  19046. pTDefRegMap(@Self)^.clr := $00000200;
  19047. end;
  19048. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  19049. begin
  19050. if thebits = 0 then
  19051. pTDefRegMap(@Self)^.clr := $00000200
  19052. else
  19053. pTDefRegMap(@Self)^.&set := $00000200;
  19054. end;
  19055. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  19056. begin
  19057. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19058. end;
  19059. procedure TICAP1_IC1CON.setSIDL; inline;
  19060. begin
  19061. pTDefRegMap(@Self)^.&set := $00002000;
  19062. end;
  19063. procedure TICAP1_IC1CON.clearSIDL; inline;
  19064. begin
  19065. pTDefRegMap(@Self)^.clr := $00002000;
  19066. end;
  19067. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  19068. begin
  19069. if thebits = 0 then
  19070. pTDefRegMap(@Self)^.clr := $00002000
  19071. else
  19072. pTDefRegMap(@Self)^.&set := $00002000;
  19073. end;
  19074. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  19075. begin
  19076. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19077. end;
  19078. procedure TICAP1_IC1CON.setON; inline;
  19079. begin
  19080. pTDefRegMap(@Self)^.&set := $00008000;
  19081. end;
  19082. procedure TICAP1_IC1CON.clearON; inline;
  19083. begin
  19084. pTDefRegMap(@Self)^.clr := $00008000;
  19085. end;
  19086. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  19087. begin
  19088. if thebits = 0 then
  19089. pTDefRegMap(@Self)^.clr := $00008000
  19090. else
  19091. pTDefRegMap(@Self)^.&set := $00008000;
  19092. end;
  19093. function TICAP1_IC1CON.getON : TBits_1; inline;
  19094. begin
  19095. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19096. end;
  19097. procedure TICAP1_IC1CON.setICM0; inline;
  19098. begin
  19099. pTDefRegMap(@Self)^.&set := $00000001;
  19100. end;
  19101. procedure TICAP1_IC1CON.clearICM0; inline;
  19102. begin
  19103. pTDefRegMap(@Self)^.clr := $00000001;
  19104. end;
  19105. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  19106. begin
  19107. if thebits = 0 then
  19108. pTDefRegMap(@Self)^.clr := $00000001
  19109. else
  19110. pTDefRegMap(@Self)^.&set := $00000001;
  19111. end;
  19112. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  19113. begin
  19114. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19115. end;
  19116. procedure TICAP1_IC1CON.setICM1; inline;
  19117. begin
  19118. pTDefRegMap(@Self)^.&set := $00000002;
  19119. end;
  19120. procedure TICAP1_IC1CON.clearICM1; inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.clr := $00000002;
  19123. end;
  19124. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  19125. begin
  19126. if thebits = 0 then
  19127. pTDefRegMap(@Self)^.clr := $00000002
  19128. else
  19129. pTDefRegMap(@Self)^.&set := $00000002;
  19130. end;
  19131. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  19132. begin
  19133. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19134. end;
  19135. procedure TICAP1_IC1CON.setICM2; inline;
  19136. begin
  19137. pTDefRegMap(@Self)^.&set := $00000004;
  19138. end;
  19139. procedure TICAP1_IC1CON.clearICM2; inline;
  19140. begin
  19141. pTDefRegMap(@Self)^.clr := $00000004;
  19142. end;
  19143. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  19144. begin
  19145. if thebits = 0 then
  19146. pTDefRegMap(@Self)^.clr := $00000004
  19147. else
  19148. pTDefRegMap(@Self)^.&set := $00000004;
  19149. end;
  19150. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  19151. begin
  19152. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19153. end;
  19154. procedure TICAP1_IC1CON.setICI0; inline;
  19155. begin
  19156. pTDefRegMap(@Self)^.&set := $00000020;
  19157. end;
  19158. procedure TICAP1_IC1CON.clearICI0; inline;
  19159. begin
  19160. pTDefRegMap(@Self)^.clr := $00000020;
  19161. end;
  19162. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  19163. begin
  19164. if thebits = 0 then
  19165. pTDefRegMap(@Self)^.clr := $00000020
  19166. else
  19167. pTDefRegMap(@Self)^.&set := $00000020;
  19168. end;
  19169. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  19170. begin
  19171. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19172. end;
  19173. procedure TICAP1_IC1CON.setICI1; inline;
  19174. begin
  19175. pTDefRegMap(@Self)^.&set := $00000040;
  19176. end;
  19177. procedure TICAP1_IC1CON.clearICI1; inline;
  19178. begin
  19179. pTDefRegMap(@Self)^.clr := $00000040;
  19180. end;
  19181. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  19182. begin
  19183. if thebits = 0 then
  19184. pTDefRegMap(@Self)^.clr := $00000040
  19185. else
  19186. pTDefRegMap(@Self)^.&set := $00000040;
  19187. end;
  19188. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  19189. begin
  19190. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19191. end;
  19192. procedure TICAP1_IC1CON.setICSIDL; inline;
  19193. begin
  19194. pTDefRegMap(@Self)^.&set := $00002000;
  19195. end;
  19196. procedure TICAP1_IC1CON.clearICSIDL; inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.clr := $00002000;
  19199. end;
  19200. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  19201. begin
  19202. if thebits = 0 then
  19203. pTDefRegMap(@Self)^.clr := $00002000
  19204. else
  19205. pTDefRegMap(@Self)^.&set := $00002000;
  19206. end;
  19207. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  19208. begin
  19209. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19210. end;
  19211. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  19212. begin
  19213. pTDefRegMap(@Self)^.val := thebits;
  19214. end;
  19215. function TICAP1_IC1CON.getw : TBits_32; inline;
  19216. begin
  19217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19218. end;
  19219. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  19220. begin
  19221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19222. end;
  19223. function TICAP2_IC2CON.getICM : TBits_3; inline;
  19224. begin
  19225. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19226. end;
  19227. procedure TICAP2_IC2CON.setICBNE; inline;
  19228. begin
  19229. pTDefRegMap(@Self)^.&set := $00000008;
  19230. end;
  19231. procedure TICAP2_IC2CON.clearICBNE; inline;
  19232. begin
  19233. pTDefRegMap(@Self)^.clr := $00000008;
  19234. end;
  19235. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  19236. begin
  19237. if thebits = 0 then
  19238. pTDefRegMap(@Self)^.clr := $00000008
  19239. else
  19240. pTDefRegMap(@Self)^.&set := $00000008;
  19241. end;
  19242. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  19243. begin
  19244. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19245. end;
  19246. procedure TICAP2_IC2CON.setICOV; inline;
  19247. begin
  19248. pTDefRegMap(@Self)^.&set := $00000010;
  19249. end;
  19250. procedure TICAP2_IC2CON.clearICOV; inline;
  19251. begin
  19252. pTDefRegMap(@Self)^.clr := $00000010;
  19253. end;
  19254. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  19255. begin
  19256. if thebits = 0 then
  19257. pTDefRegMap(@Self)^.clr := $00000010
  19258. else
  19259. pTDefRegMap(@Self)^.&set := $00000010;
  19260. end;
  19261. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  19262. begin
  19263. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19264. end;
  19265. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  19266. begin
  19267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  19268. end;
  19269. function TICAP2_IC2CON.getICI : TBits_2; inline;
  19270. begin
  19271. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19272. end;
  19273. procedure TICAP2_IC2CON.setICTMR; inline;
  19274. begin
  19275. pTDefRegMap(@Self)^.&set := $00000080;
  19276. end;
  19277. procedure TICAP2_IC2CON.clearICTMR; inline;
  19278. begin
  19279. pTDefRegMap(@Self)^.clr := $00000080;
  19280. end;
  19281. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  19282. begin
  19283. if thebits = 0 then
  19284. pTDefRegMap(@Self)^.clr := $00000080
  19285. else
  19286. pTDefRegMap(@Self)^.&set := $00000080;
  19287. end;
  19288. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  19289. begin
  19290. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19291. end;
  19292. procedure TICAP2_IC2CON.setC32; inline;
  19293. begin
  19294. pTDefRegMap(@Self)^.&set := $00000100;
  19295. end;
  19296. procedure TICAP2_IC2CON.clearC32; inline;
  19297. begin
  19298. pTDefRegMap(@Self)^.clr := $00000100;
  19299. end;
  19300. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  19301. begin
  19302. if thebits = 0 then
  19303. pTDefRegMap(@Self)^.clr := $00000100
  19304. else
  19305. pTDefRegMap(@Self)^.&set := $00000100;
  19306. end;
  19307. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  19308. begin
  19309. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19310. end;
  19311. procedure TICAP2_IC2CON.setFEDGE; inline;
  19312. begin
  19313. pTDefRegMap(@Self)^.&set := $00000200;
  19314. end;
  19315. procedure TICAP2_IC2CON.clearFEDGE; inline;
  19316. begin
  19317. pTDefRegMap(@Self)^.clr := $00000200;
  19318. end;
  19319. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  19320. begin
  19321. if thebits = 0 then
  19322. pTDefRegMap(@Self)^.clr := $00000200
  19323. else
  19324. pTDefRegMap(@Self)^.&set := $00000200;
  19325. end;
  19326. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  19327. begin
  19328. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19329. end;
  19330. procedure TICAP2_IC2CON.setSIDL; inline;
  19331. begin
  19332. pTDefRegMap(@Self)^.&set := $00002000;
  19333. end;
  19334. procedure TICAP2_IC2CON.clearSIDL; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.clr := $00002000;
  19337. end;
  19338. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  19339. begin
  19340. if thebits = 0 then
  19341. pTDefRegMap(@Self)^.clr := $00002000
  19342. else
  19343. pTDefRegMap(@Self)^.&set := $00002000;
  19344. end;
  19345. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  19346. begin
  19347. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19348. end;
  19349. procedure TICAP2_IC2CON.setON; inline;
  19350. begin
  19351. pTDefRegMap(@Self)^.&set := $00008000;
  19352. end;
  19353. procedure TICAP2_IC2CON.clearON; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.clr := $00008000;
  19356. end;
  19357. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  19358. begin
  19359. if thebits = 0 then
  19360. pTDefRegMap(@Self)^.clr := $00008000
  19361. else
  19362. pTDefRegMap(@Self)^.&set := $00008000;
  19363. end;
  19364. function TICAP2_IC2CON.getON : TBits_1; inline;
  19365. begin
  19366. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19367. end;
  19368. procedure TICAP2_IC2CON.setICM0; inline;
  19369. begin
  19370. pTDefRegMap(@Self)^.&set := $00000001;
  19371. end;
  19372. procedure TICAP2_IC2CON.clearICM0; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.clr := $00000001;
  19375. end;
  19376. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  19377. begin
  19378. if thebits = 0 then
  19379. pTDefRegMap(@Self)^.clr := $00000001
  19380. else
  19381. pTDefRegMap(@Self)^.&set := $00000001;
  19382. end;
  19383. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  19384. begin
  19385. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19386. end;
  19387. procedure TICAP2_IC2CON.setICM1; inline;
  19388. begin
  19389. pTDefRegMap(@Self)^.&set := $00000002;
  19390. end;
  19391. procedure TICAP2_IC2CON.clearICM1; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.clr := $00000002;
  19394. end;
  19395. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  19396. begin
  19397. if thebits = 0 then
  19398. pTDefRegMap(@Self)^.clr := $00000002
  19399. else
  19400. pTDefRegMap(@Self)^.&set := $00000002;
  19401. end;
  19402. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  19403. begin
  19404. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19405. end;
  19406. procedure TICAP2_IC2CON.setICM2; inline;
  19407. begin
  19408. pTDefRegMap(@Self)^.&set := $00000004;
  19409. end;
  19410. procedure TICAP2_IC2CON.clearICM2; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.clr := $00000004;
  19413. end;
  19414. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  19415. begin
  19416. if thebits = 0 then
  19417. pTDefRegMap(@Self)^.clr := $00000004
  19418. else
  19419. pTDefRegMap(@Self)^.&set := $00000004;
  19420. end;
  19421. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  19422. begin
  19423. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19424. end;
  19425. procedure TICAP2_IC2CON.setICI0; inline;
  19426. begin
  19427. pTDefRegMap(@Self)^.&set := $00000020;
  19428. end;
  19429. procedure TICAP2_IC2CON.clearICI0; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.clr := $00000020;
  19432. end;
  19433. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  19434. begin
  19435. if thebits = 0 then
  19436. pTDefRegMap(@Self)^.clr := $00000020
  19437. else
  19438. pTDefRegMap(@Self)^.&set := $00000020;
  19439. end;
  19440. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  19441. begin
  19442. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19443. end;
  19444. procedure TICAP2_IC2CON.setICI1; inline;
  19445. begin
  19446. pTDefRegMap(@Self)^.&set := $00000040;
  19447. end;
  19448. procedure TICAP2_IC2CON.clearICI1; inline;
  19449. begin
  19450. pTDefRegMap(@Self)^.clr := $00000040;
  19451. end;
  19452. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  19453. begin
  19454. if thebits = 0 then
  19455. pTDefRegMap(@Self)^.clr := $00000040
  19456. else
  19457. pTDefRegMap(@Self)^.&set := $00000040;
  19458. end;
  19459. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  19460. begin
  19461. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19462. end;
  19463. procedure TICAP2_IC2CON.setICSIDL; inline;
  19464. begin
  19465. pTDefRegMap(@Self)^.&set := $00002000;
  19466. end;
  19467. procedure TICAP2_IC2CON.clearICSIDL; inline;
  19468. begin
  19469. pTDefRegMap(@Self)^.clr := $00002000;
  19470. end;
  19471. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  19472. begin
  19473. if thebits = 0 then
  19474. pTDefRegMap(@Self)^.clr := $00002000
  19475. else
  19476. pTDefRegMap(@Self)^.&set := $00002000;
  19477. end;
  19478. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  19479. begin
  19480. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19481. end;
  19482. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  19483. begin
  19484. pTDefRegMap(@Self)^.val := thebits;
  19485. end;
  19486. function TICAP2_IC2CON.getw : TBits_32; inline;
  19487. begin
  19488. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19489. end;
  19490. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19493. end;
  19494. function TICAP3_IC3CON.getICM : TBits_3; inline;
  19495. begin
  19496. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19497. end;
  19498. procedure TICAP3_IC3CON.setICBNE; inline;
  19499. begin
  19500. pTDefRegMap(@Self)^.&set := $00000008;
  19501. end;
  19502. procedure TICAP3_IC3CON.clearICBNE; inline;
  19503. begin
  19504. pTDefRegMap(@Self)^.clr := $00000008;
  19505. end;
  19506. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  19507. begin
  19508. if thebits = 0 then
  19509. pTDefRegMap(@Self)^.clr := $00000008
  19510. else
  19511. pTDefRegMap(@Self)^.&set := $00000008;
  19512. end;
  19513. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  19514. begin
  19515. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19516. end;
  19517. procedure TICAP3_IC3CON.setICOV; inline;
  19518. begin
  19519. pTDefRegMap(@Self)^.&set := $00000010;
  19520. end;
  19521. procedure TICAP3_IC3CON.clearICOV; inline;
  19522. begin
  19523. pTDefRegMap(@Self)^.clr := $00000010;
  19524. end;
  19525. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  19526. begin
  19527. if thebits = 0 then
  19528. pTDefRegMap(@Self)^.clr := $00000010
  19529. else
  19530. pTDefRegMap(@Self)^.&set := $00000010;
  19531. end;
  19532. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  19533. begin
  19534. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19535. end;
  19536. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  19539. end;
  19540. function TICAP3_IC3CON.getICI : TBits_2; inline;
  19541. begin
  19542. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19543. end;
  19544. procedure TICAP3_IC3CON.setICTMR; inline;
  19545. begin
  19546. pTDefRegMap(@Self)^.&set := $00000080;
  19547. end;
  19548. procedure TICAP3_IC3CON.clearICTMR; inline;
  19549. begin
  19550. pTDefRegMap(@Self)^.clr := $00000080;
  19551. end;
  19552. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  19553. begin
  19554. if thebits = 0 then
  19555. pTDefRegMap(@Self)^.clr := $00000080
  19556. else
  19557. pTDefRegMap(@Self)^.&set := $00000080;
  19558. end;
  19559. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  19560. begin
  19561. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19562. end;
  19563. procedure TICAP3_IC3CON.setC32; inline;
  19564. begin
  19565. pTDefRegMap(@Self)^.&set := $00000100;
  19566. end;
  19567. procedure TICAP3_IC3CON.clearC32; inline;
  19568. begin
  19569. pTDefRegMap(@Self)^.clr := $00000100;
  19570. end;
  19571. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  19572. begin
  19573. if thebits = 0 then
  19574. pTDefRegMap(@Self)^.clr := $00000100
  19575. else
  19576. pTDefRegMap(@Self)^.&set := $00000100;
  19577. end;
  19578. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  19579. begin
  19580. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19581. end;
  19582. procedure TICAP3_IC3CON.setFEDGE; inline;
  19583. begin
  19584. pTDefRegMap(@Self)^.&set := $00000200;
  19585. end;
  19586. procedure TICAP3_IC3CON.clearFEDGE; inline;
  19587. begin
  19588. pTDefRegMap(@Self)^.clr := $00000200;
  19589. end;
  19590. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  19591. begin
  19592. if thebits = 0 then
  19593. pTDefRegMap(@Self)^.clr := $00000200
  19594. else
  19595. pTDefRegMap(@Self)^.&set := $00000200;
  19596. end;
  19597. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  19598. begin
  19599. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19600. end;
  19601. procedure TICAP3_IC3CON.setSIDL; inline;
  19602. begin
  19603. pTDefRegMap(@Self)^.&set := $00002000;
  19604. end;
  19605. procedure TICAP3_IC3CON.clearSIDL; inline;
  19606. begin
  19607. pTDefRegMap(@Self)^.clr := $00002000;
  19608. end;
  19609. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  19610. begin
  19611. if thebits = 0 then
  19612. pTDefRegMap(@Self)^.clr := $00002000
  19613. else
  19614. pTDefRegMap(@Self)^.&set := $00002000;
  19615. end;
  19616. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  19617. begin
  19618. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19619. end;
  19620. procedure TICAP3_IC3CON.setON; inline;
  19621. begin
  19622. pTDefRegMap(@Self)^.&set := $00008000;
  19623. end;
  19624. procedure TICAP3_IC3CON.clearON; inline;
  19625. begin
  19626. pTDefRegMap(@Self)^.clr := $00008000;
  19627. end;
  19628. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  19629. begin
  19630. if thebits = 0 then
  19631. pTDefRegMap(@Self)^.clr := $00008000
  19632. else
  19633. pTDefRegMap(@Self)^.&set := $00008000;
  19634. end;
  19635. function TICAP3_IC3CON.getON : TBits_1; inline;
  19636. begin
  19637. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19638. end;
  19639. procedure TICAP3_IC3CON.setICM0; inline;
  19640. begin
  19641. pTDefRegMap(@Self)^.&set := $00000001;
  19642. end;
  19643. procedure TICAP3_IC3CON.clearICM0; inline;
  19644. begin
  19645. pTDefRegMap(@Self)^.clr := $00000001;
  19646. end;
  19647. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  19648. begin
  19649. if thebits = 0 then
  19650. pTDefRegMap(@Self)^.clr := $00000001
  19651. else
  19652. pTDefRegMap(@Self)^.&set := $00000001;
  19653. end;
  19654. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  19655. begin
  19656. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19657. end;
  19658. procedure TICAP3_IC3CON.setICM1; inline;
  19659. begin
  19660. pTDefRegMap(@Self)^.&set := $00000002;
  19661. end;
  19662. procedure TICAP3_IC3CON.clearICM1; inline;
  19663. begin
  19664. pTDefRegMap(@Self)^.clr := $00000002;
  19665. end;
  19666. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  19667. begin
  19668. if thebits = 0 then
  19669. pTDefRegMap(@Self)^.clr := $00000002
  19670. else
  19671. pTDefRegMap(@Self)^.&set := $00000002;
  19672. end;
  19673. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  19674. begin
  19675. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19676. end;
  19677. procedure TICAP3_IC3CON.setICM2; inline;
  19678. begin
  19679. pTDefRegMap(@Self)^.&set := $00000004;
  19680. end;
  19681. procedure TICAP3_IC3CON.clearICM2; inline;
  19682. begin
  19683. pTDefRegMap(@Self)^.clr := $00000004;
  19684. end;
  19685. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  19686. begin
  19687. if thebits = 0 then
  19688. pTDefRegMap(@Self)^.clr := $00000004
  19689. else
  19690. pTDefRegMap(@Self)^.&set := $00000004;
  19691. end;
  19692. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  19693. begin
  19694. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19695. end;
  19696. procedure TICAP3_IC3CON.setICI0; inline;
  19697. begin
  19698. pTDefRegMap(@Self)^.&set := $00000020;
  19699. end;
  19700. procedure TICAP3_IC3CON.clearICI0; inline;
  19701. begin
  19702. pTDefRegMap(@Self)^.clr := $00000020;
  19703. end;
  19704. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  19705. begin
  19706. if thebits = 0 then
  19707. pTDefRegMap(@Self)^.clr := $00000020
  19708. else
  19709. pTDefRegMap(@Self)^.&set := $00000020;
  19710. end;
  19711. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  19712. begin
  19713. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19714. end;
  19715. procedure TICAP3_IC3CON.setICI1; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.&set := $00000040;
  19718. end;
  19719. procedure TICAP3_IC3CON.clearICI1; inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.clr := $00000040;
  19722. end;
  19723. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  19724. begin
  19725. if thebits = 0 then
  19726. pTDefRegMap(@Self)^.clr := $00000040
  19727. else
  19728. pTDefRegMap(@Self)^.&set := $00000040;
  19729. end;
  19730. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  19731. begin
  19732. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19733. end;
  19734. procedure TICAP3_IC3CON.setICSIDL; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.&set := $00002000;
  19737. end;
  19738. procedure TICAP3_IC3CON.clearICSIDL; inline;
  19739. begin
  19740. pTDefRegMap(@Self)^.clr := $00002000;
  19741. end;
  19742. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  19743. begin
  19744. if thebits = 0 then
  19745. pTDefRegMap(@Self)^.clr := $00002000
  19746. else
  19747. pTDefRegMap(@Self)^.&set := $00002000;
  19748. end;
  19749. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  19750. begin
  19751. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19752. end;
  19753. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.val := thebits;
  19756. end;
  19757. function TICAP3_IC3CON.getw : TBits_32; inline;
  19758. begin
  19759. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19760. end;
  19761. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19764. end;
  19765. function TICAP4_IC4CON.getICM : TBits_3; inline;
  19766. begin
  19767. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19768. end;
  19769. procedure TICAP4_IC4CON.setICBNE; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.&set := $00000008;
  19772. end;
  19773. procedure TICAP4_IC4CON.clearICBNE; inline;
  19774. begin
  19775. pTDefRegMap(@Self)^.clr := $00000008;
  19776. end;
  19777. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  19778. begin
  19779. if thebits = 0 then
  19780. pTDefRegMap(@Self)^.clr := $00000008
  19781. else
  19782. pTDefRegMap(@Self)^.&set := $00000008;
  19783. end;
  19784. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  19785. begin
  19786. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19787. end;
  19788. procedure TICAP4_IC4CON.setICOV; inline;
  19789. begin
  19790. pTDefRegMap(@Self)^.&set := $00000010;
  19791. end;
  19792. procedure TICAP4_IC4CON.clearICOV; inline;
  19793. begin
  19794. pTDefRegMap(@Self)^.clr := $00000010;
  19795. end;
  19796. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  19797. begin
  19798. if thebits = 0 then
  19799. pTDefRegMap(@Self)^.clr := $00000010
  19800. else
  19801. pTDefRegMap(@Self)^.&set := $00000010;
  19802. end;
  19803. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  19804. begin
  19805. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19806. end;
  19807. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  19808. begin
  19809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  19810. end;
  19811. function TICAP4_IC4CON.getICI : TBits_2; inline;
  19812. begin
  19813. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19814. end;
  19815. procedure TICAP4_IC4CON.setICTMR; inline;
  19816. begin
  19817. pTDefRegMap(@Self)^.&set := $00000080;
  19818. end;
  19819. procedure TICAP4_IC4CON.clearICTMR; inline;
  19820. begin
  19821. pTDefRegMap(@Self)^.clr := $00000080;
  19822. end;
  19823. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  19824. begin
  19825. if thebits = 0 then
  19826. pTDefRegMap(@Self)^.clr := $00000080
  19827. else
  19828. pTDefRegMap(@Self)^.&set := $00000080;
  19829. end;
  19830. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  19831. begin
  19832. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19833. end;
  19834. procedure TICAP4_IC4CON.setC32; inline;
  19835. begin
  19836. pTDefRegMap(@Self)^.&set := $00000100;
  19837. end;
  19838. procedure TICAP4_IC4CON.clearC32; inline;
  19839. begin
  19840. pTDefRegMap(@Self)^.clr := $00000100;
  19841. end;
  19842. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  19843. begin
  19844. if thebits = 0 then
  19845. pTDefRegMap(@Self)^.clr := $00000100
  19846. else
  19847. pTDefRegMap(@Self)^.&set := $00000100;
  19848. end;
  19849. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  19850. begin
  19851. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19852. end;
  19853. procedure TICAP4_IC4CON.setFEDGE; inline;
  19854. begin
  19855. pTDefRegMap(@Self)^.&set := $00000200;
  19856. end;
  19857. procedure TICAP4_IC4CON.clearFEDGE; inline;
  19858. begin
  19859. pTDefRegMap(@Self)^.clr := $00000200;
  19860. end;
  19861. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  19862. begin
  19863. if thebits = 0 then
  19864. pTDefRegMap(@Self)^.clr := $00000200
  19865. else
  19866. pTDefRegMap(@Self)^.&set := $00000200;
  19867. end;
  19868. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  19869. begin
  19870. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19871. end;
  19872. procedure TICAP4_IC4CON.setSIDL; inline;
  19873. begin
  19874. pTDefRegMap(@Self)^.&set := $00002000;
  19875. end;
  19876. procedure TICAP4_IC4CON.clearSIDL; inline;
  19877. begin
  19878. pTDefRegMap(@Self)^.clr := $00002000;
  19879. end;
  19880. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  19881. begin
  19882. if thebits = 0 then
  19883. pTDefRegMap(@Self)^.clr := $00002000
  19884. else
  19885. pTDefRegMap(@Self)^.&set := $00002000;
  19886. end;
  19887. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  19888. begin
  19889. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19890. end;
  19891. procedure TICAP4_IC4CON.setON; inline;
  19892. begin
  19893. pTDefRegMap(@Self)^.&set := $00008000;
  19894. end;
  19895. procedure TICAP4_IC4CON.clearON; inline;
  19896. begin
  19897. pTDefRegMap(@Self)^.clr := $00008000;
  19898. end;
  19899. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  19900. begin
  19901. if thebits = 0 then
  19902. pTDefRegMap(@Self)^.clr := $00008000
  19903. else
  19904. pTDefRegMap(@Self)^.&set := $00008000;
  19905. end;
  19906. function TICAP4_IC4CON.getON : TBits_1; inline;
  19907. begin
  19908. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19909. end;
  19910. procedure TICAP4_IC4CON.setICM0; inline;
  19911. begin
  19912. pTDefRegMap(@Self)^.&set := $00000001;
  19913. end;
  19914. procedure TICAP4_IC4CON.clearICM0; inline;
  19915. begin
  19916. pTDefRegMap(@Self)^.clr := $00000001;
  19917. end;
  19918. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  19919. begin
  19920. if thebits = 0 then
  19921. pTDefRegMap(@Self)^.clr := $00000001
  19922. else
  19923. pTDefRegMap(@Self)^.&set := $00000001;
  19924. end;
  19925. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  19926. begin
  19927. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19928. end;
  19929. procedure TICAP4_IC4CON.setICM1; inline;
  19930. begin
  19931. pTDefRegMap(@Self)^.&set := $00000002;
  19932. end;
  19933. procedure TICAP4_IC4CON.clearICM1; inline;
  19934. begin
  19935. pTDefRegMap(@Self)^.clr := $00000002;
  19936. end;
  19937. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  19938. begin
  19939. if thebits = 0 then
  19940. pTDefRegMap(@Self)^.clr := $00000002
  19941. else
  19942. pTDefRegMap(@Self)^.&set := $00000002;
  19943. end;
  19944. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  19945. begin
  19946. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19947. end;
  19948. procedure TICAP4_IC4CON.setICM2; inline;
  19949. begin
  19950. pTDefRegMap(@Self)^.&set := $00000004;
  19951. end;
  19952. procedure TICAP4_IC4CON.clearICM2; inline;
  19953. begin
  19954. pTDefRegMap(@Self)^.clr := $00000004;
  19955. end;
  19956. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  19957. begin
  19958. if thebits = 0 then
  19959. pTDefRegMap(@Self)^.clr := $00000004
  19960. else
  19961. pTDefRegMap(@Self)^.&set := $00000004;
  19962. end;
  19963. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  19964. begin
  19965. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19966. end;
  19967. procedure TICAP4_IC4CON.setICI0; inline;
  19968. begin
  19969. pTDefRegMap(@Self)^.&set := $00000020;
  19970. end;
  19971. procedure TICAP4_IC4CON.clearICI0; inline;
  19972. begin
  19973. pTDefRegMap(@Self)^.clr := $00000020;
  19974. end;
  19975. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  19976. begin
  19977. if thebits = 0 then
  19978. pTDefRegMap(@Self)^.clr := $00000020
  19979. else
  19980. pTDefRegMap(@Self)^.&set := $00000020;
  19981. end;
  19982. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  19983. begin
  19984. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19985. end;
  19986. procedure TICAP4_IC4CON.setICI1; inline;
  19987. begin
  19988. pTDefRegMap(@Self)^.&set := $00000040;
  19989. end;
  19990. procedure TICAP4_IC4CON.clearICI1; inline;
  19991. begin
  19992. pTDefRegMap(@Self)^.clr := $00000040;
  19993. end;
  19994. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  19995. begin
  19996. if thebits = 0 then
  19997. pTDefRegMap(@Self)^.clr := $00000040
  19998. else
  19999. pTDefRegMap(@Self)^.&set := $00000040;
  20000. end;
  20001. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  20002. begin
  20003. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20004. end;
  20005. procedure TICAP4_IC4CON.setICSIDL; inline;
  20006. begin
  20007. pTDefRegMap(@Self)^.&set := $00002000;
  20008. end;
  20009. procedure TICAP4_IC4CON.clearICSIDL; inline;
  20010. begin
  20011. pTDefRegMap(@Self)^.clr := $00002000;
  20012. end;
  20013. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  20014. begin
  20015. if thebits = 0 then
  20016. pTDefRegMap(@Self)^.clr := $00002000
  20017. else
  20018. pTDefRegMap(@Self)^.&set := $00002000;
  20019. end;
  20020. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  20021. begin
  20022. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20023. end;
  20024. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  20025. begin
  20026. pTDefRegMap(@Self)^.val := thebits;
  20027. end;
  20028. function TICAP4_IC4CON.getw : TBits_32; inline;
  20029. begin
  20030. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20031. end;
  20032. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  20033. begin
  20034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20035. end;
  20036. function TICAP5_IC5CON.getICM : TBits_3; inline;
  20037. begin
  20038. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20039. end;
  20040. procedure TICAP5_IC5CON.setICBNE; inline;
  20041. begin
  20042. pTDefRegMap(@Self)^.&set := $00000008;
  20043. end;
  20044. procedure TICAP5_IC5CON.clearICBNE; inline;
  20045. begin
  20046. pTDefRegMap(@Self)^.clr := $00000008;
  20047. end;
  20048. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  20049. begin
  20050. if thebits = 0 then
  20051. pTDefRegMap(@Self)^.clr := $00000008
  20052. else
  20053. pTDefRegMap(@Self)^.&set := $00000008;
  20054. end;
  20055. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  20056. begin
  20057. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20058. end;
  20059. procedure TICAP5_IC5CON.setICOV; inline;
  20060. begin
  20061. pTDefRegMap(@Self)^.&set := $00000010;
  20062. end;
  20063. procedure TICAP5_IC5CON.clearICOV; inline;
  20064. begin
  20065. pTDefRegMap(@Self)^.clr := $00000010;
  20066. end;
  20067. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  20068. begin
  20069. if thebits = 0 then
  20070. pTDefRegMap(@Self)^.clr := $00000010
  20071. else
  20072. pTDefRegMap(@Self)^.&set := $00000010;
  20073. end;
  20074. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  20075. begin
  20076. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20077. end;
  20078. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  20079. begin
  20080. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  20081. end;
  20082. function TICAP5_IC5CON.getICI : TBits_2; inline;
  20083. begin
  20084. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  20085. end;
  20086. procedure TICAP5_IC5CON.setICTMR; inline;
  20087. begin
  20088. pTDefRegMap(@Self)^.&set := $00000080;
  20089. end;
  20090. procedure TICAP5_IC5CON.clearICTMR; inline;
  20091. begin
  20092. pTDefRegMap(@Self)^.clr := $00000080;
  20093. end;
  20094. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  20095. begin
  20096. if thebits = 0 then
  20097. pTDefRegMap(@Self)^.clr := $00000080
  20098. else
  20099. pTDefRegMap(@Self)^.&set := $00000080;
  20100. end;
  20101. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  20102. begin
  20103. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20104. end;
  20105. procedure TICAP5_IC5CON.setC32; inline;
  20106. begin
  20107. pTDefRegMap(@Self)^.&set := $00000100;
  20108. end;
  20109. procedure TICAP5_IC5CON.clearC32; inline;
  20110. begin
  20111. pTDefRegMap(@Self)^.clr := $00000100;
  20112. end;
  20113. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  20114. begin
  20115. if thebits = 0 then
  20116. pTDefRegMap(@Self)^.clr := $00000100
  20117. else
  20118. pTDefRegMap(@Self)^.&set := $00000100;
  20119. end;
  20120. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  20121. begin
  20122. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20123. end;
  20124. procedure TICAP5_IC5CON.setFEDGE; inline;
  20125. begin
  20126. pTDefRegMap(@Self)^.&set := $00000200;
  20127. end;
  20128. procedure TICAP5_IC5CON.clearFEDGE; inline;
  20129. begin
  20130. pTDefRegMap(@Self)^.clr := $00000200;
  20131. end;
  20132. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  20133. begin
  20134. if thebits = 0 then
  20135. pTDefRegMap(@Self)^.clr := $00000200
  20136. else
  20137. pTDefRegMap(@Self)^.&set := $00000200;
  20138. end;
  20139. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  20140. begin
  20141. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20142. end;
  20143. procedure TICAP5_IC5CON.setSIDL; inline;
  20144. begin
  20145. pTDefRegMap(@Self)^.&set := $00002000;
  20146. end;
  20147. procedure TICAP5_IC5CON.clearSIDL; inline;
  20148. begin
  20149. pTDefRegMap(@Self)^.clr := $00002000;
  20150. end;
  20151. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  20152. begin
  20153. if thebits = 0 then
  20154. pTDefRegMap(@Self)^.clr := $00002000
  20155. else
  20156. pTDefRegMap(@Self)^.&set := $00002000;
  20157. end;
  20158. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  20159. begin
  20160. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20161. end;
  20162. procedure TICAP5_IC5CON.setON; inline;
  20163. begin
  20164. pTDefRegMap(@Self)^.&set := $00008000;
  20165. end;
  20166. procedure TICAP5_IC5CON.clearON; inline;
  20167. begin
  20168. pTDefRegMap(@Self)^.clr := $00008000;
  20169. end;
  20170. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  20171. begin
  20172. if thebits = 0 then
  20173. pTDefRegMap(@Self)^.clr := $00008000
  20174. else
  20175. pTDefRegMap(@Self)^.&set := $00008000;
  20176. end;
  20177. function TICAP5_IC5CON.getON : TBits_1; inline;
  20178. begin
  20179. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20180. end;
  20181. procedure TICAP5_IC5CON.setICM0; inline;
  20182. begin
  20183. pTDefRegMap(@Self)^.&set := $00000001;
  20184. end;
  20185. procedure TICAP5_IC5CON.clearICM0; inline;
  20186. begin
  20187. pTDefRegMap(@Self)^.clr := $00000001;
  20188. end;
  20189. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  20190. begin
  20191. if thebits = 0 then
  20192. pTDefRegMap(@Self)^.clr := $00000001
  20193. else
  20194. pTDefRegMap(@Self)^.&set := $00000001;
  20195. end;
  20196. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  20197. begin
  20198. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20199. end;
  20200. procedure TICAP5_IC5CON.setICM1; inline;
  20201. begin
  20202. pTDefRegMap(@Self)^.&set := $00000002;
  20203. end;
  20204. procedure TICAP5_IC5CON.clearICM1; inline;
  20205. begin
  20206. pTDefRegMap(@Self)^.clr := $00000002;
  20207. end;
  20208. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  20209. begin
  20210. if thebits = 0 then
  20211. pTDefRegMap(@Self)^.clr := $00000002
  20212. else
  20213. pTDefRegMap(@Self)^.&set := $00000002;
  20214. end;
  20215. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  20216. begin
  20217. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20218. end;
  20219. procedure TICAP5_IC5CON.setICM2; inline;
  20220. begin
  20221. pTDefRegMap(@Self)^.&set := $00000004;
  20222. end;
  20223. procedure TICAP5_IC5CON.clearICM2; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.clr := $00000004;
  20226. end;
  20227. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  20228. begin
  20229. if thebits = 0 then
  20230. pTDefRegMap(@Self)^.clr := $00000004
  20231. else
  20232. pTDefRegMap(@Self)^.&set := $00000004;
  20233. end;
  20234. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  20235. begin
  20236. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20237. end;
  20238. procedure TICAP5_IC5CON.setICI0; inline;
  20239. begin
  20240. pTDefRegMap(@Self)^.&set := $00000020;
  20241. end;
  20242. procedure TICAP5_IC5CON.clearICI0; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.clr := $00000020;
  20245. end;
  20246. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  20247. begin
  20248. if thebits = 0 then
  20249. pTDefRegMap(@Self)^.clr := $00000020
  20250. else
  20251. pTDefRegMap(@Self)^.&set := $00000020;
  20252. end;
  20253. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  20254. begin
  20255. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20256. end;
  20257. procedure TICAP5_IC5CON.setICI1; inline;
  20258. begin
  20259. pTDefRegMap(@Self)^.&set := $00000040;
  20260. end;
  20261. procedure TICAP5_IC5CON.clearICI1; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.clr := $00000040;
  20264. end;
  20265. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  20266. begin
  20267. if thebits = 0 then
  20268. pTDefRegMap(@Self)^.clr := $00000040
  20269. else
  20270. pTDefRegMap(@Self)^.&set := $00000040;
  20271. end;
  20272. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  20273. begin
  20274. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20275. end;
  20276. procedure TICAP5_IC5CON.setICSIDL; inline;
  20277. begin
  20278. pTDefRegMap(@Self)^.&set := $00002000;
  20279. end;
  20280. procedure TICAP5_IC5CON.clearICSIDL; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.clr := $00002000;
  20283. end;
  20284. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  20285. begin
  20286. if thebits = 0 then
  20287. pTDefRegMap(@Self)^.clr := $00002000
  20288. else
  20289. pTDefRegMap(@Self)^.&set := $00002000;
  20290. end;
  20291. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  20292. begin
  20293. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20294. end;
  20295. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  20296. begin
  20297. pTDefRegMap(@Self)^.val := thebits;
  20298. end;
  20299. function TICAP5_IC5CON.getw : TBits_32; inline;
  20300. begin
  20301. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20302. end;
  20303. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  20304. begin
  20305. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20306. end;
  20307. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  20308. begin
  20309. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20310. end;
  20311. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  20312. begin
  20313. pTDefRegMap(@Self)^.&set := $00000008;
  20314. end;
  20315. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  20316. begin
  20317. pTDefRegMap(@Self)^.clr := $00000008;
  20318. end;
  20319. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  20320. begin
  20321. if thebits = 0 then
  20322. pTDefRegMap(@Self)^.clr := $00000008
  20323. else
  20324. pTDefRegMap(@Self)^.&set := $00000008;
  20325. end;
  20326. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  20327. begin
  20328. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20329. end;
  20330. procedure TOCMP1_OC1CON.setOCFLT; inline;
  20331. begin
  20332. pTDefRegMap(@Self)^.&set := $00000010;
  20333. end;
  20334. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  20335. begin
  20336. pTDefRegMap(@Self)^.clr := $00000010;
  20337. end;
  20338. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  20339. begin
  20340. if thebits = 0 then
  20341. pTDefRegMap(@Self)^.clr := $00000010
  20342. else
  20343. pTDefRegMap(@Self)^.&set := $00000010;
  20344. end;
  20345. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  20346. begin
  20347. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20348. end;
  20349. procedure TOCMP1_OC1CON.setOC32; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.&set := $00000020;
  20352. end;
  20353. procedure TOCMP1_OC1CON.clearOC32; inline;
  20354. begin
  20355. pTDefRegMap(@Self)^.clr := $00000020;
  20356. end;
  20357. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  20358. begin
  20359. if thebits = 0 then
  20360. pTDefRegMap(@Self)^.clr := $00000020
  20361. else
  20362. pTDefRegMap(@Self)^.&set := $00000020;
  20363. end;
  20364. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  20365. begin
  20366. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20367. end;
  20368. procedure TOCMP1_OC1CON.setSIDL; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.&set := $00002000;
  20371. end;
  20372. procedure TOCMP1_OC1CON.clearSIDL; inline;
  20373. begin
  20374. pTDefRegMap(@Self)^.clr := $00002000;
  20375. end;
  20376. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  20377. begin
  20378. if thebits = 0 then
  20379. pTDefRegMap(@Self)^.clr := $00002000
  20380. else
  20381. pTDefRegMap(@Self)^.&set := $00002000;
  20382. end;
  20383. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  20384. begin
  20385. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20386. end;
  20387. procedure TOCMP1_OC1CON.setON; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.&set := $00008000;
  20390. end;
  20391. procedure TOCMP1_OC1CON.clearON; inline;
  20392. begin
  20393. pTDefRegMap(@Self)^.clr := $00008000;
  20394. end;
  20395. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  20396. begin
  20397. if thebits = 0 then
  20398. pTDefRegMap(@Self)^.clr := $00008000
  20399. else
  20400. pTDefRegMap(@Self)^.&set := $00008000;
  20401. end;
  20402. function TOCMP1_OC1CON.getON : TBits_1; inline;
  20403. begin
  20404. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20405. end;
  20406. procedure TOCMP1_OC1CON.setOCM0; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.&set := $00000001;
  20409. end;
  20410. procedure TOCMP1_OC1CON.clearOCM0; inline;
  20411. begin
  20412. pTDefRegMap(@Self)^.clr := $00000001;
  20413. end;
  20414. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  20415. begin
  20416. if thebits = 0 then
  20417. pTDefRegMap(@Self)^.clr := $00000001
  20418. else
  20419. pTDefRegMap(@Self)^.&set := $00000001;
  20420. end;
  20421. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  20422. begin
  20423. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20424. end;
  20425. procedure TOCMP1_OC1CON.setOCM1; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.&set := $00000002;
  20428. end;
  20429. procedure TOCMP1_OC1CON.clearOCM1; inline;
  20430. begin
  20431. pTDefRegMap(@Self)^.clr := $00000002;
  20432. end;
  20433. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  20434. begin
  20435. if thebits = 0 then
  20436. pTDefRegMap(@Self)^.clr := $00000002
  20437. else
  20438. pTDefRegMap(@Self)^.&set := $00000002;
  20439. end;
  20440. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  20441. begin
  20442. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20443. end;
  20444. procedure TOCMP1_OC1CON.setOCM2; inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.&set := $00000004;
  20447. end;
  20448. procedure TOCMP1_OC1CON.clearOCM2; inline;
  20449. begin
  20450. pTDefRegMap(@Self)^.clr := $00000004;
  20451. end;
  20452. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  20453. begin
  20454. if thebits = 0 then
  20455. pTDefRegMap(@Self)^.clr := $00000004
  20456. else
  20457. pTDefRegMap(@Self)^.&set := $00000004;
  20458. end;
  20459. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  20460. begin
  20461. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20462. end;
  20463. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  20464. begin
  20465. pTDefRegMap(@Self)^.&set := $00002000;
  20466. end;
  20467. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  20468. begin
  20469. pTDefRegMap(@Self)^.clr := $00002000;
  20470. end;
  20471. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  20472. begin
  20473. if thebits = 0 then
  20474. pTDefRegMap(@Self)^.clr := $00002000
  20475. else
  20476. pTDefRegMap(@Self)^.&set := $00002000;
  20477. end;
  20478. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  20479. begin
  20480. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20481. end;
  20482. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  20483. begin
  20484. pTDefRegMap(@Self)^.val := thebits;
  20485. end;
  20486. function TOCMP1_OC1CON.getw : TBits_32; inline;
  20487. begin
  20488. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20489. end;
  20490. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  20491. begin
  20492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20493. end;
  20494. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  20495. begin
  20496. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20497. end;
  20498. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  20499. begin
  20500. pTDefRegMap(@Self)^.&set := $00000008;
  20501. end;
  20502. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  20503. begin
  20504. pTDefRegMap(@Self)^.clr := $00000008;
  20505. end;
  20506. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  20507. begin
  20508. if thebits = 0 then
  20509. pTDefRegMap(@Self)^.clr := $00000008
  20510. else
  20511. pTDefRegMap(@Self)^.&set := $00000008;
  20512. end;
  20513. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  20514. begin
  20515. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20516. end;
  20517. procedure TOCMP2_OC2CON.setOCFLT; inline;
  20518. begin
  20519. pTDefRegMap(@Self)^.&set := $00000010;
  20520. end;
  20521. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  20522. begin
  20523. pTDefRegMap(@Self)^.clr := $00000010;
  20524. end;
  20525. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  20526. begin
  20527. if thebits = 0 then
  20528. pTDefRegMap(@Self)^.clr := $00000010
  20529. else
  20530. pTDefRegMap(@Self)^.&set := $00000010;
  20531. end;
  20532. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  20533. begin
  20534. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20535. end;
  20536. procedure TOCMP2_OC2CON.setOC32; inline;
  20537. begin
  20538. pTDefRegMap(@Self)^.&set := $00000020;
  20539. end;
  20540. procedure TOCMP2_OC2CON.clearOC32; inline;
  20541. begin
  20542. pTDefRegMap(@Self)^.clr := $00000020;
  20543. end;
  20544. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  20545. begin
  20546. if thebits = 0 then
  20547. pTDefRegMap(@Self)^.clr := $00000020
  20548. else
  20549. pTDefRegMap(@Self)^.&set := $00000020;
  20550. end;
  20551. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  20552. begin
  20553. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20554. end;
  20555. procedure TOCMP2_OC2CON.setSIDL; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.&set := $00002000;
  20558. end;
  20559. procedure TOCMP2_OC2CON.clearSIDL; inline;
  20560. begin
  20561. pTDefRegMap(@Self)^.clr := $00002000;
  20562. end;
  20563. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  20564. begin
  20565. if thebits = 0 then
  20566. pTDefRegMap(@Self)^.clr := $00002000
  20567. else
  20568. pTDefRegMap(@Self)^.&set := $00002000;
  20569. end;
  20570. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  20571. begin
  20572. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20573. end;
  20574. procedure TOCMP2_OC2CON.setON; inline;
  20575. begin
  20576. pTDefRegMap(@Self)^.&set := $00008000;
  20577. end;
  20578. procedure TOCMP2_OC2CON.clearON; inline;
  20579. begin
  20580. pTDefRegMap(@Self)^.clr := $00008000;
  20581. end;
  20582. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  20583. begin
  20584. if thebits = 0 then
  20585. pTDefRegMap(@Self)^.clr := $00008000
  20586. else
  20587. pTDefRegMap(@Self)^.&set := $00008000;
  20588. end;
  20589. function TOCMP2_OC2CON.getON : TBits_1; inline;
  20590. begin
  20591. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20592. end;
  20593. procedure TOCMP2_OC2CON.setOCM0; inline;
  20594. begin
  20595. pTDefRegMap(@Self)^.&set := $00000001;
  20596. end;
  20597. procedure TOCMP2_OC2CON.clearOCM0; inline;
  20598. begin
  20599. pTDefRegMap(@Self)^.clr := $00000001;
  20600. end;
  20601. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  20602. begin
  20603. if thebits = 0 then
  20604. pTDefRegMap(@Self)^.clr := $00000001
  20605. else
  20606. pTDefRegMap(@Self)^.&set := $00000001;
  20607. end;
  20608. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  20609. begin
  20610. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20611. end;
  20612. procedure TOCMP2_OC2CON.setOCM1; inline;
  20613. begin
  20614. pTDefRegMap(@Self)^.&set := $00000002;
  20615. end;
  20616. procedure TOCMP2_OC2CON.clearOCM1; inline;
  20617. begin
  20618. pTDefRegMap(@Self)^.clr := $00000002;
  20619. end;
  20620. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  20621. begin
  20622. if thebits = 0 then
  20623. pTDefRegMap(@Self)^.clr := $00000002
  20624. else
  20625. pTDefRegMap(@Self)^.&set := $00000002;
  20626. end;
  20627. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  20628. begin
  20629. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20630. end;
  20631. procedure TOCMP2_OC2CON.setOCM2; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.&set := $00000004;
  20634. end;
  20635. procedure TOCMP2_OC2CON.clearOCM2; inline;
  20636. begin
  20637. pTDefRegMap(@Self)^.clr := $00000004;
  20638. end;
  20639. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  20640. begin
  20641. if thebits = 0 then
  20642. pTDefRegMap(@Self)^.clr := $00000004
  20643. else
  20644. pTDefRegMap(@Self)^.&set := $00000004;
  20645. end;
  20646. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  20647. begin
  20648. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20649. end;
  20650. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  20651. begin
  20652. pTDefRegMap(@Self)^.&set := $00002000;
  20653. end;
  20654. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  20655. begin
  20656. pTDefRegMap(@Self)^.clr := $00002000;
  20657. end;
  20658. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  20659. begin
  20660. if thebits = 0 then
  20661. pTDefRegMap(@Self)^.clr := $00002000
  20662. else
  20663. pTDefRegMap(@Self)^.&set := $00002000;
  20664. end;
  20665. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  20666. begin
  20667. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20668. end;
  20669. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  20670. begin
  20671. pTDefRegMap(@Self)^.val := thebits;
  20672. end;
  20673. function TOCMP2_OC2CON.getw : TBits_32; inline;
  20674. begin
  20675. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20676. end;
  20677. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20680. end;
  20681. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  20682. begin
  20683. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20684. end;
  20685. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  20686. begin
  20687. pTDefRegMap(@Self)^.&set := $00000008;
  20688. end;
  20689. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  20690. begin
  20691. pTDefRegMap(@Self)^.clr := $00000008;
  20692. end;
  20693. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  20694. begin
  20695. if thebits = 0 then
  20696. pTDefRegMap(@Self)^.clr := $00000008
  20697. else
  20698. pTDefRegMap(@Self)^.&set := $00000008;
  20699. end;
  20700. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  20701. begin
  20702. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20703. end;
  20704. procedure TOCMP3_OC3CON.setOCFLT; inline;
  20705. begin
  20706. pTDefRegMap(@Self)^.&set := $00000010;
  20707. end;
  20708. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  20709. begin
  20710. pTDefRegMap(@Self)^.clr := $00000010;
  20711. end;
  20712. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  20713. begin
  20714. if thebits = 0 then
  20715. pTDefRegMap(@Self)^.clr := $00000010
  20716. else
  20717. pTDefRegMap(@Self)^.&set := $00000010;
  20718. end;
  20719. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  20720. begin
  20721. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20722. end;
  20723. procedure TOCMP3_OC3CON.setOC32; inline;
  20724. begin
  20725. pTDefRegMap(@Self)^.&set := $00000020;
  20726. end;
  20727. procedure TOCMP3_OC3CON.clearOC32; inline;
  20728. begin
  20729. pTDefRegMap(@Self)^.clr := $00000020;
  20730. end;
  20731. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  20732. begin
  20733. if thebits = 0 then
  20734. pTDefRegMap(@Self)^.clr := $00000020
  20735. else
  20736. pTDefRegMap(@Self)^.&set := $00000020;
  20737. end;
  20738. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  20739. begin
  20740. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20741. end;
  20742. procedure TOCMP3_OC3CON.setSIDL; inline;
  20743. begin
  20744. pTDefRegMap(@Self)^.&set := $00002000;
  20745. end;
  20746. procedure TOCMP3_OC3CON.clearSIDL; inline;
  20747. begin
  20748. pTDefRegMap(@Self)^.clr := $00002000;
  20749. end;
  20750. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  20751. begin
  20752. if thebits = 0 then
  20753. pTDefRegMap(@Self)^.clr := $00002000
  20754. else
  20755. pTDefRegMap(@Self)^.&set := $00002000;
  20756. end;
  20757. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  20758. begin
  20759. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20760. end;
  20761. procedure TOCMP3_OC3CON.setON; inline;
  20762. begin
  20763. pTDefRegMap(@Self)^.&set := $00008000;
  20764. end;
  20765. procedure TOCMP3_OC3CON.clearON; inline;
  20766. begin
  20767. pTDefRegMap(@Self)^.clr := $00008000;
  20768. end;
  20769. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  20770. begin
  20771. if thebits = 0 then
  20772. pTDefRegMap(@Self)^.clr := $00008000
  20773. else
  20774. pTDefRegMap(@Self)^.&set := $00008000;
  20775. end;
  20776. function TOCMP3_OC3CON.getON : TBits_1; inline;
  20777. begin
  20778. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20779. end;
  20780. procedure TOCMP3_OC3CON.setOCM0; inline;
  20781. begin
  20782. pTDefRegMap(@Self)^.&set := $00000001;
  20783. end;
  20784. procedure TOCMP3_OC3CON.clearOCM0; inline;
  20785. begin
  20786. pTDefRegMap(@Self)^.clr := $00000001;
  20787. end;
  20788. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  20789. begin
  20790. if thebits = 0 then
  20791. pTDefRegMap(@Self)^.clr := $00000001
  20792. else
  20793. pTDefRegMap(@Self)^.&set := $00000001;
  20794. end;
  20795. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  20796. begin
  20797. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20798. end;
  20799. procedure TOCMP3_OC3CON.setOCM1; inline;
  20800. begin
  20801. pTDefRegMap(@Self)^.&set := $00000002;
  20802. end;
  20803. procedure TOCMP3_OC3CON.clearOCM1; inline;
  20804. begin
  20805. pTDefRegMap(@Self)^.clr := $00000002;
  20806. end;
  20807. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  20808. begin
  20809. if thebits = 0 then
  20810. pTDefRegMap(@Self)^.clr := $00000002
  20811. else
  20812. pTDefRegMap(@Self)^.&set := $00000002;
  20813. end;
  20814. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  20815. begin
  20816. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20817. end;
  20818. procedure TOCMP3_OC3CON.setOCM2; inline;
  20819. begin
  20820. pTDefRegMap(@Self)^.&set := $00000004;
  20821. end;
  20822. procedure TOCMP3_OC3CON.clearOCM2; inline;
  20823. begin
  20824. pTDefRegMap(@Self)^.clr := $00000004;
  20825. end;
  20826. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  20827. begin
  20828. if thebits = 0 then
  20829. pTDefRegMap(@Self)^.clr := $00000004
  20830. else
  20831. pTDefRegMap(@Self)^.&set := $00000004;
  20832. end;
  20833. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  20834. begin
  20835. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20836. end;
  20837. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  20838. begin
  20839. pTDefRegMap(@Self)^.&set := $00002000;
  20840. end;
  20841. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  20842. begin
  20843. pTDefRegMap(@Self)^.clr := $00002000;
  20844. end;
  20845. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  20846. begin
  20847. if thebits = 0 then
  20848. pTDefRegMap(@Self)^.clr := $00002000
  20849. else
  20850. pTDefRegMap(@Self)^.&set := $00002000;
  20851. end;
  20852. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  20853. begin
  20854. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20855. end;
  20856. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  20857. begin
  20858. pTDefRegMap(@Self)^.val := thebits;
  20859. end;
  20860. function TOCMP3_OC3CON.getw : TBits_32; inline;
  20861. begin
  20862. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20863. end;
  20864. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  20865. begin
  20866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20867. end;
  20868. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  20869. begin
  20870. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20871. end;
  20872. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  20873. begin
  20874. pTDefRegMap(@Self)^.&set := $00000008;
  20875. end;
  20876. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  20877. begin
  20878. pTDefRegMap(@Self)^.clr := $00000008;
  20879. end;
  20880. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  20881. begin
  20882. if thebits = 0 then
  20883. pTDefRegMap(@Self)^.clr := $00000008
  20884. else
  20885. pTDefRegMap(@Self)^.&set := $00000008;
  20886. end;
  20887. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  20888. begin
  20889. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20890. end;
  20891. procedure TOCMP4_OC4CON.setOCFLT; inline;
  20892. begin
  20893. pTDefRegMap(@Self)^.&set := $00000010;
  20894. end;
  20895. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  20896. begin
  20897. pTDefRegMap(@Self)^.clr := $00000010;
  20898. end;
  20899. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  20900. begin
  20901. if thebits = 0 then
  20902. pTDefRegMap(@Self)^.clr := $00000010
  20903. else
  20904. pTDefRegMap(@Self)^.&set := $00000010;
  20905. end;
  20906. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  20907. begin
  20908. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20909. end;
  20910. procedure TOCMP4_OC4CON.setOC32; inline;
  20911. begin
  20912. pTDefRegMap(@Self)^.&set := $00000020;
  20913. end;
  20914. procedure TOCMP4_OC4CON.clearOC32; inline;
  20915. begin
  20916. pTDefRegMap(@Self)^.clr := $00000020;
  20917. end;
  20918. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  20919. begin
  20920. if thebits = 0 then
  20921. pTDefRegMap(@Self)^.clr := $00000020
  20922. else
  20923. pTDefRegMap(@Self)^.&set := $00000020;
  20924. end;
  20925. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  20926. begin
  20927. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20928. end;
  20929. procedure TOCMP4_OC4CON.setSIDL; inline;
  20930. begin
  20931. pTDefRegMap(@Self)^.&set := $00002000;
  20932. end;
  20933. procedure TOCMP4_OC4CON.clearSIDL; inline;
  20934. begin
  20935. pTDefRegMap(@Self)^.clr := $00002000;
  20936. end;
  20937. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  20938. begin
  20939. if thebits = 0 then
  20940. pTDefRegMap(@Self)^.clr := $00002000
  20941. else
  20942. pTDefRegMap(@Self)^.&set := $00002000;
  20943. end;
  20944. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  20945. begin
  20946. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20947. end;
  20948. procedure TOCMP4_OC4CON.setON; inline;
  20949. begin
  20950. pTDefRegMap(@Self)^.&set := $00008000;
  20951. end;
  20952. procedure TOCMP4_OC4CON.clearON; inline;
  20953. begin
  20954. pTDefRegMap(@Self)^.clr := $00008000;
  20955. end;
  20956. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  20957. begin
  20958. if thebits = 0 then
  20959. pTDefRegMap(@Self)^.clr := $00008000
  20960. else
  20961. pTDefRegMap(@Self)^.&set := $00008000;
  20962. end;
  20963. function TOCMP4_OC4CON.getON : TBits_1; inline;
  20964. begin
  20965. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20966. end;
  20967. procedure TOCMP4_OC4CON.setOCM0; inline;
  20968. begin
  20969. pTDefRegMap(@Self)^.&set := $00000001;
  20970. end;
  20971. procedure TOCMP4_OC4CON.clearOCM0; inline;
  20972. begin
  20973. pTDefRegMap(@Self)^.clr := $00000001;
  20974. end;
  20975. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  20976. begin
  20977. if thebits = 0 then
  20978. pTDefRegMap(@Self)^.clr := $00000001
  20979. else
  20980. pTDefRegMap(@Self)^.&set := $00000001;
  20981. end;
  20982. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  20983. begin
  20984. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20985. end;
  20986. procedure TOCMP4_OC4CON.setOCM1; inline;
  20987. begin
  20988. pTDefRegMap(@Self)^.&set := $00000002;
  20989. end;
  20990. procedure TOCMP4_OC4CON.clearOCM1; inline;
  20991. begin
  20992. pTDefRegMap(@Self)^.clr := $00000002;
  20993. end;
  20994. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  20995. begin
  20996. if thebits = 0 then
  20997. pTDefRegMap(@Self)^.clr := $00000002
  20998. else
  20999. pTDefRegMap(@Self)^.&set := $00000002;
  21000. end;
  21001. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  21002. begin
  21003. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21004. end;
  21005. procedure TOCMP4_OC4CON.setOCM2; inline;
  21006. begin
  21007. pTDefRegMap(@Self)^.&set := $00000004;
  21008. end;
  21009. procedure TOCMP4_OC4CON.clearOCM2; inline;
  21010. begin
  21011. pTDefRegMap(@Self)^.clr := $00000004;
  21012. end;
  21013. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  21014. begin
  21015. if thebits = 0 then
  21016. pTDefRegMap(@Self)^.clr := $00000004
  21017. else
  21018. pTDefRegMap(@Self)^.&set := $00000004;
  21019. end;
  21020. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  21021. begin
  21022. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21023. end;
  21024. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  21025. begin
  21026. pTDefRegMap(@Self)^.&set := $00002000;
  21027. end;
  21028. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  21029. begin
  21030. pTDefRegMap(@Self)^.clr := $00002000;
  21031. end;
  21032. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  21033. begin
  21034. if thebits = 0 then
  21035. pTDefRegMap(@Self)^.clr := $00002000
  21036. else
  21037. pTDefRegMap(@Self)^.&set := $00002000;
  21038. end;
  21039. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  21040. begin
  21041. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21042. end;
  21043. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  21044. begin
  21045. pTDefRegMap(@Self)^.val := thebits;
  21046. end;
  21047. function TOCMP4_OC4CON.getw : TBits_32; inline;
  21048. begin
  21049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21050. end;
  21051. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  21052. begin
  21053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  21054. end;
  21055. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  21056. begin
  21057. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  21058. end;
  21059. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  21060. begin
  21061. pTDefRegMap(@Self)^.&set := $00000008;
  21062. end;
  21063. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  21064. begin
  21065. pTDefRegMap(@Self)^.clr := $00000008;
  21066. end;
  21067. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  21068. begin
  21069. if thebits = 0 then
  21070. pTDefRegMap(@Self)^.clr := $00000008
  21071. else
  21072. pTDefRegMap(@Self)^.&set := $00000008;
  21073. end;
  21074. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  21075. begin
  21076. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21077. end;
  21078. procedure TOCMP5_OC5CON.setOCFLT; inline;
  21079. begin
  21080. pTDefRegMap(@Self)^.&set := $00000010;
  21081. end;
  21082. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  21083. begin
  21084. pTDefRegMap(@Self)^.clr := $00000010;
  21085. end;
  21086. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  21087. begin
  21088. if thebits = 0 then
  21089. pTDefRegMap(@Self)^.clr := $00000010
  21090. else
  21091. pTDefRegMap(@Self)^.&set := $00000010;
  21092. end;
  21093. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  21094. begin
  21095. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21096. end;
  21097. procedure TOCMP5_OC5CON.setOC32; inline;
  21098. begin
  21099. pTDefRegMap(@Self)^.&set := $00000020;
  21100. end;
  21101. procedure TOCMP5_OC5CON.clearOC32; inline;
  21102. begin
  21103. pTDefRegMap(@Self)^.clr := $00000020;
  21104. end;
  21105. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  21106. begin
  21107. if thebits = 0 then
  21108. pTDefRegMap(@Self)^.clr := $00000020
  21109. else
  21110. pTDefRegMap(@Self)^.&set := $00000020;
  21111. end;
  21112. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  21113. begin
  21114. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21115. end;
  21116. procedure TOCMP5_OC5CON.setSIDL; inline;
  21117. begin
  21118. pTDefRegMap(@Self)^.&set := $00002000;
  21119. end;
  21120. procedure TOCMP5_OC5CON.clearSIDL; inline;
  21121. begin
  21122. pTDefRegMap(@Self)^.clr := $00002000;
  21123. end;
  21124. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  21125. begin
  21126. if thebits = 0 then
  21127. pTDefRegMap(@Self)^.clr := $00002000
  21128. else
  21129. pTDefRegMap(@Self)^.&set := $00002000;
  21130. end;
  21131. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  21132. begin
  21133. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21134. end;
  21135. procedure TOCMP5_OC5CON.setON; inline;
  21136. begin
  21137. pTDefRegMap(@Self)^.&set := $00008000;
  21138. end;
  21139. procedure TOCMP5_OC5CON.clearON; inline;
  21140. begin
  21141. pTDefRegMap(@Self)^.clr := $00008000;
  21142. end;
  21143. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  21144. begin
  21145. if thebits = 0 then
  21146. pTDefRegMap(@Self)^.clr := $00008000
  21147. else
  21148. pTDefRegMap(@Self)^.&set := $00008000;
  21149. end;
  21150. function TOCMP5_OC5CON.getON : TBits_1; inline;
  21151. begin
  21152. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21153. end;
  21154. procedure TOCMP5_OC5CON.setOCM0; inline;
  21155. begin
  21156. pTDefRegMap(@Self)^.&set := $00000001;
  21157. end;
  21158. procedure TOCMP5_OC5CON.clearOCM0; inline;
  21159. begin
  21160. pTDefRegMap(@Self)^.clr := $00000001;
  21161. end;
  21162. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  21163. begin
  21164. if thebits = 0 then
  21165. pTDefRegMap(@Self)^.clr := $00000001
  21166. else
  21167. pTDefRegMap(@Self)^.&set := $00000001;
  21168. end;
  21169. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  21170. begin
  21171. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21172. end;
  21173. procedure TOCMP5_OC5CON.setOCM1; inline;
  21174. begin
  21175. pTDefRegMap(@Self)^.&set := $00000002;
  21176. end;
  21177. procedure TOCMP5_OC5CON.clearOCM1; inline;
  21178. begin
  21179. pTDefRegMap(@Self)^.clr := $00000002;
  21180. end;
  21181. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  21182. begin
  21183. if thebits = 0 then
  21184. pTDefRegMap(@Self)^.clr := $00000002
  21185. else
  21186. pTDefRegMap(@Self)^.&set := $00000002;
  21187. end;
  21188. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  21189. begin
  21190. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21191. end;
  21192. procedure TOCMP5_OC5CON.setOCM2; inline;
  21193. begin
  21194. pTDefRegMap(@Self)^.&set := $00000004;
  21195. end;
  21196. procedure TOCMP5_OC5CON.clearOCM2; inline;
  21197. begin
  21198. pTDefRegMap(@Self)^.clr := $00000004;
  21199. end;
  21200. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  21201. begin
  21202. if thebits = 0 then
  21203. pTDefRegMap(@Self)^.clr := $00000004
  21204. else
  21205. pTDefRegMap(@Self)^.&set := $00000004;
  21206. end;
  21207. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  21208. begin
  21209. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21210. end;
  21211. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  21212. begin
  21213. pTDefRegMap(@Self)^.&set := $00002000;
  21214. end;
  21215. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  21216. begin
  21217. pTDefRegMap(@Self)^.clr := $00002000;
  21218. end;
  21219. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  21220. begin
  21221. if thebits = 0 then
  21222. pTDefRegMap(@Self)^.clr := $00002000
  21223. else
  21224. pTDefRegMap(@Self)^.&set := $00002000;
  21225. end;
  21226. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  21227. begin
  21228. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21229. end;
  21230. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  21231. begin
  21232. pTDefRegMap(@Self)^.val := thebits;
  21233. end;
  21234. function TOCMP5_OC5CON.getw : TBits_32; inline;
  21235. begin
  21236. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21237. end;
  21238. procedure TI2C3_I2C1ACON.setSEN; inline;
  21239. begin
  21240. pTDefRegMap(@Self)^.&set := $00000001;
  21241. end;
  21242. procedure TI2C3_I2C1ACON.clearSEN; inline;
  21243. begin
  21244. pTDefRegMap(@Self)^.clr := $00000001;
  21245. end;
  21246. procedure TI2C3_I2C1ACON.setSEN(thebits : TBits_1); inline;
  21247. begin
  21248. if thebits = 0 then
  21249. pTDefRegMap(@Self)^.clr := $00000001
  21250. else
  21251. pTDefRegMap(@Self)^.&set := $00000001;
  21252. end;
  21253. function TI2C3_I2C1ACON.getSEN : TBits_1; inline;
  21254. begin
  21255. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21256. end;
  21257. procedure TI2C3_I2C1ACON.setRSEN; inline;
  21258. begin
  21259. pTDefRegMap(@Self)^.&set := $00000002;
  21260. end;
  21261. procedure TI2C3_I2C1ACON.clearRSEN; inline;
  21262. begin
  21263. pTDefRegMap(@Self)^.clr := $00000002;
  21264. end;
  21265. procedure TI2C3_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  21266. begin
  21267. if thebits = 0 then
  21268. pTDefRegMap(@Self)^.clr := $00000002
  21269. else
  21270. pTDefRegMap(@Self)^.&set := $00000002;
  21271. end;
  21272. function TI2C3_I2C1ACON.getRSEN : TBits_1; inline;
  21273. begin
  21274. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21275. end;
  21276. procedure TI2C3_I2C1ACON.setPEN; inline;
  21277. begin
  21278. pTDefRegMap(@Self)^.&set := $00000004;
  21279. end;
  21280. procedure TI2C3_I2C1ACON.clearPEN; inline;
  21281. begin
  21282. pTDefRegMap(@Self)^.clr := $00000004;
  21283. end;
  21284. procedure TI2C3_I2C1ACON.setPEN(thebits : TBits_1); inline;
  21285. begin
  21286. if thebits = 0 then
  21287. pTDefRegMap(@Self)^.clr := $00000004
  21288. else
  21289. pTDefRegMap(@Self)^.&set := $00000004;
  21290. end;
  21291. function TI2C3_I2C1ACON.getPEN : TBits_1; inline;
  21292. begin
  21293. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21294. end;
  21295. procedure TI2C3_I2C1ACON.setRCEN; inline;
  21296. begin
  21297. pTDefRegMap(@Self)^.&set := $00000008;
  21298. end;
  21299. procedure TI2C3_I2C1ACON.clearRCEN; inline;
  21300. begin
  21301. pTDefRegMap(@Self)^.clr := $00000008;
  21302. end;
  21303. procedure TI2C3_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  21304. begin
  21305. if thebits = 0 then
  21306. pTDefRegMap(@Self)^.clr := $00000008
  21307. else
  21308. pTDefRegMap(@Self)^.&set := $00000008;
  21309. end;
  21310. function TI2C3_I2C1ACON.getRCEN : TBits_1; inline;
  21311. begin
  21312. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21313. end;
  21314. procedure TI2C3_I2C1ACON.setACKEN; inline;
  21315. begin
  21316. pTDefRegMap(@Self)^.&set := $00000010;
  21317. end;
  21318. procedure TI2C3_I2C1ACON.clearACKEN; inline;
  21319. begin
  21320. pTDefRegMap(@Self)^.clr := $00000010;
  21321. end;
  21322. procedure TI2C3_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  21323. begin
  21324. if thebits = 0 then
  21325. pTDefRegMap(@Self)^.clr := $00000010
  21326. else
  21327. pTDefRegMap(@Self)^.&set := $00000010;
  21328. end;
  21329. function TI2C3_I2C1ACON.getACKEN : TBits_1; inline;
  21330. begin
  21331. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21332. end;
  21333. procedure TI2C3_I2C1ACON.setACKDT; inline;
  21334. begin
  21335. pTDefRegMap(@Self)^.&set := $00000020;
  21336. end;
  21337. procedure TI2C3_I2C1ACON.clearACKDT; inline;
  21338. begin
  21339. pTDefRegMap(@Self)^.clr := $00000020;
  21340. end;
  21341. procedure TI2C3_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  21342. begin
  21343. if thebits = 0 then
  21344. pTDefRegMap(@Self)^.clr := $00000020
  21345. else
  21346. pTDefRegMap(@Self)^.&set := $00000020;
  21347. end;
  21348. function TI2C3_I2C1ACON.getACKDT : TBits_1; inline;
  21349. begin
  21350. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21351. end;
  21352. procedure TI2C3_I2C1ACON.setSTREN; inline;
  21353. begin
  21354. pTDefRegMap(@Self)^.&set := $00000040;
  21355. end;
  21356. procedure TI2C3_I2C1ACON.clearSTREN; inline;
  21357. begin
  21358. pTDefRegMap(@Self)^.clr := $00000040;
  21359. end;
  21360. procedure TI2C3_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  21361. begin
  21362. if thebits = 0 then
  21363. pTDefRegMap(@Self)^.clr := $00000040
  21364. else
  21365. pTDefRegMap(@Self)^.&set := $00000040;
  21366. end;
  21367. function TI2C3_I2C1ACON.getSTREN : TBits_1; inline;
  21368. begin
  21369. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21370. end;
  21371. procedure TI2C3_I2C1ACON.setGCEN; inline;
  21372. begin
  21373. pTDefRegMap(@Self)^.&set := $00000080;
  21374. end;
  21375. procedure TI2C3_I2C1ACON.clearGCEN; inline;
  21376. begin
  21377. pTDefRegMap(@Self)^.clr := $00000080;
  21378. end;
  21379. procedure TI2C3_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  21380. begin
  21381. if thebits = 0 then
  21382. pTDefRegMap(@Self)^.clr := $00000080
  21383. else
  21384. pTDefRegMap(@Self)^.&set := $00000080;
  21385. end;
  21386. function TI2C3_I2C1ACON.getGCEN : TBits_1; inline;
  21387. begin
  21388. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21389. end;
  21390. procedure TI2C3_I2C1ACON.setSMEN; inline;
  21391. begin
  21392. pTDefRegMap(@Self)^.&set := $00000100;
  21393. end;
  21394. procedure TI2C3_I2C1ACON.clearSMEN; inline;
  21395. begin
  21396. pTDefRegMap(@Self)^.clr := $00000100;
  21397. end;
  21398. procedure TI2C3_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  21399. begin
  21400. if thebits = 0 then
  21401. pTDefRegMap(@Self)^.clr := $00000100
  21402. else
  21403. pTDefRegMap(@Self)^.&set := $00000100;
  21404. end;
  21405. function TI2C3_I2C1ACON.getSMEN : TBits_1; inline;
  21406. begin
  21407. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21408. end;
  21409. procedure TI2C3_I2C1ACON.setDISSLW; inline;
  21410. begin
  21411. pTDefRegMap(@Self)^.&set := $00000200;
  21412. end;
  21413. procedure TI2C3_I2C1ACON.clearDISSLW; inline;
  21414. begin
  21415. pTDefRegMap(@Self)^.clr := $00000200;
  21416. end;
  21417. procedure TI2C3_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  21418. begin
  21419. if thebits = 0 then
  21420. pTDefRegMap(@Self)^.clr := $00000200
  21421. else
  21422. pTDefRegMap(@Self)^.&set := $00000200;
  21423. end;
  21424. function TI2C3_I2C1ACON.getDISSLW : TBits_1; inline;
  21425. begin
  21426. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21427. end;
  21428. procedure TI2C3_I2C1ACON.setA10M; inline;
  21429. begin
  21430. pTDefRegMap(@Self)^.&set := $00000400;
  21431. end;
  21432. procedure TI2C3_I2C1ACON.clearA10M; inline;
  21433. begin
  21434. pTDefRegMap(@Self)^.clr := $00000400;
  21435. end;
  21436. procedure TI2C3_I2C1ACON.setA10M(thebits : TBits_1); inline;
  21437. begin
  21438. if thebits = 0 then
  21439. pTDefRegMap(@Self)^.clr := $00000400
  21440. else
  21441. pTDefRegMap(@Self)^.&set := $00000400;
  21442. end;
  21443. function TI2C3_I2C1ACON.getA10M : TBits_1; inline;
  21444. begin
  21445. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21446. end;
  21447. procedure TI2C3_I2C1ACON.setSTRICT; inline;
  21448. begin
  21449. pTDefRegMap(@Self)^.&set := $00000800;
  21450. end;
  21451. procedure TI2C3_I2C1ACON.clearSTRICT; inline;
  21452. begin
  21453. pTDefRegMap(@Self)^.clr := $00000800;
  21454. end;
  21455. procedure TI2C3_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  21456. begin
  21457. if thebits = 0 then
  21458. pTDefRegMap(@Self)^.clr := $00000800
  21459. else
  21460. pTDefRegMap(@Self)^.&set := $00000800;
  21461. end;
  21462. function TI2C3_I2C1ACON.getSTRICT : TBits_1; inline;
  21463. begin
  21464. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21465. end;
  21466. procedure TI2C3_I2C1ACON.setSCLREL; inline;
  21467. begin
  21468. pTDefRegMap(@Self)^.&set := $00001000;
  21469. end;
  21470. procedure TI2C3_I2C1ACON.clearSCLREL; inline;
  21471. begin
  21472. pTDefRegMap(@Self)^.clr := $00001000;
  21473. end;
  21474. procedure TI2C3_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  21475. begin
  21476. if thebits = 0 then
  21477. pTDefRegMap(@Self)^.clr := $00001000
  21478. else
  21479. pTDefRegMap(@Self)^.&set := $00001000;
  21480. end;
  21481. function TI2C3_I2C1ACON.getSCLREL : TBits_1; inline;
  21482. begin
  21483. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21484. end;
  21485. procedure TI2C3_I2C1ACON.setSIDL; inline;
  21486. begin
  21487. pTDefRegMap(@Self)^.&set := $00002000;
  21488. end;
  21489. procedure TI2C3_I2C1ACON.clearSIDL; inline;
  21490. begin
  21491. pTDefRegMap(@Self)^.clr := $00002000;
  21492. end;
  21493. procedure TI2C3_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  21494. begin
  21495. if thebits = 0 then
  21496. pTDefRegMap(@Self)^.clr := $00002000
  21497. else
  21498. pTDefRegMap(@Self)^.&set := $00002000;
  21499. end;
  21500. function TI2C3_I2C1ACON.getSIDL : TBits_1; inline;
  21501. begin
  21502. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21503. end;
  21504. procedure TI2C3_I2C1ACON.setON; inline;
  21505. begin
  21506. pTDefRegMap(@Self)^.&set := $00008000;
  21507. end;
  21508. procedure TI2C3_I2C1ACON.clearON; inline;
  21509. begin
  21510. pTDefRegMap(@Self)^.clr := $00008000;
  21511. end;
  21512. procedure TI2C3_I2C1ACON.setON(thebits : TBits_1); inline;
  21513. begin
  21514. if thebits = 0 then
  21515. pTDefRegMap(@Self)^.clr := $00008000
  21516. else
  21517. pTDefRegMap(@Self)^.&set := $00008000;
  21518. end;
  21519. function TI2C3_I2C1ACON.getON : TBits_1; inline;
  21520. begin
  21521. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21522. end;
  21523. procedure TI2C3_I2C1ACON.setIPMIEN; inline;
  21524. begin
  21525. pTDefRegMap(@Self)^.&set := $00000800;
  21526. end;
  21527. procedure TI2C3_I2C1ACON.clearIPMIEN; inline;
  21528. begin
  21529. pTDefRegMap(@Self)^.clr := $00000800;
  21530. end;
  21531. procedure TI2C3_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  21532. begin
  21533. if thebits = 0 then
  21534. pTDefRegMap(@Self)^.clr := $00000800
  21535. else
  21536. pTDefRegMap(@Self)^.&set := $00000800;
  21537. end;
  21538. function TI2C3_I2C1ACON.getIPMIEN : TBits_1; inline;
  21539. begin
  21540. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21541. end;
  21542. procedure TI2C3_I2C1ACON.setI2CSIDL; inline;
  21543. begin
  21544. pTDefRegMap(@Self)^.&set := $00002000;
  21545. end;
  21546. procedure TI2C3_I2C1ACON.clearI2CSIDL; inline;
  21547. begin
  21548. pTDefRegMap(@Self)^.clr := $00002000;
  21549. end;
  21550. procedure TI2C3_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  21551. begin
  21552. if thebits = 0 then
  21553. pTDefRegMap(@Self)^.clr := $00002000
  21554. else
  21555. pTDefRegMap(@Self)^.&set := $00002000;
  21556. end;
  21557. function TI2C3_I2C1ACON.getI2CSIDL : TBits_1; inline;
  21558. begin
  21559. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21560. end;
  21561. procedure TI2C3_I2C1ACON.setI2CEN; inline;
  21562. begin
  21563. pTDefRegMap(@Self)^.&set := $00008000;
  21564. end;
  21565. procedure TI2C3_I2C1ACON.clearI2CEN; inline;
  21566. begin
  21567. pTDefRegMap(@Self)^.clr := $00008000;
  21568. end;
  21569. procedure TI2C3_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  21570. begin
  21571. if thebits = 0 then
  21572. pTDefRegMap(@Self)^.clr := $00008000
  21573. else
  21574. pTDefRegMap(@Self)^.&set := $00008000;
  21575. end;
  21576. function TI2C3_I2C1ACON.getI2CEN : TBits_1; inline;
  21577. begin
  21578. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21579. end;
  21580. procedure TI2C3_I2C1ACON.setw(thebits : TBits_32); inline;
  21581. begin
  21582. pTDefRegMap(@Self)^.val := thebits;
  21583. end;
  21584. function TI2C3_I2C1ACON.getw : TBits_32; inline;
  21585. begin
  21586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21587. end;
  21588. procedure TI2C3_I2C3CON.setSEN; inline;
  21589. begin
  21590. pTDefRegMap(@Self)^.&set := $00000001;
  21591. end;
  21592. procedure TI2C3_I2C3CON.clearSEN; inline;
  21593. begin
  21594. pTDefRegMap(@Self)^.clr := $00000001;
  21595. end;
  21596. procedure TI2C3_I2C3CON.setSEN(thebits : TBits_1); inline;
  21597. begin
  21598. if thebits = 0 then
  21599. pTDefRegMap(@Self)^.clr := $00000001
  21600. else
  21601. pTDefRegMap(@Self)^.&set := $00000001;
  21602. end;
  21603. function TI2C3_I2C3CON.getSEN : TBits_1; inline;
  21604. begin
  21605. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21606. end;
  21607. procedure TI2C3_I2C3CON.setRSEN; inline;
  21608. begin
  21609. pTDefRegMap(@Self)^.&set := $00000002;
  21610. end;
  21611. procedure TI2C3_I2C3CON.clearRSEN; inline;
  21612. begin
  21613. pTDefRegMap(@Self)^.clr := $00000002;
  21614. end;
  21615. procedure TI2C3_I2C3CON.setRSEN(thebits : TBits_1); inline;
  21616. begin
  21617. if thebits = 0 then
  21618. pTDefRegMap(@Self)^.clr := $00000002
  21619. else
  21620. pTDefRegMap(@Self)^.&set := $00000002;
  21621. end;
  21622. function TI2C3_I2C3CON.getRSEN : TBits_1; inline;
  21623. begin
  21624. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21625. end;
  21626. procedure TI2C3_I2C3CON.setPEN; inline;
  21627. begin
  21628. pTDefRegMap(@Self)^.&set := $00000004;
  21629. end;
  21630. procedure TI2C3_I2C3CON.clearPEN; inline;
  21631. begin
  21632. pTDefRegMap(@Self)^.clr := $00000004;
  21633. end;
  21634. procedure TI2C3_I2C3CON.setPEN(thebits : TBits_1); inline;
  21635. begin
  21636. if thebits = 0 then
  21637. pTDefRegMap(@Self)^.clr := $00000004
  21638. else
  21639. pTDefRegMap(@Self)^.&set := $00000004;
  21640. end;
  21641. function TI2C3_I2C3CON.getPEN : TBits_1; inline;
  21642. begin
  21643. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21644. end;
  21645. procedure TI2C3_I2C3CON.setRCEN; inline;
  21646. begin
  21647. pTDefRegMap(@Self)^.&set := $00000008;
  21648. end;
  21649. procedure TI2C3_I2C3CON.clearRCEN; inline;
  21650. begin
  21651. pTDefRegMap(@Self)^.clr := $00000008;
  21652. end;
  21653. procedure TI2C3_I2C3CON.setRCEN(thebits : TBits_1); inline;
  21654. begin
  21655. if thebits = 0 then
  21656. pTDefRegMap(@Self)^.clr := $00000008
  21657. else
  21658. pTDefRegMap(@Self)^.&set := $00000008;
  21659. end;
  21660. function TI2C3_I2C3CON.getRCEN : TBits_1; inline;
  21661. begin
  21662. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21663. end;
  21664. procedure TI2C3_I2C3CON.setACKEN; inline;
  21665. begin
  21666. pTDefRegMap(@Self)^.&set := $00000010;
  21667. end;
  21668. procedure TI2C3_I2C3CON.clearACKEN; inline;
  21669. begin
  21670. pTDefRegMap(@Self)^.clr := $00000010;
  21671. end;
  21672. procedure TI2C3_I2C3CON.setACKEN(thebits : TBits_1); inline;
  21673. begin
  21674. if thebits = 0 then
  21675. pTDefRegMap(@Self)^.clr := $00000010
  21676. else
  21677. pTDefRegMap(@Self)^.&set := $00000010;
  21678. end;
  21679. function TI2C3_I2C3CON.getACKEN : TBits_1; inline;
  21680. begin
  21681. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21682. end;
  21683. procedure TI2C3_I2C3CON.setACKDT; inline;
  21684. begin
  21685. pTDefRegMap(@Self)^.&set := $00000020;
  21686. end;
  21687. procedure TI2C3_I2C3CON.clearACKDT; inline;
  21688. begin
  21689. pTDefRegMap(@Self)^.clr := $00000020;
  21690. end;
  21691. procedure TI2C3_I2C3CON.setACKDT(thebits : TBits_1); inline;
  21692. begin
  21693. if thebits = 0 then
  21694. pTDefRegMap(@Self)^.clr := $00000020
  21695. else
  21696. pTDefRegMap(@Self)^.&set := $00000020;
  21697. end;
  21698. function TI2C3_I2C3CON.getACKDT : TBits_1; inline;
  21699. begin
  21700. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21701. end;
  21702. procedure TI2C3_I2C3CON.setSTREN; inline;
  21703. begin
  21704. pTDefRegMap(@Self)^.&set := $00000040;
  21705. end;
  21706. procedure TI2C3_I2C3CON.clearSTREN; inline;
  21707. begin
  21708. pTDefRegMap(@Self)^.clr := $00000040;
  21709. end;
  21710. procedure TI2C3_I2C3CON.setSTREN(thebits : TBits_1); inline;
  21711. begin
  21712. if thebits = 0 then
  21713. pTDefRegMap(@Self)^.clr := $00000040
  21714. else
  21715. pTDefRegMap(@Self)^.&set := $00000040;
  21716. end;
  21717. function TI2C3_I2C3CON.getSTREN : TBits_1; inline;
  21718. begin
  21719. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21720. end;
  21721. procedure TI2C3_I2C3CON.setGCEN; inline;
  21722. begin
  21723. pTDefRegMap(@Self)^.&set := $00000080;
  21724. end;
  21725. procedure TI2C3_I2C3CON.clearGCEN; inline;
  21726. begin
  21727. pTDefRegMap(@Self)^.clr := $00000080;
  21728. end;
  21729. procedure TI2C3_I2C3CON.setGCEN(thebits : TBits_1); inline;
  21730. begin
  21731. if thebits = 0 then
  21732. pTDefRegMap(@Self)^.clr := $00000080
  21733. else
  21734. pTDefRegMap(@Self)^.&set := $00000080;
  21735. end;
  21736. function TI2C3_I2C3CON.getGCEN : TBits_1; inline;
  21737. begin
  21738. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21739. end;
  21740. procedure TI2C3_I2C3CON.setSMEN; inline;
  21741. begin
  21742. pTDefRegMap(@Self)^.&set := $00000100;
  21743. end;
  21744. procedure TI2C3_I2C3CON.clearSMEN; inline;
  21745. begin
  21746. pTDefRegMap(@Self)^.clr := $00000100;
  21747. end;
  21748. procedure TI2C3_I2C3CON.setSMEN(thebits : TBits_1); inline;
  21749. begin
  21750. if thebits = 0 then
  21751. pTDefRegMap(@Self)^.clr := $00000100
  21752. else
  21753. pTDefRegMap(@Self)^.&set := $00000100;
  21754. end;
  21755. function TI2C3_I2C3CON.getSMEN : TBits_1; inline;
  21756. begin
  21757. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21758. end;
  21759. procedure TI2C3_I2C3CON.setDISSLW; inline;
  21760. begin
  21761. pTDefRegMap(@Self)^.&set := $00000200;
  21762. end;
  21763. procedure TI2C3_I2C3CON.clearDISSLW; inline;
  21764. begin
  21765. pTDefRegMap(@Self)^.clr := $00000200;
  21766. end;
  21767. procedure TI2C3_I2C3CON.setDISSLW(thebits : TBits_1); inline;
  21768. begin
  21769. if thebits = 0 then
  21770. pTDefRegMap(@Self)^.clr := $00000200
  21771. else
  21772. pTDefRegMap(@Self)^.&set := $00000200;
  21773. end;
  21774. function TI2C3_I2C3CON.getDISSLW : TBits_1; inline;
  21775. begin
  21776. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21777. end;
  21778. procedure TI2C3_I2C3CON.setA10M; inline;
  21779. begin
  21780. pTDefRegMap(@Self)^.&set := $00000400;
  21781. end;
  21782. procedure TI2C3_I2C3CON.clearA10M; inline;
  21783. begin
  21784. pTDefRegMap(@Self)^.clr := $00000400;
  21785. end;
  21786. procedure TI2C3_I2C3CON.setA10M(thebits : TBits_1); inline;
  21787. begin
  21788. if thebits = 0 then
  21789. pTDefRegMap(@Self)^.clr := $00000400
  21790. else
  21791. pTDefRegMap(@Self)^.&set := $00000400;
  21792. end;
  21793. function TI2C3_I2C3CON.getA10M : TBits_1; inline;
  21794. begin
  21795. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21796. end;
  21797. procedure TI2C3_I2C3CON.setSTRICT; inline;
  21798. begin
  21799. pTDefRegMap(@Self)^.&set := $00000800;
  21800. end;
  21801. procedure TI2C3_I2C3CON.clearSTRICT; inline;
  21802. begin
  21803. pTDefRegMap(@Self)^.clr := $00000800;
  21804. end;
  21805. procedure TI2C3_I2C3CON.setSTRICT(thebits : TBits_1); inline;
  21806. begin
  21807. if thebits = 0 then
  21808. pTDefRegMap(@Self)^.clr := $00000800
  21809. else
  21810. pTDefRegMap(@Self)^.&set := $00000800;
  21811. end;
  21812. function TI2C3_I2C3CON.getSTRICT : TBits_1; inline;
  21813. begin
  21814. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21815. end;
  21816. procedure TI2C3_I2C3CON.setSCLREL; inline;
  21817. begin
  21818. pTDefRegMap(@Self)^.&set := $00001000;
  21819. end;
  21820. procedure TI2C3_I2C3CON.clearSCLREL; inline;
  21821. begin
  21822. pTDefRegMap(@Self)^.clr := $00001000;
  21823. end;
  21824. procedure TI2C3_I2C3CON.setSCLREL(thebits : TBits_1); inline;
  21825. begin
  21826. if thebits = 0 then
  21827. pTDefRegMap(@Self)^.clr := $00001000
  21828. else
  21829. pTDefRegMap(@Self)^.&set := $00001000;
  21830. end;
  21831. function TI2C3_I2C3CON.getSCLREL : TBits_1; inline;
  21832. begin
  21833. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21834. end;
  21835. procedure TI2C3_I2C3CON.setSIDL; inline;
  21836. begin
  21837. pTDefRegMap(@Self)^.&set := $00002000;
  21838. end;
  21839. procedure TI2C3_I2C3CON.clearSIDL; inline;
  21840. begin
  21841. pTDefRegMap(@Self)^.clr := $00002000;
  21842. end;
  21843. procedure TI2C3_I2C3CON.setSIDL(thebits : TBits_1); inline;
  21844. begin
  21845. if thebits = 0 then
  21846. pTDefRegMap(@Self)^.clr := $00002000
  21847. else
  21848. pTDefRegMap(@Self)^.&set := $00002000;
  21849. end;
  21850. function TI2C3_I2C3CON.getSIDL : TBits_1; inline;
  21851. begin
  21852. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21853. end;
  21854. procedure TI2C3_I2C3CON.setON; inline;
  21855. begin
  21856. pTDefRegMap(@Self)^.&set := $00008000;
  21857. end;
  21858. procedure TI2C3_I2C3CON.clearON; inline;
  21859. begin
  21860. pTDefRegMap(@Self)^.clr := $00008000;
  21861. end;
  21862. procedure TI2C3_I2C3CON.setON(thebits : TBits_1); inline;
  21863. begin
  21864. if thebits = 0 then
  21865. pTDefRegMap(@Self)^.clr := $00008000
  21866. else
  21867. pTDefRegMap(@Self)^.&set := $00008000;
  21868. end;
  21869. function TI2C3_I2C3CON.getON : TBits_1; inline;
  21870. begin
  21871. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21872. end;
  21873. procedure TI2C3_I2C3CON.setIPMIEN; inline;
  21874. begin
  21875. pTDefRegMap(@Self)^.&set := $00000800;
  21876. end;
  21877. procedure TI2C3_I2C3CON.clearIPMIEN; inline;
  21878. begin
  21879. pTDefRegMap(@Self)^.clr := $00000800;
  21880. end;
  21881. procedure TI2C3_I2C3CON.setIPMIEN(thebits : TBits_1); inline;
  21882. begin
  21883. if thebits = 0 then
  21884. pTDefRegMap(@Self)^.clr := $00000800
  21885. else
  21886. pTDefRegMap(@Self)^.&set := $00000800;
  21887. end;
  21888. function TI2C3_I2C3CON.getIPMIEN : TBits_1; inline;
  21889. begin
  21890. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21891. end;
  21892. procedure TI2C3_I2C3CON.setI2CSIDL; inline;
  21893. begin
  21894. pTDefRegMap(@Self)^.&set := $00002000;
  21895. end;
  21896. procedure TI2C3_I2C3CON.clearI2CSIDL; inline;
  21897. begin
  21898. pTDefRegMap(@Self)^.clr := $00002000;
  21899. end;
  21900. procedure TI2C3_I2C3CON.setI2CSIDL(thebits : TBits_1); inline;
  21901. begin
  21902. if thebits = 0 then
  21903. pTDefRegMap(@Self)^.clr := $00002000
  21904. else
  21905. pTDefRegMap(@Self)^.&set := $00002000;
  21906. end;
  21907. function TI2C3_I2C3CON.getI2CSIDL : TBits_1; inline;
  21908. begin
  21909. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21910. end;
  21911. procedure TI2C3_I2C3CON.setI2CEN; inline;
  21912. begin
  21913. pTDefRegMap(@Self)^.&set := $00008000;
  21914. end;
  21915. procedure TI2C3_I2C3CON.clearI2CEN; inline;
  21916. begin
  21917. pTDefRegMap(@Self)^.clr := $00008000;
  21918. end;
  21919. procedure TI2C3_I2C3CON.setI2CEN(thebits : TBits_1); inline;
  21920. begin
  21921. if thebits = 0 then
  21922. pTDefRegMap(@Self)^.clr := $00008000
  21923. else
  21924. pTDefRegMap(@Self)^.&set := $00008000;
  21925. end;
  21926. function TI2C3_I2C3CON.getI2CEN : TBits_1; inline;
  21927. begin
  21928. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21929. end;
  21930. procedure TI2C3_I2C3CON.setw(thebits : TBits_32); inline;
  21931. begin
  21932. pTDefRegMap(@Self)^.val := thebits;
  21933. end;
  21934. function TI2C3_I2C3CON.getw : TBits_32; inline;
  21935. begin
  21936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21937. end;
  21938. procedure TI2C3_I2C1ASTAT.setTBF; inline;
  21939. begin
  21940. pTDefRegMap(@Self)^.&set := $00000001;
  21941. end;
  21942. procedure TI2C3_I2C1ASTAT.clearTBF; inline;
  21943. begin
  21944. pTDefRegMap(@Self)^.clr := $00000001;
  21945. end;
  21946. procedure TI2C3_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  21947. begin
  21948. if thebits = 0 then
  21949. pTDefRegMap(@Self)^.clr := $00000001
  21950. else
  21951. pTDefRegMap(@Self)^.&set := $00000001;
  21952. end;
  21953. function TI2C3_I2C1ASTAT.getTBF : TBits_1; inline;
  21954. begin
  21955. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21956. end;
  21957. procedure TI2C3_I2C1ASTAT.setRBF; inline;
  21958. begin
  21959. pTDefRegMap(@Self)^.&set := $00000002;
  21960. end;
  21961. procedure TI2C3_I2C1ASTAT.clearRBF; inline;
  21962. begin
  21963. pTDefRegMap(@Self)^.clr := $00000002;
  21964. end;
  21965. procedure TI2C3_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  21966. begin
  21967. if thebits = 0 then
  21968. pTDefRegMap(@Self)^.clr := $00000002
  21969. else
  21970. pTDefRegMap(@Self)^.&set := $00000002;
  21971. end;
  21972. function TI2C3_I2C1ASTAT.getRBF : TBits_1; inline;
  21973. begin
  21974. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21975. end;
  21976. procedure TI2C3_I2C1ASTAT.setR_W; inline;
  21977. begin
  21978. pTDefRegMap(@Self)^.&set := $00000004;
  21979. end;
  21980. procedure TI2C3_I2C1ASTAT.clearR_W; inline;
  21981. begin
  21982. pTDefRegMap(@Self)^.clr := $00000004;
  21983. end;
  21984. procedure TI2C3_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  21985. begin
  21986. if thebits = 0 then
  21987. pTDefRegMap(@Self)^.clr := $00000004
  21988. else
  21989. pTDefRegMap(@Self)^.&set := $00000004;
  21990. end;
  21991. function TI2C3_I2C1ASTAT.getR_W : TBits_1; inline;
  21992. begin
  21993. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21994. end;
  21995. procedure TI2C3_I2C1ASTAT.setS; inline;
  21996. begin
  21997. pTDefRegMap(@Self)^.&set := $00000008;
  21998. end;
  21999. procedure TI2C3_I2C1ASTAT.clearS; inline;
  22000. begin
  22001. pTDefRegMap(@Self)^.clr := $00000008;
  22002. end;
  22003. procedure TI2C3_I2C1ASTAT.setS(thebits : TBits_1); inline;
  22004. begin
  22005. if thebits = 0 then
  22006. pTDefRegMap(@Self)^.clr := $00000008
  22007. else
  22008. pTDefRegMap(@Self)^.&set := $00000008;
  22009. end;
  22010. function TI2C3_I2C1ASTAT.getS : TBits_1; inline;
  22011. begin
  22012. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22013. end;
  22014. procedure TI2C3_I2C1ASTAT.setP; inline;
  22015. begin
  22016. pTDefRegMap(@Self)^.&set := $00000010;
  22017. end;
  22018. procedure TI2C3_I2C1ASTAT.clearP; inline;
  22019. begin
  22020. pTDefRegMap(@Self)^.clr := $00000010;
  22021. end;
  22022. procedure TI2C3_I2C1ASTAT.setP(thebits : TBits_1); inline;
  22023. begin
  22024. if thebits = 0 then
  22025. pTDefRegMap(@Self)^.clr := $00000010
  22026. else
  22027. pTDefRegMap(@Self)^.&set := $00000010;
  22028. end;
  22029. function TI2C3_I2C1ASTAT.getP : TBits_1; inline;
  22030. begin
  22031. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22032. end;
  22033. procedure TI2C3_I2C1ASTAT.setD_A; inline;
  22034. begin
  22035. pTDefRegMap(@Self)^.&set := $00000020;
  22036. end;
  22037. procedure TI2C3_I2C1ASTAT.clearD_A; inline;
  22038. begin
  22039. pTDefRegMap(@Self)^.clr := $00000020;
  22040. end;
  22041. procedure TI2C3_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  22042. begin
  22043. if thebits = 0 then
  22044. pTDefRegMap(@Self)^.clr := $00000020
  22045. else
  22046. pTDefRegMap(@Self)^.&set := $00000020;
  22047. end;
  22048. function TI2C3_I2C1ASTAT.getD_A : TBits_1; inline;
  22049. begin
  22050. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22051. end;
  22052. procedure TI2C3_I2C1ASTAT.setI2COV; inline;
  22053. begin
  22054. pTDefRegMap(@Self)^.&set := $00000040;
  22055. end;
  22056. procedure TI2C3_I2C1ASTAT.clearI2COV; inline;
  22057. begin
  22058. pTDefRegMap(@Self)^.clr := $00000040;
  22059. end;
  22060. procedure TI2C3_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  22061. begin
  22062. if thebits = 0 then
  22063. pTDefRegMap(@Self)^.clr := $00000040
  22064. else
  22065. pTDefRegMap(@Self)^.&set := $00000040;
  22066. end;
  22067. function TI2C3_I2C1ASTAT.getI2COV : TBits_1; inline;
  22068. begin
  22069. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22070. end;
  22071. procedure TI2C3_I2C1ASTAT.setIWCOL; inline;
  22072. begin
  22073. pTDefRegMap(@Self)^.&set := $00000080;
  22074. end;
  22075. procedure TI2C3_I2C1ASTAT.clearIWCOL; inline;
  22076. begin
  22077. pTDefRegMap(@Self)^.clr := $00000080;
  22078. end;
  22079. procedure TI2C3_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  22080. begin
  22081. if thebits = 0 then
  22082. pTDefRegMap(@Self)^.clr := $00000080
  22083. else
  22084. pTDefRegMap(@Self)^.&set := $00000080;
  22085. end;
  22086. function TI2C3_I2C1ASTAT.getIWCOL : TBits_1; inline;
  22087. begin
  22088. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22089. end;
  22090. procedure TI2C3_I2C1ASTAT.setADD10; inline;
  22091. begin
  22092. pTDefRegMap(@Self)^.&set := $00000100;
  22093. end;
  22094. procedure TI2C3_I2C1ASTAT.clearADD10; inline;
  22095. begin
  22096. pTDefRegMap(@Self)^.clr := $00000100;
  22097. end;
  22098. procedure TI2C3_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  22099. begin
  22100. if thebits = 0 then
  22101. pTDefRegMap(@Self)^.clr := $00000100
  22102. else
  22103. pTDefRegMap(@Self)^.&set := $00000100;
  22104. end;
  22105. function TI2C3_I2C1ASTAT.getADD10 : TBits_1; inline;
  22106. begin
  22107. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22108. end;
  22109. procedure TI2C3_I2C1ASTAT.setGCSTAT; inline;
  22110. begin
  22111. pTDefRegMap(@Self)^.&set := $00000200;
  22112. end;
  22113. procedure TI2C3_I2C1ASTAT.clearGCSTAT; inline;
  22114. begin
  22115. pTDefRegMap(@Self)^.clr := $00000200;
  22116. end;
  22117. procedure TI2C3_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  22118. begin
  22119. if thebits = 0 then
  22120. pTDefRegMap(@Self)^.clr := $00000200
  22121. else
  22122. pTDefRegMap(@Self)^.&set := $00000200;
  22123. end;
  22124. function TI2C3_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  22125. begin
  22126. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22127. end;
  22128. procedure TI2C3_I2C1ASTAT.setBCL; inline;
  22129. begin
  22130. pTDefRegMap(@Self)^.&set := $00000400;
  22131. end;
  22132. procedure TI2C3_I2C1ASTAT.clearBCL; inline;
  22133. begin
  22134. pTDefRegMap(@Self)^.clr := $00000400;
  22135. end;
  22136. procedure TI2C3_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  22137. begin
  22138. if thebits = 0 then
  22139. pTDefRegMap(@Self)^.clr := $00000400
  22140. else
  22141. pTDefRegMap(@Self)^.&set := $00000400;
  22142. end;
  22143. function TI2C3_I2C1ASTAT.getBCL : TBits_1; inline;
  22144. begin
  22145. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22146. end;
  22147. procedure TI2C3_I2C1ASTAT.setTRSTAT; inline;
  22148. begin
  22149. pTDefRegMap(@Self)^.&set := $00004000;
  22150. end;
  22151. procedure TI2C3_I2C1ASTAT.clearTRSTAT; inline;
  22152. begin
  22153. pTDefRegMap(@Self)^.clr := $00004000;
  22154. end;
  22155. procedure TI2C3_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  22156. begin
  22157. if thebits = 0 then
  22158. pTDefRegMap(@Self)^.clr := $00004000
  22159. else
  22160. pTDefRegMap(@Self)^.&set := $00004000;
  22161. end;
  22162. function TI2C3_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  22163. begin
  22164. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22165. end;
  22166. procedure TI2C3_I2C1ASTAT.setACKSTAT; inline;
  22167. begin
  22168. pTDefRegMap(@Self)^.&set := $00008000;
  22169. end;
  22170. procedure TI2C3_I2C1ASTAT.clearACKSTAT; inline;
  22171. begin
  22172. pTDefRegMap(@Self)^.clr := $00008000;
  22173. end;
  22174. procedure TI2C3_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  22175. begin
  22176. if thebits = 0 then
  22177. pTDefRegMap(@Self)^.clr := $00008000
  22178. else
  22179. pTDefRegMap(@Self)^.&set := $00008000;
  22180. end;
  22181. function TI2C3_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  22182. begin
  22183. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22184. end;
  22185. procedure TI2C3_I2C1ASTAT.setI2CPOV; inline;
  22186. begin
  22187. pTDefRegMap(@Self)^.&set := $00000040;
  22188. end;
  22189. procedure TI2C3_I2C1ASTAT.clearI2CPOV; inline;
  22190. begin
  22191. pTDefRegMap(@Self)^.clr := $00000040;
  22192. end;
  22193. procedure TI2C3_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  22194. begin
  22195. if thebits = 0 then
  22196. pTDefRegMap(@Self)^.clr := $00000040
  22197. else
  22198. pTDefRegMap(@Self)^.&set := $00000040;
  22199. end;
  22200. function TI2C3_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  22201. begin
  22202. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22203. end;
  22204. procedure TI2C3_I2C1ASTAT.setw(thebits : TBits_32); inline;
  22205. begin
  22206. pTDefRegMap(@Self)^.val := thebits;
  22207. end;
  22208. function TI2C3_I2C1ASTAT.getw : TBits_32; inline;
  22209. begin
  22210. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22211. end;
  22212. procedure TI2C3_I2C3STAT.setTBF; inline;
  22213. begin
  22214. pTDefRegMap(@Self)^.&set := $00000001;
  22215. end;
  22216. procedure TI2C3_I2C3STAT.clearTBF; inline;
  22217. begin
  22218. pTDefRegMap(@Self)^.clr := $00000001;
  22219. end;
  22220. procedure TI2C3_I2C3STAT.setTBF(thebits : TBits_1); inline;
  22221. begin
  22222. if thebits = 0 then
  22223. pTDefRegMap(@Self)^.clr := $00000001
  22224. else
  22225. pTDefRegMap(@Self)^.&set := $00000001;
  22226. end;
  22227. function TI2C3_I2C3STAT.getTBF : TBits_1; inline;
  22228. begin
  22229. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22230. end;
  22231. procedure TI2C3_I2C3STAT.setRBF; inline;
  22232. begin
  22233. pTDefRegMap(@Self)^.&set := $00000002;
  22234. end;
  22235. procedure TI2C3_I2C3STAT.clearRBF; inline;
  22236. begin
  22237. pTDefRegMap(@Self)^.clr := $00000002;
  22238. end;
  22239. procedure TI2C3_I2C3STAT.setRBF(thebits : TBits_1); inline;
  22240. begin
  22241. if thebits = 0 then
  22242. pTDefRegMap(@Self)^.clr := $00000002
  22243. else
  22244. pTDefRegMap(@Self)^.&set := $00000002;
  22245. end;
  22246. function TI2C3_I2C3STAT.getRBF : TBits_1; inline;
  22247. begin
  22248. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22249. end;
  22250. procedure TI2C3_I2C3STAT.setR_W; inline;
  22251. begin
  22252. pTDefRegMap(@Self)^.&set := $00000004;
  22253. end;
  22254. procedure TI2C3_I2C3STAT.clearR_W; inline;
  22255. begin
  22256. pTDefRegMap(@Self)^.clr := $00000004;
  22257. end;
  22258. procedure TI2C3_I2C3STAT.setR_W(thebits : TBits_1); inline;
  22259. begin
  22260. if thebits = 0 then
  22261. pTDefRegMap(@Self)^.clr := $00000004
  22262. else
  22263. pTDefRegMap(@Self)^.&set := $00000004;
  22264. end;
  22265. function TI2C3_I2C3STAT.getR_W : TBits_1; inline;
  22266. begin
  22267. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22268. end;
  22269. procedure TI2C3_I2C3STAT.setS; inline;
  22270. begin
  22271. pTDefRegMap(@Self)^.&set := $00000008;
  22272. end;
  22273. procedure TI2C3_I2C3STAT.clearS; inline;
  22274. begin
  22275. pTDefRegMap(@Self)^.clr := $00000008;
  22276. end;
  22277. procedure TI2C3_I2C3STAT.setS(thebits : TBits_1); inline;
  22278. begin
  22279. if thebits = 0 then
  22280. pTDefRegMap(@Self)^.clr := $00000008
  22281. else
  22282. pTDefRegMap(@Self)^.&set := $00000008;
  22283. end;
  22284. function TI2C3_I2C3STAT.getS : TBits_1; inline;
  22285. begin
  22286. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22287. end;
  22288. procedure TI2C3_I2C3STAT.setP; inline;
  22289. begin
  22290. pTDefRegMap(@Self)^.&set := $00000010;
  22291. end;
  22292. procedure TI2C3_I2C3STAT.clearP; inline;
  22293. begin
  22294. pTDefRegMap(@Self)^.clr := $00000010;
  22295. end;
  22296. procedure TI2C3_I2C3STAT.setP(thebits : TBits_1); inline;
  22297. begin
  22298. if thebits = 0 then
  22299. pTDefRegMap(@Self)^.clr := $00000010
  22300. else
  22301. pTDefRegMap(@Self)^.&set := $00000010;
  22302. end;
  22303. function TI2C3_I2C3STAT.getP : TBits_1; inline;
  22304. begin
  22305. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22306. end;
  22307. procedure TI2C3_I2C3STAT.setD_A; inline;
  22308. begin
  22309. pTDefRegMap(@Self)^.&set := $00000020;
  22310. end;
  22311. procedure TI2C3_I2C3STAT.clearD_A; inline;
  22312. begin
  22313. pTDefRegMap(@Self)^.clr := $00000020;
  22314. end;
  22315. procedure TI2C3_I2C3STAT.setD_A(thebits : TBits_1); inline;
  22316. begin
  22317. if thebits = 0 then
  22318. pTDefRegMap(@Self)^.clr := $00000020
  22319. else
  22320. pTDefRegMap(@Self)^.&set := $00000020;
  22321. end;
  22322. function TI2C3_I2C3STAT.getD_A : TBits_1; inline;
  22323. begin
  22324. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22325. end;
  22326. procedure TI2C3_I2C3STAT.setI2COV; inline;
  22327. begin
  22328. pTDefRegMap(@Self)^.&set := $00000040;
  22329. end;
  22330. procedure TI2C3_I2C3STAT.clearI2COV; inline;
  22331. begin
  22332. pTDefRegMap(@Self)^.clr := $00000040;
  22333. end;
  22334. procedure TI2C3_I2C3STAT.setI2COV(thebits : TBits_1); inline;
  22335. begin
  22336. if thebits = 0 then
  22337. pTDefRegMap(@Self)^.clr := $00000040
  22338. else
  22339. pTDefRegMap(@Self)^.&set := $00000040;
  22340. end;
  22341. function TI2C3_I2C3STAT.getI2COV : TBits_1; inline;
  22342. begin
  22343. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22344. end;
  22345. procedure TI2C3_I2C3STAT.setIWCOL; inline;
  22346. begin
  22347. pTDefRegMap(@Self)^.&set := $00000080;
  22348. end;
  22349. procedure TI2C3_I2C3STAT.clearIWCOL; inline;
  22350. begin
  22351. pTDefRegMap(@Self)^.clr := $00000080;
  22352. end;
  22353. procedure TI2C3_I2C3STAT.setIWCOL(thebits : TBits_1); inline;
  22354. begin
  22355. if thebits = 0 then
  22356. pTDefRegMap(@Self)^.clr := $00000080
  22357. else
  22358. pTDefRegMap(@Self)^.&set := $00000080;
  22359. end;
  22360. function TI2C3_I2C3STAT.getIWCOL : TBits_1; inline;
  22361. begin
  22362. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22363. end;
  22364. procedure TI2C3_I2C3STAT.setADD10; inline;
  22365. begin
  22366. pTDefRegMap(@Self)^.&set := $00000100;
  22367. end;
  22368. procedure TI2C3_I2C3STAT.clearADD10; inline;
  22369. begin
  22370. pTDefRegMap(@Self)^.clr := $00000100;
  22371. end;
  22372. procedure TI2C3_I2C3STAT.setADD10(thebits : TBits_1); inline;
  22373. begin
  22374. if thebits = 0 then
  22375. pTDefRegMap(@Self)^.clr := $00000100
  22376. else
  22377. pTDefRegMap(@Self)^.&set := $00000100;
  22378. end;
  22379. function TI2C3_I2C3STAT.getADD10 : TBits_1; inline;
  22380. begin
  22381. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22382. end;
  22383. procedure TI2C3_I2C3STAT.setGCSTAT; inline;
  22384. begin
  22385. pTDefRegMap(@Self)^.&set := $00000200;
  22386. end;
  22387. procedure TI2C3_I2C3STAT.clearGCSTAT; inline;
  22388. begin
  22389. pTDefRegMap(@Self)^.clr := $00000200;
  22390. end;
  22391. procedure TI2C3_I2C3STAT.setGCSTAT(thebits : TBits_1); inline;
  22392. begin
  22393. if thebits = 0 then
  22394. pTDefRegMap(@Self)^.clr := $00000200
  22395. else
  22396. pTDefRegMap(@Self)^.&set := $00000200;
  22397. end;
  22398. function TI2C3_I2C3STAT.getGCSTAT : TBits_1; inline;
  22399. begin
  22400. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22401. end;
  22402. procedure TI2C3_I2C3STAT.setBCL; inline;
  22403. begin
  22404. pTDefRegMap(@Self)^.&set := $00000400;
  22405. end;
  22406. procedure TI2C3_I2C3STAT.clearBCL; inline;
  22407. begin
  22408. pTDefRegMap(@Self)^.clr := $00000400;
  22409. end;
  22410. procedure TI2C3_I2C3STAT.setBCL(thebits : TBits_1); inline;
  22411. begin
  22412. if thebits = 0 then
  22413. pTDefRegMap(@Self)^.clr := $00000400
  22414. else
  22415. pTDefRegMap(@Self)^.&set := $00000400;
  22416. end;
  22417. function TI2C3_I2C3STAT.getBCL : TBits_1; inline;
  22418. begin
  22419. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22420. end;
  22421. procedure TI2C3_I2C3STAT.setTRSTAT; inline;
  22422. begin
  22423. pTDefRegMap(@Self)^.&set := $00004000;
  22424. end;
  22425. procedure TI2C3_I2C3STAT.clearTRSTAT; inline;
  22426. begin
  22427. pTDefRegMap(@Self)^.clr := $00004000;
  22428. end;
  22429. procedure TI2C3_I2C3STAT.setTRSTAT(thebits : TBits_1); inline;
  22430. begin
  22431. if thebits = 0 then
  22432. pTDefRegMap(@Self)^.clr := $00004000
  22433. else
  22434. pTDefRegMap(@Self)^.&set := $00004000;
  22435. end;
  22436. function TI2C3_I2C3STAT.getTRSTAT : TBits_1; inline;
  22437. begin
  22438. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22439. end;
  22440. procedure TI2C3_I2C3STAT.setACKSTAT; inline;
  22441. begin
  22442. pTDefRegMap(@Self)^.&set := $00008000;
  22443. end;
  22444. procedure TI2C3_I2C3STAT.clearACKSTAT; inline;
  22445. begin
  22446. pTDefRegMap(@Self)^.clr := $00008000;
  22447. end;
  22448. procedure TI2C3_I2C3STAT.setACKSTAT(thebits : TBits_1); inline;
  22449. begin
  22450. if thebits = 0 then
  22451. pTDefRegMap(@Self)^.clr := $00008000
  22452. else
  22453. pTDefRegMap(@Self)^.&set := $00008000;
  22454. end;
  22455. function TI2C3_I2C3STAT.getACKSTAT : TBits_1; inline;
  22456. begin
  22457. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22458. end;
  22459. procedure TI2C3_I2C3STAT.setI2CPOV; inline;
  22460. begin
  22461. pTDefRegMap(@Self)^.&set := $00000040;
  22462. end;
  22463. procedure TI2C3_I2C3STAT.clearI2CPOV; inline;
  22464. begin
  22465. pTDefRegMap(@Self)^.clr := $00000040;
  22466. end;
  22467. procedure TI2C3_I2C3STAT.setI2CPOV(thebits : TBits_1); inline;
  22468. begin
  22469. if thebits = 0 then
  22470. pTDefRegMap(@Self)^.clr := $00000040
  22471. else
  22472. pTDefRegMap(@Self)^.&set := $00000040;
  22473. end;
  22474. function TI2C3_I2C3STAT.getI2CPOV : TBits_1; inline;
  22475. begin
  22476. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22477. end;
  22478. procedure TI2C3_I2C3STAT.setw(thebits : TBits_32); inline;
  22479. begin
  22480. pTDefRegMap(@Self)^.val := thebits;
  22481. end;
  22482. function TI2C3_I2C3STAT.getw : TBits_32; inline;
  22483. begin
  22484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22485. end;
  22486. procedure TI2C4_I2C2ACON.setSEN; inline;
  22487. begin
  22488. pTDefRegMap(@Self)^.&set := $00000001;
  22489. end;
  22490. procedure TI2C4_I2C2ACON.clearSEN; inline;
  22491. begin
  22492. pTDefRegMap(@Self)^.clr := $00000001;
  22493. end;
  22494. procedure TI2C4_I2C2ACON.setSEN(thebits : TBits_1); inline;
  22495. begin
  22496. if thebits = 0 then
  22497. pTDefRegMap(@Self)^.clr := $00000001
  22498. else
  22499. pTDefRegMap(@Self)^.&set := $00000001;
  22500. end;
  22501. function TI2C4_I2C2ACON.getSEN : TBits_1; inline;
  22502. begin
  22503. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22504. end;
  22505. procedure TI2C4_I2C2ACON.setRSEN; inline;
  22506. begin
  22507. pTDefRegMap(@Self)^.&set := $00000002;
  22508. end;
  22509. procedure TI2C4_I2C2ACON.clearRSEN; inline;
  22510. begin
  22511. pTDefRegMap(@Self)^.clr := $00000002;
  22512. end;
  22513. procedure TI2C4_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  22514. begin
  22515. if thebits = 0 then
  22516. pTDefRegMap(@Self)^.clr := $00000002
  22517. else
  22518. pTDefRegMap(@Self)^.&set := $00000002;
  22519. end;
  22520. function TI2C4_I2C2ACON.getRSEN : TBits_1; inline;
  22521. begin
  22522. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22523. end;
  22524. procedure TI2C4_I2C2ACON.setPEN; inline;
  22525. begin
  22526. pTDefRegMap(@Self)^.&set := $00000004;
  22527. end;
  22528. procedure TI2C4_I2C2ACON.clearPEN; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.clr := $00000004;
  22531. end;
  22532. procedure TI2C4_I2C2ACON.setPEN(thebits : TBits_1); inline;
  22533. begin
  22534. if thebits = 0 then
  22535. pTDefRegMap(@Self)^.clr := $00000004
  22536. else
  22537. pTDefRegMap(@Self)^.&set := $00000004;
  22538. end;
  22539. function TI2C4_I2C2ACON.getPEN : TBits_1; inline;
  22540. begin
  22541. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22542. end;
  22543. procedure TI2C4_I2C2ACON.setRCEN; inline;
  22544. begin
  22545. pTDefRegMap(@Self)^.&set := $00000008;
  22546. end;
  22547. procedure TI2C4_I2C2ACON.clearRCEN; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.clr := $00000008;
  22550. end;
  22551. procedure TI2C4_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  22552. begin
  22553. if thebits = 0 then
  22554. pTDefRegMap(@Self)^.clr := $00000008
  22555. else
  22556. pTDefRegMap(@Self)^.&set := $00000008;
  22557. end;
  22558. function TI2C4_I2C2ACON.getRCEN : TBits_1; inline;
  22559. begin
  22560. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22561. end;
  22562. procedure TI2C4_I2C2ACON.setACKEN; inline;
  22563. begin
  22564. pTDefRegMap(@Self)^.&set := $00000010;
  22565. end;
  22566. procedure TI2C4_I2C2ACON.clearACKEN; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.clr := $00000010;
  22569. end;
  22570. procedure TI2C4_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  22571. begin
  22572. if thebits = 0 then
  22573. pTDefRegMap(@Self)^.clr := $00000010
  22574. else
  22575. pTDefRegMap(@Self)^.&set := $00000010;
  22576. end;
  22577. function TI2C4_I2C2ACON.getACKEN : TBits_1; inline;
  22578. begin
  22579. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22580. end;
  22581. procedure TI2C4_I2C2ACON.setACKDT; inline;
  22582. begin
  22583. pTDefRegMap(@Self)^.&set := $00000020;
  22584. end;
  22585. procedure TI2C4_I2C2ACON.clearACKDT; inline;
  22586. begin
  22587. pTDefRegMap(@Self)^.clr := $00000020;
  22588. end;
  22589. procedure TI2C4_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  22590. begin
  22591. if thebits = 0 then
  22592. pTDefRegMap(@Self)^.clr := $00000020
  22593. else
  22594. pTDefRegMap(@Self)^.&set := $00000020;
  22595. end;
  22596. function TI2C4_I2C2ACON.getACKDT : TBits_1; inline;
  22597. begin
  22598. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22599. end;
  22600. procedure TI2C4_I2C2ACON.setSTREN; inline;
  22601. begin
  22602. pTDefRegMap(@Self)^.&set := $00000040;
  22603. end;
  22604. procedure TI2C4_I2C2ACON.clearSTREN; inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.clr := $00000040;
  22607. end;
  22608. procedure TI2C4_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  22609. begin
  22610. if thebits = 0 then
  22611. pTDefRegMap(@Self)^.clr := $00000040
  22612. else
  22613. pTDefRegMap(@Self)^.&set := $00000040;
  22614. end;
  22615. function TI2C4_I2C2ACON.getSTREN : TBits_1; inline;
  22616. begin
  22617. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22618. end;
  22619. procedure TI2C4_I2C2ACON.setGCEN; inline;
  22620. begin
  22621. pTDefRegMap(@Self)^.&set := $00000080;
  22622. end;
  22623. procedure TI2C4_I2C2ACON.clearGCEN; inline;
  22624. begin
  22625. pTDefRegMap(@Self)^.clr := $00000080;
  22626. end;
  22627. procedure TI2C4_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  22628. begin
  22629. if thebits = 0 then
  22630. pTDefRegMap(@Self)^.clr := $00000080
  22631. else
  22632. pTDefRegMap(@Self)^.&set := $00000080;
  22633. end;
  22634. function TI2C4_I2C2ACON.getGCEN : TBits_1; inline;
  22635. begin
  22636. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22637. end;
  22638. procedure TI2C4_I2C2ACON.setSMEN; inline;
  22639. begin
  22640. pTDefRegMap(@Self)^.&set := $00000100;
  22641. end;
  22642. procedure TI2C4_I2C2ACON.clearSMEN; inline;
  22643. begin
  22644. pTDefRegMap(@Self)^.clr := $00000100;
  22645. end;
  22646. procedure TI2C4_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  22647. begin
  22648. if thebits = 0 then
  22649. pTDefRegMap(@Self)^.clr := $00000100
  22650. else
  22651. pTDefRegMap(@Self)^.&set := $00000100;
  22652. end;
  22653. function TI2C4_I2C2ACON.getSMEN : TBits_1; inline;
  22654. begin
  22655. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22656. end;
  22657. procedure TI2C4_I2C2ACON.setDISSLW; inline;
  22658. begin
  22659. pTDefRegMap(@Self)^.&set := $00000200;
  22660. end;
  22661. procedure TI2C4_I2C2ACON.clearDISSLW; inline;
  22662. begin
  22663. pTDefRegMap(@Self)^.clr := $00000200;
  22664. end;
  22665. procedure TI2C4_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  22666. begin
  22667. if thebits = 0 then
  22668. pTDefRegMap(@Self)^.clr := $00000200
  22669. else
  22670. pTDefRegMap(@Self)^.&set := $00000200;
  22671. end;
  22672. function TI2C4_I2C2ACON.getDISSLW : TBits_1; inline;
  22673. begin
  22674. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22675. end;
  22676. procedure TI2C4_I2C2ACON.setA10M; inline;
  22677. begin
  22678. pTDefRegMap(@Self)^.&set := $00000400;
  22679. end;
  22680. procedure TI2C4_I2C2ACON.clearA10M; inline;
  22681. begin
  22682. pTDefRegMap(@Self)^.clr := $00000400;
  22683. end;
  22684. procedure TI2C4_I2C2ACON.setA10M(thebits : TBits_1); inline;
  22685. begin
  22686. if thebits = 0 then
  22687. pTDefRegMap(@Self)^.clr := $00000400
  22688. else
  22689. pTDefRegMap(@Self)^.&set := $00000400;
  22690. end;
  22691. function TI2C4_I2C2ACON.getA10M : TBits_1; inline;
  22692. begin
  22693. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22694. end;
  22695. procedure TI2C4_I2C2ACON.setSTRICT; inline;
  22696. begin
  22697. pTDefRegMap(@Self)^.&set := $00000800;
  22698. end;
  22699. procedure TI2C4_I2C2ACON.clearSTRICT; inline;
  22700. begin
  22701. pTDefRegMap(@Self)^.clr := $00000800;
  22702. end;
  22703. procedure TI2C4_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  22704. begin
  22705. if thebits = 0 then
  22706. pTDefRegMap(@Self)^.clr := $00000800
  22707. else
  22708. pTDefRegMap(@Self)^.&set := $00000800;
  22709. end;
  22710. function TI2C4_I2C2ACON.getSTRICT : TBits_1; inline;
  22711. begin
  22712. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22713. end;
  22714. procedure TI2C4_I2C2ACON.setSCLREL; inline;
  22715. begin
  22716. pTDefRegMap(@Self)^.&set := $00001000;
  22717. end;
  22718. procedure TI2C4_I2C2ACON.clearSCLREL; inline;
  22719. begin
  22720. pTDefRegMap(@Self)^.clr := $00001000;
  22721. end;
  22722. procedure TI2C4_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  22723. begin
  22724. if thebits = 0 then
  22725. pTDefRegMap(@Self)^.clr := $00001000
  22726. else
  22727. pTDefRegMap(@Self)^.&set := $00001000;
  22728. end;
  22729. function TI2C4_I2C2ACON.getSCLREL : TBits_1; inline;
  22730. begin
  22731. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22732. end;
  22733. procedure TI2C4_I2C2ACON.setSIDL; inline;
  22734. begin
  22735. pTDefRegMap(@Self)^.&set := $00002000;
  22736. end;
  22737. procedure TI2C4_I2C2ACON.clearSIDL; inline;
  22738. begin
  22739. pTDefRegMap(@Self)^.clr := $00002000;
  22740. end;
  22741. procedure TI2C4_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  22742. begin
  22743. if thebits = 0 then
  22744. pTDefRegMap(@Self)^.clr := $00002000
  22745. else
  22746. pTDefRegMap(@Self)^.&set := $00002000;
  22747. end;
  22748. function TI2C4_I2C2ACON.getSIDL : TBits_1; inline;
  22749. begin
  22750. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22751. end;
  22752. procedure TI2C4_I2C2ACON.setON; inline;
  22753. begin
  22754. pTDefRegMap(@Self)^.&set := $00008000;
  22755. end;
  22756. procedure TI2C4_I2C2ACON.clearON; inline;
  22757. begin
  22758. pTDefRegMap(@Self)^.clr := $00008000;
  22759. end;
  22760. procedure TI2C4_I2C2ACON.setON(thebits : TBits_1); inline;
  22761. begin
  22762. if thebits = 0 then
  22763. pTDefRegMap(@Self)^.clr := $00008000
  22764. else
  22765. pTDefRegMap(@Self)^.&set := $00008000;
  22766. end;
  22767. function TI2C4_I2C2ACON.getON : TBits_1; inline;
  22768. begin
  22769. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22770. end;
  22771. procedure TI2C4_I2C2ACON.setIPMIEN; inline;
  22772. begin
  22773. pTDefRegMap(@Self)^.&set := $00000800;
  22774. end;
  22775. procedure TI2C4_I2C2ACON.clearIPMIEN; inline;
  22776. begin
  22777. pTDefRegMap(@Self)^.clr := $00000800;
  22778. end;
  22779. procedure TI2C4_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  22780. begin
  22781. if thebits = 0 then
  22782. pTDefRegMap(@Self)^.clr := $00000800
  22783. else
  22784. pTDefRegMap(@Self)^.&set := $00000800;
  22785. end;
  22786. function TI2C4_I2C2ACON.getIPMIEN : TBits_1; inline;
  22787. begin
  22788. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22789. end;
  22790. procedure TI2C4_I2C2ACON.setI2CSIDL; inline;
  22791. begin
  22792. pTDefRegMap(@Self)^.&set := $00002000;
  22793. end;
  22794. procedure TI2C4_I2C2ACON.clearI2CSIDL; inline;
  22795. begin
  22796. pTDefRegMap(@Self)^.clr := $00002000;
  22797. end;
  22798. procedure TI2C4_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  22799. begin
  22800. if thebits = 0 then
  22801. pTDefRegMap(@Self)^.clr := $00002000
  22802. else
  22803. pTDefRegMap(@Self)^.&set := $00002000;
  22804. end;
  22805. function TI2C4_I2C2ACON.getI2CSIDL : TBits_1; inline;
  22806. begin
  22807. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22808. end;
  22809. procedure TI2C4_I2C2ACON.setI2CEN; inline;
  22810. begin
  22811. pTDefRegMap(@Self)^.&set := $00008000;
  22812. end;
  22813. procedure TI2C4_I2C2ACON.clearI2CEN; inline;
  22814. begin
  22815. pTDefRegMap(@Self)^.clr := $00008000;
  22816. end;
  22817. procedure TI2C4_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  22818. begin
  22819. if thebits = 0 then
  22820. pTDefRegMap(@Self)^.clr := $00008000
  22821. else
  22822. pTDefRegMap(@Self)^.&set := $00008000;
  22823. end;
  22824. function TI2C4_I2C2ACON.getI2CEN : TBits_1; inline;
  22825. begin
  22826. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22827. end;
  22828. procedure TI2C4_I2C2ACON.setw(thebits : TBits_32); inline;
  22829. begin
  22830. pTDefRegMap(@Self)^.val := thebits;
  22831. end;
  22832. function TI2C4_I2C2ACON.getw : TBits_32; inline;
  22833. begin
  22834. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22835. end;
  22836. procedure TI2C4_I2C4CON.setSEN; inline;
  22837. begin
  22838. pTDefRegMap(@Self)^.&set := $00000001;
  22839. end;
  22840. procedure TI2C4_I2C4CON.clearSEN; inline;
  22841. begin
  22842. pTDefRegMap(@Self)^.clr := $00000001;
  22843. end;
  22844. procedure TI2C4_I2C4CON.setSEN(thebits : TBits_1); inline;
  22845. begin
  22846. if thebits = 0 then
  22847. pTDefRegMap(@Self)^.clr := $00000001
  22848. else
  22849. pTDefRegMap(@Self)^.&set := $00000001;
  22850. end;
  22851. function TI2C4_I2C4CON.getSEN : TBits_1; inline;
  22852. begin
  22853. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22854. end;
  22855. procedure TI2C4_I2C4CON.setRSEN; inline;
  22856. begin
  22857. pTDefRegMap(@Self)^.&set := $00000002;
  22858. end;
  22859. procedure TI2C4_I2C4CON.clearRSEN; inline;
  22860. begin
  22861. pTDefRegMap(@Self)^.clr := $00000002;
  22862. end;
  22863. procedure TI2C4_I2C4CON.setRSEN(thebits : TBits_1); inline;
  22864. begin
  22865. if thebits = 0 then
  22866. pTDefRegMap(@Self)^.clr := $00000002
  22867. else
  22868. pTDefRegMap(@Self)^.&set := $00000002;
  22869. end;
  22870. function TI2C4_I2C4CON.getRSEN : TBits_1; inline;
  22871. begin
  22872. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22873. end;
  22874. procedure TI2C4_I2C4CON.setPEN; inline;
  22875. begin
  22876. pTDefRegMap(@Self)^.&set := $00000004;
  22877. end;
  22878. procedure TI2C4_I2C4CON.clearPEN; inline;
  22879. begin
  22880. pTDefRegMap(@Self)^.clr := $00000004;
  22881. end;
  22882. procedure TI2C4_I2C4CON.setPEN(thebits : TBits_1); inline;
  22883. begin
  22884. if thebits = 0 then
  22885. pTDefRegMap(@Self)^.clr := $00000004
  22886. else
  22887. pTDefRegMap(@Self)^.&set := $00000004;
  22888. end;
  22889. function TI2C4_I2C4CON.getPEN : TBits_1; inline;
  22890. begin
  22891. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22892. end;
  22893. procedure TI2C4_I2C4CON.setRCEN; inline;
  22894. begin
  22895. pTDefRegMap(@Self)^.&set := $00000008;
  22896. end;
  22897. procedure TI2C4_I2C4CON.clearRCEN; inline;
  22898. begin
  22899. pTDefRegMap(@Self)^.clr := $00000008;
  22900. end;
  22901. procedure TI2C4_I2C4CON.setRCEN(thebits : TBits_1); inline;
  22902. begin
  22903. if thebits = 0 then
  22904. pTDefRegMap(@Self)^.clr := $00000008
  22905. else
  22906. pTDefRegMap(@Self)^.&set := $00000008;
  22907. end;
  22908. function TI2C4_I2C4CON.getRCEN : TBits_1; inline;
  22909. begin
  22910. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22911. end;
  22912. procedure TI2C4_I2C4CON.setACKEN; inline;
  22913. begin
  22914. pTDefRegMap(@Self)^.&set := $00000010;
  22915. end;
  22916. procedure TI2C4_I2C4CON.clearACKEN; inline;
  22917. begin
  22918. pTDefRegMap(@Self)^.clr := $00000010;
  22919. end;
  22920. procedure TI2C4_I2C4CON.setACKEN(thebits : TBits_1); inline;
  22921. begin
  22922. if thebits = 0 then
  22923. pTDefRegMap(@Self)^.clr := $00000010
  22924. else
  22925. pTDefRegMap(@Self)^.&set := $00000010;
  22926. end;
  22927. function TI2C4_I2C4CON.getACKEN : TBits_1; inline;
  22928. begin
  22929. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22930. end;
  22931. procedure TI2C4_I2C4CON.setACKDT; inline;
  22932. begin
  22933. pTDefRegMap(@Self)^.&set := $00000020;
  22934. end;
  22935. procedure TI2C4_I2C4CON.clearACKDT; inline;
  22936. begin
  22937. pTDefRegMap(@Self)^.clr := $00000020;
  22938. end;
  22939. procedure TI2C4_I2C4CON.setACKDT(thebits : TBits_1); inline;
  22940. begin
  22941. if thebits = 0 then
  22942. pTDefRegMap(@Self)^.clr := $00000020
  22943. else
  22944. pTDefRegMap(@Self)^.&set := $00000020;
  22945. end;
  22946. function TI2C4_I2C4CON.getACKDT : TBits_1; inline;
  22947. begin
  22948. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22949. end;
  22950. procedure TI2C4_I2C4CON.setSTREN; inline;
  22951. begin
  22952. pTDefRegMap(@Self)^.&set := $00000040;
  22953. end;
  22954. procedure TI2C4_I2C4CON.clearSTREN; inline;
  22955. begin
  22956. pTDefRegMap(@Self)^.clr := $00000040;
  22957. end;
  22958. procedure TI2C4_I2C4CON.setSTREN(thebits : TBits_1); inline;
  22959. begin
  22960. if thebits = 0 then
  22961. pTDefRegMap(@Self)^.clr := $00000040
  22962. else
  22963. pTDefRegMap(@Self)^.&set := $00000040;
  22964. end;
  22965. function TI2C4_I2C4CON.getSTREN : TBits_1; inline;
  22966. begin
  22967. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22968. end;
  22969. procedure TI2C4_I2C4CON.setGCEN; inline;
  22970. begin
  22971. pTDefRegMap(@Self)^.&set := $00000080;
  22972. end;
  22973. procedure TI2C4_I2C4CON.clearGCEN; inline;
  22974. begin
  22975. pTDefRegMap(@Self)^.clr := $00000080;
  22976. end;
  22977. procedure TI2C4_I2C4CON.setGCEN(thebits : TBits_1); inline;
  22978. begin
  22979. if thebits = 0 then
  22980. pTDefRegMap(@Self)^.clr := $00000080
  22981. else
  22982. pTDefRegMap(@Self)^.&set := $00000080;
  22983. end;
  22984. function TI2C4_I2C4CON.getGCEN : TBits_1; inline;
  22985. begin
  22986. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22987. end;
  22988. procedure TI2C4_I2C4CON.setSMEN; inline;
  22989. begin
  22990. pTDefRegMap(@Self)^.&set := $00000100;
  22991. end;
  22992. procedure TI2C4_I2C4CON.clearSMEN; inline;
  22993. begin
  22994. pTDefRegMap(@Self)^.clr := $00000100;
  22995. end;
  22996. procedure TI2C4_I2C4CON.setSMEN(thebits : TBits_1); inline;
  22997. begin
  22998. if thebits = 0 then
  22999. pTDefRegMap(@Self)^.clr := $00000100
  23000. else
  23001. pTDefRegMap(@Self)^.&set := $00000100;
  23002. end;
  23003. function TI2C4_I2C4CON.getSMEN : TBits_1; inline;
  23004. begin
  23005. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23006. end;
  23007. procedure TI2C4_I2C4CON.setDISSLW; inline;
  23008. begin
  23009. pTDefRegMap(@Self)^.&set := $00000200;
  23010. end;
  23011. procedure TI2C4_I2C4CON.clearDISSLW; inline;
  23012. begin
  23013. pTDefRegMap(@Self)^.clr := $00000200;
  23014. end;
  23015. procedure TI2C4_I2C4CON.setDISSLW(thebits : TBits_1); inline;
  23016. begin
  23017. if thebits = 0 then
  23018. pTDefRegMap(@Self)^.clr := $00000200
  23019. else
  23020. pTDefRegMap(@Self)^.&set := $00000200;
  23021. end;
  23022. function TI2C4_I2C4CON.getDISSLW : TBits_1; inline;
  23023. begin
  23024. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23025. end;
  23026. procedure TI2C4_I2C4CON.setA10M; inline;
  23027. begin
  23028. pTDefRegMap(@Self)^.&set := $00000400;
  23029. end;
  23030. procedure TI2C4_I2C4CON.clearA10M; inline;
  23031. begin
  23032. pTDefRegMap(@Self)^.clr := $00000400;
  23033. end;
  23034. procedure TI2C4_I2C4CON.setA10M(thebits : TBits_1); inline;
  23035. begin
  23036. if thebits = 0 then
  23037. pTDefRegMap(@Self)^.clr := $00000400
  23038. else
  23039. pTDefRegMap(@Self)^.&set := $00000400;
  23040. end;
  23041. function TI2C4_I2C4CON.getA10M : TBits_1; inline;
  23042. begin
  23043. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23044. end;
  23045. procedure TI2C4_I2C4CON.setSTRICT; inline;
  23046. begin
  23047. pTDefRegMap(@Self)^.&set := $00000800;
  23048. end;
  23049. procedure TI2C4_I2C4CON.clearSTRICT; inline;
  23050. begin
  23051. pTDefRegMap(@Self)^.clr := $00000800;
  23052. end;
  23053. procedure TI2C4_I2C4CON.setSTRICT(thebits : TBits_1); inline;
  23054. begin
  23055. if thebits = 0 then
  23056. pTDefRegMap(@Self)^.clr := $00000800
  23057. else
  23058. pTDefRegMap(@Self)^.&set := $00000800;
  23059. end;
  23060. function TI2C4_I2C4CON.getSTRICT : TBits_1; inline;
  23061. begin
  23062. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23063. end;
  23064. procedure TI2C4_I2C4CON.setSCLREL; inline;
  23065. begin
  23066. pTDefRegMap(@Self)^.&set := $00001000;
  23067. end;
  23068. procedure TI2C4_I2C4CON.clearSCLREL; inline;
  23069. begin
  23070. pTDefRegMap(@Self)^.clr := $00001000;
  23071. end;
  23072. procedure TI2C4_I2C4CON.setSCLREL(thebits : TBits_1); inline;
  23073. begin
  23074. if thebits = 0 then
  23075. pTDefRegMap(@Self)^.clr := $00001000
  23076. else
  23077. pTDefRegMap(@Self)^.&set := $00001000;
  23078. end;
  23079. function TI2C4_I2C4CON.getSCLREL : TBits_1; inline;
  23080. begin
  23081. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23082. end;
  23083. procedure TI2C4_I2C4CON.setSIDL; inline;
  23084. begin
  23085. pTDefRegMap(@Self)^.&set := $00002000;
  23086. end;
  23087. procedure TI2C4_I2C4CON.clearSIDL; inline;
  23088. begin
  23089. pTDefRegMap(@Self)^.clr := $00002000;
  23090. end;
  23091. procedure TI2C4_I2C4CON.setSIDL(thebits : TBits_1); inline;
  23092. begin
  23093. if thebits = 0 then
  23094. pTDefRegMap(@Self)^.clr := $00002000
  23095. else
  23096. pTDefRegMap(@Self)^.&set := $00002000;
  23097. end;
  23098. function TI2C4_I2C4CON.getSIDL : TBits_1; inline;
  23099. begin
  23100. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23101. end;
  23102. procedure TI2C4_I2C4CON.setON; inline;
  23103. begin
  23104. pTDefRegMap(@Self)^.&set := $00008000;
  23105. end;
  23106. procedure TI2C4_I2C4CON.clearON; inline;
  23107. begin
  23108. pTDefRegMap(@Self)^.clr := $00008000;
  23109. end;
  23110. procedure TI2C4_I2C4CON.setON(thebits : TBits_1); inline;
  23111. begin
  23112. if thebits = 0 then
  23113. pTDefRegMap(@Self)^.clr := $00008000
  23114. else
  23115. pTDefRegMap(@Self)^.&set := $00008000;
  23116. end;
  23117. function TI2C4_I2C4CON.getON : TBits_1; inline;
  23118. begin
  23119. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23120. end;
  23121. procedure TI2C4_I2C4CON.setIPMIEN; inline;
  23122. begin
  23123. pTDefRegMap(@Self)^.&set := $00000800;
  23124. end;
  23125. procedure TI2C4_I2C4CON.clearIPMIEN; inline;
  23126. begin
  23127. pTDefRegMap(@Self)^.clr := $00000800;
  23128. end;
  23129. procedure TI2C4_I2C4CON.setIPMIEN(thebits : TBits_1); inline;
  23130. begin
  23131. if thebits = 0 then
  23132. pTDefRegMap(@Self)^.clr := $00000800
  23133. else
  23134. pTDefRegMap(@Self)^.&set := $00000800;
  23135. end;
  23136. function TI2C4_I2C4CON.getIPMIEN : TBits_1; inline;
  23137. begin
  23138. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23139. end;
  23140. procedure TI2C4_I2C4CON.setI2CSIDL; inline;
  23141. begin
  23142. pTDefRegMap(@Self)^.&set := $00002000;
  23143. end;
  23144. procedure TI2C4_I2C4CON.clearI2CSIDL; inline;
  23145. begin
  23146. pTDefRegMap(@Self)^.clr := $00002000;
  23147. end;
  23148. procedure TI2C4_I2C4CON.setI2CSIDL(thebits : TBits_1); inline;
  23149. begin
  23150. if thebits = 0 then
  23151. pTDefRegMap(@Self)^.clr := $00002000
  23152. else
  23153. pTDefRegMap(@Self)^.&set := $00002000;
  23154. end;
  23155. function TI2C4_I2C4CON.getI2CSIDL : TBits_1; inline;
  23156. begin
  23157. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23158. end;
  23159. procedure TI2C4_I2C4CON.setI2CEN; inline;
  23160. begin
  23161. pTDefRegMap(@Self)^.&set := $00008000;
  23162. end;
  23163. procedure TI2C4_I2C4CON.clearI2CEN; inline;
  23164. begin
  23165. pTDefRegMap(@Self)^.clr := $00008000;
  23166. end;
  23167. procedure TI2C4_I2C4CON.setI2CEN(thebits : TBits_1); inline;
  23168. begin
  23169. if thebits = 0 then
  23170. pTDefRegMap(@Self)^.clr := $00008000
  23171. else
  23172. pTDefRegMap(@Self)^.&set := $00008000;
  23173. end;
  23174. function TI2C4_I2C4CON.getI2CEN : TBits_1; inline;
  23175. begin
  23176. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23177. end;
  23178. procedure TI2C4_I2C4CON.setw(thebits : TBits_32); inline;
  23179. begin
  23180. pTDefRegMap(@Self)^.val := thebits;
  23181. end;
  23182. function TI2C4_I2C4CON.getw : TBits_32; inline;
  23183. begin
  23184. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23185. end;
  23186. procedure TI2C4_I2C2ASTAT.setTBF; inline;
  23187. begin
  23188. pTDefRegMap(@Self)^.&set := $00000001;
  23189. end;
  23190. procedure TI2C4_I2C2ASTAT.clearTBF; inline;
  23191. begin
  23192. pTDefRegMap(@Self)^.clr := $00000001;
  23193. end;
  23194. procedure TI2C4_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  23195. begin
  23196. if thebits = 0 then
  23197. pTDefRegMap(@Self)^.clr := $00000001
  23198. else
  23199. pTDefRegMap(@Self)^.&set := $00000001;
  23200. end;
  23201. function TI2C4_I2C2ASTAT.getTBF : TBits_1; inline;
  23202. begin
  23203. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23204. end;
  23205. procedure TI2C4_I2C2ASTAT.setRBF; inline;
  23206. begin
  23207. pTDefRegMap(@Self)^.&set := $00000002;
  23208. end;
  23209. procedure TI2C4_I2C2ASTAT.clearRBF; inline;
  23210. begin
  23211. pTDefRegMap(@Self)^.clr := $00000002;
  23212. end;
  23213. procedure TI2C4_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  23214. begin
  23215. if thebits = 0 then
  23216. pTDefRegMap(@Self)^.clr := $00000002
  23217. else
  23218. pTDefRegMap(@Self)^.&set := $00000002;
  23219. end;
  23220. function TI2C4_I2C2ASTAT.getRBF : TBits_1; inline;
  23221. begin
  23222. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23223. end;
  23224. procedure TI2C4_I2C2ASTAT.setR_W; inline;
  23225. begin
  23226. pTDefRegMap(@Self)^.&set := $00000004;
  23227. end;
  23228. procedure TI2C4_I2C2ASTAT.clearR_W; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.clr := $00000004;
  23231. end;
  23232. procedure TI2C4_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  23233. begin
  23234. if thebits = 0 then
  23235. pTDefRegMap(@Self)^.clr := $00000004
  23236. else
  23237. pTDefRegMap(@Self)^.&set := $00000004;
  23238. end;
  23239. function TI2C4_I2C2ASTAT.getR_W : TBits_1; inline;
  23240. begin
  23241. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23242. end;
  23243. procedure TI2C4_I2C2ASTAT.setS; inline;
  23244. begin
  23245. pTDefRegMap(@Self)^.&set := $00000008;
  23246. end;
  23247. procedure TI2C4_I2C2ASTAT.clearS; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.clr := $00000008;
  23250. end;
  23251. procedure TI2C4_I2C2ASTAT.setS(thebits : TBits_1); inline;
  23252. begin
  23253. if thebits = 0 then
  23254. pTDefRegMap(@Self)^.clr := $00000008
  23255. else
  23256. pTDefRegMap(@Self)^.&set := $00000008;
  23257. end;
  23258. function TI2C4_I2C2ASTAT.getS : TBits_1; inline;
  23259. begin
  23260. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23261. end;
  23262. procedure TI2C4_I2C2ASTAT.setP; inline;
  23263. begin
  23264. pTDefRegMap(@Self)^.&set := $00000010;
  23265. end;
  23266. procedure TI2C4_I2C2ASTAT.clearP; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.clr := $00000010;
  23269. end;
  23270. procedure TI2C4_I2C2ASTAT.setP(thebits : TBits_1); inline;
  23271. begin
  23272. if thebits = 0 then
  23273. pTDefRegMap(@Self)^.clr := $00000010
  23274. else
  23275. pTDefRegMap(@Self)^.&set := $00000010;
  23276. end;
  23277. function TI2C4_I2C2ASTAT.getP : TBits_1; inline;
  23278. begin
  23279. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23280. end;
  23281. procedure TI2C4_I2C2ASTAT.setD_A; inline;
  23282. begin
  23283. pTDefRegMap(@Self)^.&set := $00000020;
  23284. end;
  23285. procedure TI2C4_I2C2ASTAT.clearD_A; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.clr := $00000020;
  23288. end;
  23289. procedure TI2C4_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  23290. begin
  23291. if thebits = 0 then
  23292. pTDefRegMap(@Self)^.clr := $00000020
  23293. else
  23294. pTDefRegMap(@Self)^.&set := $00000020;
  23295. end;
  23296. function TI2C4_I2C2ASTAT.getD_A : TBits_1; inline;
  23297. begin
  23298. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23299. end;
  23300. procedure TI2C4_I2C2ASTAT.setI2COV; inline;
  23301. begin
  23302. pTDefRegMap(@Self)^.&set := $00000040;
  23303. end;
  23304. procedure TI2C4_I2C2ASTAT.clearI2COV; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.clr := $00000040;
  23307. end;
  23308. procedure TI2C4_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  23309. begin
  23310. if thebits = 0 then
  23311. pTDefRegMap(@Self)^.clr := $00000040
  23312. else
  23313. pTDefRegMap(@Self)^.&set := $00000040;
  23314. end;
  23315. function TI2C4_I2C2ASTAT.getI2COV : TBits_1; inline;
  23316. begin
  23317. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23318. end;
  23319. procedure TI2C4_I2C2ASTAT.setIWCOL; inline;
  23320. begin
  23321. pTDefRegMap(@Self)^.&set := $00000080;
  23322. end;
  23323. procedure TI2C4_I2C2ASTAT.clearIWCOL; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.clr := $00000080;
  23326. end;
  23327. procedure TI2C4_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  23328. begin
  23329. if thebits = 0 then
  23330. pTDefRegMap(@Self)^.clr := $00000080
  23331. else
  23332. pTDefRegMap(@Self)^.&set := $00000080;
  23333. end;
  23334. function TI2C4_I2C2ASTAT.getIWCOL : TBits_1; inline;
  23335. begin
  23336. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23337. end;
  23338. procedure TI2C4_I2C2ASTAT.setADD10; inline;
  23339. begin
  23340. pTDefRegMap(@Self)^.&set := $00000100;
  23341. end;
  23342. procedure TI2C4_I2C2ASTAT.clearADD10; inline;
  23343. begin
  23344. pTDefRegMap(@Self)^.clr := $00000100;
  23345. end;
  23346. procedure TI2C4_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  23347. begin
  23348. if thebits = 0 then
  23349. pTDefRegMap(@Self)^.clr := $00000100
  23350. else
  23351. pTDefRegMap(@Self)^.&set := $00000100;
  23352. end;
  23353. function TI2C4_I2C2ASTAT.getADD10 : TBits_1; inline;
  23354. begin
  23355. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23356. end;
  23357. procedure TI2C4_I2C2ASTAT.setGCSTAT; inline;
  23358. begin
  23359. pTDefRegMap(@Self)^.&set := $00000200;
  23360. end;
  23361. procedure TI2C4_I2C2ASTAT.clearGCSTAT; inline;
  23362. begin
  23363. pTDefRegMap(@Self)^.clr := $00000200;
  23364. end;
  23365. procedure TI2C4_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  23366. begin
  23367. if thebits = 0 then
  23368. pTDefRegMap(@Self)^.clr := $00000200
  23369. else
  23370. pTDefRegMap(@Self)^.&set := $00000200;
  23371. end;
  23372. function TI2C4_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  23373. begin
  23374. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23375. end;
  23376. procedure TI2C4_I2C2ASTAT.setBCL; inline;
  23377. begin
  23378. pTDefRegMap(@Self)^.&set := $00000400;
  23379. end;
  23380. procedure TI2C4_I2C2ASTAT.clearBCL; inline;
  23381. begin
  23382. pTDefRegMap(@Self)^.clr := $00000400;
  23383. end;
  23384. procedure TI2C4_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  23385. begin
  23386. if thebits = 0 then
  23387. pTDefRegMap(@Self)^.clr := $00000400
  23388. else
  23389. pTDefRegMap(@Self)^.&set := $00000400;
  23390. end;
  23391. function TI2C4_I2C2ASTAT.getBCL : TBits_1; inline;
  23392. begin
  23393. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23394. end;
  23395. procedure TI2C4_I2C2ASTAT.setTRSTAT; inline;
  23396. begin
  23397. pTDefRegMap(@Self)^.&set := $00004000;
  23398. end;
  23399. procedure TI2C4_I2C2ASTAT.clearTRSTAT; inline;
  23400. begin
  23401. pTDefRegMap(@Self)^.clr := $00004000;
  23402. end;
  23403. procedure TI2C4_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  23404. begin
  23405. if thebits = 0 then
  23406. pTDefRegMap(@Self)^.clr := $00004000
  23407. else
  23408. pTDefRegMap(@Self)^.&set := $00004000;
  23409. end;
  23410. function TI2C4_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  23411. begin
  23412. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23413. end;
  23414. procedure TI2C4_I2C2ASTAT.setACKSTAT; inline;
  23415. begin
  23416. pTDefRegMap(@Self)^.&set := $00008000;
  23417. end;
  23418. procedure TI2C4_I2C2ASTAT.clearACKSTAT; inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.clr := $00008000;
  23421. end;
  23422. procedure TI2C4_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  23423. begin
  23424. if thebits = 0 then
  23425. pTDefRegMap(@Self)^.clr := $00008000
  23426. else
  23427. pTDefRegMap(@Self)^.&set := $00008000;
  23428. end;
  23429. function TI2C4_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  23430. begin
  23431. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23432. end;
  23433. procedure TI2C4_I2C2ASTAT.setI2CPOV; inline;
  23434. begin
  23435. pTDefRegMap(@Self)^.&set := $00000040;
  23436. end;
  23437. procedure TI2C4_I2C2ASTAT.clearI2CPOV; inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.clr := $00000040;
  23440. end;
  23441. procedure TI2C4_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  23442. begin
  23443. if thebits = 0 then
  23444. pTDefRegMap(@Self)^.clr := $00000040
  23445. else
  23446. pTDefRegMap(@Self)^.&set := $00000040;
  23447. end;
  23448. function TI2C4_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  23449. begin
  23450. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23451. end;
  23452. procedure TI2C4_I2C2ASTAT.setw(thebits : TBits_32); inline;
  23453. begin
  23454. pTDefRegMap(@Self)^.val := thebits;
  23455. end;
  23456. function TI2C4_I2C2ASTAT.getw : TBits_32; inline;
  23457. begin
  23458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23459. end;
  23460. procedure TI2C4_I2C4STAT.setTBF; inline;
  23461. begin
  23462. pTDefRegMap(@Self)^.&set := $00000001;
  23463. end;
  23464. procedure TI2C4_I2C4STAT.clearTBF; inline;
  23465. begin
  23466. pTDefRegMap(@Self)^.clr := $00000001;
  23467. end;
  23468. procedure TI2C4_I2C4STAT.setTBF(thebits : TBits_1); inline;
  23469. begin
  23470. if thebits = 0 then
  23471. pTDefRegMap(@Self)^.clr := $00000001
  23472. else
  23473. pTDefRegMap(@Self)^.&set := $00000001;
  23474. end;
  23475. function TI2C4_I2C4STAT.getTBF : TBits_1; inline;
  23476. begin
  23477. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23478. end;
  23479. procedure TI2C4_I2C4STAT.setRBF; inline;
  23480. begin
  23481. pTDefRegMap(@Self)^.&set := $00000002;
  23482. end;
  23483. procedure TI2C4_I2C4STAT.clearRBF; inline;
  23484. begin
  23485. pTDefRegMap(@Self)^.clr := $00000002;
  23486. end;
  23487. procedure TI2C4_I2C4STAT.setRBF(thebits : TBits_1); inline;
  23488. begin
  23489. if thebits = 0 then
  23490. pTDefRegMap(@Self)^.clr := $00000002
  23491. else
  23492. pTDefRegMap(@Self)^.&set := $00000002;
  23493. end;
  23494. function TI2C4_I2C4STAT.getRBF : TBits_1; inline;
  23495. begin
  23496. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23497. end;
  23498. procedure TI2C4_I2C4STAT.setR_W; inline;
  23499. begin
  23500. pTDefRegMap(@Self)^.&set := $00000004;
  23501. end;
  23502. procedure TI2C4_I2C4STAT.clearR_W; inline;
  23503. begin
  23504. pTDefRegMap(@Self)^.clr := $00000004;
  23505. end;
  23506. procedure TI2C4_I2C4STAT.setR_W(thebits : TBits_1); inline;
  23507. begin
  23508. if thebits = 0 then
  23509. pTDefRegMap(@Self)^.clr := $00000004
  23510. else
  23511. pTDefRegMap(@Self)^.&set := $00000004;
  23512. end;
  23513. function TI2C4_I2C4STAT.getR_W : TBits_1; inline;
  23514. begin
  23515. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23516. end;
  23517. procedure TI2C4_I2C4STAT.setS; inline;
  23518. begin
  23519. pTDefRegMap(@Self)^.&set := $00000008;
  23520. end;
  23521. procedure TI2C4_I2C4STAT.clearS; inline;
  23522. begin
  23523. pTDefRegMap(@Self)^.clr := $00000008;
  23524. end;
  23525. procedure TI2C4_I2C4STAT.setS(thebits : TBits_1); inline;
  23526. begin
  23527. if thebits = 0 then
  23528. pTDefRegMap(@Self)^.clr := $00000008
  23529. else
  23530. pTDefRegMap(@Self)^.&set := $00000008;
  23531. end;
  23532. function TI2C4_I2C4STAT.getS : TBits_1; inline;
  23533. begin
  23534. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23535. end;
  23536. procedure TI2C4_I2C4STAT.setP; inline;
  23537. begin
  23538. pTDefRegMap(@Self)^.&set := $00000010;
  23539. end;
  23540. procedure TI2C4_I2C4STAT.clearP; inline;
  23541. begin
  23542. pTDefRegMap(@Self)^.clr := $00000010;
  23543. end;
  23544. procedure TI2C4_I2C4STAT.setP(thebits : TBits_1); inline;
  23545. begin
  23546. if thebits = 0 then
  23547. pTDefRegMap(@Self)^.clr := $00000010
  23548. else
  23549. pTDefRegMap(@Self)^.&set := $00000010;
  23550. end;
  23551. function TI2C4_I2C4STAT.getP : TBits_1; inline;
  23552. begin
  23553. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23554. end;
  23555. procedure TI2C4_I2C4STAT.setD_A; inline;
  23556. begin
  23557. pTDefRegMap(@Self)^.&set := $00000020;
  23558. end;
  23559. procedure TI2C4_I2C4STAT.clearD_A; inline;
  23560. begin
  23561. pTDefRegMap(@Self)^.clr := $00000020;
  23562. end;
  23563. procedure TI2C4_I2C4STAT.setD_A(thebits : TBits_1); inline;
  23564. begin
  23565. if thebits = 0 then
  23566. pTDefRegMap(@Self)^.clr := $00000020
  23567. else
  23568. pTDefRegMap(@Self)^.&set := $00000020;
  23569. end;
  23570. function TI2C4_I2C4STAT.getD_A : TBits_1; inline;
  23571. begin
  23572. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23573. end;
  23574. procedure TI2C4_I2C4STAT.setI2COV; inline;
  23575. begin
  23576. pTDefRegMap(@Self)^.&set := $00000040;
  23577. end;
  23578. procedure TI2C4_I2C4STAT.clearI2COV; inline;
  23579. begin
  23580. pTDefRegMap(@Self)^.clr := $00000040;
  23581. end;
  23582. procedure TI2C4_I2C4STAT.setI2COV(thebits : TBits_1); inline;
  23583. begin
  23584. if thebits = 0 then
  23585. pTDefRegMap(@Self)^.clr := $00000040
  23586. else
  23587. pTDefRegMap(@Self)^.&set := $00000040;
  23588. end;
  23589. function TI2C4_I2C4STAT.getI2COV : TBits_1; inline;
  23590. begin
  23591. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23592. end;
  23593. procedure TI2C4_I2C4STAT.setIWCOL; inline;
  23594. begin
  23595. pTDefRegMap(@Self)^.&set := $00000080;
  23596. end;
  23597. procedure TI2C4_I2C4STAT.clearIWCOL; inline;
  23598. begin
  23599. pTDefRegMap(@Self)^.clr := $00000080;
  23600. end;
  23601. procedure TI2C4_I2C4STAT.setIWCOL(thebits : TBits_1); inline;
  23602. begin
  23603. if thebits = 0 then
  23604. pTDefRegMap(@Self)^.clr := $00000080
  23605. else
  23606. pTDefRegMap(@Self)^.&set := $00000080;
  23607. end;
  23608. function TI2C4_I2C4STAT.getIWCOL : TBits_1; inline;
  23609. begin
  23610. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23611. end;
  23612. procedure TI2C4_I2C4STAT.setADD10; inline;
  23613. begin
  23614. pTDefRegMap(@Self)^.&set := $00000100;
  23615. end;
  23616. procedure TI2C4_I2C4STAT.clearADD10; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.clr := $00000100;
  23619. end;
  23620. procedure TI2C4_I2C4STAT.setADD10(thebits : TBits_1); inline;
  23621. begin
  23622. if thebits = 0 then
  23623. pTDefRegMap(@Self)^.clr := $00000100
  23624. else
  23625. pTDefRegMap(@Self)^.&set := $00000100;
  23626. end;
  23627. function TI2C4_I2C4STAT.getADD10 : TBits_1; inline;
  23628. begin
  23629. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23630. end;
  23631. procedure TI2C4_I2C4STAT.setGCSTAT; inline;
  23632. begin
  23633. pTDefRegMap(@Self)^.&set := $00000200;
  23634. end;
  23635. procedure TI2C4_I2C4STAT.clearGCSTAT; inline;
  23636. begin
  23637. pTDefRegMap(@Self)^.clr := $00000200;
  23638. end;
  23639. procedure TI2C4_I2C4STAT.setGCSTAT(thebits : TBits_1); inline;
  23640. begin
  23641. if thebits = 0 then
  23642. pTDefRegMap(@Self)^.clr := $00000200
  23643. else
  23644. pTDefRegMap(@Self)^.&set := $00000200;
  23645. end;
  23646. function TI2C4_I2C4STAT.getGCSTAT : TBits_1; inline;
  23647. begin
  23648. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23649. end;
  23650. procedure TI2C4_I2C4STAT.setBCL; inline;
  23651. begin
  23652. pTDefRegMap(@Self)^.&set := $00000400;
  23653. end;
  23654. procedure TI2C4_I2C4STAT.clearBCL; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.clr := $00000400;
  23657. end;
  23658. procedure TI2C4_I2C4STAT.setBCL(thebits : TBits_1); inline;
  23659. begin
  23660. if thebits = 0 then
  23661. pTDefRegMap(@Self)^.clr := $00000400
  23662. else
  23663. pTDefRegMap(@Self)^.&set := $00000400;
  23664. end;
  23665. function TI2C4_I2C4STAT.getBCL : TBits_1; inline;
  23666. begin
  23667. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23668. end;
  23669. procedure TI2C4_I2C4STAT.setTRSTAT; inline;
  23670. begin
  23671. pTDefRegMap(@Self)^.&set := $00004000;
  23672. end;
  23673. procedure TI2C4_I2C4STAT.clearTRSTAT; inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.clr := $00004000;
  23676. end;
  23677. procedure TI2C4_I2C4STAT.setTRSTAT(thebits : TBits_1); inline;
  23678. begin
  23679. if thebits = 0 then
  23680. pTDefRegMap(@Self)^.clr := $00004000
  23681. else
  23682. pTDefRegMap(@Self)^.&set := $00004000;
  23683. end;
  23684. function TI2C4_I2C4STAT.getTRSTAT : TBits_1; inline;
  23685. begin
  23686. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23687. end;
  23688. procedure TI2C4_I2C4STAT.setACKSTAT; inline;
  23689. begin
  23690. pTDefRegMap(@Self)^.&set := $00008000;
  23691. end;
  23692. procedure TI2C4_I2C4STAT.clearACKSTAT; inline;
  23693. begin
  23694. pTDefRegMap(@Self)^.clr := $00008000;
  23695. end;
  23696. procedure TI2C4_I2C4STAT.setACKSTAT(thebits : TBits_1); inline;
  23697. begin
  23698. if thebits = 0 then
  23699. pTDefRegMap(@Self)^.clr := $00008000
  23700. else
  23701. pTDefRegMap(@Self)^.&set := $00008000;
  23702. end;
  23703. function TI2C4_I2C4STAT.getACKSTAT : TBits_1; inline;
  23704. begin
  23705. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23706. end;
  23707. procedure TI2C4_I2C4STAT.setI2CPOV; inline;
  23708. begin
  23709. pTDefRegMap(@Self)^.&set := $00000040;
  23710. end;
  23711. procedure TI2C4_I2C4STAT.clearI2CPOV; inline;
  23712. begin
  23713. pTDefRegMap(@Self)^.clr := $00000040;
  23714. end;
  23715. procedure TI2C4_I2C4STAT.setI2CPOV(thebits : TBits_1); inline;
  23716. begin
  23717. if thebits = 0 then
  23718. pTDefRegMap(@Self)^.clr := $00000040
  23719. else
  23720. pTDefRegMap(@Self)^.&set := $00000040;
  23721. end;
  23722. function TI2C4_I2C4STAT.getI2CPOV : TBits_1; inline;
  23723. begin
  23724. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23725. end;
  23726. procedure TI2C4_I2C4STAT.setw(thebits : TBits_32); inline;
  23727. begin
  23728. pTDefRegMap(@Self)^.val := thebits;
  23729. end;
  23730. function TI2C4_I2C4STAT.getw : TBits_32; inline;
  23731. begin
  23732. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23733. end;
  23734. procedure TI2C5_I2C3ACON.setSEN; inline;
  23735. begin
  23736. pTDefRegMap(@Self)^.&set := $00000001;
  23737. end;
  23738. procedure TI2C5_I2C3ACON.clearSEN; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.clr := $00000001;
  23741. end;
  23742. procedure TI2C5_I2C3ACON.setSEN(thebits : TBits_1); inline;
  23743. begin
  23744. if thebits = 0 then
  23745. pTDefRegMap(@Self)^.clr := $00000001
  23746. else
  23747. pTDefRegMap(@Self)^.&set := $00000001;
  23748. end;
  23749. function TI2C5_I2C3ACON.getSEN : TBits_1; inline;
  23750. begin
  23751. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23752. end;
  23753. procedure TI2C5_I2C3ACON.setRSEN; inline;
  23754. begin
  23755. pTDefRegMap(@Self)^.&set := $00000002;
  23756. end;
  23757. procedure TI2C5_I2C3ACON.clearRSEN; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.clr := $00000002;
  23760. end;
  23761. procedure TI2C5_I2C3ACON.setRSEN(thebits : TBits_1); inline;
  23762. begin
  23763. if thebits = 0 then
  23764. pTDefRegMap(@Self)^.clr := $00000002
  23765. else
  23766. pTDefRegMap(@Self)^.&set := $00000002;
  23767. end;
  23768. function TI2C5_I2C3ACON.getRSEN : TBits_1; inline;
  23769. begin
  23770. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23771. end;
  23772. procedure TI2C5_I2C3ACON.setPEN; inline;
  23773. begin
  23774. pTDefRegMap(@Self)^.&set := $00000004;
  23775. end;
  23776. procedure TI2C5_I2C3ACON.clearPEN; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.clr := $00000004;
  23779. end;
  23780. procedure TI2C5_I2C3ACON.setPEN(thebits : TBits_1); inline;
  23781. begin
  23782. if thebits = 0 then
  23783. pTDefRegMap(@Self)^.clr := $00000004
  23784. else
  23785. pTDefRegMap(@Self)^.&set := $00000004;
  23786. end;
  23787. function TI2C5_I2C3ACON.getPEN : TBits_1; inline;
  23788. begin
  23789. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23790. end;
  23791. procedure TI2C5_I2C3ACON.setRCEN; inline;
  23792. begin
  23793. pTDefRegMap(@Self)^.&set := $00000008;
  23794. end;
  23795. procedure TI2C5_I2C3ACON.clearRCEN; inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.clr := $00000008;
  23798. end;
  23799. procedure TI2C5_I2C3ACON.setRCEN(thebits : TBits_1); inline;
  23800. begin
  23801. if thebits = 0 then
  23802. pTDefRegMap(@Self)^.clr := $00000008
  23803. else
  23804. pTDefRegMap(@Self)^.&set := $00000008;
  23805. end;
  23806. function TI2C5_I2C3ACON.getRCEN : TBits_1; inline;
  23807. begin
  23808. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23809. end;
  23810. procedure TI2C5_I2C3ACON.setACKEN; inline;
  23811. begin
  23812. pTDefRegMap(@Self)^.&set := $00000010;
  23813. end;
  23814. procedure TI2C5_I2C3ACON.clearACKEN; inline;
  23815. begin
  23816. pTDefRegMap(@Self)^.clr := $00000010;
  23817. end;
  23818. procedure TI2C5_I2C3ACON.setACKEN(thebits : TBits_1); inline;
  23819. begin
  23820. if thebits = 0 then
  23821. pTDefRegMap(@Self)^.clr := $00000010
  23822. else
  23823. pTDefRegMap(@Self)^.&set := $00000010;
  23824. end;
  23825. function TI2C5_I2C3ACON.getACKEN : TBits_1; inline;
  23826. begin
  23827. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23828. end;
  23829. procedure TI2C5_I2C3ACON.setACKDT; inline;
  23830. begin
  23831. pTDefRegMap(@Self)^.&set := $00000020;
  23832. end;
  23833. procedure TI2C5_I2C3ACON.clearACKDT; inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.clr := $00000020;
  23836. end;
  23837. procedure TI2C5_I2C3ACON.setACKDT(thebits : TBits_1); inline;
  23838. begin
  23839. if thebits = 0 then
  23840. pTDefRegMap(@Self)^.clr := $00000020
  23841. else
  23842. pTDefRegMap(@Self)^.&set := $00000020;
  23843. end;
  23844. function TI2C5_I2C3ACON.getACKDT : TBits_1; inline;
  23845. begin
  23846. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23847. end;
  23848. procedure TI2C5_I2C3ACON.setSTREN; inline;
  23849. begin
  23850. pTDefRegMap(@Self)^.&set := $00000040;
  23851. end;
  23852. procedure TI2C5_I2C3ACON.clearSTREN; inline;
  23853. begin
  23854. pTDefRegMap(@Self)^.clr := $00000040;
  23855. end;
  23856. procedure TI2C5_I2C3ACON.setSTREN(thebits : TBits_1); inline;
  23857. begin
  23858. if thebits = 0 then
  23859. pTDefRegMap(@Self)^.clr := $00000040
  23860. else
  23861. pTDefRegMap(@Self)^.&set := $00000040;
  23862. end;
  23863. function TI2C5_I2C3ACON.getSTREN : TBits_1; inline;
  23864. begin
  23865. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23866. end;
  23867. procedure TI2C5_I2C3ACON.setGCEN; inline;
  23868. begin
  23869. pTDefRegMap(@Self)^.&set := $00000080;
  23870. end;
  23871. procedure TI2C5_I2C3ACON.clearGCEN; inline;
  23872. begin
  23873. pTDefRegMap(@Self)^.clr := $00000080;
  23874. end;
  23875. procedure TI2C5_I2C3ACON.setGCEN(thebits : TBits_1); inline;
  23876. begin
  23877. if thebits = 0 then
  23878. pTDefRegMap(@Self)^.clr := $00000080
  23879. else
  23880. pTDefRegMap(@Self)^.&set := $00000080;
  23881. end;
  23882. function TI2C5_I2C3ACON.getGCEN : TBits_1; inline;
  23883. begin
  23884. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23885. end;
  23886. procedure TI2C5_I2C3ACON.setSMEN; inline;
  23887. begin
  23888. pTDefRegMap(@Self)^.&set := $00000100;
  23889. end;
  23890. procedure TI2C5_I2C3ACON.clearSMEN; inline;
  23891. begin
  23892. pTDefRegMap(@Self)^.clr := $00000100;
  23893. end;
  23894. procedure TI2C5_I2C3ACON.setSMEN(thebits : TBits_1); inline;
  23895. begin
  23896. if thebits = 0 then
  23897. pTDefRegMap(@Self)^.clr := $00000100
  23898. else
  23899. pTDefRegMap(@Self)^.&set := $00000100;
  23900. end;
  23901. function TI2C5_I2C3ACON.getSMEN : TBits_1; inline;
  23902. begin
  23903. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23904. end;
  23905. procedure TI2C5_I2C3ACON.setDISSLW; inline;
  23906. begin
  23907. pTDefRegMap(@Self)^.&set := $00000200;
  23908. end;
  23909. procedure TI2C5_I2C3ACON.clearDISSLW; inline;
  23910. begin
  23911. pTDefRegMap(@Self)^.clr := $00000200;
  23912. end;
  23913. procedure TI2C5_I2C3ACON.setDISSLW(thebits : TBits_1); inline;
  23914. begin
  23915. if thebits = 0 then
  23916. pTDefRegMap(@Self)^.clr := $00000200
  23917. else
  23918. pTDefRegMap(@Self)^.&set := $00000200;
  23919. end;
  23920. function TI2C5_I2C3ACON.getDISSLW : TBits_1; inline;
  23921. begin
  23922. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23923. end;
  23924. procedure TI2C5_I2C3ACON.setA10M; inline;
  23925. begin
  23926. pTDefRegMap(@Self)^.&set := $00000400;
  23927. end;
  23928. procedure TI2C5_I2C3ACON.clearA10M; inline;
  23929. begin
  23930. pTDefRegMap(@Self)^.clr := $00000400;
  23931. end;
  23932. procedure TI2C5_I2C3ACON.setA10M(thebits : TBits_1); inline;
  23933. begin
  23934. if thebits = 0 then
  23935. pTDefRegMap(@Self)^.clr := $00000400
  23936. else
  23937. pTDefRegMap(@Self)^.&set := $00000400;
  23938. end;
  23939. function TI2C5_I2C3ACON.getA10M : TBits_1; inline;
  23940. begin
  23941. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23942. end;
  23943. procedure TI2C5_I2C3ACON.setSTRICT; inline;
  23944. begin
  23945. pTDefRegMap(@Self)^.&set := $00000800;
  23946. end;
  23947. procedure TI2C5_I2C3ACON.clearSTRICT; inline;
  23948. begin
  23949. pTDefRegMap(@Self)^.clr := $00000800;
  23950. end;
  23951. procedure TI2C5_I2C3ACON.setSTRICT(thebits : TBits_1); inline;
  23952. begin
  23953. if thebits = 0 then
  23954. pTDefRegMap(@Self)^.clr := $00000800
  23955. else
  23956. pTDefRegMap(@Self)^.&set := $00000800;
  23957. end;
  23958. function TI2C5_I2C3ACON.getSTRICT : TBits_1; inline;
  23959. begin
  23960. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23961. end;
  23962. procedure TI2C5_I2C3ACON.setSCLREL; inline;
  23963. begin
  23964. pTDefRegMap(@Self)^.&set := $00001000;
  23965. end;
  23966. procedure TI2C5_I2C3ACON.clearSCLREL; inline;
  23967. begin
  23968. pTDefRegMap(@Self)^.clr := $00001000;
  23969. end;
  23970. procedure TI2C5_I2C3ACON.setSCLREL(thebits : TBits_1); inline;
  23971. begin
  23972. if thebits = 0 then
  23973. pTDefRegMap(@Self)^.clr := $00001000
  23974. else
  23975. pTDefRegMap(@Self)^.&set := $00001000;
  23976. end;
  23977. function TI2C5_I2C3ACON.getSCLREL : TBits_1; inline;
  23978. begin
  23979. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23980. end;
  23981. procedure TI2C5_I2C3ACON.setSIDL; inline;
  23982. begin
  23983. pTDefRegMap(@Self)^.&set := $00002000;
  23984. end;
  23985. procedure TI2C5_I2C3ACON.clearSIDL; inline;
  23986. begin
  23987. pTDefRegMap(@Self)^.clr := $00002000;
  23988. end;
  23989. procedure TI2C5_I2C3ACON.setSIDL(thebits : TBits_1); inline;
  23990. begin
  23991. if thebits = 0 then
  23992. pTDefRegMap(@Self)^.clr := $00002000
  23993. else
  23994. pTDefRegMap(@Self)^.&set := $00002000;
  23995. end;
  23996. function TI2C5_I2C3ACON.getSIDL : TBits_1; inline;
  23997. begin
  23998. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23999. end;
  24000. procedure TI2C5_I2C3ACON.setON; inline;
  24001. begin
  24002. pTDefRegMap(@Self)^.&set := $00008000;
  24003. end;
  24004. procedure TI2C5_I2C3ACON.clearON; inline;
  24005. begin
  24006. pTDefRegMap(@Self)^.clr := $00008000;
  24007. end;
  24008. procedure TI2C5_I2C3ACON.setON(thebits : TBits_1); inline;
  24009. begin
  24010. if thebits = 0 then
  24011. pTDefRegMap(@Self)^.clr := $00008000
  24012. else
  24013. pTDefRegMap(@Self)^.&set := $00008000;
  24014. end;
  24015. function TI2C5_I2C3ACON.getON : TBits_1; inline;
  24016. begin
  24017. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24018. end;
  24019. procedure TI2C5_I2C3ACON.setIPMIEN; inline;
  24020. begin
  24021. pTDefRegMap(@Self)^.&set := $00000800;
  24022. end;
  24023. procedure TI2C5_I2C3ACON.clearIPMIEN; inline;
  24024. begin
  24025. pTDefRegMap(@Self)^.clr := $00000800;
  24026. end;
  24027. procedure TI2C5_I2C3ACON.setIPMIEN(thebits : TBits_1); inline;
  24028. begin
  24029. if thebits = 0 then
  24030. pTDefRegMap(@Self)^.clr := $00000800
  24031. else
  24032. pTDefRegMap(@Self)^.&set := $00000800;
  24033. end;
  24034. function TI2C5_I2C3ACON.getIPMIEN : TBits_1; inline;
  24035. begin
  24036. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24037. end;
  24038. procedure TI2C5_I2C3ACON.setI2CSIDL; inline;
  24039. begin
  24040. pTDefRegMap(@Self)^.&set := $00002000;
  24041. end;
  24042. procedure TI2C5_I2C3ACON.clearI2CSIDL; inline;
  24043. begin
  24044. pTDefRegMap(@Self)^.clr := $00002000;
  24045. end;
  24046. procedure TI2C5_I2C3ACON.setI2CSIDL(thebits : TBits_1); inline;
  24047. begin
  24048. if thebits = 0 then
  24049. pTDefRegMap(@Self)^.clr := $00002000
  24050. else
  24051. pTDefRegMap(@Self)^.&set := $00002000;
  24052. end;
  24053. function TI2C5_I2C3ACON.getI2CSIDL : TBits_1; inline;
  24054. begin
  24055. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24056. end;
  24057. procedure TI2C5_I2C3ACON.setI2CEN; inline;
  24058. begin
  24059. pTDefRegMap(@Self)^.&set := $00008000;
  24060. end;
  24061. procedure TI2C5_I2C3ACON.clearI2CEN; inline;
  24062. begin
  24063. pTDefRegMap(@Self)^.clr := $00008000;
  24064. end;
  24065. procedure TI2C5_I2C3ACON.setI2CEN(thebits : TBits_1); inline;
  24066. begin
  24067. if thebits = 0 then
  24068. pTDefRegMap(@Self)^.clr := $00008000
  24069. else
  24070. pTDefRegMap(@Self)^.&set := $00008000;
  24071. end;
  24072. function TI2C5_I2C3ACON.getI2CEN : TBits_1; inline;
  24073. begin
  24074. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24075. end;
  24076. procedure TI2C5_I2C3ACON.setw(thebits : TBits_32); inline;
  24077. begin
  24078. pTDefRegMap(@Self)^.val := thebits;
  24079. end;
  24080. function TI2C5_I2C3ACON.getw : TBits_32; inline;
  24081. begin
  24082. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24083. end;
  24084. procedure TI2C5_I2C5CON.setSEN; inline;
  24085. begin
  24086. pTDefRegMap(@Self)^.&set := $00000001;
  24087. end;
  24088. procedure TI2C5_I2C5CON.clearSEN; inline;
  24089. begin
  24090. pTDefRegMap(@Self)^.clr := $00000001;
  24091. end;
  24092. procedure TI2C5_I2C5CON.setSEN(thebits : TBits_1); inline;
  24093. begin
  24094. if thebits = 0 then
  24095. pTDefRegMap(@Self)^.clr := $00000001
  24096. else
  24097. pTDefRegMap(@Self)^.&set := $00000001;
  24098. end;
  24099. function TI2C5_I2C5CON.getSEN : TBits_1; inline;
  24100. begin
  24101. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24102. end;
  24103. procedure TI2C5_I2C5CON.setRSEN; inline;
  24104. begin
  24105. pTDefRegMap(@Self)^.&set := $00000002;
  24106. end;
  24107. procedure TI2C5_I2C5CON.clearRSEN; inline;
  24108. begin
  24109. pTDefRegMap(@Self)^.clr := $00000002;
  24110. end;
  24111. procedure TI2C5_I2C5CON.setRSEN(thebits : TBits_1); inline;
  24112. begin
  24113. if thebits = 0 then
  24114. pTDefRegMap(@Self)^.clr := $00000002
  24115. else
  24116. pTDefRegMap(@Self)^.&set := $00000002;
  24117. end;
  24118. function TI2C5_I2C5CON.getRSEN : TBits_1; inline;
  24119. begin
  24120. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24121. end;
  24122. procedure TI2C5_I2C5CON.setPEN; inline;
  24123. begin
  24124. pTDefRegMap(@Self)^.&set := $00000004;
  24125. end;
  24126. procedure TI2C5_I2C5CON.clearPEN; inline;
  24127. begin
  24128. pTDefRegMap(@Self)^.clr := $00000004;
  24129. end;
  24130. procedure TI2C5_I2C5CON.setPEN(thebits : TBits_1); inline;
  24131. begin
  24132. if thebits = 0 then
  24133. pTDefRegMap(@Self)^.clr := $00000004
  24134. else
  24135. pTDefRegMap(@Self)^.&set := $00000004;
  24136. end;
  24137. function TI2C5_I2C5CON.getPEN : TBits_1; inline;
  24138. begin
  24139. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24140. end;
  24141. procedure TI2C5_I2C5CON.setRCEN; inline;
  24142. begin
  24143. pTDefRegMap(@Self)^.&set := $00000008;
  24144. end;
  24145. procedure TI2C5_I2C5CON.clearRCEN; inline;
  24146. begin
  24147. pTDefRegMap(@Self)^.clr := $00000008;
  24148. end;
  24149. procedure TI2C5_I2C5CON.setRCEN(thebits : TBits_1); inline;
  24150. begin
  24151. if thebits = 0 then
  24152. pTDefRegMap(@Self)^.clr := $00000008
  24153. else
  24154. pTDefRegMap(@Self)^.&set := $00000008;
  24155. end;
  24156. function TI2C5_I2C5CON.getRCEN : TBits_1; inline;
  24157. begin
  24158. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24159. end;
  24160. procedure TI2C5_I2C5CON.setACKEN; inline;
  24161. begin
  24162. pTDefRegMap(@Self)^.&set := $00000010;
  24163. end;
  24164. procedure TI2C5_I2C5CON.clearACKEN; inline;
  24165. begin
  24166. pTDefRegMap(@Self)^.clr := $00000010;
  24167. end;
  24168. procedure TI2C5_I2C5CON.setACKEN(thebits : TBits_1); inline;
  24169. begin
  24170. if thebits = 0 then
  24171. pTDefRegMap(@Self)^.clr := $00000010
  24172. else
  24173. pTDefRegMap(@Self)^.&set := $00000010;
  24174. end;
  24175. function TI2C5_I2C5CON.getACKEN : TBits_1; inline;
  24176. begin
  24177. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24178. end;
  24179. procedure TI2C5_I2C5CON.setACKDT; inline;
  24180. begin
  24181. pTDefRegMap(@Self)^.&set := $00000020;
  24182. end;
  24183. procedure TI2C5_I2C5CON.clearACKDT; inline;
  24184. begin
  24185. pTDefRegMap(@Self)^.clr := $00000020;
  24186. end;
  24187. procedure TI2C5_I2C5CON.setACKDT(thebits : TBits_1); inline;
  24188. begin
  24189. if thebits = 0 then
  24190. pTDefRegMap(@Self)^.clr := $00000020
  24191. else
  24192. pTDefRegMap(@Self)^.&set := $00000020;
  24193. end;
  24194. function TI2C5_I2C5CON.getACKDT : TBits_1; inline;
  24195. begin
  24196. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24197. end;
  24198. procedure TI2C5_I2C5CON.setSTREN; inline;
  24199. begin
  24200. pTDefRegMap(@Self)^.&set := $00000040;
  24201. end;
  24202. procedure TI2C5_I2C5CON.clearSTREN; inline;
  24203. begin
  24204. pTDefRegMap(@Self)^.clr := $00000040;
  24205. end;
  24206. procedure TI2C5_I2C5CON.setSTREN(thebits : TBits_1); inline;
  24207. begin
  24208. if thebits = 0 then
  24209. pTDefRegMap(@Self)^.clr := $00000040
  24210. else
  24211. pTDefRegMap(@Self)^.&set := $00000040;
  24212. end;
  24213. function TI2C5_I2C5CON.getSTREN : TBits_1; inline;
  24214. begin
  24215. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24216. end;
  24217. procedure TI2C5_I2C5CON.setGCEN; inline;
  24218. begin
  24219. pTDefRegMap(@Self)^.&set := $00000080;
  24220. end;
  24221. procedure TI2C5_I2C5CON.clearGCEN; inline;
  24222. begin
  24223. pTDefRegMap(@Self)^.clr := $00000080;
  24224. end;
  24225. procedure TI2C5_I2C5CON.setGCEN(thebits : TBits_1); inline;
  24226. begin
  24227. if thebits = 0 then
  24228. pTDefRegMap(@Self)^.clr := $00000080
  24229. else
  24230. pTDefRegMap(@Self)^.&set := $00000080;
  24231. end;
  24232. function TI2C5_I2C5CON.getGCEN : TBits_1; inline;
  24233. begin
  24234. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24235. end;
  24236. procedure TI2C5_I2C5CON.setSMEN; inline;
  24237. begin
  24238. pTDefRegMap(@Self)^.&set := $00000100;
  24239. end;
  24240. procedure TI2C5_I2C5CON.clearSMEN; inline;
  24241. begin
  24242. pTDefRegMap(@Self)^.clr := $00000100;
  24243. end;
  24244. procedure TI2C5_I2C5CON.setSMEN(thebits : TBits_1); inline;
  24245. begin
  24246. if thebits = 0 then
  24247. pTDefRegMap(@Self)^.clr := $00000100
  24248. else
  24249. pTDefRegMap(@Self)^.&set := $00000100;
  24250. end;
  24251. function TI2C5_I2C5CON.getSMEN : TBits_1; inline;
  24252. begin
  24253. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24254. end;
  24255. procedure TI2C5_I2C5CON.setDISSLW; inline;
  24256. begin
  24257. pTDefRegMap(@Self)^.&set := $00000200;
  24258. end;
  24259. procedure TI2C5_I2C5CON.clearDISSLW; inline;
  24260. begin
  24261. pTDefRegMap(@Self)^.clr := $00000200;
  24262. end;
  24263. procedure TI2C5_I2C5CON.setDISSLW(thebits : TBits_1); inline;
  24264. begin
  24265. if thebits = 0 then
  24266. pTDefRegMap(@Self)^.clr := $00000200
  24267. else
  24268. pTDefRegMap(@Self)^.&set := $00000200;
  24269. end;
  24270. function TI2C5_I2C5CON.getDISSLW : TBits_1; inline;
  24271. begin
  24272. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24273. end;
  24274. procedure TI2C5_I2C5CON.setA10M; inline;
  24275. begin
  24276. pTDefRegMap(@Self)^.&set := $00000400;
  24277. end;
  24278. procedure TI2C5_I2C5CON.clearA10M; inline;
  24279. begin
  24280. pTDefRegMap(@Self)^.clr := $00000400;
  24281. end;
  24282. procedure TI2C5_I2C5CON.setA10M(thebits : TBits_1); inline;
  24283. begin
  24284. if thebits = 0 then
  24285. pTDefRegMap(@Self)^.clr := $00000400
  24286. else
  24287. pTDefRegMap(@Self)^.&set := $00000400;
  24288. end;
  24289. function TI2C5_I2C5CON.getA10M : TBits_1; inline;
  24290. begin
  24291. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24292. end;
  24293. procedure TI2C5_I2C5CON.setSTRICT; inline;
  24294. begin
  24295. pTDefRegMap(@Self)^.&set := $00000800;
  24296. end;
  24297. procedure TI2C5_I2C5CON.clearSTRICT; inline;
  24298. begin
  24299. pTDefRegMap(@Self)^.clr := $00000800;
  24300. end;
  24301. procedure TI2C5_I2C5CON.setSTRICT(thebits : TBits_1); inline;
  24302. begin
  24303. if thebits = 0 then
  24304. pTDefRegMap(@Self)^.clr := $00000800
  24305. else
  24306. pTDefRegMap(@Self)^.&set := $00000800;
  24307. end;
  24308. function TI2C5_I2C5CON.getSTRICT : TBits_1; inline;
  24309. begin
  24310. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24311. end;
  24312. procedure TI2C5_I2C5CON.setSCLREL; inline;
  24313. begin
  24314. pTDefRegMap(@Self)^.&set := $00001000;
  24315. end;
  24316. procedure TI2C5_I2C5CON.clearSCLREL; inline;
  24317. begin
  24318. pTDefRegMap(@Self)^.clr := $00001000;
  24319. end;
  24320. procedure TI2C5_I2C5CON.setSCLREL(thebits : TBits_1); inline;
  24321. begin
  24322. if thebits = 0 then
  24323. pTDefRegMap(@Self)^.clr := $00001000
  24324. else
  24325. pTDefRegMap(@Self)^.&set := $00001000;
  24326. end;
  24327. function TI2C5_I2C5CON.getSCLREL : TBits_1; inline;
  24328. begin
  24329. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24330. end;
  24331. procedure TI2C5_I2C5CON.setSIDL; inline;
  24332. begin
  24333. pTDefRegMap(@Self)^.&set := $00002000;
  24334. end;
  24335. procedure TI2C5_I2C5CON.clearSIDL; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.clr := $00002000;
  24338. end;
  24339. procedure TI2C5_I2C5CON.setSIDL(thebits : TBits_1); inline;
  24340. begin
  24341. if thebits = 0 then
  24342. pTDefRegMap(@Self)^.clr := $00002000
  24343. else
  24344. pTDefRegMap(@Self)^.&set := $00002000;
  24345. end;
  24346. function TI2C5_I2C5CON.getSIDL : TBits_1; inline;
  24347. begin
  24348. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24349. end;
  24350. procedure TI2C5_I2C5CON.setON; inline;
  24351. begin
  24352. pTDefRegMap(@Self)^.&set := $00008000;
  24353. end;
  24354. procedure TI2C5_I2C5CON.clearON; inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.clr := $00008000;
  24357. end;
  24358. procedure TI2C5_I2C5CON.setON(thebits : TBits_1); inline;
  24359. begin
  24360. if thebits = 0 then
  24361. pTDefRegMap(@Self)^.clr := $00008000
  24362. else
  24363. pTDefRegMap(@Self)^.&set := $00008000;
  24364. end;
  24365. function TI2C5_I2C5CON.getON : TBits_1; inline;
  24366. begin
  24367. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24368. end;
  24369. procedure TI2C5_I2C5CON.setIPMIEN; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.&set := $00000800;
  24372. end;
  24373. procedure TI2C5_I2C5CON.clearIPMIEN; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.clr := $00000800;
  24376. end;
  24377. procedure TI2C5_I2C5CON.setIPMIEN(thebits : TBits_1); inline;
  24378. begin
  24379. if thebits = 0 then
  24380. pTDefRegMap(@Self)^.clr := $00000800
  24381. else
  24382. pTDefRegMap(@Self)^.&set := $00000800;
  24383. end;
  24384. function TI2C5_I2C5CON.getIPMIEN : TBits_1; inline;
  24385. begin
  24386. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24387. end;
  24388. procedure TI2C5_I2C5CON.setI2CSIDL; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.&set := $00002000;
  24391. end;
  24392. procedure TI2C5_I2C5CON.clearI2CSIDL; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.clr := $00002000;
  24395. end;
  24396. procedure TI2C5_I2C5CON.setI2CSIDL(thebits : TBits_1); inline;
  24397. begin
  24398. if thebits = 0 then
  24399. pTDefRegMap(@Self)^.clr := $00002000
  24400. else
  24401. pTDefRegMap(@Self)^.&set := $00002000;
  24402. end;
  24403. function TI2C5_I2C5CON.getI2CSIDL : TBits_1; inline;
  24404. begin
  24405. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24406. end;
  24407. procedure TI2C5_I2C5CON.setI2CEN; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.&set := $00008000;
  24410. end;
  24411. procedure TI2C5_I2C5CON.clearI2CEN; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.clr := $00008000;
  24414. end;
  24415. procedure TI2C5_I2C5CON.setI2CEN(thebits : TBits_1); inline;
  24416. begin
  24417. if thebits = 0 then
  24418. pTDefRegMap(@Self)^.clr := $00008000
  24419. else
  24420. pTDefRegMap(@Self)^.&set := $00008000;
  24421. end;
  24422. function TI2C5_I2C5CON.getI2CEN : TBits_1; inline;
  24423. begin
  24424. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24425. end;
  24426. procedure TI2C5_I2C5CON.setw(thebits : TBits_32); inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.val := thebits;
  24429. end;
  24430. function TI2C5_I2C5CON.getw : TBits_32; inline;
  24431. begin
  24432. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24433. end;
  24434. procedure TI2C5_I2C3ASTAT.setTBF; inline;
  24435. begin
  24436. pTDefRegMap(@Self)^.&set := $00000001;
  24437. end;
  24438. procedure TI2C5_I2C3ASTAT.clearTBF; inline;
  24439. begin
  24440. pTDefRegMap(@Self)^.clr := $00000001;
  24441. end;
  24442. procedure TI2C5_I2C3ASTAT.setTBF(thebits : TBits_1); inline;
  24443. begin
  24444. if thebits = 0 then
  24445. pTDefRegMap(@Self)^.clr := $00000001
  24446. else
  24447. pTDefRegMap(@Self)^.&set := $00000001;
  24448. end;
  24449. function TI2C5_I2C3ASTAT.getTBF : TBits_1; inline;
  24450. begin
  24451. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24452. end;
  24453. procedure TI2C5_I2C3ASTAT.setRBF; inline;
  24454. begin
  24455. pTDefRegMap(@Self)^.&set := $00000002;
  24456. end;
  24457. procedure TI2C5_I2C3ASTAT.clearRBF; inline;
  24458. begin
  24459. pTDefRegMap(@Self)^.clr := $00000002;
  24460. end;
  24461. procedure TI2C5_I2C3ASTAT.setRBF(thebits : TBits_1); inline;
  24462. begin
  24463. if thebits = 0 then
  24464. pTDefRegMap(@Self)^.clr := $00000002
  24465. else
  24466. pTDefRegMap(@Self)^.&set := $00000002;
  24467. end;
  24468. function TI2C5_I2C3ASTAT.getRBF : TBits_1; inline;
  24469. begin
  24470. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24471. end;
  24472. procedure TI2C5_I2C3ASTAT.setR_W; inline;
  24473. begin
  24474. pTDefRegMap(@Self)^.&set := $00000004;
  24475. end;
  24476. procedure TI2C5_I2C3ASTAT.clearR_W; inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.clr := $00000004;
  24479. end;
  24480. procedure TI2C5_I2C3ASTAT.setR_W(thebits : TBits_1); inline;
  24481. begin
  24482. if thebits = 0 then
  24483. pTDefRegMap(@Self)^.clr := $00000004
  24484. else
  24485. pTDefRegMap(@Self)^.&set := $00000004;
  24486. end;
  24487. function TI2C5_I2C3ASTAT.getR_W : TBits_1; inline;
  24488. begin
  24489. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24490. end;
  24491. procedure TI2C5_I2C3ASTAT.setS; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.&set := $00000008;
  24494. end;
  24495. procedure TI2C5_I2C3ASTAT.clearS; inline;
  24496. begin
  24497. pTDefRegMap(@Self)^.clr := $00000008;
  24498. end;
  24499. procedure TI2C5_I2C3ASTAT.setS(thebits : TBits_1); inline;
  24500. begin
  24501. if thebits = 0 then
  24502. pTDefRegMap(@Self)^.clr := $00000008
  24503. else
  24504. pTDefRegMap(@Self)^.&set := $00000008;
  24505. end;
  24506. function TI2C5_I2C3ASTAT.getS : TBits_1; inline;
  24507. begin
  24508. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24509. end;
  24510. procedure TI2C5_I2C3ASTAT.setP; inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.&set := $00000010;
  24513. end;
  24514. procedure TI2C5_I2C3ASTAT.clearP; inline;
  24515. begin
  24516. pTDefRegMap(@Self)^.clr := $00000010;
  24517. end;
  24518. procedure TI2C5_I2C3ASTAT.setP(thebits : TBits_1); inline;
  24519. begin
  24520. if thebits = 0 then
  24521. pTDefRegMap(@Self)^.clr := $00000010
  24522. else
  24523. pTDefRegMap(@Self)^.&set := $00000010;
  24524. end;
  24525. function TI2C5_I2C3ASTAT.getP : TBits_1; inline;
  24526. begin
  24527. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24528. end;
  24529. procedure TI2C5_I2C3ASTAT.setD_A; inline;
  24530. begin
  24531. pTDefRegMap(@Self)^.&set := $00000020;
  24532. end;
  24533. procedure TI2C5_I2C3ASTAT.clearD_A; inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.clr := $00000020;
  24536. end;
  24537. procedure TI2C5_I2C3ASTAT.setD_A(thebits : TBits_1); inline;
  24538. begin
  24539. if thebits = 0 then
  24540. pTDefRegMap(@Self)^.clr := $00000020
  24541. else
  24542. pTDefRegMap(@Self)^.&set := $00000020;
  24543. end;
  24544. function TI2C5_I2C3ASTAT.getD_A : TBits_1; inline;
  24545. begin
  24546. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24547. end;
  24548. procedure TI2C5_I2C3ASTAT.setI2COV; inline;
  24549. begin
  24550. pTDefRegMap(@Self)^.&set := $00000040;
  24551. end;
  24552. procedure TI2C5_I2C3ASTAT.clearI2COV; inline;
  24553. begin
  24554. pTDefRegMap(@Self)^.clr := $00000040;
  24555. end;
  24556. procedure TI2C5_I2C3ASTAT.setI2COV(thebits : TBits_1); inline;
  24557. begin
  24558. if thebits = 0 then
  24559. pTDefRegMap(@Self)^.clr := $00000040
  24560. else
  24561. pTDefRegMap(@Self)^.&set := $00000040;
  24562. end;
  24563. function TI2C5_I2C3ASTAT.getI2COV : TBits_1; inline;
  24564. begin
  24565. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24566. end;
  24567. procedure TI2C5_I2C3ASTAT.setIWCOL; inline;
  24568. begin
  24569. pTDefRegMap(@Self)^.&set := $00000080;
  24570. end;
  24571. procedure TI2C5_I2C3ASTAT.clearIWCOL; inline;
  24572. begin
  24573. pTDefRegMap(@Self)^.clr := $00000080;
  24574. end;
  24575. procedure TI2C5_I2C3ASTAT.setIWCOL(thebits : TBits_1); inline;
  24576. begin
  24577. if thebits = 0 then
  24578. pTDefRegMap(@Self)^.clr := $00000080
  24579. else
  24580. pTDefRegMap(@Self)^.&set := $00000080;
  24581. end;
  24582. function TI2C5_I2C3ASTAT.getIWCOL : TBits_1; inline;
  24583. begin
  24584. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24585. end;
  24586. procedure TI2C5_I2C3ASTAT.setADD10; inline;
  24587. begin
  24588. pTDefRegMap(@Self)^.&set := $00000100;
  24589. end;
  24590. procedure TI2C5_I2C3ASTAT.clearADD10; inline;
  24591. begin
  24592. pTDefRegMap(@Self)^.clr := $00000100;
  24593. end;
  24594. procedure TI2C5_I2C3ASTAT.setADD10(thebits : TBits_1); inline;
  24595. begin
  24596. if thebits = 0 then
  24597. pTDefRegMap(@Self)^.clr := $00000100
  24598. else
  24599. pTDefRegMap(@Self)^.&set := $00000100;
  24600. end;
  24601. function TI2C5_I2C3ASTAT.getADD10 : TBits_1; inline;
  24602. begin
  24603. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24604. end;
  24605. procedure TI2C5_I2C3ASTAT.setGCSTAT; inline;
  24606. begin
  24607. pTDefRegMap(@Self)^.&set := $00000200;
  24608. end;
  24609. procedure TI2C5_I2C3ASTAT.clearGCSTAT; inline;
  24610. begin
  24611. pTDefRegMap(@Self)^.clr := $00000200;
  24612. end;
  24613. procedure TI2C5_I2C3ASTAT.setGCSTAT(thebits : TBits_1); inline;
  24614. begin
  24615. if thebits = 0 then
  24616. pTDefRegMap(@Self)^.clr := $00000200
  24617. else
  24618. pTDefRegMap(@Self)^.&set := $00000200;
  24619. end;
  24620. function TI2C5_I2C3ASTAT.getGCSTAT : TBits_1; inline;
  24621. begin
  24622. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24623. end;
  24624. procedure TI2C5_I2C3ASTAT.setBCL; inline;
  24625. begin
  24626. pTDefRegMap(@Self)^.&set := $00000400;
  24627. end;
  24628. procedure TI2C5_I2C3ASTAT.clearBCL; inline;
  24629. begin
  24630. pTDefRegMap(@Self)^.clr := $00000400;
  24631. end;
  24632. procedure TI2C5_I2C3ASTAT.setBCL(thebits : TBits_1); inline;
  24633. begin
  24634. if thebits = 0 then
  24635. pTDefRegMap(@Self)^.clr := $00000400
  24636. else
  24637. pTDefRegMap(@Self)^.&set := $00000400;
  24638. end;
  24639. function TI2C5_I2C3ASTAT.getBCL : TBits_1; inline;
  24640. begin
  24641. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24642. end;
  24643. procedure TI2C5_I2C3ASTAT.setTRSTAT; inline;
  24644. begin
  24645. pTDefRegMap(@Self)^.&set := $00004000;
  24646. end;
  24647. procedure TI2C5_I2C3ASTAT.clearTRSTAT; inline;
  24648. begin
  24649. pTDefRegMap(@Self)^.clr := $00004000;
  24650. end;
  24651. procedure TI2C5_I2C3ASTAT.setTRSTAT(thebits : TBits_1); inline;
  24652. begin
  24653. if thebits = 0 then
  24654. pTDefRegMap(@Self)^.clr := $00004000
  24655. else
  24656. pTDefRegMap(@Self)^.&set := $00004000;
  24657. end;
  24658. function TI2C5_I2C3ASTAT.getTRSTAT : TBits_1; inline;
  24659. begin
  24660. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24661. end;
  24662. procedure TI2C5_I2C3ASTAT.setACKSTAT; inline;
  24663. begin
  24664. pTDefRegMap(@Self)^.&set := $00008000;
  24665. end;
  24666. procedure TI2C5_I2C3ASTAT.clearACKSTAT; inline;
  24667. begin
  24668. pTDefRegMap(@Self)^.clr := $00008000;
  24669. end;
  24670. procedure TI2C5_I2C3ASTAT.setACKSTAT(thebits : TBits_1); inline;
  24671. begin
  24672. if thebits = 0 then
  24673. pTDefRegMap(@Self)^.clr := $00008000
  24674. else
  24675. pTDefRegMap(@Self)^.&set := $00008000;
  24676. end;
  24677. function TI2C5_I2C3ASTAT.getACKSTAT : TBits_1; inline;
  24678. begin
  24679. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24680. end;
  24681. procedure TI2C5_I2C3ASTAT.setI2CPOV; inline;
  24682. begin
  24683. pTDefRegMap(@Self)^.&set := $00000040;
  24684. end;
  24685. procedure TI2C5_I2C3ASTAT.clearI2CPOV; inline;
  24686. begin
  24687. pTDefRegMap(@Self)^.clr := $00000040;
  24688. end;
  24689. procedure TI2C5_I2C3ASTAT.setI2CPOV(thebits : TBits_1); inline;
  24690. begin
  24691. if thebits = 0 then
  24692. pTDefRegMap(@Self)^.clr := $00000040
  24693. else
  24694. pTDefRegMap(@Self)^.&set := $00000040;
  24695. end;
  24696. function TI2C5_I2C3ASTAT.getI2CPOV : TBits_1; inline;
  24697. begin
  24698. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24699. end;
  24700. procedure TI2C5_I2C3ASTAT.setw(thebits : TBits_32); inline;
  24701. begin
  24702. pTDefRegMap(@Self)^.val := thebits;
  24703. end;
  24704. function TI2C5_I2C3ASTAT.getw : TBits_32; inline;
  24705. begin
  24706. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24707. end;
  24708. procedure TI2C5_I2C5STAT.setTBF; inline;
  24709. begin
  24710. pTDefRegMap(@Self)^.&set := $00000001;
  24711. end;
  24712. procedure TI2C5_I2C5STAT.clearTBF; inline;
  24713. begin
  24714. pTDefRegMap(@Self)^.clr := $00000001;
  24715. end;
  24716. procedure TI2C5_I2C5STAT.setTBF(thebits : TBits_1); inline;
  24717. begin
  24718. if thebits = 0 then
  24719. pTDefRegMap(@Self)^.clr := $00000001
  24720. else
  24721. pTDefRegMap(@Self)^.&set := $00000001;
  24722. end;
  24723. function TI2C5_I2C5STAT.getTBF : TBits_1; inline;
  24724. begin
  24725. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24726. end;
  24727. procedure TI2C5_I2C5STAT.setRBF; inline;
  24728. begin
  24729. pTDefRegMap(@Self)^.&set := $00000002;
  24730. end;
  24731. procedure TI2C5_I2C5STAT.clearRBF; inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.clr := $00000002;
  24734. end;
  24735. procedure TI2C5_I2C5STAT.setRBF(thebits : TBits_1); inline;
  24736. begin
  24737. if thebits = 0 then
  24738. pTDefRegMap(@Self)^.clr := $00000002
  24739. else
  24740. pTDefRegMap(@Self)^.&set := $00000002;
  24741. end;
  24742. function TI2C5_I2C5STAT.getRBF : TBits_1; inline;
  24743. begin
  24744. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24745. end;
  24746. procedure TI2C5_I2C5STAT.setR_W; inline;
  24747. begin
  24748. pTDefRegMap(@Self)^.&set := $00000004;
  24749. end;
  24750. procedure TI2C5_I2C5STAT.clearR_W; inline;
  24751. begin
  24752. pTDefRegMap(@Self)^.clr := $00000004;
  24753. end;
  24754. procedure TI2C5_I2C5STAT.setR_W(thebits : TBits_1); inline;
  24755. begin
  24756. if thebits = 0 then
  24757. pTDefRegMap(@Self)^.clr := $00000004
  24758. else
  24759. pTDefRegMap(@Self)^.&set := $00000004;
  24760. end;
  24761. function TI2C5_I2C5STAT.getR_W : TBits_1; inline;
  24762. begin
  24763. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24764. end;
  24765. procedure TI2C5_I2C5STAT.setS; inline;
  24766. begin
  24767. pTDefRegMap(@Self)^.&set := $00000008;
  24768. end;
  24769. procedure TI2C5_I2C5STAT.clearS; inline;
  24770. begin
  24771. pTDefRegMap(@Self)^.clr := $00000008;
  24772. end;
  24773. procedure TI2C5_I2C5STAT.setS(thebits : TBits_1); inline;
  24774. begin
  24775. if thebits = 0 then
  24776. pTDefRegMap(@Self)^.clr := $00000008
  24777. else
  24778. pTDefRegMap(@Self)^.&set := $00000008;
  24779. end;
  24780. function TI2C5_I2C5STAT.getS : TBits_1; inline;
  24781. begin
  24782. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24783. end;
  24784. procedure TI2C5_I2C5STAT.setP; inline;
  24785. begin
  24786. pTDefRegMap(@Self)^.&set := $00000010;
  24787. end;
  24788. procedure TI2C5_I2C5STAT.clearP; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.clr := $00000010;
  24791. end;
  24792. procedure TI2C5_I2C5STAT.setP(thebits : TBits_1); inline;
  24793. begin
  24794. if thebits = 0 then
  24795. pTDefRegMap(@Self)^.clr := $00000010
  24796. else
  24797. pTDefRegMap(@Self)^.&set := $00000010;
  24798. end;
  24799. function TI2C5_I2C5STAT.getP : TBits_1; inline;
  24800. begin
  24801. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24802. end;
  24803. procedure TI2C5_I2C5STAT.setD_A; inline;
  24804. begin
  24805. pTDefRegMap(@Self)^.&set := $00000020;
  24806. end;
  24807. procedure TI2C5_I2C5STAT.clearD_A; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.clr := $00000020;
  24810. end;
  24811. procedure TI2C5_I2C5STAT.setD_A(thebits : TBits_1); inline;
  24812. begin
  24813. if thebits = 0 then
  24814. pTDefRegMap(@Self)^.clr := $00000020
  24815. else
  24816. pTDefRegMap(@Self)^.&set := $00000020;
  24817. end;
  24818. function TI2C5_I2C5STAT.getD_A : TBits_1; inline;
  24819. begin
  24820. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24821. end;
  24822. procedure TI2C5_I2C5STAT.setI2COV; inline;
  24823. begin
  24824. pTDefRegMap(@Self)^.&set := $00000040;
  24825. end;
  24826. procedure TI2C5_I2C5STAT.clearI2COV; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.clr := $00000040;
  24829. end;
  24830. procedure TI2C5_I2C5STAT.setI2COV(thebits : TBits_1); inline;
  24831. begin
  24832. if thebits = 0 then
  24833. pTDefRegMap(@Self)^.clr := $00000040
  24834. else
  24835. pTDefRegMap(@Self)^.&set := $00000040;
  24836. end;
  24837. function TI2C5_I2C5STAT.getI2COV : TBits_1; inline;
  24838. begin
  24839. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24840. end;
  24841. procedure TI2C5_I2C5STAT.setIWCOL; inline;
  24842. begin
  24843. pTDefRegMap(@Self)^.&set := $00000080;
  24844. end;
  24845. procedure TI2C5_I2C5STAT.clearIWCOL; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.clr := $00000080;
  24848. end;
  24849. procedure TI2C5_I2C5STAT.setIWCOL(thebits : TBits_1); inline;
  24850. begin
  24851. if thebits = 0 then
  24852. pTDefRegMap(@Self)^.clr := $00000080
  24853. else
  24854. pTDefRegMap(@Self)^.&set := $00000080;
  24855. end;
  24856. function TI2C5_I2C5STAT.getIWCOL : TBits_1; inline;
  24857. begin
  24858. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24859. end;
  24860. procedure TI2C5_I2C5STAT.setADD10; inline;
  24861. begin
  24862. pTDefRegMap(@Self)^.&set := $00000100;
  24863. end;
  24864. procedure TI2C5_I2C5STAT.clearADD10; inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.clr := $00000100;
  24867. end;
  24868. procedure TI2C5_I2C5STAT.setADD10(thebits : TBits_1); inline;
  24869. begin
  24870. if thebits = 0 then
  24871. pTDefRegMap(@Self)^.clr := $00000100
  24872. else
  24873. pTDefRegMap(@Self)^.&set := $00000100;
  24874. end;
  24875. function TI2C5_I2C5STAT.getADD10 : TBits_1; inline;
  24876. begin
  24877. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24878. end;
  24879. procedure TI2C5_I2C5STAT.setGCSTAT; inline;
  24880. begin
  24881. pTDefRegMap(@Self)^.&set := $00000200;
  24882. end;
  24883. procedure TI2C5_I2C5STAT.clearGCSTAT; inline;
  24884. begin
  24885. pTDefRegMap(@Self)^.clr := $00000200;
  24886. end;
  24887. procedure TI2C5_I2C5STAT.setGCSTAT(thebits : TBits_1); inline;
  24888. begin
  24889. if thebits = 0 then
  24890. pTDefRegMap(@Self)^.clr := $00000200
  24891. else
  24892. pTDefRegMap(@Self)^.&set := $00000200;
  24893. end;
  24894. function TI2C5_I2C5STAT.getGCSTAT : TBits_1; inline;
  24895. begin
  24896. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24897. end;
  24898. procedure TI2C5_I2C5STAT.setBCL; inline;
  24899. begin
  24900. pTDefRegMap(@Self)^.&set := $00000400;
  24901. end;
  24902. procedure TI2C5_I2C5STAT.clearBCL; inline;
  24903. begin
  24904. pTDefRegMap(@Self)^.clr := $00000400;
  24905. end;
  24906. procedure TI2C5_I2C5STAT.setBCL(thebits : TBits_1); inline;
  24907. begin
  24908. if thebits = 0 then
  24909. pTDefRegMap(@Self)^.clr := $00000400
  24910. else
  24911. pTDefRegMap(@Self)^.&set := $00000400;
  24912. end;
  24913. function TI2C5_I2C5STAT.getBCL : TBits_1; inline;
  24914. begin
  24915. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24916. end;
  24917. procedure TI2C5_I2C5STAT.setTRSTAT; inline;
  24918. begin
  24919. pTDefRegMap(@Self)^.&set := $00004000;
  24920. end;
  24921. procedure TI2C5_I2C5STAT.clearTRSTAT; inline;
  24922. begin
  24923. pTDefRegMap(@Self)^.clr := $00004000;
  24924. end;
  24925. procedure TI2C5_I2C5STAT.setTRSTAT(thebits : TBits_1); inline;
  24926. begin
  24927. if thebits = 0 then
  24928. pTDefRegMap(@Self)^.clr := $00004000
  24929. else
  24930. pTDefRegMap(@Self)^.&set := $00004000;
  24931. end;
  24932. function TI2C5_I2C5STAT.getTRSTAT : TBits_1; inline;
  24933. begin
  24934. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24935. end;
  24936. procedure TI2C5_I2C5STAT.setACKSTAT; inline;
  24937. begin
  24938. pTDefRegMap(@Self)^.&set := $00008000;
  24939. end;
  24940. procedure TI2C5_I2C5STAT.clearACKSTAT; inline;
  24941. begin
  24942. pTDefRegMap(@Self)^.clr := $00008000;
  24943. end;
  24944. procedure TI2C5_I2C5STAT.setACKSTAT(thebits : TBits_1); inline;
  24945. begin
  24946. if thebits = 0 then
  24947. pTDefRegMap(@Self)^.clr := $00008000
  24948. else
  24949. pTDefRegMap(@Self)^.&set := $00008000;
  24950. end;
  24951. function TI2C5_I2C5STAT.getACKSTAT : TBits_1; inline;
  24952. begin
  24953. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24954. end;
  24955. procedure TI2C5_I2C5STAT.setI2CPOV; inline;
  24956. begin
  24957. pTDefRegMap(@Self)^.&set := $00000040;
  24958. end;
  24959. procedure TI2C5_I2C5STAT.clearI2CPOV; inline;
  24960. begin
  24961. pTDefRegMap(@Self)^.clr := $00000040;
  24962. end;
  24963. procedure TI2C5_I2C5STAT.setI2CPOV(thebits : TBits_1); inline;
  24964. begin
  24965. if thebits = 0 then
  24966. pTDefRegMap(@Self)^.clr := $00000040
  24967. else
  24968. pTDefRegMap(@Self)^.&set := $00000040;
  24969. end;
  24970. function TI2C5_I2C5STAT.getI2CPOV : TBits_1; inline;
  24971. begin
  24972. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24973. end;
  24974. procedure TI2C5_I2C5STAT.setw(thebits : TBits_32); inline;
  24975. begin
  24976. pTDefRegMap(@Self)^.val := thebits;
  24977. end;
  24978. function TI2C5_I2C5STAT.getw : TBits_32; inline;
  24979. begin
  24980. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24981. end;
  24982. procedure TI2C1_I2C1CON.setSEN; inline;
  24983. begin
  24984. pTDefRegMap(@Self)^.&set := $00000001;
  24985. end;
  24986. procedure TI2C1_I2C1CON.clearSEN; inline;
  24987. begin
  24988. pTDefRegMap(@Self)^.clr := $00000001;
  24989. end;
  24990. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  24991. begin
  24992. if thebits = 0 then
  24993. pTDefRegMap(@Self)^.clr := $00000001
  24994. else
  24995. pTDefRegMap(@Self)^.&set := $00000001;
  24996. end;
  24997. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  24998. begin
  24999. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25000. end;
  25001. procedure TI2C1_I2C1CON.setRSEN; inline;
  25002. begin
  25003. pTDefRegMap(@Self)^.&set := $00000002;
  25004. end;
  25005. procedure TI2C1_I2C1CON.clearRSEN; inline;
  25006. begin
  25007. pTDefRegMap(@Self)^.clr := $00000002;
  25008. end;
  25009. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  25010. begin
  25011. if thebits = 0 then
  25012. pTDefRegMap(@Self)^.clr := $00000002
  25013. else
  25014. pTDefRegMap(@Self)^.&set := $00000002;
  25015. end;
  25016. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  25017. begin
  25018. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25019. end;
  25020. procedure TI2C1_I2C1CON.setPEN; inline;
  25021. begin
  25022. pTDefRegMap(@Self)^.&set := $00000004;
  25023. end;
  25024. procedure TI2C1_I2C1CON.clearPEN; inline;
  25025. begin
  25026. pTDefRegMap(@Self)^.clr := $00000004;
  25027. end;
  25028. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  25029. begin
  25030. if thebits = 0 then
  25031. pTDefRegMap(@Self)^.clr := $00000004
  25032. else
  25033. pTDefRegMap(@Self)^.&set := $00000004;
  25034. end;
  25035. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  25036. begin
  25037. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25038. end;
  25039. procedure TI2C1_I2C1CON.setRCEN; inline;
  25040. begin
  25041. pTDefRegMap(@Self)^.&set := $00000008;
  25042. end;
  25043. procedure TI2C1_I2C1CON.clearRCEN; inline;
  25044. begin
  25045. pTDefRegMap(@Self)^.clr := $00000008;
  25046. end;
  25047. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  25048. begin
  25049. if thebits = 0 then
  25050. pTDefRegMap(@Self)^.clr := $00000008
  25051. else
  25052. pTDefRegMap(@Self)^.&set := $00000008;
  25053. end;
  25054. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  25055. begin
  25056. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25057. end;
  25058. procedure TI2C1_I2C1CON.setACKEN; inline;
  25059. begin
  25060. pTDefRegMap(@Self)^.&set := $00000010;
  25061. end;
  25062. procedure TI2C1_I2C1CON.clearACKEN; inline;
  25063. begin
  25064. pTDefRegMap(@Self)^.clr := $00000010;
  25065. end;
  25066. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  25067. begin
  25068. if thebits = 0 then
  25069. pTDefRegMap(@Self)^.clr := $00000010
  25070. else
  25071. pTDefRegMap(@Self)^.&set := $00000010;
  25072. end;
  25073. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  25074. begin
  25075. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25076. end;
  25077. procedure TI2C1_I2C1CON.setACKDT; inline;
  25078. begin
  25079. pTDefRegMap(@Self)^.&set := $00000020;
  25080. end;
  25081. procedure TI2C1_I2C1CON.clearACKDT; inline;
  25082. begin
  25083. pTDefRegMap(@Self)^.clr := $00000020;
  25084. end;
  25085. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  25086. begin
  25087. if thebits = 0 then
  25088. pTDefRegMap(@Self)^.clr := $00000020
  25089. else
  25090. pTDefRegMap(@Self)^.&set := $00000020;
  25091. end;
  25092. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  25093. begin
  25094. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25095. end;
  25096. procedure TI2C1_I2C1CON.setSTREN; inline;
  25097. begin
  25098. pTDefRegMap(@Self)^.&set := $00000040;
  25099. end;
  25100. procedure TI2C1_I2C1CON.clearSTREN; inline;
  25101. begin
  25102. pTDefRegMap(@Self)^.clr := $00000040;
  25103. end;
  25104. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  25105. begin
  25106. if thebits = 0 then
  25107. pTDefRegMap(@Self)^.clr := $00000040
  25108. else
  25109. pTDefRegMap(@Self)^.&set := $00000040;
  25110. end;
  25111. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  25112. begin
  25113. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25114. end;
  25115. procedure TI2C1_I2C1CON.setGCEN; inline;
  25116. begin
  25117. pTDefRegMap(@Self)^.&set := $00000080;
  25118. end;
  25119. procedure TI2C1_I2C1CON.clearGCEN; inline;
  25120. begin
  25121. pTDefRegMap(@Self)^.clr := $00000080;
  25122. end;
  25123. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  25124. begin
  25125. if thebits = 0 then
  25126. pTDefRegMap(@Self)^.clr := $00000080
  25127. else
  25128. pTDefRegMap(@Self)^.&set := $00000080;
  25129. end;
  25130. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  25131. begin
  25132. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25133. end;
  25134. procedure TI2C1_I2C1CON.setSMEN; inline;
  25135. begin
  25136. pTDefRegMap(@Self)^.&set := $00000100;
  25137. end;
  25138. procedure TI2C1_I2C1CON.clearSMEN; inline;
  25139. begin
  25140. pTDefRegMap(@Self)^.clr := $00000100;
  25141. end;
  25142. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  25143. begin
  25144. if thebits = 0 then
  25145. pTDefRegMap(@Self)^.clr := $00000100
  25146. else
  25147. pTDefRegMap(@Self)^.&set := $00000100;
  25148. end;
  25149. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  25150. begin
  25151. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25152. end;
  25153. procedure TI2C1_I2C1CON.setDISSLW; inline;
  25154. begin
  25155. pTDefRegMap(@Self)^.&set := $00000200;
  25156. end;
  25157. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  25158. begin
  25159. pTDefRegMap(@Self)^.clr := $00000200;
  25160. end;
  25161. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  25162. begin
  25163. if thebits = 0 then
  25164. pTDefRegMap(@Self)^.clr := $00000200
  25165. else
  25166. pTDefRegMap(@Self)^.&set := $00000200;
  25167. end;
  25168. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  25169. begin
  25170. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25171. end;
  25172. procedure TI2C1_I2C1CON.setA10M; inline;
  25173. begin
  25174. pTDefRegMap(@Self)^.&set := $00000400;
  25175. end;
  25176. procedure TI2C1_I2C1CON.clearA10M; inline;
  25177. begin
  25178. pTDefRegMap(@Self)^.clr := $00000400;
  25179. end;
  25180. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  25181. begin
  25182. if thebits = 0 then
  25183. pTDefRegMap(@Self)^.clr := $00000400
  25184. else
  25185. pTDefRegMap(@Self)^.&set := $00000400;
  25186. end;
  25187. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  25188. begin
  25189. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25190. end;
  25191. procedure TI2C1_I2C1CON.setSTRICT; inline;
  25192. begin
  25193. pTDefRegMap(@Self)^.&set := $00000800;
  25194. end;
  25195. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  25196. begin
  25197. pTDefRegMap(@Self)^.clr := $00000800;
  25198. end;
  25199. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  25200. begin
  25201. if thebits = 0 then
  25202. pTDefRegMap(@Self)^.clr := $00000800
  25203. else
  25204. pTDefRegMap(@Self)^.&set := $00000800;
  25205. end;
  25206. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  25207. begin
  25208. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25209. end;
  25210. procedure TI2C1_I2C1CON.setSCLREL; inline;
  25211. begin
  25212. pTDefRegMap(@Self)^.&set := $00001000;
  25213. end;
  25214. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  25215. begin
  25216. pTDefRegMap(@Self)^.clr := $00001000;
  25217. end;
  25218. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  25219. begin
  25220. if thebits = 0 then
  25221. pTDefRegMap(@Self)^.clr := $00001000
  25222. else
  25223. pTDefRegMap(@Self)^.&set := $00001000;
  25224. end;
  25225. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  25226. begin
  25227. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25228. end;
  25229. procedure TI2C1_I2C1CON.setSIDL; inline;
  25230. begin
  25231. pTDefRegMap(@Self)^.&set := $00002000;
  25232. end;
  25233. procedure TI2C1_I2C1CON.clearSIDL; inline;
  25234. begin
  25235. pTDefRegMap(@Self)^.clr := $00002000;
  25236. end;
  25237. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  25238. begin
  25239. if thebits = 0 then
  25240. pTDefRegMap(@Self)^.clr := $00002000
  25241. else
  25242. pTDefRegMap(@Self)^.&set := $00002000;
  25243. end;
  25244. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  25245. begin
  25246. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25247. end;
  25248. procedure TI2C1_I2C1CON.setON; inline;
  25249. begin
  25250. pTDefRegMap(@Self)^.&set := $00008000;
  25251. end;
  25252. procedure TI2C1_I2C1CON.clearON; inline;
  25253. begin
  25254. pTDefRegMap(@Self)^.clr := $00008000;
  25255. end;
  25256. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  25257. begin
  25258. if thebits = 0 then
  25259. pTDefRegMap(@Self)^.clr := $00008000
  25260. else
  25261. pTDefRegMap(@Self)^.&set := $00008000;
  25262. end;
  25263. function TI2C1_I2C1CON.getON : TBits_1; inline;
  25264. begin
  25265. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25266. end;
  25267. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  25268. begin
  25269. pTDefRegMap(@Self)^.&set := $00000800;
  25270. end;
  25271. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  25272. begin
  25273. pTDefRegMap(@Self)^.clr := $00000800;
  25274. end;
  25275. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  25276. begin
  25277. if thebits = 0 then
  25278. pTDefRegMap(@Self)^.clr := $00000800
  25279. else
  25280. pTDefRegMap(@Self)^.&set := $00000800;
  25281. end;
  25282. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  25283. begin
  25284. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25285. end;
  25286. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  25287. begin
  25288. pTDefRegMap(@Self)^.&set := $00002000;
  25289. end;
  25290. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  25291. begin
  25292. pTDefRegMap(@Self)^.clr := $00002000;
  25293. end;
  25294. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  25295. begin
  25296. if thebits = 0 then
  25297. pTDefRegMap(@Self)^.clr := $00002000
  25298. else
  25299. pTDefRegMap(@Self)^.&set := $00002000;
  25300. end;
  25301. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  25302. begin
  25303. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25304. end;
  25305. procedure TI2C1_I2C1CON.setI2CEN; inline;
  25306. begin
  25307. pTDefRegMap(@Self)^.&set := $00008000;
  25308. end;
  25309. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  25310. begin
  25311. pTDefRegMap(@Self)^.clr := $00008000;
  25312. end;
  25313. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  25314. begin
  25315. if thebits = 0 then
  25316. pTDefRegMap(@Self)^.clr := $00008000
  25317. else
  25318. pTDefRegMap(@Self)^.&set := $00008000;
  25319. end;
  25320. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  25321. begin
  25322. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25323. end;
  25324. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  25325. begin
  25326. pTDefRegMap(@Self)^.val := thebits;
  25327. end;
  25328. function TI2C1_I2C1CON.getw : TBits_32; inline;
  25329. begin
  25330. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25331. end;
  25332. procedure TI2C1_I2C1STAT.setTBF; inline;
  25333. begin
  25334. pTDefRegMap(@Self)^.&set := $00000001;
  25335. end;
  25336. procedure TI2C1_I2C1STAT.clearTBF; inline;
  25337. begin
  25338. pTDefRegMap(@Self)^.clr := $00000001;
  25339. end;
  25340. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  25341. begin
  25342. if thebits = 0 then
  25343. pTDefRegMap(@Self)^.clr := $00000001
  25344. else
  25345. pTDefRegMap(@Self)^.&set := $00000001;
  25346. end;
  25347. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  25348. begin
  25349. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25350. end;
  25351. procedure TI2C1_I2C1STAT.setRBF; inline;
  25352. begin
  25353. pTDefRegMap(@Self)^.&set := $00000002;
  25354. end;
  25355. procedure TI2C1_I2C1STAT.clearRBF; inline;
  25356. begin
  25357. pTDefRegMap(@Self)^.clr := $00000002;
  25358. end;
  25359. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  25360. begin
  25361. if thebits = 0 then
  25362. pTDefRegMap(@Self)^.clr := $00000002
  25363. else
  25364. pTDefRegMap(@Self)^.&set := $00000002;
  25365. end;
  25366. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  25367. begin
  25368. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25369. end;
  25370. procedure TI2C1_I2C1STAT.setR_W; inline;
  25371. begin
  25372. pTDefRegMap(@Self)^.&set := $00000004;
  25373. end;
  25374. procedure TI2C1_I2C1STAT.clearR_W; inline;
  25375. begin
  25376. pTDefRegMap(@Self)^.clr := $00000004;
  25377. end;
  25378. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  25379. begin
  25380. if thebits = 0 then
  25381. pTDefRegMap(@Self)^.clr := $00000004
  25382. else
  25383. pTDefRegMap(@Self)^.&set := $00000004;
  25384. end;
  25385. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  25386. begin
  25387. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25388. end;
  25389. procedure TI2C1_I2C1STAT.setS; inline;
  25390. begin
  25391. pTDefRegMap(@Self)^.&set := $00000008;
  25392. end;
  25393. procedure TI2C1_I2C1STAT.clearS; inline;
  25394. begin
  25395. pTDefRegMap(@Self)^.clr := $00000008;
  25396. end;
  25397. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  25398. begin
  25399. if thebits = 0 then
  25400. pTDefRegMap(@Self)^.clr := $00000008
  25401. else
  25402. pTDefRegMap(@Self)^.&set := $00000008;
  25403. end;
  25404. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  25405. begin
  25406. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25407. end;
  25408. procedure TI2C1_I2C1STAT.setP; inline;
  25409. begin
  25410. pTDefRegMap(@Self)^.&set := $00000010;
  25411. end;
  25412. procedure TI2C1_I2C1STAT.clearP; inline;
  25413. begin
  25414. pTDefRegMap(@Self)^.clr := $00000010;
  25415. end;
  25416. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  25417. begin
  25418. if thebits = 0 then
  25419. pTDefRegMap(@Self)^.clr := $00000010
  25420. else
  25421. pTDefRegMap(@Self)^.&set := $00000010;
  25422. end;
  25423. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  25424. begin
  25425. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25426. end;
  25427. procedure TI2C1_I2C1STAT.setD_A; inline;
  25428. begin
  25429. pTDefRegMap(@Self)^.&set := $00000020;
  25430. end;
  25431. procedure TI2C1_I2C1STAT.clearD_A; inline;
  25432. begin
  25433. pTDefRegMap(@Self)^.clr := $00000020;
  25434. end;
  25435. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  25436. begin
  25437. if thebits = 0 then
  25438. pTDefRegMap(@Self)^.clr := $00000020
  25439. else
  25440. pTDefRegMap(@Self)^.&set := $00000020;
  25441. end;
  25442. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  25443. begin
  25444. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25445. end;
  25446. procedure TI2C1_I2C1STAT.setI2COV; inline;
  25447. begin
  25448. pTDefRegMap(@Self)^.&set := $00000040;
  25449. end;
  25450. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  25451. begin
  25452. pTDefRegMap(@Self)^.clr := $00000040;
  25453. end;
  25454. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  25455. begin
  25456. if thebits = 0 then
  25457. pTDefRegMap(@Self)^.clr := $00000040
  25458. else
  25459. pTDefRegMap(@Self)^.&set := $00000040;
  25460. end;
  25461. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  25462. begin
  25463. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25464. end;
  25465. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  25466. begin
  25467. pTDefRegMap(@Self)^.&set := $00000080;
  25468. end;
  25469. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  25470. begin
  25471. pTDefRegMap(@Self)^.clr := $00000080;
  25472. end;
  25473. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  25474. begin
  25475. if thebits = 0 then
  25476. pTDefRegMap(@Self)^.clr := $00000080
  25477. else
  25478. pTDefRegMap(@Self)^.&set := $00000080;
  25479. end;
  25480. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  25481. begin
  25482. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25483. end;
  25484. procedure TI2C1_I2C1STAT.setADD10; inline;
  25485. begin
  25486. pTDefRegMap(@Self)^.&set := $00000100;
  25487. end;
  25488. procedure TI2C1_I2C1STAT.clearADD10; inline;
  25489. begin
  25490. pTDefRegMap(@Self)^.clr := $00000100;
  25491. end;
  25492. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  25493. begin
  25494. if thebits = 0 then
  25495. pTDefRegMap(@Self)^.clr := $00000100
  25496. else
  25497. pTDefRegMap(@Self)^.&set := $00000100;
  25498. end;
  25499. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  25500. begin
  25501. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25502. end;
  25503. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  25504. begin
  25505. pTDefRegMap(@Self)^.&set := $00000200;
  25506. end;
  25507. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  25508. begin
  25509. pTDefRegMap(@Self)^.clr := $00000200;
  25510. end;
  25511. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  25512. begin
  25513. if thebits = 0 then
  25514. pTDefRegMap(@Self)^.clr := $00000200
  25515. else
  25516. pTDefRegMap(@Self)^.&set := $00000200;
  25517. end;
  25518. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  25519. begin
  25520. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25521. end;
  25522. procedure TI2C1_I2C1STAT.setBCL; inline;
  25523. begin
  25524. pTDefRegMap(@Self)^.&set := $00000400;
  25525. end;
  25526. procedure TI2C1_I2C1STAT.clearBCL; inline;
  25527. begin
  25528. pTDefRegMap(@Self)^.clr := $00000400;
  25529. end;
  25530. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  25531. begin
  25532. if thebits = 0 then
  25533. pTDefRegMap(@Self)^.clr := $00000400
  25534. else
  25535. pTDefRegMap(@Self)^.&set := $00000400;
  25536. end;
  25537. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  25538. begin
  25539. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25540. end;
  25541. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  25542. begin
  25543. pTDefRegMap(@Self)^.&set := $00004000;
  25544. end;
  25545. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  25546. begin
  25547. pTDefRegMap(@Self)^.clr := $00004000;
  25548. end;
  25549. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  25550. begin
  25551. if thebits = 0 then
  25552. pTDefRegMap(@Self)^.clr := $00004000
  25553. else
  25554. pTDefRegMap(@Self)^.&set := $00004000;
  25555. end;
  25556. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  25557. begin
  25558. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25559. end;
  25560. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.&set := $00008000;
  25563. end;
  25564. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  25565. begin
  25566. pTDefRegMap(@Self)^.clr := $00008000;
  25567. end;
  25568. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  25569. begin
  25570. if thebits = 0 then
  25571. pTDefRegMap(@Self)^.clr := $00008000
  25572. else
  25573. pTDefRegMap(@Self)^.&set := $00008000;
  25574. end;
  25575. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  25576. begin
  25577. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25578. end;
  25579. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.&set := $00000040;
  25582. end;
  25583. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  25584. begin
  25585. pTDefRegMap(@Self)^.clr := $00000040;
  25586. end;
  25587. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  25588. begin
  25589. if thebits = 0 then
  25590. pTDefRegMap(@Self)^.clr := $00000040
  25591. else
  25592. pTDefRegMap(@Self)^.&set := $00000040;
  25593. end;
  25594. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  25595. begin
  25596. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25597. end;
  25598. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.val := thebits;
  25601. end;
  25602. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  25603. begin
  25604. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25605. end;
  25606. procedure TI2C2_I2C2CON.setSEN; inline;
  25607. begin
  25608. pTDefRegMap(@Self)^.&set := $00000001;
  25609. end;
  25610. procedure TI2C2_I2C2CON.clearSEN; inline;
  25611. begin
  25612. pTDefRegMap(@Self)^.clr := $00000001;
  25613. end;
  25614. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  25615. begin
  25616. if thebits = 0 then
  25617. pTDefRegMap(@Self)^.clr := $00000001
  25618. else
  25619. pTDefRegMap(@Self)^.&set := $00000001;
  25620. end;
  25621. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  25622. begin
  25623. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25624. end;
  25625. procedure TI2C2_I2C2CON.setRSEN; inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.&set := $00000002;
  25628. end;
  25629. procedure TI2C2_I2C2CON.clearRSEN; inline;
  25630. begin
  25631. pTDefRegMap(@Self)^.clr := $00000002;
  25632. end;
  25633. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  25634. begin
  25635. if thebits = 0 then
  25636. pTDefRegMap(@Self)^.clr := $00000002
  25637. else
  25638. pTDefRegMap(@Self)^.&set := $00000002;
  25639. end;
  25640. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  25641. begin
  25642. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25643. end;
  25644. procedure TI2C2_I2C2CON.setPEN; inline;
  25645. begin
  25646. pTDefRegMap(@Self)^.&set := $00000004;
  25647. end;
  25648. procedure TI2C2_I2C2CON.clearPEN; inline;
  25649. begin
  25650. pTDefRegMap(@Self)^.clr := $00000004;
  25651. end;
  25652. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  25653. begin
  25654. if thebits = 0 then
  25655. pTDefRegMap(@Self)^.clr := $00000004
  25656. else
  25657. pTDefRegMap(@Self)^.&set := $00000004;
  25658. end;
  25659. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  25660. begin
  25661. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25662. end;
  25663. procedure TI2C2_I2C2CON.setRCEN; inline;
  25664. begin
  25665. pTDefRegMap(@Self)^.&set := $00000008;
  25666. end;
  25667. procedure TI2C2_I2C2CON.clearRCEN; inline;
  25668. begin
  25669. pTDefRegMap(@Self)^.clr := $00000008;
  25670. end;
  25671. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  25672. begin
  25673. if thebits = 0 then
  25674. pTDefRegMap(@Self)^.clr := $00000008
  25675. else
  25676. pTDefRegMap(@Self)^.&set := $00000008;
  25677. end;
  25678. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  25679. begin
  25680. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25681. end;
  25682. procedure TI2C2_I2C2CON.setACKEN; inline;
  25683. begin
  25684. pTDefRegMap(@Self)^.&set := $00000010;
  25685. end;
  25686. procedure TI2C2_I2C2CON.clearACKEN; inline;
  25687. begin
  25688. pTDefRegMap(@Self)^.clr := $00000010;
  25689. end;
  25690. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  25691. begin
  25692. if thebits = 0 then
  25693. pTDefRegMap(@Self)^.clr := $00000010
  25694. else
  25695. pTDefRegMap(@Self)^.&set := $00000010;
  25696. end;
  25697. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  25698. begin
  25699. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25700. end;
  25701. procedure TI2C2_I2C2CON.setACKDT; inline;
  25702. begin
  25703. pTDefRegMap(@Self)^.&set := $00000020;
  25704. end;
  25705. procedure TI2C2_I2C2CON.clearACKDT; inline;
  25706. begin
  25707. pTDefRegMap(@Self)^.clr := $00000020;
  25708. end;
  25709. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  25710. begin
  25711. if thebits = 0 then
  25712. pTDefRegMap(@Self)^.clr := $00000020
  25713. else
  25714. pTDefRegMap(@Self)^.&set := $00000020;
  25715. end;
  25716. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  25717. begin
  25718. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25719. end;
  25720. procedure TI2C2_I2C2CON.setSTREN; inline;
  25721. begin
  25722. pTDefRegMap(@Self)^.&set := $00000040;
  25723. end;
  25724. procedure TI2C2_I2C2CON.clearSTREN; inline;
  25725. begin
  25726. pTDefRegMap(@Self)^.clr := $00000040;
  25727. end;
  25728. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  25729. begin
  25730. if thebits = 0 then
  25731. pTDefRegMap(@Self)^.clr := $00000040
  25732. else
  25733. pTDefRegMap(@Self)^.&set := $00000040;
  25734. end;
  25735. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  25736. begin
  25737. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25738. end;
  25739. procedure TI2C2_I2C2CON.setGCEN; inline;
  25740. begin
  25741. pTDefRegMap(@Self)^.&set := $00000080;
  25742. end;
  25743. procedure TI2C2_I2C2CON.clearGCEN; inline;
  25744. begin
  25745. pTDefRegMap(@Self)^.clr := $00000080;
  25746. end;
  25747. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  25748. begin
  25749. if thebits = 0 then
  25750. pTDefRegMap(@Self)^.clr := $00000080
  25751. else
  25752. pTDefRegMap(@Self)^.&set := $00000080;
  25753. end;
  25754. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  25755. begin
  25756. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25757. end;
  25758. procedure TI2C2_I2C2CON.setSMEN; inline;
  25759. begin
  25760. pTDefRegMap(@Self)^.&set := $00000100;
  25761. end;
  25762. procedure TI2C2_I2C2CON.clearSMEN; inline;
  25763. begin
  25764. pTDefRegMap(@Self)^.clr := $00000100;
  25765. end;
  25766. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  25767. begin
  25768. if thebits = 0 then
  25769. pTDefRegMap(@Self)^.clr := $00000100
  25770. else
  25771. pTDefRegMap(@Self)^.&set := $00000100;
  25772. end;
  25773. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  25774. begin
  25775. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25776. end;
  25777. procedure TI2C2_I2C2CON.setDISSLW; inline;
  25778. begin
  25779. pTDefRegMap(@Self)^.&set := $00000200;
  25780. end;
  25781. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  25782. begin
  25783. pTDefRegMap(@Self)^.clr := $00000200;
  25784. end;
  25785. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  25786. begin
  25787. if thebits = 0 then
  25788. pTDefRegMap(@Self)^.clr := $00000200
  25789. else
  25790. pTDefRegMap(@Self)^.&set := $00000200;
  25791. end;
  25792. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  25793. begin
  25794. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25795. end;
  25796. procedure TI2C2_I2C2CON.setA10M; inline;
  25797. begin
  25798. pTDefRegMap(@Self)^.&set := $00000400;
  25799. end;
  25800. procedure TI2C2_I2C2CON.clearA10M; inline;
  25801. begin
  25802. pTDefRegMap(@Self)^.clr := $00000400;
  25803. end;
  25804. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  25805. begin
  25806. if thebits = 0 then
  25807. pTDefRegMap(@Self)^.clr := $00000400
  25808. else
  25809. pTDefRegMap(@Self)^.&set := $00000400;
  25810. end;
  25811. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  25812. begin
  25813. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25814. end;
  25815. procedure TI2C2_I2C2CON.setSTRICT; inline;
  25816. begin
  25817. pTDefRegMap(@Self)^.&set := $00000800;
  25818. end;
  25819. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  25820. begin
  25821. pTDefRegMap(@Self)^.clr := $00000800;
  25822. end;
  25823. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  25824. begin
  25825. if thebits = 0 then
  25826. pTDefRegMap(@Self)^.clr := $00000800
  25827. else
  25828. pTDefRegMap(@Self)^.&set := $00000800;
  25829. end;
  25830. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  25831. begin
  25832. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25833. end;
  25834. procedure TI2C2_I2C2CON.setSCLREL; inline;
  25835. begin
  25836. pTDefRegMap(@Self)^.&set := $00001000;
  25837. end;
  25838. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  25839. begin
  25840. pTDefRegMap(@Self)^.clr := $00001000;
  25841. end;
  25842. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  25843. begin
  25844. if thebits = 0 then
  25845. pTDefRegMap(@Self)^.clr := $00001000
  25846. else
  25847. pTDefRegMap(@Self)^.&set := $00001000;
  25848. end;
  25849. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  25850. begin
  25851. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25852. end;
  25853. procedure TI2C2_I2C2CON.setSIDL; inline;
  25854. begin
  25855. pTDefRegMap(@Self)^.&set := $00002000;
  25856. end;
  25857. procedure TI2C2_I2C2CON.clearSIDL; inline;
  25858. begin
  25859. pTDefRegMap(@Self)^.clr := $00002000;
  25860. end;
  25861. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  25862. begin
  25863. if thebits = 0 then
  25864. pTDefRegMap(@Self)^.clr := $00002000
  25865. else
  25866. pTDefRegMap(@Self)^.&set := $00002000;
  25867. end;
  25868. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  25869. begin
  25870. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25871. end;
  25872. procedure TI2C2_I2C2CON.setON; inline;
  25873. begin
  25874. pTDefRegMap(@Self)^.&set := $00008000;
  25875. end;
  25876. procedure TI2C2_I2C2CON.clearON; inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.clr := $00008000;
  25879. end;
  25880. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  25881. begin
  25882. if thebits = 0 then
  25883. pTDefRegMap(@Self)^.clr := $00008000
  25884. else
  25885. pTDefRegMap(@Self)^.&set := $00008000;
  25886. end;
  25887. function TI2C2_I2C2CON.getON : TBits_1; inline;
  25888. begin
  25889. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25890. end;
  25891. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  25892. begin
  25893. pTDefRegMap(@Self)^.&set := $00000800;
  25894. end;
  25895. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  25896. begin
  25897. pTDefRegMap(@Self)^.clr := $00000800;
  25898. end;
  25899. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  25900. begin
  25901. if thebits = 0 then
  25902. pTDefRegMap(@Self)^.clr := $00000800
  25903. else
  25904. pTDefRegMap(@Self)^.&set := $00000800;
  25905. end;
  25906. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  25907. begin
  25908. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25909. end;
  25910. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  25911. begin
  25912. pTDefRegMap(@Self)^.&set := $00002000;
  25913. end;
  25914. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  25915. begin
  25916. pTDefRegMap(@Self)^.clr := $00002000;
  25917. end;
  25918. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  25919. begin
  25920. if thebits = 0 then
  25921. pTDefRegMap(@Self)^.clr := $00002000
  25922. else
  25923. pTDefRegMap(@Self)^.&set := $00002000;
  25924. end;
  25925. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  25926. begin
  25927. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25928. end;
  25929. procedure TI2C2_I2C2CON.setI2CEN; inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.&set := $00008000;
  25932. end;
  25933. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  25934. begin
  25935. pTDefRegMap(@Self)^.clr := $00008000;
  25936. end;
  25937. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  25938. begin
  25939. if thebits = 0 then
  25940. pTDefRegMap(@Self)^.clr := $00008000
  25941. else
  25942. pTDefRegMap(@Self)^.&set := $00008000;
  25943. end;
  25944. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  25945. begin
  25946. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25947. end;
  25948. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  25949. begin
  25950. pTDefRegMap(@Self)^.val := thebits;
  25951. end;
  25952. function TI2C2_I2C2CON.getw : TBits_32; inline;
  25953. begin
  25954. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25955. end;
  25956. procedure TI2C2_I2C2STAT.setTBF; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.&set := $00000001;
  25959. end;
  25960. procedure TI2C2_I2C2STAT.clearTBF; inline;
  25961. begin
  25962. pTDefRegMap(@Self)^.clr := $00000001;
  25963. end;
  25964. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  25965. begin
  25966. if thebits = 0 then
  25967. pTDefRegMap(@Self)^.clr := $00000001
  25968. else
  25969. pTDefRegMap(@Self)^.&set := $00000001;
  25970. end;
  25971. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  25972. begin
  25973. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25974. end;
  25975. procedure TI2C2_I2C2STAT.setRBF; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.&set := $00000002;
  25978. end;
  25979. procedure TI2C2_I2C2STAT.clearRBF; inline;
  25980. begin
  25981. pTDefRegMap(@Self)^.clr := $00000002;
  25982. end;
  25983. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  25984. begin
  25985. if thebits = 0 then
  25986. pTDefRegMap(@Self)^.clr := $00000002
  25987. else
  25988. pTDefRegMap(@Self)^.&set := $00000002;
  25989. end;
  25990. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  25991. begin
  25992. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25993. end;
  25994. procedure TI2C2_I2C2STAT.setR_W; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.&set := $00000004;
  25997. end;
  25998. procedure TI2C2_I2C2STAT.clearR_W; inline;
  25999. begin
  26000. pTDefRegMap(@Self)^.clr := $00000004;
  26001. end;
  26002. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  26003. begin
  26004. if thebits = 0 then
  26005. pTDefRegMap(@Self)^.clr := $00000004
  26006. else
  26007. pTDefRegMap(@Self)^.&set := $00000004;
  26008. end;
  26009. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  26010. begin
  26011. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26012. end;
  26013. procedure TI2C2_I2C2STAT.setS; inline;
  26014. begin
  26015. pTDefRegMap(@Self)^.&set := $00000008;
  26016. end;
  26017. procedure TI2C2_I2C2STAT.clearS; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.clr := $00000008;
  26020. end;
  26021. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  26022. begin
  26023. if thebits = 0 then
  26024. pTDefRegMap(@Self)^.clr := $00000008
  26025. else
  26026. pTDefRegMap(@Self)^.&set := $00000008;
  26027. end;
  26028. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  26029. begin
  26030. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26031. end;
  26032. procedure TI2C2_I2C2STAT.setP; inline;
  26033. begin
  26034. pTDefRegMap(@Self)^.&set := $00000010;
  26035. end;
  26036. procedure TI2C2_I2C2STAT.clearP; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.clr := $00000010;
  26039. end;
  26040. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  26041. begin
  26042. if thebits = 0 then
  26043. pTDefRegMap(@Self)^.clr := $00000010
  26044. else
  26045. pTDefRegMap(@Self)^.&set := $00000010;
  26046. end;
  26047. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  26048. begin
  26049. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26050. end;
  26051. procedure TI2C2_I2C2STAT.setD_A; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.&set := $00000020;
  26054. end;
  26055. procedure TI2C2_I2C2STAT.clearD_A; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.clr := $00000020;
  26058. end;
  26059. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  26060. begin
  26061. if thebits = 0 then
  26062. pTDefRegMap(@Self)^.clr := $00000020
  26063. else
  26064. pTDefRegMap(@Self)^.&set := $00000020;
  26065. end;
  26066. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  26067. begin
  26068. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26069. end;
  26070. procedure TI2C2_I2C2STAT.setI2COV; inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.&set := $00000040;
  26073. end;
  26074. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.clr := $00000040;
  26077. end;
  26078. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  26079. begin
  26080. if thebits = 0 then
  26081. pTDefRegMap(@Self)^.clr := $00000040
  26082. else
  26083. pTDefRegMap(@Self)^.&set := $00000040;
  26084. end;
  26085. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  26086. begin
  26087. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26088. end;
  26089. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  26090. begin
  26091. pTDefRegMap(@Self)^.&set := $00000080;
  26092. end;
  26093. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  26094. begin
  26095. pTDefRegMap(@Self)^.clr := $00000080;
  26096. end;
  26097. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  26098. begin
  26099. if thebits = 0 then
  26100. pTDefRegMap(@Self)^.clr := $00000080
  26101. else
  26102. pTDefRegMap(@Self)^.&set := $00000080;
  26103. end;
  26104. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  26105. begin
  26106. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26107. end;
  26108. procedure TI2C2_I2C2STAT.setADD10; inline;
  26109. begin
  26110. pTDefRegMap(@Self)^.&set := $00000100;
  26111. end;
  26112. procedure TI2C2_I2C2STAT.clearADD10; inline;
  26113. begin
  26114. pTDefRegMap(@Self)^.clr := $00000100;
  26115. end;
  26116. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  26117. begin
  26118. if thebits = 0 then
  26119. pTDefRegMap(@Self)^.clr := $00000100
  26120. else
  26121. pTDefRegMap(@Self)^.&set := $00000100;
  26122. end;
  26123. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  26124. begin
  26125. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26126. end;
  26127. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  26128. begin
  26129. pTDefRegMap(@Self)^.&set := $00000200;
  26130. end;
  26131. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  26132. begin
  26133. pTDefRegMap(@Self)^.clr := $00000200;
  26134. end;
  26135. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  26136. begin
  26137. if thebits = 0 then
  26138. pTDefRegMap(@Self)^.clr := $00000200
  26139. else
  26140. pTDefRegMap(@Self)^.&set := $00000200;
  26141. end;
  26142. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  26143. begin
  26144. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26145. end;
  26146. procedure TI2C2_I2C2STAT.setBCL; inline;
  26147. begin
  26148. pTDefRegMap(@Self)^.&set := $00000400;
  26149. end;
  26150. procedure TI2C2_I2C2STAT.clearBCL; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.clr := $00000400;
  26153. end;
  26154. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  26155. begin
  26156. if thebits = 0 then
  26157. pTDefRegMap(@Self)^.clr := $00000400
  26158. else
  26159. pTDefRegMap(@Self)^.&set := $00000400;
  26160. end;
  26161. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  26162. begin
  26163. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26164. end;
  26165. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  26166. begin
  26167. pTDefRegMap(@Self)^.&set := $00004000;
  26168. end;
  26169. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.clr := $00004000;
  26172. end;
  26173. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  26174. begin
  26175. if thebits = 0 then
  26176. pTDefRegMap(@Self)^.clr := $00004000
  26177. else
  26178. pTDefRegMap(@Self)^.&set := $00004000;
  26179. end;
  26180. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  26181. begin
  26182. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26183. end;
  26184. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  26185. begin
  26186. pTDefRegMap(@Self)^.&set := $00008000;
  26187. end;
  26188. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.clr := $00008000;
  26191. end;
  26192. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  26193. begin
  26194. if thebits = 0 then
  26195. pTDefRegMap(@Self)^.clr := $00008000
  26196. else
  26197. pTDefRegMap(@Self)^.&set := $00008000;
  26198. end;
  26199. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  26200. begin
  26201. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26202. end;
  26203. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  26204. begin
  26205. pTDefRegMap(@Self)^.&set := $00000040;
  26206. end;
  26207. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.clr := $00000040;
  26210. end;
  26211. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  26212. begin
  26213. if thebits = 0 then
  26214. pTDefRegMap(@Self)^.clr := $00000040
  26215. else
  26216. pTDefRegMap(@Self)^.&set := $00000040;
  26217. end;
  26218. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  26219. begin
  26220. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26221. end;
  26222. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  26223. begin
  26224. pTDefRegMap(@Self)^.val := thebits;
  26225. end;
  26226. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  26227. begin
  26228. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26229. end;
  26230. procedure TSPI3_SPI1ACON.setSRXISEL(thebits : TBits_2); inline;
  26231. begin
  26232. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26233. end;
  26234. function TSPI3_SPI1ACON.getSRXISEL : TBits_2; inline;
  26235. begin
  26236. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26237. end;
  26238. procedure TSPI3_SPI1ACON.setSTXISEL(thebits : TBits_2); inline;
  26239. begin
  26240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26241. end;
  26242. function TSPI3_SPI1ACON.getSTXISEL : TBits_2; inline;
  26243. begin
  26244. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26245. end;
  26246. procedure TSPI3_SPI1ACON.setMSTEN; inline;
  26247. begin
  26248. pTDefRegMap(@Self)^.&set := $00000020;
  26249. end;
  26250. procedure TSPI3_SPI1ACON.clearMSTEN; inline;
  26251. begin
  26252. pTDefRegMap(@Self)^.clr := $00000020;
  26253. end;
  26254. procedure TSPI3_SPI1ACON.setMSTEN(thebits : TBits_1); inline;
  26255. begin
  26256. if thebits = 0 then
  26257. pTDefRegMap(@Self)^.clr := $00000020
  26258. else
  26259. pTDefRegMap(@Self)^.&set := $00000020;
  26260. end;
  26261. function TSPI3_SPI1ACON.getMSTEN : TBits_1; inline;
  26262. begin
  26263. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26264. end;
  26265. procedure TSPI3_SPI1ACON.setCKP; inline;
  26266. begin
  26267. pTDefRegMap(@Self)^.&set := $00000040;
  26268. end;
  26269. procedure TSPI3_SPI1ACON.clearCKP; inline;
  26270. begin
  26271. pTDefRegMap(@Self)^.clr := $00000040;
  26272. end;
  26273. procedure TSPI3_SPI1ACON.setCKP(thebits : TBits_1); inline;
  26274. begin
  26275. if thebits = 0 then
  26276. pTDefRegMap(@Self)^.clr := $00000040
  26277. else
  26278. pTDefRegMap(@Self)^.&set := $00000040;
  26279. end;
  26280. function TSPI3_SPI1ACON.getCKP : TBits_1; inline;
  26281. begin
  26282. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26283. end;
  26284. procedure TSPI3_SPI1ACON.setSSEN; inline;
  26285. begin
  26286. pTDefRegMap(@Self)^.&set := $00000080;
  26287. end;
  26288. procedure TSPI3_SPI1ACON.clearSSEN; inline;
  26289. begin
  26290. pTDefRegMap(@Self)^.clr := $00000080;
  26291. end;
  26292. procedure TSPI3_SPI1ACON.setSSEN(thebits : TBits_1); inline;
  26293. begin
  26294. if thebits = 0 then
  26295. pTDefRegMap(@Self)^.clr := $00000080
  26296. else
  26297. pTDefRegMap(@Self)^.&set := $00000080;
  26298. end;
  26299. function TSPI3_SPI1ACON.getSSEN : TBits_1; inline;
  26300. begin
  26301. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26302. end;
  26303. procedure TSPI3_SPI1ACON.setCKE; inline;
  26304. begin
  26305. pTDefRegMap(@Self)^.&set := $00000100;
  26306. end;
  26307. procedure TSPI3_SPI1ACON.clearCKE; inline;
  26308. begin
  26309. pTDefRegMap(@Self)^.clr := $00000100;
  26310. end;
  26311. procedure TSPI3_SPI1ACON.setCKE(thebits : TBits_1); inline;
  26312. begin
  26313. if thebits = 0 then
  26314. pTDefRegMap(@Self)^.clr := $00000100
  26315. else
  26316. pTDefRegMap(@Self)^.&set := $00000100;
  26317. end;
  26318. function TSPI3_SPI1ACON.getCKE : TBits_1; inline;
  26319. begin
  26320. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26321. end;
  26322. procedure TSPI3_SPI1ACON.setSMP; inline;
  26323. begin
  26324. pTDefRegMap(@Self)^.&set := $00000200;
  26325. end;
  26326. procedure TSPI3_SPI1ACON.clearSMP; inline;
  26327. begin
  26328. pTDefRegMap(@Self)^.clr := $00000200;
  26329. end;
  26330. procedure TSPI3_SPI1ACON.setSMP(thebits : TBits_1); inline;
  26331. begin
  26332. if thebits = 0 then
  26333. pTDefRegMap(@Self)^.clr := $00000200
  26334. else
  26335. pTDefRegMap(@Self)^.&set := $00000200;
  26336. end;
  26337. function TSPI3_SPI1ACON.getSMP : TBits_1; inline;
  26338. begin
  26339. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26340. end;
  26341. procedure TSPI3_SPI1ACON.setMODE16; inline;
  26342. begin
  26343. pTDefRegMap(@Self)^.&set := $00000400;
  26344. end;
  26345. procedure TSPI3_SPI1ACON.clearMODE16; inline;
  26346. begin
  26347. pTDefRegMap(@Self)^.clr := $00000400;
  26348. end;
  26349. procedure TSPI3_SPI1ACON.setMODE16(thebits : TBits_1); inline;
  26350. begin
  26351. if thebits = 0 then
  26352. pTDefRegMap(@Self)^.clr := $00000400
  26353. else
  26354. pTDefRegMap(@Self)^.&set := $00000400;
  26355. end;
  26356. function TSPI3_SPI1ACON.getMODE16 : TBits_1; inline;
  26357. begin
  26358. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26359. end;
  26360. procedure TSPI3_SPI1ACON.setMODE32; inline;
  26361. begin
  26362. pTDefRegMap(@Self)^.&set := $00000800;
  26363. end;
  26364. procedure TSPI3_SPI1ACON.clearMODE32; inline;
  26365. begin
  26366. pTDefRegMap(@Self)^.clr := $00000800;
  26367. end;
  26368. procedure TSPI3_SPI1ACON.setMODE32(thebits : TBits_1); inline;
  26369. begin
  26370. if thebits = 0 then
  26371. pTDefRegMap(@Self)^.clr := $00000800
  26372. else
  26373. pTDefRegMap(@Self)^.&set := $00000800;
  26374. end;
  26375. function TSPI3_SPI1ACON.getMODE32 : TBits_1; inline;
  26376. begin
  26377. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26378. end;
  26379. procedure TSPI3_SPI1ACON.setDISSDO; inline;
  26380. begin
  26381. pTDefRegMap(@Self)^.&set := $00001000;
  26382. end;
  26383. procedure TSPI3_SPI1ACON.clearDISSDO; inline;
  26384. begin
  26385. pTDefRegMap(@Self)^.clr := $00001000;
  26386. end;
  26387. procedure TSPI3_SPI1ACON.setDISSDO(thebits : TBits_1); inline;
  26388. begin
  26389. if thebits = 0 then
  26390. pTDefRegMap(@Self)^.clr := $00001000
  26391. else
  26392. pTDefRegMap(@Self)^.&set := $00001000;
  26393. end;
  26394. function TSPI3_SPI1ACON.getDISSDO : TBits_1; inline;
  26395. begin
  26396. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26397. end;
  26398. procedure TSPI3_SPI1ACON.setSIDL; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.&set := $00002000;
  26401. end;
  26402. procedure TSPI3_SPI1ACON.clearSIDL; inline;
  26403. begin
  26404. pTDefRegMap(@Self)^.clr := $00002000;
  26405. end;
  26406. procedure TSPI3_SPI1ACON.setSIDL(thebits : TBits_1); inline;
  26407. begin
  26408. if thebits = 0 then
  26409. pTDefRegMap(@Self)^.clr := $00002000
  26410. else
  26411. pTDefRegMap(@Self)^.&set := $00002000;
  26412. end;
  26413. function TSPI3_SPI1ACON.getSIDL : TBits_1; inline;
  26414. begin
  26415. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26416. end;
  26417. procedure TSPI3_SPI1ACON.setON; inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.&set := $00008000;
  26420. end;
  26421. procedure TSPI3_SPI1ACON.clearON; inline;
  26422. begin
  26423. pTDefRegMap(@Self)^.clr := $00008000;
  26424. end;
  26425. procedure TSPI3_SPI1ACON.setON(thebits : TBits_1); inline;
  26426. begin
  26427. if thebits = 0 then
  26428. pTDefRegMap(@Self)^.clr := $00008000
  26429. else
  26430. pTDefRegMap(@Self)^.&set := $00008000;
  26431. end;
  26432. function TSPI3_SPI1ACON.getON : TBits_1; inline;
  26433. begin
  26434. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26435. end;
  26436. procedure TSPI3_SPI1ACON.setENHBUF; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.&set := $00010000;
  26439. end;
  26440. procedure TSPI3_SPI1ACON.clearENHBUF; inline;
  26441. begin
  26442. pTDefRegMap(@Self)^.clr := $00010000;
  26443. end;
  26444. procedure TSPI3_SPI1ACON.setENHBUF(thebits : TBits_1); inline;
  26445. begin
  26446. if thebits = 0 then
  26447. pTDefRegMap(@Self)^.clr := $00010000
  26448. else
  26449. pTDefRegMap(@Self)^.&set := $00010000;
  26450. end;
  26451. function TSPI3_SPI1ACON.getENHBUF : TBits_1; inline;
  26452. begin
  26453. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26454. end;
  26455. procedure TSPI3_SPI1ACON.setSPIFE; inline;
  26456. begin
  26457. pTDefRegMap(@Self)^.&set := $00020000;
  26458. end;
  26459. procedure TSPI3_SPI1ACON.clearSPIFE; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.clr := $00020000;
  26462. end;
  26463. procedure TSPI3_SPI1ACON.setSPIFE(thebits : TBits_1); inline;
  26464. begin
  26465. if thebits = 0 then
  26466. pTDefRegMap(@Self)^.clr := $00020000
  26467. else
  26468. pTDefRegMap(@Self)^.&set := $00020000;
  26469. end;
  26470. function TSPI3_SPI1ACON.getSPIFE : TBits_1; inline;
  26471. begin
  26472. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26473. end;
  26474. procedure TSPI3_SPI1ACON.setFRMCNT(thebits : TBits_3); inline;
  26475. begin
  26476. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26477. end;
  26478. function TSPI3_SPI1ACON.getFRMCNT : TBits_3; inline;
  26479. begin
  26480. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26481. end;
  26482. procedure TSPI3_SPI1ACON.setFRMSYPW; inline;
  26483. begin
  26484. pTDefRegMap(@Self)^.&set := $08000000;
  26485. end;
  26486. procedure TSPI3_SPI1ACON.clearFRMSYPW; inline;
  26487. begin
  26488. pTDefRegMap(@Self)^.clr := $08000000;
  26489. end;
  26490. procedure TSPI3_SPI1ACON.setFRMSYPW(thebits : TBits_1); inline;
  26491. begin
  26492. if thebits = 0 then
  26493. pTDefRegMap(@Self)^.clr := $08000000
  26494. else
  26495. pTDefRegMap(@Self)^.&set := $08000000;
  26496. end;
  26497. function TSPI3_SPI1ACON.getFRMSYPW : TBits_1; inline;
  26498. begin
  26499. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26500. end;
  26501. procedure TSPI3_SPI1ACON.setMSSEN; inline;
  26502. begin
  26503. pTDefRegMap(@Self)^.&set := $10000000;
  26504. end;
  26505. procedure TSPI3_SPI1ACON.clearMSSEN; inline;
  26506. begin
  26507. pTDefRegMap(@Self)^.clr := $10000000;
  26508. end;
  26509. procedure TSPI3_SPI1ACON.setMSSEN(thebits : TBits_1); inline;
  26510. begin
  26511. if thebits = 0 then
  26512. pTDefRegMap(@Self)^.clr := $10000000
  26513. else
  26514. pTDefRegMap(@Self)^.&set := $10000000;
  26515. end;
  26516. function TSPI3_SPI1ACON.getMSSEN : TBits_1; inline;
  26517. begin
  26518. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26519. end;
  26520. procedure TSPI3_SPI1ACON.setFRMPOL; inline;
  26521. begin
  26522. pTDefRegMap(@Self)^.&set := $20000000;
  26523. end;
  26524. procedure TSPI3_SPI1ACON.clearFRMPOL; inline;
  26525. begin
  26526. pTDefRegMap(@Self)^.clr := $20000000;
  26527. end;
  26528. procedure TSPI3_SPI1ACON.setFRMPOL(thebits : TBits_1); inline;
  26529. begin
  26530. if thebits = 0 then
  26531. pTDefRegMap(@Self)^.clr := $20000000
  26532. else
  26533. pTDefRegMap(@Self)^.&set := $20000000;
  26534. end;
  26535. function TSPI3_SPI1ACON.getFRMPOL : TBits_1; inline;
  26536. begin
  26537. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26538. end;
  26539. procedure TSPI3_SPI1ACON.setFRMSYNC; inline;
  26540. begin
  26541. pTDefRegMap(@Self)^.&set := $40000000;
  26542. end;
  26543. procedure TSPI3_SPI1ACON.clearFRMSYNC; inline;
  26544. begin
  26545. pTDefRegMap(@Self)^.clr := $40000000;
  26546. end;
  26547. procedure TSPI3_SPI1ACON.setFRMSYNC(thebits : TBits_1); inline;
  26548. begin
  26549. if thebits = 0 then
  26550. pTDefRegMap(@Self)^.clr := $40000000
  26551. else
  26552. pTDefRegMap(@Self)^.&set := $40000000;
  26553. end;
  26554. function TSPI3_SPI1ACON.getFRMSYNC : TBits_1; inline;
  26555. begin
  26556. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26557. end;
  26558. procedure TSPI3_SPI1ACON.setFRMEN; inline;
  26559. begin
  26560. pTDefRegMap(@Self)^.&set := $80000000;
  26561. end;
  26562. procedure TSPI3_SPI1ACON.clearFRMEN; inline;
  26563. begin
  26564. pTDefRegMap(@Self)^.clr := $80000000;
  26565. end;
  26566. procedure TSPI3_SPI1ACON.setFRMEN(thebits : TBits_1); inline;
  26567. begin
  26568. if thebits = 0 then
  26569. pTDefRegMap(@Self)^.clr := $80000000
  26570. else
  26571. pTDefRegMap(@Self)^.&set := $80000000;
  26572. end;
  26573. function TSPI3_SPI1ACON.getFRMEN : TBits_1; inline;
  26574. begin
  26575. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26576. end;
  26577. procedure TSPI3_SPI1ACON.setw(thebits : TBits_32); inline;
  26578. begin
  26579. pTDefRegMap(@Self)^.val := thebits;
  26580. end;
  26581. function TSPI3_SPI1ACON.getw : TBits_32; inline;
  26582. begin
  26583. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26584. end;
  26585. procedure TSPI3_SPI3CON.setSRXISEL(thebits : TBits_2); inline;
  26586. begin
  26587. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26588. end;
  26589. function TSPI3_SPI3CON.getSRXISEL : TBits_2; inline;
  26590. begin
  26591. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26592. end;
  26593. procedure TSPI3_SPI3CON.setSTXISEL(thebits : TBits_2); inline;
  26594. begin
  26595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26596. end;
  26597. function TSPI3_SPI3CON.getSTXISEL : TBits_2; inline;
  26598. begin
  26599. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26600. end;
  26601. procedure TSPI3_SPI3CON.setMSTEN; inline;
  26602. begin
  26603. pTDefRegMap(@Self)^.&set := $00000020;
  26604. end;
  26605. procedure TSPI3_SPI3CON.clearMSTEN; inline;
  26606. begin
  26607. pTDefRegMap(@Self)^.clr := $00000020;
  26608. end;
  26609. procedure TSPI3_SPI3CON.setMSTEN(thebits : TBits_1); inline;
  26610. begin
  26611. if thebits = 0 then
  26612. pTDefRegMap(@Self)^.clr := $00000020
  26613. else
  26614. pTDefRegMap(@Self)^.&set := $00000020;
  26615. end;
  26616. function TSPI3_SPI3CON.getMSTEN : TBits_1; inline;
  26617. begin
  26618. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26619. end;
  26620. procedure TSPI3_SPI3CON.setCKP; inline;
  26621. begin
  26622. pTDefRegMap(@Self)^.&set := $00000040;
  26623. end;
  26624. procedure TSPI3_SPI3CON.clearCKP; inline;
  26625. begin
  26626. pTDefRegMap(@Self)^.clr := $00000040;
  26627. end;
  26628. procedure TSPI3_SPI3CON.setCKP(thebits : TBits_1); inline;
  26629. begin
  26630. if thebits = 0 then
  26631. pTDefRegMap(@Self)^.clr := $00000040
  26632. else
  26633. pTDefRegMap(@Self)^.&set := $00000040;
  26634. end;
  26635. function TSPI3_SPI3CON.getCKP : TBits_1; inline;
  26636. begin
  26637. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26638. end;
  26639. procedure TSPI3_SPI3CON.setSSEN; inline;
  26640. begin
  26641. pTDefRegMap(@Self)^.&set := $00000080;
  26642. end;
  26643. procedure TSPI3_SPI3CON.clearSSEN; inline;
  26644. begin
  26645. pTDefRegMap(@Self)^.clr := $00000080;
  26646. end;
  26647. procedure TSPI3_SPI3CON.setSSEN(thebits : TBits_1); inline;
  26648. begin
  26649. if thebits = 0 then
  26650. pTDefRegMap(@Self)^.clr := $00000080
  26651. else
  26652. pTDefRegMap(@Self)^.&set := $00000080;
  26653. end;
  26654. function TSPI3_SPI3CON.getSSEN : TBits_1; inline;
  26655. begin
  26656. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26657. end;
  26658. procedure TSPI3_SPI3CON.setCKE; inline;
  26659. begin
  26660. pTDefRegMap(@Self)^.&set := $00000100;
  26661. end;
  26662. procedure TSPI3_SPI3CON.clearCKE; inline;
  26663. begin
  26664. pTDefRegMap(@Self)^.clr := $00000100;
  26665. end;
  26666. procedure TSPI3_SPI3CON.setCKE(thebits : TBits_1); inline;
  26667. begin
  26668. if thebits = 0 then
  26669. pTDefRegMap(@Self)^.clr := $00000100
  26670. else
  26671. pTDefRegMap(@Self)^.&set := $00000100;
  26672. end;
  26673. function TSPI3_SPI3CON.getCKE : TBits_1; inline;
  26674. begin
  26675. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26676. end;
  26677. procedure TSPI3_SPI3CON.setSMP; inline;
  26678. begin
  26679. pTDefRegMap(@Self)^.&set := $00000200;
  26680. end;
  26681. procedure TSPI3_SPI3CON.clearSMP; inline;
  26682. begin
  26683. pTDefRegMap(@Self)^.clr := $00000200;
  26684. end;
  26685. procedure TSPI3_SPI3CON.setSMP(thebits : TBits_1); inline;
  26686. begin
  26687. if thebits = 0 then
  26688. pTDefRegMap(@Self)^.clr := $00000200
  26689. else
  26690. pTDefRegMap(@Self)^.&set := $00000200;
  26691. end;
  26692. function TSPI3_SPI3CON.getSMP : TBits_1; inline;
  26693. begin
  26694. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26695. end;
  26696. procedure TSPI3_SPI3CON.setMODE16; inline;
  26697. begin
  26698. pTDefRegMap(@Self)^.&set := $00000400;
  26699. end;
  26700. procedure TSPI3_SPI3CON.clearMODE16; inline;
  26701. begin
  26702. pTDefRegMap(@Self)^.clr := $00000400;
  26703. end;
  26704. procedure TSPI3_SPI3CON.setMODE16(thebits : TBits_1); inline;
  26705. begin
  26706. if thebits = 0 then
  26707. pTDefRegMap(@Self)^.clr := $00000400
  26708. else
  26709. pTDefRegMap(@Self)^.&set := $00000400;
  26710. end;
  26711. function TSPI3_SPI3CON.getMODE16 : TBits_1; inline;
  26712. begin
  26713. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26714. end;
  26715. procedure TSPI3_SPI3CON.setMODE32; inline;
  26716. begin
  26717. pTDefRegMap(@Self)^.&set := $00000800;
  26718. end;
  26719. procedure TSPI3_SPI3CON.clearMODE32; inline;
  26720. begin
  26721. pTDefRegMap(@Self)^.clr := $00000800;
  26722. end;
  26723. procedure TSPI3_SPI3CON.setMODE32(thebits : TBits_1); inline;
  26724. begin
  26725. if thebits = 0 then
  26726. pTDefRegMap(@Self)^.clr := $00000800
  26727. else
  26728. pTDefRegMap(@Self)^.&set := $00000800;
  26729. end;
  26730. function TSPI3_SPI3CON.getMODE32 : TBits_1; inline;
  26731. begin
  26732. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26733. end;
  26734. procedure TSPI3_SPI3CON.setDISSDO; inline;
  26735. begin
  26736. pTDefRegMap(@Self)^.&set := $00001000;
  26737. end;
  26738. procedure TSPI3_SPI3CON.clearDISSDO; inline;
  26739. begin
  26740. pTDefRegMap(@Self)^.clr := $00001000;
  26741. end;
  26742. procedure TSPI3_SPI3CON.setDISSDO(thebits : TBits_1); inline;
  26743. begin
  26744. if thebits = 0 then
  26745. pTDefRegMap(@Self)^.clr := $00001000
  26746. else
  26747. pTDefRegMap(@Self)^.&set := $00001000;
  26748. end;
  26749. function TSPI3_SPI3CON.getDISSDO : TBits_1; inline;
  26750. begin
  26751. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26752. end;
  26753. procedure TSPI3_SPI3CON.setSIDL; inline;
  26754. begin
  26755. pTDefRegMap(@Self)^.&set := $00002000;
  26756. end;
  26757. procedure TSPI3_SPI3CON.clearSIDL; inline;
  26758. begin
  26759. pTDefRegMap(@Self)^.clr := $00002000;
  26760. end;
  26761. procedure TSPI3_SPI3CON.setSIDL(thebits : TBits_1); inline;
  26762. begin
  26763. if thebits = 0 then
  26764. pTDefRegMap(@Self)^.clr := $00002000
  26765. else
  26766. pTDefRegMap(@Self)^.&set := $00002000;
  26767. end;
  26768. function TSPI3_SPI3CON.getSIDL : TBits_1; inline;
  26769. begin
  26770. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26771. end;
  26772. procedure TSPI3_SPI3CON.setON; inline;
  26773. begin
  26774. pTDefRegMap(@Self)^.&set := $00008000;
  26775. end;
  26776. procedure TSPI3_SPI3CON.clearON; inline;
  26777. begin
  26778. pTDefRegMap(@Self)^.clr := $00008000;
  26779. end;
  26780. procedure TSPI3_SPI3CON.setON(thebits : TBits_1); inline;
  26781. begin
  26782. if thebits = 0 then
  26783. pTDefRegMap(@Self)^.clr := $00008000
  26784. else
  26785. pTDefRegMap(@Self)^.&set := $00008000;
  26786. end;
  26787. function TSPI3_SPI3CON.getON : TBits_1; inline;
  26788. begin
  26789. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26790. end;
  26791. procedure TSPI3_SPI3CON.setENHBUF; inline;
  26792. begin
  26793. pTDefRegMap(@Self)^.&set := $00010000;
  26794. end;
  26795. procedure TSPI3_SPI3CON.clearENHBUF; inline;
  26796. begin
  26797. pTDefRegMap(@Self)^.clr := $00010000;
  26798. end;
  26799. procedure TSPI3_SPI3CON.setENHBUF(thebits : TBits_1); inline;
  26800. begin
  26801. if thebits = 0 then
  26802. pTDefRegMap(@Self)^.clr := $00010000
  26803. else
  26804. pTDefRegMap(@Self)^.&set := $00010000;
  26805. end;
  26806. function TSPI3_SPI3CON.getENHBUF : TBits_1; inline;
  26807. begin
  26808. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26809. end;
  26810. procedure TSPI3_SPI3CON.setSPIFE; inline;
  26811. begin
  26812. pTDefRegMap(@Self)^.&set := $00020000;
  26813. end;
  26814. procedure TSPI3_SPI3CON.clearSPIFE; inline;
  26815. begin
  26816. pTDefRegMap(@Self)^.clr := $00020000;
  26817. end;
  26818. procedure TSPI3_SPI3CON.setSPIFE(thebits : TBits_1); inline;
  26819. begin
  26820. if thebits = 0 then
  26821. pTDefRegMap(@Self)^.clr := $00020000
  26822. else
  26823. pTDefRegMap(@Self)^.&set := $00020000;
  26824. end;
  26825. function TSPI3_SPI3CON.getSPIFE : TBits_1; inline;
  26826. begin
  26827. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26828. end;
  26829. procedure TSPI3_SPI3CON.setFRMCNT(thebits : TBits_3); inline;
  26830. begin
  26831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26832. end;
  26833. function TSPI3_SPI3CON.getFRMCNT : TBits_3; inline;
  26834. begin
  26835. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26836. end;
  26837. procedure TSPI3_SPI3CON.setFRMSYPW; inline;
  26838. begin
  26839. pTDefRegMap(@Self)^.&set := $08000000;
  26840. end;
  26841. procedure TSPI3_SPI3CON.clearFRMSYPW; inline;
  26842. begin
  26843. pTDefRegMap(@Self)^.clr := $08000000;
  26844. end;
  26845. procedure TSPI3_SPI3CON.setFRMSYPW(thebits : TBits_1); inline;
  26846. begin
  26847. if thebits = 0 then
  26848. pTDefRegMap(@Self)^.clr := $08000000
  26849. else
  26850. pTDefRegMap(@Self)^.&set := $08000000;
  26851. end;
  26852. function TSPI3_SPI3CON.getFRMSYPW : TBits_1; inline;
  26853. begin
  26854. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26855. end;
  26856. procedure TSPI3_SPI3CON.setMSSEN; inline;
  26857. begin
  26858. pTDefRegMap(@Self)^.&set := $10000000;
  26859. end;
  26860. procedure TSPI3_SPI3CON.clearMSSEN; inline;
  26861. begin
  26862. pTDefRegMap(@Self)^.clr := $10000000;
  26863. end;
  26864. procedure TSPI3_SPI3CON.setMSSEN(thebits : TBits_1); inline;
  26865. begin
  26866. if thebits = 0 then
  26867. pTDefRegMap(@Self)^.clr := $10000000
  26868. else
  26869. pTDefRegMap(@Self)^.&set := $10000000;
  26870. end;
  26871. function TSPI3_SPI3CON.getMSSEN : TBits_1; inline;
  26872. begin
  26873. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26874. end;
  26875. procedure TSPI3_SPI3CON.setFRMPOL; inline;
  26876. begin
  26877. pTDefRegMap(@Self)^.&set := $20000000;
  26878. end;
  26879. procedure TSPI3_SPI3CON.clearFRMPOL; inline;
  26880. begin
  26881. pTDefRegMap(@Self)^.clr := $20000000;
  26882. end;
  26883. procedure TSPI3_SPI3CON.setFRMPOL(thebits : TBits_1); inline;
  26884. begin
  26885. if thebits = 0 then
  26886. pTDefRegMap(@Self)^.clr := $20000000
  26887. else
  26888. pTDefRegMap(@Self)^.&set := $20000000;
  26889. end;
  26890. function TSPI3_SPI3CON.getFRMPOL : TBits_1; inline;
  26891. begin
  26892. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26893. end;
  26894. procedure TSPI3_SPI3CON.setFRMSYNC; inline;
  26895. begin
  26896. pTDefRegMap(@Self)^.&set := $40000000;
  26897. end;
  26898. procedure TSPI3_SPI3CON.clearFRMSYNC; inline;
  26899. begin
  26900. pTDefRegMap(@Self)^.clr := $40000000;
  26901. end;
  26902. procedure TSPI3_SPI3CON.setFRMSYNC(thebits : TBits_1); inline;
  26903. begin
  26904. if thebits = 0 then
  26905. pTDefRegMap(@Self)^.clr := $40000000
  26906. else
  26907. pTDefRegMap(@Self)^.&set := $40000000;
  26908. end;
  26909. function TSPI3_SPI3CON.getFRMSYNC : TBits_1; inline;
  26910. begin
  26911. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26912. end;
  26913. procedure TSPI3_SPI3CON.setFRMEN; inline;
  26914. begin
  26915. pTDefRegMap(@Self)^.&set := $80000000;
  26916. end;
  26917. procedure TSPI3_SPI3CON.clearFRMEN; inline;
  26918. begin
  26919. pTDefRegMap(@Self)^.clr := $80000000;
  26920. end;
  26921. procedure TSPI3_SPI3CON.setFRMEN(thebits : TBits_1); inline;
  26922. begin
  26923. if thebits = 0 then
  26924. pTDefRegMap(@Self)^.clr := $80000000
  26925. else
  26926. pTDefRegMap(@Self)^.&set := $80000000;
  26927. end;
  26928. function TSPI3_SPI3CON.getFRMEN : TBits_1; inline;
  26929. begin
  26930. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26931. end;
  26932. procedure TSPI3_SPI3CON.setw(thebits : TBits_32); inline;
  26933. begin
  26934. pTDefRegMap(@Self)^.val := thebits;
  26935. end;
  26936. function TSPI3_SPI3CON.getw : TBits_32; inline;
  26937. begin
  26938. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26939. end;
  26940. procedure TSPI3_SPI1ASTAT.setSPIRBF; inline;
  26941. begin
  26942. pTDefRegMap(@Self)^.&set := $00000001;
  26943. end;
  26944. procedure TSPI3_SPI1ASTAT.clearSPIRBF; inline;
  26945. begin
  26946. pTDefRegMap(@Self)^.clr := $00000001;
  26947. end;
  26948. procedure TSPI3_SPI1ASTAT.setSPIRBF(thebits : TBits_1); inline;
  26949. begin
  26950. if thebits = 0 then
  26951. pTDefRegMap(@Self)^.clr := $00000001
  26952. else
  26953. pTDefRegMap(@Self)^.&set := $00000001;
  26954. end;
  26955. function TSPI3_SPI1ASTAT.getSPIRBF : TBits_1; inline;
  26956. begin
  26957. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26958. end;
  26959. procedure TSPI3_SPI1ASTAT.setSPITBF; inline;
  26960. begin
  26961. pTDefRegMap(@Self)^.&set := $00000002;
  26962. end;
  26963. procedure TSPI3_SPI1ASTAT.clearSPITBF; inline;
  26964. begin
  26965. pTDefRegMap(@Self)^.clr := $00000002;
  26966. end;
  26967. procedure TSPI3_SPI1ASTAT.setSPITBF(thebits : TBits_1); inline;
  26968. begin
  26969. if thebits = 0 then
  26970. pTDefRegMap(@Self)^.clr := $00000002
  26971. else
  26972. pTDefRegMap(@Self)^.&set := $00000002;
  26973. end;
  26974. function TSPI3_SPI1ASTAT.getSPITBF : TBits_1; inline;
  26975. begin
  26976. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26977. end;
  26978. procedure TSPI3_SPI1ASTAT.setSPITBE; inline;
  26979. begin
  26980. pTDefRegMap(@Self)^.&set := $00000008;
  26981. end;
  26982. procedure TSPI3_SPI1ASTAT.clearSPITBE; inline;
  26983. begin
  26984. pTDefRegMap(@Self)^.clr := $00000008;
  26985. end;
  26986. procedure TSPI3_SPI1ASTAT.setSPITBE(thebits : TBits_1); inline;
  26987. begin
  26988. if thebits = 0 then
  26989. pTDefRegMap(@Self)^.clr := $00000008
  26990. else
  26991. pTDefRegMap(@Self)^.&set := $00000008;
  26992. end;
  26993. function TSPI3_SPI1ASTAT.getSPITBE : TBits_1; inline;
  26994. begin
  26995. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26996. end;
  26997. procedure TSPI3_SPI1ASTAT.setSPIRBE; inline;
  26998. begin
  26999. pTDefRegMap(@Self)^.&set := $00000020;
  27000. end;
  27001. procedure TSPI3_SPI1ASTAT.clearSPIRBE; inline;
  27002. begin
  27003. pTDefRegMap(@Self)^.clr := $00000020;
  27004. end;
  27005. procedure TSPI3_SPI1ASTAT.setSPIRBE(thebits : TBits_1); inline;
  27006. begin
  27007. if thebits = 0 then
  27008. pTDefRegMap(@Self)^.clr := $00000020
  27009. else
  27010. pTDefRegMap(@Self)^.&set := $00000020;
  27011. end;
  27012. function TSPI3_SPI1ASTAT.getSPIRBE : TBits_1; inline;
  27013. begin
  27014. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27015. end;
  27016. procedure TSPI3_SPI1ASTAT.setSPIROV; inline;
  27017. begin
  27018. pTDefRegMap(@Self)^.&set := $00000040;
  27019. end;
  27020. procedure TSPI3_SPI1ASTAT.clearSPIROV; inline;
  27021. begin
  27022. pTDefRegMap(@Self)^.clr := $00000040;
  27023. end;
  27024. procedure TSPI3_SPI1ASTAT.setSPIROV(thebits : TBits_1); inline;
  27025. begin
  27026. if thebits = 0 then
  27027. pTDefRegMap(@Self)^.clr := $00000040
  27028. else
  27029. pTDefRegMap(@Self)^.&set := $00000040;
  27030. end;
  27031. function TSPI3_SPI1ASTAT.getSPIROV : TBits_1; inline;
  27032. begin
  27033. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27034. end;
  27035. procedure TSPI3_SPI1ASTAT.setSRMT; inline;
  27036. begin
  27037. pTDefRegMap(@Self)^.&set := $00000080;
  27038. end;
  27039. procedure TSPI3_SPI1ASTAT.clearSRMT; inline;
  27040. begin
  27041. pTDefRegMap(@Self)^.clr := $00000080;
  27042. end;
  27043. procedure TSPI3_SPI1ASTAT.setSRMT(thebits : TBits_1); inline;
  27044. begin
  27045. if thebits = 0 then
  27046. pTDefRegMap(@Self)^.clr := $00000080
  27047. else
  27048. pTDefRegMap(@Self)^.&set := $00000080;
  27049. end;
  27050. function TSPI3_SPI1ASTAT.getSRMT : TBits_1; inline;
  27051. begin
  27052. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27053. end;
  27054. procedure TSPI3_SPI1ASTAT.setSPITUR; inline;
  27055. begin
  27056. pTDefRegMap(@Self)^.&set := $00000100;
  27057. end;
  27058. procedure TSPI3_SPI1ASTAT.clearSPITUR; inline;
  27059. begin
  27060. pTDefRegMap(@Self)^.clr := $00000100;
  27061. end;
  27062. procedure TSPI3_SPI1ASTAT.setSPITUR(thebits : TBits_1); inline;
  27063. begin
  27064. if thebits = 0 then
  27065. pTDefRegMap(@Self)^.clr := $00000100
  27066. else
  27067. pTDefRegMap(@Self)^.&set := $00000100;
  27068. end;
  27069. function TSPI3_SPI1ASTAT.getSPITUR : TBits_1; inline;
  27070. begin
  27071. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27072. end;
  27073. procedure TSPI3_SPI1ASTAT.setSPIBUSY; inline;
  27074. begin
  27075. pTDefRegMap(@Self)^.&set := $00000800;
  27076. end;
  27077. procedure TSPI3_SPI1ASTAT.clearSPIBUSY; inline;
  27078. begin
  27079. pTDefRegMap(@Self)^.clr := $00000800;
  27080. end;
  27081. procedure TSPI3_SPI1ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  27082. begin
  27083. if thebits = 0 then
  27084. pTDefRegMap(@Self)^.clr := $00000800
  27085. else
  27086. pTDefRegMap(@Self)^.&set := $00000800;
  27087. end;
  27088. function TSPI3_SPI1ASTAT.getSPIBUSY : TBits_1; inline;
  27089. begin
  27090. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27091. end;
  27092. procedure TSPI3_SPI1ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  27093. begin
  27094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27095. end;
  27096. function TSPI3_SPI1ASTAT.getTXBUFELM : TBits_5; inline;
  27097. begin
  27098. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27099. end;
  27100. procedure TSPI3_SPI1ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  27101. begin
  27102. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27103. end;
  27104. function TSPI3_SPI1ASTAT.getRXBUFELM : TBits_5; inline;
  27105. begin
  27106. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27107. end;
  27108. procedure TSPI3_SPI1ASTAT.setw(thebits : TBits_32); inline;
  27109. begin
  27110. pTDefRegMap(@Self)^.val := thebits;
  27111. end;
  27112. function TSPI3_SPI1ASTAT.getw : TBits_32; inline;
  27113. begin
  27114. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27115. end;
  27116. procedure TSPI3_SPI3STAT.setSPIRBF; inline;
  27117. begin
  27118. pTDefRegMap(@Self)^.&set := $00000001;
  27119. end;
  27120. procedure TSPI3_SPI3STAT.clearSPIRBF; inline;
  27121. begin
  27122. pTDefRegMap(@Self)^.clr := $00000001;
  27123. end;
  27124. procedure TSPI3_SPI3STAT.setSPIRBF(thebits : TBits_1); inline;
  27125. begin
  27126. if thebits = 0 then
  27127. pTDefRegMap(@Self)^.clr := $00000001
  27128. else
  27129. pTDefRegMap(@Self)^.&set := $00000001;
  27130. end;
  27131. function TSPI3_SPI3STAT.getSPIRBF : TBits_1; inline;
  27132. begin
  27133. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27134. end;
  27135. procedure TSPI3_SPI3STAT.setSPITBF; inline;
  27136. begin
  27137. pTDefRegMap(@Self)^.&set := $00000002;
  27138. end;
  27139. procedure TSPI3_SPI3STAT.clearSPITBF; inline;
  27140. begin
  27141. pTDefRegMap(@Self)^.clr := $00000002;
  27142. end;
  27143. procedure TSPI3_SPI3STAT.setSPITBF(thebits : TBits_1); inline;
  27144. begin
  27145. if thebits = 0 then
  27146. pTDefRegMap(@Self)^.clr := $00000002
  27147. else
  27148. pTDefRegMap(@Self)^.&set := $00000002;
  27149. end;
  27150. function TSPI3_SPI3STAT.getSPITBF : TBits_1; inline;
  27151. begin
  27152. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27153. end;
  27154. procedure TSPI3_SPI3STAT.setSPITBE; inline;
  27155. begin
  27156. pTDefRegMap(@Self)^.&set := $00000008;
  27157. end;
  27158. procedure TSPI3_SPI3STAT.clearSPITBE; inline;
  27159. begin
  27160. pTDefRegMap(@Self)^.clr := $00000008;
  27161. end;
  27162. procedure TSPI3_SPI3STAT.setSPITBE(thebits : TBits_1); inline;
  27163. begin
  27164. if thebits = 0 then
  27165. pTDefRegMap(@Self)^.clr := $00000008
  27166. else
  27167. pTDefRegMap(@Self)^.&set := $00000008;
  27168. end;
  27169. function TSPI3_SPI3STAT.getSPITBE : TBits_1; inline;
  27170. begin
  27171. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27172. end;
  27173. procedure TSPI3_SPI3STAT.setSPIRBE; inline;
  27174. begin
  27175. pTDefRegMap(@Self)^.&set := $00000020;
  27176. end;
  27177. procedure TSPI3_SPI3STAT.clearSPIRBE; inline;
  27178. begin
  27179. pTDefRegMap(@Self)^.clr := $00000020;
  27180. end;
  27181. procedure TSPI3_SPI3STAT.setSPIRBE(thebits : TBits_1); inline;
  27182. begin
  27183. if thebits = 0 then
  27184. pTDefRegMap(@Self)^.clr := $00000020
  27185. else
  27186. pTDefRegMap(@Self)^.&set := $00000020;
  27187. end;
  27188. function TSPI3_SPI3STAT.getSPIRBE : TBits_1; inline;
  27189. begin
  27190. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27191. end;
  27192. procedure TSPI3_SPI3STAT.setSPIROV; inline;
  27193. begin
  27194. pTDefRegMap(@Self)^.&set := $00000040;
  27195. end;
  27196. procedure TSPI3_SPI3STAT.clearSPIROV; inline;
  27197. begin
  27198. pTDefRegMap(@Self)^.clr := $00000040;
  27199. end;
  27200. procedure TSPI3_SPI3STAT.setSPIROV(thebits : TBits_1); inline;
  27201. begin
  27202. if thebits = 0 then
  27203. pTDefRegMap(@Self)^.clr := $00000040
  27204. else
  27205. pTDefRegMap(@Self)^.&set := $00000040;
  27206. end;
  27207. function TSPI3_SPI3STAT.getSPIROV : TBits_1; inline;
  27208. begin
  27209. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27210. end;
  27211. procedure TSPI3_SPI3STAT.setSRMT; inline;
  27212. begin
  27213. pTDefRegMap(@Self)^.&set := $00000080;
  27214. end;
  27215. procedure TSPI3_SPI3STAT.clearSRMT; inline;
  27216. begin
  27217. pTDefRegMap(@Self)^.clr := $00000080;
  27218. end;
  27219. procedure TSPI3_SPI3STAT.setSRMT(thebits : TBits_1); inline;
  27220. begin
  27221. if thebits = 0 then
  27222. pTDefRegMap(@Self)^.clr := $00000080
  27223. else
  27224. pTDefRegMap(@Self)^.&set := $00000080;
  27225. end;
  27226. function TSPI3_SPI3STAT.getSRMT : TBits_1; inline;
  27227. begin
  27228. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27229. end;
  27230. procedure TSPI3_SPI3STAT.setSPITUR; inline;
  27231. begin
  27232. pTDefRegMap(@Self)^.&set := $00000100;
  27233. end;
  27234. procedure TSPI3_SPI3STAT.clearSPITUR; inline;
  27235. begin
  27236. pTDefRegMap(@Self)^.clr := $00000100;
  27237. end;
  27238. procedure TSPI3_SPI3STAT.setSPITUR(thebits : TBits_1); inline;
  27239. begin
  27240. if thebits = 0 then
  27241. pTDefRegMap(@Self)^.clr := $00000100
  27242. else
  27243. pTDefRegMap(@Self)^.&set := $00000100;
  27244. end;
  27245. function TSPI3_SPI3STAT.getSPITUR : TBits_1; inline;
  27246. begin
  27247. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27248. end;
  27249. procedure TSPI3_SPI3STAT.setSPIBUSY; inline;
  27250. begin
  27251. pTDefRegMap(@Self)^.&set := $00000800;
  27252. end;
  27253. procedure TSPI3_SPI3STAT.clearSPIBUSY; inline;
  27254. begin
  27255. pTDefRegMap(@Self)^.clr := $00000800;
  27256. end;
  27257. procedure TSPI3_SPI3STAT.setSPIBUSY(thebits : TBits_1); inline;
  27258. begin
  27259. if thebits = 0 then
  27260. pTDefRegMap(@Self)^.clr := $00000800
  27261. else
  27262. pTDefRegMap(@Self)^.&set := $00000800;
  27263. end;
  27264. function TSPI3_SPI3STAT.getSPIBUSY : TBits_1; inline;
  27265. begin
  27266. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27267. end;
  27268. procedure TSPI3_SPI3STAT.setTXBUFELM(thebits : TBits_5); inline;
  27269. begin
  27270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27271. end;
  27272. function TSPI3_SPI3STAT.getTXBUFELM : TBits_5; inline;
  27273. begin
  27274. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27275. end;
  27276. procedure TSPI3_SPI3STAT.setRXBUFELM(thebits : TBits_5); inline;
  27277. begin
  27278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27279. end;
  27280. function TSPI3_SPI3STAT.getRXBUFELM : TBits_5; inline;
  27281. begin
  27282. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27283. end;
  27284. procedure TSPI3_SPI3STAT.setw(thebits : TBits_32); inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.val := thebits;
  27287. end;
  27288. function TSPI3_SPI3STAT.getw : TBits_32; inline;
  27289. begin
  27290. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27291. end;
  27292. procedure TSPI2A_SPI2ACON.setSRXISEL(thebits : TBits_2); inline;
  27293. begin
  27294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27295. end;
  27296. function TSPI2A_SPI2ACON.getSRXISEL : TBits_2; inline;
  27297. begin
  27298. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27299. end;
  27300. procedure TSPI2A_SPI2ACON.setSTXISEL(thebits : TBits_2); inline;
  27301. begin
  27302. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27303. end;
  27304. function TSPI2A_SPI2ACON.getSTXISEL : TBits_2; inline;
  27305. begin
  27306. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27307. end;
  27308. procedure TSPI2A_SPI2ACON.setMSTEN; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000020;
  27311. end;
  27312. procedure TSPI2A_SPI2ACON.clearMSTEN; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000020;
  27315. end;
  27316. procedure TSPI2A_SPI2ACON.setMSTEN(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000020
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000020;
  27322. end;
  27323. function TSPI2A_SPI2ACON.getMSTEN : TBits_1; inline;
  27324. begin
  27325. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27326. end;
  27327. procedure TSPI2A_SPI2ACON.setCKP; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.&set := $00000040;
  27330. end;
  27331. procedure TSPI2A_SPI2ACON.clearCKP; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.clr := $00000040;
  27334. end;
  27335. procedure TSPI2A_SPI2ACON.setCKP(thebits : TBits_1); inline;
  27336. begin
  27337. if thebits = 0 then
  27338. pTDefRegMap(@Self)^.clr := $00000040
  27339. else
  27340. pTDefRegMap(@Self)^.&set := $00000040;
  27341. end;
  27342. function TSPI2A_SPI2ACON.getCKP : TBits_1; inline;
  27343. begin
  27344. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27345. end;
  27346. procedure TSPI2A_SPI2ACON.setSSEN; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.&set := $00000080;
  27349. end;
  27350. procedure TSPI2A_SPI2ACON.clearSSEN; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.clr := $00000080;
  27353. end;
  27354. procedure TSPI2A_SPI2ACON.setSSEN(thebits : TBits_1); inline;
  27355. begin
  27356. if thebits = 0 then
  27357. pTDefRegMap(@Self)^.clr := $00000080
  27358. else
  27359. pTDefRegMap(@Self)^.&set := $00000080;
  27360. end;
  27361. function TSPI2A_SPI2ACON.getSSEN : TBits_1; inline;
  27362. begin
  27363. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27364. end;
  27365. procedure TSPI2A_SPI2ACON.setCKE; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.&set := $00000100;
  27368. end;
  27369. procedure TSPI2A_SPI2ACON.clearCKE; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.clr := $00000100;
  27372. end;
  27373. procedure TSPI2A_SPI2ACON.setCKE(thebits : TBits_1); inline;
  27374. begin
  27375. if thebits = 0 then
  27376. pTDefRegMap(@Self)^.clr := $00000100
  27377. else
  27378. pTDefRegMap(@Self)^.&set := $00000100;
  27379. end;
  27380. function TSPI2A_SPI2ACON.getCKE : TBits_1; inline;
  27381. begin
  27382. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27383. end;
  27384. procedure TSPI2A_SPI2ACON.setSMP; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.&set := $00000200;
  27387. end;
  27388. procedure TSPI2A_SPI2ACON.clearSMP; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.clr := $00000200;
  27391. end;
  27392. procedure TSPI2A_SPI2ACON.setSMP(thebits : TBits_1); inline;
  27393. begin
  27394. if thebits = 0 then
  27395. pTDefRegMap(@Self)^.clr := $00000200
  27396. else
  27397. pTDefRegMap(@Self)^.&set := $00000200;
  27398. end;
  27399. function TSPI2A_SPI2ACON.getSMP : TBits_1; inline;
  27400. begin
  27401. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27402. end;
  27403. procedure TSPI2A_SPI2ACON.setMODE16; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.&set := $00000400;
  27406. end;
  27407. procedure TSPI2A_SPI2ACON.clearMODE16; inline;
  27408. begin
  27409. pTDefRegMap(@Self)^.clr := $00000400;
  27410. end;
  27411. procedure TSPI2A_SPI2ACON.setMODE16(thebits : TBits_1); inline;
  27412. begin
  27413. if thebits = 0 then
  27414. pTDefRegMap(@Self)^.clr := $00000400
  27415. else
  27416. pTDefRegMap(@Self)^.&set := $00000400;
  27417. end;
  27418. function TSPI2A_SPI2ACON.getMODE16 : TBits_1; inline;
  27419. begin
  27420. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27421. end;
  27422. procedure TSPI2A_SPI2ACON.setMODE32; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.&set := $00000800;
  27425. end;
  27426. procedure TSPI2A_SPI2ACON.clearMODE32; inline;
  27427. begin
  27428. pTDefRegMap(@Self)^.clr := $00000800;
  27429. end;
  27430. procedure TSPI2A_SPI2ACON.setMODE32(thebits : TBits_1); inline;
  27431. begin
  27432. if thebits = 0 then
  27433. pTDefRegMap(@Self)^.clr := $00000800
  27434. else
  27435. pTDefRegMap(@Self)^.&set := $00000800;
  27436. end;
  27437. function TSPI2A_SPI2ACON.getMODE32 : TBits_1; inline;
  27438. begin
  27439. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27440. end;
  27441. procedure TSPI2A_SPI2ACON.setDISSDO; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.&set := $00001000;
  27444. end;
  27445. procedure TSPI2A_SPI2ACON.clearDISSDO; inline;
  27446. begin
  27447. pTDefRegMap(@Self)^.clr := $00001000;
  27448. end;
  27449. procedure TSPI2A_SPI2ACON.setDISSDO(thebits : TBits_1); inline;
  27450. begin
  27451. if thebits = 0 then
  27452. pTDefRegMap(@Self)^.clr := $00001000
  27453. else
  27454. pTDefRegMap(@Self)^.&set := $00001000;
  27455. end;
  27456. function TSPI2A_SPI2ACON.getDISSDO : TBits_1; inline;
  27457. begin
  27458. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27459. end;
  27460. procedure TSPI2A_SPI2ACON.setSIDL; inline;
  27461. begin
  27462. pTDefRegMap(@Self)^.&set := $00002000;
  27463. end;
  27464. procedure TSPI2A_SPI2ACON.clearSIDL; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.clr := $00002000;
  27467. end;
  27468. procedure TSPI2A_SPI2ACON.setSIDL(thebits : TBits_1); inline;
  27469. begin
  27470. if thebits = 0 then
  27471. pTDefRegMap(@Self)^.clr := $00002000
  27472. else
  27473. pTDefRegMap(@Self)^.&set := $00002000;
  27474. end;
  27475. function TSPI2A_SPI2ACON.getSIDL : TBits_1; inline;
  27476. begin
  27477. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27478. end;
  27479. procedure TSPI2A_SPI2ACON.setON; inline;
  27480. begin
  27481. pTDefRegMap(@Self)^.&set := $00008000;
  27482. end;
  27483. procedure TSPI2A_SPI2ACON.clearON; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.clr := $00008000;
  27486. end;
  27487. procedure TSPI2A_SPI2ACON.setON(thebits : TBits_1); inline;
  27488. begin
  27489. if thebits = 0 then
  27490. pTDefRegMap(@Self)^.clr := $00008000
  27491. else
  27492. pTDefRegMap(@Self)^.&set := $00008000;
  27493. end;
  27494. function TSPI2A_SPI2ACON.getON : TBits_1; inline;
  27495. begin
  27496. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27497. end;
  27498. procedure TSPI2A_SPI2ACON.setENHBUF; inline;
  27499. begin
  27500. pTDefRegMap(@Self)^.&set := $00010000;
  27501. end;
  27502. procedure TSPI2A_SPI2ACON.clearENHBUF; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.clr := $00010000;
  27505. end;
  27506. procedure TSPI2A_SPI2ACON.setENHBUF(thebits : TBits_1); inline;
  27507. begin
  27508. if thebits = 0 then
  27509. pTDefRegMap(@Self)^.clr := $00010000
  27510. else
  27511. pTDefRegMap(@Self)^.&set := $00010000;
  27512. end;
  27513. function TSPI2A_SPI2ACON.getENHBUF : TBits_1; inline;
  27514. begin
  27515. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27516. end;
  27517. procedure TSPI2A_SPI2ACON.setSPIFE; inline;
  27518. begin
  27519. pTDefRegMap(@Self)^.&set := $00020000;
  27520. end;
  27521. procedure TSPI2A_SPI2ACON.clearSPIFE; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.clr := $00020000;
  27524. end;
  27525. procedure TSPI2A_SPI2ACON.setSPIFE(thebits : TBits_1); inline;
  27526. begin
  27527. if thebits = 0 then
  27528. pTDefRegMap(@Self)^.clr := $00020000
  27529. else
  27530. pTDefRegMap(@Self)^.&set := $00020000;
  27531. end;
  27532. function TSPI2A_SPI2ACON.getSPIFE : TBits_1; inline;
  27533. begin
  27534. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27535. end;
  27536. procedure TSPI2A_SPI2ACON.setFRMCNT(thebits : TBits_3); inline;
  27537. begin
  27538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27539. end;
  27540. function TSPI2A_SPI2ACON.getFRMCNT : TBits_3; inline;
  27541. begin
  27542. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27543. end;
  27544. procedure TSPI2A_SPI2ACON.setFRMSYPW; inline;
  27545. begin
  27546. pTDefRegMap(@Self)^.&set := $08000000;
  27547. end;
  27548. procedure TSPI2A_SPI2ACON.clearFRMSYPW; inline;
  27549. begin
  27550. pTDefRegMap(@Self)^.clr := $08000000;
  27551. end;
  27552. procedure TSPI2A_SPI2ACON.setFRMSYPW(thebits : TBits_1); inline;
  27553. begin
  27554. if thebits = 0 then
  27555. pTDefRegMap(@Self)^.clr := $08000000
  27556. else
  27557. pTDefRegMap(@Self)^.&set := $08000000;
  27558. end;
  27559. function TSPI2A_SPI2ACON.getFRMSYPW : TBits_1; inline;
  27560. begin
  27561. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27562. end;
  27563. procedure TSPI2A_SPI2ACON.setMSSEN; inline;
  27564. begin
  27565. pTDefRegMap(@Self)^.&set := $10000000;
  27566. end;
  27567. procedure TSPI2A_SPI2ACON.clearMSSEN; inline;
  27568. begin
  27569. pTDefRegMap(@Self)^.clr := $10000000;
  27570. end;
  27571. procedure TSPI2A_SPI2ACON.setMSSEN(thebits : TBits_1); inline;
  27572. begin
  27573. if thebits = 0 then
  27574. pTDefRegMap(@Self)^.clr := $10000000
  27575. else
  27576. pTDefRegMap(@Self)^.&set := $10000000;
  27577. end;
  27578. function TSPI2A_SPI2ACON.getMSSEN : TBits_1; inline;
  27579. begin
  27580. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27581. end;
  27582. procedure TSPI2A_SPI2ACON.setFRMPOL; inline;
  27583. begin
  27584. pTDefRegMap(@Self)^.&set := $20000000;
  27585. end;
  27586. procedure TSPI2A_SPI2ACON.clearFRMPOL; inline;
  27587. begin
  27588. pTDefRegMap(@Self)^.clr := $20000000;
  27589. end;
  27590. procedure TSPI2A_SPI2ACON.setFRMPOL(thebits : TBits_1); inline;
  27591. begin
  27592. if thebits = 0 then
  27593. pTDefRegMap(@Self)^.clr := $20000000
  27594. else
  27595. pTDefRegMap(@Self)^.&set := $20000000;
  27596. end;
  27597. function TSPI2A_SPI2ACON.getFRMPOL : TBits_1; inline;
  27598. begin
  27599. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27600. end;
  27601. procedure TSPI2A_SPI2ACON.setFRMSYNC; inline;
  27602. begin
  27603. pTDefRegMap(@Self)^.&set := $40000000;
  27604. end;
  27605. procedure TSPI2A_SPI2ACON.clearFRMSYNC; inline;
  27606. begin
  27607. pTDefRegMap(@Self)^.clr := $40000000;
  27608. end;
  27609. procedure TSPI2A_SPI2ACON.setFRMSYNC(thebits : TBits_1); inline;
  27610. begin
  27611. if thebits = 0 then
  27612. pTDefRegMap(@Self)^.clr := $40000000
  27613. else
  27614. pTDefRegMap(@Self)^.&set := $40000000;
  27615. end;
  27616. function TSPI2A_SPI2ACON.getFRMSYNC : TBits_1; inline;
  27617. begin
  27618. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27619. end;
  27620. procedure TSPI2A_SPI2ACON.setFRMEN; inline;
  27621. begin
  27622. pTDefRegMap(@Self)^.&set := $80000000;
  27623. end;
  27624. procedure TSPI2A_SPI2ACON.clearFRMEN; inline;
  27625. begin
  27626. pTDefRegMap(@Self)^.clr := $80000000;
  27627. end;
  27628. procedure TSPI2A_SPI2ACON.setFRMEN(thebits : TBits_1); inline;
  27629. begin
  27630. if thebits = 0 then
  27631. pTDefRegMap(@Self)^.clr := $80000000
  27632. else
  27633. pTDefRegMap(@Self)^.&set := $80000000;
  27634. end;
  27635. function TSPI2A_SPI2ACON.getFRMEN : TBits_1; inline;
  27636. begin
  27637. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27638. end;
  27639. procedure TSPI2A_SPI2ACON.setw(thebits : TBits_32); inline;
  27640. begin
  27641. pTDefRegMap(@Self)^.val := thebits;
  27642. end;
  27643. function TSPI2A_SPI2ACON.getw : TBits_32; inline;
  27644. begin
  27645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27646. end;
  27647. procedure TSPI2A_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  27648. begin
  27649. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27650. end;
  27651. function TSPI2A_SPI2CON.getSRXISEL : TBits_2; inline;
  27652. begin
  27653. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27654. end;
  27655. procedure TSPI2A_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  27656. begin
  27657. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27658. end;
  27659. function TSPI2A_SPI2CON.getSTXISEL : TBits_2; inline;
  27660. begin
  27661. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27662. end;
  27663. procedure TSPI2A_SPI2CON.setMSTEN; inline;
  27664. begin
  27665. pTDefRegMap(@Self)^.&set := $00000020;
  27666. end;
  27667. procedure TSPI2A_SPI2CON.clearMSTEN; inline;
  27668. begin
  27669. pTDefRegMap(@Self)^.clr := $00000020;
  27670. end;
  27671. procedure TSPI2A_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  27672. begin
  27673. if thebits = 0 then
  27674. pTDefRegMap(@Self)^.clr := $00000020
  27675. else
  27676. pTDefRegMap(@Self)^.&set := $00000020;
  27677. end;
  27678. function TSPI2A_SPI2CON.getMSTEN : TBits_1; inline;
  27679. begin
  27680. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27681. end;
  27682. procedure TSPI2A_SPI2CON.setCKP; inline;
  27683. begin
  27684. pTDefRegMap(@Self)^.&set := $00000040;
  27685. end;
  27686. procedure TSPI2A_SPI2CON.clearCKP; inline;
  27687. begin
  27688. pTDefRegMap(@Self)^.clr := $00000040;
  27689. end;
  27690. procedure TSPI2A_SPI2CON.setCKP(thebits : TBits_1); inline;
  27691. begin
  27692. if thebits = 0 then
  27693. pTDefRegMap(@Self)^.clr := $00000040
  27694. else
  27695. pTDefRegMap(@Self)^.&set := $00000040;
  27696. end;
  27697. function TSPI2A_SPI2CON.getCKP : TBits_1; inline;
  27698. begin
  27699. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27700. end;
  27701. procedure TSPI2A_SPI2CON.setSSEN; inline;
  27702. begin
  27703. pTDefRegMap(@Self)^.&set := $00000080;
  27704. end;
  27705. procedure TSPI2A_SPI2CON.clearSSEN; inline;
  27706. begin
  27707. pTDefRegMap(@Self)^.clr := $00000080;
  27708. end;
  27709. procedure TSPI2A_SPI2CON.setSSEN(thebits : TBits_1); inline;
  27710. begin
  27711. if thebits = 0 then
  27712. pTDefRegMap(@Self)^.clr := $00000080
  27713. else
  27714. pTDefRegMap(@Self)^.&set := $00000080;
  27715. end;
  27716. function TSPI2A_SPI2CON.getSSEN : TBits_1; inline;
  27717. begin
  27718. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27719. end;
  27720. procedure TSPI2A_SPI2CON.setCKE; inline;
  27721. begin
  27722. pTDefRegMap(@Self)^.&set := $00000100;
  27723. end;
  27724. procedure TSPI2A_SPI2CON.clearCKE; inline;
  27725. begin
  27726. pTDefRegMap(@Self)^.clr := $00000100;
  27727. end;
  27728. procedure TSPI2A_SPI2CON.setCKE(thebits : TBits_1); inline;
  27729. begin
  27730. if thebits = 0 then
  27731. pTDefRegMap(@Self)^.clr := $00000100
  27732. else
  27733. pTDefRegMap(@Self)^.&set := $00000100;
  27734. end;
  27735. function TSPI2A_SPI2CON.getCKE : TBits_1; inline;
  27736. begin
  27737. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27738. end;
  27739. procedure TSPI2A_SPI2CON.setSMP; inline;
  27740. begin
  27741. pTDefRegMap(@Self)^.&set := $00000200;
  27742. end;
  27743. procedure TSPI2A_SPI2CON.clearSMP; inline;
  27744. begin
  27745. pTDefRegMap(@Self)^.clr := $00000200;
  27746. end;
  27747. procedure TSPI2A_SPI2CON.setSMP(thebits : TBits_1); inline;
  27748. begin
  27749. if thebits = 0 then
  27750. pTDefRegMap(@Self)^.clr := $00000200
  27751. else
  27752. pTDefRegMap(@Self)^.&set := $00000200;
  27753. end;
  27754. function TSPI2A_SPI2CON.getSMP : TBits_1; inline;
  27755. begin
  27756. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27757. end;
  27758. procedure TSPI2A_SPI2CON.setMODE16; inline;
  27759. begin
  27760. pTDefRegMap(@Self)^.&set := $00000400;
  27761. end;
  27762. procedure TSPI2A_SPI2CON.clearMODE16; inline;
  27763. begin
  27764. pTDefRegMap(@Self)^.clr := $00000400;
  27765. end;
  27766. procedure TSPI2A_SPI2CON.setMODE16(thebits : TBits_1); inline;
  27767. begin
  27768. if thebits = 0 then
  27769. pTDefRegMap(@Self)^.clr := $00000400
  27770. else
  27771. pTDefRegMap(@Self)^.&set := $00000400;
  27772. end;
  27773. function TSPI2A_SPI2CON.getMODE16 : TBits_1; inline;
  27774. begin
  27775. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27776. end;
  27777. procedure TSPI2A_SPI2CON.setMODE32; inline;
  27778. begin
  27779. pTDefRegMap(@Self)^.&set := $00000800;
  27780. end;
  27781. procedure TSPI2A_SPI2CON.clearMODE32; inline;
  27782. begin
  27783. pTDefRegMap(@Self)^.clr := $00000800;
  27784. end;
  27785. procedure TSPI2A_SPI2CON.setMODE32(thebits : TBits_1); inline;
  27786. begin
  27787. if thebits = 0 then
  27788. pTDefRegMap(@Self)^.clr := $00000800
  27789. else
  27790. pTDefRegMap(@Self)^.&set := $00000800;
  27791. end;
  27792. function TSPI2A_SPI2CON.getMODE32 : TBits_1; inline;
  27793. begin
  27794. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27795. end;
  27796. procedure TSPI2A_SPI2CON.setDISSDO; inline;
  27797. begin
  27798. pTDefRegMap(@Self)^.&set := $00001000;
  27799. end;
  27800. procedure TSPI2A_SPI2CON.clearDISSDO; inline;
  27801. begin
  27802. pTDefRegMap(@Self)^.clr := $00001000;
  27803. end;
  27804. procedure TSPI2A_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  27805. begin
  27806. if thebits = 0 then
  27807. pTDefRegMap(@Self)^.clr := $00001000
  27808. else
  27809. pTDefRegMap(@Self)^.&set := $00001000;
  27810. end;
  27811. function TSPI2A_SPI2CON.getDISSDO : TBits_1; inline;
  27812. begin
  27813. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27814. end;
  27815. procedure TSPI2A_SPI2CON.setSIDL; inline;
  27816. begin
  27817. pTDefRegMap(@Self)^.&set := $00002000;
  27818. end;
  27819. procedure TSPI2A_SPI2CON.clearSIDL; inline;
  27820. begin
  27821. pTDefRegMap(@Self)^.clr := $00002000;
  27822. end;
  27823. procedure TSPI2A_SPI2CON.setSIDL(thebits : TBits_1); inline;
  27824. begin
  27825. if thebits = 0 then
  27826. pTDefRegMap(@Self)^.clr := $00002000
  27827. else
  27828. pTDefRegMap(@Self)^.&set := $00002000;
  27829. end;
  27830. function TSPI2A_SPI2CON.getSIDL : TBits_1; inline;
  27831. begin
  27832. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27833. end;
  27834. procedure TSPI2A_SPI2CON.setON; inline;
  27835. begin
  27836. pTDefRegMap(@Self)^.&set := $00008000;
  27837. end;
  27838. procedure TSPI2A_SPI2CON.clearON; inline;
  27839. begin
  27840. pTDefRegMap(@Self)^.clr := $00008000;
  27841. end;
  27842. procedure TSPI2A_SPI2CON.setON(thebits : TBits_1); inline;
  27843. begin
  27844. if thebits = 0 then
  27845. pTDefRegMap(@Self)^.clr := $00008000
  27846. else
  27847. pTDefRegMap(@Self)^.&set := $00008000;
  27848. end;
  27849. function TSPI2A_SPI2CON.getON : TBits_1; inline;
  27850. begin
  27851. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27852. end;
  27853. procedure TSPI2A_SPI2CON.setENHBUF; inline;
  27854. begin
  27855. pTDefRegMap(@Self)^.&set := $00010000;
  27856. end;
  27857. procedure TSPI2A_SPI2CON.clearENHBUF; inline;
  27858. begin
  27859. pTDefRegMap(@Self)^.clr := $00010000;
  27860. end;
  27861. procedure TSPI2A_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  27862. begin
  27863. if thebits = 0 then
  27864. pTDefRegMap(@Self)^.clr := $00010000
  27865. else
  27866. pTDefRegMap(@Self)^.&set := $00010000;
  27867. end;
  27868. function TSPI2A_SPI2CON.getENHBUF : TBits_1; inline;
  27869. begin
  27870. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27871. end;
  27872. procedure TSPI2A_SPI2CON.setSPIFE; inline;
  27873. begin
  27874. pTDefRegMap(@Self)^.&set := $00020000;
  27875. end;
  27876. procedure TSPI2A_SPI2CON.clearSPIFE; inline;
  27877. begin
  27878. pTDefRegMap(@Self)^.clr := $00020000;
  27879. end;
  27880. procedure TSPI2A_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  27881. begin
  27882. if thebits = 0 then
  27883. pTDefRegMap(@Self)^.clr := $00020000
  27884. else
  27885. pTDefRegMap(@Self)^.&set := $00020000;
  27886. end;
  27887. function TSPI2A_SPI2CON.getSPIFE : TBits_1; inline;
  27888. begin
  27889. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27890. end;
  27891. procedure TSPI2A_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  27892. begin
  27893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27894. end;
  27895. function TSPI2A_SPI2CON.getFRMCNT : TBits_3; inline;
  27896. begin
  27897. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27898. end;
  27899. procedure TSPI2A_SPI2CON.setFRMSYPW; inline;
  27900. begin
  27901. pTDefRegMap(@Self)^.&set := $08000000;
  27902. end;
  27903. procedure TSPI2A_SPI2CON.clearFRMSYPW; inline;
  27904. begin
  27905. pTDefRegMap(@Self)^.clr := $08000000;
  27906. end;
  27907. procedure TSPI2A_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  27908. begin
  27909. if thebits = 0 then
  27910. pTDefRegMap(@Self)^.clr := $08000000
  27911. else
  27912. pTDefRegMap(@Self)^.&set := $08000000;
  27913. end;
  27914. function TSPI2A_SPI2CON.getFRMSYPW : TBits_1; inline;
  27915. begin
  27916. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27917. end;
  27918. procedure TSPI2A_SPI2CON.setMSSEN; inline;
  27919. begin
  27920. pTDefRegMap(@Self)^.&set := $10000000;
  27921. end;
  27922. procedure TSPI2A_SPI2CON.clearMSSEN; inline;
  27923. begin
  27924. pTDefRegMap(@Self)^.clr := $10000000;
  27925. end;
  27926. procedure TSPI2A_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  27927. begin
  27928. if thebits = 0 then
  27929. pTDefRegMap(@Self)^.clr := $10000000
  27930. else
  27931. pTDefRegMap(@Self)^.&set := $10000000;
  27932. end;
  27933. function TSPI2A_SPI2CON.getMSSEN : TBits_1; inline;
  27934. begin
  27935. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27936. end;
  27937. procedure TSPI2A_SPI2CON.setFRMPOL; inline;
  27938. begin
  27939. pTDefRegMap(@Self)^.&set := $20000000;
  27940. end;
  27941. procedure TSPI2A_SPI2CON.clearFRMPOL; inline;
  27942. begin
  27943. pTDefRegMap(@Self)^.clr := $20000000;
  27944. end;
  27945. procedure TSPI2A_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  27946. begin
  27947. if thebits = 0 then
  27948. pTDefRegMap(@Self)^.clr := $20000000
  27949. else
  27950. pTDefRegMap(@Self)^.&set := $20000000;
  27951. end;
  27952. function TSPI2A_SPI2CON.getFRMPOL : TBits_1; inline;
  27953. begin
  27954. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27955. end;
  27956. procedure TSPI2A_SPI2CON.setFRMSYNC; inline;
  27957. begin
  27958. pTDefRegMap(@Self)^.&set := $40000000;
  27959. end;
  27960. procedure TSPI2A_SPI2CON.clearFRMSYNC; inline;
  27961. begin
  27962. pTDefRegMap(@Self)^.clr := $40000000;
  27963. end;
  27964. procedure TSPI2A_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  27965. begin
  27966. if thebits = 0 then
  27967. pTDefRegMap(@Self)^.clr := $40000000
  27968. else
  27969. pTDefRegMap(@Self)^.&set := $40000000;
  27970. end;
  27971. function TSPI2A_SPI2CON.getFRMSYNC : TBits_1; inline;
  27972. begin
  27973. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27974. end;
  27975. procedure TSPI2A_SPI2CON.setFRMEN; inline;
  27976. begin
  27977. pTDefRegMap(@Self)^.&set := $80000000;
  27978. end;
  27979. procedure TSPI2A_SPI2CON.clearFRMEN; inline;
  27980. begin
  27981. pTDefRegMap(@Self)^.clr := $80000000;
  27982. end;
  27983. procedure TSPI2A_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  27984. begin
  27985. if thebits = 0 then
  27986. pTDefRegMap(@Self)^.clr := $80000000
  27987. else
  27988. pTDefRegMap(@Self)^.&set := $80000000;
  27989. end;
  27990. function TSPI2A_SPI2CON.getFRMEN : TBits_1; inline;
  27991. begin
  27992. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27993. end;
  27994. procedure TSPI2A_SPI2CON.setw(thebits : TBits_32); inline;
  27995. begin
  27996. pTDefRegMap(@Self)^.val := thebits;
  27997. end;
  27998. function TSPI2A_SPI2CON.getw : TBits_32; inline;
  27999. begin
  28000. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28001. end;
  28002. procedure TSPI2A_SPI2ASTAT.setSPIRBF; inline;
  28003. begin
  28004. pTDefRegMap(@Self)^.&set := $00000001;
  28005. end;
  28006. procedure TSPI2A_SPI2ASTAT.clearSPIRBF; inline;
  28007. begin
  28008. pTDefRegMap(@Self)^.clr := $00000001;
  28009. end;
  28010. procedure TSPI2A_SPI2ASTAT.setSPIRBF(thebits : TBits_1); inline;
  28011. begin
  28012. if thebits = 0 then
  28013. pTDefRegMap(@Self)^.clr := $00000001
  28014. else
  28015. pTDefRegMap(@Self)^.&set := $00000001;
  28016. end;
  28017. function TSPI2A_SPI2ASTAT.getSPIRBF : TBits_1; inline;
  28018. begin
  28019. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28020. end;
  28021. procedure TSPI2A_SPI2ASTAT.setSPITBF; inline;
  28022. begin
  28023. pTDefRegMap(@Self)^.&set := $00000002;
  28024. end;
  28025. procedure TSPI2A_SPI2ASTAT.clearSPITBF; inline;
  28026. begin
  28027. pTDefRegMap(@Self)^.clr := $00000002;
  28028. end;
  28029. procedure TSPI2A_SPI2ASTAT.setSPITBF(thebits : TBits_1); inline;
  28030. begin
  28031. if thebits = 0 then
  28032. pTDefRegMap(@Self)^.clr := $00000002
  28033. else
  28034. pTDefRegMap(@Self)^.&set := $00000002;
  28035. end;
  28036. function TSPI2A_SPI2ASTAT.getSPITBF : TBits_1; inline;
  28037. begin
  28038. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28039. end;
  28040. procedure TSPI2A_SPI2ASTAT.setSPITBE; inline;
  28041. begin
  28042. pTDefRegMap(@Self)^.&set := $00000008;
  28043. end;
  28044. procedure TSPI2A_SPI2ASTAT.clearSPITBE; inline;
  28045. begin
  28046. pTDefRegMap(@Self)^.clr := $00000008;
  28047. end;
  28048. procedure TSPI2A_SPI2ASTAT.setSPITBE(thebits : TBits_1); inline;
  28049. begin
  28050. if thebits = 0 then
  28051. pTDefRegMap(@Self)^.clr := $00000008
  28052. else
  28053. pTDefRegMap(@Self)^.&set := $00000008;
  28054. end;
  28055. function TSPI2A_SPI2ASTAT.getSPITBE : TBits_1; inline;
  28056. begin
  28057. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28058. end;
  28059. procedure TSPI2A_SPI2ASTAT.setSPIRBE; inline;
  28060. begin
  28061. pTDefRegMap(@Self)^.&set := $00000020;
  28062. end;
  28063. procedure TSPI2A_SPI2ASTAT.clearSPIRBE; inline;
  28064. begin
  28065. pTDefRegMap(@Self)^.clr := $00000020;
  28066. end;
  28067. procedure TSPI2A_SPI2ASTAT.setSPIRBE(thebits : TBits_1); inline;
  28068. begin
  28069. if thebits = 0 then
  28070. pTDefRegMap(@Self)^.clr := $00000020
  28071. else
  28072. pTDefRegMap(@Self)^.&set := $00000020;
  28073. end;
  28074. function TSPI2A_SPI2ASTAT.getSPIRBE : TBits_1; inline;
  28075. begin
  28076. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28077. end;
  28078. procedure TSPI2A_SPI2ASTAT.setSPIROV; inline;
  28079. begin
  28080. pTDefRegMap(@Self)^.&set := $00000040;
  28081. end;
  28082. procedure TSPI2A_SPI2ASTAT.clearSPIROV; inline;
  28083. begin
  28084. pTDefRegMap(@Self)^.clr := $00000040;
  28085. end;
  28086. procedure TSPI2A_SPI2ASTAT.setSPIROV(thebits : TBits_1); inline;
  28087. begin
  28088. if thebits = 0 then
  28089. pTDefRegMap(@Self)^.clr := $00000040
  28090. else
  28091. pTDefRegMap(@Self)^.&set := $00000040;
  28092. end;
  28093. function TSPI2A_SPI2ASTAT.getSPIROV : TBits_1; inline;
  28094. begin
  28095. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28096. end;
  28097. procedure TSPI2A_SPI2ASTAT.setSRMT; inline;
  28098. begin
  28099. pTDefRegMap(@Self)^.&set := $00000080;
  28100. end;
  28101. procedure TSPI2A_SPI2ASTAT.clearSRMT; inline;
  28102. begin
  28103. pTDefRegMap(@Self)^.clr := $00000080;
  28104. end;
  28105. procedure TSPI2A_SPI2ASTAT.setSRMT(thebits : TBits_1); inline;
  28106. begin
  28107. if thebits = 0 then
  28108. pTDefRegMap(@Self)^.clr := $00000080
  28109. else
  28110. pTDefRegMap(@Self)^.&set := $00000080;
  28111. end;
  28112. function TSPI2A_SPI2ASTAT.getSRMT : TBits_1; inline;
  28113. begin
  28114. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28115. end;
  28116. procedure TSPI2A_SPI2ASTAT.setSPITUR; inline;
  28117. begin
  28118. pTDefRegMap(@Self)^.&set := $00000100;
  28119. end;
  28120. procedure TSPI2A_SPI2ASTAT.clearSPITUR; inline;
  28121. begin
  28122. pTDefRegMap(@Self)^.clr := $00000100;
  28123. end;
  28124. procedure TSPI2A_SPI2ASTAT.setSPITUR(thebits : TBits_1); inline;
  28125. begin
  28126. if thebits = 0 then
  28127. pTDefRegMap(@Self)^.clr := $00000100
  28128. else
  28129. pTDefRegMap(@Self)^.&set := $00000100;
  28130. end;
  28131. function TSPI2A_SPI2ASTAT.getSPITUR : TBits_1; inline;
  28132. begin
  28133. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28134. end;
  28135. procedure TSPI2A_SPI2ASTAT.setSPIBUSY; inline;
  28136. begin
  28137. pTDefRegMap(@Self)^.&set := $00000800;
  28138. end;
  28139. procedure TSPI2A_SPI2ASTAT.clearSPIBUSY; inline;
  28140. begin
  28141. pTDefRegMap(@Self)^.clr := $00000800;
  28142. end;
  28143. procedure TSPI2A_SPI2ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  28144. begin
  28145. if thebits = 0 then
  28146. pTDefRegMap(@Self)^.clr := $00000800
  28147. else
  28148. pTDefRegMap(@Self)^.&set := $00000800;
  28149. end;
  28150. function TSPI2A_SPI2ASTAT.getSPIBUSY : TBits_1; inline;
  28151. begin
  28152. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28153. end;
  28154. procedure TSPI2A_SPI2ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  28155. begin
  28156. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28157. end;
  28158. function TSPI2A_SPI2ASTAT.getTXBUFELM : TBits_5; inline;
  28159. begin
  28160. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28161. end;
  28162. procedure TSPI2A_SPI2ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  28163. begin
  28164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28165. end;
  28166. function TSPI2A_SPI2ASTAT.getRXBUFELM : TBits_5; inline;
  28167. begin
  28168. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28169. end;
  28170. procedure TSPI2A_SPI2ASTAT.setw(thebits : TBits_32); inline;
  28171. begin
  28172. pTDefRegMap(@Self)^.val := thebits;
  28173. end;
  28174. function TSPI2A_SPI2ASTAT.getw : TBits_32; inline;
  28175. begin
  28176. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28177. end;
  28178. procedure TSPI2A_SPI2STAT.setSPIRBF; inline;
  28179. begin
  28180. pTDefRegMap(@Self)^.&set := $00000001;
  28181. end;
  28182. procedure TSPI2A_SPI2STAT.clearSPIRBF; inline;
  28183. begin
  28184. pTDefRegMap(@Self)^.clr := $00000001;
  28185. end;
  28186. procedure TSPI2A_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  28187. begin
  28188. if thebits = 0 then
  28189. pTDefRegMap(@Self)^.clr := $00000001
  28190. else
  28191. pTDefRegMap(@Self)^.&set := $00000001;
  28192. end;
  28193. function TSPI2A_SPI2STAT.getSPIRBF : TBits_1; inline;
  28194. begin
  28195. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28196. end;
  28197. procedure TSPI2A_SPI2STAT.setSPITBF; inline;
  28198. begin
  28199. pTDefRegMap(@Self)^.&set := $00000002;
  28200. end;
  28201. procedure TSPI2A_SPI2STAT.clearSPITBF; inline;
  28202. begin
  28203. pTDefRegMap(@Self)^.clr := $00000002;
  28204. end;
  28205. procedure TSPI2A_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  28206. begin
  28207. if thebits = 0 then
  28208. pTDefRegMap(@Self)^.clr := $00000002
  28209. else
  28210. pTDefRegMap(@Self)^.&set := $00000002;
  28211. end;
  28212. function TSPI2A_SPI2STAT.getSPITBF : TBits_1; inline;
  28213. begin
  28214. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28215. end;
  28216. procedure TSPI2A_SPI2STAT.setSPITBE; inline;
  28217. begin
  28218. pTDefRegMap(@Self)^.&set := $00000008;
  28219. end;
  28220. procedure TSPI2A_SPI2STAT.clearSPITBE; inline;
  28221. begin
  28222. pTDefRegMap(@Self)^.clr := $00000008;
  28223. end;
  28224. procedure TSPI2A_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  28225. begin
  28226. if thebits = 0 then
  28227. pTDefRegMap(@Self)^.clr := $00000008
  28228. else
  28229. pTDefRegMap(@Self)^.&set := $00000008;
  28230. end;
  28231. function TSPI2A_SPI2STAT.getSPITBE : TBits_1; inline;
  28232. begin
  28233. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28234. end;
  28235. procedure TSPI2A_SPI2STAT.setSPIRBE; inline;
  28236. begin
  28237. pTDefRegMap(@Self)^.&set := $00000020;
  28238. end;
  28239. procedure TSPI2A_SPI2STAT.clearSPIRBE; inline;
  28240. begin
  28241. pTDefRegMap(@Self)^.clr := $00000020;
  28242. end;
  28243. procedure TSPI2A_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  28244. begin
  28245. if thebits = 0 then
  28246. pTDefRegMap(@Self)^.clr := $00000020
  28247. else
  28248. pTDefRegMap(@Self)^.&set := $00000020;
  28249. end;
  28250. function TSPI2A_SPI2STAT.getSPIRBE : TBits_1; inline;
  28251. begin
  28252. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28253. end;
  28254. procedure TSPI2A_SPI2STAT.setSPIROV; inline;
  28255. begin
  28256. pTDefRegMap(@Self)^.&set := $00000040;
  28257. end;
  28258. procedure TSPI2A_SPI2STAT.clearSPIROV; inline;
  28259. begin
  28260. pTDefRegMap(@Self)^.clr := $00000040;
  28261. end;
  28262. procedure TSPI2A_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  28263. begin
  28264. if thebits = 0 then
  28265. pTDefRegMap(@Self)^.clr := $00000040
  28266. else
  28267. pTDefRegMap(@Self)^.&set := $00000040;
  28268. end;
  28269. function TSPI2A_SPI2STAT.getSPIROV : TBits_1; inline;
  28270. begin
  28271. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28272. end;
  28273. procedure TSPI2A_SPI2STAT.setSRMT; inline;
  28274. begin
  28275. pTDefRegMap(@Self)^.&set := $00000080;
  28276. end;
  28277. procedure TSPI2A_SPI2STAT.clearSRMT; inline;
  28278. begin
  28279. pTDefRegMap(@Self)^.clr := $00000080;
  28280. end;
  28281. procedure TSPI2A_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  28282. begin
  28283. if thebits = 0 then
  28284. pTDefRegMap(@Self)^.clr := $00000080
  28285. else
  28286. pTDefRegMap(@Self)^.&set := $00000080;
  28287. end;
  28288. function TSPI2A_SPI2STAT.getSRMT : TBits_1; inline;
  28289. begin
  28290. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28291. end;
  28292. procedure TSPI2A_SPI2STAT.setSPITUR; inline;
  28293. begin
  28294. pTDefRegMap(@Self)^.&set := $00000100;
  28295. end;
  28296. procedure TSPI2A_SPI2STAT.clearSPITUR; inline;
  28297. begin
  28298. pTDefRegMap(@Self)^.clr := $00000100;
  28299. end;
  28300. procedure TSPI2A_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  28301. begin
  28302. if thebits = 0 then
  28303. pTDefRegMap(@Self)^.clr := $00000100
  28304. else
  28305. pTDefRegMap(@Self)^.&set := $00000100;
  28306. end;
  28307. function TSPI2A_SPI2STAT.getSPITUR : TBits_1; inline;
  28308. begin
  28309. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28310. end;
  28311. procedure TSPI2A_SPI2STAT.setSPIBUSY; inline;
  28312. begin
  28313. pTDefRegMap(@Self)^.&set := $00000800;
  28314. end;
  28315. procedure TSPI2A_SPI2STAT.clearSPIBUSY; inline;
  28316. begin
  28317. pTDefRegMap(@Self)^.clr := $00000800;
  28318. end;
  28319. procedure TSPI2A_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  28320. begin
  28321. if thebits = 0 then
  28322. pTDefRegMap(@Self)^.clr := $00000800
  28323. else
  28324. pTDefRegMap(@Self)^.&set := $00000800;
  28325. end;
  28326. function TSPI2A_SPI2STAT.getSPIBUSY : TBits_1; inline;
  28327. begin
  28328. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28329. end;
  28330. procedure TSPI2A_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  28331. begin
  28332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28333. end;
  28334. function TSPI2A_SPI2STAT.getTXBUFELM : TBits_5; inline;
  28335. begin
  28336. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28337. end;
  28338. procedure TSPI2A_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  28339. begin
  28340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28341. end;
  28342. function TSPI2A_SPI2STAT.getRXBUFELM : TBits_5; inline;
  28343. begin
  28344. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28345. end;
  28346. procedure TSPI2A_SPI2STAT.setw(thebits : TBits_32); inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.val := thebits;
  28349. end;
  28350. function TSPI2A_SPI2STAT.getw : TBits_32; inline;
  28351. begin
  28352. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28353. end;
  28354. procedure TSPI3A_SPI3ACON.setSRXISEL(thebits : TBits_2); inline;
  28355. begin
  28356. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28357. end;
  28358. function TSPI3A_SPI3ACON.getSRXISEL : TBits_2; inline;
  28359. begin
  28360. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28361. end;
  28362. procedure TSPI3A_SPI3ACON.setSTXISEL(thebits : TBits_2); inline;
  28363. begin
  28364. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  28365. end;
  28366. function TSPI3A_SPI3ACON.getSTXISEL : TBits_2; inline;
  28367. begin
  28368. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  28369. end;
  28370. procedure TSPI3A_SPI3ACON.setMSTEN; inline;
  28371. begin
  28372. pTDefRegMap(@Self)^.&set := $00000020;
  28373. end;
  28374. procedure TSPI3A_SPI3ACON.clearMSTEN; inline;
  28375. begin
  28376. pTDefRegMap(@Self)^.clr := $00000020;
  28377. end;
  28378. procedure TSPI3A_SPI3ACON.setMSTEN(thebits : TBits_1); inline;
  28379. begin
  28380. if thebits = 0 then
  28381. pTDefRegMap(@Self)^.clr := $00000020
  28382. else
  28383. pTDefRegMap(@Self)^.&set := $00000020;
  28384. end;
  28385. function TSPI3A_SPI3ACON.getMSTEN : TBits_1; inline;
  28386. begin
  28387. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28388. end;
  28389. procedure TSPI3A_SPI3ACON.setCKP; inline;
  28390. begin
  28391. pTDefRegMap(@Self)^.&set := $00000040;
  28392. end;
  28393. procedure TSPI3A_SPI3ACON.clearCKP; inline;
  28394. begin
  28395. pTDefRegMap(@Self)^.clr := $00000040;
  28396. end;
  28397. procedure TSPI3A_SPI3ACON.setCKP(thebits : TBits_1); inline;
  28398. begin
  28399. if thebits = 0 then
  28400. pTDefRegMap(@Self)^.clr := $00000040
  28401. else
  28402. pTDefRegMap(@Self)^.&set := $00000040;
  28403. end;
  28404. function TSPI3A_SPI3ACON.getCKP : TBits_1; inline;
  28405. begin
  28406. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28407. end;
  28408. procedure TSPI3A_SPI3ACON.setSSEN; inline;
  28409. begin
  28410. pTDefRegMap(@Self)^.&set := $00000080;
  28411. end;
  28412. procedure TSPI3A_SPI3ACON.clearSSEN; inline;
  28413. begin
  28414. pTDefRegMap(@Self)^.clr := $00000080;
  28415. end;
  28416. procedure TSPI3A_SPI3ACON.setSSEN(thebits : TBits_1); inline;
  28417. begin
  28418. if thebits = 0 then
  28419. pTDefRegMap(@Self)^.clr := $00000080
  28420. else
  28421. pTDefRegMap(@Self)^.&set := $00000080;
  28422. end;
  28423. function TSPI3A_SPI3ACON.getSSEN : TBits_1; inline;
  28424. begin
  28425. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28426. end;
  28427. procedure TSPI3A_SPI3ACON.setCKE; inline;
  28428. begin
  28429. pTDefRegMap(@Self)^.&set := $00000100;
  28430. end;
  28431. procedure TSPI3A_SPI3ACON.clearCKE; inline;
  28432. begin
  28433. pTDefRegMap(@Self)^.clr := $00000100;
  28434. end;
  28435. procedure TSPI3A_SPI3ACON.setCKE(thebits : TBits_1); inline;
  28436. begin
  28437. if thebits = 0 then
  28438. pTDefRegMap(@Self)^.clr := $00000100
  28439. else
  28440. pTDefRegMap(@Self)^.&set := $00000100;
  28441. end;
  28442. function TSPI3A_SPI3ACON.getCKE : TBits_1; inline;
  28443. begin
  28444. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28445. end;
  28446. procedure TSPI3A_SPI3ACON.setSMP; inline;
  28447. begin
  28448. pTDefRegMap(@Self)^.&set := $00000200;
  28449. end;
  28450. procedure TSPI3A_SPI3ACON.clearSMP; inline;
  28451. begin
  28452. pTDefRegMap(@Self)^.clr := $00000200;
  28453. end;
  28454. procedure TSPI3A_SPI3ACON.setSMP(thebits : TBits_1); inline;
  28455. begin
  28456. if thebits = 0 then
  28457. pTDefRegMap(@Self)^.clr := $00000200
  28458. else
  28459. pTDefRegMap(@Self)^.&set := $00000200;
  28460. end;
  28461. function TSPI3A_SPI3ACON.getSMP : TBits_1; inline;
  28462. begin
  28463. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28464. end;
  28465. procedure TSPI3A_SPI3ACON.setMODE16; inline;
  28466. begin
  28467. pTDefRegMap(@Self)^.&set := $00000400;
  28468. end;
  28469. procedure TSPI3A_SPI3ACON.clearMODE16; inline;
  28470. begin
  28471. pTDefRegMap(@Self)^.clr := $00000400;
  28472. end;
  28473. procedure TSPI3A_SPI3ACON.setMODE16(thebits : TBits_1); inline;
  28474. begin
  28475. if thebits = 0 then
  28476. pTDefRegMap(@Self)^.clr := $00000400
  28477. else
  28478. pTDefRegMap(@Self)^.&set := $00000400;
  28479. end;
  28480. function TSPI3A_SPI3ACON.getMODE16 : TBits_1; inline;
  28481. begin
  28482. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28483. end;
  28484. procedure TSPI3A_SPI3ACON.setMODE32; inline;
  28485. begin
  28486. pTDefRegMap(@Self)^.&set := $00000800;
  28487. end;
  28488. procedure TSPI3A_SPI3ACON.clearMODE32; inline;
  28489. begin
  28490. pTDefRegMap(@Self)^.clr := $00000800;
  28491. end;
  28492. procedure TSPI3A_SPI3ACON.setMODE32(thebits : TBits_1); inline;
  28493. begin
  28494. if thebits = 0 then
  28495. pTDefRegMap(@Self)^.clr := $00000800
  28496. else
  28497. pTDefRegMap(@Self)^.&set := $00000800;
  28498. end;
  28499. function TSPI3A_SPI3ACON.getMODE32 : TBits_1; inline;
  28500. begin
  28501. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28502. end;
  28503. procedure TSPI3A_SPI3ACON.setDISSDO; inline;
  28504. begin
  28505. pTDefRegMap(@Self)^.&set := $00001000;
  28506. end;
  28507. procedure TSPI3A_SPI3ACON.clearDISSDO; inline;
  28508. begin
  28509. pTDefRegMap(@Self)^.clr := $00001000;
  28510. end;
  28511. procedure TSPI3A_SPI3ACON.setDISSDO(thebits : TBits_1); inline;
  28512. begin
  28513. if thebits = 0 then
  28514. pTDefRegMap(@Self)^.clr := $00001000
  28515. else
  28516. pTDefRegMap(@Self)^.&set := $00001000;
  28517. end;
  28518. function TSPI3A_SPI3ACON.getDISSDO : TBits_1; inline;
  28519. begin
  28520. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28521. end;
  28522. procedure TSPI3A_SPI3ACON.setSIDL; inline;
  28523. begin
  28524. pTDefRegMap(@Self)^.&set := $00002000;
  28525. end;
  28526. procedure TSPI3A_SPI3ACON.clearSIDL; inline;
  28527. begin
  28528. pTDefRegMap(@Self)^.clr := $00002000;
  28529. end;
  28530. procedure TSPI3A_SPI3ACON.setSIDL(thebits : TBits_1); inline;
  28531. begin
  28532. if thebits = 0 then
  28533. pTDefRegMap(@Self)^.clr := $00002000
  28534. else
  28535. pTDefRegMap(@Self)^.&set := $00002000;
  28536. end;
  28537. function TSPI3A_SPI3ACON.getSIDL : TBits_1; inline;
  28538. begin
  28539. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28540. end;
  28541. procedure TSPI3A_SPI3ACON.setON; inline;
  28542. begin
  28543. pTDefRegMap(@Self)^.&set := $00008000;
  28544. end;
  28545. procedure TSPI3A_SPI3ACON.clearON; inline;
  28546. begin
  28547. pTDefRegMap(@Self)^.clr := $00008000;
  28548. end;
  28549. procedure TSPI3A_SPI3ACON.setON(thebits : TBits_1); inline;
  28550. begin
  28551. if thebits = 0 then
  28552. pTDefRegMap(@Self)^.clr := $00008000
  28553. else
  28554. pTDefRegMap(@Self)^.&set := $00008000;
  28555. end;
  28556. function TSPI3A_SPI3ACON.getON : TBits_1; inline;
  28557. begin
  28558. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28559. end;
  28560. procedure TSPI3A_SPI3ACON.setENHBUF; inline;
  28561. begin
  28562. pTDefRegMap(@Self)^.&set := $00010000;
  28563. end;
  28564. procedure TSPI3A_SPI3ACON.clearENHBUF; inline;
  28565. begin
  28566. pTDefRegMap(@Self)^.clr := $00010000;
  28567. end;
  28568. procedure TSPI3A_SPI3ACON.setENHBUF(thebits : TBits_1); inline;
  28569. begin
  28570. if thebits = 0 then
  28571. pTDefRegMap(@Self)^.clr := $00010000
  28572. else
  28573. pTDefRegMap(@Self)^.&set := $00010000;
  28574. end;
  28575. function TSPI3A_SPI3ACON.getENHBUF : TBits_1; inline;
  28576. begin
  28577. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28578. end;
  28579. procedure TSPI3A_SPI3ACON.setSPIFE; inline;
  28580. begin
  28581. pTDefRegMap(@Self)^.&set := $00020000;
  28582. end;
  28583. procedure TSPI3A_SPI3ACON.clearSPIFE; inline;
  28584. begin
  28585. pTDefRegMap(@Self)^.clr := $00020000;
  28586. end;
  28587. procedure TSPI3A_SPI3ACON.setSPIFE(thebits : TBits_1); inline;
  28588. begin
  28589. if thebits = 0 then
  28590. pTDefRegMap(@Self)^.clr := $00020000
  28591. else
  28592. pTDefRegMap(@Self)^.&set := $00020000;
  28593. end;
  28594. function TSPI3A_SPI3ACON.getSPIFE : TBits_1; inline;
  28595. begin
  28596. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28597. end;
  28598. procedure TSPI3A_SPI3ACON.setFRMCNT(thebits : TBits_3); inline;
  28599. begin
  28600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  28601. end;
  28602. function TSPI3A_SPI3ACON.getFRMCNT : TBits_3; inline;
  28603. begin
  28604. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  28605. end;
  28606. procedure TSPI3A_SPI3ACON.setFRMSYPW; inline;
  28607. begin
  28608. pTDefRegMap(@Self)^.&set := $08000000;
  28609. end;
  28610. procedure TSPI3A_SPI3ACON.clearFRMSYPW; inline;
  28611. begin
  28612. pTDefRegMap(@Self)^.clr := $08000000;
  28613. end;
  28614. procedure TSPI3A_SPI3ACON.setFRMSYPW(thebits : TBits_1); inline;
  28615. begin
  28616. if thebits = 0 then
  28617. pTDefRegMap(@Self)^.clr := $08000000
  28618. else
  28619. pTDefRegMap(@Self)^.&set := $08000000;
  28620. end;
  28621. function TSPI3A_SPI3ACON.getFRMSYPW : TBits_1; inline;
  28622. begin
  28623. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28624. end;
  28625. procedure TSPI3A_SPI3ACON.setMSSEN; inline;
  28626. begin
  28627. pTDefRegMap(@Self)^.&set := $10000000;
  28628. end;
  28629. procedure TSPI3A_SPI3ACON.clearMSSEN; inline;
  28630. begin
  28631. pTDefRegMap(@Self)^.clr := $10000000;
  28632. end;
  28633. procedure TSPI3A_SPI3ACON.setMSSEN(thebits : TBits_1); inline;
  28634. begin
  28635. if thebits = 0 then
  28636. pTDefRegMap(@Self)^.clr := $10000000
  28637. else
  28638. pTDefRegMap(@Self)^.&set := $10000000;
  28639. end;
  28640. function TSPI3A_SPI3ACON.getMSSEN : TBits_1; inline;
  28641. begin
  28642. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28643. end;
  28644. procedure TSPI3A_SPI3ACON.setFRMPOL; inline;
  28645. begin
  28646. pTDefRegMap(@Self)^.&set := $20000000;
  28647. end;
  28648. procedure TSPI3A_SPI3ACON.clearFRMPOL; inline;
  28649. begin
  28650. pTDefRegMap(@Self)^.clr := $20000000;
  28651. end;
  28652. procedure TSPI3A_SPI3ACON.setFRMPOL(thebits : TBits_1); inline;
  28653. begin
  28654. if thebits = 0 then
  28655. pTDefRegMap(@Self)^.clr := $20000000
  28656. else
  28657. pTDefRegMap(@Self)^.&set := $20000000;
  28658. end;
  28659. function TSPI3A_SPI3ACON.getFRMPOL : TBits_1; inline;
  28660. begin
  28661. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28662. end;
  28663. procedure TSPI3A_SPI3ACON.setFRMSYNC; inline;
  28664. begin
  28665. pTDefRegMap(@Self)^.&set := $40000000;
  28666. end;
  28667. procedure TSPI3A_SPI3ACON.clearFRMSYNC; inline;
  28668. begin
  28669. pTDefRegMap(@Self)^.clr := $40000000;
  28670. end;
  28671. procedure TSPI3A_SPI3ACON.setFRMSYNC(thebits : TBits_1); inline;
  28672. begin
  28673. if thebits = 0 then
  28674. pTDefRegMap(@Self)^.clr := $40000000
  28675. else
  28676. pTDefRegMap(@Self)^.&set := $40000000;
  28677. end;
  28678. function TSPI3A_SPI3ACON.getFRMSYNC : TBits_1; inline;
  28679. begin
  28680. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28681. end;
  28682. procedure TSPI3A_SPI3ACON.setFRMEN; inline;
  28683. begin
  28684. pTDefRegMap(@Self)^.&set := $80000000;
  28685. end;
  28686. procedure TSPI3A_SPI3ACON.clearFRMEN; inline;
  28687. begin
  28688. pTDefRegMap(@Self)^.clr := $80000000;
  28689. end;
  28690. procedure TSPI3A_SPI3ACON.setFRMEN(thebits : TBits_1); inline;
  28691. begin
  28692. if thebits = 0 then
  28693. pTDefRegMap(@Self)^.clr := $80000000
  28694. else
  28695. pTDefRegMap(@Self)^.&set := $80000000;
  28696. end;
  28697. function TSPI3A_SPI3ACON.getFRMEN : TBits_1; inline;
  28698. begin
  28699. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28700. end;
  28701. procedure TSPI3A_SPI3ACON.setw(thebits : TBits_32); inline;
  28702. begin
  28703. pTDefRegMap(@Self)^.val := thebits;
  28704. end;
  28705. function TSPI3A_SPI3ACON.getw : TBits_32; inline;
  28706. begin
  28707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28708. end;
  28709. procedure TSPI3A_SPI4CON.setSRXISEL(thebits : TBits_2); inline;
  28710. begin
  28711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28712. end;
  28713. function TSPI3A_SPI4CON.getSRXISEL : TBits_2; inline;
  28714. begin
  28715. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28716. end;
  28717. procedure TSPI3A_SPI4CON.setSTXISEL(thebits : TBits_2); inline;
  28718. begin
  28719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  28720. end;
  28721. function TSPI3A_SPI4CON.getSTXISEL : TBits_2; inline;
  28722. begin
  28723. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  28724. end;
  28725. procedure TSPI3A_SPI4CON.setMSTEN; inline;
  28726. begin
  28727. pTDefRegMap(@Self)^.&set := $00000020;
  28728. end;
  28729. procedure TSPI3A_SPI4CON.clearMSTEN; inline;
  28730. begin
  28731. pTDefRegMap(@Self)^.clr := $00000020;
  28732. end;
  28733. procedure TSPI3A_SPI4CON.setMSTEN(thebits : TBits_1); inline;
  28734. begin
  28735. if thebits = 0 then
  28736. pTDefRegMap(@Self)^.clr := $00000020
  28737. else
  28738. pTDefRegMap(@Self)^.&set := $00000020;
  28739. end;
  28740. function TSPI3A_SPI4CON.getMSTEN : TBits_1; inline;
  28741. begin
  28742. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28743. end;
  28744. procedure TSPI3A_SPI4CON.setCKP; inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.&set := $00000040;
  28747. end;
  28748. procedure TSPI3A_SPI4CON.clearCKP; inline;
  28749. begin
  28750. pTDefRegMap(@Self)^.clr := $00000040;
  28751. end;
  28752. procedure TSPI3A_SPI4CON.setCKP(thebits : TBits_1); inline;
  28753. begin
  28754. if thebits = 0 then
  28755. pTDefRegMap(@Self)^.clr := $00000040
  28756. else
  28757. pTDefRegMap(@Self)^.&set := $00000040;
  28758. end;
  28759. function TSPI3A_SPI4CON.getCKP : TBits_1; inline;
  28760. begin
  28761. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28762. end;
  28763. procedure TSPI3A_SPI4CON.setSSEN; inline;
  28764. begin
  28765. pTDefRegMap(@Self)^.&set := $00000080;
  28766. end;
  28767. procedure TSPI3A_SPI4CON.clearSSEN; inline;
  28768. begin
  28769. pTDefRegMap(@Self)^.clr := $00000080;
  28770. end;
  28771. procedure TSPI3A_SPI4CON.setSSEN(thebits : TBits_1); inline;
  28772. begin
  28773. if thebits = 0 then
  28774. pTDefRegMap(@Self)^.clr := $00000080
  28775. else
  28776. pTDefRegMap(@Self)^.&set := $00000080;
  28777. end;
  28778. function TSPI3A_SPI4CON.getSSEN : TBits_1; inline;
  28779. begin
  28780. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28781. end;
  28782. procedure TSPI3A_SPI4CON.setCKE; inline;
  28783. begin
  28784. pTDefRegMap(@Self)^.&set := $00000100;
  28785. end;
  28786. procedure TSPI3A_SPI4CON.clearCKE; inline;
  28787. begin
  28788. pTDefRegMap(@Self)^.clr := $00000100;
  28789. end;
  28790. procedure TSPI3A_SPI4CON.setCKE(thebits : TBits_1); inline;
  28791. begin
  28792. if thebits = 0 then
  28793. pTDefRegMap(@Self)^.clr := $00000100
  28794. else
  28795. pTDefRegMap(@Self)^.&set := $00000100;
  28796. end;
  28797. function TSPI3A_SPI4CON.getCKE : TBits_1; inline;
  28798. begin
  28799. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28800. end;
  28801. procedure TSPI3A_SPI4CON.setSMP; inline;
  28802. begin
  28803. pTDefRegMap(@Self)^.&set := $00000200;
  28804. end;
  28805. procedure TSPI3A_SPI4CON.clearSMP; inline;
  28806. begin
  28807. pTDefRegMap(@Self)^.clr := $00000200;
  28808. end;
  28809. procedure TSPI3A_SPI4CON.setSMP(thebits : TBits_1); inline;
  28810. begin
  28811. if thebits = 0 then
  28812. pTDefRegMap(@Self)^.clr := $00000200
  28813. else
  28814. pTDefRegMap(@Self)^.&set := $00000200;
  28815. end;
  28816. function TSPI3A_SPI4CON.getSMP : TBits_1; inline;
  28817. begin
  28818. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28819. end;
  28820. procedure TSPI3A_SPI4CON.setMODE16; inline;
  28821. begin
  28822. pTDefRegMap(@Self)^.&set := $00000400;
  28823. end;
  28824. procedure TSPI3A_SPI4CON.clearMODE16; inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.clr := $00000400;
  28827. end;
  28828. procedure TSPI3A_SPI4CON.setMODE16(thebits : TBits_1); inline;
  28829. begin
  28830. if thebits = 0 then
  28831. pTDefRegMap(@Self)^.clr := $00000400
  28832. else
  28833. pTDefRegMap(@Self)^.&set := $00000400;
  28834. end;
  28835. function TSPI3A_SPI4CON.getMODE16 : TBits_1; inline;
  28836. begin
  28837. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28838. end;
  28839. procedure TSPI3A_SPI4CON.setMODE32; inline;
  28840. begin
  28841. pTDefRegMap(@Self)^.&set := $00000800;
  28842. end;
  28843. procedure TSPI3A_SPI4CON.clearMODE32; inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.clr := $00000800;
  28846. end;
  28847. procedure TSPI3A_SPI4CON.setMODE32(thebits : TBits_1); inline;
  28848. begin
  28849. if thebits = 0 then
  28850. pTDefRegMap(@Self)^.clr := $00000800
  28851. else
  28852. pTDefRegMap(@Self)^.&set := $00000800;
  28853. end;
  28854. function TSPI3A_SPI4CON.getMODE32 : TBits_1; inline;
  28855. begin
  28856. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28857. end;
  28858. procedure TSPI3A_SPI4CON.setDISSDO; inline;
  28859. begin
  28860. pTDefRegMap(@Self)^.&set := $00001000;
  28861. end;
  28862. procedure TSPI3A_SPI4CON.clearDISSDO; inline;
  28863. begin
  28864. pTDefRegMap(@Self)^.clr := $00001000;
  28865. end;
  28866. procedure TSPI3A_SPI4CON.setDISSDO(thebits : TBits_1); inline;
  28867. begin
  28868. if thebits = 0 then
  28869. pTDefRegMap(@Self)^.clr := $00001000
  28870. else
  28871. pTDefRegMap(@Self)^.&set := $00001000;
  28872. end;
  28873. function TSPI3A_SPI4CON.getDISSDO : TBits_1; inline;
  28874. begin
  28875. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28876. end;
  28877. procedure TSPI3A_SPI4CON.setSIDL; inline;
  28878. begin
  28879. pTDefRegMap(@Self)^.&set := $00002000;
  28880. end;
  28881. procedure TSPI3A_SPI4CON.clearSIDL; inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.clr := $00002000;
  28884. end;
  28885. procedure TSPI3A_SPI4CON.setSIDL(thebits : TBits_1); inline;
  28886. begin
  28887. if thebits = 0 then
  28888. pTDefRegMap(@Self)^.clr := $00002000
  28889. else
  28890. pTDefRegMap(@Self)^.&set := $00002000;
  28891. end;
  28892. function TSPI3A_SPI4CON.getSIDL : TBits_1; inline;
  28893. begin
  28894. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28895. end;
  28896. procedure TSPI3A_SPI4CON.setON; inline;
  28897. begin
  28898. pTDefRegMap(@Self)^.&set := $00008000;
  28899. end;
  28900. procedure TSPI3A_SPI4CON.clearON; inline;
  28901. begin
  28902. pTDefRegMap(@Self)^.clr := $00008000;
  28903. end;
  28904. procedure TSPI3A_SPI4CON.setON(thebits : TBits_1); inline;
  28905. begin
  28906. if thebits = 0 then
  28907. pTDefRegMap(@Self)^.clr := $00008000
  28908. else
  28909. pTDefRegMap(@Self)^.&set := $00008000;
  28910. end;
  28911. function TSPI3A_SPI4CON.getON : TBits_1; inline;
  28912. begin
  28913. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28914. end;
  28915. procedure TSPI3A_SPI4CON.setENHBUF; inline;
  28916. begin
  28917. pTDefRegMap(@Self)^.&set := $00010000;
  28918. end;
  28919. procedure TSPI3A_SPI4CON.clearENHBUF; inline;
  28920. begin
  28921. pTDefRegMap(@Self)^.clr := $00010000;
  28922. end;
  28923. procedure TSPI3A_SPI4CON.setENHBUF(thebits : TBits_1); inline;
  28924. begin
  28925. if thebits = 0 then
  28926. pTDefRegMap(@Self)^.clr := $00010000
  28927. else
  28928. pTDefRegMap(@Self)^.&set := $00010000;
  28929. end;
  28930. function TSPI3A_SPI4CON.getENHBUF : TBits_1; inline;
  28931. begin
  28932. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28933. end;
  28934. procedure TSPI3A_SPI4CON.setSPIFE; inline;
  28935. begin
  28936. pTDefRegMap(@Self)^.&set := $00020000;
  28937. end;
  28938. procedure TSPI3A_SPI4CON.clearSPIFE; inline;
  28939. begin
  28940. pTDefRegMap(@Self)^.clr := $00020000;
  28941. end;
  28942. procedure TSPI3A_SPI4CON.setSPIFE(thebits : TBits_1); inline;
  28943. begin
  28944. if thebits = 0 then
  28945. pTDefRegMap(@Self)^.clr := $00020000
  28946. else
  28947. pTDefRegMap(@Self)^.&set := $00020000;
  28948. end;
  28949. function TSPI3A_SPI4CON.getSPIFE : TBits_1; inline;
  28950. begin
  28951. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28952. end;
  28953. procedure TSPI3A_SPI4CON.setFRMCNT(thebits : TBits_3); inline;
  28954. begin
  28955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  28956. end;
  28957. function TSPI3A_SPI4CON.getFRMCNT : TBits_3; inline;
  28958. begin
  28959. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  28960. end;
  28961. procedure TSPI3A_SPI4CON.setFRMSYPW; inline;
  28962. begin
  28963. pTDefRegMap(@Self)^.&set := $08000000;
  28964. end;
  28965. procedure TSPI3A_SPI4CON.clearFRMSYPW; inline;
  28966. begin
  28967. pTDefRegMap(@Self)^.clr := $08000000;
  28968. end;
  28969. procedure TSPI3A_SPI4CON.setFRMSYPW(thebits : TBits_1); inline;
  28970. begin
  28971. if thebits = 0 then
  28972. pTDefRegMap(@Self)^.clr := $08000000
  28973. else
  28974. pTDefRegMap(@Self)^.&set := $08000000;
  28975. end;
  28976. function TSPI3A_SPI4CON.getFRMSYPW : TBits_1; inline;
  28977. begin
  28978. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28979. end;
  28980. procedure TSPI3A_SPI4CON.setMSSEN; inline;
  28981. begin
  28982. pTDefRegMap(@Self)^.&set := $10000000;
  28983. end;
  28984. procedure TSPI3A_SPI4CON.clearMSSEN; inline;
  28985. begin
  28986. pTDefRegMap(@Self)^.clr := $10000000;
  28987. end;
  28988. procedure TSPI3A_SPI4CON.setMSSEN(thebits : TBits_1); inline;
  28989. begin
  28990. if thebits = 0 then
  28991. pTDefRegMap(@Self)^.clr := $10000000
  28992. else
  28993. pTDefRegMap(@Self)^.&set := $10000000;
  28994. end;
  28995. function TSPI3A_SPI4CON.getMSSEN : TBits_1; inline;
  28996. begin
  28997. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28998. end;
  28999. procedure TSPI3A_SPI4CON.setFRMPOL; inline;
  29000. begin
  29001. pTDefRegMap(@Self)^.&set := $20000000;
  29002. end;
  29003. procedure TSPI3A_SPI4CON.clearFRMPOL; inline;
  29004. begin
  29005. pTDefRegMap(@Self)^.clr := $20000000;
  29006. end;
  29007. procedure TSPI3A_SPI4CON.setFRMPOL(thebits : TBits_1); inline;
  29008. begin
  29009. if thebits = 0 then
  29010. pTDefRegMap(@Self)^.clr := $20000000
  29011. else
  29012. pTDefRegMap(@Self)^.&set := $20000000;
  29013. end;
  29014. function TSPI3A_SPI4CON.getFRMPOL : TBits_1; inline;
  29015. begin
  29016. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  29017. end;
  29018. procedure TSPI3A_SPI4CON.setFRMSYNC; inline;
  29019. begin
  29020. pTDefRegMap(@Self)^.&set := $40000000;
  29021. end;
  29022. procedure TSPI3A_SPI4CON.clearFRMSYNC; inline;
  29023. begin
  29024. pTDefRegMap(@Self)^.clr := $40000000;
  29025. end;
  29026. procedure TSPI3A_SPI4CON.setFRMSYNC(thebits : TBits_1); inline;
  29027. begin
  29028. if thebits = 0 then
  29029. pTDefRegMap(@Self)^.clr := $40000000
  29030. else
  29031. pTDefRegMap(@Self)^.&set := $40000000;
  29032. end;
  29033. function TSPI3A_SPI4CON.getFRMSYNC : TBits_1; inline;
  29034. begin
  29035. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29036. end;
  29037. procedure TSPI3A_SPI4CON.setFRMEN; inline;
  29038. begin
  29039. pTDefRegMap(@Self)^.&set := $80000000;
  29040. end;
  29041. procedure TSPI3A_SPI4CON.clearFRMEN; inline;
  29042. begin
  29043. pTDefRegMap(@Self)^.clr := $80000000;
  29044. end;
  29045. procedure TSPI3A_SPI4CON.setFRMEN(thebits : TBits_1); inline;
  29046. begin
  29047. if thebits = 0 then
  29048. pTDefRegMap(@Self)^.clr := $80000000
  29049. else
  29050. pTDefRegMap(@Self)^.&set := $80000000;
  29051. end;
  29052. function TSPI3A_SPI4CON.getFRMEN : TBits_1; inline;
  29053. begin
  29054. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  29055. end;
  29056. procedure TSPI3A_SPI4CON.setw(thebits : TBits_32); inline;
  29057. begin
  29058. pTDefRegMap(@Self)^.val := thebits;
  29059. end;
  29060. function TSPI3A_SPI4CON.getw : TBits_32; inline;
  29061. begin
  29062. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29063. end;
  29064. procedure TSPI3A_SPI3ASTAT.setSPIRBF; inline;
  29065. begin
  29066. pTDefRegMap(@Self)^.&set := $00000001;
  29067. end;
  29068. procedure TSPI3A_SPI3ASTAT.clearSPIRBF; inline;
  29069. begin
  29070. pTDefRegMap(@Self)^.clr := $00000001;
  29071. end;
  29072. procedure TSPI3A_SPI3ASTAT.setSPIRBF(thebits : TBits_1); inline;
  29073. begin
  29074. if thebits = 0 then
  29075. pTDefRegMap(@Self)^.clr := $00000001
  29076. else
  29077. pTDefRegMap(@Self)^.&set := $00000001;
  29078. end;
  29079. function TSPI3A_SPI3ASTAT.getSPIRBF : TBits_1; inline;
  29080. begin
  29081. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29082. end;
  29083. procedure TSPI3A_SPI3ASTAT.setSPITBF; inline;
  29084. begin
  29085. pTDefRegMap(@Self)^.&set := $00000002;
  29086. end;
  29087. procedure TSPI3A_SPI3ASTAT.clearSPITBF; inline;
  29088. begin
  29089. pTDefRegMap(@Self)^.clr := $00000002;
  29090. end;
  29091. procedure TSPI3A_SPI3ASTAT.setSPITBF(thebits : TBits_1); inline;
  29092. begin
  29093. if thebits = 0 then
  29094. pTDefRegMap(@Self)^.clr := $00000002
  29095. else
  29096. pTDefRegMap(@Self)^.&set := $00000002;
  29097. end;
  29098. function TSPI3A_SPI3ASTAT.getSPITBF : TBits_1; inline;
  29099. begin
  29100. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29101. end;
  29102. procedure TSPI3A_SPI3ASTAT.setSPITBE; inline;
  29103. begin
  29104. pTDefRegMap(@Self)^.&set := $00000008;
  29105. end;
  29106. procedure TSPI3A_SPI3ASTAT.clearSPITBE; inline;
  29107. begin
  29108. pTDefRegMap(@Self)^.clr := $00000008;
  29109. end;
  29110. procedure TSPI3A_SPI3ASTAT.setSPITBE(thebits : TBits_1); inline;
  29111. begin
  29112. if thebits = 0 then
  29113. pTDefRegMap(@Self)^.clr := $00000008
  29114. else
  29115. pTDefRegMap(@Self)^.&set := $00000008;
  29116. end;
  29117. function TSPI3A_SPI3ASTAT.getSPITBE : TBits_1; inline;
  29118. begin
  29119. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29120. end;
  29121. procedure TSPI3A_SPI3ASTAT.setSPIRBE; inline;
  29122. begin
  29123. pTDefRegMap(@Self)^.&set := $00000020;
  29124. end;
  29125. procedure TSPI3A_SPI3ASTAT.clearSPIRBE; inline;
  29126. begin
  29127. pTDefRegMap(@Self)^.clr := $00000020;
  29128. end;
  29129. procedure TSPI3A_SPI3ASTAT.setSPIRBE(thebits : TBits_1); inline;
  29130. begin
  29131. if thebits = 0 then
  29132. pTDefRegMap(@Self)^.clr := $00000020
  29133. else
  29134. pTDefRegMap(@Self)^.&set := $00000020;
  29135. end;
  29136. function TSPI3A_SPI3ASTAT.getSPIRBE : TBits_1; inline;
  29137. begin
  29138. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29139. end;
  29140. procedure TSPI3A_SPI3ASTAT.setSPIROV; inline;
  29141. begin
  29142. pTDefRegMap(@Self)^.&set := $00000040;
  29143. end;
  29144. procedure TSPI3A_SPI3ASTAT.clearSPIROV; inline;
  29145. begin
  29146. pTDefRegMap(@Self)^.clr := $00000040;
  29147. end;
  29148. procedure TSPI3A_SPI3ASTAT.setSPIROV(thebits : TBits_1); inline;
  29149. begin
  29150. if thebits = 0 then
  29151. pTDefRegMap(@Self)^.clr := $00000040
  29152. else
  29153. pTDefRegMap(@Self)^.&set := $00000040;
  29154. end;
  29155. function TSPI3A_SPI3ASTAT.getSPIROV : TBits_1; inline;
  29156. begin
  29157. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29158. end;
  29159. procedure TSPI3A_SPI3ASTAT.setSRMT; inline;
  29160. begin
  29161. pTDefRegMap(@Self)^.&set := $00000080;
  29162. end;
  29163. procedure TSPI3A_SPI3ASTAT.clearSRMT; inline;
  29164. begin
  29165. pTDefRegMap(@Self)^.clr := $00000080;
  29166. end;
  29167. procedure TSPI3A_SPI3ASTAT.setSRMT(thebits : TBits_1); inline;
  29168. begin
  29169. if thebits = 0 then
  29170. pTDefRegMap(@Self)^.clr := $00000080
  29171. else
  29172. pTDefRegMap(@Self)^.&set := $00000080;
  29173. end;
  29174. function TSPI3A_SPI3ASTAT.getSRMT : TBits_1; inline;
  29175. begin
  29176. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29177. end;
  29178. procedure TSPI3A_SPI3ASTAT.setSPITUR; inline;
  29179. begin
  29180. pTDefRegMap(@Self)^.&set := $00000100;
  29181. end;
  29182. procedure TSPI3A_SPI3ASTAT.clearSPITUR; inline;
  29183. begin
  29184. pTDefRegMap(@Self)^.clr := $00000100;
  29185. end;
  29186. procedure TSPI3A_SPI3ASTAT.setSPITUR(thebits : TBits_1); inline;
  29187. begin
  29188. if thebits = 0 then
  29189. pTDefRegMap(@Self)^.clr := $00000100
  29190. else
  29191. pTDefRegMap(@Self)^.&set := $00000100;
  29192. end;
  29193. function TSPI3A_SPI3ASTAT.getSPITUR : TBits_1; inline;
  29194. begin
  29195. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29196. end;
  29197. procedure TSPI3A_SPI3ASTAT.setSPIBUSY; inline;
  29198. begin
  29199. pTDefRegMap(@Self)^.&set := $00000800;
  29200. end;
  29201. procedure TSPI3A_SPI3ASTAT.clearSPIBUSY; inline;
  29202. begin
  29203. pTDefRegMap(@Self)^.clr := $00000800;
  29204. end;
  29205. procedure TSPI3A_SPI3ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  29206. begin
  29207. if thebits = 0 then
  29208. pTDefRegMap(@Self)^.clr := $00000800
  29209. else
  29210. pTDefRegMap(@Self)^.&set := $00000800;
  29211. end;
  29212. function TSPI3A_SPI3ASTAT.getSPIBUSY : TBits_1; inline;
  29213. begin
  29214. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29215. end;
  29216. procedure TSPI3A_SPI3ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  29217. begin
  29218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  29219. end;
  29220. function TSPI3A_SPI3ASTAT.getTXBUFELM : TBits_5; inline;
  29221. begin
  29222. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  29223. end;
  29224. procedure TSPI3A_SPI3ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  29225. begin
  29226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  29227. end;
  29228. function TSPI3A_SPI3ASTAT.getRXBUFELM : TBits_5; inline;
  29229. begin
  29230. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  29231. end;
  29232. procedure TSPI3A_SPI3ASTAT.setw(thebits : TBits_32); inline;
  29233. begin
  29234. pTDefRegMap(@Self)^.val := thebits;
  29235. end;
  29236. function TSPI3A_SPI3ASTAT.getw : TBits_32; inline;
  29237. begin
  29238. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29239. end;
  29240. procedure TSPI3A_SPI4STAT.setSPIRBF; inline;
  29241. begin
  29242. pTDefRegMap(@Self)^.&set := $00000001;
  29243. end;
  29244. procedure TSPI3A_SPI4STAT.clearSPIRBF; inline;
  29245. begin
  29246. pTDefRegMap(@Self)^.clr := $00000001;
  29247. end;
  29248. procedure TSPI3A_SPI4STAT.setSPIRBF(thebits : TBits_1); inline;
  29249. begin
  29250. if thebits = 0 then
  29251. pTDefRegMap(@Self)^.clr := $00000001
  29252. else
  29253. pTDefRegMap(@Self)^.&set := $00000001;
  29254. end;
  29255. function TSPI3A_SPI4STAT.getSPIRBF : TBits_1; inline;
  29256. begin
  29257. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29258. end;
  29259. procedure TSPI3A_SPI4STAT.setSPITBF; inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.&set := $00000002;
  29262. end;
  29263. procedure TSPI3A_SPI4STAT.clearSPITBF; inline;
  29264. begin
  29265. pTDefRegMap(@Self)^.clr := $00000002;
  29266. end;
  29267. procedure TSPI3A_SPI4STAT.setSPITBF(thebits : TBits_1); inline;
  29268. begin
  29269. if thebits = 0 then
  29270. pTDefRegMap(@Self)^.clr := $00000002
  29271. else
  29272. pTDefRegMap(@Self)^.&set := $00000002;
  29273. end;
  29274. function TSPI3A_SPI4STAT.getSPITBF : TBits_1; inline;
  29275. begin
  29276. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29277. end;
  29278. procedure TSPI3A_SPI4STAT.setSPITBE; inline;
  29279. begin
  29280. pTDefRegMap(@Self)^.&set := $00000008;
  29281. end;
  29282. procedure TSPI3A_SPI4STAT.clearSPITBE; inline;
  29283. begin
  29284. pTDefRegMap(@Self)^.clr := $00000008;
  29285. end;
  29286. procedure TSPI3A_SPI4STAT.setSPITBE(thebits : TBits_1); inline;
  29287. begin
  29288. if thebits = 0 then
  29289. pTDefRegMap(@Self)^.clr := $00000008
  29290. else
  29291. pTDefRegMap(@Self)^.&set := $00000008;
  29292. end;
  29293. function TSPI3A_SPI4STAT.getSPITBE : TBits_1; inline;
  29294. begin
  29295. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29296. end;
  29297. procedure TSPI3A_SPI4STAT.setSPIRBE; inline;
  29298. begin
  29299. pTDefRegMap(@Self)^.&set := $00000020;
  29300. end;
  29301. procedure TSPI3A_SPI4STAT.clearSPIRBE; inline;
  29302. begin
  29303. pTDefRegMap(@Self)^.clr := $00000020;
  29304. end;
  29305. procedure TSPI3A_SPI4STAT.setSPIRBE(thebits : TBits_1); inline;
  29306. begin
  29307. if thebits = 0 then
  29308. pTDefRegMap(@Self)^.clr := $00000020
  29309. else
  29310. pTDefRegMap(@Self)^.&set := $00000020;
  29311. end;
  29312. function TSPI3A_SPI4STAT.getSPIRBE : TBits_1; inline;
  29313. begin
  29314. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29315. end;
  29316. procedure TSPI3A_SPI4STAT.setSPIROV; inline;
  29317. begin
  29318. pTDefRegMap(@Self)^.&set := $00000040;
  29319. end;
  29320. procedure TSPI3A_SPI4STAT.clearSPIROV; inline;
  29321. begin
  29322. pTDefRegMap(@Self)^.clr := $00000040;
  29323. end;
  29324. procedure TSPI3A_SPI4STAT.setSPIROV(thebits : TBits_1); inline;
  29325. begin
  29326. if thebits = 0 then
  29327. pTDefRegMap(@Self)^.clr := $00000040
  29328. else
  29329. pTDefRegMap(@Self)^.&set := $00000040;
  29330. end;
  29331. function TSPI3A_SPI4STAT.getSPIROV : TBits_1; inline;
  29332. begin
  29333. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29334. end;
  29335. procedure TSPI3A_SPI4STAT.setSRMT; inline;
  29336. begin
  29337. pTDefRegMap(@Self)^.&set := $00000080;
  29338. end;
  29339. procedure TSPI3A_SPI4STAT.clearSRMT; inline;
  29340. begin
  29341. pTDefRegMap(@Self)^.clr := $00000080;
  29342. end;
  29343. procedure TSPI3A_SPI4STAT.setSRMT(thebits : TBits_1); inline;
  29344. begin
  29345. if thebits = 0 then
  29346. pTDefRegMap(@Self)^.clr := $00000080
  29347. else
  29348. pTDefRegMap(@Self)^.&set := $00000080;
  29349. end;
  29350. function TSPI3A_SPI4STAT.getSRMT : TBits_1; inline;
  29351. begin
  29352. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29353. end;
  29354. procedure TSPI3A_SPI4STAT.setSPITUR; inline;
  29355. begin
  29356. pTDefRegMap(@Self)^.&set := $00000100;
  29357. end;
  29358. procedure TSPI3A_SPI4STAT.clearSPITUR; inline;
  29359. begin
  29360. pTDefRegMap(@Self)^.clr := $00000100;
  29361. end;
  29362. procedure TSPI3A_SPI4STAT.setSPITUR(thebits : TBits_1); inline;
  29363. begin
  29364. if thebits = 0 then
  29365. pTDefRegMap(@Self)^.clr := $00000100
  29366. else
  29367. pTDefRegMap(@Self)^.&set := $00000100;
  29368. end;
  29369. function TSPI3A_SPI4STAT.getSPITUR : TBits_1; inline;
  29370. begin
  29371. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29372. end;
  29373. procedure TSPI3A_SPI4STAT.setSPIBUSY; inline;
  29374. begin
  29375. pTDefRegMap(@Self)^.&set := $00000800;
  29376. end;
  29377. procedure TSPI3A_SPI4STAT.clearSPIBUSY; inline;
  29378. begin
  29379. pTDefRegMap(@Self)^.clr := $00000800;
  29380. end;
  29381. procedure TSPI3A_SPI4STAT.setSPIBUSY(thebits : TBits_1); inline;
  29382. begin
  29383. if thebits = 0 then
  29384. pTDefRegMap(@Self)^.clr := $00000800
  29385. else
  29386. pTDefRegMap(@Self)^.&set := $00000800;
  29387. end;
  29388. function TSPI3A_SPI4STAT.getSPIBUSY : TBits_1; inline;
  29389. begin
  29390. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29391. end;
  29392. procedure TSPI3A_SPI4STAT.setTXBUFELM(thebits : TBits_5); inline;
  29393. begin
  29394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  29395. end;
  29396. function TSPI3A_SPI4STAT.getTXBUFELM : TBits_5; inline;
  29397. begin
  29398. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  29399. end;
  29400. procedure TSPI3A_SPI4STAT.setRXBUFELM(thebits : TBits_5); inline;
  29401. begin
  29402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  29403. end;
  29404. function TSPI3A_SPI4STAT.getRXBUFELM : TBits_5; inline;
  29405. begin
  29406. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  29407. end;
  29408. procedure TSPI3A_SPI4STAT.setw(thebits : TBits_32); inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.val := thebits;
  29411. end;
  29412. function TSPI3A_SPI4STAT.getw : TBits_32; inline;
  29413. begin
  29414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29415. end;
  29416. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  29417. begin
  29418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29419. end;
  29420. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  29421. begin
  29422. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29423. end;
  29424. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  29425. begin
  29426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  29427. end;
  29428. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  29429. begin
  29430. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  29431. end;
  29432. procedure TSPI1_SPI1CON.setMSTEN; inline;
  29433. begin
  29434. pTDefRegMap(@Self)^.&set := $00000020;
  29435. end;
  29436. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  29437. begin
  29438. pTDefRegMap(@Self)^.clr := $00000020;
  29439. end;
  29440. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  29441. begin
  29442. if thebits = 0 then
  29443. pTDefRegMap(@Self)^.clr := $00000020
  29444. else
  29445. pTDefRegMap(@Self)^.&set := $00000020;
  29446. end;
  29447. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  29448. begin
  29449. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29450. end;
  29451. procedure TSPI1_SPI1CON.setCKP; inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.&set := $00000040;
  29454. end;
  29455. procedure TSPI1_SPI1CON.clearCKP; inline;
  29456. begin
  29457. pTDefRegMap(@Self)^.clr := $00000040;
  29458. end;
  29459. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  29460. begin
  29461. if thebits = 0 then
  29462. pTDefRegMap(@Self)^.clr := $00000040
  29463. else
  29464. pTDefRegMap(@Self)^.&set := $00000040;
  29465. end;
  29466. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  29467. begin
  29468. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29469. end;
  29470. procedure TSPI1_SPI1CON.setSSEN; inline;
  29471. begin
  29472. pTDefRegMap(@Self)^.&set := $00000080;
  29473. end;
  29474. procedure TSPI1_SPI1CON.clearSSEN; inline;
  29475. begin
  29476. pTDefRegMap(@Self)^.clr := $00000080;
  29477. end;
  29478. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  29479. begin
  29480. if thebits = 0 then
  29481. pTDefRegMap(@Self)^.clr := $00000080
  29482. else
  29483. pTDefRegMap(@Self)^.&set := $00000080;
  29484. end;
  29485. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  29486. begin
  29487. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29488. end;
  29489. procedure TSPI1_SPI1CON.setCKE; inline;
  29490. begin
  29491. pTDefRegMap(@Self)^.&set := $00000100;
  29492. end;
  29493. procedure TSPI1_SPI1CON.clearCKE; inline;
  29494. begin
  29495. pTDefRegMap(@Self)^.clr := $00000100;
  29496. end;
  29497. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  29498. begin
  29499. if thebits = 0 then
  29500. pTDefRegMap(@Self)^.clr := $00000100
  29501. else
  29502. pTDefRegMap(@Self)^.&set := $00000100;
  29503. end;
  29504. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  29505. begin
  29506. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29507. end;
  29508. procedure TSPI1_SPI1CON.setSMP; inline;
  29509. begin
  29510. pTDefRegMap(@Self)^.&set := $00000200;
  29511. end;
  29512. procedure TSPI1_SPI1CON.clearSMP; inline;
  29513. begin
  29514. pTDefRegMap(@Self)^.clr := $00000200;
  29515. end;
  29516. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  29517. begin
  29518. if thebits = 0 then
  29519. pTDefRegMap(@Self)^.clr := $00000200
  29520. else
  29521. pTDefRegMap(@Self)^.&set := $00000200;
  29522. end;
  29523. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  29524. begin
  29525. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29526. end;
  29527. procedure TSPI1_SPI1CON.setMODE16; inline;
  29528. begin
  29529. pTDefRegMap(@Self)^.&set := $00000400;
  29530. end;
  29531. procedure TSPI1_SPI1CON.clearMODE16; inline;
  29532. begin
  29533. pTDefRegMap(@Self)^.clr := $00000400;
  29534. end;
  29535. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  29536. begin
  29537. if thebits = 0 then
  29538. pTDefRegMap(@Self)^.clr := $00000400
  29539. else
  29540. pTDefRegMap(@Self)^.&set := $00000400;
  29541. end;
  29542. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  29543. begin
  29544. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29545. end;
  29546. procedure TSPI1_SPI1CON.setMODE32; inline;
  29547. begin
  29548. pTDefRegMap(@Self)^.&set := $00000800;
  29549. end;
  29550. procedure TSPI1_SPI1CON.clearMODE32; inline;
  29551. begin
  29552. pTDefRegMap(@Self)^.clr := $00000800;
  29553. end;
  29554. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  29555. begin
  29556. if thebits = 0 then
  29557. pTDefRegMap(@Self)^.clr := $00000800
  29558. else
  29559. pTDefRegMap(@Self)^.&set := $00000800;
  29560. end;
  29561. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  29562. begin
  29563. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29564. end;
  29565. procedure TSPI1_SPI1CON.setDISSDO; inline;
  29566. begin
  29567. pTDefRegMap(@Self)^.&set := $00001000;
  29568. end;
  29569. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  29570. begin
  29571. pTDefRegMap(@Self)^.clr := $00001000;
  29572. end;
  29573. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  29574. begin
  29575. if thebits = 0 then
  29576. pTDefRegMap(@Self)^.clr := $00001000
  29577. else
  29578. pTDefRegMap(@Self)^.&set := $00001000;
  29579. end;
  29580. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  29581. begin
  29582. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29583. end;
  29584. procedure TSPI1_SPI1CON.setSIDL; inline;
  29585. begin
  29586. pTDefRegMap(@Self)^.&set := $00002000;
  29587. end;
  29588. procedure TSPI1_SPI1CON.clearSIDL; inline;
  29589. begin
  29590. pTDefRegMap(@Self)^.clr := $00002000;
  29591. end;
  29592. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  29593. begin
  29594. if thebits = 0 then
  29595. pTDefRegMap(@Self)^.clr := $00002000
  29596. else
  29597. pTDefRegMap(@Self)^.&set := $00002000;
  29598. end;
  29599. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  29600. begin
  29601. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29602. end;
  29603. procedure TSPI1_SPI1CON.setON; inline;
  29604. begin
  29605. pTDefRegMap(@Self)^.&set := $00008000;
  29606. end;
  29607. procedure TSPI1_SPI1CON.clearON; inline;
  29608. begin
  29609. pTDefRegMap(@Self)^.clr := $00008000;
  29610. end;
  29611. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  29612. begin
  29613. if thebits = 0 then
  29614. pTDefRegMap(@Self)^.clr := $00008000
  29615. else
  29616. pTDefRegMap(@Self)^.&set := $00008000;
  29617. end;
  29618. function TSPI1_SPI1CON.getON : TBits_1; inline;
  29619. begin
  29620. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29621. end;
  29622. procedure TSPI1_SPI1CON.setENHBUF; inline;
  29623. begin
  29624. pTDefRegMap(@Self)^.&set := $00010000;
  29625. end;
  29626. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  29627. begin
  29628. pTDefRegMap(@Self)^.clr := $00010000;
  29629. end;
  29630. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  29631. begin
  29632. if thebits = 0 then
  29633. pTDefRegMap(@Self)^.clr := $00010000
  29634. else
  29635. pTDefRegMap(@Self)^.&set := $00010000;
  29636. end;
  29637. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  29638. begin
  29639. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29640. end;
  29641. procedure TSPI1_SPI1CON.setSPIFE; inline;
  29642. begin
  29643. pTDefRegMap(@Self)^.&set := $00020000;
  29644. end;
  29645. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  29646. begin
  29647. pTDefRegMap(@Self)^.clr := $00020000;
  29648. end;
  29649. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  29650. begin
  29651. if thebits = 0 then
  29652. pTDefRegMap(@Self)^.clr := $00020000
  29653. else
  29654. pTDefRegMap(@Self)^.&set := $00020000;
  29655. end;
  29656. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  29657. begin
  29658. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29659. end;
  29660. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  29661. begin
  29662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  29663. end;
  29664. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  29665. begin
  29666. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  29667. end;
  29668. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  29669. begin
  29670. pTDefRegMap(@Self)^.&set := $08000000;
  29671. end;
  29672. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  29673. begin
  29674. pTDefRegMap(@Self)^.clr := $08000000;
  29675. end;
  29676. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  29677. begin
  29678. if thebits = 0 then
  29679. pTDefRegMap(@Self)^.clr := $08000000
  29680. else
  29681. pTDefRegMap(@Self)^.&set := $08000000;
  29682. end;
  29683. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  29684. begin
  29685. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29686. end;
  29687. procedure TSPI1_SPI1CON.setMSSEN; inline;
  29688. begin
  29689. pTDefRegMap(@Self)^.&set := $10000000;
  29690. end;
  29691. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.clr := $10000000;
  29694. end;
  29695. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  29696. begin
  29697. if thebits = 0 then
  29698. pTDefRegMap(@Self)^.clr := $10000000
  29699. else
  29700. pTDefRegMap(@Self)^.&set := $10000000;
  29701. end;
  29702. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  29703. begin
  29704. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  29705. end;
  29706. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  29707. begin
  29708. pTDefRegMap(@Self)^.&set := $20000000;
  29709. end;
  29710. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  29711. begin
  29712. pTDefRegMap(@Self)^.clr := $20000000;
  29713. end;
  29714. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  29715. begin
  29716. if thebits = 0 then
  29717. pTDefRegMap(@Self)^.clr := $20000000
  29718. else
  29719. pTDefRegMap(@Self)^.&set := $20000000;
  29720. end;
  29721. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  29722. begin
  29723. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  29724. end;
  29725. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  29726. begin
  29727. pTDefRegMap(@Self)^.&set := $40000000;
  29728. end;
  29729. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  29730. begin
  29731. pTDefRegMap(@Self)^.clr := $40000000;
  29732. end;
  29733. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  29734. begin
  29735. if thebits = 0 then
  29736. pTDefRegMap(@Self)^.clr := $40000000
  29737. else
  29738. pTDefRegMap(@Self)^.&set := $40000000;
  29739. end;
  29740. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  29741. begin
  29742. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29743. end;
  29744. procedure TSPI1_SPI1CON.setFRMEN; inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.&set := $80000000;
  29747. end;
  29748. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  29749. begin
  29750. pTDefRegMap(@Self)^.clr := $80000000;
  29751. end;
  29752. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  29753. begin
  29754. if thebits = 0 then
  29755. pTDefRegMap(@Self)^.clr := $80000000
  29756. else
  29757. pTDefRegMap(@Self)^.&set := $80000000;
  29758. end;
  29759. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  29760. begin
  29761. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  29762. end;
  29763. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.val := thebits;
  29766. end;
  29767. function TSPI1_SPI1CON.getw : TBits_32; inline;
  29768. begin
  29769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29770. end;
  29771. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  29772. begin
  29773. pTDefRegMap(@Self)^.&set := $00000001;
  29774. end;
  29775. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  29776. begin
  29777. pTDefRegMap(@Self)^.clr := $00000001;
  29778. end;
  29779. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  29780. begin
  29781. if thebits = 0 then
  29782. pTDefRegMap(@Self)^.clr := $00000001
  29783. else
  29784. pTDefRegMap(@Self)^.&set := $00000001;
  29785. end;
  29786. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  29787. begin
  29788. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29789. end;
  29790. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  29791. begin
  29792. pTDefRegMap(@Self)^.&set := $00000002;
  29793. end;
  29794. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  29795. begin
  29796. pTDefRegMap(@Self)^.clr := $00000002;
  29797. end;
  29798. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  29799. begin
  29800. if thebits = 0 then
  29801. pTDefRegMap(@Self)^.clr := $00000002
  29802. else
  29803. pTDefRegMap(@Self)^.&set := $00000002;
  29804. end;
  29805. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  29806. begin
  29807. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29808. end;
  29809. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  29810. begin
  29811. pTDefRegMap(@Self)^.&set := $00000008;
  29812. end;
  29813. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  29814. begin
  29815. pTDefRegMap(@Self)^.clr := $00000008;
  29816. end;
  29817. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  29818. begin
  29819. if thebits = 0 then
  29820. pTDefRegMap(@Self)^.clr := $00000008
  29821. else
  29822. pTDefRegMap(@Self)^.&set := $00000008;
  29823. end;
  29824. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  29825. begin
  29826. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29827. end;
  29828. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  29829. begin
  29830. pTDefRegMap(@Self)^.&set := $00000020;
  29831. end;
  29832. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  29833. begin
  29834. pTDefRegMap(@Self)^.clr := $00000020;
  29835. end;
  29836. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  29837. begin
  29838. if thebits = 0 then
  29839. pTDefRegMap(@Self)^.clr := $00000020
  29840. else
  29841. pTDefRegMap(@Self)^.&set := $00000020;
  29842. end;
  29843. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  29844. begin
  29845. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29846. end;
  29847. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  29848. begin
  29849. pTDefRegMap(@Self)^.&set := $00000040;
  29850. end;
  29851. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.clr := $00000040;
  29854. end;
  29855. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  29856. begin
  29857. if thebits = 0 then
  29858. pTDefRegMap(@Self)^.clr := $00000040
  29859. else
  29860. pTDefRegMap(@Self)^.&set := $00000040;
  29861. end;
  29862. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  29863. begin
  29864. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29865. end;
  29866. procedure TSPI1_SPI1STAT.setSRMT; inline;
  29867. begin
  29868. pTDefRegMap(@Self)^.&set := $00000080;
  29869. end;
  29870. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  29871. begin
  29872. pTDefRegMap(@Self)^.clr := $00000080;
  29873. end;
  29874. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  29875. begin
  29876. if thebits = 0 then
  29877. pTDefRegMap(@Self)^.clr := $00000080
  29878. else
  29879. pTDefRegMap(@Self)^.&set := $00000080;
  29880. end;
  29881. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  29882. begin
  29883. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29884. end;
  29885. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  29886. begin
  29887. pTDefRegMap(@Self)^.&set := $00000100;
  29888. end;
  29889. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  29890. begin
  29891. pTDefRegMap(@Self)^.clr := $00000100;
  29892. end;
  29893. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  29894. begin
  29895. if thebits = 0 then
  29896. pTDefRegMap(@Self)^.clr := $00000100
  29897. else
  29898. pTDefRegMap(@Self)^.&set := $00000100;
  29899. end;
  29900. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  29901. begin
  29902. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29903. end;
  29904. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  29905. begin
  29906. pTDefRegMap(@Self)^.&set := $00000800;
  29907. end;
  29908. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.clr := $00000800;
  29911. end;
  29912. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  29913. begin
  29914. if thebits = 0 then
  29915. pTDefRegMap(@Self)^.clr := $00000800
  29916. else
  29917. pTDefRegMap(@Self)^.&set := $00000800;
  29918. end;
  29919. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  29920. begin
  29921. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29922. end;
  29923. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  29924. begin
  29925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  29926. end;
  29927. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  29928. begin
  29929. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  29930. end;
  29931. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  29932. begin
  29933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  29934. end;
  29935. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  29936. begin
  29937. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  29938. end;
  29939. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  29940. begin
  29941. pTDefRegMap(@Self)^.val := thebits;
  29942. end;
  29943. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  29944. begin
  29945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29946. end;
  29947. procedure TUART1A_U1AMODE.setSTSEL; inline;
  29948. begin
  29949. pTDefRegMap(@Self)^.&set := $00000001;
  29950. end;
  29951. procedure TUART1A_U1AMODE.clearSTSEL; inline;
  29952. begin
  29953. pTDefRegMap(@Self)^.clr := $00000001;
  29954. end;
  29955. procedure TUART1A_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  29956. begin
  29957. if thebits = 0 then
  29958. pTDefRegMap(@Self)^.clr := $00000001
  29959. else
  29960. pTDefRegMap(@Self)^.&set := $00000001;
  29961. end;
  29962. function TUART1A_U1AMODE.getSTSEL : TBits_1; inline;
  29963. begin
  29964. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29965. end;
  29966. procedure TUART1A_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  29967. begin
  29968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29969. end;
  29970. function TUART1A_U1AMODE.getPDSEL : TBits_2; inline;
  29971. begin
  29972. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29973. end;
  29974. procedure TUART1A_U1AMODE.setBRGH; inline;
  29975. begin
  29976. pTDefRegMap(@Self)^.&set := $00000008;
  29977. end;
  29978. procedure TUART1A_U1AMODE.clearBRGH; inline;
  29979. begin
  29980. pTDefRegMap(@Self)^.clr := $00000008;
  29981. end;
  29982. procedure TUART1A_U1AMODE.setBRGH(thebits : TBits_1); inline;
  29983. begin
  29984. if thebits = 0 then
  29985. pTDefRegMap(@Self)^.clr := $00000008
  29986. else
  29987. pTDefRegMap(@Self)^.&set := $00000008;
  29988. end;
  29989. function TUART1A_U1AMODE.getBRGH : TBits_1; inline;
  29990. begin
  29991. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29992. end;
  29993. procedure TUART1A_U1AMODE.setRXINV; inline;
  29994. begin
  29995. pTDefRegMap(@Self)^.&set := $00000010;
  29996. end;
  29997. procedure TUART1A_U1AMODE.clearRXINV; inline;
  29998. begin
  29999. pTDefRegMap(@Self)^.clr := $00000010;
  30000. end;
  30001. procedure TUART1A_U1AMODE.setRXINV(thebits : TBits_1); inline;
  30002. begin
  30003. if thebits = 0 then
  30004. pTDefRegMap(@Self)^.clr := $00000010
  30005. else
  30006. pTDefRegMap(@Self)^.&set := $00000010;
  30007. end;
  30008. function TUART1A_U1AMODE.getRXINV : TBits_1; inline;
  30009. begin
  30010. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30011. end;
  30012. procedure TUART1A_U1AMODE.setABAUD; inline;
  30013. begin
  30014. pTDefRegMap(@Self)^.&set := $00000020;
  30015. end;
  30016. procedure TUART1A_U1AMODE.clearABAUD; inline;
  30017. begin
  30018. pTDefRegMap(@Self)^.clr := $00000020;
  30019. end;
  30020. procedure TUART1A_U1AMODE.setABAUD(thebits : TBits_1); inline;
  30021. begin
  30022. if thebits = 0 then
  30023. pTDefRegMap(@Self)^.clr := $00000020
  30024. else
  30025. pTDefRegMap(@Self)^.&set := $00000020;
  30026. end;
  30027. function TUART1A_U1AMODE.getABAUD : TBits_1; inline;
  30028. begin
  30029. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30030. end;
  30031. procedure TUART1A_U1AMODE.setLPBACK; inline;
  30032. begin
  30033. pTDefRegMap(@Self)^.&set := $00000040;
  30034. end;
  30035. procedure TUART1A_U1AMODE.clearLPBACK; inline;
  30036. begin
  30037. pTDefRegMap(@Self)^.clr := $00000040;
  30038. end;
  30039. procedure TUART1A_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  30040. begin
  30041. if thebits = 0 then
  30042. pTDefRegMap(@Self)^.clr := $00000040
  30043. else
  30044. pTDefRegMap(@Self)^.&set := $00000040;
  30045. end;
  30046. function TUART1A_U1AMODE.getLPBACK : TBits_1; inline;
  30047. begin
  30048. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30049. end;
  30050. procedure TUART1A_U1AMODE.setWAKE; inline;
  30051. begin
  30052. pTDefRegMap(@Self)^.&set := $00000080;
  30053. end;
  30054. procedure TUART1A_U1AMODE.clearWAKE; inline;
  30055. begin
  30056. pTDefRegMap(@Self)^.clr := $00000080;
  30057. end;
  30058. procedure TUART1A_U1AMODE.setWAKE(thebits : TBits_1); inline;
  30059. begin
  30060. if thebits = 0 then
  30061. pTDefRegMap(@Self)^.clr := $00000080
  30062. else
  30063. pTDefRegMap(@Self)^.&set := $00000080;
  30064. end;
  30065. function TUART1A_U1AMODE.getWAKE : TBits_1; inline;
  30066. begin
  30067. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30068. end;
  30069. procedure TUART1A_U1AMODE.setUEN(thebits : TBits_2); inline;
  30070. begin
  30071. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  30072. end;
  30073. function TUART1A_U1AMODE.getUEN : TBits_2; inline;
  30074. begin
  30075. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  30076. end;
  30077. procedure TUART1A_U1AMODE.setRTSMD; inline;
  30078. begin
  30079. pTDefRegMap(@Self)^.&set := $00000800;
  30080. end;
  30081. procedure TUART1A_U1AMODE.clearRTSMD; inline;
  30082. begin
  30083. pTDefRegMap(@Self)^.clr := $00000800;
  30084. end;
  30085. procedure TUART1A_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  30086. begin
  30087. if thebits = 0 then
  30088. pTDefRegMap(@Self)^.clr := $00000800
  30089. else
  30090. pTDefRegMap(@Self)^.&set := $00000800;
  30091. end;
  30092. function TUART1A_U1AMODE.getRTSMD : TBits_1; inline;
  30093. begin
  30094. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30095. end;
  30096. procedure TUART1A_U1AMODE.setIREN; inline;
  30097. begin
  30098. pTDefRegMap(@Self)^.&set := $00001000;
  30099. end;
  30100. procedure TUART1A_U1AMODE.clearIREN; inline;
  30101. begin
  30102. pTDefRegMap(@Self)^.clr := $00001000;
  30103. end;
  30104. procedure TUART1A_U1AMODE.setIREN(thebits : TBits_1); inline;
  30105. begin
  30106. if thebits = 0 then
  30107. pTDefRegMap(@Self)^.clr := $00001000
  30108. else
  30109. pTDefRegMap(@Self)^.&set := $00001000;
  30110. end;
  30111. function TUART1A_U1AMODE.getIREN : TBits_1; inline;
  30112. begin
  30113. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30114. end;
  30115. procedure TUART1A_U1AMODE.setSIDL; inline;
  30116. begin
  30117. pTDefRegMap(@Self)^.&set := $00002000;
  30118. end;
  30119. procedure TUART1A_U1AMODE.clearSIDL; inline;
  30120. begin
  30121. pTDefRegMap(@Self)^.clr := $00002000;
  30122. end;
  30123. procedure TUART1A_U1AMODE.setSIDL(thebits : TBits_1); inline;
  30124. begin
  30125. if thebits = 0 then
  30126. pTDefRegMap(@Self)^.clr := $00002000
  30127. else
  30128. pTDefRegMap(@Self)^.&set := $00002000;
  30129. end;
  30130. function TUART1A_U1AMODE.getSIDL : TBits_1; inline;
  30131. begin
  30132. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30133. end;
  30134. procedure TUART1A_U1AMODE.setON; inline;
  30135. begin
  30136. pTDefRegMap(@Self)^.&set := $00008000;
  30137. end;
  30138. procedure TUART1A_U1AMODE.clearON; inline;
  30139. begin
  30140. pTDefRegMap(@Self)^.clr := $00008000;
  30141. end;
  30142. procedure TUART1A_U1AMODE.setON(thebits : TBits_1); inline;
  30143. begin
  30144. if thebits = 0 then
  30145. pTDefRegMap(@Self)^.clr := $00008000
  30146. else
  30147. pTDefRegMap(@Self)^.&set := $00008000;
  30148. end;
  30149. function TUART1A_U1AMODE.getON : TBits_1; inline;
  30150. begin
  30151. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30152. end;
  30153. procedure TUART1A_U1AMODE.setPDSEL0; inline;
  30154. begin
  30155. pTDefRegMap(@Self)^.&set := $00000002;
  30156. end;
  30157. procedure TUART1A_U1AMODE.clearPDSEL0; inline;
  30158. begin
  30159. pTDefRegMap(@Self)^.clr := $00000002;
  30160. end;
  30161. procedure TUART1A_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  30162. begin
  30163. if thebits = 0 then
  30164. pTDefRegMap(@Self)^.clr := $00000002
  30165. else
  30166. pTDefRegMap(@Self)^.&set := $00000002;
  30167. end;
  30168. function TUART1A_U1AMODE.getPDSEL0 : TBits_1; inline;
  30169. begin
  30170. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30171. end;
  30172. procedure TUART1A_U1AMODE.setPDSEL1; inline;
  30173. begin
  30174. pTDefRegMap(@Self)^.&set := $00000004;
  30175. end;
  30176. procedure TUART1A_U1AMODE.clearPDSEL1; inline;
  30177. begin
  30178. pTDefRegMap(@Self)^.clr := $00000004;
  30179. end;
  30180. procedure TUART1A_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  30181. begin
  30182. if thebits = 0 then
  30183. pTDefRegMap(@Self)^.clr := $00000004
  30184. else
  30185. pTDefRegMap(@Self)^.&set := $00000004;
  30186. end;
  30187. function TUART1A_U1AMODE.getPDSEL1 : TBits_1; inline;
  30188. begin
  30189. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30190. end;
  30191. procedure TUART1A_U1AMODE.setUEN0; inline;
  30192. begin
  30193. pTDefRegMap(@Self)^.&set := $00000100;
  30194. end;
  30195. procedure TUART1A_U1AMODE.clearUEN0; inline;
  30196. begin
  30197. pTDefRegMap(@Self)^.clr := $00000100;
  30198. end;
  30199. procedure TUART1A_U1AMODE.setUEN0(thebits : TBits_1); inline;
  30200. begin
  30201. if thebits = 0 then
  30202. pTDefRegMap(@Self)^.clr := $00000100
  30203. else
  30204. pTDefRegMap(@Self)^.&set := $00000100;
  30205. end;
  30206. function TUART1A_U1AMODE.getUEN0 : TBits_1; inline;
  30207. begin
  30208. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30209. end;
  30210. procedure TUART1A_U1AMODE.setUEN1; inline;
  30211. begin
  30212. pTDefRegMap(@Self)^.&set := $00000200;
  30213. end;
  30214. procedure TUART1A_U1AMODE.clearUEN1; inline;
  30215. begin
  30216. pTDefRegMap(@Self)^.clr := $00000200;
  30217. end;
  30218. procedure TUART1A_U1AMODE.setUEN1(thebits : TBits_1); inline;
  30219. begin
  30220. if thebits = 0 then
  30221. pTDefRegMap(@Self)^.clr := $00000200
  30222. else
  30223. pTDefRegMap(@Self)^.&set := $00000200;
  30224. end;
  30225. function TUART1A_U1AMODE.getUEN1 : TBits_1; inline;
  30226. begin
  30227. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30228. end;
  30229. procedure TUART1A_U1AMODE.setUSIDL; inline;
  30230. begin
  30231. pTDefRegMap(@Self)^.&set := $00002000;
  30232. end;
  30233. procedure TUART1A_U1AMODE.clearUSIDL; inline;
  30234. begin
  30235. pTDefRegMap(@Self)^.clr := $00002000;
  30236. end;
  30237. procedure TUART1A_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  30238. begin
  30239. if thebits = 0 then
  30240. pTDefRegMap(@Self)^.clr := $00002000
  30241. else
  30242. pTDefRegMap(@Self)^.&set := $00002000;
  30243. end;
  30244. function TUART1A_U1AMODE.getUSIDL : TBits_1; inline;
  30245. begin
  30246. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30247. end;
  30248. procedure TUART1A_U1AMODE.setUARTEN; inline;
  30249. begin
  30250. pTDefRegMap(@Self)^.&set := $00008000;
  30251. end;
  30252. procedure TUART1A_U1AMODE.clearUARTEN; inline;
  30253. begin
  30254. pTDefRegMap(@Self)^.clr := $00008000;
  30255. end;
  30256. procedure TUART1A_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  30257. begin
  30258. if thebits = 0 then
  30259. pTDefRegMap(@Self)^.clr := $00008000
  30260. else
  30261. pTDefRegMap(@Self)^.&set := $00008000;
  30262. end;
  30263. function TUART1A_U1AMODE.getUARTEN : TBits_1; inline;
  30264. begin
  30265. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30266. end;
  30267. procedure TUART1A_U1AMODE.setw(thebits : TBits_32); inline;
  30268. begin
  30269. pTDefRegMap(@Self)^.val := thebits;
  30270. end;
  30271. function TUART1A_U1AMODE.getw : TBits_32; inline;
  30272. begin
  30273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30274. end;
  30275. procedure TUART1A_U1MODE.setSTSEL; inline;
  30276. begin
  30277. pTDefRegMap(@Self)^.&set := $00000001;
  30278. end;
  30279. procedure TUART1A_U1MODE.clearSTSEL; inline;
  30280. begin
  30281. pTDefRegMap(@Self)^.clr := $00000001;
  30282. end;
  30283. procedure TUART1A_U1MODE.setSTSEL(thebits : TBits_1); inline;
  30284. begin
  30285. if thebits = 0 then
  30286. pTDefRegMap(@Self)^.clr := $00000001
  30287. else
  30288. pTDefRegMap(@Self)^.&set := $00000001;
  30289. end;
  30290. function TUART1A_U1MODE.getSTSEL : TBits_1; inline;
  30291. begin
  30292. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30293. end;
  30294. procedure TUART1A_U1MODE.setPDSEL(thebits : TBits_2); inline;
  30295. begin
  30296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30297. end;
  30298. function TUART1A_U1MODE.getPDSEL : TBits_2; inline;
  30299. begin
  30300. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30301. end;
  30302. procedure TUART1A_U1MODE.setBRGH; inline;
  30303. begin
  30304. pTDefRegMap(@Self)^.&set := $00000008;
  30305. end;
  30306. procedure TUART1A_U1MODE.clearBRGH; inline;
  30307. begin
  30308. pTDefRegMap(@Self)^.clr := $00000008;
  30309. end;
  30310. procedure TUART1A_U1MODE.setBRGH(thebits : TBits_1); inline;
  30311. begin
  30312. if thebits = 0 then
  30313. pTDefRegMap(@Self)^.clr := $00000008
  30314. else
  30315. pTDefRegMap(@Self)^.&set := $00000008;
  30316. end;
  30317. function TUART1A_U1MODE.getBRGH : TBits_1; inline;
  30318. begin
  30319. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30320. end;
  30321. procedure TUART1A_U1MODE.setRXINV; inline;
  30322. begin
  30323. pTDefRegMap(@Self)^.&set := $00000010;
  30324. end;
  30325. procedure TUART1A_U1MODE.clearRXINV; inline;
  30326. begin
  30327. pTDefRegMap(@Self)^.clr := $00000010;
  30328. end;
  30329. procedure TUART1A_U1MODE.setRXINV(thebits : TBits_1); inline;
  30330. begin
  30331. if thebits = 0 then
  30332. pTDefRegMap(@Self)^.clr := $00000010
  30333. else
  30334. pTDefRegMap(@Self)^.&set := $00000010;
  30335. end;
  30336. function TUART1A_U1MODE.getRXINV : TBits_1; inline;
  30337. begin
  30338. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30339. end;
  30340. procedure TUART1A_U1MODE.setABAUD; inline;
  30341. begin
  30342. pTDefRegMap(@Self)^.&set := $00000020;
  30343. end;
  30344. procedure TUART1A_U1MODE.clearABAUD; inline;
  30345. begin
  30346. pTDefRegMap(@Self)^.clr := $00000020;
  30347. end;
  30348. procedure TUART1A_U1MODE.setABAUD(thebits : TBits_1); inline;
  30349. begin
  30350. if thebits = 0 then
  30351. pTDefRegMap(@Self)^.clr := $00000020
  30352. else
  30353. pTDefRegMap(@Self)^.&set := $00000020;
  30354. end;
  30355. function TUART1A_U1MODE.getABAUD : TBits_1; inline;
  30356. begin
  30357. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30358. end;
  30359. procedure TUART1A_U1MODE.setLPBACK; inline;
  30360. begin
  30361. pTDefRegMap(@Self)^.&set := $00000040;
  30362. end;
  30363. procedure TUART1A_U1MODE.clearLPBACK; inline;
  30364. begin
  30365. pTDefRegMap(@Self)^.clr := $00000040;
  30366. end;
  30367. procedure TUART1A_U1MODE.setLPBACK(thebits : TBits_1); inline;
  30368. begin
  30369. if thebits = 0 then
  30370. pTDefRegMap(@Self)^.clr := $00000040
  30371. else
  30372. pTDefRegMap(@Self)^.&set := $00000040;
  30373. end;
  30374. function TUART1A_U1MODE.getLPBACK : TBits_1; inline;
  30375. begin
  30376. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30377. end;
  30378. procedure TUART1A_U1MODE.setWAKE; inline;
  30379. begin
  30380. pTDefRegMap(@Self)^.&set := $00000080;
  30381. end;
  30382. procedure TUART1A_U1MODE.clearWAKE; inline;
  30383. begin
  30384. pTDefRegMap(@Self)^.clr := $00000080;
  30385. end;
  30386. procedure TUART1A_U1MODE.setWAKE(thebits : TBits_1); inline;
  30387. begin
  30388. if thebits = 0 then
  30389. pTDefRegMap(@Self)^.clr := $00000080
  30390. else
  30391. pTDefRegMap(@Self)^.&set := $00000080;
  30392. end;
  30393. function TUART1A_U1MODE.getWAKE : TBits_1; inline;
  30394. begin
  30395. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30396. end;
  30397. procedure TUART1A_U1MODE.setUEN(thebits : TBits_2); inline;
  30398. begin
  30399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  30400. end;
  30401. function TUART1A_U1MODE.getUEN : TBits_2; inline;
  30402. begin
  30403. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  30404. end;
  30405. procedure TUART1A_U1MODE.setRTSMD; inline;
  30406. begin
  30407. pTDefRegMap(@Self)^.&set := $00000800;
  30408. end;
  30409. procedure TUART1A_U1MODE.clearRTSMD; inline;
  30410. begin
  30411. pTDefRegMap(@Self)^.clr := $00000800;
  30412. end;
  30413. procedure TUART1A_U1MODE.setRTSMD(thebits : TBits_1); inline;
  30414. begin
  30415. if thebits = 0 then
  30416. pTDefRegMap(@Self)^.clr := $00000800
  30417. else
  30418. pTDefRegMap(@Self)^.&set := $00000800;
  30419. end;
  30420. function TUART1A_U1MODE.getRTSMD : TBits_1; inline;
  30421. begin
  30422. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30423. end;
  30424. procedure TUART1A_U1MODE.setIREN; inline;
  30425. begin
  30426. pTDefRegMap(@Self)^.&set := $00001000;
  30427. end;
  30428. procedure TUART1A_U1MODE.clearIREN; inline;
  30429. begin
  30430. pTDefRegMap(@Self)^.clr := $00001000;
  30431. end;
  30432. procedure TUART1A_U1MODE.setIREN(thebits : TBits_1); inline;
  30433. begin
  30434. if thebits = 0 then
  30435. pTDefRegMap(@Self)^.clr := $00001000
  30436. else
  30437. pTDefRegMap(@Self)^.&set := $00001000;
  30438. end;
  30439. function TUART1A_U1MODE.getIREN : TBits_1; inline;
  30440. begin
  30441. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30442. end;
  30443. procedure TUART1A_U1MODE.setSIDL; inline;
  30444. begin
  30445. pTDefRegMap(@Self)^.&set := $00002000;
  30446. end;
  30447. procedure TUART1A_U1MODE.clearSIDL; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.clr := $00002000;
  30450. end;
  30451. procedure TUART1A_U1MODE.setSIDL(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 TUART1A_U1MODE.getSIDL : TBits_1; inline;
  30459. begin
  30460. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30461. end;
  30462. procedure TUART1A_U1MODE.setON; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.&set := $00008000;
  30465. end;
  30466. procedure TUART1A_U1MODE.clearON; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.clr := $00008000;
  30469. end;
  30470. procedure TUART1A_U1MODE.setON(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 TUART1A_U1MODE.getON : TBits_1; inline;
  30478. begin
  30479. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30480. end;
  30481. procedure TUART1A_U1MODE.setPDSEL0; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.&set := $00000002;
  30484. end;
  30485. procedure TUART1A_U1MODE.clearPDSEL0; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.clr := $00000002;
  30488. end;
  30489. procedure TUART1A_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  30490. begin
  30491. if thebits = 0 then
  30492. pTDefRegMap(@Self)^.clr := $00000002
  30493. else
  30494. pTDefRegMap(@Self)^.&set := $00000002;
  30495. end;
  30496. function TUART1A_U1MODE.getPDSEL0 : TBits_1; inline;
  30497. begin
  30498. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30499. end;
  30500. procedure TUART1A_U1MODE.setPDSEL1; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.&set := $00000004;
  30503. end;
  30504. procedure TUART1A_U1MODE.clearPDSEL1; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.clr := $00000004;
  30507. end;
  30508. procedure TUART1A_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  30509. begin
  30510. if thebits = 0 then
  30511. pTDefRegMap(@Self)^.clr := $00000004
  30512. else
  30513. pTDefRegMap(@Self)^.&set := $00000004;
  30514. end;
  30515. function TUART1A_U1MODE.getPDSEL1 : TBits_1; inline;
  30516. begin
  30517. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30518. end;
  30519. procedure TUART1A_U1MODE.setUEN0; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.&set := $00000100;
  30522. end;
  30523. procedure TUART1A_U1MODE.clearUEN0; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.clr := $00000100;
  30526. end;
  30527. procedure TUART1A_U1MODE.setUEN0(thebits : TBits_1); inline;
  30528. begin
  30529. if thebits = 0 then
  30530. pTDefRegMap(@Self)^.clr := $00000100
  30531. else
  30532. pTDefRegMap(@Self)^.&set := $00000100;
  30533. end;
  30534. function TUART1A_U1MODE.getUEN0 : TBits_1; inline;
  30535. begin
  30536. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30537. end;
  30538. procedure TUART1A_U1MODE.setUEN1; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.&set := $00000200;
  30541. end;
  30542. procedure TUART1A_U1MODE.clearUEN1; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.clr := $00000200;
  30545. end;
  30546. procedure TUART1A_U1MODE.setUEN1(thebits : TBits_1); inline;
  30547. begin
  30548. if thebits = 0 then
  30549. pTDefRegMap(@Self)^.clr := $00000200
  30550. else
  30551. pTDefRegMap(@Self)^.&set := $00000200;
  30552. end;
  30553. function TUART1A_U1MODE.getUEN1 : TBits_1; inline;
  30554. begin
  30555. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30556. end;
  30557. procedure TUART1A_U1MODE.setUSIDL; inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.&set := $00002000;
  30560. end;
  30561. procedure TUART1A_U1MODE.clearUSIDL; inline;
  30562. begin
  30563. pTDefRegMap(@Self)^.clr := $00002000;
  30564. end;
  30565. procedure TUART1A_U1MODE.setUSIDL(thebits : TBits_1); inline;
  30566. begin
  30567. if thebits = 0 then
  30568. pTDefRegMap(@Self)^.clr := $00002000
  30569. else
  30570. pTDefRegMap(@Self)^.&set := $00002000;
  30571. end;
  30572. function TUART1A_U1MODE.getUSIDL : TBits_1; inline;
  30573. begin
  30574. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30575. end;
  30576. procedure TUART1A_U1MODE.setUARTEN; inline;
  30577. begin
  30578. pTDefRegMap(@Self)^.&set := $00008000;
  30579. end;
  30580. procedure TUART1A_U1MODE.clearUARTEN; inline;
  30581. begin
  30582. pTDefRegMap(@Self)^.clr := $00008000;
  30583. end;
  30584. procedure TUART1A_U1MODE.setUARTEN(thebits : TBits_1); inline;
  30585. begin
  30586. if thebits = 0 then
  30587. pTDefRegMap(@Self)^.clr := $00008000
  30588. else
  30589. pTDefRegMap(@Self)^.&set := $00008000;
  30590. end;
  30591. function TUART1A_U1MODE.getUARTEN : TBits_1; inline;
  30592. begin
  30593. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30594. end;
  30595. procedure TUART1A_U1MODE.setw(thebits : TBits_32); inline;
  30596. begin
  30597. pTDefRegMap(@Self)^.val := thebits;
  30598. end;
  30599. function TUART1A_U1MODE.getw : TBits_32; inline;
  30600. begin
  30601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30602. end;
  30603. procedure TUART1A_U1ASTA.setURXDA; inline;
  30604. begin
  30605. pTDefRegMap(@Self)^.&set := $00000001;
  30606. end;
  30607. procedure TUART1A_U1ASTA.clearURXDA; inline;
  30608. begin
  30609. pTDefRegMap(@Self)^.clr := $00000001;
  30610. end;
  30611. procedure TUART1A_U1ASTA.setURXDA(thebits : TBits_1); inline;
  30612. begin
  30613. if thebits = 0 then
  30614. pTDefRegMap(@Self)^.clr := $00000001
  30615. else
  30616. pTDefRegMap(@Self)^.&set := $00000001;
  30617. end;
  30618. function TUART1A_U1ASTA.getURXDA : TBits_1; inline;
  30619. begin
  30620. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30621. end;
  30622. procedure TUART1A_U1ASTA.setOERR; inline;
  30623. begin
  30624. pTDefRegMap(@Self)^.&set := $00000002;
  30625. end;
  30626. procedure TUART1A_U1ASTA.clearOERR; inline;
  30627. begin
  30628. pTDefRegMap(@Self)^.clr := $00000002;
  30629. end;
  30630. procedure TUART1A_U1ASTA.setOERR(thebits : TBits_1); inline;
  30631. begin
  30632. if thebits = 0 then
  30633. pTDefRegMap(@Self)^.clr := $00000002
  30634. else
  30635. pTDefRegMap(@Self)^.&set := $00000002;
  30636. end;
  30637. function TUART1A_U1ASTA.getOERR : TBits_1; inline;
  30638. begin
  30639. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30640. end;
  30641. procedure TUART1A_U1ASTA.setFERR; inline;
  30642. begin
  30643. pTDefRegMap(@Self)^.&set := $00000004;
  30644. end;
  30645. procedure TUART1A_U1ASTA.clearFERR; inline;
  30646. begin
  30647. pTDefRegMap(@Self)^.clr := $00000004;
  30648. end;
  30649. procedure TUART1A_U1ASTA.setFERR(thebits : TBits_1); inline;
  30650. begin
  30651. if thebits = 0 then
  30652. pTDefRegMap(@Self)^.clr := $00000004
  30653. else
  30654. pTDefRegMap(@Self)^.&set := $00000004;
  30655. end;
  30656. function TUART1A_U1ASTA.getFERR : TBits_1; inline;
  30657. begin
  30658. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30659. end;
  30660. procedure TUART1A_U1ASTA.setPERR; inline;
  30661. begin
  30662. pTDefRegMap(@Self)^.&set := $00000008;
  30663. end;
  30664. procedure TUART1A_U1ASTA.clearPERR; inline;
  30665. begin
  30666. pTDefRegMap(@Self)^.clr := $00000008;
  30667. end;
  30668. procedure TUART1A_U1ASTA.setPERR(thebits : TBits_1); inline;
  30669. begin
  30670. if thebits = 0 then
  30671. pTDefRegMap(@Self)^.clr := $00000008
  30672. else
  30673. pTDefRegMap(@Self)^.&set := $00000008;
  30674. end;
  30675. function TUART1A_U1ASTA.getPERR : TBits_1; inline;
  30676. begin
  30677. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30678. end;
  30679. procedure TUART1A_U1ASTA.setRIDLE; inline;
  30680. begin
  30681. pTDefRegMap(@Self)^.&set := $00000010;
  30682. end;
  30683. procedure TUART1A_U1ASTA.clearRIDLE; inline;
  30684. begin
  30685. pTDefRegMap(@Self)^.clr := $00000010;
  30686. end;
  30687. procedure TUART1A_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  30688. begin
  30689. if thebits = 0 then
  30690. pTDefRegMap(@Self)^.clr := $00000010
  30691. else
  30692. pTDefRegMap(@Self)^.&set := $00000010;
  30693. end;
  30694. function TUART1A_U1ASTA.getRIDLE : TBits_1; inline;
  30695. begin
  30696. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30697. end;
  30698. procedure TUART1A_U1ASTA.setADDEN; inline;
  30699. begin
  30700. pTDefRegMap(@Self)^.&set := $00000020;
  30701. end;
  30702. procedure TUART1A_U1ASTA.clearADDEN; inline;
  30703. begin
  30704. pTDefRegMap(@Self)^.clr := $00000020;
  30705. end;
  30706. procedure TUART1A_U1ASTA.setADDEN(thebits : TBits_1); inline;
  30707. begin
  30708. if thebits = 0 then
  30709. pTDefRegMap(@Self)^.clr := $00000020
  30710. else
  30711. pTDefRegMap(@Self)^.&set := $00000020;
  30712. end;
  30713. function TUART1A_U1ASTA.getADDEN : TBits_1; inline;
  30714. begin
  30715. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30716. end;
  30717. procedure TUART1A_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  30718. begin
  30719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  30720. end;
  30721. function TUART1A_U1ASTA.getURXISEL : TBits_2; inline;
  30722. begin
  30723. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  30724. end;
  30725. procedure TUART1A_U1ASTA.setTRMT; inline;
  30726. begin
  30727. pTDefRegMap(@Self)^.&set := $00000100;
  30728. end;
  30729. procedure TUART1A_U1ASTA.clearTRMT; inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.clr := $00000100;
  30732. end;
  30733. procedure TUART1A_U1ASTA.setTRMT(thebits : TBits_1); inline;
  30734. begin
  30735. if thebits = 0 then
  30736. pTDefRegMap(@Self)^.clr := $00000100
  30737. else
  30738. pTDefRegMap(@Self)^.&set := $00000100;
  30739. end;
  30740. function TUART1A_U1ASTA.getTRMT : TBits_1; inline;
  30741. begin
  30742. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30743. end;
  30744. procedure TUART1A_U1ASTA.setUTXBF; inline;
  30745. begin
  30746. pTDefRegMap(@Self)^.&set := $00000200;
  30747. end;
  30748. procedure TUART1A_U1ASTA.clearUTXBF; inline;
  30749. begin
  30750. pTDefRegMap(@Self)^.clr := $00000200;
  30751. end;
  30752. procedure TUART1A_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  30753. begin
  30754. if thebits = 0 then
  30755. pTDefRegMap(@Self)^.clr := $00000200
  30756. else
  30757. pTDefRegMap(@Self)^.&set := $00000200;
  30758. end;
  30759. function TUART1A_U1ASTA.getUTXBF : TBits_1; inline;
  30760. begin
  30761. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30762. end;
  30763. procedure TUART1A_U1ASTA.setUTXEN; inline;
  30764. begin
  30765. pTDefRegMap(@Self)^.&set := $00000400;
  30766. end;
  30767. procedure TUART1A_U1ASTA.clearUTXEN; inline;
  30768. begin
  30769. pTDefRegMap(@Self)^.clr := $00000400;
  30770. end;
  30771. procedure TUART1A_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  30772. begin
  30773. if thebits = 0 then
  30774. pTDefRegMap(@Self)^.clr := $00000400
  30775. else
  30776. pTDefRegMap(@Self)^.&set := $00000400;
  30777. end;
  30778. function TUART1A_U1ASTA.getUTXEN : TBits_1; inline;
  30779. begin
  30780. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30781. end;
  30782. procedure TUART1A_U1ASTA.setUTXBRK; inline;
  30783. begin
  30784. pTDefRegMap(@Self)^.&set := $00000800;
  30785. end;
  30786. procedure TUART1A_U1ASTA.clearUTXBRK; inline;
  30787. begin
  30788. pTDefRegMap(@Self)^.clr := $00000800;
  30789. end;
  30790. procedure TUART1A_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  30791. begin
  30792. if thebits = 0 then
  30793. pTDefRegMap(@Self)^.clr := $00000800
  30794. else
  30795. pTDefRegMap(@Self)^.&set := $00000800;
  30796. end;
  30797. function TUART1A_U1ASTA.getUTXBRK : TBits_1; inline;
  30798. begin
  30799. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30800. end;
  30801. procedure TUART1A_U1ASTA.setURXEN; inline;
  30802. begin
  30803. pTDefRegMap(@Self)^.&set := $00001000;
  30804. end;
  30805. procedure TUART1A_U1ASTA.clearURXEN; inline;
  30806. begin
  30807. pTDefRegMap(@Self)^.clr := $00001000;
  30808. end;
  30809. procedure TUART1A_U1ASTA.setURXEN(thebits : TBits_1); inline;
  30810. begin
  30811. if thebits = 0 then
  30812. pTDefRegMap(@Self)^.clr := $00001000
  30813. else
  30814. pTDefRegMap(@Self)^.&set := $00001000;
  30815. end;
  30816. function TUART1A_U1ASTA.getURXEN : TBits_1; inline;
  30817. begin
  30818. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30819. end;
  30820. procedure TUART1A_U1ASTA.setUTXINV; inline;
  30821. begin
  30822. pTDefRegMap(@Self)^.&set := $00002000;
  30823. end;
  30824. procedure TUART1A_U1ASTA.clearUTXINV; inline;
  30825. begin
  30826. pTDefRegMap(@Self)^.clr := $00002000;
  30827. end;
  30828. procedure TUART1A_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  30829. begin
  30830. if thebits = 0 then
  30831. pTDefRegMap(@Self)^.clr := $00002000
  30832. else
  30833. pTDefRegMap(@Self)^.&set := $00002000;
  30834. end;
  30835. function TUART1A_U1ASTA.getUTXINV : TBits_1; inline;
  30836. begin
  30837. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30838. end;
  30839. procedure TUART1A_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30842. end;
  30843. function TUART1A_U1ASTA.getUTXISEL : TBits_2; inline;
  30844. begin
  30845. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30846. end;
  30847. procedure TUART1A_U1ASTA.setADDR(thebits : TBits_8); inline;
  30848. begin
  30849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30850. end;
  30851. function TUART1A_U1ASTA.getADDR : TBits_8; inline;
  30852. begin
  30853. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30854. end;
  30855. procedure TUART1A_U1ASTA.setADM_EN; inline;
  30856. begin
  30857. pTDefRegMap(@Self)^.&set := $01000000;
  30858. end;
  30859. procedure TUART1A_U1ASTA.clearADM_EN; inline;
  30860. begin
  30861. pTDefRegMap(@Self)^.clr := $01000000;
  30862. end;
  30863. procedure TUART1A_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  30864. begin
  30865. if thebits = 0 then
  30866. pTDefRegMap(@Self)^.clr := $01000000
  30867. else
  30868. pTDefRegMap(@Self)^.&set := $01000000;
  30869. end;
  30870. function TUART1A_U1ASTA.getADM_EN : TBits_1; inline;
  30871. begin
  30872. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30873. end;
  30874. procedure TUART1A_U1ASTA.setURXISEL0; inline;
  30875. begin
  30876. pTDefRegMap(@Self)^.&set := $00000040;
  30877. end;
  30878. procedure TUART1A_U1ASTA.clearURXISEL0; inline;
  30879. begin
  30880. pTDefRegMap(@Self)^.clr := $00000040;
  30881. end;
  30882. procedure TUART1A_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  30883. begin
  30884. if thebits = 0 then
  30885. pTDefRegMap(@Self)^.clr := $00000040
  30886. else
  30887. pTDefRegMap(@Self)^.&set := $00000040;
  30888. end;
  30889. function TUART1A_U1ASTA.getURXISEL0 : TBits_1; inline;
  30890. begin
  30891. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30892. end;
  30893. procedure TUART1A_U1ASTA.setURXISEL1; inline;
  30894. begin
  30895. pTDefRegMap(@Self)^.&set := $00000080;
  30896. end;
  30897. procedure TUART1A_U1ASTA.clearURXISEL1; inline;
  30898. begin
  30899. pTDefRegMap(@Self)^.clr := $00000080;
  30900. end;
  30901. procedure TUART1A_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  30902. begin
  30903. if thebits = 0 then
  30904. pTDefRegMap(@Self)^.clr := $00000080
  30905. else
  30906. pTDefRegMap(@Self)^.&set := $00000080;
  30907. end;
  30908. function TUART1A_U1ASTA.getURXISEL1 : TBits_1; inline;
  30909. begin
  30910. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30911. end;
  30912. procedure TUART1A_U1ASTA.setUTXISEL0; inline;
  30913. begin
  30914. pTDefRegMap(@Self)^.&set := $00004000;
  30915. end;
  30916. procedure TUART1A_U1ASTA.clearUTXISEL0; inline;
  30917. begin
  30918. pTDefRegMap(@Self)^.clr := $00004000;
  30919. end;
  30920. procedure TUART1A_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  30921. begin
  30922. if thebits = 0 then
  30923. pTDefRegMap(@Self)^.clr := $00004000
  30924. else
  30925. pTDefRegMap(@Self)^.&set := $00004000;
  30926. end;
  30927. function TUART1A_U1ASTA.getUTXISEL0 : TBits_1; inline;
  30928. begin
  30929. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30930. end;
  30931. procedure TUART1A_U1ASTA.setUTXISEL1; inline;
  30932. begin
  30933. pTDefRegMap(@Self)^.&set := $00008000;
  30934. end;
  30935. procedure TUART1A_U1ASTA.clearUTXISEL1; inline;
  30936. begin
  30937. pTDefRegMap(@Self)^.clr := $00008000;
  30938. end;
  30939. procedure TUART1A_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  30940. begin
  30941. if thebits = 0 then
  30942. pTDefRegMap(@Self)^.clr := $00008000
  30943. else
  30944. pTDefRegMap(@Self)^.&set := $00008000;
  30945. end;
  30946. function TUART1A_U1ASTA.getUTXISEL1 : TBits_1; inline;
  30947. begin
  30948. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30949. end;
  30950. procedure TUART1A_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  30951. begin
  30952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30953. end;
  30954. function TUART1A_U1ASTA.getUTXSEL : TBits_2; inline;
  30955. begin
  30956. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30957. end;
  30958. procedure TUART1A_U1ASTA.setw(thebits : TBits_32); inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.val := thebits;
  30961. end;
  30962. function TUART1A_U1ASTA.getw : TBits_32; inline;
  30963. begin
  30964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30965. end;
  30966. procedure TUART1A_U1STA.setURXDA; inline;
  30967. begin
  30968. pTDefRegMap(@Self)^.&set := $00000001;
  30969. end;
  30970. procedure TUART1A_U1STA.clearURXDA; inline;
  30971. begin
  30972. pTDefRegMap(@Self)^.clr := $00000001;
  30973. end;
  30974. procedure TUART1A_U1STA.setURXDA(thebits : TBits_1); inline;
  30975. begin
  30976. if thebits = 0 then
  30977. pTDefRegMap(@Self)^.clr := $00000001
  30978. else
  30979. pTDefRegMap(@Self)^.&set := $00000001;
  30980. end;
  30981. function TUART1A_U1STA.getURXDA : TBits_1; inline;
  30982. begin
  30983. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30984. end;
  30985. procedure TUART1A_U1STA.setOERR; inline;
  30986. begin
  30987. pTDefRegMap(@Self)^.&set := $00000002;
  30988. end;
  30989. procedure TUART1A_U1STA.clearOERR; inline;
  30990. begin
  30991. pTDefRegMap(@Self)^.clr := $00000002;
  30992. end;
  30993. procedure TUART1A_U1STA.setOERR(thebits : TBits_1); inline;
  30994. begin
  30995. if thebits = 0 then
  30996. pTDefRegMap(@Self)^.clr := $00000002
  30997. else
  30998. pTDefRegMap(@Self)^.&set := $00000002;
  30999. end;
  31000. function TUART1A_U1STA.getOERR : TBits_1; inline;
  31001. begin
  31002. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31003. end;
  31004. procedure TUART1A_U1STA.setFERR; inline;
  31005. begin
  31006. pTDefRegMap(@Self)^.&set := $00000004;
  31007. end;
  31008. procedure TUART1A_U1STA.clearFERR; inline;
  31009. begin
  31010. pTDefRegMap(@Self)^.clr := $00000004;
  31011. end;
  31012. procedure TUART1A_U1STA.setFERR(thebits : TBits_1); inline;
  31013. begin
  31014. if thebits = 0 then
  31015. pTDefRegMap(@Self)^.clr := $00000004
  31016. else
  31017. pTDefRegMap(@Self)^.&set := $00000004;
  31018. end;
  31019. function TUART1A_U1STA.getFERR : TBits_1; inline;
  31020. begin
  31021. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31022. end;
  31023. procedure TUART1A_U1STA.setPERR; inline;
  31024. begin
  31025. pTDefRegMap(@Self)^.&set := $00000008;
  31026. end;
  31027. procedure TUART1A_U1STA.clearPERR; inline;
  31028. begin
  31029. pTDefRegMap(@Self)^.clr := $00000008;
  31030. end;
  31031. procedure TUART1A_U1STA.setPERR(thebits : TBits_1); inline;
  31032. begin
  31033. if thebits = 0 then
  31034. pTDefRegMap(@Self)^.clr := $00000008
  31035. else
  31036. pTDefRegMap(@Self)^.&set := $00000008;
  31037. end;
  31038. function TUART1A_U1STA.getPERR : TBits_1; inline;
  31039. begin
  31040. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31041. end;
  31042. procedure TUART1A_U1STA.setRIDLE; inline;
  31043. begin
  31044. pTDefRegMap(@Self)^.&set := $00000010;
  31045. end;
  31046. procedure TUART1A_U1STA.clearRIDLE; inline;
  31047. begin
  31048. pTDefRegMap(@Self)^.clr := $00000010;
  31049. end;
  31050. procedure TUART1A_U1STA.setRIDLE(thebits : TBits_1); inline;
  31051. begin
  31052. if thebits = 0 then
  31053. pTDefRegMap(@Self)^.clr := $00000010
  31054. else
  31055. pTDefRegMap(@Self)^.&set := $00000010;
  31056. end;
  31057. function TUART1A_U1STA.getRIDLE : TBits_1; inline;
  31058. begin
  31059. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31060. end;
  31061. procedure TUART1A_U1STA.setADDEN; inline;
  31062. begin
  31063. pTDefRegMap(@Self)^.&set := $00000020;
  31064. end;
  31065. procedure TUART1A_U1STA.clearADDEN; inline;
  31066. begin
  31067. pTDefRegMap(@Self)^.clr := $00000020;
  31068. end;
  31069. procedure TUART1A_U1STA.setADDEN(thebits : TBits_1); inline;
  31070. begin
  31071. if thebits = 0 then
  31072. pTDefRegMap(@Self)^.clr := $00000020
  31073. else
  31074. pTDefRegMap(@Self)^.&set := $00000020;
  31075. end;
  31076. function TUART1A_U1STA.getADDEN : TBits_1; inline;
  31077. begin
  31078. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31079. end;
  31080. procedure TUART1A_U1STA.setURXISEL(thebits : TBits_2); inline;
  31081. begin
  31082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31083. end;
  31084. function TUART1A_U1STA.getURXISEL : TBits_2; inline;
  31085. begin
  31086. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31087. end;
  31088. procedure TUART1A_U1STA.setTRMT; inline;
  31089. begin
  31090. pTDefRegMap(@Self)^.&set := $00000100;
  31091. end;
  31092. procedure TUART1A_U1STA.clearTRMT; inline;
  31093. begin
  31094. pTDefRegMap(@Self)^.clr := $00000100;
  31095. end;
  31096. procedure TUART1A_U1STA.setTRMT(thebits : TBits_1); inline;
  31097. begin
  31098. if thebits = 0 then
  31099. pTDefRegMap(@Self)^.clr := $00000100
  31100. else
  31101. pTDefRegMap(@Self)^.&set := $00000100;
  31102. end;
  31103. function TUART1A_U1STA.getTRMT : TBits_1; inline;
  31104. begin
  31105. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31106. end;
  31107. procedure TUART1A_U1STA.setUTXBF; inline;
  31108. begin
  31109. pTDefRegMap(@Self)^.&set := $00000200;
  31110. end;
  31111. procedure TUART1A_U1STA.clearUTXBF; inline;
  31112. begin
  31113. pTDefRegMap(@Self)^.clr := $00000200;
  31114. end;
  31115. procedure TUART1A_U1STA.setUTXBF(thebits : TBits_1); inline;
  31116. begin
  31117. if thebits = 0 then
  31118. pTDefRegMap(@Self)^.clr := $00000200
  31119. else
  31120. pTDefRegMap(@Self)^.&set := $00000200;
  31121. end;
  31122. function TUART1A_U1STA.getUTXBF : TBits_1; inline;
  31123. begin
  31124. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31125. end;
  31126. procedure TUART1A_U1STA.setUTXEN; inline;
  31127. begin
  31128. pTDefRegMap(@Self)^.&set := $00000400;
  31129. end;
  31130. procedure TUART1A_U1STA.clearUTXEN; inline;
  31131. begin
  31132. pTDefRegMap(@Self)^.clr := $00000400;
  31133. end;
  31134. procedure TUART1A_U1STA.setUTXEN(thebits : TBits_1); inline;
  31135. begin
  31136. if thebits = 0 then
  31137. pTDefRegMap(@Self)^.clr := $00000400
  31138. else
  31139. pTDefRegMap(@Self)^.&set := $00000400;
  31140. end;
  31141. function TUART1A_U1STA.getUTXEN : TBits_1; inline;
  31142. begin
  31143. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31144. end;
  31145. procedure TUART1A_U1STA.setUTXBRK; inline;
  31146. begin
  31147. pTDefRegMap(@Self)^.&set := $00000800;
  31148. end;
  31149. procedure TUART1A_U1STA.clearUTXBRK; inline;
  31150. begin
  31151. pTDefRegMap(@Self)^.clr := $00000800;
  31152. end;
  31153. procedure TUART1A_U1STA.setUTXBRK(thebits : TBits_1); inline;
  31154. begin
  31155. if thebits = 0 then
  31156. pTDefRegMap(@Self)^.clr := $00000800
  31157. else
  31158. pTDefRegMap(@Self)^.&set := $00000800;
  31159. end;
  31160. function TUART1A_U1STA.getUTXBRK : TBits_1; inline;
  31161. begin
  31162. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31163. end;
  31164. procedure TUART1A_U1STA.setURXEN; inline;
  31165. begin
  31166. pTDefRegMap(@Self)^.&set := $00001000;
  31167. end;
  31168. procedure TUART1A_U1STA.clearURXEN; inline;
  31169. begin
  31170. pTDefRegMap(@Self)^.clr := $00001000;
  31171. end;
  31172. procedure TUART1A_U1STA.setURXEN(thebits : TBits_1); inline;
  31173. begin
  31174. if thebits = 0 then
  31175. pTDefRegMap(@Self)^.clr := $00001000
  31176. else
  31177. pTDefRegMap(@Self)^.&set := $00001000;
  31178. end;
  31179. function TUART1A_U1STA.getURXEN : TBits_1; inline;
  31180. begin
  31181. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31182. end;
  31183. procedure TUART1A_U1STA.setUTXINV; inline;
  31184. begin
  31185. pTDefRegMap(@Self)^.&set := $00002000;
  31186. end;
  31187. procedure TUART1A_U1STA.clearUTXINV; inline;
  31188. begin
  31189. pTDefRegMap(@Self)^.clr := $00002000;
  31190. end;
  31191. procedure TUART1A_U1STA.setUTXINV(thebits : TBits_1); inline;
  31192. begin
  31193. if thebits = 0 then
  31194. pTDefRegMap(@Self)^.clr := $00002000
  31195. else
  31196. pTDefRegMap(@Self)^.&set := $00002000;
  31197. end;
  31198. function TUART1A_U1STA.getUTXINV : TBits_1; inline;
  31199. begin
  31200. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31201. end;
  31202. procedure TUART1A_U1STA.setUTXISEL(thebits : TBits_2); inline;
  31203. begin
  31204. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31205. end;
  31206. function TUART1A_U1STA.getUTXISEL : TBits_2; inline;
  31207. begin
  31208. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31209. end;
  31210. procedure TUART1A_U1STA.setADDR(thebits : TBits_8); inline;
  31211. begin
  31212. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31213. end;
  31214. function TUART1A_U1STA.getADDR : TBits_8; inline;
  31215. begin
  31216. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31217. end;
  31218. procedure TUART1A_U1STA.setADM_EN; inline;
  31219. begin
  31220. pTDefRegMap(@Self)^.&set := $01000000;
  31221. end;
  31222. procedure TUART1A_U1STA.clearADM_EN; inline;
  31223. begin
  31224. pTDefRegMap(@Self)^.clr := $01000000;
  31225. end;
  31226. procedure TUART1A_U1STA.setADM_EN(thebits : TBits_1); inline;
  31227. begin
  31228. if thebits = 0 then
  31229. pTDefRegMap(@Self)^.clr := $01000000
  31230. else
  31231. pTDefRegMap(@Self)^.&set := $01000000;
  31232. end;
  31233. function TUART1A_U1STA.getADM_EN : TBits_1; inline;
  31234. begin
  31235. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31236. end;
  31237. procedure TUART1A_U1STA.setURXISEL0; inline;
  31238. begin
  31239. pTDefRegMap(@Self)^.&set := $00000040;
  31240. end;
  31241. procedure TUART1A_U1STA.clearURXISEL0; inline;
  31242. begin
  31243. pTDefRegMap(@Self)^.clr := $00000040;
  31244. end;
  31245. procedure TUART1A_U1STA.setURXISEL0(thebits : TBits_1); inline;
  31246. begin
  31247. if thebits = 0 then
  31248. pTDefRegMap(@Self)^.clr := $00000040
  31249. else
  31250. pTDefRegMap(@Self)^.&set := $00000040;
  31251. end;
  31252. function TUART1A_U1STA.getURXISEL0 : TBits_1; inline;
  31253. begin
  31254. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31255. end;
  31256. procedure TUART1A_U1STA.setURXISEL1; inline;
  31257. begin
  31258. pTDefRegMap(@Self)^.&set := $00000080;
  31259. end;
  31260. procedure TUART1A_U1STA.clearURXISEL1; inline;
  31261. begin
  31262. pTDefRegMap(@Self)^.clr := $00000080;
  31263. end;
  31264. procedure TUART1A_U1STA.setURXISEL1(thebits : TBits_1); inline;
  31265. begin
  31266. if thebits = 0 then
  31267. pTDefRegMap(@Self)^.clr := $00000080
  31268. else
  31269. pTDefRegMap(@Self)^.&set := $00000080;
  31270. end;
  31271. function TUART1A_U1STA.getURXISEL1 : TBits_1; inline;
  31272. begin
  31273. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31274. end;
  31275. procedure TUART1A_U1STA.setUTXISEL0; inline;
  31276. begin
  31277. pTDefRegMap(@Self)^.&set := $00004000;
  31278. end;
  31279. procedure TUART1A_U1STA.clearUTXISEL0; inline;
  31280. begin
  31281. pTDefRegMap(@Self)^.clr := $00004000;
  31282. end;
  31283. procedure TUART1A_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  31284. begin
  31285. if thebits = 0 then
  31286. pTDefRegMap(@Self)^.clr := $00004000
  31287. else
  31288. pTDefRegMap(@Self)^.&set := $00004000;
  31289. end;
  31290. function TUART1A_U1STA.getUTXISEL0 : TBits_1; inline;
  31291. begin
  31292. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31293. end;
  31294. procedure TUART1A_U1STA.setUTXISEL1; inline;
  31295. begin
  31296. pTDefRegMap(@Self)^.&set := $00008000;
  31297. end;
  31298. procedure TUART1A_U1STA.clearUTXISEL1; inline;
  31299. begin
  31300. pTDefRegMap(@Self)^.clr := $00008000;
  31301. end;
  31302. procedure TUART1A_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  31303. begin
  31304. if thebits = 0 then
  31305. pTDefRegMap(@Self)^.clr := $00008000
  31306. else
  31307. pTDefRegMap(@Self)^.&set := $00008000;
  31308. end;
  31309. function TUART1A_U1STA.getUTXISEL1 : TBits_1; inline;
  31310. begin
  31311. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31312. end;
  31313. procedure TUART1A_U1STA.setUTXSEL(thebits : TBits_2); inline;
  31314. begin
  31315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31316. end;
  31317. function TUART1A_U1STA.getUTXSEL : TBits_2; inline;
  31318. begin
  31319. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31320. end;
  31321. procedure TUART1A_U1STA.setw(thebits : TBits_32); inline;
  31322. begin
  31323. pTDefRegMap(@Self)^.val := thebits;
  31324. end;
  31325. function TUART1A_U1STA.getw : TBits_32; inline;
  31326. begin
  31327. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31328. end;
  31329. procedure TUART1B_U1BMODE.setSTSEL; inline;
  31330. begin
  31331. pTDefRegMap(@Self)^.&set := $00000001;
  31332. end;
  31333. procedure TUART1B_U1BMODE.clearSTSEL; inline;
  31334. begin
  31335. pTDefRegMap(@Self)^.clr := $00000001;
  31336. end;
  31337. procedure TUART1B_U1BMODE.setSTSEL(thebits : TBits_1); inline;
  31338. begin
  31339. if thebits = 0 then
  31340. pTDefRegMap(@Self)^.clr := $00000001
  31341. else
  31342. pTDefRegMap(@Self)^.&set := $00000001;
  31343. end;
  31344. function TUART1B_U1BMODE.getSTSEL : TBits_1; inline;
  31345. begin
  31346. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31347. end;
  31348. procedure TUART1B_U1BMODE.setPDSEL(thebits : TBits_2); inline;
  31349. begin
  31350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31351. end;
  31352. function TUART1B_U1BMODE.getPDSEL : TBits_2; inline;
  31353. begin
  31354. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31355. end;
  31356. procedure TUART1B_U1BMODE.setBRGH; inline;
  31357. begin
  31358. pTDefRegMap(@Self)^.&set := $00000008;
  31359. end;
  31360. procedure TUART1B_U1BMODE.clearBRGH; inline;
  31361. begin
  31362. pTDefRegMap(@Self)^.clr := $00000008;
  31363. end;
  31364. procedure TUART1B_U1BMODE.setBRGH(thebits : TBits_1); inline;
  31365. begin
  31366. if thebits = 0 then
  31367. pTDefRegMap(@Self)^.clr := $00000008
  31368. else
  31369. pTDefRegMap(@Self)^.&set := $00000008;
  31370. end;
  31371. function TUART1B_U1BMODE.getBRGH : TBits_1; inline;
  31372. begin
  31373. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31374. end;
  31375. procedure TUART1B_U1BMODE.setRXINV; inline;
  31376. begin
  31377. pTDefRegMap(@Self)^.&set := $00000010;
  31378. end;
  31379. procedure TUART1B_U1BMODE.clearRXINV; inline;
  31380. begin
  31381. pTDefRegMap(@Self)^.clr := $00000010;
  31382. end;
  31383. procedure TUART1B_U1BMODE.setRXINV(thebits : TBits_1); inline;
  31384. begin
  31385. if thebits = 0 then
  31386. pTDefRegMap(@Self)^.clr := $00000010
  31387. else
  31388. pTDefRegMap(@Self)^.&set := $00000010;
  31389. end;
  31390. function TUART1B_U1BMODE.getRXINV : TBits_1; inline;
  31391. begin
  31392. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31393. end;
  31394. procedure TUART1B_U1BMODE.setABAUD; inline;
  31395. begin
  31396. pTDefRegMap(@Self)^.&set := $00000020;
  31397. end;
  31398. procedure TUART1B_U1BMODE.clearABAUD; inline;
  31399. begin
  31400. pTDefRegMap(@Self)^.clr := $00000020;
  31401. end;
  31402. procedure TUART1B_U1BMODE.setABAUD(thebits : TBits_1); inline;
  31403. begin
  31404. if thebits = 0 then
  31405. pTDefRegMap(@Self)^.clr := $00000020
  31406. else
  31407. pTDefRegMap(@Self)^.&set := $00000020;
  31408. end;
  31409. function TUART1B_U1BMODE.getABAUD : TBits_1; inline;
  31410. begin
  31411. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31412. end;
  31413. procedure TUART1B_U1BMODE.setLPBACK; inline;
  31414. begin
  31415. pTDefRegMap(@Self)^.&set := $00000040;
  31416. end;
  31417. procedure TUART1B_U1BMODE.clearLPBACK; inline;
  31418. begin
  31419. pTDefRegMap(@Self)^.clr := $00000040;
  31420. end;
  31421. procedure TUART1B_U1BMODE.setLPBACK(thebits : TBits_1); inline;
  31422. begin
  31423. if thebits = 0 then
  31424. pTDefRegMap(@Self)^.clr := $00000040
  31425. else
  31426. pTDefRegMap(@Self)^.&set := $00000040;
  31427. end;
  31428. function TUART1B_U1BMODE.getLPBACK : TBits_1; inline;
  31429. begin
  31430. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31431. end;
  31432. procedure TUART1B_U1BMODE.setWAKE; inline;
  31433. begin
  31434. pTDefRegMap(@Self)^.&set := $00000080;
  31435. end;
  31436. procedure TUART1B_U1BMODE.clearWAKE; inline;
  31437. begin
  31438. pTDefRegMap(@Self)^.clr := $00000080;
  31439. end;
  31440. procedure TUART1B_U1BMODE.setWAKE(thebits : TBits_1); inline;
  31441. begin
  31442. if thebits = 0 then
  31443. pTDefRegMap(@Self)^.clr := $00000080
  31444. else
  31445. pTDefRegMap(@Self)^.&set := $00000080;
  31446. end;
  31447. function TUART1B_U1BMODE.getWAKE : TBits_1; inline;
  31448. begin
  31449. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31450. end;
  31451. procedure TUART1B_U1BMODE.setIREN; inline;
  31452. begin
  31453. pTDefRegMap(@Self)^.&set := $00001000;
  31454. end;
  31455. procedure TUART1B_U1BMODE.clearIREN; inline;
  31456. begin
  31457. pTDefRegMap(@Self)^.clr := $00001000;
  31458. end;
  31459. procedure TUART1B_U1BMODE.setIREN(thebits : TBits_1); inline;
  31460. begin
  31461. if thebits = 0 then
  31462. pTDefRegMap(@Self)^.clr := $00001000
  31463. else
  31464. pTDefRegMap(@Self)^.&set := $00001000;
  31465. end;
  31466. function TUART1B_U1BMODE.getIREN : TBits_1; inline;
  31467. begin
  31468. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31469. end;
  31470. procedure TUART1B_U1BMODE.setSIDL; inline;
  31471. begin
  31472. pTDefRegMap(@Self)^.&set := $00002000;
  31473. end;
  31474. procedure TUART1B_U1BMODE.clearSIDL; inline;
  31475. begin
  31476. pTDefRegMap(@Self)^.clr := $00002000;
  31477. end;
  31478. procedure TUART1B_U1BMODE.setSIDL(thebits : TBits_1); inline;
  31479. begin
  31480. if thebits = 0 then
  31481. pTDefRegMap(@Self)^.clr := $00002000
  31482. else
  31483. pTDefRegMap(@Self)^.&set := $00002000;
  31484. end;
  31485. function TUART1B_U1BMODE.getSIDL : TBits_1; inline;
  31486. begin
  31487. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31488. end;
  31489. procedure TUART1B_U1BMODE.setON; inline;
  31490. begin
  31491. pTDefRegMap(@Self)^.&set := $00008000;
  31492. end;
  31493. procedure TUART1B_U1BMODE.clearON; inline;
  31494. begin
  31495. pTDefRegMap(@Self)^.clr := $00008000;
  31496. end;
  31497. procedure TUART1B_U1BMODE.setON(thebits : TBits_1); inline;
  31498. begin
  31499. if thebits = 0 then
  31500. pTDefRegMap(@Self)^.clr := $00008000
  31501. else
  31502. pTDefRegMap(@Self)^.&set := $00008000;
  31503. end;
  31504. function TUART1B_U1BMODE.getON : TBits_1; inline;
  31505. begin
  31506. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31507. end;
  31508. procedure TUART1B_U1BMODE.setPDSEL0; inline;
  31509. begin
  31510. pTDefRegMap(@Self)^.&set := $00000002;
  31511. end;
  31512. procedure TUART1B_U1BMODE.clearPDSEL0; inline;
  31513. begin
  31514. pTDefRegMap(@Self)^.clr := $00000002;
  31515. end;
  31516. procedure TUART1B_U1BMODE.setPDSEL0(thebits : TBits_1); inline;
  31517. begin
  31518. if thebits = 0 then
  31519. pTDefRegMap(@Self)^.clr := $00000002
  31520. else
  31521. pTDefRegMap(@Self)^.&set := $00000002;
  31522. end;
  31523. function TUART1B_U1BMODE.getPDSEL0 : TBits_1; inline;
  31524. begin
  31525. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31526. end;
  31527. procedure TUART1B_U1BMODE.setPDSEL1; inline;
  31528. begin
  31529. pTDefRegMap(@Self)^.&set := $00000004;
  31530. end;
  31531. procedure TUART1B_U1BMODE.clearPDSEL1; inline;
  31532. begin
  31533. pTDefRegMap(@Self)^.clr := $00000004;
  31534. end;
  31535. procedure TUART1B_U1BMODE.setPDSEL1(thebits : TBits_1); inline;
  31536. begin
  31537. if thebits = 0 then
  31538. pTDefRegMap(@Self)^.clr := $00000004
  31539. else
  31540. pTDefRegMap(@Self)^.&set := $00000004;
  31541. end;
  31542. function TUART1B_U1BMODE.getPDSEL1 : TBits_1; inline;
  31543. begin
  31544. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31545. end;
  31546. procedure TUART1B_U1BMODE.setUSIDL; inline;
  31547. begin
  31548. pTDefRegMap(@Self)^.&set := $00002000;
  31549. end;
  31550. procedure TUART1B_U1BMODE.clearUSIDL; inline;
  31551. begin
  31552. pTDefRegMap(@Self)^.clr := $00002000;
  31553. end;
  31554. procedure TUART1B_U1BMODE.setUSIDL(thebits : TBits_1); inline;
  31555. begin
  31556. if thebits = 0 then
  31557. pTDefRegMap(@Self)^.clr := $00002000
  31558. else
  31559. pTDefRegMap(@Self)^.&set := $00002000;
  31560. end;
  31561. function TUART1B_U1BMODE.getUSIDL : TBits_1; inline;
  31562. begin
  31563. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31564. end;
  31565. procedure TUART1B_U1BMODE.setUARTEN; inline;
  31566. begin
  31567. pTDefRegMap(@Self)^.&set := $00008000;
  31568. end;
  31569. procedure TUART1B_U1BMODE.clearUARTEN; inline;
  31570. begin
  31571. pTDefRegMap(@Self)^.clr := $00008000;
  31572. end;
  31573. procedure TUART1B_U1BMODE.setUARTEN(thebits : TBits_1); inline;
  31574. begin
  31575. if thebits = 0 then
  31576. pTDefRegMap(@Self)^.clr := $00008000
  31577. else
  31578. pTDefRegMap(@Self)^.&set := $00008000;
  31579. end;
  31580. function TUART1B_U1BMODE.getUARTEN : TBits_1; inline;
  31581. begin
  31582. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31583. end;
  31584. procedure TUART1B_U1BMODE.setw(thebits : TBits_32); inline;
  31585. begin
  31586. pTDefRegMap(@Self)^.val := thebits;
  31587. end;
  31588. function TUART1B_U1BMODE.getw : TBits_32; inline;
  31589. begin
  31590. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31591. end;
  31592. procedure TUART1B_U4MODE.setSTSEL; inline;
  31593. begin
  31594. pTDefRegMap(@Self)^.&set := $00000001;
  31595. end;
  31596. procedure TUART1B_U4MODE.clearSTSEL; inline;
  31597. begin
  31598. pTDefRegMap(@Self)^.clr := $00000001;
  31599. end;
  31600. procedure TUART1B_U4MODE.setSTSEL(thebits : TBits_1); inline;
  31601. begin
  31602. if thebits = 0 then
  31603. pTDefRegMap(@Self)^.clr := $00000001
  31604. else
  31605. pTDefRegMap(@Self)^.&set := $00000001;
  31606. end;
  31607. function TUART1B_U4MODE.getSTSEL : TBits_1; inline;
  31608. begin
  31609. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31610. end;
  31611. procedure TUART1B_U4MODE.setPDSEL(thebits : TBits_2); inline;
  31612. begin
  31613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31614. end;
  31615. function TUART1B_U4MODE.getPDSEL : TBits_2; inline;
  31616. begin
  31617. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31618. end;
  31619. procedure TUART1B_U4MODE.setBRGH; inline;
  31620. begin
  31621. pTDefRegMap(@Self)^.&set := $00000008;
  31622. end;
  31623. procedure TUART1B_U4MODE.clearBRGH; inline;
  31624. begin
  31625. pTDefRegMap(@Self)^.clr := $00000008;
  31626. end;
  31627. procedure TUART1B_U4MODE.setBRGH(thebits : TBits_1); inline;
  31628. begin
  31629. if thebits = 0 then
  31630. pTDefRegMap(@Self)^.clr := $00000008
  31631. else
  31632. pTDefRegMap(@Self)^.&set := $00000008;
  31633. end;
  31634. function TUART1B_U4MODE.getBRGH : TBits_1; inline;
  31635. begin
  31636. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31637. end;
  31638. procedure TUART1B_U4MODE.setRXINV; inline;
  31639. begin
  31640. pTDefRegMap(@Self)^.&set := $00000010;
  31641. end;
  31642. procedure TUART1B_U4MODE.clearRXINV; inline;
  31643. begin
  31644. pTDefRegMap(@Self)^.clr := $00000010;
  31645. end;
  31646. procedure TUART1B_U4MODE.setRXINV(thebits : TBits_1); inline;
  31647. begin
  31648. if thebits = 0 then
  31649. pTDefRegMap(@Self)^.clr := $00000010
  31650. else
  31651. pTDefRegMap(@Self)^.&set := $00000010;
  31652. end;
  31653. function TUART1B_U4MODE.getRXINV : TBits_1; inline;
  31654. begin
  31655. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31656. end;
  31657. procedure TUART1B_U4MODE.setABAUD; inline;
  31658. begin
  31659. pTDefRegMap(@Self)^.&set := $00000020;
  31660. end;
  31661. procedure TUART1B_U4MODE.clearABAUD; inline;
  31662. begin
  31663. pTDefRegMap(@Self)^.clr := $00000020;
  31664. end;
  31665. procedure TUART1B_U4MODE.setABAUD(thebits : TBits_1); inline;
  31666. begin
  31667. if thebits = 0 then
  31668. pTDefRegMap(@Self)^.clr := $00000020
  31669. else
  31670. pTDefRegMap(@Self)^.&set := $00000020;
  31671. end;
  31672. function TUART1B_U4MODE.getABAUD : TBits_1; inline;
  31673. begin
  31674. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31675. end;
  31676. procedure TUART1B_U4MODE.setLPBACK; inline;
  31677. begin
  31678. pTDefRegMap(@Self)^.&set := $00000040;
  31679. end;
  31680. procedure TUART1B_U4MODE.clearLPBACK; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.clr := $00000040;
  31683. end;
  31684. procedure TUART1B_U4MODE.setLPBACK(thebits : TBits_1); inline;
  31685. begin
  31686. if thebits = 0 then
  31687. pTDefRegMap(@Self)^.clr := $00000040
  31688. else
  31689. pTDefRegMap(@Self)^.&set := $00000040;
  31690. end;
  31691. function TUART1B_U4MODE.getLPBACK : TBits_1; inline;
  31692. begin
  31693. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31694. end;
  31695. procedure TUART1B_U4MODE.setWAKE; inline;
  31696. begin
  31697. pTDefRegMap(@Self)^.&set := $00000080;
  31698. end;
  31699. procedure TUART1B_U4MODE.clearWAKE; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.clr := $00000080;
  31702. end;
  31703. procedure TUART1B_U4MODE.setWAKE(thebits : TBits_1); inline;
  31704. begin
  31705. if thebits = 0 then
  31706. pTDefRegMap(@Self)^.clr := $00000080
  31707. else
  31708. pTDefRegMap(@Self)^.&set := $00000080;
  31709. end;
  31710. function TUART1B_U4MODE.getWAKE : TBits_1; inline;
  31711. begin
  31712. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31713. end;
  31714. procedure TUART1B_U4MODE.setIREN; inline;
  31715. begin
  31716. pTDefRegMap(@Self)^.&set := $00001000;
  31717. end;
  31718. procedure TUART1B_U4MODE.clearIREN; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.clr := $00001000;
  31721. end;
  31722. procedure TUART1B_U4MODE.setIREN(thebits : TBits_1); inline;
  31723. begin
  31724. if thebits = 0 then
  31725. pTDefRegMap(@Self)^.clr := $00001000
  31726. else
  31727. pTDefRegMap(@Self)^.&set := $00001000;
  31728. end;
  31729. function TUART1B_U4MODE.getIREN : TBits_1; inline;
  31730. begin
  31731. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31732. end;
  31733. procedure TUART1B_U4MODE.setSIDL; inline;
  31734. begin
  31735. pTDefRegMap(@Self)^.&set := $00002000;
  31736. end;
  31737. procedure TUART1B_U4MODE.clearSIDL; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.clr := $00002000;
  31740. end;
  31741. procedure TUART1B_U4MODE.setSIDL(thebits : TBits_1); inline;
  31742. begin
  31743. if thebits = 0 then
  31744. pTDefRegMap(@Self)^.clr := $00002000
  31745. else
  31746. pTDefRegMap(@Self)^.&set := $00002000;
  31747. end;
  31748. function TUART1B_U4MODE.getSIDL : TBits_1; inline;
  31749. begin
  31750. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31751. end;
  31752. procedure TUART1B_U4MODE.setON; inline;
  31753. begin
  31754. pTDefRegMap(@Self)^.&set := $00008000;
  31755. end;
  31756. procedure TUART1B_U4MODE.clearON; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.clr := $00008000;
  31759. end;
  31760. procedure TUART1B_U4MODE.setON(thebits : TBits_1); inline;
  31761. begin
  31762. if thebits = 0 then
  31763. pTDefRegMap(@Self)^.clr := $00008000
  31764. else
  31765. pTDefRegMap(@Self)^.&set := $00008000;
  31766. end;
  31767. function TUART1B_U4MODE.getON : TBits_1; inline;
  31768. begin
  31769. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31770. end;
  31771. procedure TUART1B_U4MODE.setPDSEL0; inline;
  31772. begin
  31773. pTDefRegMap(@Self)^.&set := $00000002;
  31774. end;
  31775. procedure TUART1B_U4MODE.clearPDSEL0; inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.clr := $00000002;
  31778. end;
  31779. procedure TUART1B_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  31780. begin
  31781. if thebits = 0 then
  31782. pTDefRegMap(@Self)^.clr := $00000002
  31783. else
  31784. pTDefRegMap(@Self)^.&set := $00000002;
  31785. end;
  31786. function TUART1B_U4MODE.getPDSEL0 : TBits_1; inline;
  31787. begin
  31788. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31789. end;
  31790. procedure TUART1B_U4MODE.setPDSEL1; inline;
  31791. begin
  31792. pTDefRegMap(@Self)^.&set := $00000004;
  31793. end;
  31794. procedure TUART1B_U4MODE.clearPDSEL1; inline;
  31795. begin
  31796. pTDefRegMap(@Self)^.clr := $00000004;
  31797. end;
  31798. procedure TUART1B_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  31799. begin
  31800. if thebits = 0 then
  31801. pTDefRegMap(@Self)^.clr := $00000004
  31802. else
  31803. pTDefRegMap(@Self)^.&set := $00000004;
  31804. end;
  31805. function TUART1B_U4MODE.getPDSEL1 : TBits_1; inline;
  31806. begin
  31807. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31808. end;
  31809. procedure TUART1B_U4MODE.setUSIDL; inline;
  31810. begin
  31811. pTDefRegMap(@Self)^.&set := $00002000;
  31812. end;
  31813. procedure TUART1B_U4MODE.clearUSIDL; inline;
  31814. begin
  31815. pTDefRegMap(@Self)^.clr := $00002000;
  31816. end;
  31817. procedure TUART1B_U4MODE.setUSIDL(thebits : TBits_1); inline;
  31818. begin
  31819. if thebits = 0 then
  31820. pTDefRegMap(@Self)^.clr := $00002000
  31821. else
  31822. pTDefRegMap(@Self)^.&set := $00002000;
  31823. end;
  31824. function TUART1B_U4MODE.getUSIDL : TBits_1; inline;
  31825. begin
  31826. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31827. end;
  31828. procedure TUART1B_U4MODE.setUARTEN; inline;
  31829. begin
  31830. pTDefRegMap(@Self)^.&set := $00008000;
  31831. end;
  31832. procedure TUART1B_U4MODE.clearUARTEN; inline;
  31833. begin
  31834. pTDefRegMap(@Self)^.clr := $00008000;
  31835. end;
  31836. procedure TUART1B_U4MODE.setUARTEN(thebits : TBits_1); inline;
  31837. begin
  31838. if thebits = 0 then
  31839. pTDefRegMap(@Self)^.clr := $00008000
  31840. else
  31841. pTDefRegMap(@Self)^.&set := $00008000;
  31842. end;
  31843. function TUART1B_U4MODE.getUARTEN : TBits_1; inline;
  31844. begin
  31845. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31846. end;
  31847. procedure TUART1B_U4MODE.setw(thebits : TBits_32); inline;
  31848. begin
  31849. pTDefRegMap(@Self)^.val := thebits;
  31850. end;
  31851. function TUART1B_U4MODE.getw : TBits_32; inline;
  31852. begin
  31853. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31854. end;
  31855. procedure TUART1B_U1BSTA.setURXDA; inline;
  31856. begin
  31857. pTDefRegMap(@Self)^.&set := $00000001;
  31858. end;
  31859. procedure TUART1B_U1BSTA.clearURXDA; inline;
  31860. begin
  31861. pTDefRegMap(@Self)^.clr := $00000001;
  31862. end;
  31863. procedure TUART1B_U1BSTA.setURXDA(thebits : TBits_1); inline;
  31864. begin
  31865. if thebits = 0 then
  31866. pTDefRegMap(@Self)^.clr := $00000001
  31867. else
  31868. pTDefRegMap(@Self)^.&set := $00000001;
  31869. end;
  31870. function TUART1B_U1BSTA.getURXDA : TBits_1; inline;
  31871. begin
  31872. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31873. end;
  31874. procedure TUART1B_U1BSTA.setOERR; inline;
  31875. begin
  31876. pTDefRegMap(@Self)^.&set := $00000002;
  31877. end;
  31878. procedure TUART1B_U1BSTA.clearOERR; inline;
  31879. begin
  31880. pTDefRegMap(@Self)^.clr := $00000002;
  31881. end;
  31882. procedure TUART1B_U1BSTA.setOERR(thebits : TBits_1); inline;
  31883. begin
  31884. if thebits = 0 then
  31885. pTDefRegMap(@Self)^.clr := $00000002
  31886. else
  31887. pTDefRegMap(@Self)^.&set := $00000002;
  31888. end;
  31889. function TUART1B_U1BSTA.getOERR : TBits_1; inline;
  31890. begin
  31891. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31892. end;
  31893. procedure TUART1B_U1BSTA.setFERR; inline;
  31894. begin
  31895. pTDefRegMap(@Self)^.&set := $00000004;
  31896. end;
  31897. procedure TUART1B_U1BSTA.clearFERR; inline;
  31898. begin
  31899. pTDefRegMap(@Self)^.clr := $00000004;
  31900. end;
  31901. procedure TUART1B_U1BSTA.setFERR(thebits : TBits_1); inline;
  31902. begin
  31903. if thebits = 0 then
  31904. pTDefRegMap(@Self)^.clr := $00000004
  31905. else
  31906. pTDefRegMap(@Self)^.&set := $00000004;
  31907. end;
  31908. function TUART1B_U1BSTA.getFERR : TBits_1; inline;
  31909. begin
  31910. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31911. end;
  31912. procedure TUART1B_U1BSTA.setPERR; inline;
  31913. begin
  31914. pTDefRegMap(@Self)^.&set := $00000008;
  31915. end;
  31916. procedure TUART1B_U1BSTA.clearPERR; inline;
  31917. begin
  31918. pTDefRegMap(@Self)^.clr := $00000008;
  31919. end;
  31920. procedure TUART1B_U1BSTA.setPERR(thebits : TBits_1); inline;
  31921. begin
  31922. if thebits = 0 then
  31923. pTDefRegMap(@Self)^.clr := $00000008
  31924. else
  31925. pTDefRegMap(@Self)^.&set := $00000008;
  31926. end;
  31927. function TUART1B_U1BSTA.getPERR : TBits_1; inline;
  31928. begin
  31929. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31930. end;
  31931. procedure TUART1B_U1BSTA.setRIDLE; inline;
  31932. begin
  31933. pTDefRegMap(@Self)^.&set := $00000010;
  31934. end;
  31935. procedure TUART1B_U1BSTA.clearRIDLE; inline;
  31936. begin
  31937. pTDefRegMap(@Self)^.clr := $00000010;
  31938. end;
  31939. procedure TUART1B_U1BSTA.setRIDLE(thebits : TBits_1); inline;
  31940. begin
  31941. if thebits = 0 then
  31942. pTDefRegMap(@Self)^.clr := $00000010
  31943. else
  31944. pTDefRegMap(@Self)^.&set := $00000010;
  31945. end;
  31946. function TUART1B_U1BSTA.getRIDLE : TBits_1; inline;
  31947. begin
  31948. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31949. end;
  31950. procedure TUART1B_U1BSTA.setADDEN; inline;
  31951. begin
  31952. pTDefRegMap(@Self)^.&set := $00000020;
  31953. end;
  31954. procedure TUART1B_U1BSTA.clearADDEN; inline;
  31955. begin
  31956. pTDefRegMap(@Self)^.clr := $00000020;
  31957. end;
  31958. procedure TUART1B_U1BSTA.setADDEN(thebits : TBits_1); inline;
  31959. begin
  31960. if thebits = 0 then
  31961. pTDefRegMap(@Self)^.clr := $00000020
  31962. else
  31963. pTDefRegMap(@Self)^.&set := $00000020;
  31964. end;
  31965. function TUART1B_U1BSTA.getADDEN : TBits_1; inline;
  31966. begin
  31967. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31968. end;
  31969. procedure TUART1B_U1BSTA.setURXISEL(thebits : TBits_2); inline;
  31970. begin
  31971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31972. end;
  31973. function TUART1B_U1BSTA.getURXISEL : TBits_2; inline;
  31974. begin
  31975. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31976. end;
  31977. procedure TUART1B_U1BSTA.setTRMT; inline;
  31978. begin
  31979. pTDefRegMap(@Self)^.&set := $00000100;
  31980. end;
  31981. procedure TUART1B_U1BSTA.clearTRMT; inline;
  31982. begin
  31983. pTDefRegMap(@Self)^.clr := $00000100;
  31984. end;
  31985. procedure TUART1B_U1BSTA.setTRMT(thebits : TBits_1); inline;
  31986. begin
  31987. if thebits = 0 then
  31988. pTDefRegMap(@Self)^.clr := $00000100
  31989. else
  31990. pTDefRegMap(@Self)^.&set := $00000100;
  31991. end;
  31992. function TUART1B_U1BSTA.getTRMT : TBits_1; inline;
  31993. begin
  31994. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31995. end;
  31996. procedure TUART1B_U1BSTA.setUTXBF; inline;
  31997. begin
  31998. pTDefRegMap(@Self)^.&set := $00000200;
  31999. end;
  32000. procedure TUART1B_U1BSTA.clearUTXBF; inline;
  32001. begin
  32002. pTDefRegMap(@Self)^.clr := $00000200;
  32003. end;
  32004. procedure TUART1B_U1BSTA.setUTXBF(thebits : TBits_1); inline;
  32005. begin
  32006. if thebits = 0 then
  32007. pTDefRegMap(@Self)^.clr := $00000200
  32008. else
  32009. pTDefRegMap(@Self)^.&set := $00000200;
  32010. end;
  32011. function TUART1B_U1BSTA.getUTXBF : TBits_1; inline;
  32012. begin
  32013. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32014. end;
  32015. procedure TUART1B_U1BSTA.setUTXEN; inline;
  32016. begin
  32017. pTDefRegMap(@Self)^.&set := $00000400;
  32018. end;
  32019. procedure TUART1B_U1BSTA.clearUTXEN; inline;
  32020. begin
  32021. pTDefRegMap(@Self)^.clr := $00000400;
  32022. end;
  32023. procedure TUART1B_U1BSTA.setUTXEN(thebits : TBits_1); inline;
  32024. begin
  32025. if thebits = 0 then
  32026. pTDefRegMap(@Self)^.clr := $00000400
  32027. else
  32028. pTDefRegMap(@Self)^.&set := $00000400;
  32029. end;
  32030. function TUART1B_U1BSTA.getUTXEN : TBits_1; inline;
  32031. begin
  32032. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32033. end;
  32034. procedure TUART1B_U1BSTA.setUTXBRK; inline;
  32035. begin
  32036. pTDefRegMap(@Self)^.&set := $00000800;
  32037. end;
  32038. procedure TUART1B_U1BSTA.clearUTXBRK; inline;
  32039. begin
  32040. pTDefRegMap(@Self)^.clr := $00000800;
  32041. end;
  32042. procedure TUART1B_U1BSTA.setUTXBRK(thebits : TBits_1); inline;
  32043. begin
  32044. if thebits = 0 then
  32045. pTDefRegMap(@Self)^.clr := $00000800
  32046. else
  32047. pTDefRegMap(@Self)^.&set := $00000800;
  32048. end;
  32049. function TUART1B_U1BSTA.getUTXBRK : TBits_1; inline;
  32050. begin
  32051. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32052. end;
  32053. procedure TUART1B_U1BSTA.setURXEN; inline;
  32054. begin
  32055. pTDefRegMap(@Self)^.&set := $00001000;
  32056. end;
  32057. procedure TUART1B_U1BSTA.clearURXEN; inline;
  32058. begin
  32059. pTDefRegMap(@Self)^.clr := $00001000;
  32060. end;
  32061. procedure TUART1B_U1BSTA.setURXEN(thebits : TBits_1); inline;
  32062. begin
  32063. if thebits = 0 then
  32064. pTDefRegMap(@Self)^.clr := $00001000
  32065. else
  32066. pTDefRegMap(@Self)^.&set := $00001000;
  32067. end;
  32068. function TUART1B_U1BSTA.getURXEN : TBits_1; inline;
  32069. begin
  32070. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32071. end;
  32072. procedure TUART1B_U1BSTA.setUTXINV; inline;
  32073. begin
  32074. pTDefRegMap(@Self)^.&set := $00002000;
  32075. end;
  32076. procedure TUART1B_U1BSTA.clearUTXINV; inline;
  32077. begin
  32078. pTDefRegMap(@Self)^.clr := $00002000;
  32079. end;
  32080. procedure TUART1B_U1BSTA.setUTXINV(thebits : TBits_1); inline;
  32081. begin
  32082. if thebits = 0 then
  32083. pTDefRegMap(@Self)^.clr := $00002000
  32084. else
  32085. pTDefRegMap(@Self)^.&set := $00002000;
  32086. end;
  32087. function TUART1B_U1BSTA.getUTXINV : TBits_1; inline;
  32088. begin
  32089. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32090. end;
  32091. procedure TUART1B_U1BSTA.setUTXISEL(thebits : TBits_2); inline;
  32092. begin
  32093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32094. end;
  32095. function TUART1B_U1BSTA.getUTXISEL : TBits_2; inline;
  32096. begin
  32097. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32098. end;
  32099. procedure TUART1B_U1BSTA.setADDR(thebits : TBits_8); inline;
  32100. begin
  32101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32102. end;
  32103. function TUART1B_U1BSTA.getADDR : TBits_8; inline;
  32104. begin
  32105. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32106. end;
  32107. procedure TUART1B_U1BSTA.setADM_EN; inline;
  32108. begin
  32109. pTDefRegMap(@Self)^.&set := $01000000;
  32110. end;
  32111. procedure TUART1B_U1BSTA.clearADM_EN; inline;
  32112. begin
  32113. pTDefRegMap(@Self)^.clr := $01000000;
  32114. end;
  32115. procedure TUART1B_U1BSTA.setADM_EN(thebits : TBits_1); inline;
  32116. begin
  32117. if thebits = 0 then
  32118. pTDefRegMap(@Self)^.clr := $01000000
  32119. else
  32120. pTDefRegMap(@Self)^.&set := $01000000;
  32121. end;
  32122. function TUART1B_U1BSTA.getADM_EN : TBits_1; inline;
  32123. begin
  32124. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32125. end;
  32126. procedure TUART1B_U1BSTA.setURXISEL0; inline;
  32127. begin
  32128. pTDefRegMap(@Self)^.&set := $00000040;
  32129. end;
  32130. procedure TUART1B_U1BSTA.clearURXISEL0; inline;
  32131. begin
  32132. pTDefRegMap(@Self)^.clr := $00000040;
  32133. end;
  32134. procedure TUART1B_U1BSTA.setURXISEL0(thebits : TBits_1); inline;
  32135. begin
  32136. if thebits = 0 then
  32137. pTDefRegMap(@Self)^.clr := $00000040
  32138. else
  32139. pTDefRegMap(@Self)^.&set := $00000040;
  32140. end;
  32141. function TUART1B_U1BSTA.getURXISEL0 : TBits_1; inline;
  32142. begin
  32143. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32144. end;
  32145. procedure TUART1B_U1BSTA.setURXISEL1; inline;
  32146. begin
  32147. pTDefRegMap(@Self)^.&set := $00000080;
  32148. end;
  32149. procedure TUART1B_U1BSTA.clearURXISEL1; inline;
  32150. begin
  32151. pTDefRegMap(@Self)^.clr := $00000080;
  32152. end;
  32153. procedure TUART1B_U1BSTA.setURXISEL1(thebits : TBits_1); inline;
  32154. begin
  32155. if thebits = 0 then
  32156. pTDefRegMap(@Self)^.clr := $00000080
  32157. else
  32158. pTDefRegMap(@Self)^.&set := $00000080;
  32159. end;
  32160. function TUART1B_U1BSTA.getURXISEL1 : TBits_1; inline;
  32161. begin
  32162. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32163. end;
  32164. procedure TUART1B_U1BSTA.setUTXISEL0; inline;
  32165. begin
  32166. pTDefRegMap(@Self)^.&set := $00004000;
  32167. end;
  32168. procedure TUART1B_U1BSTA.clearUTXISEL0; inline;
  32169. begin
  32170. pTDefRegMap(@Self)^.clr := $00004000;
  32171. end;
  32172. procedure TUART1B_U1BSTA.setUTXISEL0(thebits : TBits_1); inline;
  32173. begin
  32174. if thebits = 0 then
  32175. pTDefRegMap(@Self)^.clr := $00004000
  32176. else
  32177. pTDefRegMap(@Self)^.&set := $00004000;
  32178. end;
  32179. function TUART1B_U1BSTA.getUTXISEL0 : TBits_1; inline;
  32180. begin
  32181. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32182. end;
  32183. procedure TUART1B_U1BSTA.setUTXISEL1; inline;
  32184. begin
  32185. pTDefRegMap(@Self)^.&set := $00008000;
  32186. end;
  32187. procedure TUART1B_U1BSTA.clearUTXISEL1; inline;
  32188. begin
  32189. pTDefRegMap(@Self)^.clr := $00008000;
  32190. end;
  32191. procedure TUART1B_U1BSTA.setUTXISEL1(thebits : TBits_1); inline;
  32192. begin
  32193. if thebits = 0 then
  32194. pTDefRegMap(@Self)^.clr := $00008000
  32195. else
  32196. pTDefRegMap(@Self)^.&set := $00008000;
  32197. end;
  32198. function TUART1B_U1BSTA.getUTXISEL1 : TBits_1; inline;
  32199. begin
  32200. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32201. end;
  32202. procedure TUART1B_U1BSTA.setUTXSEL(thebits : TBits_2); inline;
  32203. begin
  32204. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32205. end;
  32206. function TUART1B_U1BSTA.getUTXSEL : TBits_2; inline;
  32207. begin
  32208. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32209. end;
  32210. procedure TUART1B_U1BSTA.setw(thebits : TBits_32); inline;
  32211. begin
  32212. pTDefRegMap(@Self)^.val := thebits;
  32213. end;
  32214. function TUART1B_U1BSTA.getw : TBits_32; inline;
  32215. begin
  32216. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32217. end;
  32218. procedure TUART1B_U4STA.setURXDA; inline;
  32219. begin
  32220. pTDefRegMap(@Self)^.&set := $00000001;
  32221. end;
  32222. procedure TUART1B_U4STA.clearURXDA; inline;
  32223. begin
  32224. pTDefRegMap(@Self)^.clr := $00000001;
  32225. end;
  32226. procedure TUART1B_U4STA.setURXDA(thebits : TBits_1); inline;
  32227. begin
  32228. if thebits = 0 then
  32229. pTDefRegMap(@Self)^.clr := $00000001
  32230. else
  32231. pTDefRegMap(@Self)^.&set := $00000001;
  32232. end;
  32233. function TUART1B_U4STA.getURXDA : TBits_1; inline;
  32234. begin
  32235. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32236. end;
  32237. procedure TUART1B_U4STA.setOERR; inline;
  32238. begin
  32239. pTDefRegMap(@Self)^.&set := $00000002;
  32240. end;
  32241. procedure TUART1B_U4STA.clearOERR; inline;
  32242. begin
  32243. pTDefRegMap(@Self)^.clr := $00000002;
  32244. end;
  32245. procedure TUART1B_U4STA.setOERR(thebits : TBits_1); inline;
  32246. begin
  32247. if thebits = 0 then
  32248. pTDefRegMap(@Self)^.clr := $00000002
  32249. else
  32250. pTDefRegMap(@Self)^.&set := $00000002;
  32251. end;
  32252. function TUART1B_U4STA.getOERR : TBits_1; inline;
  32253. begin
  32254. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32255. end;
  32256. procedure TUART1B_U4STA.setFERR; inline;
  32257. begin
  32258. pTDefRegMap(@Self)^.&set := $00000004;
  32259. end;
  32260. procedure TUART1B_U4STA.clearFERR; inline;
  32261. begin
  32262. pTDefRegMap(@Self)^.clr := $00000004;
  32263. end;
  32264. procedure TUART1B_U4STA.setFERR(thebits : TBits_1); inline;
  32265. begin
  32266. if thebits = 0 then
  32267. pTDefRegMap(@Self)^.clr := $00000004
  32268. else
  32269. pTDefRegMap(@Self)^.&set := $00000004;
  32270. end;
  32271. function TUART1B_U4STA.getFERR : TBits_1; inline;
  32272. begin
  32273. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32274. end;
  32275. procedure TUART1B_U4STA.setPERR; inline;
  32276. begin
  32277. pTDefRegMap(@Self)^.&set := $00000008;
  32278. end;
  32279. procedure TUART1B_U4STA.clearPERR; inline;
  32280. begin
  32281. pTDefRegMap(@Self)^.clr := $00000008;
  32282. end;
  32283. procedure TUART1B_U4STA.setPERR(thebits : TBits_1); inline;
  32284. begin
  32285. if thebits = 0 then
  32286. pTDefRegMap(@Self)^.clr := $00000008
  32287. else
  32288. pTDefRegMap(@Self)^.&set := $00000008;
  32289. end;
  32290. function TUART1B_U4STA.getPERR : TBits_1; inline;
  32291. begin
  32292. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32293. end;
  32294. procedure TUART1B_U4STA.setRIDLE; inline;
  32295. begin
  32296. pTDefRegMap(@Self)^.&set := $00000010;
  32297. end;
  32298. procedure TUART1B_U4STA.clearRIDLE; inline;
  32299. begin
  32300. pTDefRegMap(@Self)^.clr := $00000010;
  32301. end;
  32302. procedure TUART1B_U4STA.setRIDLE(thebits : TBits_1); inline;
  32303. begin
  32304. if thebits = 0 then
  32305. pTDefRegMap(@Self)^.clr := $00000010
  32306. else
  32307. pTDefRegMap(@Self)^.&set := $00000010;
  32308. end;
  32309. function TUART1B_U4STA.getRIDLE : TBits_1; inline;
  32310. begin
  32311. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32312. end;
  32313. procedure TUART1B_U4STA.setADDEN; inline;
  32314. begin
  32315. pTDefRegMap(@Self)^.&set := $00000020;
  32316. end;
  32317. procedure TUART1B_U4STA.clearADDEN; inline;
  32318. begin
  32319. pTDefRegMap(@Self)^.clr := $00000020;
  32320. end;
  32321. procedure TUART1B_U4STA.setADDEN(thebits : TBits_1); inline;
  32322. begin
  32323. if thebits = 0 then
  32324. pTDefRegMap(@Self)^.clr := $00000020
  32325. else
  32326. pTDefRegMap(@Self)^.&set := $00000020;
  32327. end;
  32328. function TUART1B_U4STA.getADDEN : TBits_1; inline;
  32329. begin
  32330. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32331. end;
  32332. procedure TUART1B_U4STA.setURXISEL(thebits : TBits_2); inline;
  32333. begin
  32334. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32335. end;
  32336. function TUART1B_U4STA.getURXISEL : TBits_2; inline;
  32337. begin
  32338. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32339. end;
  32340. procedure TUART1B_U4STA.setTRMT; inline;
  32341. begin
  32342. pTDefRegMap(@Self)^.&set := $00000100;
  32343. end;
  32344. procedure TUART1B_U4STA.clearTRMT; inline;
  32345. begin
  32346. pTDefRegMap(@Self)^.clr := $00000100;
  32347. end;
  32348. procedure TUART1B_U4STA.setTRMT(thebits : TBits_1); inline;
  32349. begin
  32350. if thebits = 0 then
  32351. pTDefRegMap(@Self)^.clr := $00000100
  32352. else
  32353. pTDefRegMap(@Self)^.&set := $00000100;
  32354. end;
  32355. function TUART1B_U4STA.getTRMT : TBits_1; inline;
  32356. begin
  32357. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32358. end;
  32359. procedure TUART1B_U4STA.setUTXBF; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.&set := $00000200;
  32362. end;
  32363. procedure TUART1B_U4STA.clearUTXBF; inline;
  32364. begin
  32365. pTDefRegMap(@Self)^.clr := $00000200;
  32366. end;
  32367. procedure TUART1B_U4STA.setUTXBF(thebits : TBits_1); inline;
  32368. begin
  32369. if thebits = 0 then
  32370. pTDefRegMap(@Self)^.clr := $00000200
  32371. else
  32372. pTDefRegMap(@Self)^.&set := $00000200;
  32373. end;
  32374. function TUART1B_U4STA.getUTXBF : TBits_1; inline;
  32375. begin
  32376. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32377. end;
  32378. procedure TUART1B_U4STA.setUTXEN; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.&set := $00000400;
  32381. end;
  32382. procedure TUART1B_U4STA.clearUTXEN; inline;
  32383. begin
  32384. pTDefRegMap(@Self)^.clr := $00000400;
  32385. end;
  32386. procedure TUART1B_U4STA.setUTXEN(thebits : TBits_1); inline;
  32387. begin
  32388. if thebits = 0 then
  32389. pTDefRegMap(@Self)^.clr := $00000400
  32390. else
  32391. pTDefRegMap(@Self)^.&set := $00000400;
  32392. end;
  32393. function TUART1B_U4STA.getUTXEN : TBits_1; inline;
  32394. begin
  32395. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32396. end;
  32397. procedure TUART1B_U4STA.setUTXBRK; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.&set := $00000800;
  32400. end;
  32401. procedure TUART1B_U4STA.clearUTXBRK; inline;
  32402. begin
  32403. pTDefRegMap(@Self)^.clr := $00000800;
  32404. end;
  32405. procedure TUART1B_U4STA.setUTXBRK(thebits : TBits_1); inline;
  32406. begin
  32407. if thebits = 0 then
  32408. pTDefRegMap(@Self)^.clr := $00000800
  32409. else
  32410. pTDefRegMap(@Self)^.&set := $00000800;
  32411. end;
  32412. function TUART1B_U4STA.getUTXBRK : TBits_1; inline;
  32413. begin
  32414. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32415. end;
  32416. procedure TUART1B_U4STA.setURXEN; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.&set := $00001000;
  32419. end;
  32420. procedure TUART1B_U4STA.clearURXEN; inline;
  32421. begin
  32422. pTDefRegMap(@Self)^.clr := $00001000;
  32423. end;
  32424. procedure TUART1B_U4STA.setURXEN(thebits : TBits_1); inline;
  32425. begin
  32426. if thebits = 0 then
  32427. pTDefRegMap(@Self)^.clr := $00001000
  32428. else
  32429. pTDefRegMap(@Self)^.&set := $00001000;
  32430. end;
  32431. function TUART1B_U4STA.getURXEN : TBits_1; inline;
  32432. begin
  32433. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32434. end;
  32435. procedure TUART1B_U4STA.setUTXINV; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.&set := $00002000;
  32438. end;
  32439. procedure TUART1B_U4STA.clearUTXINV; inline;
  32440. begin
  32441. pTDefRegMap(@Self)^.clr := $00002000;
  32442. end;
  32443. procedure TUART1B_U4STA.setUTXINV(thebits : TBits_1); inline;
  32444. begin
  32445. if thebits = 0 then
  32446. pTDefRegMap(@Self)^.clr := $00002000
  32447. else
  32448. pTDefRegMap(@Self)^.&set := $00002000;
  32449. end;
  32450. function TUART1B_U4STA.getUTXINV : TBits_1; inline;
  32451. begin
  32452. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32453. end;
  32454. procedure TUART1B_U4STA.setUTXISEL(thebits : TBits_2); inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32457. end;
  32458. function TUART1B_U4STA.getUTXISEL : TBits_2; inline;
  32459. begin
  32460. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32461. end;
  32462. procedure TUART1B_U4STA.setADDR(thebits : TBits_8); inline;
  32463. begin
  32464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32465. end;
  32466. function TUART1B_U4STA.getADDR : TBits_8; inline;
  32467. begin
  32468. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32469. end;
  32470. procedure TUART1B_U4STA.setADM_EN; inline;
  32471. begin
  32472. pTDefRegMap(@Self)^.&set := $01000000;
  32473. end;
  32474. procedure TUART1B_U4STA.clearADM_EN; inline;
  32475. begin
  32476. pTDefRegMap(@Self)^.clr := $01000000;
  32477. end;
  32478. procedure TUART1B_U4STA.setADM_EN(thebits : TBits_1); inline;
  32479. begin
  32480. if thebits = 0 then
  32481. pTDefRegMap(@Self)^.clr := $01000000
  32482. else
  32483. pTDefRegMap(@Self)^.&set := $01000000;
  32484. end;
  32485. function TUART1B_U4STA.getADM_EN : TBits_1; inline;
  32486. begin
  32487. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32488. end;
  32489. procedure TUART1B_U4STA.setURXISEL0; inline;
  32490. begin
  32491. pTDefRegMap(@Self)^.&set := $00000040;
  32492. end;
  32493. procedure TUART1B_U4STA.clearURXISEL0; inline;
  32494. begin
  32495. pTDefRegMap(@Self)^.clr := $00000040;
  32496. end;
  32497. procedure TUART1B_U4STA.setURXISEL0(thebits : TBits_1); inline;
  32498. begin
  32499. if thebits = 0 then
  32500. pTDefRegMap(@Self)^.clr := $00000040
  32501. else
  32502. pTDefRegMap(@Self)^.&set := $00000040;
  32503. end;
  32504. function TUART1B_U4STA.getURXISEL0 : TBits_1; inline;
  32505. begin
  32506. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32507. end;
  32508. procedure TUART1B_U4STA.setURXISEL1; inline;
  32509. begin
  32510. pTDefRegMap(@Self)^.&set := $00000080;
  32511. end;
  32512. procedure TUART1B_U4STA.clearURXISEL1; inline;
  32513. begin
  32514. pTDefRegMap(@Self)^.clr := $00000080;
  32515. end;
  32516. procedure TUART1B_U4STA.setURXISEL1(thebits : TBits_1); inline;
  32517. begin
  32518. if thebits = 0 then
  32519. pTDefRegMap(@Self)^.clr := $00000080
  32520. else
  32521. pTDefRegMap(@Self)^.&set := $00000080;
  32522. end;
  32523. function TUART1B_U4STA.getURXISEL1 : TBits_1; inline;
  32524. begin
  32525. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32526. end;
  32527. procedure TUART1B_U4STA.setUTXISEL0; inline;
  32528. begin
  32529. pTDefRegMap(@Self)^.&set := $00004000;
  32530. end;
  32531. procedure TUART1B_U4STA.clearUTXISEL0; inline;
  32532. begin
  32533. pTDefRegMap(@Self)^.clr := $00004000;
  32534. end;
  32535. procedure TUART1B_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  32536. begin
  32537. if thebits = 0 then
  32538. pTDefRegMap(@Self)^.clr := $00004000
  32539. else
  32540. pTDefRegMap(@Self)^.&set := $00004000;
  32541. end;
  32542. function TUART1B_U4STA.getUTXISEL0 : TBits_1; inline;
  32543. begin
  32544. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32545. end;
  32546. procedure TUART1B_U4STA.setUTXISEL1; inline;
  32547. begin
  32548. pTDefRegMap(@Self)^.&set := $00008000;
  32549. end;
  32550. procedure TUART1B_U4STA.clearUTXISEL1; inline;
  32551. begin
  32552. pTDefRegMap(@Self)^.clr := $00008000;
  32553. end;
  32554. procedure TUART1B_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  32555. begin
  32556. if thebits = 0 then
  32557. pTDefRegMap(@Self)^.clr := $00008000
  32558. else
  32559. pTDefRegMap(@Self)^.&set := $00008000;
  32560. end;
  32561. function TUART1B_U4STA.getUTXISEL1 : TBits_1; inline;
  32562. begin
  32563. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32564. end;
  32565. procedure TUART1B_U4STA.setUTXSEL(thebits : TBits_2); inline;
  32566. begin
  32567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32568. end;
  32569. function TUART1B_U4STA.getUTXSEL : TBits_2; inline;
  32570. begin
  32571. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32572. end;
  32573. procedure TUART1B_U4STA.setw(thebits : TBits_32); inline;
  32574. begin
  32575. pTDefRegMap(@Self)^.val := thebits;
  32576. end;
  32577. function TUART1B_U4STA.getw : TBits_32; inline;
  32578. begin
  32579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32580. end;
  32581. procedure TUART2A_U2AMODE.setSTSEL; inline;
  32582. begin
  32583. pTDefRegMap(@Self)^.&set := $00000001;
  32584. end;
  32585. procedure TUART2A_U2AMODE.clearSTSEL; inline;
  32586. begin
  32587. pTDefRegMap(@Self)^.clr := $00000001;
  32588. end;
  32589. procedure TUART2A_U2AMODE.setSTSEL(thebits : TBits_1); inline;
  32590. begin
  32591. if thebits = 0 then
  32592. pTDefRegMap(@Self)^.clr := $00000001
  32593. else
  32594. pTDefRegMap(@Self)^.&set := $00000001;
  32595. end;
  32596. function TUART2A_U2AMODE.getSTSEL : TBits_1; inline;
  32597. begin
  32598. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32599. end;
  32600. procedure TUART2A_U2AMODE.setPDSEL(thebits : TBits_2); inline;
  32601. begin
  32602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  32603. end;
  32604. function TUART2A_U2AMODE.getPDSEL : TBits_2; inline;
  32605. begin
  32606. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  32607. end;
  32608. procedure TUART2A_U2AMODE.setBRGH; inline;
  32609. begin
  32610. pTDefRegMap(@Self)^.&set := $00000008;
  32611. end;
  32612. procedure TUART2A_U2AMODE.clearBRGH; inline;
  32613. begin
  32614. pTDefRegMap(@Self)^.clr := $00000008;
  32615. end;
  32616. procedure TUART2A_U2AMODE.setBRGH(thebits : TBits_1); inline;
  32617. begin
  32618. if thebits = 0 then
  32619. pTDefRegMap(@Self)^.clr := $00000008
  32620. else
  32621. pTDefRegMap(@Self)^.&set := $00000008;
  32622. end;
  32623. function TUART2A_U2AMODE.getBRGH : TBits_1; inline;
  32624. begin
  32625. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32626. end;
  32627. procedure TUART2A_U2AMODE.setRXINV; inline;
  32628. begin
  32629. pTDefRegMap(@Self)^.&set := $00000010;
  32630. end;
  32631. procedure TUART2A_U2AMODE.clearRXINV; inline;
  32632. begin
  32633. pTDefRegMap(@Self)^.clr := $00000010;
  32634. end;
  32635. procedure TUART2A_U2AMODE.setRXINV(thebits : TBits_1); inline;
  32636. begin
  32637. if thebits = 0 then
  32638. pTDefRegMap(@Self)^.clr := $00000010
  32639. else
  32640. pTDefRegMap(@Self)^.&set := $00000010;
  32641. end;
  32642. function TUART2A_U2AMODE.getRXINV : TBits_1; inline;
  32643. begin
  32644. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32645. end;
  32646. procedure TUART2A_U2AMODE.setABAUD; inline;
  32647. begin
  32648. pTDefRegMap(@Self)^.&set := $00000020;
  32649. end;
  32650. procedure TUART2A_U2AMODE.clearABAUD; inline;
  32651. begin
  32652. pTDefRegMap(@Self)^.clr := $00000020;
  32653. end;
  32654. procedure TUART2A_U2AMODE.setABAUD(thebits : TBits_1); inline;
  32655. begin
  32656. if thebits = 0 then
  32657. pTDefRegMap(@Self)^.clr := $00000020
  32658. else
  32659. pTDefRegMap(@Self)^.&set := $00000020;
  32660. end;
  32661. function TUART2A_U2AMODE.getABAUD : TBits_1; inline;
  32662. begin
  32663. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32664. end;
  32665. procedure TUART2A_U2AMODE.setLPBACK; inline;
  32666. begin
  32667. pTDefRegMap(@Self)^.&set := $00000040;
  32668. end;
  32669. procedure TUART2A_U2AMODE.clearLPBACK; inline;
  32670. begin
  32671. pTDefRegMap(@Self)^.clr := $00000040;
  32672. end;
  32673. procedure TUART2A_U2AMODE.setLPBACK(thebits : TBits_1); inline;
  32674. begin
  32675. if thebits = 0 then
  32676. pTDefRegMap(@Self)^.clr := $00000040
  32677. else
  32678. pTDefRegMap(@Self)^.&set := $00000040;
  32679. end;
  32680. function TUART2A_U2AMODE.getLPBACK : TBits_1; inline;
  32681. begin
  32682. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32683. end;
  32684. procedure TUART2A_U2AMODE.setWAKE; inline;
  32685. begin
  32686. pTDefRegMap(@Self)^.&set := $00000080;
  32687. end;
  32688. procedure TUART2A_U2AMODE.clearWAKE; inline;
  32689. begin
  32690. pTDefRegMap(@Self)^.clr := $00000080;
  32691. end;
  32692. procedure TUART2A_U2AMODE.setWAKE(thebits : TBits_1); inline;
  32693. begin
  32694. if thebits = 0 then
  32695. pTDefRegMap(@Self)^.clr := $00000080
  32696. else
  32697. pTDefRegMap(@Self)^.&set := $00000080;
  32698. end;
  32699. function TUART2A_U2AMODE.getWAKE : TBits_1; inline;
  32700. begin
  32701. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32702. end;
  32703. procedure TUART2A_U2AMODE.setUEN(thebits : TBits_2); inline;
  32704. begin
  32705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32706. end;
  32707. function TUART2A_U2AMODE.getUEN : TBits_2; inline;
  32708. begin
  32709. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32710. end;
  32711. procedure TUART2A_U2AMODE.setRTSMD; inline;
  32712. begin
  32713. pTDefRegMap(@Self)^.&set := $00000800;
  32714. end;
  32715. procedure TUART2A_U2AMODE.clearRTSMD; inline;
  32716. begin
  32717. pTDefRegMap(@Self)^.clr := $00000800;
  32718. end;
  32719. procedure TUART2A_U2AMODE.setRTSMD(thebits : TBits_1); inline;
  32720. begin
  32721. if thebits = 0 then
  32722. pTDefRegMap(@Self)^.clr := $00000800
  32723. else
  32724. pTDefRegMap(@Self)^.&set := $00000800;
  32725. end;
  32726. function TUART2A_U2AMODE.getRTSMD : TBits_1; inline;
  32727. begin
  32728. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32729. end;
  32730. procedure TUART2A_U2AMODE.setIREN; inline;
  32731. begin
  32732. pTDefRegMap(@Self)^.&set := $00001000;
  32733. end;
  32734. procedure TUART2A_U2AMODE.clearIREN; inline;
  32735. begin
  32736. pTDefRegMap(@Self)^.clr := $00001000;
  32737. end;
  32738. procedure TUART2A_U2AMODE.setIREN(thebits : TBits_1); inline;
  32739. begin
  32740. if thebits = 0 then
  32741. pTDefRegMap(@Self)^.clr := $00001000
  32742. else
  32743. pTDefRegMap(@Self)^.&set := $00001000;
  32744. end;
  32745. function TUART2A_U2AMODE.getIREN : TBits_1; inline;
  32746. begin
  32747. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32748. end;
  32749. procedure TUART2A_U2AMODE.setSIDL; inline;
  32750. begin
  32751. pTDefRegMap(@Self)^.&set := $00002000;
  32752. end;
  32753. procedure TUART2A_U2AMODE.clearSIDL; inline;
  32754. begin
  32755. pTDefRegMap(@Self)^.clr := $00002000;
  32756. end;
  32757. procedure TUART2A_U2AMODE.setSIDL(thebits : TBits_1); inline;
  32758. begin
  32759. if thebits = 0 then
  32760. pTDefRegMap(@Self)^.clr := $00002000
  32761. else
  32762. pTDefRegMap(@Self)^.&set := $00002000;
  32763. end;
  32764. function TUART2A_U2AMODE.getSIDL : TBits_1; inline;
  32765. begin
  32766. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32767. end;
  32768. procedure TUART2A_U2AMODE.setON; inline;
  32769. begin
  32770. pTDefRegMap(@Self)^.&set := $00008000;
  32771. end;
  32772. procedure TUART2A_U2AMODE.clearON; inline;
  32773. begin
  32774. pTDefRegMap(@Self)^.clr := $00008000;
  32775. end;
  32776. procedure TUART2A_U2AMODE.setON(thebits : TBits_1); inline;
  32777. begin
  32778. if thebits = 0 then
  32779. pTDefRegMap(@Self)^.clr := $00008000
  32780. else
  32781. pTDefRegMap(@Self)^.&set := $00008000;
  32782. end;
  32783. function TUART2A_U2AMODE.getON : TBits_1; inline;
  32784. begin
  32785. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32786. end;
  32787. procedure TUART2A_U2AMODE.setPDSEL0; inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.&set := $00000002;
  32790. end;
  32791. procedure TUART2A_U2AMODE.clearPDSEL0; inline;
  32792. begin
  32793. pTDefRegMap(@Self)^.clr := $00000002;
  32794. end;
  32795. procedure TUART2A_U2AMODE.setPDSEL0(thebits : TBits_1); inline;
  32796. begin
  32797. if thebits = 0 then
  32798. pTDefRegMap(@Self)^.clr := $00000002
  32799. else
  32800. pTDefRegMap(@Self)^.&set := $00000002;
  32801. end;
  32802. function TUART2A_U2AMODE.getPDSEL0 : TBits_1; inline;
  32803. begin
  32804. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32805. end;
  32806. procedure TUART2A_U2AMODE.setPDSEL1; inline;
  32807. begin
  32808. pTDefRegMap(@Self)^.&set := $00000004;
  32809. end;
  32810. procedure TUART2A_U2AMODE.clearPDSEL1; inline;
  32811. begin
  32812. pTDefRegMap(@Self)^.clr := $00000004;
  32813. end;
  32814. procedure TUART2A_U2AMODE.setPDSEL1(thebits : TBits_1); inline;
  32815. begin
  32816. if thebits = 0 then
  32817. pTDefRegMap(@Self)^.clr := $00000004
  32818. else
  32819. pTDefRegMap(@Self)^.&set := $00000004;
  32820. end;
  32821. function TUART2A_U2AMODE.getPDSEL1 : TBits_1; inline;
  32822. begin
  32823. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32824. end;
  32825. procedure TUART2A_U2AMODE.setUEN0; inline;
  32826. begin
  32827. pTDefRegMap(@Self)^.&set := $00000100;
  32828. end;
  32829. procedure TUART2A_U2AMODE.clearUEN0; inline;
  32830. begin
  32831. pTDefRegMap(@Self)^.clr := $00000100;
  32832. end;
  32833. procedure TUART2A_U2AMODE.setUEN0(thebits : TBits_1); inline;
  32834. begin
  32835. if thebits = 0 then
  32836. pTDefRegMap(@Self)^.clr := $00000100
  32837. else
  32838. pTDefRegMap(@Self)^.&set := $00000100;
  32839. end;
  32840. function TUART2A_U2AMODE.getUEN0 : TBits_1; inline;
  32841. begin
  32842. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32843. end;
  32844. procedure TUART2A_U2AMODE.setUEN1; inline;
  32845. begin
  32846. pTDefRegMap(@Self)^.&set := $00000200;
  32847. end;
  32848. procedure TUART2A_U2AMODE.clearUEN1; inline;
  32849. begin
  32850. pTDefRegMap(@Self)^.clr := $00000200;
  32851. end;
  32852. procedure TUART2A_U2AMODE.setUEN1(thebits : TBits_1); inline;
  32853. begin
  32854. if thebits = 0 then
  32855. pTDefRegMap(@Self)^.clr := $00000200
  32856. else
  32857. pTDefRegMap(@Self)^.&set := $00000200;
  32858. end;
  32859. function TUART2A_U2AMODE.getUEN1 : TBits_1; inline;
  32860. begin
  32861. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32862. end;
  32863. procedure TUART2A_U2AMODE.setUSIDL; inline;
  32864. begin
  32865. pTDefRegMap(@Self)^.&set := $00002000;
  32866. end;
  32867. procedure TUART2A_U2AMODE.clearUSIDL; inline;
  32868. begin
  32869. pTDefRegMap(@Self)^.clr := $00002000;
  32870. end;
  32871. procedure TUART2A_U2AMODE.setUSIDL(thebits : TBits_1); inline;
  32872. begin
  32873. if thebits = 0 then
  32874. pTDefRegMap(@Self)^.clr := $00002000
  32875. else
  32876. pTDefRegMap(@Self)^.&set := $00002000;
  32877. end;
  32878. function TUART2A_U2AMODE.getUSIDL : TBits_1; inline;
  32879. begin
  32880. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32881. end;
  32882. procedure TUART2A_U2AMODE.setUARTEN; inline;
  32883. begin
  32884. pTDefRegMap(@Self)^.&set := $00008000;
  32885. end;
  32886. procedure TUART2A_U2AMODE.clearUARTEN; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.clr := $00008000;
  32889. end;
  32890. procedure TUART2A_U2AMODE.setUARTEN(thebits : TBits_1); inline;
  32891. begin
  32892. if thebits = 0 then
  32893. pTDefRegMap(@Self)^.clr := $00008000
  32894. else
  32895. pTDefRegMap(@Self)^.&set := $00008000;
  32896. end;
  32897. function TUART2A_U2AMODE.getUARTEN : TBits_1; inline;
  32898. begin
  32899. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32900. end;
  32901. procedure TUART2A_U2AMODE.setw(thebits : TBits_32); inline;
  32902. begin
  32903. pTDefRegMap(@Self)^.val := thebits;
  32904. end;
  32905. function TUART2A_U2AMODE.getw : TBits_32; inline;
  32906. begin
  32907. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32908. end;
  32909. procedure TUART2A_U3MODE.setSTSEL; inline;
  32910. begin
  32911. pTDefRegMap(@Self)^.&set := $00000001;
  32912. end;
  32913. procedure TUART2A_U3MODE.clearSTSEL; inline;
  32914. begin
  32915. pTDefRegMap(@Self)^.clr := $00000001;
  32916. end;
  32917. procedure TUART2A_U3MODE.setSTSEL(thebits : TBits_1); inline;
  32918. begin
  32919. if thebits = 0 then
  32920. pTDefRegMap(@Self)^.clr := $00000001
  32921. else
  32922. pTDefRegMap(@Self)^.&set := $00000001;
  32923. end;
  32924. function TUART2A_U3MODE.getSTSEL : TBits_1; inline;
  32925. begin
  32926. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32927. end;
  32928. procedure TUART2A_U3MODE.setPDSEL(thebits : TBits_2); inline;
  32929. begin
  32930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  32931. end;
  32932. function TUART2A_U3MODE.getPDSEL : TBits_2; inline;
  32933. begin
  32934. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  32935. end;
  32936. procedure TUART2A_U3MODE.setBRGH; inline;
  32937. begin
  32938. pTDefRegMap(@Self)^.&set := $00000008;
  32939. end;
  32940. procedure TUART2A_U3MODE.clearBRGH; inline;
  32941. begin
  32942. pTDefRegMap(@Self)^.clr := $00000008;
  32943. end;
  32944. procedure TUART2A_U3MODE.setBRGH(thebits : TBits_1); inline;
  32945. begin
  32946. if thebits = 0 then
  32947. pTDefRegMap(@Self)^.clr := $00000008
  32948. else
  32949. pTDefRegMap(@Self)^.&set := $00000008;
  32950. end;
  32951. function TUART2A_U3MODE.getBRGH : TBits_1; inline;
  32952. begin
  32953. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32954. end;
  32955. procedure TUART2A_U3MODE.setRXINV; inline;
  32956. begin
  32957. pTDefRegMap(@Self)^.&set := $00000010;
  32958. end;
  32959. procedure TUART2A_U3MODE.clearRXINV; inline;
  32960. begin
  32961. pTDefRegMap(@Self)^.clr := $00000010;
  32962. end;
  32963. procedure TUART2A_U3MODE.setRXINV(thebits : TBits_1); inline;
  32964. begin
  32965. if thebits = 0 then
  32966. pTDefRegMap(@Self)^.clr := $00000010
  32967. else
  32968. pTDefRegMap(@Self)^.&set := $00000010;
  32969. end;
  32970. function TUART2A_U3MODE.getRXINV : TBits_1; inline;
  32971. begin
  32972. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32973. end;
  32974. procedure TUART2A_U3MODE.setABAUD; inline;
  32975. begin
  32976. pTDefRegMap(@Self)^.&set := $00000020;
  32977. end;
  32978. procedure TUART2A_U3MODE.clearABAUD; inline;
  32979. begin
  32980. pTDefRegMap(@Self)^.clr := $00000020;
  32981. end;
  32982. procedure TUART2A_U3MODE.setABAUD(thebits : TBits_1); inline;
  32983. begin
  32984. if thebits = 0 then
  32985. pTDefRegMap(@Self)^.clr := $00000020
  32986. else
  32987. pTDefRegMap(@Self)^.&set := $00000020;
  32988. end;
  32989. function TUART2A_U3MODE.getABAUD : TBits_1; inline;
  32990. begin
  32991. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32992. end;
  32993. procedure TUART2A_U3MODE.setLPBACK; inline;
  32994. begin
  32995. pTDefRegMap(@Self)^.&set := $00000040;
  32996. end;
  32997. procedure TUART2A_U3MODE.clearLPBACK; inline;
  32998. begin
  32999. pTDefRegMap(@Self)^.clr := $00000040;
  33000. end;
  33001. procedure TUART2A_U3MODE.setLPBACK(thebits : TBits_1); inline;
  33002. begin
  33003. if thebits = 0 then
  33004. pTDefRegMap(@Self)^.clr := $00000040
  33005. else
  33006. pTDefRegMap(@Self)^.&set := $00000040;
  33007. end;
  33008. function TUART2A_U3MODE.getLPBACK : TBits_1; inline;
  33009. begin
  33010. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33011. end;
  33012. procedure TUART2A_U3MODE.setWAKE; inline;
  33013. begin
  33014. pTDefRegMap(@Self)^.&set := $00000080;
  33015. end;
  33016. procedure TUART2A_U3MODE.clearWAKE; inline;
  33017. begin
  33018. pTDefRegMap(@Self)^.clr := $00000080;
  33019. end;
  33020. procedure TUART2A_U3MODE.setWAKE(thebits : TBits_1); inline;
  33021. begin
  33022. if thebits = 0 then
  33023. pTDefRegMap(@Self)^.clr := $00000080
  33024. else
  33025. pTDefRegMap(@Self)^.&set := $00000080;
  33026. end;
  33027. function TUART2A_U3MODE.getWAKE : TBits_1; inline;
  33028. begin
  33029. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33030. end;
  33031. procedure TUART2A_U3MODE.setUEN(thebits : TBits_2); inline;
  33032. begin
  33033. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  33034. end;
  33035. function TUART2A_U3MODE.getUEN : TBits_2; inline;
  33036. begin
  33037. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  33038. end;
  33039. procedure TUART2A_U3MODE.setRTSMD; inline;
  33040. begin
  33041. pTDefRegMap(@Self)^.&set := $00000800;
  33042. end;
  33043. procedure TUART2A_U3MODE.clearRTSMD; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.clr := $00000800;
  33046. end;
  33047. procedure TUART2A_U3MODE.setRTSMD(thebits : TBits_1); inline;
  33048. begin
  33049. if thebits = 0 then
  33050. pTDefRegMap(@Self)^.clr := $00000800
  33051. else
  33052. pTDefRegMap(@Self)^.&set := $00000800;
  33053. end;
  33054. function TUART2A_U3MODE.getRTSMD : TBits_1; inline;
  33055. begin
  33056. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33057. end;
  33058. procedure TUART2A_U3MODE.setIREN; inline;
  33059. begin
  33060. pTDefRegMap(@Self)^.&set := $00001000;
  33061. end;
  33062. procedure TUART2A_U3MODE.clearIREN; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.clr := $00001000;
  33065. end;
  33066. procedure TUART2A_U3MODE.setIREN(thebits : TBits_1); inline;
  33067. begin
  33068. if thebits = 0 then
  33069. pTDefRegMap(@Self)^.clr := $00001000
  33070. else
  33071. pTDefRegMap(@Self)^.&set := $00001000;
  33072. end;
  33073. function TUART2A_U3MODE.getIREN : TBits_1; inline;
  33074. begin
  33075. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33076. end;
  33077. procedure TUART2A_U3MODE.setSIDL; inline;
  33078. begin
  33079. pTDefRegMap(@Self)^.&set := $00002000;
  33080. end;
  33081. procedure TUART2A_U3MODE.clearSIDL; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.clr := $00002000;
  33084. end;
  33085. procedure TUART2A_U3MODE.setSIDL(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 TUART2A_U3MODE.getSIDL : TBits_1; inline;
  33093. begin
  33094. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33095. end;
  33096. procedure TUART2A_U3MODE.setON; inline;
  33097. begin
  33098. pTDefRegMap(@Self)^.&set := $00008000;
  33099. end;
  33100. procedure TUART2A_U3MODE.clearON; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.clr := $00008000;
  33103. end;
  33104. procedure TUART2A_U3MODE.setON(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 TUART2A_U3MODE.getON : TBits_1; inline;
  33112. begin
  33113. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33114. end;
  33115. procedure TUART2A_U3MODE.setPDSEL0; inline;
  33116. begin
  33117. pTDefRegMap(@Self)^.&set := $00000002;
  33118. end;
  33119. procedure TUART2A_U3MODE.clearPDSEL0; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.clr := $00000002;
  33122. end;
  33123. procedure TUART2A_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  33124. begin
  33125. if thebits = 0 then
  33126. pTDefRegMap(@Self)^.clr := $00000002
  33127. else
  33128. pTDefRegMap(@Self)^.&set := $00000002;
  33129. end;
  33130. function TUART2A_U3MODE.getPDSEL0 : TBits_1; inline;
  33131. begin
  33132. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33133. end;
  33134. procedure TUART2A_U3MODE.setPDSEL1; inline;
  33135. begin
  33136. pTDefRegMap(@Self)^.&set := $00000004;
  33137. end;
  33138. procedure TUART2A_U3MODE.clearPDSEL1; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.clr := $00000004;
  33141. end;
  33142. procedure TUART2A_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  33143. begin
  33144. if thebits = 0 then
  33145. pTDefRegMap(@Self)^.clr := $00000004
  33146. else
  33147. pTDefRegMap(@Self)^.&set := $00000004;
  33148. end;
  33149. function TUART2A_U3MODE.getPDSEL1 : TBits_1; inline;
  33150. begin
  33151. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33152. end;
  33153. procedure TUART2A_U3MODE.setUEN0; inline;
  33154. begin
  33155. pTDefRegMap(@Self)^.&set := $00000100;
  33156. end;
  33157. procedure TUART2A_U3MODE.clearUEN0; inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.clr := $00000100;
  33160. end;
  33161. procedure TUART2A_U3MODE.setUEN0(thebits : TBits_1); inline;
  33162. begin
  33163. if thebits = 0 then
  33164. pTDefRegMap(@Self)^.clr := $00000100
  33165. else
  33166. pTDefRegMap(@Self)^.&set := $00000100;
  33167. end;
  33168. function TUART2A_U3MODE.getUEN0 : TBits_1; inline;
  33169. begin
  33170. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33171. end;
  33172. procedure TUART2A_U3MODE.setUEN1; inline;
  33173. begin
  33174. pTDefRegMap(@Self)^.&set := $00000200;
  33175. end;
  33176. procedure TUART2A_U3MODE.clearUEN1; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.clr := $00000200;
  33179. end;
  33180. procedure TUART2A_U3MODE.setUEN1(thebits : TBits_1); inline;
  33181. begin
  33182. if thebits = 0 then
  33183. pTDefRegMap(@Self)^.clr := $00000200
  33184. else
  33185. pTDefRegMap(@Self)^.&set := $00000200;
  33186. end;
  33187. function TUART2A_U3MODE.getUEN1 : TBits_1; inline;
  33188. begin
  33189. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33190. end;
  33191. procedure TUART2A_U3MODE.setUSIDL; inline;
  33192. begin
  33193. pTDefRegMap(@Self)^.&set := $00002000;
  33194. end;
  33195. procedure TUART2A_U3MODE.clearUSIDL; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.clr := $00002000;
  33198. end;
  33199. procedure TUART2A_U3MODE.setUSIDL(thebits : TBits_1); inline;
  33200. begin
  33201. if thebits = 0 then
  33202. pTDefRegMap(@Self)^.clr := $00002000
  33203. else
  33204. pTDefRegMap(@Self)^.&set := $00002000;
  33205. end;
  33206. function TUART2A_U3MODE.getUSIDL : TBits_1; inline;
  33207. begin
  33208. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33209. end;
  33210. procedure TUART2A_U3MODE.setUARTEN; inline;
  33211. begin
  33212. pTDefRegMap(@Self)^.&set := $00008000;
  33213. end;
  33214. procedure TUART2A_U3MODE.clearUARTEN; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.clr := $00008000;
  33217. end;
  33218. procedure TUART2A_U3MODE.setUARTEN(thebits : TBits_1); inline;
  33219. begin
  33220. if thebits = 0 then
  33221. pTDefRegMap(@Self)^.clr := $00008000
  33222. else
  33223. pTDefRegMap(@Self)^.&set := $00008000;
  33224. end;
  33225. function TUART2A_U3MODE.getUARTEN : TBits_1; inline;
  33226. begin
  33227. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33228. end;
  33229. procedure TUART2A_U3MODE.setw(thebits : TBits_32); inline;
  33230. begin
  33231. pTDefRegMap(@Self)^.val := thebits;
  33232. end;
  33233. function TUART2A_U3MODE.getw : TBits_32; inline;
  33234. begin
  33235. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33236. end;
  33237. procedure TUART2A_U2ASTA.setURXDA; inline;
  33238. begin
  33239. pTDefRegMap(@Self)^.&set := $00000001;
  33240. end;
  33241. procedure TUART2A_U2ASTA.clearURXDA; inline;
  33242. begin
  33243. pTDefRegMap(@Self)^.clr := $00000001;
  33244. end;
  33245. procedure TUART2A_U2ASTA.setURXDA(thebits : TBits_1); inline;
  33246. begin
  33247. if thebits = 0 then
  33248. pTDefRegMap(@Self)^.clr := $00000001
  33249. else
  33250. pTDefRegMap(@Self)^.&set := $00000001;
  33251. end;
  33252. function TUART2A_U2ASTA.getURXDA : TBits_1; inline;
  33253. begin
  33254. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33255. end;
  33256. procedure TUART2A_U2ASTA.setOERR; inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.&set := $00000002;
  33259. end;
  33260. procedure TUART2A_U2ASTA.clearOERR; inline;
  33261. begin
  33262. pTDefRegMap(@Self)^.clr := $00000002;
  33263. end;
  33264. procedure TUART2A_U2ASTA.setOERR(thebits : TBits_1); inline;
  33265. begin
  33266. if thebits = 0 then
  33267. pTDefRegMap(@Self)^.clr := $00000002
  33268. else
  33269. pTDefRegMap(@Self)^.&set := $00000002;
  33270. end;
  33271. function TUART2A_U2ASTA.getOERR : TBits_1; inline;
  33272. begin
  33273. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33274. end;
  33275. procedure TUART2A_U2ASTA.setFERR; inline;
  33276. begin
  33277. pTDefRegMap(@Self)^.&set := $00000004;
  33278. end;
  33279. procedure TUART2A_U2ASTA.clearFERR; inline;
  33280. begin
  33281. pTDefRegMap(@Self)^.clr := $00000004;
  33282. end;
  33283. procedure TUART2A_U2ASTA.setFERR(thebits : TBits_1); inline;
  33284. begin
  33285. if thebits = 0 then
  33286. pTDefRegMap(@Self)^.clr := $00000004
  33287. else
  33288. pTDefRegMap(@Self)^.&set := $00000004;
  33289. end;
  33290. function TUART2A_U2ASTA.getFERR : TBits_1; inline;
  33291. begin
  33292. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33293. end;
  33294. procedure TUART2A_U2ASTA.setPERR; inline;
  33295. begin
  33296. pTDefRegMap(@Self)^.&set := $00000008;
  33297. end;
  33298. procedure TUART2A_U2ASTA.clearPERR; inline;
  33299. begin
  33300. pTDefRegMap(@Self)^.clr := $00000008;
  33301. end;
  33302. procedure TUART2A_U2ASTA.setPERR(thebits : TBits_1); inline;
  33303. begin
  33304. if thebits = 0 then
  33305. pTDefRegMap(@Self)^.clr := $00000008
  33306. else
  33307. pTDefRegMap(@Self)^.&set := $00000008;
  33308. end;
  33309. function TUART2A_U2ASTA.getPERR : TBits_1; inline;
  33310. begin
  33311. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33312. end;
  33313. procedure TUART2A_U2ASTA.setRIDLE; inline;
  33314. begin
  33315. pTDefRegMap(@Self)^.&set := $00000010;
  33316. end;
  33317. procedure TUART2A_U2ASTA.clearRIDLE; inline;
  33318. begin
  33319. pTDefRegMap(@Self)^.clr := $00000010;
  33320. end;
  33321. procedure TUART2A_U2ASTA.setRIDLE(thebits : TBits_1); inline;
  33322. begin
  33323. if thebits = 0 then
  33324. pTDefRegMap(@Self)^.clr := $00000010
  33325. else
  33326. pTDefRegMap(@Self)^.&set := $00000010;
  33327. end;
  33328. function TUART2A_U2ASTA.getRIDLE : TBits_1; inline;
  33329. begin
  33330. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33331. end;
  33332. procedure TUART2A_U2ASTA.setADDEN; inline;
  33333. begin
  33334. pTDefRegMap(@Self)^.&set := $00000020;
  33335. end;
  33336. procedure TUART2A_U2ASTA.clearADDEN; inline;
  33337. begin
  33338. pTDefRegMap(@Self)^.clr := $00000020;
  33339. end;
  33340. procedure TUART2A_U2ASTA.setADDEN(thebits : TBits_1); inline;
  33341. begin
  33342. if thebits = 0 then
  33343. pTDefRegMap(@Self)^.clr := $00000020
  33344. else
  33345. pTDefRegMap(@Self)^.&set := $00000020;
  33346. end;
  33347. function TUART2A_U2ASTA.getADDEN : TBits_1; inline;
  33348. begin
  33349. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33350. end;
  33351. procedure TUART2A_U2ASTA.setURXISEL(thebits : TBits_2); inline;
  33352. begin
  33353. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33354. end;
  33355. function TUART2A_U2ASTA.getURXISEL : TBits_2; inline;
  33356. begin
  33357. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33358. end;
  33359. procedure TUART2A_U2ASTA.setTRMT; inline;
  33360. begin
  33361. pTDefRegMap(@Self)^.&set := $00000100;
  33362. end;
  33363. procedure TUART2A_U2ASTA.clearTRMT; inline;
  33364. begin
  33365. pTDefRegMap(@Self)^.clr := $00000100;
  33366. end;
  33367. procedure TUART2A_U2ASTA.setTRMT(thebits : TBits_1); inline;
  33368. begin
  33369. if thebits = 0 then
  33370. pTDefRegMap(@Self)^.clr := $00000100
  33371. else
  33372. pTDefRegMap(@Self)^.&set := $00000100;
  33373. end;
  33374. function TUART2A_U2ASTA.getTRMT : TBits_1; inline;
  33375. begin
  33376. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33377. end;
  33378. procedure TUART2A_U2ASTA.setUTXBF; inline;
  33379. begin
  33380. pTDefRegMap(@Self)^.&set := $00000200;
  33381. end;
  33382. procedure TUART2A_U2ASTA.clearUTXBF; inline;
  33383. begin
  33384. pTDefRegMap(@Self)^.clr := $00000200;
  33385. end;
  33386. procedure TUART2A_U2ASTA.setUTXBF(thebits : TBits_1); inline;
  33387. begin
  33388. if thebits = 0 then
  33389. pTDefRegMap(@Self)^.clr := $00000200
  33390. else
  33391. pTDefRegMap(@Self)^.&set := $00000200;
  33392. end;
  33393. function TUART2A_U2ASTA.getUTXBF : TBits_1; inline;
  33394. begin
  33395. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33396. end;
  33397. procedure TUART2A_U2ASTA.setUTXEN; inline;
  33398. begin
  33399. pTDefRegMap(@Self)^.&set := $00000400;
  33400. end;
  33401. procedure TUART2A_U2ASTA.clearUTXEN; inline;
  33402. begin
  33403. pTDefRegMap(@Self)^.clr := $00000400;
  33404. end;
  33405. procedure TUART2A_U2ASTA.setUTXEN(thebits : TBits_1); inline;
  33406. begin
  33407. if thebits = 0 then
  33408. pTDefRegMap(@Self)^.clr := $00000400
  33409. else
  33410. pTDefRegMap(@Self)^.&set := $00000400;
  33411. end;
  33412. function TUART2A_U2ASTA.getUTXEN : TBits_1; inline;
  33413. begin
  33414. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33415. end;
  33416. procedure TUART2A_U2ASTA.setUTXBRK; inline;
  33417. begin
  33418. pTDefRegMap(@Self)^.&set := $00000800;
  33419. end;
  33420. procedure TUART2A_U2ASTA.clearUTXBRK; inline;
  33421. begin
  33422. pTDefRegMap(@Self)^.clr := $00000800;
  33423. end;
  33424. procedure TUART2A_U2ASTA.setUTXBRK(thebits : TBits_1); inline;
  33425. begin
  33426. if thebits = 0 then
  33427. pTDefRegMap(@Self)^.clr := $00000800
  33428. else
  33429. pTDefRegMap(@Self)^.&set := $00000800;
  33430. end;
  33431. function TUART2A_U2ASTA.getUTXBRK : TBits_1; inline;
  33432. begin
  33433. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33434. end;
  33435. procedure TUART2A_U2ASTA.setURXEN; inline;
  33436. begin
  33437. pTDefRegMap(@Self)^.&set := $00001000;
  33438. end;
  33439. procedure TUART2A_U2ASTA.clearURXEN; inline;
  33440. begin
  33441. pTDefRegMap(@Self)^.clr := $00001000;
  33442. end;
  33443. procedure TUART2A_U2ASTA.setURXEN(thebits : TBits_1); inline;
  33444. begin
  33445. if thebits = 0 then
  33446. pTDefRegMap(@Self)^.clr := $00001000
  33447. else
  33448. pTDefRegMap(@Self)^.&set := $00001000;
  33449. end;
  33450. function TUART2A_U2ASTA.getURXEN : TBits_1; inline;
  33451. begin
  33452. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33453. end;
  33454. procedure TUART2A_U2ASTA.setUTXINV; inline;
  33455. begin
  33456. pTDefRegMap(@Self)^.&set := $00002000;
  33457. end;
  33458. procedure TUART2A_U2ASTA.clearUTXINV; inline;
  33459. begin
  33460. pTDefRegMap(@Self)^.clr := $00002000;
  33461. end;
  33462. procedure TUART2A_U2ASTA.setUTXINV(thebits : TBits_1); inline;
  33463. begin
  33464. if thebits = 0 then
  33465. pTDefRegMap(@Self)^.clr := $00002000
  33466. else
  33467. pTDefRegMap(@Self)^.&set := $00002000;
  33468. end;
  33469. function TUART2A_U2ASTA.getUTXINV : TBits_1; inline;
  33470. begin
  33471. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33472. end;
  33473. procedure TUART2A_U2ASTA.setUTXISEL(thebits : TBits_2); inline;
  33474. begin
  33475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33476. end;
  33477. function TUART2A_U2ASTA.getUTXISEL : TBits_2; inline;
  33478. begin
  33479. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33480. end;
  33481. procedure TUART2A_U2ASTA.setADDR(thebits : TBits_8); inline;
  33482. begin
  33483. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33484. end;
  33485. function TUART2A_U2ASTA.getADDR : TBits_8; inline;
  33486. begin
  33487. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33488. end;
  33489. procedure TUART2A_U2ASTA.setADM_EN; inline;
  33490. begin
  33491. pTDefRegMap(@Self)^.&set := $01000000;
  33492. end;
  33493. procedure TUART2A_U2ASTA.clearADM_EN; inline;
  33494. begin
  33495. pTDefRegMap(@Self)^.clr := $01000000;
  33496. end;
  33497. procedure TUART2A_U2ASTA.setADM_EN(thebits : TBits_1); inline;
  33498. begin
  33499. if thebits = 0 then
  33500. pTDefRegMap(@Self)^.clr := $01000000
  33501. else
  33502. pTDefRegMap(@Self)^.&set := $01000000;
  33503. end;
  33504. function TUART2A_U2ASTA.getADM_EN : TBits_1; inline;
  33505. begin
  33506. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33507. end;
  33508. procedure TUART2A_U2ASTA.setURXISEL0; inline;
  33509. begin
  33510. pTDefRegMap(@Self)^.&set := $00000040;
  33511. end;
  33512. procedure TUART2A_U2ASTA.clearURXISEL0; inline;
  33513. begin
  33514. pTDefRegMap(@Self)^.clr := $00000040;
  33515. end;
  33516. procedure TUART2A_U2ASTA.setURXISEL0(thebits : TBits_1); inline;
  33517. begin
  33518. if thebits = 0 then
  33519. pTDefRegMap(@Self)^.clr := $00000040
  33520. else
  33521. pTDefRegMap(@Self)^.&set := $00000040;
  33522. end;
  33523. function TUART2A_U2ASTA.getURXISEL0 : TBits_1; inline;
  33524. begin
  33525. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33526. end;
  33527. procedure TUART2A_U2ASTA.setURXISEL1; inline;
  33528. begin
  33529. pTDefRegMap(@Self)^.&set := $00000080;
  33530. end;
  33531. procedure TUART2A_U2ASTA.clearURXISEL1; inline;
  33532. begin
  33533. pTDefRegMap(@Self)^.clr := $00000080;
  33534. end;
  33535. procedure TUART2A_U2ASTA.setURXISEL1(thebits : TBits_1); inline;
  33536. begin
  33537. if thebits = 0 then
  33538. pTDefRegMap(@Self)^.clr := $00000080
  33539. else
  33540. pTDefRegMap(@Self)^.&set := $00000080;
  33541. end;
  33542. function TUART2A_U2ASTA.getURXISEL1 : TBits_1; inline;
  33543. begin
  33544. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33545. end;
  33546. procedure TUART2A_U2ASTA.setUTXISEL0; inline;
  33547. begin
  33548. pTDefRegMap(@Self)^.&set := $00004000;
  33549. end;
  33550. procedure TUART2A_U2ASTA.clearUTXISEL0; inline;
  33551. begin
  33552. pTDefRegMap(@Self)^.clr := $00004000;
  33553. end;
  33554. procedure TUART2A_U2ASTA.setUTXISEL0(thebits : TBits_1); inline;
  33555. begin
  33556. if thebits = 0 then
  33557. pTDefRegMap(@Self)^.clr := $00004000
  33558. else
  33559. pTDefRegMap(@Self)^.&set := $00004000;
  33560. end;
  33561. function TUART2A_U2ASTA.getUTXISEL0 : TBits_1; inline;
  33562. begin
  33563. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33564. end;
  33565. procedure TUART2A_U2ASTA.setUTXISEL1; inline;
  33566. begin
  33567. pTDefRegMap(@Self)^.&set := $00008000;
  33568. end;
  33569. procedure TUART2A_U2ASTA.clearUTXISEL1; inline;
  33570. begin
  33571. pTDefRegMap(@Self)^.clr := $00008000;
  33572. end;
  33573. procedure TUART2A_U2ASTA.setUTXISEL1(thebits : TBits_1); inline;
  33574. begin
  33575. if thebits = 0 then
  33576. pTDefRegMap(@Self)^.clr := $00008000
  33577. else
  33578. pTDefRegMap(@Self)^.&set := $00008000;
  33579. end;
  33580. function TUART2A_U2ASTA.getUTXISEL1 : TBits_1; inline;
  33581. begin
  33582. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33583. end;
  33584. procedure TUART2A_U2ASTA.setUTXSEL(thebits : TBits_2); inline;
  33585. begin
  33586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33587. end;
  33588. function TUART2A_U2ASTA.getUTXSEL : TBits_2; inline;
  33589. begin
  33590. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33591. end;
  33592. procedure TUART2A_U2ASTA.setw(thebits : TBits_32); inline;
  33593. begin
  33594. pTDefRegMap(@Self)^.val := thebits;
  33595. end;
  33596. function TUART2A_U2ASTA.getw : TBits_32; inline;
  33597. begin
  33598. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33599. end;
  33600. procedure TUART2A_U3STA.setURXDA; inline;
  33601. begin
  33602. pTDefRegMap(@Self)^.&set := $00000001;
  33603. end;
  33604. procedure TUART2A_U3STA.clearURXDA; inline;
  33605. begin
  33606. pTDefRegMap(@Self)^.clr := $00000001;
  33607. end;
  33608. procedure TUART2A_U3STA.setURXDA(thebits : TBits_1); inline;
  33609. begin
  33610. if thebits = 0 then
  33611. pTDefRegMap(@Self)^.clr := $00000001
  33612. else
  33613. pTDefRegMap(@Self)^.&set := $00000001;
  33614. end;
  33615. function TUART2A_U3STA.getURXDA : TBits_1; inline;
  33616. begin
  33617. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33618. end;
  33619. procedure TUART2A_U3STA.setOERR; inline;
  33620. begin
  33621. pTDefRegMap(@Self)^.&set := $00000002;
  33622. end;
  33623. procedure TUART2A_U3STA.clearOERR; inline;
  33624. begin
  33625. pTDefRegMap(@Self)^.clr := $00000002;
  33626. end;
  33627. procedure TUART2A_U3STA.setOERR(thebits : TBits_1); inline;
  33628. begin
  33629. if thebits = 0 then
  33630. pTDefRegMap(@Self)^.clr := $00000002
  33631. else
  33632. pTDefRegMap(@Self)^.&set := $00000002;
  33633. end;
  33634. function TUART2A_U3STA.getOERR : TBits_1; inline;
  33635. begin
  33636. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33637. end;
  33638. procedure TUART2A_U3STA.setFERR; inline;
  33639. begin
  33640. pTDefRegMap(@Self)^.&set := $00000004;
  33641. end;
  33642. procedure TUART2A_U3STA.clearFERR; inline;
  33643. begin
  33644. pTDefRegMap(@Self)^.clr := $00000004;
  33645. end;
  33646. procedure TUART2A_U3STA.setFERR(thebits : TBits_1); inline;
  33647. begin
  33648. if thebits = 0 then
  33649. pTDefRegMap(@Self)^.clr := $00000004
  33650. else
  33651. pTDefRegMap(@Self)^.&set := $00000004;
  33652. end;
  33653. function TUART2A_U3STA.getFERR : TBits_1; inline;
  33654. begin
  33655. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33656. end;
  33657. procedure TUART2A_U3STA.setPERR; inline;
  33658. begin
  33659. pTDefRegMap(@Self)^.&set := $00000008;
  33660. end;
  33661. procedure TUART2A_U3STA.clearPERR; inline;
  33662. begin
  33663. pTDefRegMap(@Self)^.clr := $00000008;
  33664. end;
  33665. procedure TUART2A_U3STA.setPERR(thebits : TBits_1); inline;
  33666. begin
  33667. if thebits = 0 then
  33668. pTDefRegMap(@Self)^.clr := $00000008
  33669. else
  33670. pTDefRegMap(@Self)^.&set := $00000008;
  33671. end;
  33672. function TUART2A_U3STA.getPERR : TBits_1; inline;
  33673. begin
  33674. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33675. end;
  33676. procedure TUART2A_U3STA.setRIDLE; inline;
  33677. begin
  33678. pTDefRegMap(@Self)^.&set := $00000010;
  33679. end;
  33680. procedure TUART2A_U3STA.clearRIDLE; inline;
  33681. begin
  33682. pTDefRegMap(@Self)^.clr := $00000010;
  33683. end;
  33684. procedure TUART2A_U3STA.setRIDLE(thebits : TBits_1); inline;
  33685. begin
  33686. if thebits = 0 then
  33687. pTDefRegMap(@Self)^.clr := $00000010
  33688. else
  33689. pTDefRegMap(@Self)^.&set := $00000010;
  33690. end;
  33691. function TUART2A_U3STA.getRIDLE : TBits_1; inline;
  33692. begin
  33693. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33694. end;
  33695. procedure TUART2A_U3STA.setADDEN; inline;
  33696. begin
  33697. pTDefRegMap(@Self)^.&set := $00000020;
  33698. end;
  33699. procedure TUART2A_U3STA.clearADDEN; inline;
  33700. begin
  33701. pTDefRegMap(@Self)^.clr := $00000020;
  33702. end;
  33703. procedure TUART2A_U3STA.setADDEN(thebits : TBits_1); inline;
  33704. begin
  33705. if thebits = 0 then
  33706. pTDefRegMap(@Self)^.clr := $00000020
  33707. else
  33708. pTDefRegMap(@Self)^.&set := $00000020;
  33709. end;
  33710. function TUART2A_U3STA.getADDEN : TBits_1; inline;
  33711. begin
  33712. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33713. end;
  33714. procedure TUART2A_U3STA.setURXISEL(thebits : TBits_2); inline;
  33715. begin
  33716. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33717. end;
  33718. function TUART2A_U3STA.getURXISEL : TBits_2; inline;
  33719. begin
  33720. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33721. end;
  33722. procedure TUART2A_U3STA.setTRMT; inline;
  33723. begin
  33724. pTDefRegMap(@Self)^.&set := $00000100;
  33725. end;
  33726. procedure TUART2A_U3STA.clearTRMT; inline;
  33727. begin
  33728. pTDefRegMap(@Self)^.clr := $00000100;
  33729. end;
  33730. procedure TUART2A_U3STA.setTRMT(thebits : TBits_1); inline;
  33731. begin
  33732. if thebits = 0 then
  33733. pTDefRegMap(@Self)^.clr := $00000100
  33734. else
  33735. pTDefRegMap(@Self)^.&set := $00000100;
  33736. end;
  33737. function TUART2A_U3STA.getTRMT : TBits_1; inline;
  33738. begin
  33739. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33740. end;
  33741. procedure TUART2A_U3STA.setUTXBF; inline;
  33742. begin
  33743. pTDefRegMap(@Self)^.&set := $00000200;
  33744. end;
  33745. procedure TUART2A_U3STA.clearUTXBF; inline;
  33746. begin
  33747. pTDefRegMap(@Self)^.clr := $00000200;
  33748. end;
  33749. procedure TUART2A_U3STA.setUTXBF(thebits : TBits_1); inline;
  33750. begin
  33751. if thebits = 0 then
  33752. pTDefRegMap(@Self)^.clr := $00000200
  33753. else
  33754. pTDefRegMap(@Self)^.&set := $00000200;
  33755. end;
  33756. function TUART2A_U3STA.getUTXBF : TBits_1; inline;
  33757. begin
  33758. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33759. end;
  33760. procedure TUART2A_U3STA.setUTXEN; inline;
  33761. begin
  33762. pTDefRegMap(@Self)^.&set := $00000400;
  33763. end;
  33764. procedure TUART2A_U3STA.clearUTXEN; inline;
  33765. begin
  33766. pTDefRegMap(@Self)^.clr := $00000400;
  33767. end;
  33768. procedure TUART2A_U3STA.setUTXEN(thebits : TBits_1); inline;
  33769. begin
  33770. if thebits = 0 then
  33771. pTDefRegMap(@Self)^.clr := $00000400
  33772. else
  33773. pTDefRegMap(@Self)^.&set := $00000400;
  33774. end;
  33775. function TUART2A_U3STA.getUTXEN : TBits_1; inline;
  33776. begin
  33777. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33778. end;
  33779. procedure TUART2A_U3STA.setUTXBRK; inline;
  33780. begin
  33781. pTDefRegMap(@Self)^.&set := $00000800;
  33782. end;
  33783. procedure TUART2A_U3STA.clearUTXBRK; inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.clr := $00000800;
  33786. end;
  33787. procedure TUART2A_U3STA.setUTXBRK(thebits : TBits_1); inline;
  33788. begin
  33789. if thebits = 0 then
  33790. pTDefRegMap(@Self)^.clr := $00000800
  33791. else
  33792. pTDefRegMap(@Self)^.&set := $00000800;
  33793. end;
  33794. function TUART2A_U3STA.getUTXBRK : TBits_1; inline;
  33795. begin
  33796. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33797. end;
  33798. procedure TUART2A_U3STA.setURXEN; inline;
  33799. begin
  33800. pTDefRegMap(@Self)^.&set := $00001000;
  33801. end;
  33802. procedure TUART2A_U3STA.clearURXEN; inline;
  33803. begin
  33804. pTDefRegMap(@Self)^.clr := $00001000;
  33805. end;
  33806. procedure TUART2A_U3STA.setURXEN(thebits : TBits_1); inline;
  33807. begin
  33808. if thebits = 0 then
  33809. pTDefRegMap(@Self)^.clr := $00001000
  33810. else
  33811. pTDefRegMap(@Self)^.&set := $00001000;
  33812. end;
  33813. function TUART2A_U3STA.getURXEN : TBits_1; inline;
  33814. begin
  33815. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33816. end;
  33817. procedure TUART2A_U3STA.setUTXINV; inline;
  33818. begin
  33819. pTDefRegMap(@Self)^.&set := $00002000;
  33820. end;
  33821. procedure TUART2A_U3STA.clearUTXINV; inline;
  33822. begin
  33823. pTDefRegMap(@Self)^.clr := $00002000;
  33824. end;
  33825. procedure TUART2A_U3STA.setUTXINV(thebits : TBits_1); inline;
  33826. begin
  33827. if thebits = 0 then
  33828. pTDefRegMap(@Self)^.clr := $00002000
  33829. else
  33830. pTDefRegMap(@Self)^.&set := $00002000;
  33831. end;
  33832. function TUART2A_U3STA.getUTXINV : TBits_1; inline;
  33833. begin
  33834. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33835. end;
  33836. procedure TUART2A_U3STA.setUTXISEL(thebits : TBits_2); inline;
  33837. begin
  33838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33839. end;
  33840. function TUART2A_U3STA.getUTXISEL : TBits_2; inline;
  33841. begin
  33842. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33843. end;
  33844. procedure TUART2A_U3STA.setADDR(thebits : TBits_8); inline;
  33845. begin
  33846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33847. end;
  33848. function TUART2A_U3STA.getADDR : TBits_8; inline;
  33849. begin
  33850. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33851. end;
  33852. procedure TUART2A_U3STA.setADM_EN; inline;
  33853. begin
  33854. pTDefRegMap(@Self)^.&set := $01000000;
  33855. end;
  33856. procedure TUART2A_U3STA.clearADM_EN; inline;
  33857. begin
  33858. pTDefRegMap(@Self)^.clr := $01000000;
  33859. end;
  33860. procedure TUART2A_U3STA.setADM_EN(thebits : TBits_1); inline;
  33861. begin
  33862. if thebits = 0 then
  33863. pTDefRegMap(@Self)^.clr := $01000000
  33864. else
  33865. pTDefRegMap(@Self)^.&set := $01000000;
  33866. end;
  33867. function TUART2A_U3STA.getADM_EN : TBits_1; inline;
  33868. begin
  33869. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33870. end;
  33871. procedure TUART2A_U3STA.setURXISEL0; inline;
  33872. begin
  33873. pTDefRegMap(@Self)^.&set := $00000040;
  33874. end;
  33875. procedure TUART2A_U3STA.clearURXISEL0; inline;
  33876. begin
  33877. pTDefRegMap(@Self)^.clr := $00000040;
  33878. end;
  33879. procedure TUART2A_U3STA.setURXISEL0(thebits : TBits_1); inline;
  33880. begin
  33881. if thebits = 0 then
  33882. pTDefRegMap(@Self)^.clr := $00000040
  33883. else
  33884. pTDefRegMap(@Self)^.&set := $00000040;
  33885. end;
  33886. function TUART2A_U3STA.getURXISEL0 : TBits_1; inline;
  33887. begin
  33888. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33889. end;
  33890. procedure TUART2A_U3STA.setURXISEL1; inline;
  33891. begin
  33892. pTDefRegMap(@Self)^.&set := $00000080;
  33893. end;
  33894. procedure TUART2A_U3STA.clearURXISEL1; inline;
  33895. begin
  33896. pTDefRegMap(@Self)^.clr := $00000080;
  33897. end;
  33898. procedure TUART2A_U3STA.setURXISEL1(thebits : TBits_1); inline;
  33899. begin
  33900. if thebits = 0 then
  33901. pTDefRegMap(@Self)^.clr := $00000080
  33902. else
  33903. pTDefRegMap(@Self)^.&set := $00000080;
  33904. end;
  33905. function TUART2A_U3STA.getURXISEL1 : TBits_1; inline;
  33906. begin
  33907. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33908. end;
  33909. procedure TUART2A_U3STA.setUTXISEL0; inline;
  33910. begin
  33911. pTDefRegMap(@Self)^.&set := $00004000;
  33912. end;
  33913. procedure TUART2A_U3STA.clearUTXISEL0; inline;
  33914. begin
  33915. pTDefRegMap(@Self)^.clr := $00004000;
  33916. end;
  33917. procedure TUART2A_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  33918. begin
  33919. if thebits = 0 then
  33920. pTDefRegMap(@Self)^.clr := $00004000
  33921. else
  33922. pTDefRegMap(@Self)^.&set := $00004000;
  33923. end;
  33924. function TUART2A_U3STA.getUTXISEL0 : TBits_1; inline;
  33925. begin
  33926. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33927. end;
  33928. procedure TUART2A_U3STA.setUTXISEL1; inline;
  33929. begin
  33930. pTDefRegMap(@Self)^.&set := $00008000;
  33931. end;
  33932. procedure TUART2A_U3STA.clearUTXISEL1; inline;
  33933. begin
  33934. pTDefRegMap(@Self)^.clr := $00008000;
  33935. end;
  33936. procedure TUART2A_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  33937. begin
  33938. if thebits = 0 then
  33939. pTDefRegMap(@Self)^.clr := $00008000
  33940. else
  33941. pTDefRegMap(@Self)^.&set := $00008000;
  33942. end;
  33943. function TUART2A_U3STA.getUTXISEL1 : TBits_1; inline;
  33944. begin
  33945. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33946. end;
  33947. procedure TUART2A_U3STA.setUTXSEL(thebits : TBits_2); inline;
  33948. begin
  33949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33950. end;
  33951. function TUART2A_U3STA.getUTXSEL : TBits_2; inline;
  33952. begin
  33953. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33954. end;
  33955. procedure TUART2A_U3STA.setw(thebits : TBits_32); inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.val := thebits;
  33958. end;
  33959. function TUART2A_U3STA.getw : TBits_32; inline;
  33960. begin
  33961. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33962. end;
  33963. procedure TUART2B_U2BMODE.setSTSEL; inline;
  33964. begin
  33965. pTDefRegMap(@Self)^.&set := $00000001;
  33966. end;
  33967. procedure TUART2B_U2BMODE.clearSTSEL; inline;
  33968. begin
  33969. pTDefRegMap(@Self)^.clr := $00000001;
  33970. end;
  33971. procedure TUART2B_U2BMODE.setSTSEL(thebits : TBits_1); inline;
  33972. begin
  33973. if thebits = 0 then
  33974. pTDefRegMap(@Self)^.clr := $00000001
  33975. else
  33976. pTDefRegMap(@Self)^.&set := $00000001;
  33977. end;
  33978. function TUART2B_U2BMODE.getSTSEL : TBits_1; inline;
  33979. begin
  33980. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33981. end;
  33982. procedure TUART2B_U2BMODE.setPDSEL(thebits : TBits_2); inline;
  33983. begin
  33984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33985. end;
  33986. function TUART2B_U2BMODE.getPDSEL : TBits_2; inline;
  33987. begin
  33988. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33989. end;
  33990. procedure TUART2B_U2BMODE.setBRGH; inline;
  33991. begin
  33992. pTDefRegMap(@Self)^.&set := $00000008;
  33993. end;
  33994. procedure TUART2B_U2BMODE.clearBRGH; inline;
  33995. begin
  33996. pTDefRegMap(@Self)^.clr := $00000008;
  33997. end;
  33998. procedure TUART2B_U2BMODE.setBRGH(thebits : TBits_1); inline;
  33999. begin
  34000. if thebits = 0 then
  34001. pTDefRegMap(@Self)^.clr := $00000008
  34002. else
  34003. pTDefRegMap(@Self)^.&set := $00000008;
  34004. end;
  34005. function TUART2B_U2BMODE.getBRGH : TBits_1; inline;
  34006. begin
  34007. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34008. end;
  34009. procedure TUART2B_U2BMODE.setRXINV; inline;
  34010. begin
  34011. pTDefRegMap(@Self)^.&set := $00000010;
  34012. end;
  34013. procedure TUART2B_U2BMODE.clearRXINV; inline;
  34014. begin
  34015. pTDefRegMap(@Self)^.clr := $00000010;
  34016. end;
  34017. procedure TUART2B_U2BMODE.setRXINV(thebits : TBits_1); inline;
  34018. begin
  34019. if thebits = 0 then
  34020. pTDefRegMap(@Self)^.clr := $00000010
  34021. else
  34022. pTDefRegMap(@Self)^.&set := $00000010;
  34023. end;
  34024. function TUART2B_U2BMODE.getRXINV : TBits_1; inline;
  34025. begin
  34026. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34027. end;
  34028. procedure TUART2B_U2BMODE.setABAUD; inline;
  34029. begin
  34030. pTDefRegMap(@Self)^.&set := $00000020;
  34031. end;
  34032. procedure TUART2B_U2BMODE.clearABAUD; inline;
  34033. begin
  34034. pTDefRegMap(@Self)^.clr := $00000020;
  34035. end;
  34036. procedure TUART2B_U2BMODE.setABAUD(thebits : TBits_1); inline;
  34037. begin
  34038. if thebits = 0 then
  34039. pTDefRegMap(@Self)^.clr := $00000020
  34040. else
  34041. pTDefRegMap(@Self)^.&set := $00000020;
  34042. end;
  34043. function TUART2B_U2BMODE.getABAUD : TBits_1; inline;
  34044. begin
  34045. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34046. end;
  34047. procedure TUART2B_U2BMODE.setLPBACK; inline;
  34048. begin
  34049. pTDefRegMap(@Self)^.&set := $00000040;
  34050. end;
  34051. procedure TUART2B_U2BMODE.clearLPBACK; inline;
  34052. begin
  34053. pTDefRegMap(@Self)^.clr := $00000040;
  34054. end;
  34055. procedure TUART2B_U2BMODE.setLPBACK(thebits : TBits_1); inline;
  34056. begin
  34057. if thebits = 0 then
  34058. pTDefRegMap(@Self)^.clr := $00000040
  34059. else
  34060. pTDefRegMap(@Self)^.&set := $00000040;
  34061. end;
  34062. function TUART2B_U2BMODE.getLPBACK : TBits_1; inline;
  34063. begin
  34064. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34065. end;
  34066. procedure TUART2B_U2BMODE.setWAKE; inline;
  34067. begin
  34068. pTDefRegMap(@Self)^.&set := $00000080;
  34069. end;
  34070. procedure TUART2B_U2BMODE.clearWAKE; inline;
  34071. begin
  34072. pTDefRegMap(@Self)^.clr := $00000080;
  34073. end;
  34074. procedure TUART2B_U2BMODE.setWAKE(thebits : TBits_1); inline;
  34075. begin
  34076. if thebits = 0 then
  34077. pTDefRegMap(@Self)^.clr := $00000080
  34078. else
  34079. pTDefRegMap(@Self)^.&set := $00000080;
  34080. end;
  34081. function TUART2B_U2BMODE.getWAKE : TBits_1; inline;
  34082. begin
  34083. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34084. end;
  34085. procedure TUART2B_U2BMODE.setIREN; inline;
  34086. begin
  34087. pTDefRegMap(@Self)^.&set := $00001000;
  34088. end;
  34089. procedure TUART2B_U2BMODE.clearIREN; inline;
  34090. begin
  34091. pTDefRegMap(@Self)^.clr := $00001000;
  34092. end;
  34093. procedure TUART2B_U2BMODE.setIREN(thebits : TBits_1); inline;
  34094. begin
  34095. if thebits = 0 then
  34096. pTDefRegMap(@Self)^.clr := $00001000
  34097. else
  34098. pTDefRegMap(@Self)^.&set := $00001000;
  34099. end;
  34100. function TUART2B_U2BMODE.getIREN : TBits_1; inline;
  34101. begin
  34102. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34103. end;
  34104. procedure TUART2B_U2BMODE.setSIDL; inline;
  34105. begin
  34106. pTDefRegMap(@Self)^.&set := $00002000;
  34107. end;
  34108. procedure TUART2B_U2BMODE.clearSIDL; inline;
  34109. begin
  34110. pTDefRegMap(@Self)^.clr := $00002000;
  34111. end;
  34112. procedure TUART2B_U2BMODE.setSIDL(thebits : TBits_1); inline;
  34113. begin
  34114. if thebits = 0 then
  34115. pTDefRegMap(@Self)^.clr := $00002000
  34116. else
  34117. pTDefRegMap(@Self)^.&set := $00002000;
  34118. end;
  34119. function TUART2B_U2BMODE.getSIDL : TBits_1; inline;
  34120. begin
  34121. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34122. end;
  34123. procedure TUART2B_U2BMODE.setON; inline;
  34124. begin
  34125. pTDefRegMap(@Self)^.&set := $00008000;
  34126. end;
  34127. procedure TUART2B_U2BMODE.clearON; inline;
  34128. begin
  34129. pTDefRegMap(@Self)^.clr := $00008000;
  34130. end;
  34131. procedure TUART2B_U2BMODE.setON(thebits : TBits_1); inline;
  34132. begin
  34133. if thebits = 0 then
  34134. pTDefRegMap(@Self)^.clr := $00008000
  34135. else
  34136. pTDefRegMap(@Self)^.&set := $00008000;
  34137. end;
  34138. function TUART2B_U2BMODE.getON : TBits_1; inline;
  34139. begin
  34140. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34141. end;
  34142. procedure TUART2B_U2BMODE.setPDSEL0; inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.&set := $00000002;
  34145. end;
  34146. procedure TUART2B_U2BMODE.clearPDSEL0; inline;
  34147. begin
  34148. pTDefRegMap(@Self)^.clr := $00000002;
  34149. end;
  34150. procedure TUART2B_U2BMODE.setPDSEL0(thebits : TBits_1); inline;
  34151. begin
  34152. if thebits = 0 then
  34153. pTDefRegMap(@Self)^.clr := $00000002
  34154. else
  34155. pTDefRegMap(@Self)^.&set := $00000002;
  34156. end;
  34157. function TUART2B_U2BMODE.getPDSEL0 : TBits_1; inline;
  34158. begin
  34159. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34160. end;
  34161. procedure TUART2B_U2BMODE.setPDSEL1; inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.&set := $00000004;
  34164. end;
  34165. procedure TUART2B_U2BMODE.clearPDSEL1; inline;
  34166. begin
  34167. pTDefRegMap(@Self)^.clr := $00000004;
  34168. end;
  34169. procedure TUART2B_U2BMODE.setPDSEL1(thebits : TBits_1); inline;
  34170. begin
  34171. if thebits = 0 then
  34172. pTDefRegMap(@Self)^.clr := $00000004
  34173. else
  34174. pTDefRegMap(@Self)^.&set := $00000004;
  34175. end;
  34176. function TUART2B_U2BMODE.getPDSEL1 : TBits_1; inline;
  34177. begin
  34178. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34179. end;
  34180. procedure TUART2B_U2BMODE.setUSIDL; inline;
  34181. begin
  34182. pTDefRegMap(@Self)^.&set := $00002000;
  34183. end;
  34184. procedure TUART2B_U2BMODE.clearUSIDL; inline;
  34185. begin
  34186. pTDefRegMap(@Self)^.clr := $00002000;
  34187. end;
  34188. procedure TUART2B_U2BMODE.setUSIDL(thebits : TBits_1); inline;
  34189. begin
  34190. if thebits = 0 then
  34191. pTDefRegMap(@Self)^.clr := $00002000
  34192. else
  34193. pTDefRegMap(@Self)^.&set := $00002000;
  34194. end;
  34195. function TUART2B_U2BMODE.getUSIDL : TBits_1; inline;
  34196. begin
  34197. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34198. end;
  34199. procedure TUART2B_U2BMODE.setUARTEN; inline;
  34200. begin
  34201. pTDefRegMap(@Self)^.&set := $00008000;
  34202. end;
  34203. procedure TUART2B_U2BMODE.clearUARTEN; inline;
  34204. begin
  34205. pTDefRegMap(@Self)^.clr := $00008000;
  34206. end;
  34207. procedure TUART2B_U2BMODE.setUARTEN(thebits : TBits_1); inline;
  34208. begin
  34209. if thebits = 0 then
  34210. pTDefRegMap(@Self)^.clr := $00008000
  34211. else
  34212. pTDefRegMap(@Self)^.&set := $00008000;
  34213. end;
  34214. function TUART2B_U2BMODE.getUARTEN : TBits_1; inline;
  34215. begin
  34216. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34217. end;
  34218. procedure TUART2B_U2BMODE.setw(thebits : TBits_32); inline;
  34219. begin
  34220. pTDefRegMap(@Self)^.val := thebits;
  34221. end;
  34222. function TUART2B_U2BMODE.getw : TBits_32; inline;
  34223. begin
  34224. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34225. end;
  34226. procedure TUART2B_U6MODE.setSTSEL; inline;
  34227. begin
  34228. pTDefRegMap(@Self)^.&set := $00000001;
  34229. end;
  34230. procedure TUART2B_U6MODE.clearSTSEL; inline;
  34231. begin
  34232. pTDefRegMap(@Self)^.clr := $00000001;
  34233. end;
  34234. procedure TUART2B_U6MODE.setSTSEL(thebits : TBits_1); inline;
  34235. begin
  34236. if thebits = 0 then
  34237. pTDefRegMap(@Self)^.clr := $00000001
  34238. else
  34239. pTDefRegMap(@Self)^.&set := $00000001;
  34240. end;
  34241. function TUART2B_U6MODE.getSTSEL : TBits_1; inline;
  34242. begin
  34243. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34244. end;
  34245. procedure TUART2B_U6MODE.setPDSEL(thebits : TBits_2); inline;
  34246. begin
  34247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34248. end;
  34249. function TUART2B_U6MODE.getPDSEL : TBits_2; inline;
  34250. begin
  34251. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34252. end;
  34253. procedure TUART2B_U6MODE.setBRGH; inline;
  34254. begin
  34255. pTDefRegMap(@Self)^.&set := $00000008;
  34256. end;
  34257. procedure TUART2B_U6MODE.clearBRGH; inline;
  34258. begin
  34259. pTDefRegMap(@Self)^.clr := $00000008;
  34260. end;
  34261. procedure TUART2B_U6MODE.setBRGH(thebits : TBits_1); inline;
  34262. begin
  34263. if thebits = 0 then
  34264. pTDefRegMap(@Self)^.clr := $00000008
  34265. else
  34266. pTDefRegMap(@Self)^.&set := $00000008;
  34267. end;
  34268. function TUART2B_U6MODE.getBRGH : TBits_1; inline;
  34269. begin
  34270. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34271. end;
  34272. procedure TUART2B_U6MODE.setRXINV; inline;
  34273. begin
  34274. pTDefRegMap(@Self)^.&set := $00000010;
  34275. end;
  34276. procedure TUART2B_U6MODE.clearRXINV; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.clr := $00000010;
  34279. end;
  34280. procedure TUART2B_U6MODE.setRXINV(thebits : TBits_1); inline;
  34281. begin
  34282. if thebits = 0 then
  34283. pTDefRegMap(@Self)^.clr := $00000010
  34284. else
  34285. pTDefRegMap(@Self)^.&set := $00000010;
  34286. end;
  34287. function TUART2B_U6MODE.getRXINV : TBits_1; inline;
  34288. begin
  34289. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34290. end;
  34291. procedure TUART2B_U6MODE.setABAUD; inline;
  34292. begin
  34293. pTDefRegMap(@Self)^.&set := $00000020;
  34294. end;
  34295. procedure TUART2B_U6MODE.clearABAUD; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.clr := $00000020;
  34298. end;
  34299. procedure TUART2B_U6MODE.setABAUD(thebits : TBits_1); inline;
  34300. begin
  34301. if thebits = 0 then
  34302. pTDefRegMap(@Self)^.clr := $00000020
  34303. else
  34304. pTDefRegMap(@Self)^.&set := $00000020;
  34305. end;
  34306. function TUART2B_U6MODE.getABAUD : TBits_1; inline;
  34307. begin
  34308. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34309. end;
  34310. procedure TUART2B_U6MODE.setLPBACK; inline;
  34311. begin
  34312. pTDefRegMap(@Self)^.&set := $00000040;
  34313. end;
  34314. procedure TUART2B_U6MODE.clearLPBACK; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.clr := $00000040;
  34317. end;
  34318. procedure TUART2B_U6MODE.setLPBACK(thebits : TBits_1); inline;
  34319. begin
  34320. if thebits = 0 then
  34321. pTDefRegMap(@Self)^.clr := $00000040
  34322. else
  34323. pTDefRegMap(@Self)^.&set := $00000040;
  34324. end;
  34325. function TUART2B_U6MODE.getLPBACK : TBits_1; inline;
  34326. begin
  34327. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34328. end;
  34329. procedure TUART2B_U6MODE.setWAKE; inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.&set := $00000080;
  34332. end;
  34333. procedure TUART2B_U6MODE.clearWAKE; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.clr := $00000080;
  34336. end;
  34337. procedure TUART2B_U6MODE.setWAKE(thebits : TBits_1); inline;
  34338. begin
  34339. if thebits = 0 then
  34340. pTDefRegMap(@Self)^.clr := $00000080
  34341. else
  34342. pTDefRegMap(@Self)^.&set := $00000080;
  34343. end;
  34344. function TUART2B_U6MODE.getWAKE : TBits_1; inline;
  34345. begin
  34346. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34347. end;
  34348. procedure TUART2B_U6MODE.setIREN; inline;
  34349. begin
  34350. pTDefRegMap(@Self)^.&set := $00001000;
  34351. end;
  34352. procedure TUART2B_U6MODE.clearIREN; inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.clr := $00001000;
  34355. end;
  34356. procedure TUART2B_U6MODE.setIREN(thebits : TBits_1); inline;
  34357. begin
  34358. if thebits = 0 then
  34359. pTDefRegMap(@Self)^.clr := $00001000
  34360. else
  34361. pTDefRegMap(@Self)^.&set := $00001000;
  34362. end;
  34363. function TUART2B_U6MODE.getIREN : TBits_1; inline;
  34364. begin
  34365. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34366. end;
  34367. procedure TUART2B_U6MODE.setSIDL; inline;
  34368. begin
  34369. pTDefRegMap(@Self)^.&set := $00002000;
  34370. end;
  34371. procedure TUART2B_U6MODE.clearSIDL; inline;
  34372. begin
  34373. pTDefRegMap(@Self)^.clr := $00002000;
  34374. end;
  34375. procedure TUART2B_U6MODE.setSIDL(thebits : TBits_1); inline;
  34376. begin
  34377. if thebits = 0 then
  34378. pTDefRegMap(@Self)^.clr := $00002000
  34379. else
  34380. pTDefRegMap(@Self)^.&set := $00002000;
  34381. end;
  34382. function TUART2B_U6MODE.getSIDL : TBits_1; inline;
  34383. begin
  34384. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34385. end;
  34386. procedure TUART2B_U6MODE.setON; inline;
  34387. begin
  34388. pTDefRegMap(@Self)^.&set := $00008000;
  34389. end;
  34390. procedure TUART2B_U6MODE.clearON; inline;
  34391. begin
  34392. pTDefRegMap(@Self)^.clr := $00008000;
  34393. end;
  34394. procedure TUART2B_U6MODE.setON(thebits : TBits_1); inline;
  34395. begin
  34396. if thebits = 0 then
  34397. pTDefRegMap(@Self)^.clr := $00008000
  34398. else
  34399. pTDefRegMap(@Self)^.&set := $00008000;
  34400. end;
  34401. function TUART2B_U6MODE.getON : TBits_1; inline;
  34402. begin
  34403. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34404. end;
  34405. procedure TUART2B_U6MODE.setPDSEL0; inline;
  34406. begin
  34407. pTDefRegMap(@Self)^.&set := $00000002;
  34408. end;
  34409. procedure TUART2B_U6MODE.clearPDSEL0; inline;
  34410. begin
  34411. pTDefRegMap(@Self)^.clr := $00000002;
  34412. end;
  34413. procedure TUART2B_U6MODE.setPDSEL0(thebits : TBits_1); inline;
  34414. begin
  34415. if thebits = 0 then
  34416. pTDefRegMap(@Self)^.clr := $00000002
  34417. else
  34418. pTDefRegMap(@Self)^.&set := $00000002;
  34419. end;
  34420. function TUART2B_U6MODE.getPDSEL0 : TBits_1; inline;
  34421. begin
  34422. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34423. end;
  34424. procedure TUART2B_U6MODE.setPDSEL1; inline;
  34425. begin
  34426. pTDefRegMap(@Self)^.&set := $00000004;
  34427. end;
  34428. procedure TUART2B_U6MODE.clearPDSEL1; inline;
  34429. begin
  34430. pTDefRegMap(@Self)^.clr := $00000004;
  34431. end;
  34432. procedure TUART2B_U6MODE.setPDSEL1(thebits : TBits_1); inline;
  34433. begin
  34434. if thebits = 0 then
  34435. pTDefRegMap(@Self)^.clr := $00000004
  34436. else
  34437. pTDefRegMap(@Self)^.&set := $00000004;
  34438. end;
  34439. function TUART2B_U6MODE.getPDSEL1 : TBits_1; inline;
  34440. begin
  34441. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34442. end;
  34443. procedure TUART2B_U6MODE.setUSIDL; inline;
  34444. begin
  34445. pTDefRegMap(@Self)^.&set := $00002000;
  34446. end;
  34447. procedure TUART2B_U6MODE.clearUSIDL; inline;
  34448. begin
  34449. pTDefRegMap(@Self)^.clr := $00002000;
  34450. end;
  34451. procedure TUART2B_U6MODE.setUSIDL(thebits : TBits_1); inline;
  34452. begin
  34453. if thebits = 0 then
  34454. pTDefRegMap(@Self)^.clr := $00002000
  34455. else
  34456. pTDefRegMap(@Self)^.&set := $00002000;
  34457. end;
  34458. function TUART2B_U6MODE.getUSIDL : TBits_1; inline;
  34459. begin
  34460. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34461. end;
  34462. procedure TUART2B_U6MODE.setUARTEN; inline;
  34463. begin
  34464. pTDefRegMap(@Self)^.&set := $00008000;
  34465. end;
  34466. procedure TUART2B_U6MODE.clearUARTEN; inline;
  34467. begin
  34468. pTDefRegMap(@Self)^.clr := $00008000;
  34469. end;
  34470. procedure TUART2B_U6MODE.setUARTEN(thebits : TBits_1); inline;
  34471. begin
  34472. if thebits = 0 then
  34473. pTDefRegMap(@Self)^.clr := $00008000
  34474. else
  34475. pTDefRegMap(@Self)^.&set := $00008000;
  34476. end;
  34477. function TUART2B_U6MODE.getUARTEN : TBits_1; inline;
  34478. begin
  34479. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34480. end;
  34481. procedure TUART2B_U6MODE.setw(thebits : TBits_32); inline;
  34482. begin
  34483. pTDefRegMap(@Self)^.val := thebits;
  34484. end;
  34485. function TUART2B_U6MODE.getw : TBits_32; inline;
  34486. begin
  34487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34488. end;
  34489. procedure TUART2B_U2BSTA.setURXDA; inline;
  34490. begin
  34491. pTDefRegMap(@Self)^.&set := $00000001;
  34492. end;
  34493. procedure TUART2B_U2BSTA.clearURXDA; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.clr := $00000001;
  34496. end;
  34497. procedure TUART2B_U2BSTA.setURXDA(thebits : TBits_1); inline;
  34498. begin
  34499. if thebits = 0 then
  34500. pTDefRegMap(@Self)^.clr := $00000001
  34501. else
  34502. pTDefRegMap(@Self)^.&set := $00000001;
  34503. end;
  34504. function TUART2B_U2BSTA.getURXDA : TBits_1; inline;
  34505. begin
  34506. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34507. end;
  34508. procedure TUART2B_U2BSTA.setOERR; inline;
  34509. begin
  34510. pTDefRegMap(@Self)^.&set := $00000002;
  34511. end;
  34512. procedure TUART2B_U2BSTA.clearOERR; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.clr := $00000002;
  34515. end;
  34516. procedure TUART2B_U2BSTA.setOERR(thebits : TBits_1); inline;
  34517. begin
  34518. if thebits = 0 then
  34519. pTDefRegMap(@Self)^.clr := $00000002
  34520. else
  34521. pTDefRegMap(@Self)^.&set := $00000002;
  34522. end;
  34523. function TUART2B_U2BSTA.getOERR : TBits_1; inline;
  34524. begin
  34525. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34526. end;
  34527. procedure TUART2B_U2BSTA.setFERR; inline;
  34528. begin
  34529. pTDefRegMap(@Self)^.&set := $00000004;
  34530. end;
  34531. procedure TUART2B_U2BSTA.clearFERR; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.clr := $00000004;
  34534. end;
  34535. procedure TUART2B_U2BSTA.setFERR(thebits : TBits_1); inline;
  34536. begin
  34537. if thebits = 0 then
  34538. pTDefRegMap(@Self)^.clr := $00000004
  34539. else
  34540. pTDefRegMap(@Self)^.&set := $00000004;
  34541. end;
  34542. function TUART2B_U2BSTA.getFERR : TBits_1; inline;
  34543. begin
  34544. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34545. end;
  34546. procedure TUART2B_U2BSTA.setPERR; inline;
  34547. begin
  34548. pTDefRegMap(@Self)^.&set := $00000008;
  34549. end;
  34550. procedure TUART2B_U2BSTA.clearPERR; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.clr := $00000008;
  34553. end;
  34554. procedure TUART2B_U2BSTA.setPERR(thebits : TBits_1); inline;
  34555. begin
  34556. if thebits = 0 then
  34557. pTDefRegMap(@Self)^.clr := $00000008
  34558. else
  34559. pTDefRegMap(@Self)^.&set := $00000008;
  34560. end;
  34561. function TUART2B_U2BSTA.getPERR : TBits_1; inline;
  34562. begin
  34563. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34564. end;
  34565. procedure TUART2B_U2BSTA.setRIDLE; inline;
  34566. begin
  34567. pTDefRegMap(@Self)^.&set := $00000010;
  34568. end;
  34569. procedure TUART2B_U2BSTA.clearRIDLE; inline;
  34570. begin
  34571. pTDefRegMap(@Self)^.clr := $00000010;
  34572. end;
  34573. procedure TUART2B_U2BSTA.setRIDLE(thebits : TBits_1); inline;
  34574. begin
  34575. if thebits = 0 then
  34576. pTDefRegMap(@Self)^.clr := $00000010
  34577. else
  34578. pTDefRegMap(@Self)^.&set := $00000010;
  34579. end;
  34580. function TUART2B_U2BSTA.getRIDLE : TBits_1; inline;
  34581. begin
  34582. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34583. end;
  34584. procedure TUART2B_U2BSTA.setADDEN; inline;
  34585. begin
  34586. pTDefRegMap(@Self)^.&set := $00000020;
  34587. end;
  34588. procedure TUART2B_U2BSTA.clearADDEN; inline;
  34589. begin
  34590. pTDefRegMap(@Self)^.clr := $00000020;
  34591. end;
  34592. procedure TUART2B_U2BSTA.setADDEN(thebits : TBits_1); inline;
  34593. begin
  34594. if thebits = 0 then
  34595. pTDefRegMap(@Self)^.clr := $00000020
  34596. else
  34597. pTDefRegMap(@Self)^.&set := $00000020;
  34598. end;
  34599. function TUART2B_U2BSTA.getADDEN : TBits_1; inline;
  34600. begin
  34601. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34602. end;
  34603. procedure TUART2B_U2BSTA.setURXISEL(thebits : TBits_2); inline;
  34604. begin
  34605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34606. end;
  34607. function TUART2B_U2BSTA.getURXISEL : TBits_2; inline;
  34608. begin
  34609. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34610. end;
  34611. procedure TUART2B_U2BSTA.setTRMT; inline;
  34612. begin
  34613. pTDefRegMap(@Self)^.&set := $00000100;
  34614. end;
  34615. procedure TUART2B_U2BSTA.clearTRMT; inline;
  34616. begin
  34617. pTDefRegMap(@Self)^.clr := $00000100;
  34618. end;
  34619. procedure TUART2B_U2BSTA.setTRMT(thebits : TBits_1); inline;
  34620. begin
  34621. if thebits = 0 then
  34622. pTDefRegMap(@Self)^.clr := $00000100
  34623. else
  34624. pTDefRegMap(@Self)^.&set := $00000100;
  34625. end;
  34626. function TUART2B_U2BSTA.getTRMT : TBits_1; inline;
  34627. begin
  34628. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34629. end;
  34630. procedure TUART2B_U2BSTA.setUTXBF; inline;
  34631. begin
  34632. pTDefRegMap(@Self)^.&set := $00000200;
  34633. end;
  34634. procedure TUART2B_U2BSTA.clearUTXBF; inline;
  34635. begin
  34636. pTDefRegMap(@Self)^.clr := $00000200;
  34637. end;
  34638. procedure TUART2B_U2BSTA.setUTXBF(thebits : TBits_1); inline;
  34639. begin
  34640. if thebits = 0 then
  34641. pTDefRegMap(@Self)^.clr := $00000200
  34642. else
  34643. pTDefRegMap(@Self)^.&set := $00000200;
  34644. end;
  34645. function TUART2B_U2BSTA.getUTXBF : TBits_1; inline;
  34646. begin
  34647. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34648. end;
  34649. procedure TUART2B_U2BSTA.setUTXEN; inline;
  34650. begin
  34651. pTDefRegMap(@Self)^.&set := $00000400;
  34652. end;
  34653. procedure TUART2B_U2BSTA.clearUTXEN; inline;
  34654. begin
  34655. pTDefRegMap(@Self)^.clr := $00000400;
  34656. end;
  34657. procedure TUART2B_U2BSTA.setUTXEN(thebits : TBits_1); inline;
  34658. begin
  34659. if thebits = 0 then
  34660. pTDefRegMap(@Self)^.clr := $00000400
  34661. else
  34662. pTDefRegMap(@Self)^.&set := $00000400;
  34663. end;
  34664. function TUART2B_U2BSTA.getUTXEN : TBits_1; inline;
  34665. begin
  34666. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34667. end;
  34668. procedure TUART2B_U2BSTA.setUTXBRK; inline;
  34669. begin
  34670. pTDefRegMap(@Self)^.&set := $00000800;
  34671. end;
  34672. procedure TUART2B_U2BSTA.clearUTXBRK; inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.clr := $00000800;
  34675. end;
  34676. procedure TUART2B_U2BSTA.setUTXBRK(thebits : TBits_1); inline;
  34677. begin
  34678. if thebits = 0 then
  34679. pTDefRegMap(@Self)^.clr := $00000800
  34680. else
  34681. pTDefRegMap(@Self)^.&set := $00000800;
  34682. end;
  34683. function TUART2B_U2BSTA.getUTXBRK : TBits_1; inline;
  34684. begin
  34685. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34686. end;
  34687. procedure TUART2B_U2BSTA.setURXEN; inline;
  34688. begin
  34689. pTDefRegMap(@Self)^.&set := $00001000;
  34690. end;
  34691. procedure TUART2B_U2BSTA.clearURXEN; inline;
  34692. begin
  34693. pTDefRegMap(@Self)^.clr := $00001000;
  34694. end;
  34695. procedure TUART2B_U2BSTA.setURXEN(thebits : TBits_1); inline;
  34696. begin
  34697. if thebits = 0 then
  34698. pTDefRegMap(@Self)^.clr := $00001000
  34699. else
  34700. pTDefRegMap(@Self)^.&set := $00001000;
  34701. end;
  34702. function TUART2B_U2BSTA.getURXEN : TBits_1; inline;
  34703. begin
  34704. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34705. end;
  34706. procedure TUART2B_U2BSTA.setUTXINV; inline;
  34707. begin
  34708. pTDefRegMap(@Self)^.&set := $00002000;
  34709. end;
  34710. procedure TUART2B_U2BSTA.clearUTXINV; inline;
  34711. begin
  34712. pTDefRegMap(@Self)^.clr := $00002000;
  34713. end;
  34714. procedure TUART2B_U2BSTA.setUTXINV(thebits : TBits_1); inline;
  34715. begin
  34716. if thebits = 0 then
  34717. pTDefRegMap(@Self)^.clr := $00002000
  34718. else
  34719. pTDefRegMap(@Self)^.&set := $00002000;
  34720. end;
  34721. function TUART2B_U2BSTA.getUTXINV : TBits_1; inline;
  34722. begin
  34723. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34724. end;
  34725. procedure TUART2B_U2BSTA.setUTXISEL(thebits : TBits_2); inline;
  34726. begin
  34727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34728. end;
  34729. function TUART2B_U2BSTA.getUTXISEL : TBits_2; inline;
  34730. begin
  34731. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34732. end;
  34733. procedure TUART2B_U2BSTA.setADDR(thebits : TBits_8); inline;
  34734. begin
  34735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34736. end;
  34737. function TUART2B_U2BSTA.getADDR : TBits_8; inline;
  34738. begin
  34739. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34740. end;
  34741. procedure TUART2B_U2BSTA.setADM_EN; inline;
  34742. begin
  34743. pTDefRegMap(@Self)^.&set := $01000000;
  34744. end;
  34745. procedure TUART2B_U2BSTA.clearADM_EN; inline;
  34746. begin
  34747. pTDefRegMap(@Self)^.clr := $01000000;
  34748. end;
  34749. procedure TUART2B_U2BSTA.setADM_EN(thebits : TBits_1); inline;
  34750. begin
  34751. if thebits = 0 then
  34752. pTDefRegMap(@Self)^.clr := $01000000
  34753. else
  34754. pTDefRegMap(@Self)^.&set := $01000000;
  34755. end;
  34756. function TUART2B_U2BSTA.getADM_EN : TBits_1; inline;
  34757. begin
  34758. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34759. end;
  34760. procedure TUART2B_U2BSTA.setURXISEL0; inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.&set := $00000040;
  34763. end;
  34764. procedure TUART2B_U2BSTA.clearURXISEL0; inline;
  34765. begin
  34766. pTDefRegMap(@Self)^.clr := $00000040;
  34767. end;
  34768. procedure TUART2B_U2BSTA.setURXISEL0(thebits : TBits_1); inline;
  34769. begin
  34770. if thebits = 0 then
  34771. pTDefRegMap(@Self)^.clr := $00000040
  34772. else
  34773. pTDefRegMap(@Self)^.&set := $00000040;
  34774. end;
  34775. function TUART2B_U2BSTA.getURXISEL0 : TBits_1; inline;
  34776. begin
  34777. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34778. end;
  34779. procedure TUART2B_U2BSTA.setURXISEL1; inline;
  34780. begin
  34781. pTDefRegMap(@Self)^.&set := $00000080;
  34782. end;
  34783. procedure TUART2B_U2BSTA.clearURXISEL1; inline;
  34784. begin
  34785. pTDefRegMap(@Self)^.clr := $00000080;
  34786. end;
  34787. procedure TUART2B_U2BSTA.setURXISEL1(thebits : TBits_1); inline;
  34788. begin
  34789. if thebits = 0 then
  34790. pTDefRegMap(@Self)^.clr := $00000080
  34791. else
  34792. pTDefRegMap(@Self)^.&set := $00000080;
  34793. end;
  34794. function TUART2B_U2BSTA.getURXISEL1 : TBits_1; inline;
  34795. begin
  34796. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34797. end;
  34798. procedure TUART2B_U2BSTA.setUTXISEL0; inline;
  34799. begin
  34800. pTDefRegMap(@Self)^.&set := $00004000;
  34801. end;
  34802. procedure TUART2B_U2BSTA.clearUTXISEL0; inline;
  34803. begin
  34804. pTDefRegMap(@Self)^.clr := $00004000;
  34805. end;
  34806. procedure TUART2B_U2BSTA.setUTXISEL0(thebits : TBits_1); inline;
  34807. begin
  34808. if thebits = 0 then
  34809. pTDefRegMap(@Self)^.clr := $00004000
  34810. else
  34811. pTDefRegMap(@Self)^.&set := $00004000;
  34812. end;
  34813. function TUART2B_U2BSTA.getUTXISEL0 : TBits_1; inline;
  34814. begin
  34815. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34816. end;
  34817. procedure TUART2B_U2BSTA.setUTXISEL1; inline;
  34818. begin
  34819. pTDefRegMap(@Self)^.&set := $00008000;
  34820. end;
  34821. procedure TUART2B_U2BSTA.clearUTXISEL1; inline;
  34822. begin
  34823. pTDefRegMap(@Self)^.clr := $00008000;
  34824. end;
  34825. procedure TUART2B_U2BSTA.setUTXISEL1(thebits : TBits_1); inline;
  34826. begin
  34827. if thebits = 0 then
  34828. pTDefRegMap(@Self)^.clr := $00008000
  34829. else
  34830. pTDefRegMap(@Self)^.&set := $00008000;
  34831. end;
  34832. function TUART2B_U2BSTA.getUTXISEL1 : TBits_1; inline;
  34833. begin
  34834. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34835. end;
  34836. procedure TUART2B_U2BSTA.setUTXSEL(thebits : TBits_2); inline;
  34837. begin
  34838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34839. end;
  34840. function TUART2B_U2BSTA.getUTXSEL : TBits_2; inline;
  34841. begin
  34842. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34843. end;
  34844. procedure TUART2B_U2BSTA.setw(thebits : TBits_32); inline;
  34845. begin
  34846. pTDefRegMap(@Self)^.val := thebits;
  34847. end;
  34848. function TUART2B_U2BSTA.getw : TBits_32; inline;
  34849. begin
  34850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34851. end;
  34852. procedure TUART2B_U6STA.setURXDA; inline;
  34853. begin
  34854. pTDefRegMap(@Self)^.&set := $00000001;
  34855. end;
  34856. procedure TUART2B_U6STA.clearURXDA; inline;
  34857. begin
  34858. pTDefRegMap(@Self)^.clr := $00000001;
  34859. end;
  34860. procedure TUART2B_U6STA.setURXDA(thebits : TBits_1); inline;
  34861. begin
  34862. if thebits = 0 then
  34863. pTDefRegMap(@Self)^.clr := $00000001
  34864. else
  34865. pTDefRegMap(@Self)^.&set := $00000001;
  34866. end;
  34867. function TUART2B_U6STA.getURXDA : TBits_1; inline;
  34868. begin
  34869. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34870. end;
  34871. procedure TUART2B_U6STA.setOERR; inline;
  34872. begin
  34873. pTDefRegMap(@Self)^.&set := $00000002;
  34874. end;
  34875. procedure TUART2B_U6STA.clearOERR; inline;
  34876. begin
  34877. pTDefRegMap(@Self)^.clr := $00000002;
  34878. end;
  34879. procedure TUART2B_U6STA.setOERR(thebits : TBits_1); inline;
  34880. begin
  34881. if thebits = 0 then
  34882. pTDefRegMap(@Self)^.clr := $00000002
  34883. else
  34884. pTDefRegMap(@Self)^.&set := $00000002;
  34885. end;
  34886. function TUART2B_U6STA.getOERR : TBits_1; inline;
  34887. begin
  34888. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34889. end;
  34890. procedure TUART2B_U6STA.setFERR; inline;
  34891. begin
  34892. pTDefRegMap(@Self)^.&set := $00000004;
  34893. end;
  34894. procedure TUART2B_U6STA.clearFERR; inline;
  34895. begin
  34896. pTDefRegMap(@Self)^.clr := $00000004;
  34897. end;
  34898. procedure TUART2B_U6STA.setFERR(thebits : TBits_1); inline;
  34899. begin
  34900. if thebits = 0 then
  34901. pTDefRegMap(@Self)^.clr := $00000004
  34902. else
  34903. pTDefRegMap(@Self)^.&set := $00000004;
  34904. end;
  34905. function TUART2B_U6STA.getFERR : TBits_1; inline;
  34906. begin
  34907. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34908. end;
  34909. procedure TUART2B_U6STA.setPERR; inline;
  34910. begin
  34911. pTDefRegMap(@Self)^.&set := $00000008;
  34912. end;
  34913. procedure TUART2B_U6STA.clearPERR; inline;
  34914. begin
  34915. pTDefRegMap(@Self)^.clr := $00000008;
  34916. end;
  34917. procedure TUART2B_U6STA.setPERR(thebits : TBits_1); inline;
  34918. begin
  34919. if thebits = 0 then
  34920. pTDefRegMap(@Self)^.clr := $00000008
  34921. else
  34922. pTDefRegMap(@Self)^.&set := $00000008;
  34923. end;
  34924. function TUART2B_U6STA.getPERR : TBits_1; inline;
  34925. begin
  34926. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34927. end;
  34928. procedure TUART2B_U6STA.setRIDLE; inline;
  34929. begin
  34930. pTDefRegMap(@Self)^.&set := $00000010;
  34931. end;
  34932. procedure TUART2B_U6STA.clearRIDLE; inline;
  34933. begin
  34934. pTDefRegMap(@Self)^.clr := $00000010;
  34935. end;
  34936. procedure TUART2B_U6STA.setRIDLE(thebits : TBits_1); inline;
  34937. begin
  34938. if thebits = 0 then
  34939. pTDefRegMap(@Self)^.clr := $00000010
  34940. else
  34941. pTDefRegMap(@Self)^.&set := $00000010;
  34942. end;
  34943. function TUART2B_U6STA.getRIDLE : TBits_1; inline;
  34944. begin
  34945. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34946. end;
  34947. procedure TUART2B_U6STA.setADDEN; inline;
  34948. begin
  34949. pTDefRegMap(@Self)^.&set := $00000020;
  34950. end;
  34951. procedure TUART2B_U6STA.clearADDEN; inline;
  34952. begin
  34953. pTDefRegMap(@Self)^.clr := $00000020;
  34954. end;
  34955. procedure TUART2B_U6STA.setADDEN(thebits : TBits_1); inline;
  34956. begin
  34957. if thebits = 0 then
  34958. pTDefRegMap(@Self)^.clr := $00000020
  34959. else
  34960. pTDefRegMap(@Self)^.&set := $00000020;
  34961. end;
  34962. function TUART2B_U6STA.getADDEN : TBits_1; inline;
  34963. begin
  34964. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34965. end;
  34966. procedure TUART2B_U6STA.setURXISEL(thebits : TBits_2); inline;
  34967. begin
  34968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34969. end;
  34970. function TUART2B_U6STA.getURXISEL : TBits_2; inline;
  34971. begin
  34972. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34973. end;
  34974. procedure TUART2B_U6STA.setTRMT; inline;
  34975. begin
  34976. pTDefRegMap(@Self)^.&set := $00000100;
  34977. end;
  34978. procedure TUART2B_U6STA.clearTRMT; inline;
  34979. begin
  34980. pTDefRegMap(@Self)^.clr := $00000100;
  34981. end;
  34982. procedure TUART2B_U6STA.setTRMT(thebits : TBits_1); inline;
  34983. begin
  34984. if thebits = 0 then
  34985. pTDefRegMap(@Self)^.clr := $00000100
  34986. else
  34987. pTDefRegMap(@Self)^.&set := $00000100;
  34988. end;
  34989. function TUART2B_U6STA.getTRMT : TBits_1; inline;
  34990. begin
  34991. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34992. end;
  34993. procedure TUART2B_U6STA.setUTXBF; inline;
  34994. begin
  34995. pTDefRegMap(@Self)^.&set := $00000200;
  34996. end;
  34997. procedure TUART2B_U6STA.clearUTXBF; inline;
  34998. begin
  34999. pTDefRegMap(@Self)^.clr := $00000200;
  35000. end;
  35001. procedure TUART2B_U6STA.setUTXBF(thebits : TBits_1); inline;
  35002. begin
  35003. if thebits = 0 then
  35004. pTDefRegMap(@Self)^.clr := $00000200
  35005. else
  35006. pTDefRegMap(@Self)^.&set := $00000200;
  35007. end;
  35008. function TUART2B_U6STA.getUTXBF : TBits_1; inline;
  35009. begin
  35010. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35011. end;
  35012. procedure TUART2B_U6STA.setUTXEN; inline;
  35013. begin
  35014. pTDefRegMap(@Self)^.&set := $00000400;
  35015. end;
  35016. procedure TUART2B_U6STA.clearUTXEN; inline;
  35017. begin
  35018. pTDefRegMap(@Self)^.clr := $00000400;
  35019. end;
  35020. procedure TUART2B_U6STA.setUTXEN(thebits : TBits_1); inline;
  35021. begin
  35022. if thebits = 0 then
  35023. pTDefRegMap(@Self)^.clr := $00000400
  35024. else
  35025. pTDefRegMap(@Self)^.&set := $00000400;
  35026. end;
  35027. function TUART2B_U6STA.getUTXEN : TBits_1; inline;
  35028. begin
  35029. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35030. end;
  35031. procedure TUART2B_U6STA.setUTXBRK; inline;
  35032. begin
  35033. pTDefRegMap(@Self)^.&set := $00000800;
  35034. end;
  35035. procedure TUART2B_U6STA.clearUTXBRK; inline;
  35036. begin
  35037. pTDefRegMap(@Self)^.clr := $00000800;
  35038. end;
  35039. procedure TUART2B_U6STA.setUTXBRK(thebits : TBits_1); inline;
  35040. begin
  35041. if thebits = 0 then
  35042. pTDefRegMap(@Self)^.clr := $00000800
  35043. else
  35044. pTDefRegMap(@Self)^.&set := $00000800;
  35045. end;
  35046. function TUART2B_U6STA.getUTXBRK : TBits_1; inline;
  35047. begin
  35048. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35049. end;
  35050. procedure TUART2B_U6STA.setURXEN; inline;
  35051. begin
  35052. pTDefRegMap(@Self)^.&set := $00001000;
  35053. end;
  35054. procedure TUART2B_U6STA.clearURXEN; inline;
  35055. begin
  35056. pTDefRegMap(@Self)^.clr := $00001000;
  35057. end;
  35058. procedure TUART2B_U6STA.setURXEN(thebits : TBits_1); inline;
  35059. begin
  35060. if thebits = 0 then
  35061. pTDefRegMap(@Self)^.clr := $00001000
  35062. else
  35063. pTDefRegMap(@Self)^.&set := $00001000;
  35064. end;
  35065. function TUART2B_U6STA.getURXEN : TBits_1; inline;
  35066. begin
  35067. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35068. end;
  35069. procedure TUART2B_U6STA.setUTXINV; inline;
  35070. begin
  35071. pTDefRegMap(@Self)^.&set := $00002000;
  35072. end;
  35073. procedure TUART2B_U6STA.clearUTXINV; inline;
  35074. begin
  35075. pTDefRegMap(@Self)^.clr := $00002000;
  35076. end;
  35077. procedure TUART2B_U6STA.setUTXINV(thebits : TBits_1); inline;
  35078. begin
  35079. if thebits = 0 then
  35080. pTDefRegMap(@Self)^.clr := $00002000
  35081. else
  35082. pTDefRegMap(@Self)^.&set := $00002000;
  35083. end;
  35084. function TUART2B_U6STA.getUTXINV : TBits_1; inline;
  35085. begin
  35086. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35087. end;
  35088. procedure TUART2B_U6STA.setUTXISEL(thebits : TBits_2); inline;
  35089. begin
  35090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35091. end;
  35092. function TUART2B_U6STA.getUTXISEL : TBits_2; inline;
  35093. begin
  35094. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35095. end;
  35096. procedure TUART2B_U6STA.setADDR(thebits : TBits_8); inline;
  35097. begin
  35098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35099. end;
  35100. function TUART2B_U6STA.getADDR : TBits_8; inline;
  35101. begin
  35102. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35103. end;
  35104. procedure TUART2B_U6STA.setADM_EN; inline;
  35105. begin
  35106. pTDefRegMap(@Self)^.&set := $01000000;
  35107. end;
  35108. procedure TUART2B_U6STA.clearADM_EN; inline;
  35109. begin
  35110. pTDefRegMap(@Self)^.clr := $01000000;
  35111. end;
  35112. procedure TUART2B_U6STA.setADM_EN(thebits : TBits_1); inline;
  35113. begin
  35114. if thebits = 0 then
  35115. pTDefRegMap(@Self)^.clr := $01000000
  35116. else
  35117. pTDefRegMap(@Self)^.&set := $01000000;
  35118. end;
  35119. function TUART2B_U6STA.getADM_EN : TBits_1; inline;
  35120. begin
  35121. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35122. end;
  35123. procedure TUART2B_U6STA.setURXISEL0; inline;
  35124. begin
  35125. pTDefRegMap(@Self)^.&set := $00000040;
  35126. end;
  35127. procedure TUART2B_U6STA.clearURXISEL0; inline;
  35128. begin
  35129. pTDefRegMap(@Self)^.clr := $00000040;
  35130. end;
  35131. procedure TUART2B_U6STA.setURXISEL0(thebits : TBits_1); inline;
  35132. begin
  35133. if thebits = 0 then
  35134. pTDefRegMap(@Self)^.clr := $00000040
  35135. else
  35136. pTDefRegMap(@Self)^.&set := $00000040;
  35137. end;
  35138. function TUART2B_U6STA.getURXISEL0 : TBits_1; inline;
  35139. begin
  35140. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35141. end;
  35142. procedure TUART2B_U6STA.setURXISEL1; inline;
  35143. begin
  35144. pTDefRegMap(@Self)^.&set := $00000080;
  35145. end;
  35146. procedure TUART2B_U6STA.clearURXISEL1; inline;
  35147. begin
  35148. pTDefRegMap(@Self)^.clr := $00000080;
  35149. end;
  35150. procedure TUART2B_U6STA.setURXISEL1(thebits : TBits_1); inline;
  35151. begin
  35152. if thebits = 0 then
  35153. pTDefRegMap(@Self)^.clr := $00000080
  35154. else
  35155. pTDefRegMap(@Self)^.&set := $00000080;
  35156. end;
  35157. function TUART2B_U6STA.getURXISEL1 : TBits_1; inline;
  35158. begin
  35159. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35160. end;
  35161. procedure TUART2B_U6STA.setUTXISEL0; inline;
  35162. begin
  35163. pTDefRegMap(@Self)^.&set := $00004000;
  35164. end;
  35165. procedure TUART2B_U6STA.clearUTXISEL0; inline;
  35166. begin
  35167. pTDefRegMap(@Self)^.clr := $00004000;
  35168. end;
  35169. procedure TUART2B_U6STA.setUTXISEL0(thebits : TBits_1); inline;
  35170. begin
  35171. if thebits = 0 then
  35172. pTDefRegMap(@Self)^.clr := $00004000
  35173. else
  35174. pTDefRegMap(@Self)^.&set := $00004000;
  35175. end;
  35176. function TUART2B_U6STA.getUTXISEL0 : TBits_1; inline;
  35177. begin
  35178. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35179. end;
  35180. procedure TUART2B_U6STA.setUTXISEL1; inline;
  35181. begin
  35182. pTDefRegMap(@Self)^.&set := $00008000;
  35183. end;
  35184. procedure TUART2B_U6STA.clearUTXISEL1; inline;
  35185. begin
  35186. pTDefRegMap(@Self)^.clr := $00008000;
  35187. end;
  35188. procedure TUART2B_U6STA.setUTXISEL1(thebits : TBits_1); inline;
  35189. begin
  35190. if thebits = 0 then
  35191. pTDefRegMap(@Self)^.clr := $00008000
  35192. else
  35193. pTDefRegMap(@Self)^.&set := $00008000;
  35194. end;
  35195. function TUART2B_U6STA.getUTXISEL1 : TBits_1; inline;
  35196. begin
  35197. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35198. end;
  35199. procedure TUART2B_U6STA.setUTXSEL(thebits : TBits_2); inline;
  35200. begin
  35201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35202. end;
  35203. function TUART2B_U6STA.getUTXSEL : TBits_2; inline;
  35204. begin
  35205. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35206. end;
  35207. procedure TUART2B_U6STA.setw(thebits : TBits_32); inline;
  35208. begin
  35209. pTDefRegMap(@Self)^.val := thebits;
  35210. end;
  35211. function TUART2B_U6STA.getw : TBits_32; inline;
  35212. begin
  35213. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35214. end;
  35215. procedure TUART3A_U2MODE.setSTSEL; inline;
  35216. begin
  35217. pTDefRegMap(@Self)^.&set := $00000001;
  35218. end;
  35219. procedure TUART3A_U2MODE.clearSTSEL; inline;
  35220. begin
  35221. pTDefRegMap(@Self)^.clr := $00000001;
  35222. end;
  35223. procedure TUART3A_U2MODE.setSTSEL(thebits : TBits_1); inline;
  35224. begin
  35225. if thebits = 0 then
  35226. pTDefRegMap(@Self)^.clr := $00000001
  35227. else
  35228. pTDefRegMap(@Self)^.&set := $00000001;
  35229. end;
  35230. function TUART3A_U2MODE.getSTSEL : TBits_1; inline;
  35231. begin
  35232. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35233. end;
  35234. procedure TUART3A_U2MODE.setPDSEL(thebits : TBits_2); inline;
  35235. begin
  35236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35237. end;
  35238. function TUART3A_U2MODE.getPDSEL : TBits_2; inline;
  35239. begin
  35240. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35241. end;
  35242. procedure TUART3A_U2MODE.setBRGH; inline;
  35243. begin
  35244. pTDefRegMap(@Self)^.&set := $00000008;
  35245. end;
  35246. procedure TUART3A_U2MODE.clearBRGH; inline;
  35247. begin
  35248. pTDefRegMap(@Self)^.clr := $00000008;
  35249. end;
  35250. procedure TUART3A_U2MODE.setBRGH(thebits : TBits_1); inline;
  35251. begin
  35252. if thebits = 0 then
  35253. pTDefRegMap(@Self)^.clr := $00000008
  35254. else
  35255. pTDefRegMap(@Self)^.&set := $00000008;
  35256. end;
  35257. function TUART3A_U2MODE.getBRGH : TBits_1; inline;
  35258. begin
  35259. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35260. end;
  35261. procedure TUART3A_U2MODE.setRXINV; inline;
  35262. begin
  35263. pTDefRegMap(@Self)^.&set := $00000010;
  35264. end;
  35265. procedure TUART3A_U2MODE.clearRXINV; inline;
  35266. begin
  35267. pTDefRegMap(@Self)^.clr := $00000010;
  35268. end;
  35269. procedure TUART3A_U2MODE.setRXINV(thebits : TBits_1); inline;
  35270. begin
  35271. if thebits = 0 then
  35272. pTDefRegMap(@Self)^.clr := $00000010
  35273. else
  35274. pTDefRegMap(@Self)^.&set := $00000010;
  35275. end;
  35276. function TUART3A_U2MODE.getRXINV : TBits_1; inline;
  35277. begin
  35278. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35279. end;
  35280. procedure TUART3A_U2MODE.setABAUD; inline;
  35281. begin
  35282. pTDefRegMap(@Self)^.&set := $00000020;
  35283. end;
  35284. procedure TUART3A_U2MODE.clearABAUD; inline;
  35285. begin
  35286. pTDefRegMap(@Self)^.clr := $00000020;
  35287. end;
  35288. procedure TUART3A_U2MODE.setABAUD(thebits : TBits_1); inline;
  35289. begin
  35290. if thebits = 0 then
  35291. pTDefRegMap(@Self)^.clr := $00000020
  35292. else
  35293. pTDefRegMap(@Self)^.&set := $00000020;
  35294. end;
  35295. function TUART3A_U2MODE.getABAUD : TBits_1; inline;
  35296. begin
  35297. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35298. end;
  35299. procedure TUART3A_U2MODE.setLPBACK; inline;
  35300. begin
  35301. pTDefRegMap(@Self)^.&set := $00000040;
  35302. end;
  35303. procedure TUART3A_U2MODE.clearLPBACK; inline;
  35304. begin
  35305. pTDefRegMap(@Self)^.clr := $00000040;
  35306. end;
  35307. procedure TUART3A_U2MODE.setLPBACK(thebits : TBits_1); inline;
  35308. begin
  35309. if thebits = 0 then
  35310. pTDefRegMap(@Self)^.clr := $00000040
  35311. else
  35312. pTDefRegMap(@Self)^.&set := $00000040;
  35313. end;
  35314. function TUART3A_U2MODE.getLPBACK : TBits_1; inline;
  35315. begin
  35316. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35317. end;
  35318. procedure TUART3A_U2MODE.setWAKE; inline;
  35319. begin
  35320. pTDefRegMap(@Self)^.&set := $00000080;
  35321. end;
  35322. procedure TUART3A_U2MODE.clearWAKE; inline;
  35323. begin
  35324. pTDefRegMap(@Self)^.clr := $00000080;
  35325. end;
  35326. procedure TUART3A_U2MODE.setWAKE(thebits : TBits_1); inline;
  35327. begin
  35328. if thebits = 0 then
  35329. pTDefRegMap(@Self)^.clr := $00000080
  35330. else
  35331. pTDefRegMap(@Self)^.&set := $00000080;
  35332. end;
  35333. function TUART3A_U2MODE.getWAKE : TBits_1; inline;
  35334. begin
  35335. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35336. end;
  35337. procedure TUART3A_U2MODE.setUEN(thebits : TBits_2); inline;
  35338. begin
  35339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35340. end;
  35341. function TUART3A_U2MODE.getUEN : TBits_2; inline;
  35342. begin
  35343. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35344. end;
  35345. procedure TUART3A_U2MODE.setRTSMD; inline;
  35346. begin
  35347. pTDefRegMap(@Self)^.&set := $00000800;
  35348. end;
  35349. procedure TUART3A_U2MODE.clearRTSMD; inline;
  35350. begin
  35351. pTDefRegMap(@Self)^.clr := $00000800;
  35352. end;
  35353. procedure TUART3A_U2MODE.setRTSMD(thebits : TBits_1); inline;
  35354. begin
  35355. if thebits = 0 then
  35356. pTDefRegMap(@Self)^.clr := $00000800
  35357. else
  35358. pTDefRegMap(@Self)^.&set := $00000800;
  35359. end;
  35360. function TUART3A_U2MODE.getRTSMD : TBits_1; inline;
  35361. begin
  35362. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35363. end;
  35364. procedure TUART3A_U2MODE.setIREN; inline;
  35365. begin
  35366. pTDefRegMap(@Self)^.&set := $00001000;
  35367. end;
  35368. procedure TUART3A_U2MODE.clearIREN; inline;
  35369. begin
  35370. pTDefRegMap(@Self)^.clr := $00001000;
  35371. end;
  35372. procedure TUART3A_U2MODE.setIREN(thebits : TBits_1); inline;
  35373. begin
  35374. if thebits = 0 then
  35375. pTDefRegMap(@Self)^.clr := $00001000
  35376. else
  35377. pTDefRegMap(@Self)^.&set := $00001000;
  35378. end;
  35379. function TUART3A_U2MODE.getIREN : TBits_1; inline;
  35380. begin
  35381. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35382. end;
  35383. procedure TUART3A_U2MODE.setSIDL; inline;
  35384. begin
  35385. pTDefRegMap(@Self)^.&set := $00002000;
  35386. end;
  35387. procedure TUART3A_U2MODE.clearSIDL; inline;
  35388. begin
  35389. pTDefRegMap(@Self)^.clr := $00002000;
  35390. end;
  35391. procedure TUART3A_U2MODE.setSIDL(thebits : TBits_1); inline;
  35392. begin
  35393. if thebits = 0 then
  35394. pTDefRegMap(@Self)^.clr := $00002000
  35395. else
  35396. pTDefRegMap(@Self)^.&set := $00002000;
  35397. end;
  35398. function TUART3A_U2MODE.getSIDL : TBits_1; inline;
  35399. begin
  35400. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35401. end;
  35402. procedure TUART3A_U2MODE.setON; inline;
  35403. begin
  35404. pTDefRegMap(@Self)^.&set := $00008000;
  35405. end;
  35406. procedure TUART3A_U2MODE.clearON; inline;
  35407. begin
  35408. pTDefRegMap(@Self)^.clr := $00008000;
  35409. end;
  35410. procedure TUART3A_U2MODE.setON(thebits : TBits_1); inline;
  35411. begin
  35412. if thebits = 0 then
  35413. pTDefRegMap(@Self)^.clr := $00008000
  35414. else
  35415. pTDefRegMap(@Self)^.&set := $00008000;
  35416. end;
  35417. function TUART3A_U2MODE.getON : TBits_1; inline;
  35418. begin
  35419. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35420. end;
  35421. procedure TUART3A_U2MODE.setPDSEL0; inline;
  35422. begin
  35423. pTDefRegMap(@Self)^.&set := $00000002;
  35424. end;
  35425. procedure TUART3A_U2MODE.clearPDSEL0; inline;
  35426. begin
  35427. pTDefRegMap(@Self)^.clr := $00000002;
  35428. end;
  35429. procedure TUART3A_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  35430. begin
  35431. if thebits = 0 then
  35432. pTDefRegMap(@Self)^.clr := $00000002
  35433. else
  35434. pTDefRegMap(@Self)^.&set := $00000002;
  35435. end;
  35436. function TUART3A_U2MODE.getPDSEL0 : TBits_1; inline;
  35437. begin
  35438. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35439. end;
  35440. procedure TUART3A_U2MODE.setPDSEL1; inline;
  35441. begin
  35442. pTDefRegMap(@Self)^.&set := $00000004;
  35443. end;
  35444. procedure TUART3A_U2MODE.clearPDSEL1; inline;
  35445. begin
  35446. pTDefRegMap(@Self)^.clr := $00000004;
  35447. end;
  35448. procedure TUART3A_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  35449. begin
  35450. if thebits = 0 then
  35451. pTDefRegMap(@Self)^.clr := $00000004
  35452. else
  35453. pTDefRegMap(@Self)^.&set := $00000004;
  35454. end;
  35455. function TUART3A_U2MODE.getPDSEL1 : TBits_1; inline;
  35456. begin
  35457. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35458. end;
  35459. procedure TUART3A_U2MODE.setUEN0; inline;
  35460. begin
  35461. pTDefRegMap(@Self)^.&set := $00000100;
  35462. end;
  35463. procedure TUART3A_U2MODE.clearUEN0; inline;
  35464. begin
  35465. pTDefRegMap(@Self)^.clr := $00000100;
  35466. end;
  35467. procedure TUART3A_U2MODE.setUEN0(thebits : TBits_1); inline;
  35468. begin
  35469. if thebits = 0 then
  35470. pTDefRegMap(@Self)^.clr := $00000100
  35471. else
  35472. pTDefRegMap(@Self)^.&set := $00000100;
  35473. end;
  35474. function TUART3A_U2MODE.getUEN0 : TBits_1; inline;
  35475. begin
  35476. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35477. end;
  35478. procedure TUART3A_U2MODE.setUEN1; inline;
  35479. begin
  35480. pTDefRegMap(@Self)^.&set := $00000200;
  35481. end;
  35482. procedure TUART3A_U2MODE.clearUEN1; inline;
  35483. begin
  35484. pTDefRegMap(@Self)^.clr := $00000200;
  35485. end;
  35486. procedure TUART3A_U2MODE.setUEN1(thebits : TBits_1); inline;
  35487. begin
  35488. if thebits = 0 then
  35489. pTDefRegMap(@Self)^.clr := $00000200
  35490. else
  35491. pTDefRegMap(@Self)^.&set := $00000200;
  35492. end;
  35493. function TUART3A_U2MODE.getUEN1 : TBits_1; inline;
  35494. begin
  35495. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35496. end;
  35497. procedure TUART3A_U2MODE.setUSIDL; inline;
  35498. begin
  35499. pTDefRegMap(@Self)^.&set := $00002000;
  35500. end;
  35501. procedure TUART3A_U2MODE.clearUSIDL; inline;
  35502. begin
  35503. pTDefRegMap(@Self)^.clr := $00002000;
  35504. end;
  35505. procedure TUART3A_U2MODE.setUSIDL(thebits : TBits_1); inline;
  35506. begin
  35507. if thebits = 0 then
  35508. pTDefRegMap(@Self)^.clr := $00002000
  35509. else
  35510. pTDefRegMap(@Self)^.&set := $00002000;
  35511. end;
  35512. function TUART3A_U2MODE.getUSIDL : TBits_1; inline;
  35513. begin
  35514. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35515. end;
  35516. procedure TUART3A_U2MODE.setUARTEN; inline;
  35517. begin
  35518. pTDefRegMap(@Self)^.&set := $00008000;
  35519. end;
  35520. procedure TUART3A_U2MODE.clearUARTEN; inline;
  35521. begin
  35522. pTDefRegMap(@Self)^.clr := $00008000;
  35523. end;
  35524. procedure TUART3A_U2MODE.setUARTEN(thebits : TBits_1); inline;
  35525. begin
  35526. if thebits = 0 then
  35527. pTDefRegMap(@Self)^.clr := $00008000
  35528. else
  35529. pTDefRegMap(@Self)^.&set := $00008000;
  35530. end;
  35531. function TUART3A_U2MODE.getUARTEN : TBits_1; inline;
  35532. begin
  35533. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35534. end;
  35535. procedure TUART3A_U2MODE.setw(thebits : TBits_32); inline;
  35536. begin
  35537. pTDefRegMap(@Self)^.val := thebits;
  35538. end;
  35539. function TUART3A_U2MODE.getw : TBits_32; inline;
  35540. begin
  35541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35542. end;
  35543. procedure TUART3A_U3AMODE.setSTSEL; inline;
  35544. begin
  35545. pTDefRegMap(@Self)^.&set := $00000001;
  35546. end;
  35547. procedure TUART3A_U3AMODE.clearSTSEL; inline;
  35548. begin
  35549. pTDefRegMap(@Self)^.clr := $00000001;
  35550. end;
  35551. procedure TUART3A_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  35552. begin
  35553. if thebits = 0 then
  35554. pTDefRegMap(@Self)^.clr := $00000001
  35555. else
  35556. pTDefRegMap(@Self)^.&set := $00000001;
  35557. end;
  35558. function TUART3A_U3AMODE.getSTSEL : TBits_1; inline;
  35559. begin
  35560. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35561. end;
  35562. procedure TUART3A_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  35563. begin
  35564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35565. end;
  35566. function TUART3A_U3AMODE.getPDSEL : TBits_2; inline;
  35567. begin
  35568. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35569. end;
  35570. procedure TUART3A_U3AMODE.setBRGH; inline;
  35571. begin
  35572. pTDefRegMap(@Self)^.&set := $00000008;
  35573. end;
  35574. procedure TUART3A_U3AMODE.clearBRGH; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.clr := $00000008;
  35577. end;
  35578. procedure TUART3A_U3AMODE.setBRGH(thebits : TBits_1); inline;
  35579. begin
  35580. if thebits = 0 then
  35581. pTDefRegMap(@Self)^.clr := $00000008
  35582. else
  35583. pTDefRegMap(@Self)^.&set := $00000008;
  35584. end;
  35585. function TUART3A_U3AMODE.getBRGH : TBits_1; inline;
  35586. begin
  35587. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35588. end;
  35589. procedure TUART3A_U3AMODE.setRXINV; inline;
  35590. begin
  35591. pTDefRegMap(@Self)^.&set := $00000010;
  35592. end;
  35593. procedure TUART3A_U3AMODE.clearRXINV; inline;
  35594. begin
  35595. pTDefRegMap(@Self)^.clr := $00000010;
  35596. end;
  35597. procedure TUART3A_U3AMODE.setRXINV(thebits : TBits_1); inline;
  35598. begin
  35599. if thebits = 0 then
  35600. pTDefRegMap(@Self)^.clr := $00000010
  35601. else
  35602. pTDefRegMap(@Self)^.&set := $00000010;
  35603. end;
  35604. function TUART3A_U3AMODE.getRXINV : TBits_1; inline;
  35605. begin
  35606. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35607. end;
  35608. procedure TUART3A_U3AMODE.setABAUD; inline;
  35609. begin
  35610. pTDefRegMap(@Self)^.&set := $00000020;
  35611. end;
  35612. procedure TUART3A_U3AMODE.clearABAUD; inline;
  35613. begin
  35614. pTDefRegMap(@Self)^.clr := $00000020;
  35615. end;
  35616. procedure TUART3A_U3AMODE.setABAUD(thebits : TBits_1); inline;
  35617. begin
  35618. if thebits = 0 then
  35619. pTDefRegMap(@Self)^.clr := $00000020
  35620. else
  35621. pTDefRegMap(@Self)^.&set := $00000020;
  35622. end;
  35623. function TUART3A_U3AMODE.getABAUD : TBits_1; inline;
  35624. begin
  35625. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35626. end;
  35627. procedure TUART3A_U3AMODE.setLPBACK; inline;
  35628. begin
  35629. pTDefRegMap(@Self)^.&set := $00000040;
  35630. end;
  35631. procedure TUART3A_U3AMODE.clearLPBACK; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.clr := $00000040;
  35634. end;
  35635. procedure TUART3A_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  35636. begin
  35637. if thebits = 0 then
  35638. pTDefRegMap(@Self)^.clr := $00000040
  35639. else
  35640. pTDefRegMap(@Self)^.&set := $00000040;
  35641. end;
  35642. function TUART3A_U3AMODE.getLPBACK : TBits_1; inline;
  35643. begin
  35644. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35645. end;
  35646. procedure TUART3A_U3AMODE.setWAKE; inline;
  35647. begin
  35648. pTDefRegMap(@Self)^.&set := $00000080;
  35649. end;
  35650. procedure TUART3A_U3AMODE.clearWAKE; inline;
  35651. begin
  35652. pTDefRegMap(@Self)^.clr := $00000080;
  35653. end;
  35654. procedure TUART3A_U3AMODE.setWAKE(thebits : TBits_1); inline;
  35655. begin
  35656. if thebits = 0 then
  35657. pTDefRegMap(@Self)^.clr := $00000080
  35658. else
  35659. pTDefRegMap(@Self)^.&set := $00000080;
  35660. end;
  35661. function TUART3A_U3AMODE.getWAKE : TBits_1; inline;
  35662. begin
  35663. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35664. end;
  35665. procedure TUART3A_U3AMODE.setUEN(thebits : TBits_2); inline;
  35666. begin
  35667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35668. end;
  35669. function TUART3A_U3AMODE.getUEN : TBits_2; inline;
  35670. begin
  35671. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35672. end;
  35673. procedure TUART3A_U3AMODE.setRTSMD; inline;
  35674. begin
  35675. pTDefRegMap(@Self)^.&set := $00000800;
  35676. end;
  35677. procedure TUART3A_U3AMODE.clearRTSMD; inline;
  35678. begin
  35679. pTDefRegMap(@Self)^.clr := $00000800;
  35680. end;
  35681. procedure TUART3A_U3AMODE.setRTSMD(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 TUART3A_U3AMODE.getRTSMD : TBits_1; inline;
  35689. begin
  35690. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35691. end;
  35692. procedure TUART3A_U3AMODE.setIREN; inline;
  35693. begin
  35694. pTDefRegMap(@Self)^.&set := $00001000;
  35695. end;
  35696. procedure TUART3A_U3AMODE.clearIREN; inline;
  35697. begin
  35698. pTDefRegMap(@Self)^.clr := $00001000;
  35699. end;
  35700. procedure TUART3A_U3AMODE.setIREN(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 TUART3A_U3AMODE.getIREN : TBits_1; inline;
  35708. begin
  35709. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35710. end;
  35711. procedure TUART3A_U3AMODE.setSIDL; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.&set := $00002000;
  35714. end;
  35715. procedure TUART3A_U3AMODE.clearSIDL; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.clr := $00002000;
  35718. end;
  35719. procedure TUART3A_U3AMODE.setSIDL(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 TUART3A_U3AMODE.getSIDL : TBits_1; inline;
  35727. begin
  35728. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35729. end;
  35730. procedure TUART3A_U3AMODE.setON; inline;
  35731. begin
  35732. pTDefRegMap(@Self)^.&set := $00008000;
  35733. end;
  35734. procedure TUART3A_U3AMODE.clearON; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.clr := $00008000;
  35737. end;
  35738. procedure TUART3A_U3AMODE.setON(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 TUART3A_U3AMODE.getON : TBits_1; inline;
  35746. begin
  35747. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35748. end;
  35749. procedure TUART3A_U3AMODE.setPDSEL0; inline;
  35750. begin
  35751. pTDefRegMap(@Self)^.&set := $00000002;
  35752. end;
  35753. procedure TUART3A_U3AMODE.clearPDSEL0; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.clr := $00000002;
  35756. end;
  35757. procedure TUART3A_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  35758. begin
  35759. if thebits = 0 then
  35760. pTDefRegMap(@Self)^.clr := $00000002
  35761. else
  35762. pTDefRegMap(@Self)^.&set := $00000002;
  35763. end;
  35764. function TUART3A_U3AMODE.getPDSEL0 : TBits_1; inline;
  35765. begin
  35766. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35767. end;
  35768. procedure TUART3A_U3AMODE.setPDSEL1; inline;
  35769. begin
  35770. pTDefRegMap(@Self)^.&set := $00000004;
  35771. end;
  35772. procedure TUART3A_U3AMODE.clearPDSEL1; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.clr := $00000004;
  35775. end;
  35776. procedure TUART3A_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  35777. begin
  35778. if thebits = 0 then
  35779. pTDefRegMap(@Self)^.clr := $00000004
  35780. else
  35781. pTDefRegMap(@Self)^.&set := $00000004;
  35782. end;
  35783. function TUART3A_U3AMODE.getPDSEL1 : TBits_1; inline;
  35784. begin
  35785. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35786. end;
  35787. procedure TUART3A_U3AMODE.setUEN0; inline;
  35788. begin
  35789. pTDefRegMap(@Self)^.&set := $00000100;
  35790. end;
  35791. procedure TUART3A_U3AMODE.clearUEN0; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.clr := $00000100;
  35794. end;
  35795. procedure TUART3A_U3AMODE.setUEN0(thebits : TBits_1); inline;
  35796. begin
  35797. if thebits = 0 then
  35798. pTDefRegMap(@Self)^.clr := $00000100
  35799. else
  35800. pTDefRegMap(@Self)^.&set := $00000100;
  35801. end;
  35802. function TUART3A_U3AMODE.getUEN0 : TBits_1; inline;
  35803. begin
  35804. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35805. end;
  35806. procedure TUART3A_U3AMODE.setUEN1; inline;
  35807. begin
  35808. pTDefRegMap(@Self)^.&set := $00000200;
  35809. end;
  35810. procedure TUART3A_U3AMODE.clearUEN1; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.clr := $00000200;
  35813. end;
  35814. procedure TUART3A_U3AMODE.setUEN1(thebits : TBits_1); inline;
  35815. begin
  35816. if thebits = 0 then
  35817. pTDefRegMap(@Self)^.clr := $00000200
  35818. else
  35819. pTDefRegMap(@Self)^.&set := $00000200;
  35820. end;
  35821. function TUART3A_U3AMODE.getUEN1 : TBits_1; inline;
  35822. begin
  35823. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35824. end;
  35825. procedure TUART3A_U3AMODE.setUSIDL; inline;
  35826. begin
  35827. pTDefRegMap(@Self)^.&set := $00002000;
  35828. end;
  35829. procedure TUART3A_U3AMODE.clearUSIDL; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.clr := $00002000;
  35832. end;
  35833. procedure TUART3A_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  35834. begin
  35835. if thebits = 0 then
  35836. pTDefRegMap(@Self)^.clr := $00002000
  35837. else
  35838. pTDefRegMap(@Self)^.&set := $00002000;
  35839. end;
  35840. function TUART3A_U3AMODE.getUSIDL : TBits_1; inline;
  35841. begin
  35842. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35843. end;
  35844. procedure TUART3A_U3AMODE.setUARTEN; inline;
  35845. begin
  35846. pTDefRegMap(@Self)^.&set := $00008000;
  35847. end;
  35848. procedure TUART3A_U3AMODE.clearUARTEN; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.clr := $00008000;
  35851. end;
  35852. procedure TUART3A_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  35853. begin
  35854. if thebits = 0 then
  35855. pTDefRegMap(@Self)^.clr := $00008000
  35856. else
  35857. pTDefRegMap(@Self)^.&set := $00008000;
  35858. end;
  35859. function TUART3A_U3AMODE.getUARTEN : TBits_1; inline;
  35860. begin
  35861. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35862. end;
  35863. procedure TUART3A_U3AMODE.setw(thebits : TBits_32); inline;
  35864. begin
  35865. pTDefRegMap(@Self)^.val := thebits;
  35866. end;
  35867. function TUART3A_U3AMODE.getw : TBits_32; inline;
  35868. begin
  35869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35870. end;
  35871. procedure TUART3A_U2STA.setURXDA; inline;
  35872. begin
  35873. pTDefRegMap(@Self)^.&set := $00000001;
  35874. end;
  35875. procedure TUART3A_U2STA.clearURXDA; inline;
  35876. begin
  35877. pTDefRegMap(@Self)^.clr := $00000001;
  35878. end;
  35879. procedure TUART3A_U2STA.setURXDA(thebits : TBits_1); inline;
  35880. begin
  35881. if thebits = 0 then
  35882. pTDefRegMap(@Self)^.clr := $00000001
  35883. else
  35884. pTDefRegMap(@Self)^.&set := $00000001;
  35885. end;
  35886. function TUART3A_U2STA.getURXDA : TBits_1; inline;
  35887. begin
  35888. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35889. end;
  35890. procedure TUART3A_U2STA.setOERR; inline;
  35891. begin
  35892. pTDefRegMap(@Self)^.&set := $00000002;
  35893. end;
  35894. procedure TUART3A_U2STA.clearOERR; inline;
  35895. begin
  35896. pTDefRegMap(@Self)^.clr := $00000002;
  35897. end;
  35898. procedure TUART3A_U2STA.setOERR(thebits : TBits_1); inline;
  35899. begin
  35900. if thebits = 0 then
  35901. pTDefRegMap(@Self)^.clr := $00000002
  35902. else
  35903. pTDefRegMap(@Self)^.&set := $00000002;
  35904. end;
  35905. function TUART3A_U2STA.getOERR : TBits_1; inline;
  35906. begin
  35907. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35908. end;
  35909. procedure TUART3A_U2STA.setFERR; inline;
  35910. begin
  35911. pTDefRegMap(@Self)^.&set := $00000004;
  35912. end;
  35913. procedure TUART3A_U2STA.clearFERR; inline;
  35914. begin
  35915. pTDefRegMap(@Self)^.clr := $00000004;
  35916. end;
  35917. procedure TUART3A_U2STA.setFERR(thebits : TBits_1); inline;
  35918. begin
  35919. if thebits = 0 then
  35920. pTDefRegMap(@Self)^.clr := $00000004
  35921. else
  35922. pTDefRegMap(@Self)^.&set := $00000004;
  35923. end;
  35924. function TUART3A_U2STA.getFERR : TBits_1; inline;
  35925. begin
  35926. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35927. end;
  35928. procedure TUART3A_U2STA.setPERR; inline;
  35929. begin
  35930. pTDefRegMap(@Self)^.&set := $00000008;
  35931. end;
  35932. procedure TUART3A_U2STA.clearPERR; inline;
  35933. begin
  35934. pTDefRegMap(@Self)^.clr := $00000008;
  35935. end;
  35936. procedure TUART3A_U2STA.setPERR(thebits : TBits_1); inline;
  35937. begin
  35938. if thebits = 0 then
  35939. pTDefRegMap(@Self)^.clr := $00000008
  35940. else
  35941. pTDefRegMap(@Self)^.&set := $00000008;
  35942. end;
  35943. function TUART3A_U2STA.getPERR : TBits_1; inline;
  35944. begin
  35945. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35946. end;
  35947. procedure TUART3A_U2STA.setRIDLE; inline;
  35948. begin
  35949. pTDefRegMap(@Self)^.&set := $00000010;
  35950. end;
  35951. procedure TUART3A_U2STA.clearRIDLE; inline;
  35952. begin
  35953. pTDefRegMap(@Self)^.clr := $00000010;
  35954. end;
  35955. procedure TUART3A_U2STA.setRIDLE(thebits : TBits_1); inline;
  35956. begin
  35957. if thebits = 0 then
  35958. pTDefRegMap(@Self)^.clr := $00000010
  35959. else
  35960. pTDefRegMap(@Self)^.&set := $00000010;
  35961. end;
  35962. function TUART3A_U2STA.getRIDLE : TBits_1; inline;
  35963. begin
  35964. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35965. end;
  35966. procedure TUART3A_U2STA.setADDEN; inline;
  35967. begin
  35968. pTDefRegMap(@Self)^.&set := $00000020;
  35969. end;
  35970. procedure TUART3A_U2STA.clearADDEN; inline;
  35971. begin
  35972. pTDefRegMap(@Self)^.clr := $00000020;
  35973. end;
  35974. procedure TUART3A_U2STA.setADDEN(thebits : TBits_1); inline;
  35975. begin
  35976. if thebits = 0 then
  35977. pTDefRegMap(@Self)^.clr := $00000020
  35978. else
  35979. pTDefRegMap(@Self)^.&set := $00000020;
  35980. end;
  35981. function TUART3A_U2STA.getADDEN : TBits_1; inline;
  35982. begin
  35983. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35984. end;
  35985. procedure TUART3A_U2STA.setURXISEL(thebits : TBits_2); inline;
  35986. begin
  35987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35988. end;
  35989. function TUART3A_U2STA.getURXISEL : TBits_2; inline;
  35990. begin
  35991. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35992. end;
  35993. procedure TUART3A_U2STA.setTRMT; inline;
  35994. begin
  35995. pTDefRegMap(@Self)^.&set := $00000100;
  35996. end;
  35997. procedure TUART3A_U2STA.clearTRMT; inline;
  35998. begin
  35999. pTDefRegMap(@Self)^.clr := $00000100;
  36000. end;
  36001. procedure TUART3A_U2STA.setTRMT(thebits : TBits_1); inline;
  36002. begin
  36003. if thebits = 0 then
  36004. pTDefRegMap(@Self)^.clr := $00000100
  36005. else
  36006. pTDefRegMap(@Self)^.&set := $00000100;
  36007. end;
  36008. function TUART3A_U2STA.getTRMT : TBits_1; inline;
  36009. begin
  36010. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36011. end;
  36012. procedure TUART3A_U2STA.setUTXBF; inline;
  36013. begin
  36014. pTDefRegMap(@Self)^.&set := $00000200;
  36015. end;
  36016. procedure TUART3A_U2STA.clearUTXBF; inline;
  36017. begin
  36018. pTDefRegMap(@Self)^.clr := $00000200;
  36019. end;
  36020. procedure TUART3A_U2STA.setUTXBF(thebits : TBits_1); inline;
  36021. begin
  36022. if thebits = 0 then
  36023. pTDefRegMap(@Self)^.clr := $00000200
  36024. else
  36025. pTDefRegMap(@Self)^.&set := $00000200;
  36026. end;
  36027. function TUART3A_U2STA.getUTXBF : TBits_1; inline;
  36028. begin
  36029. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36030. end;
  36031. procedure TUART3A_U2STA.setUTXEN; inline;
  36032. begin
  36033. pTDefRegMap(@Self)^.&set := $00000400;
  36034. end;
  36035. procedure TUART3A_U2STA.clearUTXEN; inline;
  36036. begin
  36037. pTDefRegMap(@Self)^.clr := $00000400;
  36038. end;
  36039. procedure TUART3A_U2STA.setUTXEN(thebits : TBits_1); inline;
  36040. begin
  36041. if thebits = 0 then
  36042. pTDefRegMap(@Self)^.clr := $00000400
  36043. else
  36044. pTDefRegMap(@Self)^.&set := $00000400;
  36045. end;
  36046. function TUART3A_U2STA.getUTXEN : TBits_1; inline;
  36047. begin
  36048. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36049. end;
  36050. procedure TUART3A_U2STA.setUTXBRK; inline;
  36051. begin
  36052. pTDefRegMap(@Self)^.&set := $00000800;
  36053. end;
  36054. procedure TUART3A_U2STA.clearUTXBRK; inline;
  36055. begin
  36056. pTDefRegMap(@Self)^.clr := $00000800;
  36057. end;
  36058. procedure TUART3A_U2STA.setUTXBRK(thebits : TBits_1); inline;
  36059. begin
  36060. if thebits = 0 then
  36061. pTDefRegMap(@Self)^.clr := $00000800
  36062. else
  36063. pTDefRegMap(@Self)^.&set := $00000800;
  36064. end;
  36065. function TUART3A_U2STA.getUTXBRK : TBits_1; inline;
  36066. begin
  36067. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36068. end;
  36069. procedure TUART3A_U2STA.setURXEN; inline;
  36070. begin
  36071. pTDefRegMap(@Self)^.&set := $00001000;
  36072. end;
  36073. procedure TUART3A_U2STA.clearURXEN; inline;
  36074. begin
  36075. pTDefRegMap(@Self)^.clr := $00001000;
  36076. end;
  36077. procedure TUART3A_U2STA.setURXEN(thebits : TBits_1); inline;
  36078. begin
  36079. if thebits = 0 then
  36080. pTDefRegMap(@Self)^.clr := $00001000
  36081. else
  36082. pTDefRegMap(@Self)^.&set := $00001000;
  36083. end;
  36084. function TUART3A_U2STA.getURXEN : TBits_1; inline;
  36085. begin
  36086. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36087. end;
  36088. procedure TUART3A_U2STA.setUTXINV; inline;
  36089. begin
  36090. pTDefRegMap(@Self)^.&set := $00002000;
  36091. end;
  36092. procedure TUART3A_U2STA.clearUTXINV; inline;
  36093. begin
  36094. pTDefRegMap(@Self)^.clr := $00002000;
  36095. end;
  36096. procedure TUART3A_U2STA.setUTXINV(thebits : TBits_1); inline;
  36097. begin
  36098. if thebits = 0 then
  36099. pTDefRegMap(@Self)^.clr := $00002000
  36100. else
  36101. pTDefRegMap(@Self)^.&set := $00002000;
  36102. end;
  36103. function TUART3A_U2STA.getUTXINV : TBits_1; inline;
  36104. begin
  36105. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36106. end;
  36107. procedure TUART3A_U2STA.setUTXISEL(thebits : TBits_2); inline;
  36108. begin
  36109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36110. end;
  36111. function TUART3A_U2STA.getUTXISEL : TBits_2; inline;
  36112. begin
  36113. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36114. end;
  36115. procedure TUART3A_U2STA.setADDR(thebits : TBits_8); inline;
  36116. begin
  36117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36118. end;
  36119. function TUART3A_U2STA.getADDR : TBits_8; inline;
  36120. begin
  36121. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36122. end;
  36123. procedure TUART3A_U2STA.setADM_EN; inline;
  36124. begin
  36125. pTDefRegMap(@Self)^.&set := $01000000;
  36126. end;
  36127. procedure TUART3A_U2STA.clearADM_EN; inline;
  36128. begin
  36129. pTDefRegMap(@Self)^.clr := $01000000;
  36130. end;
  36131. procedure TUART3A_U2STA.setADM_EN(thebits : TBits_1); inline;
  36132. begin
  36133. if thebits = 0 then
  36134. pTDefRegMap(@Self)^.clr := $01000000
  36135. else
  36136. pTDefRegMap(@Self)^.&set := $01000000;
  36137. end;
  36138. function TUART3A_U2STA.getADM_EN : TBits_1; inline;
  36139. begin
  36140. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36141. end;
  36142. procedure TUART3A_U2STA.setURXISEL0; inline;
  36143. begin
  36144. pTDefRegMap(@Self)^.&set := $00000040;
  36145. end;
  36146. procedure TUART3A_U2STA.clearURXISEL0; inline;
  36147. begin
  36148. pTDefRegMap(@Self)^.clr := $00000040;
  36149. end;
  36150. procedure TUART3A_U2STA.setURXISEL0(thebits : TBits_1); inline;
  36151. begin
  36152. if thebits = 0 then
  36153. pTDefRegMap(@Self)^.clr := $00000040
  36154. else
  36155. pTDefRegMap(@Self)^.&set := $00000040;
  36156. end;
  36157. function TUART3A_U2STA.getURXISEL0 : TBits_1; inline;
  36158. begin
  36159. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36160. end;
  36161. procedure TUART3A_U2STA.setURXISEL1; inline;
  36162. begin
  36163. pTDefRegMap(@Self)^.&set := $00000080;
  36164. end;
  36165. procedure TUART3A_U2STA.clearURXISEL1; inline;
  36166. begin
  36167. pTDefRegMap(@Self)^.clr := $00000080;
  36168. end;
  36169. procedure TUART3A_U2STA.setURXISEL1(thebits : TBits_1); inline;
  36170. begin
  36171. if thebits = 0 then
  36172. pTDefRegMap(@Self)^.clr := $00000080
  36173. else
  36174. pTDefRegMap(@Self)^.&set := $00000080;
  36175. end;
  36176. function TUART3A_U2STA.getURXISEL1 : TBits_1; inline;
  36177. begin
  36178. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36179. end;
  36180. procedure TUART3A_U2STA.setUTXISEL0; inline;
  36181. begin
  36182. pTDefRegMap(@Self)^.&set := $00004000;
  36183. end;
  36184. procedure TUART3A_U2STA.clearUTXISEL0; inline;
  36185. begin
  36186. pTDefRegMap(@Self)^.clr := $00004000;
  36187. end;
  36188. procedure TUART3A_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  36189. begin
  36190. if thebits = 0 then
  36191. pTDefRegMap(@Self)^.clr := $00004000
  36192. else
  36193. pTDefRegMap(@Self)^.&set := $00004000;
  36194. end;
  36195. function TUART3A_U2STA.getUTXISEL0 : TBits_1; inline;
  36196. begin
  36197. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36198. end;
  36199. procedure TUART3A_U2STA.setUTXISEL1; inline;
  36200. begin
  36201. pTDefRegMap(@Self)^.&set := $00008000;
  36202. end;
  36203. procedure TUART3A_U2STA.clearUTXISEL1; inline;
  36204. begin
  36205. pTDefRegMap(@Self)^.clr := $00008000;
  36206. end;
  36207. procedure TUART3A_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  36208. begin
  36209. if thebits = 0 then
  36210. pTDefRegMap(@Self)^.clr := $00008000
  36211. else
  36212. pTDefRegMap(@Self)^.&set := $00008000;
  36213. end;
  36214. function TUART3A_U2STA.getUTXISEL1 : TBits_1; inline;
  36215. begin
  36216. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36217. end;
  36218. procedure TUART3A_U2STA.setUTXSEL(thebits : TBits_2); inline;
  36219. begin
  36220. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36221. end;
  36222. function TUART3A_U2STA.getUTXSEL : TBits_2; inline;
  36223. begin
  36224. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36225. end;
  36226. procedure TUART3A_U2STA.setw(thebits : TBits_32); inline;
  36227. begin
  36228. pTDefRegMap(@Self)^.val := thebits;
  36229. end;
  36230. function TUART3A_U2STA.getw : TBits_32; inline;
  36231. begin
  36232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36233. end;
  36234. procedure TUART3A_U3ASTA.setURXDA; inline;
  36235. begin
  36236. pTDefRegMap(@Self)^.&set := $00000001;
  36237. end;
  36238. procedure TUART3A_U3ASTA.clearURXDA; inline;
  36239. begin
  36240. pTDefRegMap(@Self)^.clr := $00000001;
  36241. end;
  36242. procedure TUART3A_U3ASTA.setURXDA(thebits : TBits_1); inline;
  36243. begin
  36244. if thebits = 0 then
  36245. pTDefRegMap(@Self)^.clr := $00000001
  36246. else
  36247. pTDefRegMap(@Self)^.&set := $00000001;
  36248. end;
  36249. function TUART3A_U3ASTA.getURXDA : TBits_1; inline;
  36250. begin
  36251. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36252. end;
  36253. procedure TUART3A_U3ASTA.setOERR; inline;
  36254. begin
  36255. pTDefRegMap(@Self)^.&set := $00000002;
  36256. end;
  36257. procedure TUART3A_U3ASTA.clearOERR; inline;
  36258. begin
  36259. pTDefRegMap(@Self)^.clr := $00000002;
  36260. end;
  36261. procedure TUART3A_U3ASTA.setOERR(thebits : TBits_1); inline;
  36262. begin
  36263. if thebits = 0 then
  36264. pTDefRegMap(@Self)^.clr := $00000002
  36265. else
  36266. pTDefRegMap(@Self)^.&set := $00000002;
  36267. end;
  36268. function TUART3A_U3ASTA.getOERR : TBits_1; inline;
  36269. begin
  36270. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36271. end;
  36272. procedure TUART3A_U3ASTA.setFERR; inline;
  36273. begin
  36274. pTDefRegMap(@Self)^.&set := $00000004;
  36275. end;
  36276. procedure TUART3A_U3ASTA.clearFERR; inline;
  36277. begin
  36278. pTDefRegMap(@Self)^.clr := $00000004;
  36279. end;
  36280. procedure TUART3A_U3ASTA.setFERR(thebits : TBits_1); inline;
  36281. begin
  36282. if thebits = 0 then
  36283. pTDefRegMap(@Self)^.clr := $00000004
  36284. else
  36285. pTDefRegMap(@Self)^.&set := $00000004;
  36286. end;
  36287. function TUART3A_U3ASTA.getFERR : TBits_1; inline;
  36288. begin
  36289. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36290. end;
  36291. procedure TUART3A_U3ASTA.setPERR; inline;
  36292. begin
  36293. pTDefRegMap(@Self)^.&set := $00000008;
  36294. end;
  36295. procedure TUART3A_U3ASTA.clearPERR; inline;
  36296. begin
  36297. pTDefRegMap(@Self)^.clr := $00000008;
  36298. end;
  36299. procedure TUART3A_U3ASTA.setPERR(thebits : TBits_1); inline;
  36300. begin
  36301. if thebits = 0 then
  36302. pTDefRegMap(@Self)^.clr := $00000008
  36303. else
  36304. pTDefRegMap(@Self)^.&set := $00000008;
  36305. end;
  36306. function TUART3A_U3ASTA.getPERR : TBits_1; inline;
  36307. begin
  36308. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36309. end;
  36310. procedure TUART3A_U3ASTA.setRIDLE; inline;
  36311. begin
  36312. pTDefRegMap(@Self)^.&set := $00000010;
  36313. end;
  36314. procedure TUART3A_U3ASTA.clearRIDLE; inline;
  36315. begin
  36316. pTDefRegMap(@Self)^.clr := $00000010;
  36317. end;
  36318. procedure TUART3A_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  36319. begin
  36320. if thebits = 0 then
  36321. pTDefRegMap(@Self)^.clr := $00000010
  36322. else
  36323. pTDefRegMap(@Self)^.&set := $00000010;
  36324. end;
  36325. function TUART3A_U3ASTA.getRIDLE : TBits_1; inline;
  36326. begin
  36327. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36328. end;
  36329. procedure TUART3A_U3ASTA.setADDEN; inline;
  36330. begin
  36331. pTDefRegMap(@Self)^.&set := $00000020;
  36332. end;
  36333. procedure TUART3A_U3ASTA.clearADDEN; inline;
  36334. begin
  36335. pTDefRegMap(@Self)^.clr := $00000020;
  36336. end;
  36337. procedure TUART3A_U3ASTA.setADDEN(thebits : TBits_1); inline;
  36338. begin
  36339. if thebits = 0 then
  36340. pTDefRegMap(@Self)^.clr := $00000020
  36341. else
  36342. pTDefRegMap(@Self)^.&set := $00000020;
  36343. end;
  36344. function TUART3A_U3ASTA.getADDEN : TBits_1; inline;
  36345. begin
  36346. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36347. end;
  36348. procedure TUART3A_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  36349. begin
  36350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36351. end;
  36352. function TUART3A_U3ASTA.getURXISEL : TBits_2; inline;
  36353. begin
  36354. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36355. end;
  36356. procedure TUART3A_U3ASTA.setTRMT; inline;
  36357. begin
  36358. pTDefRegMap(@Self)^.&set := $00000100;
  36359. end;
  36360. procedure TUART3A_U3ASTA.clearTRMT; inline;
  36361. begin
  36362. pTDefRegMap(@Self)^.clr := $00000100;
  36363. end;
  36364. procedure TUART3A_U3ASTA.setTRMT(thebits : TBits_1); inline;
  36365. begin
  36366. if thebits = 0 then
  36367. pTDefRegMap(@Self)^.clr := $00000100
  36368. else
  36369. pTDefRegMap(@Self)^.&set := $00000100;
  36370. end;
  36371. function TUART3A_U3ASTA.getTRMT : TBits_1; inline;
  36372. begin
  36373. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36374. end;
  36375. procedure TUART3A_U3ASTA.setUTXBF; inline;
  36376. begin
  36377. pTDefRegMap(@Self)^.&set := $00000200;
  36378. end;
  36379. procedure TUART3A_U3ASTA.clearUTXBF; inline;
  36380. begin
  36381. pTDefRegMap(@Self)^.clr := $00000200;
  36382. end;
  36383. procedure TUART3A_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  36384. begin
  36385. if thebits = 0 then
  36386. pTDefRegMap(@Self)^.clr := $00000200
  36387. else
  36388. pTDefRegMap(@Self)^.&set := $00000200;
  36389. end;
  36390. function TUART3A_U3ASTA.getUTXBF : TBits_1; inline;
  36391. begin
  36392. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36393. end;
  36394. procedure TUART3A_U3ASTA.setUTXEN; inline;
  36395. begin
  36396. pTDefRegMap(@Self)^.&set := $00000400;
  36397. end;
  36398. procedure TUART3A_U3ASTA.clearUTXEN; inline;
  36399. begin
  36400. pTDefRegMap(@Self)^.clr := $00000400;
  36401. end;
  36402. procedure TUART3A_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  36403. begin
  36404. if thebits = 0 then
  36405. pTDefRegMap(@Self)^.clr := $00000400
  36406. else
  36407. pTDefRegMap(@Self)^.&set := $00000400;
  36408. end;
  36409. function TUART3A_U3ASTA.getUTXEN : TBits_1; inline;
  36410. begin
  36411. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36412. end;
  36413. procedure TUART3A_U3ASTA.setUTXBRK; inline;
  36414. begin
  36415. pTDefRegMap(@Self)^.&set := $00000800;
  36416. end;
  36417. procedure TUART3A_U3ASTA.clearUTXBRK; inline;
  36418. begin
  36419. pTDefRegMap(@Self)^.clr := $00000800;
  36420. end;
  36421. procedure TUART3A_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  36422. begin
  36423. if thebits = 0 then
  36424. pTDefRegMap(@Self)^.clr := $00000800
  36425. else
  36426. pTDefRegMap(@Self)^.&set := $00000800;
  36427. end;
  36428. function TUART3A_U3ASTA.getUTXBRK : TBits_1; inline;
  36429. begin
  36430. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36431. end;
  36432. procedure TUART3A_U3ASTA.setURXEN; inline;
  36433. begin
  36434. pTDefRegMap(@Self)^.&set := $00001000;
  36435. end;
  36436. procedure TUART3A_U3ASTA.clearURXEN; inline;
  36437. begin
  36438. pTDefRegMap(@Self)^.clr := $00001000;
  36439. end;
  36440. procedure TUART3A_U3ASTA.setURXEN(thebits : TBits_1); inline;
  36441. begin
  36442. if thebits = 0 then
  36443. pTDefRegMap(@Self)^.clr := $00001000
  36444. else
  36445. pTDefRegMap(@Self)^.&set := $00001000;
  36446. end;
  36447. function TUART3A_U3ASTA.getURXEN : TBits_1; inline;
  36448. begin
  36449. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36450. end;
  36451. procedure TUART3A_U3ASTA.setUTXINV; inline;
  36452. begin
  36453. pTDefRegMap(@Self)^.&set := $00002000;
  36454. end;
  36455. procedure TUART3A_U3ASTA.clearUTXINV; inline;
  36456. begin
  36457. pTDefRegMap(@Self)^.clr := $00002000;
  36458. end;
  36459. procedure TUART3A_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  36460. begin
  36461. if thebits = 0 then
  36462. pTDefRegMap(@Self)^.clr := $00002000
  36463. else
  36464. pTDefRegMap(@Self)^.&set := $00002000;
  36465. end;
  36466. function TUART3A_U3ASTA.getUTXINV : TBits_1; inline;
  36467. begin
  36468. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36469. end;
  36470. procedure TUART3A_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  36471. begin
  36472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36473. end;
  36474. function TUART3A_U3ASTA.getUTXISEL : TBits_2; inline;
  36475. begin
  36476. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36477. end;
  36478. procedure TUART3A_U3ASTA.setADDR(thebits : TBits_8); inline;
  36479. begin
  36480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36481. end;
  36482. function TUART3A_U3ASTA.getADDR : TBits_8; inline;
  36483. begin
  36484. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36485. end;
  36486. procedure TUART3A_U3ASTA.setADM_EN; inline;
  36487. begin
  36488. pTDefRegMap(@Self)^.&set := $01000000;
  36489. end;
  36490. procedure TUART3A_U3ASTA.clearADM_EN; inline;
  36491. begin
  36492. pTDefRegMap(@Self)^.clr := $01000000;
  36493. end;
  36494. procedure TUART3A_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  36495. begin
  36496. if thebits = 0 then
  36497. pTDefRegMap(@Self)^.clr := $01000000
  36498. else
  36499. pTDefRegMap(@Self)^.&set := $01000000;
  36500. end;
  36501. function TUART3A_U3ASTA.getADM_EN : TBits_1; inline;
  36502. begin
  36503. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36504. end;
  36505. procedure TUART3A_U3ASTA.setURXISEL0; inline;
  36506. begin
  36507. pTDefRegMap(@Self)^.&set := $00000040;
  36508. end;
  36509. procedure TUART3A_U3ASTA.clearURXISEL0; inline;
  36510. begin
  36511. pTDefRegMap(@Self)^.clr := $00000040;
  36512. end;
  36513. procedure TUART3A_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  36514. begin
  36515. if thebits = 0 then
  36516. pTDefRegMap(@Self)^.clr := $00000040
  36517. else
  36518. pTDefRegMap(@Self)^.&set := $00000040;
  36519. end;
  36520. function TUART3A_U3ASTA.getURXISEL0 : TBits_1; inline;
  36521. begin
  36522. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36523. end;
  36524. procedure TUART3A_U3ASTA.setURXISEL1; inline;
  36525. begin
  36526. pTDefRegMap(@Self)^.&set := $00000080;
  36527. end;
  36528. procedure TUART3A_U3ASTA.clearURXISEL1; inline;
  36529. begin
  36530. pTDefRegMap(@Self)^.clr := $00000080;
  36531. end;
  36532. procedure TUART3A_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  36533. begin
  36534. if thebits = 0 then
  36535. pTDefRegMap(@Self)^.clr := $00000080
  36536. else
  36537. pTDefRegMap(@Self)^.&set := $00000080;
  36538. end;
  36539. function TUART3A_U3ASTA.getURXISEL1 : TBits_1; inline;
  36540. begin
  36541. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36542. end;
  36543. procedure TUART3A_U3ASTA.setUTXISEL0; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.&set := $00004000;
  36546. end;
  36547. procedure TUART3A_U3ASTA.clearUTXISEL0; inline;
  36548. begin
  36549. pTDefRegMap(@Self)^.clr := $00004000;
  36550. end;
  36551. procedure TUART3A_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  36552. begin
  36553. if thebits = 0 then
  36554. pTDefRegMap(@Self)^.clr := $00004000
  36555. else
  36556. pTDefRegMap(@Self)^.&set := $00004000;
  36557. end;
  36558. function TUART3A_U3ASTA.getUTXISEL0 : TBits_1; inline;
  36559. begin
  36560. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36561. end;
  36562. procedure TUART3A_U3ASTA.setUTXISEL1; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.&set := $00008000;
  36565. end;
  36566. procedure TUART3A_U3ASTA.clearUTXISEL1; inline;
  36567. begin
  36568. pTDefRegMap(@Self)^.clr := $00008000;
  36569. end;
  36570. procedure TUART3A_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  36571. begin
  36572. if thebits = 0 then
  36573. pTDefRegMap(@Self)^.clr := $00008000
  36574. else
  36575. pTDefRegMap(@Self)^.&set := $00008000;
  36576. end;
  36577. function TUART3A_U3ASTA.getUTXISEL1 : TBits_1; inline;
  36578. begin
  36579. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36580. end;
  36581. procedure TUART3A_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36584. end;
  36585. function TUART3A_U3ASTA.getUTXSEL : TBits_2; inline;
  36586. begin
  36587. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36588. end;
  36589. procedure TUART3A_U3ASTA.setw(thebits : TBits_32); inline;
  36590. begin
  36591. pTDefRegMap(@Self)^.val := thebits;
  36592. end;
  36593. function TUART3A_U3ASTA.getw : TBits_32; inline;
  36594. begin
  36595. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36596. end;
  36597. procedure TUART5_U3BMODE.setSTSEL; inline;
  36598. begin
  36599. pTDefRegMap(@Self)^.&set := $00000001;
  36600. end;
  36601. procedure TUART5_U3BMODE.clearSTSEL; inline;
  36602. begin
  36603. pTDefRegMap(@Self)^.clr := $00000001;
  36604. end;
  36605. procedure TUART5_U3BMODE.setSTSEL(thebits : TBits_1); inline;
  36606. begin
  36607. if thebits = 0 then
  36608. pTDefRegMap(@Self)^.clr := $00000001
  36609. else
  36610. pTDefRegMap(@Self)^.&set := $00000001;
  36611. end;
  36612. function TUART5_U3BMODE.getSTSEL : TBits_1; inline;
  36613. begin
  36614. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36615. end;
  36616. procedure TUART5_U3BMODE.setPDSEL(thebits : TBits_2); inline;
  36617. begin
  36618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  36619. end;
  36620. function TUART5_U3BMODE.getPDSEL : TBits_2; inline;
  36621. begin
  36622. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  36623. end;
  36624. procedure TUART5_U3BMODE.setBRGH; inline;
  36625. begin
  36626. pTDefRegMap(@Self)^.&set := $00000008;
  36627. end;
  36628. procedure TUART5_U3BMODE.clearBRGH; inline;
  36629. begin
  36630. pTDefRegMap(@Self)^.clr := $00000008;
  36631. end;
  36632. procedure TUART5_U3BMODE.setBRGH(thebits : TBits_1); inline;
  36633. begin
  36634. if thebits = 0 then
  36635. pTDefRegMap(@Self)^.clr := $00000008
  36636. else
  36637. pTDefRegMap(@Self)^.&set := $00000008;
  36638. end;
  36639. function TUART5_U3BMODE.getBRGH : TBits_1; inline;
  36640. begin
  36641. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36642. end;
  36643. procedure TUART5_U3BMODE.setRXINV; inline;
  36644. begin
  36645. pTDefRegMap(@Self)^.&set := $00000010;
  36646. end;
  36647. procedure TUART5_U3BMODE.clearRXINV; inline;
  36648. begin
  36649. pTDefRegMap(@Self)^.clr := $00000010;
  36650. end;
  36651. procedure TUART5_U3BMODE.setRXINV(thebits : TBits_1); inline;
  36652. begin
  36653. if thebits = 0 then
  36654. pTDefRegMap(@Self)^.clr := $00000010
  36655. else
  36656. pTDefRegMap(@Self)^.&set := $00000010;
  36657. end;
  36658. function TUART5_U3BMODE.getRXINV : TBits_1; inline;
  36659. begin
  36660. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36661. end;
  36662. procedure TUART5_U3BMODE.setABAUD; inline;
  36663. begin
  36664. pTDefRegMap(@Self)^.&set := $00000020;
  36665. end;
  36666. procedure TUART5_U3BMODE.clearABAUD; inline;
  36667. begin
  36668. pTDefRegMap(@Self)^.clr := $00000020;
  36669. end;
  36670. procedure TUART5_U3BMODE.setABAUD(thebits : TBits_1); inline;
  36671. begin
  36672. if thebits = 0 then
  36673. pTDefRegMap(@Self)^.clr := $00000020
  36674. else
  36675. pTDefRegMap(@Self)^.&set := $00000020;
  36676. end;
  36677. function TUART5_U3BMODE.getABAUD : TBits_1; inline;
  36678. begin
  36679. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36680. end;
  36681. procedure TUART5_U3BMODE.setLPBACK; inline;
  36682. begin
  36683. pTDefRegMap(@Self)^.&set := $00000040;
  36684. end;
  36685. procedure TUART5_U3BMODE.clearLPBACK; inline;
  36686. begin
  36687. pTDefRegMap(@Self)^.clr := $00000040;
  36688. end;
  36689. procedure TUART5_U3BMODE.setLPBACK(thebits : TBits_1); inline;
  36690. begin
  36691. if thebits = 0 then
  36692. pTDefRegMap(@Self)^.clr := $00000040
  36693. else
  36694. pTDefRegMap(@Self)^.&set := $00000040;
  36695. end;
  36696. function TUART5_U3BMODE.getLPBACK : TBits_1; inline;
  36697. begin
  36698. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36699. end;
  36700. procedure TUART5_U3BMODE.setWAKE; inline;
  36701. begin
  36702. pTDefRegMap(@Self)^.&set := $00000080;
  36703. end;
  36704. procedure TUART5_U3BMODE.clearWAKE; inline;
  36705. begin
  36706. pTDefRegMap(@Self)^.clr := $00000080;
  36707. end;
  36708. procedure TUART5_U3BMODE.setWAKE(thebits : TBits_1); inline;
  36709. begin
  36710. if thebits = 0 then
  36711. pTDefRegMap(@Self)^.clr := $00000080
  36712. else
  36713. pTDefRegMap(@Self)^.&set := $00000080;
  36714. end;
  36715. function TUART5_U3BMODE.getWAKE : TBits_1; inline;
  36716. begin
  36717. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36718. end;
  36719. procedure TUART5_U3BMODE.setIREN; inline;
  36720. begin
  36721. pTDefRegMap(@Self)^.&set := $00001000;
  36722. end;
  36723. procedure TUART5_U3BMODE.clearIREN; inline;
  36724. begin
  36725. pTDefRegMap(@Self)^.clr := $00001000;
  36726. end;
  36727. procedure TUART5_U3BMODE.setIREN(thebits : TBits_1); inline;
  36728. begin
  36729. if thebits = 0 then
  36730. pTDefRegMap(@Self)^.clr := $00001000
  36731. else
  36732. pTDefRegMap(@Self)^.&set := $00001000;
  36733. end;
  36734. function TUART5_U3BMODE.getIREN : TBits_1; inline;
  36735. begin
  36736. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36737. end;
  36738. procedure TUART5_U3BMODE.setSIDL; inline;
  36739. begin
  36740. pTDefRegMap(@Self)^.&set := $00002000;
  36741. end;
  36742. procedure TUART5_U3BMODE.clearSIDL; inline;
  36743. begin
  36744. pTDefRegMap(@Self)^.clr := $00002000;
  36745. end;
  36746. procedure TUART5_U3BMODE.setSIDL(thebits : TBits_1); inline;
  36747. begin
  36748. if thebits = 0 then
  36749. pTDefRegMap(@Self)^.clr := $00002000
  36750. else
  36751. pTDefRegMap(@Self)^.&set := $00002000;
  36752. end;
  36753. function TUART5_U3BMODE.getSIDL : TBits_1; inline;
  36754. begin
  36755. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36756. end;
  36757. procedure TUART5_U3BMODE.setON; inline;
  36758. begin
  36759. pTDefRegMap(@Self)^.&set := $00008000;
  36760. end;
  36761. procedure TUART5_U3BMODE.clearON; inline;
  36762. begin
  36763. pTDefRegMap(@Self)^.clr := $00008000;
  36764. end;
  36765. procedure TUART5_U3BMODE.setON(thebits : TBits_1); inline;
  36766. begin
  36767. if thebits = 0 then
  36768. pTDefRegMap(@Self)^.clr := $00008000
  36769. else
  36770. pTDefRegMap(@Self)^.&set := $00008000;
  36771. end;
  36772. function TUART5_U3BMODE.getON : TBits_1; inline;
  36773. begin
  36774. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36775. end;
  36776. procedure TUART5_U3BMODE.setPDSEL0; inline;
  36777. begin
  36778. pTDefRegMap(@Self)^.&set := $00000002;
  36779. end;
  36780. procedure TUART5_U3BMODE.clearPDSEL0; inline;
  36781. begin
  36782. pTDefRegMap(@Self)^.clr := $00000002;
  36783. end;
  36784. procedure TUART5_U3BMODE.setPDSEL0(thebits : TBits_1); inline;
  36785. begin
  36786. if thebits = 0 then
  36787. pTDefRegMap(@Self)^.clr := $00000002
  36788. else
  36789. pTDefRegMap(@Self)^.&set := $00000002;
  36790. end;
  36791. function TUART5_U3BMODE.getPDSEL0 : TBits_1; inline;
  36792. begin
  36793. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36794. end;
  36795. procedure TUART5_U3BMODE.setPDSEL1; inline;
  36796. begin
  36797. pTDefRegMap(@Self)^.&set := $00000004;
  36798. end;
  36799. procedure TUART5_U3BMODE.clearPDSEL1; inline;
  36800. begin
  36801. pTDefRegMap(@Self)^.clr := $00000004;
  36802. end;
  36803. procedure TUART5_U3BMODE.setPDSEL1(thebits : TBits_1); inline;
  36804. begin
  36805. if thebits = 0 then
  36806. pTDefRegMap(@Self)^.clr := $00000004
  36807. else
  36808. pTDefRegMap(@Self)^.&set := $00000004;
  36809. end;
  36810. function TUART5_U3BMODE.getPDSEL1 : TBits_1; inline;
  36811. begin
  36812. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36813. end;
  36814. procedure TUART5_U3BMODE.setUSIDL; inline;
  36815. begin
  36816. pTDefRegMap(@Self)^.&set := $00002000;
  36817. end;
  36818. procedure TUART5_U3BMODE.clearUSIDL; inline;
  36819. begin
  36820. pTDefRegMap(@Self)^.clr := $00002000;
  36821. end;
  36822. procedure TUART5_U3BMODE.setUSIDL(thebits : TBits_1); inline;
  36823. begin
  36824. if thebits = 0 then
  36825. pTDefRegMap(@Self)^.clr := $00002000
  36826. else
  36827. pTDefRegMap(@Self)^.&set := $00002000;
  36828. end;
  36829. function TUART5_U3BMODE.getUSIDL : TBits_1; inline;
  36830. begin
  36831. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36832. end;
  36833. procedure TUART5_U3BMODE.setUARTEN; inline;
  36834. begin
  36835. pTDefRegMap(@Self)^.&set := $00008000;
  36836. end;
  36837. procedure TUART5_U3BMODE.clearUARTEN; inline;
  36838. begin
  36839. pTDefRegMap(@Self)^.clr := $00008000;
  36840. end;
  36841. procedure TUART5_U3BMODE.setUARTEN(thebits : TBits_1); inline;
  36842. begin
  36843. if thebits = 0 then
  36844. pTDefRegMap(@Self)^.clr := $00008000
  36845. else
  36846. pTDefRegMap(@Self)^.&set := $00008000;
  36847. end;
  36848. function TUART5_U3BMODE.getUARTEN : TBits_1; inline;
  36849. begin
  36850. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36851. end;
  36852. procedure TUART5_U3BMODE.setw(thebits : TBits_32); inline;
  36853. begin
  36854. pTDefRegMap(@Self)^.val := thebits;
  36855. end;
  36856. function TUART5_U3BMODE.getw : TBits_32; inline;
  36857. begin
  36858. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36859. end;
  36860. procedure TUART5_U5MODE.setSTSEL; inline;
  36861. begin
  36862. pTDefRegMap(@Self)^.&set := $00000001;
  36863. end;
  36864. procedure TUART5_U5MODE.clearSTSEL; inline;
  36865. begin
  36866. pTDefRegMap(@Self)^.clr := $00000001;
  36867. end;
  36868. procedure TUART5_U5MODE.setSTSEL(thebits : TBits_1); inline;
  36869. begin
  36870. if thebits = 0 then
  36871. pTDefRegMap(@Self)^.clr := $00000001
  36872. else
  36873. pTDefRegMap(@Self)^.&set := $00000001;
  36874. end;
  36875. function TUART5_U5MODE.getSTSEL : TBits_1; inline;
  36876. begin
  36877. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36878. end;
  36879. procedure TUART5_U5MODE.setPDSEL(thebits : TBits_2); inline;
  36880. begin
  36881. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  36882. end;
  36883. function TUART5_U5MODE.getPDSEL : TBits_2; inline;
  36884. begin
  36885. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  36886. end;
  36887. procedure TUART5_U5MODE.setBRGH; inline;
  36888. begin
  36889. pTDefRegMap(@Self)^.&set := $00000008;
  36890. end;
  36891. procedure TUART5_U5MODE.clearBRGH; inline;
  36892. begin
  36893. pTDefRegMap(@Self)^.clr := $00000008;
  36894. end;
  36895. procedure TUART5_U5MODE.setBRGH(thebits : TBits_1); inline;
  36896. begin
  36897. if thebits = 0 then
  36898. pTDefRegMap(@Self)^.clr := $00000008
  36899. else
  36900. pTDefRegMap(@Self)^.&set := $00000008;
  36901. end;
  36902. function TUART5_U5MODE.getBRGH : TBits_1; inline;
  36903. begin
  36904. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36905. end;
  36906. procedure TUART5_U5MODE.setRXINV; inline;
  36907. begin
  36908. pTDefRegMap(@Self)^.&set := $00000010;
  36909. end;
  36910. procedure TUART5_U5MODE.clearRXINV; inline;
  36911. begin
  36912. pTDefRegMap(@Self)^.clr := $00000010;
  36913. end;
  36914. procedure TUART5_U5MODE.setRXINV(thebits : TBits_1); inline;
  36915. begin
  36916. if thebits = 0 then
  36917. pTDefRegMap(@Self)^.clr := $00000010
  36918. else
  36919. pTDefRegMap(@Self)^.&set := $00000010;
  36920. end;
  36921. function TUART5_U5MODE.getRXINV : TBits_1; inline;
  36922. begin
  36923. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36924. end;
  36925. procedure TUART5_U5MODE.setABAUD; inline;
  36926. begin
  36927. pTDefRegMap(@Self)^.&set := $00000020;
  36928. end;
  36929. procedure TUART5_U5MODE.clearABAUD; inline;
  36930. begin
  36931. pTDefRegMap(@Self)^.clr := $00000020;
  36932. end;
  36933. procedure TUART5_U5MODE.setABAUD(thebits : TBits_1); inline;
  36934. begin
  36935. if thebits = 0 then
  36936. pTDefRegMap(@Self)^.clr := $00000020
  36937. else
  36938. pTDefRegMap(@Self)^.&set := $00000020;
  36939. end;
  36940. function TUART5_U5MODE.getABAUD : TBits_1; inline;
  36941. begin
  36942. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36943. end;
  36944. procedure TUART5_U5MODE.setLPBACK; inline;
  36945. begin
  36946. pTDefRegMap(@Self)^.&set := $00000040;
  36947. end;
  36948. procedure TUART5_U5MODE.clearLPBACK; inline;
  36949. begin
  36950. pTDefRegMap(@Self)^.clr := $00000040;
  36951. end;
  36952. procedure TUART5_U5MODE.setLPBACK(thebits : TBits_1); inline;
  36953. begin
  36954. if thebits = 0 then
  36955. pTDefRegMap(@Self)^.clr := $00000040
  36956. else
  36957. pTDefRegMap(@Self)^.&set := $00000040;
  36958. end;
  36959. function TUART5_U5MODE.getLPBACK : TBits_1; inline;
  36960. begin
  36961. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36962. end;
  36963. procedure TUART5_U5MODE.setWAKE; inline;
  36964. begin
  36965. pTDefRegMap(@Self)^.&set := $00000080;
  36966. end;
  36967. procedure TUART5_U5MODE.clearWAKE; inline;
  36968. begin
  36969. pTDefRegMap(@Self)^.clr := $00000080;
  36970. end;
  36971. procedure TUART5_U5MODE.setWAKE(thebits : TBits_1); inline;
  36972. begin
  36973. if thebits = 0 then
  36974. pTDefRegMap(@Self)^.clr := $00000080
  36975. else
  36976. pTDefRegMap(@Self)^.&set := $00000080;
  36977. end;
  36978. function TUART5_U5MODE.getWAKE : TBits_1; inline;
  36979. begin
  36980. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36981. end;
  36982. procedure TUART5_U5MODE.setIREN; inline;
  36983. begin
  36984. pTDefRegMap(@Self)^.&set := $00001000;
  36985. end;
  36986. procedure TUART5_U5MODE.clearIREN; inline;
  36987. begin
  36988. pTDefRegMap(@Self)^.clr := $00001000;
  36989. end;
  36990. procedure TUART5_U5MODE.setIREN(thebits : TBits_1); inline;
  36991. begin
  36992. if thebits = 0 then
  36993. pTDefRegMap(@Self)^.clr := $00001000
  36994. else
  36995. pTDefRegMap(@Self)^.&set := $00001000;
  36996. end;
  36997. function TUART5_U5MODE.getIREN : TBits_1; inline;
  36998. begin
  36999. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37000. end;
  37001. procedure TUART5_U5MODE.setSIDL; inline;
  37002. begin
  37003. pTDefRegMap(@Self)^.&set := $00002000;
  37004. end;
  37005. procedure TUART5_U5MODE.clearSIDL; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.clr := $00002000;
  37008. end;
  37009. procedure TUART5_U5MODE.setSIDL(thebits : TBits_1); inline;
  37010. begin
  37011. if thebits = 0 then
  37012. pTDefRegMap(@Self)^.clr := $00002000
  37013. else
  37014. pTDefRegMap(@Self)^.&set := $00002000;
  37015. end;
  37016. function TUART5_U5MODE.getSIDL : TBits_1; inline;
  37017. begin
  37018. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37019. end;
  37020. procedure TUART5_U5MODE.setON; inline;
  37021. begin
  37022. pTDefRegMap(@Self)^.&set := $00008000;
  37023. end;
  37024. procedure TUART5_U5MODE.clearON; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.clr := $00008000;
  37027. end;
  37028. procedure TUART5_U5MODE.setON(thebits : TBits_1); inline;
  37029. begin
  37030. if thebits = 0 then
  37031. pTDefRegMap(@Self)^.clr := $00008000
  37032. else
  37033. pTDefRegMap(@Self)^.&set := $00008000;
  37034. end;
  37035. function TUART5_U5MODE.getON : TBits_1; inline;
  37036. begin
  37037. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37038. end;
  37039. procedure TUART5_U5MODE.setPDSEL0; inline;
  37040. begin
  37041. pTDefRegMap(@Self)^.&set := $00000002;
  37042. end;
  37043. procedure TUART5_U5MODE.clearPDSEL0; inline;
  37044. begin
  37045. pTDefRegMap(@Self)^.clr := $00000002;
  37046. end;
  37047. procedure TUART5_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  37048. begin
  37049. if thebits = 0 then
  37050. pTDefRegMap(@Self)^.clr := $00000002
  37051. else
  37052. pTDefRegMap(@Self)^.&set := $00000002;
  37053. end;
  37054. function TUART5_U5MODE.getPDSEL0 : TBits_1; inline;
  37055. begin
  37056. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37057. end;
  37058. procedure TUART5_U5MODE.setPDSEL1; inline;
  37059. begin
  37060. pTDefRegMap(@Self)^.&set := $00000004;
  37061. end;
  37062. procedure TUART5_U5MODE.clearPDSEL1; inline;
  37063. begin
  37064. pTDefRegMap(@Self)^.clr := $00000004;
  37065. end;
  37066. procedure TUART5_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  37067. begin
  37068. if thebits = 0 then
  37069. pTDefRegMap(@Self)^.clr := $00000004
  37070. else
  37071. pTDefRegMap(@Self)^.&set := $00000004;
  37072. end;
  37073. function TUART5_U5MODE.getPDSEL1 : TBits_1; inline;
  37074. begin
  37075. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37076. end;
  37077. procedure TUART5_U5MODE.setUSIDL; inline;
  37078. begin
  37079. pTDefRegMap(@Self)^.&set := $00002000;
  37080. end;
  37081. procedure TUART5_U5MODE.clearUSIDL; inline;
  37082. begin
  37083. pTDefRegMap(@Self)^.clr := $00002000;
  37084. end;
  37085. procedure TUART5_U5MODE.setUSIDL(thebits : TBits_1); inline;
  37086. begin
  37087. if thebits = 0 then
  37088. pTDefRegMap(@Self)^.clr := $00002000
  37089. else
  37090. pTDefRegMap(@Self)^.&set := $00002000;
  37091. end;
  37092. function TUART5_U5MODE.getUSIDL : TBits_1; inline;
  37093. begin
  37094. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37095. end;
  37096. procedure TUART5_U5MODE.setUARTEN; inline;
  37097. begin
  37098. pTDefRegMap(@Self)^.&set := $00008000;
  37099. end;
  37100. procedure TUART5_U5MODE.clearUARTEN; inline;
  37101. begin
  37102. pTDefRegMap(@Self)^.clr := $00008000;
  37103. end;
  37104. procedure TUART5_U5MODE.setUARTEN(thebits : TBits_1); inline;
  37105. begin
  37106. if thebits = 0 then
  37107. pTDefRegMap(@Self)^.clr := $00008000
  37108. else
  37109. pTDefRegMap(@Self)^.&set := $00008000;
  37110. end;
  37111. function TUART5_U5MODE.getUARTEN : TBits_1; inline;
  37112. begin
  37113. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37114. end;
  37115. procedure TUART5_U5MODE.setw(thebits : TBits_32); inline;
  37116. begin
  37117. pTDefRegMap(@Self)^.val := thebits;
  37118. end;
  37119. function TUART5_U5MODE.getw : TBits_32; inline;
  37120. begin
  37121. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37122. end;
  37123. procedure TUART5_U3BSTA.setURXDA; inline;
  37124. begin
  37125. pTDefRegMap(@Self)^.&set := $00000001;
  37126. end;
  37127. procedure TUART5_U3BSTA.clearURXDA; inline;
  37128. begin
  37129. pTDefRegMap(@Self)^.clr := $00000001;
  37130. end;
  37131. procedure TUART5_U3BSTA.setURXDA(thebits : TBits_1); inline;
  37132. begin
  37133. if thebits = 0 then
  37134. pTDefRegMap(@Self)^.clr := $00000001
  37135. else
  37136. pTDefRegMap(@Self)^.&set := $00000001;
  37137. end;
  37138. function TUART5_U3BSTA.getURXDA : TBits_1; inline;
  37139. begin
  37140. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37141. end;
  37142. procedure TUART5_U3BSTA.setOERR; inline;
  37143. begin
  37144. pTDefRegMap(@Self)^.&set := $00000002;
  37145. end;
  37146. procedure TUART5_U3BSTA.clearOERR; inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.clr := $00000002;
  37149. end;
  37150. procedure TUART5_U3BSTA.setOERR(thebits : TBits_1); inline;
  37151. begin
  37152. if thebits = 0 then
  37153. pTDefRegMap(@Self)^.clr := $00000002
  37154. else
  37155. pTDefRegMap(@Self)^.&set := $00000002;
  37156. end;
  37157. function TUART5_U3BSTA.getOERR : TBits_1; inline;
  37158. begin
  37159. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37160. end;
  37161. procedure TUART5_U3BSTA.setFERR; inline;
  37162. begin
  37163. pTDefRegMap(@Self)^.&set := $00000004;
  37164. end;
  37165. procedure TUART5_U3BSTA.clearFERR; inline;
  37166. begin
  37167. pTDefRegMap(@Self)^.clr := $00000004;
  37168. end;
  37169. procedure TUART5_U3BSTA.setFERR(thebits : TBits_1); inline;
  37170. begin
  37171. if thebits = 0 then
  37172. pTDefRegMap(@Self)^.clr := $00000004
  37173. else
  37174. pTDefRegMap(@Self)^.&set := $00000004;
  37175. end;
  37176. function TUART5_U3BSTA.getFERR : TBits_1; inline;
  37177. begin
  37178. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37179. end;
  37180. procedure TUART5_U3BSTA.setPERR; inline;
  37181. begin
  37182. pTDefRegMap(@Self)^.&set := $00000008;
  37183. end;
  37184. procedure TUART5_U3BSTA.clearPERR; inline;
  37185. begin
  37186. pTDefRegMap(@Self)^.clr := $00000008;
  37187. end;
  37188. procedure TUART5_U3BSTA.setPERR(thebits : TBits_1); inline;
  37189. begin
  37190. if thebits = 0 then
  37191. pTDefRegMap(@Self)^.clr := $00000008
  37192. else
  37193. pTDefRegMap(@Self)^.&set := $00000008;
  37194. end;
  37195. function TUART5_U3BSTA.getPERR : TBits_1; inline;
  37196. begin
  37197. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37198. end;
  37199. procedure TUART5_U3BSTA.setRIDLE; inline;
  37200. begin
  37201. pTDefRegMap(@Self)^.&set := $00000010;
  37202. end;
  37203. procedure TUART5_U3BSTA.clearRIDLE; inline;
  37204. begin
  37205. pTDefRegMap(@Self)^.clr := $00000010;
  37206. end;
  37207. procedure TUART5_U3BSTA.setRIDLE(thebits : TBits_1); inline;
  37208. begin
  37209. if thebits = 0 then
  37210. pTDefRegMap(@Self)^.clr := $00000010
  37211. else
  37212. pTDefRegMap(@Self)^.&set := $00000010;
  37213. end;
  37214. function TUART5_U3BSTA.getRIDLE : TBits_1; inline;
  37215. begin
  37216. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37217. end;
  37218. procedure TUART5_U3BSTA.setADDEN; inline;
  37219. begin
  37220. pTDefRegMap(@Self)^.&set := $00000020;
  37221. end;
  37222. procedure TUART5_U3BSTA.clearADDEN; inline;
  37223. begin
  37224. pTDefRegMap(@Self)^.clr := $00000020;
  37225. end;
  37226. procedure TUART5_U3BSTA.setADDEN(thebits : TBits_1); inline;
  37227. begin
  37228. if thebits = 0 then
  37229. pTDefRegMap(@Self)^.clr := $00000020
  37230. else
  37231. pTDefRegMap(@Self)^.&set := $00000020;
  37232. end;
  37233. function TUART5_U3BSTA.getADDEN : TBits_1; inline;
  37234. begin
  37235. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37236. end;
  37237. procedure TUART5_U3BSTA.setURXISEL(thebits : TBits_2); inline;
  37238. begin
  37239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37240. end;
  37241. function TUART5_U3BSTA.getURXISEL : TBits_2; inline;
  37242. begin
  37243. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37244. end;
  37245. procedure TUART5_U3BSTA.setTRMT; inline;
  37246. begin
  37247. pTDefRegMap(@Self)^.&set := $00000100;
  37248. end;
  37249. procedure TUART5_U3BSTA.clearTRMT; inline;
  37250. begin
  37251. pTDefRegMap(@Self)^.clr := $00000100;
  37252. end;
  37253. procedure TUART5_U3BSTA.setTRMT(thebits : TBits_1); inline;
  37254. begin
  37255. if thebits = 0 then
  37256. pTDefRegMap(@Self)^.clr := $00000100
  37257. else
  37258. pTDefRegMap(@Self)^.&set := $00000100;
  37259. end;
  37260. function TUART5_U3BSTA.getTRMT : TBits_1; inline;
  37261. begin
  37262. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37263. end;
  37264. procedure TUART5_U3BSTA.setUTXBF; inline;
  37265. begin
  37266. pTDefRegMap(@Self)^.&set := $00000200;
  37267. end;
  37268. procedure TUART5_U3BSTA.clearUTXBF; inline;
  37269. begin
  37270. pTDefRegMap(@Self)^.clr := $00000200;
  37271. end;
  37272. procedure TUART5_U3BSTA.setUTXBF(thebits : TBits_1); inline;
  37273. begin
  37274. if thebits = 0 then
  37275. pTDefRegMap(@Self)^.clr := $00000200
  37276. else
  37277. pTDefRegMap(@Self)^.&set := $00000200;
  37278. end;
  37279. function TUART5_U3BSTA.getUTXBF : TBits_1; inline;
  37280. begin
  37281. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37282. end;
  37283. procedure TUART5_U3BSTA.setUTXEN; inline;
  37284. begin
  37285. pTDefRegMap(@Self)^.&set := $00000400;
  37286. end;
  37287. procedure TUART5_U3BSTA.clearUTXEN; inline;
  37288. begin
  37289. pTDefRegMap(@Self)^.clr := $00000400;
  37290. end;
  37291. procedure TUART5_U3BSTA.setUTXEN(thebits : TBits_1); inline;
  37292. begin
  37293. if thebits = 0 then
  37294. pTDefRegMap(@Self)^.clr := $00000400
  37295. else
  37296. pTDefRegMap(@Self)^.&set := $00000400;
  37297. end;
  37298. function TUART5_U3BSTA.getUTXEN : TBits_1; inline;
  37299. begin
  37300. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37301. end;
  37302. procedure TUART5_U3BSTA.setUTXBRK; inline;
  37303. begin
  37304. pTDefRegMap(@Self)^.&set := $00000800;
  37305. end;
  37306. procedure TUART5_U3BSTA.clearUTXBRK; inline;
  37307. begin
  37308. pTDefRegMap(@Self)^.clr := $00000800;
  37309. end;
  37310. procedure TUART5_U3BSTA.setUTXBRK(thebits : TBits_1); inline;
  37311. begin
  37312. if thebits = 0 then
  37313. pTDefRegMap(@Self)^.clr := $00000800
  37314. else
  37315. pTDefRegMap(@Self)^.&set := $00000800;
  37316. end;
  37317. function TUART5_U3BSTA.getUTXBRK : TBits_1; inline;
  37318. begin
  37319. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37320. end;
  37321. procedure TUART5_U3BSTA.setURXEN; inline;
  37322. begin
  37323. pTDefRegMap(@Self)^.&set := $00001000;
  37324. end;
  37325. procedure TUART5_U3BSTA.clearURXEN; inline;
  37326. begin
  37327. pTDefRegMap(@Self)^.clr := $00001000;
  37328. end;
  37329. procedure TUART5_U3BSTA.setURXEN(thebits : TBits_1); inline;
  37330. begin
  37331. if thebits = 0 then
  37332. pTDefRegMap(@Self)^.clr := $00001000
  37333. else
  37334. pTDefRegMap(@Self)^.&set := $00001000;
  37335. end;
  37336. function TUART5_U3BSTA.getURXEN : TBits_1; inline;
  37337. begin
  37338. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37339. end;
  37340. procedure TUART5_U3BSTA.setUTXINV; inline;
  37341. begin
  37342. pTDefRegMap(@Self)^.&set := $00002000;
  37343. end;
  37344. procedure TUART5_U3BSTA.clearUTXINV; inline;
  37345. begin
  37346. pTDefRegMap(@Self)^.clr := $00002000;
  37347. end;
  37348. procedure TUART5_U3BSTA.setUTXINV(thebits : TBits_1); inline;
  37349. begin
  37350. if thebits = 0 then
  37351. pTDefRegMap(@Self)^.clr := $00002000
  37352. else
  37353. pTDefRegMap(@Self)^.&set := $00002000;
  37354. end;
  37355. function TUART5_U3BSTA.getUTXINV : TBits_1; inline;
  37356. begin
  37357. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37358. end;
  37359. procedure TUART5_U3BSTA.setUTXISEL(thebits : TBits_2); inline;
  37360. begin
  37361. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37362. end;
  37363. function TUART5_U3BSTA.getUTXISEL : TBits_2; inline;
  37364. begin
  37365. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37366. end;
  37367. procedure TUART5_U3BSTA.setADDR(thebits : TBits_8); inline;
  37368. begin
  37369. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  37370. end;
  37371. function TUART5_U3BSTA.getADDR : TBits_8; inline;
  37372. begin
  37373. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  37374. end;
  37375. procedure TUART5_U3BSTA.setADM_EN; inline;
  37376. begin
  37377. pTDefRegMap(@Self)^.&set := $01000000;
  37378. end;
  37379. procedure TUART5_U3BSTA.clearADM_EN; inline;
  37380. begin
  37381. pTDefRegMap(@Self)^.clr := $01000000;
  37382. end;
  37383. procedure TUART5_U3BSTA.setADM_EN(thebits : TBits_1); inline;
  37384. begin
  37385. if thebits = 0 then
  37386. pTDefRegMap(@Self)^.clr := $01000000
  37387. else
  37388. pTDefRegMap(@Self)^.&set := $01000000;
  37389. end;
  37390. function TUART5_U3BSTA.getADM_EN : TBits_1; inline;
  37391. begin
  37392. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37393. end;
  37394. procedure TUART5_U3BSTA.setURXISEL0; inline;
  37395. begin
  37396. pTDefRegMap(@Self)^.&set := $00000040;
  37397. end;
  37398. procedure TUART5_U3BSTA.clearURXISEL0; inline;
  37399. begin
  37400. pTDefRegMap(@Self)^.clr := $00000040;
  37401. end;
  37402. procedure TUART5_U3BSTA.setURXISEL0(thebits : TBits_1); inline;
  37403. begin
  37404. if thebits = 0 then
  37405. pTDefRegMap(@Self)^.clr := $00000040
  37406. else
  37407. pTDefRegMap(@Self)^.&set := $00000040;
  37408. end;
  37409. function TUART5_U3BSTA.getURXISEL0 : TBits_1; inline;
  37410. begin
  37411. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37412. end;
  37413. procedure TUART5_U3BSTA.setURXISEL1; inline;
  37414. begin
  37415. pTDefRegMap(@Self)^.&set := $00000080;
  37416. end;
  37417. procedure TUART5_U3BSTA.clearURXISEL1; inline;
  37418. begin
  37419. pTDefRegMap(@Self)^.clr := $00000080;
  37420. end;
  37421. procedure TUART5_U3BSTA.setURXISEL1(thebits : TBits_1); inline;
  37422. begin
  37423. if thebits = 0 then
  37424. pTDefRegMap(@Self)^.clr := $00000080
  37425. else
  37426. pTDefRegMap(@Self)^.&set := $00000080;
  37427. end;
  37428. function TUART5_U3BSTA.getURXISEL1 : TBits_1; inline;
  37429. begin
  37430. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37431. end;
  37432. procedure TUART5_U3BSTA.setUTXISEL0; inline;
  37433. begin
  37434. pTDefRegMap(@Self)^.&set := $00004000;
  37435. end;
  37436. procedure TUART5_U3BSTA.clearUTXISEL0; inline;
  37437. begin
  37438. pTDefRegMap(@Self)^.clr := $00004000;
  37439. end;
  37440. procedure TUART5_U3BSTA.setUTXISEL0(thebits : TBits_1); inline;
  37441. begin
  37442. if thebits = 0 then
  37443. pTDefRegMap(@Self)^.clr := $00004000
  37444. else
  37445. pTDefRegMap(@Self)^.&set := $00004000;
  37446. end;
  37447. function TUART5_U3BSTA.getUTXISEL0 : TBits_1; inline;
  37448. begin
  37449. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37450. end;
  37451. procedure TUART5_U3BSTA.setUTXISEL1; inline;
  37452. begin
  37453. pTDefRegMap(@Self)^.&set := $00008000;
  37454. end;
  37455. procedure TUART5_U3BSTA.clearUTXISEL1; inline;
  37456. begin
  37457. pTDefRegMap(@Self)^.clr := $00008000;
  37458. end;
  37459. procedure TUART5_U3BSTA.setUTXISEL1(thebits : TBits_1); inline;
  37460. begin
  37461. if thebits = 0 then
  37462. pTDefRegMap(@Self)^.clr := $00008000
  37463. else
  37464. pTDefRegMap(@Self)^.&set := $00008000;
  37465. end;
  37466. function TUART5_U3BSTA.getUTXISEL1 : TBits_1; inline;
  37467. begin
  37468. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37469. end;
  37470. procedure TUART5_U3BSTA.setUTXSEL(thebits : TBits_2); inline;
  37471. begin
  37472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37473. end;
  37474. function TUART5_U3BSTA.getUTXSEL : TBits_2; inline;
  37475. begin
  37476. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37477. end;
  37478. procedure TUART5_U3BSTA.setw(thebits : TBits_32); inline;
  37479. begin
  37480. pTDefRegMap(@Self)^.val := thebits;
  37481. end;
  37482. function TUART5_U3BSTA.getw : TBits_32; inline;
  37483. begin
  37484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37485. end;
  37486. procedure TUART5_U5STA.setURXDA; inline;
  37487. begin
  37488. pTDefRegMap(@Self)^.&set := $00000001;
  37489. end;
  37490. procedure TUART5_U5STA.clearURXDA; inline;
  37491. begin
  37492. pTDefRegMap(@Self)^.clr := $00000001;
  37493. end;
  37494. procedure TUART5_U5STA.setURXDA(thebits : TBits_1); inline;
  37495. begin
  37496. if thebits = 0 then
  37497. pTDefRegMap(@Self)^.clr := $00000001
  37498. else
  37499. pTDefRegMap(@Self)^.&set := $00000001;
  37500. end;
  37501. function TUART5_U5STA.getURXDA : TBits_1; inline;
  37502. begin
  37503. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37504. end;
  37505. procedure TUART5_U5STA.setOERR; inline;
  37506. begin
  37507. pTDefRegMap(@Self)^.&set := $00000002;
  37508. end;
  37509. procedure TUART5_U5STA.clearOERR; inline;
  37510. begin
  37511. pTDefRegMap(@Self)^.clr := $00000002;
  37512. end;
  37513. procedure TUART5_U5STA.setOERR(thebits : TBits_1); inline;
  37514. begin
  37515. if thebits = 0 then
  37516. pTDefRegMap(@Self)^.clr := $00000002
  37517. else
  37518. pTDefRegMap(@Self)^.&set := $00000002;
  37519. end;
  37520. function TUART5_U5STA.getOERR : TBits_1; inline;
  37521. begin
  37522. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37523. end;
  37524. procedure TUART5_U5STA.setFERR; inline;
  37525. begin
  37526. pTDefRegMap(@Self)^.&set := $00000004;
  37527. end;
  37528. procedure TUART5_U5STA.clearFERR; inline;
  37529. begin
  37530. pTDefRegMap(@Self)^.clr := $00000004;
  37531. end;
  37532. procedure TUART5_U5STA.setFERR(thebits : TBits_1); inline;
  37533. begin
  37534. if thebits = 0 then
  37535. pTDefRegMap(@Self)^.clr := $00000004
  37536. else
  37537. pTDefRegMap(@Self)^.&set := $00000004;
  37538. end;
  37539. function TUART5_U5STA.getFERR : TBits_1; inline;
  37540. begin
  37541. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37542. end;
  37543. procedure TUART5_U5STA.setPERR; inline;
  37544. begin
  37545. pTDefRegMap(@Self)^.&set := $00000008;
  37546. end;
  37547. procedure TUART5_U5STA.clearPERR; inline;
  37548. begin
  37549. pTDefRegMap(@Self)^.clr := $00000008;
  37550. end;
  37551. procedure TUART5_U5STA.setPERR(thebits : TBits_1); inline;
  37552. begin
  37553. if thebits = 0 then
  37554. pTDefRegMap(@Self)^.clr := $00000008
  37555. else
  37556. pTDefRegMap(@Self)^.&set := $00000008;
  37557. end;
  37558. function TUART5_U5STA.getPERR : TBits_1; inline;
  37559. begin
  37560. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37561. end;
  37562. procedure TUART5_U5STA.setRIDLE; inline;
  37563. begin
  37564. pTDefRegMap(@Self)^.&set := $00000010;
  37565. end;
  37566. procedure TUART5_U5STA.clearRIDLE; inline;
  37567. begin
  37568. pTDefRegMap(@Self)^.clr := $00000010;
  37569. end;
  37570. procedure TUART5_U5STA.setRIDLE(thebits : TBits_1); inline;
  37571. begin
  37572. if thebits = 0 then
  37573. pTDefRegMap(@Self)^.clr := $00000010
  37574. else
  37575. pTDefRegMap(@Self)^.&set := $00000010;
  37576. end;
  37577. function TUART5_U5STA.getRIDLE : TBits_1; inline;
  37578. begin
  37579. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37580. end;
  37581. procedure TUART5_U5STA.setADDEN; inline;
  37582. begin
  37583. pTDefRegMap(@Self)^.&set := $00000020;
  37584. end;
  37585. procedure TUART5_U5STA.clearADDEN; inline;
  37586. begin
  37587. pTDefRegMap(@Self)^.clr := $00000020;
  37588. end;
  37589. procedure TUART5_U5STA.setADDEN(thebits : TBits_1); inline;
  37590. begin
  37591. if thebits = 0 then
  37592. pTDefRegMap(@Self)^.clr := $00000020
  37593. else
  37594. pTDefRegMap(@Self)^.&set := $00000020;
  37595. end;
  37596. function TUART5_U5STA.getADDEN : TBits_1; inline;
  37597. begin
  37598. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37599. end;
  37600. procedure TUART5_U5STA.setURXISEL(thebits : TBits_2); inline;
  37601. begin
  37602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37603. end;
  37604. function TUART5_U5STA.getURXISEL : TBits_2; inline;
  37605. begin
  37606. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37607. end;
  37608. procedure TUART5_U5STA.setTRMT; inline;
  37609. begin
  37610. pTDefRegMap(@Self)^.&set := $00000100;
  37611. end;
  37612. procedure TUART5_U5STA.clearTRMT; inline;
  37613. begin
  37614. pTDefRegMap(@Self)^.clr := $00000100;
  37615. end;
  37616. procedure TUART5_U5STA.setTRMT(thebits : TBits_1); inline;
  37617. begin
  37618. if thebits = 0 then
  37619. pTDefRegMap(@Self)^.clr := $00000100
  37620. else
  37621. pTDefRegMap(@Self)^.&set := $00000100;
  37622. end;
  37623. function TUART5_U5STA.getTRMT : TBits_1; inline;
  37624. begin
  37625. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37626. end;
  37627. procedure TUART5_U5STA.setUTXBF; inline;
  37628. begin
  37629. pTDefRegMap(@Self)^.&set := $00000200;
  37630. end;
  37631. procedure TUART5_U5STA.clearUTXBF; inline;
  37632. begin
  37633. pTDefRegMap(@Self)^.clr := $00000200;
  37634. end;
  37635. procedure TUART5_U5STA.setUTXBF(thebits : TBits_1); inline;
  37636. begin
  37637. if thebits = 0 then
  37638. pTDefRegMap(@Self)^.clr := $00000200
  37639. else
  37640. pTDefRegMap(@Self)^.&set := $00000200;
  37641. end;
  37642. function TUART5_U5STA.getUTXBF : TBits_1; inline;
  37643. begin
  37644. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37645. end;
  37646. procedure TUART5_U5STA.setUTXEN; inline;
  37647. begin
  37648. pTDefRegMap(@Self)^.&set := $00000400;
  37649. end;
  37650. procedure TUART5_U5STA.clearUTXEN; inline;
  37651. begin
  37652. pTDefRegMap(@Self)^.clr := $00000400;
  37653. end;
  37654. procedure TUART5_U5STA.setUTXEN(thebits : TBits_1); inline;
  37655. begin
  37656. if thebits = 0 then
  37657. pTDefRegMap(@Self)^.clr := $00000400
  37658. else
  37659. pTDefRegMap(@Self)^.&set := $00000400;
  37660. end;
  37661. function TUART5_U5STA.getUTXEN : TBits_1; inline;
  37662. begin
  37663. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37664. end;
  37665. procedure TUART5_U5STA.setUTXBRK; inline;
  37666. begin
  37667. pTDefRegMap(@Self)^.&set := $00000800;
  37668. end;
  37669. procedure TUART5_U5STA.clearUTXBRK; inline;
  37670. begin
  37671. pTDefRegMap(@Self)^.clr := $00000800;
  37672. end;
  37673. procedure TUART5_U5STA.setUTXBRK(thebits : TBits_1); inline;
  37674. begin
  37675. if thebits = 0 then
  37676. pTDefRegMap(@Self)^.clr := $00000800
  37677. else
  37678. pTDefRegMap(@Self)^.&set := $00000800;
  37679. end;
  37680. function TUART5_U5STA.getUTXBRK : TBits_1; inline;
  37681. begin
  37682. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37683. end;
  37684. procedure TUART5_U5STA.setURXEN; inline;
  37685. begin
  37686. pTDefRegMap(@Self)^.&set := $00001000;
  37687. end;
  37688. procedure TUART5_U5STA.clearURXEN; inline;
  37689. begin
  37690. pTDefRegMap(@Self)^.clr := $00001000;
  37691. end;
  37692. procedure TUART5_U5STA.setURXEN(thebits : TBits_1); inline;
  37693. begin
  37694. if thebits = 0 then
  37695. pTDefRegMap(@Self)^.clr := $00001000
  37696. else
  37697. pTDefRegMap(@Self)^.&set := $00001000;
  37698. end;
  37699. function TUART5_U5STA.getURXEN : TBits_1; inline;
  37700. begin
  37701. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37702. end;
  37703. procedure TUART5_U5STA.setUTXINV; inline;
  37704. begin
  37705. pTDefRegMap(@Self)^.&set := $00002000;
  37706. end;
  37707. procedure TUART5_U5STA.clearUTXINV; inline;
  37708. begin
  37709. pTDefRegMap(@Self)^.clr := $00002000;
  37710. end;
  37711. procedure TUART5_U5STA.setUTXINV(thebits : TBits_1); inline;
  37712. begin
  37713. if thebits = 0 then
  37714. pTDefRegMap(@Self)^.clr := $00002000
  37715. else
  37716. pTDefRegMap(@Self)^.&set := $00002000;
  37717. end;
  37718. function TUART5_U5STA.getUTXINV : TBits_1; inline;
  37719. begin
  37720. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37721. end;
  37722. procedure TUART5_U5STA.setUTXISEL(thebits : TBits_2); inline;
  37723. begin
  37724. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37725. end;
  37726. function TUART5_U5STA.getUTXISEL : TBits_2; inline;
  37727. begin
  37728. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37729. end;
  37730. procedure TUART5_U5STA.setADDR(thebits : TBits_8); inline;
  37731. begin
  37732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  37733. end;
  37734. function TUART5_U5STA.getADDR : TBits_8; inline;
  37735. begin
  37736. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  37737. end;
  37738. procedure TUART5_U5STA.setADM_EN; inline;
  37739. begin
  37740. pTDefRegMap(@Self)^.&set := $01000000;
  37741. end;
  37742. procedure TUART5_U5STA.clearADM_EN; inline;
  37743. begin
  37744. pTDefRegMap(@Self)^.clr := $01000000;
  37745. end;
  37746. procedure TUART5_U5STA.setADM_EN(thebits : TBits_1); inline;
  37747. begin
  37748. if thebits = 0 then
  37749. pTDefRegMap(@Self)^.clr := $01000000
  37750. else
  37751. pTDefRegMap(@Self)^.&set := $01000000;
  37752. end;
  37753. function TUART5_U5STA.getADM_EN : TBits_1; inline;
  37754. begin
  37755. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37756. end;
  37757. procedure TUART5_U5STA.setURXISEL0; inline;
  37758. begin
  37759. pTDefRegMap(@Self)^.&set := $00000040;
  37760. end;
  37761. procedure TUART5_U5STA.clearURXISEL0; inline;
  37762. begin
  37763. pTDefRegMap(@Self)^.clr := $00000040;
  37764. end;
  37765. procedure TUART5_U5STA.setURXISEL0(thebits : TBits_1); inline;
  37766. begin
  37767. if thebits = 0 then
  37768. pTDefRegMap(@Self)^.clr := $00000040
  37769. else
  37770. pTDefRegMap(@Self)^.&set := $00000040;
  37771. end;
  37772. function TUART5_U5STA.getURXISEL0 : TBits_1; inline;
  37773. begin
  37774. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37775. end;
  37776. procedure TUART5_U5STA.setURXISEL1; inline;
  37777. begin
  37778. pTDefRegMap(@Self)^.&set := $00000080;
  37779. end;
  37780. procedure TUART5_U5STA.clearURXISEL1; inline;
  37781. begin
  37782. pTDefRegMap(@Self)^.clr := $00000080;
  37783. end;
  37784. procedure TUART5_U5STA.setURXISEL1(thebits : TBits_1); inline;
  37785. begin
  37786. if thebits = 0 then
  37787. pTDefRegMap(@Self)^.clr := $00000080
  37788. else
  37789. pTDefRegMap(@Self)^.&set := $00000080;
  37790. end;
  37791. function TUART5_U5STA.getURXISEL1 : TBits_1; inline;
  37792. begin
  37793. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37794. end;
  37795. procedure TUART5_U5STA.setUTXISEL0; inline;
  37796. begin
  37797. pTDefRegMap(@Self)^.&set := $00004000;
  37798. end;
  37799. procedure TUART5_U5STA.clearUTXISEL0; inline;
  37800. begin
  37801. pTDefRegMap(@Self)^.clr := $00004000;
  37802. end;
  37803. procedure TUART5_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  37804. begin
  37805. if thebits = 0 then
  37806. pTDefRegMap(@Self)^.clr := $00004000
  37807. else
  37808. pTDefRegMap(@Self)^.&set := $00004000;
  37809. end;
  37810. function TUART5_U5STA.getUTXISEL0 : TBits_1; inline;
  37811. begin
  37812. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37813. end;
  37814. procedure TUART5_U5STA.setUTXISEL1; inline;
  37815. begin
  37816. pTDefRegMap(@Self)^.&set := $00008000;
  37817. end;
  37818. procedure TUART5_U5STA.clearUTXISEL1; inline;
  37819. begin
  37820. pTDefRegMap(@Self)^.clr := $00008000;
  37821. end;
  37822. procedure TUART5_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  37823. begin
  37824. if thebits = 0 then
  37825. pTDefRegMap(@Self)^.clr := $00008000
  37826. else
  37827. pTDefRegMap(@Self)^.&set := $00008000;
  37828. end;
  37829. function TUART5_U5STA.getUTXISEL1 : TBits_1; inline;
  37830. begin
  37831. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37832. end;
  37833. procedure TUART5_U5STA.setUTXSEL(thebits : TBits_2); inline;
  37834. begin
  37835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37836. end;
  37837. function TUART5_U5STA.getUTXSEL : TBits_2; inline;
  37838. begin
  37839. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37840. end;
  37841. procedure TUART5_U5STA.setw(thebits : TBits_32); inline;
  37842. begin
  37843. pTDefRegMap(@Self)^.val := thebits;
  37844. end;
  37845. function TUART5_U5STA.getw : TBits_32; inline;
  37846. begin
  37847. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37848. end;
  37849. procedure TPMP_PMCON.setRDSP; inline;
  37850. begin
  37851. pTDefRegMap(@Self)^.&set := $00000001;
  37852. end;
  37853. procedure TPMP_PMCON.clearRDSP; inline;
  37854. begin
  37855. pTDefRegMap(@Self)^.clr := $00000001;
  37856. end;
  37857. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  37858. begin
  37859. if thebits = 0 then
  37860. pTDefRegMap(@Self)^.clr := $00000001
  37861. else
  37862. pTDefRegMap(@Self)^.&set := $00000001;
  37863. end;
  37864. function TPMP_PMCON.getRDSP : TBits_1; inline;
  37865. begin
  37866. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37867. end;
  37868. procedure TPMP_PMCON.setWRSP; inline;
  37869. begin
  37870. pTDefRegMap(@Self)^.&set := $00000002;
  37871. end;
  37872. procedure TPMP_PMCON.clearWRSP; inline;
  37873. begin
  37874. pTDefRegMap(@Self)^.clr := $00000002;
  37875. end;
  37876. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  37877. begin
  37878. if thebits = 0 then
  37879. pTDefRegMap(@Self)^.clr := $00000002
  37880. else
  37881. pTDefRegMap(@Self)^.&set := $00000002;
  37882. end;
  37883. function TPMP_PMCON.getWRSP : TBits_1; inline;
  37884. begin
  37885. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37886. end;
  37887. procedure TPMP_PMCON.setCS1P; inline;
  37888. begin
  37889. pTDefRegMap(@Self)^.&set := $00000008;
  37890. end;
  37891. procedure TPMP_PMCON.clearCS1P; inline;
  37892. begin
  37893. pTDefRegMap(@Self)^.clr := $00000008;
  37894. end;
  37895. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  37896. begin
  37897. if thebits = 0 then
  37898. pTDefRegMap(@Self)^.clr := $00000008
  37899. else
  37900. pTDefRegMap(@Self)^.&set := $00000008;
  37901. end;
  37902. function TPMP_PMCON.getCS1P : TBits_1; inline;
  37903. begin
  37904. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37905. end;
  37906. procedure TPMP_PMCON.setCS2P; inline;
  37907. begin
  37908. pTDefRegMap(@Self)^.&set := $00000010;
  37909. end;
  37910. procedure TPMP_PMCON.clearCS2P; inline;
  37911. begin
  37912. pTDefRegMap(@Self)^.clr := $00000010;
  37913. end;
  37914. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  37915. begin
  37916. if thebits = 0 then
  37917. pTDefRegMap(@Self)^.clr := $00000010
  37918. else
  37919. pTDefRegMap(@Self)^.&set := $00000010;
  37920. end;
  37921. function TPMP_PMCON.getCS2P : TBits_1; inline;
  37922. begin
  37923. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37924. end;
  37925. procedure TPMP_PMCON.setALP; inline;
  37926. begin
  37927. pTDefRegMap(@Self)^.&set := $00000020;
  37928. end;
  37929. procedure TPMP_PMCON.clearALP; inline;
  37930. begin
  37931. pTDefRegMap(@Self)^.clr := $00000020;
  37932. end;
  37933. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  37934. begin
  37935. if thebits = 0 then
  37936. pTDefRegMap(@Self)^.clr := $00000020
  37937. else
  37938. pTDefRegMap(@Self)^.&set := $00000020;
  37939. end;
  37940. function TPMP_PMCON.getALP : TBits_1; inline;
  37941. begin
  37942. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37943. end;
  37944. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  37945. begin
  37946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37947. end;
  37948. function TPMP_PMCON.getCSF : TBits_2; inline;
  37949. begin
  37950. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37951. end;
  37952. procedure TPMP_PMCON.setPTRDEN; inline;
  37953. begin
  37954. pTDefRegMap(@Self)^.&set := $00000100;
  37955. end;
  37956. procedure TPMP_PMCON.clearPTRDEN; inline;
  37957. begin
  37958. pTDefRegMap(@Self)^.clr := $00000100;
  37959. end;
  37960. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  37961. begin
  37962. if thebits = 0 then
  37963. pTDefRegMap(@Self)^.clr := $00000100
  37964. else
  37965. pTDefRegMap(@Self)^.&set := $00000100;
  37966. end;
  37967. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  37968. begin
  37969. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37970. end;
  37971. procedure TPMP_PMCON.setPTWREN; inline;
  37972. begin
  37973. pTDefRegMap(@Self)^.&set := $00000200;
  37974. end;
  37975. procedure TPMP_PMCON.clearPTWREN; inline;
  37976. begin
  37977. pTDefRegMap(@Self)^.clr := $00000200;
  37978. end;
  37979. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  37980. begin
  37981. if thebits = 0 then
  37982. pTDefRegMap(@Self)^.clr := $00000200
  37983. else
  37984. pTDefRegMap(@Self)^.&set := $00000200;
  37985. end;
  37986. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  37987. begin
  37988. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37989. end;
  37990. procedure TPMP_PMCON.setPMPTTL; inline;
  37991. begin
  37992. pTDefRegMap(@Self)^.&set := $00000400;
  37993. end;
  37994. procedure TPMP_PMCON.clearPMPTTL; inline;
  37995. begin
  37996. pTDefRegMap(@Self)^.clr := $00000400;
  37997. end;
  37998. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  37999. begin
  38000. if thebits = 0 then
  38001. pTDefRegMap(@Self)^.clr := $00000400
  38002. else
  38003. pTDefRegMap(@Self)^.&set := $00000400;
  38004. end;
  38005. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  38006. begin
  38007. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38008. end;
  38009. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  38010. begin
  38011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  38012. end;
  38013. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  38014. begin
  38015. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  38016. end;
  38017. procedure TPMP_PMCON.setSIDL; inline;
  38018. begin
  38019. pTDefRegMap(@Self)^.&set := $00002000;
  38020. end;
  38021. procedure TPMP_PMCON.clearSIDL; inline;
  38022. begin
  38023. pTDefRegMap(@Self)^.clr := $00002000;
  38024. end;
  38025. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  38026. begin
  38027. if thebits = 0 then
  38028. pTDefRegMap(@Self)^.clr := $00002000
  38029. else
  38030. pTDefRegMap(@Self)^.&set := $00002000;
  38031. end;
  38032. function TPMP_PMCON.getSIDL : TBits_1; inline;
  38033. begin
  38034. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38035. end;
  38036. procedure TPMP_PMCON.setON; inline;
  38037. begin
  38038. pTDefRegMap(@Self)^.&set := $00008000;
  38039. end;
  38040. procedure TPMP_PMCON.clearON; inline;
  38041. begin
  38042. pTDefRegMap(@Self)^.clr := $00008000;
  38043. end;
  38044. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  38045. begin
  38046. if thebits = 0 then
  38047. pTDefRegMap(@Self)^.clr := $00008000
  38048. else
  38049. pTDefRegMap(@Self)^.&set := $00008000;
  38050. end;
  38051. function TPMP_PMCON.getON : TBits_1; inline;
  38052. begin
  38053. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38054. end;
  38055. procedure TPMP_PMCON.setCSF0; inline;
  38056. begin
  38057. pTDefRegMap(@Self)^.&set := $00000040;
  38058. end;
  38059. procedure TPMP_PMCON.clearCSF0; inline;
  38060. begin
  38061. pTDefRegMap(@Self)^.clr := $00000040;
  38062. end;
  38063. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  38064. begin
  38065. if thebits = 0 then
  38066. pTDefRegMap(@Self)^.clr := $00000040
  38067. else
  38068. pTDefRegMap(@Self)^.&set := $00000040;
  38069. end;
  38070. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  38071. begin
  38072. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38073. end;
  38074. procedure TPMP_PMCON.setCSF1; inline;
  38075. begin
  38076. pTDefRegMap(@Self)^.&set := $00000080;
  38077. end;
  38078. procedure TPMP_PMCON.clearCSF1; inline;
  38079. begin
  38080. pTDefRegMap(@Self)^.clr := $00000080;
  38081. end;
  38082. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  38083. begin
  38084. if thebits = 0 then
  38085. pTDefRegMap(@Self)^.clr := $00000080
  38086. else
  38087. pTDefRegMap(@Self)^.&set := $00000080;
  38088. end;
  38089. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  38090. begin
  38091. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38092. end;
  38093. procedure TPMP_PMCON.setADRMUX0; inline;
  38094. begin
  38095. pTDefRegMap(@Self)^.&set := $00000800;
  38096. end;
  38097. procedure TPMP_PMCON.clearADRMUX0; inline;
  38098. begin
  38099. pTDefRegMap(@Self)^.clr := $00000800;
  38100. end;
  38101. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  38102. begin
  38103. if thebits = 0 then
  38104. pTDefRegMap(@Self)^.clr := $00000800
  38105. else
  38106. pTDefRegMap(@Self)^.&set := $00000800;
  38107. end;
  38108. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  38109. begin
  38110. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38111. end;
  38112. procedure TPMP_PMCON.setADRMUX1; inline;
  38113. begin
  38114. pTDefRegMap(@Self)^.&set := $00001000;
  38115. end;
  38116. procedure TPMP_PMCON.clearADRMUX1; inline;
  38117. begin
  38118. pTDefRegMap(@Self)^.clr := $00001000;
  38119. end;
  38120. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  38121. begin
  38122. if thebits = 0 then
  38123. pTDefRegMap(@Self)^.clr := $00001000
  38124. else
  38125. pTDefRegMap(@Self)^.&set := $00001000;
  38126. end;
  38127. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  38128. begin
  38129. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38130. end;
  38131. procedure TPMP_PMCON.setPSIDL; inline;
  38132. begin
  38133. pTDefRegMap(@Self)^.&set := $00002000;
  38134. end;
  38135. procedure TPMP_PMCON.clearPSIDL; inline;
  38136. begin
  38137. pTDefRegMap(@Self)^.clr := $00002000;
  38138. end;
  38139. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  38140. begin
  38141. if thebits = 0 then
  38142. pTDefRegMap(@Self)^.clr := $00002000
  38143. else
  38144. pTDefRegMap(@Self)^.&set := $00002000;
  38145. end;
  38146. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  38147. begin
  38148. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38149. end;
  38150. procedure TPMP_PMCON.setPMPEN; inline;
  38151. begin
  38152. pTDefRegMap(@Self)^.&set := $00008000;
  38153. end;
  38154. procedure TPMP_PMCON.clearPMPEN; inline;
  38155. begin
  38156. pTDefRegMap(@Self)^.clr := $00008000;
  38157. end;
  38158. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  38159. begin
  38160. if thebits = 0 then
  38161. pTDefRegMap(@Self)^.clr := $00008000
  38162. else
  38163. pTDefRegMap(@Self)^.&set := $00008000;
  38164. end;
  38165. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  38166. begin
  38167. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38168. end;
  38169. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  38170. begin
  38171. pTDefRegMap(@Self)^.val := thebits;
  38172. end;
  38173. function TPMP_PMCON.getw : TBits_32; inline;
  38174. begin
  38175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38176. end;
  38177. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  38178. begin
  38179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38180. end;
  38181. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  38182. begin
  38183. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38184. end;
  38185. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  38186. begin
  38187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  38188. end;
  38189. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  38190. begin
  38191. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  38192. end;
  38193. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  38194. begin
  38195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  38196. end;
  38197. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  38198. begin
  38199. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  38200. end;
  38201. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  38202. begin
  38203. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38204. end;
  38205. function TPMP_PMMODE.getMODE : TBits_2; inline;
  38206. begin
  38207. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38208. end;
  38209. procedure TPMP_PMMODE.setMODE16; inline;
  38210. begin
  38211. pTDefRegMap(@Self)^.&set := $00000400;
  38212. end;
  38213. procedure TPMP_PMMODE.clearMODE16; inline;
  38214. begin
  38215. pTDefRegMap(@Self)^.clr := $00000400;
  38216. end;
  38217. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  38218. begin
  38219. if thebits = 0 then
  38220. pTDefRegMap(@Self)^.clr := $00000400
  38221. else
  38222. pTDefRegMap(@Self)^.&set := $00000400;
  38223. end;
  38224. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  38225. begin
  38226. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38227. end;
  38228. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  38229. begin
  38230. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  38231. end;
  38232. function TPMP_PMMODE.getINCM : TBits_2; inline;
  38233. begin
  38234. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  38235. end;
  38236. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  38237. begin
  38238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  38239. end;
  38240. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  38241. begin
  38242. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  38243. end;
  38244. procedure TPMP_PMMODE.setBUSY; inline;
  38245. begin
  38246. pTDefRegMap(@Self)^.&set := $00008000;
  38247. end;
  38248. procedure TPMP_PMMODE.clearBUSY; inline;
  38249. begin
  38250. pTDefRegMap(@Self)^.clr := $00008000;
  38251. end;
  38252. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  38253. begin
  38254. if thebits = 0 then
  38255. pTDefRegMap(@Self)^.clr := $00008000
  38256. else
  38257. pTDefRegMap(@Self)^.&set := $00008000;
  38258. end;
  38259. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  38260. begin
  38261. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38262. end;
  38263. procedure TPMP_PMMODE.setWAITE0; inline;
  38264. begin
  38265. pTDefRegMap(@Self)^.&set := $00000001;
  38266. end;
  38267. procedure TPMP_PMMODE.clearWAITE0; inline;
  38268. begin
  38269. pTDefRegMap(@Self)^.clr := $00000001;
  38270. end;
  38271. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  38272. begin
  38273. if thebits = 0 then
  38274. pTDefRegMap(@Self)^.clr := $00000001
  38275. else
  38276. pTDefRegMap(@Self)^.&set := $00000001;
  38277. end;
  38278. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  38279. begin
  38280. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38281. end;
  38282. procedure TPMP_PMMODE.setWAITE1; inline;
  38283. begin
  38284. pTDefRegMap(@Self)^.&set := $00000002;
  38285. end;
  38286. procedure TPMP_PMMODE.clearWAITE1; inline;
  38287. begin
  38288. pTDefRegMap(@Self)^.clr := $00000002;
  38289. end;
  38290. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  38291. begin
  38292. if thebits = 0 then
  38293. pTDefRegMap(@Self)^.clr := $00000002
  38294. else
  38295. pTDefRegMap(@Self)^.&set := $00000002;
  38296. end;
  38297. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  38298. begin
  38299. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38300. end;
  38301. procedure TPMP_PMMODE.setWAITM0; inline;
  38302. begin
  38303. pTDefRegMap(@Self)^.&set := $00000004;
  38304. end;
  38305. procedure TPMP_PMMODE.clearWAITM0; inline;
  38306. begin
  38307. pTDefRegMap(@Self)^.clr := $00000004;
  38308. end;
  38309. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  38310. begin
  38311. if thebits = 0 then
  38312. pTDefRegMap(@Self)^.clr := $00000004
  38313. else
  38314. pTDefRegMap(@Self)^.&set := $00000004;
  38315. end;
  38316. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  38317. begin
  38318. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38319. end;
  38320. procedure TPMP_PMMODE.setWAITM1; inline;
  38321. begin
  38322. pTDefRegMap(@Self)^.&set := $00000008;
  38323. end;
  38324. procedure TPMP_PMMODE.clearWAITM1; inline;
  38325. begin
  38326. pTDefRegMap(@Self)^.clr := $00000008;
  38327. end;
  38328. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  38329. begin
  38330. if thebits = 0 then
  38331. pTDefRegMap(@Self)^.clr := $00000008
  38332. else
  38333. pTDefRegMap(@Self)^.&set := $00000008;
  38334. end;
  38335. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  38336. begin
  38337. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38338. end;
  38339. procedure TPMP_PMMODE.setWAITM2; inline;
  38340. begin
  38341. pTDefRegMap(@Self)^.&set := $00000010;
  38342. end;
  38343. procedure TPMP_PMMODE.clearWAITM2; inline;
  38344. begin
  38345. pTDefRegMap(@Self)^.clr := $00000010;
  38346. end;
  38347. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  38348. begin
  38349. if thebits = 0 then
  38350. pTDefRegMap(@Self)^.clr := $00000010
  38351. else
  38352. pTDefRegMap(@Self)^.&set := $00000010;
  38353. end;
  38354. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  38355. begin
  38356. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38357. end;
  38358. procedure TPMP_PMMODE.setWAITM3; inline;
  38359. begin
  38360. pTDefRegMap(@Self)^.&set := $00000020;
  38361. end;
  38362. procedure TPMP_PMMODE.clearWAITM3; inline;
  38363. begin
  38364. pTDefRegMap(@Self)^.clr := $00000020;
  38365. end;
  38366. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  38367. begin
  38368. if thebits = 0 then
  38369. pTDefRegMap(@Self)^.clr := $00000020
  38370. else
  38371. pTDefRegMap(@Self)^.&set := $00000020;
  38372. end;
  38373. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  38374. begin
  38375. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38376. end;
  38377. procedure TPMP_PMMODE.setWAITB0; inline;
  38378. begin
  38379. pTDefRegMap(@Self)^.&set := $00000040;
  38380. end;
  38381. procedure TPMP_PMMODE.clearWAITB0; inline;
  38382. begin
  38383. pTDefRegMap(@Self)^.clr := $00000040;
  38384. end;
  38385. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  38386. begin
  38387. if thebits = 0 then
  38388. pTDefRegMap(@Self)^.clr := $00000040
  38389. else
  38390. pTDefRegMap(@Self)^.&set := $00000040;
  38391. end;
  38392. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  38393. begin
  38394. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38395. end;
  38396. procedure TPMP_PMMODE.setWAITB1; inline;
  38397. begin
  38398. pTDefRegMap(@Self)^.&set := $00000080;
  38399. end;
  38400. procedure TPMP_PMMODE.clearWAITB1; inline;
  38401. begin
  38402. pTDefRegMap(@Self)^.clr := $00000080;
  38403. end;
  38404. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  38405. begin
  38406. if thebits = 0 then
  38407. pTDefRegMap(@Self)^.clr := $00000080
  38408. else
  38409. pTDefRegMap(@Self)^.&set := $00000080;
  38410. end;
  38411. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  38412. begin
  38413. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38414. end;
  38415. procedure TPMP_PMMODE.setMODE0; inline;
  38416. begin
  38417. pTDefRegMap(@Self)^.&set := $00000100;
  38418. end;
  38419. procedure TPMP_PMMODE.clearMODE0; inline;
  38420. begin
  38421. pTDefRegMap(@Self)^.clr := $00000100;
  38422. end;
  38423. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  38424. begin
  38425. if thebits = 0 then
  38426. pTDefRegMap(@Self)^.clr := $00000100
  38427. else
  38428. pTDefRegMap(@Self)^.&set := $00000100;
  38429. end;
  38430. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  38431. begin
  38432. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38433. end;
  38434. procedure TPMP_PMMODE.setMODE1; inline;
  38435. begin
  38436. pTDefRegMap(@Self)^.&set := $00000200;
  38437. end;
  38438. procedure TPMP_PMMODE.clearMODE1; inline;
  38439. begin
  38440. pTDefRegMap(@Self)^.clr := $00000200;
  38441. end;
  38442. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  38443. begin
  38444. if thebits = 0 then
  38445. pTDefRegMap(@Self)^.clr := $00000200
  38446. else
  38447. pTDefRegMap(@Self)^.&set := $00000200;
  38448. end;
  38449. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  38450. begin
  38451. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38452. end;
  38453. procedure TPMP_PMMODE.setINCM0; inline;
  38454. begin
  38455. pTDefRegMap(@Self)^.&set := $00000800;
  38456. end;
  38457. procedure TPMP_PMMODE.clearINCM0; inline;
  38458. begin
  38459. pTDefRegMap(@Self)^.clr := $00000800;
  38460. end;
  38461. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  38462. begin
  38463. if thebits = 0 then
  38464. pTDefRegMap(@Self)^.clr := $00000800
  38465. else
  38466. pTDefRegMap(@Self)^.&set := $00000800;
  38467. end;
  38468. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  38469. begin
  38470. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38471. end;
  38472. procedure TPMP_PMMODE.setINCM1; inline;
  38473. begin
  38474. pTDefRegMap(@Self)^.&set := $00001000;
  38475. end;
  38476. procedure TPMP_PMMODE.clearINCM1; inline;
  38477. begin
  38478. pTDefRegMap(@Self)^.clr := $00001000;
  38479. end;
  38480. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  38481. begin
  38482. if thebits = 0 then
  38483. pTDefRegMap(@Self)^.clr := $00001000
  38484. else
  38485. pTDefRegMap(@Self)^.&set := $00001000;
  38486. end;
  38487. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  38488. begin
  38489. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38490. end;
  38491. procedure TPMP_PMMODE.setIRQM0; inline;
  38492. begin
  38493. pTDefRegMap(@Self)^.&set := $00002000;
  38494. end;
  38495. procedure TPMP_PMMODE.clearIRQM0; inline;
  38496. begin
  38497. pTDefRegMap(@Self)^.clr := $00002000;
  38498. end;
  38499. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  38500. begin
  38501. if thebits = 0 then
  38502. pTDefRegMap(@Self)^.clr := $00002000
  38503. else
  38504. pTDefRegMap(@Self)^.&set := $00002000;
  38505. end;
  38506. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  38507. begin
  38508. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38509. end;
  38510. procedure TPMP_PMMODE.setIRQM1; inline;
  38511. begin
  38512. pTDefRegMap(@Self)^.&set := $00004000;
  38513. end;
  38514. procedure TPMP_PMMODE.clearIRQM1; inline;
  38515. begin
  38516. pTDefRegMap(@Self)^.clr := $00004000;
  38517. end;
  38518. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  38519. begin
  38520. if thebits = 0 then
  38521. pTDefRegMap(@Self)^.clr := $00004000
  38522. else
  38523. pTDefRegMap(@Self)^.&set := $00004000;
  38524. end;
  38525. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  38526. begin
  38527. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38528. end;
  38529. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  38530. begin
  38531. pTDefRegMap(@Self)^.val := thebits;
  38532. end;
  38533. function TPMP_PMMODE.getw : TBits_32; inline;
  38534. begin
  38535. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38536. end;
  38537. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  38538. begin
  38539. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  38540. end;
  38541. function TPMP_PMADDR.getADDR : TBits_14; inline;
  38542. begin
  38543. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  38544. end;
  38545. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  38546. begin
  38547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  38548. end;
  38549. function TPMP_PMADDR.getCS : TBits_2; inline;
  38550. begin
  38551. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  38552. end;
  38553. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  38554. begin
  38555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  38556. end;
  38557. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  38558. begin
  38559. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  38560. end;
  38561. procedure TPMP_PMADDR.setCS1; inline;
  38562. begin
  38563. pTDefRegMap(@Self)^.&set := $00004000;
  38564. end;
  38565. procedure TPMP_PMADDR.clearCS1; inline;
  38566. begin
  38567. pTDefRegMap(@Self)^.clr := $00004000;
  38568. end;
  38569. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  38570. begin
  38571. if thebits = 0 then
  38572. pTDefRegMap(@Self)^.clr := $00004000
  38573. else
  38574. pTDefRegMap(@Self)^.&set := $00004000;
  38575. end;
  38576. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  38577. begin
  38578. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38579. end;
  38580. procedure TPMP_PMADDR.setCS2; inline;
  38581. begin
  38582. pTDefRegMap(@Self)^.&set := $00008000;
  38583. end;
  38584. procedure TPMP_PMADDR.clearCS2; inline;
  38585. begin
  38586. pTDefRegMap(@Self)^.clr := $00008000;
  38587. end;
  38588. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  38589. begin
  38590. if thebits = 0 then
  38591. pTDefRegMap(@Self)^.clr := $00008000
  38592. else
  38593. pTDefRegMap(@Self)^.&set := $00008000;
  38594. end;
  38595. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  38596. begin
  38597. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38598. end;
  38599. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  38600. begin
  38601. pTDefRegMap(@Self)^.val := thebits;
  38602. end;
  38603. function TPMP_PMADDR.getw : TBits_32; inline;
  38604. begin
  38605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38606. end;
  38607. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  38608. begin
  38609. pTDefRegMap(@Self)^.val := thebits;
  38610. end;
  38611. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  38612. begin
  38613. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38614. end;
  38615. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  38616. begin
  38617. pTDefRegMap(@Self)^.val := thebits;
  38618. end;
  38619. function TPMP_PMDOUT.getw : TBits_32; inline;
  38620. begin
  38621. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38622. end;
  38623. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  38624. begin
  38625. pTDefRegMap(@Self)^.val := thebits;
  38626. end;
  38627. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  38628. begin
  38629. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38630. end;
  38631. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  38632. begin
  38633. pTDefRegMap(@Self)^.val := thebits;
  38634. end;
  38635. function TPMP_PMDIN.getw : TBits_32; inline;
  38636. begin
  38637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38638. end;
  38639. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  38640. begin
  38641. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  38642. end;
  38643. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  38644. begin
  38645. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  38646. end;
  38647. procedure TPMP_PMAEN.setPTEN0; inline;
  38648. begin
  38649. pTDefRegMap(@Self)^.&set := $00000001;
  38650. end;
  38651. procedure TPMP_PMAEN.clearPTEN0; inline;
  38652. begin
  38653. pTDefRegMap(@Self)^.clr := $00000001;
  38654. end;
  38655. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  38656. begin
  38657. if thebits = 0 then
  38658. pTDefRegMap(@Self)^.clr := $00000001
  38659. else
  38660. pTDefRegMap(@Self)^.&set := $00000001;
  38661. end;
  38662. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  38663. begin
  38664. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38665. end;
  38666. procedure TPMP_PMAEN.setPTEN1; inline;
  38667. begin
  38668. pTDefRegMap(@Self)^.&set := $00000002;
  38669. end;
  38670. procedure TPMP_PMAEN.clearPTEN1; inline;
  38671. begin
  38672. pTDefRegMap(@Self)^.clr := $00000002;
  38673. end;
  38674. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  38675. begin
  38676. if thebits = 0 then
  38677. pTDefRegMap(@Self)^.clr := $00000002
  38678. else
  38679. pTDefRegMap(@Self)^.&set := $00000002;
  38680. end;
  38681. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  38682. begin
  38683. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38684. end;
  38685. procedure TPMP_PMAEN.setPTEN2; inline;
  38686. begin
  38687. pTDefRegMap(@Self)^.&set := $00000004;
  38688. end;
  38689. procedure TPMP_PMAEN.clearPTEN2; inline;
  38690. begin
  38691. pTDefRegMap(@Self)^.clr := $00000004;
  38692. end;
  38693. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  38694. begin
  38695. if thebits = 0 then
  38696. pTDefRegMap(@Self)^.clr := $00000004
  38697. else
  38698. pTDefRegMap(@Self)^.&set := $00000004;
  38699. end;
  38700. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  38701. begin
  38702. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38703. end;
  38704. procedure TPMP_PMAEN.setPTEN3; inline;
  38705. begin
  38706. pTDefRegMap(@Self)^.&set := $00000008;
  38707. end;
  38708. procedure TPMP_PMAEN.clearPTEN3; inline;
  38709. begin
  38710. pTDefRegMap(@Self)^.clr := $00000008;
  38711. end;
  38712. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  38713. begin
  38714. if thebits = 0 then
  38715. pTDefRegMap(@Self)^.clr := $00000008
  38716. else
  38717. pTDefRegMap(@Self)^.&set := $00000008;
  38718. end;
  38719. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  38720. begin
  38721. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38722. end;
  38723. procedure TPMP_PMAEN.setPTEN4; inline;
  38724. begin
  38725. pTDefRegMap(@Self)^.&set := $00000010;
  38726. end;
  38727. procedure TPMP_PMAEN.clearPTEN4; inline;
  38728. begin
  38729. pTDefRegMap(@Self)^.clr := $00000010;
  38730. end;
  38731. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  38732. begin
  38733. if thebits = 0 then
  38734. pTDefRegMap(@Self)^.clr := $00000010
  38735. else
  38736. pTDefRegMap(@Self)^.&set := $00000010;
  38737. end;
  38738. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  38739. begin
  38740. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38741. end;
  38742. procedure TPMP_PMAEN.setPTEN5; inline;
  38743. begin
  38744. pTDefRegMap(@Self)^.&set := $00000020;
  38745. end;
  38746. procedure TPMP_PMAEN.clearPTEN5; inline;
  38747. begin
  38748. pTDefRegMap(@Self)^.clr := $00000020;
  38749. end;
  38750. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  38751. begin
  38752. if thebits = 0 then
  38753. pTDefRegMap(@Self)^.clr := $00000020
  38754. else
  38755. pTDefRegMap(@Self)^.&set := $00000020;
  38756. end;
  38757. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  38758. begin
  38759. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38760. end;
  38761. procedure TPMP_PMAEN.setPTEN6; inline;
  38762. begin
  38763. pTDefRegMap(@Self)^.&set := $00000040;
  38764. end;
  38765. procedure TPMP_PMAEN.clearPTEN6; inline;
  38766. begin
  38767. pTDefRegMap(@Self)^.clr := $00000040;
  38768. end;
  38769. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  38770. begin
  38771. if thebits = 0 then
  38772. pTDefRegMap(@Self)^.clr := $00000040
  38773. else
  38774. pTDefRegMap(@Self)^.&set := $00000040;
  38775. end;
  38776. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  38777. begin
  38778. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38779. end;
  38780. procedure TPMP_PMAEN.setPTEN7; inline;
  38781. begin
  38782. pTDefRegMap(@Self)^.&set := $00000080;
  38783. end;
  38784. procedure TPMP_PMAEN.clearPTEN7; inline;
  38785. begin
  38786. pTDefRegMap(@Self)^.clr := $00000080;
  38787. end;
  38788. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  38789. begin
  38790. if thebits = 0 then
  38791. pTDefRegMap(@Self)^.clr := $00000080
  38792. else
  38793. pTDefRegMap(@Self)^.&set := $00000080;
  38794. end;
  38795. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  38796. begin
  38797. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38798. end;
  38799. procedure TPMP_PMAEN.setPTEN8; inline;
  38800. begin
  38801. pTDefRegMap(@Self)^.&set := $00000100;
  38802. end;
  38803. procedure TPMP_PMAEN.clearPTEN8; inline;
  38804. begin
  38805. pTDefRegMap(@Self)^.clr := $00000100;
  38806. end;
  38807. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  38808. begin
  38809. if thebits = 0 then
  38810. pTDefRegMap(@Self)^.clr := $00000100
  38811. else
  38812. pTDefRegMap(@Self)^.&set := $00000100;
  38813. end;
  38814. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  38815. begin
  38816. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38817. end;
  38818. procedure TPMP_PMAEN.setPTEN9; inline;
  38819. begin
  38820. pTDefRegMap(@Self)^.&set := $00000200;
  38821. end;
  38822. procedure TPMP_PMAEN.clearPTEN9; inline;
  38823. begin
  38824. pTDefRegMap(@Self)^.clr := $00000200;
  38825. end;
  38826. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  38827. begin
  38828. if thebits = 0 then
  38829. pTDefRegMap(@Self)^.clr := $00000200
  38830. else
  38831. pTDefRegMap(@Self)^.&set := $00000200;
  38832. end;
  38833. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  38834. begin
  38835. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38836. end;
  38837. procedure TPMP_PMAEN.setPTEN10; inline;
  38838. begin
  38839. pTDefRegMap(@Self)^.&set := $00000400;
  38840. end;
  38841. procedure TPMP_PMAEN.clearPTEN10; inline;
  38842. begin
  38843. pTDefRegMap(@Self)^.clr := $00000400;
  38844. end;
  38845. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  38846. begin
  38847. if thebits = 0 then
  38848. pTDefRegMap(@Self)^.clr := $00000400
  38849. else
  38850. pTDefRegMap(@Self)^.&set := $00000400;
  38851. end;
  38852. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  38853. begin
  38854. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38855. end;
  38856. procedure TPMP_PMAEN.setPTEN11; inline;
  38857. begin
  38858. pTDefRegMap(@Self)^.&set := $00000800;
  38859. end;
  38860. procedure TPMP_PMAEN.clearPTEN11; inline;
  38861. begin
  38862. pTDefRegMap(@Self)^.clr := $00000800;
  38863. end;
  38864. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  38865. begin
  38866. if thebits = 0 then
  38867. pTDefRegMap(@Self)^.clr := $00000800
  38868. else
  38869. pTDefRegMap(@Self)^.&set := $00000800;
  38870. end;
  38871. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  38872. begin
  38873. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38874. end;
  38875. procedure TPMP_PMAEN.setPTEN12; inline;
  38876. begin
  38877. pTDefRegMap(@Self)^.&set := $00001000;
  38878. end;
  38879. procedure TPMP_PMAEN.clearPTEN12; inline;
  38880. begin
  38881. pTDefRegMap(@Self)^.clr := $00001000;
  38882. end;
  38883. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  38884. begin
  38885. if thebits = 0 then
  38886. pTDefRegMap(@Self)^.clr := $00001000
  38887. else
  38888. pTDefRegMap(@Self)^.&set := $00001000;
  38889. end;
  38890. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  38891. begin
  38892. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38893. end;
  38894. procedure TPMP_PMAEN.setPTEN13; inline;
  38895. begin
  38896. pTDefRegMap(@Self)^.&set := $00002000;
  38897. end;
  38898. procedure TPMP_PMAEN.clearPTEN13; inline;
  38899. begin
  38900. pTDefRegMap(@Self)^.clr := $00002000;
  38901. end;
  38902. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  38903. begin
  38904. if thebits = 0 then
  38905. pTDefRegMap(@Self)^.clr := $00002000
  38906. else
  38907. pTDefRegMap(@Self)^.&set := $00002000;
  38908. end;
  38909. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  38910. begin
  38911. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38912. end;
  38913. procedure TPMP_PMAEN.setPTEN14; inline;
  38914. begin
  38915. pTDefRegMap(@Self)^.&set := $00004000;
  38916. end;
  38917. procedure TPMP_PMAEN.clearPTEN14; inline;
  38918. begin
  38919. pTDefRegMap(@Self)^.clr := $00004000;
  38920. end;
  38921. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  38922. begin
  38923. if thebits = 0 then
  38924. pTDefRegMap(@Self)^.clr := $00004000
  38925. else
  38926. pTDefRegMap(@Self)^.&set := $00004000;
  38927. end;
  38928. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  38929. begin
  38930. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38931. end;
  38932. procedure TPMP_PMAEN.setPTEN15; inline;
  38933. begin
  38934. pTDefRegMap(@Self)^.&set := $00008000;
  38935. end;
  38936. procedure TPMP_PMAEN.clearPTEN15; inline;
  38937. begin
  38938. pTDefRegMap(@Self)^.clr := $00008000;
  38939. end;
  38940. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  38941. begin
  38942. if thebits = 0 then
  38943. pTDefRegMap(@Self)^.clr := $00008000
  38944. else
  38945. pTDefRegMap(@Self)^.&set := $00008000;
  38946. end;
  38947. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  38948. begin
  38949. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38950. end;
  38951. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  38952. begin
  38953. pTDefRegMap(@Self)^.val := thebits;
  38954. end;
  38955. function TPMP_PMAEN.getw : TBits_32; inline;
  38956. begin
  38957. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38958. end;
  38959. procedure TPMP_PMSTAT.setOB0E; inline;
  38960. begin
  38961. pTDefRegMap(@Self)^.&set := $00000001;
  38962. end;
  38963. procedure TPMP_PMSTAT.clearOB0E; inline;
  38964. begin
  38965. pTDefRegMap(@Self)^.clr := $00000001;
  38966. end;
  38967. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  38968. begin
  38969. if thebits = 0 then
  38970. pTDefRegMap(@Self)^.clr := $00000001
  38971. else
  38972. pTDefRegMap(@Self)^.&set := $00000001;
  38973. end;
  38974. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  38975. begin
  38976. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38977. end;
  38978. procedure TPMP_PMSTAT.setOB1E; inline;
  38979. begin
  38980. pTDefRegMap(@Self)^.&set := $00000002;
  38981. end;
  38982. procedure TPMP_PMSTAT.clearOB1E; inline;
  38983. begin
  38984. pTDefRegMap(@Self)^.clr := $00000002;
  38985. end;
  38986. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  38987. begin
  38988. if thebits = 0 then
  38989. pTDefRegMap(@Self)^.clr := $00000002
  38990. else
  38991. pTDefRegMap(@Self)^.&set := $00000002;
  38992. end;
  38993. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  38994. begin
  38995. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38996. end;
  38997. procedure TPMP_PMSTAT.setOB2E; inline;
  38998. begin
  38999. pTDefRegMap(@Self)^.&set := $00000004;
  39000. end;
  39001. procedure TPMP_PMSTAT.clearOB2E; inline;
  39002. begin
  39003. pTDefRegMap(@Self)^.clr := $00000004;
  39004. end;
  39005. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  39006. begin
  39007. if thebits = 0 then
  39008. pTDefRegMap(@Self)^.clr := $00000004
  39009. else
  39010. pTDefRegMap(@Self)^.&set := $00000004;
  39011. end;
  39012. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  39013. begin
  39014. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39015. end;
  39016. procedure TPMP_PMSTAT.setOB3E; inline;
  39017. begin
  39018. pTDefRegMap(@Self)^.&set := $00000008;
  39019. end;
  39020. procedure TPMP_PMSTAT.clearOB3E; inline;
  39021. begin
  39022. pTDefRegMap(@Self)^.clr := $00000008;
  39023. end;
  39024. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  39025. begin
  39026. if thebits = 0 then
  39027. pTDefRegMap(@Self)^.clr := $00000008
  39028. else
  39029. pTDefRegMap(@Self)^.&set := $00000008;
  39030. end;
  39031. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  39032. begin
  39033. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39034. end;
  39035. procedure TPMP_PMSTAT.setOBUF; inline;
  39036. begin
  39037. pTDefRegMap(@Self)^.&set := $00000040;
  39038. end;
  39039. procedure TPMP_PMSTAT.clearOBUF; inline;
  39040. begin
  39041. pTDefRegMap(@Self)^.clr := $00000040;
  39042. end;
  39043. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  39044. begin
  39045. if thebits = 0 then
  39046. pTDefRegMap(@Self)^.clr := $00000040
  39047. else
  39048. pTDefRegMap(@Self)^.&set := $00000040;
  39049. end;
  39050. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  39051. begin
  39052. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39053. end;
  39054. procedure TPMP_PMSTAT.setOBE; inline;
  39055. begin
  39056. pTDefRegMap(@Self)^.&set := $00000080;
  39057. end;
  39058. procedure TPMP_PMSTAT.clearOBE; inline;
  39059. begin
  39060. pTDefRegMap(@Self)^.clr := $00000080;
  39061. end;
  39062. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  39063. begin
  39064. if thebits = 0 then
  39065. pTDefRegMap(@Self)^.clr := $00000080
  39066. else
  39067. pTDefRegMap(@Self)^.&set := $00000080;
  39068. end;
  39069. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  39070. begin
  39071. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39072. end;
  39073. procedure TPMP_PMSTAT.setIB0F; inline;
  39074. begin
  39075. pTDefRegMap(@Self)^.&set := $00000100;
  39076. end;
  39077. procedure TPMP_PMSTAT.clearIB0F; inline;
  39078. begin
  39079. pTDefRegMap(@Self)^.clr := $00000100;
  39080. end;
  39081. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  39082. begin
  39083. if thebits = 0 then
  39084. pTDefRegMap(@Self)^.clr := $00000100
  39085. else
  39086. pTDefRegMap(@Self)^.&set := $00000100;
  39087. end;
  39088. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  39089. begin
  39090. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39091. end;
  39092. procedure TPMP_PMSTAT.setIB1F; inline;
  39093. begin
  39094. pTDefRegMap(@Self)^.&set := $00000200;
  39095. end;
  39096. procedure TPMP_PMSTAT.clearIB1F; inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.clr := $00000200;
  39099. end;
  39100. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  39101. begin
  39102. if thebits = 0 then
  39103. pTDefRegMap(@Self)^.clr := $00000200
  39104. else
  39105. pTDefRegMap(@Self)^.&set := $00000200;
  39106. end;
  39107. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  39108. begin
  39109. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39110. end;
  39111. procedure TPMP_PMSTAT.setIB2F; inline;
  39112. begin
  39113. pTDefRegMap(@Self)^.&set := $00000400;
  39114. end;
  39115. procedure TPMP_PMSTAT.clearIB2F; inline;
  39116. begin
  39117. pTDefRegMap(@Self)^.clr := $00000400;
  39118. end;
  39119. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  39120. begin
  39121. if thebits = 0 then
  39122. pTDefRegMap(@Self)^.clr := $00000400
  39123. else
  39124. pTDefRegMap(@Self)^.&set := $00000400;
  39125. end;
  39126. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  39127. begin
  39128. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39129. end;
  39130. procedure TPMP_PMSTAT.setIB3F; inline;
  39131. begin
  39132. pTDefRegMap(@Self)^.&set := $00000800;
  39133. end;
  39134. procedure TPMP_PMSTAT.clearIB3F; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.clr := $00000800;
  39137. end;
  39138. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  39139. begin
  39140. if thebits = 0 then
  39141. pTDefRegMap(@Self)^.clr := $00000800
  39142. else
  39143. pTDefRegMap(@Self)^.&set := $00000800;
  39144. end;
  39145. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  39146. begin
  39147. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39148. end;
  39149. procedure TPMP_PMSTAT.setIBOV; inline;
  39150. begin
  39151. pTDefRegMap(@Self)^.&set := $00004000;
  39152. end;
  39153. procedure TPMP_PMSTAT.clearIBOV; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.clr := $00004000;
  39156. end;
  39157. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  39158. begin
  39159. if thebits = 0 then
  39160. pTDefRegMap(@Self)^.clr := $00004000
  39161. else
  39162. pTDefRegMap(@Self)^.&set := $00004000;
  39163. end;
  39164. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  39165. begin
  39166. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39167. end;
  39168. procedure TPMP_PMSTAT.setIBF; inline;
  39169. begin
  39170. pTDefRegMap(@Self)^.&set := $00008000;
  39171. end;
  39172. procedure TPMP_PMSTAT.clearIBF; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.clr := $00008000;
  39175. end;
  39176. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  39177. begin
  39178. if thebits = 0 then
  39179. pTDefRegMap(@Self)^.clr := $00008000
  39180. else
  39181. pTDefRegMap(@Self)^.&set := $00008000;
  39182. end;
  39183. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  39184. begin
  39185. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39186. end;
  39187. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  39188. begin
  39189. pTDefRegMap(@Self)^.val := thebits;
  39190. end;
  39191. function TPMP_PMSTAT.getw : TBits_32; inline;
  39192. begin
  39193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39194. end;
  39195. procedure TADC10_AD1CON1.setDONE; inline;
  39196. begin
  39197. pTDefRegMap(@Self)^.&set := $00000001;
  39198. end;
  39199. procedure TADC10_AD1CON1.clearDONE; inline;
  39200. begin
  39201. pTDefRegMap(@Self)^.clr := $00000001;
  39202. end;
  39203. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  39204. begin
  39205. if thebits = 0 then
  39206. pTDefRegMap(@Self)^.clr := $00000001
  39207. else
  39208. pTDefRegMap(@Self)^.&set := $00000001;
  39209. end;
  39210. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  39211. begin
  39212. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39213. end;
  39214. procedure TADC10_AD1CON1.setSAMP; inline;
  39215. begin
  39216. pTDefRegMap(@Self)^.&set := $00000002;
  39217. end;
  39218. procedure TADC10_AD1CON1.clearSAMP; inline;
  39219. begin
  39220. pTDefRegMap(@Self)^.clr := $00000002;
  39221. end;
  39222. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  39223. begin
  39224. if thebits = 0 then
  39225. pTDefRegMap(@Self)^.clr := $00000002
  39226. else
  39227. pTDefRegMap(@Self)^.&set := $00000002;
  39228. end;
  39229. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  39230. begin
  39231. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39232. end;
  39233. procedure TADC10_AD1CON1.setASAM; inline;
  39234. begin
  39235. pTDefRegMap(@Self)^.&set := $00000004;
  39236. end;
  39237. procedure TADC10_AD1CON1.clearASAM; inline;
  39238. begin
  39239. pTDefRegMap(@Self)^.clr := $00000004;
  39240. end;
  39241. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  39242. begin
  39243. if thebits = 0 then
  39244. pTDefRegMap(@Self)^.clr := $00000004
  39245. else
  39246. pTDefRegMap(@Self)^.&set := $00000004;
  39247. end;
  39248. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  39249. begin
  39250. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39251. end;
  39252. procedure TADC10_AD1CON1.setCLRASAM; inline;
  39253. begin
  39254. pTDefRegMap(@Self)^.&set := $00000010;
  39255. end;
  39256. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  39257. begin
  39258. pTDefRegMap(@Self)^.clr := $00000010;
  39259. end;
  39260. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  39261. begin
  39262. if thebits = 0 then
  39263. pTDefRegMap(@Self)^.clr := $00000010
  39264. else
  39265. pTDefRegMap(@Self)^.&set := $00000010;
  39266. end;
  39267. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  39268. begin
  39269. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39270. end;
  39271. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  39272. begin
  39273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  39274. end;
  39275. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  39276. begin
  39277. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  39278. end;
  39279. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  39282. end;
  39283. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  39284. begin
  39285. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  39286. end;
  39287. procedure TADC10_AD1CON1.setSIDL; inline;
  39288. begin
  39289. pTDefRegMap(@Self)^.&set := $00002000;
  39290. end;
  39291. procedure TADC10_AD1CON1.clearSIDL; inline;
  39292. begin
  39293. pTDefRegMap(@Self)^.clr := $00002000;
  39294. end;
  39295. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  39296. begin
  39297. if thebits = 0 then
  39298. pTDefRegMap(@Self)^.clr := $00002000
  39299. else
  39300. pTDefRegMap(@Self)^.&set := $00002000;
  39301. end;
  39302. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  39303. begin
  39304. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39305. end;
  39306. procedure TADC10_AD1CON1.setON; inline;
  39307. begin
  39308. pTDefRegMap(@Self)^.&set := $00008000;
  39309. end;
  39310. procedure TADC10_AD1CON1.clearON; inline;
  39311. begin
  39312. pTDefRegMap(@Self)^.clr := $00008000;
  39313. end;
  39314. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  39315. begin
  39316. if thebits = 0 then
  39317. pTDefRegMap(@Self)^.clr := $00008000
  39318. else
  39319. pTDefRegMap(@Self)^.&set := $00008000;
  39320. end;
  39321. function TADC10_AD1CON1.getON : TBits_1; inline;
  39322. begin
  39323. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39324. end;
  39325. procedure TADC10_AD1CON1.setSSRC0; inline;
  39326. begin
  39327. pTDefRegMap(@Self)^.&set := $00000020;
  39328. end;
  39329. procedure TADC10_AD1CON1.clearSSRC0; inline;
  39330. begin
  39331. pTDefRegMap(@Self)^.clr := $00000020;
  39332. end;
  39333. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  39334. begin
  39335. if thebits = 0 then
  39336. pTDefRegMap(@Self)^.clr := $00000020
  39337. else
  39338. pTDefRegMap(@Self)^.&set := $00000020;
  39339. end;
  39340. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  39341. begin
  39342. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39343. end;
  39344. procedure TADC10_AD1CON1.setSSRC1; inline;
  39345. begin
  39346. pTDefRegMap(@Self)^.&set := $00000040;
  39347. end;
  39348. procedure TADC10_AD1CON1.clearSSRC1; inline;
  39349. begin
  39350. pTDefRegMap(@Self)^.clr := $00000040;
  39351. end;
  39352. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  39353. begin
  39354. if thebits = 0 then
  39355. pTDefRegMap(@Self)^.clr := $00000040
  39356. else
  39357. pTDefRegMap(@Self)^.&set := $00000040;
  39358. end;
  39359. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  39360. begin
  39361. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39362. end;
  39363. procedure TADC10_AD1CON1.setSSRC2; inline;
  39364. begin
  39365. pTDefRegMap(@Self)^.&set := $00000080;
  39366. end;
  39367. procedure TADC10_AD1CON1.clearSSRC2; inline;
  39368. begin
  39369. pTDefRegMap(@Self)^.clr := $00000080;
  39370. end;
  39371. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  39372. begin
  39373. if thebits = 0 then
  39374. pTDefRegMap(@Self)^.clr := $00000080
  39375. else
  39376. pTDefRegMap(@Self)^.&set := $00000080;
  39377. end;
  39378. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  39379. begin
  39380. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39381. end;
  39382. procedure TADC10_AD1CON1.setFORM0; inline;
  39383. begin
  39384. pTDefRegMap(@Self)^.&set := $00000100;
  39385. end;
  39386. procedure TADC10_AD1CON1.clearFORM0; inline;
  39387. begin
  39388. pTDefRegMap(@Self)^.clr := $00000100;
  39389. end;
  39390. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  39391. begin
  39392. if thebits = 0 then
  39393. pTDefRegMap(@Self)^.clr := $00000100
  39394. else
  39395. pTDefRegMap(@Self)^.&set := $00000100;
  39396. end;
  39397. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  39398. begin
  39399. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39400. end;
  39401. procedure TADC10_AD1CON1.setFORM1; inline;
  39402. begin
  39403. pTDefRegMap(@Self)^.&set := $00000200;
  39404. end;
  39405. procedure TADC10_AD1CON1.clearFORM1; inline;
  39406. begin
  39407. pTDefRegMap(@Self)^.clr := $00000200;
  39408. end;
  39409. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  39410. begin
  39411. if thebits = 0 then
  39412. pTDefRegMap(@Self)^.clr := $00000200
  39413. else
  39414. pTDefRegMap(@Self)^.&set := $00000200;
  39415. end;
  39416. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  39417. begin
  39418. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39419. end;
  39420. procedure TADC10_AD1CON1.setFORM2; inline;
  39421. begin
  39422. pTDefRegMap(@Self)^.&set := $00000400;
  39423. end;
  39424. procedure TADC10_AD1CON1.clearFORM2; inline;
  39425. begin
  39426. pTDefRegMap(@Self)^.clr := $00000400;
  39427. end;
  39428. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  39429. begin
  39430. if thebits = 0 then
  39431. pTDefRegMap(@Self)^.clr := $00000400
  39432. else
  39433. pTDefRegMap(@Self)^.&set := $00000400;
  39434. end;
  39435. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  39436. begin
  39437. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39438. end;
  39439. procedure TADC10_AD1CON1.setADSIDL; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.&set := $00002000;
  39442. end;
  39443. procedure TADC10_AD1CON1.clearADSIDL; inline;
  39444. begin
  39445. pTDefRegMap(@Self)^.clr := $00002000;
  39446. end;
  39447. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  39448. begin
  39449. if thebits = 0 then
  39450. pTDefRegMap(@Self)^.clr := $00002000
  39451. else
  39452. pTDefRegMap(@Self)^.&set := $00002000;
  39453. end;
  39454. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  39455. begin
  39456. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39457. end;
  39458. procedure TADC10_AD1CON1.setADON; inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.&set := $00008000;
  39461. end;
  39462. procedure TADC10_AD1CON1.clearADON; inline;
  39463. begin
  39464. pTDefRegMap(@Self)^.clr := $00008000;
  39465. end;
  39466. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  39467. begin
  39468. if thebits = 0 then
  39469. pTDefRegMap(@Self)^.clr := $00008000
  39470. else
  39471. pTDefRegMap(@Self)^.&set := $00008000;
  39472. end;
  39473. function TADC10_AD1CON1.getADON : TBits_1; inline;
  39474. begin
  39475. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39476. end;
  39477. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  39478. begin
  39479. pTDefRegMap(@Self)^.val := thebits;
  39480. end;
  39481. function TADC10_AD1CON1.getw : TBits_32; inline;
  39482. begin
  39483. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39484. end;
  39485. procedure TADC10_AD1CON2.setALTS; inline;
  39486. begin
  39487. pTDefRegMap(@Self)^.&set := $00000001;
  39488. end;
  39489. procedure TADC10_AD1CON2.clearALTS; inline;
  39490. begin
  39491. pTDefRegMap(@Self)^.clr := $00000001;
  39492. end;
  39493. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  39494. begin
  39495. if thebits = 0 then
  39496. pTDefRegMap(@Self)^.clr := $00000001
  39497. else
  39498. pTDefRegMap(@Self)^.&set := $00000001;
  39499. end;
  39500. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  39501. begin
  39502. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39503. end;
  39504. procedure TADC10_AD1CON2.setBUFM; inline;
  39505. begin
  39506. pTDefRegMap(@Self)^.&set := $00000002;
  39507. end;
  39508. procedure TADC10_AD1CON2.clearBUFM; inline;
  39509. begin
  39510. pTDefRegMap(@Self)^.clr := $00000002;
  39511. end;
  39512. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  39513. begin
  39514. if thebits = 0 then
  39515. pTDefRegMap(@Self)^.clr := $00000002
  39516. else
  39517. pTDefRegMap(@Self)^.&set := $00000002;
  39518. end;
  39519. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  39520. begin
  39521. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39522. end;
  39523. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  39524. begin
  39525. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  39526. end;
  39527. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  39528. begin
  39529. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  39530. end;
  39531. procedure TADC10_AD1CON2.setBUFS; inline;
  39532. begin
  39533. pTDefRegMap(@Self)^.&set := $00000080;
  39534. end;
  39535. procedure TADC10_AD1CON2.clearBUFS; inline;
  39536. begin
  39537. pTDefRegMap(@Self)^.clr := $00000080;
  39538. end;
  39539. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  39540. begin
  39541. if thebits = 0 then
  39542. pTDefRegMap(@Self)^.clr := $00000080
  39543. else
  39544. pTDefRegMap(@Self)^.&set := $00000080;
  39545. end;
  39546. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  39547. begin
  39548. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39549. end;
  39550. procedure TADC10_AD1CON2.setCSCNA; inline;
  39551. begin
  39552. pTDefRegMap(@Self)^.&set := $00000400;
  39553. end;
  39554. procedure TADC10_AD1CON2.clearCSCNA; inline;
  39555. begin
  39556. pTDefRegMap(@Self)^.clr := $00000400;
  39557. end;
  39558. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  39559. begin
  39560. if thebits = 0 then
  39561. pTDefRegMap(@Self)^.clr := $00000400
  39562. else
  39563. pTDefRegMap(@Self)^.&set := $00000400;
  39564. end;
  39565. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  39566. begin
  39567. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39568. end;
  39569. procedure TADC10_AD1CON2.setOFFCAL; inline;
  39570. begin
  39571. pTDefRegMap(@Self)^.&set := $00001000;
  39572. end;
  39573. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  39574. begin
  39575. pTDefRegMap(@Self)^.clr := $00001000;
  39576. end;
  39577. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  39578. begin
  39579. if thebits = 0 then
  39580. pTDefRegMap(@Self)^.clr := $00001000
  39581. else
  39582. pTDefRegMap(@Self)^.&set := $00001000;
  39583. end;
  39584. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  39585. begin
  39586. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39587. end;
  39588. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  39589. begin
  39590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  39591. end;
  39592. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  39593. begin
  39594. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  39595. end;
  39596. procedure TADC10_AD1CON2.setSMPI0; inline;
  39597. begin
  39598. pTDefRegMap(@Self)^.&set := $00000004;
  39599. end;
  39600. procedure TADC10_AD1CON2.clearSMPI0; inline;
  39601. begin
  39602. pTDefRegMap(@Self)^.clr := $00000004;
  39603. end;
  39604. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  39605. begin
  39606. if thebits = 0 then
  39607. pTDefRegMap(@Self)^.clr := $00000004
  39608. else
  39609. pTDefRegMap(@Self)^.&set := $00000004;
  39610. end;
  39611. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  39612. begin
  39613. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39614. end;
  39615. procedure TADC10_AD1CON2.setSMPI1; inline;
  39616. begin
  39617. pTDefRegMap(@Self)^.&set := $00000008;
  39618. end;
  39619. procedure TADC10_AD1CON2.clearSMPI1; inline;
  39620. begin
  39621. pTDefRegMap(@Self)^.clr := $00000008;
  39622. end;
  39623. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  39624. begin
  39625. if thebits = 0 then
  39626. pTDefRegMap(@Self)^.clr := $00000008
  39627. else
  39628. pTDefRegMap(@Self)^.&set := $00000008;
  39629. end;
  39630. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  39631. begin
  39632. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39633. end;
  39634. procedure TADC10_AD1CON2.setSMPI2; inline;
  39635. begin
  39636. pTDefRegMap(@Self)^.&set := $00000010;
  39637. end;
  39638. procedure TADC10_AD1CON2.clearSMPI2; inline;
  39639. begin
  39640. pTDefRegMap(@Self)^.clr := $00000010;
  39641. end;
  39642. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  39643. begin
  39644. if thebits = 0 then
  39645. pTDefRegMap(@Self)^.clr := $00000010
  39646. else
  39647. pTDefRegMap(@Self)^.&set := $00000010;
  39648. end;
  39649. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  39650. begin
  39651. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39652. end;
  39653. procedure TADC10_AD1CON2.setSMPI3; inline;
  39654. begin
  39655. pTDefRegMap(@Self)^.&set := $00000020;
  39656. end;
  39657. procedure TADC10_AD1CON2.clearSMPI3; inline;
  39658. begin
  39659. pTDefRegMap(@Self)^.clr := $00000020;
  39660. end;
  39661. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  39662. begin
  39663. if thebits = 0 then
  39664. pTDefRegMap(@Self)^.clr := $00000020
  39665. else
  39666. pTDefRegMap(@Self)^.&set := $00000020;
  39667. end;
  39668. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  39669. begin
  39670. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39671. end;
  39672. procedure TADC10_AD1CON2.setVCFG0; inline;
  39673. begin
  39674. pTDefRegMap(@Self)^.&set := $00002000;
  39675. end;
  39676. procedure TADC10_AD1CON2.clearVCFG0; inline;
  39677. begin
  39678. pTDefRegMap(@Self)^.clr := $00002000;
  39679. end;
  39680. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  39681. begin
  39682. if thebits = 0 then
  39683. pTDefRegMap(@Self)^.clr := $00002000
  39684. else
  39685. pTDefRegMap(@Self)^.&set := $00002000;
  39686. end;
  39687. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  39688. begin
  39689. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39690. end;
  39691. procedure TADC10_AD1CON2.setVCFG1; inline;
  39692. begin
  39693. pTDefRegMap(@Self)^.&set := $00004000;
  39694. end;
  39695. procedure TADC10_AD1CON2.clearVCFG1; inline;
  39696. begin
  39697. pTDefRegMap(@Self)^.clr := $00004000;
  39698. end;
  39699. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  39700. begin
  39701. if thebits = 0 then
  39702. pTDefRegMap(@Self)^.clr := $00004000
  39703. else
  39704. pTDefRegMap(@Self)^.&set := $00004000;
  39705. end;
  39706. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  39707. begin
  39708. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39709. end;
  39710. procedure TADC10_AD1CON2.setVCFG2; inline;
  39711. begin
  39712. pTDefRegMap(@Self)^.&set := $00008000;
  39713. end;
  39714. procedure TADC10_AD1CON2.clearVCFG2; inline;
  39715. begin
  39716. pTDefRegMap(@Self)^.clr := $00008000;
  39717. end;
  39718. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  39719. begin
  39720. if thebits = 0 then
  39721. pTDefRegMap(@Self)^.clr := $00008000
  39722. else
  39723. pTDefRegMap(@Self)^.&set := $00008000;
  39724. end;
  39725. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  39726. begin
  39727. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39728. end;
  39729. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  39730. begin
  39731. pTDefRegMap(@Self)^.val := thebits;
  39732. end;
  39733. function TADC10_AD1CON2.getw : TBits_32; inline;
  39734. begin
  39735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39736. end;
  39737. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  39738. begin
  39739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  39740. end;
  39741. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  39742. begin
  39743. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  39744. end;
  39745. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  39746. begin
  39747. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  39748. end;
  39749. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  39750. begin
  39751. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  39752. end;
  39753. procedure TADC10_AD1CON3.setADRC; inline;
  39754. begin
  39755. pTDefRegMap(@Self)^.&set := $00008000;
  39756. end;
  39757. procedure TADC10_AD1CON3.clearADRC; inline;
  39758. begin
  39759. pTDefRegMap(@Self)^.clr := $00008000;
  39760. end;
  39761. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  39762. begin
  39763. if thebits = 0 then
  39764. pTDefRegMap(@Self)^.clr := $00008000
  39765. else
  39766. pTDefRegMap(@Self)^.&set := $00008000;
  39767. end;
  39768. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  39769. begin
  39770. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39771. end;
  39772. procedure TADC10_AD1CON3.setADCS0; inline;
  39773. begin
  39774. pTDefRegMap(@Self)^.&set := $00000001;
  39775. end;
  39776. procedure TADC10_AD1CON3.clearADCS0; inline;
  39777. begin
  39778. pTDefRegMap(@Self)^.clr := $00000001;
  39779. end;
  39780. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  39781. begin
  39782. if thebits = 0 then
  39783. pTDefRegMap(@Self)^.clr := $00000001
  39784. else
  39785. pTDefRegMap(@Self)^.&set := $00000001;
  39786. end;
  39787. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  39788. begin
  39789. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39790. end;
  39791. procedure TADC10_AD1CON3.setADCS1; inline;
  39792. begin
  39793. pTDefRegMap(@Self)^.&set := $00000002;
  39794. end;
  39795. procedure TADC10_AD1CON3.clearADCS1; inline;
  39796. begin
  39797. pTDefRegMap(@Self)^.clr := $00000002;
  39798. end;
  39799. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  39800. begin
  39801. if thebits = 0 then
  39802. pTDefRegMap(@Self)^.clr := $00000002
  39803. else
  39804. pTDefRegMap(@Self)^.&set := $00000002;
  39805. end;
  39806. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  39807. begin
  39808. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39809. end;
  39810. procedure TADC10_AD1CON3.setADCS2; inline;
  39811. begin
  39812. pTDefRegMap(@Self)^.&set := $00000004;
  39813. end;
  39814. procedure TADC10_AD1CON3.clearADCS2; inline;
  39815. begin
  39816. pTDefRegMap(@Self)^.clr := $00000004;
  39817. end;
  39818. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  39819. begin
  39820. if thebits = 0 then
  39821. pTDefRegMap(@Self)^.clr := $00000004
  39822. else
  39823. pTDefRegMap(@Self)^.&set := $00000004;
  39824. end;
  39825. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  39826. begin
  39827. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39828. end;
  39829. procedure TADC10_AD1CON3.setADCS3; inline;
  39830. begin
  39831. pTDefRegMap(@Self)^.&set := $00000008;
  39832. end;
  39833. procedure TADC10_AD1CON3.clearADCS3; inline;
  39834. begin
  39835. pTDefRegMap(@Self)^.clr := $00000008;
  39836. end;
  39837. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  39838. begin
  39839. if thebits = 0 then
  39840. pTDefRegMap(@Self)^.clr := $00000008
  39841. else
  39842. pTDefRegMap(@Self)^.&set := $00000008;
  39843. end;
  39844. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  39845. begin
  39846. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39847. end;
  39848. procedure TADC10_AD1CON3.setADCS4; inline;
  39849. begin
  39850. pTDefRegMap(@Self)^.&set := $00000010;
  39851. end;
  39852. procedure TADC10_AD1CON3.clearADCS4; inline;
  39853. begin
  39854. pTDefRegMap(@Self)^.clr := $00000010;
  39855. end;
  39856. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  39857. begin
  39858. if thebits = 0 then
  39859. pTDefRegMap(@Self)^.clr := $00000010
  39860. else
  39861. pTDefRegMap(@Self)^.&set := $00000010;
  39862. end;
  39863. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  39864. begin
  39865. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39866. end;
  39867. procedure TADC10_AD1CON3.setADCS5; inline;
  39868. begin
  39869. pTDefRegMap(@Self)^.&set := $00000020;
  39870. end;
  39871. procedure TADC10_AD1CON3.clearADCS5; inline;
  39872. begin
  39873. pTDefRegMap(@Self)^.clr := $00000020;
  39874. end;
  39875. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  39876. begin
  39877. if thebits = 0 then
  39878. pTDefRegMap(@Self)^.clr := $00000020
  39879. else
  39880. pTDefRegMap(@Self)^.&set := $00000020;
  39881. end;
  39882. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  39883. begin
  39884. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39885. end;
  39886. procedure TADC10_AD1CON3.setADCS6; inline;
  39887. begin
  39888. pTDefRegMap(@Self)^.&set := $00000040;
  39889. end;
  39890. procedure TADC10_AD1CON3.clearADCS6; inline;
  39891. begin
  39892. pTDefRegMap(@Self)^.clr := $00000040;
  39893. end;
  39894. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  39895. begin
  39896. if thebits = 0 then
  39897. pTDefRegMap(@Self)^.clr := $00000040
  39898. else
  39899. pTDefRegMap(@Self)^.&set := $00000040;
  39900. end;
  39901. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  39902. begin
  39903. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39904. end;
  39905. procedure TADC10_AD1CON3.setADCS7; inline;
  39906. begin
  39907. pTDefRegMap(@Self)^.&set := $00000080;
  39908. end;
  39909. procedure TADC10_AD1CON3.clearADCS7; inline;
  39910. begin
  39911. pTDefRegMap(@Self)^.clr := $00000080;
  39912. end;
  39913. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  39914. begin
  39915. if thebits = 0 then
  39916. pTDefRegMap(@Self)^.clr := $00000080
  39917. else
  39918. pTDefRegMap(@Self)^.&set := $00000080;
  39919. end;
  39920. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  39921. begin
  39922. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39923. end;
  39924. procedure TADC10_AD1CON3.setSAMC0; inline;
  39925. begin
  39926. pTDefRegMap(@Self)^.&set := $00000100;
  39927. end;
  39928. procedure TADC10_AD1CON3.clearSAMC0; inline;
  39929. begin
  39930. pTDefRegMap(@Self)^.clr := $00000100;
  39931. end;
  39932. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  39933. begin
  39934. if thebits = 0 then
  39935. pTDefRegMap(@Self)^.clr := $00000100
  39936. else
  39937. pTDefRegMap(@Self)^.&set := $00000100;
  39938. end;
  39939. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  39940. begin
  39941. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39942. end;
  39943. procedure TADC10_AD1CON3.setSAMC1; inline;
  39944. begin
  39945. pTDefRegMap(@Self)^.&set := $00000200;
  39946. end;
  39947. procedure TADC10_AD1CON3.clearSAMC1; inline;
  39948. begin
  39949. pTDefRegMap(@Self)^.clr := $00000200;
  39950. end;
  39951. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  39952. begin
  39953. if thebits = 0 then
  39954. pTDefRegMap(@Self)^.clr := $00000200
  39955. else
  39956. pTDefRegMap(@Self)^.&set := $00000200;
  39957. end;
  39958. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  39959. begin
  39960. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39961. end;
  39962. procedure TADC10_AD1CON3.setSAMC2; inline;
  39963. begin
  39964. pTDefRegMap(@Self)^.&set := $00000400;
  39965. end;
  39966. procedure TADC10_AD1CON3.clearSAMC2; inline;
  39967. begin
  39968. pTDefRegMap(@Self)^.clr := $00000400;
  39969. end;
  39970. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  39971. begin
  39972. if thebits = 0 then
  39973. pTDefRegMap(@Self)^.clr := $00000400
  39974. else
  39975. pTDefRegMap(@Self)^.&set := $00000400;
  39976. end;
  39977. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  39978. begin
  39979. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39980. end;
  39981. procedure TADC10_AD1CON3.setSAMC3; inline;
  39982. begin
  39983. pTDefRegMap(@Self)^.&set := $00000800;
  39984. end;
  39985. procedure TADC10_AD1CON3.clearSAMC3; inline;
  39986. begin
  39987. pTDefRegMap(@Self)^.clr := $00000800;
  39988. end;
  39989. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  39990. begin
  39991. if thebits = 0 then
  39992. pTDefRegMap(@Self)^.clr := $00000800
  39993. else
  39994. pTDefRegMap(@Self)^.&set := $00000800;
  39995. end;
  39996. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  39997. begin
  39998. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39999. end;
  40000. procedure TADC10_AD1CON3.setSAMC4; inline;
  40001. begin
  40002. pTDefRegMap(@Self)^.&set := $00001000;
  40003. end;
  40004. procedure TADC10_AD1CON3.clearSAMC4; inline;
  40005. begin
  40006. pTDefRegMap(@Self)^.clr := $00001000;
  40007. end;
  40008. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  40009. begin
  40010. if thebits = 0 then
  40011. pTDefRegMap(@Self)^.clr := $00001000
  40012. else
  40013. pTDefRegMap(@Self)^.&set := $00001000;
  40014. end;
  40015. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  40016. begin
  40017. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40018. end;
  40019. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  40020. begin
  40021. pTDefRegMap(@Self)^.val := thebits;
  40022. end;
  40023. function TADC10_AD1CON3.getw : TBits_32; inline;
  40024. begin
  40025. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40026. end;
  40027. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  40028. begin
  40029. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  40030. end;
  40031. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  40032. begin
  40033. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  40034. end;
  40035. procedure TADC10_AD1CHS.setCH0NA; inline;
  40036. begin
  40037. pTDefRegMap(@Self)^.&set := $00800000;
  40038. end;
  40039. procedure TADC10_AD1CHS.clearCH0NA; inline;
  40040. begin
  40041. pTDefRegMap(@Self)^.clr := $00800000;
  40042. end;
  40043. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  40044. begin
  40045. if thebits = 0 then
  40046. pTDefRegMap(@Self)^.clr := $00800000
  40047. else
  40048. pTDefRegMap(@Self)^.&set := $00800000;
  40049. end;
  40050. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  40051. begin
  40052. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40053. end;
  40054. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  40055. begin
  40056. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  40057. end;
  40058. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  40059. begin
  40060. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  40061. end;
  40062. procedure TADC10_AD1CHS.setCH0NB; inline;
  40063. begin
  40064. pTDefRegMap(@Self)^.&set := $80000000;
  40065. end;
  40066. procedure TADC10_AD1CHS.clearCH0NB; inline;
  40067. begin
  40068. pTDefRegMap(@Self)^.clr := $80000000;
  40069. end;
  40070. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  40071. begin
  40072. if thebits = 0 then
  40073. pTDefRegMap(@Self)^.clr := $80000000
  40074. else
  40075. pTDefRegMap(@Self)^.&set := $80000000;
  40076. end;
  40077. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  40078. begin
  40079. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40080. end;
  40081. procedure TADC10_AD1CHS.setCH0SA0; inline;
  40082. begin
  40083. pTDefRegMap(@Self)^.&set := $00010000;
  40084. end;
  40085. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  40086. begin
  40087. pTDefRegMap(@Self)^.clr := $00010000;
  40088. end;
  40089. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  40090. begin
  40091. if thebits = 0 then
  40092. pTDefRegMap(@Self)^.clr := $00010000
  40093. else
  40094. pTDefRegMap(@Self)^.&set := $00010000;
  40095. end;
  40096. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  40097. begin
  40098. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40099. end;
  40100. procedure TADC10_AD1CHS.setCH0SA1; inline;
  40101. begin
  40102. pTDefRegMap(@Self)^.&set := $00020000;
  40103. end;
  40104. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  40105. begin
  40106. pTDefRegMap(@Self)^.clr := $00020000;
  40107. end;
  40108. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  40109. begin
  40110. if thebits = 0 then
  40111. pTDefRegMap(@Self)^.clr := $00020000
  40112. else
  40113. pTDefRegMap(@Self)^.&set := $00020000;
  40114. end;
  40115. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  40116. begin
  40117. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40118. end;
  40119. procedure TADC10_AD1CHS.setCH0SA2; inline;
  40120. begin
  40121. pTDefRegMap(@Self)^.&set := $00040000;
  40122. end;
  40123. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  40124. begin
  40125. pTDefRegMap(@Self)^.clr := $00040000;
  40126. end;
  40127. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  40128. begin
  40129. if thebits = 0 then
  40130. pTDefRegMap(@Self)^.clr := $00040000
  40131. else
  40132. pTDefRegMap(@Self)^.&set := $00040000;
  40133. end;
  40134. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  40135. begin
  40136. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40137. end;
  40138. procedure TADC10_AD1CHS.setCH0SA3; inline;
  40139. begin
  40140. pTDefRegMap(@Self)^.&set := $00080000;
  40141. end;
  40142. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  40143. begin
  40144. pTDefRegMap(@Self)^.clr := $00080000;
  40145. end;
  40146. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  40147. begin
  40148. if thebits = 0 then
  40149. pTDefRegMap(@Self)^.clr := $00080000
  40150. else
  40151. pTDefRegMap(@Self)^.&set := $00080000;
  40152. end;
  40153. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  40154. begin
  40155. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40156. end;
  40157. procedure TADC10_AD1CHS.setCH0SB0; inline;
  40158. begin
  40159. pTDefRegMap(@Self)^.&set := $01000000;
  40160. end;
  40161. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  40162. begin
  40163. pTDefRegMap(@Self)^.clr := $01000000;
  40164. end;
  40165. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  40166. begin
  40167. if thebits = 0 then
  40168. pTDefRegMap(@Self)^.clr := $01000000
  40169. else
  40170. pTDefRegMap(@Self)^.&set := $01000000;
  40171. end;
  40172. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  40173. begin
  40174. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  40175. end;
  40176. procedure TADC10_AD1CHS.setCH0SB1; inline;
  40177. begin
  40178. pTDefRegMap(@Self)^.&set := $02000000;
  40179. end;
  40180. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  40181. begin
  40182. pTDefRegMap(@Self)^.clr := $02000000;
  40183. end;
  40184. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  40185. begin
  40186. if thebits = 0 then
  40187. pTDefRegMap(@Self)^.clr := $02000000
  40188. else
  40189. pTDefRegMap(@Self)^.&set := $02000000;
  40190. end;
  40191. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  40192. begin
  40193. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  40194. end;
  40195. procedure TADC10_AD1CHS.setCH0SB2; inline;
  40196. begin
  40197. pTDefRegMap(@Self)^.&set := $04000000;
  40198. end;
  40199. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  40200. begin
  40201. pTDefRegMap(@Self)^.clr := $04000000;
  40202. end;
  40203. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  40204. begin
  40205. if thebits = 0 then
  40206. pTDefRegMap(@Self)^.clr := $04000000
  40207. else
  40208. pTDefRegMap(@Self)^.&set := $04000000;
  40209. end;
  40210. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  40211. begin
  40212. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40213. end;
  40214. procedure TADC10_AD1CHS.setCH0SB3; inline;
  40215. begin
  40216. pTDefRegMap(@Self)^.&set := $08000000;
  40217. end;
  40218. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  40219. begin
  40220. pTDefRegMap(@Self)^.clr := $08000000;
  40221. end;
  40222. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  40223. begin
  40224. if thebits = 0 then
  40225. pTDefRegMap(@Self)^.clr := $08000000
  40226. else
  40227. pTDefRegMap(@Self)^.&set := $08000000;
  40228. end;
  40229. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  40230. begin
  40231. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40232. end;
  40233. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  40234. begin
  40235. pTDefRegMap(@Self)^.val := thebits;
  40236. end;
  40237. function TADC10_AD1CHS.getw : TBits_32; inline;
  40238. begin
  40239. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40240. end;
  40241. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  40242. begin
  40243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  40244. end;
  40245. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  40246. begin
  40247. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  40248. end;
  40249. procedure TADC10_AD1CSSL.setCSSL0; inline;
  40250. begin
  40251. pTDefRegMap(@Self)^.&set := $00000001;
  40252. end;
  40253. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  40254. begin
  40255. pTDefRegMap(@Self)^.clr := $00000001;
  40256. end;
  40257. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  40258. begin
  40259. if thebits = 0 then
  40260. pTDefRegMap(@Self)^.clr := $00000001
  40261. else
  40262. pTDefRegMap(@Self)^.&set := $00000001;
  40263. end;
  40264. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  40265. begin
  40266. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40267. end;
  40268. procedure TADC10_AD1CSSL.setCSSL1; inline;
  40269. begin
  40270. pTDefRegMap(@Self)^.&set := $00000002;
  40271. end;
  40272. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  40273. begin
  40274. pTDefRegMap(@Self)^.clr := $00000002;
  40275. end;
  40276. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  40277. begin
  40278. if thebits = 0 then
  40279. pTDefRegMap(@Self)^.clr := $00000002
  40280. else
  40281. pTDefRegMap(@Self)^.&set := $00000002;
  40282. end;
  40283. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  40284. begin
  40285. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40286. end;
  40287. procedure TADC10_AD1CSSL.setCSSL2; inline;
  40288. begin
  40289. pTDefRegMap(@Self)^.&set := $00000004;
  40290. end;
  40291. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  40292. begin
  40293. pTDefRegMap(@Self)^.clr := $00000004;
  40294. end;
  40295. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  40296. begin
  40297. if thebits = 0 then
  40298. pTDefRegMap(@Self)^.clr := $00000004
  40299. else
  40300. pTDefRegMap(@Self)^.&set := $00000004;
  40301. end;
  40302. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  40303. begin
  40304. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40305. end;
  40306. procedure TADC10_AD1CSSL.setCSSL3; inline;
  40307. begin
  40308. pTDefRegMap(@Self)^.&set := $00000008;
  40309. end;
  40310. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  40311. begin
  40312. pTDefRegMap(@Self)^.clr := $00000008;
  40313. end;
  40314. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  40315. begin
  40316. if thebits = 0 then
  40317. pTDefRegMap(@Self)^.clr := $00000008
  40318. else
  40319. pTDefRegMap(@Self)^.&set := $00000008;
  40320. end;
  40321. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  40322. begin
  40323. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40324. end;
  40325. procedure TADC10_AD1CSSL.setCSSL4; inline;
  40326. begin
  40327. pTDefRegMap(@Self)^.&set := $00000010;
  40328. end;
  40329. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  40330. begin
  40331. pTDefRegMap(@Self)^.clr := $00000010;
  40332. end;
  40333. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  40334. begin
  40335. if thebits = 0 then
  40336. pTDefRegMap(@Self)^.clr := $00000010
  40337. else
  40338. pTDefRegMap(@Self)^.&set := $00000010;
  40339. end;
  40340. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  40341. begin
  40342. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40343. end;
  40344. procedure TADC10_AD1CSSL.setCSSL5; inline;
  40345. begin
  40346. pTDefRegMap(@Self)^.&set := $00000020;
  40347. end;
  40348. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  40349. begin
  40350. pTDefRegMap(@Self)^.clr := $00000020;
  40351. end;
  40352. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  40353. begin
  40354. if thebits = 0 then
  40355. pTDefRegMap(@Self)^.clr := $00000020
  40356. else
  40357. pTDefRegMap(@Self)^.&set := $00000020;
  40358. end;
  40359. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  40360. begin
  40361. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40362. end;
  40363. procedure TADC10_AD1CSSL.setCSSL6; inline;
  40364. begin
  40365. pTDefRegMap(@Self)^.&set := $00000040;
  40366. end;
  40367. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  40368. begin
  40369. pTDefRegMap(@Self)^.clr := $00000040;
  40370. end;
  40371. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  40372. begin
  40373. if thebits = 0 then
  40374. pTDefRegMap(@Self)^.clr := $00000040
  40375. else
  40376. pTDefRegMap(@Self)^.&set := $00000040;
  40377. end;
  40378. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  40379. begin
  40380. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40381. end;
  40382. procedure TADC10_AD1CSSL.setCSSL7; inline;
  40383. begin
  40384. pTDefRegMap(@Self)^.&set := $00000080;
  40385. end;
  40386. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  40387. begin
  40388. pTDefRegMap(@Self)^.clr := $00000080;
  40389. end;
  40390. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  40391. begin
  40392. if thebits = 0 then
  40393. pTDefRegMap(@Self)^.clr := $00000080
  40394. else
  40395. pTDefRegMap(@Self)^.&set := $00000080;
  40396. end;
  40397. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  40398. begin
  40399. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40400. end;
  40401. procedure TADC10_AD1CSSL.setCSSL8; inline;
  40402. begin
  40403. pTDefRegMap(@Self)^.&set := $00000100;
  40404. end;
  40405. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  40406. begin
  40407. pTDefRegMap(@Self)^.clr := $00000100;
  40408. end;
  40409. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  40410. begin
  40411. if thebits = 0 then
  40412. pTDefRegMap(@Self)^.clr := $00000100
  40413. else
  40414. pTDefRegMap(@Self)^.&set := $00000100;
  40415. end;
  40416. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  40417. begin
  40418. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40419. end;
  40420. procedure TADC10_AD1CSSL.setCSSL9; inline;
  40421. begin
  40422. pTDefRegMap(@Self)^.&set := $00000200;
  40423. end;
  40424. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  40425. begin
  40426. pTDefRegMap(@Self)^.clr := $00000200;
  40427. end;
  40428. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  40429. begin
  40430. if thebits = 0 then
  40431. pTDefRegMap(@Self)^.clr := $00000200
  40432. else
  40433. pTDefRegMap(@Self)^.&set := $00000200;
  40434. end;
  40435. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  40436. begin
  40437. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40438. end;
  40439. procedure TADC10_AD1CSSL.setCSSL10; inline;
  40440. begin
  40441. pTDefRegMap(@Self)^.&set := $00000400;
  40442. end;
  40443. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  40444. begin
  40445. pTDefRegMap(@Self)^.clr := $00000400;
  40446. end;
  40447. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  40448. begin
  40449. if thebits = 0 then
  40450. pTDefRegMap(@Self)^.clr := $00000400
  40451. else
  40452. pTDefRegMap(@Self)^.&set := $00000400;
  40453. end;
  40454. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  40455. begin
  40456. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40457. end;
  40458. procedure TADC10_AD1CSSL.setCSSL11; inline;
  40459. begin
  40460. pTDefRegMap(@Self)^.&set := $00000800;
  40461. end;
  40462. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  40463. begin
  40464. pTDefRegMap(@Self)^.clr := $00000800;
  40465. end;
  40466. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  40467. begin
  40468. if thebits = 0 then
  40469. pTDefRegMap(@Self)^.clr := $00000800
  40470. else
  40471. pTDefRegMap(@Self)^.&set := $00000800;
  40472. end;
  40473. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  40474. begin
  40475. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40476. end;
  40477. procedure TADC10_AD1CSSL.setCSSL12; inline;
  40478. begin
  40479. pTDefRegMap(@Self)^.&set := $00001000;
  40480. end;
  40481. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  40482. begin
  40483. pTDefRegMap(@Self)^.clr := $00001000;
  40484. end;
  40485. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  40486. begin
  40487. if thebits = 0 then
  40488. pTDefRegMap(@Self)^.clr := $00001000
  40489. else
  40490. pTDefRegMap(@Self)^.&set := $00001000;
  40491. end;
  40492. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  40493. begin
  40494. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40495. end;
  40496. procedure TADC10_AD1CSSL.setCSSL13; inline;
  40497. begin
  40498. pTDefRegMap(@Self)^.&set := $00002000;
  40499. end;
  40500. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  40501. begin
  40502. pTDefRegMap(@Self)^.clr := $00002000;
  40503. end;
  40504. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  40505. begin
  40506. if thebits = 0 then
  40507. pTDefRegMap(@Self)^.clr := $00002000
  40508. else
  40509. pTDefRegMap(@Self)^.&set := $00002000;
  40510. end;
  40511. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  40512. begin
  40513. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40514. end;
  40515. procedure TADC10_AD1CSSL.setCSSL14; inline;
  40516. begin
  40517. pTDefRegMap(@Self)^.&set := $00004000;
  40518. end;
  40519. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  40520. begin
  40521. pTDefRegMap(@Self)^.clr := $00004000;
  40522. end;
  40523. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  40524. begin
  40525. if thebits = 0 then
  40526. pTDefRegMap(@Self)^.clr := $00004000
  40527. else
  40528. pTDefRegMap(@Self)^.&set := $00004000;
  40529. end;
  40530. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  40531. begin
  40532. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40533. end;
  40534. procedure TADC10_AD1CSSL.setCSSL15; inline;
  40535. begin
  40536. pTDefRegMap(@Self)^.&set := $00008000;
  40537. end;
  40538. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  40539. begin
  40540. pTDefRegMap(@Self)^.clr := $00008000;
  40541. end;
  40542. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  40543. begin
  40544. if thebits = 0 then
  40545. pTDefRegMap(@Self)^.clr := $00008000
  40546. else
  40547. pTDefRegMap(@Self)^.&set := $00008000;
  40548. end;
  40549. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  40550. begin
  40551. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40552. end;
  40553. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  40554. begin
  40555. pTDefRegMap(@Self)^.val := thebits;
  40556. end;
  40557. function TADC10_AD1CSSL.getw : TBits_32; inline;
  40558. begin
  40559. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40560. end;
  40561. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  40562. begin
  40563. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  40564. end;
  40565. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  40566. begin
  40567. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  40568. end;
  40569. procedure TADC10_AD1PCFG.setPCFG0; inline;
  40570. begin
  40571. pTDefRegMap(@Self)^.&set := $00000001;
  40572. end;
  40573. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  40574. begin
  40575. pTDefRegMap(@Self)^.clr := $00000001;
  40576. end;
  40577. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  40578. begin
  40579. if thebits = 0 then
  40580. pTDefRegMap(@Self)^.clr := $00000001
  40581. else
  40582. pTDefRegMap(@Self)^.&set := $00000001;
  40583. end;
  40584. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  40585. begin
  40586. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40587. end;
  40588. procedure TADC10_AD1PCFG.setPCFG1; inline;
  40589. begin
  40590. pTDefRegMap(@Self)^.&set := $00000002;
  40591. end;
  40592. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  40593. begin
  40594. pTDefRegMap(@Self)^.clr := $00000002;
  40595. end;
  40596. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  40597. begin
  40598. if thebits = 0 then
  40599. pTDefRegMap(@Self)^.clr := $00000002
  40600. else
  40601. pTDefRegMap(@Self)^.&set := $00000002;
  40602. end;
  40603. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  40604. begin
  40605. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40606. end;
  40607. procedure TADC10_AD1PCFG.setPCFG2; inline;
  40608. begin
  40609. pTDefRegMap(@Self)^.&set := $00000004;
  40610. end;
  40611. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  40612. begin
  40613. pTDefRegMap(@Self)^.clr := $00000004;
  40614. end;
  40615. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  40616. begin
  40617. if thebits = 0 then
  40618. pTDefRegMap(@Self)^.clr := $00000004
  40619. else
  40620. pTDefRegMap(@Self)^.&set := $00000004;
  40621. end;
  40622. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  40623. begin
  40624. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40625. end;
  40626. procedure TADC10_AD1PCFG.setPCFG3; inline;
  40627. begin
  40628. pTDefRegMap(@Self)^.&set := $00000008;
  40629. end;
  40630. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  40631. begin
  40632. pTDefRegMap(@Self)^.clr := $00000008;
  40633. end;
  40634. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  40635. begin
  40636. if thebits = 0 then
  40637. pTDefRegMap(@Self)^.clr := $00000008
  40638. else
  40639. pTDefRegMap(@Self)^.&set := $00000008;
  40640. end;
  40641. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  40642. begin
  40643. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40644. end;
  40645. procedure TADC10_AD1PCFG.setPCFG4; inline;
  40646. begin
  40647. pTDefRegMap(@Self)^.&set := $00000010;
  40648. end;
  40649. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  40650. begin
  40651. pTDefRegMap(@Self)^.clr := $00000010;
  40652. end;
  40653. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  40654. begin
  40655. if thebits = 0 then
  40656. pTDefRegMap(@Self)^.clr := $00000010
  40657. else
  40658. pTDefRegMap(@Self)^.&set := $00000010;
  40659. end;
  40660. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  40661. begin
  40662. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40663. end;
  40664. procedure TADC10_AD1PCFG.setPCFG5; inline;
  40665. begin
  40666. pTDefRegMap(@Self)^.&set := $00000020;
  40667. end;
  40668. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  40669. begin
  40670. pTDefRegMap(@Self)^.clr := $00000020;
  40671. end;
  40672. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  40673. begin
  40674. if thebits = 0 then
  40675. pTDefRegMap(@Self)^.clr := $00000020
  40676. else
  40677. pTDefRegMap(@Self)^.&set := $00000020;
  40678. end;
  40679. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  40680. begin
  40681. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40682. end;
  40683. procedure TADC10_AD1PCFG.setPCFG6; inline;
  40684. begin
  40685. pTDefRegMap(@Self)^.&set := $00000040;
  40686. end;
  40687. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  40688. begin
  40689. pTDefRegMap(@Self)^.clr := $00000040;
  40690. end;
  40691. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  40692. begin
  40693. if thebits = 0 then
  40694. pTDefRegMap(@Self)^.clr := $00000040
  40695. else
  40696. pTDefRegMap(@Self)^.&set := $00000040;
  40697. end;
  40698. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  40699. begin
  40700. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40701. end;
  40702. procedure TADC10_AD1PCFG.setPCFG7; inline;
  40703. begin
  40704. pTDefRegMap(@Self)^.&set := $00000080;
  40705. end;
  40706. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  40707. begin
  40708. pTDefRegMap(@Self)^.clr := $00000080;
  40709. end;
  40710. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  40711. begin
  40712. if thebits = 0 then
  40713. pTDefRegMap(@Self)^.clr := $00000080
  40714. else
  40715. pTDefRegMap(@Self)^.&set := $00000080;
  40716. end;
  40717. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  40718. begin
  40719. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40720. end;
  40721. procedure TADC10_AD1PCFG.setPCFG8; inline;
  40722. begin
  40723. pTDefRegMap(@Self)^.&set := $00000100;
  40724. end;
  40725. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  40726. begin
  40727. pTDefRegMap(@Self)^.clr := $00000100;
  40728. end;
  40729. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  40730. begin
  40731. if thebits = 0 then
  40732. pTDefRegMap(@Self)^.clr := $00000100
  40733. else
  40734. pTDefRegMap(@Self)^.&set := $00000100;
  40735. end;
  40736. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  40737. begin
  40738. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40739. end;
  40740. procedure TADC10_AD1PCFG.setPCFG9; inline;
  40741. begin
  40742. pTDefRegMap(@Self)^.&set := $00000200;
  40743. end;
  40744. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  40745. begin
  40746. pTDefRegMap(@Self)^.clr := $00000200;
  40747. end;
  40748. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  40749. begin
  40750. if thebits = 0 then
  40751. pTDefRegMap(@Self)^.clr := $00000200
  40752. else
  40753. pTDefRegMap(@Self)^.&set := $00000200;
  40754. end;
  40755. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  40756. begin
  40757. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40758. end;
  40759. procedure TADC10_AD1PCFG.setPCFG10; inline;
  40760. begin
  40761. pTDefRegMap(@Self)^.&set := $00000400;
  40762. end;
  40763. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  40764. begin
  40765. pTDefRegMap(@Self)^.clr := $00000400;
  40766. end;
  40767. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  40768. begin
  40769. if thebits = 0 then
  40770. pTDefRegMap(@Self)^.clr := $00000400
  40771. else
  40772. pTDefRegMap(@Self)^.&set := $00000400;
  40773. end;
  40774. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  40775. begin
  40776. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40777. end;
  40778. procedure TADC10_AD1PCFG.setPCFG11; inline;
  40779. begin
  40780. pTDefRegMap(@Self)^.&set := $00000800;
  40781. end;
  40782. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  40783. begin
  40784. pTDefRegMap(@Self)^.clr := $00000800;
  40785. end;
  40786. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  40787. begin
  40788. if thebits = 0 then
  40789. pTDefRegMap(@Self)^.clr := $00000800
  40790. else
  40791. pTDefRegMap(@Self)^.&set := $00000800;
  40792. end;
  40793. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  40794. begin
  40795. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40796. end;
  40797. procedure TADC10_AD1PCFG.setPCFG12; inline;
  40798. begin
  40799. pTDefRegMap(@Self)^.&set := $00001000;
  40800. end;
  40801. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  40802. begin
  40803. pTDefRegMap(@Self)^.clr := $00001000;
  40804. end;
  40805. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  40806. begin
  40807. if thebits = 0 then
  40808. pTDefRegMap(@Self)^.clr := $00001000
  40809. else
  40810. pTDefRegMap(@Self)^.&set := $00001000;
  40811. end;
  40812. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  40813. begin
  40814. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40815. end;
  40816. procedure TADC10_AD1PCFG.setPCFG13; inline;
  40817. begin
  40818. pTDefRegMap(@Self)^.&set := $00002000;
  40819. end;
  40820. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  40821. begin
  40822. pTDefRegMap(@Self)^.clr := $00002000;
  40823. end;
  40824. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  40825. begin
  40826. if thebits = 0 then
  40827. pTDefRegMap(@Self)^.clr := $00002000
  40828. else
  40829. pTDefRegMap(@Self)^.&set := $00002000;
  40830. end;
  40831. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  40832. begin
  40833. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40834. end;
  40835. procedure TADC10_AD1PCFG.setPCFG14; inline;
  40836. begin
  40837. pTDefRegMap(@Self)^.&set := $00004000;
  40838. end;
  40839. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  40840. begin
  40841. pTDefRegMap(@Self)^.clr := $00004000;
  40842. end;
  40843. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  40844. begin
  40845. if thebits = 0 then
  40846. pTDefRegMap(@Self)^.clr := $00004000
  40847. else
  40848. pTDefRegMap(@Self)^.&set := $00004000;
  40849. end;
  40850. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  40851. begin
  40852. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40853. end;
  40854. procedure TADC10_AD1PCFG.setPCFG15; inline;
  40855. begin
  40856. pTDefRegMap(@Self)^.&set := $00008000;
  40857. end;
  40858. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  40859. begin
  40860. pTDefRegMap(@Self)^.clr := $00008000;
  40861. end;
  40862. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  40863. begin
  40864. if thebits = 0 then
  40865. pTDefRegMap(@Self)^.clr := $00008000
  40866. else
  40867. pTDefRegMap(@Self)^.&set := $00008000;
  40868. end;
  40869. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  40870. begin
  40871. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40872. end;
  40873. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  40874. begin
  40875. pTDefRegMap(@Self)^.val := thebits;
  40876. end;
  40877. function TADC10_AD1PCFG.getw : TBits_32; inline;
  40878. begin
  40879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40880. end;
  40881. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  40882. begin
  40883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  40884. end;
  40885. function TCVR_CVRCON.getCVR : TBits_4; inline;
  40886. begin
  40887. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  40888. end;
  40889. procedure TCVR_CVRCON.setCVRSS; inline;
  40890. begin
  40891. pTDefRegMap(@Self)^.&set := $00000010;
  40892. end;
  40893. procedure TCVR_CVRCON.clearCVRSS; inline;
  40894. begin
  40895. pTDefRegMap(@Self)^.clr := $00000010;
  40896. end;
  40897. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  40898. begin
  40899. if thebits = 0 then
  40900. pTDefRegMap(@Self)^.clr := $00000010
  40901. else
  40902. pTDefRegMap(@Self)^.&set := $00000010;
  40903. end;
  40904. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  40905. begin
  40906. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40907. end;
  40908. procedure TCVR_CVRCON.setCVRR; inline;
  40909. begin
  40910. pTDefRegMap(@Self)^.&set := $00000020;
  40911. end;
  40912. procedure TCVR_CVRCON.clearCVRR; inline;
  40913. begin
  40914. pTDefRegMap(@Self)^.clr := $00000020;
  40915. end;
  40916. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  40917. begin
  40918. if thebits = 0 then
  40919. pTDefRegMap(@Self)^.clr := $00000020
  40920. else
  40921. pTDefRegMap(@Self)^.&set := $00000020;
  40922. end;
  40923. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  40924. begin
  40925. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40926. end;
  40927. procedure TCVR_CVRCON.setCVROE; inline;
  40928. begin
  40929. pTDefRegMap(@Self)^.&set := $00000040;
  40930. end;
  40931. procedure TCVR_CVRCON.clearCVROE; inline;
  40932. begin
  40933. pTDefRegMap(@Self)^.clr := $00000040;
  40934. end;
  40935. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  40936. begin
  40937. if thebits = 0 then
  40938. pTDefRegMap(@Self)^.clr := $00000040
  40939. else
  40940. pTDefRegMap(@Self)^.&set := $00000040;
  40941. end;
  40942. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  40943. begin
  40944. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40945. end;
  40946. procedure TCVR_CVRCON.setON; inline;
  40947. begin
  40948. pTDefRegMap(@Self)^.&set := $00008000;
  40949. end;
  40950. procedure TCVR_CVRCON.clearON; inline;
  40951. begin
  40952. pTDefRegMap(@Self)^.clr := $00008000;
  40953. end;
  40954. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  40955. begin
  40956. if thebits = 0 then
  40957. pTDefRegMap(@Self)^.clr := $00008000
  40958. else
  40959. pTDefRegMap(@Self)^.&set := $00008000;
  40960. end;
  40961. function TCVR_CVRCON.getON : TBits_1; inline;
  40962. begin
  40963. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40964. end;
  40965. procedure TCVR_CVRCON.setCVR0; inline;
  40966. begin
  40967. pTDefRegMap(@Self)^.&set := $00000001;
  40968. end;
  40969. procedure TCVR_CVRCON.clearCVR0; inline;
  40970. begin
  40971. pTDefRegMap(@Self)^.clr := $00000001;
  40972. end;
  40973. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  40974. begin
  40975. if thebits = 0 then
  40976. pTDefRegMap(@Self)^.clr := $00000001
  40977. else
  40978. pTDefRegMap(@Self)^.&set := $00000001;
  40979. end;
  40980. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  40981. begin
  40982. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40983. end;
  40984. procedure TCVR_CVRCON.setCVR1; inline;
  40985. begin
  40986. pTDefRegMap(@Self)^.&set := $00000002;
  40987. end;
  40988. procedure TCVR_CVRCON.clearCVR1; inline;
  40989. begin
  40990. pTDefRegMap(@Self)^.clr := $00000002;
  40991. end;
  40992. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  40993. begin
  40994. if thebits = 0 then
  40995. pTDefRegMap(@Self)^.clr := $00000002
  40996. else
  40997. pTDefRegMap(@Self)^.&set := $00000002;
  40998. end;
  40999. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  41000. begin
  41001. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41002. end;
  41003. procedure TCVR_CVRCON.setCVR2; inline;
  41004. begin
  41005. pTDefRegMap(@Self)^.&set := $00000004;
  41006. end;
  41007. procedure TCVR_CVRCON.clearCVR2; inline;
  41008. begin
  41009. pTDefRegMap(@Self)^.clr := $00000004;
  41010. end;
  41011. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  41012. begin
  41013. if thebits = 0 then
  41014. pTDefRegMap(@Self)^.clr := $00000004
  41015. else
  41016. pTDefRegMap(@Self)^.&set := $00000004;
  41017. end;
  41018. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  41019. begin
  41020. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41021. end;
  41022. procedure TCVR_CVRCON.setCVR3; inline;
  41023. begin
  41024. pTDefRegMap(@Self)^.&set := $00000008;
  41025. end;
  41026. procedure TCVR_CVRCON.clearCVR3; inline;
  41027. begin
  41028. pTDefRegMap(@Self)^.clr := $00000008;
  41029. end;
  41030. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  41031. begin
  41032. if thebits = 0 then
  41033. pTDefRegMap(@Self)^.clr := $00000008
  41034. else
  41035. pTDefRegMap(@Self)^.&set := $00000008;
  41036. end;
  41037. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  41038. begin
  41039. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41040. end;
  41041. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  41042. begin
  41043. pTDefRegMap(@Self)^.val := thebits;
  41044. end;
  41045. function TCVR_CVRCON.getw : TBits_32; inline;
  41046. begin
  41047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41048. end;
  41049. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  41050. begin
  41051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  41052. end;
  41053. function TCMP_CM1CON.getCCH : TBits_2; inline;
  41054. begin
  41055. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  41056. end;
  41057. procedure TCMP_CM1CON.setCREF; inline;
  41058. begin
  41059. pTDefRegMap(@Self)^.&set := $00000010;
  41060. end;
  41061. procedure TCMP_CM1CON.clearCREF; inline;
  41062. begin
  41063. pTDefRegMap(@Self)^.clr := $00000010;
  41064. end;
  41065. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  41066. begin
  41067. if thebits = 0 then
  41068. pTDefRegMap(@Self)^.clr := $00000010
  41069. else
  41070. pTDefRegMap(@Self)^.&set := $00000010;
  41071. end;
  41072. function TCMP_CM1CON.getCREF : TBits_1; inline;
  41073. begin
  41074. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41075. end;
  41076. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  41077. begin
  41078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  41079. end;
  41080. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  41081. begin
  41082. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  41083. end;
  41084. procedure TCMP_CM1CON.setCOUT; inline;
  41085. begin
  41086. pTDefRegMap(@Self)^.&set := $00000100;
  41087. end;
  41088. procedure TCMP_CM1CON.clearCOUT; inline;
  41089. begin
  41090. pTDefRegMap(@Self)^.clr := $00000100;
  41091. end;
  41092. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  41093. begin
  41094. if thebits = 0 then
  41095. pTDefRegMap(@Self)^.clr := $00000100
  41096. else
  41097. pTDefRegMap(@Self)^.&set := $00000100;
  41098. end;
  41099. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  41100. begin
  41101. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41102. end;
  41103. procedure TCMP_CM1CON.setCPOL; inline;
  41104. begin
  41105. pTDefRegMap(@Self)^.&set := $00002000;
  41106. end;
  41107. procedure TCMP_CM1CON.clearCPOL; inline;
  41108. begin
  41109. pTDefRegMap(@Self)^.clr := $00002000;
  41110. end;
  41111. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  41112. begin
  41113. if thebits = 0 then
  41114. pTDefRegMap(@Self)^.clr := $00002000
  41115. else
  41116. pTDefRegMap(@Self)^.&set := $00002000;
  41117. end;
  41118. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  41119. begin
  41120. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41121. end;
  41122. procedure TCMP_CM1CON.setCOE; inline;
  41123. begin
  41124. pTDefRegMap(@Self)^.&set := $00004000;
  41125. end;
  41126. procedure TCMP_CM1CON.clearCOE; inline;
  41127. begin
  41128. pTDefRegMap(@Self)^.clr := $00004000;
  41129. end;
  41130. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  41131. begin
  41132. if thebits = 0 then
  41133. pTDefRegMap(@Self)^.clr := $00004000
  41134. else
  41135. pTDefRegMap(@Self)^.&set := $00004000;
  41136. end;
  41137. function TCMP_CM1CON.getCOE : TBits_1; inline;
  41138. begin
  41139. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41140. end;
  41141. procedure TCMP_CM1CON.setON; inline;
  41142. begin
  41143. pTDefRegMap(@Self)^.&set := $00008000;
  41144. end;
  41145. procedure TCMP_CM1CON.clearON; inline;
  41146. begin
  41147. pTDefRegMap(@Self)^.clr := $00008000;
  41148. end;
  41149. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  41150. begin
  41151. if thebits = 0 then
  41152. pTDefRegMap(@Self)^.clr := $00008000
  41153. else
  41154. pTDefRegMap(@Self)^.&set := $00008000;
  41155. end;
  41156. function TCMP_CM1CON.getON : TBits_1; inline;
  41157. begin
  41158. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41159. end;
  41160. procedure TCMP_CM1CON.setCCH0; inline;
  41161. begin
  41162. pTDefRegMap(@Self)^.&set := $00000001;
  41163. end;
  41164. procedure TCMP_CM1CON.clearCCH0; inline;
  41165. begin
  41166. pTDefRegMap(@Self)^.clr := $00000001;
  41167. end;
  41168. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  41169. begin
  41170. if thebits = 0 then
  41171. pTDefRegMap(@Self)^.clr := $00000001
  41172. else
  41173. pTDefRegMap(@Self)^.&set := $00000001;
  41174. end;
  41175. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  41176. begin
  41177. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41178. end;
  41179. procedure TCMP_CM1CON.setCCH1; inline;
  41180. begin
  41181. pTDefRegMap(@Self)^.&set := $00000002;
  41182. end;
  41183. procedure TCMP_CM1CON.clearCCH1; inline;
  41184. begin
  41185. pTDefRegMap(@Self)^.clr := $00000002;
  41186. end;
  41187. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  41188. begin
  41189. if thebits = 0 then
  41190. pTDefRegMap(@Self)^.clr := $00000002
  41191. else
  41192. pTDefRegMap(@Self)^.&set := $00000002;
  41193. end;
  41194. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  41195. begin
  41196. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41197. end;
  41198. procedure TCMP_CM1CON.setEVPOL0; inline;
  41199. begin
  41200. pTDefRegMap(@Self)^.&set := $00000040;
  41201. end;
  41202. procedure TCMP_CM1CON.clearEVPOL0; inline;
  41203. begin
  41204. pTDefRegMap(@Self)^.clr := $00000040;
  41205. end;
  41206. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  41207. begin
  41208. if thebits = 0 then
  41209. pTDefRegMap(@Self)^.clr := $00000040
  41210. else
  41211. pTDefRegMap(@Self)^.&set := $00000040;
  41212. end;
  41213. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  41214. begin
  41215. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41216. end;
  41217. procedure TCMP_CM1CON.setEVPOL1; inline;
  41218. begin
  41219. pTDefRegMap(@Self)^.&set := $00000080;
  41220. end;
  41221. procedure TCMP_CM1CON.clearEVPOL1; inline;
  41222. begin
  41223. pTDefRegMap(@Self)^.clr := $00000080;
  41224. end;
  41225. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  41226. begin
  41227. if thebits = 0 then
  41228. pTDefRegMap(@Self)^.clr := $00000080
  41229. else
  41230. pTDefRegMap(@Self)^.&set := $00000080;
  41231. end;
  41232. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  41233. begin
  41234. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41235. end;
  41236. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  41237. begin
  41238. pTDefRegMap(@Self)^.val := thebits;
  41239. end;
  41240. function TCMP_CM1CON.getw : TBits_32; inline;
  41241. begin
  41242. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41243. end;
  41244. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  41245. begin
  41246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  41247. end;
  41248. function TCMP_CM2CON.getCCH : TBits_2; inline;
  41249. begin
  41250. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  41251. end;
  41252. procedure TCMP_CM2CON.setCREF; inline;
  41253. begin
  41254. pTDefRegMap(@Self)^.&set := $00000010;
  41255. end;
  41256. procedure TCMP_CM2CON.clearCREF; inline;
  41257. begin
  41258. pTDefRegMap(@Self)^.clr := $00000010;
  41259. end;
  41260. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  41261. begin
  41262. if thebits = 0 then
  41263. pTDefRegMap(@Self)^.clr := $00000010
  41264. else
  41265. pTDefRegMap(@Self)^.&set := $00000010;
  41266. end;
  41267. function TCMP_CM2CON.getCREF : TBits_1; inline;
  41268. begin
  41269. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41270. end;
  41271. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  41272. begin
  41273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  41274. end;
  41275. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  41276. begin
  41277. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  41278. end;
  41279. procedure TCMP_CM2CON.setCOUT; inline;
  41280. begin
  41281. pTDefRegMap(@Self)^.&set := $00000100;
  41282. end;
  41283. procedure TCMP_CM2CON.clearCOUT; inline;
  41284. begin
  41285. pTDefRegMap(@Self)^.clr := $00000100;
  41286. end;
  41287. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  41288. begin
  41289. if thebits = 0 then
  41290. pTDefRegMap(@Self)^.clr := $00000100
  41291. else
  41292. pTDefRegMap(@Self)^.&set := $00000100;
  41293. end;
  41294. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  41295. begin
  41296. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41297. end;
  41298. procedure TCMP_CM2CON.setCPOL; inline;
  41299. begin
  41300. pTDefRegMap(@Self)^.&set := $00002000;
  41301. end;
  41302. procedure TCMP_CM2CON.clearCPOL; inline;
  41303. begin
  41304. pTDefRegMap(@Self)^.clr := $00002000;
  41305. end;
  41306. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  41307. begin
  41308. if thebits = 0 then
  41309. pTDefRegMap(@Self)^.clr := $00002000
  41310. else
  41311. pTDefRegMap(@Self)^.&set := $00002000;
  41312. end;
  41313. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  41314. begin
  41315. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41316. end;
  41317. procedure TCMP_CM2CON.setCOE; inline;
  41318. begin
  41319. pTDefRegMap(@Self)^.&set := $00004000;
  41320. end;
  41321. procedure TCMP_CM2CON.clearCOE; inline;
  41322. begin
  41323. pTDefRegMap(@Self)^.clr := $00004000;
  41324. end;
  41325. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  41326. begin
  41327. if thebits = 0 then
  41328. pTDefRegMap(@Self)^.clr := $00004000
  41329. else
  41330. pTDefRegMap(@Self)^.&set := $00004000;
  41331. end;
  41332. function TCMP_CM2CON.getCOE : TBits_1; inline;
  41333. begin
  41334. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41335. end;
  41336. procedure TCMP_CM2CON.setON; inline;
  41337. begin
  41338. pTDefRegMap(@Self)^.&set := $00008000;
  41339. end;
  41340. procedure TCMP_CM2CON.clearON; inline;
  41341. begin
  41342. pTDefRegMap(@Self)^.clr := $00008000;
  41343. end;
  41344. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  41345. begin
  41346. if thebits = 0 then
  41347. pTDefRegMap(@Self)^.clr := $00008000
  41348. else
  41349. pTDefRegMap(@Self)^.&set := $00008000;
  41350. end;
  41351. function TCMP_CM2CON.getON : TBits_1; inline;
  41352. begin
  41353. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41354. end;
  41355. procedure TCMP_CM2CON.setCCH0; inline;
  41356. begin
  41357. pTDefRegMap(@Self)^.&set := $00000001;
  41358. end;
  41359. procedure TCMP_CM2CON.clearCCH0; inline;
  41360. begin
  41361. pTDefRegMap(@Self)^.clr := $00000001;
  41362. end;
  41363. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  41364. begin
  41365. if thebits = 0 then
  41366. pTDefRegMap(@Self)^.clr := $00000001
  41367. else
  41368. pTDefRegMap(@Self)^.&set := $00000001;
  41369. end;
  41370. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  41371. begin
  41372. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41373. end;
  41374. procedure TCMP_CM2CON.setCCH1; inline;
  41375. begin
  41376. pTDefRegMap(@Self)^.&set := $00000002;
  41377. end;
  41378. procedure TCMP_CM2CON.clearCCH1; inline;
  41379. begin
  41380. pTDefRegMap(@Self)^.clr := $00000002;
  41381. end;
  41382. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  41383. begin
  41384. if thebits = 0 then
  41385. pTDefRegMap(@Self)^.clr := $00000002
  41386. else
  41387. pTDefRegMap(@Self)^.&set := $00000002;
  41388. end;
  41389. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  41390. begin
  41391. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41392. end;
  41393. procedure TCMP_CM2CON.setEVPOL0; inline;
  41394. begin
  41395. pTDefRegMap(@Self)^.&set := $00000040;
  41396. end;
  41397. procedure TCMP_CM2CON.clearEVPOL0; inline;
  41398. begin
  41399. pTDefRegMap(@Self)^.clr := $00000040;
  41400. end;
  41401. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  41402. begin
  41403. if thebits = 0 then
  41404. pTDefRegMap(@Self)^.clr := $00000040
  41405. else
  41406. pTDefRegMap(@Self)^.&set := $00000040;
  41407. end;
  41408. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  41409. begin
  41410. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41411. end;
  41412. procedure TCMP_CM2CON.setEVPOL1; inline;
  41413. begin
  41414. pTDefRegMap(@Self)^.&set := $00000080;
  41415. end;
  41416. procedure TCMP_CM2CON.clearEVPOL1; inline;
  41417. begin
  41418. pTDefRegMap(@Self)^.clr := $00000080;
  41419. end;
  41420. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  41421. begin
  41422. if thebits = 0 then
  41423. pTDefRegMap(@Self)^.clr := $00000080
  41424. else
  41425. pTDefRegMap(@Self)^.&set := $00000080;
  41426. end;
  41427. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  41428. begin
  41429. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41430. end;
  41431. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  41432. begin
  41433. pTDefRegMap(@Self)^.val := thebits;
  41434. end;
  41435. function TCMP_CM2CON.getw : TBits_32; inline;
  41436. begin
  41437. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41438. end;
  41439. procedure TCMP_CMSTAT.setC1OUT; inline;
  41440. begin
  41441. pTDefRegMap(@Self)^.&set := $00000001;
  41442. end;
  41443. procedure TCMP_CMSTAT.clearC1OUT; inline;
  41444. begin
  41445. pTDefRegMap(@Self)^.clr := $00000001;
  41446. end;
  41447. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  41448. begin
  41449. if thebits = 0 then
  41450. pTDefRegMap(@Self)^.clr := $00000001
  41451. else
  41452. pTDefRegMap(@Self)^.&set := $00000001;
  41453. end;
  41454. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  41455. begin
  41456. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41457. end;
  41458. procedure TCMP_CMSTAT.setC2OUT; inline;
  41459. begin
  41460. pTDefRegMap(@Self)^.&set := $00000002;
  41461. end;
  41462. procedure TCMP_CMSTAT.clearC2OUT; inline;
  41463. begin
  41464. pTDefRegMap(@Self)^.clr := $00000002;
  41465. end;
  41466. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  41467. begin
  41468. if thebits = 0 then
  41469. pTDefRegMap(@Self)^.clr := $00000002
  41470. else
  41471. pTDefRegMap(@Self)^.&set := $00000002;
  41472. end;
  41473. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  41474. begin
  41475. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41476. end;
  41477. procedure TCMP_CMSTAT.setSIDL; inline;
  41478. begin
  41479. pTDefRegMap(@Self)^.&set := $00002000;
  41480. end;
  41481. procedure TCMP_CMSTAT.clearSIDL; inline;
  41482. begin
  41483. pTDefRegMap(@Self)^.clr := $00002000;
  41484. end;
  41485. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  41486. begin
  41487. if thebits = 0 then
  41488. pTDefRegMap(@Self)^.clr := $00002000
  41489. else
  41490. pTDefRegMap(@Self)^.&set := $00002000;
  41491. end;
  41492. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  41493. begin
  41494. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41495. end;
  41496. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  41497. begin
  41498. pTDefRegMap(@Self)^.val := thebits;
  41499. end;
  41500. function TCMP_CMSTAT.getw : TBits_32; inline;
  41501. begin
  41502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41503. end;
  41504. procedure TOSC_OSCCON.setOSWEN; inline;
  41505. begin
  41506. pTDefRegMap(@Self)^.&set := $00000001;
  41507. end;
  41508. procedure TOSC_OSCCON.clearOSWEN; inline;
  41509. begin
  41510. pTDefRegMap(@Self)^.clr := $00000001;
  41511. end;
  41512. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  41513. begin
  41514. if thebits = 0 then
  41515. pTDefRegMap(@Self)^.clr := $00000001
  41516. else
  41517. pTDefRegMap(@Self)^.&set := $00000001;
  41518. end;
  41519. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  41520. begin
  41521. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41522. end;
  41523. procedure TOSC_OSCCON.setSOSCEN; inline;
  41524. begin
  41525. pTDefRegMap(@Self)^.&set := $00000002;
  41526. end;
  41527. procedure TOSC_OSCCON.clearSOSCEN; inline;
  41528. begin
  41529. pTDefRegMap(@Self)^.clr := $00000002;
  41530. end;
  41531. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  41532. begin
  41533. if thebits = 0 then
  41534. pTDefRegMap(@Self)^.clr := $00000002
  41535. else
  41536. pTDefRegMap(@Self)^.&set := $00000002;
  41537. end;
  41538. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  41539. begin
  41540. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41541. end;
  41542. procedure TOSC_OSCCON.setUFRCEN; inline;
  41543. begin
  41544. pTDefRegMap(@Self)^.&set := $00000004;
  41545. end;
  41546. procedure TOSC_OSCCON.clearUFRCEN; inline;
  41547. begin
  41548. pTDefRegMap(@Self)^.clr := $00000004;
  41549. end;
  41550. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  41551. begin
  41552. if thebits = 0 then
  41553. pTDefRegMap(@Self)^.clr := $00000004
  41554. else
  41555. pTDefRegMap(@Self)^.&set := $00000004;
  41556. end;
  41557. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  41558. begin
  41559. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41560. end;
  41561. procedure TOSC_OSCCON.setCF; inline;
  41562. begin
  41563. pTDefRegMap(@Self)^.&set := $00000008;
  41564. end;
  41565. procedure TOSC_OSCCON.clearCF; inline;
  41566. begin
  41567. pTDefRegMap(@Self)^.clr := $00000008;
  41568. end;
  41569. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  41570. begin
  41571. if thebits = 0 then
  41572. pTDefRegMap(@Self)^.clr := $00000008
  41573. else
  41574. pTDefRegMap(@Self)^.&set := $00000008;
  41575. end;
  41576. function TOSC_OSCCON.getCF : TBits_1; inline;
  41577. begin
  41578. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41579. end;
  41580. procedure TOSC_OSCCON.setSLPEN; inline;
  41581. begin
  41582. pTDefRegMap(@Self)^.&set := $00000010;
  41583. end;
  41584. procedure TOSC_OSCCON.clearSLPEN; inline;
  41585. begin
  41586. pTDefRegMap(@Self)^.clr := $00000010;
  41587. end;
  41588. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  41589. begin
  41590. if thebits = 0 then
  41591. pTDefRegMap(@Self)^.clr := $00000010
  41592. else
  41593. pTDefRegMap(@Self)^.&set := $00000010;
  41594. end;
  41595. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  41596. begin
  41597. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41598. end;
  41599. procedure TOSC_OSCCON.setSLOCK; inline;
  41600. begin
  41601. pTDefRegMap(@Self)^.&set := $00000020;
  41602. end;
  41603. procedure TOSC_OSCCON.clearSLOCK; inline;
  41604. begin
  41605. pTDefRegMap(@Self)^.clr := $00000020;
  41606. end;
  41607. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  41608. begin
  41609. if thebits = 0 then
  41610. pTDefRegMap(@Self)^.clr := $00000020
  41611. else
  41612. pTDefRegMap(@Self)^.&set := $00000020;
  41613. end;
  41614. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  41615. begin
  41616. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41617. end;
  41618. procedure TOSC_OSCCON.setULOCK; inline;
  41619. begin
  41620. pTDefRegMap(@Self)^.&set := $00000040;
  41621. end;
  41622. procedure TOSC_OSCCON.clearULOCK; inline;
  41623. begin
  41624. pTDefRegMap(@Self)^.clr := $00000040;
  41625. end;
  41626. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  41627. begin
  41628. if thebits = 0 then
  41629. pTDefRegMap(@Self)^.clr := $00000040
  41630. else
  41631. pTDefRegMap(@Self)^.&set := $00000040;
  41632. end;
  41633. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  41634. begin
  41635. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41636. end;
  41637. procedure TOSC_OSCCON.setCLKLOCK; inline;
  41638. begin
  41639. pTDefRegMap(@Self)^.&set := $00000080;
  41640. end;
  41641. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  41642. begin
  41643. pTDefRegMap(@Self)^.clr := $00000080;
  41644. end;
  41645. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  41646. begin
  41647. if thebits = 0 then
  41648. pTDefRegMap(@Self)^.clr := $00000080
  41649. else
  41650. pTDefRegMap(@Self)^.&set := $00000080;
  41651. end;
  41652. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  41653. begin
  41654. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41655. end;
  41656. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  41657. begin
  41658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  41659. end;
  41660. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  41661. begin
  41662. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  41663. end;
  41664. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  41665. begin
  41666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  41667. end;
  41668. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  41669. begin
  41670. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  41671. end;
  41672. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  41673. begin
  41674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  41675. end;
  41676. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  41677. begin
  41678. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  41679. end;
  41680. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  41681. begin
  41682. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  41683. end;
  41684. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  41685. begin
  41686. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  41687. end;
  41688. procedure TOSC_OSCCON.setSOSCRDY; inline;
  41689. begin
  41690. pTDefRegMap(@Self)^.&set := $00400000;
  41691. end;
  41692. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  41693. begin
  41694. pTDefRegMap(@Self)^.clr := $00400000;
  41695. end;
  41696. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  41697. begin
  41698. if thebits = 0 then
  41699. pTDefRegMap(@Self)^.clr := $00400000
  41700. else
  41701. pTDefRegMap(@Self)^.&set := $00400000;
  41702. end;
  41703. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  41704. begin
  41705. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  41706. end;
  41707. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  41708. begin
  41709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  41710. end;
  41711. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  41712. begin
  41713. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  41714. end;
  41715. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  41716. begin
  41717. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  41718. end;
  41719. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  41720. begin
  41721. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  41722. end;
  41723. procedure TOSC_OSCCON.setNOSC0; inline;
  41724. begin
  41725. pTDefRegMap(@Self)^.&set := $00000100;
  41726. end;
  41727. procedure TOSC_OSCCON.clearNOSC0; inline;
  41728. begin
  41729. pTDefRegMap(@Self)^.clr := $00000100;
  41730. end;
  41731. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  41732. begin
  41733. if thebits = 0 then
  41734. pTDefRegMap(@Self)^.clr := $00000100
  41735. else
  41736. pTDefRegMap(@Self)^.&set := $00000100;
  41737. end;
  41738. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  41739. begin
  41740. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41741. end;
  41742. procedure TOSC_OSCCON.setNOSC1; inline;
  41743. begin
  41744. pTDefRegMap(@Self)^.&set := $00000200;
  41745. end;
  41746. procedure TOSC_OSCCON.clearNOSC1; inline;
  41747. begin
  41748. pTDefRegMap(@Self)^.clr := $00000200;
  41749. end;
  41750. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  41751. begin
  41752. if thebits = 0 then
  41753. pTDefRegMap(@Self)^.clr := $00000200
  41754. else
  41755. pTDefRegMap(@Self)^.&set := $00000200;
  41756. end;
  41757. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  41758. begin
  41759. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41760. end;
  41761. procedure TOSC_OSCCON.setNOSC2; inline;
  41762. begin
  41763. pTDefRegMap(@Self)^.&set := $00000400;
  41764. end;
  41765. procedure TOSC_OSCCON.clearNOSC2; inline;
  41766. begin
  41767. pTDefRegMap(@Self)^.clr := $00000400;
  41768. end;
  41769. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  41770. begin
  41771. if thebits = 0 then
  41772. pTDefRegMap(@Self)^.clr := $00000400
  41773. else
  41774. pTDefRegMap(@Self)^.&set := $00000400;
  41775. end;
  41776. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  41777. begin
  41778. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41779. end;
  41780. procedure TOSC_OSCCON.setCOSC0; inline;
  41781. begin
  41782. pTDefRegMap(@Self)^.&set := $00001000;
  41783. end;
  41784. procedure TOSC_OSCCON.clearCOSC0; inline;
  41785. begin
  41786. pTDefRegMap(@Self)^.clr := $00001000;
  41787. end;
  41788. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  41789. begin
  41790. if thebits = 0 then
  41791. pTDefRegMap(@Self)^.clr := $00001000
  41792. else
  41793. pTDefRegMap(@Self)^.&set := $00001000;
  41794. end;
  41795. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  41796. begin
  41797. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41798. end;
  41799. procedure TOSC_OSCCON.setCOSC1; inline;
  41800. begin
  41801. pTDefRegMap(@Self)^.&set := $00002000;
  41802. end;
  41803. procedure TOSC_OSCCON.clearCOSC1; inline;
  41804. begin
  41805. pTDefRegMap(@Self)^.clr := $00002000;
  41806. end;
  41807. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  41808. begin
  41809. if thebits = 0 then
  41810. pTDefRegMap(@Self)^.clr := $00002000
  41811. else
  41812. pTDefRegMap(@Self)^.&set := $00002000;
  41813. end;
  41814. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  41815. begin
  41816. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41817. end;
  41818. procedure TOSC_OSCCON.setCOSC2; inline;
  41819. begin
  41820. pTDefRegMap(@Self)^.&set := $00004000;
  41821. end;
  41822. procedure TOSC_OSCCON.clearCOSC2; inline;
  41823. begin
  41824. pTDefRegMap(@Self)^.clr := $00004000;
  41825. end;
  41826. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  41827. begin
  41828. if thebits = 0 then
  41829. pTDefRegMap(@Self)^.clr := $00004000
  41830. else
  41831. pTDefRegMap(@Self)^.&set := $00004000;
  41832. end;
  41833. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  41834. begin
  41835. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41836. end;
  41837. procedure TOSC_OSCCON.setPLLMULT0; inline;
  41838. begin
  41839. pTDefRegMap(@Self)^.&set := $00010000;
  41840. end;
  41841. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  41842. begin
  41843. pTDefRegMap(@Self)^.clr := $00010000;
  41844. end;
  41845. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  41846. begin
  41847. if thebits = 0 then
  41848. pTDefRegMap(@Self)^.clr := $00010000
  41849. else
  41850. pTDefRegMap(@Self)^.&set := $00010000;
  41851. end;
  41852. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  41853. begin
  41854. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  41855. end;
  41856. procedure TOSC_OSCCON.setPLLMULT1; inline;
  41857. begin
  41858. pTDefRegMap(@Self)^.&set := $00020000;
  41859. end;
  41860. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  41861. begin
  41862. pTDefRegMap(@Self)^.clr := $00020000;
  41863. end;
  41864. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  41865. begin
  41866. if thebits = 0 then
  41867. pTDefRegMap(@Self)^.clr := $00020000
  41868. else
  41869. pTDefRegMap(@Self)^.&set := $00020000;
  41870. end;
  41871. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  41872. begin
  41873. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  41874. end;
  41875. procedure TOSC_OSCCON.setPLLMULT2; inline;
  41876. begin
  41877. pTDefRegMap(@Self)^.&set := $00040000;
  41878. end;
  41879. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  41880. begin
  41881. pTDefRegMap(@Self)^.clr := $00040000;
  41882. end;
  41883. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  41884. begin
  41885. if thebits = 0 then
  41886. pTDefRegMap(@Self)^.clr := $00040000
  41887. else
  41888. pTDefRegMap(@Self)^.&set := $00040000;
  41889. end;
  41890. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  41891. begin
  41892. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  41893. end;
  41894. procedure TOSC_OSCCON.setPBDIV0; inline;
  41895. begin
  41896. pTDefRegMap(@Self)^.&set := $00080000;
  41897. end;
  41898. procedure TOSC_OSCCON.clearPBDIV0; inline;
  41899. begin
  41900. pTDefRegMap(@Self)^.clr := $00080000;
  41901. end;
  41902. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  41903. begin
  41904. if thebits = 0 then
  41905. pTDefRegMap(@Self)^.clr := $00080000
  41906. else
  41907. pTDefRegMap(@Self)^.&set := $00080000;
  41908. end;
  41909. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  41910. begin
  41911. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  41912. end;
  41913. procedure TOSC_OSCCON.setPBDIV1; inline;
  41914. begin
  41915. pTDefRegMap(@Self)^.&set := $00100000;
  41916. end;
  41917. procedure TOSC_OSCCON.clearPBDIV1; inline;
  41918. begin
  41919. pTDefRegMap(@Self)^.clr := $00100000;
  41920. end;
  41921. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  41922. begin
  41923. if thebits = 0 then
  41924. pTDefRegMap(@Self)^.clr := $00100000
  41925. else
  41926. pTDefRegMap(@Self)^.&set := $00100000;
  41927. end;
  41928. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  41929. begin
  41930. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  41931. end;
  41932. procedure TOSC_OSCCON.setFRCDIV0; inline;
  41933. begin
  41934. pTDefRegMap(@Self)^.&set := $01000000;
  41935. end;
  41936. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  41937. begin
  41938. pTDefRegMap(@Self)^.clr := $01000000;
  41939. end;
  41940. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  41941. begin
  41942. if thebits = 0 then
  41943. pTDefRegMap(@Self)^.clr := $01000000
  41944. else
  41945. pTDefRegMap(@Self)^.&set := $01000000;
  41946. end;
  41947. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  41948. begin
  41949. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  41950. end;
  41951. procedure TOSC_OSCCON.setFRCDIV1; inline;
  41952. begin
  41953. pTDefRegMap(@Self)^.&set := $02000000;
  41954. end;
  41955. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  41956. begin
  41957. pTDefRegMap(@Self)^.clr := $02000000;
  41958. end;
  41959. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  41960. begin
  41961. if thebits = 0 then
  41962. pTDefRegMap(@Self)^.clr := $02000000
  41963. else
  41964. pTDefRegMap(@Self)^.&set := $02000000;
  41965. end;
  41966. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  41967. begin
  41968. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  41969. end;
  41970. procedure TOSC_OSCCON.setFRCDIV2; inline;
  41971. begin
  41972. pTDefRegMap(@Self)^.&set := $04000000;
  41973. end;
  41974. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  41975. begin
  41976. pTDefRegMap(@Self)^.clr := $04000000;
  41977. end;
  41978. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  41979. begin
  41980. if thebits = 0 then
  41981. pTDefRegMap(@Self)^.clr := $04000000
  41982. else
  41983. pTDefRegMap(@Self)^.&set := $04000000;
  41984. end;
  41985. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  41986. begin
  41987. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41988. end;
  41989. procedure TOSC_OSCCON.setPLLODIV0; inline;
  41990. begin
  41991. pTDefRegMap(@Self)^.&set := $08000000;
  41992. end;
  41993. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  41994. begin
  41995. pTDefRegMap(@Self)^.clr := $08000000;
  41996. end;
  41997. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  41998. begin
  41999. if thebits = 0 then
  42000. pTDefRegMap(@Self)^.clr := $08000000
  42001. else
  42002. pTDefRegMap(@Self)^.&set := $08000000;
  42003. end;
  42004. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  42005. begin
  42006. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42007. end;
  42008. procedure TOSC_OSCCON.setPLLODIV1; inline;
  42009. begin
  42010. pTDefRegMap(@Self)^.&set := $10000000;
  42011. end;
  42012. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  42013. begin
  42014. pTDefRegMap(@Self)^.clr := $10000000;
  42015. end;
  42016. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  42017. begin
  42018. if thebits = 0 then
  42019. pTDefRegMap(@Self)^.clr := $10000000
  42020. else
  42021. pTDefRegMap(@Self)^.&set := $10000000;
  42022. end;
  42023. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  42024. begin
  42025. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42026. end;
  42027. procedure TOSC_OSCCON.setPLLODIV2; inline;
  42028. begin
  42029. pTDefRegMap(@Self)^.&set := $20000000;
  42030. end;
  42031. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  42032. begin
  42033. pTDefRegMap(@Self)^.clr := $20000000;
  42034. end;
  42035. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  42036. begin
  42037. if thebits = 0 then
  42038. pTDefRegMap(@Self)^.clr := $20000000
  42039. else
  42040. pTDefRegMap(@Self)^.&set := $20000000;
  42041. end;
  42042. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  42043. begin
  42044. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  42045. end;
  42046. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  42047. begin
  42048. pTDefRegMap(@Self)^.val := thebits;
  42049. end;
  42050. function TOSC_OSCCON.getw : TBits_32; inline;
  42051. begin
  42052. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42053. end;
  42054. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  42055. begin
  42056. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  42057. end;
  42058. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  42059. begin
  42060. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  42061. end;
  42062. procedure TOSC_OSCTUN.setTUN0; inline;
  42063. begin
  42064. pTDefRegMap(@Self)^.&set := $00000001;
  42065. end;
  42066. procedure TOSC_OSCTUN.clearTUN0; inline;
  42067. begin
  42068. pTDefRegMap(@Self)^.clr := $00000001;
  42069. end;
  42070. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  42071. begin
  42072. if thebits = 0 then
  42073. pTDefRegMap(@Self)^.clr := $00000001
  42074. else
  42075. pTDefRegMap(@Self)^.&set := $00000001;
  42076. end;
  42077. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  42078. begin
  42079. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42080. end;
  42081. procedure TOSC_OSCTUN.setTUN1; inline;
  42082. begin
  42083. pTDefRegMap(@Self)^.&set := $00000002;
  42084. end;
  42085. procedure TOSC_OSCTUN.clearTUN1; inline;
  42086. begin
  42087. pTDefRegMap(@Self)^.clr := $00000002;
  42088. end;
  42089. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  42090. begin
  42091. if thebits = 0 then
  42092. pTDefRegMap(@Self)^.clr := $00000002
  42093. else
  42094. pTDefRegMap(@Self)^.&set := $00000002;
  42095. end;
  42096. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  42097. begin
  42098. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42099. end;
  42100. procedure TOSC_OSCTUN.setTUN2; inline;
  42101. begin
  42102. pTDefRegMap(@Self)^.&set := $00000004;
  42103. end;
  42104. procedure TOSC_OSCTUN.clearTUN2; inline;
  42105. begin
  42106. pTDefRegMap(@Self)^.clr := $00000004;
  42107. end;
  42108. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  42109. begin
  42110. if thebits = 0 then
  42111. pTDefRegMap(@Self)^.clr := $00000004
  42112. else
  42113. pTDefRegMap(@Self)^.&set := $00000004;
  42114. end;
  42115. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  42116. begin
  42117. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42118. end;
  42119. procedure TOSC_OSCTUN.setTUN3; inline;
  42120. begin
  42121. pTDefRegMap(@Self)^.&set := $00000008;
  42122. end;
  42123. procedure TOSC_OSCTUN.clearTUN3; inline;
  42124. begin
  42125. pTDefRegMap(@Self)^.clr := $00000008;
  42126. end;
  42127. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  42128. begin
  42129. if thebits = 0 then
  42130. pTDefRegMap(@Self)^.clr := $00000008
  42131. else
  42132. pTDefRegMap(@Self)^.&set := $00000008;
  42133. end;
  42134. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  42135. begin
  42136. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42137. end;
  42138. procedure TOSC_OSCTUN.setTUN4; inline;
  42139. begin
  42140. pTDefRegMap(@Self)^.&set := $00000010;
  42141. end;
  42142. procedure TOSC_OSCTUN.clearTUN4; inline;
  42143. begin
  42144. pTDefRegMap(@Self)^.clr := $00000010;
  42145. end;
  42146. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  42147. begin
  42148. if thebits = 0 then
  42149. pTDefRegMap(@Self)^.clr := $00000010
  42150. else
  42151. pTDefRegMap(@Self)^.&set := $00000010;
  42152. end;
  42153. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  42154. begin
  42155. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42156. end;
  42157. procedure TOSC_OSCTUN.setTUN5; inline;
  42158. begin
  42159. pTDefRegMap(@Self)^.&set := $00000020;
  42160. end;
  42161. procedure TOSC_OSCTUN.clearTUN5; inline;
  42162. begin
  42163. pTDefRegMap(@Self)^.clr := $00000020;
  42164. end;
  42165. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  42166. begin
  42167. if thebits = 0 then
  42168. pTDefRegMap(@Self)^.clr := $00000020
  42169. else
  42170. pTDefRegMap(@Self)^.&set := $00000020;
  42171. end;
  42172. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  42173. begin
  42174. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42175. end;
  42176. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  42177. begin
  42178. pTDefRegMap(@Self)^.val := thebits;
  42179. end;
  42180. function TOSC_OSCTUN.getw : TBits_32; inline;
  42181. begin
  42182. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42183. end;
  42184. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  42185. begin
  42186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  42187. end;
  42188. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  42189. begin
  42190. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  42191. end;
  42192. procedure TNVM_NVMCON.setLVDSTAT; inline;
  42193. begin
  42194. pTDefRegMap(@Self)^.&set := $00000800;
  42195. end;
  42196. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  42197. begin
  42198. pTDefRegMap(@Self)^.clr := $00000800;
  42199. end;
  42200. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  42201. begin
  42202. if thebits = 0 then
  42203. pTDefRegMap(@Self)^.clr := $00000800
  42204. else
  42205. pTDefRegMap(@Self)^.&set := $00000800;
  42206. end;
  42207. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  42208. begin
  42209. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42210. end;
  42211. procedure TNVM_NVMCON.setLVDERR; inline;
  42212. begin
  42213. pTDefRegMap(@Self)^.&set := $00001000;
  42214. end;
  42215. procedure TNVM_NVMCON.clearLVDERR; inline;
  42216. begin
  42217. pTDefRegMap(@Self)^.clr := $00001000;
  42218. end;
  42219. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  42220. begin
  42221. if thebits = 0 then
  42222. pTDefRegMap(@Self)^.clr := $00001000
  42223. else
  42224. pTDefRegMap(@Self)^.&set := $00001000;
  42225. end;
  42226. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  42227. begin
  42228. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42229. end;
  42230. procedure TNVM_NVMCON.setWRERR; inline;
  42231. begin
  42232. pTDefRegMap(@Self)^.&set := $00002000;
  42233. end;
  42234. procedure TNVM_NVMCON.clearWRERR; inline;
  42235. begin
  42236. pTDefRegMap(@Self)^.clr := $00002000;
  42237. end;
  42238. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  42239. begin
  42240. if thebits = 0 then
  42241. pTDefRegMap(@Self)^.clr := $00002000
  42242. else
  42243. pTDefRegMap(@Self)^.&set := $00002000;
  42244. end;
  42245. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  42246. begin
  42247. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42248. end;
  42249. procedure TNVM_NVMCON.setWREN; inline;
  42250. begin
  42251. pTDefRegMap(@Self)^.&set := $00004000;
  42252. end;
  42253. procedure TNVM_NVMCON.clearWREN; inline;
  42254. begin
  42255. pTDefRegMap(@Self)^.clr := $00004000;
  42256. end;
  42257. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  42258. begin
  42259. if thebits = 0 then
  42260. pTDefRegMap(@Self)^.clr := $00004000
  42261. else
  42262. pTDefRegMap(@Self)^.&set := $00004000;
  42263. end;
  42264. function TNVM_NVMCON.getWREN : TBits_1; inline;
  42265. begin
  42266. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42267. end;
  42268. procedure TNVM_NVMCON.setWR; inline;
  42269. begin
  42270. pTDefRegMap(@Self)^.&set := $00008000;
  42271. end;
  42272. procedure TNVM_NVMCON.clearWR; inline;
  42273. begin
  42274. pTDefRegMap(@Self)^.clr := $00008000;
  42275. end;
  42276. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  42277. begin
  42278. if thebits = 0 then
  42279. pTDefRegMap(@Self)^.clr := $00008000
  42280. else
  42281. pTDefRegMap(@Self)^.&set := $00008000;
  42282. end;
  42283. function TNVM_NVMCON.getWR : TBits_1; inline;
  42284. begin
  42285. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42286. end;
  42287. procedure TNVM_NVMCON.setNVMOP0; inline;
  42288. begin
  42289. pTDefRegMap(@Self)^.&set := $00000001;
  42290. end;
  42291. procedure TNVM_NVMCON.clearNVMOP0; inline;
  42292. begin
  42293. pTDefRegMap(@Self)^.clr := $00000001;
  42294. end;
  42295. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  42296. begin
  42297. if thebits = 0 then
  42298. pTDefRegMap(@Self)^.clr := $00000001
  42299. else
  42300. pTDefRegMap(@Self)^.&set := $00000001;
  42301. end;
  42302. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  42303. begin
  42304. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42305. end;
  42306. procedure TNVM_NVMCON.setNVMOP1; inline;
  42307. begin
  42308. pTDefRegMap(@Self)^.&set := $00000002;
  42309. end;
  42310. procedure TNVM_NVMCON.clearNVMOP1; inline;
  42311. begin
  42312. pTDefRegMap(@Self)^.clr := $00000002;
  42313. end;
  42314. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  42315. begin
  42316. if thebits = 0 then
  42317. pTDefRegMap(@Self)^.clr := $00000002
  42318. else
  42319. pTDefRegMap(@Self)^.&set := $00000002;
  42320. end;
  42321. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  42322. begin
  42323. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42324. end;
  42325. procedure TNVM_NVMCON.setNVMOP2; inline;
  42326. begin
  42327. pTDefRegMap(@Self)^.&set := $00000004;
  42328. end;
  42329. procedure TNVM_NVMCON.clearNVMOP2; inline;
  42330. begin
  42331. pTDefRegMap(@Self)^.clr := $00000004;
  42332. end;
  42333. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  42334. begin
  42335. if thebits = 0 then
  42336. pTDefRegMap(@Self)^.clr := $00000004
  42337. else
  42338. pTDefRegMap(@Self)^.&set := $00000004;
  42339. end;
  42340. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  42341. begin
  42342. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42343. end;
  42344. procedure TNVM_NVMCON.setNVMOP3; inline;
  42345. begin
  42346. pTDefRegMap(@Self)^.&set := $00000008;
  42347. end;
  42348. procedure TNVM_NVMCON.clearNVMOP3; inline;
  42349. begin
  42350. pTDefRegMap(@Self)^.clr := $00000008;
  42351. end;
  42352. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  42353. begin
  42354. if thebits = 0 then
  42355. pTDefRegMap(@Self)^.clr := $00000008
  42356. else
  42357. pTDefRegMap(@Self)^.&set := $00000008;
  42358. end;
  42359. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  42360. begin
  42361. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42362. end;
  42363. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  42364. begin
  42365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  42366. end;
  42367. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  42368. begin
  42369. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  42370. end;
  42371. procedure TNVM_NVMCON.setPROGOP0; inline;
  42372. begin
  42373. pTDefRegMap(@Self)^.&set := $00000001;
  42374. end;
  42375. procedure TNVM_NVMCON.clearPROGOP0; inline;
  42376. begin
  42377. pTDefRegMap(@Self)^.clr := $00000001;
  42378. end;
  42379. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  42380. begin
  42381. if thebits = 0 then
  42382. pTDefRegMap(@Self)^.clr := $00000001
  42383. else
  42384. pTDefRegMap(@Self)^.&set := $00000001;
  42385. end;
  42386. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  42387. begin
  42388. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42389. end;
  42390. procedure TNVM_NVMCON.setPROGOP1; inline;
  42391. begin
  42392. pTDefRegMap(@Self)^.&set := $00000002;
  42393. end;
  42394. procedure TNVM_NVMCON.clearPROGOP1; inline;
  42395. begin
  42396. pTDefRegMap(@Self)^.clr := $00000002;
  42397. end;
  42398. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  42399. begin
  42400. if thebits = 0 then
  42401. pTDefRegMap(@Self)^.clr := $00000002
  42402. else
  42403. pTDefRegMap(@Self)^.&set := $00000002;
  42404. end;
  42405. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  42406. begin
  42407. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42408. end;
  42409. procedure TNVM_NVMCON.setPROGOP2; inline;
  42410. begin
  42411. pTDefRegMap(@Self)^.&set := $00000004;
  42412. end;
  42413. procedure TNVM_NVMCON.clearPROGOP2; inline;
  42414. begin
  42415. pTDefRegMap(@Self)^.clr := $00000004;
  42416. end;
  42417. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  42418. begin
  42419. if thebits = 0 then
  42420. pTDefRegMap(@Self)^.clr := $00000004
  42421. else
  42422. pTDefRegMap(@Self)^.&set := $00000004;
  42423. end;
  42424. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  42425. begin
  42426. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42427. end;
  42428. procedure TNVM_NVMCON.setPROGOP3; inline;
  42429. begin
  42430. pTDefRegMap(@Self)^.&set := $00000008;
  42431. end;
  42432. procedure TNVM_NVMCON.clearPROGOP3; inline;
  42433. begin
  42434. pTDefRegMap(@Self)^.clr := $00000008;
  42435. end;
  42436. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  42437. begin
  42438. if thebits = 0 then
  42439. pTDefRegMap(@Self)^.clr := $00000008
  42440. else
  42441. pTDefRegMap(@Self)^.&set := $00000008;
  42442. end;
  42443. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  42444. begin
  42445. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42446. end;
  42447. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  42448. begin
  42449. pTDefRegMap(@Self)^.val := thebits;
  42450. end;
  42451. function TNVM_NVMCON.getw : TBits_32; inline;
  42452. begin
  42453. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42454. end;
  42455. procedure TRCON_RCON.setPOR; inline;
  42456. begin
  42457. pTDefRegMap(@Self)^.&set := $00000001;
  42458. end;
  42459. procedure TRCON_RCON.clearPOR; inline;
  42460. begin
  42461. pTDefRegMap(@Self)^.clr := $00000001;
  42462. end;
  42463. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  42464. begin
  42465. if thebits = 0 then
  42466. pTDefRegMap(@Self)^.clr := $00000001
  42467. else
  42468. pTDefRegMap(@Self)^.&set := $00000001;
  42469. end;
  42470. function TRCON_RCON.getPOR : TBits_1; inline;
  42471. begin
  42472. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42473. end;
  42474. procedure TRCON_RCON.setBOR; inline;
  42475. begin
  42476. pTDefRegMap(@Self)^.&set := $00000002;
  42477. end;
  42478. procedure TRCON_RCON.clearBOR; inline;
  42479. begin
  42480. pTDefRegMap(@Self)^.clr := $00000002;
  42481. end;
  42482. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  42483. begin
  42484. if thebits = 0 then
  42485. pTDefRegMap(@Self)^.clr := $00000002
  42486. else
  42487. pTDefRegMap(@Self)^.&set := $00000002;
  42488. end;
  42489. function TRCON_RCON.getBOR : TBits_1; inline;
  42490. begin
  42491. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42492. end;
  42493. procedure TRCON_RCON.setIDLE; inline;
  42494. begin
  42495. pTDefRegMap(@Self)^.&set := $00000004;
  42496. end;
  42497. procedure TRCON_RCON.clearIDLE; inline;
  42498. begin
  42499. pTDefRegMap(@Self)^.clr := $00000004;
  42500. end;
  42501. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  42502. begin
  42503. if thebits = 0 then
  42504. pTDefRegMap(@Self)^.clr := $00000004
  42505. else
  42506. pTDefRegMap(@Self)^.&set := $00000004;
  42507. end;
  42508. function TRCON_RCON.getIDLE : TBits_1; inline;
  42509. begin
  42510. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42511. end;
  42512. procedure TRCON_RCON.setSLEEP; inline;
  42513. begin
  42514. pTDefRegMap(@Self)^.&set := $00000008;
  42515. end;
  42516. procedure TRCON_RCON.clearSLEEP; inline;
  42517. begin
  42518. pTDefRegMap(@Self)^.clr := $00000008;
  42519. end;
  42520. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  42521. begin
  42522. if thebits = 0 then
  42523. pTDefRegMap(@Self)^.clr := $00000008
  42524. else
  42525. pTDefRegMap(@Self)^.&set := $00000008;
  42526. end;
  42527. function TRCON_RCON.getSLEEP : TBits_1; inline;
  42528. begin
  42529. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42530. end;
  42531. procedure TRCON_RCON.setWDTO; inline;
  42532. begin
  42533. pTDefRegMap(@Self)^.&set := $00000010;
  42534. end;
  42535. procedure TRCON_RCON.clearWDTO; inline;
  42536. begin
  42537. pTDefRegMap(@Self)^.clr := $00000010;
  42538. end;
  42539. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  42540. begin
  42541. if thebits = 0 then
  42542. pTDefRegMap(@Self)^.clr := $00000010
  42543. else
  42544. pTDefRegMap(@Self)^.&set := $00000010;
  42545. end;
  42546. function TRCON_RCON.getWDTO : TBits_1; inline;
  42547. begin
  42548. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42549. end;
  42550. procedure TRCON_RCON.setSWR; inline;
  42551. begin
  42552. pTDefRegMap(@Self)^.&set := $00000040;
  42553. end;
  42554. procedure TRCON_RCON.clearSWR; inline;
  42555. begin
  42556. pTDefRegMap(@Self)^.clr := $00000040;
  42557. end;
  42558. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  42559. begin
  42560. if thebits = 0 then
  42561. pTDefRegMap(@Self)^.clr := $00000040
  42562. else
  42563. pTDefRegMap(@Self)^.&set := $00000040;
  42564. end;
  42565. function TRCON_RCON.getSWR : TBits_1; inline;
  42566. begin
  42567. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42568. end;
  42569. procedure TRCON_RCON.setEXTR; inline;
  42570. begin
  42571. pTDefRegMap(@Self)^.&set := $00000080;
  42572. end;
  42573. procedure TRCON_RCON.clearEXTR; inline;
  42574. begin
  42575. pTDefRegMap(@Self)^.clr := $00000080;
  42576. end;
  42577. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  42578. begin
  42579. if thebits = 0 then
  42580. pTDefRegMap(@Self)^.clr := $00000080
  42581. else
  42582. pTDefRegMap(@Self)^.&set := $00000080;
  42583. end;
  42584. function TRCON_RCON.getEXTR : TBits_1; inline;
  42585. begin
  42586. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42587. end;
  42588. procedure TRCON_RCON.setVREGS; inline;
  42589. begin
  42590. pTDefRegMap(@Self)^.&set := $00000100;
  42591. end;
  42592. procedure TRCON_RCON.clearVREGS; inline;
  42593. begin
  42594. pTDefRegMap(@Self)^.clr := $00000100;
  42595. end;
  42596. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  42597. begin
  42598. if thebits = 0 then
  42599. pTDefRegMap(@Self)^.clr := $00000100
  42600. else
  42601. pTDefRegMap(@Self)^.&set := $00000100;
  42602. end;
  42603. function TRCON_RCON.getVREGS : TBits_1; inline;
  42604. begin
  42605. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42606. end;
  42607. procedure TRCON_RCON.setCMR; inline;
  42608. begin
  42609. pTDefRegMap(@Self)^.&set := $00000200;
  42610. end;
  42611. procedure TRCON_RCON.clearCMR; inline;
  42612. begin
  42613. pTDefRegMap(@Self)^.clr := $00000200;
  42614. end;
  42615. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  42616. begin
  42617. if thebits = 0 then
  42618. pTDefRegMap(@Self)^.clr := $00000200
  42619. else
  42620. pTDefRegMap(@Self)^.&set := $00000200;
  42621. end;
  42622. function TRCON_RCON.getCMR : TBits_1; inline;
  42623. begin
  42624. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42625. end;
  42626. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  42627. begin
  42628. pTDefRegMap(@Self)^.val := thebits;
  42629. end;
  42630. function TRCON_RCON.getw : TBits_32; inline;
  42631. begin
  42632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42633. end;
  42634. procedure TRCON_RSWRST.setSWRST; inline;
  42635. begin
  42636. pTDefRegMap(@Self)^.&set := $00000001;
  42637. end;
  42638. procedure TRCON_RSWRST.clearSWRST; inline;
  42639. begin
  42640. pTDefRegMap(@Self)^.clr := $00000001;
  42641. end;
  42642. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  42643. begin
  42644. if thebits = 0 then
  42645. pTDefRegMap(@Self)^.clr := $00000001
  42646. else
  42647. pTDefRegMap(@Self)^.&set := $00000001;
  42648. end;
  42649. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  42650. begin
  42651. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42652. end;
  42653. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  42654. begin
  42655. pTDefRegMap(@Self)^.val := thebits;
  42656. end;
  42657. function TRCON_RSWRST.getw : TBits_32; inline;
  42658. begin
  42659. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42660. end;
  42661. procedure TINT_INTCON.setINT0EP; inline;
  42662. begin
  42663. pTDefRegMap(@Self)^.&set := $00000001;
  42664. end;
  42665. procedure TINT_INTCON.clearINT0EP; inline;
  42666. begin
  42667. pTDefRegMap(@Self)^.clr := $00000001;
  42668. end;
  42669. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  42670. begin
  42671. if thebits = 0 then
  42672. pTDefRegMap(@Self)^.clr := $00000001
  42673. else
  42674. pTDefRegMap(@Self)^.&set := $00000001;
  42675. end;
  42676. function TINT_INTCON.getINT0EP : TBits_1; inline;
  42677. begin
  42678. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42679. end;
  42680. procedure TINT_INTCON.setINT1EP; inline;
  42681. begin
  42682. pTDefRegMap(@Self)^.&set := $00000002;
  42683. end;
  42684. procedure TINT_INTCON.clearINT1EP; inline;
  42685. begin
  42686. pTDefRegMap(@Self)^.clr := $00000002;
  42687. end;
  42688. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  42689. begin
  42690. if thebits = 0 then
  42691. pTDefRegMap(@Self)^.clr := $00000002
  42692. else
  42693. pTDefRegMap(@Self)^.&set := $00000002;
  42694. end;
  42695. function TINT_INTCON.getINT1EP : TBits_1; inline;
  42696. begin
  42697. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42698. end;
  42699. procedure TINT_INTCON.setINT2EP; inline;
  42700. begin
  42701. pTDefRegMap(@Self)^.&set := $00000004;
  42702. end;
  42703. procedure TINT_INTCON.clearINT2EP; inline;
  42704. begin
  42705. pTDefRegMap(@Self)^.clr := $00000004;
  42706. end;
  42707. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  42708. begin
  42709. if thebits = 0 then
  42710. pTDefRegMap(@Self)^.clr := $00000004
  42711. else
  42712. pTDefRegMap(@Self)^.&set := $00000004;
  42713. end;
  42714. function TINT_INTCON.getINT2EP : TBits_1; inline;
  42715. begin
  42716. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42717. end;
  42718. procedure TINT_INTCON.setINT3EP; inline;
  42719. begin
  42720. pTDefRegMap(@Self)^.&set := $00000008;
  42721. end;
  42722. procedure TINT_INTCON.clearINT3EP; inline;
  42723. begin
  42724. pTDefRegMap(@Self)^.clr := $00000008;
  42725. end;
  42726. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  42727. begin
  42728. if thebits = 0 then
  42729. pTDefRegMap(@Self)^.clr := $00000008
  42730. else
  42731. pTDefRegMap(@Self)^.&set := $00000008;
  42732. end;
  42733. function TINT_INTCON.getINT3EP : TBits_1; inline;
  42734. begin
  42735. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42736. end;
  42737. procedure TINT_INTCON.setINT4EP; inline;
  42738. begin
  42739. pTDefRegMap(@Self)^.&set := $00000010;
  42740. end;
  42741. procedure TINT_INTCON.clearINT4EP; inline;
  42742. begin
  42743. pTDefRegMap(@Self)^.clr := $00000010;
  42744. end;
  42745. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  42746. begin
  42747. if thebits = 0 then
  42748. pTDefRegMap(@Self)^.clr := $00000010
  42749. else
  42750. pTDefRegMap(@Self)^.&set := $00000010;
  42751. end;
  42752. function TINT_INTCON.getINT4EP : TBits_1; inline;
  42753. begin
  42754. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42755. end;
  42756. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  42757. begin
  42758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  42759. end;
  42760. function TINT_INTCON.getTPC : TBits_3; inline;
  42761. begin
  42762. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  42763. end;
  42764. procedure TINT_INTCON.setMVEC; inline;
  42765. begin
  42766. pTDefRegMap(@Self)^.&set := $00001000;
  42767. end;
  42768. procedure TINT_INTCON.clearMVEC; inline;
  42769. begin
  42770. pTDefRegMap(@Self)^.clr := $00001000;
  42771. end;
  42772. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  42773. begin
  42774. if thebits = 0 then
  42775. pTDefRegMap(@Self)^.clr := $00001000
  42776. else
  42777. pTDefRegMap(@Self)^.&set := $00001000;
  42778. end;
  42779. function TINT_INTCON.getMVEC : TBits_1; inline;
  42780. begin
  42781. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42782. end;
  42783. procedure TINT_INTCON.setFRZ; inline;
  42784. begin
  42785. pTDefRegMap(@Self)^.&set := $00004000;
  42786. end;
  42787. procedure TINT_INTCON.clearFRZ; inline;
  42788. begin
  42789. pTDefRegMap(@Self)^.clr := $00004000;
  42790. end;
  42791. procedure TINT_INTCON.setFRZ(thebits : TBits_1); inline;
  42792. begin
  42793. if thebits = 0 then
  42794. pTDefRegMap(@Self)^.clr := $00004000
  42795. else
  42796. pTDefRegMap(@Self)^.&set := $00004000;
  42797. end;
  42798. function TINT_INTCON.getFRZ : TBits_1; inline;
  42799. begin
  42800. getFRZ := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42801. end;
  42802. procedure TINT_INTCON.setSS0; inline;
  42803. begin
  42804. pTDefRegMap(@Self)^.&set := $00010000;
  42805. end;
  42806. procedure TINT_INTCON.clearSS0; inline;
  42807. begin
  42808. pTDefRegMap(@Self)^.clr := $00010000;
  42809. end;
  42810. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  42811. begin
  42812. if thebits = 0 then
  42813. pTDefRegMap(@Self)^.clr := $00010000
  42814. else
  42815. pTDefRegMap(@Self)^.&set := $00010000;
  42816. end;
  42817. function TINT_INTCON.getSS0 : TBits_1; inline;
  42818. begin
  42819. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  42820. end;
  42821. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  42822. begin
  42823. pTDefRegMap(@Self)^.val := thebits;
  42824. end;
  42825. function TINT_INTCON.getw : TBits_32; inline;
  42826. begin
  42827. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42828. end;
  42829. procedure TINT_IFS0.setCTIF; inline;
  42830. begin
  42831. pTDefRegMap(@Self)^.&set := $00000001;
  42832. end;
  42833. procedure TINT_IFS0.clearCTIF; inline;
  42834. begin
  42835. pTDefRegMap(@Self)^.clr := $00000001;
  42836. end;
  42837. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  42838. begin
  42839. if thebits = 0 then
  42840. pTDefRegMap(@Self)^.clr := $00000001
  42841. else
  42842. pTDefRegMap(@Self)^.&set := $00000001;
  42843. end;
  42844. function TINT_IFS0.getCTIF : TBits_1; inline;
  42845. begin
  42846. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42847. end;
  42848. procedure TINT_IFS0.setCS0IF; inline;
  42849. begin
  42850. pTDefRegMap(@Self)^.&set := $00000002;
  42851. end;
  42852. procedure TINT_IFS0.clearCS0IF; inline;
  42853. begin
  42854. pTDefRegMap(@Self)^.clr := $00000002;
  42855. end;
  42856. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  42857. begin
  42858. if thebits = 0 then
  42859. pTDefRegMap(@Self)^.clr := $00000002
  42860. else
  42861. pTDefRegMap(@Self)^.&set := $00000002;
  42862. end;
  42863. function TINT_IFS0.getCS0IF : TBits_1; inline;
  42864. begin
  42865. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42866. end;
  42867. procedure TINT_IFS0.setCS1IF; inline;
  42868. begin
  42869. pTDefRegMap(@Self)^.&set := $00000004;
  42870. end;
  42871. procedure TINT_IFS0.clearCS1IF; inline;
  42872. begin
  42873. pTDefRegMap(@Self)^.clr := $00000004;
  42874. end;
  42875. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  42876. begin
  42877. if thebits = 0 then
  42878. pTDefRegMap(@Self)^.clr := $00000004
  42879. else
  42880. pTDefRegMap(@Self)^.&set := $00000004;
  42881. end;
  42882. function TINT_IFS0.getCS1IF : TBits_1; inline;
  42883. begin
  42884. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42885. end;
  42886. procedure TINT_IFS0.setINT0IF; inline;
  42887. begin
  42888. pTDefRegMap(@Self)^.&set := $00000008;
  42889. end;
  42890. procedure TINT_IFS0.clearINT0IF; inline;
  42891. begin
  42892. pTDefRegMap(@Self)^.clr := $00000008;
  42893. end;
  42894. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  42895. begin
  42896. if thebits = 0 then
  42897. pTDefRegMap(@Self)^.clr := $00000008
  42898. else
  42899. pTDefRegMap(@Self)^.&set := $00000008;
  42900. end;
  42901. function TINT_IFS0.getINT0IF : TBits_1; inline;
  42902. begin
  42903. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42904. end;
  42905. procedure TINT_IFS0.setT1IF; inline;
  42906. begin
  42907. pTDefRegMap(@Self)^.&set := $00000010;
  42908. end;
  42909. procedure TINT_IFS0.clearT1IF; inline;
  42910. begin
  42911. pTDefRegMap(@Self)^.clr := $00000010;
  42912. end;
  42913. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  42914. begin
  42915. if thebits = 0 then
  42916. pTDefRegMap(@Self)^.clr := $00000010
  42917. else
  42918. pTDefRegMap(@Self)^.&set := $00000010;
  42919. end;
  42920. function TINT_IFS0.getT1IF : TBits_1; inline;
  42921. begin
  42922. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42923. end;
  42924. procedure TINT_IFS0.setIC1IF; inline;
  42925. begin
  42926. pTDefRegMap(@Self)^.&set := $00000020;
  42927. end;
  42928. procedure TINT_IFS0.clearIC1IF; inline;
  42929. begin
  42930. pTDefRegMap(@Self)^.clr := $00000020;
  42931. end;
  42932. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  42933. begin
  42934. if thebits = 0 then
  42935. pTDefRegMap(@Self)^.clr := $00000020
  42936. else
  42937. pTDefRegMap(@Self)^.&set := $00000020;
  42938. end;
  42939. function TINT_IFS0.getIC1IF : TBits_1; inline;
  42940. begin
  42941. getIC1IF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42942. end;
  42943. procedure TINT_IFS0.setOC1IF; inline;
  42944. begin
  42945. pTDefRegMap(@Self)^.&set := $00000040;
  42946. end;
  42947. procedure TINT_IFS0.clearOC1IF; inline;
  42948. begin
  42949. pTDefRegMap(@Self)^.clr := $00000040;
  42950. end;
  42951. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  42952. begin
  42953. if thebits = 0 then
  42954. pTDefRegMap(@Self)^.clr := $00000040
  42955. else
  42956. pTDefRegMap(@Self)^.&set := $00000040;
  42957. end;
  42958. function TINT_IFS0.getOC1IF : TBits_1; inline;
  42959. begin
  42960. getOC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42961. end;
  42962. procedure TINT_IFS0.setINT1IF; inline;
  42963. begin
  42964. pTDefRegMap(@Self)^.&set := $00000080;
  42965. end;
  42966. procedure TINT_IFS0.clearINT1IF; inline;
  42967. begin
  42968. pTDefRegMap(@Self)^.clr := $00000080;
  42969. end;
  42970. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  42971. begin
  42972. if thebits = 0 then
  42973. pTDefRegMap(@Self)^.clr := $00000080
  42974. else
  42975. pTDefRegMap(@Self)^.&set := $00000080;
  42976. end;
  42977. function TINT_IFS0.getINT1IF : TBits_1; inline;
  42978. begin
  42979. getINT1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42980. end;
  42981. procedure TINT_IFS0.setT2IF; inline;
  42982. begin
  42983. pTDefRegMap(@Self)^.&set := $00000100;
  42984. end;
  42985. procedure TINT_IFS0.clearT2IF; inline;
  42986. begin
  42987. pTDefRegMap(@Self)^.clr := $00000100;
  42988. end;
  42989. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  42990. begin
  42991. if thebits = 0 then
  42992. pTDefRegMap(@Self)^.clr := $00000100
  42993. else
  42994. pTDefRegMap(@Self)^.&set := $00000100;
  42995. end;
  42996. function TINT_IFS0.getT2IF : TBits_1; inline;
  42997. begin
  42998. getT2IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42999. end;
  43000. procedure TINT_IFS0.setIC2IF; inline;
  43001. begin
  43002. pTDefRegMap(@Self)^.&set := $00000200;
  43003. end;
  43004. procedure TINT_IFS0.clearIC2IF; inline;
  43005. begin
  43006. pTDefRegMap(@Self)^.clr := $00000200;
  43007. end;
  43008. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  43009. begin
  43010. if thebits = 0 then
  43011. pTDefRegMap(@Self)^.clr := $00000200
  43012. else
  43013. pTDefRegMap(@Self)^.&set := $00000200;
  43014. end;
  43015. function TINT_IFS0.getIC2IF : TBits_1; inline;
  43016. begin
  43017. getIC2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43018. end;
  43019. procedure TINT_IFS0.setOC2IF; inline;
  43020. begin
  43021. pTDefRegMap(@Self)^.&set := $00000400;
  43022. end;
  43023. procedure TINT_IFS0.clearOC2IF; inline;
  43024. begin
  43025. pTDefRegMap(@Self)^.clr := $00000400;
  43026. end;
  43027. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  43028. begin
  43029. if thebits = 0 then
  43030. pTDefRegMap(@Self)^.clr := $00000400
  43031. else
  43032. pTDefRegMap(@Self)^.&set := $00000400;
  43033. end;
  43034. function TINT_IFS0.getOC2IF : TBits_1; inline;
  43035. begin
  43036. getOC2IF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43037. end;
  43038. procedure TINT_IFS0.setINT2IF; inline;
  43039. begin
  43040. pTDefRegMap(@Self)^.&set := $00000800;
  43041. end;
  43042. procedure TINT_IFS0.clearINT2IF; inline;
  43043. begin
  43044. pTDefRegMap(@Self)^.clr := $00000800;
  43045. end;
  43046. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  43047. begin
  43048. if thebits = 0 then
  43049. pTDefRegMap(@Self)^.clr := $00000800
  43050. else
  43051. pTDefRegMap(@Self)^.&set := $00000800;
  43052. end;
  43053. function TINT_IFS0.getINT2IF : TBits_1; inline;
  43054. begin
  43055. getINT2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43056. end;
  43057. procedure TINT_IFS0.setT3IF; inline;
  43058. begin
  43059. pTDefRegMap(@Self)^.&set := $00001000;
  43060. end;
  43061. procedure TINT_IFS0.clearT3IF; inline;
  43062. begin
  43063. pTDefRegMap(@Self)^.clr := $00001000;
  43064. end;
  43065. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  43066. begin
  43067. if thebits = 0 then
  43068. pTDefRegMap(@Self)^.clr := $00001000
  43069. else
  43070. pTDefRegMap(@Self)^.&set := $00001000;
  43071. end;
  43072. function TINT_IFS0.getT3IF : TBits_1; inline;
  43073. begin
  43074. getT3IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43075. end;
  43076. procedure TINT_IFS0.setIC3IF; inline;
  43077. begin
  43078. pTDefRegMap(@Self)^.&set := $00002000;
  43079. end;
  43080. procedure TINT_IFS0.clearIC3IF; inline;
  43081. begin
  43082. pTDefRegMap(@Self)^.clr := $00002000;
  43083. end;
  43084. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  43085. begin
  43086. if thebits = 0 then
  43087. pTDefRegMap(@Self)^.clr := $00002000
  43088. else
  43089. pTDefRegMap(@Self)^.&set := $00002000;
  43090. end;
  43091. function TINT_IFS0.getIC3IF : TBits_1; inline;
  43092. begin
  43093. getIC3IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43094. end;
  43095. procedure TINT_IFS0.setOC3IF; inline;
  43096. begin
  43097. pTDefRegMap(@Self)^.&set := $00004000;
  43098. end;
  43099. procedure TINT_IFS0.clearOC3IF; inline;
  43100. begin
  43101. pTDefRegMap(@Self)^.clr := $00004000;
  43102. end;
  43103. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  43104. begin
  43105. if thebits = 0 then
  43106. pTDefRegMap(@Self)^.clr := $00004000
  43107. else
  43108. pTDefRegMap(@Self)^.&set := $00004000;
  43109. end;
  43110. function TINT_IFS0.getOC3IF : TBits_1; inline;
  43111. begin
  43112. getOC3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43113. end;
  43114. procedure TINT_IFS0.setINT3IF; inline;
  43115. begin
  43116. pTDefRegMap(@Self)^.&set := $00008000;
  43117. end;
  43118. procedure TINT_IFS0.clearINT3IF; inline;
  43119. begin
  43120. pTDefRegMap(@Self)^.clr := $00008000;
  43121. end;
  43122. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  43123. begin
  43124. if thebits = 0 then
  43125. pTDefRegMap(@Self)^.clr := $00008000
  43126. else
  43127. pTDefRegMap(@Self)^.&set := $00008000;
  43128. end;
  43129. function TINT_IFS0.getINT3IF : TBits_1; inline;
  43130. begin
  43131. getINT3IF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43132. end;
  43133. procedure TINT_IFS0.setT4IF; inline;
  43134. begin
  43135. pTDefRegMap(@Self)^.&set := $00010000;
  43136. end;
  43137. procedure TINT_IFS0.clearT4IF; inline;
  43138. begin
  43139. pTDefRegMap(@Self)^.clr := $00010000;
  43140. end;
  43141. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  43142. begin
  43143. if thebits = 0 then
  43144. pTDefRegMap(@Self)^.clr := $00010000
  43145. else
  43146. pTDefRegMap(@Self)^.&set := $00010000;
  43147. end;
  43148. function TINT_IFS0.getT4IF : TBits_1; inline;
  43149. begin
  43150. getT4IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  43151. end;
  43152. procedure TINT_IFS0.setIC4IF; inline;
  43153. begin
  43154. pTDefRegMap(@Self)^.&set := $00020000;
  43155. end;
  43156. procedure TINT_IFS0.clearIC4IF; inline;
  43157. begin
  43158. pTDefRegMap(@Self)^.clr := $00020000;
  43159. end;
  43160. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  43161. begin
  43162. if thebits = 0 then
  43163. pTDefRegMap(@Self)^.clr := $00020000
  43164. else
  43165. pTDefRegMap(@Self)^.&set := $00020000;
  43166. end;
  43167. function TINT_IFS0.getIC4IF : TBits_1; inline;
  43168. begin
  43169. getIC4IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  43170. end;
  43171. procedure TINT_IFS0.setOC4IF; inline;
  43172. begin
  43173. pTDefRegMap(@Self)^.&set := $00040000;
  43174. end;
  43175. procedure TINT_IFS0.clearOC4IF; inline;
  43176. begin
  43177. pTDefRegMap(@Self)^.clr := $00040000;
  43178. end;
  43179. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  43180. begin
  43181. if thebits = 0 then
  43182. pTDefRegMap(@Self)^.clr := $00040000
  43183. else
  43184. pTDefRegMap(@Self)^.&set := $00040000;
  43185. end;
  43186. function TINT_IFS0.getOC4IF : TBits_1; inline;
  43187. begin
  43188. getOC4IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  43189. end;
  43190. procedure TINT_IFS0.setINT4IF; inline;
  43191. begin
  43192. pTDefRegMap(@Self)^.&set := $00080000;
  43193. end;
  43194. procedure TINT_IFS0.clearINT4IF; inline;
  43195. begin
  43196. pTDefRegMap(@Self)^.clr := $00080000;
  43197. end;
  43198. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  43199. begin
  43200. if thebits = 0 then
  43201. pTDefRegMap(@Self)^.clr := $00080000
  43202. else
  43203. pTDefRegMap(@Self)^.&set := $00080000;
  43204. end;
  43205. function TINT_IFS0.getINT4IF : TBits_1; inline;
  43206. begin
  43207. getINT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  43208. end;
  43209. procedure TINT_IFS0.setT5IF; inline;
  43210. begin
  43211. pTDefRegMap(@Self)^.&set := $00100000;
  43212. end;
  43213. procedure TINT_IFS0.clearT5IF; inline;
  43214. begin
  43215. pTDefRegMap(@Self)^.clr := $00100000;
  43216. end;
  43217. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  43218. begin
  43219. if thebits = 0 then
  43220. pTDefRegMap(@Self)^.clr := $00100000
  43221. else
  43222. pTDefRegMap(@Self)^.&set := $00100000;
  43223. end;
  43224. function TINT_IFS0.getT5IF : TBits_1; inline;
  43225. begin
  43226. getT5IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  43227. end;
  43228. procedure TINT_IFS0.setIC5IF; inline;
  43229. begin
  43230. pTDefRegMap(@Self)^.&set := $00200000;
  43231. end;
  43232. procedure TINT_IFS0.clearIC5IF; inline;
  43233. begin
  43234. pTDefRegMap(@Self)^.clr := $00200000;
  43235. end;
  43236. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  43237. begin
  43238. if thebits = 0 then
  43239. pTDefRegMap(@Self)^.clr := $00200000
  43240. else
  43241. pTDefRegMap(@Self)^.&set := $00200000;
  43242. end;
  43243. function TINT_IFS0.getIC5IF : TBits_1; inline;
  43244. begin
  43245. getIC5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  43246. end;
  43247. procedure TINT_IFS0.setOC5IF; inline;
  43248. begin
  43249. pTDefRegMap(@Self)^.&set := $00400000;
  43250. end;
  43251. procedure TINT_IFS0.clearOC5IF; inline;
  43252. begin
  43253. pTDefRegMap(@Self)^.clr := $00400000;
  43254. end;
  43255. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  43256. begin
  43257. if thebits = 0 then
  43258. pTDefRegMap(@Self)^.clr := $00400000
  43259. else
  43260. pTDefRegMap(@Self)^.&set := $00400000;
  43261. end;
  43262. function TINT_IFS0.getOC5IF : TBits_1; inline;
  43263. begin
  43264. getOC5IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  43265. end;
  43266. procedure TINT_IFS0.setSPI1EIF; inline;
  43267. begin
  43268. pTDefRegMap(@Self)^.&set := $00800000;
  43269. end;
  43270. procedure TINT_IFS0.clearSPI1EIF; inline;
  43271. begin
  43272. pTDefRegMap(@Self)^.clr := $00800000;
  43273. end;
  43274. procedure TINT_IFS0.setSPI1EIF(thebits : TBits_1); inline;
  43275. begin
  43276. if thebits = 0 then
  43277. pTDefRegMap(@Self)^.clr := $00800000
  43278. else
  43279. pTDefRegMap(@Self)^.&set := $00800000;
  43280. end;
  43281. function TINT_IFS0.getSPI1EIF : TBits_1; inline;
  43282. begin
  43283. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  43284. end;
  43285. procedure TINT_IFS0.setSPI1RXIF; inline;
  43286. begin
  43287. pTDefRegMap(@Self)^.&set := $01000000;
  43288. end;
  43289. procedure TINT_IFS0.clearSPI1RXIF; inline;
  43290. begin
  43291. pTDefRegMap(@Self)^.clr := $01000000;
  43292. end;
  43293. procedure TINT_IFS0.setSPI1RXIF(thebits : TBits_1); inline;
  43294. begin
  43295. if thebits = 0 then
  43296. pTDefRegMap(@Self)^.clr := $01000000
  43297. else
  43298. pTDefRegMap(@Self)^.&set := $01000000;
  43299. end;
  43300. function TINT_IFS0.getSPI1RXIF : TBits_1; inline;
  43301. begin
  43302. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  43303. end;
  43304. procedure TINT_IFS0.setSPI1TXIF; inline;
  43305. begin
  43306. pTDefRegMap(@Self)^.&set := $02000000;
  43307. end;
  43308. procedure TINT_IFS0.clearSPI1TXIF; inline;
  43309. begin
  43310. pTDefRegMap(@Self)^.clr := $02000000;
  43311. end;
  43312. procedure TINT_IFS0.setSPI1TXIF(thebits : TBits_1); inline;
  43313. begin
  43314. if thebits = 0 then
  43315. pTDefRegMap(@Self)^.clr := $02000000
  43316. else
  43317. pTDefRegMap(@Self)^.&set := $02000000;
  43318. end;
  43319. function TINT_IFS0.getSPI1TXIF : TBits_1; inline;
  43320. begin
  43321. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  43322. end;
  43323. procedure TINT_IFS0.setU1EIF; inline;
  43324. begin
  43325. pTDefRegMap(@Self)^.&set := $04000000;
  43326. end;
  43327. procedure TINT_IFS0.clearU1EIF; inline;
  43328. begin
  43329. pTDefRegMap(@Self)^.clr := $04000000;
  43330. end;
  43331. procedure TINT_IFS0.setU1EIF(thebits : TBits_1); inline;
  43332. begin
  43333. if thebits = 0 then
  43334. pTDefRegMap(@Self)^.clr := $04000000
  43335. else
  43336. pTDefRegMap(@Self)^.&set := $04000000;
  43337. end;
  43338. function TINT_IFS0.getU1EIF : TBits_1; inline;
  43339. begin
  43340. getU1EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43341. end;
  43342. procedure TINT_IFS0.setU1RXIF; inline;
  43343. begin
  43344. pTDefRegMap(@Self)^.&set := $08000000;
  43345. end;
  43346. procedure TINT_IFS0.clearU1RXIF; inline;
  43347. begin
  43348. pTDefRegMap(@Self)^.clr := $08000000;
  43349. end;
  43350. procedure TINT_IFS0.setU1RXIF(thebits : TBits_1); inline;
  43351. begin
  43352. if thebits = 0 then
  43353. pTDefRegMap(@Self)^.clr := $08000000
  43354. else
  43355. pTDefRegMap(@Self)^.&set := $08000000;
  43356. end;
  43357. function TINT_IFS0.getU1RXIF : TBits_1; inline;
  43358. begin
  43359. getU1RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43360. end;
  43361. procedure TINT_IFS0.setU1TXIF; inline;
  43362. begin
  43363. pTDefRegMap(@Self)^.&set := $10000000;
  43364. end;
  43365. procedure TINT_IFS0.clearU1TXIF; inline;
  43366. begin
  43367. pTDefRegMap(@Self)^.clr := $10000000;
  43368. end;
  43369. procedure TINT_IFS0.setU1TXIF(thebits : TBits_1); inline;
  43370. begin
  43371. if thebits = 0 then
  43372. pTDefRegMap(@Self)^.clr := $10000000
  43373. else
  43374. pTDefRegMap(@Self)^.&set := $10000000;
  43375. end;
  43376. function TINT_IFS0.getU1TXIF : TBits_1; inline;
  43377. begin
  43378. getU1TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43379. end;
  43380. procedure TINT_IFS0.setI2C1BIF; inline;
  43381. begin
  43382. pTDefRegMap(@Self)^.&set := $20000000;
  43383. end;
  43384. procedure TINT_IFS0.clearI2C1BIF; inline;
  43385. begin
  43386. pTDefRegMap(@Self)^.clr := $20000000;
  43387. end;
  43388. procedure TINT_IFS0.setI2C1BIF(thebits : TBits_1); inline;
  43389. begin
  43390. if thebits = 0 then
  43391. pTDefRegMap(@Self)^.clr := $20000000
  43392. else
  43393. pTDefRegMap(@Self)^.&set := $20000000;
  43394. end;
  43395. function TINT_IFS0.getI2C1BIF : TBits_1; inline;
  43396. begin
  43397. getI2C1BIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  43398. end;
  43399. procedure TINT_IFS0.setI2C1SIF; inline;
  43400. begin
  43401. pTDefRegMap(@Self)^.&set := $40000000;
  43402. end;
  43403. procedure TINT_IFS0.clearI2C1SIF; inline;
  43404. begin
  43405. pTDefRegMap(@Self)^.clr := $40000000;
  43406. end;
  43407. procedure TINT_IFS0.setI2C1SIF(thebits : TBits_1); inline;
  43408. begin
  43409. if thebits = 0 then
  43410. pTDefRegMap(@Self)^.clr := $40000000
  43411. else
  43412. pTDefRegMap(@Self)^.&set := $40000000;
  43413. end;
  43414. function TINT_IFS0.getI2C1SIF : TBits_1; inline;
  43415. begin
  43416. getI2C1SIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  43417. end;
  43418. procedure TINT_IFS0.setI2C1MIF; inline;
  43419. begin
  43420. pTDefRegMap(@Self)^.&set := $80000000;
  43421. end;
  43422. procedure TINT_IFS0.clearI2C1MIF; inline;
  43423. begin
  43424. pTDefRegMap(@Self)^.clr := $80000000;
  43425. end;
  43426. procedure TINT_IFS0.setI2C1MIF(thebits : TBits_1); inline;
  43427. begin
  43428. if thebits = 0 then
  43429. pTDefRegMap(@Self)^.clr := $80000000
  43430. else
  43431. pTDefRegMap(@Self)^.&set := $80000000;
  43432. end;
  43433. function TINT_IFS0.getI2C1MIF : TBits_1; inline;
  43434. begin
  43435. getI2C1MIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  43436. end;
  43437. procedure TINT_IFS0.setU1AEIF; inline;
  43438. begin
  43439. pTDefRegMap(@Self)^.&set := $04000000;
  43440. end;
  43441. procedure TINT_IFS0.clearU1AEIF; inline;
  43442. begin
  43443. pTDefRegMap(@Self)^.clr := $04000000;
  43444. end;
  43445. procedure TINT_IFS0.setU1AEIF(thebits : TBits_1); inline;
  43446. begin
  43447. if thebits = 0 then
  43448. pTDefRegMap(@Self)^.clr := $04000000
  43449. else
  43450. pTDefRegMap(@Self)^.&set := $04000000;
  43451. end;
  43452. function TINT_IFS0.getU1AEIF : TBits_1; inline;
  43453. begin
  43454. getU1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43455. end;
  43456. procedure TINT_IFS0.setU1ARXIF; inline;
  43457. begin
  43458. pTDefRegMap(@Self)^.&set := $08000000;
  43459. end;
  43460. procedure TINT_IFS0.clearU1ARXIF; inline;
  43461. begin
  43462. pTDefRegMap(@Self)^.clr := $08000000;
  43463. end;
  43464. procedure TINT_IFS0.setU1ARXIF(thebits : TBits_1); inline;
  43465. begin
  43466. if thebits = 0 then
  43467. pTDefRegMap(@Self)^.clr := $08000000
  43468. else
  43469. pTDefRegMap(@Self)^.&set := $08000000;
  43470. end;
  43471. function TINT_IFS0.getU1ARXIF : TBits_1; inline;
  43472. begin
  43473. getU1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43474. end;
  43475. procedure TINT_IFS0.setU1ATXIF; inline;
  43476. begin
  43477. pTDefRegMap(@Self)^.&set := $10000000;
  43478. end;
  43479. procedure TINT_IFS0.clearU1ATXIF; inline;
  43480. begin
  43481. pTDefRegMap(@Self)^.clr := $10000000;
  43482. end;
  43483. procedure TINT_IFS0.setU1ATXIF(thebits : TBits_1); inline;
  43484. begin
  43485. if thebits = 0 then
  43486. pTDefRegMap(@Self)^.clr := $10000000
  43487. else
  43488. pTDefRegMap(@Self)^.&set := $10000000;
  43489. end;
  43490. function TINT_IFS0.getU1ATXIF : TBits_1; inline;
  43491. begin
  43492. getU1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43493. end;
  43494. procedure TINT_IFS0.setSPI3EIF; inline;
  43495. begin
  43496. pTDefRegMap(@Self)^.&set := $04000000;
  43497. end;
  43498. procedure TINT_IFS0.clearSPI3EIF; inline;
  43499. begin
  43500. pTDefRegMap(@Self)^.clr := $04000000;
  43501. end;
  43502. procedure TINT_IFS0.setSPI3EIF(thebits : TBits_1); inline;
  43503. begin
  43504. if thebits = 0 then
  43505. pTDefRegMap(@Self)^.clr := $04000000
  43506. else
  43507. pTDefRegMap(@Self)^.&set := $04000000;
  43508. end;
  43509. function TINT_IFS0.getSPI3EIF : TBits_1; inline;
  43510. begin
  43511. getSPI3EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43512. end;
  43513. procedure TINT_IFS0.setSPI3RXIF; inline;
  43514. begin
  43515. pTDefRegMap(@Self)^.&set := $08000000;
  43516. end;
  43517. procedure TINT_IFS0.clearSPI3RXIF; inline;
  43518. begin
  43519. pTDefRegMap(@Self)^.clr := $08000000;
  43520. end;
  43521. procedure TINT_IFS0.setSPI3RXIF(thebits : TBits_1); inline;
  43522. begin
  43523. if thebits = 0 then
  43524. pTDefRegMap(@Self)^.clr := $08000000
  43525. else
  43526. pTDefRegMap(@Self)^.&set := $08000000;
  43527. end;
  43528. function TINT_IFS0.getSPI3RXIF : TBits_1; inline;
  43529. begin
  43530. getSPI3RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43531. end;
  43532. procedure TINT_IFS0.setSPI3TXIF; inline;
  43533. begin
  43534. pTDefRegMap(@Self)^.&set := $10000000;
  43535. end;
  43536. procedure TINT_IFS0.clearSPI3TXIF; inline;
  43537. begin
  43538. pTDefRegMap(@Self)^.clr := $10000000;
  43539. end;
  43540. procedure TINT_IFS0.setSPI3TXIF(thebits : TBits_1); inline;
  43541. begin
  43542. if thebits = 0 then
  43543. pTDefRegMap(@Self)^.clr := $10000000
  43544. else
  43545. pTDefRegMap(@Self)^.&set := $10000000;
  43546. end;
  43547. function TINT_IFS0.getSPI3TXIF : TBits_1; inline;
  43548. begin
  43549. getSPI3TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43550. end;
  43551. procedure TINT_IFS0.setSPI1AEIF; inline;
  43552. begin
  43553. pTDefRegMap(@Self)^.&set := $04000000;
  43554. end;
  43555. procedure TINT_IFS0.clearSPI1AEIF; inline;
  43556. begin
  43557. pTDefRegMap(@Self)^.clr := $04000000;
  43558. end;
  43559. procedure TINT_IFS0.setSPI1AEIF(thebits : TBits_1); inline;
  43560. begin
  43561. if thebits = 0 then
  43562. pTDefRegMap(@Self)^.clr := $04000000
  43563. else
  43564. pTDefRegMap(@Self)^.&set := $04000000;
  43565. end;
  43566. function TINT_IFS0.getSPI1AEIF : TBits_1; inline;
  43567. begin
  43568. getSPI1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43569. end;
  43570. procedure TINT_IFS0.setSPI1ARXIF; inline;
  43571. begin
  43572. pTDefRegMap(@Self)^.&set := $08000000;
  43573. end;
  43574. procedure TINT_IFS0.clearSPI1ARXIF; inline;
  43575. begin
  43576. pTDefRegMap(@Self)^.clr := $08000000;
  43577. end;
  43578. procedure TINT_IFS0.setSPI1ARXIF(thebits : TBits_1); inline;
  43579. begin
  43580. if thebits = 0 then
  43581. pTDefRegMap(@Self)^.clr := $08000000
  43582. else
  43583. pTDefRegMap(@Self)^.&set := $08000000;
  43584. end;
  43585. function TINT_IFS0.getSPI1ARXIF : TBits_1; inline;
  43586. begin
  43587. getSPI1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43588. end;
  43589. procedure TINT_IFS0.setSPI1ATXIF; inline;
  43590. begin
  43591. pTDefRegMap(@Self)^.&set := $10000000;
  43592. end;
  43593. procedure TINT_IFS0.clearSPI1ATXIF; inline;
  43594. begin
  43595. pTDefRegMap(@Self)^.clr := $10000000;
  43596. end;
  43597. procedure TINT_IFS0.setSPI1ATXIF(thebits : TBits_1); inline;
  43598. begin
  43599. if thebits = 0 then
  43600. pTDefRegMap(@Self)^.clr := $10000000
  43601. else
  43602. pTDefRegMap(@Self)^.&set := $10000000;
  43603. end;
  43604. function TINT_IFS0.getSPI1ATXIF : TBits_1; inline;
  43605. begin
  43606. getSPI1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43607. end;
  43608. procedure TINT_IFS0.setI2C3BIF; inline;
  43609. begin
  43610. pTDefRegMap(@Self)^.&set := $04000000;
  43611. end;
  43612. procedure TINT_IFS0.clearI2C3BIF; inline;
  43613. begin
  43614. pTDefRegMap(@Self)^.clr := $04000000;
  43615. end;
  43616. procedure TINT_IFS0.setI2C3BIF(thebits : TBits_1); inline;
  43617. begin
  43618. if thebits = 0 then
  43619. pTDefRegMap(@Self)^.clr := $04000000
  43620. else
  43621. pTDefRegMap(@Self)^.&set := $04000000;
  43622. end;
  43623. function TINT_IFS0.getI2C3BIF : TBits_1; inline;
  43624. begin
  43625. getI2C3BIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43626. end;
  43627. procedure TINT_IFS0.setI2C3SIF; inline;
  43628. begin
  43629. pTDefRegMap(@Self)^.&set := $08000000;
  43630. end;
  43631. procedure TINT_IFS0.clearI2C3SIF; inline;
  43632. begin
  43633. pTDefRegMap(@Self)^.clr := $08000000;
  43634. end;
  43635. procedure TINT_IFS0.setI2C3SIF(thebits : TBits_1); inline;
  43636. begin
  43637. if thebits = 0 then
  43638. pTDefRegMap(@Self)^.clr := $08000000
  43639. else
  43640. pTDefRegMap(@Self)^.&set := $08000000;
  43641. end;
  43642. function TINT_IFS0.getI2C3SIF : TBits_1; inline;
  43643. begin
  43644. getI2C3SIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43645. end;
  43646. procedure TINT_IFS0.setI2C3MIF; inline;
  43647. begin
  43648. pTDefRegMap(@Self)^.&set := $10000000;
  43649. end;
  43650. procedure TINT_IFS0.clearI2C3MIF; inline;
  43651. begin
  43652. pTDefRegMap(@Self)^.clr := $10000000;
  43653. end;
  43654. procedure TINT_IFS0.setI2C3MIF(thebits : TBits_1); inline;
  43655. begin
  43656. if thebits = 0 then
  43657. pTDefRegMap(@Self)^.clr := $10000000
  43658. else
  43659. pTDefRegMap(@Self)^.&set := $10000000;
  43660. end;
  43661. function TINT_IFS0.getI2C3MIF : TBits_1; inline;
  43662. begin
  43663. getI2C3MIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43664. end;
  43665. procedure TINT_IFS0.setI2C1ABIF; inline;
  43666. begin
  43667. pTDefRegMap(@Self)^.&set := $04000000;
  43668. end;
  43669. procedure TINT_IFS0.clearI2C1ABIF; inline;
  43670. begin
  43671. pTDefRegMap(@Self)^.clr := $04000000;
  43672. end;
  43673. procedure TINT_IFS0.setI2C1ABIF(thebits : TBits_1); inline;
  43674. begin
  43675. if thebits = 0 then
  43676. pTDefRegMap(@Self)^.clr := $04000000
  43677. else
  43678. pTDefRegMap(@Self)^.&set := $04000000;
  43679. end;
  43680. function TINT_IFS0.getI2C1ABIF : TBits_1; inline;
  43681. begin
  43682. getI2C1ABIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  43683. end;
  43684. procedure TINT_IFS0.setI2C1ASIF; inline;
  43685. begin
  43686. pTDefRegMap(@Self)^.&set := $08000000;
  43687. end;
  43688. procedure TINT_IFS0.clearI2C1ASIF; inline;
  43689. begin
  43690. pTDefRegMap(@Self)^.clr := $08000000;
  43691. end;
  43692. procedure TINT_IFS0.setI2C1ASIF(thebits : TBits_1); inline;
  43693. begin
  43694. if thebits = 0 then
  43695. pTDefRegMap(@Self)^.clr := $08000000
  43696. else
  43697. pTDefRegMap(@Self)^.&set := $08000000;
  43698. end;
  43699. function TINT_IFS0.getI2C1ASIF : TBits_1; inline;
  43700. begin
  43701. getI2C1ASIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  43702. end;
  43703. procedure TINT_IFS0.setI2C1AMIF; inline;
  43704. begin
  43705. pTDefRegMap(@Self)^.&set := $10000000;
  43706. end;
  43707. procedure TINT_IFS0.clearI2C1AMIF; inline;
  43708. begin
  43709. pTDefRegMap(@Self)^.clr := $10000000;
  43710. end;
  43711. procedure TINT_IFS0.setI2C1AMIF(thebits : TBits_1); inline;
  43712. begin
  43713. if thebits = 0 then
  43714. pTDefRegMap(@Self)^.clr := $10000000
  43715. else
  43716. pTDefRegMap(@Self)^.&set := $10000000;
  43717. end;
  43718. function TINT_IFS0.getI2C1AMIF : TBits_1; inline;
  43719. begin
  43720. getI2C1AMIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43721. end;
  43722. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  43723. begin
  43724. pTDefRegMap(@Self)^.val := thebits;
  43725. end;
  43726. function TINT_IFS0.getw : TBits_32; inline;
  43727. begin
  43728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43729. end;
  43730. procedure TINT_IFS1.setCNIF; inline;
  43731. begin
  43732. pTDefRegMap(@Self)^.&set := $00000001;
  43733. end;
  43734. procedure TINT_IFS1.clearCNIF; inline;
  43735. begin
  43736. pTDefRegMap(@Self)^.clr := $00000001;
  43737. end;
  43738. procedure TINT_IFS1.setCNIF(thebits : TBits_1); inline;
  43739. begin
  43740. if thebits = 0 then
  43741. pTDefRegMap(@Self)^.clr := $00000001
  43742. else
  43743. pTDefRegMap(@Self)^.&set := $00000001;
  43744. end;
  43745. function TINT_IFS1.getCNIF : TBits_1; inline;
  43746. begin
  43747. getCNIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43748. end;
  43749. procedure TINT_IFS1.setAD1IF; inline;
  43750. begin
  43751. pTDefRegMap(@Self)^.&set := $00000002;
  43752. end;
  43753. procedure TINT_IFS1.clearAD1IF; inline;
  43754. begin
  43755. pTDefRegMap(@Self)^.clr := $00000002;
  43756. end;
  43757. procedure TINT_IFS1.setAD1IF(thebits : TBits_1); inline;
  43758. begin
  43759. if thebits = 0 then
  43760. pTDefRegMap(@Self)^.clr := $00000002
  43761. else
  43762. pTDefRegMap(@Self)^.&set := $00000002;
  43763. end;
  43764. function TINT_IFS1.getAD1IF : TBits_1; inline;
  43765. begin
  43766. getAD1IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43767. end;
  43768. procedure TINT_IFS1.setPMPIF; inline;
  43769. begin
  43770. pTDefRegMap(@Self)^.&set := $00000004;
  43771. end;
  43772. procedure TINT_IFS1.clearPMPIF; inline;
  43773. begin
  43774. pTDefRegMap(@Self)^.clr := $00000004;
  43775. end;
  43776. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  43777. begin
  43778. if thebits = 0 then
  43779. pTDefRegMap(@Self)^.clr := $00000004
  43780. else
  43781. pTDefRegMap(@Self)^.&set := $00000004;
  43782. end;
  43783. function TINT_IFS1.getPMPIF : TBits_1; inline;
  43784. begin
  43785. getPMPIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43786. end;
  43787. procedure TINT_IFS1.setCMP1IF; inline;
  43788. begin
  43789. pTDefRegMap(@Self)^.&set := $00000008;
  43790. end;
  43791. procedure TINT_IFS1.clearCMP1IF; inline;
  43792. begin
  43793. pTDefRegMap(@Self)^.clr := $00000008;
  43794. end;
  43795. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  43796. begin
  43797. if thebits = 0 then
  43798. pTDefRegMap(@Self)^.clr := $00000008
  43799. else
  43800. pTDefRegMap(@Self)^.&set := $00000008;
  43801. end;
  43802. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  43803. begin
  43804. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43805. end;
  43806. procedure TINT_IFS1.setCMP2IF; inline;
  43807. begin
  43808. pTDefRegMap(@Self)^.&set := $00000010;
  43809. end;
  43810. procedure TINT_IFS1.clearCMP2IF; inline;
  43811. begin
  43812. pTDefRegMap(@Self)^.clr := $00000010;
  43813. end;
  43814. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  43815. begin
  43816. if thebits = 0 then
  43817. pTDefRegMap(@Self)^.clr := $00000010
  43818. else
  43819. pTDefRegMap(@Self)^.&set := $00000010;
  43820. end;
  43821. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  43822. begin
  43823. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43824. end;
  43825. procedure TINT_IFS1.setU3EIF; inline;
  43826. begin
  43827. pTDefRegMap(@Self)^.&set := $00000020;
  43828. end;
  43829. procedure TINT_IFS1.clearU3EIF; inline;
  43830. begin
  43831. pTDefRegMap(@Self)^.clr := $00000020;
  43832. end;
  43833. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  43834. begin
  43835. if thebits = 0 then
  43836. pTDefRegMap(@Self)^.clr := $00000020
  43837. else
  43838. pTDefRegMap(@Self)^.&set := $00000020;
  43839. end;
  43840. function TINT_IFS1.getU3EIF : TBits_1; inline;
  43841. begin
  43842. getU3EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43843. end;
  43844. procedure TINT_IFS1.setU3RXIF; inline;
  43845. begin
  43846. pTDefRegMap(@Self)^.&set := $00000040;
  43847. end;
  43848. procedure TINT_IFS1.clearU3RXIF; inline;
  43849. begin
  43850. pTDefRegMap(@Self)^.clr := $00000040;
  43851. end;
  43852. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  43853. begin
  43854. if thebits = 0 then
  43855. pTDefRegMap(@Self)^.clr := $00000040
  43856. else
  43857. pTDefRegMap(@Self)^.&set := $00000040;
  43858. end;
  43859. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  43860. begin
  43861. getU3RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43862. end;
  43863. procedure TINT_IFS1.setU3TXIF; inline;
  43864. begin
  43865. pTDefRegMap(@Self)^.&set := $00000080;
  43866. end;
  43867. procedure TINT_IFS1.clearU3TXIF; inline;
  43868. begin
  43869. pTDefRegMap(@Self)^.clr := $00000080;
  43870. end;
  43871. procedure TINT_IFS1.setU3TXIF(thebits : TBits_1); inline;
  43872. begin
  43873. if thebits = 0 then
  43874. pTDefRegMap(@Self)^.clr := $00000080
  43875. else
  43876. pTDefRegMap(@Self)^.&set := $00000080;
  43877. end;
  43878. function TINT_IFS1.getU3TXIF : TBits_1; inline;
  43879. begin
  43880. getU3TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43881. end;
  43882. procedure TINT_IFS1.setU2EIF; inline;
  43883. begin
  43884. pTDefRegMap(@Self)^.&set := $00000100;
  43885. end;
  43886. procedure TINT_IFS1.clearU2EIF; inline;
  43887. begin
  43888. pTDefRegMap(@Self)^.clr := $00000100;
  43889. end;
  43890. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  43891. begin
  43892. if thebits = 0 then
  43893. pTDefRegMap(@Self)^.clr := $00000100
  43894. else
  43895. pTDefRegMap(@Self)^.&set := $00000100;
  43896. end;
  43897. function TINT_IFS1.getU2EIF : TBits_1; inline;
  43898. begin
  43899. getU2EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43900. end;
  43901. procedure TINT_IFS1.setU2RXIF; inline;
  43902. begin
  43903. pTDefRegMap(@Self)^.&set := $00000200;
  43904. end;
  43905. procedure TINT_IFS1.clearU2RXIF; inline;
  43906. begin
  43907. pTDefRegMap(@Self)^.clr := $00000200;
  43908. end;
  43909. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  43910. begin
  43911. if thebits = 0 then
  43912. pTDefRegMap(@Self)^.clr := $00000200
  43913. else
  43914. pTDefRegMap(@Self)^.&set := $00000200;
  43915. end;
  43916. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  43917. begin
  43918. getU2RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43919. end;
  43920. procedure TINT_IFS1.setU2TXIF; inline;
  43921. begin
  43922. pTDefRegMap(@Self)^.&set := $00000400;
  43923. end;
  43924. procedure TINT_IFS1.clearU2TXIF; inline;
  43925. begin
  43926. pTDefRegMap(@Self)^.clr := $00000400;
  43927. end;
  43928. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  43929. begin
  43930. if thebits = 0 then
  43931. pTDefRegMap(@Self)^.clr := $00000400
  43932. else
  43933. pTDefRegMap(@Self)^.&set := $00000400;
  43934. end;
  43935. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  43936. begin
  43937. getU2TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43938. end;
  43939. procedure TINT_IFS1.setI2C2BIF; inline;
  43940. begin
  43941. pTDefRegMap(@Self)^.&set := $00000800;
  43942. end;
  43943. procedure TINT_IFS1.clearI2C2BIF; inline;
  43944. begin
  43945. pTDefRegMap(@Self)^.clr := $00000800;
  43946. end;
  43947. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  43948. begin
  43949. if thebits = 0 then
  43950. pTDefRegMap(@Self)^.clr := $00000800
  43951. else
  43952. pTDefRegMap(@Self)^.&set := $00000800;
  43953. end;
  43954. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  43955. begin
  43956. getI2C2BIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43957. end;
  43958. procedure TINT_IFS1.setI2C2SIF; inline;
  43959. begin
  43960. pTDefRegMap(@Self)^.&set := $00001000;
  43961. end;
  43962. procedure TINT_IFS1.clearI2C2SIF; inline;
  43963. begin
  43964. pTDefRegMap(@Self)^.clr := $00001000;
  43965. end;
  43966. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  43967. begin
  43968. if thebits = 0 then
  43969. pTDefRegMap(@Self)^.clr := $00001000
  43970. else
  43971. pTDefRegMap(@Self)^.&set := $00001000;
  43972. end;
  43973. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  43974. begin
  43975. getI2C2SIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43976. end;
  43977. procedure TINT_IFS1.setI2C2MIF; inline;
  43978. begin
  43979. pTDefRegMap(@Self)^.&set := $00002000;
  43980. end;
  43981. procedure TINT_IFS1.clearI2C2MIF; inline;
  43982. begin
  43983. pTDefRegMap(@Self)^.clr := $00002000;
  43984. end;
  43985. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  43986. begin
  43987. if thebits = 0 then
  43988. pTDefRegMap(@Self)^.clr := $00002000
  43989. else
  43990. pTDefRegMap(@Self)^.&set := $00002000;
  43991. end;
  43992. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  43993. begin
  43994. getI2C2MIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43995. end;
  43996. procedure TINT_IFS1.setFSCMIF; inline;
  43997. begin
  43998. pTDefRegMap(@Self)^.&set := $00004000;
  43999. end;
  44000. procedure TINT_IFS1.clearFSCMIF; inline;
  44001. begin
  44002. pTDefRegMap(@Self)^.clr := $00004000;
  44003. end;
  44004. procedure TINT_IFS1.setFSCMIF(thebits : TBits_1); inline;
  44005. begin
  44006. if thebits = 0 then
  44007. pTDefRegMap(@Self)^.clr := $00004000
  44008. else
  44009. pTDefRegMap(@Self)^.&set := $00004000;
  44010. end;
  44011. function TINT_IFS1.getFSCMIF : TBits_1; inline;
  44012. begin
  44013. getFSCMIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44014. end;
  44015. procedure TINT_IFS1.setRTCCIF; inline;
  44016. begin
  44017. pTDefRegMap(@Self)^.&set := $00008000;
  44018. end;
  44019. procedure TINT_IFS1.clearRTCCIF; inline;
  44020. begin
  44021. pTDefRegMap(@Self)^.clr := $00008000;
  44022. end;
  44023. procedure TINT_IFS1.setRTCCIF(thebits : TBits_1); inline;
  44024. begin
  44025. if thebits = 0 then
  44026. pTDefRegMap(@Self)^.clr := $00008000
  44027. else
  44028. pTDefRegMap(@Self)^.&set := $00008000;
  44029. end;
  44030. function TINT_IFS1.getRTCCIF : TBits_1; inline;
  44031. begin
  44032. getRTCCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44033. end;
  44034. procedure TINT_IFS1.setDMA0IF; inline;
  44035. begin
  44036. pTDefRegMap(@Self)^.&set := $00010000;
  44037. end;
  44038. procedure TINT_IFS1.clearDMA0IF; inline;
  44039. begin
  44040. pTDefRegMap(@Self)^.clr := $00010000;
  44041. end;
  44042. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  44043. begin
  44044. if thebits = 0 then
  44045. pTDefRegMap(@Self)^.clr := $00010000
  44046. else
  44047. pTDefRegMap(@Self)^.&set := $00010000;
  44048. end;
  44049. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  44050. begin
  44051. getDMA0IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  44052. end;
  44053. procedure TINT_IFS1.setDMA1IF; inline;
  44054. begin
  44055. pTDefRegMap(@Self)^.&set := $00020000;
  44056. end;
  44057. procedure TINT_IFS1.clearDMA1IF; inline;
  44058. begin
  44059. pTDefRegMap(@Self)^.clr := $00020000;
  44060. end;
  44061. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  44062. begin
  44063. if thebits = 0 then
  44064. pTDefRegMap(@Self)^.clr := $00020000
  44065. else
  44066. pTDefRegMap(@Self)^.&set := $00020000;
  44067. end;
  44068. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  44069. begin
  44070. getDMA1IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  44071. end;
  44072. procedure TINT_IFS1.setDMA2IF; inline;
  44073. begin
  44074. pTDefRegMap(@Self)^.&set := $00040000;
  44075. end;
  44076. procedure TINT_IFS1.clearDMA2IF; inline;
  44077. begin
  44078. pTDefRegMap(@Self)^.clr := $00040000;
  44079. end;
  44080. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  44081. begin
  44082. if thebits = 0 then
  44083. pTDefRegMap(@Self)^.clr := $00040000
  44084. else
  44085. pTDefRegMap(@Self)^.&set := $00040000;
  44086. end;
  44087. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  44088. begin
  44089. getDMA2IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  44090. end;
  44091. procedure TINT_IFS1.setDMA3IF; inline;
  44092. begin
  44093. pTDefRegMap(@Self)^.&set := $00080000;
  44094. end;
  44095. procedure TINT_IFS1.clearDMA3IF; inline;
  44096. begin
  44097. pTDefRegMap(@Self)^.clr := $00080000;
  44098. end;
  44099. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  44100. begin
  44101. if thebits = 0 then
  44102. pTDefRegMap(@Self)^.clr := $00080000
  44103. else
  44104. pTDefRegMap(@Self)^.&set := $00080000;
  44105. end;
  44106. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  44107. begin
  44108. getDMA3IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  44109. end;
  44110. procedure TINT_IFS1.setDMA4IF; inline;
  44111. begin
  44112. pTDefRegMap(@Self)^.&set := $00100000;
  44113. end;
  44114. procedure TINT_IFS1.clearDMA4IF; inline;
  44115. begin
  44116. pTDefRegMap(@Self)^.clr := $00100000;
  44117. end;
  44118. procedure TINT_IFS1.setDMA4IF(thebits : TBits_1); inline;
  44119. begin
  44120. if thebits = 0 then
  44121. pTDefRegMap(@Self)^.clr := $00100000
  44122. else
  44123. pTDefRegMap(@Self)^.&set := $00100000;
  44124. end;
  44125. function TINT_IFS1.getDMA4IF : TBits_1; inline;
  44126. begin
  44127. getDMA4IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  44128. end;
  44129. procedure TINT_IFS1.setDMA5IF; inline;
  44130. begin
  44131. pTDefRegMap(@Self)^.&set := $00200000;
  44132. end;
  44133. procedure TINT_IFS1.clearDMA5IF; inline;
  44134. begin
  44135. pTDefRegMap(@Self)^.clr := $00200000;
  44136. end;
  44137. procedure TINT_IFS1.setDMA5IF(thebits : TBits_1); inline;
  44138. begin
  44139. if thebits = 0 then
  44140. pTDefRegMap(@Self)^.clr := $00200000
  44141. else
  44142. pTDefRegMap(@Self)^.&set := $00200000;
  44143. end;
  44144. function TINT_IFS1.getDMA5IF : TBits_1; inline;
  44145. begin
  44146. getDMA5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  44147. end;
  44148. procedure TINT_IFS1.setDMA6IF; inline;
  44149. begin
  44150. pTDefRegMap(@Self)^.&set := $00400000;
  44151. end;
  44152. procedure TINT_IFS1.clearDMA6IF; inline;
  44153. begin
  44154. pTDefRegMap(@Self)^.clr := $00400000;
  44155. end;
  44156. procedure TINT_IFS1.setDMA6IF(thebits : TBits_1); inline;
  44157. begin
  44158. if thebits = 0 then
  44159. pTDefRegMap(@Self)^.clr := $00400000
  44160. else
  44161. pTDefRegMap(@Self)^.&set := $00400000;
  44162. end;
  44163. function TINT_IFS1.getDMA6IF : TBits_1; inline;
  44164. begin
  44165. getDMA6IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  44166. end;
  44167. procedure TINT_IFS1.setDMA7IF; inline;
  44168. begin
  44169. pTDefRegMap(@Self)^.&set := $00800000;
  44170. end;
  44171. procedure TINT_IFS1.clearDMA7IF; inline;
  44172. begin
  44173. pTDefRegMap(@Self)^.clr := $00800000;
  44174. end;
  44175. procedure TINT_IFS1.setDMA7IF(thebits : TBits_1); inline;
  44176. begin
  44177. if thebits = 0 then
  44178. pTDefRegMap(@Self)^.clr := $00800000
  44179. else
  44180. pTDefRegMap(@Self)^.&set := $00800000;
  44181. end;
  44182. function TINT_IFS1.getDMA7IF : TBits_1; inline;
  44183. begin
  44184. getDMA7IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  44185. end;
  44186. procedure TINT_IFS1.setFCEIF; inline;
  44187. begin
  44188. pTDefRegMap(@Self)^.&set := $01000000;
  44189. end;
  44190. procedure TINT_IFS1.clearFCEIF; inline;
  44191. begin
  44192. pTDefRegMap(@Self)^.clr := $01000000;
  44193. end;
  44194. procedure TINT_IFS1.setFCEIF(thebits : TBits_1); inline;
  44195. begin
  44196. if thebits = 0 then
  44197. pTDefRegMap(@Self)^.clr := $01000000
  44198. else
  44199. pTDefRegMap(@Self)^.&set := $01000000;
  44200. end;
  44201. function TINT_IFS1.getFCEIF : TBits_1; inline;
  44202. begin
  44203. getFCEIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  44204. end;
  44205. procedure TINT_IFS1.setUSBIF; inline;
  44206. begin
  44207. pTDefRegMap(@Self)^.&set := $02000000;
  44208. end;
  44209. procedure TINT_IFS1.clearUSBIF; inline;
  44210. begin
  44211. pTDefRegMap(@Self)^.clr := $02000000;
  44212. end;
  44213. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  44214. begin
  44215. if thebits = 0 then
  44216. pTDefRegMap(@Self)^.clr := $02000000
  44217. else
  44218. pTDefRegMap(@Self)^.&set := $02000000;
  44219. end;
  44220. function TINT_IFS1.getUSBIF : TBits_1; inline;
  44221. begin
  44222. getUSBIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  44223. end;
  44224. procedure TINT_IFS1.setETHIF; inline;
  44225. begin
  44226. pTDefRegMap(@Self)^.&set := $10000000;
  44227. end;
  44228. procedure TINT_IFS1.clearETHIF; inline;
  44229. begin
  44230. pTDefRegMap(@Self)^.clr := $10000000;
  44231. end;
  44232. procedure TINT_IFS1.setETHIF(thebits : TBits_1); inline;
  44233. begin
  44234. if thebits = 0 then
  44235. pTDefRegMap(@Self)^.clr := $10000000
  44236. else
  44237. pTDefRegMap(@Self)^.&set := $10000000;
  44238. end;
  44239. function TINT_IFS1.getETHIF : TBits_1; inline;
  44240. begin
  44241. getETHIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44242. end;
  44243. procedure TINT_IFS1.setIC1EIF; inline;
  44244. begin
  44245. pTDefRegMap(@Self)^.&set := $20000000;
  44246. end;
  44247. procedure TINT_IFS1.clearIC1EIF; inline;
  44248. begin
  44249. pTDefRegMap(@Self)^.clr := $20000000;
  44250. end;
  44251. procedure TINT_IFS1.setIC1EIF(thebits : TBits_1); inline;
  44252. begin
  44253. if thebits = 0 then
  44254. pTDefRegMap(@Self)^.clr := $20000000
  44255. else
  44256. pTDefRegMap(@Self)^.&set := $20000000;
  44257. end;
  44258. function TINT_IFS1.getIC1EIF : TBits_1; inline;
  44259. begin
  44260. getIC1EIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  44261. end;
  44262. procedure TINT_IFS1.setIC2EIF; inline;
  44263. begin
  44264. pTDefRegMap(@Self)^.&set := $40000000;
  44265. end;
  44266. procedure TINT_IFS1.clearIC2EIF; inline;
  44267. begin
  44268. pTDefRegMap(@Self)^.clr := $40000000;
  44269. end;
  44270. procedure TINT_IFS1.setIC2EIF(thebits : TBits_1); inline;
  44271. begin
  44272. if thebits = 0 then
  44273. pTDefRegMap(@Self)^.clr := $40000000
  44274. else
  44275. pTDefRegMap(@Self)^.&set := $40000000;
  44276. end;
  44277. function TINT_IFS1.getIC2EIF : TBits_1; inline;
  44278. begin
  44279. getIC2EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  44280. end;
  44281. procedure TINT_IFS1.setIC3EIF; inline;
  44282. begin
  44283. pTDefRegMap(@Self)^.&set := $80000000;
  44284. end;
  44285. procedure TINT_IFS1.clearIC3EIF; inline;
  44286. begin
  44287. pTDefRegMap(@Self)^.clr := $80000000;
  44288. end;
  44289. procedure TINT_IFS1.setIC3EIF(thebits : TBits_1); inline;
  44290. begin
  44291. if thebits = 0 then
  44292. pTDefRegMap(@Self)^.clr := $80000000
  44293. else
  44294. pTDefRegMap(@Self)^.&set := $80000000;
  44295. end;
  44296. function TINT_IFS1.getIC3EIF : TBits_1; inline;
  44297. begin
  44298. getIC3EIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  44299. end;
  44300. procedure TINT_IFS1.setU2AEIF; inline;
  44301. begin
  44302. pTDefRegMap(@Self)^.&set := $00000020;
  44303. end;
  44304. procedure TINT_IFS1.clearU2AEIF; inline;
  44305. begin
  44306. pTDefRegMap(@Self)^.clr := $00000020;
  44307. end;
  44308. procedure TINT_IFS1.setU2AEIF(thebits : TBits_1); inline;
  44309. begin
  44310. if thebits = 0 then
  44311. pTDefRegMap(@Self)^.clr := $00000020
  44312. else
  44313. pTDefRegMap(@Self)^.&set := $00000020;
  44314. end;
  44315. function TINT_IFS1.getU2AEIF : TBits_1; inline;
  44316. begin
  44317. getU2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44318. end;
  44319. procedure TINT_IFS1.setU2ARXIF; inline;
  44320. begin
  44321. pTDefRegMap(@Self)^.&set := $00000040;
  44322. end;
  44323. procedure TINT_IFS1.clearU2ARXIF; inline;
  44324. begin
  44325. pTDefRegMap(@Self)^.clr := $00000040;
  44326. end;
  44327. procedure TINT_IFS1.setU2ARXIF(thebits : TBits_1); inline;
  44328. begin
  44329. if thebits = 0 then
  44330. pTDefRegMap(@Self)^.clr := $00000040
  44331. else
  44332. pTDefRegMap(@Self)^.&set := $00000040;
  44333. end;
  44334. function TINT_IFS1.getU2ARXIF : TBits_1; inline;
  44335. begin
  44336. getU2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44337. end;
  44338. procedure TINT_IFS1.setU2ATXIF; inline;
  44339. begin
  44340. pTDefRegMap(@Self)^.&set := $00000080;
  44341. end;
  44342. procedure TINT_IFS1.clearU2ATXIF; inline;
  44343. begin
  44344. pTDefRegMap(@Self)^.clr := $00000080;
  44345. end;
  44346. procedure TINT_IFS1.setU2ATXIF(thebits : TBits_1); inline;
  44347. begin
  44348. if thebits = 0 then
  44349. pTDefRegMap(@Self)^.clr := $00000080
  44350. else
  44351. pTDefRegMap(@Self)^.&set := $00000080;
  44352. end;
  44353. function TINT_IFS1.getU2ATXIF : TBits_1; inline;
  44354. begin
  44355. getU2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44356. end;
  44357. procedure TINT_IFS1.setU3AEIF; inline;
  44358. begin
  44359. pTDefRegMap(@Self)^.&set := $00000100;
  44360. end;
  44361. procedure TINT_IFS1.clearU3AEIF; inline;
  44362. begin
  44363. pTDefRegMap(@Self)^.clr := $00000100;
  44364. end;
  44365. procedure TINT_IFS1.setU3AEIF(thebits : TBits_1); inline;
  44366. begin
  44367. if thebits = 0 then
  44368. pTDefRegMap(@Self)^.clr := $00000100
  44369. else
  44370. pTDefRegMap(@Self)^.&set := $00000100;
  44371. end;
  44372. function TINT_IFS1.getU3AEIF : TBits_1; inline;
  44373. begin
  44374. getU3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44375. end;
  44376. procedure TINT_IFS1.setU3ARXIF; inline;
  44377. begin
  44378. pTDefRegMap(@Self)^.&set := $00000200;
  44379. end;
  44380. procedure TINT_IFS1.clearU3ARXIF; inline;
  44381. begin
  44382. pTDefRegMap(@Self)^.clr := $00000200;
  44383. end;
  44384. procedure TINT_IFS1.setU3ARXIF(thebits : TBits_1); inline;
  44385. begin
  44386. if thebits = 0 then
  44387. pTDefRegMap(@Self)^.clr := $00000200
  44388. else
  44389. pTDefRegMap(@Self)^.&set := $00000200;
  44390. end;
  44391. function TINT_IFS1.getU3ARXIF : TBits_1; inline;
  44392. begin
  44393. getU3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44394. end;
  44395. procedure TINT_IFS1.setU3ATXIF; inline;
  44396. begin
  44397. pTDefRegMap(@Self)^.&set := $00000400;
  44398. end;
  44399. procedure TINT_IFS1.clearU3ATXIF; inline;
  44400. begin
  44401. pTDefRegMap(@Self)^.clr := $00000400;
  44402. end;
  44403. procedure TINT_IFS1.setU3ATXIF(thebits : TBits_1); inline;
  44404. begin
  44405. if thebits = 0 then
  44406. pTDefRegMap(@Self)^.clr := $00000400
  44407. else
  44408. pTDefRegMap(@Self)^.&set := $00000400;
  44409. end;
  44410. function TINT_IFS1.getU3ATXIF : TBits_1; inline;
  44411. begin
  44412. getU3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44413. end;
  44414. procedure TINT_IFS1.setSPI2EIF; inline;
  44415. begin
  44416. pTDefRegMap(@Self)^.&set := $00000020;
  44417. end;
  44418. procedure TINT_IFS1.clearSPI2EIF; inline;
  44419. begin
  44420. pTDefRegMap(@Self)^.clr := $00000020;
  44421. end;
  44422. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  44423. begin
  44424. if thebits = 0 then
  44425. pTDefRegMap(@Self)^.clr := $00000020
  44426. else
  44427. pTDefRegMap(@Self)^.&set := $00000020;
  44428. end;
  44429. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  44430. begin
  44431. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44432. end;
  44433. procedure TINT_IFS1.setSPI2RXIF; inline;
  44434. begin
  44435. pTDefRegMap(@Self)^.&set := $00000040;
  44436. end;
  44437. procedure TINT_IFS1.clearSPI2RXIF; inline;
  44438. begin
  44439. pTDefRegMap(@Self)^.clr := $00000040;
  44440. end;
  44441. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  44442. begin
  44443. if thebits = 0 then
  44444. pTDefRegMap(@Self)^.clr := $00000040
  44445. else
  44446. pTDefRegMap(@Self)^.&set := $00000040;
  44447. end;
  44448. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  44449. begin
  44450. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44451. end;
  44452. procedure TINT_IFS1.setSPI2TXIF; inline;
  44453. begin
  44454. pTDefRegMap(@Self)^.&set := $00000080;
  44455. end;
  44456. procedure TINT_IFS1.clearSPI2TXIF; inline;
  44457. begin
  44458. pTDefRegMap(@Self)^.clr := $00000080;
  44459. end;
  44460. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  44461. begin
  44462. if thebits = 0 then
  44463. pTDefRegMap(@Self)^.clr := $00000080
  44464. else
  44465. pTDefRegMap(@Self)^.&set := $00000080;
  44466. end;
  44467. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  44468. begin
  44469. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44470. end;
  44471. procedure TINT_IFS1.setSPI4EIF; inline;
  44472. begin
  44473. pTDefRegMap(@Self)^.&set := $00000100;
  44474. end;
  44475. procedure TINT_IFS1.clearSPI4EIF; inline;
  44476. begin
  44477. pTDefRegMap(@Self)^.clr := $00000100;
  44478. end;
  44479. procedure TINT_IFS1.setSPI4EIF(thebits : TBits_1); inline;
  44480. begin
  44481. if thebits = 0 then
  44482. pTDefRegMap(@Self)^.clr := $00000100
  44483. else
  44484. pTDefRegMap(@Self)^.&set := $00000100;
  44485. end;
  44486. function TINT_IFS1.getSPI4EIF : TBits_1; inline;
  44487. begin
  44488. getSPI4EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44489. end;
  44490. procedure TINT_IFS1.setSPI4RXIF; inline;
  44491. begin
  44492. pTDefRegMap(@Self)^.&set := $00000200;
  44493. end;
  44494. procedure TINT_IFS1.clearSPI4RXIF; inline;
  44495. begin
  44496. pTDefRegMap(@Self)^.clr := $00000200;
  44497. end;
  44498. procedure TINT_IFS1.setSPI4RXIF(thebits : TBits_1); inline;
  44499. begin
  44500. if thebits = 0 then
  44501. pTDefRegMap(@Self)^.clr := $00000200
  44502. else
  44503. pTDefRegMap(@Self)^.&set := $00000200;
  44504. end;
  44505. function TINT_IFS1.getSPI4RXIF : TBits_1; inline;
  44506. begin
  44507. getSPI4RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44508. end;
  44509. procedure TINT_IFS1.setSPI4TXIF; inline;
  44510. begin
  44511. pTDefRegMap(@Self)^.&set := $00000400;
  44512. end;
  44513. procedure TINT_IFS1.clearSPI4TXIF; inline;
  44514. begin
  44515. pTDefRegMap(@Self)^.clr := $00000400;
  44516. end;
  44517. procedure TINT_IFS1.setSPI4TXIF(thebits : TBits_1); inline;
  44518. begin
  44519. if thebits = 0 then
  44520. pTDefRegMap(@Self)^.clr := $00000400
  44521. else
  44522. pTDefRegMap(@Self)^.&set := $00000400;
  44523. end;
  44524. function TINT_IFS1.getSPI4TXIF : TBits_1; inline;
  44525. begin
  44526. getSPI4TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44527. end;
  44528. procedure TINT_IFS1.setSPI2AEIF; inline;
  44529. begin
  44530. pTDefRegMap(@Self)^.&set := $00000020;
  44531. end;
  44532. procedure TINT_IFS1.clearSPI2AEIF; inline;
  44533. begin
  44534. pTDefRegMap(@Self)^.clr := $00000020;
  44535. end;
  44536. procedure TINT_IFS1.setSPI2AEIF(thebits : TBits_1); inline;
  44537. begin
  44538. if thebits = 0 then
  44539. pTDefRegMap(@Self)^.clr := $00000020
  44540. else
  44541. pTDefRegMap(@Self)^.&set := $00000020;
  44542. end;
  44543. function TINT_IFS1.getSPI2AEIF : TBits_1; inline;
  44544. begin
  44545. getSPI2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44546. end;
  44547. procedure TINT_IFS1.setSPI2ARXIF; inline;
  44548. begin
  44549. pTDefRegMap(@Self)^.&set := $00000040;
  44550. end;
  44551. procedure TINT_IFS1.clearSPI2ARXIF; inline;
  44552. begin
  44553. pTDefRegMap(@Self)^.clr := $00000040;
  44554. end;
  44555. procedure TINT_IFS1.setSPI2ARXIF(thebits : TBits_1); inline;
  44556. begin
  44557. if thebits = 0 then
  44558. pTDefRegMap(@Self)^.clr := $00000040
  44559. else
  44560. pTDefRegMap(@Self)^.&set := $00000040;
  44561. end;
  44562. function TINT_IFS1.getSPI2ARXIF : TBits_1; inline;
  44563. begin
  44564. getSPI2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44565. end;
  44566. procedure TINT_IFS1.setSPI2ATXIF; inline;
  44567. begin
  44568. pTDefRegMap(@Self)^.&set := $00000080;
  44569. end;
  44570. procedure TINT_IFS1.clearSPI2ATXIF; inline;
  44571. begin
  44572. pTDefRegMap(@Self)^.clr := $00000080;
  44573. end;
  44574. procedure TINT_IFS1.setSPI2ATXIF(thebits : TBits_1); inline;
  44575. begin
  44576. if thebits = 0 then
  44577. pTDefRegMap(@Self)^.clr := $00000080
  44578. else
  44579. pTDefRegMap(@Self)^.&set := $00000080;
  44580. end;
  44581. function TINT_IFS1.getSPI2ATXIF : TBits_1; inline;
  44582. begin
  44583. getSPI2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44584. end;
  44585. procedure TINT_IFS1.setSPI3AEIF; inline;
  44586. begin
  44587. pTDefRegMap(@Self)^.&set := $00000100;
  44588. end;
  44589. procedure TINT_IFS1.clearSPI3AEIF; inline;
  44590. begin
  44591. pTDefRegMap(@Self)^.clr := $00000100;
  44592. end;
  44593. procedure TINT_IFS1.setSPI3AEIF(thebits : TBits_1); inline;
  44594. begin
  44595. if thebits = 0 then
  44596. pTDefRegMap(@Self)^.clr := $00000100
  44597. else
  44598. pTDefRegMap(@Self)^.&set := $00000100;
  44599. end;
  44600. function TINT_IFS1.getSPI3AEIF : TBits_1; inline;
  44601. begin
  44602. getSPI3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44603. end;
  44604. procedure TINT_IFS1.setSPI3ARXIF; inline;
  44605. begin
  44606. pTDefRegMap(@Self)^.&set := $00000200;
  44607. end;
  44608. procedure TINT_IFS1.clearSPI3ARXIF; inline;
  44609. begin
  44610. pTDefRegMap(@Self)^.clr := $00000200;
  44611. end;
  44612. procedure TINT_IFS1.setSPI3ARXIF(thebits : TBits_1); inline;
  44613. begin
  44614. if thebits = 0 then
  44615. pTDefRegMap(@Self)^.clr := $00000200
  44616. else
  44617. pTDefRegMap(@Self)^.&set := $00000200;
  44618. end;
  44619. function TINT_IFS1.getSPI3ARXIF : TBits_1; inline;
  44620. begin
  44621. getSPI3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44622. end;
  44623. procedure TINT_IFS1.setSPI3ATXIF; inline;
  44624. begin
  44625. pTDefRegMap(@Self)^.&set := $00000400;
  44626. end;
  44627. procedure TINT_IFS1.clearSPI3ATXIF; inline;
  44628. begin
  44629. pTDefRegMap(@Self)^.clr := $00000400;
  44630. end;
  44631. procedure TINT_IFS1.setSPI3ATXIF(thebits : TBits_1); inline;
  44632. begin
  44633. if thebits = 0 then
  44634. pTDefRegMap(@Self)^.clr := $00000400
  44635. else
  44636. pTDefRegMap(@Self)^.&set := $00000400;
  44637. end;
  44638. function TINT_IFS1.getSPI3ATXIF : TBits_1; inline;
  44639. begin
  44640. getSPI3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44641. end;
  44642. procedure TINT_IFS1.setI2C4BIF; inline;
  44643. begin
  44644. pTDefRegMap(@Self)^.&set := $00000020;
  44645. end;
  44646. procedure TINT_IFS1.clearI2C4BIF; inline;
  44647. begin
  44648. pTDefRegMap(@Self)^.clr := $00000020;
  44649. end;
  44650. procedure TINT_IFS1.setI2C4BIF(thebits : TBits_1); inline;
  44651. begin
  44652. if thebits = 0 then
  44653. pTDefRegMap(@Self)^.clr := $00000020
  44654. else
  44655. pTDefRegMap(@Self)^.&set := $00000020;
  44656. end;
  44657. function TINT_IFS1.getI2C4BIF : TBits_1; inline;
  44658. begin
  44659. getI2C4BIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44660. end;
  44661. procedure TINT_IFS1.setI2C4SIF; inline;
  44662. begin
  44663. pTDefRegMap(@Self)^.&set := $00000040;
  44664. end;
  44665. procedure TINT_IFS1.clearI2C4SIF; inline;
  44666. begin
  44667. pTDefRegMap(@Self)^.clr := $00000040;
  44668. end;
  44669. procedure TINT_IFS1.setI2C4SIF(thebits : TBits_1); inline;
  44670. begin
  44671. if thebits = 0 then
  44672. pTDefRegMap(@Self)^.clr := $00000040
  44673. else
  44674. pTDefRegMap(@Self)^.&set := $00000040;
  44675. end;
  44676. function TINT_IFS1.getI2C4SIF : TBits_1; inline;
  44677. begin
  44678. getI2C4SIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44679. end;
  44680. procedure TINT_IFS1.setI2C4MIF; inline;
  44681. begin
  44682. pTDefRegMap(@Self)^.&set := $00000080;
  44683. end;
  44684. procedure TINT_IFS1.clearI2C4MIF; inline;
  44685. begin
  44686. pTDefRegMap(@Self)^.clr := $00000080;
  44687. end;
  44688. procedure TINT_IFS1.setI2C4MIF(thebits : TBits_1); inline;
  44689. begin
  44690. if thebits = 0 then
  44691. pTDefRegMap(@Self)^.clr := $00000080
  44692. else
  44693. pTDefRegMap(@Self)^.&set := $00000080;
  44694. end;
  44695. function TINT_IFS1.getI2C4MIF : TBits_1; inline;
  44696. begin
  44697. getI2C4MIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44698. end;
  44699. procedure TINT_IFS1.setI2C5BIF; inline;
  44700. begin
  44701. pTDefRegMap(@Self)^.&set := $00000100;
  44702. end;
  44703. procedure TINT_IFS1.clearI2C5BIF; inline;
  44704. begin
  44705. pTDefRegMap(@Self)^.clr := $00000100;
  44706. end;
  44707. procedure TINT_IFS1.setI2C5BIF(thebits : TBits_1); inline;
  44708. begin
  44709. if thebits = 0 then
  44710. pTDefRegMap(@Self)^.clr := $00000100
  44711. else
  44712. pTDefRegMap(@Self)^.&set := $00000100;
  44713. end;
  44714. function TINT_IFS1.getI2C5BIF : TBits_1; inline;
  44715. begin
  44716. getI2C5BIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44717. end;
  44718. procedure TINT_IFS1.setI2C5SIF; inline;
  44719. begin
  44720. pTDefRegMap(@Self)^.&set := $00000200;
  44721. end;
  44722. procedure TINT_IFS1.clearI2C5SIF; inline;
  44723. begin
  44724. pTDefRegMap(@Self)^.clr := $00000200;
  44725. end;
  44726. procedure TINT_IFS1.setI2C5SIF(thebits : TBits_1); inline;
  44727. begin
  44728. if thebits = 0 then
  44729. pTDefRegMap(@Self)^.clr := $00000200
  44730. else
  44731. pTDefRegMap(@Self)^.&set := $00000200;
  44732. end;
  44733. function TINT_IFS1.getI2C5SIF : TBits_1; inline;
  44734. begin
  44735. getI2C5SIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44736. end;
  44737. procedure TINT_IFS1.setI2C5MIF; inline;
  44738. begin
  44739. pTDefRegMap(@Self)^.&set := $00000400;
  44740. end;
  44741. procedure TINT_IFS1.clearI2C5MIF; inline;
  44742. begin
  44743. pTDefRegMap(@Self)^.clr := $00000400;
  44744. end;
  44745. procedure TINT_IFS1.setI2C5MIF(thebits : TBits_1); inline;
  44746. begin
  44747. if thebits = 0 then
  44748. pTDefRegMap(@Self)^.clr := $00000400
  44749. else
  44750. pTDefRegMap(@Self)^.&set := $00000400;
  44751. end;
  44752. function TINT_IFS1.getI2C5MIF : TBits_1; inline;
  44753. begin
  44754. getI2C5MIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44755. end;
  44756. procedure TINT_IFS1.setI2C2ABIF; inline;
  44757. begin
  44758. pTDefRegMap(@Self)^.&set := $00000020;
  44759. end;
  44760. procedure TINT_IFS1.clearI2C2ABIF; inline;
  44761. begin
  44762. pTDefRegMap(@Self)^.clr := $00000020;
  44763. end;
  44764. procedure TINT_IFS1.setI2C2ABIF(thebits : TBits_1); inline;
  44765. begin
  44766. if thebits = 0 then
  44767. pTDefRegMap(@Self)^.clr := $00000020
  44768. else
  44769. pTDefRegMap(@Self)^.&set := $00000020;
  44770. end;
  44771. function TINT_IFS1.getI2C2ABIF : TBits_1; inline;
  44772. begin
  44773. getI2C2ABIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44774. end;
  44775. procedure TINT_IFS1.setI2C2ASIF; inline;
  44776. begin
  44777. pTDefRegMap(@Self)^.&set := $00000040;
  44778. end;
  44779. procedure TINT_IFS1.clearI2C2ASIF; inline;
  44780. begin
  44781. pTDefRegMap(@Self)^.clr := $00000040;
  44782. end;
  44783. procedure TINT_IFS1.setI2C2ASIF(thebits : TBits_1); inline;
  44784. begin
  44785. if thebits = 0 then
  44786. pTDefRegMap(@Self)^.clr := $00000040
  44787. else
  44788. pTDefRegMap(@Self)^.&set := $00000040;
  44789. end;
  44790. function TINT_IFS1.getI2C2ASIF : TBits_1; inline;
  44791. begin
  44792. getI2C2ASIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44793. end;
  44794. procedure TINT_IFS1.setI2C2AMIF; inline;
  44795. begin
  44796. pTDefRegMap(@Self)^.&set := $00000080;
  44797. end;
  44798. procedure TINT_IFS1.clearI2C2AMIF; inline;
  44799. begin
  44800. pTDefRegMap(@Self)^.clr := $00000080;
  44801. end;
  44802. procedure TINT_IFS1.setI2C2AMIF(thebits : TBits_1); inline;
  44803. begin
  44804. if thebits = 0 then
  44805. pTDefRegMap(@Self)^.clr := $00000080
  44806. else
  44807. pTDefRegMap(@Self)^.&set := $00000080;
  44808. end;
  44809. function TINT_IFS1.getI2C2AMIF : TBits_1; inline;
  44810. begin
  44811. getI2C2AMIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44812. end;
  44813. procedure TINT_IFS1.setI2C3ABIF; inline;
  44814. begin
  44815. pTDefRegMap(@Self)^.&set := $00000100;
  44816. end;
  44817. procedure TINT_IFS1.clearI2C3ABIF; inline;
  44818. begin
  44819. pTDefRegMap(@Self)^.clr := $00000100;
  44820. end;
  44821. procedure TINT_IFS1.setI2C3ABIF(thebits : TBits_1); inline;
  44822. begin
  44823. if thebits = 0 then
  44824. pTDefRegMap(@Self)^.clr := $00000100
  44825. else
  44826. pTDefRegMap(@Self)^.&set := $00000100;
  44827. end;
  44828. function TINT_IFS1.getI2C3ABIF : TBits_1; inline;
  44829. begin
  44830. getI2C3ABIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44831. end;
  44832. procedure TINT_IFS1.setI2C3ASIF; inline;
  44833. begin
  44834. pTDefRegMap(@Self)^.&set := $00000200;
  44835. end;
  44836. procedure TINT_IFS1.clearI2C3ASIF; inline;
  44837. begin
  44838. pTDefRegMap(@Self)^.clr := $00000200;
  44839. end;
  44840. procedure TINT_IFS1.setI2C3ASIF(thebits : TBits_1); inline;
  44841. begin
  44842. if thebits = 0 then
  44843. pTDefRegMap(@Self)^.clr := $00000200
  44844. else
  44845. pTDefRegMap(@Self)^.&set := $00000200;
  44846. end;
  44847. function TINT_IFS1.getI2C3ASIF : TBits_1; inline;
  44848. begin
  44849. getI2C3ASIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44850. end;
  44851. procedure TINT_IFS1.setI2C3AMIF; inline;
  44852. begin
  44853. pTDefRegMap(@Self)^.&set := $00000400;
  44854. end;
  44855. procedure TINT_IFS1.clearI2C3AMIF; inline;
  44856. begin
  44857. pTDefRegMap(@Self)^.clr := $00000400;
  44858. end;
  44859. procedure TINT_IFS1.setI2C3AMIF(thebits : TBits_1); inline;
  44860. begin
  44861. if thebits = 0 then
  44862. pTDefRegMap(@Self)^.clr := $00000400
  44863. else
  44864. pTDefRegMap(@Self)^.&set := $00000400;
  44865. end;
  44866. function TINT_IFS1.getI2C3AMIF : TBits_1; inline;
  44867. begin
  44868. getI2C3AMIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44869. end;
  44870. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  44871. begin
  44872. pTDefRegMap(@Self)^.val := thebits;
  44873. end;
  44874. function TINT_IFS1.getw : TBits_32; inline;
  44875. begin
  44876. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44877. end;
  44878. procedure TINT_IFS2.setIC4EIF; inline;
  44879. begin
  44880. pTDefRegMap(@Self)^.&set := $00000001;
  44881. end;
  44882. procedure TINT_IFS2.clearIC4EIF; inline;
  44883. begin
  44884. pTDefRegMap(@Self)^.clr := $00000001;
  44885. end;
  44886. procedure TINT_IFS2.setIC4EIF(thebits : TBits_1); inline;
  44887. begin
  44888. if thebits = 0 then
  44889. pTDefRegMap(@Self)^.clr := $00000001
  44890. else
  44891. pTDefRegMap(@Self)^.&set := $00000001;
  44892. end;
  44893. function TINT_IFS2.getIC4EIF : TBits_1; inline;
  44894. begin
  44895. getIC4EIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44896. end;
  44897. procedure TINT_IFS2.setIC5EIF; inline;
  44898. begin
  44899. pTDefRegMap(@Self)^.&set := $00000002;
  44900. end;
  44901. procedure TINT_IFS2.clearIC5EIF; inline;
  44902. begin
  44903. pTDefRegMap(@Self)^.clr := $00000002;
  44904. end;
  44905. procedure TINT_IFS2.setIC5EIF(thebits : TBits_1); inline;
  44906. begin
  44907. if thebits = 0 then
  44908. pTDefRegMap(@Self)^.clr := $00000002
  44909. else
  44910. pTDefRegMap(@Self)^.&set := $00000002;
  44911. end;
  44912. function TINT_IFS2.getIC5EIF : TBits_1; inline;
  44913. begin
  44914. getIC5EIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44915. end;
  44916. procedure TINT_IFS2.setPMPEIF; inline;
  44917. begin
  44918. pTDefRegMap(@Self)^.&set := $00000004;
  44919. end;
  44920. procedure TINT_IFS2.clearPMPEIF; inline;
  44921. begin
  44922. pTDefRegMap(@Self)^.clr := $00000004;
  44923. end;
  44924. procedure TINT_IFS2.setPMPEIF(thebits : TBits_1); inline;
  44925. begin
  44926. if thebits = 0 then
  44927. pTDefRegMap(@Self)^.clr := $00000004
  44928. else
  44929. pTDefRegMap(@Self)^.&set := $00000004;
  44930. end;
  44931. function TINT_IFS2.getPMPEIF : TBits_1; inline;
  44932. begin
  44933. getPMPEIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44934. end;
  44935. procedure TINT_IFS2.setU1BEIF; inline;
  44936. begin
  44937. pTDefRegMap(@Self)^.&set := $00000008;
  44938. end;
  44939. procedure TINT_IFS2.clearU1BEIF; inline;
  44940. begin
  44941. pTDefRegMap(@Self)^.clr := $00000008;
  44942. end;
  44943. procedure TINT_IFS2.setU1BEIF(thebits : TBits_1); inline;
  44944. begin
  44945. if thebits = 0 then
  44946. pTDefRegMap(@Self)^.clr := $00000008
  44947. else
  44948. pTDefRegMap(@Self)^.&set := $00000008;
  44949. end;
  44950. function TINT_IFS2.getU1BEIF : TBits_1; inline;
  44951. begin
  44952. getU1BEIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44953. end;
  44954. procedure TINT_IFS2.setU1BRXIF; inline;
  44955. begin
  44956. pTDefRegMap(@Self)^.&set := $00000010;
  44957. end;
  44958. procedure TINT_IFS2.clearU1BRXIF; inline;
  44959. begin
  44960. pTDefRegMap(@Self)^.clr := $00000010;
  44961. end;
  44962. procedure TINT_IFS2.setU1BRXIF(thebits : TBits_1); inline;
  44963. begin
  44964. if thebits = 0 then
  44965. pTDefRegMap(@Self)^.clr := $00000010
  44966. else
  44967. pTDefRegMap(@Self)^.&set := $00000010;
  44968. end;
  44969. function TINT_IFS2.getU1BRXIF : TBits_1; inline;
  44970. begin
  44971. getU1BRXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44972. end;
  44973. procedure TINT_IFS2.setU1BTXIF; inline;
  44974. begin
  44975. pTDefRegMap(@Self)^.&set := $00000020;
  44976. end;
  44977. procedure TINT_IFS2.clearU1BTXIF; inline;
  44978. begin
  44979. pTDefRegMap(@Self)^.clr := $00000020;
  44980. end;
  44981. procedure TINT_IFS2.setU1BTXIF(thebits : TBits_1); inline;
  44982. begin
  44983. if thebits = 0 then
  44984. pTDefRegMap(@Self)^.clr := $00000020
  44985. else
  44986. pTDefRegMap(@Self)^.&set := $00000020;
  44987. end;
  44988. function TINT_IFS2.getU1BTXIF : TBits_1; inline;
  44989. begin
  44990. getU1BTXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44991. end;
  44992. procedure TINT_IFS2.setU2BEIF; inline;
  44993. begin
  44994. pTDefRegMap(@Self)^.&set := $00000040;
  44995. end;
  44996. procedure TINT_IFS2.clearU2BEIF; inline;
  44997. begin
  44998. pTDefRegMap(@Self)^.clr := $00000040;
  44999. end;
  45000. procedure TINT_IFS2.setU2BEIF(thebits : TBits_1); inline;
  45001. begin
  45002. if thebits = 0 then
  45003. pTDefRegMap(@Self)^.clr := $00000040
  45004. else
  45005. pTDefRegMap(@Self)^.&set := $00000040;
  45006. end;
  45007. function TINT_IFS2.getU2BEIF : TBits_1; inline;
  45008. begin
  45009. getU2BEIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45010. end;
  45011. procedure TINT_IFS2.setU2BRXIF; inline;
  45012. begin
  45013. pTDefRegMap(@Self)^.&set := $00000080;
  45014. end;
  45015. procedure TINT_IFS2.clearU2BRXIF; inline;
  45016. begin
  45017. pTDefRegMap(@Self)^.clr := $00000080;
  45018. end;
  45019. procedure TINT_IFS2.setU2BRXIF(thebits : TBits_1); inline;
  45020. begin
  45021. if thebits = 0 then
  45022. pTDefRegMap(@Self)^.clr := $00000080
  45023. else
  45024. pTDefRegMap(@Self)^.&set := $00000080;
  45025. end;
  45026. function TINT_IFS2.getU2BRXIF : TBits_1; inline;
  45027. begin
  45028. getU2BRXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45029. end;
  45030. procedure TINT_IFS2.setU2BTXIF; inline;
  45031. begin
  45032. pTDefRegMap(@Self)^.&set := $00000100;
  45033. end;
  45034. procedure TINT_IFS2.clearU2BTXIF; inline;
  45035. begin
  45036. pTDefRegMap(@Self)^.clr := $00000100;
  45037. end;
  45038. procedure TINT_IFS2.setU2BTXIF(thebits : TBits_1); inline;
  45039. begin
  45040. if thebits = 0 then
  45041. pTDefRegMap(@Self)^.clr := $00000100
  45042. else
  45043. pTDefRegMap(@Self)^.&set := $00000100;
  45044. end;
  45045. function TINT_IFS2.getU2BTXIF : TBits_1; inline;
  45046. begin
  45047. getU2BTXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45048. end;
  45049. procedure TINT_IFS2.setU3BEIF; inline;
  45050. begin
  45051. pTDefRegMap(@Self)^.&set := $00000200;
  45052. end;
  45053. procedure TINT_IFS2.clearU3BEIF; inline;
  45054. begin
  45055. pTDefRegMap(@Self)^.clr := $00000200;
  45056. end;
  45057. procedure TINT_IFS2.setU3BEIF(thebits : TBits_1); inline;
  45058. begin
  45059. if thebits = 0 then
  45060. pTDefRegMap(@Self)^.clr := $00000200
  45061. else
  45062. pTDefRegMap(@Self)^.&set := $00000200;
  45063. end;
  45064. function TINT_IFS2.getU3BEIF : TBits_1; inline;
  45065. begin
  45066. getU3BEIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45067. end;
  45068. procedure TINT_IFS2.setU3BRXIF; inline;
  45069. begin
  45070. pTDefRegMap(@Self)^.&set := $00000400;
  45071. end;
  45072. procedure TINT_IFS2.clearU3BRXIF; inline;
  45073. begin
  45074. pTDefRegMap(@Self)^.clr := $00000400;
  45075. end;
  45076. procedure TINT_IFS2.setU3BRXIF(thebits : TBits_1); inline;
  45077. begin
  45078. if thebits = 0 then
  45079. pTDefRegMap(@Self)^.clr := $00000400
  45080. else
  45081. pTDefRegMap(@Self)^.&set := $00000400;
  45082. end;
  45083. function TINT_IFS2.getU3BRXIF : TBits_1; inline;
  45084. begin
  45085. getU3BRXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45086. end;
  45087. procedure TINT_IFS2.setU3BTXIF; inline;
  45088. begin
  45089. pTDefRegMap(@Self)^.&set := $00000800;
  45090. end;
  45091. procedure TINT_IFS2.clearU3BTXIF; inline;
  45092. begin
  45093. pTDefRegMap(@Self)^.clr := $00000800;
  45094. end;
  45095. procedure TINT_IFS2.setU3BTXIF(thebits : TBits_1); inline;
  45096. begin
  45097. if thebits = 0 then
  45098. pTDefRegMap(@Self)^.clr := $00000800
  45099. else
  45100. pTDefRegMap(@Self)^.&set := $00000800;
  45101. end;
  45102. function TINT_IFS2.getU3BTXIF : TBits_1; inline;
  45103. begin
  45104. getU3BTXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45105. end;
  45106. procedure TINT_IFS2.setU4EIF; inline;
  45107. begin
  45108. pTDefRegMap(@Self)^.&set := $00000008;
  45109. end;
  45110. procedure TINT_IFS2.clearU4EIF; inline;
  45111. begin
  45112. pTDefRegMap(@Self)^.clr := $00000008;
  45113. end;
  45114. procedure TINT_IFS2.setU4EIF(thebits : TBits_1); inline;
  45115. begin
  45116. if thebits = 0 then
  45117. pTDefRegMap(@Self)^.clr := $00000008
  45118. else
  45119. pTDefRegMap(@Self)^.&set := $00000008;
  45120. end;
  45121. function TINT_IFS2.getU4EIF : TBits_1; inline;
  45122. begin
  45123. getU4EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45124. end;
  45125. procedure TINT_IFS2.setU4RXIF; inline;
  45126. begin
  45127. pTDefRegMap(@Self)^.&set := $00000010;
  45128. end;
  45129. procedure TINT_IFS2.clearU4RXIF; inline;
  45130. begin
  45131. pTDefRegMap(@Self)^.clr := $00000010;
  45132. end;
  45133. procedure TINT_IFS2.setU4RXIF(thebits : TBits_1); inline;
  45134. begin
  45135. if thebits = 0 then
  45136. pTDefRegMap(@Self)^.clr := $00000010
  45137. else
  45138. pTDefRegMap(@Self)^.&set := $00000010;
  45139. end;
  45140. function TINT_IFS2.getU4RXIF : TBits_1; inline;
  45141. begin
  45142. getU4RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45143. end;
  45144. procedure TINT_IFS2.setU4TXIF; inline;
  45145. begin
  45146. pTDefRegMap(@Self)^.&set := $00000020;
  45147. end;
  45148. procedure TINT_IFS2.clearU4TXIF; inline;
  45149. begin
  45150. pTDefRegMap(@Self)^.clr := $00000020;
  45151. end;
  45152. procedure TINT_IFS2.setU4TXIF(thebits : TBits_1); inline;
  45153. begin
  45154. if thebits = 0 then
  45155. pTDefRegMap(@Self)^.clr := $00000020
  45156. else
  45157. pTDefRegMap(@Self)^.&set := $00000020;
  45158. end;
  45159. function TINT_IFS2.getU4TXIF : TBits_1; inline;
  45160. begin
  45161. getU4TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45162. end;
  45163. procedure TINT_IFS2.setU6EIF; inline;
  45164. begin
  45165. pTDefRegMap(@Self)^.&set := $00000040;
  45166. end;
  45167. procedure TINT_IFS2.clearU6EIF; inline;
  45168. begin
  45169. pTDefRegMap(@Self)^.clr := $00000040;
  45170. end;
  45171. procedure TINT_IFS2.setU6EIF(thebits : TBits_1); inline;
  45172. begin
  45173. if thebits = 0 then
  45174. pTDefRegMap(@Self)^.clr := $00000040
  45175. else
  45176. pTDefRegMap(@Self)^.&set := $00000040;
  45177. end;
  45178. function TINT_IFS2.getU6EIF : TBits_1; inline;
  45179. begin
  45180. getU6EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45181. end;
  45182. procedure TINT_IFS2.setU6RXIF; inline;
  45183. begin
  45184. pTDefRegMap(@Self)^.&set := $00000080;
  45185. end;
  45186. procedure TINT_IFS2.clearU6RXIF; inline;
  45187. begin
  45188. pTDefRegMap(@Self)^.clr := $00000080;
  45189. end;
  45190. procedure TINT_IFS2.setU6RXIF(thebits : TBits_1); inline;
  45191. begin
  45192. if thebits = 0 then
  45193. pTDefRegMap(@Self)^.clr := $00000080
  45194. else
  45195. pTDefRegMap(@Self)^.&set := $00000080;
  45196. end;
  45197. function TINT_IFS2.getU6RXIF : TBits_1; inline;
  45198. begin
  45199. getU6RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45200. end;
  45201. procedure TINT_IFS2.setU6TXIF; inline;
  45202. begin
  45203. pTDefRegMap(@Self)^.&set := $00000100;
  45204. end;
  45205. procedure TINT_IFS2.clearU6TXIF; inline;
  45206. begin
  45207. pTDefRegMap(@Self)^.clr := $00000100;
  45208. end;
  45209. procedure TINT_IFS2.setU6TXIF(thebits : TBits_1); inline;
  45210. begin
  45211. if thebits = 0 then
  45212. pTDefRegMap(@Self)^.clr := $00000100
  45213. else
  45214. pTDefRegMap(@Self)^.&set := $00000100;
  45215. end;
  45216. function TINT_IFS2.getU6TXIF : TBits_1; inline;
  45217. begin
  45218. getU6TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45219. end;
  45220. procedure TINT_IFS2.setU5EIF; inline;
  45221. begin
  45222. pTDefRegMap(@Self)^.&set := $00000200;
  45223. end;
  45224. procedure TINT_IFS2.clearU5EIF; inline;
  45225. begin
  45226. pTDefRegMap(@Self)^.clr := $00000200;
  45227. end;
  45228. procedure TINT_IFS2.setU5EIF(thebits : TBits_1); inline;
  45229. begin
  45230. if thebits = 0 then
  45231. pTDefRegMap(@Self)^.clr := $00000200
  45232. else
  45233. pTDefRegMap(@Self)^.&set := $00000200;
  45234. end;
  45235. function TINT_IFS2.getU5EIF : TBits_1; inline;
  45236. begin
  45237. getU5EIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45238. end;
  45239. procedure TINT_IFS2.setU5RXIF; inline;
  45240. begin
  45241. pTDefRegMap(@Self)^.&set := $00000400;
  45242. end;
  45243. procedure TINT_IFS2.clearU5RXIF; inline;
  45244. begin
  45245. pTDefRegMap(@Self)^.clr := $00000400;
  45246. end;
  45247. procedure TINT_IFS2.setU5RXIF(thebits : TBits_1); inline;
  45248. begin
  45249. if thebits = 0 then
  45250. pTDefRegMap(@Self)^.clr := $00000400
  45251. else
  45252. pTDefRegMap(@Self)^.&set := $00000400;
  45253. end;
  45254. function TINT_IFS2.getU5RXIF : TBits_1; inline;
  45255. begin
  45256. getU5RXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45257. end;
  45258. procedure TINT_IFS2.setU5TXIF; inline;
  45259. begin
  45260. pTDefRegMap(@Self)^.&set := $00000800;
  45261. end;
  45262. procedure TINT_IFS2.clearU5TXIF; inline;
  45263. begin
  45264. pTDefRegMap(@Self)^.clr := $00000800;
  45265. end;
  45266. procedure TINT_IFS2.setU5TXIF(thebits : TBits_1); inline;
  45267. begin
  45268. if thebits = 0 then
  45269. pTDefRegMap(@Self)^.clr := $00000800
  45270. else
  45271. pTDefRegMap(@Self)^.&set := $00000800;
  45272. end;
  45273. function TINT_IFS2.getU5TXIF : TBits_1; inline;
  45274. begin
  45275. getU5TXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45276. end;
  45277. procedure TINT_IFS2.setw(thebits : TBits_32); inline;
  45278. begin
  45279. pTDefRegMap(@Self)^.val := thebits;
  45280. end;
  45281. function TINT_IFS2.getw : TBits_32; inline;
  45282. begin
  45283. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45284. end;
  45285. procedure TINT_IEC0.setCTIE; inline;
  45286. begin
  45287. pTDefRegMap(@Self)^.&set := $00000001;
  45288. end;
  45289. procedure TINT_IEC0.clearCTIE; inline;
  45290. begin
  45291. pTDefRegMap(@Self)^.clr := $00000001;
  45292. end;
  45293. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  45294. begin
  45295. if thebits = 0 then
  45296. pTDefRegMap(@Self)^.clr := $00000001
  45297. else
  45298. pTDefRegMap(@Self)^.&set := $00000001;
  45299. end;
  45300. function TINT_IEC0.getCTIE : TBits_1; inline;
  45301. begin
  45302. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45303. end;
  45304. procedure TINT_IEC0.setCS0IE; inline;
  45305. begin
  45306. pTDefRegMap(@Self)^.&set := $00000002;
  45307. end;
  45308. procedure TINT_IEC0.clearCS0IE; inline;
  45309. begin
  45310. pTDefRegMap(@Self)^.clr := $00000002;
  45311. end;
  45312. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  45313. begin
  45314. if thebits = 0 then
  45315. pTDefRegMap(@Self)^.clr := $00000002
  45316. else
  45317. pTDefRegMap(@Self)^.&set := $00000002;
  45318. end;
  45319. function TINT_IEC0.getCS0IE : TBits_1; inline;
  45320. begin
  45321. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45322. end;
  45323. procedure TINT_IEC0.setCS1IE; inline;
  45324. begin
  45325. pTDefRegMap(@Self)^.&set := $00000004;
  45326. end;
  45327. procedure TINT_IEC0.clearCS1IE; inline;
  45328. begin
  45329. pTDefRegMap(@Self)^.clr := $00000004;
  45330. end;
  45331. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  45332. begin
  45333. if thebits = 0 then
  45334. pTDefRegMap(@Self)^.clr := $00000004
  45335. else
  45336. pTDefRegMap(@Self)^.&set := $00000004;
  45337. end;
  45338. function TINT_IEC0.getCS1IE : TBits_1; inline;
  45339. begin
  45340. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45341. end;
  45342. procedure TINT_IEC0.setINT0IE; inline;
  45343. begin
  45344. pTDefRegMap(@Self)^.&set := $00000008;
  45345. end;
  45346. procedure TINT_IEC0.clearINT0IE; inline;
  45347. begin
  45348. pTDefRegMap(@Self)^.clr := $00000008;
  45349. end;
  45350. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  45351. begin
  45352. if thebits = 0 then
  45353. pTDefRegMap(@Self)^.clr := $00000008
  45354. else
  45355. pTDefRegMap(@Self)^.&set := $00000008;
  45356. end;
  45357. function TINT_IEC0.getINT0IE : TBits_1; inline;
  45358. begin
  45359. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45360. end;
  45361. procedure TINT_IEC0.setT1IE; inline;
  45362. begin
  45363. pTDefRegMap(@Self)^.&set := $00000010;
  45364. end;
  45365. procedure TINT_IEC0.clearT1IE; inline;
  45366. begin
  45367. pTDefRegMap(@Self)^.clr := $00000010;
  45368. end;
  45369. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  45370. begin
  45371. if thebits = 0 then
  45372. pTDefRegMap(@Self)^.clr := $00000010
  45373. else
  45374. pTDefRegMap(@Self)^.&set := $00000010;
  45375. end;
  45376. function TINT_IEC0.getT1IE : TBits_1; inline;
  45377. begin
  45378. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45379. end;
  45380. procedure TINT_IEC0.setIC1IE; inline;
  45381. begin
  45382. pTDefRegMap(@Self)^.&set := $00000020;
  45383. end;
  45384. procedure TINT_IEC0.clearIC1IE; inline;
  45385. begin
  45386. pTDefRegMap(@Self)^.clr := $00000020;
  45387. end;
  45388. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  45389. begin
  45390. if thebits = 0 then
  45391. pTDefRegMap(@Self)^.clr := $00000020
  45392. else
  45393. pTDefRegMap(@Self)^.&set := $00000020;
  45394. end;
  45395. function TINT_IEC0.getIC1IE : TBits_1; inline;
  45396. begin
  45397. getIC1IE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45398. end;
  45399. procedure TINT_IEC0.setOC1IE; inline;
  45400. begin
  45401. pTDefRegMap(@Self)^.&set := $00000040;
  45402. end;
  45403. procedure TINT_IEC0.clearOC1IE; inline;
  45404. begin
  45405. pTDefRegMap(@Self)^.clr := $00000040;
  45406. end;
  45407. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  45408. begin
  45409. if thebits = 0 then
  45410. pTDefRegMap(@Self)^.clr := $00000040
  45411. else
  45412. pTDefRegMap(@Self)^.&set := $00000040;
  45413. end;
  45414. function TINT_IEC0.getOC1IE : TBits_1; inline;
  45415. begin
  45416. getOC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45417. end;
  45418. procedure TINT_IEC0.setINT1IE; inline;
  45419. begin
  45420. pTDefRegMap(@Self)^.&set := $00000080;
  45421. end;
  45422. procedure TINT_IEC0.clearINT1IE; inline;
  45423. begin
  45424. pTDefRegMap(@Self)^.clr := $00000080;
  45425. end;
  45426. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  45427. begin
  45428. if thebits = 0 then
  45429. pTDefRegMap(@Self)^.clr := $00000080
  45430. else
  45431. pTDefRegMap(@Self)^.&set := $00000080;
  45432. end;
  45433. function TINT_IEC0.getINT1IE : TBits_1; inline;
  45434. begin
  45435. getINT1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45436. end;
  45437. procedure TINT_IEC0.setT2IE; inline;
  45438. begin
  45439. pTDefRegMap(@Self)^.&set := $00000100;
  45440. end;
  45441. procedure TINT_IEC0.clearT2IE; inline;
  45442. begin
  45443. pTDefRegMap(@Self)^.clr := $00000100;
  45444. end;
  45445. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  45446. begin
  45447. if thebits = 0 then
  45448. pTDefRegMap(@Self)^.clr := $00000100
  45449. else
  45450. pTDefRegMap(@Self)^.&set := $00000100;
  45451. end;
  45452. function TINT_IEC0.getT2IE : TBits_1; inline;
  45453. begin
  45454. getT2IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45455. end;
  45456. procedure TINT_IEC0.setIC2IE; inline;
  45457. begin
  45458. pTDefRegMap(@Self)^.&set := $00000200;
  45459. end;
  45460. procedure TINT_IEC0.clearIC2IE; inline;
  45461. begin
  45462. pTDefRegMap(@Self)^.clr := $00000200;
  45463. end;
  45464. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  45465. begin
  45466. if thebits = 0 then
  45467. pTDefRegMap(@Self)^.clr := $00000200
  45468. else
  45469. pTDefRegMap(@Self)^.&set := $00000200;
  45470. end;
  45471. function TINT_IEC0.getIC2IE : TBits_1; inline;
  45472. begin
  45473. getIC2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45474. end;
  45475. procedure TINT_IEC0.setOC2IE; inline;
  45476. begin
  45477. pTDefRegMap(@Self)^.&set := $00000400;
  45478. end;
  45479. procedure TINT_IEC0.clearOC2IE; inline;
  45480. begin
  45481. pTDefRegMap(@Self)^.clr := $00000400;
  45482. end;
  45483. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  45484. begin
  45485. if thebits = 0 then
  45486. pTDefRegMap(@Self)^.clr := $00000400
  45487. else
  45488. pTDefRegMap(@Self)^.&set := $00000400;
  45489. end;
  45490. function TINT_IEC0.getOC2IE : TBits_1; inline;
  45491. begin
  45492. getOC2IE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45493. end;
  45494. procedure TINT_IEC0.setINT2IE; inline;
  45495. begin
  45496. pTDefRegMap(@Self)^.&set := $00000800;
  45497. end;
  45498. procedure TINT_IEC0.clearINT2IE; inline;
  45499. begin
  45500. pTDefRegMap(@Self)^.clr := $00000800;
  45501. end;
  45502. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  45503. begin
  45504. if thebits = 0 then
  45505. pTDefRegMap(@Self)^.clr := $00000800
  45506. else
  45507. pTDefRegMap(@Self)^.&set := $00000800;
  45508. end;
  45509. function TINT_IEC0.getINT2IE : TBits_1; inline;
  45510. begin
  45511. getINT2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45512. end;
  45513. procedure TINT_IEC0.setT3IE; inline;
  45514. begin
  45515. pTDefRegMap(@Self)^.&set := $00001000;
  45516. end;
  45517. procedure TINT_IEC0.clearT3IE; inline;
  45518. begin
  45519. pTDefRegMap(@Self)^.clr := $00001000;
  45520. end;
  45521. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  45522. begin
  45523. if thebits = 0 then
  45524. pTDefRegMap(@Self)^.clr := $00001000
  45525. else
  45526. pTDefRegMap(@Self)^.&set := $00001000;
  45527. end;
  45528. function TINT_IEC0.getT3IE : TBits_1; inline;
  45529. begin
  45530. getT3IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45531. end;
  45532. procedure TINT_IEC0.setIC3IE; inline;
  45533. begin
  45534. pTDefRegMap(@Self)^.&set := $00002000;
  45535. end;
  45536. procedure TINT_IEC0.clearIC3IE; inline;
  45537. begin
  45538. pTDefRegMap(@Self)^.clr := $00002000;
  45539. end;
  45540. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  45541. begin
  45542. if thebits = 0 then
  45543. pTDefRegMap(@Self)^.clr := $00002000
  45544. else
  45545. pTDefRegMap(@Self)^.&set := $00002000;
  45546. end;
  45547. function TINT_IEC0.getIC3IE : TBits_1; inline;
  45548. begin
  45549. getIC3IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45550. end;
  45551. procedure TINT_IEC0.setOC3IE; inline;
  45552. begin
  45553. pTDefRegMap(@Self)^.&set := $00004000;
  45554. end;
  45555. procedure TINT_IEC0.clearOC3IE; inline;
  45556. begin
  45557. pTDefRegMap(@Self)^.clr := $00004000;
  45558. end;
  45559. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  45560. begin
  45561. if thebits = 0 then
  45562. pTDefRegMap(@Self)^.clr := $00004000
  45563. else
  45564. pTDefRegMap(@Self)^.&set := $00004000;
  45565. end;
  45566. function TINT_IEC0.getOC3IE : TBits_1; inline;
  45567. begin
  45568. getOC3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45569. end;
  45570. procedure TINT_IEC0.setINT3IE; inline;
  45571. begin
  45572. pTDefRegMap(@Self)^.&set := $00008000;
  45573. end;
  45574. procedure TINT_IEC0.clearINT3IE; inline;
  45575. begin
  45576. pTDefRegMap(@Self)^.clr := $00008000;
  45577. end;
  45578. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  45579. begin
  45580. if thebits = 0 then
  45581. pTDefRegMap(@Self)^.clr := $00008000
  45582. else
  45583. pTDefRegMap(@Self)^.&set := $00008000;
  45584. end;
  45585. function TINT_IEC0.getINT3IE : TBits_1; inline;
  45586. begin
  45587. getINT3IE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45588. end;
  45589. procedure TINT_IEC0.setT4IE; inline;
  45590. begin
  45591. pTDefRegMap(@Self)^.&set := $00010000;
  45592. end;
  45593. procedure TINT_IEC0.clearT4IE; inline;
  45594. begin
  45595. pTDefRegMap(@Self)^.clr := $00010000;
  45596. end;
  45597. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  45598. begin
  45599. if thebits = 0 then
  45600. pTDefRegMap(@Self)^.clr := $00010000
  45601. else
  45602. pTDefRegMap(@Self)^.&set := $00010000;
  45603. end;
  45604. function TINT_IEC0.getT4IE : TBits_1; inline;
  45605. begin
  45606. getT4IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  45607. end;
  45608. procedure TINT_IEC0.setIC4IE; inline;
  45609. begin
  45610. pTDefRegMap(@Self)^.&set := $00020000;
  45611. end;
  45612. procedure TINT_IEC0.clearIC4IE; inline;
  45613. begin
  45614. pTDefRegMap(@Self)^.clr := $00020000;
  45615. end;
  45616. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  45617. begin
  45618. if thebits = 0 then
  45619. pTDefRegMap(@Self)^.clr := $00020000
  45620. else
  45621. pTDefRegMap(@Self)^.&set := $00020000;
  45622. end;
  45623. function TINT_IEC0.getIC4IE : TBits_1; inline;
  45624. begin
  45625. getIC4IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  45626. end;
  45627. procedure TINT_IEC0.setOC4IE; inline;
  45628. begin
  45629. pTDefRegMap(@Self)^.&set := $00040000;
  45630. end;
  45631. procedure TINT_IEC0.clearOC4IE; inline;
  45632. begin
  45633. pTDefRegMap(@Self)^.clr := $00040000;
  45634. end;
  45635. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  45636. begin
  45637. if thebits = 0 then
  45638. pTDefRegMap(@Self)^.clr := $00040000
  45639. else
  45640. pTDefRegMap(@Self)^.&set := $00040000;
  45641. end;
  45642. function TINT_IEC0.getOC4IE : TBits_1; inline;
  45643. begin
  45644. getOC4IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  45645. end;
  45646. procedure TINT_IEC0.setINT4IE; inline;
  45647. begin
  45648. pTDefRegMap(@Self)^.&set := $00080000;
  45649. end;
  45650. procedure TINT_IEC0.clearINT4IE; inline;
  45651. begin
  45652. pTDefRegMap(@Self)^.clr := $00080000;
  45653. end;
  45654. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  45655. begin
  45656. if thebits = 0 then
  45657. pTDefRegMap(@Self)^.clr := $00080000
  45658. else
  45659. pTDefRegMap(@Self)^.&set := $00080000;
  45660. end;
  45661. function TINT_IEC0.getINT4IE : TBits_1; inline;
  45662. begin
  45663. getINT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  45664. end;
  45665. procedure TINT_IEC0.setT5IE; inline;
  45666. begin
  45667. pTDefRegMap(@Self)^.&set := $00100000;
  45668. end;
  45669. procedure TINT_IEC0.clearT5IE; inline;
  45670. begin
  45671. pTDefRegMap(@Self)^.clr := $00100000;
  45672. end;
  45673. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  45674. begin
  45675. if thebits = 0 then
  45676. pTDefRegMap(@Self)^.clr := $00100000
  45677. else
  45678. pTDefRegMap(@Self)^.&set := $00100000;
  45679. end;
  45680. function TINT_IEC0.getT5IE : TBits_1; inline;
  45681. begin
  45682. getT5IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  45683. end;
  45684. procedure TINT_IEC0.setIC5IE; inline;
  45685. begin
  45686. pTDefRegMap(@Self)^.&set := $00200000;
  45687. end;
  45688. procedure TINT_IEC0.clearIC5IE; inline;
  45689. begin
  45690. pTDefRegMap(@Self)^.clr := $00200000;
  45691. end;
  45692. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  45693. begin
  45694. if thebits = 0 then
  45695. pTDefRegMap(@Self)^.clr := $00200000
  45696. else
  45697. pTDefRegMap(@Self)^.&set := $00200000;
  45698. end;
  45699. function TINT_IEC0.getIC5IE : TBits_1; inline;
  45700. begin
  45701. getIC5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  45702. end;
  45703. procedure TINT_IEC0.setOC5IE; inline;
  45704. begin
  45705. pTDefRegMap(@Self)^.&set := $00400000;
  45706. end;
  45707. procedure TINT_IEC0.clearOC5IE; inline;
  45708. begin
  45709. pTDefRegMap(@Self)^.clr := $00400000;
  45710. end;
  45711. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  45712. begin
  45713. if thebits = 0 then
  45714. pTDefRegMap(@Self)^.clr := $00400000
  45715. else
  45716. pTDefRegMap(@Self)^.&set := $00400000;
  45717. end;
  45718. function TINT_IEC0.getOC5IE : TBits_1; inline;
  45719. begin
  45720. getOC5IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  45721. end;
  45722. procedure TINT_IEC0.setSPI1EIE; inline;
  45723. begin
  45724. pTDefRegMap(@Self)^.&set := $00800000;
  45725. end;
  45726. procedure TINT_IEC0.clearSPI1EIE; inline;
  45727. begin
  45728. pTDefRegMap(@Self)^.clr := $00800000;
  45729. end;
  45730. procedure TINT_IEC0.setSPI1EIE(thebits : TBits_1); inline;
  45731. begin
  45732. if thebits = 0 then
  45733. pTDefRegMap(@Self)^.clr := $00800000
  45734. else
  45735. pTDefRegMap(@Self)^.&set := $00800000;
  45736. end;
  45737. function TINT_IEC0.getSPI1EIE : TBits_1; inline;
  45738. begin
  45739. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  45740. end;
  45741. procedure TINT_IEC0.setSPI1RXIE; inline;
  45742. begin
  45743. pTDefRegMap(@Self)^.&set := $01000000;
  45744. end;
  45745. procedure TINT_IEC0.clearSPI1RXIE; inline;
  45746. begin
  45747. pTDefRegMap(@Self)^.clr := $01000000;
  45748. end;
  45749. procedure TINT_IEC0.setSPI1RXIE(thebits : TBits_1); inline;
  45750. begin
  45751. if thebits = 0 then
  45752. pTDefRegMap(@Self)^.clr := $01000000
  45753. else
  45754. pTDefRegMap(@Self)^.&set := $01000000;
  45755. end;
  45756. function TINT_IEC0.getSPI1RXIE : TBits_1; inline;
  45757. begin
  45758. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  45759. end;
  45760. procedure TINT_IEC0.setSPI1TXIE; inline;
  45761. begin
  45762. pTDefRegMap(@Self)^.&set := $02000000;
  45763. end;
  45764. procedure TINT_IEC0.clearSPI1TXIE; inline;
  45765. begin
  45766. pTDefRegMap(@Self)^.clr := $02000000;
  45767. end;
  45768. procedure TINT_IEC0.setSPI1TXIE(thebits : TBits_1); inline;
  45769. begin
  45770. if thebits = 0 then
  45771. pTDefRegMap(@Self)^.clr := $02000000
  45772. else
  45773. pTDefRegMap(@Self)^.&set := $02000000;
  45774. end;
  45775. function TINT_IEC0.getSPI1TXIE : TBits_1; inline;
  45776. begin
  45777. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  45778. end;
  45779. procedure TINT_IEC0.setU1EIE; inline;
  45780. begin
  45781. pTDefRegMap(@Self)^.&set := $04000000;
  45782. end;
  45783. procedure TINT_IEC0.clearU1EIE; inline;
  45784. begin
  45785. pTDefRegMap(@Self)^.clr := $04000000;
  45786. end;
  45787. procedure TINT_IEC0.setU1EIE(thebits : TBits_1); inline;
  45788. begin
  45789. if thebits = 0 then
  45790. pTDefRegMap(@Self)^.clr := $04000000
  45791. else
  45792. pTDefRegMap(@Self)^.&set := $04000000;
  45793. end;
  45794. function TINT_IEC0.getU1EIE : TBits_1; inline;
  45795. begin
  45796. getU1EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45797. end;
  45798. procedure TINT_IEC0.setU1RXIE; inline;
  45799. begin
  45800. pTDefRegMap(@Self)^.&set := $08000000;
  45801. end;
  45802. procedure TINT_IEC0.clearU1RXIE; inline;
  45803. begin
  45804. pTDefRegMap(@Self)^.clr := $08000000;
  45805. end;
  45806. procedure TINT_IEC0.setU1RXIE(thebits : TBits_1); inline;
  45807. begin
  45808. if thebits = 0 then
  45809. pTDefRegMap(@Self)^.clr := $08000000
  45810. else
  45811. pTDefRegMap(@Self)^.&set := $08000000;
  45812. end;
  45813. function TINT_IEC0.getU1RXIE : TBits_1; inline;
  45814. begin
  45815. getU1RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45816. end;
  45817. procedure TINT_IEC0.setU1TXIE; inline;
  45818. begin
  45819. pTDefRegMap(@Self)^.&set := $10000000;
  45820. end;
  45821. procedure TINT_IEC0.clearU1TXIE; inline;
  45822. begin
  45823. pTDefRegMap(@Self)^.clr := $10000000;
  45824. end;
  45825. procedure TINT_IEC0.setU1TXIE(thebits : TBits_1); inline;
  45826. begin
  45827. if thebits = 0 then
  45828. pTDefRegMap(@Self)^.clr := $10000000
  45829. else
  45830. pTDefRegMap(@Self)^.&set := $10000000;
  45831. end;
  45832. function TINT_IEC0.getU1TXIE : TBits_1; inline;
  45833. begin
  45834. getU1TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45835. end;
  45836. procedure TINT_IEC0.setI2C1BIE; inline;
  45837. begin
  45838. pTDefRegMap(@Self)^.&set := $20000000;
  45839. end;
  45840. procedure TINT_IEC0.clearI2C1BIE; inline;
  45841. begin
  45842. pTDefRegMap(@Self)^.clr := $20000000;
  45843. end;
  45844. procedure TINT_IEC0.setI2C1BIE(thebits : TBits_1); inline;
  45845. begin
  45846. if thebits = 0 then
  45847. pTDefRegMap(@Self)^.clr := $20000000
  45848. else
  45849. pTDefRegMap(@Self)^.&set := $20000000;
  45850. end;
  45851. function TINT_IEC0.getI2C1BIE : TBits_1; inline;
  45852. begin
  45853. getI2C1BIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  45854. end;
  45855. procedure TINT_IEC0.setI2C1SIE; inline;
  45856. begin
  45857. pTDefRegMap(@Self)^.&set := $40000000;
  45858. end;
  45859. procedure TINT_IEC0.clearI2C1SIE; inline;
  45860. begin
  45861. pTDefRegMap(@Self)^.clr := $40000000;
  45862. end;
  45863. procedure TINT_IEC0.setI2C1SIE(thebits : TBits_1); inline;
  45864. begin
  45865. if thebits = 0 then
  45866. pTDefRegMap(@Self)^.clr := $40000000
  45867. else
  45868. pTDefRegMap(@Self)^.&set := $40000000;
  45869. end;
  45870. function TINT_IEC0.getI2C1SIE : TBits_1; inline;
  45871. begin
  45872. getI2C1SIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  45873. end;
  45874. procedure TINT_IEC0.setI2C1MIE; inline;
  45875. begin
  45876. pTDefRegMap(@Self)^.&set := $80000000;
  45877. end;
  45878. procedure TINT_IEC0.clearI2C1MIE; inline;
  45879. begin
  45880. pTDefRegMap(@Self)^.clr := $80000000;
  45881. end;
  45882. procedure TINT_IEC0.setI2C1MIE(thebits : TBits_1); inline;
  45883. begin
  45884. if thebits = 0 then
  45885. pTDefRegMap(@Self)^.clr := $80000000
  45886. else
  45887. pTDefRegMap(@Self)^.&set := $80000000;
  45888. end;
  45889. function TINT_IEC0.getI2C1MIE : TBits_1; inline;
  45890. begin
  45891. getI2C1MIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  45892. end;
  45893. procedure TINT_IEC0.setU1AEIE; inline;
  45894. begin
  45895. pTDefRegMap(@Self)^.&set := $04000000;
  45896. end;
  45897. procedure TINT_IEC0.clearU1AEIE; inline;
  45898. begin
  45899. pTDefRegMap(@Self)^.clr := $04000000;
  45900. end;
  45901. procedure TINT_IEC0.setU1AEIE(thebits : TBits_1); inline;
  45902. begin
  45903. if thebits = 0 then
  45904. pTDefRegMap(@Self)^.clr := $04000000
  45905. else
  45906. pTDefRegMap(@Self)^.&set := $04000000;
  45907. end;
  45908. function TINT_IEC0.getU1AEIE : TBits_1; inline;
  45909. begin
  45910. getU1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45911. end;
  45912. procedure TINT_IEC0.setU1ARXIE; inline;
  45913. begin
  45914. pTDefRegMap(@Self)^.&set := $08000000;
  45915. end;
  45916. procedure TINT_IEC0.clearU1ARXIE; inline;
  45917. begin
  45918. pTDefRegMap(@Self)^.clr := $08000000;
  45919. end;
  45920. procedure TINT_IEC0.setU1ARXIE(thebits : TBits_1); inline;
  45921. begin
  45922. if thebits = 0 then
  45923. pTDefRegMap(@Self)^.clr := $08000000
  45924. else
  45925. pTDefRegMap(@Self)^.&set := $08000000;
  45926. end;
  45927. function TINT_IEC0.getU1ARXIE : TBits_1; inline;
  45928. begin
  45929. getU1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45930. end;
  45931. procedure TINT_IEC0.setU1ATXIE; inline;
  45932. begin
  45933. pTDefRegMap(@Self)^.&set := $10000000;
  45934. end;
  45935. procedure TINT_IEC0.clearU1ATXIE; inline;
  45936. begin
  45937. pTDefRegMap(@Self)^.clr := $10000000;
  45938. end;
  45939. procedure TINT_IEC0.setU1ATXIE(thebits : TBits_1); inline;
  45940. begin
  45941. if thebits = 0 then
  45942. pTDefRegMap(@Self)^.clr := $10000000
  45943. else
  45944. pTDefRegMap(@Self)^.&set := $10000000;
  45945. end;
  45946. function TINT_IEC0.getU1ATXIE : TBits_1; inline;
  45947. begin
  45948. getU1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45949. end;
  45950. procedure TINT_IEC0.setSPI3EIE; inline;
  45951. begin
  45952. pTDefRegMap(@Self)^.&set := $04000000;
  45953. end;
  45954. procedure TINT_IEC0.clearSPI3EIE; inline;
  45955. begin
  45956. pTDefRegMap(@Self)^.clr := $04000000;
  45957. end;
  45958. procedure TINT_IEC0.setSPI3EIE(thebits : TBits_1); inline;
  45959. begin
  45960. if thebits = 0 then
  45961. pTDefRegMap(@Self)^.clr := $04000000
  45962. else
  45963. pTDefRegMap(@Self)^.&set := $04000000;
  45964. end;
  45965. function TINT_IEC0.getSPI3EIE : TBits_1; inline;
  45966. begin
  45967. getSPI3EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45968. end;
  45969. procedure TINT_IEC0.setSPI3RXIE; inline;
  45970. begin
  45971. pTDefRegMap(@Self)^.&set := $08000000;
  45972. end;
  45973. procedure TINT_IEC0.clearSPI3RXIE; inline;
  45974. begin
  45975. pTDefRegMap(@Self)^.clr := $08000000;
  45976. end;
  45977. procedure TINT_IEC0.setSPI3RXIE(thebits : TBits_1); inline;
  45978. begin
  45979. if thebits = 0 then
  45980. pTDefRegMap(@Self)^.clr := $08000000
  45981. else
  45982. pTDefRegMap(@Self)^.&set := $08000000;
  45983. end;
  45984. function TINT_IEC0.getSPI3RXIE : TBits_1; inline;
  45985. begin
  45986. getSPI3RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45987. end;
  45988. procedure TINT_IEC0.setSPI3TXIE; inline;
  45989. begin
  45990. pTDefRegMap(@Self)^.&set := $10000000;
  45991. end;
  45992. procedure TINT_IEC0.clearSPI3TXIE; inline;
  45993. begin
  45994. pTDefRegMap(@Self)^.clr := $10000000;
  45995. end;
  45996. procedure TINT_IEC0.setSPI3TXIE(thebits : TBits_1); inline;
  45997. begin
  45998. if thebits = 0 then
  45999. pTDefRegMap(@Self)^.clr := $10000000
  46000. else
  46001. pTDefRegMap(@Self)^.&set := $10000000;
  46002. end;
  46003. function TINT_IEC0.getSPI3TXIE : TBits_1; inline;
  46004. begin
  46005. getSPI3TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46006. end;
  46007. procedure TINT_IEC0.setSPI1AEIE; inline;
  46008. begin
  46009. pTDefRegMap(@Self)^.&set := $04000000;
  46010. end;
  46011. procedure TINT_IEC0.clearSPI1AEIE; inline;
  46012. begin
  46013. pTDefRegMap(@Self)^.clr := $04000000;
  46014. end;
  46015. procedure TINT_IEC0.setSPI1AEIE(thebits : TBits_1); inline;
  46016. begin
  46017. if thebits = 0 then
  46018. pTDefRegMap(@Self)^.clr := $04000000
  46019. else
  46020. pTDefRegMap(@Self)^.&set := $04000000;
  46021. end;
  46022. function TINT_IEC0.getSPI1AEIE : TBits_1; inline;
  46023. begin
  46024. getSPI1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  46025. end;
  46026. procedure TINT_IEC0.setSPI1ARXIE; inline;
  46027. begin
  46028. pTDefRegMap(@Self)^.&set := $08000000;
  46029. end;
  46030. procedure TINT_IEC0.clearSPI1ARXIE; inline;
  46031. begin
  46032. pTDefRegMap(@Self)^.clr := $08000000;
  46033. end;
  46034. procedure TINT_IEC0.setSPI1ARXIE(thebits : TBits_1); inline;
  46035. begin
  46036. if thebits = 0 then
  46037. pTDefRegMap(@Self)^.clr := $08000000
  46038. else
  46039. pTDefRegMap(@Self)^.&set := $08000000;
  46040. end;
  46041. function TINT_IEC0.getSPI1ARXIE : TBits_1; inline;
  46042. begin
  46043. getSPI1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  46044. end;
  46045. procedure TINT_IEC0.setSPI1ATXIE; inline;
  46046. begin
  46047. pTDefRegMap(@Self)^.&set := $10000000;
  46048. end;
  46049. procedure TINT_IEC0.clearSPI1ATXIE; inline;
  46050. begin
  46051. pTDefRegMap(@Self)^.clr := $10000000;
  46052. end;
  46053. procedure TINT_IEC0.setSPI1ATXIE(thebits : TBits_1); inline;
  46054. begin
  46055. if thebits = 0 then
  46056. pTDefRegMap(@Self)^.clr := $10000000
  46057. else
  46058. pTDefRegMap(@Self)^.&set := $10000000;
  46059. end;
  46060. function TINT_IEC0.getSPI1ATXIE : TBits_1; inline;
  46061. begin
  46062. getSPI1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46063. end;
  46064. procedure TINT_IEC0.setI2C3BIE; inline;
  46065. begin
  46066. pTDefRegMap(@Self)^.&set := $04000000;
  46067. end;
  46068. procedure TINT_IEC0.clearI2C3BIE; inline;
  46069. begin
  46070. pTDefRegMap(@Self)^.clr := $04000000;
  46071. end;
  46072. procedure TINT_IEC0.setI2C3BIE(thebits : TBits_1); inline;
  46073. begin
  46074. if thebits = 0 then
  46075. pTDefRegMap(@Self)^.clr := $04000000
  46076. else
  46077. pTDefRegMap(@Self)^.&set := $04000000;
  46078. end;
  46079. function TINT_IEC0.getI2C3BIE : TBits_1; inline;
  46080. begin
  46081. getI2C3BIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  46082. end;
  46083. procedure TINT_IEC0.setI2C3SIE; inline;
  46084. begin
  46085. pTDefRegMap(@Self)^.&set := $08000000;
  46086. end;
  46087. procedure TINT_IEC0.clearI2C3SIE; inline;
  46088. begin
  46089. pTDefRegMap(@Self)^.clr := $08000000;
  46090. end;
  46091. procedure TINT_IEC0.setI2C3SIE(thebits : TBits_1); inline;
  46092. begin
  46093. if thebits = 0 then
  46094. pTDefRegMap(@Self)^.clr := $08000000
  46095. else
  46096. pTDefRegMap(@Self)^.&set := $08000000;
  46097. end;
  46098. function TINT_IEC0.getI2C3SIE : TBits_1; inline;
  46099. begin
  46100. getI2C3SIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  46101. end;
  46102. procedure TINT_IEC0.setI2C3MIE; inline;
  46103. begin
  46104. pTDefRegMap(@Self)^.&set := $10000000;
  46105. end;
  46106. procedure TINT_IEC0.clearI2C3MIE; inline;
  46107. begin
  46108. pTDefRegMap(@Self)^.clr := $10000000;
  46109. end;
  46110. procedure TINT_IEC0.setI2C3MIE(thebits : TBits_1); inline;
  46111. begin
  46112. if thebits = 0 then
  46113. pTDefRegMap(@Self)^.clr := $10000000
  46114. else
  46115. pTDefRegMap(@Self)^.&set := $10000000;
  46116. end;
  46117. function TINT_IEC0.getI2C3MIE : TBits_1; inline;
  46118. begin
  46119. getI2C3MIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46120. end;
  46121. procedure TINT_IEC0.setI2C1ABIE; inline;
  46122. begin
  46123. pTDefRegMap(@Self)^.&set := $04000000;
  46124. end;
  46125. procedure TINT_IEC0.clearI2C1ABIE; inline;
  46126. begin
  46127. pTDefRegMap(@Self)^.clr := $04000000;
  46128. end;
  46129. procedure TINT_IEC0.setI2C1ABIE(thebits : TBits_1); inline;
  46130. begin
  46131. if thebits = 0 then
  46132. pTDefRegMap(@Self)^.clr := $04000000
  46133. else
  46134. pTDefRegMap(@Self)^.&set := $04000000;
  46135. end;
  46136. function TINT_IEC0.getI2C1ABIE : TBits_1; inline;
  46137. begin
  46138. getI2C1ABIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  46139. end;
  46140. procedure TINT_IEC0.setI2C1ASIE; inline;
  46141. begin
  46142. pTDefRegMap(@Self)^.&set := $08000000;
  46143. end;
  46144. procedure TINT_IEC0.clearI2C1ASIE; inline;
  46145. begin
  46146. pTDefRegMap(@Self)^.clr := $08000000;
  46147. end;
  46148. procedure TINT_IEC0.setI2C1ASIE(thebits : TBits_1); inline;
  46149. begin
  46150. if thebits = 0 then
  46151. pTDefRegMap(@Self)^.clr := $08000000
  46152. else
  46153. pTDefRegMap(@Self)^.&set := $08000000;
  46154. end;
  46155. function TINT_IEC0.getI2C1ASIE : TBits_1; inline;
  46156. begin
  46157. getI2C1ASIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  46158. end;
  46159. procedure TINT_IEC0.setI2C1AMIE; inline;
  46160. begin
  46161. pTDefRegMap(@Self)^.&set := $10000000;
  46162. end;
  46163. procedure TINT_IEC0.clearI2C1AMIE; inline;
  46164. begin
  46165. pTDefRegMap(@Self)^.clr := $10000000;
  46166. end;
  46167. procedure TINT_IEC0.setI2C1AMIE(thebits : TBits_1); inline;
  46168. begin
  46169. if thebits = 0 then
  46170. pTDefRegMap(@Self)^.clr := $10000000
  46171. else
  46172. pTDefRegMap(@Self)^.&set := $10000000;
  46173. end;
  46174. function TINT_IEC0.getI2C1AMIE : TBits_1; inline;
  46175. begin
  46176. getI2C1AMIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46177. end;
  46178. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  46179. begin
  46180. pTDefRegMap(@Self)^.val := thebits;
  46181. end;
  46182. function TINT_IEC0.getw : TBits_32; inline;
  46183. begin
  46184. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46185. end;
  46186. procedure TINT_IEC1.setCNIE; inline;
  46187. begin
  46188. pTDefRegMap(@Self)^.&set := $00000001;
  46189. end;
  46190. procedure TINT_IEC1.clearCNIE; inline;
  46191. begin
  46192. pTDefRegMap(@Self)^.clr := $00000001;
  46193. end;
  46194. procedure TINT_IEC1.setCNIE(thebits : TBits_1); inline;
  46195. begin
  46196. if thebits = 0 then
  46197. pTDefRegMap(@Self)^.clr := $00000001
  46198. else
  46199. pTDefRegMap(@Self)^.&set := $00000001;
  46200. end;
  46201. function TINT_IEC1.getCNIE : TBits_1; inline;
  46202. begin
  46203. getCNIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46204. end;
  46205. procedure TINT_IEC1.setAD1IE; inline;
  46206. begin
  46207. pTDefRegMap(@Self)^.&set := $00000002;
  46208. end;
  46209. procedure TINT_IEC1.clearAD1IE; inline;
  46210. begin
  46211. pTDefRegMap(@Self)^.clr := $00000002;
  46212. end;
  46213. procedure TINT_IEC1.setAD1IE(thebits : TBits_1); inline;
  46214. begin
  46215. if thebits = 0 then
  46216. pTDefRegMap(@Self)^.clr := $00000002
  46217. else
  46218. pTDefRegMap(@Self)^.&set := $00000002;
  46219. end;
  46220. function TINT_IEC1.getAD1IE : TBits_1; inline;
  46221. begin
  46222. getAD1IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46223. end;
  46224. procedure TINT_IEC1.setPMPIE; inline;
  46225. begin
  46226. pTDefRegMap(@Self)^.&set := $00000004;
  46227. end;
  46228. procedure TINT_IEC1.clearPMPIE; inline;
  46229. begin
  46230. pTDefRegMap(@Self)^.clr := $00000004;
  46231. end;
  46232. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  46233. begin
  46234. if thebits = 0 then
  46235. pTDefRegMap(@Self)^.clr := $00000004
  46236. else
  46237. pTDefRegMap(@Self)^.&set := $00000004;
  46238. end;
  46239. function TINT_IEC1.getPMPIE : TBits_1; inline;
  46240. begin
  46241. getPMPIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46242. end;
  46243. procedure TINT_IEC1.setCMP1IE; inline;
  46244. begin
  46245. pTDefRegMap(@Self)^.&set := $00000008;
  46246. end;
  46247. procedure TINT_IEC1.clearCMP1IE; inline;
  46248. begin
  46249. pTDefRegMap(@Self)^.clr := $00000008;
  46250. end;
  46251. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  46252. begin
  46253. if thebits = 0 then
  46254. pTDefRegMap(@Self)^.clr := $00000008
  46255. else
  46256. pTDefRegMap(@Self)^.&set := $00000008;
  46257. end;
  46258. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  46259. begin
  46260. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46261. end;
  46262. procedure TINT_IEC1.setCMP2IE; inline;
  46263. begin
  46264. pTDefRegMap(@Self)^.&set := $00000010;
  46265. end;
  46266. procedure TINT_IEC1.clearCMP2IE; inline;
  46267. begin
  46268. pTDefRegMap(@Self)^.clr := $00000010;
  46269. end;
  46270. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  46271. begin
  46272. if thebits = 0 then
  46273. pTDefRegMap(@Self)^.clr := $00000010
  46274. else
  46275. pTDefRegMap(@Self)^.&set := $00000010;
  46276. end;
  46277. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  46278. begin
  46279. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46280. end;
  46281. procedure TINT_IEC1.setU3EIE; inline;
  46282. begin
  46283. pTDefRegMap(@Self)^.&set := $00000020;
  46284. end;
  46285. procedure TINT_IEC1.clearU3EIE; inline;
  46286. begin
  46287. pTDefRegMap(@Self)^.clr := $00000020;
  46288. end;
  46289. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  46290. begin
  46291. if thebits = 0 then
  46292. pTDefRegMap(@Self)^.clr := $00000020
  46293. else
  46294. pTDefRegMap(@Self)^.&set := $00000020;
  46295. end;
  46296. function TINT_IEC1.getU3EIE : TBits_1; inline;
  46297. begin
  46298. getU3EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46299. end;
  46300. procedure TINT_IEC1.setU3RXIE; inline;
  46301. begin
  46302. pTDefRegMap(@Self)^.&set := $00000040;
  46303. end;
  46304. procedure TINT_IEC1.clearU3RXIE; inline;
  46305. begin
  46306. pTDefRegMap(@Self)^.clr := $00000040;
  46307. end;
  46308. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  46309. begin
  46310. if thebits = 0 then
  46311. pTDefRegMap(@Self)^.clr := $00000040
  46312. else
  46313. pTDefRegMap(@Self)^.&set := $00000040;
  46314. end;
  46315. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  46316. begin
  46317. getU3RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46318. end;
  46319. procedure TINT_IEC1.setU3TXIE; inline;
  46320. begin
  46321. pTDefRegMap(@Self)^.&set := $00000080;
  46322. end;
  46323. procedure TINT_IEC1.clearU3TXIE; inline;
  46324. begin
  46325. pTDefRegMap(@Self)^.clr := $00000080;
  46326. end;
  46327. procedure TINT_IEC1.setU3TXIE(thebits : TBits_1); inline;
  46328. begin
  46329. if thebits = 0 then
  46330. pTDefRegMap(@Self)^.clr := $00000080
  46331. else
  46332. pTDefRegMap(@Self)^.&set := $00000080;
  46333. end;
  46334. function TINT_IEC1.getU3TXIE : TBits_1; inline;
  46335. begin
  46336. getU3TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46337. end;
  46338. procedure TINT_IEC1.setU2EIE; inline;
  46339. begin
  46340. pTDefRegMap(@Self)^.&set := $00000100;
  46341. end;
  46342. procedure TINT_IEC1.clearU2EIE; inline;
  46343. begin
  46344. pTDefRegMap(@Self)^.clr := $00000100;
  46345. end;
  46346. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  46347. begin
  46348. if thebits = 0 then
  46349. pTDefRegMap(@Self)^.clr := $00000100
  46350. else
  46351. pTDefRegMap(@Self)^.&set := $00000100;
  46352. end;
  46353. function TINT_IEC1.getU2EIE : TBits_1; inline;
  46354. begin
  46355. getU2EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46356. end;
  46357. procedure TINT_IEC1.setU2RXIE; inline;
  46358. begin
  46359. pTDefRegMap(@Self)^.&set := $00000200;
  46360. end;
  46361. procedure TINT_IEC1.clearU2RXIE; inline;
  46362. begin
  46363. pTDefRegMap(@Self)^.clr := $00000200;
  46364. end;
  46365. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  46366. begin
  46367. if thebits = 0 then
  46368. pTDefRegMap(@Self)^.clr := $00000200
  46369. else
  46370. pTDefRegMap(@Self)^.&set := $00000200;
  46371. end;
  46372. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  46373. begin
  46374. getU2RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46375. end;
  46376. procedure TINT_IEC1.setU2TXIE; inline;
  46377. begin
  46378. pTDefRegMap(@Self)^.&set := $00000400;
  46379. end;
  46380. procedure TINT_IEC1.clearU2TXIE; inline;
  46381. begin
  46382. pTDefRegMap(@Self)^.clr := $00000400;
  46383. end;
  46384. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  46385. begin
  46386. if thebits = 0 then
  46387. pTDefRegMap(@Self)^.clr := $00000400
  46388. else
  46389. pTDefRegMap(@Self)^.&set := $00000400;
  46390. end;
  46391. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  46392. begin
  46393. getU2TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46394. end;
  46395. procedure TINT_IEC1.setI2C2BIE; inline;
  46396. begin
  46397. pTDefRegMap(@Self)^.&set := $00000800;
  46398. end;
  46399. procedure TINT_IEC1.clearI2C2BIE; inline;
  46400. begin
  46401. pTDefRegMap(@Self)^.clr := $00000800;
  46402. end;
  46403. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  46404. begin
  46405. if thebits = 0 then
  46406. pTDefRegMap(@Self)^.clr := $00000800
  46407. else
  46408. pTDefRegMap(@Self)^.&set := $00000800;
  46409. end;
  46410. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  46411. begin
  46412. getI2C2BIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46413. end;
  46414. procedure TINT_IEC1.setI2C2SIE; inline;
  46415. begin
  46416. pTDefRegMap(@Self)^.&set := $00001000;
  46417. end;
  46418. procedure TINT_IEC1.clearI2C2SIE; inline;
  46419. begin
  46420. pTDefRegMap(@Self)^.clr := $00001000;
  46421. end;
  46422. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  46423. begin
  46424. if thebits = 0 then
  46425. pTDefRegMap(@Self)^.clr := $00001000
  46426. else
  46427. pTDefRegMap(@Self)^.&set := $00001000;
  46428. end;
  46429. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  46430. begin
  46431. getI2C2SIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46432. end;
  46433. procedure TINT_IEC1.setI2C2MIE; inline;
  46434. begin
  46435. pTDefRegMap(@Self)^.&set := $00002000;
  46436. end;
  46437. procedure TINT_IEC1.clearI2C2MIE; inline;
  46438. begin
  46439. pTDefRegMap(@Self)^.clr := $00002000;
  46440. end;
  46441. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  46442. begin
  46443. if thebits = 0 then
  46444. pTDefRegMap(@Self)^.clr := $00002000
  46445. else
  46446. pTDefRegMap(@Self)^.&set := $00002000;
  46447. end;
  46448. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  46449. begin
  46450. getI2C2MIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46451. end;
  46452. procedure TINT_IEC1.setFSCMIE; inline;
  46453. begin
  46454. pTDefRegMap(@Self)^.&set := $00004000;
  46455. end;
  46456. procedure TINT_IEC1.clearFSCMIE; inline;
  46457. begin
  46458. pTDefRegMap(@Self)^.clr := $00004000;
  46459. end;
  46460. procedure TINT_IEC1.setFSCMIE(thebits : TBits_1); inline;
  46461. begin
  46462. if thebits = 0 then
  46463. pTDefRegMap(@Self)^.clr := $00004000
  46464. else
  46465. pTDefRegMap(@Self)^.&set := $00004000;
  46466. end;
  46467. function TINT_IEC1.getFSCMIE : TBits_1; inline;
  46468. begin
  46469. getFSCMIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46470. end;
  46471. procedure TINT_IEC1.setRTCCIE; inline;
  46472. begin
  46473. pTDefRegMap(@Self)^.&set := $00008000;
  46474. end;
  46475. procedure TINT_IEC1.clearRTCCIE; inline;
  46476. begin
  46477. pTDefRegMap(@Self)^.clr := $00008000;
  46478. end;
  46479. procedure TINT_IEC1.setRTCCIE(thebits : TBits_1); inline;
  46480. begin
  46481. if thebits = 0 then
  46482. pTDefRegMap(@Self)^.clr := $00008000
  46483. else
  46484. pTDefRegMap(@Self)^.&set := $00008000;
  46485. end;
  46486. function TINT_IEC1.getRTCCIE : TBits_1; inline;
  46487. begin
  46488. getRTCCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46489. end;
  46490. procedure TINT_IEC1.setDMA0IE; inline;
  46491. begin
  46492. pTDefRegMap(@Self)^.&set := $00010000;
  46493. end;
  46494. procedure TINT_IEC1.clearDMA0IE; inline;
  46495. begin
  46496. pTDefRegMap(@Self)^.clr := $00010000;
  46497. end;
  46498. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  46499. begin
  46500. if thebits = 0 then
  46501. pTDefRegMap(@Self)^.clr := $00010000
  46502. else
  46503. pTDefRegMap(@Self)^.&set := $00010000;
  46504. end;
  46505. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  46506. begin
  46507. getDMA0IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  46508. end;
  46509. procedure TINT_IEC1.setDMA1IE; inline;
  46510. begin
  46511. pTDefRegMap(@Self)^.&set := $00020000;
  46512. end;
  46513. procedure TINT_IEC1.clearDMA1IE; inline;
  46514. begin
  46515. pTDefRegMap(@Self)^.clr := $00020000;
  46516. end;
  46517. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  46518. begin
  46519. if thebits = 0 then
  46520. pTDefRegMap(@Self)^.clr := $00020000
  46521. else
  46522. pTDefRegMap(@Self)^.&set := $00020000;
  46523. end;
  46524. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  46525. begin
  46526. getDMA1IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  46527. end;
  46528. procedure TINT_IEC1.setDMA2IE; inline;
  46529. begin
  46530. pTDefRegMap(@Self)^.&set := $00040000;
  46531. end;
  46532. procedure TINT_IEC1.clearDMA2IE; inline;
  46533. begin
  46534. pTDefRegMap(@Self)^.clr := $00040000;
  46535. end;
  46536. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  46537. begin
  46538. if thebits = 0 then
  46539. pTDefRegMap(@Self)^.clr := $00040000
  46540. else
  46541. pTDefRegMap(@Self)^.&set := $00040000;
  46542. end;
  46543. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  46544. begin
  46545. getDMA2IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  46546. end;
  46547. procedure TINT_IEC1.setDMA3IE; inline;
  46548. begin
  46549. pTDefRegMap(@Self)^.&set := $00080000;
  46550. end;
  46551. procedure TINT_IEC1.clearDMA3IE; inline;
  46552. begin
  46553. pTDefRegMap(@Self)^.clr := $00080000;
  46554. end;
  46555. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  46556. begin
  46557. if thebits = 0 then
  46558. pTDefRegMap(@Self)^.clr := $00080000
  46559. else
  46560. pTDefRegMap(@Self)^.&set := $00080000;
  46561. end;
  46562. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  46563. begin
  46564. getDMA3IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  46565. end;
  46566. procedure TINT_IEC1.setDMA4IE; inline;
  46567. begin
  46568. pTDefRegMap(@Self)^.&set := $00100000;
  46569. end;
  46570. procedure TINT_IEC1.clearDMA4IE; inline;
  46571. begin
  46572. pTDefRegMap(@Self)^.clr := $00100000;
  46573. end;
  46574. procedure TINT_IEC1.setDMA4IE(thebits : TBits_1); inline;
  46575. begin
  46576. if thebits = 0 then
  46577. pTDefRegMap(@Self)^.clr := $00100000
  46578. else
  46579. pTDefRegMap(@Self)^.&set := $00100000;
  46580. end;
  46581. function TINT_IEC1.getDMA4IE : TBits_1; inline;
  46582. begin
  46583. getDMA4IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  46584. end;
  46585. procedure TINT_IEC1.setDMA5IE; inline;
  46586. begin
  46587. pTDefRegMap(@Self)^.&set := $00200000;
  46588. end;
  46589. procedure TINT_IEC1.clearDMA5IE; inline;
  46590. begin
  46591. pTDefRegMap(@Self)^.clr := $00200000;
  46592. end;
  46593. procedure TINT_IEC1.setDMA5IE(thebits : TBits_1); inline;
  46594. begin
  46595. if thebits = 0 then
  46596. pTDefRegMap(@Self)^.clr := $00200000
  46597. else
  46598. pTDefRegMap(@Self)^.&set := $00200000;
  46599. end;
  46600. function TINT_IEC1.getDMA5IE : TBits_1; inline;
  46601. begin
  46602. getDMA5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  46603. end;
  46604. procedure TINT_IEC1.setDMA6IE; inline;
  46605. begin
  46606. pTDefRegMap(@Self)^.&set := $00400000;
  46607. end;
  46608. procedure TINT_IEC1.clearDMA6IE; inline;
  46609. begin
  46610. pTDefRegMap(@Self)^.clr := $00400000;
  46611. end;
  46612. procedure TINT_IEC1.setDMA6IE(thebits : TBits_1); inline;
  46613. begin
  46614. if thebits = 0 then
  46615. pTDefRegMap(@Self)^.clr := $00400000
  46616. else
  46617. pTDefRegMap(@Self)^.&set := $00400000;
  46618. end;
  46619. function TINT_IEC1.getDMA6IE : TBits_1; inline;
  46620. begin
  46621. getDMA6IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  46622. end;
  46623. procedure TINT_IEC1.setDMA7IE; inline;
  46624. begin
  46625. pTDefRegMap(@Self)^.&set := $00800000;
  46626. end;
  46627. procedure TINT_IEC1.clearDMA7IE; inline;
  46628. begin
  46629. pTDefRegMap(@Self)^.clr := $00800000;
  46630. end;
  46631. procedure TINT_IEC1.setDMA7IE(thebits : TBits_1); inline;
  46632. begin
  46633. if thebits = 0 then
  46634. pTDefRegMap(@Self)^.clr := $00800000
  46635. else
  46636. pTDefRegMap(@Self)^.&set := $00800000;
  46637. end;
  46638. function TINT_IEC1.getDMA7IE : TBits_1; inline;
  46639. begin
  46640. getDMA7IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  46641. end;
  46642. procedure TINT_IEC1.setFCEIE; inline;
  46643. begin
  46644. pTDefRegMap(@Self)^.&set := $01000000;
  46645. end;
  46646. procedure TINT_IEC1.clearFCEIE; inline;
  46647. begin
  46648. pTDefRegMap(@Self)^.clr := $01000000;
  46649. end;
  46650. procedure TINT_IEC1.setFCEIE(thebits : TBits_1); inline;
  46651. begin
  46652. if thebits = 0 then
  46653. pTDefRegMap(@Self)^.clr := $01000000
  46654. else
  46655. pTDefRegMap(@Self)^.&set := $01000000;
  46656. end;
  46657. function TINT_IEC1.getFCEIE : TBits_1; inline;
  46658. begin
  46659. getFCEIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  46660. end;
  46661. procedure TINT_IEC1.setUSBIE; inline;
  46662. begin
  46663. pTDefRegMap(@Self)^.&set := $02000000;
  46664. end;
  46665. procedure TINT_IEC1.clearUSBIE; inline;
  46666. begin
  46667. pTDefRegMap(@Self)^.clr := $02000000;
  46668. end;
  46669. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  46670. begin
  46671. if thebits = 0 then
  46672. pTDefRegMap(@Self)^.clr := $02000000
  46673. else
  46674. pTDefRegMap(@Self)^.&set := $02000000;
  46675. end;
  46676. function TINT_IEC1.getUSBIE : TBits_1; inline;
  46677. begin
  46678. getUSBIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  46679. end;
  46680. procedure TINT_IEC1.setETHIE; inline;
  46681. begin
  46682. pTDefRegMap(@Self)^.&set := $10000000;
  46683. end;
  46684. procedure TINT_IEC1.clearETHIE; inline;
  46685. begin
  46686. pTDefRegMap(@Self)^.clr := $10000000;
  46687. end;
  46688. procedure TINT_IEC1.setETHIE(thebits : TBits_1); inline;
  46689. begin
  46690. if thebits = 0 then
  46691. pTDefRegMap(@Self)^.clr := $10000000
  46692. else
  46693. pTDefRegMap(@Self)^.&set := $10000000;
  46694. end;
  46695. function TINT_IEC1.getETHIE : TBits_1; inline;
  46696. begin
  46697. getETHIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  46698. end;
  46699. procedure TINT_IEC1.setIC1EIE; inline;
  46700. begin
  46701. pTDefRegMap(@Self)^.&set := $20000000;
  46702. end;
  46703. procedure TINT_IEC1.clearIC1EIE; inline;
  46704. begin
  46705. pTDefRegMap(@Self)^.clr := $20000000;
  46706. end;
  46707. procedure TINT_IEC1.setIC1EIE(thebits : TBits_1); inline;
  46708. begin
  46709. if thebits = 0 then
  46710. pTDefRegMap(@Self)^.clr := $20000000
  46711. else
  46712. pTDefRegMap(@Self)^.&set := $20000000;
  46713. end;
  46714. function TINT_IEC1.getIC1EIE : TBits_1; inline;
  46715. begin
  46716. getIC1EIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  46717. end;
  46718. procedure TINT_IEC1.setIC2EIE; inline;
  46719. begin
  46720. pTDefRegMap(@Self)^.&set := $40000000;
  46721. end;
  46722. procedure TINT_IEC1.clearIC2EIE; inline;
  46723. begin
  46724. pTDefRegMap(@Self)^.clr := $40000000;
  46725. end;
  46726. procedure TINT_IEC1.setIC2EIE(thebits : TBits_1); inline;
  46727. begin
  46728. if thebits = 0 then
  46729. pTDefRegMap(@Self)^.clr := $40000000
  46730. else
  46731. pTDefRegMap(@Self)^.&set := $40000000;
  46732. end;
  46733. function TINT_IEC1.getIC2EIE : TBits_1; inline;
  46734. begin
  46735. getIC2EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  46736. end;
  46737. procedure TINT_IEC1.setIC3EIE; inline;
  46738. begin
  46739. pTDefRegMap(@Self)^.&set := $80000000;
  46740. end;
  46741. procedure TINT_IEC1.clearIC3EIE; inline;
  46742. begin
  46743. pTDefRegMap(@Self)^.clr := $80000000;
  46744. end;
  46745. procedure TINT_IEC1.setIC3EIE(thebits : TBits_1); inline;
  46746. begin
  46747. if thebits = 0 then
  46748. pTDefRegMap(@Self)^.clr := $80000000
  46749. else
  46750. pTDefRegMap(@Self)^.&set := $80000000;
  46751. end;
  46752. function TINT_IEC1.getIC3EIE : TBits_1; inline;
  46753. begin
  46754. getIC3EIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  46755. end;
  46756. procedure TINT_IEC1.setU2AEIE; inline;
  46757. begin
  46758. pTDefRegMap(@Self)^.&set := $00000020;
  46759. end;
  46760. procedure TINT_IEC1.clearU2AEIE; inline;
  46761. begin
  46762. pTDefRegMap(@Self)^.clr := $00000020;
  46763. end;
  46764. procedure TINT_IEC1.setU2AEIE(thebits : TBits_1); inline;
  46765. begin
  46766. if thebits = 0 then
  46767. pTDefRegMap(@Self)^.clr := $00000020
  46768. else
  46769. pTDefRegMap(@Self)^.&set := $00000020;
  46770. end;
  46771. function TINT_IEC1.getU2AEIE : TBits_1; inline;
  46772. begin
  46773. getU2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46774. end;
  46775. procedure TINT_IEC1.setU2ARXIE; inline;
  46776. begin
  46777. pTDefRegMap(@Self)^.&set := $00000040;
  46778. end;
  46779. procedure TINT_IEC1.clearU2ARXIE; inline;
  46780. begin
  46781. pTDefRegMap(@Self)^.clr := $00000040;
  46782. end;
  46783. procedure TINT_IEC1.setU2ARXIE(thebits : TBits_1); inline;
  46784. begin
  46785. if thebits = 0 then
  46786. pTDefRegMap(@Self)^.clr := $00000040
  46787. else
  46788. pTDefRegMap(@Self)^.&set := $00000040;
  46789. end;
  46790. function TINT_IEC1.getU2ARXIE : TBits_1; inline;
  46791. begin
  46792. getU2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46793. end;
  46794. procedure TINT_IEC1.setU2ATXIE; inline;
  46795. begin
  46796. pTDefRegMap(@Self)^.&set := $00000080;
  46797. end;
  46798. procedure TINT_IEC1.clearU2ATXIE; inline;
  46799. begin
  46800. pTDefRegMap(@Self)^.clr := $00000080;
  46801. end;
  46802. procedure TINT_IEC1.setU2ATXIE(thebits : TBits_1); inline;
  46803. begin
  46804. if thebits = 0 then
  46805. pTDefRegMap(@Self)^.clr := $00000080
  46806. else
  46807. pTDefRegMap(@Self)^.&set := $00000080;
  46808. end;
  46809. function TINT_IEC1.getU2ATXIE : TBits_1; inline;
  46810. begin
  46811. getU2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46812. end;
  46813. procedure TINT_IEC1.setU3AEIE; inline;
  46814. begin
  46815. pTDefRegMap(@Self)^.&set := $00000100;
  46816. end;
  46817. procedure TINT_IEC1.clearU3AEIE; inline;
  46818. begin
  46819. pTDefRegMap(@Self)^.clr := $00000100;
  46820. end;
  46821. procedure TINT_IEC1.setU3AEIE(thebits : TBits_1); inline;
  46822. begin
  46823. if thebits = 0 then
  46824. pTDefRegMap(@Self)^.clr := $00000100
  46825. else
  46826. pTDefRegMap(@Self)^.&set := $00000100;
  46827. end;
  46828. function TINT_IEC1.getU3AEIE : TBits_1; inline;
  46829. begin
  46830. getU3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46831. end;
  46832. procedure TINT_IEC1.setU3ARXIE; inline;
  46833. begin
  46834. pTDefRegMap(@Self)^.&set := $00000200;
  46835. end;
  46836. procedure TINT_IEC1.clearU3ARXIE; inline;
  46837. begin
  46838. pTDefRegMap(@Self)^.clr := $00000200;
  46839. end;
  46840. procedure TINT_IEC1.setU3ARXIE(thebits : TBits_1); inline;
  46841. begin
  46842. if thebits = 0 then
  46843. pTDefRegMap(@Self)^.clr := $00000200
  46844. else
  46845. pTDefRegMap(@Self)^.&set := $00000200;
  46846. end;
  46847. function TINT_IEC1.getU3ARXIE : TBits_1; inline;
  46848. begin
  46849. getU3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46850. end;
  46851. procedure TINT_IEC1.setU3ATXIE; inline;
  46852. begin
  46853. pTDefRegMap(@Self)^.&set := $00000400;
  46854. end;
  46855. procedure TINT_IEC1.clearU3ATXIE; inline;
  46856. begin
  46857. pTDefRegMap(@Self)^.clr := $00000400;
  46858. end;
  46859. procedure TINT_IEC1.setU3ATXIE(thebits : TBits_1); inline;
  46860. begin
  46861. if thebits = 0 then
  46862. pTDefRegMap(@Self)^.clr := $00000400
  46863. else
  46864. pTDefRegMap(@Self)^.&set := $00000400;
  46865. end;
  46866. function TINT_IEC1.getU3ATXIE : TBits_1; inline;
  46867. begin
  46868. getU3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46869. end;
  46870. procedure TINT_IEC1.setSPI2EIE; inline;
  46871. begin
  46872. pTDefRegMap(@Self)^.&set := $00000020;
  46873. end;
  46874. procedure TINT_IEC1.clearSPI2EIE; inline;
  46875. begin
  46876. pTDefRegMap(@Self)^.clr := $00000020;
  46877. end;
  46878. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  46879. begin
  46880. if thebits = 0 then
  46881. pTDefRegMap(@Self)^.clr := $00000020
  46882. else
  46883. pTDefRegMap(@Self)^.&set := $00000020;
  46884. end;
  46885. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  46886. begin
  46887. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46888. end;
  46889. procedure TINT_IEC1.setSPI2RXIE; inline;
  46890. begin
  46891. pTDefRegMap(@Self)^.&set := $00000040;
  46892. end;
  46893. procedure TINT_IEC1.clearSPI2RXIE; inline;
  46894. begin
  46895. pTDefRegMap(@Self)^.clr := $00000040;
  46896. end;
  46897. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  46898. begin
  46899. if thebits = 0 then
  46900. pTDefRegMap(@Self)^.clr := $00000040
  46901. else
  46902. pTDefRegMap(@Self)^.&set := $00000040;
  46903. end;
  46904. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  46905. begin
  46906. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46907. end;
  46908. procedure TINT_IEC1.setSPI2TXIE; inline;
  46909. begin
  46910. pTDefRegMap(@Self)^.&set := $00000080;
  46911. end;
  46912. procedure TINT_IEC1.clearSPI2TXIE; inline;
  46913. begin
  46914. pTDefRegMap(@Self)^.clr := $00000080;
  46915. end;
  46916. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  46917. begin
  46918. if thebits = 0 then
  46919. pTDefRegMap(@Self)^.clr := $00000080
  46920. else
  46921. pTDefRegMap(@Self)^.&set := $00000080;
  46922. end;
  46923. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  46924. begin
  46925. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46926. end;
  46927. procedure TINT_IEC1.setSPI4EIE; inline;
  46928. begin
  46929. pTDefRegMap(@Self)^.&set := $00000100;
  46930. end;
  46931. procedure TINT_IEC1.clearSPI4EIE; inline;
  46932. begin
  46933. pTDefRegMap(@Self)^.clr := $00000100;
  46934. end;
  46935. procedure TINT_IEC1.setSPI4EIE(thebits : TBits_1); inline;
  46936. begin
  46937. if thebits = 0 then
  46938. pTDefRegMap(@Self)^.clr := $00000100
  46939. else
  46940. pTDefRegMap(@Self)^.&set := $00000100;
  46941. end;
  46942. function TINT_IEC1.getSPI4EIE : TBits_1; inline;
  46943. begin
  46944. getSPI4EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46945. end;
  46946. procedure TINT_IEC1.setSPI4RXIE; inline;
  46947. begin
  46948. pTDefRegMap(@Self)^.&set := $00000200;
  46949. end;
  46950. procedure TINT_IEC1.clearSPI4RXIE; inline;
  46951. begin
  46952. pTDefRegMap(@Self)^.clr := $00000200;
  46953. end;
  46954. procedure TINT_IEC1.setSPI4RXIE(thebits : TBits_1); inline;
  46955. begin
  46956. if thebits = 0 then
  46957. pTDefRegMap(@Self)^.clr := $00000200
  46958. else
  46959. pTDefRegMap(@Self)^.&set := $00000200;
  46960. end;
  46961. function TINT_IEC1.getSPI4RXIE : TBits_1; inline;
  46962. begin
  46963. getSPI4RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46964. end;
  46965. procedure TINT_IEC1.setSPI4TXIE; inline;
  46966. begin
  46967. pTDefRegMap(@Self)^.&set := $00000400;
  46968. end;
  46969. procedure TINT_IEC1.clearSPI4TXIE; inline;
  46970. begin
  46971. pTDefRegMap(@Self)^.clr := $00000400;
  46972. end;
  46973. procedure TINT_IEC1.setSPI4TXIE(thebits : TBits_1); inline;
  46974. begin
  46975. if thebits = 0 then
  46976. pTDefRegMap(@Self)^.clr := $00000400
  46977. else
  46978. pTDefRegMap(@Self)^.&set := $00000400;
  46979. end;
  46980. function TINT_IEC1.getSPI4TXIE : TBits_1; inline;
  46981. begin
  46982. getSPI4TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46983. end;
  46984. procedure TINT_IEC1.setSPI2AEIE; inline;
  46985. begin
  46986. pTDefRegMap(@Self)^.&set := $00000020;
  46987. end;
  46988. procedure TINT_IEC1.clearSPI2AEIE; inline;
  46989. begin
  46990. pTDefRegMap(@Self)^.clr := $00000020;
  46991. end;
  46992. procedure TINT_IEC1.setSPI2AEIE(thebits : TBits_1); inline;
  46993. begin
  46994. if thebits = 0 then
  46995. pTDefRegMap(@Self)^.clr := $00000020
  46996. else
  46997. pTDefRegMap(@Self)^.&set := $00000020;
  46998. end;
  46999. function TINT_IEC1.getSPI2AEIE : TBits_1; inline;
  47000. begin
  47001. getSPI2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47002. end;
  47003. procedure TINT_IEC1.setSPI2ARXIE; inline;
  47004. begin
  47005. pTDefRegMap(@Self)^.&set := $00000040;
  47006. end;
  47007. procedure TINT_IEC1.clearSPI2ARXIE; inline;
  47008. begin
  47009. pTDefRegMap(@Self)^.clr := $00000040;
  47010. end;
  47011. procedure TINT_IEC1.setSPI2ARXIE(thebits : TBits_1); inline;
  47012. begin
  47013. if thebits = 0 then
  47014. pTDefRegMap(@Self)^.clr := $00000040
  47015. else
  47016. pTDefRegMap(@Self)^.&set := $00000040;
  47017. end;
  47018. function TINT_IEC1.getSPI2ARXIE : TBits_1; inline;
  47019. begin
  47020. getSPI2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47021. end;
  47022. procedure TINT_IEC1.setSPI2ATXIE; inline;
  47023. begin
  47024. pTDefRegMap(@Self)^.&set := $00000080;
  47025. end;
  47026. procedure TINT_IEC1.clearSPI2ATXIE; inline;
  47027. begin
  47028. pTDefRegMap(@Self)^.clr := $00000080;
  47029. end;
  47030. procedure TINT_IEC1.setSPI2ATXIE(thebits : TBits_1); inline;
  47031. begin
  47032. if thebits = 0 then
  47033. pTDefRegMap(@Self)^.clr := $00000080
  47034. else
  47035. pTDefRegMap(@Self)^.&set := $00000080;
  47036. end;
  47037. function TINT_IEC1.getSPI2ATXIE : TBits_1; inline;
  47038. begin
  47039. getSPI2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47040. end;
  47041. procedure TINT_IEC1.setSPI3AEIE; inline;
  47042. begin
  47043. pTDefRegMap(@Self)^.&set := $00000100;
  47044. end;
  47045. procedure TINT_IEC1.clearSPI3AEIE; inline;
  47046. begin
  47047. pTDefRegMap(@Self)^.clr := $00000100;
  47048. end;
  47049. procedure TINT_IEC1.setSPI3AEIE(thebits : TBits_1); inline;
  47050. begin
  47051. if thebits = 0 then
  47052. pTDefRegMap(@Self)^.clr := $00000100
  47053. else
  47054. pTDefRegMap(@Self)^.&set := $00000100;
  47055. end;
  47056. function TINT_IEC1.getSPI3AEIE : TBits_1; inline;
  47057. begin
  47058. getSPI3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47059. end;
  47060. procedure TINT_IEC1.setSPI3ARXIE; inline;
  47061. begin
  47062. pTDefRegMap(@Self)^.&set := $00000200;
  47063. end;
  47064. procedure TINT_IEC1.clearSPI3ARXIE; inline;
  47065. begin
  47066. pTDefRegMap(@Self)^.clr := $00000200;
  47067. end;
  47068. procedure TINT_IEC1.setSPI3ARXIE(thebits : TBits_1); inline;
  47069. begin
  47070. if thebits = 0 then
  47071. pTDefRegMap(@Self)^.clr := $00000200
  47072. else
  47073. pTDefRegMap(@Self)^.&set := $00000200;
  47074. end;
  47075. function TINT_IEC1.getSPI3ARXIE : TBits_1; inline;
  47076. begin
  47077. getSPI3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47078. end;
  47079. procedure TINT_IEC1.setSPI3ATXIE; inline;
  47080. begin
  47081. pTDefRegMap(@Self)^.&set := $00000400;
  47082. end;
  47083. procedure TINT_IEC1.clearSPI3ATXIE; inline;
  47084. begin
  47085. pTDefRegMap(@Self)^.clr := $00000400;
  47086. end;
  47087. procedure TINT_IEC1.setSPI3ATXIE(thebits : TBits_1); inline;
  47088. begin
  47089. if thebits = 0 then
  47090. pTDefRegMap(@Self)^.clr := $00000400
  47091. else
  47092. pTDefRegMap(@Self)^.&set := $00000400;
  47093. end;
  47094. function TINT_IEC1.getSPI3ATXIE : TBits_1; inline;
  47095. begin
  47096. getSPI3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47097. end;
  47098. procedure TINT_IEC1.setI2C4BIE; inline;
  47099. begin
  47100. pTDefRegMap(@Self)^.&set := $00000020;
  47101. end;
  47102. procedure TINT_IEC1.clearI2C4BIE; inline;
  47103. begin
  47104. pTDefRegMap(@Self)^.clr := $00000020;
  47105. end;
  47106. procedure TINT_IEC1.setI2C4BIE(thebits : TBits_1); inline;
  47107. begin
  47108. if thebits = 0 then
  47109. pTDefRegMap(@Self)^.clr := $00000020
  47110. else
  47111. pTDefRegMap(@Self)^.&set := $00000020;
  47112. end;
  47113. function TINT_IEC1.getI2C4BIE : TBits_1; inline;
  47114. begin
  47115. getI2C4BIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47116. end;
  47117. procedure TINT_IEC1.setI2C4SIE; inline;
  47118. begin
  47119. pTDefRegMap(@Self)^.&set := $00000040;
  47120. end;
  47121. procedure TINT_IEC1.clearI2C4SIE; inline;
  47122. begin
  47123. pTDefRegMap(@Self)^.clr := $00000040;
  47124. end;
  47125. procedure TINT_IEC1.setI2C4SIE(thebits : TBits_1); inline;
  47126. begin
  47127. if thebits = 0 then
  47128. pTDefRegMap(@Self)^.clr := $00000040
  47129. else
  47130. pTDefRegMap(@Self)^.&set := $00000040;
  47131. end;
  47132. function TINT_IEC1.getI2C4SIE : TBits_1; inline;
  47133. begin
  47134. getI2C4SIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47135. end;
  47136. procedure TINT_IEC1.setI2C4MIE; inline;
  47137. begin
  47138. pTDefRegMap(@Self)^.&set := $00000080;
  47139. end;
  47140. procedure TINT_IEC1.clearI2C4MIE; inline;
  47141. begin
  47142. pTDefRegMap(@Self)^.clr := $00000080;
  47143. end;
  47144. procedure TINT_IEC1.setI2C4MIE(thebits : TBits_1); inline;
  47145. begin
  47146. if thebits = 0 then
  47147. pTDefRegMap(@Self)^.clr := $00000080
  47148. else
  47149. pTDefRegMap(@Self)^.&set := $00000080;
  47150. end;
  47151. function TINT_IEC1.getI2C4MIE : TBits_1; inline;
  47152. begin
  47153. getI2C4MIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47154. end;
  47155. procedure TINT_IEC1.setI2C5BIE; inline;
  47156. begin
  47157. pTDefRegMap(@Self)^.&set := $00000100;
  47158. end;
  47159. procedure TINT_IEC1.clearI2C5BIE; inline;
  47160. begin
  47161. pTDefRegMap(@Self)^.clr := $00000100;
  47162. end;
  47163. procedure TINT_IEC1.setI2C5BIE(thebits : TBits_1); inline;
  47164. begin
  47165. if thebits = 0 then
  47166. pTDefRegMap(@Self)^.clr := $00000100
  47167. else
  47168. pTDefRegMap(@Self)^.&set := $00000100;
  47169. end;
  47170. function TINT_IEC1.getI2C5BIE : TBits_1; inline;
  47171. begin
  47172. getI2C5BIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47173. end;
  47174. procedure TINT_IEC1.setI2C5SIE; inline;
  47175. begin
  47176. pTDefRegMap(@Self)^.&set := $00000200;
  47177. end;
  47178. procedure TINT_IEC1.clearI2C5SIE; inline;
  47179. begin
  47180. pTDefRegMap(@Self)^.clr := $00000200;
  47181. end;
  47182. procedure TINT_IEC1.setI2C5SIE(thebits : TBits_1); inline;
  47183. begin
  47184. if thebits = 0 then
  47185. pTDefRegMap(@Self)^.clr := $00000200
  47186. else
  47187. pTDefRegMap(@Self)^.&set := $00000200;
  47188. end;
  47189. function TINT_IEC1.getI2C5SIE : TBits_1; inline;
  47190. begin
  47191. getI2C5SIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47192. end;
  47193. procedure TINT_IEC1.setI2C5MIE; inline;
  47194. begin
  47195. pTDefRegMap(@Self)^.&set := $00000400;
  47196. end;
  47197. procedure TINT_IEC1.clearI2C5MIE; inline;
  47198. begin
  47199. pTDefRegMap(@Self)^.clr := $00000400;
  47200. end;
  47201. procedure TINT_IEC1.setI2C5MIE(thebits : TBits_1); inline;
  47202. begin
  47203. if thebits = 0 then
  47204. pTDefRegMap(@Self)^.clr := $00000400
  47205. else
  47206. pTDefRegMap(@Self)^.&set := $00000400;
  47207. end;
  47208. function TINT_IEC1.getI2C5MIE : TBits_1; inline;
  47209. begin
  47210. getI2C5MIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47211. end;
  47212. procedure TINT_IEC1.setI2C2ABIE; inline;
  47213. begin
  47214. pTDefRegMap(@Self)^.&set := $00000020;
  47215. end;
  47216. procedure TINT_IEC1.clearI2C2ABIE; inline;
  47217. begin
  47218. pTDefRegMap(@Self)^.clr := $00000020;
  47219. end;
  47220. procedure TINT_IEC1.setI2C2ABIE(thebits : TBits_1); inline;
  47221. begin
  47222. if thebits = 0 then
  47223. pTDefRegMap(@Self)^.clr := $00000020
  47224. else
  47225. pTDefRegMap(@Self)^.&set := $00000020;
  47226. end;
  47227. function TINT_IEC1.getI2C2ABIE : TBits_1; inline;
  47228. begin
  47229. getI2C2ABIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47230. end;
  47231. procedure TINT_IEC1.setI2C2ASIE; inline;
  47232. begin
  47233. pTDefRegMap(@Self)^.&set := $00000040;
  47234. end;
  47235. procedure TINT_IEC1.clearI2C2ASIE; inline;
  47236. begin
  47237. pTDefRegMap(@Self)^.clr := $00000040;
  47238. end;
  47239. procedure TINT_IEC1.setI2C2ASIE(thebits : TBits_1); inline;
  47240. begin
  47241. if thebits = 0 then
  47242. pTDefRegMap(@Self)^.clr := $00000040
  47243. else
  47244. pTDefRegMap(@Self)^.&set := $00000040;
  47245. end;
  47246. function TINT_IEC1.getI2C2ASIE : TBits_1; inline;
  47247. begin
  47248. getI2C2ASIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47249. end;
  47250. procedure TINT_IEC1.setI2C2AMIE; inline;
  47251. begin
  47252. pTDefRegMap(@Self)^.&set := $00000080;
  47253. end;
  47254. procedure TINT_IEC1.clearI2C2AMIE; inline;
  47255. begin
  47256. pTDefRegMap(@Self)^.clr := $00000080;
  47257. end;
  47258. procedure TINT_IEC1.setI2C2AMIE(thebits : TBits_1); inline;
  47259. begin
  47260. if thebits = 0 then
  47261. pTDefRegMap(@Self)^.clr := $00000080
  47262. else
  47263. pTDefRegMap(@Self)^.&set := $00000080;
  47264. end;
  47265. function TINT_IEC1.getI2C2AMIE : TBits_1; inline;
  47266. begin
  47267. getI2C2AMIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47268. end;
  47269. procedure TINT_IEC1.setI2C3ABIE; inline;
  47270. begin
  47271. pTDefRegMap(@Self)^.&set := $00000100;
  47272. end;
  47273. procedure TINT_IEC1.clearI2C3ABIE; inline;
  47274. begin
  47275. pTDefRegMap(@Self)^.clr := $00000100;
  47276. end;
  47277. procedure TINT_IEC1.setI2C3ABIE(thebits : TBits_1); inline;
  47278. begin
  47279. if thebits = 0 then
  47280. pTDefRegMap(@Self)^.clr := $00000100
  47281. else
  47282. pTDefRegMap(@Self)^.&set := $00000100;
  47283. end;
  47284. function TINT_IEC1.getI2C3ABIE : TBits_1; inline;
  47285. begin
  47286. getI2C3ABIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47287. end;
  47288. procedure TINT_IEC1.setI2C3ASIE; inline;
  47289. begin
  47290. pTDefRegMap(@Self)^.&set := $00000200;
  47291. end;
  47292. procedure TINT_IEC1.clearI2C3ASIE; inline;
  47293. begin
  47294. pTDefRegMap(@Self)^.clr := $00000200;
  47295. end;
  47296. procedure TINT_IEC1.setI2C3ASIE(thebits : TBits_1); inline;
  47297. begin
  47298. if thebits = 0 then
  47299. pTDefRegMap(@Self)^.clr := $00000200
  47300. else
  47301. pTDefRegMap(@Self)^.&set := $00000200;
  47302. end;
  47303. function TINT_IEC1.getI2C3ASIE : TBits_1; inline;
  47304. begin
  47305. getI2C3ASIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47306. end;
  47307. procedure TINT_IEC1.setI2C3AMIE; inline;
  47308. begin
  47309. pTDefRegMap(@Self)^.&set := $00000400;
  47310. end;
  47311. procedure TINT_IEC1.clearI2C3AMIE; inline;
  47312. begin
  47313. pTDefRegMap(@Self)^.clr := $00000400;
  47314. end;
  47315. procedure TINT_IEC1.setI2C3AMIE(thebits : TBits_1); inline;
  47316. begin
  47317. if thebits = 0 then
  47318. pTDefRegMap(@Self)^.clr := $00000400
  47319. else
  47320. pTDefRegMap(@Self)^.&set := $00000400;
  47321. end;
  47322. function TINT_IEC1.getI2C3AMIE : TBits_1; inline;
  47323. begin
  47324. getI2C3AMIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47325. end;
  47326. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  47327. begin
  47328. pTDefRegMap(@Self)^.val := thebits;
  47329. end;
  47330. function TINT_IEC1.getw : TBits_32; inline;
  47331. begin
  47332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47333. end;
  47334. procedure TINT_IEC2.setIC4EIE; inline;
  47335. begin
  47336. pTDefRegMap(@Self)^.&set := $00000001;
  47337. end;
  47338. procedure TINT_IEC2.clearIC4EIE; inline;
  47339. begin
  47340. pTDefRegMap(@Self)^.clr := $00000001;
  47341. end;
  47342. procedure TINT_IEC2.setIC4EIE(thebits : TBits_1); inline;
  47343. begin
  47344. if thebits = 0 then
  47345. pTDefRegMap(@Self)^.clr := $00000001
  47346. else
  47347. pTDefRegMap(@Self)^.&set := $00000001;
  47348. end;
  47349. function TINT_IEC2.getIC4EIE : TBits_1; inline;
  47350. begin
  47351. getIC4EIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47352. end;
  47353. procedure TINT_IEC2.setIC5EIE; inline;
  47354. begin
  47355. pTDefRegMap(@Self)^.&set := $00000002;
  47356. end;
  47357. procedure TINT_IEC2.clearIC5EIE; inline;
  47358. begin
  47359. pTDefRegMap(@Self)^.clr := $00000002;
  47360. end;
  47361. procedure TINT_IEC2.setIC5EIE(thebits : TBits_1); inline;
  47362. begin
  47363. if thebits = 0 then
  47364. pTDefRegMap(@Self)^.clr := $00000002
  47365. else
  47366. pTDefRegMap(@Self)^.&set := $00000002;
  47367. end;
  47368. function TINT_IEC2.getIC5EIE : TBits_1; inline;
  47369. begin
  47370. getIC5EIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47371. end;
  47372. procedure TINT_IEC2.setPMPEIE; inline;
  47373. begin
  47374. pTDefRegMap(@Self)^.&set := $00000004;
  47375. end;
  47376. procedure TINT_IEC2.clearPMPEIE; inline;
  47377. begin
  47378. pTDefRegMap(@Self)^.clr := $00000004;
  47379. end;
  47380. procedure TINT_IEC2.setPMPEIE(thebits : TBits_1); inline;
  47381. begin
  47382. if thebits = 0 then
  47383. pTDefRegMap(@Self)^.clr := $00000004
  47384. else
  47385. pTDefRegMap(@Self)^.&set := $00000004;
  47386. end;
  47387. function TINT_IEC2.getPMPEIE : TBits_1; inline;
  47388. begin
  47389. getPMPEIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47390. end;
  47391. procedure TINT_IEC2.setU1BEIE; inline;
  47392. begin
  47393. pTDefRegMap(@Self)^.&set := $00000008;
  47394. end;
  47395. procedure TINT_IEC2.clearU1BEIE; inline;
  47396. begin
  47397. pTDefRegMap(@Self)^.clr := $00000008;
  47398. end;
  47399. procedure TINT_IEC2.setU1BEIE(thebits : TBits_1); inline;
  47400. begin
  47401. if thebits = 0 then
  47402. pTDefRegMap(@Self)^.clr := $00000008
  47403. else
  47404. pTDefRegMap(@Self)^.&set := $00000008;
  47405. end;
  47406. function TINT_IEC2.getU1BEIE : TBits_1; inline;
  47407. begin
  47408. getU1BEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47409. end;
  47410. procedure TINT_IEC2.setU1BRXIE; inline;
  47411. begin
  47412. pTDefRegMap(@Self)^.&set := $00000010;
  47413. end;
  47414. procedure TINT_IEC2.clearU1BRXIE; inline;
  47415. begin
  47416. pTDefRegMap(@Self)^.clr := $00000010;
  47417. end;
  47418. procedure TINT_IEC2.setU1BRXIE(thebits : TBits_1); inline;
  47419. begin
  47420. if thebits = 0 then
  47421. pTDefRegMap(@Self)^.clr := $00000010
  47422. else
  47423. pTDefRegMap(@Self)^.&set := $00000010;
  47424. end;
  47425. function TINT_IEC2.getU1BRXIE : TBits_1; inline;
  47426. begin
  47427. getU1BRXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47428. end;
  47429. procedure TINT_IEC2.setU1BTXIE; inline;
  47430. begin
  47431. pTDefRegMap(@Self)^.&set := $00000020;
  47432. end;
  47433. procedure TINT_IEC2.clearU1BTXIE; inline;
  47434. begin
  47435. pTDefRegMap(@Self)^.clr := $00000020;
  47436. end;
  47437. procedure TINT_IEC2.setU1BTXIE(thebits : TBits_1); inline;
  47438. begin
  47439. if thebits = 0 then
  47440. pTDefRegMap(@Self)^.clr := $00000020
  47441. else
  47442. pTDefRegMap(@Self)^.&set := $00000020;
  47443. end;
  47444. function TINT_IEC2.getU1BTXIE : TBits_1; inline;
  47445. begin
  47446. getU1BTXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47447. end;
  47448. procedure TINT_IEC2.setU2BEIE; inline;
  47449. begin
  47450. pTDefRegMap(@Self)^.&set := $00000040;
  47451. end;
  47452. procedure TINT_IEC2.clearU2BEIE; inline;
  47453. begin
  47454. pTDefRegMap(@Self)^.clr := $00000040;
  47455. end;
  47456. procedure TINT_IEC2.setU2BEIE(thebits : TBits_1); inline;
  47457. begin
  47458. if thebits = 0 then
  47459. pTDefRegMap(@Self)^.clr := $00000040
  47460. else
  47461. pTDefRegMap(@Self)^.&set := $00000040;
  47462. end;
  47463. function TINT_IEC2.getU2BEIE : TBits_1; inline;
  47464. begin
  47465. getU2BEIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47466. end;
  47467. procedure TINT_IEC2.setU2BRXIE; inline;
  47468. begin
  47469. pTDefRegMap(@Self)^.&set := $00000080;
  47470. end;
  47471. procedure TINT_IEC2.clearU2BRXIE; inline;
  47472. begin
  47473. pTDefRegMap(@Self)^.clr := $00000080;
  47474. end;
  47475. procedure TINT_IEC2.setU2BRXIE(thebits : TBits_1); inline;
  47476. begin
  47477. if thebits = 0 then
  47478. pTDefRegMap(@Self)^.clr := $00000080
  47479. else
  47480. pTDefRegMap(@Self)^.&set := $00000080;
  47481. end;
  47482. function TINT_IEC2.getU2BRXIE : TBits_1; inline;
  47483. begin
  47484. getU2BRXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47485. end;
  47486. procedure TINT_IEC2.setU2BTXIE; inline;
  47487. begin
  47488. pTDefRegMap(@Self)^.&set := $00000100;
  47489. end;
  47490. procedure TINT_IEC2.clearU2BTXIE; inline;
  47491. begin
  47492. pTDefRegMap(@Self)^.clr := $00000100;
  47493. end;
  47494. procedure TINT_IEC2.setU2BTXIE(thebits : TBits_1); inline;
  47495. begin
  47496. if thebits = 0 then
  47497. pTDefRegMap(@Self)^.clr := $00000100
  47498. else
  47499. pTDefRegMap(@Self)^.&set := $00000100;
  47500. end;
  47501. function TINT_IEC2.getU2BTXIE : TBits_1; inline;
  47502. begin
  47503. getU2BTXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47504. end;
  47505. procedure TINT_IEC2.setU3BEIE; inline;
  47506. begin
  47507. pTDefRegMap(@Self)^.&set := $00000200;
  47508. end;
  47509. procedure TINT_IEC2.clearU3BEIE; inline;
  47510. begin
  47511. pTDefRegMap(@Self)^.clr := $00000200;
  47512. end;
  47513. procedure TINT_IEC2.setU3BEIE(thebits : TBits_1); inline;
  47514. begin
  47515. if thebits = 0 then
  47516. pTDefRegMap(@Self)^.clr := $00000200
  47517. else
  47518. pTDefRegMap(@Self)^.&set := $00000200;
  47519. end;
  47520. function TINT_IEC2.getU3BEIE : TBits_1; inline;
  47521. begin
  47522. getU3BEIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47523. end;
  47524. procedure TINT_IEC2.setU3BRXIE; inline;
  47525. begin
  47526. pTDefRegMap(@Self)^.&set := $00000400;
  47527. end;
  47528. procedure TINT_IEC2.clearU3BRXIE; inline;
  47529. begin
  47530. pTDefRegMap(@Self)^.clr := $00000400;
  47531. end;
  47532. procedure TINT_IEC2.setU3BRXIE(thebits : TBits_1); inline;
  47533. begin
  47534. if thebits = 0 then
  47535. pTDefRegMap(@Self)^.clr := $00000400
  47536. else
  47537. pTDefRegMap(@Self)^.&set := $00000400;
  47538. end;
  47539. function TINT_IEC2.getU3BRXIE : TBits_1; inline;
  47540. begin
  47541. getU3BRXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47542. end;
  47543. procedure TINT_IEC2.setU3BTXIE; inline;
  47544. begin
  47545. pTDefRegMap(@Self)^.&set := $00000800;
  47546. end;
  47547. procedure TINT_IEC2.clearU3BTXIE; inline;
  47548. begin
  47549. pTDefRegMap(@Self)^.clr := $00000800;
  47550. end;
  47551. procedure TINT_IEC2.setU3BTXIE(thebits : TBits_1); inline;
  47552. begin
  47553. if thebits = 0 then
  47554. pTDefRegMap(@Self)^.clr := $00000800
  47555. else
  47556. pTDefRegMap(@Self)^.&set := $00000800;
  47557. end;
  47558. function TINT_IEC2.getU3BTXIE : TBits_1; inline;
  47559. begin
  47560. getU3BTXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47561. end;
  47562. procedure TINT_IEC2.setU4EIE; inline;
  47563. begin
  47564. pTDefRegMap(@Self)^.&set := $00000008;
  47565. end;
  47566. procedure TINT_IEC2.clearU4EIE; inline;
  47567. begin
  47568. pTDefRegMap(@Self)^.clr := $00000008;
  47569. end;
  47570. procedure TINT_IEC2.setU4EIE(thebits : TBits_1); inline;
  47571. begin
  47572. if thebits = 0 then
  47573. pTDefRegMap(@Self)^.clr := $00000008
  47574. else
  47575. pTDefRegMap(@Self)^.&set := $00000008;
  47576. end;
  47577. function TINT_IEC2.getU4EIE : TBits_1; inline;
  47578. begin
  47579. getU4EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47580. end;
  47581. procedure TINT_IEC2.setU4RXIE; inline;
  47582. begin
  47583. pTDefRegMap(@Self)^.&set := $00000010;
  47584. end;
  47585. procedure TINT_IEC2.clearU4RXIE; inline;
  47586. begin
  47587. pTDefRegMap(@Self)^.clr := $00000010;
  47588. end;
  47589. procedure TINT_IEC2.setU4RXIE(thebits : TBits_1); inline;
  47590. begin
  47591. if thebits = 0 then
  47592. pTDefRegMap(@Self)^.clr := $00000010
  47593. else
  47594. pTDefRegMap(@Self)^.&set := $00000010;
  47595. end;
  47596. function TINT_IEC2.getU4RXIE : TBits_1; inline;
  47597. begin
  47598. getU4RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47599. end;
  47600. procedure TINT_IEC2.setU4TXIE; inline;
  47601. begin
  47602. pTDefRegMap(@Self)^.&set := $00000020;
  47603. end;
  47604. procedure TINT_IEC2.clearU4TXIE; inline;
  47605. begin
  47606. pTDefRegMap(@Self)^.clr := $00000020;
  47607. end;
  47608. procedure TINT_IEC2.setU4TXIE(thebits : TBits_1); inline;
  47609. begin
  47610. if thebits = 0 then
  47611. pTDefRegMap(@Self)^.clr := $00000020
  47612. else
  47613. pTDefRegMap(@Self)^.&set := $00000020;
  47614. end;
  47615. function TINT_IEC2.getU4TXIE : TBits_1; inline;
  47616. begin
  47617. getU4TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47618. end;
  47619. procedure TINT_IEC2.setU6EIE; inline;
  47620. begin
  47621. pTDefRegMap(@Self)^.&set := $00000040;
  47622. end;
  47623. procedure TINT_IEC2.clearU6EIE; inline;
  47624. begin
  47625. pTDefRegMap(@Self)^.clr := $00000040;
  47626. end;
  47627. procedure TINT_IEC2.setU6EIE(thebits : TBits_1); inline;
  47628. begin
  47629. if thebits = 0 then
  47630. pTDefRegMap(@Self)^.clr := $00000040
  47631. else
  47632. pTDefRegMap(@Self)^.&set := $00000040;
  47633. end;
  47634. function TINT_IEC2.getU6EIE : TBits_1; inline;
  47635. begin
  47636. getU6EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47637. end;
  47638. procedure TINT_IEC2.setU6RXIE; inline;
  47639. begin
  47640. pTDefRegMap(@Self)^.&set := $00000080;
  47641. end;
  47642. procedure TINT_IEC2.clearU6RXIE; inline;
  47643. begin
  47644. pTDefRegMap(@Self)^.clr := $00000080;
  47645. end;
  47646. procedure TINT_IEC2.setU6RXIE(thebits : TBits_1); inline;
  47647. begin
  47648. if thebits = 0 then
  47649. pTDefRegMap(@Self)^.clr := $00000080
  47650. else
  47651. pTDefRegMap(@Self)^.&set := $00000080;
  47652. end;
  47653. function TINT_IEC2.getU6RXIE : TBits_1; inline;
  47654. begin
  47655. getU6RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47656. end;
  47657. procedure TINT_IEC2.setU6TXIE; inline;
  47658. begin
  47659. pTDefRegMap(@Self)^.&set := $00000100;
  47660. end;
  47661. procedure TINT_IEC2.clearU6TXIE; inline;
  47662. begin
  47663. pTDefRegMap(@Self)^.clr := $00000100;
  47664. end;
  47665. procedure TINT_IEC2.setU6TXIE(thebits : TBits_1); inline;
  47666. begin
  47667. if thebits = 0 then
  47668. pTDefRegMap(@Self)^.clr := $00000100
  47669. else
  47670. pTDefRegMap(@Self)^.&set := $00000100;
  47671. end;
  47672. function TINT_IEC2.getU6TXIE : TBits_1; inline;
  47673. begin
  47674. getU6TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47675. end;
  47676. procedure TINT_IEC2.setU5EIE; inline;
  47677. begin
  47678. pTDefRegMap(@Self)^.&set := $00000200;
  47679. end;
  47680. procedure TINT_IEC2.clearU5EIE; inline;
  47681. begin
  47682. pTDefRegMap(@Self)^.clr := $00000200;
  47683. end;
  47684. procedure TINT_IEC2.setU5EIE(thebits : TBits_1); inline;
  47685. begin
  47686. if thebits = 0 then
  47687. pTDefRegMap(@Self)^.clr := $00000200
  47688. else
  47689. pTDefRegMap(@Self)^.&set := $00000200;
  47690. end;
  47691. function TINT_IEC2.getU5EIE : TBits_1; inline;
  47692. begin
  47693. getU5EIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47694. end;
  47695. procedure TINT_IEC2.setU5RXIE; inline;
  47696. begin
  47697. pTDefRegMap(@Self)^.&set := $00000400;
  47698. end;
  47699. procedure TINT_IEC2.clearU5RXIE; inline;
  47700. begin
  47701. pTDefRegMap(@Self)^.clr := $00000400;
  47702. end;
  47703. procedure TINT_IEC2.setU5RXIE(thebits : TBits_1); inline;
  47704. begin
  47705. if thebits = 0 then
  47706. pTDefRegMap(@Self)^.clr := $00000400
  47707. else
  47708. pTDefRegMap(@Self)^.&set := $00000400;
  47709. end;
  47710. function TINT_IEC2.getU5RXIE : TBits_1; inline;
  47711. begin
  47712. getU5RXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47713. end;
  47714. procedure TINT_IEC2.setU5TXIE; inline;
  47715. begin
  47716. pTDefRegMap(@Self)^.&set := $00000800;
  47717. end;
  47718. procedure TINT_IEC2.clearU5TXIE; inline;
  47719. begin
  47720. pTDefRegMap(@Self)^.clr := $00000800;
  47721. end;
  47722. procedure TINT_IEC2.setU5TXIE(thebits : TBits_1); inline;
  47723. begin
  47724. if thebits = 0 then
  47725. pTDefRegMap(@Self)^.clr := $00000800
  47726. else
  47727. pTDefRegMap(@Self)^.&set := $00000800;
  47728. end;
  47729. function TINT_IEC2.getU5TXIE : TBits_1; inline;
  47730. begin
  47731. getU5TXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47732. end;
  47733. procedure TINT_IEC2.setw(thebits : TBits_32); inline;
  47734. begin
  47735. pTDefRegMap(@Self)^.val := thebits;
  47736. end;
  47737. function TINT_IEC2.getw : TBits_32; inline;
  47738. begin
  47739. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47740. end;
  47741. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  47742. begin
  47743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47744. end;
  47745. function TINT_IPC0.getCTIS : TBits_2; inline;
  47746. begin
  47747. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47748. end;
  47749. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  47750. begin
  47751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47752. end;
  47753. function TINT_IPC0.getCTIP : TBits_3; inline;
  47754. begin
  47755. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47756. end;
  47757. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  47758. begin
  47759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47760. end;
  47761. function TINT_IPC0.getCS0IS : TBits_2; inline;
  47762. begin
  47763. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47764. end;
  47765. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  47766. begin
  47767. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47768. end;
  47769. function TINT_IPC0.getCS0IP : TBits_3; inline;
  47770. begin
  47771. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47772. end;
  47773. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  47774. begin
  47775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47776. end;
  47777. function TINT_IPC0.getCS1IS : TBits_2; inline;
  47778. begin
  47779. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47780. end;
  47781. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  47782. begin
  47783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47784. end;
  47785. function TINT_IPC0.getCS1IP : TBits_3; inline;
  47786. begin
  47787. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47788. end;
  47789. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  47790. begin
  47791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47792. end;
  47793. function TINT_IPC0.getINT0IS : TBits_2; inline;
  47794. begin
  47795. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47796. end;
  47797. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  47798. begin
  47799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47800. end;
  47801. function TINT_IPC0.getINT0IP : TBits_3; inline;
  47802. begin
  47803. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47804. end;
  47805. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  47806. begin
  47807. pTDefRegMap(@Self)^.val := thebits;
  47808. end;
  47809. function TINT_IPC0.getw : TBits_32; inline;
  47810. begin
  47811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47812. end;
  47813. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  47814. begin
  47815. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47816. end;
  47817. function TINT_IPC1.getT1IS : TBits_2; inline;
  47818. begin
  47819. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47820. end;
  47821. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  47822. begin
  47823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47824. end;
  47825. function TINT_IPC1.getT1IP : TBits_3; inline;
  47826. begin
  47827. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47828. end;
  47829. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  47830. begin
  47831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47832. end;
  47833. function TINT_IPC1.getIC1IS : TBits_2; inline;
  47834. begin
  47835. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47836. end;
  47837. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  47838. begin
  47839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47840. end;
  47841. function TINT_IPC1.getIC1IP : TBits_3; inline;
  47842. begin
  47843. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47844. end;
  47845. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  47846. begin
  47847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47848. end;
  47849. function TINT_IPC1.getOC1IS : TBits_2; inline;
  47850. begin
  47851. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47852. end;
  47853. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  47854. begin
  47855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47856. end;
  47857. function TINT_IPC1.getOC1IP : TBits_3; inline;
  47858. begin
  47859. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47860. end;
  47861. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  47862. begin
  47863. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47864. end;
  47865. function TINT_IPC1.getINT1IS : TBits_2; inline;
  47866. begin
  47867. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47868. end;
  47869. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  47870. begin
  47871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47872. end;
  47873. function TINT_IPC1.getINT1IP : TBits_3; inline;
  47874. begin
  47875. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47876. end;
  47877. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  47878. begin
  47879. pTDefRegMap(@Self)^.val := thebits;
  47880. end;
  47881. function TINT_IPC1.getw : TBits_32; inline;
  47882. begin
  47883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47884. end;
  47885. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  47886. begin
  47887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47888. end;
  47889. function TINT_IPC2.getT2IS : TBits_2; inline;
  47890. begin
  47891. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47892. end;
  47893. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  47894. begin
  47895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47896. end;
  47897. function TINT_IPC2.getT2IP : TBits_3; inline;
  47898. begin
  47899. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47900. end;
  47901. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  47902. begin
  47903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47904. end;
  47905. function TINT_IPC2.getIC2IS : TBits_2; inline;
  47906. begin
  47907. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47908. end;
  47909. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  47910. begin
  47911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47912. end;
  47913. function TINT_IPC2.getIC2IP : TBits_3; inline;
  47914. begin
  47915. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47916. end;
  47917. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  47918. begin
  47919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47920. end;
  47921. function TINT_IPC2.getOC2IS : TBits_2; inline;
  47922. begin
  47923. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47924. end;
  47925. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  47926. begin
  47927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47928. end;
  47929. function TINT_IPC2.getOC2IP : TBits_3; inline;
  47930. begin
  47931. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47932. end;
  47933. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  47934. begin
  47935. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47936. end;
  47937. function TINT_IPC2.getINT2IS : TBits_2; inline;
  47938. begin
  47939. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47940. end;
  47941. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  47942. begin
  47943. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47944. end;
  47945. function TINT_IPC2.getINT2IP : TBits_3; inline;
  47946. begin
  47947. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47948. end;
  47949. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  47950. begin
  47951. pTDefRegMap(@Self)^.val := thebits;
  47952. end;
  47953. function TINT_IPC2.getw : TBits_32; inline;
  47954. begin
  47955. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47956. end;
  47957. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  47958. begin
  47959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47960. end;
  47961. function TINT_IPC3.getT3IS : TBits_2; inline;
  47962. begin
  47963. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47964. end;
  47965. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  47966. begin
  47967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47968. end;
  47969. function TINT_IPC3.getT3IP : TBits_3; inline;
  47970. begin
  47971. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47972. end;
  47973. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  47974. begin
  47975. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47976. end;
  47977. function TINT_IPC3.getIC3IS : TBits_2; inline;
  47978. begin
  47979. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47980. end;
  47981. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  47982. begin
  47983. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47984. end;
  47985. function TINT_IPC3.getIC3IP : TBits_3; inline;
  47986. begin
  47987. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47988. end;
  47989. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  47990. begin
  47991. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47992. end;
  47993. function TINT_IPC3.getOC3IS : TBits_2; inline;
  47994. begin
  47995. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47996. end;
  47997. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  47998. begin
  47999. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48000. end;
  48001. function TINT_IPC3.getOC3IP : TBits_3; inline;
  48002. begin
  48003. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48004. end;
  48005. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  48006. begin
  48007. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48008. end;
  48009. function TINT_IPC3.getINT3IS : TBits_2; inline;
  48010. begin
  48011. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48012. end;
  48013. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  48014. begin
  48015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48016. end;
  48017. function TINT_IPC3.getINT3IP : TBits_3; inline;
  48018. begin
  48019. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48020. end;
  48021. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  48022. begin
  48023. pTDefRegMap(@Self)^.val := thebits;
  48024. end;
  48025. function TINT_IPC3.getw : TBits_32; inline;
  48026. begin
  48027. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48028. end;
  48029. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  48030. begin
  48031. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48032. end;
  48033. function TINT_IPC4.getT4IS : TBits_2; inline;
  48034. begin
  48035. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48036. end;
  48037. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  48038. begin
  48039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48040. end;
  48041. function TINT_IPC4.getT4IP : TBits_3; inline;
  48042. begin
  48043. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48044. end;
  48045. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  48046. begin
  48047. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48048. end;
  48049. function TINT_IPC4.getIC4IS : TBits_2; inline;
  48050. begin
  48051. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48052. end;
  48053. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  48054. begin
  48055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48056. end;
  48057. function TINT_IPC4.getIC4IP : TBits_3; inline;
  48058. begin
  48059. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48060. end;
  48061. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  48062. begin
  48063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48064. end;
  48065. function TINT_IPC4.getOC4IS : TBits_2; inline;
  48066. begin
  48067. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48068. end;
  48069. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  48070. begin
  48071. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48072. end;
  48073. function TINT_IPC4.getOC4IP : TBits_3; inline;
  48074. begin
  48075. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48076. end;
  48077. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  48078. begin
  48079. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48080. end;
  48081. function TINT_IPC4.getINT4IS : TBits_2; inline;
  48082. begin
  48083. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48084. end;
  48085. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  48086. begin
  48087. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48088. end;
  48089. function TINT_IPC4.getINT4IP : TBits_3; inline;
  48090. begin
  48091. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48092. end;
  48093. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  48094. begin
  48095. pTDefRegMap(@Self)^.val := thebits;
  48096. end;
  48097. function TINT_IPC4.getw : TBits_32; inline;
  48098. begin
  48099. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48100. end;
  48101. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  48102. begin
  48103. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48104. end;
  48105. function TINT_IPC5.getT5IS : TBits_2; inline;
  48106. begin
  48107. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48108. end;
  48109. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  48110. begin
  48111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48112. end;
  48113. function TINT_IPC5.getT5IP : TBits_3; inline;
  48114. begin
  48115. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48116. end;
  48117. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  48118. begin
  48119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48120. end;
  48121. function TINT_IPC5.getIC5IS : TBits_2; inline;
  48122. begin
  48123. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48124. end;
  48125. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  48126. begin
  48127. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48128. end;
  48129. function TINT_IPC5.getIC5IP : TBits_3; inline;
  48130. begin
  48131. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48132. end;
  48133. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  48134. begin
  48135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48136. end;
  48137. function TINT_IPC5.getOC5IS : TBits_2; inline;
  48138. begin
  48139. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48140. end;
  48141. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  48142. begin
  48143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48144. end;
  48145. function TINT_IPC5.getOC5IP : TBits_3; inline;
  48146. begin
  48147. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48148. end;
  48149. procedure TINT_IPC5.setSPI1IS(thebits : TBits_2); inline;
  48150. begin
  48151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48152. end;
  48153. function TINT_IPC5.getSPI1IS : TBits_2; inline;
  48154. begin
  48155. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48156. end;
  48157. procedure TINT_IPC5.setSPI1IP(thebits : TBits_3); inline;
  48158. begin
  48159. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48160. end;
  48161. function TINT_IPC5.getSPI1IP : TBits_3; inline;
  48162. begin
  48163. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48164. end;
  48165. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  48166. begin
  48167. pTDefRegMap(@Self)^.val := thebits;
  48168. end;
  48169. function TINT_IPC5.getw : TBits_32; inline;
  48170. begin
  48171. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48172. end;
  48173. procedure TINT_IPC6.setU1IS(thebits : TBits_2); inline;
  48174. begin
  48175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48176. end;
  48177. function TINT_IPC6.getU1IS : TBits_2; inline;
  48178. begin
  48179. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48180. end;
  48181. procedure TINT_IPC6.setU1IP(thebits : TBits_3); inline;
  48182. begin
  48183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48184. end;
  48185. function TINT_IPC6.getU1IP : TBits_3; inline;
  48186. begin
  48187. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48188. end;
  48189. procedure TINT_IPC6.setI2C1IS(thebits : TBits_2); inline;
  48190. begin
  48191. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48192. end;
  48193. function TINT_IPC6.getI2C1IS : TBits_2; inline;
  48194. begin
  48195. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48196. end;
  48197. procedure TINT_IPC6.setI2C1IP(thebits : TBits_3); inline;
  48198. begin
  48199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48200. end;
  48201. function TINT_IPC6.getI2C1IP : TBits_3; inline;
  48202. begin
  48203. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48204. end;
  48205. procedure TINT_IPC6.setCNIS(thebits : TBits_2); inline;
  48206. begin
  48207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48208. end;
  48209. function TINT_IPC6.getCNIS : TBits_2; inline;
  48210. begin
  48211. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48212. end;
  48213. procedure TINT_IPC6.setCNIP(thebits : TBits_3); inline;
  48214. begin
  48215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48216. end;
  48217. function TINT_IPC6.getCNIP : TBits_3; inline;
  48218. begin
  48219. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48220. end;
  48221. procedure TINT_IPC6.setAD1IS(thebits : TBits_2); inline;
  48222. begin
  48223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48224. end;
  48225. function TINT_IPC6.getAD1IS : TBits_2; inline;
  48226. begin
  48227. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48228. end;
  48229. procedure TINT_IPC6.setAD1IP(thebits : TBits_3); inline;
  48230. begin
  48231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48232. end;
  48233. function TINT_IPC6.getAD1IP : TBits_3; inline;
  48234. begin
  48235. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48236. end;
  48237. procedure TINT_IPC6.setU1AIS(thebits : TBits_2); inline;
  48238. begin
  48239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48240. end;
  48241. function TINT_IPC6.getU1AIS : TBits_2; inline;
  48242. begin
  48243. getU1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48244. end;
  48245. procedure TINT_IPC6.setU1AIP(thebits : TBits_3); inline;
  48246. begin
  48247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48248. end;
  48249. function TINT_IPC6.getU1AIP : TBits_3; inline;
  48250. begin
  48251. getU1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48252. end;
  48253. procedure TINT_IPC6.setSPI3IS(thebits : TBits_2); inline;
  48254. begin
  48255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48256. end;
  48257. function TINT_IPC6.getSPI3IS : TBits_2; inline;
  48258. begin
  48259. getSPI3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48260. end;
  48261. procedure TINT_IPC6.setSPI3IP(thebits : TBits_3); inline;
  48262. begin
  48263. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48264. end;
  48265. function TINT_IPC6.getSPI3IP : TBits_3; inline;
  48266. begin
  48267. getSPI3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48268. end;
  48269. procedure TINT_IPC6.setSPI1AIS(thebits : TBits_2); inline;
  48270. begin
  48271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48272. end;
  48273. function TINT_IPC6.getSPI1AIS : TBits_2; inline;
  48274. begin
  48275. getSPI1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48276. end;
  48277. procedure TINT_IPC6.setSPI1AIP(thebits : TBits_3); inline;
  48278. begin
  48279. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48280. end;
  48281. function TINT_IPC6.getSPI1AIP : TBits_3; inline;
  48282. begin
  48283. getSPI1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48284. end;
  48285. procedure TINT_IPC6.setI2C3IS(thebits : TBits_2); inline;
  48286. begin
  48287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48288. end;
  48289. function TINT_IPC6.getI2C3IS : TBits_2; inline;
  48290. begin
  48291. getI2C3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48292. end;
  48293. procedure TINT_IPC6.setI2C3IP(thebits : TBits_3); inline;
  48294. begin
  48295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48296. end;
  48297. function TINT_IPC6.getI2C3IP : TBits_3; inline;
  48298. begin
  48299. getI2C3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48300. end;
  48301. procedure TINT_IPC6.setI2C1AIS(thebits : TBits_2); inline;
  48302. begin
  48303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48304. end;
  48305. function TINT_IPC6.getI2C1AIS : TBits_2; inline;
  48306. begin
  48307. getI2C1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48308. end;
  48309. procedure TINT_IPC6.setI2C1AIP(thebits : TBits_3); inline;
  48310. begin
  48311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48312. end;
  48313. function TINT_IPC6.getI2C1AIP : TBits_3; inline;
  48314. begin
  48315. getI2C1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48316. end;
  48317. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  48318. begin
  48319. pTDefRegMap(@Self)^.val := thebits;
  48320. end;
  48321. function TINT_IPC6.getw : TBits_32; inline;
  48322. begin
  48323. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48324. end;
  48325. procedure TINT_IPC7.setPMPIS(thebits : TBits_2); inline;
  48326. begin
  48327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48328. end;
  48329. function TINT_IPC7.getPMPIS : TBits_2; inline;
  48330. begin
  48331. getPMPIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48332. end;
  48333. procedure TINT_IPC7.setPMPIP(thebits : TBits_3); inline;
  48334. begin
  48335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48336. end;
  48337. function TINT_IPC7.getPMPIP : TBits_3; inline;
  48338. begin
  48339. getPMPIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48340. end;
  48341. procedure TINT_IPC7.setCMP1IS(thebits : TBits_2); inline;
  48342. begin
  48343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48344. end;
  48345. function TINT_IPC7.getCMP1IS : TBits_2; inline;
  48346. begin
  48347. getCMP1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48348. end;
  48349. procedure TINT_IPC7.setCMP1IP(thebits : TBits_3); inline;
  48350. begin
  48351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48352. end;
  48353. function TINT_IPC7.getCMP1IP : TBits_3; inline;
  48354. begin
  48355. getCMP1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48356. end;
  48357. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  48358. begin
  48359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48360. end;
  48361. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  48362. begin
  48363. getCMP2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48364. end;
  48365. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  48366. begin
  48367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48368. end;
  48369. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  48370. begin
  48371. getCMP2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48372. end;
  48373. procedure TINT_IPC7.setU3IS(thebits : TBits_2); inline;
  48374. begin
  48375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48376. end;
  48377. function TINT_IPC7.getU3IS : TBits_2; inline;
  48378. begin
  48379. getU3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48380. end;
  48381. procedure TINT_IPC7.setU3IP(thebits : TBits_3); inline;
  48382. begin
  48383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48384. end;
  48385. function TINT_IPC7.getU3IP : TBits_3; inline;
  48386. begin
  48387. getU3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48388. end;
  48389. procedure TINT_IPC7.setU2AIS(thebits : TBits_2); inline;
  48390. begin
  48391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48392. end;
  48393. function TINT_IPC7.getU2AIS : TBits_2; inline;
  48394. begin
  48395. getU2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48396. end;
  48397. procedure TINT_IPC7.setU2AIP(thebits : TBits_3); inline;
  48398. begin
  48399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48400. end;
  48401. function TINT_IPC7.getU2AIP : TBits_3; inline;
  48402. begin
  48403. getU2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48404. end;
  48405. procedure TINT_IPC7.setSPI2IS(thebits : TBits_2); inline;
  48406. begin
  48407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48408. end;
  48409. function TINT_IPC7.getSPI2IS : TBits_2; inline;
  48410. begin
  48411. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48412. end;
  48413. procedure TINT_IPC7.setSPI2IP(thebits : TBits_3); inline;
  48414. begin
  48415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48416. end;
  48417. function TINT_IPC7.getSPI2IP : TBits_3; inline;
  48418. begin
  48419. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48420. end;
  48421. procedure TINT_IPC7.setSPI2AIS(thebits : TBits_2); inline;
  48422. begin
  48423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48424. end;
  48425. function TINT_IPC7.getSPI2AIS : TBits_2; inline;
  48426. begin
  48427. getSPI2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48428. end;
  48429. procedure TINT_IPC7.setSPI2AIP(thebits : TBits_3); inline;
  48430. begin
  48431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48432. end;
  48433. function TINT_IPC7.getSPI2AIP : TBits_3; inline;
  48434. begin
  48435. getSPI2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48436. end;
  48437. procedure TINT_IPC7.setI2C4IS(thebits : TBits_2); inline;
  48438. begin
  48439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48440. end;
  48441. function TINT_IPC7.getI2C4IS : TBits_2; inline;
  48442. begin
  48443. getI2C4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48444. end;
  48445. procedure TINT_IPC7.setI2C4IP(thebits : TBits_3); inline;
  48446. begin
  48447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48448. end;
  48449. function TINT_IPC7.getI2C4IP : TBits_3; inline;
  48450. begin
  48451. getI2C4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48452. end;
  48453. procedure TINT_IPC7.setI2C2AIS(thebits : TBits_2); inline;
  48454. begin
  48455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48456. end;
  48457. function TINT_IPC7.getI2C2AIS : TBits_2; inline;
  48458. begin
  48459. getI2C2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48460. end;
  48461. procedure TINT_IPC7.setI2C2AIP(thebits : TBits_3); inline;
  48462. begin
  48463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48464. end;
  48465. function TINT_IPC7.getI2C2AIP : TBits_3; inline;
  48466. begin
  48467. getI2C2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48468. end;
  48469. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  48470. begin
  48471. pTDefRegMap(@Self)^.val := thebits;
  48472. end;
  48473. function TINT_IPC7.getw : TBits_32; inline;
  48474. begin
  48475. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48476. end;
  48477. procedure TINT_IPC8.setU2IS(thebits : TBits_2); inline;
  48478. begin
  48479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48480. end;
  48481. function TINT_IPC8.getU2IS : TBits_2; inline;
  48482. begin
  48483. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48484. end;
  48485. procedure TINT_IPC8.setU2IP(thebits : TBits_3); inline;
  48486. begin
  48487. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48488. end;
  48489. function TINT_IPC8.getU2IP : TBits_3; inline;
  48490. begin
  48491. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48492. end;
  48493. procedure TINT_IPC8.setI2C2IS(thebits : TBits_2); inline;
  48494. begin
  48495. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48496. end;
  48497. function TINT_IPC8.getI2C2IS : TBits_2; inline;
  48498. begin
  48499. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48500. end;
  48501. procedure TINT_IPC8.setI2C2IP(thebits : TBits_3); inline;
  48502. begin
  48503. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48504. end;
  48505. function TINT_IPC8.getI2C2IP : TBits_3; inline;
  48506. begin
  48507. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48508. end;
  48509. procedure TINT_IPC8.setFSCMIS(thebits : TBits_2); inline;
  48510. begin
  48511. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48512. end;
  48513. function TINT_IPC8.getFSCMIS : TBits_2; inline;
  48514. begin
  48515. getFSCMIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48516. end;
  48517. procedure TINT_IPC8.setFSCMIP(thebits : TBits_3); inline;
  48518. begin
  48519. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48520. end;
  48521. function TINT_IPC8.getFSCMIP : TBits_3; inline;
  48522. begin
  48523. getFSCMIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48524. end;
  48525. procedure TINT_IPC8.setRTCCIS(thebits : TBits_2); inline;
  48526. begin
  48527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48528. end;
  48529. function TINT_IPC8.getRTCCIS : TBits_2; inline;
  48530. begin
  48531. getRTCCIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48532. end;
  48533. procedure TINT_IPC8.setRTCCIP(thebits : TBits_3); inline;
  48534. begin
  48535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48536. end;
  48537. function TINT_IPC8.getRTCCIP : TBits_3; inline;
  48538. begin
  48539. getRTCCIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48540. end;
  48541. procedure TINT_IPC8.setU3AIS(thebits : TBits_2); inline;
  48542. begin
  48543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48544. end;
  48545. function TINT_IPC8.getU3AIS : TBits_2; inline;
  48546. begin
  48547. getU3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48548. end;
  48549. procedure TINT_IPC8.setU3AIP(thebits : TBits_3); inline;
  48550. begin
  48551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48552. end;
  48553. function TINT_IPC8.getU3AIP : TBits_3; inline;
  48554. begin
  48555. getU3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48556. end;
  48557. procedure TINT_IPC8.setSPI4IS(thebits : TBits_2); inline;
  48558. begin
  48559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48560. end;
  48561. function TINT_IPC8.getSPI4IS : TBits_2; inline;
  48562. begin
  48563. getSPI4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48564. end;
  48565. procedure TINT_IPC8.setSPI4IP(thebits : TBits_3); inline;
  48566. begin
  48567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48568. end;
  48569. function TINT_IPC8.getSPI4IP : TBits_3; inline;
  48570. begin
  48571. getSPI4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48572. end;
  48573. procedure TINT_IPC8.setSPI3AIS(thebits : TBits_2); inline;
  48574. begin
  48575. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48576. end;
  48577. function TINT_IPC8.getSPI3AIS : TBits_2; inline;
  48578. begin
  48579. getSPI3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48580. end;
  48581. procedure TINT_IPC8.setSPI3AIP(thebits : TBits_3); inline;
  48582. begin
  48583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48584. end;
  48585. function TINT_IPC8.getSPI3AIP : TBits_3; inline;
  48586. begin
  48587. getSPI3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48588. end;
  48589. procedure TINT_IPC8.setI2C5IS(thebits : TBits_2); inline;
  48590. begin
  48591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48592. end;
  48593. function TINT_IPC8.getI2C5IS : TBits_2; inline;
  48594. begin
  48595. getI2C5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48596. end;
  48597. procedure TINT_IPC8.setI2C5IP(thebits : TBits_3); inline;
  48598. begin
  48599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48600. end;
  48601. function TINT_IPC8.getI2C5IP : TBits_3; inline;
  48602. begin
  48603. getI2C5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48604. end;
  48605. procedure TINT_IPC8.setI2C3AIS(thebits : TBits_2); inline;
  48606. begin
  48607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48608. end;
  48609. function TINT_IPC8.getI2C3AIS : TBits_2; inline;
  48610. begin
  48611. getI2C3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48612. end;
  48613. procedure TINT_IPC8.setI2C3AIP(thebits : TBits_3); inline;
  48614. begin
  48615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48616. end;
  48617. function TINT_IPC8.getI2C3AIP : TBits_3; inline;
  48618. begin
  48619. getI2C3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48620. end;
  48621. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  48622. begin
  48623. pTDefRegMap(@Self)^.val := thebits;
  48624. end;
  48625. function TINT_IPC8.getw : TBits_32; inline;
  48626. begin
  48627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48628. end;
  48629. procedure TINT_IPC9.setDMA0IS(thebits : TBits_2); inline;
  48630. begin
  48631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48632. end;
  48633. function TINT_IPC9.getDMA0IS : TBits_2; inline;
  48634. begin
  48635. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48636. end;
  48637. procedure TINT_IPC9.setDMA0IP(thebits : TBits_3); inline;
  48638. begin
  48639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48640. end;
  48641. function TINT_IPC9.getDMA0IP : TBits_3; inline;
  48642. begin
  48643. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48644. end;
  48645. procedure TINT_IPC9.setDMA1IS(thebits : TBits_2); inline;
  48646. begin
  48647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48648. end;
  48649. function TINT_IPC9.getDMA1IS : TBits_2; inline;
  48650. begin
  48651. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48652. end;
  48653. procedure TINT_IPC9.setDMA1IP(thebits : TBits_3); inline;
  48654. begin
  48655. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48656. end;
  48657. function TINT_IPC9.getDMA1IP : TBits_3; inline;
  48658. begin
  48659. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48660. end;
  48661. procedure TINT_IPC9.setDMA2IS(thebits : TBits_2); inline;
  48662. begin
  48663. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48664. end;
  48665. function TINT_IPC9.getDMA2IS : TBits_2; inline;
  48666. begin
  48667. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48668. end;
  48669. procedure TINT_IPC9.setDMA2IP(thebits : TBits_3); inline;
  48670. begin
  48671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48672. end;
  48673. function TINT_IPC9.getDMA2IP : TBits_3; inline;
  48674. begin
  48675. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48676. end;
  48677. procedure TINT_IPC9.setDMA3IS(thebits : TBits_2); inline;
  48678. begin
  48679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48680. end;
  48681. function TINT_IPC9.getDMA3IS : TBits_2; inline;
  48682. begin
  48683. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48684. end;
  48685. procedure TINT_IPC9.setDMA3IP(thebits : TBits_3); inline;
  48686. begin
  48687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48688. end;
  48689. function TINT_IPC9.getDMA3IP : TBits_3; inline;
  48690. begin
  48691. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48692. end;
  48693. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  48694. begin
  48695. pTDefRegMap(@Self)^.val := thebits;
  48696. end;
  48697. function TINT_IPC9.getw : TBits_32; inline;
  48698. begin
  48699. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48700. end;
  48701. procedure TINT_IPC10.setDMA4IS(thebits : TBits_2); inline;
  48702. begin
  48703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48704. end;
  48705. function TINT_IPC10.getDMA4IS : TBits_2; inline;
  48706. begin
  48707. getDMA4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48708. end;
  48709. procedure TINT_IPC10.setDMA4IP(thebits : TBits_3); inline;
  48710. begin
  48711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48712. end;
  48713. function TINT_IPC10.getDMA4IP : TBits_3; inline;
  48714. begin
  48715. getDMA4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48716. end;
  48717. procedure TINT_IPC10.setDMA5IS(thebits : TBits_2); inline;
  48718. begin
  48719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48720. end;
  48721. function TINT_IPC10.getDMA5IS : TBits_2; inline;
  48722. begin
  48723. getDMA5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48724. end;
  48725. procedure TINT_IPC10.setDMA5IP(thebits : TBits_3); inline;
  48726. begin
  48727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48728. end;
  48729. function TINT_IPC10.getDMA5IP : TBits_3; inline;
  48730. begin
  48731. getDMA5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48732. end;
  48733. procedure TINT_IPC10.setDMA6IS(thebits : TBits_2); inline;
  48734. begin
  48735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48736. end;
  48737. function TINT_IPC10.getDMA6IS : TBits_2; inline;
  48738. begin
  48739. getDMA6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48740. end;
  48741. procedure TINT_IPC10.setDMA6IP(thebits : TBits_3); inline;
  48742. begin
  48743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48744. end;
  48745. function TINT_IPC10.getDMA6IP : TBits_3; inline;
  48746. begin
  48747. getDMA6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48748. end;
  48749. procedure TINT_IPC10.setDMA7IS(thebits : TBits_2); inline;
  48750. begin
  48751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48752. end;
  48753. function TINT_IPC10.getDMA7IS : TBits_2; inline;
  48754. begin
  48755. getDMA7IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48756. end;
  48757. procedure TINT_IPC10.setDMA7IP(thebits : TBits_3); inline;
  48758. begin
  48759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48760. end;
  48761. function TINT_IPC10.getDMA7IP : TBits_3; inline;
  48762. begin
  48763. getDMA7IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48764. end;
  48765. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  48766. begin
  48767. pTDefRegMap(@Self)^.val := thebits;
  48768. end;
  48769. function TINT_IPC10.getw : TBits_32; inline;
  48770. begin
  48771. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48772. end;
  48773. procedure TINT_IPC11.setFCEIS(thebits : TBits_2); inline;
  48774. begin
  48775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48776. end;
  48777. function TINT_IPC11.getFCEIS : TBits_2; inline;
  48778. begin
  48779. getFCEIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48780. end;
  48781. procedure TINT_IPC11.setFCEIP(thebits : TBits_3); inline;
  48782. begin
  48783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48784. end;
  48785. function TINT_IPC11.getFCEIP : TBits_3; inline;
  48786. begin
  48787. getFCEIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48788. end;
  48789. procedure TINT_IPC11.setUSBIS(thebits : TBits_2); inline;
  48790. begin
  48791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48792. end;
  48793. function TINT_IPC11.getUSBIS : TBits_2; inline;
  48794. begin
  48795. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48796. end;
  48797. procedure TINT_IPC11.setUSBIP(thebits : TBits_3); inline;
  48798. begin
  48799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48800. end;
  48801. function TINT_IPC11.getUSBIP : TBits_3; inline;
  48802. begin
  48803. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48804. end;
  48805. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  48806. begin
  48807. pTDefRegMap(@Self)^.val := thebits;
  48808. end;
  48809. function TINT_IPC11.getw : TBits_32; inline;
  48810. begin
  48811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48812. end;
  48813. procedure TINT_IPC12.setETHIS(thebits : TBits_2); inline;
  48814. begin
  48815. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48816. end;
  48817. function TINT_IPC12.getETHIS : TBits_2; inline;
  48818. begin
  48819. getETHIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48820. end;
  48821. procedure TINT_IPC12.setETHIP(thebits : TBits_3); inline;
  48822. begin
  48823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  48824. end;
  48825. function TINT_IPC12.getETHIP : TBits_3; inline;
  48826. begin
  48827. getETHIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  48828. end;
  48829. procedure TINT_IPC12.setU4IS(thebits : TBits_2); inline;
  48830. begin
  48831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48832. end;
  48833. function TINT_IPC12.getU4IS : TBits_2; inline;
  48834. begin
  48835. getU4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48836. end;
  48837. procedure TINT_IPC12.setU4IP(thebits : TBits_3); inline;
  48838. begin
  48839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48840. end;
  48841. function TINT_IPC12.getU4IP : TBits_3; inline;
  48842. begin
  48843. getU4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48844. end;
  48845. procedure TINT_IPC12.setU6IS(thebits : TBits_2); inline;
  48846. begin
  48847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48848. end;
  48849. function TINT_IPC12.getU6IS : TBits_2; inline;
  48850. begin
  48851. getU6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48852. end;
  48853. procedure TINT_IPC12.setU6IP(thebits : TBits_3); inline;
  48854. begin
  48855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48856. end;
  48857. function TINT_IPC12.getU6IP : TBits_3; inline;
  48858. begin
  48859. getU6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48860. end;
  48861. procedure TINT_IPC12.setU5IS(thebits : TBits_2); inline;
  48862. begin
  48863. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48864. end;
  48865. function TINT_IPC12.getU5IS : TBits_2; inline;
  48866. begin
  48867. getU5IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48868. end;
  48869. procedure TINT_IPC12.setU5IP(thebits : TBits_3); inline;
  48870. begin
  48871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48872. end;
  48873. function TINT_IPC12.getU5IP : TBits_3; inline;
  48874. begin
  48875. getU5IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48876. end;
  48877. procedure TINT_IPC12.setU1BIS(thebits : TBits_2); inline;
  48878. begin
  48879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  48880. end;
  48881. function TINT_IPC12.getU1BIS : TBits_2; inline;
  48882. begin
  48883. getU1BIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  48884. end;
  48885. procedure TINT_IPC12.setU1BIP(thebits : TBits_3); inline;
  48886. begin
  48887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  48888. end;
  48889. function TINT_IPC12.getU1BIP : TBits_3; inline;
  48890. begin
  48891. getU1BIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  48892. end;
  48893. procedure TINT_IPC12.setU2BIS(thebits : TBits_2); inline;
  48894. begin
  48895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  48896. end;
  48897. function TINT_IPC12.getU2BIS : TBits_2; inline;
  48898. begin
  48899. getU2BIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  48900. end;
  48901. procedure TINT_IPC12.setU2BIP(thebits : TBits_3); inline;
  48902. begin
  48903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  48904. end;
  48905. function TINT_IPC12.getU2BIP : TBits_3; inline;
  48906. begin
  48907. getU2BIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  48908. end;
  48909. procedure TINT_IPC12.setU3BIS(thebits : TBits_2); inline;
  48910. begin
  48911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  48912. end;
  48913. function TINT_IPC12.getU3BIS : TBits_2; inline;
  48914. begin
  48915. getU3BIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  48916. end;
  48917. procedure TINT_IPC12.setU3BIP(thebits : TBits_3); inline;
  48918. begin
  48919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  48920. end;
  48921. function TINT_IPC12.getU3BIP : TBits_3; inline;
  48922. begin
  48923. getU3BIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  48924. end;
  48925. procedure TINT_IPC12.setw(thebits : TBits_32); inline;
  48926. begin
  48927. pTDefRegMap(@Self)^.val := thebits;
  48928. end;
  48929. function TINT_IPC12.getw : TBits_32; inline;
  48930. begin
  48931. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48932. end;
  48933. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  48934. begin
  48935. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  48936. end;
  48937. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  48938. begin
  48939. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  48940. end;
  48941. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  48942. begin
  48943. pTDefRegMap(@Self)^.&set := $00000040;
  48944. end;
  48945. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  48946. begin
  48947. pTDefRegMap(@Self)^.clr := $00000040;
  48948. end;
  48949. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  48950. begin
  48951. if thebits = 0 then
  48952. pTDefRegMap(@Self)^.clr := $00000040
  48953. else
  48954. pTDefRegMap(@Self)^.&set := $00000040;
  48955. end;
  48956. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  48957. begin
  48958. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48959. end;
  48960. procedure TBMX_BMXCON.setBMXERRIS; inline;
  48961. begin
  48962. pTDefRegMap(@Self)^.&set := $00010000;
  48963. end;
  48964. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  48965. begin
  48966. pTDefRegMap(@Self)^.clr := $00010000;
  48967. end;
  48968. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  48969. begin
  48970. if thebits = 0 then
  48971. pTDefRegMap(@Self)^.clr := $00010000
  48972. else
  48973. pTDefRegMap(@Self)^.&set := $00010000;
  48974. end;
  48975. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  48976. begin
  48977. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  48978. end;
  48979. procedure TBMX_BMXCON.setBMXERRDS; inline;
  48980. begin
  48981. pTDefRegMap(@Self)^.&set := $00020000;
  48982. end;
  48983. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  48984. begin
  48985. pTDefRegMap(@Self)^.clr := $00020000;
  48986. end;
  48987. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  48988. begin
  48989. if thebits = 0 then
  48990. pTDefRegMap(@Self)^.clr := $00020000
  48991. else
  48992. pTDefRegMap(@Self)^.&set := $00020000;
  48993. end;
  48994. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  48995. begin
  48996. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  48997. end;
  48998. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  48999. begin
  49000. pTDefRegMap(@Self)^.&set := $00040000;
  49001. end;
  49002. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  49003. begin
  49004. pTDefRegMap(@Self)^.clr := $00040000;
  49005. end;
  49006. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  49007. begin
  49008. if thebits = 0 then
  49009. pTDefRegMap(@Self)^.clr := $00040000
  49010. else
  49011. pTDefRegMap(@Self)^.&set := $00040000;
  49012. end;
  49013. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  49014. begin
  49015. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49016. end;
  49017. procedure TBMX_BMXCON.setBMXERRICD; inline;
  49018. begin
  49019. pTDefRegMap(@Self)^.&set := $00080000;
  49020. end;
  49021. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  49022. begin
  49023. pTDefRegMap(@Self)^.clr := $00080000;
  49024. end;
  49025. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  49026. begin
  49027. if thebits = 0 then
  49028. pTDefRegMap(@Self)^.clr := $00080000
  49029. else
  49030. pTDefRegMap(@Self)^.&set := $00080000;
  49031. end;
  49032. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  49033. begin
  49034. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49035. end;
  49036. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  49037. begin
  49038. pTDefRegMap(@Self)^.&set := $00100000;
  49039. end;
  49040. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  49041. begin
  49042. pTDefRegMap(@Self)^.clr := $00100000;
  49043. end;
  49044. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  49045. begin
  49046. if thebits = 0 then
  49047. pTDefRegMap(@Self)^.clr := $00100000
  49048. else
  49049. pTDefRegMap(@Self)^.&set := $00100000;
  49050. end;
  49051. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  49052. begin
  49053. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49054. end;
  49055. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  49056. begin
  49057. pTDefRegMap(@Self)^.&set := $04000000;
  49058. end;
  49059. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  49060. begin
  49061. pTDefRegMap(@Self)^.clr := $04000000;
  49062. end;
  49063. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  49064. begin
  49065. if thebits = 0 then
  49066. pTDefRegMap(@Self)^.clr := $04000000
  49067. else
  49068. pTDefRegMap(@Self)^.&set := $04000000;
  49069. end;
  49070. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  49071. begin
  49072. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  49073. end;
  49074. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  49075. begin
  49076. pTDefRegMap(@Self)^.val := thebits;
  49077. end;
  49078. function TBMX_BMXCON.getw : TBits_32; inline;
  49079. begin
  49080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49081. end;
  49082. procedure TDMAC_DMACON.setDMABUSY; inline;
  49083. begin
  49084. pTDefRegMap(@Self)^.&set := $00000800;
  49085. end;
  49086. procedure TDMAC_DMACON.clearDMABUSY; inline;
  49087. begin
  49088. pTDefRegMap(@Self)^.clr := $00000800;
  49089. end;
  49090. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  49091. begin
  49092. if thebits = 0 then
  49093. pTDefRegMap(@Self)^.clr := $00000800
  49094. else
  49095. pTDefRegMap(@Self)^.&set := $00000800;
  49096. end;
  49097. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  49098. begin
  49099. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49100. end;
  49101. procedure TDMAC_DMACON.setSUSPEND; inline;
  49102. begin
  49103. pTDefRegMap(@Self)^.&set := $00001000;
  49104. end;
  49105. procedure TDMAC_DMACON.clearSUSPEND; inline;
  49106. begin
  49107. pTDefRegMap(@Self)^.clr := $00001000;
  49108. end;
  49109. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  49110. begin
  49111. if thebits = 0 then
  49112. pTDefRegMap(@Self)^.clr := $00001000
  49113. else
  49114. pTDefRegMap(@Self)^.&set := $00001000;
  49115. end;
  49116. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  49117. begin
  49118. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49119. end;
  49120. procedure TDMAC_DMACON.setON; inline;
  49121. begin
  49122. pTDefRegMap(@Self)^.&set := $00008000;
  49123. end;
  49124. procedure TDMAC_DMACON.clearON; inline;
  49125. begin
  49126. pTDefRegMap(@Self)^.clr := $00008000;
  49127. end;
  49128. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  49129. begin
  49130. if thebits = 0 then
  49131. pTDefRegMap(@Self)^.clr := $00008000
  49132. else
  49133. pTDefRegMap(@Self)^.&set := $00008000;
  49134. end;
  49135. function TDMAC_DMACON.getON : TBits_1; inline;
  49136. begin
  49137. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49138. end;
  49139. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  49140. begin
  49141. pTDefRegMap(@Self)^.val := thebits;
  49142. end;
  49143. function TDMAC_DMACON.getw : TBits_32; inline;
  49144. begin
  49145. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49146. end;
  49147. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  49148. begin
  49149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  49150. end;
  49151. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  49152. begin
  49153. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  49154. end;
  49155. procedure TDMAC_DMASTAT.setRDWR; inline;
  49156. begin
  49157. pTDefRegMap(@Self)^.&set := $00000008;
  49158. end;
  49159. procedure TDMAC_DMASTAT.clearRDWR; inline;
  49160. begin
  49161. pTDefRegMap(@Self)^.clr := $00000008;
  49162. end;
  49163. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  49164. begin
  49165. if thebits = 0 then
  49166. pTDefRegMap(@Self)^.clr := $00000008
  49167. else
  49168. pTDefRegMap(@Self)^.&set := $00000008;
  49169. end;
  49170. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  49171. begin
  49172. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49173. end;
  49174. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  49175. begin
  49176. pTDefRegMap(@Self)^.val := thebits;
  49177. end;
  49178. function TDMAC_DMASTAT.getw : TBits_32; inline;
  49179. begin
  49180. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49181. end;
  49182. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  49183. begin
  49184. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  49185. end;
  49186. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  49187. begin
  49188. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  49189. end;
  49190. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  49191. begin
  49192. pTDefRegMap(@Self)^.&set := $00000020;
  49193. end;
  49194. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  49195. begin
  49196. pTDefRegMap(@Self)^.clr := $00000020;
  49197. end;
  49198. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  49199. begin
  49200. if thebits = 0 then
  49201. pTDefRegMap(@Self)^.clr := $00000020
  49202. else
  49203. pTDefRegMap(@Self)^.&set := $00000020;
  49204. end;
  49205. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  49206. begin
  49207. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49208. end;
  49209. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  49210. begin
  49211. pTDefRegMap(@Self)^.&set := $00000040;
  49212. end;
  49213. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  49214. begin
  49215. pTDefRegMap(@Self)^.clr := $00000040;
  49216. end;
  49217. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  49218. begin
  49219. if thebits = 0 then
  49220. pTDefRegMap(@Self)^.clr := $00000040
  49221. else
  49222. pTDefRegMap(@Self)^.&set := $00000040;
  49223. end;
  49224. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  49225. begin
  49226. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49227. end;
  49228. procedure TDMAC_DCRCCON.setCRCEN; inline;
  49229. begin
  49230. pTDefRegMap(@Self)^.&set := $00000080;
  49231. end;
  49232. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  49233. begin
  49234. pTDefRegMap(@Self)^.clr := $00000080;
  49235. end;
  49236. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  49237. begin
  49238. if thebits = 0 then
  49239. pTDefRegMap(@Self)^.clr := $00000080
  49240. else
  49241. pTDefRegMap(@Self)^.&set := $00000080;
  49242. end;
  49243. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  49244. begin
  49245. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49246. end;
  49247. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  49248. begin
  49249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  49250. end;
  49251. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  49252. begin
  49253. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  49254. end;
  49255. procedure TDMAC_DCRCCON.setBITO; inline;
  49256. begin
  49257. pTDefRegMap(@Self)^.&set := $01000000;
  49258. end;
  49259. procedure TDMAC_DCRCCON.clearBITO; inline;
  49260. begin
  49261. pTDefRegMap(@Self)^.clr := $01000000;
  49262. end;
  49263. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  49264. begin
  49265. if thebits = 0 then
  49266. pTDefRegMap(@Self)^.clr := $01000000
  49267. else
  49268. pTDefRegMap(@Self)^.&set := $01000000;
  49269. end;
  49270. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  49271. begin
  49272. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  49273. end;
  49274. procedure TDMAC_DCRCCON.setWBO; inline;
  49275. begin
  49276. pTDefRegMap(@Self)^.&set := $08000000;
  49277. end;
  49278. procedure TDMAC_DCRCCON.clearWBO; inline;
  49279. begin
  49280. pTDefRegMap(@Self)^.clr := $08000000;
  49281. end;
  49282. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  49283. begin
  49284. if thebits = 0 then
  49285. pTDefRegMap(@Self)^.clr := $08000000
  49286. else
  49287. pTDefRegMap(@Self)^.&set := $08000000;
  49288. end;
  49289. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  49290. begin
  49291. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  49292. end;
  49293. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  49294. begin
  49295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  49296. end;
  49297. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  49298. begin
  49299. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  49300. end;
  49301. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  49302. begin
  49303. pTDefRegMap(@Self)^.val := thebits;
  49304. end;
  49305. function TDMAC_DCRCCON.getw : TBits_32; inline;
  49306. begin
  49307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49308. end;
  49309. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  49310. begin
  49311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49312. end;
  49313. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  49314. begin
  49315. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49316. end;
  49317. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  49318. begin
  49319. pTDefRegMap(@Self)^.&set := $00000004;
  49320. end;
  49321. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  49322. begin
  49323. pTDefRegMap(@Self)^.clr := $00000004;
  49324. end;
  49325. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  49326. begin
  49327. if thebits = 0 then
  49328. pTDefRegMap(@Self)^.clr := $00000004
  49329. else
  49330. pTDefRegMap(@Self)^.&set := $00000004;
  49331. end;
  49332. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  49333. begin
  49334. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49335. end;
  49336. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  49337. begin
  49338. pTDefRegMap(@Self)^.&set := $00000010;
  49339. end;
  49340. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  49341. begin
  49342. pTDefRegMap(@Self)^.clr := $00000010;
  49343. end;
  49344. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  49345. begin
  49346. if thebits = 0 then
  49347. pTDefRegMap(@Self)^.clr := $00000010
  49348. else
  49349. pTDefRegMap(@Self)^.&set := $00000010;
  49350. end;
  49351. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  49352. begin
  49353. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49354. end;
  49355. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  49356. begin
  49357. pTDefRegMap(@Self)^.&set := $00000020;
  49358. end;
  49359. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  49360. begin
  49361. pTDefRegMap(@Self)^.clr := $00000020;
  49362. end;
  49363. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  49364. begin
  49365. if thebits = 0 then
  49366. pTDefRegMap(@Self)^.clr := $00000020
  49367. else
  49368. pTDefRegMap(@Self)^.&set := $00000020;
  49369. end;
  49370. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  49371. begin
  49372. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49373. end;
  49374. procedure TDMAC0_DCH0CON.setCHAED; inline;
  49375. begin
  49376. pTDefRegMap(@Self)^.&set := $00000040;
  49377. end;
  49378. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  49379. begin
  49380. pTDefRegMap(@Self)^.clr := $00000040;
  49381. end;
  49382. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  49383. begin
  49384. if thebits = 0 then
  49385. pTDefRegMap(@Self)^.clr := $00000040
  49386. else
  49387. pTDefRegMap(@Self)^.&set := $00000040;
  49388. end;
  49389. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  49390. begin
  49391. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49392. end;
  49393. procedure TDMAC0_DCH0CON.setCHEN; inline;
  49394. begin
  49395. pTDefRegMap(@Self)^.&set := $00000080;
  49396. end;
  49397. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  49398. begin
  49399. pTDefRegMap(@Self)^.clr := $00000080;
  49400. end;
  49401. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  49402. begin
  49403. if thebits = 0 then
  49404. pTDefRegMap(@Self)^.clr := $00000080
  49405. else
  49406. pTDefRegMap(@Self)^.&set := $00000080;
  49407. end;
  49408. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  49409. begin
  49410. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49411. end;
  49412. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  49413. begin
  49414. pTDefRegMap(@Self)^.&set := $00000100;
  49415. end;
  49416. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  49417. begin
  49418. pTDefRegMap(@Self)^.clr := $00000100;
  49419. end;
  49420. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  49421. begin
  49422. if thebits = 0 then
  49423. pTDefRegMap(@Self)^.clr := $00000100
  49424. else
  49425. pTDefRegMap(@Self)^.&set := $00000100;
  49426. end;
  49427. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  49428. begin
  49429. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49430. end;
  49431. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  49432. begin
  49433. pTDefRegMap(@Self)^.&set := $00008000;
  49434. end;
  49435. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  49436. begin
  49437. pTDefRegMap(@Self)^.clr := $00008000;
  49438. end;
  49439. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  49440. begin
  49441. if thebits = 0 then
  49442. pTDefRegMap(@Self)^.clr := $00008000
  49443. else
  49444. pTDefRegMap(@Self)^.&set := $00008000;
  49445. end;
  49446. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  49447. begin
  49448. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49449. end;
  49450. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  49451. begin
  49452. pTDefRegMap(@Self)^.val := thebits;
  49453. end;
  49454. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  49455. begin
  49456. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49457. end;
  49458. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  49459. begin
  49460. pTDefRegMap(@Self)^.&set := $00000008;
  49461. end;
  49462. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  49463. begin
  49464. pTDefRegMap(@Self)^.clr := $00000008;
  49465. end;
  49466. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  49467. begin
  49468. if thebits = 0 then
  49469. pTDefRegMap(@Self)^.clr := $00000008
  49470. else
  49471. pTDefRegMap(@Self)^.&set := $00000008;
  49472. end;
  49473. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  49474. begin
  49475. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49476. end;
  49477. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  49478. begin
  49479. pTDefRegMap(@Self)^.&set := $00000010;
  49480. end;
  49481. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  49482. begin
  49483. pTDefRegMap(@Self)^.clr := $00000010;
  49484. end;
  49485. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  49486. begin
  49487. if thebits = 0 then
  49488. pTDefRegMap(@Self)^.clr := $00000010
  49489. else
  49490. pTDefRegMap(@Self)^.&set := $00000010;
  49491. end;
  49492. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  49493. begin
  49494. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49495. end;
  49496. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  49497. begin
  49498. pTDefRegMap(@Self)^.&set := $00000020;
  49499. end;
  49500. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  49501. begin
  49502. pTDefRegMap(@Self)^.clr := $00000020;
  49503. end;
  49504. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  49505. begin
  49506. if thebits = 0 then
  49507. pTDefRegMap(@Self)^.clr := $00000020
  49508. else
  49509. pTDefRegMap(@Self)^.&set := $00000020;
  49510. end;
  49511. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  49512. begin
  49513. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49514. end;
  49515. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  49516. begin
  49517. pTDefRegMap(@Self)^.&set := $00000040;
  49518. end;
  49519. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  49520. begin
  49521. pTDefRegMap(@Self)^.clr := $00000040;
  49522. end;
  49523. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  49524. begin
  49525. if thebits = 0 then
  49526. pTDefRegMap(@Self)^.clr := $00000040
  49527. else
  49528. pTDefRegMap(@Self)^.&set := $00000040;
  49529. end;
  49530. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  49531. begin
  49532. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49533. end;
  49534. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  49535. begin
  49536. pTDefRegMap(@Self)^.&set := $00000080;
  49537. end;
  49538. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  49539. begin
  49540. pTDefRegMap(@Self)^.clr := $00000080;
  49541. end;
  49542. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  49543. begin
  49544. if thebits = 0 then
  49545. pTDefRegMap(@Self)^.clr := $00000080
  49546. else
  49547. pTDefRegMap(@Self)^.&set := $00000080;
  49548. end;
  49549. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  49550. begin
  49551. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49552. end;
  49553. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  49554. begin
  49555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49556. end;
  49557. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  49558. begin
  49559. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49560. end;
  49561. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  49562. begin
  49563. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49564. end;
  49565. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  49566. begin
  49567. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49568. end;
  49569. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  49570. begin
  49571. pTDefRegMap(@Self)^.val := thebits;
  49572. end;
  49573. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  49574. begin
  49575. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49576. end;
  49577. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  49578. begin
  49579. pTDefRegMap(@Self)^.&set := $00000001;
  49580. end;
  49581. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  49582. begin
  49583. pTDefRegMap(@Self)^.clr := $00000001;
  49584. end;
  49585. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  49586. begin
  49587. if thebits = 0 then
  49588. pTDefRegMap(@Self)^.clr := $00000001
  49589. else
  49590. pTDefRegMap(@Self)^.&set := $00000001;
  49591. end;
  49592. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  49593. begin
  49594. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49595. end;
  49596. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  49597. begin
  49598. pTDefRegMap(@Self)^.&set := $00000002;
  49599. end;
  49600. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  49601. begin
  49602. pTDefRegMap(@Self)^.clr := $00000002;
  49603. end;
  49604. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  49605. begin
  49606. if thebits = 0 then
  49607. pTDefRegMap(@Self)^.clr := $00000002
  49608. else
  49609. pTDefRegMap(@Self)^.&set := $00000002;
  49610. end;
  49611. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  49612. begin
  49613. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49614. end;
  49615. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  49616. begin
  49617. pTDefRegMap(@Self)^.&set := $00000004;
  49618. end;
  49619. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  49620. begin
  49621. pTDefRegMap(@Self)^.clr := $00000004;
  49622. end;
  49623. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  49624. begin
  49625. if thebits = 0 then
  49626. pTDefRegMap(@Self)^.clr := $00000004
  49627. else
  49628. pTDefRegMap(@Self)^.&set := $00000004;
  49629. end;
  49630. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  49631. begin
  49632. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49633. end;
  49634. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  49635. begin
  49636. pTDefRegMap(@Self)^.&set := $00000008;
  49637. end;
  49638. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  49639. begin
  49640. pTDefRegMap(@Self)^.clr := $00000008;
  49641. end;
  49642. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  49643. begin
  49644. if thebits = 0 then
  49645. pTDefRegMap(@Self)^.clr := $00000008
  49646. else
  49647. pTDefRegMap(@Self)^.&set := $00000008;
  49648. end;
  49649. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  49650. begin
  49651. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49652. end;
  49653. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  49654. begin
  49655. pTDefRegMap(@Self)^.&set := $00000010;
  49656. end;
  49657. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  49658. begin
  49659. pTDefRegMap(@Self)^.clr := $00000010;
  49660. end;
  49661. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  49662. begin
  49663. if thebits = 0 then
  49664. pTDefRegMap(@Self)^.clr := $00000010
  49665. else
  49666. pTDefRegMap(@Self)^.&set := $00000010;
  49667. end;
  49668. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  49669. begin
  49670. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49671. end;
  49672. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  49673. begin
  49674. pTDefRegMap(@Self)^.&set := $00000020;
  49675. end;
  49676. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  49677. begin
  49678. pTDefRegMap(@Self)^.clr := $00000020;
  49679. end;
  49680. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  49681. begin
  49682. if thebits = 0 then
  49683. pTDefRegMap(@Self)^.clr := $00000020
  49684. else
  49685. pTDefRegMap(@Self)^.&set := $00000020;
  49686. end;
  49687. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  49688. begin
  49689. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49690. end;
  49691. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  49692. begin
  49693. pTDefRegMap(@Self)^.&set := $00000040;
  49694. end;
  49695. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  49696. begin
  49697. pTDefRegMap(@Self)^.clr := $00000040;
  49698. end;
  49699. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  49700. begin
  49701. if thebits = 0 then
  49702. pTDefRegMap(@Self)^.clr := $00000040
  49703. else
  49704. pTDefRegMap(@Self)^.&set := $00000040;
  49705. end;
  49706. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  49707. begin
  49708. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49709. end;
  49710. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  49711. begin
  49712. pTDefRegMap(@Self)^.&set := $00000080;
  49713. end;
  49714. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  49715. begin
  49716. pTDefRegMap(@Self)^.clr := $00000080;
  49717. end;
  49718. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  49719. begin
  49720. if thebits = 0 then
  49721. pTDefRegMap(@Self)^.clr := $00000080
  49722. else
  49723. pTDefRegMap(@Self)^.&set := $00000080;
  49724. end;
  49725. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  49726. begin
  49727. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49728. end;
  49729. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  49730. begin
  49731. pTDefRegMap(@Self)^.&set := $00010000;
  49732. end;
  49733. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  49734. begin
  49735. pTDefRegMap(@Self)^.clr := $00010000;
  49736. end;
  49737. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  49738. begin
  49739. if thebits = 0 then
  49740. pTDefRegMap(@Self)^.clr := $00010000
  49741. else
  49742. pTDefRegMap(@Self)^.&set := $00010000;
  49743. end;
  49744. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  49745. begin
  49746. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49747. end;
  49748. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  49749. begin
  49750. pTDefRegMap(@Self)^.&set := $00020000;
  49751. end;
  49752. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  49753. begin
  49754. pTDefRegMap(@Self)^.clr := $00020000;
  49755. end;
  49756. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  49757. begin
  49758. if thebits = 0 then
  49759. pTDefRegMap(@Self)^.clr := $00020000
  49760. else
  49761. pTDefRegMap(@Self)^.&set := $00020000;
  49762. end;
  49763. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  49764. begin
  49765. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49766. end;
  49767. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  49768. begin
  49769. pTDefRegMap(@Self)^.&set := $00040000;
  49770. end;
  49771. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  49772. begin
  49773. pTDefRegMap(@Self)^.clr := $00040000;
  49774. end;
  49775. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  49776. begin
  49777. if thebits = 0 then
  49778. pTDefRegMap(@Self)^.clr := $00040000
  49779. else
  49780. pTDefRegMap(@Self)^.&set := $00040000;
  49781. end;
  49782. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  49783. begin
  49784. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49785. end;
  49786. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  49787. begin
  49788. pTDefRegMap(@Self)^.&set := $00080000;
  49789. end;
  49790. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  49791. begin
  49792. pTDefRegMap(@Self)^.clr := $00080000;
  49793. end;
  49794. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  49795. begin
  49796. if thebits = 0 then
  49797. pTDefRegMap(@Self)^.clr := $00080000
  49798. else
  49799. pTDefRegMap(@Self)^.&set := $00080000;
  49800. end;
  49801. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  49802. begin
  49803. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49804. end;
  49805. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  49806. begin
  49807. pTDefRegMap(@Self)^.&set := $00100000;
  49808. end;
  49809. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  49810. begin
  49811. pTDefRegMap(@Self)^.clr := $00100000;
  49812. end;
  49813. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  49814. begin
  49815. if thebits = 0 then
  49816. pTDefRegMap(@Self)^.clr := $00100000
  49817. else
  49818. pTDefRegMap(@Self)^.&set := $00100000;
  49819. end;
  49820. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  49821. begin
  49822. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49823. end;
  49824. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  49825. begin
  49826. pTDefRegMap(@Self)^.&set := $00200000;
  49827. end;
  49828. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  49829. begin
  49830. pTDefRegMap(@Self)^.clr := $00200000;
  49831. end;
  49832. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  49833. begin
  49834. if thebits = 0 then
  49835. pTDefRegMap(@Self)^.clr := $00200000
  49836. else
  49837. pTDefRegMap(@Self)^.&set := $00200000;
  49838. end;
  49839. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  49840. begin
  49841. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49842. end;
  49843. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  49844. begin
  49845. pTDefRegMap(@Self)^.&set := $00400000;
  49846. end;
  49847. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  49848. begin
  49849. pTDefRegMap(@Self)^.clr := $00400000;
  49850. end;
  49851. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  49852. begin
  49853. if thebits = 0 then
  49854. pTDefRegMap(@Self)^.clr := $00400000
  49855. else
  49856. pTDefRegMap(@Self)^.&set := $00400000;
  49857. end;
  49858. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  49859. begin
  49860. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49861. end;
  49862. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  49863. begin
  49864. pTDefRegMap(@Self)^.&set := $00800000;
  49865. end;
  49866. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  49867. begin
  49868. pTDefRegMap(@Self)^.clr := $00800000;
  49869. end;
  49870. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  49871. begin
  49872. if thebits = 0 then
  49873. pTDefRegMap(@Self)^.clr := $00800000
  49874. else
  49875. pTDefRegMap(@Self)^.&set := $00800000;
  49876. end;
  49877. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  49878. begin
  49879. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49880. end;
  49881. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  49882. begin
  49883. pTDefRegMap(@Self)^.val := thebits;
  49884. end;
  49885. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  49886. begin
  49887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49888. end;
  49889. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  49890. begin
  49891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49892. end;
  49893. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  49894. begin
  49895. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49896. end;
  49897. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  49898. begin
  49899. pTDefRegMap(@Self)^.&set := $00000004;
  49900. end;
  49901. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  49902. begin
  49903. pTDefRegMap(@Self)^.clr := $00000004;
  49904. end;
  49905. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  49906. begin
  49907. if thebits = 0 then
  49908. pTDefRegMap(@Self)^.clr := $00000004
  49909. else
  49910. pTDefRegMap(@Self)^.&set := $00000004;
  49911. end;
  49912. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  49913. begin
  49914. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49915. end;
  49916. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  49917. begin
  49918. pTDefRegMap(@Self)^.&set := $00000010;
  49919. end;
  49920. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  49921. begin
  49922. pTDefRegMap(@Self)^.clr := $00000010;
  49923. end;
  49924. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  49925. begin
  49926. if thebits = 0 then
  49927. pTDefRegMap(@Self)^.clr := $00000010
  49928. else
  49929. pTDefRegMap(@Self)^.&set := $00000010;
  49930. end;
  49931. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  49932. begin
  49933. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49934. end;
  49935. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  49936. begin
  49937. pTDefRegMap(@Self)^.&set := $00000020;
  49938. end;
  49939. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  49940. begin
  49941. pTDefRegMap(@Self)^.clr := $00000020;
  49942. end;
  49943. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  49944. begin
  49945. if thebits = 0 then
  49946. pTDefRegMap(@Self)^.clr := $00000020
  49947. else
  49948. pTDefRegMap(@Self)^.&set := $00000020;
  49949. end;
  49950. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  49951. begin
  49952. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49953. end;
  49954. procedure TDMAC1_DCH1CON.setCHAED; inline;
  49955. begin
  49956. pTDefRegMap(@Self)^.&set := $00000040;
  49957. end;
  49958. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  49959. begin
  49960. pTDefRegMap(@Self)^.clr := $00000040;
  49961. end;
  49962. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  49963. begin
  49964. if thebits = 0 then
  49965. pTDefRegMap(@Self)^.clr := $00000040
  49966. else
  49967. pTDefRegMap(@Self)^.&set := $00000040;
  49968. end;
  49969. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  49970. begin
  49971. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49972. end;
  49973. procedure TDMAC1_DCH1CON.setCHEN; inline;
  49974. begin
  49975. pTDefRegMap(@Self)^.&set := $00000080;
  49976. end;
  49977. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  49978. begin
  49979. pTDefRegMap(@Self)^.clr := $00000080;
  49980. end;
  49981. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  49982. begin
  49983. if thebits = 0 then
  49984. pTDefRegMap(@Self)^.clr := $00000080
  49985. else
  49986. pTDefRegMap(@Self)^.&set := $00000080;
  49987. end;
  49988. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  49989. begin
  49990. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49991. end;
  49992. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  49993. begin
  49994. pTDefRegMap(@Self)^.&set := $00000100;
  49995. end;
  49996. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  49997. begin
  49998. pTDefRegMap(@Self)^.clr := $00000100;
  49999. end;
  50000. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  50001. begin
  50002. if thebits = 0 then
  50003. pTDefRegMap(@Self)^.clr := $00000100
  50004. else
  50005. pTDefRegMap(@Self)^.&set := $00000100;
  50006. end;
  50007. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  50008. begin
  50009. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50010. end;
  50011. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  50012. begin
  50013. pTDefRegMap(@Self)^.&set := $00008000;
  50014. end;
  50015. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  50016. begin
  50017. pTDefRegMap(@Self)^.clr := $00008000;
  50018. end;
  50019. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  50020. begin
  50021. if thebits = 0 then
  50022. pTDefRegMap(@Self)^.clr := $00008000
  50023. else
  50024. pTDefRegMap(@Self)^.&set := $00008000;
  50025. end;
  50026. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  50027. begin
  50028. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50029. end;
  50030. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  50031. begin
  50032. pTDefRegMap(@Self)^.val := thebits;
  50033. end;
  50034. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  50035. begin
  50036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50037. end;
  50038. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  50039. begin
  50040. pTDefRegMap(@Self)^.&set := $00000008;
  50041. end;
  50042. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  50043. begin
  50044. pTDefRegMap(@Self)^.clr := $00000008;
  50045. end;
  50046. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  50047. begin
  50048. if thebits = 0 then
  50049. pTDefRegMap(@Self)^.clr := $00000008
  50050. else
  50051. pTDefRegMap(@Self)^.&set := $00000008;
  50052. end;
  50053. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  50054. begin
  50055. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50056. end;
  50057. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  50058. begin
  50059. pTDefRegMap(@Self)^.&set := $00000010;
  50060. end;
  50061. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  50062. begin
  50063. pTDefRegMap(@Self)^.clr := $00000010;
  50064. end;
  50065. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  50066. begin
  50067. if thebits = 0 then
  50068. pTDefRegMap(@Self)^.clr := $00000010
  50069. else
  50070. pTDefRegMap(@Self)^.&set := $00000010;
  50071. end;
  50072. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  50073. begin
  50074. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50075. end;
  50076. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  50077. begin
  50078. pTDefRegMap(@Self)^.&set := $00000020;
  50079. end;
  50080. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  50081. begin
  50082. pTDefRegMap(@Self)^.clr := $00000020;
  50083. end;
  50084. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  50085. begin
  50086. if thebits = 0 then
  50087. pTDefRegMap(@Self)^.clr := $00000020
  50088. else
  50089. pTDefRegMap(@Self)^.&set := $00000020;
  50090. end;
  50091. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  50092. begin
  50093. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50094. end;
  50095. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  50096. begin
  50097. pTDefRegMap(@Self)^.&set := $00000040;
  50098. end;
  50099. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  50100. begin
  50101. pTDefRegMap(@Self)^.clr := $00000040;
  50102. end;
  50103. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  50104. begin
  50105. if thebits = 0 then
  50106. pTDefRegMap(@Self)^.clr := $00000040
  50107. else
  50108. pTDefRegMap(@Self)^.&set := $00000040;
  50109. end;
  50110. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  50111. begin
  50112. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50113. end;
  50114. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  50115. begin
  50116. pTDefRegMap(@Self)^.&set := $00000080;
  50117. end;
  50118. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  50119. begin
  50120. pTDefRegMap(@Self)^.clr := $00000080;
  50121. end;
  50122. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  50123. begin
  50124. if thebits = 0 then
  50125. pTDefRegMap(@Self)^.clr := $00000080
  50126. else
  50127. pTDefRegMap(@Self)^.&set := $00000080;
  50128. end;
  50129. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  50130. begin
  50131. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50132. end;
  50133. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  50134. begin
  50135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50136. end;
  50137. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  50138. begin
  50139. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50140. end;
  50141. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  50142. begin
  50143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50144. end;
  50145. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  50146. begin
  50147. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50148. end;
  50149. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  50150. begin
  50151. pTDefRegMap(@Self)^.val := thebits;
  50152. end;
  50153. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  50154. begin
  50155. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50156. end;
  50157. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  50158. begin
  50159. pTDefRegMap(@Self)^.&set := $00000001;
  50160. end;
  50161. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  50162. begin
  50163. pTDefRegMap(@Self)^.clr := $00000001;
  50164. end;
  50165. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  50166. begin
  50167. if thebits = 0 then
  50168. pTDefRegMap(@Self)^.clr := $00000001
  50169. else
  50170. pTDefRegMap(@Self)^.&set := $00000001;
  50171. end;
  50172. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  50173. begin
  50174. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50175. end;
  50176. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  50177. begin
  50178. pTDefRegMap(@Self)^.&set := $00000002;
  50179. end;
  50180. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  50181. begin
  50182. pTDefRegMap(@Self)^.clr := $00000002;
  50183. end;
  50184. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  50185. begin
  50186. if thebits = 0 then
  50187. pTDefRegMap(@Self)^.clr := $00000002
  50188. else
  50189. pTDefRegMap(@Self)^.&set := $00000002;
  50190. end;
  50191. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  50192. begin
  50193. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50194. end;
  50195. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  50196. begin
  50197. pTDefRegMap(@Self)^.&set := $00000004;
  50198. end;
  50199. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  50200. begin
  50201. pTDefRegMap(@Self)^.clr := $00000004;
  50202. end;
  50203. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  50204. begin
  50205. if thebits = 0 then
  50206. pTDefRegMap(@Self)^.clr := $00000004
  50207. else
  50208. pTDefRegMap(@Self)^.&set := $00000004;
  50209. end;
  50210. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  50211. begin
  50212. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50213. end;
  50214. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  50215. begin
  50216. pTDefRegMap(@Self)^.&set := $00000008;
  50217. end;
  50218. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  50219. begin
  50220. pTDefRegMap(@Self)^.clr := $00000008;
  50221. end;
  50222. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  50223. begin
  50224. if thebits = 0 then
  50225. pTDefRegMap(@Self)^.clr := $00000008
  50226. else
  50227. pTDefRegMap(@Self)^.&set := $00000008;
  50228. end;
  50229. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  50230. begin
  50231. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50232. end;
  50233. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  50234. begin
  50235. pTDefRegMap(@Self)^.&set := $00000010;
  50236. end;
  50237. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  50238. begin
  50239. pTDefRegMap(@Self)^.clr := $00000010;
  50240. end;
  50241. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  50242. begin
  50243. if thebits = 0 then
  50244. pTDefRegMap(@Self)^.clr := $00000010
  50245. else
  50246. pTDefRegMap(@Self)^.&set := $00000010;
  50247. end;
  50248. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  50249. begin
  50250. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50251. end;
  50252. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  50253. begin
  50254. pTDefRegMap(@Self)^.&set := $00000020;
  50255. end;
  50256. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  50257. begin
  50258. pTDefRegMap(@Self)^.clr := $00000020;
  50259. end;
  50260. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  50261. begin
  50262. if thebits = 0 then
  50263. pTDefRegMap(@Self)^.clr := $00000020
  50264. else
  50265. pTDefRegMap(@Self)^.&set := $00000020;
  50266. end;
  50267. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  50268. begin
  50269. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50270. end;
  50271. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  50272. begin
  50273. pTDefRegMap(@Self)^.&set := $00000040;
  50274. end;
  50275. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  50276. begin
  50277. pTDefRegMap(@Self)^.clr := $00000040;
  50278. end;
  50279. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  50280. begin
  50281. if thebits = 0 then
  50282. pTDefRegMap(@Self)^.clr := $00000040
  50283. else
  50284. pTDefRegMap(@Self)^.&set := $00000040;
  50285. end;
  50286. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  50287. begin
  50288. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50289. end;
  50290. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  50291. begin
  50292. pTDefRegMap(@Self)^.&set := $00000080;
  50293. end;
  50294. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  50295. begin
  50296. pTDefRegMap(@Self)^.clr := $00000080;
  50297. end;
  50298. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  50299. begin
  50300. if thebits = 0 then
  50301. pTDefRegMap(@Self)^.clr := $00000080
  50302. else
  50303. pTDefRegMap(@Self)^.&set := $00000080;
  50304. end;
  50305. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  50306. begin
  50307. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50308. end;
  50309. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  50310. begin
  50311. pTDefRegMap(@Self)^.&set := $00010000;
  50312. end;
  50313. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  50314. begin
  50315. pTDefRegMap(@Self)^.clr := $00010000;
  50316. end;
  50317. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  50318. begin
  50319. if thebits = 0 then
  50320. pTDefRegMap(@Self)^.clr := $00010000
  50321. else
  50322. pTDefRegMap(@Self)^.&set := $00010000;
  50323. end;
  50324. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  50325. begin
  50326. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50327. end;
  50328. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  50329. begin
  50330. pTDefRegMap(@Self)^.&set := $00020000;
  50331. end;
  50332. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  50333. begin
  50334. pTDefRegMap(@Self)^.clr := $00020000;
  50335. end;
  50336. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  50337. begin
  50338. if thebits = 0 then
  50339. pTDefRegMap(@Self)^.clr := $00020000
  50340. else
  50341. pTDefRegMap(@Self)^.&set := $00020000;
  50342. end;
  50343. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  50344. begin
  50345. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  50346. end;
  50347. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  50348. begin
  50349. pTDefRegMap(@Self)^.&set := $00040000;
  50350. end;
  50351. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  50352. begin
  50353. pTDefRegMap(@Self)^.clr := $00040000;
  50354. end;
  50355. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  50356. begin
  50357. if thebits = 0 then
  50358. pTDefRegMap(@Self)^.clr := $00040000
  50359. else
  50360. pTDefRegMap(@Self)^.&set := $00040000;
  50361. end;
  50362. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  50363. begin
  50364. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50365. end;
  50366. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  50367. begin
  50368. pTDefRegMap(@Self)^.&set := $00080000;
  50369. end;
  50370. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  50371. begin
  50372. pTDefRegMap(@Self)^.clr := $00080000;
  50373. end;
  50374. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  50375. begin
  50376. if thebits = 0 then
  50377. pTDefRegMap(@Self)^.clr := $00080000
  50378. else
  50379. pTDefRegMap(@Self)^.&set := $00080000;
  50380. end;
  50381. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  50382. begin
  50383. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50384. end;
  50385. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  50386. begin
  50387. pTDefRegMap(@Self)^.&set := $00100000;
  50388. end;
  50389. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  50390. begin
  50391. pTDefRegMap(@Self)^.clr := $00100000;
  50392. end;
  50393. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  50394. begin
  50395. if thebits = 0 then
  50396. pTDefRegMap(@Self)^.clr := $00100000
  50397. else
  50398. pTDefRegMap(@Self)^.&set := $00100000;
  50399. end;
  50400. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  50401. begin
  50402. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50403. end;
  50404. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  50405. begin
  50406. pTDefRegMap(@Self)^.&set := $00200000;
  50407. end;
  50408. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  50409. begin
  50410. pTDefRegMap(@Self)^.clr := $00200000;
  50411. end;
  50412. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  50413. begin
  50414. if thebits = 0 then
  50415. pTDefRegMap(@Self)^.clr := $00200000
  50416. else
  50417. pTDefRegMap(@Self)^.&set := $00200000;
  50418. end;
  50419. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  50420. begin
  50421. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  50422. end;
  50423. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  50424. begin
  50425. pTDefRegMap(@Self)^.&set := $00400000;
  50426. end;
  50427. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  50428. begin
  50429. pTDefRegMap(@Self)^.clr := $00400000;
  50430. end;
  50431. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  50432. begin
  50433. if thebits = 0 then
  50434. pTDefRegMap(@Self)^.clr := $00400000
  50435. else
  50436. pTDefRegMap(@Self)^.&set := $00400000;
  50437. end;
  50438. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  50439. begin
  50440. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  50441. end;
  50442. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  50443. begin
  50444. pTDefRegMap(@Self)^.&set := $00800000;
  50445. end;
  50446. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  50447. begin
  50448. pTDefRegMap(@Self)^.clr := $00800000;
  50449. end;
  50450. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  50451. begin
  50452. if thebits = 0 then
  50453. pTDefRegMap(@Self)^.clr := $00800000
  50454. else
  50455. pTDefRegMap(@Self)^.&set := $00800000;
  50456. end;
  50457. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  50458. begin
  50459. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  50460. end;
  50461. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  50462. begin
  50463. pTDefRegMap(@Self)^.val := thebits;
  50464. end;
  50465. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  50466. begin
  50467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50468. end;
  50469. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  50470. begin
  50471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  50472. end;
  50473. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  50474. begin
  50475. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  50476. end;
  50477. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  50478. begin
  50479. pTDefRegMap(@Self)^.&set := $00000004;
  50480. end;
  50481. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  50482. begin
  50483. pTDefRegMap(@Self)^.clr := $00000004;
  50484. end;
  50485. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  50486. begin
  50487. if thebits = 0 then
  50488. pTDefRegMap(@Self)^.clr := $00000004
  50489. else
  50490. pTDefRegMap(@Self)^.&set := $00000004;
  50491. end;
  50492. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  50493. begin
  50494. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50495. end;
  50496. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  50497. begin
  50498. pTDefRegMap(@Self)^.&set := $00000010;
  50499. end;
  50500. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  50501. begin
  50502. pTDefRegMap(@Self)^.clr := $00000010;
  50503. end;
  50504. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  50505. begin
  50506. if thebits = 0 then
  50507. pTDefRegMap(@Self)^.clr := $00000010
  50508. else
  50509. pTDefRegMap(@Self)^.&set := $00000010;
  50510. end;
  50511. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  50512. begin
  50513. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50514. end;
  50515. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  50516. begin
  50517. pTDefRegMap(@Self)^.&set := $00000020;
  50518. end;
  50519. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  50520. begin
  50521. pTDefRegMap(@Self)^.clr := $00000020;
  50522. end;
  50523. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  50524. begin
  50525. if thebits = 0 then
  50526. pTDefRegMap(@Self)^.clr := $00000020
  50527. else
  50528. pTDefRegMap(@Self)^.&set := $00000020;
  50529. end;
  50530. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  50531. begin
  50532. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50533. end;
  50534. procedure TDMAC2_DCH2CON.setCHAED; inline;
  50535. begin
  50536. pTDefRegMap(@Self)^.&set := $00000040;
  50537. end;
  50538. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  50539. begin
  50540. pTDefRegMap(@Self)^.clr := $00000040;
  50541. end;
  50542. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  50543. begin
  50544. if thebits = 0 then
  50545. pTDefRegMap(@Self)^.clr := $00000040
  50546. else
  50547. pTDefRegMap(@Self)^.&set := $00000040;
  50548. end;
  50549. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  50550. begin
  50551. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50552. end;
  50553. procedure TDMAC2_DCH2CON.setCHEN; inline;
  50554. begin
  50555. pTDefRegMap(@Self)^.&set := $00000080;
  50556. end;
  50557. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  50558. begin
  50559. pTDefRegMap(@Self)^.clr := $00000080;
  50560. end;
  50561. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  50562. begin
  50563. if thebits = 0 then
  50564. pTDefRegMap(@Self)^.clr := $00000080
  50565. else
  50566. pTDefRegMap(@Self)^.&set := $00000080;
  50567. end;
  50568. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  50569. begin
  50570. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50571. end;
  50572. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  50573. begin
  50574. pTDefRegMap(@Self)^.&set := $00000100;
  50575. end;
  50576. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  50577. begin
  50578. pTDefRegMap(@Self)^.clr := $00000100;
  50579. end;
  50580. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  50581. begin
  50582. if thebits = 0 then
  50583. pTDefRegMap(@Self)^.clr := $00000100
  50584. else
  50585. pTDefRegMap(@Self)^.&set := $00000100;
  50586. end;
  50587. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  50588. begin
  50589. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50590. end;
  50591. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  50592. begin
  50593. pTDefRegMap(@Self)^.&set := $00008000;
  50594. end;
  50595. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  50596. begin
  50597. pTDefRegMap(@Self)^.clr := $00008000;
  50598. end;
  50599. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  50600. begin
  50601. if thebits = 0 then
  50602. pTDefRegMap(@Self)^.clr := $00008000
  50603. else
  50604. pTDefRegMap(@Self)^.&set := $00008000;
  50605. end;
  50606. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  50607. begin
  50608. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50609. end;
  50610. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  50611. begin
  50612. pTDefRegMap(@Self)^.val := thebits;
  50613. end;
  50614. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  50615. begin
  50616. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50617. end;
  50618. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  50619. begin
  50620. pTDefRegMap(@Self)^.&set := $00000008;
  50621. end;
  50622. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  50623. begin
  50624. pTDefRegMap(@Self)^.clr := $00000008;
  50625. end;
  50626. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  50627. begin
  50628. if thebits = 0 then
  50629. pTDefRegMap(@Self)^.clr := $00000008
  50630. else
  50631. pTDefRegMap(@Self)^.&set := $00000008;
  50632. end;
  50633. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  50634. begin
  50635. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50636. end;
  50637. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  50638. begin
  50639. pTDefRegMap(@Self)^.&set := $00000010;
  50640. end;
  50641. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  50642. begin
  50643. pTDefRegMap(@Self)^.clr := $00000010;
  50644. end;
  50645. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  50646. begin
  50647. if thebits = 0 then
  50648. pTDefRegMap(@Self)^.clr := $00000010
  50649. else
  50650. pTDefRegMap(@Self)^.&set := $00000010;
  50651. end;
  50652. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  50653. begin
  50654. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50655. end;
  50656. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  50657. begin
  50658. pTDefRegMap(@Self)^.&set := $00000020;
  50659. end;
  50660. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  50661. begin
  50662. pTDefRegMap(@Self)^.clr := $00000020;
  50663. end;
  50664. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  50665. begin
  50666. if thebits = 0 then
  50667. pTDefRegMap(@Self)^.clr := $00000020
  50668. else
  50669. pTDefRegMap(@Self)^.&set := $00000020;
  50670. end;
  50671. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  50672. begin
  50673. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50674. end;
  50675. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  50676. begin
  50677. pTDefRegMap(@Self)^.&set := $00000040;
  50678. end;
  50679. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  50680. begin
  50681. pTDefRegMap(@Self)^.clr := $00000040;
  50682. end;
  50683. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  50684. begin
  50685. if thebits = 0 then
  50686. pTDefRegMap(@Self)^.clr := $00000040
  50687. else
  50688. pTDefRegMap(@Self)^.&set := $00000040;
  50689. end;
  50690. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  50691. begin
  50692. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50693. end;
  50694. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  50695. begin
  50696. pTDefRegMap(@Self)^.&set := $00000080;
  50697. end;
  50698. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  50699. begin
  50700. pTDefRegMap(@Self)^.clr := $00000080;
  50701. end;
  50702. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  50703. begin
  50704. if thebits = 0 then
  50705. pTDefRegMap(@Self)^.clr := $00000080
  50706. else
  50707. pTDefRegMap(@Self)^.&set := $00000080;
  50708. end;
  50709. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  50710. begin
  50711. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50712. end;
  50713. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  50714. begin
  50715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50716. end;
  50717. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  50718. begin
  50719. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50720. end;
  50721. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  50722. begin
  50723. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50724. end;
  50725. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  50726. begin
  50727. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50728. end;
  50729. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  50730. begin
  50731. pTDefRegMap(@Self)^.val := thebits;
  50732. end;
  50733. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  50734. begin
  50735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50736. end;
  50737. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  50738. begin
  50739. pTDefRegMap(@Self)^.&set := $00000001;
  50740. end;
  50741. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  50742. begin
  50743. pTDefRegMap(@Self)^.clr := $00000001;
  50744. end;
  50745. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  50746. begin
  50747. if thebits = 0 then
  50748. pTDefRegMap(@Self)^.clr := $00000001
  50749. else
  50750. pTDefRegMap(@Self)^.&set := $00000001;
  50751. end;
  50752. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  50753. begin
  50754. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50755. end;
  50756. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  50757. begin
  50758. pTDefRegMap(@Self)^.&set := $00000002;
  50759. end;
  50760. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  50761. begin
  50762. pTDefRegMap(@Self)^.clr := $00000002;
  50763. end;
  50764. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  50765. begin
  50766. if thebits = 0 then
  50767. pTDefRegMap(@Self)^.clr := $00000002
  50768. else
  50769. pTDefRegMap(@Self)^.&set := $00000002;
  50770. end;
  50771. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  50772. begin
  50773. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50774. end;
  50775. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  50776. begin
  50777. pTDefRegMap(@Self)^.&set := $00000004;
  50778. end;
  50779. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  50780. begin
  50781. pTDefRegMap(@Self)^.clr := $00000004;
  50782. end;
  50783. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  50784. begin
  50785. if thebits = 0 then
  50786. pTDefRegMap(@Self)^.clr := $00000004
  50787. else
  50788. pTDefRegMap(@Self)^.&set := $00000004;
  50789. end;
  50790. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  50791. begin
  50792. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50793. end;
  50794. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  50795. begin
  50796. pTDefRegMap(@Self)^.&set := $00000008;
  50797. end;
  50798. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  50799. begin
  50800. pTDefRegMap(@Self)^.clr := $00000008;
  50801. end;
  50802. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  50803. begin
  50804. if thebits = 0 then
  50805. pTDefRegMap(@Self)^.clr := $00000008
  50806. else
  50807. pTDefRegMap(@Self)^.&set := $00000008;
  50808. end;
  50809. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  50810. begin
  50811. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50812. end;
  50813. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  50814. begin
  50815. pTDefRegMap(@Self)^.&set := $00000010;
  50816. end;
  50817. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  50818. begin
  50819. pTDefRegMap(@Self)^.clr := $00000010;
  50820. end;
  50821. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  50822. begin
  50823. if thebits = 0 then
  50824. pTDefRegMap(@Self)^.clr := $00000010
  50825. else
  50826. pTDefRegMap(@Self)^.&set := $00000010;
  50827. end;
  50828. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  50829. begin
  50830. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50831. end;
  50832. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  50833. begin
  50834. pTDefRegMap(@Self)^.&set := $00000020;
  50835. end;
  50836. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  50837. begin
  50838. pTDefRegMap(@Self)^.clr := $00000020;
  50839. end;
  50840. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  50841. begin
  50842. if thebits = 0 then
  50843. pTDefRegMap(@Self)^.clr := $00000020
  50844. else
  50845. pTDefRegMap(@Self)^.&set := $00000020;
  50846. end;
  50847. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  50848. begin
  50849. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50850. end;
  50851. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  50852. begin
  50853. pTDefRegMap(@Self)^.&set := $00000040;
  50854. end;
  50855. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  50856. begin
  50857. pTDefRegMap(@Self)^.clr := $00000040;
  50858. end;
  50859. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  50860. begin
  50861. if thebits = 0 then
  50862. pTDefRegMap(@Self)^.clr := $00000040
  50863. else
  50864. pTDefRegMap(@Self)^.&set := $00000040;
  50865. end;
  50866. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  50867. begin
  50868. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50869. end;
  50870. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  50871. begin
  50872. pTDefRegMap(@Self)^.&set := $00000080;
  50873. end;
  50874. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  50875. begin
  50876. pTDefRegMap(@Self)^.clr := $00000080;
  50877. end;
  50878. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  50879. begin
  50880. if thebits = 0 then
  50881. pTDefRegMap(@Self)^.clr := $00000080
  50882. else
  50883. pTDefRegMap(@Self)^.&set := $00000080;
  50884. end;
  50885. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  50886. begin
  50887. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50888. end;
  50889. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  50890. begin
  50891. pTDefRegMap(@Self)^.&set := $00010000;
  50892. end;
  50893. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  50894. begin
  50895. pTDefRegMap(@Self)^.clr := $00010000;
  50896. end;
  50897. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  50898. begin
  50899. if thebits = 0 then
  50900. pTDefRegMap(@Self)^.clr := $00010000
  50901. else
  50902. pTDefRegMap(@Self)^.&set := $00010000;
  50903. end;
  50904. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  50905. begin
  50906. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50907. end;
  50908. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  50909. begin
  50910. pTDefRegMap(@Self)^.&set := $00020000;
  50911. end;
  50912. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  50913. begin
  50914. pTDefRegMap(@Self)^.clr := $00020000;
  50915. end;
  50916. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  50917. begin
  50918. if thebits = 0 then
  50919. pTDefRegMap(@Self)^.clr := $00020000
  50920. else
  50921. pTDefRegMap(@Self)^.&set := $00020000;
  50922. end;
  50923. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  50924. begin
  50925. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  50926. end;
  50927. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  50928. begin
  50929. pTDefRegMap(@Self)^.&set := $00040000;
  50930. end;
  50931. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  50932. begin
  50933. pTDefRegMap(@Self)^.clr := $00040000;
  50934. end;
  50935. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  50936. begin
  50937. if thebits = 0 then
  50938. pTDefRegMap(@Self)^.clr := $00040000
  50939. else
  50940. pTDefRegMap(@Self)^.&set := $00040000;
  50941. end;
  50942. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  50943. begin
  50944. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50945. end;
  50946. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  50947. begin
  50948. pTDefRegMap(@Self)^.&set := $00080000;
  50949. end;
  50950. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  50951. begin
  50952. pTDefRegMap(@Self)^.clr := $00080000;
  50953. end;
  50954. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  50955. begin
  50956. if thebits = 0 then
  50957. pTDefRegMap(@Self)^.clr := $00080000
  50958. else
  50959. pTDefRegMap(@Self)^.&set := $00080000;
  50960. end;
  50961. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  50962. begin
  50963. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50964. end;
  50965. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  50966. begin
  50967. pTDefRegMap(@Self)^.&set := $00100000;
  50968. end;
  50969. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  50970. begin
  50971. pTDefRegMap(@Self)^.clr := $00100000;
  50972. end;
  50973. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  50974. begin
  50975. if thebits = 0 then
  50976. pTDefRegMap(@Self)^.clr := $00100000
  50977. else
  50978. pTDefRegMap(@Self)^.&set := $00100000;
  50979. end;
  50980. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  50981. begin
  50982. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50983. end;
  50984. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  50985. begin
  50986. pTDefRegMap(@Self)^.&set := $00200000;
  50987. end;
  50988. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  50989. begin
  50990. pTDefRegMap(@Self)^.clr := $00200000;
  50991. end;
  50992. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  50993. begin
  50994. if thebits = 0 then
  50995. pTDefRegMap(@Self)^.clr := $00200000
  50996. else
  50997. pTDefRegMap(@Self)^.&set := $00200000;
  50998. end;
  50999. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  51000. begin
  51001. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  51002. end;
  51003. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  51004. begin
  51005. pTDefRegMap(@Self)^.&set := $00400000;
  51006. end;
  51007. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  51008. begin
  51009. pTDefRegMap(@Self)^.clr := $00400000;
  51010. end;
  51011. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  51012. begin
  51013. if thebits = 0 then
  51014. pTDefRegMap(@Self)^.clr := $00400000
  51015. else
  51016. pTDefRegMap(@Self)^.&set := $00400000;
  51017. end;
  51018. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  51019. begin
  51020. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  51021. end;
  51022. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  51023. begin
  51024. pTDefRegMap(@Self)^.&set := $00800000;
  51025. end;
  51026. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  51027. begin
  51028. pTDefRegMap(@Self)^.clr := $00800000;
  51029. end;
  51030. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  51031. begin
  51032. if thebits = 0 then
  51033. pTDefRegMap(@Self)^.clr := $00800000
  51034. else
  51035. pTDefRegMap(@Self)^.&set := $00800000;
  51036. end;
  51037. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  51038. begin
  51039. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  51040. end;
  51041. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  51042. begin
  51043. pTDefRegMap(@Self)^.val := thebits;
  51044. end;
  51045. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  51046. begin
  51047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51048. end;
  51049. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  51050. begin
  51051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  51052. end;
  51053. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  51054. begin
  51055. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  51056. end;
  51057. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  51058. begin
  51059. pTDefRegMap(@Self)^.&set := $00000004;
  51060. end;
  51061. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  51062. begin
  51063. pTDefRegMap(@Self)^.clr := $00000004;
  51064. end;
  51065. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  51066. begin
  51067. if thebits = 0 then
  51068. pTDefRegMap(@Self)^.clr := $00000004
  51069. else
  51070. pTDefRegMap(@Self)^.&set := $00000004;
  51071. end;
  51072. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  51073. begin
  51074. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51075. end;
  51076. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  51077. begin
  51078. pTDefRegMap(@Self)^.&set := $00000010;
  51079. end;
  51080. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  51081. begin
  51082. pTDefRegMap(@Self)^.clr := $00000010;
  51083. end;
  51084. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  51085. begin
  51086. if thebits = 0 then
  51087. pTDefRegMap(@Self)^.clr := $00000010
  51088. else
  51089. pTDefRegMap(@Self)^.&set := $00000010;
  51090. end;
  51091. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  51092. begin
  51093. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51094. end;
  51095. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  51096. begin
  51097. pTDefRegMap(@Self)^.&set := $00000020;
  51098. end;
  51099. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  51100. begin
  51101. pTDefRegMap(@Self)^.clr := $00000020;
  51102. end;
  51103. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  51104. begin
  51105. if thebits = 0 then
  51106. pTDefRegMap(@Self)^.clr := $00000020
  51107. else
  51108. pTDefRegMap(@Self)^.&set := $00000020;
  51109. end;
  51110. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  51111. begin
  51112. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51113. end;
  51114. procedure TDMAC3_DCH3CON.setCHAED; inline;
  51115. begin
  51116. pTDefRegMap(@Self)^.&set := $00000040;
  51117. end;
  51118. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  51119. begin
  51120. pTDefRegMap(@Self)^.clr := $00000040;
  51121. end;
  51122. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  51123. begin
  51124. if thebits = 0 then
  51125. pTDefRegMap(@Self)^.clr := $00000040
  51126. else
  51127. pTDefRegMap(@Self)^.&set := $00000040;
  51128. end;
  51129. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  51130. begin
  51131. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51132. end;
  51133. procedure TDMAC3_DCH3CON.setCHEN; inline;
  51134. begin
  51135. pTDefRegMap(@Self)^.&set := $00000080;
  51136. end;
  51137. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  51138. begin
  51139. pTDefRegMap(@Self)^.clr := $00000080;
  51140. end;
  51141. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  51142. begin
  51143. if thebits = 0 then
  51144. pTDefRegMap(@Self)^.clr := $00000080
  51145. else
  51146. pTDefRegMap(@Self)^.&set := $00000080;
  51147. end;
  51148. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  51149. begin
  51150. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51151. end;
  51152. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  51153. begin
  51154. pTDefRegMap(@Self)^.&set := $00000100;
  51155. end;
  51156. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  51157. begin
  51158. pTDefRegMap(@Self)^.clr := $00000100;
  51159. end;
  51160. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  51161. begin
  51162. if thebits = 0 then
  51163. pTDefRegMap(@Self)^.clr := $00000100
  51164. else
  51165. pTDefRegMap(@Self)^.&set := $00000100;
  51166. end;
  51167. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  51168. begin
  51169. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51170. end;
  51171. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  51172. begin
  51173. pTDefRegMap(@Self)^.&set := $00008000;
  51174. end;
  51175. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  51176. begin
  51177. pTDefRegMap(@Self)^.clr := $00008000;
  51178. end;
  51179. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  51180. begin
  51181. if thebits = 0 then
  51182. pTDefRegMap(@Self)^.clr := $00008000
  51183. else
  51184. pTDefRegMap(@Self)^.&set := $00008000;
  51185. end;
  51186. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  51187. begin
  51188. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51189. end;
  51190. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  51191. begin
  51192. pTDefRegMap(@Self)^.val := thebits;
  51193. end;
  51194. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  51195. begin
  51196. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51197. end;
  51198. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  51199. begin
  51200. pTDefRegMap(@Self)^.&set := $00000008;
  51201. end;
  51202. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  51203. begin
  51204. pTDefRegMap(@Self)^.clr := $00000008;
  51205. end;
  51206. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  51207. begin
  51208. if thebits = 0 then
  51209. pTDefRegMap(@Self)^.clr := $00000008
  51210. else
  51211. pTDefRegMap(@Self)^.&set := $00000008;
  51212. end;
  51213. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  51214. begin
  51215. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51216. end;
  51217. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  51218. begin
  51219. pTDefRegMap(@Self)^.&set := $00000010;
  51220. end;
  51221. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  51222. begin
  51223. pTDefRegMap(@Self)^.clr := $00000010;
  51224. end;
  51225. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  51226. begin
  51227. if thebits = 0 then
  51228. pTDefRegMap(@Self)^.clr := $00000010
  51229. else
  51230. pTDefRegMap(@Self)^.&set := $00000010;
  51231. end;
  51232. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  51233. begin
  51234. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51235. end;
  51236. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  51237. begin
  51238. pTDefRegMap(@Self)^.&set := $00000020;
  51239. end;
  51240. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  51241. begin
  51242. pTDefRegMap(@Self)^.clr := $00000020;
  51243. end;
  51244. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  51245. begin
  51246. if thebits = 0 then
  51247. pTDefRegMap(@Self)^.clr := $00000020
  51248. else
  51249. pTDefRegMap(@Self)^.&set := $00000020;
  51250. end;
  51251. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  51252. begin
  51253. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51254. end;
  51255. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  51256. begin
  51257. pTDefRegMap(@Self)^.&set := $00000040;
  51258. end;
  51259. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  51260. begin
  51261. pTDefRegMap(@Self)^.clr := $00000040;
  51262. end;
  51263. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  51264. begin
  51265. if thebits = 0 then
  51266. pTDefRegMap(@Self)^.clr := $00000040
  51267. else
  51268. pTDefRegMap(@Self)^.&set := $00000040;
  51269. end;
  51270. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  51271. begin
  51272. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51273. end;
  51274. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  51275. begin
  51276. pTDefRegMap(@Self)^.&set := $00000080;
  51277. end;
  51278. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  51279. begin
  51280. pTDefRegMap(@Self)^.clr := $00000080;
  51281. end;
  51282. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  51283. begin
  51284. if thebits = 0 then
  51285. pTDefRegMap(@Self)^.clr := $00000080
  51286. else
  51287. pTDefRegMap(@Self)^.&set := $00000080;
  51288. end;
  51289. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  51290. begin
  51291. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51292. end;
  51293. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  51294. begin
  51295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  51296. end;
  51297. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  51298. begin
  51299. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  51300. end;
  51301. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  51302. begin
  51303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  51304. end;
  51305. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  51306. begin
  51307. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  51308. end;
  51309. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  51310. begin
  51311. pTDefRegMap(@Self)^.val := thebits;
  51312. end;
  51313. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  51314. begin
  51315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51316. end;
  51317. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  51318. begin
  51319. pTDefRegMap(@Self)^.&set := $00000001;
  51320. end;
  51321. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  51322. begin
  51323. pTDefRegMap(@Self)^.clr := $00000001;
  51324. end;
  51325. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  51326. begin
  51327. if thebits = 0 then
  51328. pTDefRegMap(@Self)^.clr := $00000001
  51329. else
  51330. pTDefRegMap(@Self)^.&set := $00000001;
  51331. end;
  51332. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  51333. begin
  51334. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51335. end;
  51336. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  51337. begin
  51338. pTDefRegMap(@Self)^.&set := $00000002;
  51339. end;
  51340. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  51341. begin
  51342. pTDefRegMap(@Self)^.clr := $00000002;
  51343. end;
  51344. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  51345. begin
  51346. if thebits = 0 then
  51347. pTDefRegMap(@Self)^.clr := $00000002
  51348. else
  51349. pTDefRegMap(@Self)^.&set := $00000002;
  51350. end;
  51351. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  51352. begin
  51353. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51354. end;
  51355. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  51356. begin
  51357. pTDefRegMap(@Self)^.&set := $00000004;
  51358. end;
  51359. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  51360. begin
  51361. pTDefRegMap(@Self)^.clr := $00000004;
  51362. end;
  51363. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  51364. begin
  51365. if thebits = 0 then
  51366. pTDefRegMap(@Self)^.clr := $00000004
  51367. else
  51368. pTDefRegMap(@Self)^.&set := $00000004;
  51369. end;
  51370. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  51371. begin
  51372. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51373. end;
  51374. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  51375. begin
  51376. pTDefRegMap(@Self)^.&set := $00000008;
  51377. end;
  51378. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  51379. begin
  51380. pTDefRegMap(@Self)^.clr := $00000008;
  51381. end;
  51382. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  51383. begin
  51384. if thebits = 0 then
  51385. pTDefRegMap(@Self)^.clr := $00000008
  51386. else
  51387. pTDefRegMap(@Self)^.&set := $00000008;
  51388. end;
  51389. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  51390. begin
  51391. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51392. end;
  51393. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  51394. begin
  51395. pTDefRegMap(@Self)^.&set := $00000010;
  51396. end;
  51397. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  51398. begin
  51399. pTDefRegMap(@Self)^.clr := $00000010;
  51400. end;
  51401. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  51402. begin
  51403. if thebits = 0 then
  51404. pTDefRegMap(@Self)^.clr := $00000010
  51405. else
  51406. pTDefRegMap(@Self)^.&set := $00000010;
  51407. end;
  51408. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  51409. begin
  51410. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51411. end;
  51412. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  51413. begin
  51414. pTDefRegMap(@Self)^.&set := $00000020;
  51415. end;
  51416. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  51417. begin
  51418. pTDefRegMap(@Self)^.clr := $00000020;
  51419. end;
  51420. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  51421. begin
  51422. if thebits = 0 then
  51423. pTDefRegMap(@Self)^.clr := $00000020
  51424. else
  51425. pTDefRegMap(@Self)^.&set := $00000020;
  51426. end;
  51427. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  51428. begin
  51429. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51430. end;
  51431. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  51432. begin
  51433. pTDefRegMap(@Self)^.&set := $00000040;
  51434. end;
  51435. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  51436. begin
  51437. pTDefRegMap(@Self)^.clr := $00000040;
  51438. end;
  51439. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  51440. begin
  51441. if thebits = 0 then
  51442. pTDefRegMap(@Self)^.clr := $00000040
  51443. else
  51444. pTDefRegMap(@Self)^.&set := $00000040;
  51445. end;
  51446. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  51447. begin
  51448. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51449. end;
  51450. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  51451. begin
  51452. pTDefRegMap(@Self)^.&set := $00000080;
  51453. end;
  51454. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  51455. begin
  51456. pTDefRegMap(@Self)^.clr := $00000080;
  51457. end;
  51458. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  51459. begin
  51460. if thebits = 0 then
  51461. pTDefRegMap(@Self)^.clr := $00000080
  51462. else
  51463. pTDefRegMap(@Self)^.&set := $00000080;
  51464. end;
  51465. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  51466. begin
  51467. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51468. end;
  51469. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  51470. begin
  51471. pTDefRegMap(@Self)^.&set := $00010000;
  51472. end;
  51473. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  51474. begin
  51475. pTDefRegMap(@Self)^.clr := $00010000;
  51476. end;
  51477. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  51478. begin
  51479. if thebits = 0 then
  51480. pTDefRegMap(@Self)^.clr := $00010000
  51481. else
  51482. pTDefRegMap(@Self)^.&set := $00010000;
  51483. end;
  51484. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  51485. begin
  51486. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  51487. end;
  51488. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  51489. begin
  51490. pTDefRegMap(@Self)^.&set := $00020000;
  51491. end;
  51492. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  51493. begin
  51494. pTDefRegMap(@Self)^.clr := $00020000;
  51495. end;
  51496. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  51497. begin
  51498. if thebits = 0 then
  51499. pTDefRegMap(@Self)^.clr := $00020000
  51500. else
  51501. pTDefRegMap(@Self)^.&set := $00020000;
  51502. end;
  51503. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  51504. begin
  51505. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  51506. end;
  51507. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  51508. begin
  51509. pTDefRegMap(@Self)^.&set := $00040000;
  51510. end;
  51511. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  51512. begin
  51513. pTDefRegMap(@Self)^.clr := $00040000;
  51514. end;
  51515. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  51516. begin
  51517. if thebits = 0 then
  51518. pTDefRegMap(@Self)^.clr := $00040000
  51519. else
  51520. pTDefRegMap(@Self)^.&set := $00040000;
  51521. end;
  51522. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  51523. begin
  51524. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  51525. end;
  51526. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  51527. begin
  51528. pTDefRegMap(@Self)^.&set := $00080000;
  51529. end;
  51530. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  51531. begin
  51532. pTDefRegMap(@Self)^.clr := $00080000;
  51533. end;
  51534. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  51535. begin
  51536. if thebits = 0 then
  51537. pTDefRegMap(@Self)^.clr := $00080000
  51538. else
  51539. pTDefRegMap(@Self)^.&set := $00080000;
  51540. end;
  51541. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  51542. begin
  51543. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  51544. end;
  51545. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  51546. begin
  51547. pTDefRegMap(@Self)^.&set := $00100000;
  51548. end;
  51549. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  51550. begin
  51551. pTDefRegMap(@Self)^.clr := $00100000;
  51552. end;
  51553. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  51554. begin
  51555. if thebits = 0 then
  51556. pTDefRegMap(@Self)^.clr := $00100000
  51557. else
  51558. pTDefRegMap(@Self)^.&set := $00100000;
  51559. end;
  51560. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  51561. begin
  51562. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  51563. end;
  51564. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  51565. begin
  51566. pTDefRegMap(@Self)^.&set := $00200000;
  51567. end;
  51568. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  51569. begin
  51570. pTDefRegMap(@Self)^.clr := $00200000;
  51571. end;
  51572. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  51573. begin
  51574. if thebits = 0 then
  51575. pTDefRegMap(@Self)^.clr := $00200000
  51576. else
  51577. pTDefRegMap(@Self)^.&set := $00200000;
  51578. end;
  51579. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  51580. begin
  51581. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  51582. end;
  51583. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  51584. begin
  51585. pTDefRegMap(@Self)^.&set := $00400000;
  51586. end;
  51587. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  51588. begin
  51589. pTDefRegMap(@Self)^.clr := $00400000;
  51590. end;
  51591. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  51592. begin
  51593. if thebits = 0 then
  51594. pTDefRegMap(@Self)^.clr := $00400000
  51595. else
  51596. pTDefRegMap(@Self)^.&set := $00400000;
  51597. end;
  51598. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  51599. begin
  51600. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  51601. end;
  51602. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  51603. begin
  51604. pTDefRegMap(@Self)^.&set := $00800000;
  51605. end;
  51606. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  51607. begin
  51608. pTDefRegMap(@Self)^.clr := $00800000;
  51609. end;
  51610. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  51611. begin
  51612. if thebits = 0 then
  51613. pTDefRegMap(@Self)^.clr := $00800000
  51614. else
  51615. pTDefRegMap(@Self)^.&set := $00800000;
  51616. end;
  51617. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  51618. begin
  51619. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  51620. end;
  51621. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  51622. begin
  51623. pTDefRegMap(@Self)^.val := thebits;
  51624. end;
  51625. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  51626. begin
  51627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51628. end;
  51629. procedure TDMAC4_DCH4CON.setCHPRI(thebits : TBits_2); inline;
  51630. begin
  51631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  51632. end;
  51633. function TDMAC4_DCH4CON.getCHPRI : TBits_2; inline;
  51634. begin
  51635. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  51636. end;
  51637. procedure TDMAC4_DCH4CON.setCHEDET; inline;
  51638. begin
  51639. pTDefRegMap(@Self)^.&set := $00000004;
  51640. end;
  51641. procedure TDMAC4_DCH4CON.clearCHEDET; inline;
  51642. begin
  51643. pTDefRegMap(@Self)^.clr := $00000004;
  51644. end;
  51645. procedure TDMAC4_DCH4CON.setCHEDET(thebits : TBits_1); inline;
  51646. begin
  51647. if thebits = 0 then
  51648. pTDefRegMap(@Self)^.clr := $00000004
  51649. else
  51650. pTDefRegMap(@Self)^.&set := $00000004;
  51651. end;
  51652. function TDMAC4_DCH4CON.getCHEDET : TBits_1; inline;
  51653. begin
  51654. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51655. end;
  51656. procedure TDMAC4_DCH4CON.setCHAEN; inline;
  51657. begin
  51658. pTDefRegMap(@Self)^.&set := $00000010;
  51659. end;
  51660. procedure TDMAC4_DCH4CON.clearCHAEN; inline;
  51661. begin
  51662. pTDefRegMap(@Self)^.clr := $00000010;
  51663. end;
  51664. procedure TDMAC4_DCH4CON.setCHAEN(thebits : TBits_1); inline;
  51665. begin
  51666. if thebits = 0 then
  51667. pTDefRegMap(@Self)^.clr := $00000010
  51668. else
  51669. pTDefRegMap(@Self)^.&set := $00000010;
  51670. end;
  51671. function TDMAC4_DCH4CON.getCHAEN : TBits_1; inline;
  51672. begin
  51673. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51674. end;
  51675. procedure TDMAC4_DCH4CON.setCHCHN; inline;
  51676. begin
  51677. pTDefRegMap(@Self)^.&set := $00000020;
  51678. end;
  51679. procedure TDMAC4_DCH4CON.clearCHCHN; inline;
  51680. begin
  51681. pTDefRegMap(@Self)^.clr := $00000020;
  51682. end;
  51683. procedure TDMAC4_DCH4CON.setCHCHN(thebits : TBits_1); inline;
  51684. begin
  51685. if thebits = 0 then
  51686. pTDefRegMap(@Self)^.clr := $00000020
  51687. else
  51688. pTDefRegMap(@Self)^.&set := $00000020;
  51689. end;
  51690. function TDMAC4_DCH4CON.getCHCHN : TBits_1; inline;
  51691. begin
  51692. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51693. end;
  51694. procedure TDMAC4_DCH4CON.setCHAED; inline;
  51695. begin
  51696. pTDefRegMap(@Self)^.&set := $00000040;
  51697. end;
  51698. procedure TDMAC4_DCH4CON.clearCHAED; inline;
  51699. begin
  51700. pTDefRegMap(@Self)^.clr := $00000040;
  51701. end;
  51702. procedure TDMAC4_DCH4CON.setCHAED(thebits : TBits_1); inline;
  51703. begin
  51704. if thebits = 0 then
  51705. pTDefRegMap(@Self)^.clr := $00000040
  51706. else
  51707. pTDefRegMap(@Self)^.&set := $00000040;
  51708. end;
  51709. function TDMAC4_DCH4CON.getCHAED : TBits_1; inline;
  51710. begin
  51711. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51712. end;
  51713. procedure TDMAC4_DCH4CON.setCHEN; inline;
  51714. begin
  51715. pTDefRegMap(@Self)^.&set := $00000080;
  51716. end;
  51717. procedure TDMAC4_DCH4CON.clearCHEN; inline;
  51718. begin
  51719. pTDefRegMap(@Self)^.clr := $00000080;
  51720. end;
  51721. procedure TDMAC4_DCH4CON.setCHEN(thebits : TBits_1); inline;
  51722. begin
  51723. if thebits = 0 then
  51724. pTDefRegMap(@Self)^.clr := $00000080
  51725. else
  51726. pTDefRegMap(@Self)^.&set := $00000080;
  51727. end;
  51728. function TDMAC4_DCH4CON.getCHEN : TBits_1; inline;
  51729. begin
  51730. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51731. end;
  51732. procedure TDMAC4_DCH4CON.setCHCHNS; inline;
  51733. begin
  51734. pTDefRegMap(@Self)^.&set := $00000100;
  51735. end;
  51736. procedure TDMAC4_DCH4CON.clearCHCHNS; inline;
  51737. begin
  51738. pTDefRegMap(@Self)^.clr := $00000100;
  51739. end;
  51740. procedure TDMAC4_DCH4CON.setCHCHNS(thebits : TBits_1); inline;
  51741. begin
  51742. if thebits = 0 then
  51743. pTDefRegMap(@Self)^.clr := $00000100
  51744. else
  51745. pTDefRegMap(@Self)^.&set := $00000100;
  51746. end;
  51747. function TDMAC4_DCH4CON.getCHCHNS : TBits_1; inline;
  51748. begin
  51749. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51750. end;
  51751. procedure TDMAC4_DCH4CON.setCHBUSY; inline;
  51752. begin
  51753. pTDefRegMap(@Self)^.&set := $00008000;
  51754. end;
  51755. procedure TDMAC4_DCH4CON.clearCHBUSY; inline;
  51756. begin
  51757. pTDefRegMap(@Self)^.clr := $00008000;
  51758. end;
  51759. procedure TDMAC4_DCH4CON.setCHBUSY(thebits : TBits_1); inline;
  51760. begin
  51761. if thebits = 0 then
  51762. pTDefRegMap(@Self)^.clr := $00008000
  51763. else
  51764. pTDefRegMap(@Self)^.&set := $00008000;
  51765. end;
  51766. function TDMAC4_DCH4CON.getCHBUSY : TBits_1; inline;
  51767. begin
  51768. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51769. end;
  51770. procedure TDMAC4_DCH4CON.setw(thebits : TBits_32); inline;
  51771. begin
  51772. pTDefRegMap(@Self)^.val := thebits;
  51773. end;
  51774. function TDMAC4_DCH4CON.getw : TBits_32; inline;
  51775. begin
  51776. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51777. end;
  51778. procedure TDMAC4_DCH4ECON.setAIRQEN; inline;
  51779. begin
  51780. pTDefRegMap(@Self)^.&set := $00000008;
  51781. end;
  51782. procedure TDMAC4_DCH4ECON.clearAIRQEN; inline;
  51783. begin
  51784. pTDefRegMap(@Self)^.clr := $00000008;
  51785. end;
  51786. procedure TDMAC4_DCH4ECON.setAIRQEN(thebits : TBits_1); inline;
  51787. begin
  51788. if thebits = 0 then
  51789. pTDefRegMap(@Self)^.clr := $00000008
  51790. else
  51791. pTDefRegMap(@Self)^.&set := $00000008;
  51792. end;
  51793. function TDMAC4_DCH4ECON.getAIRQEN : TBits_1; inline;
  51794. begin
  51795. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51796. end;
  51797. procedure TDMAC4_DCH4ECON.setSIRQEN; inline;
  51798. begin
  51799. pTDefRegMap(@Self)^.&set := $00000010;
  51800. end;
  51801. procedure TDMAC4_DCH4ECON.clearSIRQEN; inline;
  51802. begin
  51803. pTDefRegMap(@Self)^.clr := $00000010;
  51804. end;
  51805. procedure TDMAC4_DCH4ECON.setSIRQEN(thebits : TBits_1); inline;
  51806. begin
  51807. if thebits = 0 then
  51808. pTDefRegMap(@Self)^.clr := $00000010
  51809. else
  51810. pTDefRegMap(@Self)^.&set := $00000010;
  51811. end;
  51812. function TDMAC4_DCH4ECON.getSIRQEN : TBits_1; inline;
  51813. begin
  51814. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51815. end;
  51816. procedure TDMAC4_DCH4ECON.setPATEN; inline;
  51817. begin
  51818. pTDefRegMap(@Self)^.&set := $00000020;
  51819. end;
  51820. procedure TDMAC4_DCH4ECON.clearPATEN; inline;
  51821. begin
  51822. pTDefRegMap(@Self)^.clr := $00000020;
  51823. end;
  51824. procedure TDMAC4_DCH4ECON.setPATEN(thebits : TBits_1); inline;
  51825. begin
  51826. if thebits = 0 then
  51827. pTDefRegMap(@Self)^.clr := $00000020
  51828. else
  51829. pTDefRegMap(@Self)^.&set := $00000020;
  51830. end;
  51831. function TDMAC4_DCH4ECON.getPATEN : TBits_1; inline;
  51832. begin
  51833. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51834. end;
  51835. procedure TDMAC4_DCH4ECON.setCABORT; inline;
  51836. begin
  51837. pTDefRegMap(@Self)^.&set := $00000040;
  51838. end;
  51839. procedure TDMAC4_DCH4ECON.clearCABORT; inline;
  51840. begin
  51841. pTDefRegMap(@Self)^.clr := $00000040;
  51842. end;
  51843. procedure TDMAC4_DCH4ECON.setCABORT(thebits : TBits_1); inline;
  51844. begin
  51845. if thebits = 0 then
  51846. pTDefRegMap(@Self)^.clr := $00000040
  51847. else
  51848. pTDefRegMap(@Self)^.&set := $00000040;
  51849. end;
  51850. function TDMAC4_DCH4ECON.getCABORT : TBits_1; inline;
  51851. begin
  51852. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51853. end;
  51854. procedure TDMAC4_DCH4ECON.setCFORCE; inline;
  51855. begin
  51856. pTDefRegMap(@Self)^.&set := $00000080;
  51857. end;
  51858. procedure TDMAC4_DCH4ECON.clearCFORCE; inline;
  51859. begin
  51860. pTDefRegMap(@Self)^.clr := $00000080;
  51861. end;
  51862. procedure TDMAC4_DCH4ECON.setCFORCE(thebits : TBits_1); inline;
  51863. begin
  51864. if thebits = 0 then
  51865. pTDefRegMap(@Self)^.clr := $00000080
  51866. else
  51867. pTDefRegMap(@Self)^.&set := $00000080;
  51868. end;
  51869. function TDMAC4_DCH4ECON.getCFORCE : TBits_1; inline;
  51870. begin
  51871. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51872. end;
  51873. procedure TDMAC4_DCH4ECON.setCHSIRQ(thebits : TBits_8); inline;
  51874. begin
  51875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  51876. end;
  51877. function TDMAC4_DCH4ECON.getCHSIRQ : TBits_8; inline;
  51878. begin
  51879. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  51880. end;
  51881. procedure TDMAC4_DCH4ECON.setCHAIRQ(thebits : TBits_8); inline;
  51882. begin
  51883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  51884. end;
  51885. function TDMAC4_DCH4ECON.getCHAIRQ : TBits_8; inline;
  51886. begin
  51887. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  51888. end;
  51889. procedure TDMAC4_DCH4ECON.setw(thebits : TBits_32); inline;
  51890. begin
  51891. pTDefRegMap(@Self)^.val := thebits;
  51892. end;
  51893. function TDMAC4_DCH4ECON.getw : TBits_32; inline;
  51894. begin
  51895. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51896. end;
  51897. procedure TDMAC4_DCH4INT.setCHERIF; inline;
  51898. begin
  51899. pTDefRegMap(@Self)^.&set := $00000001;
  51900. end;
  51901. procedure TDMAC4_DCH4INT.clearCHERIF; inline;
  51902. begin
  51903. pTDefRegMap(@Self)^.clr := $00000001;
  51904. end;
  51905. procedure TDMAC4_DCH4INT.setCHERIF(thebits : TBits_1); inline;
  51906. begin
  51907. if thebits = 0 then
  51908. pTDefRegMap(@Self)^.clr := $00000001
  51909. else
  51910. pTDefRegMap(@Self)^.&set := $00000001;
  51911. end;
  51912. function TDMAC4_DCH4INT.getCHERIF : TBits_1; inline;
  51913. begin
  51914. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51915. end;
  51916. procedure TDMAC4_DCH4INT.setCHTAIF; inline;
  51917. begin
  51918. pTDefRegMap(@Self)^.&set := $00000002;
  51919. end;
  51920. procedure TDMAC4_DCH4INT.clearCHTAIF; inline;
  51921. begin
  51922. pTDefRegMap(@Self)^.clr := $00000002;
  51923. end;
  51924. procedure TDMAC4_DCH4INT.setCHTAIF(thebits : TBits_1); inline;
  51925. begin
  51926. if thebits = 0 then
  51927. pTDefRegMap(@Self)^.clr := $00000002
  51928. else
  51929. pTDefRegMap(@Self)^.&set := $00000002;
  51930. end;
  51931. function TDMAC4_DCH4INT.getCHTAIF : TBits_1; inline;
  51932. begin
  51933. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51934. end;
  51935. procedure TDMAC4_DCH4INT.setCHCCIF; inline;
  51936. begin
  51937. pTDefRegMap(@Self)^.&set := $00000004;
  51938. end;
  51939. procedure TDMAC4_DCH4INT.clearCHCCIF; inline;
  51940. begin
  51941. pTDefRegMap(@Self)^.clr := $00000004;
  51942. end;
  51943. procedure TDMAC4_DCH4INT.setCHCCIF(thebits : TBits_1); inline;
  51944. begin
  51945. if thebits = 0 then
  51946. pTDefRegMap(@Self)^.clr := $00000004
  51947. else
  51948. pTDefRegMap(@Self)^.&set := $00000004;
  51949. end;
  51950. function TDMAC4_DCH4INT.getCHCCIF : TBits_1; inline;
  51951. begin
  51952. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51953. end;
  51954. procedure TDMAC4_DCH4INT.setCHBCIF; inline;
  51955. begin
  51956. pTDefRegMap(@Self)^.&set := $00000008;
  51957. end;
  51958. procedure TDMAC4_DCH4INT.clearCHBCIF; inline;
  51959. begin
  51960. pTDefRegMap(@Self)^.clr := $00000008;
  51961. end;
  51962. procedure TDMAC4_DCH4INT.setCHBCIF(thebits : TBits_1); inline;
  51963. begin
  51964. if thebits = 0 then
  51965. pTDefRegMap(@Self)^.clr := $00000008
  51966. else
  51967. pTDefRegMap(@Self)^.&set := $00000008;
  51968. end;
  51969. function TDMAC4_DCH4INT.getCHBCIF : TBits_1; inline;
  51970. begin
  51971. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51972. end;
  51973. procedure TDMAC4_DCH4INT.setCHDHIF; inline;
  51974. begin
  51975. pTDefRegMap(@Self)^.&set := $00000010;
  51976. end;
  51977. procedure TDMAC4_DCH4INT.clearCHDHIF; inline;
  51978. begin
  51979. pTDefRegMap(@Self)^.clr := $00000010;
  51980. end;
  51981. procedure TDMAC4_DCH4INT.setCHDHIF(thebits : TBits_1); inline;
  51982. begin
  51983. if thebits = 0 then
  51984. pTDefRegMap(@Self)^.clr := $00000010
  51985. else
  51986. pTDefRegMap(@Self)^.&set := $00000010;
  51987. end;
  51988. function TDMAC4_DCH4INT.getCHDHIF : TBits_1; inline;
  51989. begin
  51990. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51991. end;
  51992. procedure TDMAC4_DCH4INT.setCHDDIF; inline;
  51993. begin
  51994. pTDefRegMap(@Self)^.&set := $00000020;
  51995. end;
  51996. procedure TDMAC4_DCH4INT.clearCHDDIF; inline;
  51997. begin
  51998. pTDefRegMap(@Self)^.clr := $00000020;
  51999. end;
  52000. procedure TDMAC4_DCH4INT.setCHDDIF(thebits : TBits_1); inline;
  52001. begin
  52002. if thebits = 0 then
  52003. pTDefRegMap(@Self)^.clr := $00000020
  52004. else
  52005. pTDefRegMap(@Self)^.&set := $00000020;
  52006. end;
  52007. function TDMAC4_DCH4INT.getCHDDIF : TBits_1; inline;
  52008. begin
  52009. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52010. end;
  52011. procedure TDMAC4_DCH4INT.setCHSHIF; inline;
  52012. begin
  52013. pTDefRegMap(@Self)^.&set := $00000040;
  52014. end;
  52015. procedure TDMAC4_DCH4INT.clearCHSHIF; inline;
  52016. begin
  52017. pTDefRegMap(@Self)^.clr := $00000040;
  52018. end;
  52019. procedure TDMAC4_DCH4INT.setCHSHIF(thebits : TBits_1); inline;
  52020. begin
  52021. if thebits = 0 then
  52022. pTDefRegMap(@Self)^.clr := $00000040
  52023. else
  52024. pTDefRegMap(@Self)^.&set := $00000040;
  52025. end;
  52026. function TDMAC4_DCH4INT.getCHSHIF : TBits_1; inline;
  52027. begin
  52028. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52029. end;
  52030. procedure TDMAC4_DCH4INT.setCHSDIF; inline;
  52031. begin
  52032. pTDefRegMap(@Self)^.&set := $00000080;
  52033. end;
  52034. procedure TDMAC4_DCH4INT.clearCHSDIF; inline;
  52035. begin
  52036. pTDefRegMap(@Self)^.clr := $00000080;
  52037. end;
  52038. procedure TDMAC4_DCH4INT.setCHSDIF(thebits : TBits_1); inline;
  52039. begin
  52040. if thebits = 0 then
  52041. pTDefRegMap(@Self)^.clr := $00000080
  52042. else
  52043. pTDefRegMap(@Self)^.&set := $00000080;
  52044. end;
  52045. function TDMAC4_DCH4INT.getCHSDIF : TBits_1; inline;
  52046. begin
  52047. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52048. end;
  52049. procedure TDMAC4_DCH4INT.setCHERIE; inline;
  52050. begin
  52051. pTDefRegMap(@Self)^.&set := $00010000;
  52052. end;
  52053. procedure TDMAC4_DCH4INT.clearCHERIE; inline;
  52054. begin
  52055. pTDefRegMap(@Self)^.clr := $00010000;
  52056. end;
  52057. procedure TDMAC4_DCH4INT.setCHERIE(thebits : TBits_1); inline;
  52058. begin
  52059. if thebits = 0 then
  52060. pTDefRegMap(@Self)^.clr := $00010000
  52061. else
  52062. pTDefRegMap(@Self)^.&set := $00010000;
  52063. end;
  52064. function TDMAC4_DCH4INT.getCHERIE : TBits_1; inline;
  52065. begin
  52066. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  52067. end;
  52068. procedure TDMAC4_DCH4INT.setCHTAIE; inline;
  52069. begin
  52070. pTDefRegMap(@Self)^.&set := $00020000;
  52071. end;
  52072. procedure TDMAC4_DCH4INT.clearCHTAIE; inline;
  52073. begin
  52074. pTDefRegMap(@Self)^.clr := $00020000;
  52075. end;
  52076. procedure TDMAC4_DCH4INT.setCHTAIE(thebits : TBits_1); inline;
  52077. begin
  52078. if thebits = 0 then
  52079. pTDefRegMap(@Self)^.clr := $00020000
  52080. else
  52081. pTDefRegMap(@Self)^.&set := $00020000;
  52082. end;
  52083. function TDMAC4_DCH4INT.getCHTAIE : TBits_1; inline;
  52084. begin
  52085. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  52086. end;
  52087. procedure TDMAC4_DCH4INT.setCHCCIE; inline;
  52088. begin
  52089. pTDefRegMap(@Self)^.&set := $00040000;
  52090. end;
  52091. procedure TDMAC4_DCH4INT.clearCHCCIE; inline;
  52092. begin
  52093. pTDefRegMap(@Self)^.clr := $00040000;
  52094. end;
  52095. procedure TDMAC4_DCH4INT.setCHCCIE(thebits : TBits_1); inline;
  52096. begin
  52097. if thebits = 0 then
  52098. pTDefRegMap(@Self)^.clr := $00040000
  52099. else
  52100. pTDefRegMap(@Self)^.&set := $00040000;
  52101. end;
  52102. function TDMAC4_DCH4INT.getCHCCIE : TBits_1; inline;
  52103. begin
  52104. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  52105. end;
  52106. procedure TDMAC4_DCH4INT.setCHBCIE; inline;
  52107. begin
  52108. pTDefRegMap(@Self)^.&set := $00080000;
  52109. end;
  52110. procedure TDMAC4_DCH4INT.clearCHBCIE; inline;
  52111. begin
  52112. pTDefRegMap(@Self)^.clr := $00080000;
  52113. end;
  52114. procedure TDMAC4_DCH4INT.setCHBCIE(thebits : TBits_1); inline;
  52115. begin
  52116. if thebits = 0 then
  52117. pTDefRegMap(@Self)^.clr := $00080000
  52118. else
  52119. pTDefRegMap(@Self)^.&set := $00080000;
  52120. end;
  52121. function TDMAC4_DCH4INT.getCHBCIE : TBits_1; inline;
  52122. begin
  52123. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  52124. end;
  52125. procedure TDMAC4_DCH4INT.setCHDHIE; inline;
  52126. begin
  52127. pTDefRegMap(@Self)^.&set := $00100000;
  52128. end;
  52129. procedure TDMAC4_DCH4INT.clearCHDHIE; inline;
  52130. begin
  52131. pTDefRegMap(@Self)^.clr := $00100000;
  52132. end;
  52133. procedure TDMAC4_DCH4INT.setCHDHIE(thebits : TBits_1); inline;
  52134. begin
  52135. if thebits = 0 then
  52136. pTDefRegMap(@Self)^.clr := $00100000
  52137. else
  52138. pTDefRegMap(@Self)^.&set := $00100000;
  52139. end;
  52140. function TDMAC4_DCH4INT.getCHDHIE : TBits_1; inline;
  52141. begin
  52142. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  52143. end;
  52144. procedure TDMAC4_DCH4INT.setCHDDIE; inline;
  52145. begin
  52146. pTDefRegMap(@Self)^.&set := $00200000;
  52147. end;
  52148. procedure TDMAC4_DCH4INT.clearCHDDIE; inline;
  52149. begin
  52150. pTDefRegMap(@Self)^.clr := $00200000;
  52151. end;
  52152. procedure TDMAC4_DCH4INT.setCHDDIE(thebits : TBits_1); inline;
  52153. begin
  52154. if thebits = 0 then
  52155. pTDefRegMap(@Self)^.clr := $00200000
  52156. else
  52157. pTDefRegMap(@Self)^.&set := $00200000;
  52158. end;
  52159. function TDMAC4_DCH4INT.getCHDDIE : TBits_1; inline;
  52160. begin
  52161. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  52162. end;
  52163. procedure TDMAC4_DCH4INT.setCHSHIE; inline;
  52164. begin
  52165. pTDefRegMap(@Self)^.&set := $00400000;
  52166. end;
  52167. procedure TDMAC4_DCH4INT.clearCHSHIE; inline;
  52168. begin
  52169. pTDefRegMap(@Self)^.clr := $00400000;
  52170. end;
  52171. procedure TDMAC4_DCH4INT.setCHSHIE(thebits : TBits_1); inline;
  52172. begin
  52173. if thebits = 0 then
  52174. pTDefRegMap(@Self)^.clr := $00400000
  52175. else
  52176. pTDefRegMap(@Self)^.&set := $00400000;
  52177. end;
  52178. function TDMAC4_DCH4INT.getCHSHIE : TBits_1; inline;
  52179. begin
  52180. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  52181. end;
  52182. procedure TDMAC4_DCH4INT.setCHSDIE; inline;
  52183. begin
  52184. pTDefRegMap(@Self)^.&set := $00800000;
  52185. end;
  52186. procedure TDMAC4_DCH4INT.clearCHSDIE; inline;
  52187. begin
  52188. pTDefRegMap(@Self)^.clr := $00800000;
  52189. end;
  52190. procedure TDMAC4_DCH4INT.setCHSDIE(thebits : TBits_1); inline;
  52191. begin
  52192. if thebits = 0 then
  52193. pTDefRegMap(@Self)^.clr := $00800000
  52194. else
  52195. pTDefRegMap(@Self)^.&set := $00800000;
  52196. end;
  52197. function TDMAC4_DCH4INT.getCHSDIE : TBits_1; inline;
  52198. begin
  52199. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  52200. end;
  52201. procedure TDMAC4_DCH4INT.setw(thebits : TBits_32); inline;
  52202. begin
  52203. pTDefRegMap(@Self)^.val := thebits;
  52204. end;
  52205. function TDMAC4_DCH4INT.getw : TBits_32; inline;
  52206. begin
  52207. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52208. end;
  52209. procedure TDMAC5_DCH5CON.setCHPRI(thebits : TBits_2); inline;
  52210. begin
  52211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  52212. end;
  52213. function TDMAC5_DCH5CON.getCHPRI : TBits_2; inline;
  52214. begin
  52215. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  52216. end;
  52217. procedure TDMAC5_DCH5CON.setCHEDET; inline;
  52218. begin
  52219. pTDefRegMap(@Self)^.&set := $00000004;
  52220. end;
  52221. procedure TDMAC5_DCH5CON.clearCHEDET; inline;
  52222. begin
  52223. pTDefRegMap(@Self)^.clr := $00000004;
  52224. end;
  52225. procedure TDMAC5_DCH5CON.setCHEDET(thebits : TBits_1); inline;
  52226. begin
  52227. if thebits = 0 then
  52228. pTDefRegMap(@Self)^.clr := $00000004
  52229. else
  52230. pTDefRegMap(@Self)^.&set := $00000004;
  52231. end;
  52232. function TDMAC5_DCH5CON.getCHEDET : TBits_1; inline;
  52233. begin
  52234. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52235. end;
  52236. procedure TDMAC5_DCH5CON.setCHAEN; inline;
  52237. begin
  52238. pTDefRegMap(@Self)^.&set := $00000010;
  52239. end;
  52240. procedure TDMAC5_DCH5CON.clearCHAEN; inline;
  52241. begin
  52242. pTDefRegMap(@Self)^.clr := $00000010;
  52243. end;
  52244. procedure TDMAC5_DCH5CON.setCHAEN(thebits : TBits_1); inline;
  52245. begin
  52246. if thebits = 0 then
  52247. pTDefRegMap(@Self)^.clr := $00000010
  52248. else
  52249. pTDefRegMap(@Self)^.&set := $00000010;
  52250. end;
  52251. function TDMAC5_DCH5CON.getCHAEN : TBits_1; inline;
  52252. begin
  52253. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52254. end;
  52255. procedure TDMAC5_DCH5CON.setCHCHN; inline;
  52256. begin
  52257. pTDefRegMap(@Self)^.&set := $00000020;
  52258. end;
  52259. procedure TDMAC5_DCH5CON.clearCHCHN; inline;
  52260. begin
  52261. pTDefRegMap(@Self)^.clr := $00000020;
  52262. end;
  52263. procedure TDMAC5_DCH5CON.setCHCHN(thebits : TBits_1); inline;
  52264. begin
  52265. if thebits = 0 then
  52266. pTDefRegMap(@Self)^.clr := $00000020
  52267. else
  52268. pTDefRegMap(@Self)^.&set := $00000020;
  52269. end;
  52270. function TDMAC5_DCH5CON.getCHCHN : TBits_1; inline;
  52271. begin
  52272. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52273. end;
  52274. procedure TDMAC5_DCH5CON.setCHAED; inline;
  52275. begin
  52276. pTDefRegMap(@Self)^.&set := $00000040;
  52277. end;
  52278. procedure TDMAC5_DCH5CON.clearCHAED; inline;
  52279. begin
  52280. pTDefRegMap(@Self)^.clr := $00000040;
  52281. end;
  52282. procedure TDMAC5_DCH5CON.setCHAED(thebits : TBits_1); inline;
  52283. begin
  52284. if thebits = 0 then
  52285. pTDefRegMap(@Self)^.clr := $00000040
  52286. else
  52287. pTDefRegMap(@Self)^.&set := $00000040;
  52288. end;
  52289. function TDMAC5_DCH5CON.getCHAED : TBits_1; inline;
  52290. begin
  52291. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52292. end;
  52293. procedure TDMAC5_DCH5CON.setCHEN; inline;
  52294. begin
  52295. pTDefRegMap(@Self)^.&set := $00000080;
  52296. end;
  52297. procedure TDMAC5_DCH5CON.clearCHEN; inline;
  52298. begin
  52299. pTDefRegMap(@Self)^.clr := $00000080;
  52300. end;
  52301. procedure TDMAC5_DCH5CON.setCHEN(thebits : TBits_1); inline;
  52302. begin
  52303. if thebits = 0 then
  52304. pTDefRegMap(@Self)^.clr := $00000080
  52305. else
  52306. pTDefRegMap(@Self)^.&set := $00000080;
  52307. end;
  52308. function TDMAC5_DCH5CON.getCHEN : TBits_1; inline;
  52309. begin
  52310. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52311. end;
  52312. procedure TDMAC5_DCH5CON.setCHCHNS; inline;
  52313. begin
  52314. pTDefRegMap(@Self)^.&set := $00000100;
  52315. end;
  52316. procedure TDMAC5_DCH5CON.clearCHCHNS; inline;
  52317. begin
  52318. pTDefRegMap(@Self)^.clr := $00000100;
  52319. end;
  52320. procedure TDMAC5_DCH5CON.setCHCHNS(thebits : TBits_1); inline;
  52321. begin
  52322. if thebits = 0 then
  52323. pTDefRegMap(@Self)^.clr := $00000100
  52324. else
  52325. pTDefRegMap(@Self)^.&set := $00000100;
  52326. end;
  52327. function TDMAC5_DCH5CON.getCHCHNS : TBits_1; inline;
  52328. begin
  52329. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52330. end;
  52331. procedure TDMAC5_DCH5CON.setCHBUSY; inline;
  52332. begin
  52333. pTDefRegMap(@Self)^.&set := $00008000;
  52334. end;
  52335. procedure TDMAC5_DCH5CON.clearCHBUSY; inline;
  52336. begin
  52337. pTDefRegMap(@Self)^.clr := $00008000;
  52338. end;
  52339. procedure TDMAC5_DCH5CON.setCHBUSY(thebits : TBits_1); inline;
  52340. begin
  52341. if thebits = 0 then
  52342. pTDefRegMap(@Self)^.clr := $00008000
  52343. else
  52344. pTDefRegMap(@Self)^.&set := $00008000;
  52345. end;
  52346. function TDMAC5_DCH5CON.getCHBUSY : TBits_1; inline;
  52347. begin
  52348. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52349. end;
  52350. procedure TDMAC5_DCH5CON.setw(thebits : TBits_32); inline;
  52351. begin
  52352. pTDefRegMap(@Self)^.val := thebits;
  52353. end;
  52354. function TDMAC5_DCH5CON.getw : TBits_32; inline;
  52355. begin
  52356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52357. end;
  52358. procedure TDMAC5_DCH5ECON.setAIRQEN; inline;
  52359. begin
  52360. pTDefRegMap(@Self)^.&set := $00000008;
  52361. end;
  52362. procedure TDMAC5_DCH5ECON.clearAIRQEN; inline;
  52363. begin
  52364. pTDefRegMap(@Self)^.clr := $00000008;
  52365. end;
  52366. procedure TDMAC5_DCH5ECON.setAIRQEN(thebits : TBits_1); inline;
  52367. begin
  52368. if thebits = 0 then
  52369. pTDefRegMap(@Self)^.clr := $00000008
  52370. else
  52371. pTDefRegMap(@Self)^.&set := $00000008;
  52372. end;
  52373. function TDMAC5_DCH5ECON.getAIRQEN : TBits_1; inline;
  52374. begin
  52375. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52376. end;
  52377. procedure TDMAC5_DCH5ECON.setSIRQEN; inline;
  52378. begin
  52379. pTDefRegMap(@Self)^.&set := $00000010;
  52380. end;
  52381. procedure TDMAC5_DCH5ECON.clearSIRQEN; inline;
  52382. begin
  52383. pTDefRegMap(@Self)^.clr := $00000010;
  52384. end;
  52385. procedure TDMAC5_DCH5ECON.setSIRQEN(thebits : TBits_1); inline;
  52386. begin
  52387. if thebits = 0 then
  52388. pTDefRegMap(@Self)^.clr := $00000010
  52389. else
  52390. pTDefRegMap(@Self)^.&set := $00000010;
  52391. end;
  52392. function TDMAC5_DCH5ECON.getSIRQEN : TBits_1; inline;
  52393. begin
  52394. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52395. end;
  52396. procedure TDMAC5_DCH5ECON.setPATEN; inline;
  52397. begin
  52398. pTDefRegMap(@Self)^.&set := $00000020;
  52399. end;
  52400. procedure TDMAC5_DCH5ECON.clearPATEN; inline;
  52401. begin
  52402. pTDefRegMap(@Self)^.clr := $00000020;
  52403. end;
  52404. procedure TDMAC5_DCH5ECON.setPATEN(thebits : TBits_1); inline;
  52405. begin
  52406. if thebits = 0 then
  52407. pTDefRegMap(@Self)^.clr := $00000020
  52408. else
  52409. pTDefRegMap(@Self)^.&set := $00000020;
  52410. end;
  52411. function TDMAC5_DCH5ECON.getPATEN : TBits_1; inline;
  52412. begin
  52413. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52414. end;
  52415. procedure TDMAC5_DCH5ECON.setCABORT; inline;
  52416. begin
  52417. pTDefRegMap(@Self)^.&set := $00000040;
  52418. end;
  52419. procedure TDMAC5_DCH5ECON.clearCABORT; inline;
  52420. begin
  52421. pTDefRegMap(@Self)^.clr := $00000040;
  52422. end;
  52423. procedure TDMAC5_DCH5ECON.setCABORT(thebits : TBits_1); inline;
  52424. begin
  52425. if thebits = 0 then
  52426. pTDefRegMap(@Self)^.clr := $00000040
  52427. else
  52428. pTDefRegMap(@Self)^.&set := $00000040;
  52429. end;
  52430. function TDMAC5_DCH5ECON.getCABORT : TBits_1; inline;
  52431. begin
  52432. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52433. end;
  52434. procedure TDMAC5_DCH5ECON.setCFORCE; inline;
  52435. begin
  52436. pTDefRegMap(@Self)^.&set := $00000080;
  52437. end;
  52438. procedure TDMAC5_DCH5ECON.clearCFORCE; inline;
  52439. begin
  52440. pTDefRegMap(@Self)^.clr := $00000080;
  52441. end;
  52442. procedure TDMAC5_DCH5ECON.setCFORCE(thebits : TBits_1); inline;
  52443. begin
  52444. if thebits = 0 then
  52445. pTDefRegMap(@Self)^.clr := $00000080
  52446. else
  52447. pTDefRegMap(@Self)^.&set := $00000080;
  52448. end;
  52449. function TDMAC5_DCH5ECON.getCFORCE : TBits_1; inline;
  52450. begin
  52451. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52452. end;
  52453. procedure TDMAC5_DCH5ECON.setCHSIRQ(thebits : TBits_8); inline;
  52454. begin
  52455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  52456. end;
  52457. function TDMAC5_DCH5ECON.getCHSIRQ : TBits_8; inline;
  52458. begin
  52459. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  52460. end;
  52461. procedure TDMAC5_DCH5ECON.setCHAIRQ(thebits : TBits_8); inline;
  52462. begin
  52463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  52464. end;
  52465. function TDMAC5_DCH5ECON.getCHAIRQ : TBits_8; inline;
  52466. begin
  52467. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  52468. end;
  52469. procedure TDMAC5_DCH5ECON.setw(thebits : TBits_32); inline;
  52470. begin
  52471. pTDefRegMap(@Self)^.val := thebits;
  52472. end;
  52473. function TDMAC5_DCH5ECON.getw : TBits_32; inline;
  52474. begin
  52475. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52476. end;
  52477. procedure TDMAC5_DCH5INT.setCHERIF; inline;
  52478. begin
  52479. pTDefRegMap(@Self)^.&set := $00000001;
  52480. end;
  52481. procedure TDMAC5_DCH5INT.clearCHERIF; inline;
  52482. begin
  52483. pTDefRegMap(@Self)^.clr := $00000001;
  52484. end;
  52485. procedure TDMAC5_DCH5INT.setCHERIF(thebits : TBits_1); inline;
  52486. begin
  52487. if thebits = 0 then
  52488. pTDefRegMap(@Self)^.clr := $00000001
  52489. else
  52490. pTDefRegMap(@Self)^.&set := $00000001;
  52491. end;
  52492. function TDMAC5_DCH5INT.getCHERIF : TBits_1; inline;
  52493. begin
  52494. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52495. end;
  52496. procedure TDMAC5_DCH5INT.setCHTAIF; inline;
  52497. begin
  52498. pTDefRegMap(@Self)^.&set := $00000002;
  52499. end;
  52500. procedure TDMAC5_DCH5INT.clearCHTAIF; inline;
  52501. begin
  52502. pTDefRegMap(@Self)^.clr := $00000002;
  52503. end;
  52504. procedure TDMAC5_DCH5INT.setCHTAIF(thebits : TBits_1); inline;
  52505. begin
  52506. if thebits = 0 then
  52507. pTDefRegMap(@Self)^.clr := $00000002
  52508. else
  52509. pTDefRegMap(@Self)^.&set := $00000002;
  52510. end;
  52511. function TDMAC5_DCH5INT.getCHTAIF : TBits_1; inline;
  52512. begin
  52513. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52514. end;
  52515. procedure TDMAC5_DCH5INT.setCHCCIF; inline;
  52516. begin
  52517. pTDefRegMap(@Self)^.&set := $00000004;
  52518. end;
  52519. procedure TDMAC5_DCH5INT.clearCHCCIF; inline;
  52520. begin
  52521. pTDefRegMap(@Self)^.clr := $00000004;
  52522. end;
  52523. procedure TDMAC5_DCH5INT.setCHCCIF(thebits : TBits_1); inline;
  52524. begin
  52525. if thebits = 0 then
  52526. pTDefRegMap(@Self)^.clr := $00000004
  52527. else
  52528. pTDefRegMap(@Self)^.&set := $00000004;
  52529. end;
  52530. function TDMAC5_DCH5INT.getCHCCIF : TBits_1; inline;
  52531. begin
  52532. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52533. end;
  52534. procedure TDMAC5_DCH5INT.setCHBCIF; inline;
  52535. begin
  52536. pTDefRegMap(@Self)^.&set := $00000008;
  52537. end;
  52538. procedure TDMAC5_DCH5INT.clearCHBCIF; inline;
  52539. begin
  52540. pTDefRegMap(@Self)^.clr := $00000008;
  52541. end;
  52542. procedure TDMAC5_DCH5INT.setCHBCIF(thebits : TBits_1); inline;
  52543. begin
  52544. if thebits = 0 then
  52545. pTDefRegMap(@Self)^.clr := $00000008
  52546. else
  52547. pTDefRegMap(@Self)^.&set := $00000008;
  52548. end;
  52549. function TDMAC5_DCH5INT.getCHBCIF : TBits_1; inline;
  52550. begin
  52551. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52552. end;
  52553. procedure TDMAC5_DCH5INT.setCHDHIF; inline;
  52554. begin
  52555. pTDefRegMap(@Self)^.&set := $00000010;
  52556. end;
  52557. procedure TDMAC5_DCH5INT.clearCHDHIF; inline;
  52558. begin
  52559. pTDefRegMap(@Self)^.clr := $00000010;
  52560. end;
  52561. procedure TDMAC5_DCH5INT.setCHDHIF(thebits : TBits_1); inline;
  52562. begin
  52563. if thebits = 0 then
  52564. pTDefRegMap(@Self)^.clr := $00000010
  52565. else
  52566. pTDefRegMap(@Self)^.&set := $00000010;
  52567. end;
  52568. function TDMAC5_DCH5INT.getCHDHIF : TBits_1; inline;
  52569. begin
  52570. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52571. end;
  52572. procedure TDMAC5_DCH5INT.setCHDDIF; inline;
  52573. begin
  52574. pTDefRegMap(@Self)^.&set := $00000020;
  52575. end;
  52576. procedure TDMAC5_DCH5INT.clearCHDDIF; inline;
  52577. begin
  52578. pTDefRegMap(@Self)^.clr := $00000020;
  52579. end;
  52580. procedure TDMAC5_DCH5INT.setCHDDIF(thebits : TBits_1); inline;
  52581. begin
  52582. if thebits = 0 then
  52583. pTDefRegMap(@Self)^.clr := $00000020
  52584. else
  52585. pTDefRegMap(@Self)^.&set := $00000020;
  52586. end;
  52587. function TDMAC5_DCH5INT.getCHDDIF : TBits_1; inline;
  52588. begin
  52589. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52590. end;
  52591. procedure TDMAC5_DCH5INT.setCHSHIF; inline;
  52592. begin
  52593. pTDefRegMap(@Self)^.&set := $00000040;
  52594. end;
  52595. procedure TDMAC5_DCH5INT.clearCHSHIF; inline;
  52596. begin
  52597. pTDefRegMap(@Self)^.clr := $00000040;
  52598. end;
  52599. procedure TDMAC5_DCH5INT.setCHSHIF(thebits : TBits_1); inline;
  52600. begin
  52601. if thebits = 0 then
  52602. pTDefRegMap(@Self)^.clr := $00000040
  52603. else
  52604. pTDefRegMap(@Self)^.&set := $00000040;
  52605. end;
  52606. function TDMAC5_DCH5INT.getCHSHIF : TBits_1; inline;
  52607. begin
  52608. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52609. end;
  52610. procedure TDMAC5_DCH5INT.setCHSDIF; inline;
  52611. begin
  52612. pTDefRegMap(@Self)^.&set := $00000080;
  52613. end;
  52614. procedure TDMAC5_DCH5INT.clearCHSDIF; inline;
  52615. begin
  52616. pTDefRegMap(@Self)^.clr := $00000080;
  52617. end;
  52618. procedure TDMAC5_DCH5INT.setCHSDIF(thebits : TBits_1); inline;
  52619. begin
  52620. if thebits = 0 then
  52621. pTDefRegMap(@Self)^.clr := $00000080
  52622. else
  52623. pTDefRegMap(@Self)^.&set := $00000080;
  52624. end;
  52625. function TDMAC5_DCH5INT.getCHSDIF : TBits_1; inline;
  52626. begin
  52627. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52628. end;
  52629. procedure TDMAC5_DCH5INT.setCHERIE; inline;
  52630. begin
  52631. pTDefRegMap(@Self)^.&set := $00010000;
  52632. end;
  52633. procedure TDMAC5_DCH5INT.clearCHERIE; inline;
  52634. begin
  52635. pTDefRegMap(@Self)^.clr := $00010000;
  52636. end;
  52637. procedure TDMAC5_DCH5INT.setCHERIE(thebits : TBits_1); inline;
  52638. begin
  52639. if thebits = 0 then
  52640. pTDefRegMap(@Self)^.clr := $00010000
  52641. else
  52642. pTDefRegMap(@Self)^.&set := $00010000;
  52643. end;
  52644. function TDMAC5_DCH5INT.getCHERIE : TBits_1; inline;
  52645. begin
  52646. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  52647. end;
  52648. procedure TDMAC5_DCH5INT.setCHTAIE; inline;
  52649. begin
  52650. pTDefRegMap(@Self)^.&set := $00020000;
  52651. end;
  52652. procedure TDMAC5_DCH5INT.clearCHTAIE; inline;
  52653. begin
  52654. pTDefRegMap(@Self)^.clr := $00020000;
  52655. end;
  52656. procedure TDMAC5_DCH5INT.setCHTAIE(thebits : TBits_1); inline;
  52657. begin
  52658. if thebits = 0 then
  52659. pTDefRegMap(@Self)^.clr := $00020000
  52660. else
  52661. pTDefRegMap(@Self)^.&set := $00020000;
  52662. end;
  52663. function TDMAC5_DCH5INT.getCHTAIE : TBits_1; inline;
  52664. begin
  52665. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  52666. end;
  52667. procedure TDMAC5_DCH5INT.setCHCCIE; inline;
  52668. begin
  52669. pTDefRegMap(@Self)^.&set := $00040000;
  52670. end;
  52671. procedure TDMAC5_DCH5INT.clearCHCCIE; inline;
  52672. begin
  52673. pTDefRegMap(@Self)^.clr := $00040000;
  52674. end;
  52675. procedure TDMAC5_DCH5INT.setCHCCIE(thebits : TBits_1); inline;
  52676. begin
  52677. if thebits = 0 then
  52678. pTDefRegMap(@Self)^.clr := $00040000
  52679. else
  52680. pTDefRegMap(@Self)^.&set := $00040000;
  52681. end;
  52682. function TDMAC5_DCH5INT.getCHCCIE : TBits_1; inline;
  52683. begin
  52684. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  52685. end;
  52686. procedure TDMAC5_DCH5INT.setCHBCIE; inline;
  52687. begin
  52688. pTDefRegMap(@Self)^.&set := $00080000;
  52689. end;
  52690. procedure TDMAC5_DCH5INT.clearCHBCIE; inline;
  52691. begin
  52692. pTDefRegMap(@Self)^.clr := $00080000;
  52693. end;
  52694. procedure TDMAC5_DCH5INT.setCHBCIE(thebits : TBits_1); inline;
  52695. begin
  52696. if thebits = 0 then
  52697. pTDefRegMap(@Self)^.clr := $00080000
  52698. else
  52699. pTDefRegMap(@Self)^.&set := $00080000;
  52700. end;
  52701. function TDMAC5_DCH5INT.getCHBCIE : TBits_1; inline;
  52702. begin
  52703. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  52704. end;
  52705. procedure TDMAC5_DCH5INT.setCHDHIE; inline;
  52706. begin
  52707. pTDefRegMap(@Self)^.&set := $00100000;
  52708. end;
  52709. procedure TDMAC5_DCH5INT.clearCHDHIE; inline;
  52710. begin
  52711. pTDefRegMap(@Self)^.clr := $00100000;
  52712. end;
  52713. procedure TDMAC5_DCH5INT.setCHDHIE(thebits : TBits_1); inline;
  52714. begin
  52715. if thebits = 0 then
  52716. pTDefRegMap(@Self)^.clr := $00100000
  52717. else
  52718. pTDefRegMap(@Self)^.&set := $00100000;
  52719. end;
  52720. function TDMAC5_DCH5INT.getCHDHIE : TBits_1; inline;
  52721. begin
  52722. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  52723. end;
  52724. procedure TDMAC5_DCH5INT.setCHDDIE; inline;
  52725. begin
  52726. pTDefRegMap(@Self)^.&set := $00200000;
  52727. end;
  52728. procedure TDMAC5_DCH5INT.clearCHDDIE; inline;
  52729. begin
  52730. pTDefRegMap(@Self)^.clr := $00200000;
  52731. end;
  52732. procedure TDMAC5_DCH5INT.setCHDDIE(thebits : TBits_1); inline;
  52733. begin
  52734. if thebits = 0 then
  52735. pTDefRegMap(@Self)^.clr := $00200000
  52736. else
  52737. pTDefRegMap(@Self)^.&set := $00200000;
  52738. end;
  52739. function TDMAC5_DCH5INT.getCHDDIE : TBits_1; inline;
  52740. begin
  52741. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  52742. end;
  52743. procedure TDMAC5_DCH5INT.setCHSHIE; inline;
  52744. begin
  52745. pTDefRegMap(@Self)^.&set := $00400000;
  52746. end;
  52747. procedure TDMAC5_DCH5INT.clearCHSHIE; inline;
  52748. begin
  52749. pTDefRegMap(@Self)^.clr := $00400000;
  52750. end;
  52751. procedure TDMAC5_DCH5INT.setCHSHIE(thebits : TBits_1); inline;
  52752. begin
  52753. if thebits = 0 then
  52754. pTDefRegMap(@Self)^.clr := $00400000
  52755. else
  52756. pTDefRegMap(@Self)^.&set := $00400000;
  52757. end;
  52758. function TDMAC5_DCH5INT.getCHSHIE : TBits_1; inline;
  52759. begin
  52760. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  52761. end;
  52762. procedure TDMAC5_DCH5INT.setCHSDIE; inline;
  52763. begin
  52764. pTDefRegMap(@Self)^.&set := $00800000;
  52765. end;
  52766. procedure TDMAC5_DCH5INT.clearCHSDIE; inline;
  52767. begin
  52768. pTDefRegMap(@Self)^.clr := $00800000;
  52769. end;
  52770. procedure TDMAC5_DCH5INT.setCHSDIE(thebits : TBits_1); inline;
  52771. begin
  52772. if thebits = 0 then
  52773. pTDefRegMap(@Self)^.clr := $00800000
  52774. else
  52775. pTDefRegMap(@Self)^.&set := $00800000;
  52776. end;
  52777. function TDMAC5_DCH5INT.getCHSDIE : TBits_1; inline;
  52778. begin
  52779. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  52780. end;
  52781. procedure TDMAC5_DCH5INT.setw(thebits : TBits_32); inline;
  52782. begin
  52783. pTDefRegMap(@Self)^.val := thebits;
  52784. end;
  52785. function TDMAC5_DCH5INT.getw : TBits_32; inline;
  52786. begin
  52787. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52788. end;
  52789. procedure TDMAC6_DCH6CON.setCHPRI(thebits : TBits_2); inline;
  52790. begin
  52791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  52792. end;
  52793. function TDMAC6_DCH6CON.getCHPRI : TBits_2; inline;
  52794. begin
  52795. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  52796. end;
  52797. procedure TDMAC6_DCH6CON.setCHEDET; inline;
  52798. begin
  52799. pTDefRegMap(@Self)^.&set := $00000004;
  52800. end;
  52801. procedure TDMAC6_DCH6CON.clearCHEDET; inline;
  52802. begin
  52803. pTDefRegMap(@Self)^.clr := $00000004;
  52804. end;
  52805. procedure TDMAC6_DCH6CON.setCHEDET(thebits : TBits_1); inline;
  52806. begin
  52807. if thebits = 0 then
  52808. pTDefRegMap(@Self)^.clr := $00000004
  52809. else
  52810. pTDefRegMap(@Self)^.&set := $00000004;
  52811. end;
  52812. function TDMAC6_DCH6CON.getCHEDET : TBits_1; inline;
  52813. begin
  52814. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52815. end;
  52816. procedure TDMAC6_DCH6CON.setCHAEN; inline;
  52817. begin
  52818. pTDefRegMap(@Self)^.&set := $00000010;
  52819. end;
  52820. procedure TDMAC6_DCH6CON.clearCHAEN; inline;
  52821. begin
  52822. pTDefRegMap(@Self)^.clr := $00000010;
  52823. end;
  52824. procedure TDMAC6_DCH6CON.setCHAEN(thebits : TBits_1); inline;
  52825. begin
  52826. if thebits = 0 then
  52827. pTDefRegMap(@Self)^.clr := $00000010
  52828. else
  52829. pTDefRegMap(@Self)^.&set := $00000010;
  52830. end;
  52831. function TDMAC6_DCH6CON.getCHAEN : TBits_1; inline;
  52832. begin
  52833. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52834. end;
  52835. procedure TDMAC6_DCH6CON.setCHCHN; inline;
  52836. begin
  52837. pTDefRegMap(@Self)^.&set := $00000020;
  52838. end;
  52839. procedure TDMAC6_DCH6CON.clearCHCHN; inline;
  52840. begin
  52841. pTDefRegMap(@Self)^.clr := $00000020;
  52842. end;
  52843. procedure TDMAC6_DCH6CON.setCHCHN(thebits : TBits_1); inline;
  52844. begin
  52845. if thebits = 0 then
  52846. pTDefRegMap(@Self)^.clr := $00000020
  52847. else
  52848. pTDefRegMap(@Self)^.&set := $00000020;
  52849. end;
  52850. function TDMAC6_DCH6CON.getCHCHN : TBits_1; inline;
  52851. begin
  52852. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52853. end;
  52854. procedure TDMAC6_DCH6CON.setCHAED; inline;
  52855. begin
  52856. pTDefRegMap(@Self)^.&set := $00000040;
  52857. end;
  52858. procedure TDMAC6_DCH6CON.clearCHAED; inline;
  52859. begin
  52860. pTDefRegMap(@Self)^.clr := $00000040;
  52861. end;
  52862. procedure TDMAC6_DCH6CON.setCHAED(thebits : TBits_1); inline;
  52863. begin
  52864. if thebits = 0 then
  52865. pTDefRegMap(@Self)^.clr := $00000040
  52866. else
  52867. pTDefRegMap(@Self)^.&set := $00000040;
  52868. end;
  52869. function TDMAC6_DCH6CON.getCHAED : TBits_1; inline;
  52870. begin
  52871. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52872. end;
  52873. procedure TDMAC6_DCH6CON.setCHEN; inline;
  52874. begin
  52875. pTDefRegMap(@Self)^.&set := $00000080;
  52876. end;
  52877. procedure TDMAC6_DCH6CON.clearCHEN; inline;
  52878. begin
  52879. pTDefRegMap(@Self)^.clr := $00000080;
  52880. end;
  52881. procedure TDMAC6_DCH6CON.setCHEN(thebits : TBits_1); inline;
  52882. begin
  52883. if thebits = 0 then
  52884. pTDefRegMap(@Self)^.clr := $00000080
  52885. else
  52886. pTDefRegMap(@Self)^.&set := $00000080;
  52887. end;
  52888. function TDMAC6_DCH6CON.getCHEN : TBits_1; inline;
  52889. begin
  52890. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52891. end;
  52892. procedure TDMAC6_DCH6CON.setCHCHNS; inline;
  52893. begin
  52894. pTDefRegMap(@Self)^.&set := $00000100;
  52895. end;
  52896. procedure TDMAC6_DCH6CON.clearCHCHNS; inline;
  52897. begin
  52898. pTDefRegMap(@Self)^.clr := $00000100;
  52899. end;
  52900. procedure TDMAC6_DCH6CON.setCHCHNS(thebits : TBits_1); inline;
  52901. begin
  52902. if thebits = 0 then
  52903. pTDefRegMap(@Self)^.clr := $00000100
  52904. else
  52905. pTDefRegMap(@Self)^.&set := $00000100;
  52906. end;
  52907. function TDMAC6_DCH6CON.getCHCHNS : TBits_1; inline;
  52908. begin
  52909. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52910. end;
  52911. procedure TDMAC6_DCH6CON.setCHBUSY; inline;
  52912. begin
  52913. pTDefRegMap(@Self)^.&set := $00008000;
  52914. end;
  52915. procedure TDMAC6_DCH6CON.clearCHBUSY; inline;
  52916. begin
  52917. pTDefRegMap(@Self)^.clr := $00008000;
  52918. end;
  52919. procedure TDMAC6_DCH6CON.setCHBUSY(thebits : TBits_1); inline;
  52920. begin
  52921. if thebits = 0 then
  52922. pTDefRegMap(@Self)^.clr := $00008000
  52923. else
  52924. pTDefRegMap(@Self)^.&set := $00008000;
  52925. end;
  52926. function TDMAC6_DCH6CON.getCHBUSY : TBits_1; inline;
  52927. begin
  52928. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52929. end;
  52930. procedure TDMAC6_DCH6CON.setw(thebits : TBits_32); inline;
  52931. begin
  52932. pTDefRegMap(@Self)^.val := thebits;
  52933. end;
  52934. function TDMAC6_DCH6CON.getw : TBits_32; inline;
  52935. begin
  52936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52937. end;
  52938. procedure TDMAC6_DCH6ECON.setAIRQEN; inline;
  52939. begin
  52940. pTDefRegMap(@Self)^.&set := $00000008;
  52941. end;
  52942. procedure TDMAC6_DCH6ECON.clearAIRQEN; inline;
  52943. begin
  52944. pTDefRegMap(@Self)^.clr := $00000008;
  52945. end;
  52946. procedure TDMAC6_DCH6ECON.setAIRQEN(thebits : TBits_1); inline;
  52947. begin
  52948. if thebits = 0 then
  52949. pTDefRegMap(@Self)^.clr := $00000008
  52950. else
  52951. pTDefRegMap(@Self)^.&set := $00000008;
  52952. end;
  52953. function TDMAC6_DCH6ECON.getAIRQEN : TBits_1; inline;
  52954. begin
  52955. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52956. end;
  52957. procedure TDMAC6_DCH6ECON.setSIRQEN; inline;
  52958. begin
  52959. pTDefRegMap(@Self)^.&set := $00000010;
  52960. end;
  52961. procedure TDMAC6_DCH6ECON.clearSIRQEN; inline;
  52962. begin
  52963. pTDefRegMap(@Self)^.clr := $00000010;
  52964. end;
  52965. procedure TDMAC6_DCH6ECON.setSIRQEN(thebits : TBits_1); inline;
  52966. begin
  52967. if thebits = 0 then
  52968. pTDefRegMap(@Self)^.clr := $00000010
  52969. else
  52970. pTDefRegMap(@Self)^.&set := $00000010;
  52971. end;
  52972. function TDMAC6_DCH6ECON.getSIRQEN : TBits_1; inline;
  52973. begin
  52974. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52975. end;
  52976. procedure TDMAC6_DCH6ECON.setPATEN; inline;
  52977. begin
  52978. pTDefRegMap(@Self)^.&set := $00000020;
  52979. end;
  52980. procedure TDMAC6_DCH6ECON.clearPATEN; inline;
  52981. begin
  52982. pTDefRegMap(@Self)^.clr := $00000020;
  52983. end;
  52984. procedure TDMAC6_DCH6ECON.setPATEN(thebits : TBits_1); inline;
  52985. begin
  52986. if thebits = 0 then
  52987. pTDefRegMap(@Self)^.clr := $00000020
  52988. else
  52989. pTDefRegMap(@Self)^.&set := $00000020;
  52990. end;
  52991. function TDMAC6_DCH6ECON.getPATEN : TBits_1; inline;
  52992. begin
  52993. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52994. end;
  52995. procedure TDMAC6_DCH6ECON.setCABORT; inline;
  52996. begin
  52997. pTDefRegMap(@Self)^.&set := $00000040;
  52998. end;
  52999. procedure TDMAC6_DCH6ECON.clearCABORT; inline;
  53000. begin
  53001. pTDefRegMap(@Self)^.clr := $00000040;
  53002. end;
  53003. procedure TDMAC6_DCH6ECON.setCABORT(thebits : TBits_1); inline;
  53004. begin
  53005. if thebits = 0 then
  53006. pTDefRegMap(@Self)^.clr := $00000040
  53007. else
  53008. pTDefRegMap(@Self)^.&set := $00000040;
  53009. end;
  53010. function TDMAC6_DCH6ECON.getCABORT : TBits_1; inline;
  53011. begin
  53012. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53013. end;
  53014. procedure TDMAC6_DCH6ECON.setCFORCE; inline;
  53015. begin
  53016. pTDefRegMap(@Self)^.&set := $00000080;
  53017. end;
  53018. procedure TDMAC6_DCH6ECON.clearCFORCE; inline;
  53019. begin
  53020. pTDefRegMap(@Self)^.clr := $00000080;
  53021. end;
  53022. procedure TDMAC6_DCH6ECON.setCFORCE(thebits : TBits_1); inline;
  53023. begin
  53024. if thebits = 0 then
  53025. pTDefRegMap(@Self)^.clr := $00000080
  53026. else
  53027. pTDefRegMap(@Self)^.&set := $00000080;
  53028. end;
  53029. function TDMAC6_DCH6ECON.getCFORCE : TBits_1; inline;
  53030. begin
  53031. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53032. end;
  53033. procedure TDMAC6_DCH6ECON.setCHSIRQ(thebits : TBits_8); inline;
  53034. begin
  53035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  53036. end;
  53037. function TDMAC6_DCH6ECON.getCHSIRQ : TBits_8; inline;
  53038. begin
  53039. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  53040. end;
  53041. procedure TDMAC6_DCH6ECON.setCHAIRQ(thebits : TBits_8); inline;
  53042. begin
  53043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  53044. end;
  53045. function TDMAC6_DCH6ECON.getCHAIRQ : TBits_8; inline;
  53046. begin
  53047. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  53048. end;
  53049. procedure TDMAC6_DCH6ECON.setw(thebits : TBits_32); inline;
  53050. begin
  53051. pTDefRegMap(@Self)^.val := thebits;
  53052. end;
  53053. function TDMAC6_DCH6ECON.getw : TBits_32; inline;
  53054. begin
  53055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53056. end;
  53057. procedure TDMAC6_DCH6INT.setCHERIF; inline;
  53058. begin
  53059. pTDefRegMap(@Self)^.&set := $00000001;
  53060. end;
  53061. procedure TDMAC6_DCH6INT.clearCHERIF; inline;
  53062. begin
  53063. pTDefRegMap(@Self)^.clr := $00000001;
  53064. end;
  53065. procedure TDMAC6_DCH6INT.setCHERIF(thebits : TBits_1); inline;
  53066. begin
  53067. if thebits = 0 then
  53068. pTDefRegMap(@Self)^.clr := $00000001
  53069. else
  53070. pTDefRegMap(@Self)^.&set := $00000001;
  53071. end;
  53072. function TDMAC6_DCH6INT.getCHERIF : TBits_1; inline;
  53073. begin
  53074. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53075. end;
  53076. procedure TDMAC6_DCH6INT.setCHTAIF; inline;
  53077. begin
  53078. pTDefRegMap(@Self)^.&set := $00000002;
  53079. end;
  53080. procedure TDMAC6_DCH6INT.clearCHTAIF; inline;
  53081. begin
  53082. pTDefRegMap(@Self)^.clr := $00000002;
  53083. end;
  53084. procedure TDMAC6_DCH6INT.setCHTAIF(thebits : TBits_1); inline;
  53085. begin
  53086. if thebits = 0 then
  53087. pTDefRegMap(@Self)^.clr := $00000002
  53088. else
  53089. pTDefRegMap(@Self)^.&set := $00000002;
  53090. end;
  53091. function TDMAC6_DCH6INT.getCHTAIF : TBits_1; inline;
  53092. begin
  53093. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53094. end;
  53095. procedure TDMAC6_DCH6INT.setCHCCIF; inline;
  53096. begin
  53097. pTDefRegMap(@Self)^.&set := $00000004;
  53098. end;
  53099. procedure TDMAC6_DCH6INT.clearCHCCIF; inline;
  53100. begin
  53101. pTDefRegMap(@Self)^.clr := $00000004;
  53102. end;
  53103. procedure TDMAC6_DCH6INT.setCHCCIF(thebits : TBits_1); inline;
  53104. begin
  53105. if thebits = 0 then
  53106. pTDefRegMap(@Self)^.clr := $00000004
  53107. else
  53108. pTDefRegMap(@Self)^.&set := $00000004;
  53109. end;
  53110. function TDMAC6_DCH6INT.getCHCCIF : TBits_1; inline;
  53111. begin
  53112. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53113. end;
  53114. procedure TDMAC6_DCH6INT.setCHBCIF; inline;
  53115. begin
  53116. pTDefRegMap(@Self)^.&set := $00000008;
  53117. end;
  53118. procedure TDMAC6_DCH6INT.clearCHBCIF; inline;
  53119. begin
  53120. pTDefRegMap(@Self)^.clr := $00000008;
  53121. end;
  53122. procedure TDMAC6_DCH6INT.setCHBCIF(thebits : TBits_1); inline;
  53123. begin
  53124. if thebits = 0 then
  53125. pTDefRegMap(@Self)^.clr := $00000008
  53126. else
  53127. pTDefRegMap(@Self)^.&set := $00000008;
  53128. end;
  53129. function TDMAC6_DCH6INT.getCHBCIF : TBits_1; inline;
  53130. begin
  53131. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53132. end;
  53133. procedure TDMAC6_DCH6INT.setCHDHIF; inline;
  53134. begin
  53135. pTDefRegMap(@Self)^.&set := $00000010;
  53136. end;
  53137. procedure TDMAC6_DCH6INT.clearCHDHIF; inline;
  53138. begin
  53139. pTDefRegMap(@Self)^.clr := $00000010;
  53140. end;
  53141. procedure TDMAC6_DCH6INT.setCHDHIF(thebits : TBits_1); inline;
  53142. begin
  53143. if thebits = 0 then
  53144. pTDefRegMap(@Self)^.clr := $00000010
  53145. else
  53146. pTDefRegMap(@Self)^.&set := $00000010;
  53147. end;
  53148. function TDMAC6_DCH6INT.getCHDHIF : TBits_1; inline;
  53149. begin
  53150. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53151. end;
  53152. procedure TDMAC6_DCH6INT.setCHDDIF; inline;
  53153. begin
  53154. pTDefRegMap(@Self)^.&set := $00000020;
  53155. end;
  53156. procedure TDMAC6_DCH6INT.clearCHDDIF; inline;
  53157. begin
  53158. pTDefRegMap(@Self)^.clr := $00000020;
  53159. end;
  53160. procedure TDMAC6_DCH6INT.setCHDDIF(thebits : TBits_1); inline;
  53161. begin
  53162. if thebits = 0 then
  53163. pTDefRegMap(@Self)^.clr := $00000020
  53164. else
  53165. pTDefRegMap(@Self)^.&set := $00000020;
  53166. end;
  53167. function TDMAC6_DCH6INT.getCHDDIF : TBits_1; inline;
  53168. begin
  53169. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53170. end;
  53171. procedure TDMAC6_DCH6INT.setCHSHIF; inline;
  53172. begin
  53173. pTDefRegMap(@Self)^.&set := $00000040;
  53174. end;
  53175. procedure TDMAC6_DCH6INT.clearCHSHIF; inline;
  53176. begin
  53177. pTDefRegMap(@Self)^.clr := $00000040;
  53178. end;
  53179. procedure TDMAC6_DCH6INT.setCHSHIF(thebits : TBits_1); inline;
  53180. begin
  53181. if thebits = 0 then
  53182. pTDefRegMap(@Self)^.clr := $00000040
  53183. else
  53184. pTDefRegMap(@Self)^.&set := $00000040;
  53185. end;
  53186. function TDMAC6_DCH6INT.getCHSHIF : TBits_1; inline;
  53187. begin
  53188. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53189. end;
  53190. procedure TDMAC6_DCH6INT.setCHSDIF; inline;
  53191. begin
  53192. pTDefRegMap(@Self)^.&set := $00000080;
  53193. end;
  53194. procedure TDMAC6_DCH6INT.clearCHSDIF; inline;
  53195. begin
  53196. pTDefRegMap(@Self)^.clr := $00000080;
  53197. end;
  53198. procedure TDMAC6_DCH6INT.setCHSDIF(thebits : TBits_1); inline;
  53199. begin
  53200. if thebits = 0 then
  53201. pTDefRegMap(@Self)^.clr := $00000080
  53202. else
  53203. pTDefRegMap(@Self)^.&set := $00000080;
  53204. end;
  53205. function TDMAC6_DCH6INT.getCHSDIF : TBits_1; inline;
  53206. begin
  53207. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53208. end;
  53209. procedure TDMAC6_DCH6INT.setCHERIE; inline;
  53210. begin
  53211. pTDefRegMap(@Self)^.&set := $00010000;
  53212. end;
  53213. procedure TDMAC6_DCH6INT.clearCHERIE; inline;
  53214. begin
  53215. pTDefRegMap(@Self)^.clr := $00010000;
  53216. end;
  53217. procedure TDMAC6_DCH6INT.setCHERIE(thebits : TBits_1); inline;
  53218. begin
  53219. if thebits = 0 then
  53220. pTDefRegMap(@Self)^.clr := $00010000
  53221. else
  53222. pTDefRegMap(@Self)^.&set := $00010000;
  53223. end;
  53224. function TDMAC6_DCH6INT.getCHERIE : TBits_1; inline;
  53225. begin
  53226. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  53227. end;
  53228. procedure TDMAC6_DCH6INT.setCHTAIE; inline;
  53229. begin
  53230. pTDefRegMap(@Self)^.&set := $00020000;
  53231. end;
  53232. procedure TDMAC6_DCH6INT.clearCHTAIE; inline;
  53233. begin
  53234. pTDefRegMap(@Self)^.clr := $00020000;
  53235. end;
  53236. procedure TDMAC6_DCH6INT.setCHTAIE(thebits : TBits_1); inline;
  53237. begin
  53238. if thebits = 0 then
  53239. pTDefRegMap(@Self)^.clr := $00020000
  53240. else
  53241. pTDefRegMap(@Self)^.&set := $00020000;
  53242. end;
  53243. function TDMAC6_DCH6INT.getCHTAIE : TBits_1; inline;
  53244. begin
  53245. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  53246. end;
  53247. procedure TDMAC6_DCH6INT.setCHCCIE; inline;
  53248. begin
  53249. pTDefRegMap(@Self)^.&set := $00040000;
  53250. end;
  53251. procedure TDMAC6_DCH6INT.clearCHCCIE; inline;
  53252. begin
  53253. pTDefRegMap(@Self)^.clr := $00040000;
  53254. end;
  53255. procedure TDMAC6_DCH6INT.setCHCCIE(thebits : TBits_1); inline;
  53256. begin
  53257. if thebits = 0 then
  53258. pTDefRegMap(@Self)^.clr := $00040000
  53259. else
  53260. pTDefRegMap(@Self)^.&set := $00040000;
  53261. end;
  53262. function TDMAC6_DCH6INT.getCHCCIE : TBits_1; inline;
  53263. begin
  53264. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  53265. end;
  53266. procedure TDMAC6_DCH6INT.setCHBCIE; inline;
  53267. begin
  53268. pTDefRegMap(@Self)^.&set := $00080000;
  53269. end;
  53270. procedure TDMAC6_DCH6INT.clearCHBCIE; inline;
  53271. begin
  53272. pTDefRegMap(@Self)^.clr := $00080000;
  53273. end;
  53274. procedure TDMAC6_DCH6INT.setCHBCIE(thebits : TBits_1); inline;
  53275. begin
  53276. if thebits = 0 then
  53277. pTDefRegMap(@Self)^.clr := $00080000
  53278. else
  53279. pTDefRegMap(@Self)^.&set := $00080000;
  53280. end;
  53281. function TDMAC6_DCH6INT.getCHBCIE : TBits_1; inline;
  53282. begin
  53283. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  53284. end;
  53285. procedure TDMAC6_DCH6INT.setCHDHIE; inline;
  53286. begin
  53287. pTDefRegMap(@Self)^.&set := $00100000;
  53288. end;
  53289. procedure TDMAC6_DCH6INT.clearCHDHIE; inline;
  53290. begin
  53291. pTDefRegMap(@Self)^.clr := $00100000;
  53292. end;
  53293. procedure TDMAC6_DCH6INT.setCHDHIE(thebits : TBits_1); inline;
  53294. begin
  53295. if thebits = 0 then
  53296. pTDefRegMap(@Self)^.clr := $00100000
  53297. else
  53298. pTDefRegMap(@Self)^.&set := $00100000;
  53299. end;
  53300. function TDMAC6_DCH6INT.getCHDHIE : TBits_1; inline;
  53301. begin
  53302. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  53303. end;
  53304. procedure TDMAC6_DCH6INT.setCHDDIE; inline;
  53305. begin
  53306. pTDefRegMap(@Self)^.&set := $00200000;
  53307. end;
  53308. procedure TDMAC6_DCH6INT.clearCHDDIE; inline;
  53309. begin
  53310. pTDefRegMap(@Self)^.clr := $00200000;
  53311. end;
  53312. procedure TDMAC6_DCH6INT.setCHDDIE(thebits : TBits_1); inline;
  53313. begin
  53314. if thebits = 0 then
  53315. pTDefRegMap(@Self)^.clr := $00200000
  53316. else
  53317. pTDefRegMap(@Self)^.&set := $00200000;
  53318. end;
  53319. function TDMAC6_DCH6INT.getCHDDIE : TBits_1; inline;
  53320. begin
  53321. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  53322. end;
  53323. procedure TDMAC6_DCH6INT.setCHSHIE; inline;
  53324. begin
  53325. pTDefRegMap(@Self)^.&set := $00400000;
  53326. end;
  53327. procedure TDMAC6_DCH6INT.clearCHSHIE; inline;
  53328. begin
  53329. pTDefRegMap(@Self)^.clr := $00400000;
  53330. end;
  53331. procedure TDMAC6_DCH6INT.setCHSHIE(thebits : TBits_1); inline;
  53332. begin
  53333. if thebits = 0 then
  53334. pTDefRegMap(@Self)^.clr := $00400000
  53335. else
  53336. pTDefRegMap(@Self)^.&set := $00400000;
  53337. end;
  53338. function TDMAC6_DCH6INT.getCHSHIE : TBits_1; inline;
  53339. begin
  53340. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  53341. end;
  53342. procedure TDMAC6_DCH6INT.setCHSDIE; inline;
  53343. begin
  53344. pTDefRegMap(@Self)^.&set := $00800000;
  53345. end;
  53346. procedure TDMAC6_DCH6INT.clearCHSDIE; inline;
  53347. begin
  53348. pTDefRegMap(@Self)^.clr := $00800000;
  53349. end;
  53350. procedure TDMAC6_DCH6INT.setCHSDIE(thebits : TBits_1); inline;
  53351. begin
  53352. if thebits = 0 then
  53353. pTDefRegMap(@Self)^.clr := $00800000
  53354. else
  53355. pTDefRegMap(@Self)^.&set := $00800000;
  53356. end;
  53357. function TDMAC6_DCH6INT.getCHSDIE : TBits_1; inline;
  53358. begin
  53359. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  53360. end;
  53361. procedure TDMAC6_DCH6INT.setw(thebits : TBits_32); inline;
  53362. begin
  53363. pTDefRegMap(@Self)^.val := thebits;
  53364. end;
  53365. function TDMAC6_DCH6INT.getw : TBits_32; inline;
  53366. begin
  53367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53368. end;
  53369. procedure TDMAC7_DCH7CON.setCHPRI(thebits : TBits_2); inline;
  53370. begin
  53371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  53372. end;
  53373. function TDMAC7_DCH7CON.getCHPRI : TBits_2; inline;
  53374. begin
  53375. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  53376. end;
  53377. procedure TDMAC7_DCH7CON.setCHEDET; inline;
  53378. begin
  53379. pTDefRegMap(@Self)^.&set := $00000004;
  53380. end;
  53381. procedure TDMAC7_DCH7CON.clearCHEDET; inline;
  53382. begin
  53383. pTDefRegMap(@Self)^.clr := $00000004;
  53384. end;
  53385. procedure TDMAC7_DCH7CON.setCHEDET(thebits : TBits_1); inline;
  53386. begin
  53387. if thebits = 0 then
  53388. pTDefRegMap(@Self)^.clr := $00000004
  53389. else
  53390. pTDefRegMap(@Self)^.&set := $00000004;
  53391. end;
  53392. function TDMAC7_DCH7CON.getCHEDET : TBits_1; inline;
  53393. begin
  53394. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53395. end;
  53396. procedure TDMAC7_DCH7CON.setCHAEN; inline;
  53397. begin
  53398. pTDefRegMap(@Self)^.&set := $00000010;
  53399. end;
  53400. procedure TDMAC7_DCH7CON.clearCHAEN; inline;
  53401. begin
  53402. pTDefRegMap(@Self)^.clr := $00000010;
  53403. end;
  53404. procedure TDMAC7_DCH7CON.setCHAEN(thebits : TBits_1); inline;
  53405. begin
  53406. if thebits = 0 then
  53407. pTDefRegMap(@Self)^.clr := $00000010
  53408. else
  53409. pTDefRegMap(@Self)^.&set := $00000010;
  53410. end;
  53411. function TDMAC7_DCH7CON.getCHAEN : TBits_1; inline;
  53412. begin
  53413. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53414. end;
  53415. procedure TDMAC7_DCH7CON.setCHCHN; inline;
  53416. begin
  53417. pTDefRegMap(@Self)^.&set := $00000020;
  53418. end;
  53419. procedure TDMAC7_DCH7CON.clearCHCHN; inline;
  53420. begin
  53421. pTDefRegMap(@Self)^.clr := $00000020;
  53422. end;
  53423. procedure TDMAC7_DCH7CON.setCHCHN(thebits : TBits_1); inline;
  53424. begin
  53425. if thebits = 0 then
  53426. pTDefRegMap(@Self)^.clr := $00000020
  53427. else
  53428. pTDefRegMap(@Self)^.&set := $00000020;
  53429. end;
  53430. function TDMAC7_DCH7CON.getCHCHN : TBits_1; inline;
  53431. begin
  53432. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53433. end;
  53434. procedure TDMAC7_DCH7CON.setCHAED; inline;
  53435. begin
  53436. pTDefRegMap(@Self)^.&set := $00000040;
  53437. end;
  53438. procedure TDMAC7_DCH7CON.clearCHAED; inline;
  53439. begin
  53440. pTDefRegMap(@Self)^.clr := $00000040;
  53441. end;
  53442. procedure TDMAC7_DCH7CON.setCHAED(thebits : TBits_1); inline;
  53443. begin
  53444. if thebits = 0 then
  53445. pTDefRegMap(@Self)^.clr := $00000040
  53446. else
  53447. pTDefRegMap(@Self)^.&set := $00000040;
  53448. end;
  53449. function TDMAC7_DCH7CON.getCHAED : TBits_1; inline;
  53450. begin
  53451. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53452. end;
  53453. procedure TDMAC7_DCH7CON.setCHEN; inline;
  53454. begin
  53455. pTDefRegMap(@Self)^.&set := $00000080;
  53456. end;
  53457. procedure TDMAC7_DCH7CON.clearCHEN; inline;
  53458. begin
  53459. pTDefRegMap(@Self)^.clr := $00000080;
  53460. end;
  53461. procedure TDMAC7_DCH7CON.setCHEN(thebits : TBits_1); inline;
  53462. begin
  53463. if thebits = 0 then
  53464. pTDefRegMap(@Self)^.clr := $00000080
  53465. else
  53466. pTDefRegMap(@Self)^.&set := $00000080;
  53467. end;
  53468. function TDMAC7_DCH7CON.getCHEN : TBits_1; inline;
  53469. begin
  53470. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53471. end;
  53472. procedure TDMAC7_DCH7CON.setCHCHNS; inline;
  53473. begin
  53474. pTDefRegMap(@Self)^.&set := $00000100;
  53475. end;
  53476. procedure TDMAC7_DCH7CON.clearCHCHNS; inline;
  53477. begin
  53478. pTDefRegMap(@Self)^.clr := $00000100;
  53479. end;
  53480. procedure TDMAC7_DCH7CON.setCHCHNS(thebits : TBits_1); inline;
  53481. begin
  53482. if thebits = 0 then
  53483. pTDefRegMap(@Self)^.clr := $00000100
  53484. else
  53485. pTDefRegMap(@Self)^.&set := $00000100;
  53486. end;
  53487. function TDMAC7_DCH7CON.getCHCHNS : TBits_1; inline;
  53488. begin
  53489. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53490. end;
  53491. procedure TDMAC7_DCH7CON.setCHBUSY; inline;
  53492. begin
  53493. pTDefRegMap(@Self)^.&set := $00008000;
  53494. end;
  53495. procedure TDMAC7_DCH7CON.clearCHBUSY; inline;
  53496. begin
  53497. pTDefRegMap(@Self)^.clr := $00008000;
  53498. end;
  53499. procedure TDMAC7_DCH7CON.setCHBUSY(thebits : TBits_1); inline;
  53500. begin
  53501. if thebits = 0 then
  53502. pTDefRegMap(@Self)^.clr := $00008000
  53503. else
  53504. pTDefRegMap(@Self)^.&set := $00008000;
  53505. end;
  53506. function TDMAC7_DCH7CON.getCHBUSY : TBits_1; inline;
  53507. begin
  53508. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53509. end;
  53510. procedure TDMAC7_DCH7CON.setw(thebits : TBits_32); inline;
  53511. begin
  53512. pTDefRegMap(@Self)^.val := thebits;
  53513. end;
  53514. function TDMAC7_DCH7CON.getw : TBits_32; inline;
  53515. begin
  53516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53517. end;
  53518. procedure TDMAC7_DCH7ECON.setAIRQEN; inline;
  53519. begin
  53520. pTDefRegMap(@Self)^.&set := $00000008;
  53521. end;
  53522. procedure TDMAC7_DCH7ECON.clearAIRQEN; inline;
  53523. begin
  53524. pTDefRegMap(@Self)^.clr := $00000008;
  53525. end;
  53526. procedure TDMAC7_DCH7ECON.setAIRQEN(thebits : TBits_1); inline;
  53527. begin
  53528. if thebits = 0 then
  53529. pTDefRegMap(@Self)^.clr := $00000008
  53530. else
  53531. pTDefRegMap(@Self)^.&set := $00000008;
  53532. end;
  53533. function TDMAC7_DCH7ECON.getAIRQEN : TBits_1; inline;
  53534. begin
  53535. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53536. end;
  53537. procedure TDMAC7_DCH7ECON.setSIRQEN; inline;
  53538. begin
  53539. pTDefRegMap(@Self)^.&set := $00000010;
  53540. end;
  53541. procedure TDMAC7_DCH7ECON.clearSIRQEN; inline;
  53542. begin
  53543. pTDefRegMap(@Self)^.clr := $00000010;
  53544. end;
  53545. procedure TDMAC7_DCH7ECON.setSIRQEN(thebits : TBits_1); inline;
  53546. begin
  53547. if thebits = 0 then
  53548. pTDefRegMap(@Self)^.clr := $00000010
  53549. else
  53550. pTDefRegMap(@Self)^.&set := $00000010;
  53551. end;
  53552. function TDMAC7_DCH7ECON.getSIRQEN : TBits_1; inline;
  53553. begin
  53554. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53555. end;
  53556. procedure TDMAC7_DCH7ECON.setPATEN; inline;
  53557. begin
  53558. pTDefRegMap(@Self)^.&set := $00000020;
  53559. end;
  53560. procedure TDMAC7_DCH7ECON.clearPATEN; inline;
  53561. begin
  53562. pTDefRegMap(@Self)^.clr := $00000020;
  53563. end;
  53564. procedure TDMAC7_DCH7ECON.setPATEN(thebits : TBits_1); inline;
  53565. begin
  53566. if thebits = 0 then
  53567. pTDefRegMap(@Self)^.clr := $00000020
  53568. else
  53569. pTDefRegMap(@Self)^.&set := $00000020;
  53570. end;
  53571. function TDMAC7_DCH7ECON.getPATEN : TBits_1; inline;
  53572. begin
  53573. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53574. end;
  53575. procedure TDMAC7_DCH7ECON.setCABORT; inline;
  53576. begin
  53577. pTDefRegMap(@Self)^.&set := $00000040;
  53578. end;
  53579. procedure TDMAC7_DCH7ECON.clearCABORT; inline;
  53580. begin
  53581. pTDefRegMap(@Self)^.clr := $00000040;
  53582. end;
  53583. procedure TDMAC7_DCH7ECON.setCABORT(thebits : TBits_1); inline;
  53584. begin
  53585. if thebits = 0 then
  53586. pTDefRegMap(@Self)^.clr := $00000040
  53587. else
  53588. pTDefRegMap(@Self)^.&set := $00000040;
  53589. end;
  53590. function TDMAC7_DCH7ECON.getCABORT : TBits_1; inline;
  53591. begin
  53592. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53593. end;
  53594. procedure TDMAC7_DCH7ECON.setCFORCE; inline;
  53595. begin
  53596. pTDefRegMap(@Self)^.&set := $00000080;
  53597. end;
  53598. procedure TDMAC7_DCH7ECON.clearCFORCE; inline;
  53599. begin
  53600. pTDefRegMap(@Self)^.clr := $00000080;
  53601. end;
  53602. procedure TDMAC7_DCH7ECON.setCFORCE(thebits : TBits_1); inline;
  53603. begin
  53604. if thebits = 0 then
  53605. pTDefRegMap(@Self)^.clr := $00000080
  53606. else
  53607. pTDefRegMap(@Self)^.&set := $00000080;
  53608. end;
  53609. function TDMAC7_DCH7ECON.getCFORCE : TBits_1; inline;
  53610. begin
  53611. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53612. end;
  53613. procedure TDMAC7_DCH7ECON.setCHSIRQ(thebits : TBits_8); inline;
  53614. begin
  53615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  53616. end;
  53617. function TDMAC7_DCH7ECON.getCHSIRQ : TBits_8; inline;
  53618. begin
  53619. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  53620. end;
  53621. procedure TDMAC7_DCH7ECON.setCHAIRQ(thebits : TBits_8); inline;
  53622. begin
  53623. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  53624. end;
  53625. function TDMAC7_DCH7ECON.getCHAIRQ : TBits_8; inline;
  53626. begin
  53627. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  53628. end;
  53629. procedure TDMAC7_DCH7ECON.setw(thebits : TBits_32); inline;
  53630. begin
  53631. pTDefRegMap(@Self)^.val := thebits;
  53632. end;
  53633. function TDMAC7_DCH7ECON.getw : TBits_32; inline;
  53634. begin
  53635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53636. end;
  53637. procedure TDMAC7_DCH7INT.setCHERIF; inline;
  53638. begin
  53639. pTDefRegMap(@Self)^.&set := $00000001;
  53640. end;
  53641. procedure TDMAC7_DCH7INT.clearCHERIF; inline;
  53642. begin
  53643. pTDefRegMap(@Self)^.clr := $00000001;
  53644. end;
  53645. procedure TDMAC7_DCH7INT.setCHERIF(thebits : TBits_1); inline;
  53646. begin
  53647. if thebits = 0 then
  53648. pTDefRegMap(@Self)^.clr := $00000001
  53649. else
  53650. pTDefRegMap(@Self)^.&set := $00000001;
  53651. end;
  53652. function TDMAC7_DCH7INT.getCHERIF : TBits_1; inline;
  53653. begin
  53654. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53655. end;
  53656. procedure TDMAC7_DCH7INT.setCHTAIF; inline;
  53657. begin
  53658. pTDefRegMap(@Self)^.&set := $00000002;
  53659. end;
  53660. procedure TDMAC7_DCH7INT.clearCHTAIF; inline;
  53661. begin
  53662. pTDefRegMap(@Self)^.clr := $00000002;
  53663. end;
  53664. procedure TDMAC7_DCH7INT.setCHTAIF(thebits : TBits_1); inline;
  53665. begin
  53666. if thebits = 0 then
  53667. pTDefRegMap(@Self)^.clr := $00000002
  53668. else
  53669. pTDefRegMap(@Self)^.&set := $00000002;
  53670. end;
  53671. function TDMAC7_DCH7INT.getCHTAIF : TBits_1; inline;
  53672. begin
  53673. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53674. end;
  53675. procedure TDMAC7_DCH7INT.setCHCCIF; inline;
  53676. begin
  53677. pTDefRegMap(@Self)^.&set := $00000004;
  53678. end;
  53679. procedure TDMAC7_DCH7INT.clearCHCCIF; inline;
  53680. begin
  53681. pTDefRegMap(@Self)^.clr := $00000004;
  53682. end;
  53683. procedure TDMAC7_DCH7INT.setCHCCIF(thebits : TBits_1); inline;
  53684. begin
  53685. if thebits = 0 then
  53686. pTDefRegMap(@Self)^.clr := $00000004
  53687. else
  53688. pTDefRegMap(@Self)^.&set := $00000004;
  53689. end;
  53690. function TDMAC7_DCH7INT.getCHCCIF : TBits_1; inline;
  53691. begin
  53692. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53693. end;
  53694. procedure TDMAC7_DCH7INT.setCHBCIF; inline;
  53695. begin
  53696. pTDefRegMap(@Self)^.&set := $00000008;
  53697. end;
  53698. procedure TDMAC7_DCH7INT.clearCHBCIF; inline;
  53699. begin
  53700. pTDefRegMap(@Self)^.clr := $00000008;
  53701. end;
  53702. procedure TDMAC7_DCH7INT.setCHBCIF(thebits : TBits_1); inline;
  53703. begin
  53704. if thebits = 0 then
  53705. pTDefRegMap(@Self)^.clr := $00000008
  53706. else
  53707. pTDefRegMap(@Self)^.&set := $00000008;
  53708. end;
  53709. function TDMAC7_DCH7INT.getCHBCIF : TBits_1; inline;
  53710. begin
  53711. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53712. end;
  53713. procedure TDMAC7_DCH7INT.setCHDHIF; inline;
  53714. begin
  53715. pTDefRegMap(@Self)^.&set := $00000010;
  53716. end;
  53717. procedure TDMAC7_DCH7INT.clearCHDHIF; inline;
  53718. begin
  53719. pTDefRegMap(@Self)^.clr := $00000010;
  53720. end;
  53721. procedure TDMAC7_DCH7INT.setCHDHIF(thebits : TBits_1); inline;
  53722. begin
  53723. if thebits = 0 then
  53724. pTDefRegMap(@Self)^.clr := $00000010
  53725. else
  53726. pTDefRegMap(@Self)^.&set := $00000010;
  53727. end;
  53728. function TDMAC7_DCH7INT.getCHDHIF : TBits_1; inline;
  53729. begin
  53730. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53731. end;
  53732. procedure TDMAC7_DCH7INT.setCHDDIF; inline;
  53733. begin
  53734. pTDefRegMap(@Self)^.&set := $00000020;
  53735. end;
  53736. procedure TDMAC7_DCH7INT.clearCHDDIF; inline;
  53737. begin
  53738. pTDefRegMap(@Self)^.clr := $00000020;
  53739. end;
  53740. procedure TDMAC7_DCH7INT.setCHDDIF(thebits : TBits_1); inline;
  53741. begin
  53742. if thebits = 0 then
  53743. pTDefRegMap(@Self)^.clr := $00000020
  53744. else
  53745. pTDefRegMap(@Self)^.&set := $00000020;
  53746. end;
  53747. function TDMAC7_DCH7INT.getCHDDIF : TBits_1; inline;
  53748. begin
  53749. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53750. end;
  53751. procedure TDMAC7_DCH7INT.setCHSHIF; inline;
  53752. begin
  53753. pTDefRegMap(@Self)^.&set := $00000040;
  53754. end;
  53755. procedure TDMAC7_DCH7INT.clearCHSHIF; inline;
  53756. begin
  53757. pTDefRegMap(@Self)^.clr := $00000040;
  53758. end;
  53759. procedure TDMAC7_DCH7INT.setCHSHIF(thebits : TBits_1); inline;
  53760. begin
  53761. if thebits = 0 then
  53762. pTDefRegMap(@Self)^.clr := $00000040
  53763. else
  53764. pTDefRegMap(@Self)^.&set := $00000040;
  53765. end;
  53766. function TDMAC7_DCH7INT.getCHSHIF : TBits_1; inline;
  53767. begin
  53768. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53769. end;
  53770. procedure TDMAC7_DCH7INT.setCHSDIF; inline;
  53771. begin
  53772. pTDefRegMap(@Self)^.&set := $00000080;
  53773. end;
  53774. procedure TDMAC7_DCH7INT.clearCHSDIF; inline;
  53775. begin
  53776. pTDefRegMap(@Self)^.clr := $00000080;
  53777. end;
  53778. procedure TDMAC7_DCH7INT.setCHSDIF(thebits : TBits_1); inline;
  53779. begin
  53780. if thebits = 0 then
  53781. pTDefRegMap(@Self)^.clr := $00000080
  53782. else
  53783. pTDefRegMap(@Self)^.&set := $00000080;
  53784. end;
  53785. function TDMAC7_DCH7INT.getCHSDIF : TBits_1; inline;
  53786. begin
  53787. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53788. end;
  53789. procedure TDMAC7_DCH7INT.setCHERIE; inline;
  53790. begin
  53791. pTDefRegMap(@Self)^.&set := $00010000;
  53792. end;
  53793. procedure TDMAC7_DCH7INT.clearCHERIE; inline;
  53794. begin
  53795. pTDefRegMap(@Self)^.clr := $00010000;
  53796. end;
  53797. procedure TDMAC7_DCH7INT.setCHERIE(thebits : TBits_1); inline;
  53798. begin
  53799. if thebits = 0 then
  53800. pTDefRegMap(@Self)^.clr := $00010000
  53801. else
  53802. pTDefRegMap(@Self)^.&set := $00010000;
  53803. end;
  53804. function TDMAC7_DCH7INT.getCHERIE : TBits_1; inline;
  53805. begin
  53806. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  53807. end;
  53808. procedure TDMAC7_DCH7INT.setCHTAIE; inline;
  53809. begin
  53810. pTDefRegMap(@Self)^.&set := $00020000;
  53811. end;
  53812. procedure TDMAC7_DCH7INT.clearCHTAIE; inline;
  53813. begin
  53814. pTDefRegMap(@Self)^.clr := $00020000;
  53815. end;
  53816. procedure TDMAC7_DCH7INT.setCHTAIE(thebits : TBits_1); inline;
  53817. begin
  53818. if thebits = 0 then
  53819. pTDefRegMap(@Self)^.clr := $00020000
  53820. else
  53821. pTDefRegMap(@Self)^.&set := $00020000;
  53822. end;
  53823. function TDMAC7_DCH7INT.getCHTAIE : TBits_1; inline;
  53824. begin
  53825. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  53826. end;
  53827. procedure TDMAC7_DCH7INT.setCHCCIE; inline;
  53828. begin
  53829. pTDefRegMap(@Self)^.&set := $00040000;
  53830. end;
  53831. procedure TDMAC7_DCH7INT.clearCHCCIE; inline;
  53832. begin
  53833. pTDefRegMap(@Self)^.clr := $00040000;
  53834. end;
  53835. procedure TDMAC7_DCH7INT.setCHCCIE(thebits : TBits_1); inline;
  53836. begin
  53837. if thebits = 0 then
  53838. pTDefRegMap(@Self)^.clr := $00040000
  53839. else
  53840. pTDefRegMap(@Self)^.&set := $00040000;
  53841. end;
  53842. function TDMAC7_DCH7INT.getCHCCIE : TBits_1; inline;
  53843. begin
  53844. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  53845. end;
  53846. procedure TDMAC7_DCH7INT.setCHBCIE; inline;
  53847. begin
  53848. pTDefRegMap(@Self)^.&set := $00080000;
  53849. end;
  53850. procedure TDMAC7_DCH7INT.clearCHBCIE; inline;
  53851. begin
  53852. pTDefRegMap(@Self)^.clr := $00080000;
  53853. end;
  53854. procedure TDMAC7_DCH7INT.setCHBCIE(thebits : TBits_1); inline;
  53855. begin
  53856. if thebits = 0 then
  53857. pTDefRegMap(@Self)^.clr := $00080000
  53858. else
  53859. pTDefRegMap(@Self)^.&set := $00080000;
  53860. end;
  53861. function TDMAC7_DCH7INT.getCHBCIE : TBits_1; inline;
  53862. begin
  53863. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  53864. end;
  53865. procedure TDMAC7_DCH7INT.setCHDHIE; inline;
  53866. begin
  53867. pTDefRegMap(@Self)^.&set := $00100000;
  53868. end;
  53869. procedure TDMAC7_DCH7INT.clearCHDHIE; inline;
  53870. begin
  53871. pTDefRegMap(@Self)^.clr := $00100000;
  53872. end;
  53873. procedure TDMAC7_DCH7INT.setCHDHIE(thebits : TBits_1); inline;
  53874. begin
  53875. if thebits = 0 then
  53876. pTDefRegMap(@Self)^.clr := $00100000
  53877. else
  53878. pTDefRegMap(@Self)^.&set := $00100000;
  53879. end;
  53880. function TDMAC7_DCH7INT.getCHDHIE : TBits_1; inline;
  53881. begin
  53882. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  53883. end;
  53884. procedure TDMAC7_DCH7INT.setCHDDIE; inline;
  53885. begin
  53886. pTDefRegMap(@Self)^.&set := $00200000;
  53887. end;
  53888. procedure TDMAC7_DCH7INT.clearCHDDIE; inline;
  53889. begin
  53890. pTDefRegMap(@Self)^.clr := $00200000;
  53891. end;
  53892. procedure TDMAC7_DCH7INT.setCHDDIE(thebits : TBits_1); inline;
  53893. begin
  53894. if thebits = 0 then
  53895. pTDefRegMap(@Self)^.clr := $00200000
  53896. else
  53897. pTDefRegMap(@Self)^.&set := $00200000;
  53898. end;
  53899. function TDMAC7_DCH7INT.getCHDDIE : TBits_1; inline;
  53900. begin
  53901. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  53902. end;
  53903. procedure TDMAC7_DCH7INT.setCHSHIE; inline;
  53904. begin
  53905. pTDefRegMap(@Self)^.&set := $00400000;
  53906. end;
  53907. procedure TDMAC7_DCH7INT.clearCHSHIE; inline;
  53908. begin
  53909. pTDefRegMap(@Self)^.clr := $00400000;
  53910. end;
  53911. procedure TDMAC7_DCH7INT.setCHSHIE(thebits : TBits_1); inline;
  53912. begin
  53913. if thebits = 0 then
  53914. pTDefRegMap(@Self)^.clr := $00400000
  53915. else
  53916. pTDefRegMap(@Self)^.&set := $00400000;
  53917. end;
  53918. function TDMAC7_DCH7INT.getCHSHIE : TBits_1; inline;
  53919. begin
  53920. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  53921. end;
  53922. procedure TDMAC7_DCH7INT.setCHSDIE; inline;
  53923. begin
  53924. pTDefRegMap(@Self)^.&set := $00800000;
  53925. end;
  53926. procedure TDMAC7_DCH7INT.clearCHSDIE; inline;
  53927. begin
  53928. pTDefRegMap(@Self)^.clr := $00800000;
  53929. end;
  53930. procedure TDMAC7_DCH7INT.setCHSDIE(thebits : TBits_1); inline;
  53931. begin
  53932. if thebits = 0 then
  53933. pTDefRegMap(@Self)^.clr := $00800000
  53934. else
  53935. pTDefRegMap(@Self)^.&set := $00800000;
  53936. end;
  53937. function TDMAC7_DCH7INT.getCHSDIE : TBits_1; inline;
  53938. begin
  53939. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  53940. end;
  53941. procedure TDMAC7_DCH7INT.setw(thebits : TBits_32); inline;
  53942. begin
  53943. pTDefRegMap(@Self)^.val := thebits;
  53944. end;
  53945. function TDMAC7_DCH7INT.getw : TBits_32; inline;
  53946. begin
  53947. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53948. end;
  53949. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  53950. begin
  53951. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  53952. end;
  53953. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  53954. begin
  53955. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  53956. end;
  53957. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  53958. begin
  53959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  53960. end;
  53961. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  53962. begin
  53963. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  53964. end;
  53965. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  53966. begin
  53967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  53968. end;
  53969. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  53970. begin
  53971. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  53972. end;
  53973. procedure TPCACHE_CHECON.setCHECOH; inline;
  53974. begin
  53975. pTDefRegMap(@Self)^.&set := $00010000;
  53976. end;
  53977. procedure TPCACHE_CHECON.clearCHECOH; inline;
  53978. begin
  53979. pTDefRegMap(@Self)^.clr := $00010000;
  53980. end;
  53981. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  53982. begin
  53983. if thebits = 0 then
  53984. pTDefRegMap(@Self)^.clr := $00010000
  53985. else
  53986. pTDefRegMap(@Self)^.&set := $00010000;
  53987. end;
  53988. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  53989. begin
  53990. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  53991. end;
  53992. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  53993. begin
  53994. pTDefRegMap(@Self)^.val := thebits;
  53995. end;
  53996. function TPCACHE_CHECON.getw : TBits_32; inline;
  53997. begin
  53998. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53999. end;
  54000. procedure TPCACHE_CHETAG.setLTYPE; inline;
  54001. begin
  54002. pTDefRegMap(@Self)^.&set := $00000002;
  54003. end;
  54004. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  54005. begin
  54006. pTDefRegMap(@Self)^.clr := $00000002;
  54007. end;
  54008. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  54009. begin
  54010. if thebits = 0 then
  54011. pTDefRegMap(@Self)^.clr := $00000002
  54012. else
  54013. pTDefRegMap(@Self)^.&set := $00000002;
  54014. end;
  54015. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  54016. begin
  54017. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54018. end;
  54019. procedure TPCACHE_CHETAG.setLLOCK; inline;
  54020. begin
  54021. pTDefRegMap(@Self)^.&set := $00000004;
  54022. end;
  54023. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  54024. begin
  54025. pTDefRegMap(@Self)^.clr := $00000004;
  54026. end;
  54027. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  54028. begin
  54029. if thebits = 0 then
  54030. pTDefRegMap(@Self)^.clr := $00000004
  54031. else
  54032. pTDefRegMap(@Self)^.&set := $00000004;
  54033. end;
  54034. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  54035. begin
  54036. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54037. end;
  54038. procedure TPCACHE_CHETAG.setLVALID; inline;
  54039. begin
  54040. pTDefRegMap(@Self)^.&set := $00000008;
  54041. end;
  54042. procedure TPCACHE_CHETAG.clearLVALID; inline;
  54043. begin
  54044. pTDefRegMap(@Self)^.clr := $00000008;
  54045. end;
  54046. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  54047. begin
  54048. if thebits = 0 then
  54049. pTDefRegMap(@Self)^.clr := $00000008
  54050. else
  54051. pTDefRegMap(@Self)^.&set := $00000008;
  54052. end;
  54053. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  54054. begin
  54055. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54056. end;
  54057. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  54058. begin
  54059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  54060. end;
  54061. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  54062. begin
  54063. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  54064. end;
  54065. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  54066. begin
  54067. pTDefRegMap(@Self)^.&set := $80000000;
  54068. end;
  54069. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  54070. begin
  54071. pTDefRegMap(@Self)^.clr := $80000000;
  54072. end;
  54073. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  54074. begin
  54075. if thebits = 0 then
  54076. pTDefRegMap(@Self)^.clr := $80000000
  54077. else
  54078. pTDefRegMap(@Self)^.&set := $80000000;
  54079. end;
  54080. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  54081. begin
  54082. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  54083. end;
  54084. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  54085. begin
  54086. pTDefRegMap(@Self)^.val := thebits;
  54087. end;
  54088. function TPCACHE_CHETAG.getw : TBits_32; inline;
  54089. begin
  54090. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54091. end;
  54092. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  54093. begin
  54094. pTDefRegMap(@Self)^.&set := $00000001;
  54095. end;
  54096. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  54097. begin
  54098. pTDefRegMap(@Self)^.clr := $00000001;
  54099. end;
  54100. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  54101. begin
  54102. if thebits = 0 then
  54103. pTDefRegMap(@Self)^.clr := $00000001
  54104. else
  54105. pTDefRegMap(@Self)^.&set := $00000001;
  54106. end;
  54107. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  54108. begin
  54109. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54110. end;
  54111. procedure TUSB_U1IR.setUERRIF; inline;
  54112. begin
  54113. pTDefRegMap(@Self)^.&set := $00000002;
  54114. end;
  54115. procedure TUSB_U1IR.clearUERRIF; inline;
  54116. begin
  54117. pTDefRegMap(@Self)^.clr := $00000002;
  54118. end;
  54119. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  54120. begin
  54121. if thebits = 0 then
  54122. pTDefRegMap(@Self)^.clr := $00000002
  54123. else
  54124. pTDefRegMap(@Self)^.&set := $00000002;
  54125. end;
  54126. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  54127. begin
  54128. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54129. end;
  54130. procedure TUSB_U1IR.setSOFIF; inline;
  54131. begin
  54132. pTDefRegMap(@Self)^.&set := $00000004;
  54133. end;
  54134. procedure TUSB_U1IR.clearSOFIF; inline;
  54135. begin
  54136. pTDefRegMap(@Self)^.clr := $00000004;
  54137. end;
  54138. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  54139. begin
  54140. if thebits = 0 then
  54141. pTDefRegMap(@Self)^.clr := $00000004
  54142. else
  54143. pTDefRegMap(@Self)^.&set := $00000004;
  54144. end;
  54145. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  54146. begin
  54147. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54148. end;
  54149. procedure TUSB_U1IR.setTRNIF; inline;
  54150. begin
  54151. pTDefRegMap(@Self)^.&set := $00000008;
  54152. end;
  54153. procedure TUSB_U1IR.clearTRNIF; inline;
  54154. begin
  54155. pTDefRegMap(@Self)^.clr := $00000008;
  54156. end;
  54157. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  54158. begin
  54159. if thebits = 0 then
  54160. pTDefRegMap(@Self)^.clr := $00000008
  54161. else
  54162. pTDefRegMap(@Self)^.&set := $00000008;
  54163. end;
  54164. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  54165. begin
  54166. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54167. end;
  54168. procedure TUSB_U1IR.setIDLEIF; inline;
  54169. begin
  54170. pTDefRegMap(@Self)^.&set := $00000010;
  54171. end;
  54172. procedure TUSB_U1IR.clearIDLEIF; inline;
  54173. begin
  54174. pTDefRegMap(@Self)^.clr := $00000010;
  54175. end;
  54176. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  54177. begin
  54178. if thebits = 0 then
  54179. pTDefRegMap(@Self)^.clr := $00000010
  54180. else
  54181. pTDefRegMap(@Self)^.&set := $00000010;
  54182. end;
  54183. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  54184. begin
  54185. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54186. end;
  54187. procedure TUSB_U1IR.setRESUMEIF; inline;
  54188. begin
  54189. pTDefRegMap(@Self)^.&set := $00000020;
  54190. end;
  54191. procedure TUSB_U1IR.clearRESUMEIF; inline;
  54192. begin
  54193. pTDefRegMap(@Self)^.clr := $00000020;
  54194. end;
  54195. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  54196. begin
  54197. if thebits = 0 then
  54198. pTDefRegMap(@Self)^.clr := $00000020
  54199. else
  54200. pTDefRegMap(@Self)^.&set := $00000020;
  54201. end;
  54202. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  54203. begin
  54204. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54205. end;
  54206. procedure TUSB_U1IR.setATTACHIF; inline;
  54207. begin
  54208. pTDefRegMap(@Self)^.&set := $00000040;
  54209. end;
  54210. procedure TUSB_U1IR.clearATTACHIF; inline;
  54211. begin
  54212. pTDefRegMap(@Self)^.clr := $00000040;
  54213. end;
  54214. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  54215. begin
  54216. if thebits = 0 then
  54217. pTDefRegMap(@Self)^.clr := $00000040
  54218. else
  54219. pTDefRegMap(@Self)^.&set := $00000040;
  54220. end;
  54221. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  54222. begin
  54223. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54224. end;
  54225. procedure TUSB_U1IR.setSTALLIF; inline;
  54226. begin
  54227. pTDefRegMap(@Self)^.&set := $00000080;
  54228. end;
  54229. procedure TUSB_U1IR.clearSTALLIF; inline;
  54230. begin
  54231. pTDefRegMap(@Self)^.clr := $00000080;
  54232. end;
  54233. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  54234. begin
  54235. if thebits = 0 then
  54236. pTDefRegMap(@Self)^.clr := $00000080
  54237. else
  54238. pTDefRegMap(@Self)^.&set := $00000080;
  54239. end;
  54240. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  54241. begin
  54242. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54243. end;
  54244. procedure TUSB_U1IR.setDETACHIF; inline;
  54245. begin
  54246. pTDefRegMap(@Self)^.&set := $00000001;
  54247. end;
  54248. procedure TUSB_U1IR.clearDETACHIF; inline;
  54249. begin
  54250. pTDefRegMap(@Self)^.clr := $00000001;
  54251. end;
  54252. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  54253. begin
  54254. if thebits = 0 then
  54255. pTDefRegMap(@Self)^.clr := $00000001
  54256. else
  54257. pTDefRegMap(@Self)^.&set := $00000001;
  54258. end;
  54259. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  54260. begin
  54261. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54262. end;
  54263. procedure TUSB_U1IR.setURSTIF; inline;
  54264. begin
  54265. pTDefRegMap(@Self)^.&set := $00000001;
  54266. end;
  54267. procedure TUSB_U1IR.clearURSTIF; inline;
  54268. begin
  54269. pTDefRegMap(@Self)^.clr := $00000001;
  54270. end;
  54271. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  54272. begin
  54273. if thebits = 0 then
  54274. pTDefRegMap(@Self)^.clr := $00000001
  54275. else
  54276. pTDefRegMap(@Self)^.&set := $00000001;
  54277. end;
  54278. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  54279. begin
  54280. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54281. end;
  54282. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  54283. begin
  54284. pTDefRegMap(@Self)^.&set := $00000001;
  54285. end;
  54286. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  54287. begin
  54288. pTDefRegMap(@Self)^.clr := $00000001;
  54289. end;
  54290. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  54291. begin
  54292. if thebits = 0 then
  54293. pTDefRegMap(@Self)^.clr := $00000001
  54294. else
  54295. pTDefRegMap(@Self)^.&set := $00000001;
  54296. end;
  54297. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  54298. begin
  54299. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54300. end;
  54301. procedure TUSB_U1IE.setUERRIE; inline;
  54302. begin
  54303. pTDefRegMap(@Self)^.&set := $00000002;
  54304. end;
  54305. procedure TUSB_U1IE.clearUERRIE; inline;
  54306. begin
  54307. pTDefRegMap(@Self)^.clr := $00000002;
  54308. end;
  54309. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  54310. begin
  54311. if thebits = 0 then
  54312. pTDefRegMap(@Self)^.clr := $00000002
  54313. else
  54314. pTDefRegMap(@Self)^.&set := $00000002;
  54315. end;
  54316. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  54317. begin
  54318. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54319. end;
  54320. procedure TUSB_U1IE.setSOFIE; inline;
  54321. begin
  54322. pTDefRegMap(@Self)^.&set := $00000004;
  54323. end;
  54324. procedure TUSB_U1IE.clearSOFIE; inline;
  54325. begin
  54326. pTDefRegMap(@Self)^.clr := $00000004;
  54327. end;
  54328. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  54329. begin
  54330. if thebits = 0 then
  54331. pTDefRegMap(@Self)^.clr := $00000004
  54332. else
  54333. pTDefRegMap(@Self)^.&set := $00000004;
  54334. end;
  54335. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  54336. begin
  54337. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54338. end;
  54339. procedure TUSB_U1IE.setTRNIE; inline;
  54340. begin
  54341. pTDefRegMap(@Self)^.&set := $00000008;
  54342. end;
  54343. procedure TUSB_U1IE.clearTRNIE; inline;
  54344. begin
  54345. pTDefRegMap(@Self)^.clr := $00000008;
  54346. end;
  54347. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  54348. begin
  54349. if thebits = 0 then
  54350. pTDefRegMap(@Self)^.clr := $00000008
  54351. else
  54352. pTDefRegMap(@Self)^.&set := $00000008;
  54353. end;
  54354. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  54355. begin
  54356. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54357. end;
  54358. procedure TUSB_U1IE.setIDLEIE; inline;
  54359. begin
  54360. pTDefRegMap(@Self)^.&set := $00000010;
  54361. end;
  54362. procedure TUSB_U1IE.clearIDLEIE; inline;
  54363. begin
  54364. pTDefRegMap(@Self)^.clr := $00000010;
  54365. end;
  54366. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  54367. begin
  54368. if thebits = 0 then
  54369. pTDefRegMap(@Self)^.clr := $00000010
  54370. else
  54371. pTDefRegMap(@Self)^.&set := $00000010;
  54372. end;
  54373. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  54374. begin
  54375. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54376. end;
  54377. procedure TUSB_U1IE.setRESUMEIE; inline;
  54378. begin
  54379. pTDefRegMap(@Self)^.&set := $00000020;
  54380. end;
  54381. procedure TUSB_U1IE.clearRESUMEIE; inline;
  54382. begin
  54383. pTDefRegMap(@Self)^.clr := $00000020;
  54384. end;
  54385. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  54386. begin
  54387. if thebits = 0 then
  54388. pTDefRegMap(@Self)^.clr := $00000020
  54389. else
  54390. pTDefRegMap(@Self)^.&set := $00000020;
  54391. end;
  54392. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  54393. begin
  54394. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54395. end;
  54396. procedure TUSB_U1IE.setATTACHIE; inline;
  54397. begin
  54398. pTDefRegMap(@Self)^.&set := $00000040;
  54399. end;
  54400. procedure TUSB_U1IE.clearATTACHIE; inline;
  54401. begin
  54402. pTDefRegMap(@Self)^.clr := $00000040;
  54403. end;
  54404. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  54405. begin
  54406. if thebits = 0 then
  54407. pTDefRegMap(@Self)^.clr := $00000040
  54408. else
  54409. pTDefRegMap(@Self)^.&set := $00000040;
  54410. end;
  54411. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  54412. begin
  54413. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54414. end;
  54415. procedure TUSB_U1IE.setSTALLIE; inline;
  54416. begin
  54417. pTDefRegMap(@Self)^.&set := $00000080;
  54418. end;
  54419. procedure TUSB_U1IE.clearSTALLIE; inline;
  54420. begin
  54421. pTDefRegMap(@Self)^.clr := $00000080;
  54422. end;
  54423. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  54424. begin
  54425. if thebits = 0 then
  54426. pTDefRegMap(@Self)^.clr := $00000080
  54427. else
  54428. pTDefRegMap(@Self)^.&set := $00000080;
  54429. end;
  54430. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  54431. begin
  54432. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54433. end;
  54434. procedure TUSB_U1IE.setDETACHIE; inline;
  54435. begin
  54436. pTDefRegMap(@Self)^.&set := $00000001;
  54437. end;
  54438. procedure TUSB_U1IE.clearDETACHIE; inline;
  54439. begin
  54440. pTDefRegMap(@Self)^.clr := $00000001;
  54441. end;
  54442. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  54443. begin
  54444. if thebits = 0 then
  54445. pTDefRegMap(@Self)^.clr := $00000001
  54446. else
  54447. pTDefRegMap(@Self)^.&set := $00000001;
  54448. end;
  54449. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  54450. begin
  54451. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54452. end;
  54453. procedure TUSB_U1IE.setURSTIE; inline;
  54454. begin
  54455. pTDefRegMap(@Self)^.&set := $00000001;
  54456. end;
  54457. procedure TUSB_U1IE.clearURSTIE; inline;
  54458. begin
  54459. pTDefRegMap(@Self)^.clr := $00000001;
  54460. end;
  54461. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  54462. begin
  54463. if thebits = 0 then
  54464. pTDefRegMap(@Self)^.clr := $00000001
  54465. else
  54466. pTDefRegMap(@Self)^.&set := $00000001;
  54467. end;
  54468. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  54469. begin
  54470. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54471. end;
  54472. procedure TUSB_U1EIR.setPIDEF; inline;
  54473. begin
  54474. pTDefRegMap(@Self)^.&set := $00000001;
  54475. end;
  54476. procedure TUSB_U1EIR.clearPIDEF; inline;
  54477. begin
  54478. pTDefRegMap(@Self)^.clr := $00000001;
  54479. end;
  54480. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  54481. begin
  54482. if thebits = 0 then
  54483. pTDefRegMap(@Self)^.clr := $00000001
  54484. else
  54485. pTDefRegMap(@Self)^.&set := $00000001;
  54486. end;
  54487. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  54488. begin
  54489. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54490. end;
  54491. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  54492. begin
  54493. pTDefRegMap(@Self)^.&set := $00000002;
  54494. end;
  54495. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  54496. begin
  54497. pTDefRegMap(@Self)^.clr := $00000002;
  54498. end;
  54499. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  54500. begin
  54501. if thebits = 0 then
  54502. pTDefRegMap(@Self)^.clr := $00000002
  54503. else
  54504. pTDefRegMap(@Self)^.&set := $00000002;
  54505. end;
  54506. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  54507. begin
  54508. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54509. end;
  54510. procedure TUSB_U1EIR.setCRC16EF; inline;
  54511. begin
  54512. pTDefRegMap(@Self)^.&set := $00000004;
  54513. end;
  54514. procedure TUSB_U1EIR.clearCRC16EF; inline;
  54515. begin
  54516. pTDefRegMap(@Self)^.clr := $00000004;
  54517. end;
  54518. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  54519. begin
  54520. if thebits = 0 then
  54521. pTDefRegMap(@Self)^.clr := $00000004
  54522. else
  54523. pTDefRegMap(@Self)^.&set := $00000004;
  54524. end;
  54525. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  54526. begin
  54527. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54528. end;
  54529. procedure TUSB_U1EIR.setDFN8EF; inline;
  54530. begin
  54531. pTDefRegMap(@Self)^.&set := $00000008;
  54532. end;
  54533. procedure TUSB_U1EIR.clearDFN8EF; inline;
  54534. begin
  54535. pTDefRegMap(@Self)^.clr := $00000008;
  54536. end;
  54537. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  54538. begin
  54539. if thebits = 0 then
  54540. pTDefRegMap(@Self)^.clr := $00000008
  54541. else
  54542. pTDefRegMap(@Self)^.&set := $00000008;
  54543. end;
  54544. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  54545. begin
  54546. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54547. end;
  54548. procedure TUSB_U1EIR.setBTOEF; inline;
  54549. begin
  54550. pTDefRegMap(@Self)^.&set := $00000010;
  54551. end;
  54552. procedure TUSB_U1EIR.clearBTOEF; inline;
  54553. begin
  54554. pTDefRegMap(@Self)^.clr := $00000010;
  54555. end;
  54556. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  54557. begin
  54558. if thebits = 0 then
  54559. pTDefRegMap(@Self)^.clr := $00000010
  54560. else
  54561. pTDefRegMap(@Self)^.&set := $00000010;
  54562. end;
  54563. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  54564. begin
  54565. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54566. end;
  54567. procedure TUSB_U1EIR.setDMAEF; inline;
  54568. begin
  54569. pTDefRegMap(@Self)^.&set := $00000020;
  54570. end;
  54571. procedure TUSB_U1EIR.clearDMAEF; inline;
  54572. begin
  54573. pTDefRegMap(@Self)^.clr := $00000020;
  54574. end;
  54575. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  54576. begin
  54577. if thebits = 0 then
  54578. pTDefRegMap(@Self)^.clr := $00000020
  54579. else
  54580. pTDefRegMap(@Self)^.&set := $00000020;
  54581. end;
  54582. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  54583. begin
  54584. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54585. end;
  54586. procedure TUSB_U1EIR.setBMXEF; inline;
  54587. begin
  54588. pTDefRegMap(@Self)^.&set := $00000040;
  54589. end;
  54590. procedure TUSB_U1EIR.clearBMXEF; inline;
  54591. begin
  54592. pTDefRegMap(@Self)^.clr := $00000040;
  54593. end;
  54594. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  54595. begin
  54596. if thebits = 0 then
  54597. pTDefRegMap(@Self)^.clr := $00000040
  54598. else
  54599. pTDefRegMap(@Self)^.&set := $00000040;
  54600. end;
  54601. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  54602. begin
  54603. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54604. end;
  54605. procedure TUSB_U1EIR.setBTSEF; inline;
  54606. begin
  54607. pTDefRegMap(@Self)^.&set := $00000080;
  54608. end;
  54609. procedure TUSB_U1EIR.clearBTSEF; inline;
  54610. begin
  54611. pTDefRegMap(@Self)^.clr := $00000080;
  54612. end;
  54613. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  54614. begin
  54615. if thebits = 0 then
  54616. pTDefRegMap(@Self)^.clr := $00000080
  54617. else
  54618. pTDefRegMap(@Self)^.&set := $00000080;
  54619. end;
  54620. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  54621. begin
  54622. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54623. end;
  54624. procedure TUSB_U1EIR.setCRC5EF; inline;
  54625. begin
  54626. pTDefRegMap(@Self)^.&set := $00000002;
  54627. end;
  54628. procedure TUSB_U1EIR.clearCRC5EF; inline;
  54629. begin
  54630. pTDefRegMap(@Self)^.clr := $00000002;
  54631. end;
  54632. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  54633. begin
  54634. if thebits = 0 then
  54635. pTDefRegMap(@Self)^.clr := $00000002
  54636. else
  54637. pTDefRegMap(@Self)^.&set := $00000002;
  54638. end;
  54639. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  54640. begin
  54641. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54642. end;
  54643. procedure TUSB_U1EIR.setEOFEF; inline;
  54644. begin
  54645. pTDefRegMap(@Self)^.&set := $00000002;
  54646. end;
  54647. procedure TUSB_U1EIR.clearEOFEF; inline;
  54648. begin
  54649. pTDefRegMap(@Self)^.clr := $00000002;
  54650. end;
  54651. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  54652. begin
  54653. if thebits = 0 then
  54654. pTDefRegMap(@Self)^.clr := $00000002
  54655. else
  54656. pTDefRegMap(@Self)^.&set := $00000002;
  54657. end;
  54658. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  54659. begin
  54660. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54661. end;
  54662. procedure TUSB_U1EIE.setPIDEE; inline;
  54663. begin
  54664. pTDefRegMap(@Self)^.&set := $00000001;
  54665. end;
  54666. procedure TUSB_U1EIE.clearPIDEE; inline;
  54667. begin
  54668. pTDefRegMap(@Self)^.clr := $00000001;
  54669. end;
  54670. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  54671. begin
  54672. if thebits = 0 then
  54673. pTDefRegMap(@Self)^.clr := $00000001
  54674. else
  54675. pTDefRegMap(@Self)^.&set := $00000001;
  54676. end;
  54677. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  54678. begin
  54679. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54680. end;
  54681. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  54682. begin
  54683. pTDefRegMap(@Self)^.&set := $00000002;
  54684. end;
  54685. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  54686. begin
  54687. pTDefRegMap(@Self)^.clr := $00000002;
  54688. end;
  54689. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  54690. begin
  54691. if thebits = 0 then
  54692. pTDefRegMap(@Self)^.clr := $00000002
  54693. else
  54694. pTDefRegMap(@Self)^.&set := $00000002;
  54695. end;
  54696. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  54697. begin
  54698. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54699. end;
  54700. procedure TUSB_U1EIE.setCRC16EE; inline;
  54701. begin
  54702. pTDefRegMap(@Self)^.&set := $00000004;
  54703. end;
  54704. procedure TUSB_U1EIE.clearCRC16EE; inline;
  54705. begin
  54706. pTDefRegMap(@Self)^.clr := $00000004;
  54707. end;
  54708. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  54709. begin
  54710. if thebits = 0 then
  54711. pTDefRegMap(@Self)^.clr := $00000004
  54712. else
  54713. pTDefRegMap(@Self)^.&set := $00000004;
  54714. end;
  54715. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  54716. begin
  54717. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54718. end;
  54719. procedure TUSB_U1EIE.setDFN8EE; inline;
  54720. begin
  54721. pTDefRegMap(@Self)^.&set := $00000008;
  54722. end;
  54723. procedure TUSB_U1EIE.clearDFN8EE; inline;
  54724. begin
  54725. pTDefRegMap(@Self)^.clr := $00000008;
  54726. end;
  54727. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  54728. begin
  54729. if thebits = 0 then
  54730. pTDefRegMap(@Self)^.clr := $00000008
  54731. else
  54732. pTDefRegMap(@Self)^.&set := $00000008;
  54733. end;
  54734. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  54735. begin
  54736. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54737. end;
  54738. procedure TUSB_U1EIE.setBTOEE; inline;
  54739. begin
  54740. pTDefRegMap(@Self)^.&set := $00000010;
  54741. end;
  54742. procedure TUSB_U1EIE.clearBTOEE; inline;
  54743. begin
  54744. pTDefRegMap(@Self)^.clr := $00000010;
  54745. end;
  54746. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  54747. begin
  54748. if thebits = 0 then
  54749. pTDefRegMap(@Self)^.clr := $00000010
  54750. else
  54751. pTDefRegMap(@Self)^.&set := $00000010;
  54752. end;
  54753. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  54754. begin
  54755. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54756. end;
  54757. procedure TUSB_U1EIE.setDMAEE; inline;
  54758. begin
  54759. pTDefRegMap(@Self)^.&set := $00000020;
  54760. end;
  54761. procedure TUSB_U1EIE.clearDMAEE; inline;
  54762. begin
  54763. pTDefRegMap(@Self)^.clr := $00000020;
  54764. end;
  54765. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  54766. begin
  54767. if thebits = 0 then
  54768. pTDefRegMap(@Self)^.clr := $00000020
  54769. else
  54770. pTDefRegMap(@Self)^.&set := $00000020;
  54771. end;
  54772. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  54773. begin
  54774. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54775. end;
  54776. procedure TUSB_U1EIE.setBMXEE; inline;
  54777. begin
  54778. pTDefRegMap(@Self)^.&set := $00000040;
  54779. end;
  54780. procedure TUSB_U1EIE.clearBMXEE; inline;
  54781. begin
  54782. pTDefRegMap(@Self)^.clr := $00000040;
  54783. end;
  54784. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  54785. begin
  54786. if thebits = 0 then
  54787. pTDefRegMap(@Self)^.clr := $00000040
  54788. else
  54789. pTDefRegMap(@Self)^.&set := $00000040;
  54790. end;
  54791. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  54792. begin
  54793. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54794. end;
  54795. procedure TUSB_U1EIE.setBTSEE; inline;
  54796. begin
  54797. pTDefRegMap(@Self)^.&set := $00000080;
  54798. end;
  54799. procedure TUSB_U1EIE.clearBTSEE; inline;
  54800. begin
  54801. pTDefRegMap(@Self)^.clr := $00000080;
  54802. end;
  54803. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  54804. begin
  54805. if thebits = 0 then
  54806. pTDefRegMap(@Self)^.clr := $00000080
  54807. else
  54808. pTDefRegMap(@Self)^.&set := $00000080;
  54809. end;
  54810. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  54811. begin
  54812. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54813. end;
  54814. procedure TUSB_U1EIE.setCRC5EE; inline;
  54815. begin
  54816. pTDefRegMap(@Self)^.&set := $00000002;
  54817. end;
  54818. procedure TUSB_U1EIE.clearCRC5EE; inline;
  54819. begin
  54820. pTDefRegMap(@Self)^.clr := $00000002;
  54821. end;
  54822. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  54823. begin
  54824. if thebits = 0 then
  54825. pTDefRegMap(@Self)^.clr := $00000002
  54826. else
  54827. pTDefRegMap(@Self)^.&set := $00000002;
  54828. end;
  54829. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  54830. begin
  54831. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54832. end;
  54833. procedure TUSB_U1EIE.setEOFEE; inline;
  54834. begin
  54835. pTDefRegMap(@Self)^.&set := $00000002;
  54836. end;
  54837. procedure TUSB_U1EIE.clearEOFEE; inline;
  54838. begin
  54839. pTDefRegMap(@Self)^.clr := $00000002;
  54840. end;
  54841. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  54842. begin
  54843. if thebits = 0 then
  54844. pTDefRegMap(@Self)^.clr := $00000002
  54845. else
  54846. pTDefRegMap(@Self)^.&set := $00000002;
  54847. end;
  54848. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  54849. begin
  54850. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54851. end;
  54852. procedure TUSB_U1STAT.setPPBI; inline;
  54853. begin
  54854. pTDefRegMap(@Self)^.&set := $00000004;
  54855. end;
  54856. procedure TUSB_U1STAT.clearPPBI; inline;
  54857. begin
  54858. pTDefRegMap(@Self)^.clr := $00000004;
  54859. end;
  54860. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  54861. begin
  54862. if thebits = 0 then
  54863. pTDefRegMap(@Self)^.clr := $00000004
  54864. else
  54865. pTDefRegMap(@Self)^.&set := $00000004;
  54866. end;
  54867. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  54868. begin
  54869. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54870. end;
  54871. procedure TUSB_U1STAT.setDIR; inline;
  54872. begin
  54873. pTDefRegMap(@Self)^.&set := $00000008;
  54874. end;
  54875. procedure TUSB_U1STAT.clearDIR; inline;
  54876. begin
  54877. pTDefRegMap(@Self)^.clr := $00000008;
  54878. end;
  54879. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  54880. begin
  54881. if thebits = 0 then
  54882. pTDefRegMap(@Self)^.clr := $00000008
  54883. else
  54884. pTDefRegMap(@Self)^.&set := $00000008;
  54885. end;
  54886. function TUSB_U1STAT.getDIR : TBits_1; inline;
  54887. begin
  54888. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54889. end;
  54890. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  54891. begin
  54892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  54893. end;
  54894. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  54895. begin
  54896. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  54897. end;
  54898. procedure TUSB_U1STAT.setENDPT0; inline;
  54899. begin
  54900. pTDefRegMap(@Self)^.&set := $00000010;
  54901. end;
  54902. procedure TUSB_U1STAT.clearENDPT0; inline;
  54903. begin
  54904. pTDefRegMap(@Self)^.clr := $00000010;
  54905. end;
  54906. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  54907. begin
  54908. if thebits = 0 then
  54909. pTDefRegMap(@Self)^.clr := $00000010
  54910. else
  54911. pTDefRegMap(@Self)^.&set := $00000010;
  54912. end;
  54913. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  54914. begin
  54915. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54916. end;
  54917. procedure TUSB_U1STAT.setENDPT1; inline;
  54918. begin
  54919. pTDefRegMap(@Self)^.&set := $00000020;
  54920. end;
  54921. procedure TUSB_U1STAT.clearENDPT1; inline;
  54922. begin
  54923. pTDefRegMap(@Self)^.clr := $00000020;
  54924. end;
  54925. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  54926. begin
  54927. if thebits = 0 then
  54928. pTDefRegMap(@Self)^.clr := $00000020
  54929. else
  54930. pTDefRegMap(@Self)^.&set := $00000020;
  54931. end;
  54932. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  54933. begin
  54934. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54935. end;
  54936. procedure TUSB_U1STAT.setENDPT2; inline;
  54937. begin
  54938. pTDefRegMap(@Self)^.&set := $00000040;
  54939. end;
  54940. procedure TUSB_U1STAT.clearENDPT2; inline;
  54941. begin
  54942. pTDefRegMap(@Self)^.clr := $00000040;
  54943. end;
  54944. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  54945. begin
  54946. if thebits = 0 then
  54947. pTDefRegMap(@Self)^.clr := $00000040
  54948. else
  54949. pTDefRegMap(@Self)^.&set := $00000040;
  54950. end;
  54951. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  54952. begin
  54953. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54954. end;
  54955. procedure TUSB_U1STAT.setENDPT3; inline;
  54956. begin
  54957. pTDefRegMap(@Self)^.&set := $00000080;
  54958. end;
  54959. procedure TUSB_U1STAT.clearENDPT3; inline;
  54960. begin
  54961. pTDefRegMap(@Self)^.clr := $00000080;
  54962. end;
  54963. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  54964. begin
  54965. if thebits = 0 then
  54966. pTDefRegMap(@Self)^.clr := $00000080
  54967. else
  54968. pTDefRegMap(@Self)^.&set := $00000080;
  54969. end;
  54970. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  54971. begin
  54972. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54973. end;
  54974. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  54975. begin
  54976. pTDefRegMap(@Self)^.&set := $00000001;
  54977. end;
  54978. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  54979. begin
  54980. pTDefRegMap(@Self)^.clr := $00000001;
  54981. end;
  54982. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  54983. begin
  54984. if thebits = 0 then
  54985. pTDefRegMap(@Self)^.clr := $00000001
  54986. else
  54987. pTDefRegMap(@Self)^.&set := $00000001;
  54988. end;
  54989. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  54990. begin
  54991. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54992. end;
  54993. procedure TUSB_U1CON.setPPBRST; inline;
  54994. begin
  54995. pTDefRegMap(@Self)^.&set := $00000002;
  54996. end;
  54997. procedure TUSB_U1CON.clearPPBRST; inline;
  54998. begin
  54999. pTDefRegMap(@Self)^.clr := $00000002;
  55000. end;
  55001. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  55002. begin
  55003. if thebits = 0 then
  55004. pTDefRegMap(@Self)^.clr := $00000002
  55005. else
  55006. pTDefRegMap(@Self)^.&set := $00000002;
  55007. end;
  55008. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  55009. begin
  55010. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55011. end;
  55012. procedure TUSB_U1CON.setRESUME; inline;
  55013. begin
  55014. pTDefRegMap(@Self)^.&set := $00000004;
  55015. end;
  55016. procedure TUSB_U1CON.clearRESUME; inline;
  55017. begin
  55018. pTDefRegMap(@Self)^.clr := $00000004;
  55019. end;
  55020. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  55021. begin
  55022. if thebits = 0 then
  55023. pTDefRegMap(@Self)^.clr := $00000004
  55024. else
  55025. pTDefRegMap(@Self)^.&set := $00000004;
  55026. end;
  55027. function TUSB_U1CON.getRESUME : TBits_1; inline;
  55028. begin
  55029. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55030. end;
  55031. procedure TUSB_U1CON.setHOSTEN; inline;
  55032. begin
  55033. pTDefRegMap(@Self)^.&set := $00000008;
  55034. end;
  55035. procedure TUSB_U1CON.clearHOSTEN; inline;
  55036. begin
  55037. pTDefRegMap(@Self)^.clr := $00000008;
  55038. end;
  55039. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  55040. begin
  55041. if thebits = 0 then
  55042. pTDefRegMap(@Self)^.clr := $00000008
  55043. else
  55044. pTDefRegMap(@Self)^.&set := $00000008;
  55045. end;
  55046. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  55047. begin
  55048. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55049. end;
  55050. procedure TUSB_U1CON.setUSBRST; inline;
  55051. begin
  55052. pTDefRegMap(@Self)^.&set := $00000010;
  55053. end;
  55054. procedure TUSB_U1CON.clearUSBRST; inline;
  55055. begin
  55056. pTDefRegMap(@Self)^.clr := $00000010;
  55057. end;
  55058. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  55059. begin
  55060. if thebits = 0 then
  55061. pTDefRegMap(@Self)^.clr := $00000010
  55062. else
  55063. pTDefRegMap(@Self)^.&set := $00000010;
  55064. end;
  55065. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  55066. begin
  55067. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55068. end;
  55069. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  55070. begin
  55071. pTDefRegMap(@Self)^.&set := $00000020;
  55072. end;
  55073. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  55074. begin
  55075. pTDefRegMap(@Self)^.clr := $00000020;
  55076. end;
  55077. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  55078. begin
  55079. if thebits = 0 then
  55080. pTDefRegMap(@Self)^.clr := $00000020
  55081. else
  55082. pTDefRegMap(@Self)^.&set := $00000020;
  55083. end;
  55084. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  55085. begin
  55086. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55087. end;
  55088. procedure TUSB_U1CON.setSE0; inline;
  55089. begin
  55090. pTDefRegMap(@Self)^.&set := $00000040;
  55091. end;
  55092. procedure TUSB_U1CON.clearSE0; inline;
  55093. begin
  55094. pTDefRegMap(@Self)^.clr := $00000040;
  55095. end;
  55096. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  55097. begin
  55098. if thebits = 0 then
  55099. pTDefRegMap(@Self)^.clr := $00000040
  55100. else
  55101. pTDefRegMap(@Self)^.&set := $00000040;
  55102. end;
  55103. function TUSB_U1CON.getSE0 : TBits_1; inline;
  55104. begin
  55105. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55106. end;
  55107. procedure TUSB_U1CON.setJSTATE; inline;
  55108. begin
  55109. pTDefRegMap(@Self)^.&set := $00000080;
  55110. end;
  55111. procedure TUSB_U1CON.clearJSTATE; inline;
  55112. begin
  55113. pTDefRegMap(@Self)^.clr := $00000080;
  55114. end;
  55115. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  55116. begin
  55117. if thebits = 0 then
  55118. pTDefRegMap(@Self)^.clr := $00000080
  55119. else
  55120. pTDefRegMap(@Self)^.&set := $00000080;
  55121. end;
  55122. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  55123. begin
  55124. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55125. end;
  55126. procedure TUSB_U1CON.setUSBEN; inline;
  55127. begin
  55128. pTDefRegMap(@Self)^.&set := $00000001;
  55129. end;
  55130. procedure TUSB_U1CON.clearUSBEN; inline;
  55131. begin
  55132. pTDefRegMap(@Self)^.clr := $00000001;
  55133. end;
  55134. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  55135. begin
  55136. if thebits = 0 then
  55137. pTDefRegMap(@Self)^.clr := $00000001
  55138. else
  55139. pTDefRegMap(@Self)^.&set := $00000001;
  55140. end;
  55141. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  55142. begin
  55143. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55144. end;
  55145. procedure TUSB_U1CON.setSOFEN; inline;
  55146. begin
  55147. pTDefRegMap(@Self)^.&set := $00000001;
  55148. end;
  55149. procedure TUSB_U1CON.clearSOFEN; inline;
  55150. begin
  55151. pTDefRegMap(@Self)^.clr := $00000001;
  55152. end;
  55153. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  55154. begin
  55155. if thebits = 0 then
  55156. pTDefRegMap(@Self)^.clr := $00000001
  55157. else
  55158. pTDefRegMap(@Self)^.&set := $00000001;
  55159. end;
  55160. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  55161. begin
  55162. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55163. end;
  55164. procedure TUSB_U1CON.setPKTDIS; inline;
  55165. begin
  55166. pTDefRegMap(@Self)^.&set := $00000020;
  55167. end;
  55168. procedure TUSB_U1CON.clearPKTDIS; inline;
  55169. begin
  55170. pTDefRegMap(@Self)^.clr := $00000020;
  55171. end;
  55172. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  55173. begin
  55174. if thebits = 0 then
  55175. pTDefRegMap(@Self)^.clr := $00000020
  55176. else
  55177. pTDefRegMap(@Self)^.&set := $00000020;
  55178. end;
  55179. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  55180. begin
  55181. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55182. end;
  55183. procedure TUSB_U1CON.setTOKBUSY; inline;
  55184. begin
  55185. pTDefRegMap(@Self)^.&set := $00000020;
  55186. end;
  55187. procedure TUSB_U1CON.clearTOKBUSY; inline;
  55188. begin
  55189. pTDefRegMap(@Self)^.clr := $00000020;
  55190. end;
  55191. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  55192. begin
  55193. if thebits = 0 then
  55194. pTDefRegMap(@Self)^.clr := $00000020
  55195. else
  55196. pTDefRegMap(@Self)^.&set := $00000020;
  55197. end;
  55198. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  55199. begin
  55200. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55201. end;
  55202. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  55203. begin
  55204. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  55205. end;
  55206. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  55207. begin
  55208. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  55209. end;
  55210. procedure TUSB_U1ADDR.setLSPDEN; inline;
  55211. begin
  55212. pTDefRegMap(@Self)^.&set := $00000080;
  55213. end;
  55214. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  55215. begin
  55216. pTDefRegMap(@Self)^.clr := $00000080;
  55217. end;
  55218. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  55219. begin
  55220. if thebits = 0 then
  55221. pTDefRegMap(@Self)^.clr := $00000080
  55222. else
  55223. pTDefRegMap(@Self)^.&set := $00000080;
  55224. end;
  55225. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  55226. begin
  55227. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55228. end;
  55229. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  55230. begin
  55231. pTDefRegMap(@Self)^.&set := $00000001;
  55232. end;
  55233. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  55234. begin
  55235. pTDefRegMap(@Self)^.clr := $00000001;
  55236. end;
  55237. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  55238. begin
  55239. if thebits = 0 then
  55240. pTDefRegMap(@Self)^.clr := $00000001
  55241. else
  55242. pTDefRegMap(@Self)^.&set := $00000001;
  55243. end;
  55244. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  55245. begin
  55246. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55247. end;
  55248. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  55249. begin
  55250. pTDefRegMap(@Self)^.&set := $00000002;
  55251. end;
  55252. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  55253. begin
  55254. pTDefRegMap(@Self)^.clr := $00000002;
  55255. end;
  55256. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  55257. begin
  55258. if thebits = 0 then
  55259. pTDefRegMap(@Self)^.clr := $00000002
  55260. else
  55261. pTDefRegMap(@Self)^.&set := $00000002;
  55262. end;
  55263. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  55264. begin
  55265. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55266. end;
  55267. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  55268. begin
  55269. pTDefRegMap(@Self)^.&set := $00000004;
  55270. end;
  55271. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  55272. begin
  55273. pTDefRegMap(@Self)^.clr := $00000004;
  55274. end;
  55275. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  55276. begin
  55277. if thebits = 0 then
  55278. pTDefRegMap(@Self)^.clr := $00000004
  55279. else
  55280. pTDefRegMap(@Self)^.&set := $00000004;
  55281. end;
  55282. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  55283. begin
  55284. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55285. end;
  55286. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  55287. begin
  55288. pTDefRegMap(@Self)^.&set := $00000008;
  55289. end;
  55290. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  55291. begin
  55292. pTDefRegMap(@Self)^.clr := $00000008;
  55293. end;
  55294. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  55295. begin
  55296. if thebits = 0 then
  55297. pTDefRegMap(@Self)^.clr := $00000008
  55298. else
  55299. pTDefRegMap(@Self)^.&set := $00000008;
  55300. end;
  55301. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  55302. begin
  55303. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55304. end;
  55305. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  55306. begin
  55307. pTDefRegMap(@Self)^.&set := $00000010;
  55308. end;
  55309. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  55310. begin
  55311. pTDefRegMap(@Self)^.clr := $00000010;
  55312. end;
  55313. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  55314. begin
  55315. if thebits = 0 then
  55316. pTDefRegMap(@Self)^.clr := $00000010
  55317. else
  55318. pTDefRegMap(@Self)^.&set := $00000010;
  55319. end;
  55320. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  55321. begin
  55322. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55323. end;
  55324. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  55325. begin
  55326. pTDefRegMap(@Self)^.&set := $00000020;
  55327. end;
  55328. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  55329. begin
  55330. pTDefRegMap(@Self)^.clr := $00000020;
  55331. end;
  55332. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  55333. begin
  55334. if thebits = 0 then
  55335. pTDefRegMap(@Self)^.clr := $00000020
  55336. else
  55337. pTDefRegMap(@Self)^.&set := $00000020;
  55338. end;
  55339. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  55340. begin
  55341. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55342. end;
  55343. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  55344. begin
  55345. pTDefRegMap(@Self)^.&set := $00000040;
  55346. end;
  55347. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  55348. begin
  55349. pTDefRegMap(@Self)^.clr := $00000040;
  55350. end;
  55351. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  55352. begin
  55353. if thebits = 0 then
  55354. pTDefRegMap(@Self)^.clr := $00000040
  55355. else
  55356. pTDefRegMap(@Self)^.&set := $00000040;
  55357. end;
  55358. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  55359. begin
  55360. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55361. end;
  55362. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  55363. begin
  55364. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  55365. end;
  55366. function TUSB_U1FRML.getFRML : TBits_8; inline;
  55367. begin
  55368. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  55369. end;
  55370. procedure TUSB_U1FRML.setFRM0; inline;
  55371. begin
  55372. pTDefRegMap(@Self)^.&set := $00000001;
  55373. end;
  55374. procedure TUSB_U1FRML.clearFRM0; inline;
  55375. begin
  55376. pTDefRegMap(@Self)^.clr := $00000001;
  55377. end;
  55378. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  55379. begin
  55380. if thebits = 0 then
  55381. pTDefRegMap(@Self)^.clr := $00000001
  55382. else
  55383. pTDefRegMap(@Self)^.&set := $00000001;
  55384. end;
  55385. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  55386. begin
  55387. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55388. end;
  55389. procedure TUSB_U1FRML.setFRM1; inline;
  55390. begin
  55391. pTDefRegMap(@Self)^.&set := $00000002;
  55392. end;
  55393. procedure TUSB_U1FRML.clearFRM1; inline;
  55394. begin
  55395. pTDefRegMap(@Self)^.clr := $00000002;
  55396. end;
  55397. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  55398. begin
  55399. if thebits = 0 then
  55400. pTDefRegMap(@Self)^.clr := $00000002
  55401. else
  55402. pTDefRegMap(@Self)^.&set := $00000002;
  55403. end;
  55404. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  55405. begin
  55406. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55407. end;
  55408. procedure TUSB_U1FRML.setFRM2; inline;
  55409. begin
  55410. pTDefRegMap(@Self)^.&set := $00000004;
  55411. end;
  55412. procedure TUSB_U1FRML.clearFRM2; inline;
  55413. begin
  55414. pTDefRegMap(@Self)^.clr := $00000004;
  55415. end;
  55416. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  55417. begin
  55418. if thebits = 0 then
  55419. pTDefRegMap(@Self)^.clr := $00000004
  55420. else
  55421. pTDefRegMap(@Self)^.&set := $00000004;
  55422. end;
  55423. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  55424. begin
  55425. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55426. end;
  55427. procedure TUSB_U1FRML.setFRM3; inline;
  55428. begin
  55429. pTDefRegMap(@Self)^.&set := $00000008;
  55430. end;
  55431. procedure TUSB_U1FRML.clearFRM3; inline;
  55432. begin
  55433. pTDefRegMap(@Self)^.clr := $00000008;
  55434. end;
  55435. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  55436. begin
  55437. if thebits = 0 then
  55438. pTDefRegMap(@Self)^.clr := $00000008
  55439. else
  55440. pTDefRegMap(@Self)^.&set := $00000008;
  55441. end;
  55442. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  55443. begin
  55444. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55445. end;
  55446. procedure TUSB_U1FRML.setFRM4; inline;
  55447. begin
  55448. pTDefRegMap(@Self)^.&set := $00000010;
  55449. end;
  55450. procedure TUSB_U1FRML.clearFRM4; inline;
  55451. begin
  55452. pTDefRegMap(@Self)^.clr := $00000010;
  55453. end;
  55454. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  55455. begin
  55456. if thebits = 0 then
  55457. pTDefRegMap(@Self)^.clr := $00000010
  55458. else
  55459. pTDefRegMap(@Self)^.&set := $00000010;
  55460. end;
  55461. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  55462. begin
  55463. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55464. end;
  55465. procedure TUSB_U1FRML.setFRM5; inline;
  55466. begin
  55467. pTDefRegMap(@Self)^.&set := $00000020;
  55468. end;
  55469. procedure TUSB_U1FRML.clearFRM5; inline;
  55470. begin
  55471. pTDefRegMap(@Self)^.clr := $00000020;
  55472. end;
  55473. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  55474. begin
  55475. if thebits = 0 then
  55476. pTDefRegMap(@Self)^.clr := $00000020
  55477. else
  55478. pTDefRegMap(@Self)^.&set := $00000020;
  55479. end;
  55480. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  55481. begin
  55482. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55483. end;
  55484. procedure TUSB_U1FRML.setFRM6; inline;
  55485. begin
  55486. pTDefRegMap(@Self)^.&set := $00000040;
  55487. end;
  55488. procedure TUSB_U1FRML.clearFRM6; inline;
  55489. begin
  55490. pTDefRegMap(@Self)^.clr := $00000040;
  55491. end;
  55492. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  55493. begin
  55494. if thebits = 0 then
  55495. pTDefRegMap(@Self)^.clr := $00000040
  55496. else
  55497. pTDefRegMap(@Self)^.&set := $00000040;
  55498. end;
  55499. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  55500. begin
  55501. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55502. end;
  55503. procedure TUSB_U1FRML.setFRM7; inline;
  55504. begin
  55505. pTDefRegMap(@Self)^.&set := $00000080;
  55506. end;
  55507. procedure TUSB_U1FRML.clearFRM7; inline;
  55508. begin
  55509. pTDefRegMap(@Self)^.clr := $00000080;
  55510. end;
  55511. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  55512. begin
  55513. if thebits = 0 then
  55514. pTDefRegMap(@Self)^.clr := $00000080
  55515. else
  55516. pTDefRegMap(@Self)^.&set := $00000080;
  55517. end;
  55518. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  55519. begin
  55520. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55521. end;
  55522. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  55523. begin
  55524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  55525. end;
  55526. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  55527. begin
  55528. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  55529. end;
  55530. procedure TUSB_U1FRMH.setFRM8; inline;
  55531. begin
  55532. pTDefRegMap(@Self)^.&set := $00000001;
  55533. end;
  55534. procedure TUSB_U1FRMH.clearFRM8; inline;
  55535. begin
  55536. pTDefRegMap(@Self)^.clr := $00000001;
  55537. end;
  55538. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  55539. begin
  55540. if thebits = 0 then
  55541. pTDefRegMap(@Self)^.clr := $00000001
  55542. else
  55543. pTDefRegMap(@Self)^.&set := $00000001;
  55544. end;
  55545. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  55546. begin
  55547. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55548. end;
  55549. procedure TUSB_U1FRMH.setFRM9; inline;
  55550. begin
  55551. pTDefRegMap(@Self)^.&set := $00000002;
  55552. end;
  55553. procedure TUSB_U1FRMH.clearFRM9; inline;
  55554. begin
  55555. pTDefRegMap(@Self)^.clr := $00000002;
  55556. end;
  55557. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  55558. begin
  55559. if thebits = 0 then
  55560. pTDefRegMap(@Self)^.clr := $00000002
  55561. else
  55562. pTDefRegMap(@Self)^.&set := $00000002;
  55563. end;
  55564. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  55565. begin
  55566. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55567. end;
  55568. procedure TUSB_U1FRMH.setFRM10; inline;
  55569. begin
  55570. pTDefRegMap(@Self)^.&set := $00000004;
  55571. end;
  55572. procedure TUSB_U1FRMH.clearFRM10; inline;
  55573. begin
  55574. pTDefRegMap(@Self)^.clr := $00000004;
  55575. end;
  55576. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  55577. begin
  55578. if thebits = 0 then
  55579. pTDefRegMap(@Self)^.clr := $00000004
  55580. else
  55581. pTDefRegMap(@Self)^.&set := $00000004;
  55582. end;
  55583. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  55584. begin
  55585. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55586. end;
  55587. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  55588. begin
  55589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  55590. end;
  55591. function TUSB_U1TOK.getEP : TBits_4; inline;
  55592. begin
  55593. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  55594. end;
  55595. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  55596. begin
  55597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  55598. end;
  55599. function TUSB_U1TOK.getPID : TBits_4; inline;
  55600. begin
  55601. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  55602. end;
  55603. procedure TUSB_U1TOK.setEP0; inline;
  55604. begin
  55605. pTDefRegMap(@Self)^.&set := $00000001;
  55606. end;
  55607. procedure TUSB_U1TOK.clearEP0; inline;
  55608. begin
  55609. pTDefRegMap(@Self)^.clr := $00000001;
  55610. end;
  55611. procedure TUSB_U1TOK.setEP0(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 TUSB_U1TOK.getEP0 : TBits_1; inline;
  55619. begin
  55620. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55621. end;
  55622. procedure TUSB_U1TOK.setEP1; inline;
  55623. begin
  55624. pTDefRegMap(@Self)^.&set := $00000002;
  55625. end;
  55626. procedure TUSB_U1TOK.clearEP1; inline;
  55627. begin
  55628. pTDefRegMap(@Self)^.clr := $00000002;
  55629. end;
  55630. procedure TUSB_U1TOK.setEP1(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 TUSB_U1TOK.getEP1 : TBits_1; inline;
  55638. begin
  55639. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55640. end;
  55641. procedure TUSB_U1TOK.setEP2; inline;
  55642. begin
  55643. pTDefRegMap(@Self)^.&set := $00000004;
  55644. end;
  55645. procedure TUSB_U1TOK.clearEP2; inline;
  55646. begin
  55647. pTDefRegMap(@Self)^.clr := $00000004;
  55648. end;
  55649. procedure TUSB_U1TOK.setEP2(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 TUSB_U1TOK.getEP2 : TBits_1; inline;
  55657. begin
  55658. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55659. end;
  55660. procedure TUSB_U1TOK.setEP3; inline;
  55661. begin
  55662. pTDefRegMap(@Self)^.&set := $00000008;
  55663. end;
  55664. procedure TUSB_U1TOK.clearEP3; inline;
  55665. begin
  55666. pTDefRegMap(@Self)^.clr := $00000008;
  55667. end;
  55668. procedure TUSB_U1TOK.setEP3(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 TUSB_U1TOK.getEP3 : TBits_1; inline;
  55676. begin
  55677. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55678. end;
  55679. procedure TUSB_U1TOK.setPID0; inline;
  55680. begin
  55681. pTDefRegMap(@Self)^.&set := $00000010;
  55682. end;
  55683. procedure TUSB_U1TOK.clearPID0; inline;
  55684. begin
  55685. pTDefRegMap(@Self)^.clr := $00000010;
  55686. end;
  55687. procedure TUSB_U1TOK.setPID0(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 TUSB_U1TOK.getPID0 : TBits_1; inline;
  55695. begin
  55696. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55697. end;
  55698. procedure TUSB_U1TOK.setPID1; inline;
  55699. begin
  55700. pTDefRegMap(@Self)^.&set := $00000020;
  55701. end;
  55702. procedure TUSB_U1TOK.clearPID1; inline;
  55703. begin
  55704. pTDefRegMap(@Self)^.clr := $00000020;
  55705. end;
  55706. procedure TUSB_U1TOK.setPID1(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 TUSB_U1TOK.getPID1 : TBits_1; inline;
  55714. begin
  55715. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55716. end;
  55717. procedure TUSB_U1TOK.setPID2; inline;
  55718. begin
  55719. pTDefRegMap(@Self)^.&set := $00000040;
  55720. end;
  55721. procedure TUSB_U1TOK.clearPID2; inline;
  55722. begin
  55723. pTDefRegMap(@Self)^.clr := $00000040;
  55724. end;
  55725. procedure TUSB_U1TOK.setPID2(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 TUSB_U1TOK.getPID2 : TBits_1; inline;
  55733. begin
  55734. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55735. end;
  55736. procedure TUSB_U1TOK.setPID3; inline;
  55737. begin
  55738. pTDefRegMap(@Self)^.&set := $00000080;
  55739. end;
  55740. procedure TUSB_U1TOK.clearPID3; inline;
  55741. begin
  55742. pTDefRegMap(@Self)^.clr := $00000080;
  55743. end;
  55744. procedure TUSB_U1TOK.setPID3(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 TUSB_U1TOK.getPID3 : TBits_1; inline;
  55752. begin
  55753. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55754. end;
  55755. procedure TPORTA_TRISA.setTRISA0; inline;
  55756. begin
  55757. pTDefRegMap(@Self)^.&set := $00000001;
  55758. end;
  55759. procedure TPORTA_TRISA.clearTRISA0; inline;
  55760. begin
  55761. pTDefRegMap(@Self)^.clr := $00000001;
  55762. end;
  55763. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  55764. begin
  55765. if thebits = 0 then
  55766. pTDefRegMap(@Self)^.clr := $00000001
  55767. else
  55768. pTDefRegMap(@Self)^.&set := $00000001;
  55769. end;
  55770. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  55771. begin
  55772. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55773. end;
  55774. procedure TPORTA_TRISA.setTRISA1; inline;
  55775. begin
  55776. pTDefRegMap(@Self)^.&set := $00000002;
  55777. end;
  55778. procedure TPORTA_TRISA.clearTRISA1; inline;
  55779. begin
  55780. pTDefRegMap(@Self)^.clr := $00000002;
  55781. end;
  55782. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  55783. begin
  55784. if thebits = 0 then
  55785. pTDefRegMap(@Self)^.clr := $00000002
  55786. else
  55787. pTDefRegMap(@Self)^.&set := $00000002;
  55788. end;
  55789. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  55790. begin
  55791. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55792. end;
  55793. procedure TPORTA_TRISA.setTRISA2; inline;
  55794. begin
  55795. pTDefRegMap(@Self)^.&set := $00000004;
  55796. end;
  55797. procedure TPORTA_TRISA.clearTRISA2; inline;
  55798. begin
  55799. pTDefRegMap(@Self)^.clr := $00000004;
  55800. end;
  55801. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  55802. begin
  55803. if thebits = 0 then
  55804. pTDefRegMap(@Self)^.clr := $00000004
  55805. else
  55806. pTDefRegMap(@Self)^.&set := $00000004;
  55807. end;
  55808. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  55809. begin
  55810. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55811. end;
  55812. procedure TPORTA_TRISA.setTRISA3; inline;
  55813. begin
  55814. pTDefRegMap(@Self)^.&set := $00000008;
  55815. end;
  55816. procedure TPORTA_TRISA.clearTRISA3; inline;
  55817. begin
  55818. pTDefRegMap(@Self)^.clr := $00000008;
  55819. end;
  55820. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  55821. begin
  55822. if thebits = 0 then
  55823. pTDefRegMap(@Self)^.clr := $00000008
  55824. else
  55825. pTDefRegMap(@Self)^.&set := $00000008;
  55826. end;
  55827. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  55828. begin
  55829. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55830. end;
  55831. procedure TPORTA_TRISA.setTRISA4; inline;
  55832. begin
  55833. pTDefRegMap(@Self)^.&set := $00000010;
  55834. end;
  55835. procedure TPORTA_TRISA.clearTRISA4; inline;
  55836. begin
  55837. pTDefRegMap(@Self)^.clr := $00000010;
  55838. end;
  55839. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  55840. begin
  55841. if thebits = 0 then
  55842. pTDefRegMap(@Self)^.clr := $00000010
  55843. else
  55844. pTDefRegMap(@Self)^.&set := $00000010;
  55845. end;
  55846. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  55847. begin
  55848. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55849. end;
  55850. procedure TPORTA_TRISA.setTRISA5; inline;
  55851. begin
  55852. pTDefRegMap(@Self)^.&set := $00000020;
  55853. end;
  55854. procedure TPORTA_TRISA.clearTRISA5; inline;
  55855. begin
  55856. pTDefRegMap(@Self)^.clr := $00000020;
  55857. end;
  55858. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  55859. begin
  55860. if thebits = 0 then
  55861. pTDefRegMap(@Self)^.clr := $00000020
  55862. else
  55863. pTDefRegMap(@Self)^.&set := $00000020;
  55864. end;
  55865. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  55866. begin
  55867. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55868. end;
  55869. procedure TPORTA_TRISA.setTRISA6; inline;
  55870. begin
  55871. pTDefRegMap(@Self)^.&set := $00000040;
  55872. end;
  55873. procedure TPORTA_TRISA.clearTRISA6; inline;
  55874. begin
  55875. pTDefRegMap(@Self)^.clr := $00000040;
  55876. end;
  55877. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  55878. begin
  55879. if thebits = 0 then
  55880. pTDefRegMap(@Self)^.clr := $00000040
  55881. else
  55882. pTDefRegMap(@Self)^.&set := $00000040;
  55883. end;
  55884. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  55885. begin
  55886. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55887. end;
  55888. procedure TPORTA_TRISA.setTRISA7; inline;
  55889. begin
  55890. pTDefRegMap(@Self)^.&set := $00000080;
  55891. end;
  55892. procedure TPORTA_TRISA.clearTRISA7; inline;
  55893. begin
  55894. pTDefRegMap(@Self)^.clr := $00000080;
  55895. end;
  55896. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  55897. begin
  55898. if thebits = 0 then
  55899. pTDefRegMap(@Self)^.clr := $00000080
  55900. else
  55901. pTDefRegMap(@Self)^.&set := $00000080;
  55902. end;
  55903. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  55904. begin
  55905. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55906. end;
  55907. procedure TPORTA_TRISA.setTRISA9; inline;
  55908. begin
  55909. pTDefRegMap(@Self)^.&set := $00000200;
  55910. end;
  55911. procedure TPORTA_TRISA.clearTRISA9; inline;
  55912. begin
  55913. pTDefRegMap(@Self)^.clr := $00000200;
  55914. end;
  55915. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  55916. begin
  55917. if thebits = 0 then
  55918. pTDefRegMap(@Self)^.clr := $00000200
  55919. else
  55920. pTDefRegMap(@Self)^.&set := $00000200;
  55921. end;
  55922. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  55923. begin
  55924. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55925. end;
  55926. procedure TPORTA_TRISA.setTRISA10; inline;
  55927. begin
  55928. pTDefRegMap(@Self)^.&set := $00000400;
  55929. end;
  55930. procedure TPORTA_TRISA.clearTRISA10; inline;
  55931. begin
  55932. pTDefRegMap(@Self)^.clr := $00000400;
  55933. end;
  55934. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  55935. begin
  55936. if thebits = 0 then
  55937. pTDefRegMap(@Self)^.clr := $00000400
  55938. else
  55939. pTDefRegMap(@Self)^.&set := $00000400;
  55940. end;
  55941. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  55942. begin
  55943. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55944. end;
  55945. procedure TPORTA_TRISA.setTRISA14; inline;
  55946. begin
  55947. pTDefRegMap(@Self)^.&set := $00004000;
  55948. end;
  55949. procedure TPORTA_TRISA.clearTRISA14; inline;
  55950. begin
  55951. pTDefRegMap(@Self)^.clr := $00004000;
  55952. end;
  55953. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  55954. begin
  55955. if thebits = 0 then
  55956. pTDefRegMap(@Self)^.clr := $00004000
  55957. else
  55958. pTDefRegMap(@Self)^.&set := $00004000;
  55959. end;
  55960. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  55961. begin
  55962. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55963. end;
  55964. procedure TPORTA_TRISA.setTRISA15; inline;
  55965. begin
  55966. pTDefRegMap(@Self)^.&set := $00008000;
  55967. end;
  55968. procedure TPORTA_TRISA.clearTRISA15; inline;
  55969. begin
  55970. pTDefRegMap(@Self)^.clr := $00008000;
  55971. end;
  55972. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  55973. begin
  55974. if thebits = 0 then
  55975. pTDefRegMap(@Self)^.clr := $00008000
  55976. else
  55977. pTDefRegMap(@Self)^.&set := $00008000;
  55978. end;
  55979. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  55980. begin
  55981. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55982. end;
  55983. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  55984. begin
  55985. pTDefRegMap(@Self)^.val := thebits;
  55986. end;
  55987. function TPORTA_TRISA.getw : TBits_32; inline;
  55988. begin
  55989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55990. end;
  55991. procedure TPORTA_PORTA.setRA0; inline;
  55992. begin
  55993. pTDefRegMap(@Self)^.&set := $00000001;
  55994. end;
  55995. procedure TPORTA_PORTA.clearRA0; inline;
  55996. begin
  55997. pTDefRegMap(@Self)^.clr := $00000001;
  55998. end;
  55999. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  56000. begin
  56001. if thebits = 0 then
  56002. pTDefRegMap(@Self)^.clr := $00000001
  56003. else
  56004. pTDefRegMap(@Self)^.&set := $00000001;
  56005. end;
  56006. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  56007. begin
  56008. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56009. end;
  56010. procedure TPORTA_PORTA.setRA1; inline;
  56011. begin
  56012. pTDefRegMap(@Self)^.&set := $00000002;
  56013. end;
  56014. procedure TPORTA_PORTA.clearRA1; inline;
  56015. begin
  56016. pTDefRegMap(@Self)^.clr := $00000002;
  56017. end;
  56018. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  56019. begin
  56020. if thebits = 0 then
  56021. pTDefRegMap(@Self)^.clr := $00000002
  56022. else
  56023. pTDefRegMap(@Self)^.&set := $00000002;
  56024. end;
  56025. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  56026. begin
  56027. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56028. end;
  56029. procedure TPORTA_PORTA.setRA2; inline;
  56030. begin
  56031. pTDefRegMap(@Self)^.&set := $00000004;
  56032. end;
  56033. procedure TPORTA_PORTA.clearRA2; inline;
  56034. begin
  56035. pTDefRegMap(@Self)^.clr := $00000004;
  56036. end;
  56037. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  56038. begin
  56039. if thebits = 0 then
  56040. pTDefRegMap(@Self)^.clr := $00000004
  56041. else
  56042. pTDefRegMap(@Self)^.&set := $00000004;
  56043. end;
  56044. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  56045. begin
  56046. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56047. end;
  56048. procedure TPORTA_PORTA.setRA3; inline;
  56049. begin
  56050. pTDefRegMap(@Self)^.&set := $00000008;
  56051. end;
  56052. procedure TPORTA_PORTA.clearRA3; inline;
  56053. begin
  56054. pTDefRegMap(@Self)^.clr := $00000008;
  56055. end;
  56056. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  56057. begin
  56058. if thebits = 0 then
  56059. pTDefRegMap(@Self)^.clr := $00000008
  56060. else
  56061. pTDefRegMap(@Self)^.&set := $00000008;
  56062. end;
  56063. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  56064. begin
  56065. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56066. end;
  56067. procedure TPORTA_PORTA.setRA4; inline;
  56068. begin
  56069. pTDefRegMap(@Self)^.&set := $00000010;
  56070. end;
  56071. procedure TPORTA_PORTA.clearRA4; inline;
  56072. begin
  56073. pTDefRegMap(@Self)^.clr := $00000010;
  56074. end;
  56075. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  56076. begin
  56077. if thebits = 0 then
  56078. pTDefRegMap(@Self)^.clr := $00000010
  56079. else
  56080. pTDefRegMap(@Self)^.&set := $00000010;
  56081. end;
  56082. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  56083. begin
  56084. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56085. end;
  56086. procedure TPORTA_PORTA.setRA5; inline;
  56087. begin
  56088. pTDefRegMap(@Self)^.&set := $00000020;
  56089. end;
  56090. procedure TPORTA_PORTA.clearRA5; inline;
  56091. begin
  56092. pTDefRegMap(@Self)^.clr := $00000020;
  56093. end;
  56094. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  56095. begin
  56096. if thebits = 0 then
  56097. pTDefRegMap(@Self)^.clr := $00000020
  56098. else
  56099. pTDefRegMap(@Self)^.&set := $00000020;
  56100. end;
  56101. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  56102. begin
  56103. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56104. end;
  56105. procedure TPORTA_PORTA.setRA6; inline;
  56106. begin
  56107. pTDefRegMap(@Self)^.&set := $00000040;
  56108. end;
  56109. procedure TPORTA_PORTA.clearRA6; inline;
  56110. begin
  56111. pTDefRegMap(@Self)^.clr := $00000040;
  56112. end;
  56113. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  56114. begin
  56115. if thebits = 0 then
  56116. pTDefRegMap(@Self)^.clr := $00000040
  56117. else
  56118. pTDefRegMap(@Self)^.&set := $00000040;
  56119. end;
  56120. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  56121. begin
  56122. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56123. end;
  56124. procedure TPORTA_PORTA.setRA7; inline;
  56125. begin
  56126. pTDefRegMap(@Self)^.&set := $00000080;
  56127. end;
  56128. procedure TPORTA_PORTA.clearRA7; inline;
  56129. begin
  56130. pTDefRegMap(@Self)^.clr := $00000080;
  56131. end;
  56132. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  56133. begin
  56134. if thebits = 0 then
  56135. pTDefRegMap(@Self)^.clr := $00000080
  56136. else
  56137. pTDefRegMap(@Self)^.&set := $00000080;
  56138. end;
  56139. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  56140. begin
  56141. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56142. end;
  56143. procedure TPORTA_PORTA.setRA9; inline;
  56144. begin
  56145. pTDefRegMap(@Self)^.&set := $00000200;
  56146. end;
  56147. procedure TPORTA_PORTA.clearRA9; inline;
  56148. begin
  56149. pTDefRegMap(@Self)^.clr := $00000200;
  56150. end;
  56151. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  56152. begin
  56153. if thebits = 0 then
  56154. pTDefRegMap(@Self)^.clr := $00000200
  56155. else
  56156. pTDefRegMap(@Self)^.&set := $00000200;
  56157. end;
  56158. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  56159. begin
  56160. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56161. end;
  56162. procedure TPORTA_PORTA.setRA10; inline;
  56163. begin
  56164. pTDefRegMap(@Self)^.&set := $00000400;
  56165. end;
  56166. procedure TPORTA_PORTA.clearRA10; inline;
  56167. begin
  56168. pTDefRegMap(@Self)^.clr := $00000400;
  56169. end;
  56170. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  56171. begin
  56172. if thebits = 0 then
  56173. pTDefRegMap(@Self)^.clr := $00000400
  56174. else
  56175. pTDefRegMap(@Self)^.&set := $00000400;
  56176. end;
  56177. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  56178. begin
  56179. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56180. end;
  56181. procedure TPORTA_PORTA.setRA14; inline;
  56182. begin
  56183. pTDefRegMap(@Self)^.&set := $00004000;
  56184. end;
  56185. procedure TPORTA_PORTA.clearRA14; inline;
  56186. begin
  56187. pTDefRegMap(@Self)^.clr := $00004000;
  56188. end;
  56189. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  56190. begin
  56191. if thebits = 0 then
  56192. pTDefRegMap(@Self)^.clr := $00004000
  56193. else
  56194. pTDefRegMap(@Self)^.&set := $00004000;
  56195. end;
  56196. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  56197. begin
  56198. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56199. end;
  56200. procedure TPORTA_PORTA.setRA15; inline;
  56201. begin
  56202. pTDefRegMap(@Self)^.&set := $00008000;
  56203. end;
  56204. procedure TPORTA_PORTA.clearRA15; inline;
  56205. begin
  56206. pTDefRegMap(@Self)^.clr := $00008000;
  56207. end;
  56208. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  56209. begin
  56210. if thebits = 0 then
  56211. pTDefRegMap(@Self)^.clr := $00008000
  56212. else
  56213. pTDefRegMap(@Self)^.&set := $00008000;
  56214. end;
  56215. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  56216. begin
  56217. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56218. end;
  56219. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  56220. begin
  56221. pTDefRegMap(@Self)^.val := thebits;
  56222. end;
  56223. function TPORTA_PORTA.getw : TBits_32; inline;
  56224. begin
  56225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56226. end;
  56227. procedure TPORTA_LATA.setLATA0; inline;
  56228. begin
  56229. pTDefRegMap(@Self)^.&set := $00000001;
  56230. end;
  56231. procedure TPORTA_LATA.clearLATA0; inline;
  56232. begin
  56233. pTDefRegMap(@Self)^.clr := $00000001;
  56234. end;
  56235. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  56236. begin
  56237. if thebits = 0 then
  56238. pTDefRegMap(@Self)^.clr := $00000001
  56239. else
  56240. pTDefRegMap(@Self)^.&set := $00000001;
  56241. end;
  56242. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  56243. begin
  56244. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56245. end;
  56246. procedure TPORTA_LATA.setLATA1; inline;
  56247. begin
  56248. pTDefRegMap(@Self)^.&set := $00000002;
  56249. end;
  56250. procedure TPORTA_LATA.clearLATA1; inline;
  56251. begin
  56252. pTDefRegMap(@Self)^.clr := $00000002;
  56253. end;
  56254. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  56255. begin
  56256. if thebits = 0 then
  56257. pTDefRegMap(@Self)^.clr := $00000002
  56258. else
  56259. pTDefRegMap(@Self)^.&set := $00000002;
  56260. end;
  56261. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  56262. begin
  56263. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56264. end;
  56265. procedure TPORTA_LATA.setLATA2; inline;
  56266. begin
  56267. pTDefRegMap(@Self)^.&set := $00000004;
  56268. end;
  56269. procedure TPORTA_LATA.clearLATA2; inline;
  56270. begin
  56271. pTDefRegMap(@Self)^.clr := $00000004;
  56272. end;
  56273. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  56274. begin
  56275. if thebits = 0 then
  56276. pTDefRegMap(@Self)^.clr := $00000004
  56277. else
  56278. pTDefRegMap(@Self)^.&set := $00000004;
  56279. end;
  56280. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  56281. begin
  56282. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56283. end;
  56284. procedure TPORTA_LATA.setLATA3; inline;
  56285. begin
  56286. pTDefRegMap(@Self)^.&set := $00000008;
  56287. end;
  56288. procedure TPORTA_LATA.clearLATA3; inline;
  56289. begin
  56290. pTDefRegMap(@Self)^.clr := $00000008;
  56291. end;
  56292. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  56293. begin
  56294. if thebits = 0 then
  56295. pTDefRegMap(@Self)^.clr := $00000008
  56296. else
  56297. pTDefRegMap(@Self)^.&set := $00000008;
  56298. end;
  56299. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  56300. begin
  56301. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56302. end;
  56303. procedure TPORTA_LATA.setLATA4; inline;
  56304. begin
  56305. pTDefRegMap(@Self)^.&set := $00000010;
  56306. end;
  56307. procedure TPORTA_LATA.clearLATA4; inline;
  56308. begin
  56309. pTDefRegMap(@Self)^.clr := $00000010;
  56310. end;
  56311. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  56312. begin
  56313. if thebits = 0 then
  56314. pTDefRegMap(@Self)^.clr := $00000010
  56315. else
  56316. pTDefRegMap(@Self)^.&set := $00000010;
  56317. end;
  56318. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  56319. begin
  56320. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56321. end;
  56322. procedure TPORTA_LATA.setLATA5; inline;
  56323. begin
  56324. pTDefRegMap(@Self)^.&set := $00000020;
  56325. end;
  56326. procedure TPORTA_LATA.clearLATA5; inline;
  56327. begin
  56328. pTDefRegMap(@Self)^.clr := $00000020;
  56329. end;
  56330. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  56331. begin
  56332. if thebits = 0 then
  56333. pTDefRegMap(@Self)^.clr := $00000020
  56334. else
  56335. pTDefRegMap(@Self)^.&set := $00000020;
  56336. end;
  56337. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  56338. begin
  56339. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56340. end;
  56341. procedure TPORTA_LATA.setLATA6; inline;
  56342. begin
  56343. pTDefRegMap(@Self)^.&set := $00000040;
  56344. end;
  56345. procedure TPORTA_LATA.clearLATA6; inline;
  56346. begin
  56347. pTDefRegMap(@Self)^.clr := $00000040;
  56348. end;
  56349. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  56350. begin
  56351. if thebits = 0 then
  56352. pTDefRegMap(@Self)^.clr := $00000040
  56353. else
  56354. pTDefRegMap(@Self)^.&set := $00000040;
  56355. end;
  56356. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  56357. begin
  56358. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56359. end;
  56360. procedure TPORTA_LATA.setLATA7; inline;
  56361. begin
  56362. pTDefRegMap(@Self)^.&set := $00000080;
  56363. end;
  56364. procedure TPORTA_LATA.clearLATA7; inline;
  56365. begin
  56366. pTDefRegMap(@Self)^.clr := $00000080;
  56367. end;
  56368. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  56369. begin
  56370. if thebits = 0 then
  56371. pTDefRegMap(@Self)^.clr := $00000080
  56372. else
  56373. pTDefRegMap(@Self)^.&set := $00000080;
  56374. end;
  56375. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  56376. begin
  56377. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56378. end;
  56379. procedure TPORTA_LATA.setLATA9; inline;
  56380. begin
  56381. pTDefRegMap(@Self)^.&set := $00000200;
  56382. end;
  56383. procedure TPORTA_LATA.clearLATA9; inline;
  56384. begin
  56385. pTDefRegMap(@Self)^.clr := $00000200;
  56386. end;
  56387. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  56388. begin
  56389. if thebits = 0 then
  56390. pTDefRegMap(@Self)^.clr := $00000200
  56391. else
  56392. pTDefRegMap(@Self)^.&set := $00000200;
  56393. end;
  56394. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  56395. begin
  56396. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56397. end;
  56398. procedure TPORTA_LATA.setLATA10; inline;
  56399. begin
  56400. pTDefRegMap(@Self)^.&set := $00000400;
  56401. end;
  56402. procedure TPORTA_LATA.clearLATA10; inline;
  56403. begin
  56404. pTDefRegMap(@Self)^.clr := $00000400;
  56405. end;
  56406. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  56407. begin
  56408. if thebits = 0 then
  56409. pTDefRegMap(@Self)^.clr := $00000400
  56410. else
  56411. pTDefRegMap(@Self)^.&set := $00000400;
  56412. end;
  56413. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  56414. begin
  56415. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56416. end;
  56417. procedure TPORTA_LATA.setLATA14; inline;
  56418. begin
  56419. pTDefRegMap(@Self)^.&set := $00004000;
  56420. end;
  56421. procedure TPORTA_LATA.clearLATA14; inline;
  56422. begin
  56423. pTDefRegMap(@Self)^.clr := $00004000;
  56424. end;
  56425. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  56426. begin
  56427. if thebits = 0 then
  56428. pTDefRegMap(@Self)^.clr := $00004000
  56429. else
  56430. pTDefRegMap(@Self)^.&set := $00004000;
  56431. end;
  56432. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  56433. begin
  56434. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56435. end;
  56436. procedure TPORTA_LATA.setLATA15; inline;
  56437. begin
  56438. pTDefRegMap(@Self)^.&set := $00008000;
  56439. end;
  56440. procedure TPORTA_LATA.clearLATA15; inline;
  56441. begin
  56442. pTDefRegMap(@Self)^.clr := $00008000;
  56443. end;
  56444. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  56445. begin
  56446. if thebits = 0 then
  56447. pTDefRegMap(@Self)^.clr := $00008000
  56448. else
  56449. pTDefRegMap(@Self)^.&set := $00008000;
  56450. end;
  56451. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  56452. begin
  56453. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56454. end;
  56455. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  56456. begin
  56457. pTDefRegMap(@Self)^.val := thebits;
  56458. end;
  56459. function TPORTA_LATA.getw : TBits_32; inline;
  56460. begin
  56461. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56462. end;
  56463. procedure TPORTA_ODCA.setODCA0; inline;
  56464. begin
  56465. pTDefRegMap(@Self)^.&set := $00000001;
  56466. end;
  56467. procedure TPORTA_ODCA.clearODCA0; inline;
  56468. begin
  56469. pTDefRegMap(@Self)^.clr := $00000001;
  56470. end;
  56471. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  56472. begin
  56473. if thebits = 0 then
  56474. pTDefRegMap(@Self)^.clr := $00000001
  56475. else
  56476. pTDefRegMap(@Self)^.&set := $00000001;
  56477. end;
  56478. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  56479. begin
  56480. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56481. end;
  56482. procedure TPORTA_ODCA.setODCA1; inline;
  56483. begin
  56484. pTDefRegMap(@Self)^.&set := $00000002;
  56485. end;
  56486. procedure TPORTA_ODCA.clearODCA1; inline;
  56487. begin
  56488. pTDefRegMap(@Self)^.clr := $00000002;
  56489. end;
  56490. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  56491. begin
  56492. if thebits = 0 then
  56493. pTDefRegMap(@Self)^.clr := $00000002
  56494. else
  56495. pTDefRegMap(@Self)^.&set := $00000002;
  56496. end;
  56497. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  56498. begin
  56499. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56500. end;
  56501. procedure TPORTA_ODCA.setODCA2; inline;
  56502. begin
  56503. pTDefRegMap(@Self)^.&set := $00000004;
  56504. end;
  56505. procedure TPORTA_ODCA.clearODCA2; inline;
  56506. begin
  56507. pTDefRegMap(@Self)^.clr := $00000004;
  56508. end;
  56509. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  56510. begin
  56511. if thebits = 0 then
  56512. pTDefRegMap(@Self)^.clr := $00000004
  56513. else
  56514. pTDefRegMap(@Self)^.&set := $00000004;
  56515. end;
  56516. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  56517. begin
  56518. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56519. end;
  56520. procedure TPORTA_ODCA.setODCA3; inline;
  56521. begin
  56522. pTDefRegMap(@Self)^.&set := $00000008;
  56523. end;
  56524. procedure TPORTA_ODCA.clearODCA3; inline;
  56525. begin
  56526. pTDefRegMap(@Self)^.clr := $00000008;
  56527. end;
  56528. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  56529. begin
  56530. if thebits = 0 then
  56531. pTDefRegMap(@Self)^.clr := $00000008
  56532. else
  56533. pTDefRegMap(@Self)^.&set := $00000008;
  56534. end;
  56535. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  56536. begin
  56537. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56538. end;
  56539. procedure TPORTA_ODCA.setODCA4; inline;
  56540. begin
  56541. pTDefRegMap(@Self)^.&set := $00000010;
  56542. end;
  56543. procedure TPORTA_ODCA.clearODCA4; inline;
  56544. begin
  56545. pTDefRegMap(@Self)^.clr := $00000010;
  56546. end;
  56547. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  56548. begin
  56549. if thebits = 0 then
  56550. pTDefRegMap(@Self)^.clr := $00000010
  56551. else
  56552. pTDefRegMap(@Self)^.&set := $00000010;
  56553. end;
  56554. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  56555. begin
  56556. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56557. end;
  56558. procedure TPORTA_ODCA.setODCA5; inline;
  56559. begin
  56560. pTDefRegMap(@Self)^.&set := $00000020;
  56561. end;
  56562. procedure TPORTA_ODCA.clearODCA5; inline;
  56563. begin
  56564. pTDefRegMap(@Self)^.clr := $00000020;
  56565. end;
  56566. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  56567. begin
  56568. if thebits = 0 then
  56569. pTDefRegMap(@Self)^.clr := $00000020
  56570. else
  56571. pTDefRegMap(@Self)^.&set := $00000020;
  56572. end;
  56573. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  56574. begin
  56575. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56576. end;
  56577. procedure TPORTA_ODCA.setODCA6; inline;
  56578. begin
  56579. pTDefRegMap(@Self)^.&set := $00000040;
  56580. end;
  56581. procedure TPORTA_ODCA.clearODCA6; inline;
  56582. begin
  56583. pTDefRegMap(@Self)^.clr := $00000040;
  56584. end;
  56585. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  56586. begin
  56587. if thebits = 0 then
  56588. pTDefRegMap(@Self)^.clr := $00000040
  56589. else
  56590. pTDefRegMap(@Self)^.&set := $00000040;
  56591. end;
  56592. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  56593. begin
  56594. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56595. end;
  56596. procedure TPORTA_ODCA.setODCA7; inline;
  56597. begin
  56598. pTDefRegMap(@Self)^.&set := $00000080;
  56599. end;
  56600. procedure TPORTA_ODCA.clearODCA7; inline;
  56601. begin
  56602. pTDefRegMap(@Self)^.clr := $00000080;
  56603. end;
  56604. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  56605. begin
  56606. if thebits = 0 then
  56607. pTDefRegMap(@Self)^.clr := $00000080
  56608. else
  56609. pTDefRegMap(@Self)^.&set := $00000080;
  56610. end;
  56611. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  56612. begin
  56613. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56614. end;
  56615. procedure TPORTA_ODCA.setODCA9; inline;
  56616. begin
  56617. pTDefRegMap(@Self)^.&set := $00000200;
  56618. end;
  56619. procedure TPORTA_ODCA.clearODCA9; inline;
  56620. begin
  56621. pTDefRegMap(@Self)^.clr := $00000200;
  56622. end;
  56623. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  56624. begin
  56625. if thebits = 0 then
  56626. pTDefRegMap(@Self)^.clr := $00000200
  56627. else
  56628. pTDefRegMap(@Self)^.&set := $00000200;
  56629. end;
  56630. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  56631. begin
  56632. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56633. end;
  56634. procedure TPORTA_ODCA.setODCA10; inline;
  56635. begin
  56636. pTDefRegMap(@Self)^.&set := $00000400;
  56637. end;
  56638. procedure TPORTA_ODCA.clearODCA10; inline;
  56639. begin
  56640. pTDefRegMap(@Self)^.clr := $00000400;
  56641. end;
  56642. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  56643. begin
  56644. if thebits = 0 then
  56645. pTDefRegMap(@Self)^.clr := $00000400
  56646. else
  56647. pTDefRegMap(@Self)^.&set := $00000400;
  56648. end;
  56649. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  56650. begin
  56651. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56652. end;
  56653. procedure TPORTA_ODCA.setODCA14; inline;
  56654. begin
  56655. pTDefRegMap(@Self)^.&set := $00004000;
  56656. end;
  56657. procedure TPORTA_ODCA.clearODCA14; inline;
  56658. begin
  56659. pTDefRegMap(@Self)^.clr := $00004000;
  56660. end;
  56661. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  56662. begin
  56663. if thebits = 0 then
  56664. pTDefRegMap(@Self)^.clr := $00004000
  56665. else
  56666. pTDefRegMap(@Self)^.&set := $00004000;
  56667. end;
  56668. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  56669. begin
  56670. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56671. end;
  56672. procedure TPORTA_ODCA.setODCA15; inline;
  56673. begin
  56674. pTDefRegMap(@Self)^.&set := $00008000;
  56675. end;
  56676. procedure TPORTA_ODCA.clearODCA15; inline;
  56677. begin
  56678. pTDefRegMap(@Self)^.clr := $00008000;
  56679. end;
  56680. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  56681. begin
  56682. if thebits = 0 then
  56683. pTDefRegMap(@Self)^.clr := $00008000
  56684. else
  56685. pTDefRegMap(@Self)^.&set := $00008000;
  56686. end;
  56687. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  56688. begin
  56689. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56690. end;
  56691. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  56692. begin
  56693. pTDefRegMap(@Self)^.val := thebits;
  56694. end;
  56695. function TPORTA_ODCA.getw : TBits_32; inline;
  56696. begin
  56697. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56698. end;
  56699. procedure TPORTB_TRISB.setTRISB0; inline;
  56700. begin
  56701. pTDefRegMap(@Self)^.&set := $00000001;
  56702. end;
  56703. procedure TPORTB_TRISB.clearTRISB0; inline;
  56704. begin
  56705. pTDefRegMap(@Self)^.clr := $00000001;
  56706. end;
  56707. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  56708. begin
  56709. if thebits = 0 then
  56710. pTDefRegMap(@Self)^.clr := $00000001
  56711. else
  56712. pTDefRegMap(@Self)^.&set := $00000001;
  56713. end;
  56714. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  56715. begin
  56716. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56717. end;
  56718. procedure TPORTB_TRISB.setTRISB1; inline;
  56719. begin
  56720. pTDefRegMap(@Self)^.&set := $00000002;
  56721. end;
  56722. procedure TPORTB_TRISB.clearTRISB1; inline;
  56723. begin
  56724. pTDefRegMap(@Self)^.clr := $00000002;
  56725. end;
  56726. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  56727. begin
  56728. if thebits = 0 then
  56729. pTDefRegMap(@Self)^.clr := $00000002
  56730. else
  56731. pTDefRegMap(@Self)^.&set := $00000002;
  56732. end;
  56733. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  56734. begin
  56735. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56736. end;
  56737. procedure TPORTB_TRISB.setTRISB2; inline;
  56738. begin
  56739. pTDefRegMap(@Self)^.&set := $00000004;
  56740. end;
  56741. procedure TPORTB_TRISB.clearTRISB2; inline;
  56742. begin
  56743. pTDefRegMap(@Self)^.clr := $00000004;
  56744. end;
  56745. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  56746. begin
  56747. if thebits = 0 then
  56748. pTDefRegMap(@Self)^.clr := $00000004
  56749. else
  56750. pTDefRegMap(@Self)^.&set := $00000004;
  56751. end;
  56752. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  56753. begin
  56754. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56755. end;
  56756. procedure TPORTB_TRISB.setTRISB3; inline;
  56757. begin
  56758. pTDefRegMap(@Self)^.&set := $00000008;
  56759. end;
  56760. procedure TPORTB_TRISB.clearTRISB3; inline;
  56761. begin
  56762. pTDefRegMap(@Self)^.clr := $00000008;
  56763. end;
  56764. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  56765. begin
  56766. if thebits = 0 then
  56767. pTDefRegMap(@Self)^.clr := $00000008
  56768. else
  56769. pTDefRegMap(@Self)^.&set := $00000008;
  56770. end;
  56771. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  56772. begin
  56773. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56774. end;
  56775. procedure TPORTB_TRISB.setTRISB4; inline;
  56776. begin
  56777. pTDefRegMap(@Self)^.&set := $00000010;
  56778. end;
  56779. procedure TPORTB_TRISB.clearTRISB4; inline;
  56780. begin
  56781. pTDefRegMap(@Self)^.clr := $00000010;
  56782. end;
  56783. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  56784. begin
  56785. if thebits = 0 then
  56786. pTDefRegMap(@Self)^.clr := $00000010
  56787. else
  56788. pTDefRegMap(@Self)^.&set := $00000010;
  56789. end;
  56790. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  56791. begin
  56792. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56793. end;
  56794. procedure TPORTB_TRISB.setTRISB5; inline;
  56795. begin
  56796. pTDefRegMap(@Self)^.&set := $00000020;
  56797. end;
  56798. procedure TPORTB_TRISB.clearTRISB5; inline;
  56799. begin
  56800. pTDefRegMap(@Self)^.clr := $00000020;
  56801. end;
  56802. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  56803. begin
  56804. if thebits = 0 then
  56805. pTDefRegMap(@Self)^.clr := $00000020
  56806. else
  56807. pTDefRegMap(@Self)^.&set := $00000020;
  56808. end;
  56809. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  56810. begin
  56811. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56812. end;
  56813. procedure TPORTB_TRISB.setTRISB6; inline;
  56814. begin
  56815. pTDefRegMap(@Self)^.&set := $00000040;
  56816. end;
  56817. procedure TPORTB_TRISB.clearTRISB6; inline;
  56818. begin
  56819. pTDefRegMap(@Self)^.clr := $00000040;
  56820. end;
  56821. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  56822. begin
  56823. if thebits = 0 then
  56824. pTDefRegMap(@Self)^.clr := $00000040
  56825. else
  56826. pTDefRegMap(@Self)^.&set := $00000040;
  56827. end;
  56828. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  56829. begin
  56830. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56831. end;
  56832. procedure TPORTB_TRISB.setTRISB7; inline;
  56833. begin
  56834. pTDefRegMap(@Self)^.&set := $00000080;
  56835. end;
  56836. procedure TPORTB_TRISB.clearTRISB7; inline;
  56837. begin
  56838. pTDefRegMap(@Self)^.clr := $00000080;
  56839. end;
  56840. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  56841. begin
  56842. if thebits = 0 then
  56843. pTDefRegMap(@Self)^.clr := $00000080
  56844. else
  56845. pTDefRegMap(@Self)^.&set := $00000080;
  56846. end;
  56847. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  56848. begin
  56849. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56850. end;
  56851. procedure TPORTB_TRISB.setTRISB8; inline;
  56852. begin
  56853. pTDefRegMap(@Self)^.&set := $00000100;
  56854. end;
  56855. procedure TPORTB_TRISB.clearTRISB8; inline;
  56856. begin
  56857. pTDefRegMap(@Self)^.clr := $00000100;
  56858. end;
  56859. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  56860. begin
  56861. if thebits = 0 then
  56862. pTDefRegMap(@Self)^.clr := $00000100
  56863. else
  56864. pTDefRegMap(@Self)^.&set := $00000100;
  56865. end;
  56866. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  56867. begin
  56868. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56869. end;
  56870. procedure TPORTB_TRISB.setTRISB9; inline;
  56871. begin
  56872. pTDefRegMap(@Self)^.&set := $00000200;
  56873. end;
  56874. procedure TPORTB_TRISB.clearTRISB9; inline;
  56875. begin
  56876. pTDefRegMap(@Self)^.clr := $00000200;
  56877. end;
  56878. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  56879. begin
  56880. if thebits = 0 then
  56881. pTDefRegMap(@Self)^.clr := $00000200
  56882. else
  56883. pTDefRegMap(@Self)^.&set := $00000200;
  56884. end;
  56885. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  56886. begin
  56887. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56888. end;
  56889. procedure TPORTB_TRISB.setTRISB10; inline;
  56890. begin
  56891. pTDefRegMap(@Self)^.&set := $00000400;
  56892. end;
  56893. procedure TPORTB_TRISB.clearTRISB10; inline;
  56894. begin
  56895. pTDefRegMap(@Self)^.clr := $00000400;
  56896. end;
  56897. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  56898. begin
  56899. if thebits = 0 then
  56900. pTDefRegMap(@Self)^.clr := $00000400
  56901. else
  56902. pTDefRegMap(@Self)^.&set := $00000400;
  56903. end;
  56904. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  56905. begin
  56906. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56907. end;
  56908. procedure TPORTB_TRISB.setTRISB11; inline;
  56909. begin
  56910. pTDefRegMap(@Self)^.&set := $00000800;
  56911. end;
  56912. procedure TPORTB_TRISB.clearTRISB11; inline;
  56913. begin
  56914. pTDefRegMap(@Self)^.clr := $00000800;
  56915. end;
  56916. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  56917. begin
  56918. if thebits = 0 then
  56919. pTDefRegMap(@Self)^.clr := $00000800
  56920. else
  56921. pTDefRegMap(@Self)^.&set := $00000800;
  56922. end;
  56923. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  56924. begin
  56925. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56926. end;
  56927. procedure TPORTB_TRISB.setTRISB12; inline;
  56928. begin
  56929. pTDefRegMap(@Self)^.&set := $00001000;
  56930. end;
  56931. procedure TPORTB_TRISB.clearTRISB12; inline;
  56932. begin
  56933. pTDefRegMap(@Self)^.clr := $00001000;
  56934. end;
  56935. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  56936. begin
  56937. if thebits = 0 then
  56938. pTDefRegMap(@Self)^.clr := $00001000
  56939. else
  56940. pTDefRegMap(@Self)^.&set := $00001000;
  56941. end;
  56942. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  56943. begin
  56944. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56945. end;
  56946. procedure TPORTB_TRISB.setTRISB13; inline;
  56947. begin
  56948. pTDefRegMap(@Self)^.&set := $00002000;
  56949. end;
  56950. procedure TPORTB_TRISB.clearTRISB13; inline;
  56951. begin
  56952. pTDefRegMap(@Self)^.clr := $00002000;
  56953. end;
  56954. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  56955. begin
  56956. if thebits = 0 then
  56957. pTDefRegMap(@Self)^.clr := $00002000
  56958. else
  56959. pTDefRegMap(@Self)^.&set := $00002000;
  56960. end;
  56961. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  56962. begin
  56963. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56964. end;
  56965. procedure TPORTB_TRISB.setTRISB14; inline;
  56966. begin
  56967. pTDefRegMap(@Self)^.&set := $00004000;
  56968. end;
  56969. procedure TPORTB_TRISB.clearTRISB14; inline;
  56970. begin
  56971. pTDefRegMap(@Self)^.clr := $00004000;
  56972. end;
  56973. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  56974. begin
  56975. if thebits = 0 then
  56976. pTDefRegMap(@Self)^.clr := $00004000
  56977. else
  56978. pTDefRegMap(@Self)^.&set := $00004000;
  56979. end;
  56980. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  56981. begin
  56982. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56983. end;
  56984. procedure TPORTB_TRISB.setTRISB15; inline;
  56985. begin
  56986. pTDefRegMap(@Self)^.&set := $00008000;
  56987. end;
  56988. procedure TPORTB_TRISB.clearTRISB15; inline;
  56989. begin
  56990. pTDefRegMap(@Self)^.clr := $00008000;
  56991. end;
  56992. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  56993. begin
  56994. if thebits = 0 then
  56995. pTDefRegMap(@Self)^.clr := $00008000
  56996. else
  56997. pTDefRegMap(@Self)^.&set := $00008000;
  56998. end;
  56999. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  57000. begin
  57001. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57002. end;
  57003. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  57004. begin
  57005. pTDefRegMap(@Self)^.val := thebits;
  57006. end;
  57007. function TPORTB_TRISB.getw : TBits_32; inline;
  57008. begin
  57009. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57010. end;
  57011. procedure TPORTB_PORTB.setRB0; inline;
  57012. begin
  57013. pTDefRegMap(@Self)^.&set := $00000001;
  57014. end;
  57015. procedure TPORTB_PORTB.clearRB0; inline;
  57016. begin
  57017. pTDefRegMap(@Self)^.clr := $00000001;
  57018. end;
  57019. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  57020. begin
  57021. if thebits = 0 then
  57022. pTDefRegMap(@Self)^.clr := $00000001
  57023. else
  57024. pTDefRegMap(@Self)^.&set := $00000001;
  57025. end;
  57026. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  57027. begin
  57028. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57029. end;
  57030. procedure TPORTB_PORTB.setRB1; inline;
  57031. begin
  57032. pTDefRegMap(@Self)^.&set := $00000002;
  57033. end;
  57034. procedure TPORTB_PORTB.clearRB1; inline;
  57035. begin
  57036. pTDefRegMap(@Self)^.clr := $00000002;
  57037. end;
  57038. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  57039. begin
  57040. if thebits = 0 then
  57041. pTDefRegMap(@Self)^.clr := $00000002
  57042. else
  57043. pTDefRegMap(@Self)^.&set := $00000002;
  57044. end;
  57045. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  57046. begin
  57047. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57048. end;
  57049. procedure TPORTB_PORTB.setRB2; inline;
  57050. begin
  57051. pTDefRegMap(@Self)^.&set := $00000004;
  57052. end;
  57053. procedure TPORTB_PORTB.clearRB2; inline;
  57054. begin
  57055. pTDefRegMap(@Self)^.clr := $00000004;
  57056. end;
  57057. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  57058. begin
  57059. if thebits = 0 then
  57060. pTDefRegMap(@Self)^.clr := $00000004
  57061. else
  57062. pTDefRegMap(@Self)^.&set := $00000004;
  57063. end;
  57064. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  57065. begin
  57066. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57067. end;
  57068. procedure TPORTB_PORTB.setRB3; inline;
  57069. begin
  57070. pTDefRegMap(@Self)^.&set := $00000008;
  57071. end;
  57072. procedure TPORTB_PORTB.clearRB3; inline;
  57073. begin
  57074. pTDefRegMap(@Self)^.clr := $00000008;
  57075. end;
  57076. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  57077. begin
  57078. if thebits = 0 then
  57079. pTDefRegMap(@Self)^.clr := $00000008
  57080. else
  57081. pTDefRegMap(@Self)^.&set := $00000008;
  57082. end;
  57083. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  57084. begin
  57085. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57086. end;
  57087. procedure TPORTB_PORTB.setRB4; inline;
  57088. begin
  57089. pTDefRegMap(@Self)^.&set := $00000010;
  57090. end;
  57091. procedure TPORTB_PORTB.clearRB4; inline;
  57092. begin
  57093. pTDefRegMap(@Self)^.clr := $00000010;
  57094. end;
  57095. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  57096. begin
  57097. if thebits = 0 then
  57098. pTDefRegMap(@Self)^.clr := $00000010
  57099. else
  57100. pTDefRegMap(@Self)^.&set := $00000010;
  57101. end;
  57102. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  57103. begin
  57104. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57105. end;
  57106. procedure TPORTB_PORTB.setRB5; inline;
  57107. begin
  57108. pTDefRegMap(@Self)^.&set := $00000020;
  57109. end;
  57110. procedure TPORTB_PORTB.clearRB5; inline;
  57111. begin
  57112. pTDefRegMap(@Self)^.clr := $00000020;
  57113. end;
  57114. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  57115. begin
  57116. if thebits = 0 then
  57117. pTDefRegMap(@Self)^.clr := $00000020
  57118. else
  57119. pTDefRegMap(@Self)^.&set := $00000020;
  57120. end;
  57121. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  57122. begin
  57123. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57124. end;
  57125. procedure TPORTB_PORTB.setRB6; inline;
  57126. begin
  57127. pTDefRegMap(@Self)^.&set := $00000040;
  57128. end;
  57129. procedure TPORTB_PORTB.clearRB6; inline;
  57130. begin
  57131. pTDefRegMap(@Self)^.clr := $00000040;
  57132. end;
  57133. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  57134. begin
  57135. if thebits = 0 then
  57136. pTDefRegMap(@Self)^.clr := $00000040
  57137. else
  57138. pTDefRegMap(@Self)^.&set := $00000040;
  57139. end;
  57140. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  57141. begin
  57142. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57143. end;
  57144. procedure TPORTB_PORTB.setRB7; inline;
  57145. begin
  57146. pTDefRegMap(@Self)^.&set := $00000080;
  57147. end;
  57148. procedure TPORTB_PORTB.clearRB7; inline;
  57149. begin
  57150. pTDefRegMap(@Self)^.clr := $00000080;
  57151. end;
  57152. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  57153. begin
  57154. if thebits = 0 then
  57155. pTDefRegMap(@Self)^.clr := $00000080
  57156. else
  57157. pTDefRegMap(@Self)^.&set := $00000080;
  57158. end;
  57159. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  57160. begin
  57161. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57162. end;
  57163. procedure TPORTB_PORTB.setRB8; inline;
  57164. begin
  57165. pTDefRegMap(@Self)^.&set := $00000100;
  57166. end;
  57167. procedure TPORTB_PORTB.clearRB8; inline;
  57168. begin
  57169. pTDefRegMap(@Self)^.clr := $00000100;
  57170. end;
  57171. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  57172. begin
  57173. if thebits = 0 then
  57174. pTDefRegMap(@Self)^.clr := $00000100
  57175. else
  57176. pTDefRegMap(@Self)^.&set := $00000100;
  57177. end;
  57178. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  57179. begin
  57180. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57181. end;
  57182. procedure TPORTB_PORTB.setRB9; inline;
  57183. begin
  57184. pTDefRegMap(@Self)^.&set := $00000200;
  57185. end;
  57186. procedure TPORTB_PORTB.clearRB9; inline;
  57187. begin
  57188. pTDefRegMap(@Self)^.clr := $00000200;
  57189. end;
  57190. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  57191. begin
  57192. if thebits = 0 then
  57193. pTDefRegMap(@Self)^.clr := $00000200
  57194. else
  57195. pTDefRegMap(@Self)^.&set := $00000200;
  57196. end;
  57197. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  57198. begin
  57199. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57200. end;
  57201. procedure TPORTB_PORTB.setRB10; inline;
  57202. begin
  57203. pTDefRegMap(@Self)^.&set := $00000400;
  57204. end;
  57205. procedure TPORTB_PORTB.clearRB10; inline;
  57206. begin
  57207. pTDefRegMap(@Self)^.clr := $00000400;
  57208. end;
  57209. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  57210. begin
  57211. if thebits = 0 then
  57212. pTDefRegMap(@Self)^.clr := $00000400
  57213. else
  57214. pTDefRegMap(@Self)^.&set := $00000400;
  57215. end;
  57216. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  57217. begin
  57218. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57219. end;
  57220. procedure TPORTB_PORTB.setRB11; inline;
  57221. begin
  57222. pTDefRegMap(@Self)^.&set := $00000800;
  57223. end;
  57224. procedure TPORTB_PORTB.clearRB11; inline;
  57225. begin
  57226. pTDefRegMap(@Self)^.clr := $00000800;
  57227. end;
  57228. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  57229. begin
  57230. if thebits = 0 then
  57231. pTDefRegMap(@Self)^.clr := $00000800
  57232. else
  57233. pTDefRegMap(@Self)^.&set := $00000800;
  57234. end;
  57235. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  57236. begin
  57237. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  57238. end;
  57239. procedure TPORTB_PORTB.setRB12; inline;
  57240. begin
  57241. pTDefRegMap(@Self)^.&set := $00001000;
  57242. end;
  57243. procedure TPORTB_PORTB.clearRB12; inline;
  57244. begin
  57245. pTDefRegMap(@Self)^.clr := $00001000;
  57246. end;
  57247. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  57248. begin
  57249. if thebits = 0 then
  57250. pTDefRegMap(@Self)^.clr := $00001000
  57251. else
  57252. pTDefRegMap(@Self)^.&set := $00001000;
  57253. end;
  57254. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  57255. begin
  57256. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57257. end;
  57258. procedure TPORTB_PORTB.setRB13; inline;
  57259. begin
  57260. pTDefRegMap(@Self)^.&set := $00002000;
  57261. end;
  57262. procedure TPORTB_PORTB.clearRB13; inline;
  57263. begin
  57264. pTDefRegMap(@Self)^.clr := $00002000;
  57265. end;
  57266. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  57267. begin
  57268. if thebits = 0 then
  57269. pTDefRegMap(@Self)^.clr := $00002000
  57270. else
  57271. pTDefRegMap(@Self)^.&set := $00002000;
  57272. end;
  57273. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  57274. begin
  57275. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57276. end;
  57277. procedure TPORTB_PORTB.setRB14; inline;
  57278. begin
  57279. pTDefRegMap(@Self)^.&set := $00004000;
  57280. end;
  57281. procedure TPORTB_PORTB.clearRB14; inline;
  57282. begin
  57283. pTDefRegMap(@Self)^.clr := $00004000;
  57284. end;
  57285. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  57286. begin
  57287. if thebits = 0 then
  57288. pTDefRegMap(@Self)^.clr := $00004000
  57289. else
  57290. pTDefRegMap(@Self)^.&set := $00004000;
  57291. end;
  57292. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  57293. begin
  57294. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  57295. end;
  57296. procedure TPORTB_PORTB.setRB15; inline;
  57297. begin
  57298. pTDefRegMap(@Self)^.&set := $00008000;
  57299. end;
  57300. procedure TPORTB_PORTB.clearRB15; inline;
  57301. begin
  57302. pTDefRegMap(@Self)^.clr := $00008000;
  57303. end;
  57304. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  57305. begin
  57306. if thebits = 0 then
  57307. pTDefRegMap(@Self)^.clr := $00008000
  57308. else
  57309. pTDefRegMap(@Self)^.&set := $00008000;
  57310. end;
  57311. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  57312. begin
  57313. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57314. end;
  57315. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  57316. begin
  57317. pTDefRegMap(@Self)^.val := thebits;
  57318. end;
  57319. function TPORTB_PORTB.getw : TBits_32; inline;
  57320. begin
  57321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57322. end;
  57323. procedure TPORTB_LATB.setLATB0; inline;
  57324. begin
  57325. pTDefRegMap(@Self)^.&set := $00000001;
  57326. end;
  57327. procedure TPORTB_LATB.clearLATB0; inline;
  57328. begin
  57329. pTDefRegMap(@Self)^.clr := $00000001;
  57330. end;
  57331. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  57332. begin
  57333. if thebits = 0 then
  57334. pTDefRegMap(@Self)^.clr := $00000001
  57335. else
  57336. pTDefRegMap(@Self)^.&set := $00000001;
  57337. end;
  57338. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  57339. begin
  57340. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57341. end;
  57342. procedure TPORTB_LATB.setLATB1; inline;
  57343. begin
  57344. pTDefRegMap(@Self)^.&set := $00000002;
  57345. end;
  57346. procedure TPORTB_LATB.clearLATB1; inline;
  57347. begin
  57348. pTDefRegMap(@Self)^.clr := $00000002;
  57349. end;
  57350. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  57351. begin
  57352. if thebits = 0 then
  57353. pTDefRegMap(@Self)^.clr := $00000002
  57354. else
  57355. pTDefRegMap(@Self)^.&set := $00000002;
  57356. end;
  57357. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  57358. begin
  57359. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57360. end;
  57361. procedure TPORTB_LATB.setLATB2; inline;
  57362. begin
  57363. pTDefRegMap(@Self)^.&set := $00000004;
  57364. end;
  57365. procedure TPORTB_LATB.clearLATB2; inline;
  57366. begin
  57367. pTDefRegMap(@Self)^.clr := $00000004;
  57368. end;
  57369. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  57370. begin
  57371. if thebits = 0 then
  57372. pTDefRegMap(@Self)^.clr := $00000004
  57373. else
  57374. pTDefRegMap(@Self)^.&set := $00000004;
  57375. end;
  57376. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  57377. begin
  57378. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57379. end;
  57380. procedure TPORTB_LATB.setLATB3; inline;
  57381. begin
  57382. pTDefRegMap(@Self)^.&set := $00000008;
  57383. end;
  57384. procedure TPORTB_LATB.clearLATB3; inline;
  57385. begin
  57386. pTDefRegMap(@Self)^.clr := $00000008;
  57387. end;
  57388. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  57389. begin
  57390. if thebits = 0 then
  57391. pTDefRegMap(@Self)^.clr := $00000008
  57392. else
  57393. pTDefRegMap(@Self)^.&set := $00000008;
  57394. end;
  57395. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  57396. begin
  57397. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57398. end;
  57399. procedure TPORTB_LATB.setLATB4; inline;
  57400. begin
  57401. pTDefRegMap(@Self)^.&set := $00000010;
  57402. end;
  57403. procedure TPORTB_LATB.clearLATB4; inline;
  57404. begin
  57405. pTDefRegMap(@Self)^.clr := $00000010;
  57406. end;
  57407. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  57408. begin
  57409. if thebits = 0 then
  57410. pTDefRegMap(@Self)^.clr := $00000010
  57411. else
  57412. pTDefRegMap(@Self)^.&set := $00000010;
  57413. end;
  57414. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  57415. begin
  57416. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57417. end;
  57418. procedure TPORTB_LATB.setLATB5; inline;
  57419. begin
  57420. pTDefRegMap(@Self)^.&set := $00000020;
  57421. end;
  57422. procedure TPORTB_LATB.clearLATB5; inline;
  57423. begin
  57424. pTDefRegMap(@Self)^.clr := $00000020;
  57425. end;
  57426. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  57427. begin
  57428. if thebits = 0 then
  57429. pTDefRegMap(@Self)^.clr := $00000020
  57430. else
  57431. pTDefRegMap(@Self)^.&set := $00000020;
  57432. end;
  57433. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  57434. begin
  57435. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57436. end;
  57437. procedure TPORTB_LATB.setLATB6; inline;
  57438. begin
  57439. pTDefRegMap(@Self)^.&set := $00000040;
  57440. end;
  57441. procedure TPORTB_LATB.clearLATB6; inline;
  57442. begin
  57443. pTDefRegMap(@Self)^.clr := $00000040;
  57444. end;
  57445. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  57446. begin
  57447. if thebits = 0 then
  57448. pTDefRegMap(@Self)^.clr := $00000040
  57449. else
  57450. pTDefRegMap(@Self)^.&set := $00000040;
  57451. end;
  57452. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  57453. begin
  57454. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57455. end;
  57456. procedure TPORTB_LATB.setLATB7; inline;
  57457. begin
  57458. pTDefRegMap(@Self)^.&set := $00000080;
  57459. end;
  57460. procedure TPORTB_LATB.clearLATB7; inline;
  57461. begin
  57462. pTDefRegMap(@Self)^.clr := $00000080;
  57463. end;
  57464. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  57465. begin
  57466. if thebits = 0 then
  57467. pTDefRegMap(@Self)^.clr := $00000080
  57468. else
  57469. pTDefRegMap(@Self)^.&set := $00000080;
  57470. end;
  57471. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  57472. begin
  57473. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57474. end;
  57475. procedure TPORTB_LATB.setLATB8; inline;
  57476. begin
  57477. pTDefRegMap(@Self)^.&set := $00000100;
  57478. end;
  57479. procedure TPORTB_LATB.clearLATB8; inline;
  57480. begin
  57481. pTDefRegMap(@Self)^.clr := $00000100;
  57482. end;
  57483. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  57484. begin
  57485. if thebits = 0 then
  57486. pTDefRegMap(@Self)^.clr := $00000100
  57487. else
  57488. pTDefRegMap(@Self)^.&set := $00000100;
  57489. end;
  57490. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  57491. begin
  57492. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57493. end;
  57494. procedure TPORTB_LATB.setLATB9; inline;
  57495. begin
  57496. pTDefRegMap(@Self)^.&set := $00000200;
  57497. end;
  57498. procedure TPORTB_LATB.clearLATB9; inline;
  57499. begin
  57500. pTDefRegMap(@Self)^.clr := $00000200;
  57501. end;
  57502. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  57503. begin
  57504. if thebits = 0 then
  57505. pTDefRegMap(@Self)^.clr := $00000200
  57506. else
  57507. pTDefRegMap(@Self)^.&set := $00000200;
  57508. end;
  57509. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  57510. begin
  57511. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57512. end;
  57513. procedure TPORTB_LATB.setLATB10; inline;
  57514. begin
  57515. pTDefRegMap(@Self)^.&set := $00000400;
  57516. end;
  57517. procedure TPORTB_LATB.clearLATB10; inline;
  57518. begin
  57519. pTDefRegMap(@Self)^.clr := $00000400;
  57520. end;
  57521. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  57522. begin
  57523. if thebits = 0 then
  57524. pTDefRegMap(@Self)^.clr := $00000400
  57525. else
  57526. pTDefRegMap(@Self)^.&set := $00000400;
  57527. end;
  57528. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  57529. begin
  57530. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57531. end;
  57532. procedure TPORTB_LATB.setLATB11; inline;
  57533. begin
  57534. pTDefRegMap(@Self)^.&set := $00000800;
  57535. end;
  57536. procedure TPORTB_LATB.clearLATB11; inline;
  57537. begin
  57538. pTDefRegMap(@Self)^.clr := $00000800;
  57539. end;
  57540. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  57541. begin
  57542. if thebits = 0 then
  57543. pTDefRegMap(@Self)^.clr := $00000800
  57544. else
  57545. pTDefRegMap(@Self)^.&set := $00000800;
  57546. end;
  57547. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  57548. begin
  57549. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  57550. end;
  57551. procedure TPORTB_LATB.setLATB12; inline;
  57552. begin
  57553. pTDefRegMap(@Self)^.&set := $00001000;
  57554. end;
  57555. procedure TPORTB_LATB.clearLATB12; inline;
  57556. begin
  57557. pTDefRegMap(@Self)^.clr := $00001000;
  57558. end;
  57559. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  57560. begin
  57561. if thebits = 0 then
  57562. pTDefRegMap(@Self)^.clr := $00001000
  57563. else
  57564. pTDefRegMap(@Self)^.&set := $00001000;
  57565. end;
  57566. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  57567. begin
  57568. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57569. end;
  57570. procedure TPORTB_LATB.setLATB13; inline;
  57571. begin
  57572. pTDefRegMap(@Self)^.&set := $00002000;
  57573. end;
  57574. procedure TPORTB_LATB.clearLATB13; inline;
  57575. begin
  57576. pTDefRegMap(@Self)^.clr := $00002000;
  57577. end;
  57578. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  57579. begin
  57580. if thebits = 0 then
  57581. pTDefRegMap(@Self)^.clr := $00002000
  57582. else
  57583. pTDefRegMap(@Self)^.&set := $00002000;
  57584. end;
  57585. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  57586. begin
  57587. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57588. end;
  57589. procedure TPORTB_LATB.setLATB14; inline;
  57590. begin
  57591. pTDefRegMap(@Self)^.&set := $00004000;
  57592. end;
  57593. procedure TPORTB_LATB.clearLATB14; inline;
  57594. begin
  57595. pTDefRegMap(@Self)^.clr := $00004000;
  57596. end;
  57597. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  57598. begin
  57599. if thebits = 0 then
  57600. pTDefRegMap(@Self)^.clr := $00004000
  57601. else
  57602. pTDefRegMap(@Self)^.&set := $00004000;
  57603. end;
  57604. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  57605. begin
  57606. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  57607. end;
  57608. procedure TPORTB_LATB.setLATB15; inline;
  57609. begin
  57610. pTDefRegMap(@Self)^.&set := $00008000;
  57611. end;
  57612. procedure TPORTB_LATB.clearLATB15; inline;
  57613. begin
  57614. pTDefRegMap(@Self)^.clr := $00008000;
  57615. end;
  57616. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  57617. begin
  57618. if thebits = 0 then
  57619. pTDefRegMap(@Self)^.clr := $00008000
  57620. else
  57621. pTDefRegMap(@Self)^.&set := $00008000;
  57622. end;
  57623. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  57624. begin
  57625. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57626. end;
  57627. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  57628. begin
  57629. pTDefRegMap(@Self)^.val := thebits;
  57630. end;
  57631. function TPORTB_LATB.getw : TBits_32; inline;
  57632. begin
  57633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57634. end;
  57635. procedure TPORTB_ODCB.setODCB0; inline;
  57636. begin
  57637. pTDefRegMap(@Self)^.&set := $00000001;
  57638. end;
  57639. procedure TPORTB_ODCB.clearODCB0; inline;
  57640. begin
  57641. pTDefRegMap(@Self)^.clr := $00000001;
  57642. end;
  57643. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  57644. begin
  57645. if thebits = 0 then
  57646. pTDefRegMap(@Self)^.clr := $00000001
  57647. else
  57648. pTDefRegMap(@Self)^.&set := $00000001;
  57649. end;
  57650. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  57651. begin
  57652. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57653. end;
  57654. procedure TPORTB_ODCB.setODCB1; inline;
  57655. begin
  57656. pTDefRegMap(@Self)^.&set := $00000002;
  57657. end;
  57658. procedure TPORTB_ODCB.clearODCB1; inline;
  57659. begin
  57660. pTDefRegMap(@Self)^.clr := $00000002;
  57661. end;
  57662. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  57663. begin
  57664. if thebits = 0 then
  57665. pTDefRegMap(@Self)^.clr := $00000002
  57666. else
  57667. pTDefRegMap(@Self)^.&set := $00000002;
  57668. end;
  57669. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  57670. begin
  57671. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57672. end;
  57673. procedure TPORTB_ODCB.setODCB2; inline;
  57674. begin
  57675. pTDefRegMap(@Self)^.&set := $00000004;
  57676. end;
  57677. procedure TPORTB_ODCB.clearODCB2; inline;
  57678. begin
  57679. pTDefRegMap(@Self)^.clr := $00000004;
  57680. end;
  57681. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  57682. begin
  57683. if thebits = 0 then
  57684. pTDefRegMap(@Self)^.clr := $00000004
  57685. else
  57686. pTDefRegMap(@Self)^.&set := $00000004;
  57687. end;
  57688. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  57689. begin
  57690. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57691. end;
  57692. procedure TPORTB_ODCB.setODCB3; inline;
  57693. begin
  57694. pTDefRegMap(@Self)^.&set := $00000008;
  57695. end;
  57696. procedure TPORTB_ODCB.clearODCB3; inline;
  57697. begin
  57698. pTDefRegMap(@Self)^.clr := $00000008;
  57699. end;
  57700. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  57701. begin
  57702. if thebits = 0 then
  57703. pTDefRegMap(@Self)^.clr := $00000008
  57704. else
  57705. pTDefRegMap(@Self)^.&set := $00000008;
  57706. end;
  57707. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  57708. begin
  57709. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57710. end;
  57711. procedure TPORTB_ODCB.setODCB4; inline;
  57712. begin
  57713. pTDefRegMap(@Self)^.&set := $00000010;
  57714. end;
  57715. procedure TPORTB_ODCB.clearODCB4; inline;
  57716. begin
  57717. pTDefRegMap(@Self)^.clr := $00000010;
  57718. end;
  57719. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  57720. begin
  57721. if thebits = 0 then
  57722. pTDefRegMap(@Self)^.clr := $00000010
  57723. else
  57724. pTDefRegMap(@Self)^.&set := $00000010;
  57725. end;
  57726. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  57727. begin
  57728. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57729. end;
  57730. procedure TPORTB_ODCB.setODCB5; inline;
  57731. begin
  57732. pTDefRegMap(@Self)^.&set := $00000020;
  57733. end;
  57734. procedure TPORTB_ODCB.clearODCB5; inline;
  57735. begin
  57736. pTDefRegMap(@Self)^.clr := $00000020;
  57737. end;
  57738. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  57739. begin
  57740. if thebits = 0 then
  57741. pTDefRegMap(@Self)^.clr := $00000020
  57742. else
  57743. pTDefRegMap(@Self)^.&set := $00000020;
  57744. end;
  57745. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  57746. begin
  57747. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57748. end;
  57749. procedure TPORTB_ODCB.setODCB6; inline;
  57750. begin
  57751. pTDefRegMap(@Self)^.&set := $00000040;
  57752. end;
  57753. procedure TPORTB_ODCB.clearODCB6; inline;
  57754. begin
  57755. pTDefRegMap(@Self)^.clr := $00000040;
  57756. end;
  57757. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  57758. begin
  57759. if thebits = 0 then
  57760. pTDefRegMap(@Self)^.clr := $00000040
  57761. else
  57762. pTDefRegMap(@Self)^.&set := $00000040;
  57763. end;
  57764. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  57765. begin
  57766. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57767. end;
  57768. procedure TPORTB_ODCB.setODCB7; inline;
  57769. begin
  57770. pTDefRegMap(@Self)^.&set := $00000080;
  57771. end;
  57772. procedure TPORTB_ODCB.clearODCB7; inline;
  57773. begin
  57774. pTDefRegMap(@Self)^.clr := $00000080;
  57775. end;
  57776. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  57777. begin
  57778. if thebits = 0 then
  57779. pTDefRegMap(@Self)^.clr := $00000080
  57780. else
  57781. pTDefRegMap(@Self)^.&set := $00000080;
  57782. end;
  57783. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  57784. begin
  57785. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57786. end;
  57787. procedure TPORTB_ODCB.setODCB8; inline;
  57788. begin
  57789. pTDefRegMap(@Self)^.&set := $00000100;
  57790. end;
  57791. procedure TPORTB_ODCB.clearODCB8; inline;
  57792. begin
  57793. pTDefRegMap(@Self)^.clr := $00000100;
  57794. end;
  57795. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  57796. begin
  57797. if thebits = 0 then
  57798. pTDefRegMap(@Self)^.clr := $00000100
  57799. else
  57800. pTDefRegMap(@Self)^.&set := $00000100;
  57801. end;
  57802. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  57803. begin
  57804. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57805. end;
  57806. procedure TPORTB_ODCB.setODCB9; inline;
  57807. begin
  57808. pTDefRegMap(@Self)^.&set := $00000200;
  57809. end;
  57810. procedure TPORTB_ODCB.clearODCB9; inline;
  57811. begin
  57812. pTDefRegMap(@Self)^.clr := $00000200;
  57813. end;
  57814. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  57815. begin
  57816. if thebits = 0 then
  57817. pTDefRegMap(@Self)^.clr := $00000200
  57818. else
  57819. pTDefRegMap(@Self)^.&set := $00000200;
  57820. end;
  57821. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  57822. begin
  57823. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57824. end;
  57825. procedure TPORTB_ODCB.setODCB10; inline;
  57826. begin
  57827. pTDefRegMap(@Self)^.&set := $00000400;
  57828. end;
  57829. procedure TPORTB_ODCB.clearODCB10; inline;
  57830. begin
  57831. pTDefRegMap(@Self)^.clr := $00000400;
  57832. end;
  57833. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  57834. begin
  57835. if thebits = 0 then
  57836. pTDefRegMap(@Self)^.clr := $00000400
  57837. else
  57838. pTDefRegMap(@Self)^.&set := $00000400;
  57839. end;
  57840. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  57841. begin
  57842. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57843. end;
  57844. procedure TPORTB_ODCB.setODCB11; inline;
  57845. begin
  57846. pTDefRegMap(@Self)^.&set := $00000800;
  57847. end;
  57848. procedure TPORTB_ODCB.clearODCB11; inline;
  57849. begin
  57850. pTDefRegMap(@Self)^.clr := $00000800;
  57851. end;
  57852. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  57853. begin
  57854. if thebits = 0 then
  57855. pTDefRegMap(@Self)^.clr := $00000800
  57856. else
  57857. pTDefRegMap(@Self)^.&set := $00000800;
  57858. end;
  57859. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  57860. begin
  57861. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  57862. end;
  57863. procedure TPORTB_ODCB.setODCB12; inline;
  57864. begin
  57865. pTDefRegMap(@Self)^.&set := $00001000;
  57866. end;
  57867. procedure TPORTB_ODCB.clearODCB12; inline;
  57868. begin
  57869. pTDefRegMap(@Self)^.clr := $00001000;
  57870. end;
  57871. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  57872. begin
  57873. if thebits = 0 then
  57874. pTDefRegMap(@Self)^.clr := $00001000
  57875. else
  57876. pTDefRegMap(@Self)^.&set := $00001000;
  57877. end;
  57878. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  57879. begin
  57880. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57881. end;
  57882. procedure TPORTB_ODCB.setODCB13; inline;
  57883. begin
  57884. pTDefRegMap(@Self)^.&set := $00002000;
  57885. end;
  57886. procedure TPORTB_ODCB.clearODCB13; inline;
  57887. begin
  57888. pTDefRegMap(@Self)^.clr := $00002000;
  57889. end;
  57890. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  57891. begin
  57892. if thebits = 0 then
  57893. pTDefRegMap(@Self)^.clr := $00002000
  57894. else
  57895. pTDefRegMap(@Self)^.&set := $00002000;
  57896. end;
  57897. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  57898. begin
  57899. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57900. end;
  57901. procedure TPORTB_ODCB.setODCB14; inline;
  57902. begin
  57903. pTDefRegMap(@Self)^.&set := $00004000;
  57904. end;
  57905. procedure TPORTB_ODCB.clearODCB14; inline;
  57906. begin
  57907. pTDefRegMap(@Self)^.clr := $00004000;
  57908. end;
  57909. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  57910. begin
  57911. if thebits = 0 then
  57912. pTDefRegMap(@Self)^.clr := $00004000
  57913. else
  57914. pTDefRegMap(@Self)^.&set := $00004000;
  57915. end;
  57916. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  57917. begin
  57918. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  57919. end;
  57920. procedure TPORTB_ODCB.setODCB15; inline;
  57921. begin
  57922. pTDefRegMap(@Self)^.&set := $00008000;
  57923. end;
  57924. procedure TPORTB_ODCB.clearODCB15; inline;
  57925. begin
  57926. pTDefRegMap(@Self)^.clr := $00008000;
  57927. end;
  57928. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  57929. begin
  57930. if thebits = 0 then
  57931. pTDefRegMap(@Self)^.clr := $00008000
  57932. else
  57933. pTDefRegMap(@Self)^.&set := $00008000;
  57934. end;
  57935. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  57936. begin
  57937. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57938. end;
  57939. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  57940. begin
  57941. pTDefRegMap(@Self)^.val := thebits;
  57942. end;
  57943. function TPORTB_ODCB.getw : TBits_32; inline;
  57944. begin
  57945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57946. end;
  57947. procedure TPORTC_TRISC.setTRISC1; inline;
  57948. begin
  57949. pTDefRegMap(@Self)^.&set := $00000002;
  57950. end;
  57951. procedure TPORTC_TRISC.clearTRISC1; inline;
  57952. begin
  57953. pTDefRegMap(@Self)^.clr := $00000002;
  57954. end;
  57955. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  57956. begin
  57957. if thebits = 0 then
  57958. pTDefRegMap(@Self)^.clr := $00000002
  57959. else
  57960. pTDefRegMap(@Self)^.&set := $00000002;
  57961. end;
  57962. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  57963. begin
  57964. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57965. end;
  57966. procedure TPORTC_TRISC.setTRISC2; inline;
  57967. begin
  57968. pTDefRegMap(@Self)^.&set := $00000004;
  57969. end;
  57970. procedure TPORTC_TRISC.clearTRISC2; inline;
  57971. begin
  57972. pTDefRegMap(@Self)^.clr := $00000004;
  57973. end;
  57974. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  57975. begin
  57976. if thebits = 0 then
  57977. pTDefRegMap(@Self)^.clr := $00000004
  57978. else
  57979. pTDefRegMap(@Self)^.&set := $00000004;
  57980. end;
  57981. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  57982. begin
  57983. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57984. end;
  57985. procedure TPORTC_TRISC.setTRISC3; inline;
  57986. begin
  57987. pTDefRegMap(@Self)^.&set := $00000008;
  57988. end;
  57989. procedure TPORTC_TRISC.clearTRISC3; inline;
  57990. begin
  57991. pTDefRegMap(@Self)^.clr := $00000008;
  57992. end;
  57993. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  57994. begin
  57995. if thebits = 0 then
  57996. pTDefRegMap(@Self)^.clr := $00000008
  57997. else
  57998. pTDefRegMap(@Self)^.&set := $00000008;
  57999. end;
  58000. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  58001. begin
  58002. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58003. end;
  58004. procedure TPORTC_TRISC.setTRISC4; inline;
  58005. begin
  58006. pTDefRegMap(@Self)^.&set := $00000010;
  58007. end;
  58008. procedure TPORTC_TRISC.clearTRISC4; inline;
  58009. begin
  58010. pTDefRegMap(@Self)^.clr := $00000010;
  58011. end;
  58012. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  58013. begin
  58014. if thebits = 0 then
  58015. pTDefRegMap(@Self)^.clr := $00000010
  58016. else
  58017. pTDefRegMap(@Self)^.&set := $00000010;
  58018. end;
  58019. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  58020. begin
  58021. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58022. end;
  58023. procedure TPORTC_TRISC.setTRISC12; inline;
  58024. begin
  58025. pTDefRegMap(@Self)^.&set := $00001000;
  58026. end;
  58027. procedure TPORTC_TRISC.clearTRISC12; inline;
  58028. begin
  58029. pTDefRegMap(@Self)^.clr := $00001000;
  58030. end;
  58031. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  58032. begin
  58033. if thebits = 0 then
  58034. pTDefRegMap(@Self)^.clr := $00001000
  58035. else
  58036. pTDefRegMap(@Self)^.&set := $00001000;
  58037. end;
  58038. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  58039. begin
  58040. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58041. end;
  58042. procedure TPORTC_TRISC.setTRISC13; inline;
  58043. begin
  58044. pTDefRegMap(@Self)^.&set := $00002000;
  58045. end;
  58046. procedure TPORTC_TRISC.clearTRISC13; inline;
  58047. begin
  58048. pTDefRegMap(@Self)^.clr := $00002000;
  58049. end;
  58050. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  58051. begin
  58052. if thebits = 0 then
  58053. pTDefRegMap(@Self)^.clr := $00002000
  58054. else
  58055. pTDefRegMap(@Self)^.&set := $00002000;
  58056. end;
  58057. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  58058. begin
  58059. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58060. end;
  58061. procedure TPORTC_TRISC.setTRISC14; inline;
  58062. begin
  58063. pTDefRegMap(@Self)^.&set := $00004000;
  58064. end;
  58065. procedure TPORTC_TRISC.clearTRISC14; inline;
  58066. begin
  58067. pTDefRegMap(@Self)^.clr := $00004000;
  58068. end;
  58069. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  58070. begin
  58071. if thebits = 0 then
  58072. pTDefRegMap(@Self)^.clr := $00004000
  58073. else
  58074. pTDefRegMap(@Self)^.&set := $00004000;
  58075. end;
  58076. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  58077. begin
  58078. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58079. end;
  58080. procedure TPORTC_TRISC.setTRISC15; inline;
  58081. begin
  58082. pTDefRegMap(@Self)^.&set := $00008000;
  58083. end;
  58084. procedure TPORTC_TRISC.clearTRISC15; inline;
  58085. begin
  58086. pTDefRegMap(@Self)^.clr := $00008000;
  58087. end;
  58088. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  58089. begin
  58090. if thebits = 0 then
  58091. pTDefRegMap(@Self)^.clr := $00008000
  58092. else
  58093. pTDefRegMap(@Self)^.&set := $00008000;
  58094. end;
  58095. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  58096. begin
  58097. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58098. end;
  58099. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  58100. begin
  58101. pTDefRegMap(@Self)^.val := thebits;
  58102. end;
  58103. function TPORTC_TRISC.getw : TBits_32; inline;
  58104. begin
  58105. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58106. end;
  58107. procedure TPORTC_PORTC.setRC1; inline;
  58108. begin
  58109. pTDefRegMap(@Self)^.&set := $00000002;
  58110. end;
  58111. procedure TPORTC_PORTC.clearRC1; inline;
  58112. begin
  58113. pTDefRegMap(@Self)^.clr := $00000002;
  58114. end;
  58115. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  58116. begin
  58117. if thebits = 0 then
  58118. pTDefRegMap(@Self)^.clr := $00000002
  58119. else
  58120. pTDefRegMap(@Self)^.&set := $00000002;
  58121. end;
  58122. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  58123. begin
  58124. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58125. end;
  58126. procedure TPORTC_PORTC.setRC2; inline;
  58127. begin
  58128. pTDefRegMap(@Self)^.&set := $00000004;
  58129. end;
  58130. procedure TPORTC_PORTC.clearRC2; inline;
  58131. begin
  58132. pTDefRegMap(@Self)^.clr := $00000004;
  58133. end;
  58134. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  58135. begin
  58136. if thebits = 0 then
  58137. pTDefRegMap(@Self)^.clr := $00000004
  58138. else
  58139. pTDefRegMap(@Self)^.&set := $00000004;
  58140. end;
  58141. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  58142. begin
  58143. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58144. end;
  58145. procedure TPORTC_PORTC.setRC3; inline;
  58146. begin
  58147. pTDefRegMap(@Self)^.&set := $00000008;
  58148. end;
  58149. procedure TPORTC_PORTC.clearRC3; inline;
  58150. begin
  58151. pTDefRegMap(@Self)^.clr := $00000008;
  58152. end;
  58153. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  58154. begin
  58155. if thebits = 0 then
  58156. pTDefRegMap(@Self)^.clr := $00000008
  58157. else
  58158. pTDefRegMap(@Self)^.&set := $00000008;
  58159. end;
  58160. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  58161. begin
  58162. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58163. end;
  58164. procedure TPORTC_PORTC.setRC4; inline;
  58165. begin
  58166. pTDefRegMap(@Self)^.&set := $00000010;
  58167. end;
  58168. procedure TPORTC_PORTC.clearRC4; inline;
  58169. begin
  58170. pTDefRegMap(@Self)^.clr := $00000010;
  58171. end;
  58172. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  58173. begin
  58174. if thebits = 0 then
  58175. pTDefRegMap(@Self)^.clr := $00000010
  58176. else
  58177. pTDefRegMap(@Self)^.&set := $00000010;
  58178. end;
  58179. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  58180. begin
  58181. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58182. end;
  58183. procedure TPORTC_PORTC.setRC12; inline;
  58184. begin
  58185. pTDefRegMap(@Self)^.&set := $00001000;
  58186. end;
  58187. procedure TPORTC_PORTC.clearRC12; inline;
  58188. begin
  58189. pTDefRegMap(@Self)^.clr := $00001000;
  58190. end;
  58191. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  58192. begin
  58193. if thebits = 0 then
  58194. pTDefRegMap(@Self)^.clr := $00001000
  58195. else
  58196. pTDefRegMap(@Self)^.&set := $00001000;
  58197. end;
  58198. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  58199. begin
  58200. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58201. end;
  58202. procedure TPORTC_PORTC.setRC13; inline;
  58203. begin
  58204. pTDefRegMap(@Self)^.&set := $00002000;
  58205. end;
  58206. procedure TPORTC_PORTC.clearRC13; inline;
  58207. begin
  58208. pTDefRegMap(@Self)^.clr := $00002000;
  58209. end;
  58210. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  58211. begin
  58212. if thebits = 0 then
  58213. pTDefRegMap(@Self)^.clr := $00002000
  58214. else
  58215. pTDefRegMap(@Self)^.&set := $00002000;
  58216. end;
  58217. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  58218. begin
  58219. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58220. end;
  58221. procedure TPORTC_PORTC.setRC14; inline;
  58222. begin
  58223. pTDefRegMap(@Self)^.&set := $00004000;
  58224. end;
  58225. procedure TPORTC_PORTC.clearRC14; inline;
  58226. begin
  58227. pTDefRegMap(@Self)^.clr := $00004000;
  58228. end;
  58229. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  58230. begin
  58231. if thebits = 0 then
  58232. pTDefRegMap(@Self)^.clr := $00004000
  58233. else
  58234. pTDefRegMap(@Self)^.&set := $00004000;
  58235. end;
  58236. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  58237. begin
  58238. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58239. end;
  58240. procedure TPORTC_PORTC.setRC15; inline;
  58241. begin
  58242. pTDefRegMap(@Self)^.&set := $00008000;
  58243. end;
  58244. procedure TPORTC_PORTC.clearRC15; inline;
  58245. begin
  58246. pTDefRegMap(@Self)^.clr := $00008000;
  58247. end;
  58248. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  58249. begin
  58250. if thebits = 0 then
  58251. pTDefRegMap(@Self)^.clr := $00008000
  58252. else
  58253. pTDefRegMap(@Self)^.&set := $00008000;
  58254. end;
  58255. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  58256. begin
  58257. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58258. end;
  58259. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  58260. begin
  58261. pTDefRegMap(@Self)^.val := thebits;
  58262. end;
  58263. function TPORTC_PORTC.getw : TBits_32; inline;
  58264. begin
  58265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58266. end;
  58267. procedure TPORTC_LATC.setLATC1; inline;
  58268. begin
  58269. pTDefRegMap(@Self)^.&set := $00000002;
  58270. end;
  58271. procedure TPORTC_LATC.clearLATC1; inline;
  58272. begin
  58273. pTDefRegMap(@Self)^.clr := $00000002;
  58274. end;
  58275. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  58276. begin
  58277. if thebits = 0 then
  58278. pTDefRegMap(@Self)^.clr := $00000002
  58279. else
  58280. pTDefRegMap(@Self)^.&set := $00000002;
  58281. end;
  58282. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  58283. begin
  58284. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58285. end;
  58286. procedure TPORTC_LATC.setLATC2; inline;
  58287. begin
  58288. pTDefRegMap(@Self)^.&set := $00000004;
  58289. end;
  58290. procedure TPORTC_LATC.clearLATC2; inline;
  58291. begin
  58292. pTDefRegMap(@Self)^.clr := $00000004;
  58293. end;
  58294. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  58295. begin
  58296. if thebits = 0 then
  58297. pTDefRegMap(@Self)^.clr := $00000004
  58298. else
  58299. pTDefRegMap(@Self)^.&set := $00000004;
  58300. end;
  58301. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  58302. begin
  58303. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58304. end;
  58305. procedure TPORTC_LATC.setLATC3; inline;
  58306. begin
  58307. pTDefRegMap(@Self)^.&set := $00000008;
  58308. end;
  58309. procedure TPORTC_LATC.clearLATC3; inline;
  58310. begin
  58311. pTDefRegMap(@Self)^.clr := $00000008;
  58312. end;
  58313. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  58314. begin
  58315. if thebits = 0 then
  58316. pTDefRegMap(@Self)^.clr := $00000008
  58317. else
  58318. pTDefRegMap(@Self)^.&set := $00000008;
  58319. end;
  58320. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  58321. begin
  58322. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58323. end;
  58324. procedure TPORTC_LATC.setLATC4; inline;
  58325. begin
  58326. pTDefRegMap(@Self)^.&set := $00000010;
  58327. end;
  58328. procedure TPORTC_LATC.clearLATC4; inline;
  58329. begin
  58330. pTDefRegMap(@Self)^.clr := $00000010;
  58331. end;
  58332. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  58333. begin
  58334. if thebits = 0 then
  58335. pTDefRegMap(@Self)^.clr := $00000010
  58336. else
  58337. pTDefRegMap(@Self)^.&set := $00000010;
  58338. end;
  58339. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  58340. begin
  58341. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58342. end;
  58343. procedure TPORTC_LATC.setLATC12; inline;
  58344. begin
  58345. pTDefRegMap(@Self)^.&set := $00001000;
  58346. end;
  58347. procedure TPORTC_LATC.clearLATC12; inline;
  58348. begin
  58349. pTDefRegMap(@Self)^.clr := $00001000;
  58350. end;
  58351. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  58352. begin
  58353. if thebits = 0 then
  58354. pTDefRegMap(@Self)^.clr := $00001000
  58355. else
  58356. pTDefRegMap(@Self)^.&set := $00001000;
  58357. end;
  58358. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  58359. begin
  58360. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58361. end;
  58362. procedure TPORTC_LATC.setLATC13; inline;
  58363. begin
  58364. pTDefRegMap(@Self)^.&set := $00002000;
  58365. end;
  58366. procedure TPORTC_LATC.clearLATC13; inline;
  58367. begin
  58368. pTDefRegMap(@Self)^.clr := $00002000;
  58369. end;
  58370. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  58371. begin
  58372. if thebits = 0 then
  58373. pTDefRegMap(@Self)^.clr := $00002000
  58374. else
  58375. pTDefRegMap(@Self)^.&set := $00002000;
  58376. end;
  58377. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  58378. begin
  58379. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58380. end;
  58381. procedure TPORTC_LATC.setLATC14; inline;
  58382. begin
  58383. pTDefRegMap(@Self)^.&set := $00004000;
  58384. end;
  58385. procedure TPORTC_LATC.clearLATC14; inline;
  58386. begin
  58387. pTDefRegMap(@Self)^.clr := $00004000;
  58388. end;
  58389. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  58390. begin
  58391. if thebits = 0 then
  58392. pTDefRegMap(@Self)^.clr := $00004000
  58393. else
  58394. pTDefRegMap(@Self)^.&set := $00004000;
  58395. end;
  58396. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  58397. begin
  58398. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58399. end;
  58400. procedure TPORTC_LATC.setLATC15; inline;
  58401. begin
  58402. pTDefRegMap(@Self)^.&set := $00008000;
  58403. end;
  58404. procedure TPORTC_LATC.clearLATC15; inline;
  58405. begin
  58406. pTDefRegMap(@Self)^.clr := $00008000;
  58407. end;
  58408. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  58409. begin
  58410. if thebits = 0 then
  58411. pTDefRegMap(@Self)^.clr := $00008000
  58412. else
  58413. pTDefRegMap(@Self)^.&set := $00008000;
  58414. end;
  58415. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  58416. begin
  58417. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58418. end;
  58419. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  58420. begin
  58421. pTDefRegMap(@Self)^.val := thebits;
  58422. end;
  58423. function TPORTC_LATC.getw : TBits_32; inline;
  58424. begin
  58425. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58426. end;
  58427. procedure TPORTC_ODCC.setODCC1; inline;
  58428. begin
  58429. pTDefRegMap(@Self)^.&set := $00000002;
  58430. end;
  58431. procedure TPORTC_ODCC.clearODCC1; inline;
  58432. begin
  58433. pTDefRegMap(@Self)^.clr := $00000002;
  58434. end;
  58435. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  58436. begin
  58437. if thebits = 0 then
  58438. pTDefRegMap(@Self)^.clr := $00000002
  58439. else
  58440. pTDefRegMap(@Self)^.&set := $00000002;
  58441. end;
  58442. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  58443. begin
  58444. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58445. end;
  58446. procedure TPORTC_ODCC.setODCC2; inline;
  58447. begin
  58448. pTDefRegMap(@Self)^.&set := $00000004;
  58449. end;
  58450. procedure TPORTC_ODCC.clearODCC2; inline;
  58451. begin
  58452. pTDefRegMap(@Self)^.clr := $00000004;
  58453. end;
  58454. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  58455. begin
  58456. if thebits = 0 then
  58457. pTDefRegMap(@Self)^.clr := $00000004
  58458. else
  58459. pTDefRegMap(@Self)^.&set := $00000004;
  58460. end;
  58461. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  58462. begin
  58463. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58464. end;
  58465. procedure TPORTC_ODCC.setODCC3; inline;
  58466. begin
  58467. pTDefRegMap(@Self)^.&set := $00000008;
  58468. end;
  58469. procedure TPORTC_ODCC.clearODCC3; inline;
  58470. begin
  58471. pTDefRegMap(@Self)^.clr := $00000008;
  58472. end;
  58473. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  58474. begin
  58475. if thebits = 0 then
  58476. pTDefRegMap(@Self)^.clr := $00000008
  58477. else
  58478. pTDefRegMap(@Self)^.&set := $00000008;
  58479. end;
  58480. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  58481. begin
  58482. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58483. end;
  58484. procedure TPORTC_ODCC.setODCC4; inline;
  58485. begin
  58486. pTDefRegMap(@Self)^.&set := $00000010;
  58487. end;
  58488. procedure TPORTC_ODCC.clearODCC4; inline;
  58489. begin
  58490. pTDefRegMap(@Self)^.clr := $00000010;
  58491. end;
  58492. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  58493. begin
  58494. if thebits = 0 then
  58495. pTDefRegMap(@Self)^.clr := $00000010
  58496. else
  58497. pTDefRegMap(@Self)^.&set := $00000010;
  58498. end;
  58499. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  58500. begin
  58501. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58502. end;
  58503. procedure TPORTC_ODCC.setODCC12; inline;
  58504. begin
  58505. pTDefRegMap(@Self)^.&set := $00001000;
  58506. end;
  58507. procedure TPORTC_ODCC.clearODCC12; inline;
  58508. begin
  58509. pTDefRegMap(@Self)^.clr := $00001000;
  58510. end;
  58511. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  58512. begin
  58513. if thebits = 0 then
  58514. pTDefRegMap(@Self)^.clr := $00001000
  58515. else
  58516. pTDefRegMap(@Self)^.&set := $00001000;
  58517. end;
  58518. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  58519. begin
  58520. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58521. end;
  58522. procedure TPORTC_ODCC.setODCC13; inline;
  58523. begin
  58524. pTDefRegMap(@Self)^.&set := $00002000;
  58525. end;
  58526. procedure TPORTC_ODCC.clearODCC13; inline;
  58527. begin
  58528. pTDefRegMap(@Self)^.clr := $00002000;
  58529. end;
  58530. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  58531. begin
  58532. if thebits = 0 then
  58533. pTDefRegMap(@Self)^.clr := $00002000
  58534. else
  58535. pTDefRegMap(@Self)^.&set := $00002000;
  58536. end;
  58537. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  58538. begin
  58539. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58540. end;
  58541. procedure TPORTC_ODCC.setODCC14; inline;
  58542. begin
  58543. pTDefRegMap(@Self)^.&set := $00004000;
  58544. end;
  58545. procedure TPORTC_ODCC.clearODCC14; inline;
  58546. begin
  58547. pTDefRegMap(@Self)^.clr := $00004000;
  58548. end;
  58549. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  58550. begin
  58551. if thebits = 0 then
  58552. pTDefRegMap(@Self)^.clr := $00004000
  58553. else
  58554. pTDefRegMap(@Self)^.&set := $00004000;
  58555. end;
  58556. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  58557. begin
  58558. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58559. end;
  58560. procedure TPORTC_ODCC.setODCC15; inline;
  58561. begin
  58562. pTDefRegMap(@Self)^.&set := $00008000;
  58563. end;
  58564. procedure TPORTC_ODCC.clearODCC15; inline;
  58565. begin
  58566. pTDefRegMap(@Self)^.clr := $00008000;
  58567. end;
  58568. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  58569. begin
  58570. if thebits = 0 then
  58571. pTDefRegMap(@Self)^.clr := $00008000
  58572. else
  58573. pTDefRegMap(@Self)^.&set := $00008000;
  58574. end;
  58575. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  58576. begin
  58577. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58578. end;
  58579. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  58580. begin
  58581. pTDefRegMap(@Self)^.val := thebits;
  58582. end;
  58583. function TPORTC_ODCC.getw : TBits_32; inline;
  58584. begin
  58585. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58586. end;
  58587. procedure TPORTD_TRISD.setTRISD0; inline;
  58588. begin
  58589. pTDefRegMap(@Self)^.&set := $00000001;
  58590. end;
  58591. procedure TPORTD_TRISD.clearTRISD0; inline;
  58592. begin
  58593. pTDefRegMap(@Self)^.clr := $00000001;
  58594. end;
  58595. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  58596. begin
  58597. if thebits = 0 then
  58598. pTDefRegMap(@Self)^.clr := $00000001
  58599. else
  58600. pTDefRegMap(@Self)^.&set := $00000001;
  58601. end;
  58602. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  58603. begin
  58604. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58605. end;
  58606. procedure TPORTD_TRISD.setTRISD1; inline;
  58607. begin
  58608. pTDefRegMap(@Self)^.&set := $00000002;
  58609. end;
  58610. procedure TPORTD_TRISD.clearTRISD1; inline;
  58611. begin
  58612. pTDefRegMap(@Self)^.clr := $00000002;
  58613. end;
  58614. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  58615. begin
  58616. if thebits = 0 then
  58617. pTDefRegMap(@Self)^.clr := $00000002
  58618. else
  58619. pTDefRegMap(@Self)^.&set := $00000002;
  58620. end;
  58621. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  58622. begin
  58623. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58624. end;
  58625. procedure TPORTD_TRISD.setTRISD2; inline;
  58626. begin
  58627. pTDefRegMap(@Self)^.&set := $00000004;
  58628. end;
  58629. procedure TPORTD_TRISD.clearTRISD2; inline;
  58630. begin
  58631. pTDefRegMap(@Self)^.clr := $00000004;
  58632. end;
  58633. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  58634. begin
  58635. if thebits = 0 then
  58636. pTDefRegMap(@Self)^.clr := $00000004
  58637. else
  58638. pTDefRegMap(@Self)^.&set := $00000004;
  58639. end;
  58640. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  58641. begin
  58642. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58643. end;
  58644. procedure TPORTD_TRISD.setTRISD3; inline;
  58645. begin
  58646. pTDefRegMap(@Self)^.&set := $00000008;
  58647. end;
  58648. procedure TPORTD_TRISD.clearTRISD3; inline;
  58649. begin
  58650. pTDefRegMap(@Self)^.clr := $00000008;
  58651. end;
  58652. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  58653. begin
  58654. if thebits = 0 then
  58655. pTDefRegMap(@Self)^.clr := $00000008
  58656. else
  58657. pTDefRegMap(@Self)^.&set := $00000008;
  58658. end;
  58659. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  58660. begin
  58661. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58662. end;
  58663. procedure TPORTD_TRISD.setTRISD4; inline;
  58664. begin
  58665. pTDefRegMap(@Self)^.&set := $00000010;
  58666. end;
  58667. procedure TPORTD_TRISD.clearTRISD4; inline;
  58668. begin
  58669. pTDefRegMap(@Self)^.clr := $00000010;
  58670. end;
  58671. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  58672. begin
  58673. if thebits = 0 then
  58674. pTDefRegMap(@Self)^.clr := $00000010
  58675. else
  58676. pTDefRegMap(@Self)^.&set := $00000010;
  58677. end;
  58678. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  58679. begin
  58680. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58681. end;
  58682. procedure TPORTD_TRISD.setTRISD5; inline;
  58683. begin
  58684. pTDefRegMap(@Self)^.&set := $00000020;
  58685. end;
  58686. procedure TPORTD_TRISD.clearTRISD5; inline;
  58687. begin
  58688. pTDefRegMap(@Self)^.clr := $00000020;
  58689. end;
  58690. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  58691. begin
  58692. if thebits = 0 then
  58693. pTDefRegMap(@Self)^.clr := $00000020
  58694. else
  58695. pTDefRegMap(@Self)^.&set := $00000020;
  58696. end;
  58697. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  58698. begin
  58699. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58700. end;
  58701. procedure TPORTD_TRISD.setTRISD6; inline;
  58702. begin
  58703. pTDefRegMap(@Self)^.&set := $00000040;
  58704. end;
  58705. procedure TPORTD_TRISD.clearTRISD6; inline;
  58706. begin
  58707. pTDefRegMap(@Self)^.clr := $00000040;
  58708. end;
  58709. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  58710. begin
  58711. if thebits = 0 then
  58712. pTDefRegMap(@Self)^.clr := $00000040
  58713. else
  58714. pTDefRegMap(@Self)^.&set := $00000040;
  58715. end;
  58716. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  58717. begin
  58718. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58719. end;
  58720. procedure TPORTD_TRISD.setTRISD7; inline;
  58721. begin
  58722. pTDefRegMap(@Self)^.&set := $00000080;
  58723. end;
  58724. procedure TPORTD_TRISD.clearTRISD7; inline;
  58725. begin
  58726. pTDefRegMap(@Self)^.clr := $00000080;
  58727. end;
  58728. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  58729. begin
  58730. if thebits = 0 then
  58731. pTDefRegMap(@Self)^.clr := $00000080
  58732. else
  58733. pTDefRegMap(@Self)^.&set := $00000080;
  58734. end;
  58735. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  58736. begin
  58737. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58738. end;
  58739. procedure TPORTD_TRISD.setTRISD8; inline;
  58740. begin
  58741. pTDefRegMap(@Self)^.&set := $00000100;
  58742. end;
  58743. procedure TPORTD_TRISD.clearTRISD8; inline;
  58744. begin
  58745. pTDefRegMap(@Self)^.clr := $00000100;
  58746. end;
  58747. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  58748. begin
  58749. if thebits = 0 then
  58750. pTDefRegMap(@Self)^.clr := $00000100
  58751. else
  58752. pTDefRegMap(@Self)^.&set := $00000100;
  58753. end;
  58754. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  58755. begin
  58756. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58757. end;
  58758. procedure TPORTD_TRISD.setTRISD9; inline;
  58759. begin
  58760. pTDefRegMap(@Self)^.&set := $00000200;
  58761. end;
  58762. procedure TPORTD_TRISD.clearTRISD9; inline;
  58763. begin
  58764. pTDefRegMap(@Self)^.clr := $00000200;
  58765. end;
  58766. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  58767. begin
  58768. if thebits = 0 then
  58769. pTDefRegMap(@Self)^.clr := $00000200
  58770. else
  58771. pTDefRegMap(@Self)^.&set := $00000200;
  58772. end;
  58773. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  58774. begin
  58775. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58776. end;
  58777. procedure TPORTD_TRISD.setTRISD10; inline;
  58778. begin
  58779. pTDefRegMap(@Self)^.&set := $00000400;
  58780. end;
  58781. procedure TPORTD_TRISD.clearTRISD10; inline;
  58782. begin
  58783. pTDefRegMap(@Self)^.clr := $00000400;
  58784. end;
  58785. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  58786. begin
  58787. if thebits = 0 then
  58788. pTDefRegMap(@Self)^.clr := $00000400
  58789. else
  58790. pTDefRegMap(@Self)^.&set := $00000400;
  58791. end;
  58792. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  58793. begin
  58794. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  58795. end;
  58796. procedure TPORTD_TRISD.setTRISD11; inline;
  58797. begin
  58798. pTDefRegMap(@Self)^.&set := $00000800;
  58799. end;
  58800. procedure TPORTD_TRISD.clearTRISD11; inline;
  58801. begin
  58802. pTDefRegMap(@Self)^.clr := $00000800;
  58803. end;
  58804. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  58805. begin
  58806. if thebits = 0 then
  58807. pTDefRegMap(@Self)^.clr := $00000800
  58808. else
  58809. pTDefRegMap(@Self)^.&set := $00000800;
  58810. end;
  58811. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  58812. begin
  58813. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  58814. end;
  58815. procedure TPORTD_TRISD.setTRISD12; inline;
  58816. begin
  58817. pTDefRegMap(@Self)^.&set := $00001000;
  58818. end;
  58819. procedure TPORTD_TRISD.clearTRISD12; inline;
  58820. begin
  58821. pTDefRegMap(@Self)^.clr := $00001000;
  58822. end;
  58823. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  58824. begin
  58825. if thebits = 0 then
  58826. pTDefRegMap(@Self)^.clr := $00001000
  58827. else
  58828. pTDefRegMap(@Self)^.&set := $00001000;
  58829. end;
  58830. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  58831. begin
  58832. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58833. end;
  58834. procedure TPORTD_TRISD.setTRISD13; inline;
  58835. begin
  58836. pTDefRegMap(@Self)^.&set := $00002000;
  58837. end;
  58838. procedure TPORTD_TRISD.clearTRISD13; inline;
  58839. begin
  58840. pTDefRegMap(@Self)^.clr := $00002000;
  58841. end;
  58842. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  58843. begin
  58844. if thebits = 0 then
  58845. pTDefRegMap(@Self)^.clr := $00002000
  58846. else
  58847. pTDefRegMap(@Self)^.&set := $00002000;
  58848. end;
  58849. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  58850. begin
  58851. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58852. end;
  58853. procedure TPORTD_TRISD.setTRISD14; inline;
  58854. begin
  58855. pTDefRegMap(@Self)^.&set := $00004000;
  58856. end;
  58857. procedure TPORTD_TRISD.clearTRISD14; inline;
  58858. begin
  58859. pTDefRegMap(@Self)^.clr := $00004000;
  58860. end;
  58861. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  58862. begin
  58863. if thebits = 0 then
  58864. pTDefRegMap(@Self)^.clr := $00004000
  58865. else
  58866. pTDefRegMap(@Self)^.&set := $00004000;
  58867. end;
  58868. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  58869. begin
  58870. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58871. end;
  58872. procedure TPORTD_TRISD.setTRISD15; inline;
  58873. begin
  58874. pTDefRegMap(@Self)^.&set := $00008000;
  58875. end;
  58876. procedure TPORTD_TRISD.clearTRISD15; inline;
  58877. begin
  58878. pTDefRegMap(@Self)^.clr := $00008000;
  58879. end;
  58880. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  58881. begin
  58882. if thebits = 0 then
  58883. pTDefRegMap(@Self)^.clr := $00008000
  58884. else
  58885. pTDefRegMap(@Self)^.&set := $00008000;
  58886. end;
  58887. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  58888. begin
  58889. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58890. end;
  58891. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  58892. begin
  58893. pTDefRegMap(@Self)^.val := thebits;
  58894. end;
  58895. function TPORTD_TRISD.getw : TBits_32; inline;
  58896. begin
  58897. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58898. end;
  58899. procedure TPORTD_PORTD.setRD0; inline;
  58900. begin
  58901. pTDefRegMap(@Self)^.&set := $00000001;
  58902. end;
  58903. procedure TPORTD_PORTD.clearRD0; inline;
  58904. begin
  58905. pTDefRegMap(@Self)^.clr := $00000001;
  58906. end;
  58907. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  58908. begin
  58909. if thebits = 0 then
  58910. pTDefRegMap(@Self)^.clr := $00000001
  58911. else
  58912. pTDefRegMap(@Self)^.&set := $00000001;
  58913. end;
  58914. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  58915. begin
  58916. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58917. end;
  58918. procedure TPORTD_PORTD.setRD1; inline;
  58919. begin
  58920. pTDefRegMap(@Self)^.&set := $00000002;
  58921. end;
  58922. procedure TPORTD_PORTD.clearRD1; inline;
  58923. begin
  58924. pTDefRegMap(@Self)^.clr := $00000002;
  58925. end;
  58926. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  58927. begin
  58928. if thebits = 0 then
  58929. pTDefRegMap(@Self)^.clr := $00000002
  58930. else
  58931. pTDefRegMap(@Self)^.&set := $00000002;
  58932. end;
  58933. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  58934. begin
  58935. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58936. end;
  58937. procedure TPORTD_PORTD.setRD2; inline;
  58938. begin
  58939. pTDefRegMap(@Self)^.&set := $00000004;
  58940. end;
  58941. procedure TPORTD_PORTD.clearRD2; inline;
  58942. begin
  58943. pTDefRegMap(@Self)^.clr := $00000004;
  58944. end;
  58945. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  58946. begin
  58947. if thebits = 0 then
  58948. pTDefRegMap(@Self)^.clr := $00000004
  58949. else
  58950. pTDefRegMap(@Self)^.&set := $00000004;
  58951. end;
  58952. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  58953. begin
  58954. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58955. end;
  58956. procedure TPORTD_PORTD.setRD3; inline;
  58957. begin
  58958. pTDefRegMap(@Self)^.&set := $00000008;
  58959. end;
  58960. procedure TPORTD_PORTD.clearRD3; inline;
  58961. begin
  58962. pTDefRegMap(@Self)^.clr := $00000008;
  58963. end;
  58964. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  58965. begin
  58966. if thebits = 0 then
  58967. pTDefRegMap(@Self)^.clr := $00000008
  58968. else
  58969. pTDefRegMap(@Self)^.&set := $00000008;
  58970. end;
  58971. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  58972. begin
  58973. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58974. end;
  58975. procedure TPORTD_PORTD.setRD4; inline;
  58976. begin
  58977. pTDefRegMap(@Self)^.&set := $00000010;
  58978. end;
  58979. procedure TPORTD_PORTD.clearRD4; inline;
  58980. begin
  58981. pTDefRegMap(@Self)^.clr := $00000010;
  58982. end;
  58983. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  58984. begin
  58985. if thebits = 0 then
  58986. pTDefRegMap(@Self)^.clr := $00000010
  58987. else
  58988. pTDefRegMap(@Self)^.&set := $00000010;
  58989. end;
  58990. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  58991. begin
  58992. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58993. end;
  58994. procedure TPORTD_PORTD.setRD5; inline;
  58995. begin
  58996. pTDefRegMap(@Self)^.&set := $00000020;
  58997. end;
  58998. procedure TPORTD_PORTD.clearRD5; inline;
  58999. begin
  59000. pTDefRegMap(@Self)^.clr := $00000020;
  59001. end;
  59002. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  59003. begin
  59004. if thebits = 0 then
  59005. pTDefRegMap(@Self)^.clr := $00000020
  59006. else
  59007. pTDefRegMap(@Self)^.&set := $00000020;
  59008. end;
  59009. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  59010. begin
  59011. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59012. end;
  59013. procedure TPORTD_PORTD.setRD6; inline;
  59014. begin
  59015. pTDefRegMap(@Self)^.&set := $00000040;
  59016. end;
  59017. procedure TPORTD_PORTD.clearRD6; inline;
  59018. begin
  59019. pTDefRegMap(@Self)^.clr := $00000040;
  59020. end;
  59021. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  59022. begin
  59023. if thebits = 0 then
  59024. pTDefRegMap(@Self)^.clr := $00000040
  59025. else
  59026. pTDefRegMap(@Self)^.&set := $00000040;
  59027. end;
  59028. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  59029. begin
  59030. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59031. end;
  59032. procedure TPORTD_PORTD.setRD7; inline;
  59033. begin
  59034. pTDefRegMap(@Self)^.&set := $00000080;
  59035. end;
  59036. procedure TPORTD_PORTD.clearRD7; inline;
  59037. begin
  59038. pTDefRegMap(@Self)^.clr := $00000080;
  59039. end;
  59040. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  59041. begin
  59042. if thebits = 0 then
  59043. pTDefRegMap(@Self)^.clr := $00000080
  59044. else
  59045. pTDefRegMap(@Self)^.&set := $00000080;
  59046. end;
  59047. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  59048. begin
  59049. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59050. end;
  59051. procedure TPORTD_PORTD.setRD8; inline;
  59052. begin
  59053. pTDefRegMap(@Self)^.&set := $00000100;
  59054. end;
  59055. procedure TPORTD_PORTD.clearRD8; inline;
  59056. begin
  59057. pTDefRegMap(@Self)^.clr := $00000100;
  59058. end;
  59059. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  59060. begin
  59061. if thebits = 0 then
  59062. pTDefRegMap(@Self)^.clr := $00000100
  59063. else
  59064. pTDefRegMap(@Self)^.&set := $00000100;
  59065. end;
  59066. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  59067. begin
  59068. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59069. end;
  59070. procedure TPORTD_PORTD.setRD9; inline;
  59071. begin
  59072. pTDefRegMap(@Self)^.&set := $00000200;
  59073. end;
  59074. procedure TPORTD_PORTD.clearRD9; inline;
  59075. begin
  59076. pTDefRegMap(@Self)^.clr := $00000200;
  59077. end;
  59078. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  59079. begin
  59080. if thebits = 0 then
  59081. pTDefRegMap(@Self)^.clr := $00000200
  59082. else
  59083. pTDefRegMap(@Self)^.&set := $00000200;
  59084. end;
  59085. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  59086. begin
  59087. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59088. end;
  59089. procedure TPORTD_PORTD.setRD10; inline;
  59090. begin
  59091. pTDefRegMap(@Self)^.&set := $00000400;
  59092. end;
  59093. procedure TPORTD_PORTD.clearRD10; inline;
  59094. begin
  59095. pTDefRegMap(@Self)^.clr := $00000400;
  59096. end;
  59097. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  59098. begin
  59099. if thebits = 0 then
  59100. pTDefRegMap(@Self)^.clr := $00000400
  59101. else
  59102. pTDefRegMap(@Self)^.&set := $00000400;
  59103. end;
  59104. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  59105. begin
  59106. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59107. end;
  59108. procedure TPORTD_PORTD.setRD11; inline;
  59109. begin
  59110. pTDefRegMap(@Self)^.&set := $00000800;
  59111. end;
  59112. procedure TPORTD_PORTD.clearRD11; inline;
  59113. begin
  59114. pTDefRegMap(@Self)^.clr := $00000800;
  59115. end;
  59116. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  59117. begin
  59118. if thebits = 0 then
  59119. pTDefRegMap(@Self)^.clr := $00000800
  59120. else
  59121. pTDefRegMap(@Self)^.&set := $00000800;
  59122. end;
  59123. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  59124. begin
  59125. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59126. end;
  59127. procedure TPORTD_PORTD.setRD12; inline;
  59128. begin
  59129. pTDefRegMap(@Self)^.&set := $00001000;
  59130. end;
  59131. procedure TPORTD_PORTD.clearRD12; inline;
  59132. begin
  59133. pTDefRegMap(@Self)^.clr := $00001000;
  59134. end;
  59135. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  59136. begin
  59137. if thebits = 0 then
  59138. pTDefRegMap(@Self)^.clr := $00001000
  59139. else
  59140. pTDefRegMap(@Self)^.&set := $00001000;
  59141. end;
  59142. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  59143. begin
  59144. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59145. end;
  59146. procedure TPORTD_PORTD.setRD13; inline;
  59147. begin
  59148. pTDefRegMap(@Self)^.&set := $00002000;
  59149. end;
  59150. procedure TPORTD_PORTD.clearRD13; inline;
  59151. begin
  59152. pTDefRegMap(@Self)^.clr := $00002000;
  59153. end;
  59154. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  59155. begin
  59156. if thebits = 0 then
  59157. pTDefRegMap(@Self)^.clr := $00002000
  59158. else
  59159. pTDefRegMap(@Self)^.&set := $00002000;
  59160. end;
  59161. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  59162. begin
  59163. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59164. end;
  59165. procedure TPORTD_PORTD.setRD14; inline;
  59166. begin
  59167. pTDefRegMap(@Self)^.&set := $00004000;
  59168. end;
  59169. procedure TPORTD_PORTD.clearRD14; inline;
  59170. begin
  59171. pTDefRegMap(@Self)^.clr := $00004000;
  59172. end;
  59173. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  59174. begin
  59175. if thebits = 0 then
  59176. pTDefRegMap(@Self)^.clr := $00004000
  59177. else
  59178. pTDefRegMap(@Self)^.&set := $00004000;
  59179. end;
  59180. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  59181. begin
  59182. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59183. end;
  59184. procedure TPORTD_PORTD.setRD15; inline;
  59185. begin
  59186. pTDefRegMap(@Self)^.&set := $00008000;
  59187. end;
  59188. procedure TPORTD_PORTD.clearRD15; inline;
  59189. begin
  59190. pTDefRegMap(@Self)^.clr := $00008000;
  59191. end;
  59192. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  59193. begin
  59194. if thebits = 0 then
  59195. pTDefRegMap(@Self)^.clr := $00008000
  59196. else
  59197. pTDefRegMap(@Self)^.&set := $00008000;
  59198. end;
  59199. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  59200. begin
  59201. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59202. end;
  59203. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  59204. begin
  59205. pTDefRegMap(@Self)^.val := thebits;
  59206. end;
  59207. function TPORTD_PORTD.getw : TBits_32; inline;
  59208. begin
  59209. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59210. end;
  59211. procedure TPORTD_LATD.setLATD0; inline;
  59212. begin
  59213. pTDefRegMap(@Self)^.&set := $00000001;
  59214. end;
  59215. procedure TPORTD_LATD.clearLATD0; inline;
  59216. begin
  59217. pTDefRegMap(@Self)^.clr := $00000001;
  59218. end;
  59219. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  59220. begin
  59221. if thebits = 0 then
  59222. pTDefRegMap(@Self)^.clr := $00000001
  59223. else
  59224. pTDefRegMap(@Self)^.&set := $00000001;
  59225. end;
  59226. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  59227. begin
  59228. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59229. end;
  59230. procedure TPORTD_LATD.setLATD1; inline;
  59231. begin
  59232. pTDefRegMap(@Self)^.&set := $00000002;
  59233. end;
  59234. procedure TPORTD_LATD.clearLATD1; inline;
  59235. begin
  59236. pTDefRegMap(@Self)^.clr := $00000002;
  59237. end;
  59238. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  59239. begin
  59240. if thebits = 0 then
  59241. pTDefRegMap(@Self)^.clr := $00000002
  59242. else
  59243. pTDefRegMap(@Self)^.&set := $00000002;
  59244. end;
  59245. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  59246. begin
  59247. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59248. end;
  59249. procedure TPORTD_LATD.setLATD2; inline;
  59250. begin
  59251. pTDefRegMap(@Self)^.&set := $00000004;
  59252. end;
  59253. procedure TPORTD_LATD.clearLATD2; inline;
  59254. begin
  59255. pTDefRegMap(@Self)^.clr := $00000004;
  59256. end;
  59257. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  59258. begin
  59259. if thebits = 0 then
  59260. pTDefRegMap(@Self)^.clr := $00000004
  59261. else
  59262. pTDefRegMap(@Self)^.&set := $00000004;
  59263. end;
  59264. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  59265. begin
  59266. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59267. end;
  59268. procedure TPORTD_LATD.setLATD3; inline;
  59269. begin
  59270. pTDefRegMap(@Self)^.&set := $00000008;
  59271. end;
  59272. procedure TPORTD_LATD.clearLATD3; inline;
  59273. begin
  59274. pTDefRegMap(@Self)^.clr := $00000008;
  59275. end;
  59276. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  59277. begin
  59278. if thebits = 0 then
  59279. pTDefRegMap(@Self)^.clr := $00000008
  59280. else
  59281. pTDefRegMap(@Self)^.&set := $00000008;
  59282. end;
  59283. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  59284. begin
  59285. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59286. end;
  59287. procedure TPORTD_LATD.setLATD4; inline;
  59288. begin
  59289. pTDefRegMap(@Self)^.&set := $00000010;
  59290. end;
  59291. procedure TPORTD_LATD.clearLATD4; inline;
  59292. begin
  59293. pTDefRegMap(@Self)^.clr := $00000010;
  59294. end;
  59295. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  59296. begin
  59297. if thebits = 0 then
  59298. pTDefRegMap(@Self)^.clr := $00000010
  59299. else
  59300. pTDefRegMap(@Self)^.&set := $00000010;
  59301. end;
  59302. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  59303. begin
  59304. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59305. end;
  59306. procedure TPORTD_LATD.setLATD5; inline;
  59307. begin
  59308. pTDefRegMap(@Self)^.&set := $00000020;
  59309. end;
  59310. procedure TPORTD_LATD.clearLATD5; inline;
  59311. begin
  59312. pTDefRegMap(@Self)^.clr := $00000020;
  59313. end;
  59314. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  59315. begin
  59316. if thebits = 0 then
  59317. pTDefRegMap(@Self)^.clr := $00000020
  59318. else
  59319. pTDefRegMap(@Self)^.&set := $00000020;
  59320. end;
  59321. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  59322. begin
  59323. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59324. end;
  59325. procedure TPORTD_LATD.setLATD6; inline;
  59326. begin
  59327. pTDefRegMap(@Self)^.&set := $00000040;
  59328. end;
  59329. procedure TPORTD_LATD.clearLATD6; inline;
  59330. begin
  59331. pTDefRegMap(@Self)^.clr := $00000040;
  59332. end;
  59333. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  59334. begin
  59335. if thebits = 0 then
  59336. pTDefRegMap(@Self)^.clr := $00000040
  59337. else
  59338. pTDefRegMap(@Self)^.&set := $00000040;
  59339. end;
  59340. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  59341. begin
  59342. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59343. end;
  59344. procedure TPORTD_LATD.setLATD7; inline;
  59345. begin
  59346. pTDefRegMap(@Self)^.&set := $00000080;
  59347. end;
  59348. procedure TPORTD_LATD.clearLATD7; inline;
  59349. begin
  59350. pTDefRegMap(@Self)^.clr := $00000080;
  59351. end;
  59352. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  59353. begin
  59354. if thebits = 0 then
  59355. pTDefRegMap(@Self)^.clr := $00000080
  59356. else
  59357. pTDefRegMap(@Self)^.&set := $00000080;
  59358. end;
  59359. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  59360. begin
  59361. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59362. end;
  59363. procedure TPORTD_LATD.setLATD8; inline;
  59364. begin
  59365. pTDefRegMap(@Self)^.&set := $00000100;
  59366. end;
  59367. procedure TPORTD_LATD.clearLATD8; inline;
  59368. begin
  59369. pTDefRegMap(@Self)^.clr := $00000100;
  59370. end;
  59371. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  59372. begin
  59373. if thebits = 0 then
  59374. pTDefRegMap(@Self)^.clr := $00000100
  59375. else
  59376. pTDefRegMap(@Self)^.&set := $00000100;
  59377. end;
  59378. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  59379. begin
  59380. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59381. end;
  59382. procedure TPORTD_LATD.setLATD9; inline;
  59383. begin
  59384. pTDefRegMap(@Self)^.&set := $00000200;
  59385. end;
  59386. procedure TPORTD_LATD.clearLATD9; inline;
  59387. begin
  59388. pTDefRegMap(@Self)^.clr := $00000200;
  59389. end;
  59390. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  59391. begin
  59392. if thebits = 0 then
  59393. pTDefRegMap(@Self)^.clr := $00000200
  59394. else
  59395. pTDefRegMap(@Self)^.&set := $00000200;
  59396. end;
  59397. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  59398. begin
  59399. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59400. end;
  59401. procedure TPORTD_LATD.setLATD10; inline;
  59402. begin
  59403. pTDefRegMap(@Self)^.&set := $00000400;
  59404. end;
  59405. procedure TPORTD_LATD.clearLATD10; inline;
  59406. begin
  59407. pTDefRegMap(@Self)^.clr := $00000400;
  59408. end;
  59409. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  59410. begin
  59411. if thebits = 0 then
  59412. pTDefRegMap(@Self)^.clr := $00000400
  59413. else
  59414. pTDefRegMap(@Self)^.&set := $00000400;
  59415. end;
  59416. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  59417. begin
  59418. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59419. end;
  59420. procedure TPORTD_LATD.setLATD11; inline;
  59421. begin
  59422. pTDefRegMap(@Self)^.&set := $00000800;
  59423. end;
  59424. procedure TPORTD_LATD.clearLATD11; inline;
  59425. begin
  59426. pTDefRegMap(@Self)^.clr := $00000800;
  59427. end;
  59428. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  59429. begin
  59430. if thebits = 0 then
  59431. pTDefRegMap(@Self)^.clr := $00000800
  59432. else
  59433. pTDefRegMap(@Self)^.&set := $00000800;
  59434. end;
  59435. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  59436. begin
  59437. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59438. end;
  59439. procedure TPORTD_LATD.setLATD12; inline;
  59440. begin
  59441. pTDefRegMap(@Self)^.&set := $00001000;
  59442. end;
  59443. procedure TPORTD_LATD.clearLATD12; inline;
  59444. begin
  59445. pTDefRegMap(@Self)^.clr := $00001000;
  59446. end;
  59447. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  59448. begin
  59449. if thebits = 0 then
  59450. pTDefRegMap(@Self)^.clr := $00001000
  59451. else
  59452. pTDefRegMap(@Self)^.&set := $00001000;
  59453. end;
  59454. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  59455. begin
  59456. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59457. end;
  59458. procedure TPORTD_LATD.setLATD13; inline;
  59459. begin
  59460. pTDefRegMap(@Self)^.&set := $00002000;
  59461. end;
  59462. procedure TPORTD_LATD.clearLATD13; inline;
  59463. begin
  59464. pTDefRegMap(@Self)^.clr := $00002000;
  59465. end;
  59466. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  59467. begin
  59468. if thebits = 0 then
  59469. pTDefRegMap(@Self)^.clr := $00002000
  59470. else
  59471. pTDefRegMap(@Self)^.&set := $00002000;
  59472. end;
  59473. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  59474. begin
  59475. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59476. end;
  59477. procedure TPORTD_LATD.setLATD14; inline;
  59478. begin
  59479. pTDefRegMap(@Self)^.&set := $00004000;
  59480. end;
  59481. procedure TPORTD_LATD.clearLATD14; inline;
  59482. begin
  59483. pTDefRegMap(@Self)^.clr := $00004000;
  59484. end;
  59485. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  59486. begin
  59487. if thebits = 0 then
  59488. pTDefRegMap(@Self)^.clr := $00004000
  59489. else
  59490. pTDefRegMap(@Self)^.&set := $00004000;
  59491. end;
  59492. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  59493. begin
  59494. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59495. end;
  59496. procedure TPORTD_LATD.setLATD15; inline;
  59497. begin
  59498. pTDefRegMap(@Self)^.&set := $00008000;
  59499. end;
  59500. procedure TPORTD_LATD.clearLATD15; inline;
  59501. begin
  59502. pTDefRegMap(@Self)^.clr := $00008000;
  59503. end;
  59504. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  59505. begin
  59506. if thebits = 0 then
  59507. pTDefRegMap(@Self)^.clr := $00008000
  59508. else
  59509. pTDefRegMap(@Self)^.&set := $00008000;
  59510. end;
  59511. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  59512. begin
  59513. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59514. end;
  59515. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  59516. begin
  59517. pTDefRegMap(@Self)^.val := thebits;
  59518. end;
  59519. function TPORTD_LATD.getw : TBits_32; inline;
  59520. begin
  59521. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59522. end;
  59523. procedure TPORTD_ODCD.setODCD0; inline;
  59524. begin
  59525. pTDefRegMap(@Self)^.&set := $00000001;
  59526. end;
  59527. procedure TPORTD_ODCD.clearODCD0; inline;
  59528. begin
  59529. pTDefRegMap(@Self)^.clr := $00000001;
  59530. end;
  59531. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  59532. begin
  59533. if thebits = 0 then
  59534. pTDefRegMap(@Self)^.clr := $00000001
  59535. else
  59536. pTDefRegMap(@Self)^.&set := $00000001;
  59537. end;
  59538. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  59539. begin
  59540. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59541. end;
  59542. procedure TPORTD_ODCD.setODCD1; inline;
  59543. begin
  59544. pTDefRegMap(@Self)^.&set := $00000002;
  59545. end;
  59546. procedure TPORTD_ODCD.clearODCD1; inline;
  59547. begin
  59548. pTDefRegMap(@Self)^.clr := $00000002;
  59549. end;
  59550. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  59551. begin
  59552. if thebits = 0 then
  59553. pTDefRegMap(@Self)^.clr := $00000002
  59554. else
  59555. pTDefRegMap(@Self)^.&set := $00000002;
  59556. end;
  59557. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  59558. begin
  59559. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59560. end;
  59561. procedure TPORTD_ODCD.setODCD2; inline;
  59562. begin
  59563. pTDefRegMap(@Self)^.&set := $00000004;
  59564. end;
  59565. procedure TPORTD_ODCD.clearODCD2; inline;
  59566. begin
  59567. pTDefRegMap(@Self)^.clr := $00000004;
  59568. end;
  59569. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  59570. begin
  59571. if thebits = 0 then
  59572. pTDefRegMap(@Self)^.clr := $00000004
  59573. else
  59574. pTDefRegMap(@Self)^.&set := $00000004;
  59575. end;
  59576. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  59577. begin
  59578. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59579. end;
  59580. procedure TPORTD_ODCD.setODCD3; inline;
  59581. begin
  59582. pTDefRegMap(@Self)^.&set := $00000008;
  59583. end;
  59584. procedure TPORTD_ODCD.clearODCD3; inline;
  59585. begin
  59586. pTDefRegMap(@Self)^.clr := $00000008;
  59587. end;
  59588. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  59589. begin
  59590. if thebits = 0 then
  59591. pTDefRegMap(@Self)^.clr := $00000008
  59592. else
  59593. pTDefRegMap(@Self)^.&set := $00000008;
  59594. end;
  59595. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  59596. begin
  59597. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59598. end;
  59599. procedure TPORTD_ODCD.setODCD4; inline;
  59600. begin
  59601. pTDefRegMap(@Self)^.&set := $00000010;
  59602. end;
  59603. procedure TPORTD_ODCD.clearODCD4; inline;
  59604. begin
  59605. pTDefRegMap(@Self)^.clr := $00000010;
  59606. end;
  59607. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  59608. begin
  59609. if thebits = 0 then
  59610. pTDefRegMap(@Self)^.clr := $00000010
  59611. else
  59612. pTDefRegMap(@Self)^.&set := $00000010;
  59613. end;
  59614. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  59615. begin
  59616. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59617. end;
  59618. procedure TPORTD_ODCD.setODCD5; inline;
  59619. begin
  59620. pTDefRegMap(@Self)^.&set := $00000020;
  59621. end;
  59622. procedure TPORTD_ODCD.clearODCD5; inline;
  59623. begin
  59624. pTDefRegMap(@Self)^.clr := $00000020;
  59625. end;
  59626. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  59627. begin
  59628. if thebits = 0 then
  59629. pTDefRegMap(@Self)^.clr := $00000020
  59630. else
  59631. pTDefRegMap(@Self)^.&set := $00000020;
  59632. end;
  59633. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  59634. begin
  59635. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59636. end;
  59637. procedure TPORTD_ODCD.setODCD6; inline;
  59638. begin
  59639. pTDefRegMap(@Self)^.&set := $00000040;
  59640. end;
  59641. procedure TPORTD_ODCD.clearODCD6; inline;
  59642. begin
  59643. pTDefRegMap(@Self)^.clr := $00000040;
  59644. end;
  59645. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  59646. begin
  59647. if thebits = 0 then
  59648. pTDefRegMap(@Self)^.clr := $00000040
  59649. else
  59650. pTDefRegMap(@Self)^.&set := $00000040;
  59651. end;
  59652. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  59653. begin
  59654. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59655. end;
  59656. procedure TPORTD_ODCD.setODCD7; inline;
  59657. begin
  59658. pTDefRegMap(@Self)^.&set := $00000080;
  59659. end;
  59660. procedure TPORTD_ODCD.clearODCD7; inline;
  59661. begin
  59662. pTDefRegMap(@Self)^.clr := $00000080;
  59663. end;
  59664. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  59665. begin
  59666. if thebits = 0 then
  59667. pTDefRegMap(@Self)^.clr := $00000080
  59668. else
  59669. pTDefRegMap(@Self)^.&set := $00000080;
  59670. end;
  59671. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  59672. begin
  59673. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59674. end;
  59675. procedure TPORTD_ODCD.setODCD8; inline;
  59676. begin
  59677. pTDefRegMap(@Self)^.&set := $00000100;
  59678. end;
  59679. procedure TPORTD_ODCD.clearODCD8; inline;
  59680. begin
  59681. pTDefRegMap(@Self)^.clr := $00000100;
  59682. end;
  59683. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  59684. begin
  59685. if thebits = 0 then
  59686. pTDefRegMap(@Self)^.clr := $00000100
  59687. else
  59688. pTDefRegMap(@Self)^.&set := $00000100;
  59689. end;
  59690. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  59691. begin
  59692. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59693. end;
  59694. procedure TPORTD_ODCD.setODCD9; inline;
  59695. begin
  59696. pTDefRegMap(@Self)^.&set := $00000200;
  59697. end;
  59698. procedure TPORTD_ODCD.clearODCD9; inline;
  59699. begin
  59700. pTDefRegMap(@Self)^.clr := $00000200;
  59701. end;
  59702. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  59703. begin
  59704. if thebits = 0 then
  59705. pTDefRegMap(@Self)^.clr := $00000200
  59706. else
  59707. pTDefRegMap(@Self)^.&set := $00000200;
  59708. end;
  59709. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  59710. begin
  59711. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59712. end;
  59713. procedure TPORTD_ODCD.setODCD10; inline;
  59714. begin
  59715. pTDefRegMap(@Self)^.&set := $00000400;
  59716. end;
  59717. procedure TPORTD_ODCD.clearODCD10; inline;
  59718. begin
  59719. pTDefRegMap(@Self)^.clr := $00000400;
  59720. end;
  59721. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  59722. begin
  59723. if thebits = 0 then
  59724. pTDefRegMap(@Self)^.clr := $00000400
  59725. else
  59726. pTDefRegMap(@Self)^.&set := $00000400;
  59727. end;
  59728. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  59729. begin
  59730. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59731. end;
  59732. procedure TPORTD_ODCD.setODCD11; inline;
  59733. begin
  59734. pTDefRegMap(@Self)^.&set := $00000800;
  59735. end;
  59736. procedure TPORTD_ODCD.clearODCD11; inline;
  59737. begin
  59738. pTDefRegMap(@Self)^.clr := $00000800;
  59739. end;
  59740. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  59741. begin
  59742. if thebits = 0 then
  59743. pTDefRegMap(@Self)^.clr := $00000800
  59744. else
  59745. pTDefRegMap(@Self)^.&set := $00000800;
  59746. end;
  59747. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  59748. begin
  59749. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59750. end;
  59751. procedure TPORTD_ODCD.setODCD12; inline;
  59752. begin
  59753. pTDefRegMap(@Self)^.&set := $00001000;
  59754. end;
  59755. procedure TPORTD_ODCD.clearODCD12; inline;
  59756. begin
  59757. pTDefRegMap(@Self)^.clr := $00001000;
  59758. end;
  59759. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  59760. begin
  59761. if thebits = 0 then
  59762. pTDefRegMap(@Self)^.clr := $00001000
  59763. else
  59764. pTDefRegMap(@Self)^.&set := $00001000;
  59765. end;
  59766. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  59767. begin
  59768. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59769. end;
  59770. procedure TPORTD_ODCD.setODCD13; inline;
  59771. begin
  59772. pTDefRegMap(@Self)^.&set := $00002000;
  59773. end;
  59774. procedure TPORTD_ODCD.clearODCD13; inline;
  59775. begin
  59776. pTDefRegMap(@Self)^.clr := $00002000;
  59777. end;
  59778. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  59779. begin
  59780. if thebits = 0 then
  59781. pTDefRegMap(@Self)^.clr := $00002000
  59782. else
  59783. pTDefRegMap(@Self)^.&set := $00002000;
  59784. end;
  59785. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  59786. begin
  59787. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59788. end;
  59789. procedure TPORTD_ODCD.setODCD14; inline;
  59790. begin
  59791. pTDefRegMap(@Self)^.&set := $00004000;
  59792. end;
  59793. procedure TPORTD_ODCD.clearODCD14; inline;
  59794. begin
  59795. pTDefRegMap(@Self)^.clr := $00004000;
  59796. end;
  59797. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  59798. begin
  59799. if thebits = 0 then
  59800. pTDefRegMap(@Self)^.clr := $00004000
  59801. else
  59802. pTDefRegMap(@Self)^.&set := $00004000;
  59803. end;
  59804. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  59805. begin
  59806. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59807. end;
  59808. procedure TPORTD_ODCD.setODCD15; inline;
  59809. begin
  59810. pTDefRegMap(@Self)^.&set := $00008000;
  59811. end;
  59812. procedure TPORTD_ODCD.clearODCD15; inline;
  59813. begin
  59814. pTDefRegMap(@Self)^.clr := $00008000;
  59815. end;
  59816. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  59817. begin
  59818. if thebits = 0 then
  59819. pTDefRegMap(@Self)^.clr := $00008000
  59820. else
  59821. pTDefRegMap(@Self)^.&set := $00008000;
  59822. end;
  59823. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  59824. begin
  59825. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59826. end;
  59827. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  59828. begin
  59829. pTDefRegMap(@Self)^.val := thebits;
  59830. end;
  59831. function TPORTD_ODCD.getw : TBits_32; inline;
  59832. begin
  59833. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59834. end;
  59835. procedure TPORTE_TRISE.setTRISE0; inline;
  59836. begin
  59837. pTDefRegMap(@Self)^.&set := $00000001;
  59838. end;
  59839. procedure TPORTE_TRISE.clearTRISE0; inline;
  59840. begin
  59841. pTDefRegMap(@Self)^.clr := $00000001;
  59842. end;
  59843. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  59844. begin
  59845. if thebits = 0 then
  59846. pTDefRegMap(@Self)^.clr := $00000001
  59847. else
  59848. pTDefRegMap(@Self)^.&set := $00000001;
  59849. end;
  59850. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  59851. begin
  59852. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59853. end;
  59854. procedure TPORTE_TRISE.setTRISE1; inline;
  59855. begin
  59856. pTDefRegMap(@Self)^.&set := $00000002;
  59857. end;
  59858. procedure TPORTE_TRISE.clearTRISE1; inline;
  59859. begin
  59860. pTDefRegMap(@Self)^.clr := $00000002;
  59861. end;
  59862. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  59863. begin
  59864. if thebits = 0 then
  59865. pTDefRegMap(@Self)^.clr := $00000002
  59866. else
  59867. pTDefRegMap(@Self)^.&set := $00000002;
  59868. end;
  59869. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  59870. begin
  59871. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59872. end;
  59873. procedure TPORTE_TRISE.setTRISE2; inline;
  59874. begin
  59875. pTDefRegMap(@Self)^.&set := $00000004;
  59876. end;
  59877. procedure TPORTE_TRISE.clearTRISE2; inline;
  59878. begin
  59879. pTDefRegMap(@Self)^.clr := $00000004;
  59880. end;
  59881. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  59882. begin
  59883. if thebits = 0 then
  59884. pTDefRegMap(@Self)^.clr := $00000004
  59885. else
  59886. pTDefRegMap(@Self)^.&set := $00000004;
  59887. end;
  59888. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  59889. begin
  59890. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59891. end;
  59892. procedure TPORTE_TRISE.setTRISE3; inline;
  59893. begin
  59894. pTDefRegMap(@Self)^.&set := $00000008;
  59895. end;
  59896. procedure TPORTE_TRISE.clearTRISE3; inline;
  59897. begin
  59898. pTDefRegMap(@Self)^.clr := $00000008;
  59899. end;
  59900. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  59901. begin
  59902. if thebits = 0 then
  59903. pTDefRegMap(@Self)^.clr := $00000008
  59904. else
  59905. pTDefRegMap(@Self)^.&set := $00000008;
  59906. end;
  59907. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  59908. begin
  59909. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59910. end;
  59911. procedure TPORTE_TRISE.setTRISE4; inline;
  59912. begin
  59913. pTDefRegMap(@Self)^.&set := $00000010;
  59914. end;
  59915. procedure TPORTE_TRISE.clearTRISE4; inline;
  59916. begin
  59917. pTDefRegMap(@Self)^.clr := $00000010;
  59918. end;
  59919. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  59920. begin
  59921. if thebits = 0 then
  59922. pTDefRegMap(@Self)^.clr := $00000010
  59923. else
  59924. pTDefRegMap(@Self)^.&set := $00000010;
  59925. end;
  59926. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  59927. begin
  59928. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59929. end;
  59930. procedure TPORTE_TRISE.setTRISE5; inline;
  59931. begin
  59932. pTDefRegMap(@Self)^.&set := $00000020;
  59933. end;
  59934. procedure TPORTE_TRISE.clearTRISE5; inline;
  59935. begin
  59936. pTDefRegMap(@Self)^.clr := $00000020;
  59937. end;
  59938. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  59939. begin
  59940. if thebits = 0 then
  59941. pTDefRegMap(@Self)^.clr := $00000020
  59942. else
  59943. pTDefRegMap(@Self)^.&set := $00000020;
  59944. end;
  59945. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  59946. begin
  59947. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59948. end;
  59949. procedure TPORTE_TRISE.setTRISE6; inline;
  59950. begin
  59951. pTDefRegMap(@Self)^.&set := $00000040;
  59952. end;
  59953. procedure TPORTE_TRISE.clearTRISE6; inline;
  59954. begin
  59955. pTDefRegMap(@Self)^.clr := $00000040;
  59956. end;
  59957. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  59958. begin
  59959. if thebits = 0 then
  59960. pTDefRegMap(@Self)^.clr := $00000040
  59961. else
  59962. pTDefRegMap(@Self)^.&set := $00000040;
  59963. end;
  59964. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  59965. begin
  59966. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59967. end;
  59968. procedure TPORTE_TRISE.setTRISE7; inline;
  59969. begin
  59970. pTDefRegMap(@Self)^.&set := $00000080;
  59971. end;
  59972. procedure TPORTE_TRISE.clearTRISE7; inline;
  59973. begin
  59974. pTDefRegMap(@Self)^.clr := $00000080;
  59975. end;
  59976. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  59977. begin
  59978. if thebits = 0 then
  59979. pTDefRegMap(@Self)^.clr := $00000080
  59980. else
  59981. pTDefRegMap(@Self)^.&set := $00000080;
  59982. end;
  59983. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  59984. begin
  59985. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59986. end;
  59987. procedure TPORTE_TRISE.setTRISE8; inline;
  59988. begin
  59989. pTDefRegMap(@Self)^.&set := $00000100;
  59990. end;
  59991. procedure TPORTE_TRISE.clearTRISE8; inline;
  59992. begin
  59993. pTDefRegMap(@Self)^.clr := $00000100;
  59994. end;
  59995. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  59996. begin
  59997. if thebits = 0 then
  59998. pTDefRegMap(@Self)^.clr := $00000100
  59999. else
  60000. pTDefRegMap(@Self)^.&set := $00000100;
  60001. end;
  60002. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  60003. begin
  60004. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60005. end;
  60006. procedure TPORTE_TRISE.setTRISE9; inline;
  60007. begin
  60008. pTDefRegMap(@Self)^.&set := $00000200;
  60009. end;
  60010. procedure TPORTE_TRISE.clearTRISE9; inline;
  60011. begin
  60012. pTDefRegMap(@Self)^.clr := $00000200;
  60013. end;
  60014. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  60015. begin
  60016. if thebits = 0 then
  60017. pTDefRegMap(@Self)^.clr := $00000200
  60018. else
  60019. pTDefRegMap(@Self)^.&set := $00000200;
  60020. end;
  60021. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  60022. begin
  60023. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60024. end;
  60025. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  60026. begin
  60027. pTDefRegMap(@Self)^.val := thebits;
  60028. end;
  60029. function TPORTE_TRISE.getw : TBits_32; inline;
  60030. begin
  60031. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60032. end;
  60033. procedure TPORTE_PORTE.setRE0; inline;
  60034. begin
  60035. pTDefRegMap(@Self)^.&set := $00000001;
  60036. end;
  60037. procedure TPORTE_PORTE.clearRE0; inline;
  60038. begin
  60039. pTDefRegMap(@Self)^.clr := $00000001;
  60040. end;
  60041. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  60042. begin
  60043. if thebits = 0 then
  60044. pTDefRegMap(@Self)^.clr := $00000001
  60045. else
  60046. pTDefRegMap(@Self)^.&set := $00000001;
  60047. end;
  60048. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  60049. begin
  60050. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60051. end;
  60052. procedure TPORTE_PORTE.setRE1; inline;
  60053. begin
  60054. pTDefRegMap(@Self)^.&set := $00000002;
  60055. end;
  60056. procedure TPORTE_PORTE.clearRE1; inline;
  60057. begin
  60058. pTDefRegMap(@Self)^.clr := $00000002;
  60059. end;
  60060. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  60061. begin
  60062. if thebits = 0 then
  60063. pTDefRegMap(@Self)^.clr := $00000002
  60064. else
  60065. pTDefRegMap(@Self)^.&set := $00000002;
  60066. end;
  60067. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  60068. begin
  60069. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60070. end;
  60071. procedure TPORTE_PORTE.setRE2; inline;
  60072. begin
  60073. pTDefRegMap(@Self)^.&set := $00000004;
  60074. end;
  60075. procedure TPORTE_PORTE.clearRE2; inline;
  60076. begin
  60077. pTDefRegMap(@Self)^.clr := $00000004;
  60078. end;
  60079. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  60080. begin
  60081. if thebits = 0 then
  60082. pTDefRegMap(@Self)^.clr := $00000004
  60083. else
  60084. pTDefRegMap(@Self)^.&set := $00000004;
  60085. end;
  60086. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  60087. begin
  60088. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60089. end;
  60090. procedure TPORTE_PORTE.setRE3; inline;
  60091. begin
  60092. pTDefRegMap(@Self)^.&set := $00000008;
  60093. end;
  60094. procedure TPORTE_PORTE.clearRE3; inline;
  60095. begin
  60096. pTDefRegMap(@Self)^.clr := $00000008;
  60097. end;
  60098. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  60099. begin
  60100. if thebits = 0 then
  60101. pTDefRegMap(@Self)^.clr := $00000008
  60102. else
  60103. pTDefRegMap(@Self)^.&set := $00000008;
  60104. end;
  60105. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  60106. begin
  60107. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60108. end;
  60109. procedure TPORTE_PORTE.setRE4; inline;
  60110. begin
  60111. pTDefRegMap(@Self)^.&set := $00000010;
  60112. end;
  60113. procedure TPORTE_PORTE.clearRE4; inline;
  60114. begin
  60115. pTDefRegMap(@Self)^.clr := $00000010;
  60116. end;
  60117. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  60118. begin
  60119. if thebits = 0 then
  60120. pTDefRegMap(@Self)^.clr := $00000010
  60121. else
  60122. pTDefRegMap(@Self)^.&set := $00000010;
  60123. end;
  60124. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  60125. begin
  60126. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60127. end;
  60128. procedure TPORTE_PORTE.setRE5; inline;
  60129. begin
  60130. pTDefRegMap(@Self)^.&set := $00000020;
  60131. end;
  60132. procedure TPORTE_PORTE.clearRE5; inline;
  60133. begin
  60134. pTDefRegMap(@Self)^.clr := $00000020;
  60135. end;
  60136. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  60137. begin
  60138. if thebits = 0 then
  60139. pTDefRegMap(@Self)^.clr := $00000020
  60140. else
  60141. pTDefRegMap(@Self)^.&set := $00000020;
  60142. end;
  60143. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  60144. begin
  60145. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60146. end;
  60147. procedure TPORTE_PORTE.setRE6; inline;
  60148. begin
  60149. pTDefRegMap(@Self)^.&set := $00000040;
  60150. end;
  60151. procedure TPORTE_PORTE.clearRE6; inline;
  60152. begin
  60153. pTDefRegMap(@Self)^.clr := $00000040;
  60154. end;
  60155. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  60156. begin
  60157. if thebits = 0 then
  60158. pTDefRegMap(@Self)^.clr := $00000040
  60159. else
  60160. pTDefRegMap(@Self)^.&set := $00000040;
  60161. end;
  60162. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  60163. begin
  60164. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60165. end;
  60166. procedure TPORTE_PORTE.setRE7; inline;
  60167. begin
  60168. pTDefRegMap(@Self)^.&set := $00000080;
  60169. end;
  60170. procedure TPORTE_PORTE.clearRE7; inline;
  60171. begin
  60172. pTDefRegMap(@Self)^.clr := $00000080;
  60173. end;
  60174. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  60175. begin
  60176. if thebits = 0 then
  60177. pTDefRegMap(@Self)^.clr := $00000080
  60178. else
  60179. pTDefRegMap(@Self)^.&set := $00000080;
  60180. end;
  60181. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  60182. begin
  60183. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60184. end;
  60185. procedure TPORTE_PORTE.setRE8; inline;
  60186. begin
  60187. pTDefRegMap(@Self)^.&set := $00000100;
  60188. end;
  60189. procedure TPORTE_PORTE.clearRE8; inline;
  60190. begin
  60191. pTDefRegMap(@Self)^.clr := $00000100;
  60192. end;
  60193. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  60194. begin
  60195. if thebits = 0 then
  60196. pTDefRegMap(@Self)^.clr := $00000100
  60197. else
  60198. pTDefRegMap(@Self)^.&set := $00000100;
  60199. end;
  60200. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  60201. begin
  60202. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60203. end;
  60204. procedure TPORTE_PORTE.setRE9; inline;
  60205. begin
  60206. pTDefRegMap(@Self)^.&set := $00000200;
  60207. end;
  60208. procedure TPORTE_PORTE.clearRE9; inline;
  60209. begin
  60210. pTDefRegMap(@Self)^.clr := $00000200;
  60211. end;
  60212. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  60213. begin
  60214. if thebits = 0 then
  60215. pTDefRegMap(@Self)^.clr := $00000200
  60216. else
  60217. pTDefRegMap(@Self)^.&set := $00000200;
  60218. end;
  60219. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  60220. begin
  60221. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60222. end;
  60223. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  60224. begin
  60225. pTDefRegMap(@Self)^.val := thebits;
  60226. end;
  60227. function TPORTE_PORTE.getw : TBits_32; inline;
  60228. begin
  60229. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60230. end;
  60231. procedure TPORTE_LATE.setLATE0; inline;
  60232. begin
  60233. pTDefRegMap(@Self)^.&set := $00000001;
  60234. end;
  60235. procedure TPORTE_LATE.clearLATE0; inline;
  60236. begin
  60237. pTDefRegMap(@Self)^.clr := $00000001;
  60238. end;
  60239. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  60240. begin
  60241. if thebits = 0 then
  60242. pTDefRegMap(@Self)^.clr := $00000001
  60243. else
  60244. pTDefRegMap(@Self)^.&set := $00000001;
  60245. end;
  60246. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  60247. begin
  60248. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60249. end;
  60250. procedure TPORTE_LATE.setLATE1; inline;
  60251. begin
  60252. pTDefRegMap(@Self)^.&set := $00000002;
  60253. end;
  60254. procedure TPORTE_LATE.clearLATE1; inline;
  60255. begin
  60256. pTDefRegMap(@Self)^.clr := $00000002;
  60257. end;
  60258. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  60259. begin
  60260. if thebits = 0 then
  60261. pTDefRegMap(@Self)^.clr := $00000002
  60262. else
  60263. pTDefRegMap(@Self)^.&set := $00000002;
  60264. end;
  60265. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  60266. begin
  60267. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60268. end;
  60269. procedure TPORTE_LATE.setLATE2; inline;
  60270. begin
  60271. pTDefRegMap(@Self)^.&set := $00000004;
  60272. end;
  60273. procedure TPORTE_LATE.clearLATE2; inline;
  60274. begin
  60275. pTDefRegMap(@Self)^.clr := $00000004;
  60276. end;
  60277. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  60278. begin
  60279. if thebits = 0 then
  60280. pTDefRegMap(@Self)^.clr := $00000004
  60281. else
  60282. pTDefRegMap(@Self)^.&set := $00000004;
  60283. end;
  60284. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  60285. begin
  60286. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60287. end;
  60288. procedure TPORTE_LATE.setLATE3; inline;
  60289. begin
  60290. pTDefRegMap(@Self)^.&set := $00000008;
  60291. end;
  60292. procedure TPORTE_LATE.clearLATE3; inline;
  60293. begin
  60294. pTDefRegMap(@Self)^.clr := $00000008;
  60295. end;
  60296. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  60297. begin
  60298. if thebits = 0 then
  60299. pTDefRegMap(@Self)^.clr := $00000008
  60300. else
  60301. pTDefRegMap(@Self)^.&set := $00000008;
  60302. end;
  60303. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  60304. begin
  60305. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60306. end;
  60307. procedure TPORTE_LATE.setLATE4; inline;
  60308. begin
  60309. pTDefRegMap(@Self)^.&set := $00000010;
  60310. end;
  60311. procedure TPORTE_LATE.clearLATE4; inline;
  60312. begin
  60313. pTDefRegMap(@Self)^.clr := $00000010;
  60314. end;
  60315. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  60316. begin
  60317. if thebits = 0 then
  60318. pTDefRegMap(@Self)^.clr := $00000010
  60319. else
  60320. pTDefRegMap(@Self)^.&set := $00000010;
  60321. end;
  60322. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  60323. begin
  60324. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60325. end;
  60326. procedure TPORTE_LATE.setLATE5; inline;
  60327. begin
  60328. pTDefRegMap(@Self)^.&set := $00000020;
  60329. end;
  60330. procedure TPORTE_LATE.clearLATE5; inline;
  60331. begin
  60332. pTDefRegMap(@Self)^.clr := $00000020;
  60333. end;
  60334. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  60335. begin
  60336. if thebits = 0 then
  60337. pTDefRegMap(@Self)^.clr := $00000020
  60338. else
  60339. pTDefRegMap(@Self)^.&set := $00000020;
  60340. end;
  60341. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  60342. begin
  60343. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60344. end;
  60345. procedure TPORTE_LATE.setLATE6; inline;
  60346. begin
  60347. pTDefRegMap(@Self)^.&set := $00000040;
  60348. end;
  60349. procedure TPORTE_LATE.clearLATE6; inline;
  60350. begin
  60351. pTDefRegMap(@Self)^.clr := $00000040;
  60352. end;
  60353. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  60354. begin
  60355. if thebits = 0 then
  60356. pTDefRegMap(@Self)^.clr := $00000040
  60357. else
  60358. pTDefRegMap(@Self)^.&set := $00000040;
  60359. end;
  60360. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  60361. begin
  60362. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60363. end;
  60364. procedure TPORTE_LATE.setLATE7; inline;
  60365. begin
  60366. pTDefRegMap(@Self)^.&set := $00000080;
  60367. end;
  60368. procedure TPORTE_LATE.clearLATE7; inline;
  60369. begin
  60370. pTDefRegMap(@Self)^.clr := $00000080;
  60371. end;
  60372. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  60373. begin
  60374. if thebits = 0 then
  60375. pTDefRegMap(@Self)^.clr := $00000080
  60376. else
  60377. pTDefRegMap(@Self)^.&set := $00000080;
  60378. end;
  60379. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  60380. begin
  60381. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60382. end;
  60383. procedure TPORTE_LATE.setLATE8; inline;
  60384. begin
  60385. pTDefRegMap(@Self)^.&set := $00000100;
  60386. end;
  60387. procedure TPORTE_LATE.clearLATE8; inline;
  60388. begin
  60389. pTDefRegMap(@Self)^.clr := $00000100;
  60390. end;
  60391. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  60392. begin
  60393. if thebits = 0 then
  60394. pTDefRegMap(@Self)^.clr := $00000100
  60395. else
  60396. pTDefRegMap(@Self)^.&set := $00000100;
  60397. end;
  60398. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  60399. begin
  60400. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60401. end;
  60402. procedure TPORTE_LATE.setLATE9; inline;
  60403. begin
  60404. pTDefRegMap(@Self)^.&set := $00000200;
  60405. end;
  60406. procedure TPORTE_LATE.clearLATE9; inline;
  60407. begin
  60408. pTDefRegMap(@Self)^.clr := $00000200;
  60409. end;
  60410. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  60411. begin
  60412. if thebits = 0 then
  60413. pTDefRegMap(@Self)^.clr := $00000200
  60414. else
  60415. pTDefRegMap(@Self)^.&set := $00000200;
  60416. end;
  60417. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  60418. begin
  60419. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60420. end;
  60421. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  60422. begin
  60423. pTDefRegMap(@Self)^.val := thebits;
  60424. end;
  60425. function TPORTE_LATE.getw : TBits_32; inline;
  60426. begin
  60427. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60428. end;
  60429. procedure TPORTE_ODCE.setODCE0; inline;
  60430. begin
  60431. pTDefRegMap(@Self)^.&set := $00000001;
  60432. end;
  60433. procedure TPORTE_ODCE.clearODCE0; inline;
  60434. begin
  60435. pTDefRegMap(@Self)^.clr := $00000001;
  60436. end;
  60437. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  60438. begin
  60439. if thebits = 0 then
  60440. pTDefRegMap(@Self)^.clr := $00000001
  60441. else
  60442. pTDefRegMap(@Self)^.&set := $00000001;
  60443. end;
  60444. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  60445. begin
  60446. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60447. end;
  60448. procedure TPORTE_ODCE.setODCE1; inline;
  60449. begin
  60450. pTDefRegMap(@Self)^.&set := $00000002;
  60451. end;
  60452. procedure TPORTE_ODCE.clearODCE1; inline;
  60453. begin
  60454. pTDefRegMap(@Self)^.clr := $00000002;
  60455. end;
  60456. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  60457. begin
  60458. if thebits = 0 then
  60459. pTDefRegMap(@Self)^.clr := $00000002
  60460. else
  60461. pTDefRegMap(@Self)^.&set := $00000002;
  60462. end;
  60463. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  60464. begin
  60465. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60466. end;
  60467. procedure TPORTE_ODCE.setODCE2; inline;
  60468. begin
  60469. pTDefRegMap(@Self)^.&set := $00000004;
  60470. end;
  60471. procedure TPORTE_ODCE.clearODCE2; inline;
  60472. begin
  60473. pTDefRegMap(@Self)^.clr := $00000004;
  60474. end;
  60475. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  60476. begin
  60477. if thebits = 0 then
  60478. pTDefRegMap(@Self)^.clr := $00000004
  60479. else
  60480. pTDefRegMap(@Self)^.&set := $00000004;
  60481. end;
  60482. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  60483. begin
  60484. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60485. end;
  60486. procedure TPORTE_ODCE.setODCE3; inline;
  60487. begin
  60488. pTDefRegMap(@Self)^.&set := $00000008;
  60489. end;
  60490. procedure TPORTE_ODCE.clearODCE3; inline;
  60491. begin
  60492. pTDefRegMap(@Self)^.clr := $00000008;
  60493. end;
  60494. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  60495. begin
  60496. if thebits = 0 then
  60497. pTDefRegMap(@Self)^.clr := $00000008
  60498. else
  60499. pTDefRegMap(@Self)^.&set := $00000008;
  60500. end;
  60501. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  60502. begin
  60503. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60504. end;
  60505. procedure TPORTE_ODCE.setODCE4; inline;
  60506. begin
  60507. pTDefRegMap(@Self)^.&set := $00000010;
  60508. end;
  60509. procedure TPORTE_ODCE.clearODCE4; inline;
  60510. begin
  60511. pTDefRegMap(@Self)^.clr := $00000010;
  60512. end;
  60513. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  60514. begin
  60515. if thebits = 0 then
  60516. pTDefRegMap(@Self)^.clr := $00000010
  60517. else
  60518. pTDefRegMap(@Self)^.&set := $00000010;
  60519. end;
  60520. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  60521. begin
  60522. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60523. end;
  60524. procedure TPORTE_ODCE.setODCE5; inline;
  60525. begin
  60526. pTDefRegMap(@Self)^.&set := $00000020;
  60527. end;
  60528. procedure TPORTE_ODCE.clearODCE5; inline;
  60529. begin
  60530. pTDefRegMap(@Self)^.clr := $00000020;
  60531. end;
  60532. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  60533. begin
  60534. if thebits = 0 then
  60535. pTDefRegMap(@Self)^.clr := $00000020
  60536. else
  60537. pTDefRegMap(@Self)^.&set := $00000020;
  60538. end;
  60539. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  60540. begin
  60541. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60542. end;
  60543. procedure TPORTE_ODCE.setODCE6; inline;
  60544. begin
  60545. pTDefRegMap(@Self)^.&set := $00000040;
  60546. end;
  60547. procedure TPORTE_ODCE.clearODCE6; inline;
  60548. begin
  60549. pTDefRegMap(@Self)^.clr := $00000040;
  60550. end;
  60551. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  60552. begin
  60553. if thebits = 0 then
  60554. pTDefRegMap(@Self)^.clr := $00000040
  60555. else
  60556. pTDefRegMap(@Self)^.&set := $00000040;
  60557. end;
  60558. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  60559. begin
  60560. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60561. end;
  60562. procedure TPORTE_ODCE.setODCE7; inline;
  60563. begin
  60564. pTDefRegMap(@Self)^.&set := $00000080;
  60565. end;
  60566. procedure TPORTE_ODCE.clearODCE7; inline;
  60567. begin
  60568. pTDefRegMap(@Self)^.clr := $00000080;
  60569. end;
  60570. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  60571. begin
  60572. if thebits = 0 then
  60573. pTDefRegMap(@Self)^.clr := $00000080
  60574. else
  60575. pTDefRegMap(@Self)^.&set := $00000080;
  60576. end;
  60577. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  60578. begin
  60579. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60580. end;
  60581. procedure TPORTE_ODCE.setODCE8; inline;
  60582. begin
  60583. pTDefRegMap(@Self)^.&set := $00000100;
  60584. end;
  60585. procedure TPORTE_ODCE.clearODCE8; inline;
  60586. begin
  60587. pTDefRegMap(@Self)^.clr := $00000100;
  60588. end;
  60589. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  60590. begin
  60591. if thebits = 0 then
  60592. pTDefRegMap(@Self)^.clr := $00000100
  60593. else
  60594. pTDefRegMap(@Self)^.&set := $00000100;
  60595. end;
  60596. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  60597. begin
  60598. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60599. end;
  60600. procedure TPORTE_ODCE.setODCE9; inline;
  60601. begin
  60602. pTDefRegMap(@Self)^.&set := $00000200;
  60603. end;
  60604. procedure TPORTE_ODCE.clearODCE9; inline;
  60605. begin
  60606. pTDefRegMap(@Self)^.clr := $00000200;
  60607. end;
  60608. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  60609. begin
  60610. if thebits = 0 then
  60611. pTDefRegMap(@Self)^.clr := $00000200
  60612. else
  60613. pTDefRegMap(@Self)^.&set := $00000200;
  60614. end;
  60615. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  60616. begin
  60617. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60618. end;
  60619. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  60620. begin
  60621. pTDefRegMap(@Self)^.val := thebits;
  60622. end;
  60623. function TPORTE_ODCE.getw : TBits_32; inline;
  60624. begin
  60625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60626. end;
  60627. procedure TPORTF_TRISF.setTRISF0; inline;
  60628. begin
  60629. pTDefRegMap(@Self)^.&set := $00000001;
  60630. end;
  60631. procedure TPORTF_TRISF.clearTRISF0; inline;
  60632. begin
  60633. pTDefRegMap(@Self)^.clr := $00000001;
  60634. end;
  60635. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  60636. begin
  60637. if thebits = 0 then
  60638. pTDefRegMap(@Self)^.clr := $00000001
  60639. else
  60640. pTDefRegMap(@Self)^.&set := $00000001;
  60641. end;
  60642. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  60643. begin
  60644. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60645. end;
  60646. procedure TPORTF_TRISF.setTRISF1; inline;
  60647. begin
  60648. pTDefRegMap(@Self)^.&set := $00000002;
  60649. end;
  60650. procedure TPORTF_TRISF.clearTRISF1; inline;
  60651. begin
  60652. pTDefRegMap(@Self)^.clr := $00000002;
  60653. end;
  60654. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  60655. begin
  60656. if thebits = 0 then
  60657. pTDefRegMap(@Self)^.clr := $00000002
  60658. else
  60659. pTDefRegMap(@Self)^.&set := $00000002;
  60660. end;
  60661. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  60662. begin
  60663. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60664. end;
  60665. procedure TPORTF_TRISF.setTRISF2; inline;
  60666. begin
  60667. pTDefRegMap(@Self)^.&set := $00000004;
  60668. end;
  60669. procedure TPORTF_TRISF.clearTRISF2; inline;
  60670. begin
  60671. pTDefRegMap(@Self)^.clr := $00000004;
  60672. end;
  60673. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  60674. begin
  60675. if thebits = 0 then
  60676. pTDefRegMap(@Self)^.clr := $00000004
  60677. else
  60678. pTDefRegMap(@Self)^.&set := $00000004;
  60679. end;
  60680. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  60681. begin
  60682. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60683. end;
  60684. procedure TPORTF_TRISF.setTRISF3; inline;
  60685. begin
  60686. pTDefRegMap(@Self)^.&set := $00000008;
  60687. end;
  60688. procedure TPORTF_TRISF.clearTRISF3; inline;
  60689. begin
  60690. pTDefRegMap(@Self)^.clr := $00000008;
  60691. end;
  60692. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  60693. begin
  60694. if thebits = 0 then
  60695. pTDefRegMap(@Self)^.clr := $00000008
  60696. else
  60697. pTDefRegMap(@Self)^.&set := $00000008;
  60698. end;
  60699. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  60700. begin
  60701. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60702. end;
  60703. procedure TPORTF_TRISF.setTRISF4; inline;
  60704. begin
  60705. pTDefRegMap(@Self)^.&set := $00000010;
  60706. end;
  60707. procedure TPORTF_TRISF.clearTRISF4; inline;
  60708. begin
  60709. pTDefRegMap(@Self)^.clr := $00000010;
  60710. end;
  60711. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  60712. begin
  60713. if thebits = 0 then
  60714. pTDefRegMap(@Self)^.clr := $00000010
  60715. else
  60716. pTDefRegMap(@Self)^.&set := $00000010;
  60717. end;
  60718. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  60719. begin
  60720. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60721. end;
  60722. procedure TPORTF_TRISF.setTRISF5; inline;
  60723. begin
  60724. pTDefRegMap(@Self)^.&set := $00000020;
  60725. end;
  60726. procedure TPORTF_TRISF.clearTRISF5; inline;
  60727. begin
  60728. pTDefRegMap(@Self)^.clr := $00000020;
  60729. end;
  60730. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  60731. begin
  60732. if thebits = 0 then
  60733. pTDefRegMap(@Self)^.clr := $00000020
  60734. else
  60735. pTDefRegMap(@Self)^.&set := $00000020;
  60736. end;
  60737. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  60738. begin
  60739. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60740. end;
  60741. procedure TPORTF_TRISF.setTRISF8; inline;
  60742. begin
  60743. pTDefRegMap(@Self)^.&set := $00000100;
  60744. end;
  60745. procedure TPORTF_TRISF.clearTRISF8; inline;
  60746. begin
  60747. pTDefRegMap(@Self)^.clr := $00000100;
  60748. end;
  60749. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  60750. begin
  60751. if thebits = 0 then
  60752. pTDefRegMap(@Self)^.clr := $00000100
  60753. else
  60754. pTDefRegMap(@Self)^.&set := $00000100;
  60755. end;
  60756. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  60757. begin
  60758. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60759. end;
  60760. procedure TPORTF_TRISF.setTRISF12; inline;
  60761. begin
  60762. pTDefRegMap(@Self)^.&set := $00001000;
  60763. end;
  60764. procedure TPORTF_TRISF.clearTRISF12; inline;
  60765. begin
  60766. pTDefRegMap(@Self)^.clr := $00001000;
  60767. end;
  60768. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  60769. begin
  60770. if thebits = 0 then
  60771. pTDefRegMap(@Self)^.clr := $00001000
  60772. else
  60773. pTDefRegMap(@Self)^.&set := $00001000;
  60774. end;
  60775. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  60776. begin
  60777. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  60778. end;
  60779. procedure TPORTF_TRISF.setTRISF13; inline;
  60780. begin
  60781. pTDefRegMap(@Self)^.&set := $00002000;
  60782. end;
  60783. procedure TPORTF_TRISF.clearTRISF13; inline;
  60784. begin
  60785. pTDefRegMap(@Self)^.clr := $00002000;
  60786. end;
  60787. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  60788. begin
  60789. if thebits = 0 then
  60790. pTDefRegMap(@Self)^.clr := $00002000
  60791. else
  60792. pTDefRegMap(@Self)^.&set := $00002000;
  60793. end;
  60794. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  60795. begin
  60796. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60797. end;
  60798. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  60799. begin
  60800. pTDefRegMap(@Self)^.val := thebits;
  60801. end;
  60802. function TPORTF_TRISF.getw : TBits_32; inline;
  60803. begin
  60804. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60805. end;
  60806. procedure TPORTF_PORTF.setRF0; inline;
  60807. begin
  60808. pTDefRegMap(@Self)^.&set := $00000001;
  60809. end;
  60810. procedure TPORTF_PORTF.clearRF0; inline;
  60811. begin
  60812. pTDefRegMap(@Self)^.clr := $00000001;
  60813. end;
  60814. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  60815. begin
  60816. if thebits = 0 then
  60817. pTDefRegMap(@Self)^.clr := $00000001
  60818. else
  60819. pTDefRegMap(@Self)^.&set := $00000001;
  60820. end;
  60821. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  60822. begin
  60823. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60824. end;
  60825. procedure TPORTF_PORTF.setRF1; inline;
  60826. begin
  60827. pTDefRegMap(@Self)^.&set := $00000002;
  60828. end;
  60829. procedure TPORTF_PORTF.clearRF1; inline;
  60830. begin
  60831. pTDefRegMap(@Self)^.clr := $00000002;
  60832. end;
  60833. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  60834. begin
  60835. if thebits = 0 then
  60836. pTDefRegMap(@Self)^.clr := $00000002
  60837. else
  60838. pTDefRegMap(@Self)^.&set := $00000002;
  60839. end;
  60840. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  60841. begin
  60842. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60843. end;
  60844. procedure TPORTF_PORTF.setRF2; inline;
  60845. begin
  60846. pTDefRegMap(@Self)^.&set := $00000004;
  60847. end;
  60848. procedure TPORTF_PORTF.clearRF2; inline;
  60849. begin
  60850. pTDefRegMap(@Self)^.clr := $00000004;
  60851. end;
  60852. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  60853. begin
  60854. if thebits = 0 then
  60855. pTDefRegMap(@Self)^.clr := $00000004
  60856. else
  60857. pTDefRegMap(@Self)^.&set := $00000004;
  60858. end;
  60859. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  60860. begin
  60861. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60862. end;
  60863. procedure TPORTF_PORTF.setRF3; inline;
  60864. begin
  60865. pTDefRegMap(@Self)^.&set := $00000008;
  60866. end;
  60867. procedure TPORTF_PORTF.clearRF3; inline;
  60868. begin
  60869. pTDefRegMap(@Self)^.clr := $00000008;
  60870. end;
  60871. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  60872. begin
  60873. if thebits = 0 then
  60874. pTDefRegMap(@Self)^.clr := $00000008
  60875. else
  60876. pTDefRegMap(@Self)^.&set := $00000008;
  60877. end;
  60878. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  60879. begin
  60880. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60881. end;
  60882. procedure TPORTF_PORTF.setRF4; inline;
  60883. begin
  60884. pTDefRegMap(@Self)^.&set := $00000010;
  60885. end;
  60886. procedure TPORTF_PORTF.clearRF4; inline;
  60887. begin
  60888. pTDefRegMap(@Self)^.clr := $00000010;
  60889. end;
  60890. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  60891. begin
  60892. if thebits = 0 then
  60893. pTDefRegMap(@Self)^.clr := $00000010
  60894. else
  60895. pTDefRegMap(@Self)^.&set := $00000010;
  60896. end;
  60897. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  60898. begin
  60899. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60900. end;
  60901. procedure TPORTF_PORTF.setRF5; inline;
  60902. begin
  60903. pTDefRegMap(@Self)^.&set := $00000020;
  60904. end;
  60905. procedure TPORTF_PORTF.clearRF5; inline;
  60906. begin
  60907. pTDefRegMap(@Self)^.clr := $00000020;
  60908. end;
  60909. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  60910. begin
  60911. if thebits = 0 then
  60912. pTDefRegMap(@Self)^.clr := $00000020
  60913. else
  60914. pTDefRegMap(@Self)^.&set := $00000020;
  60915. end;
  60916. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  60917. begin
  60918. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60919. end;
  60920. procedure TPORTF_PORTF.setRF8; inline;
  60921. begin
  60922. pTDefRegMap(@Self)^.&set := $00000100;
  60923. end;
  60924. procedure TPORTF_PORTF.clearRF8; inline;
  60925. begin
  60926. pTDefRegMap(@Self)^.clr := $00000100;
  60927. end;
  60928. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  60929. begin
  60930. if thebits = 0 then
  60931. pTDefRegMap(@Self)^.clr := $00000100
  60932. else
  60933. pTDefRegMap(@Self)^.&set := $00000100;
  60934. end;
  60935. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  60936. begin
  60937. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60938. end;
  60939. procedure TPORTF_PORTF.setRF12; inline;
  60940. begin
  60941. pTDefRegMap(@Self)^.&set := $00001000;
  60942. end;
  60943. procedure TPORTF_PORTF.clearRF12; inline;
  60944. begin
  60945. pTDefRegMap(@Self)^.clr := $00001000;
  60946. end;
  60947. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  60948. begin
  60949. if thebits = 0 then
  60950. pTDefRegMap(@Self)^.clr := $00001000
  60951. else
  60952. pTDefRegMap(@Self)^.&set := $00001000;
  60953. end;
  60954. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  60955. begin
  60956. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  60957. end;
  60958. procedure TPORTF_PORTF.setRF13; inline;
  60959. begin
  60960. pTDefRegMap(@Self)^.&set := $00002000;
  60961. end;
  60962. procedure TPORTF_PORTF.clearRF13; inline;
  60963. begin
  60964. pTDefRegMap(@Self)^.clr := $00002000;
  60965. end;
  60966. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  60967. begin
  60968. if thebits = 0 then
  60969. pTDefRegMap(@Self)^.clr := $00002000
  60970. else
  60971. pTDefRegMap(@Self)^.&set := $00002000;
  60972. end;
  60973. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  60974. begin
  60975. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60976. end;
  60977. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  60978. begin
  60979. pTDefRegMap(@Self)^.val := thebits;
  60980. end;
  60981. function TPORTF_PORTF.getw : TBits_32; inline;
  60982. begin
  60983. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60984. end;
  60985. procedure TPORTF_LATF.setLATF0; inline;
  60986. begin
  60987. pTDefRegMap(@Self)^.&set := $00000001;
  60988. end;
  60989. procedure TPORTF_LATF.clearLATF0; inline;
  60990. begin
  60991. pTDefRegMap(@Self)^.clr := $00000001;
  60992. end;
  60993. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  60994. begin
  60995. if thebits = 0 then
  60996. pTDefRegMap(@Self)^.clr := $00000001
  60997. else
  60998. pTDefRegMap(@Self)^.&set := $00000001;
  60999. end;
  61000. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  61001. begin
  61002. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61003. end;
  61004. procedure TPORTF_LATF.setLATF1; inline;
  61005. begin
  61006. pTDefRegMap(@Self)^.&set := $00000002;
  61007. end;
  61008. procedure TPORTF_LATF.clearLATF1; inline;
  61009. begin
  61010. pTDefRegMap(@Self)^.clr := $00000002;
  61011. end;
  61012. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  61013. begin
  61014. if thebits = 0 then
  61015. pTDefRegMap(@Self)^.clr := $00000002
  61016. else
  61017. pTDefRegMap(@Self)^.&set := $00000002;
  61018. end;
  61019. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  61020. begin
  61021. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61022. end;
  61023. procedure TPORTF_LATF.setLATF2; inline;
  61024. begin
  61025. pTDefRegMap(@Self)^.&set := $00000004;
  61026. end;
  61027. procedure TPORTF_LATF.clearLATF2; inline;
  61028. begin
  61029. pTDefRegMap(@Self)^.clr := $00000004;
  61030. end;
  61031. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  61032. begin
  61033. if thebits = 0 then
  61034. pTDefRegMap(@Self)^.clr := $00000004
  61035. else
  61036. pTDefRegMap(@Self)^.&set := $00000004;
  61037. end;
  61038. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  61039. begin
  61040. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61041. end;
  61042. procedure TPORTF_LATF.setLATF3; inline;
  61043. begin
  61044. pTDefRegMap(@Self)^.&set := $00000008;
  61045. end;
  61046. procedure TPORTF_LATF.clearLATF3; inline;
  61047. begin
  61048. pTDefRegMap(@Self)^.clr := $00000008;
  61049. end;
  61050. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  61051. begin
  61052. if thebits = 0 then
  61053. pTDefRegMap(@Self)^.clr := $00000008
  61054. else
  61055. pTDefRegMap(@Self)^.&set := $00000008;
  61056. end;
  61057. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  61058. begin
  61059. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61060. end;
  61061. procedure TPORTF_LATF.setLATF4; inline;
  61062. begin
  61063. pTDefRegMap(@Self)^.&set := $00000010;
  61064. end;
  61065. procedure TPORTF_LATF.clearLATF4; inline;
  61066. begin
  61067. pTDefRegMap(@Self)^.clr := $00000010;
  61068. end;
  61069. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  61070. begin
  61071. if thebits = 0 then
  61072. pTDefRegMap(@Self)^.clr := $00000010
  61073. else
  61074. pTDefRegMap(@Self)^.&set := $00000010;
  61075. end;
  61076. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  61077. begin
  61078. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61079. end;
  61080. procedure TPORTF_LATF.setLATF5; inline;
  61081. begin
  61082. pTDefRegMap(@Self)^.&set := $00000020;
  61083. end;
  61084. procedure TPORTF_LATF.clearLATF5; inline;
  61085. begin
  61086. pTDefRegMap(@Self)^.clr := $00000020;
  61087. end;
  61088. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  61089. begin
  61090. if thebits = 0 then
  61091. pTDefRegMap(@Self)^.clr := $00000020
  61092. else
  61093. pTDefRegMap(@Self)^.&set := $00000020;
  61094. end;
  61095. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  61096. begin
  61097. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61098. end;
  61099. procedure TPORTF_LATF.setLATF8; inline;
  61100. begin
  61101. pTDefRegMap(@Self)^.&set := $00000100;
  61102. end;
  61103. procedure TPORTF_LATF.clearLATF8; inline;
  61104. begin
  61105. pTDefRegMap(@Self)^.clr := $00000100;
  61106. end;
  61107. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  61108. begin
  61109. if thebits = 0 then
  61110. pTDefRegMap(@Self)^.clr := $00000100
  61111. else
  61112. pTDefRegMap(@Self)^.&set := $00000100;
  61113. end;
  61114. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  61115. begin
  61116. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61117. end;
  61118. procedure TPORTF_LATF.setLATF12; inline;
  61119. begin
  61120. pTDefRegMap(@Self)^.&set := $00001000;
  61121. end;
  61122. procedure TPORTF_LATF.clearLATF12; inline;
  61123. begin
  61124. pTDefRegMap(@Self)^.clr := $00001000;
  61125. end;
  61126. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  61127. begin
  61128. if thebits = 0 then
  61129. pTDefRegMap(@Self)^.clr := $00001000
  61130. else
  61131. pTDefRegMap(@Self)^.&set := $00001000;
  61132. end;
  61133. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  61134. begin
  61135. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61136. end;
  61137. procedure TPORTF_LATF.setLATF13; inline;
  61138. begin
  61139. pTDefRegMap(@Self)^.&set := $00002000;
  61140. end;
  61141. procedure TPORTF_LATF.clearLATF13; inline;
  61142. begin
  61143. pTDefRegMap(@Self)^.clr := $00002000;
  61144. end;
  61145. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  61146. begin
  61147. if thebits = 0 then
  61148. pTDefRegMap(@Self)^.clr := $00002000
  61149. else
  61150. pTDefRegMap(@Self)^.&set := $00002000;
  61151. end;
  61152. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  61153. begin
  61154. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61155. end;
  61156. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  61157. begin
  61158. pTDefRegMap(@Self)^.val := thebits;
  61159. end;
  61160. function TPORTF_LATF.getw : TBits_32; inline;
  61161. begin
  61162. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61163. end;
  61164. procedure TPORTF_ODCF.setODCF0; inline;
  61165. begin
  61166. pTDefRegMap(@Self)^.&set := $00000001;
  61167. end;
  61168. procedure TPORTF_ODCF.clearODCF0; inline;
  61169. begin
  61170. pTDefRegMap(@Self)^.clr := $00000001;
  61171. end;
  61172. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  61173. begin
  61174. if thebits = 0 then
  61175. pTDefRegMap(@Self)^.clr := $00000001
  61176. else
  61177. pTDefRegMap(@Self)^.&set := $00000001;
  61178. end;
  61179. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  61180. begin
  61181. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61182. end;
  61183. procedure TPORTF_ODCF.setODCF1; inline;
  61184. begin
  61185. pTDefRegMap(@Self)^.&set := $00000002;
  61186. end;
  61187. procedure TPORTF_ODCF.clearODCF1; inline;
  61188. begin
  61189. pTDefRegMap(@Self)^.clr := $00000002;
  61190. end;
  61191. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  61192. begin
  61193. if thebits = 0 then
  61194. pTDefRegMap(@Self)^.clr := $00000002
  61195. else
  61196. pTDefRegMap(@Self)^.&set := $00000002;
  61197. end;
  61198. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  61199. begin
  61200. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61201. end;
  61202. procedure TPORTF_ODCF.setODCF2; inline;
  61203. begin
  61204. pTDefRegMap(@Self)^.&set := $00000004;
  61205. end;
  61206. procedure TPORTF_ODCF.clearODCF2; inline;
  61207. begin
  61208. pTDefRegMap(@Self)^.clr := $00000004;
  61209. end;
  61210. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  61211. begin
  61212. if thebits = 0 then
  61213. pTDefRegMap(@Self)^.clr := $00000004
  61214. else
  61215. pTDefRegMap(@Self)^.&set := $00000004;
  61216. end;
  61217. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  61218. begin
  61219. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61220. end;
  61221. procedure TPORTF_ODCF.setODCF3; inline;
  61222. begin
  61223. pTDefRegMap(@Self)^.&set := $00000008;
  61224. end;
  61225. procedure TPORTF_ODCF.clearODCF3; inline;
  61226. begin
  61227. pTDefRegMap(@Self)^.clr := $00000008;
  61228. end;
  61229. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  61230. begin
  61231. if thebits = 0 then
  61232. pTDefRegMap(@Self)^.clr := $00000008
  61233. else
  61234. pTDefRegMap(@Self)^.&set := $00000008;
  61235. end;
  61236. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  61237. begin
  61238. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61239. end;
  61240. procedure TPORTF_ODCF.setODCF4; inline;
  61241. begin
  61242. pTDefRegMap(@Self)^.&set := $00000010;
  61243. end;
  61244. procedure TPORTF_ODCF.clearODCF4; inline;
  61245. begin
  61246. pTDefRegMap(@Self)^.clr := $00000010;
  61247. end;
  61248. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  61249. begin
  61250. if thebits = 0 then
  61251. pTDefRegMap(@Self)^.clr := $00000010
  61252. else
  61253. pTDefRegMap(@Self)^.&set := $00000010;
  61254. end;
  61255. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  61256. begin
  61257. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61258. end;
  61259. procedure TPORTF_ODCF.setODCF5; inline;
  61260. begin
  61261. pTDefRegMap(@Self)^.&set := $00000020;
  61262. end;
  61263. procedure TPORTF_ODCF.clearODCF5; inline;
  61264. begin
  61265. pTDefRegMap(@Self)^.clr := $00000020;
  61266. end;
  61267. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  61268. begin
  61269. if thebits = 0 then
  61270. pTDefRegMap(@Self)^.clr := $00000020
  61271. else
  61272. pTDefRegMap(@Self)^.&set := $00000020;
  61273. end;
  61274. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  61275. begin
  61276. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61277. end;
  61278. procedure TPORTF_ODCF.setODCF8; inline;
  61279. begin
  61280. pTDefRegMap(@Self)^.&set := $00000100;
  61281. end;
  61282. procedure TPORTF_ODCF.clearODCF8; inline;
  61283. begin
  61284. pTDefRegMap(@Self)^.clr := $00000100;
  61285. end;
  61286. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  61287. begin
  61288. if thebits = 0 then
  61289. pTDefRegMap(@Self)^.clr := $00000100
  61290. else
  61291. pTDefRegMap(@Self)^.&set := $00000100;
  61292. end;
  61293. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  61294. begin
  61295. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61296. end;
  61297. procedure TPORTF_ODCF.setODCF12; inline;
  61298. begin
  61299. pTDefRegMap(@Self)^.&set := $00001000;
  61300. end;
  61301. procedure TPORTF_ODCF.clearODCF12; inline;
  61302. begin
  61303. pTDefRegMap(@Self)^.clr := $00001000;
  61304. end;
  61305. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  61306. begin
  61307. if thebits = 0 then
  61308. pTDefRegMap(@Self)^.clr := $00001000
  61309. else
  61310. pTDefRegMap(@Self)^.&set := $00001000;
  61311. end;
  61312. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  61313. begin
  61314. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61315. end;
  61316. procedure TPORTF_ODCF.setODCF13; inline;
  61317. begin
  61318. pTDefRegMap(@Self)^.&set := $00002000;
  61319. end;
  61320. procedure TPORTF_ODCF.clearODCF13; inline;
  61321. begin
  61322. pTDefRegMap(@Self)^.clr := $00002000;
  61323. end;
  61324. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  61325. begin
  61326. if thebits = 0 then
  61327. pTDefRegMap(@Self)^.clr := $00002000
  61328. else
  61329. pTDefRegMap(@Self)^.&set := $00002000;
  61330. end;
  61331. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  61332. begin
  61333. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61334. end;
  61335. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  61336. begin
  61337. pTDefRegMap(@Self)^.val := thebits;
  61338. end;
  61339. function TPORTF_ODCF.getw : TBits_32; inline;
  61340. begin
  61341. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61342. end;
  61343. procedure TPORTG_TRISG.setTRISG0; inline;
  61344. begin
  61345. pTDefRegMap(@Self)^.&set := $00000001;
  61346. end;
  61347. procedure TPORTG_TRISG.clearTRISG0; inline;
  61348. begin
  61349. pTDefRegMap(@Self)^.clr := $00000001;
  61350. end;
  61351. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  61352. begin
  61353. if thebits = 0 then
  61354. pTDefRegMap(@Self)^.clr := $00000001
  61355. else
  61356. pTDefRegMap(@Self)^.&set := $00000001;
  61357. end;
  61358. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  61359. begin
  61360. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61361. end;
  61362. procedure TPORTG_TRISG.setTRISG1; inline;
  61363. begin
  61364. pTDefRegMap(@Self)^.&set := $00000002;
  61365. end;
  61366. procedure TPORTG_TRISG.clearTRISG1; inline;
  61367. begin
  61368. pTDefRegMap(@Self)^.clr := $00000002;
  61369. end;
  61370. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  61371. begin
  61372. if thebits = 0 then
  61373. pTDefRegMap(@Self)^.clr := $00000002
  61374. else
  61375. pTDefRegMap(@Self)^.&set := $00000002;
  61376. end;
  61377. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  61378. begin
  61379. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61380. end;
  61381. procedure TPORTG_TRISG.setTRISG2; inline;
  61382. begin
  61383. pTDefRegMap(@Self)^.&set := $00000004;
  61384. end;
  61385. procedure TPORTG_TRISG.clearTRISG2; inline;
  61386. begin
  61387. pTDefRegMap(@Self)^.clr := $00000004;
  61388. end;
  61389. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  61390. begin
  61391. if thebits = 0 then
  61392. pTDefRegMap(@Self)^.clr := $00000004
  61393. else
  61394. pTDefRegMap(@Self)^.&set := $00000004;
  61395. end;
  61396. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  61397. begin
  61398. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61399. end;
  61400. procedure TPORTG_TRISG.setTRISG3; inline;
  61401. begin
  61402. pTDefRegMap(@Self)^.&set := $00000008;
  61403. end;
  61404. procedure TPORTG_TRISG.clearTRISG3; inline;
  61405. begin
  61406. pTDefRegMap(@Self)^.clr := $00000008;
  61407. end;
  61408. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  61409. begin
  61410. if thebits = 0 then
  61411. pTDefRegMap(@Self)^.clr := $00000008
  61412. else
  61413. pTDefRegMap(@Self)^.&set := $00000008;
  61414. end;
  61415. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  61416. begin
  61417. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61418. end;
  61419. procedure TPORTG_TRISG.setTRISG6; inline;
  61420. begin
  61421. pTDefRegMap(@Self)^.&set := $00000040;
  61422. end;
  61423. procedure TPORTG_TRISG.clearTRISG6; inline;
  61424. begin
  61425. pTDefRegMap(@Self)^.clr := $00000040;
  61426. end;
  61427. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  61428. begin
  61429. if thebits = 0 then
  61430. pTDefRegMap(@Self)^.clr := $00000040
  61431. else
  61432. pTDefRegMap(@Self)^.&set := $00000040;
  61433. end;
  61434. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  61435. begin
  61436. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61437. end;
  61438. procedure TPORTG_TRISG.setTRISG7; inline;
  61439. begin
  61440. pTDefRegMap(@Self)^.&set := $00000080;
  61441. end;
  61442. procedure TPORTG_TRISG.clearTRISG7; inline;
  61443. begin
  61444. pTDefRegMap(@Self)^.clr := $00000080;
  61445. end;
  61446. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  61447. begin
  61448. if thebits = 0 then
  61449. pTDefRegMap(@Self)^.clr := $00000080
  61450. else
  61451. pTDefRegMap(@Self)^.&set := $00000080;
  61452. end;
  61453. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  61454. begin
  61455. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61456. end;
  61457. procedure TPORTG_TRISG.setTRISG8; inline;
  61458. begin
  61459. pTDefRegMap(@Self)^.&set := $00000100;
  61460. end;
  61461. procedure TPORTG_TRISG.clearTRISG8; inline;
  61462. begin
  61463. pTDefRegMap(@Self)^.clr := $00000100;
  61464. end;
  61465. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  61466. begin
  61467. if thebits = 0 then
  61468. pTDefRegMap(@Self)^.clr := $00000100
  61469. else
  61470. pTDefRegMap(@Self)^.&set := $00000100;
  61471. end;
  61472. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  61473. begin
  61474. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61475. end;
  61476. procedure TPORTG_TRISG.setTRISG9; inline;
  61477. begin
  61478. pTDefRegMap(@Self)^.&set := $00000200;
  61479. end;
  61480. procedure TPORTG_TRISG.clearTRISG9; inline;
  61481. begin
  61482. pTDefRegMap(@Self)^.clr := $00000200;
  61483. end;
  61484. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  61485. begin
  61486. if thebits = 0 then
  61487. pTDefRegMap(@Self)^.clr := $00000200
  61488. else
  61489. pTDefRegMap(@Self)^.&set := $00000200;
  61490. end;
  61491. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  61492. begin
  61493. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61494. end;
  61495. procedure TPORTG_TRISG.setTRISG12; inline;
  61496. begin
  61497. pTDefRegMap(@Self)^.&set := $00001000;
  61498. end;
  61499. procedure TPORTG_TRISG.clearTRISG12; inline;
  61500. begin
  61501. pTDefRegMap(@Self)^.clr := $00001000;
  61502. end;
  61503. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  61504. begin
  61505. if thebits = 0 then
  61506. pTDefRegMap(@Self)^.clr := $00001000
  61507. else
  61508. pTDefRegMap(@Self)^.&set := $00001000;
  61509. end;
  61510. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  61511. begin
  61512. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61513. end;
  61514. procedure TPORTG_TRISG.setTRISG13; inline;
  61515. begin
  61516. pTDefRegMap(@Self)^.&set := $00002000;
  61517. end;
  61518. procedure TPORTG_TRISG.clearTRISG13; inline;
  61519. begin
  61520. pTDefRegMap(@Self)^.clr := $00002000;
  61521. end;
  61522. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  61523. begin
  61524. if thebits = 0 then
  61525. pTDefRegMap(@Self)^.clr := $00002000
  61526. else
  61527. pTDefRegMap(@Self)^.&set := $00002000;
  61528. end;
  61529. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  61530. begin
  61531. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61532. end;
  61533. procedure TPORTG_TRISG.setTRISG14; inline;
  61534. begin
  61535. pTDefRegMap(@Self)^.&set := $00004000;
  61536. end;
  61537. procedure TPORTG_TRISG.clearTRISG14; inline;
  61538. begin
  61539. pTDefRegMap(@Self)^.clr := $00004000;
  61540. end;
  61541. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  61542. begin
  61543. if thebits = 0 then
  61544. pTDefRegMap(@Self)^.clr := $00004000
  61545. else
  61546. pTDefRegMap(@Self)^.&set := $00004000;
  61547. end;
  61548. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  61549. begin
  61550. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61551. end;
  61552. procedure TPORTG_TRISG.setTRISG15; inline;
  61553. begin
  61554. pTDefRegMap(@Self)^.&set := $00008000;
  61555. end;
  61556. procedure TPORTG_TRISG.clearTRISG15; inline;
  61557. begin
  61558. pTDefRegMap(@Self)^.clr := $00008000;
  61559. end;
  61560. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  61561. begin
  61562. if thebits = 0 then
  61563. pTDefRegMap(@Self)^.clr := $00008000
  61564. else
  61565. pTDefRegMap(@Self)^.&set := $00008000;
  61566. end;
  61567. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  61568. begin
  61569. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61570. end;
  61571. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  61572. begin
  61573. pTDefRegMap(@Self)^.val := thebits;
  61574. end;
  61575. function TPORTG_TRISG.getw : TBits_32; inline;
  61576. begin
  61577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61578. end;
  61579. procedure TPORTG_PORTG.setRG0; inline;
  61580. begin
  61581. pTDefRegMap(@Self)^.&set := $00000001;
  61582. end;
  61583. procedure TPORTG_PORTG.clearRG0; inline;
  61584. begin
  61585. pTDefRegMap(@Self)^.clr := $00000001;
  61586. end;
  61587. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  61588. begin
  61589. if thebits = 0 then
  61590. pTDefRegMap(@Self)^.clr := $00000001
  61591. else
  61592. pTDefRegMap(@Self)^.&set := $00000001;
  61593. end;
  61594. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  61595. begin
  61596. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61597. end;
  61598. procedure TPORTG_PORTG.setRG1; inline;
  61599. begin
  61600. pTDefRegMap(@Self)^.&set := $00000002;
  61601. end;
  61602. procedure TPORTG_PORTG.clearRG1; inline;
  61603. begin
  61604. pTDefRegMap(@Self)^.clr := $00000002;
  61605. end;
  61606. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  61607. begin
  61608. if thebits = 0 then
  61609. pTDefRegMap(@Self)^.clr := $00000002
  61610. else
  61611. pTDefRegMap(@Self)^.&set := $00000002;
  61612. end;
  61613. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  61614. begin
  61615. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61616. end;
  61617. procedure TPORTG_PORTG.setRG2; inline;
  61618. begin
  61619. pTDefRegMap(@Self)^.&set := $00000004;
  61620. end;
  61621. procedure TPORTG_PORTG.clearRG2; inline;
  61622. begin
  61623. pTDefRegMap(@Self)^.clr := $00000004;
  61624. end;
  61625. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  61626. begin
  61627. if thebits = 0 then
  61628. pTDefRegMap(@Self)^.clr := $00000004
  61629. else
  61630. pTDefRegMap(@Self)^.&set := $00000004;
  61631. end;
  61632. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  61633. begin
  61634. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61635. end;
  61636. procedure TPORTG_PORTG.setRG3; inline;
  61637. begin
  61638. pTDefRegMap(@Self)^.&set := $00000008;
  61639. end;
  61640. procedure TPORTG_PORTG.clearRG3; inline;
  61641. begin
  61642. pTDefRegMap(@Self)^.clr := $00000008;
  61643. end;
  61644. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  61645. begin
  61646. if thebits = 0 then
  61647. pTDefRegMap(@Self)^.clr := $00000008
  61648. else
  61649. pTDefRegMap(@Self)^.&set := $00000008;
  61650. end;
  61651. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  61652. begin
  61653. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61654. end;
  61655. procedure TPORTG_PORTG.setRG6; inline;
  61656. begin
  61657. pTDefRegMap(@Self)^.&set := $00000040;
  61658. end;
  61659. procedure TPORTG_PORTG.clearRG6; inline;
  61660. begin
  61661. pTDefRegMap(@Self)^.clr := $00000040;
  61662. end;
  61663. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  61664. begin
  61665. if thebits = 0 then
  61666. pTDefRegMap(@Self)^.clr := $00000040
  61667. else
  61668. pTDefRegMap(@Self)^.&set := $00000040;
  61669. end;
  61670. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  61671. begin
  61672. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61673. end;
  61674. procedure TPORTG_PORTG.setRG7; inline;
  61675. begin
  61676. pTDefRegMap(@Self)^.&set := $00000080;
  61677. end;
  61678. procedure TPORTG_PORTG.clearRG7; inline;
  61679. begin
  61680. pTDefRegMap(@Self)^.clr := $00000080;
  61681. end;
  61682. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  61683. begin
  61684. if thebits = 0 then
  61685. pTDefRegMap(@Self)^.clr := $00000080
  61686. else
  61687. pTDefRegMap(@Self)^.&set := $00000080;
  61688. end;
  61689. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  61690. begin
  61691. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61692. end;
  61693. procedure TPORTG_PORTG.setRG8; inline;
  61694. begin
  61695. pTDefRegMap(@Self)^.&set := $00000100;
  61696. end;
  61697. procedure TPORTG_PORTG.clearRG8; inline;
  61698. begin
  61699. pTDefRegMap(@Self)^.clr := $00000100;
  61700. end;
  61701. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  61702. begin
  61703. if thebits = 0 then
  61704. pTDefRegMap(@Self)^.clr := $00000100
  61705. else
  61706. pTDefRegMap(@Self)^.&set := $00000100;
  61707. end;
  61708. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  61709. begin
  61710. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61711. end;
  61712. procedure TPORTG_PORTG.setRG9; inline;
  61713. begin
  61714. pTDefRegMap(@Self)^.&set := $00000200;
  61715. end;
  61716. procedure TPORTG_PORTG.clearRG9; inline;
  61717. begin
  61718. pTDefRegMap(@Self)^.clr := $00000200;
  61719. end;
  61720. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  61721. begin
  61722. if thebits = 0 then
  61723. pTDefRegMap(@Self)^.clr := $00000200
  61724. else
  61725. pTDefRegMap(@Self)^.&set := $00000200;
  61726. end;
  61727. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  61728. begin
  61729. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61730. end;
  61731. procedure TPORTG_PORTG.setRG12; inline;
  61732. begin
  61733. pTDefRegMap(@Self)^.&set := $00001000;
  61734. end;
  61735. procedure TPORTG_PORTG.clearRG12; inline;
  61736. begin
  61737. pTDefRegMap(@Self)^.clr := $00001000;
  61738. end;
  61739. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  61740. begin
  61741. if thebits = 0 then
  61742. pTDefRegMap(@Self)^.clr := $00001000
  61743. else
  61744. pTDefRegMap(@Self)^.&set := $00001000;
  61745. end;
  61746. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  61747. begin
  61748. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61749. end;
  61750. procedure TPORTG_PORTG.setRG13; inline;
  61751. begin
  61752. pTDefRegMap(@Self)^.&set := $00002000;
  61753. end;
  61754. procedure TPORTG_PORTG.clearRG13; inline;
  61755. begin
  61756. pTDefRegMap(@Self)^.clr := $00002000;
  61757. end;
  61758. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  61759. begin
  61760. if thebits = 0 then
  61761. pTDefRegMap(@Self)^.clr := $00002000
  61762. else
  61763. pTDefRegMap(@Self)^.&set := $00002000;
  61764. end;
  61765. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  61766. begin
  61767. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61768. end;
  61769. procedure TPORTG_PORTG.setRG14; inline;
  61770. begin
  61771. pTDefRegMap(@Self)^.&set := $00004000;
  61772. end;
  61773. procedure TPORTG_PORTG.clearRG14; inline;
  61774. begin
  61775. pTDefRegMap(@Self)^.clr := $00004000;
  61776. end;
  61777. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  61778. begin
  61779. if thebits = 0 then
  61780. pTDefRegMap(@Self)^.clr := $00004000
  61781. else
  61782. pTDefRegMap(@Self)^.&set := $00004000;
  61783. end;
  61784. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  61785. begin
  61786. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61787. end;
  61788. procedure TPORTG_PORTG.setRG15; inline;
  61789. begin
  61790. pTDefRegMap(@Self)^.&set := $00008000;
  61791. end;
  61792. procedure TPORTG_PORTG.clearRG15; inline;
  61793. begin
  61794. pTDefRegMap(@Self)^.clr := $00008000;
  61795. end;
  61796. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  61797. begin
  61798. if thebits = 0 then
  61799. pTDefRegMap(@Self)^.clr := $00008000
  61800. else
  61801. pTDefRegMap(@Self)^.&set := $00008000;
  61802. end;
  61803. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  61804. begin
  61805. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61806. end;
  61807. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  61808. begin
  61809. pTDefRegMap(@Self)^.val := thebits;
  61810. end;
  61811. function TPORTG_PORTG.getw : TBits_32; inline;
  61812. begin
  61813. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61814. end;
  61815. procedure TPORTG_LATG.setLATG0; inline;
  61816. begin
  61817. pTDefRegMap(@Self)^.&set := $00000001;
  61818. end;
  61819. procedure TPORTG_LATG.clearLATG0; inline;
  61820. begin
  61821. pTDefRegMap(@Self)^.clr := $00000001;
  61822. end;
  61823. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  61824. begin
  61825. if thebits = 0 then
  61826. pTDefRegMap(@Self)^.clr := $00000001
  61827. else
  61828. pTDefRegMap(@Self)^.&set := $00000001;
  61829. end;
  61830. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  61831. begin
  61832. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61833. end;
  61834. procedure TPORTG_LATG.setLATG1; inline;
  61835. begin
  61836. pTDefRegMap(@Self)^.&set := $00000002;
  61837. end;
  61838. procedure TPORTG_LATG.clearLATG1; inline;
  61839. begin
  61840. pTDefRegMap(@Self)^.clr := $00000002;
  61841. end;
  61842. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  61843. begin
  61844. if thebits = 0 then
  61845. pTDefRegMap(@Self)^.clr := $00000002
  61846. else
  61847. pTDefRegMap(@Self)^.&set := $00000002;
  61848. end;
  61849. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  61850. begin
  61851. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61852. end;
  61853. procedure TPORTG_LATG.setLATG2; inline;
  61854. begin
  61855. pTDefRegMap(@Self)^.&set := $00000004;
  61856. end;
  61857. procedure TPORTG_LATG.clearLATG2; inline;
  61858. begin
  61859. pTDefRegMap(@Self)^.clr := $00000004;
  61860. end;
  61861. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  61862. begin
  61863. if thebits = 0 then
  61864. pTDefRegMap(@Self)^.clr := $00000004
  61865. else
  61866. pTDefRegMap(@Self)^.&set := $00000004;
  61867. end;
  61868. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  61869. begin
  61870. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61871. end;
  61872. procedure TPORTG_LATG.setLATG3; inline;
  61873. begin
  61874. pTDefRegMap(@Self)^.&set := $00000008;
  61875. end;
  61876. procedure TPORTG_LATG.clearLATG3; inline;
  61877. begin
  61878. pTDefRegMap(@Self)^.clr := $00000008;
  61879. end;
  61880. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  61881. begin
  61882. if thebits = 0 then
  61883. pTDefRegMap(@Self)^.clr := $00000008
  61884. else
  61885. pTDefRegMap(@Self)^.&set := $00000008;
  61886. end;
  61887. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  61888. begin
  61889. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61890. end;
  61891. procedure TPORTG_LATG.setLATG6; inline;
  61892. begin
  61893. pTDefRegMap(@Self)^.&set := $00000040;
  61894. end;
  61895. procedure TPORTG_LATG.clearLATG6; inline;
  61896. begin
  61897. pTDefRegMap(@Self)^.clr := $00000040;
  61898. end;
  61899. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  61900. begin
  61901. if thebits = 0 then
  61902. pTDefRegMap(@Self)^.clr := $00000040
  61903. else
  61904. pTDefRegMap(@Self)^.&set := $00000040;
  61905. end;
  61906. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  61907. begin
  61908. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61909. end;
  61910. procedure TPORTG_LATG.setLATG7; inline;
  61911. begin
  61912. pTDefRegMap(@Self)^.&set := $00000080;
  61913. end;
  61914. procedure TPORTG_LATG.clearLATG7; inline;
  61915. begin
  61916. pTDefRegMap(@Self)^.clr := $00000080;
  61917. end;
  61918. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  61919. begin
  61920. if thebits = 0 then
  61921. pTDefRegMap(@Self)^.clr := $00000080
  61922. else
  61923. pTDefRegMap(@Self)^.&set := $00000080;
  61924. end;
  61925. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  61926. begin
  61927. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61928. end;
  61929. procedure TPORTG_LATG.setLATG8; inline;
  61930. begin
  61931. pTDefRegMap(@Self)^.&set := $00000100;
  61932. end;
  61933. procedure TPORTG_LATG.clearLATG8; inline;
  61934. begin
  61935. pTDefRegMap(@Self)^.clr := $00000100;
  61936. end;
  61937. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  61938. begin
  61939. if thebits = 0 then
  61940. pTDefRegMap(@Self)^.clr := $00000100
  61941. else
  61942. pTDefRegMap(@Self)^.&set := $00000100;
  61943. end;
  61944. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  61945. begin
  61946. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61947. end;
  61948. procedure TPORTG_LATG.setLATG9; inline;
  61949. begin
  61950. pTDefRegMap(@Self)^.&set := $00000200;
  61951. end;
  61952. procedure TPORTG_LATG.clearLATG9; inline;
  61953. begin
  61954. pTDefRegMap(@Self)^.clr := $00000200;
  61955. end;
  61956. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  61957. begin
  61958. if thebits = 0 then
  61959. pTDefRegMap(@Self)^.clr := $00000200
  61960. else
  61961. pTDefRegMap(@Self)^.&set := $00000200;
  61962. end;
  61963. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  61964. begin
  61965. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61966. end;
  61967. procedure TPORTG_LATG.setLATG12; inline;
  61968. begin
  61969. pTDefRegMap(@Self)^.&set := $00001000;
  61970. end;
  61971. procedure TPORTG_LATG.clearLATG12; inline;
  61972. begin
  61973. pTDefRegMap(@Self)^.clr := $00001000;
  61974. end;
  61975. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  61976. begin
  61977. if thebits = 0 then
  61978. pTDefRegMap(@Self)^.clr := $00001000
  61979. else
  61980. pTDefRegMap(@Self)^.&set := $00001000;
  61981. end;
  61982. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  61983. begin
  61984. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61985. end;
  61986. procedure TPORTG_LATG.setLATG13; inline;
  61987. begin
  61988. pTDefRegMap(@Self)^.&set := $00002000;
  61989. end;
  61990. procedure TPORTG_LATG.clearLATG13; inline;
  61991. begin
  61992. pTDefRegMap(@Self)^.clr := $00002000;
  61993. end;
  61994. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  61995. begin
  61996. if thebits = 0 then
  61997. pTDefRegMap(@Self)^.clr := $00002000
  61998. else
  61999. pTDefRegMap(@Self)^.&set := $00002000;
  62000. end;
  62001. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  62002. begin
  62003. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  62004. end;
  62005. procedure TPORTG_LATG.setLATG14; inline;
  62006. begin
  62007. pTDefRegMap(@Self)^.&set := $00004000;
  62008. end;
  62009. procedure TPORTG_LATG.clearLATG14; inline;
  62010. begin
  62011. pTDefRegMap(@Self)^.clr := $00004000;
  62012. end;
  62013. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  62014. begin
  62015. if thebits = 0 then
  62016. pTDefRegMap(@Self)^.clr := $00004000
  62017. else
  62018. pTDefRegMap(@Self)^.&set := $00004000;
  62019. end;
  62020. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  62021. begin
  62022. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  62023. end;
  62024. procedure TPORTG_LATG.setLATG15; inline;
  62025. begin
  62026. pTDefRegMap(@Self)^.&set := $00008000;
  62027. end;
  62028. procedure TPORTG_LATG.clearLATG15; inline;
  62029. begin
  62030. pTDefRegMap(@Self)^.clr := $00008000;
  62031. end;
  62032. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  62033. begin
  62034. if thebits = 0 then
  62035. pTDefRegMap(@Self)^.clr := $00008000
  62036. else
  62037. pTDefRegMap(@Self)^.&set := $00008000;
  62038. end;
  62039. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  62040. begin
  62041. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62042. end;
  62043. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  62044. begin
  62045. pTDefRegMap(@Self)^.val := thebits;
  62046. end;
  62047. function TPORTG_LATG.getw : TBits_32; inline;
  62048. begin
  62049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62050. end;
  62051. procedure TPORTG_ODCG.setODCG0; inline;
  62052. begin
  62053. pTDefRegMap(@Self)^.&set := $00000001;
  62054. end;
  62055. procedure TPORTG_ODCG.clearODCG0; inline;
  62056. begin
  62057. pTDefRegMap(@Self)^.clr := $00000001;
  62058. end;
  62059. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  62060. begin
  62061. if thebits = 0 then
  62062. pTDefRegMap(@Self)^.clr := $00000001
  62063. else
  62064. pTDefRegMap(@Self)^.&set := $00000001;
  62065. end;
  62066. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  62067. begin
  62068. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62069. end;
  62070. procedure TPORTG_ODCG.setODCG1; inline;
  62071. begin
  62072. pTDefRegMap(@Self)^.&set := $00000002;
  62073. end;
  62074. procedure TPORTG_ODCG.clearODCG1; inline;
  62075. begin
  62076. pTDefRegMap(@Self)^.clr := $00000002;
  62077. end;
  62078. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  62079. begin
  62080. if thebits = 0 then
  62081. pTDefRegMap(@Self)^.clr := $00000002
  62082. else
  62083. pTDefRegMap(@Self)^.&set := $00000002;
  62084. end;
  62085. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  62086. begin
  62087. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62088. end;
  62089. procedure TPORTG_ODCG.setODCG2; inline;
  62090. begin
  62091. pTDefRegMap(@Self)^.&set := $00000004;
  62092. end;
  62093. procedure TPORTG_ODCG.clearODCG2; inline;
  62094. begin
  62095. pTDefRegMap(@Self)^.clr := $00000004;
  62096. end;
  62097. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  62098. begin
  62099. if thebits = 0 then
  62100. pTDefRegMap(@Self)^.clr := $00000004
  62101. else
  62102. pTDefRegMap(@Self)^.&set := $00000004;
  62103. end;
  62104. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  62105. begin
  62106. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62107. end;
  62108. procedure TPORTG_ODCG.setODCG3; inline;
  62109. begin
  62110. pTDefRegMap(@Self)^.&set := $00000008;
  62111. end;
  62112. procedure TPORTG_ODCG.clearODCG3; inline;
  62113. begin
  62114. pTDefRegMap(@Self)^.clr := $00000008;
  62115. end;
  62116. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  62117. begin
  62118. if thebits = 0 then
  62119. pTDefRegMap(@Self)^.clr := $00000008
  62120. else
  62121. pTDefRegMap(@Self)^.&set := $00000008;
  62122. end;
  62123. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  62124. begin
  62125. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62126. end;
  62127. procedure TPORTG_ODCG.setODCG6; inline;
  62128. begin
  62129. pTDefRegMap(@Self)^.&set := $00000040;
  62130. end;
  62131. procedure TPORTG_ODCG.clearODCG6; inline;
  62132. begin
  62133. pTDefRegMap(@Self)^.clr := $00000040;
  62134. end;
  62135. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  62136. begin
  62137. if thebits = 0 then
  62138. pTDefRegMap(@Self)^.clr := $00000040
  62139. else
  62140. pTDefRegMap(@Self)^.&set := $00000040;
  62141. end;
  62142. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  62143. begin
  62144. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  62145. end;
  62146. procedure TPORTG_ODCG.setODCG7; inline;
  62147. begin
  62148. pTDefRegMap(@Self)^.&set := $00000080;
  62149. end;
  62150. procedure TPORTG_ODCG.clearODCG7; inline;
  62151. begin
  62152. pTDefRegMap(@Self)^.clr := $00000080;
  62153. end;
  62154. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  62155. begin
  62156. if thebits = 0 then
  62157. pTDefRegMap(@Self)^.clr := $00000080
  62158. else
  62159. pTDefRegMap(@Self)^.&set := $00000080;
  62160. end;
  62161. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  62162. begin
  62163. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  62164. end;
  62165. procedure TPORTG_ODCG.setODCG8; inline;
  62166. begin
  62167. pTDefRegMap(@Self)^.&set := $00000100;
  62168. end;
  62169. procedure TPORTG_ODCG.clearODCG8; inline;
  62170. begin
  62171. pTDefRegMap(@Self)^.clr := $00000100;
  62172. end;
  62173. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  62174. begin
  62175. if thebits = 0 then
  62176. pTDefRegMap(@Self)^.clr := $00000100
  62177. else
  62178. pTDefRegMap(@Self)^.&set := $00000100;
  62179. end;
  62180. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  62181. begin
  62182. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62183. end;
  62184. procedure TPORTG_ODCG.setODCG9; inline;
  62185. begin
  62186. pTDefRegMap(@Self)^.&set := $00000200;
  62187. end;
  62188. procedure TPORTG_ODCG.clearODCG9; inline;
  62189. begin
  62190. pTDefRegMap(@Self)^.clr := $00000200;
  62191. end;
  62192. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  62193. begin
  62194. if thebits = 0 then
  62195. pTDefRegMap(@Self)^.clr := $00000200
  62196. else
  62197. pTDefRegMap(@Self)^.&set := $00000200;
  62198. end;
  62199. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  62200. begin
  62201. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  62202. end;
  62203. procedure TPORTG_ODCG.setODCG12; inline;
  62204. begin
  62205. pTDefRegMap(@Self)^.&set := $00001000;
  62206. end;
  62207. procedure TPORTG_ODCG.clearODCG12; inline;
  62208. begin
  62209. pTDefRegMap(@Self)^.clr := $00001000;
  62210. end;
  62211. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  62212. begin
  62213. if thebits = 0 then
  62214. pTDefRegMap(@Self)^.clr := $00001000
  62215. else
  62216. pTDefRegMap(@Self)^.&set := $00001000;
  62217. end;
  62218. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  62219. begin
  62220. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  62221. end;
  62222. procedure TPORTG_ODCG.setODCG13; inline;
  62223. begin
  62224. pTDefRegMap(@Self)^.&set := $00002000;
  62225. end;
  62226. procedure TPORTG_ODCG.clearODCG13; inline;
  62227. begin
  62228. pTDefRegMap(@Self)^.clr := $00002000;
  62229. end;
  62230. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  62231. begin
  62232. if thebits = 0 then
  62233. pTDefRegMap(@Self)^.clr := $00002000
  62234. else
  62235. pTDefRegMap(@Self)^.&set := $00002000;
  62236. end;
  62237. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  62238. begin
  62239. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  62240. end;
  62241. procedure TPORTG_ODCG.setODCG14; inline;
  62242. begin
  62243. pTDefRegMap(@Self)^.&set := $00004000;
  62244. end;
  62245. procedure TPORTG_ODCG.clearODCG14; inline;
  62246. begin
  62247. pTDefRegMap(@Self)^.clr := $00004000;
  62248. end;
  62249. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  62250. begin
  62251. if thebits = 0 then
  62252. pTDefRegMap(@Self)^.clr := $00004000
  62253. else
  62254. pTDefRegMap(@Self)^.&set := $00004000;
  62255. end;
  62256. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  62257. begin
  62258. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  62259. end;
  62260. procedure TPORTG_ODCG.setODCG15; inline;
  62261. begin
  62262. pTDefRegMap(@Self)^.&set := $00008000;
  62263. end;
  62264. procedure TPORTG_ODCG.clearODCG15; inline;
  62265. begin
  62266. pTDefRegMap(@Self)^.clr := $00008000;
  62267. end;
  62268. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  62269. begin
  62270. if thebits = 0 then
  62271. pTDefRegMap(@Self)^.clr := $00008000
  62272. else
  62273. pTDefRegMap(@Self)^.&set := $00008000;
  62274. end;
  62275. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  62276. begin
  62277. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62278. end;
  62279. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  62280. begin
  62281. pTDefRegMap(@Self)^.val := thebits;
  62282. end;
  62283. function TPORTG_ODCG.getw : TBits_32; inline;
  62284. begin
  62285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62286. end;
  62287. procedure TPORTG_CNCON.setSIDL; inline;
  62288. begin
  62289. pTDefRegMap(@Self)^.&set := $00002000;
  62290. end;
  62291. procedure TPORTG_CNCON.clearSIDL; inline;
  62292. begin
  62293. pTDefRegMap(@Self)^.clr := $00002000;
  62294. end;
  62295. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  62296. begin
  62297. if thebits = 0 then
  62298. pTDefRegMap(@Self)^.clr := $00002000
  62299. else
  62300. pTDefRegMap(@Self)^.&set := $00002000;
  62301. end;
  62302. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  62303. begin
  62304. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  62305. end;
  62306. procedure TPORTG_CNCON.setON; inline;
  62307. begin
  62308. pTDefRegMap(@Self)^.&set := $00008000;
  62309. end;
  62310. procedure TPORTG_CNCON.clearON; inline;
  62311. begin
  62312. pTDefRegMap(@Self)^.clr := $00008000;
  62313. end;
  62314. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  62315. begin
  62316. if thebits = 0 then
  62317. pTDefRegMap(@Self)^.clr := $00008000
  62318. else
  62319. pTDefRegMap(@Self)^.&set := $00008000;
  62320. end;
  62321. function TPORTG_CNCON.getON : TBits_1; inline;
  62322. begin
  62323. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62324. end;
  62325. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  62326. begin
  62327. pTDefRegMap(@Self)^.val := thebits;
  62328. end;
  62329. function TPORTG_CNCON.getw : TBits_32; inline;
  62330. begin
  62331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62332. end;
  62333. procedure TPORTG_CNEN.setCNEN0; inline;
  62334. begin
  62335. pTDefRegMap(@Self)^.&set := $00000001;
  62336. end;
  62337. procedure TPORTG_CNEN.clearCNEN0; inline;
  62338. begin
  62339. pTDefRegMap(@Self)^.clr := $00000001;
  62340. end;
  62341. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  62342. begin
  62343. if thebits = 0 then
  62344. pTDefRegMap(@Self)^.clr := $00000001
  62345. else
  62346. pTDefRegMap(@Self)^.&set := $00000001;
  62347. end;
  62348. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  62349. begin
  62350. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62351. end;
  62352. procedure TPORTG_CNEN.setCNEN1; inline;
  62353. begin
  62354. pTDefRegMap(@Self)^.&set := $00000002;
  62355. end;
  62356. procedure TPORTG_CNEN.clearCNEN1; inline;
  62357. begin
  62358. pTDefRegMap(@Self)^.clr := $00000002;
  62359. end;
  62360. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  62361. begin
  62362. if thebits = 0 then
  62363. pTDefRegMap(@Self)^.clr := $00000002
  62364. else
  62365. pTDefRegMap(@Self)^.&set := $00000002;
  62366. end;
  62367. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  62368. begin
  62369. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62370. end;
  62371. procedure TPORTG_CNEN.setCNEN2; inline;
  62372. begin
  62373. pTDefRegMap(@Self)^.&set := $00000004;
  62374. end;
  62375. procedure TPORTG_CNEN.clearCNEN2; inline;
  62376. begin
  62377. pTDefRegMap(@Self)^.clr := $00000004;
  62378. end;
  62379. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  62380. begin
  62381. if thebits = 0 then
  62382. pTDefRegMap(@Self)^.clr := $00000004
  62383. else
  62384. pTDefRegMap(@Self)^.&set := $00000004;
  62385. end;
  62386. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  62387. begin
  62388. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62389. end;
  62390. procedure TPORTG_CNEN.setCNEN3; inline;
  62391. begin
  62392. pTDefRegMap(@Self)^.&set := $00000008;
  62393. end;
  62394. procedure TPORTG_CNEN.clearCNEN3; inline;
  62395. begin
  62396. pTDefRegMap(@Self)^.clr := $00000008;
  62397. end;
  62398. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  62399. begin
  62400. if thebits = 0 then
  62401. pTDefRegMap(@Self)^.clr := $00000008
  62402. else
  62403. pTDefRegMap(@Self)^.&set := $00000008;
  62404. end;
  62405. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  62406. begin
  62407. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62408. end;
  62409. procedure TPORTG_CNEN.setCNEN4; inline;
  62410. begin
  62411. pTDefRegMap(@Self)^.&set := $00000010;
  62412. end;
  62413. procedure TPORTG_CNEN.clearCNEN4; inline;
  62414. begin
  62415. pTDefRegMap(@Self)^.clr := $00000010;
  62416. end;
  62417. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  62418. begin
  62419. if thebits = 0 then
  62420. pTDefRegMap(@Self)^.clr := $00000010
  62421. else
  62422. pTDefRegMap(@Self)^.&set := $00000010;
  62423. end;
  62424. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  62425. begin
  62426. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  62427. end;
  62428. procedure TPORTG_CNEN.setCNEN5; inline;
  62429. begin
  62430. pTDefRegMap(@Self)^.&set := $00000020;
  62431. end;
  62432. procedure TPORTG_CNEN.clearCNEN5; inline;
  62433. begin
  62434. pTDefRegMap(@Self)^.clr := $00000020;
  62435. end;
  62436. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  62437. begin
  62438. if thebits = 0 then
  62439. pTDefRegMap(@Self)^.clr := $00000020
  62440. else
  62441. pTDefRegMap(@Self)^.&set := $00000020;
  62442. end;
  62443. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  62444. begin
  62445. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  62446. end;
  62447. procedure TPORTG_CNEN.setCNEN6; inline;
  62448. begin
  62449. pTDefRegMap(@Self)^.&set := $00000040;
  62450. end;
  62451. procedure TPORTG_CNEN.clearCNEN6; inline;
  62452. begin
  62453. pTDefRegMap(@Self)^.clr := $00000040;
  62454. end;
  62455. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  62456. begin
  62457. if thebits = 0 then
  62458. pTDefRegMap(@Self)^.clr := $00000040
  62459. else
  62460. pTDefRegMap(@Self)^.&set := $00000040;
  62461. end;
  62462. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  62463. begin
  62464. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  62465. end;
  62466. procedure TPORTG_CNEN.setCNEN7; inline;
  62467. begin
  62468. pTDefRegMap(@Self)^.&set := $00000080;
  62469. end;
  62470. procedure TPORTG_CNEN.clearCNEN7; inline;
  62471. begin
  62472. pTDefRegMap(@Self)^.clr := $00000080;
  62473. end;
  62474. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  62475. begin
  62476. if thebits = 0 then
  62477. pTDefRegMap(@Self)^.clr := $00000080
  62478. else
  62479. pTDefRegMap(@Self)^.&set := $00000080;
  62480. end;
  62481. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  62482. begin
  62483. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  62484. end;
  62485. procedure TPORTG_CNEN.setCNEN8; inline;
  62486. begin
  62487. pTDefRegMap(@Self)^.&set := $00000100;
  62488. end;
  62489. procedure TPORTG_CNEN.clearCNEN8; inline;
  62490. begin
  62491. pTDefRegMap(@Self)^.clr := $00000100;
  62492. end;
  62493. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  62494. begin
  62495. if thebits = 0 then
  62496. pTDefRegMap(@Self)^.clr := $00000100
  62497. else
  62498. pTDefRegMap(@Self)^.&set := $00000100;
  62499. end;
  62500. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  62501. begin
  62502. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62503. end;
  62504. procedure TPORTG_CNEN.setCNEN9; inline;
  62505. begin
  62506. pTDefRegMap(@Self)^.&set := $00000200;
  62507. end;
  62508. procedure TPORTG_CNEN.clearCNEN9; inline;
  62509. begin
  62510. pTDefRegMap(@Self)^.clr := $00000200;
  62511. end;
  62512. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  62513. begin
  62514. if thebits = 0 then
  62515. pTDefRegMap(@Self)^.clr := $00000200
  62516. else
  62517. pTDefRegMap(@Self)^.&set := $00000200;
  62518. end;
  62519. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  62520. begin
  62521. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  62522. end;
  62523. procedure TPORTG_CNEN.setCNEN10; inline;
  62524. begin
  62525. pTDefRegMap(@Self)^.&set := $00000400;
  62526. end;
  62527. procedure TPORTG_CNEN.clearCNEN10; inline;
  62528. begin
  62529. pTDefRegMap(@Self)^.clr := $00000400;
  62530. end;
  62531. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  62532. begin
  62533. if thebits = 0 then
  62534. pTDefRegMap(@Self)^.clr := $00000400
  62535. else
  62536. pTDefRegMap(@Self)^.&set := $00000400;
  62537. end;
  62538. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  62539. begin
  62540. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  62541. end;
  62542. procedure TPORTG_CNEN.setCNEN11; inline;
  62543. begin
  62544. pTDefRegMap(@Self)^.&set := $00000800;
  62545. end;
  62546. procedure TPORTG_CNEN.clearCNEN11; inline;
  62547. begin
  62548. pTDefRegMap(@Self)^.clr := $00000800;
  62549. end;
  62550. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  62551. begin
  62552. if thebits = 0 then
  62553. pTDefRegMap(@Self)^.clr := $00000800
  62554. else
  62555. pTDefRegMap(@Self)^.&set := $00000800;
  62556. end;
  62557. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  62558. begin
  62559. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62560. end;
  62561. procedure TPORTG_CNEN.setCNEN12; inline;
  62562. begin
  62563. pTDefRegMap(@Self)^.&set := $00001000;
  62564. end;
  62565. procedure TPORTG_CNEN.clearCNEN12; inline;
  62566. begin
  62567. pTDefRegMap(@Self)^.clr := $00001000;
  62568. end;
  62569. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  62570. begin
  62571. if thebits = 0 then
  62572. pTDefRegMap(@Self)^.clr := $00001000
  62573. else
  62574. pTDefRegMap(@Self)^.&set := $00001000;
  62575. end;
  62576. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  62577. begin
  62578. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  62579. end;
  62580. procedure TPORTG_CNEN.setCNEN13; inline;
  62581. begin
  62582. pTDefRegMap(@Self)^.&set := $00002000;
  62583. end;
  62584. procedure TPORTG_CNEN.clearCNEN13; inline;
  62585. begin
  62586. pTDefRegMap(@Self)^.clr := $00002000;
  62587. end;
  62588. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  62589. begin
  62590. if thebits = 0 then
  62591. pTDefRegMap(@Self)^.clr := $00002000
  62592. else
  62593. pTDefRegMap(@Self)^.&set := $00002000;
  62594. end;
  62595. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  62596. begin
  62597. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  62598. end;
  62599. procedure TPORTG_CNEN.setCNEN14; inline;
  62600. begin
  62601. pTDefRegMap(@Self)^.&set := $00004000;
  62602. end;
  62603. procedure TPORTG_CNEN.clearCNEN14; inline;
  62604. begin
  62605. pTDefRegMap(@Self)^.clr := $00004000;
  62606. end;
  62607. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  62608. begin
  62609. if thebits = 0 then
  62610. pTDefRegMap(@Self)^.clr := $00004000
  62611. else
  62612. pTDefRegMap(@Self)^.&set := $00004000;
  62613. end;
  62614. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  62615. begin
  62616. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  62617. end;
  62618. procedure TPORTG_CNEN.setCNEN15; inline;
  62619. begin
  62620. pTDefRegMap(@Self)^.&set := $00008000;
  62621. end;
  62622. procedure TPORTG_CNEN.clearCNEN15; inline;
  62623. begin
  62624. pTDefRegMap(@Self)^.clr := $00008000;
  62625. end;
  62626. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  62627. begin
  62628. if thebits = 0 then
  62629. pTDefRegMap(@Self)^.clr := $00008000
  62630. else
  62631. pTDefRegMap(@Self)^.&set := $00008000;
  62632. end;
  62633. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  62634. begin
  62635. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62636. end;
  62637. procedure TPORTG_CNEN.setCNEN16; inline;
  62638. begin
  62639. pTDefRegMap(@Self)^.&set := $00010000;
  62640. end;
  62641. procedure TPORTG_CNEN.clearCNEN16; inline;
  62642. begin
  62643. pTDefRegMap(@Self)^.clr := $00010000;
  62644. end;
  62645. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  62646. begin
  62647. if thebits = 0 then
  62648. pTDefRegMap(@Self)^.clr := $00010000
  62649. else
  62650. pTDefRegMap(@Self)^.&set := $00010000;
  62651. end;
  62652. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  62653. begin
  62654. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  62655. end;
  62656. procedure TPORTG_CNEN.setCNEN17; inline;
  62657. begin
  62658. pTDefRegMap(@Self)^.&set := $00020000;
  62659. end;
  62660. procedure TPORTG_CNEN.clearCNEN17; inline;
  62661. begin
  62662. pTDefRegMap(@Self)^.clr := $00020000;
  62663. end;
  62664. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  62665. begin
  62666. if thebits = 0 then
  62667. pTDefRegMap(@Self)^.clr := $00020000
  62668. else
  62669. pTDefRegMap(@Self)^.&set := $00020000;
  62670. end;
  62671. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  62672. begin
  62673. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  62674. end;
  62675. procedure TPORTG_CNEN.setCNEN18; inline;
  62676. begin
  62677. pTDefRegMap(@Self)^.&set := $00040000;
  62678. end;
  62679. procedure TPORTG_CNEN.clearCNEN18; inline;
  62680. begin
  62681. pTDefRegMap(@Self)^.clr := $00040000;
  62682. end;
  62683. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  62684. begin
  62685. if thebits = 0 then
  62686. pTDefRegMap(@Self)^.clr := $00040000
  62687. else
  62688. pTDefRegMap(@Self)^.&set := $00040000;
  62689. end;
  62690. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  62691. begin
  62692. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  62693. end;
  62694. procedure TPORTG_CNEN.setCNEN19; inline;
  62695. begin
  62696. pTDefRegMap(@Self)^.&set := $00080000;
  62697. end;
  62698. procedure TPORTG_CNEN.clearCNEN19; inline;
  62699. begin
  62700. pTDefRegMap(@Self)^.clr := $00080000;
  62701. end;
  62702. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  62703. begin
  62704. if thebits = 0 then
  62705. pTDefRegMap(@Self)^.clr := $00080000
  62706. else
  62707. pTDefRegMap(@Self)^.&set := $00080000;
  62708. end;
  62709. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  62710. begin
  62711. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  62712. end;
  62713. procedure TPORTG_CNEN.setCNEN20; inline;
  62714. begin
  62715. pTDefRegMap(@Self)^.&set := $00100000;
  62716. end;
  62717. procedure TPORTG_CNEN.clearCNEN20; inline;
  62718. begin
  62719. pTDefRegMap(@Self)^.clr := $00100000;
  62720. end;
  62721. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  62722. begin
  62723. if thebits = 0 then
  62724. pTDefRegMap(@Self)^.clr := $00100000
  62725. else
  62726. pTDefRegMap(@Self)^.&set := $00100000;
  62727. end;
  62728. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  62729. begin
  62730. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  62731. end;
  62732. procedure TPORTG_CNEN.setCNEN21; inline;
  62733. begin
  62734. pTDefRegMap(@Self)^.&set := $00200000;
  62735. end;
  62736. procedure TPORTG_CNEN.clearCNEN21; inline;
  62737. begin
  62738. pTDefRegMap(@Self)^.clr := $00200000;
  62739. end;
  62740. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  62741. begin
  62742. if thebits = 0 then
  62743. pTDefRegMap(@Self)^.clr := $00200000
  62744. else
  62745. pTDefRegMap(@Self)^.&set := $00200000;
  62746. end;
  62747. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  62748. begin
  62749. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  62750. end;
  62751. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  62752. begin
  62753. pTDefRegMap(@Self)^.val := thebits;
  62754. end;
  62755. function TPORTG_CNEN.getw : TBits_32; inline;
  62756. begin
  62757. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62758. end;
  62759. procedure TPORTG_CNPUE.setCNPUE0; inline;
  62760. begin
  62761. pTDefRegMap(@Self)^.&set := $00000001;
  62762. end;
  62763. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  62764. begin
  62765. pTDefRegMap(@Self)^.clr := $00000001;
  62766. end;
  62767. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  62768. begin
  62769. if thebits = 0 then
  62770. pTDefRegMap(@Self)^.clr := $00000001
  62771. else
  62772. pTDefRegMap(@Self)^.&set := $00000001;
  62773. end;
  62774. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  62775. begin
  62776. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62777. end;
  62778. procedure TPORTG_CNPUE.setCNPUE1; inline;
  62779. begin
  62780. pTDefRegMap(@Self)^.&set := $00000002;
  62781. end;
  62782. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  62783. begin
  62784. pTDefRegMap(@Self)^.clr := $00000002;
  62785. end;
  62786. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  62787. begin
  62788. if thebits = 0 then
  62789. pTDefRegMap(@Self)^.clr := $00000002
  62790. else
  62791. pTDefRegMap(@Self)^.&set := $00000002;
  62792. end;
  62793. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  62794. begin
  62795. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62796. end;
  62797. procedure TPORTG_CNPUE.setCNPUE2; inline;
  62798. begin
  62799. pTDefRegMap(@Self)^.&set := $00000004;
  62800. end;
  62801. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  62802. begin
  62803. pTDefRegMap(@Self)^.clr := $00000004;
  62804. end;
  62805. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  62806. begin
  62807. if thebits = 0 then
  62808. pTDefRegMap(@Self)^.clr := $00000004
  62809. else
  62810. pTDefRegMap(@Self)^.&set := $00000004;
  62811. end;
  62812. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  62813. begin
  62814. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62815. end;
  62816. procedure TPORTG_CNPUE.setCNPUE3; inline;
  62817. begin
  62818. pTDefRegMap(@Self)^.&set := $00000008;
  62819. end;
  62820. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  62821. begin
  62822. pTDefRegMap(@Self)^.clr := $00000008;
  62823. end;
  62824. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  62825. begin
  62826. if thebits = 0 then
  62827. pTDefRegMap(@Self)^.clr := $00000008
  62828. else
  62829. pTDefRegMap(@Self)^.&set := $00000008;
  62830. end;
  62831. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  62832. begin
  62833. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62834. end;
  62835. procedure TPORTG_CNPUE.setCNPUE4; inline;
  62836. begin
  62837. pTDefRegMap(@Self)^.&set := $00000010;
  62838. end;
  62839. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  62840. begin
  62841. pTDefRegMap(@Self)^.clr := $00000010;
  62842. end;
  62843. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  62844. begin
  62845. if thebits = 0 then
  62846. pTDefRegMap(@Self)^.clr := $00000010
  62847. else
  62848. pTDefRegMap(@Self)^.&set := $00000010;
  62849. end;
  62850. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  62851. begin
  62852. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  62853. end;
  62854. procedure TPORTG_CNPUE.setCNPUE5; inline;
  62855. begin
  62856. pTDefRegMap(@Self)^.&set := $00000020;
  62857. end;
  62858. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  62859. begin
  62860. pTDefRegMap(@Self)^.clr := $00000020;
  62861. end;
  62862. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  62863. begin
  62864. if thebits = 0 then
  62865. pTDefRegMap(@Self)^.clr := $00000020
  62866. else
  62867. pTDefRegMap(@Self)^.&set := $00000020;
  62868. end;
  62869. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  62870. begin
  62871. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  62872. end;
  62873. procedure TPORTG_CNPUE.setCNPUE6; inline;
  62874. begin
  62875. pTDefRegMap(@Self)^.&set := $00000040;
  62876. end;
  62877. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  62878. begin
  62879. pTDefRegMap(@Self)^.clr := $00000040;
  62880. end;
  62881. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  62882. begin
  62883. if thebits = 0 then
  62884. pTDefRegMap(@Self)^.clr := $00000040
  62885. else
  62886. pTDefRegMap(@Self)^.&set := $00000040;
  62887. end;
  62888. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  62889. begin
  62890. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  62891. end;
  62892. procedure TPORTG_CNPUE.setCNPUE7; inline;
  62893. begin
  62894. pTDefRegMap(@Self)^.&set := $00000080;
  62895. end;
  62896. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  62897. begin
  62898. pTDefRegMap(@Self)^.clr := $00000080;
  62899. end;
  62900. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  62901. begin
  62902. if thebits = 0 then
  62903. pTDefRegMap(@Self)^.clr := $00000080
  62904. else
  62905. pTDefRegMap(@Self)^.&set := $00000080;
  62906. end;
  62907. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  62908. begin
  62909. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  62910. end;
  62911. procedure TPORTG_CNPUE.setCNPUE8; inline;
  62912. begin
  62913. pTDefRegMap(@Self)^.&set := $00000100;
  62914. end;
  62915. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  62916. begin
  62917. pTDefRegMap(@Self)^.clr := $00000100;
  62918. end;
  62919. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  62920. begin
  62921. if thebits = 0 then
  62922. pTDefRegMap(@Self)^.clr := $00000100
  62923. else
  62924. pTDefRegMap(@Self)^.&set := $00000100;
  62925. end;
  62926. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  62927. begin
  62928. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62929. end;
  62930. procedure TPORTG_CNPUE.setCNPUE9; inline;
  62931. begin
  62932. pTDefRegMap(@Self)^.&set := $00000200;
  62933. end;
  62934. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  62935. begin
  62936. pTDefRegMap(@Self)^.clr := $00000200;
  62937. end;
  62938. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  62939. begin
  62940. if thebits = 0 then
  62941. pTDefRegMap(@Self)^.clr := $00000200
  62942. else
  62943. pTDefRegMap(@Self)^.&set := $00000200;
  62944. end;
  62945. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  62946. begin
  62947. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  62948. end;
  62949. procedure TPORTG_CNPUE.setCNPUE10; inline;
  62950. begin
  62951. pTDefRegMap(@Self)^.&set := $00000400;
  62952. end;
  62953. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  62954. begin
  62955. pTDefRegMap(@Self)^.clr := $00000400;
  62956. end;
  62957. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  62958. begin
  62959. if thebits = 0 then
  62960. pTDefRegMap(@Self)^.clr := $00000400
  62961. else
  62962. pTDefRegMap(@Self)^.&set := $00000400;
  62963. end;
  62964. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  62965. begin
  62966. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  62967. end;
  62968. procedure TPORTG_CNPUE.setCNPUE11; inline;
  62969. begin
  62970. pTDefRegMap(@Self)^.&set := $00000800;
  62971. end;
  62972. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  62973. begin
  62974. pTDefRegMap(@Self)^.clr := $00000800;
  62975. end;
  62976. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  62977. begin
  62978. if thebits = 0 then
  62979. pTDefRegMap(@Self)^.clr := $00000800
  62980. else
  62981. pTDefRegMap(@Self)^.&set := $00000800;
  62982. end;
  62983. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  62984. begin
  62985. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62986. end;
  62987. procedure TPORTG_CNPUE.setCNPUE12; inline;
  62988. begin
  62989. pTDefRegMap(@Self)^.&set := $00001000;
  62990. end;
  62991. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  62992. begin
  62993. pTDefRegMap(@Self)^.clr := $00001000;
  62994. end;
  62995. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  62996. begin
  62997. if thebits = 0 then
  62998. pTDefRegMap(@Self)^.clr := $00001000
  62999. else
  63000. pTDefRegMap(@Self)^.&set := $00001000;
  63001. end;
  63002. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  63003. begin
  63004. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  63005. end;
  63006. procedure TPORTG_CNPUE.setCNPUE13; inline;
  63007. begin
  63008. pTDefRegMap(@Self)^.&set := $00002000;
  63009. end;
  63010. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  63011. begin
  63012. pTDefRegMap(@Self)^.clr := $00002000;
  63013. end;
  63014. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  63015. begin
  63016. if thebits = 0 then
  63017. pTDefRegMap(@Self)^.clr := $00002000
  63018. else
  63019. pTDefRegMap(@Self)^.&set := $00002000;
  63020. end;
  63021. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  63022. begin
  63023. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  63024. end;
  63025. procedure TPORTG_CNPUE.setCNPUE14; inline;
  63026. begin
  63027. pTDefRegMap(@Self)^.&set := $00004000;
  63028. end;
  63029. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  63030. begin
  63031. pTDefRegMap(@Self)^.clr := $00004000;
  63032. end;
  63033. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  63034. begin
  63035. if thebits = 0 then
  63036. pTDefRegMap(@Self)^.clr := $00004000
  63037. else
  63038. pTDefRegMap(@Self)^.&set := $00004000;
  63039. end;
  63040. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  63041. begin
  63042. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  63043. end;
  63044. procedure TPORTG_CNPUE.setCNPUE15; inline;
  63045. begin
  63046. pTDefRegMap(@Self)^.&set := $00008000;
  63047. end;
  63048. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  63049. begin
  63050. pTDefRegMap(@Self)^.clr := $00008000;
  63051. end;
  63052. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  63053. begin
  63054. if thebits = 0 then
  63055. pTDefRegMap(@Self)^.clr := $00008000
  63056. else
  63057. pTDefRegMap(@Self)^.&set := $00008000;
  63058. end;
  63059. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  63060. begin
  63061. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  63062. end;
  63063. procedure TPORTG_CNPUE.setCNPUE16; inline;
  63064. begin
  63065. pTDefRegMap(@Self)^.&set := $00010000;
  63066. end;
  63067. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  63068. begin
  63069. pTDefRegMap(@Self)^.clr := $00010000;
  63070. end;
  63071. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  63072. begin
  63073. if thebits = 0 then
  63074. pTDefRegMap(@Self)^.clr := $00010000
  63075. else
  63076. pTDefRegMap(@Self)^.&set := $00010000;
  63077. end;
  63078. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  63079. begin
  63080. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  63081. end;
  63082. procedure TPORTG_CNPUE.setCNPUE17; inline;
  63083. begin
  63084. pTDefRegMap(@Self)^.&set := $00020000;
  63085. end;
  63086. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  63087. begin
  63088. pTDefRegMap(@Self)^.clr := $00020000;
  63089. end;
  63090. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  63091. begin
  63092. if thebits = 0 then
  63093. pTDefRegMap(@Self)^.clr := $00020000
  63094. else
  63095. pTDefRegMap(@Self)^.&set := $00020000;
  63096. end;
  63097. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  63098. begin
  63099. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  63100. end;
  63101. procedure TPORTG_CNPUE.setCNPUE18; inline;
  63102. begin
  63103. pTDefRegMap(@Self)^.&set := $00040000;
  63104. end;
  63105. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  63106. begin
  63107. pTDefRegMap(@Self)^.clr := $00040000;
  63108. end;
  63109. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  63110. begin
  63111. if thebits = 0 then
  63112. pTDefRegMap(@Self)^.clr := $00040000
  63113. else
  63114. pTDefRegMap(@Self)^.&set := $00040000;
  63115. end;
  63116. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  63117. begin
  63118. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  63119. end;
  63120. procedure TPORTG_CNPUE.setCNPUE19; inline;
  63121. begin
  63122. pTDefRegMap(@Self)^.&set := $00080000;
  63123. end;
  63124. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  63125. begin
  63126. pTDefRegMap(@Self)^.clr := $00080000;
  63127. end;
  63128. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  63129. begin
  63130. if thebits = 0 then
  63131. pTDefRegMap(@Self)^.clr := $00080000
  63132. else
  63133. pTDefRegMap(@Self)^.&set := $00080000;
  63134. end;
  63135. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  63136. begin
  63137. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  63138. end;
  63139. procedure TPORTG_CNPUE.setCNPUE20; inline;
  63140. begin
  63141. pTDefRegMap(@Self)^.&set := $00100000;
  63142. end;
  63143. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  63144. begin
  63145. pTDefRegMap(@Self)^.clr := $00100000;
  63146. end;
  63147. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  63148. begin
  63149. if thebits = 0 then
  63150. pTDefRegMap(@Self)^.clr := $00100000
  63151. else
  63152. pTDefRegMap(@Self)^.&set := $00100000;
  63153. end;
  63154. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  63155. begin
  63156. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  63157. end;
  63158. procedure TPORTG_CNPUE.setCNPUE21; inline;
  63159. begin
  63160. pTDefRegMap(@Self)^.&set := $00200000;
  63161. end;
  63162. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  63163. begin
  63164. pTDefRegMap(@Self)^.clr := $00200000;
  63165. end;
  63166. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  63167. begin
  63168. if thebits = 0 then
  63169. pTDefRegMap(@Self)^.clr := $00200000
  63170. else
  63171. pTDefRegMap(@Self)^.&set := $00200000;
  63172. end;
  63173. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  63174. begin
  63175. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  63176. end;
  63177. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  63178. begin
  63179. pTDefRegMap(@Self)^.val := thebits;
  63180. end;
  63181. function TPORTG_CNPUE.getw : TBits_32; inline;
  63182. begin
  63183. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63184. end;
  63185. procedure TETH_ETHCON1.setBUFCDEC; inline;
  63186. begin
  63187. pTDefRegMap(@Self)^.&set := $00000001;
  63188. end;
  63189. procedure TETH_ETHCON1.clearBUFCDEC; inline;
  63190. begin
  63191. pTDefRegMap(@Self)^.clr := $00000001;
  63192. end;
  63193. procedure TETH_ETHCON1.setBUFCDEC(thebits : TBits_1); inline;
  63194. begin
  63195. if thebits = 0 then
  63196. pTDefRegMap(@Self)^.clr := $00000001
  63197. else
  63198. pTDefRegMap(@Self)^.&set := $00000001;
  63199. end;
  63200. function TETH_ETHCON1.getBUFCDEC : TBits_1; inline;
  63201. begin
  63202. getBUFCDEC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  63203. end;
  63204. procedure TETH_ETHCON1.setMANFC; inline;
  63205. begin
  63206. pTDefRegMap(@Self)^.&set := $00000010;
  63207. end;
  63208. procedure TETH_ETHCON1.clearMANFC; inline;
  63209. begin
  63210. pTDefRegMap(@Self)^.clr := $00000010;
  63211. end;
  63212. procedure TETH_ETHCON1.setMANFC(thebits : TBits_1); inline;
  63213. begin
  63214. if thebits = 0 then
  63215. pTDefRegMap(@Self)^.clr := $00000010
  63216. else
  63217. pTDefRegMap(@Self)^.&set := $00000010;
  63218. end;
  63219. function TETH_ETHCON1.getMANFC : TBits_1; inline;
  63220. begin
  63221. getMANFC := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  63222. end;
  63223. procedure TETH_ETHCON1.setAUTOFC; inline;
  63224. begin
  63225. pTDefRegMap(@Self)^.&set := $00000080;
  63226. end;
  63227. procedure TETH_ETHCON1.clearAUTOFC; inline;
  63228. begin
  63229. pTDefRegMap(@Self)^.clr := $00000080;
  63230. end;
  63231. procedure TETH_ETHCON1.setAUTOFC(thebits : TBits_1); inline;
  63232. begin
  63233. if thebits = 0 then
  63234. pTDefRegMap(@Self)^.clr := $00000080
  63235. else
  63236. pTDefRegMap(@Self)^.&set := $00000080;
  63237. end;
  63238. function TETH_ETHCON1.getAUTOFC : TBits_1; inline;
  63239. begin
  63240. getAUTOFC := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  63241. end;
  63242. procedure TETH_ETHCON1.setRXEN; inline;
  63243. begin
  63244. pTDefRegMap(@Self)^.&set := $00000100;
  63245. end;
  63246. procedure TETH_ETHCON1.clearRXEN; inline;
  63247. begin
  63248. pTDefRegMap(@Self)^.clr := $00000100;
  63249. end;
  63250. procedure TETH_ETHCON1.setRXEN(thebits : TBits_1); inline;
  63251. begin
  63252. if thebits = 0 then
  63253. pTDefRegMap(@Self)^.clr := $00000100
  63254. else
  63255. pTDefRegMap(@Self)^.&set := $00000100;
  63256. end;
  63257. function TETH_ETHCON1.getRXEN : TBits_1; inline;
  63258. begin
  63259. getRXEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  63260. end;
  63261. procedure TETH_ETHCON1.setTXRTS; inline;
  63262. begin
  63263. pTDefRegMap(@Self)^.&set := $00000200;
  63264. end;
  63265. procedure TETH_ETHCON1.clearTXRTS; inline;
  63266. begin
  63267. pTDefRegMap(@Self)^.clr := $00000200;
  63268. end;
  63269. procedure TETH_ETHCON1.setTXRTS(thebits : TBits_1); inline;
  63270. begin
  63271. if thebits = 0 then
  63272. pTDefRegMap(@Self)^.clr := $00000200
  63273. else
  63274. pTDefRegMap(@Self)^.&set := $00000200;
  63275. end;
  63276. function TETH_ETHCON1.getTXRTS : TBits_1; inline;
  63277. begin
  63278. getTXRTS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  63279. end;
  63280. procedure TETH_ETHCON1.setSIDL; inline;
  63281. begin
  63282. pTDefRegMap(@Self)^.&set := $00002000;
  63283. end;
  63284. procedure TETH_ETHCON1.clearSIDL; inline;
  63285. begin
  63286. pTDefRegMap(@Self)^.clr := $00002000;
  63287. end;
  63288. procedure TETH_ETHCON1.setSIDL(thebits : TBits_1); inline;
  63289. begin
  63290. if thebits = 0 then
  63291. pTDefRegMap(@Self)^.clr := $00002000
  63292. else
  63293. pTDefRegMap(@Self)^.&set := $00002000;
  63294. end;
  63295. function TETH_ETHCON1.getSIDL : TBits_1; inline;
  63296. begin
  63297. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  63298. end;
  63299. procedure TETH_ETHCON1.setON; inline;
  63300. begin
  63301. pTDefRegMap(@Self)^.&set := $00008000;
  63302. end;
  63303. procedure TETH_ETHCON1.clearON; inline;
  63304. begin
  63305. pTDefRegMap(@Self)^.clr := $00008000;
  63306. end;
  63307. procedure TETH_ETHCON1.setON(thebits : TBits_1); inline;
  63308. begin
  63309. if thebits = 0 then
  63310. pTDefRegMap(@Self)^.clr := $00008000
  63311. else
  63312. pTDefRegMap(@Self)^.&set := $00008000;
  63313. end;
  63314. function TETH_ETHCON1.getON : TBits_1; inline;
  63315. begin
  63316. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  63317. end;
  63318. procedure TETH_ETHCON1.setPTV(thebits : TBits_16); inline;
  63319. begin
  63320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0000FFFF or ( thebits shl 16 );
  63321. end;
  63322. function TETH_ETHCON1.getPTV : TBits_16; inline;
  63323. begin
  63324. getPTV := (pTDefRegMap(@Self)^.val and $FFFF0000) shr 16;
  63325. end;
  63326. procedure TETH_ETHCON1.setw(thebits : TBits_32); inline;
  63327. begin
  63328. pTDefRegMap(@Self)^.val := thebits;
  63329. end;
  63330. function TETH_ETHCON1.getw : TBits_32; inline;
  63331. begin
  63332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63333. end;
  63334. procedure TETH_ETHCON2.setRXBUF_SZ(thebits : TBits_7); inline;
  63335. begin
  63336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF80F or ( thebits shl 4 );
  63337. end;
  63338. function TETH_ETHCON2.getRXBUF_SZ : TBits_7; inline;
  63339. begin
  63340. getRXBUF_SZ := (pTDefRegMap(@Self)^.val and $000007F0) shr 4;
  63341. end;
  63342. procedure TETH_ETHCON2.setw(thebits : TBits_32); inline;
  63343. begin
  63344. pTDefRegMap(@Self)^.val := thebits;
  63345. end;
  63346. function TETH_ETHCON2.getw : TBits_32; inline;
  63347. begin
  63348. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63349. end;
  63350. procedure TETH_ETHTXST.setTXSTADDR(thebits : TBits_30); inline;
  63351. begin
  63352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  63353. end;
  63354. function TETH_ETHTXST.getTXSTADDR : TBits_30; inline;
  63355. begin
  63356. getTXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  63357. end;
  63358. procedure TETH_ETHTXST.setw(thebits : TBits_32); inline;
  63359. begin
  63360. pTDefRegMap(@Self)^.val := thebits;
  63361. end;
  63362. function TETH_ETHTXST.getw : TBits_32; inline;
  63363. begin
  63364. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63365. end;
  63366. procedure TETH_ETHRXST.setRXSTADDR(thebits : TBits_30); inline;
  63367. begin
  63368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  63369. end;
  63370. function TETH_ETHRXST.getRXSTADDR : TBits_30; inline;
  63371. begin
  63372. getRXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  63373. end;
  63374. procedure TETH_ETHRXST.setw(thebits : TBits_32); inline;
  63375. begin
  63376. pTDefRegMap(@Self)^.val := thebits;
  63377. end;
  63378. function TETH_ETHRXST.getw : TBits_32; inline;
  63379. begin
  63380. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63381. end;
  63382. procedure TETH_ETHHT0.setw(thebits : TBits_32); inline;
  63383. begin
  63384. pTDefRegMap(@Self)^.val := thebits;
  63385. end;
  63386. function TETH_ETHHT0.getw : TBits_32; inline;
  63387. begin
  63388. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63389. end;
  63390. procedure TETH_ETHHT0.setHTLOWER(thebits : TBits_32); inline;
  63391. begin
  63392. pTDefRegMap(@Self)^.val := thebits;
  63393. end;
  63394. function TETH_ETHHT0.getHTLOWER : TBits_32; inline;
  63395. begin
  63396. getHTLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63397. end;
  63398. procedure TETH_ETHHT1.setw(thebits : TBits_32); inline;
  63399. begin
  63400. pTDefRegMap(@Self)^.val := thebits;
  63401. end;
  63402. function TETH_ETHHT1.getw : TBits_32; inline;
  63403. begin
  63404. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63405. end;
  63406. procedure TETH_ETHHT1.setHTUPPER(thebits : TBits_32); inline;
  63407. begin
  63408. pTDefRegMap(@Self)^.val := thebits;
  63409. end;
  63410. function TETH_ETHHT1.getHTUPPER : TBits_32; inline;
  63411. begin
  63412. getHTUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63413. end;
  63414. procedure TETH_ETHPMM0.setw(thebits : TBits_32); inline;
  63415. begin
  63416. pTDefRegMap(@Self)^.val := thebits;
  63417. end;
  63418. function TETH_ETHPMM0.getw : TBits_32; inline;
  63419. begin
  63420. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63421. end;
  63422. procedure TETH_ETHPMM0.setPMMLOWER(thebits : TBits_32); inline;
  63423. begin
  63424. pTDefRegMap(@Self)^.val := thebits;
  63425. end;
  63426. function TETH_ETHPMM0.getPMMLOWER : TBits_32; inline;
  63427. begin
  63428. getPMMLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63429. end;
  63430. procedure TETH_ETHPMM1.setw(thebits : TBits_32); inline;
  63431. begin
  63432. pTDefRegMap(@Self)^.val := thebits;
  63433. end;
  63434. function TETH_ETHPMM1.getw : TBits_32; inline;
  63435. begin
  63436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63437. end;
  63438. procedure TETH_ETHPMM1.setPMMUPPER(thebits : TBits_32); inline;
  63439. begin
  63440. pTDefRegMap(@Self)^.val := thebits;
  63441. end;
  63442. function TETH_ETHPMM1.getPMMUPPER : TBits_32; inline;
  63443. begin
  63444. getPMMUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63445. end;
  63446. procedure TETH_ETHPMCS.setPMCS(thebits : TBits_16); inline;
  63447. begin
  63448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  63449. end;
  63450. function TETH_ETHPMCS.getPMCS : TBits_16; inline;
  63451. begin
  63452. getPMCS := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  63453. end;
  63454. procedure TETH_ETHPMCS.setw(thebits : TBits_32); inline;
  63455. begin
  63456. pTDefRegMap(@Self)^.val := thebits;
  63457. end;
  63458. function TETH_ETHPMCS.getw : TBits_32; inline;
  63459. begin
  63460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63461. end;
  63462. procedure TETH_ETHPMO.setPMO(thebits : TBits_16); inline;
  63463. begin
  63464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  63465. end;
  63466. function TETH_ETHPMO.getPMO : TBits_16; inline;
  63467. begin
  63468. getPMO := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  63469. end;
  63470. procedure TETH_ETHPMO.setw(thebits : TBits_32); inline;
  63471. begin
  63472. pTDefRegMap(@Self)^.val := thebits;
  63473. end;
  63474. function TETH_ETHPMO.getw : TBits_32; inline;
  63475. begin
  63476. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63477. end;
  63478. procedure TETH_ETHRXFC.setBCEN; inline;
  63479. begin
  63480. pTDefRegMap(@Self)^.&set := $00000001;
  63481. end;
  63482. procedure TETH_ETHRXFC.clearBCEN; inline;
  63483. begin
  63484. pTDefRegMap(@Self)^.clr := $00000001;
  63485. end;
  63486. procedure TETH_ETHRXFC.setBCEN(thebits : TBits_1); inline;
  63487. begin
  63488. if thebits = 0 then
  63489. pTDefRegMap(@Self)^.clr := $00000001
  63490. else
  63491. pTDefRegMap(@Self)^.&set := $00000001;
  63492. end;
  63493. function TETH_ETHRXFC.getBCEN : TBits_1; inline;
  63494. begin
  63495. getBCEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  63496. end;
  63497. procedure TETH_ETHRXFC.setMCEN; inline;
  63498. begin
  63499. pTDefRegMap(@Self)^.&set := $00000002;
  63500. end;
  63501. procedure TETH_ETHRXFC.clearMCEN; inline;
  63502. begin
  63503. pTDefRegMap(@Self)^.clr := $00000002;
  63504. end;
  63505. procedure TETH_ETHRXFC.setMCEN(thebits : TBits_1); inline;
  63506. begin
  63507. if thebits = 0 then
  63508. pTDefRegMap(@Self)^.clr := $00000002
  63509. else
  63510. pTDefRegMap(@Self)^.&set := $00000002;
  63511. end;
  63512. function TETH_ETHRXFC.getMCEN : TBits_1; inline;
  63513. begin
  63514. getMCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  63515. end;
  63516. procedure TETH_ETHRXFC.setNOTMEEN; inline;
  63517. begin
  63518. pTDefRegMap(@Self)^.&set := $00000004;
  63519. end;
  63520. procedure TETH_ETHRXFC.clearNOTMEEN; inline;
  63521. begin
  63522. pTDefRegMap(@Self)^.clr := $00000004;
  63523. end;
  63524. procedure TETH_ETHRXFC.setNOTMEEN(thebits : TBits_1); inline;
  63525. begin
  63526. if thebits = 0 then
  63527. pTDefRegMap(@Self)^.clr := $00000004
  63528. else
  63529. pTDefRegMap(@Self)^.&set := $00000004;
  63530. end;
  63531. function TETH_ETHRXFC.getNOTMEEN : TBits_1; inline;
  63532. begin
  63533. getNOTMEEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  63534. end;
  63535. procedure TETH_ETHRXFC.setUCEN; inline;
  63536. begin
  63537. pTDefRegMap(@Self)^.&set := $00000008;
  63538. end;
  63539. procedure TETH_ETHRXFC.clearUCEN; inline;
  63540. begin
  63541. pTDefRegMap(@Self)^.clr := $00000008;
  63542. end;
  63543. procedure TETH_ETHRXFC.setUCEN(thebits : TBits_1); inline;
  63544. begin
  63545. if thebits = 0 then
  63546. pTDefRegMap(@Self)^.clr := $00000008
  63547. else
  63548. pTDefRegMap(@Self)^.&set := $00000008;
  63549. end;
  63550. function TETH_ETHRXFC.getUCEN : TBits_1; inline;
  63551. begin
  63552. getUCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  63553. end;
  63554. procedure TETH_ETHRXFC.setRUNTEN; inline;
  63555. begin
  63556. pTDefRegMap(@Self)^.&set := $00000010;
  63557. end;
  63558. procedure TETH_ETHRXFC.clearRUNTEN; inline;
  63559. begin
  63560. pTDefRegMap(@Self)^.clr := $00000010;
  63561. end;
  63562. procedure TETH_ETHRXFC.setRUNTEN(thebits : TBits_1); inline;
  63563. begin
  63564. if thebits = 0 then
  63565. pTDefRegMap(@Self)^.clr := $00000010
  63566. else
  63567. pTDefRegMap(@Self)^.&set := $00000010;
  63568. end;
  63569. function TETH_ETHRXFC.getRUNTEN : TBits_1; inline;
  63570. begin
  63571. getRUNTEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  63572. end;
  63573. procedure TETH_ETHRXFC.setRUNTERREN; inline;
  63574. begin
  63575. pTDefRegMap(@Self)^.&set := $00000020;
  63576. end;
  63577. procedure TETH_ETHRXFC.clearRUNTERREN; inline;
  63578. begin
  63579. pTDefRegMap(@Self)^.clr := $00000020;
  63580. end;
  63581. procedure TETH_ETHRXFC.setRUNTERREN(thebits : TBits_1); inline;
  63582. begin
  63583. if thebits = 0 then
  63584. pTDefRegMap(@Self)^.clr := $00000020
  63585. else
  63586. pTDefRegMap(@Self)^.&set := $00000020;
  63587. end;
  63588. function TETH_ETHRXFC.getRUNTERREN : TBits_1; inline;
  63589. begin
  63590. getRUNTERREN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  63591. end;
  63592. procedure TETH_ETHRXFC.setCRCOKEN; inline;
  63593. begin
  63594. pTDefRegMap(@Self)^.&set := $00000040;
  63595. end;
  63596. procedure TETH_ETHRXFC.clearCRCOKEN; inline;
  63597. begin
  63598. pTDefRegMap(@Self)^.clr := $00000040;
  63599. end;
  63600. procedure TETH_ETHRXFC.setCRCOKEN(thebits : TBits_1); inline;
  63601. begin
  63602. if thebits = 0 then
  63603. pTDefRegMap(@Self)^.clr := $00000040
  63604. else
  63605. pTDefRegMap(@Self)^.&set := $00000040;
  63606. end;
  63607. function TETH_ETHRXFC.getCRCOKEN : TBits_1; inline;
  63608. begin
  63609. getCRCOKEN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  63610. end;
  63611. procedure TETH_ETHRXFC.setCRCERREN; inline;
  63612. begin
  63613. pTDefRegMap(@Self)^.&set := $00000080;
  63614. end;
  63615. procedure TETH_ETHRXFC.clearCRCERREN; inline;
  63616. begin
  63617. pTDefRegMap(@Self)^.clr := $00000080;
  63618. end;
  63619. procedure TETH_ETHRXFC.setCRCERREN(thebits : TBits_1); inline;
  63620. begin
  63621. if thebits = 0 then
  63622. pTDefRegMap(@Self)^.clr := $00000080
  63623. else
  63624. pTDefRegMap(@Self)^.&set := $00000080;
  63625. end;
  63626. function TETH_ETHRXFC.getCRCERREN : TBits_1; inline;
  63627. begin
  63628. getCRCERREN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  63629. end;
  63630. procedure TETH_ETHRXFC.setPMMODE(thebits : TBits_4); inline;
  63631. begin
  63632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  63633. end;
  63634. function TETH_ETHRXFC.getPMMODE : TBits_4; inline;
  63635. begin
  63636. getPMMODE := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  63637. end;
  63638. procedure TETH_ETHRXFC.setNOTPM; inline;
  63639. begin
  63640. pTDefRegMap(@Self)^.&set := $00001000;
  63641. end;
  63642. procedure TETH_ETHRXFC.clearNOTPM; inline;
  63643. begin
  63644. pTDefRegMap(@Self)^.clr := $00001000;
  63645. end;
  63646. procedure TETH_ETHRXFC.setNOTPM(thebits : TBits_1); inline;
  63647. begin
  63648. if thebits = 0 then
  63649. pTDefRegMap(@Self)^.clr := $00001000
  63650. else
  63651. pTDefRegMap(@Self)^.&set := $00001000;
  63652. end;
  63653. function TETH_ETHRXFC.getNOTPM : TBits_1; inline;
  63654. begin
  63655. getNOTPM := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  63656. end;
  63657. procedure TETH_ETHRXFC.setMPEN; inline;
  63658. begin
  63659. pTDefRegMap(@Self)^.&set := $00004000;
  63660. end;
  63661. procedure TETH_ETHRXFC.clearMPEN; inline;
  63662. begin
  63663. pTDefRegMap(@Self)^.clr := $00004000;
  63664. end;
  63665. procedure TETH_ETHRXFC.setMPEN(thebits : TBits_1); inline;
  63666. begin
  63667. if thebits = 0 then
  63668. pTDefRegMap(@Self)^.clr := $00004000
  63669. else
  63670. pTDefRegMap(@Self)^.&set := $00004000;
  63671. end;
  63672. function TETH_ETHRXFC.getMPEN : TBits_1; inline;
  63673. begin
  63674. getMPEN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  63675. end;
  63676. procedure TETH_ETHRXFC.setHTEN; inline;
  63677. begin
  63678. pTDefRegMap(@Self)^.&set := $00008000;
  63679. end;
  63680. procedure TETH_ETHRXFC.clearHTEN; inline;
  63681. begin
  63682. pTDefRegMap(@Self)^.clr := $00008000;
  63683. end;
  63684. procedure TETH_ETHRXFC.setHTEN(thebits : TBits_1); inline;
  63685. begin
  63686. if thebits = 0 then
  63687. pTDefRegMap(@Self)^.clr := $00008000
  63688. else
  63689. pTDefRegMap(@Self)^.&set := $00008000;
  63690. end;
  63691. function TETH_ETHRXFC.getHTEN : TBits_1; inline;
  63692. begin
  63693. getHTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  63694. end;
  63695. procedure TETH_ETHRXFC.setw(thebits : TBits_32); inline;
  63696. begin
  63697. pTDefRegMap(@Self)^.val := thebits;
  63698. end;
  63699. function TETH_ETHRXFC.getw : TBits_32; inline;
  63700. begin
  63701. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63702. end;
  63703. procedure TETH_ETHRXWM.setRXEWM(thebits : TBits_8); inline;
  63704. begin
  63705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  63706. end;
  63707. function TETH_ETHRXWM.getRXEWM : TBits_8; inline;
  63708. begin
  63709. getRXEWM := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  63710. end;
  63711. procedure TETH_ETHRXWM.setRXFWM(thebits : TBits_8); inline;
  63712. begin
  63713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  63714. end;
  63715. function TETH_ETHRXWM.getRXFWM : TBits_8; inline;
  63716. begin
  63717. getRXFWM := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  63718. end;
  63719. procedure TETH_ETHRXWM.setw(thebits : TBits_32); inline;
  63720. begin
  63721. pTDefRegMap(@Self)^.val := thebits;
  63722. end;
  63723. function TETH_ETHRXWM.getw : TBits_32; inline;
  63724. begin
  63725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63726. end;
  63727. procedure TETH_ETHIEN.setRXOVFLWIE; inline;
  63728. begin
  63729. pTDefRegMap(@Self)^.&set := $00000001;
  63730. end;
  63731. procedure TETH_ETHIEN.clearRXOVFLWIE; inline;
  63732. begin
  63733. pTDefRegMap(@Self)^.clr := $00000001;
  63734. end;
  63735. procedure TETH_ETHIEN.setRXOVFLWIE(thebits : TBits_1); inline;
  63736. begin
  63737. if thebits = 0 then
  63738. pTDefRegMap(@Self)^.clr := $00000001
  63739. else
  63740. pTDefRegMap(@Self)^.&set := $00000001;
  63741. end;
  63742. function TETH_ETHIEN.getRXOVFLWIE : TBits_1; inline;
  63743. begin
  63744. getRXOVFLWIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  63745. end;
  63746. procedure TETH_ETHIEN.setRXBUFNAIE; inline;
  63747. begin
  63748. pTDefRegMap(@Self)^.&set := $00000002;
  63749. end;
  63750. procedure TETH_ETHIEN.clearRXBUFNAIE; inline;
  63751. begin
  63752. pTDefRegMap(@Self)^.clr := $00000002;
  63753. end;
  63754. procedure TETH_ETHIEN.setRXBUFNAIE(thebits : TBits_1); inline;
  63755. begin
  63756. if thebits = 0 then
  63757. pTDefRegMap(@Self)^.clr := $00000002
  63758. else
  63759. pTDefRegMap(@Self)^.&set := $00000002;
  63760. end;
  63761. function TETH_ETHIEN.getRXBUFNAIE : TBits_1; inline;
  63762. begin
  63763. getRXBUFNAIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  63764. end;
  63765. procedure TETH_ETHIEN.setTXABORTIE; inline;
  63766. begin
  63767. pTDefRegMap(@Self)^.&set := $00000004;
  63768. end;
  63769. procedure TETH_ETHIEN.clearTXABORTIE; inline;
  63770. begin
  63771. pTDefRegMap(@Self)^.clr := $00000004;
  63772. end;
  63773. procedure TETH_ETHIEN.setTXABORTIE(thebits : TBits_1); inline;
  63774. begin
  63775. if thebits = 0 then
  63776. pTDefRegMap(@Self)^.clr := $00000004
  63777. else
  63778. pTDefRegMap(@Self)^.&set := $00000004;
  63779. end;
  63780. function TETH_ETHIEN.getTXABORTIE : TBits_1; inline;
  63781. begin
  63782. getTXABORTIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  63783. end;
  63784. procedure TETH_ETHIEN.setTXDONEIE; inline;
  63785. begin
  63786. pTDefRegMap(@Self)^.&set := $00000008;
  63787. end;
  63788. procedure TETH_ETHIEN.clearTXDONEIE; inline;
  63789. begin
  63790. pTDefRegMap(@Self)^.clr := $00000008;
  63791. end;
  63792. procedure TETH_ETHIEN.setTXDONEIE(thebits : TBits_1); inline;
  63793. begin
  63794. if thebits = 0 then
  63795. pTDefRegMap(@Self)^.clr := $00000008
  63796. else
  63797. pTDefRegMap(@Self)^.&set := $00000008;
  63798. end;
  63799. function TETH_ETHIEN.getTXDONEIE : TBits_1; inline;
  63800. begin
  63801. getTXDONEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  63802. end;
  63803. procedure TETH_ETHIEN.setRXACTIE; inline;
  63804. begin
  63805. pTDefRegMap(@Self)^.&set := $00000020;
  63806. end;
  63807. procedure TETH_ETHIEN.clearRXACTIE; inline;
  63808. begin
  63809. pTDefRegMap(@Self)^.clr := $00000020;
  63810. end;
  63811. procedure TETH_ETHIEN.setRXACTIE(thebits : TBits_1); inline;
  63812. begin
  63813. if thebits = 0 then
  63814. pTDefRegMap(@Self)^.clr := $00000020
  63815. else
  63816. pTDefRegMap(@Self)^.&set := $00000020;
  63817. end;
  63818. function TETH_ETHIEN.getRXACTIE : TBits_1; inline;
  63819. begin
  63820. getRXACTIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  63821. end;
  63822. procedure TETH_ETHIEN.setPKTPENDIE; inline;
  63823. begin
  63824. pTDefRegMap(@Self)^.&set := $00000040;
  63825. end;
  63826. procedure TETH_ETHIEN.clearPKTPENDIE; inline;
  63827. begin
  63828. pTDefRegMap(@Self)^.clr := $00000040;
  63829. end;
  63830. procedure TETH_ETHIEN.setPKTPENDIE(thebits : TBits_1); inline;
  63831. begin
  63832. if thebits = 0 then
  63833. pTDefRegMap(@Self)^.clr := $00000040
  63834. else
  63835. pTDefRegMap(@Self)^.&set := $00000040;
  63836. end;
  63837. function TETH_ETHIEN.getPKTPENDIE : TBits_1; inline;
  63838. begin
  63839. getPKTPENDIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  63840. end;
  63841. procedure TETH_ETHIEN.setRXDONEIE; inline;
  63842. begin
  63843. pTDefRegMap(@Self)^.&set := $00000080;
  63844. end;
  63845. procedure TETH_ETHIEN.clearRXDONEIE; inline;
  63846. begin
  63847. pTDefRegMap(@Self)^.clr := $00000080;
  63848. end;
  63849. procedure TETH_ETHIEN.setRXDONEIE(thebits : TBits_1); inline;
  63850. begin
  63851. if thebits = 0 then
  63852. pTDefRegMap(@Self)^.clr := $00000080
  63853. else
  63854. pTDefRegMap(@Self)^.&set := $00000080;
  63855. end;
  63856. function TETH_ETHIEN.getRXDONEIE : TBits_1; inline;
  63857. begin
  63858. getRXDONEIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  63859. end;
  63860. procedure TETH_ETHIEN.setFWMARKIE; inline;
  63861. begin
  63862. pTDefRegMap(@Self)^.&set := $00000100;
  63863. end;
  63864. procedure TETH_ETHIEN.clearFWMARKIE; inline;
  63865. begin
  63866. pTDefRegMap(@Self)^.clr := $00000100;
  63867. end;
  63868. procedure TETH_ETHIEN.setFWMARKIE(thebits : TBits_1); inline;
  63869. begin
  63870. if thebits = 0 then
  63871. pTDefRegMap(@Self)^.clr := $00000100
  63872. else
  63873. pTDefRegMap(@Self)^.&set := $00000100;
  63874. end;
  63875. function TETH_ETHIEN.getFWMARKIE : TBits_1; inline;
  63876. begin
  63877. getFWMARKIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  63878. end;
  63879. procedure TETH_ETHIEN.setEWMARKIE; inline;
  63880. begin
  63881. pTDefRegMap(@Self)^.&set := $00000200;
  63882. end;
  63883. procedure TETH_ETHIEN.clearEWMARKIE; inline;
  63884. begin
  63885. pTDefRegMap(@Self)^.clr := $00000200;
  63886. end;
  63887. procedure TETH_ETHIEN.setEWMARKIE(thebits : TBits_1); inline;
  63888. begin
  63889. if thebits = 0 then
  63890. pTDefRegMap(@Self)^.clr := $00000200
  63891. else
  63892. pTDefRegMap(@Self)^.&set := $00000200;
  63893. end;
  63894. function TETH_ETHIEN.getEWMARKIE : TBits_1; inline;
  63895. begin
  63896. getEWMARKIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  63897. end;
  63898. procedure TETH_ETHIEN.setRXBUSEIE; inline;
  63899. begin
  63900. pTDefRegMap(@Self)^.&set := $00002000;
  63901. end;
  63902. procedure TETH_ETHIEN.clearRXBUSEIE; inline;
  63903. begin
  63904. pTDefRegMap(@Self)^.clr := $00002000;
  63905. end;
  63906. procedure TETH_ETHIEN.setRXBUSEIE(thebits : TBits_1); inline;
  63907. begin
  63908. if thebits = 0 then
  63909. pTDefRegMap(@Self)^.clr := $00002000
  63910. else
  63911. pTDefRegMap(@Self)^.&set := $00002000;
  63912. end;
  63913. function TETH_ETHIEN.getRXBUSEIE : TBits_1; inline;
  63914. begin
  63915. getRXBUSEIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  63916. end;
  63917. procedure TETH_ETHIEN.setTXBUSEIE; inline;
  63918. begin
  63919. pTDefRegMap(@Self)^.&set := $00004000;
  63920. end;
  63921. procedure TETH_ETHIEN.clearTXBUSEIE; inline;
  63922. begin
  63923. pTDefRegMap(@Self)^.clr := $00004000;
  63924. end;
  63925. procedure TETH_ETHIEN.setTXBUSEIE(thebits : TBits_1); inline;
  63926. begin
  63927. if thebits = 0 then
  63928. pTDefRegMap(@Self)^.clr := $00004000
  63929. else
  63930. pTDefRegMap(@Self)^.&set := $00004000;
  63931. end;
  63932. function TETH_ETHIEN.getTXBUSEIE : TBits_1; inline;
  63933. begin
  63934. getTXBUSEIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  63935. end;
  63936. procedure TETH_ETHIEN.setw(thebits : TBits_32); inline;
  63937. begin
  63938. pTDefRegMap(@Self)^.val := thebits;
  63939. end;
  63940. function TETH_ETHIEN.getw : TBits_32; inline;
  63941. begin
  63942. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63943. end;
  63944. procedure TETH_ETHIRQ.setRXOVFLW; inline;
  63945. begin
  63946. pTDefRegMap(@Self)^.&set := $00000001;
  63947. end;
  63948. procedure TETH_ETHIRQ.clearRXOVFLW; inline;
  63949. begin
  63950. pTDefRegMap(@Self)^.clr := $00000001;
  63951. end;
  63952. procedure TETH_ETHIRQ.setRXOVFLW(thebits : TBits_1); inline;
  63953. begin
  63954. if thebits = 0 then
  63955. pTDefRegMap(@Self)^.clr := $00000001
  63956. else
  63957. pTDefRegMap(@Self)^.&set := $00000001;
  63958. end;
  63959. function TETH_ETHIRQ.getRXOVFLW : TBits_1; inline;
  63960. begin
  63961. getRXOVFLW := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  63962. end;
  63963. procedure TETH_ETHIRQ.setRXBUFNA; inline;
  63964. begin
  63965. pTDefRegMap(@Self)^.&set := $00000002;
  63966. end;
  63967. procedure TETH_ETHIRQ.clearRXBUFNA; inline;
  63968. begin
  63969. pTDefRegMap(@Self)^.clr := $00000002;
  63970. end;
  63971. procedure TETH_ETHIRQ.setRXBUFNA(thebits : TBits_1); inline;
  63972. begin
  63973. if thebits = 0 then
  63974. pTDefRegMap(@Self)^.clr := $00000002
  63975. else
  63976. pTDefRegMap(@Self)^.&set := $00000002;
  63977. end;
  63978. function TETH_ETHIRQ.getRXBUFNA : TBits_1; inline;
  63979. begin
  63980. getRXBUFNA := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  63981. end;
  63982. procedure TETH_ETHIRQ.setTXABORT; inline;
  63983. begin
  63984. pTDefRegMap(@Self)^.&set := $00000004;
  63985. end;
  63986. procedure TETH_ETHIRQ.clearTXABORT; inline;
  63987. begin
  63988. pTDefRegMap(@Self)^.clr := $00000004;
  63989. end;
  63990. procedure TETH_ETHIRQ.setTXABORT(thebits : TBits_1); inline;
  63991. begin
  63992. if thebits = 0 then
  63993. pTDefRegMap(@Self)^.clr := $00000004
  63994. else
  63995. pTDefRegMap(@Self)^.&set := $00000004;
  63996. end;
  63997. function TETH_ETHIRQ.getTXABORT : TBits_1; inline;
  63998. begin
  63999. getTXABORT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  64000. end;
  64001. procedure TETH_ETHIRQ.setTXDONE; inline;
  64002. begin
  64003. pTDefRegMap(@Self)^.&set := $00000008;
  64004. end;
  64005. procedure TETH_ETHIRQ.clearTXDONE; inline;
  64006. begin
  64007. pTDefRegMap(@Self)^.clr := $00000008;
  64008. end;
  64009. procedure TETH_ETHIRQ.setTXDONE(thebits : TBits_1); inline;
  64010. begin
  64011. if thebits = 0 then
  64012. pTDefRegMap(@Self)^.clr := $00000008
  64013. else
  64014. pTDefRegMap(@Self)^.&set := $00000008;
  64015. end;
  64016. function TETH_ETHIRQ.getTXDONE : TBits_1; inline;
  64017. begin
  64018. getTXDONE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  64019. end;
  64020. procedure TETH_ETHIRQ.setRXACT; inline;
  64021. begin
  64022. pTDefRegMap(@Self)^.&set := $00000020;
  64023. end;
  64024. procedure TETH_ETHIRQ.clearRXACT; inline;
  64025. begin
  64026. pTDefRegMap(@Self)^.clr := $00000020;
  64027. end;
  64028. procedure TETH_ETHIRQ.setRXACT(thebits : TBits_1); inline;
  64029. begin
  64030. if thebits = 0 then
  64031. pTDefRegMap(@Self)^.clr := $00000020
  64032. else
  64033. pTDefRegMap(@Self)^.&set := $00000020;
  64034. end;
  64035. function TETH_ETHIRQ.getRXACT : TBits_1; inline;
  64036. begin
  64037. getRXACT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  64038. end;
  64039. procedure TETH_ETHIRQ.setPKTPEND; inline;
  64040. begin
  64041. pTDefRegMap(@Self)^.&set := $00000040;
  64042. end;
  64043. procedure TETH_ETHIRQ.clearPKTPEND; inline;
  64044. begin
  64045. pTDefRegMap(@Self)^.clr := $00000040;
  64046. end;
  64047. procedure TETH_ETHIRQ.setPKTPEND(thebits : TBits_1); inline;
  64048. begin
  64049. if thebits = 0 then
  64050. pTDefRegMap(@Self)^.clr := $00000040
  64051. else
  64052. pTDefRegMap(@Self)^.&set := $00000040;
  64053. end;
  64054. function TETH_ETHIRQ.getPKTPEND : TBits_1; inline;
  64055. begin
  64056. getPKTPEND := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  64057. end;
  64058. procedure TETH_ETHIRQ.setRXDONE; inline;
  64059. begin
  64060. pTDefRegMap(@Self)^.&set := $00000080;
  64061. end;
  64062. procedure TETH_ETHIRQ.clearRXDONE; inline;
  64063. begin
  64064. pTDefRegMap(@Self)^.clr := $00000080;
  64065. end;
  64066. procedure TETH_ETHIRQ.setRXDONE(thebits : TBits_1); inline;
  64067. begin
  64068. if thebits = 0 then
  64069. pTDefRegMap(@Self)^.clr := $00000080
  64070. else
  64071. pTDefRegMap(@Self)^.&set := $00000080;
  64072. end;
  64073. function TETH_ETHIRQ.getRXDONE : TBits_1; inline;
  64074. begin
  64075. getRXDONE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  64076. end;
  64077. procedure TETH_ETHIRQ.setFWMARK; inline;
  64078. begin
  64079. pTDefRegMap(@Self)^.&set := $00000100;
  64080. end;
  64081. procedure TETH_ETHIRQ.clearFWMARK; inline;
  64082. begin
  64083. pTDefRegMap(@Self)^.clr := $00000100;
  64084. end;
  64085. procedure TETH_ETHIRQ.setFWMARK(thebits : TBits_1); inline;
  64086. begin
  64087. if thebits = 0 then
  64088. pTDefRegMap(@Self)^.clr := $00000100
  64089. else
  64090. pTDefRegMap(@Self)^.&set := $00000100;
  64091. end;
  64092. function TETH_ETHIRQ.getFWMARK : TBits_1; inline;
  64093. begin
  64094. getFWMARK := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  64095. end;
  64096. procedure TETH_ETHIRQ.setEWMARK; inline;
  64097. begin
  64098. pTDefRegMap(@Self)^.&set := $00000200;
  64099. end;
  64100. procedure TETH_ETHIRQ.clearEWMARK; inline;
  64101. begin
  64102. pTDefRegMap(@Self)^.clr := $00000200;
  64103. end;
  64104. procedure TETH_ETHIRQ.setEWMARK(thebits : TBits_1); inline;
  64105. begin
  64106. if thebits = 0 then
  64107. pTDefRegMap(@Self)^.clr := $00000200
  64108. else
  64109. pTDefRegMap(@Self)^.&set := $00000200;
  64110. end;
  64111. function TETH_ETHIRQ.getEWMARK : TBits_1; inline;
  64112. begin
  64113. getEWMARK := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  64114. end;
  64115. procedure TETH_ETHIRQ.setRXBUSE; inline;
  64116. begin
  64117. pTDefRegMap(@Self)^.&set := $00002000;
  64118. end;
  64119. procedure TETH_ETHIRQ.clearRXBUSE; inline;
  64120. begin
  64121. pTDefRegMap(@Self)^.clr := $00002000;
  64122. end;
  64123. procedure TETH_ETHIRQ.setRXBUSE(thebits : TBits_1); inline;
  64124. begin
  64125. if thebits = 0 then
  64126. pTDefRegMap(@Self)^.clr := $00002000
  64127. else
  64128. pTDefRegMap(@Self)^.&set := $00002000;
  64129. end;
  64130. function TETH_ETHIRQ.getRXBUSE : TBits_1; inline;
  64131. begin
  64132. getRXBUSE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  64133. end;
  64134. procedure TETH_ETHIRQ.setTXBUSE; inline;
  64135. begin
  64136. pTDefRegMap(@Self)^.&set := $00004000;
  64137. end;
  64138. procedure TETH_ETHIRQ.clearTXBUSE; inline;
  64139. begin
  64140. pTDefRegMap(@Self)^.clr := $00004000;
  64141. end;
  64142. procedure TETH_ETHIRQ.setTXBUSE(thebits : TBits_1); inline;
  64143. begin
  64144. if thebits = 0 then
  64145. pTDefRegMap(@Self)^.clr := $00004000
  64146. else
  64147. pTDefRegMap(@Self)^.&set := $00004000;
  64148. end;
  64149. function TETH_ETHIRQ.getTXBUSE : TBits_1; inline;
  64150. begin
  64151. getTXBUSE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  64152. end;
  64153. procedure TETH_ETHIRQ.setw(thebits : TBits_32); inline;
  64154. begin
  64155. pTDefRegMap(@Self)^.val := thebits;
  64156. end;
  64157. function TETH_ETHIRQ.getw : TBits_32; inline;
  64158. begin
  64159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64160. end;
  64161. procedure TETH_ETHSTAT.setRXBUSY; inline;
  64162. begin
  64163. pTDefRegMap(@Self)^.&set := $00000020;
  64164. end;
  64165. procedure TETH_ETHSTAT.clearRXBUSY; inline;
  64166. begin
  64167. pTDefRegMap(@Self)^.clr := $00000020;
  64168. end;
  64169. procedure TETH_ETHSTAT.setRXBUSY(thebits : TBits_1); inline;
  64170. begin
  64171. if thebits = 0 then
  64172. pTDefRegMap(@Self)^.clr := $00000020
  64173. else
  64174. pTDefRegMap(@Self)^.&set := $00000020;
  64175. end;
  64176. function TETH_ETHSTAT.getRXBUSY : TBits_1; inline;
  64177. begin
  64178. getRXBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  64179. end;
  64180. procedure TETH_ETHSTAT.setTXBUSY; inline;
  64181. begin
  64182. pTDefRegMap(@Self)^.&set := $00000040;
  64183. end;
  64184. procedure TETH_ETHSTAT.clearTXBUSY; inline;
  64185. begin
  64186. pTDefRegMap(@Self)^.clr := $00000040;
  64187. end;
  64188. procedure TETH_ETHSTAT.setTXBUSY(thebits : TBits_1); inline;
  64189. begin
  64190. if thebits = 0 then
  64191. pTDefRegMap(@Self)^.clr := $00000040
  64192. else
  64193. pTDefRegMap(@Self)^.&set := $00000040;
  64194. end;
  64195. function TETH_ETHSTAT.getTXBUSY : TBits_1; inline;
  64196. begin
  64197. getTXBUSY := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  64198. end;
  64199. procedure TETH_ETHSTAT.setBUSY; inline;
  64200. begin
  64201. pTDefRegMap(@Self)^.&set := $00000080;
  64202. end;
  64203. procedure TETH_ETHSTAT.clearBUSY; inline;
  64204. begin
  64205. pTDefRegMap(@Self)^.clr := $00000080;
  64206. end;
  64207. procedure TETH_ETHSTAT.setBUSY(thebits : TBits_1); inline;
  64208. begin
  64209. if thebits = 0 then
  64210. pTDefRegMap(@Self)^.clr := $00000080
  64211. else
  64212. pTDefRegMap(@Self)^.&set := $00000080;
  64213. end;
  64214. function TETH_ETHSTAT.getBUSY : TBits_1; inline;
  64215. begin
  64216. getBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  64217. end;
  64218. procedure TETH_ETHSTAT.setBUFCNT(thebits : TBits_8); inline;
  64219. begin
  64220. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  64221. end;
  64222. function TETH_ETHSTAT.getBUFCNT : TBits_8; inline;
  64223. begin
  64224. getBUFCNT := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  64225. end;
  64226. procedure TETH_ETHSTAT.setETHBUSY; inline;
  64227. begin
  64228. pTDefRegMap(@Self)^.&set := $00000080;
  64229. end;
  64230. procedure TETH_ETHSTAT.clearETHBUSY; inline;
  64231. begin
  64232. pTDefRegMap(@Self)^.clr := $00000080;
  64233. end;
  64234. procedure TETH_ETHSTAT.setETHBUSY(thebits : TBits_1); inline;
  64235. begin
  64236. if thebits = 0 then
  64237. pTDefRegMap(@Self)^.clr := $00000080
  64238. else
  64239. pTDefRegMap(@Self)^.&set := $00000080;
  64240. end;
  64241. function TETH_ETHSTAT.getETHBUSY : TBits_1; inline;
  64242. begin
  64243. getETHBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  64244. end;
  64245. procedure TETH_ETHSTAT.setw(thebits : TBits_32); inline;
  64246. begin
  64247. pTDefRegMap(@Self)^.val := thebits;
  64248. end;
  64249. function TETH_ETHSTAT.getw : TBits_32; inline;
  64250. begin
  64251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64252. end;
  64253. procedure TETH_ETHRXOVFLOW.setRXOVFLWCNT(thebits : TBits_16); inline;
  64254. begin
  64255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64256. end;
  64257. function TETH_ETHRXOVFLOW.getRXOVFLWCNT : TBits_16; inline;
  64258. begin
  64259. getRXOVFLWCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64260. end;
  64261. procedure TETH_ETHRXOVFLOW.setw(thebits : TBits_32); inline;
  64262. begin
  64263. pTDefRegMap(@Self)^.val := thebits;
  64264. end;
  64265. function TETH_ETHRXOVFLOW.getw : TBits_32; inline;
  64266. begin
  64267. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64268. end;
  64269. procedure TETH_ETHFRMTXOK.setFRMTXOKCNT(thebits : TBits_16); inline;
  64270. begin
  64271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64272. end;
  64273. function TETH_ETHFRMTXOK.getFRMTXOKCNT : TBits_16; inline;
  64274. begin
  64275. getFRMTXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64276. end;
  64277. procedure TETH_ETHFRMTXOK.setw(thebits : TBits_32); inline;
  64278. begin
  64279. pTDefRegMap(@Self)^.val := thebits;
  64280. end;
  64281. function TETH_ETHFRMTXOK.getw : TBits_32; inline;
  64282. begin
  64283. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64284. end;
  64285. procedure TETH_ETHSCOLFRM.setSCOLFRMCNT(thebits : TBits_16); inline;
  64286. begin
  64287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64288. end;
  64289. function TETH_ETHSCOLFRM.getSCOLFRMCNT : TBits_16; inline;
  64290. begin
  64291. getSCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64292. end;
  64293. procedure TETH_ETHSCOLFRM.setw(thebits : TBits_32); inline;
  64294. begin
  64295. pTDefRegMap(@Self)^.val := thebits;
  64296. end;
  64297. function TETH_ETHSCOLFRM.getw : TBits_32; inline;
  64298. begin
  64299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64300. end;
  64301. procedure TETH_ETHMCOLFRM.setMCOLFRMCNT(thebits : TBits_16); inline;
  64302. begin
  64303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64304. end;
  64305. function TETH_ETHMCOLFRM.getMCOLFRMCNT : TBits_16; inline;
  64306. begin
  64307. getMCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64308. end;
  64309. procedure TETH_ETHMCOLFRM.setMCOLFRM_CNT(thebits : TBits_16); inline;
  64310. begin
  64311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64312. end;
  64313. function TETH_ETHMCOLFRM.getMCOLFRM_CNT : TBits_16; inline;
  64314. begin
  64315. getMCOLFRM_CNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64316. end;
  64317. procedure TETH_ETHMCOLFRM.setw(thebits : TBits_32); inline;
  64318. begin
  64319. pTDefRegMap(@Self)^.val := thebits;
  64320. end;
  64321. function TETH_ETHMCOLFRM.getw : TBits_32; inline;
  64322. begin
  64323. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64324. end;
  64325. procedure TETH_ETHFRMRXOK.setFRMRXOKCNT(thebits : TBits_16); inline;
  64326. begin
  64327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64328. end;
  64329. function TETH_ETHFRMRXOK.getFRMRXOKCNT : TBits_16; inline;
  64330. begin
  64331. getFRMRXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64332. end;
  64333. procedure TETH_ETHFRMRXOK.setw(thebits : TBits_32); inline;
  64334. begin
  64335. pTDefRegMap(@Self)^.val := thebits;
  64336. end;
  64337. function TETH_ETHFRMRXOK.getw : TBits_32; inline;
  64338. begin
  64339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64340. end;
  64341. procedure TETH_ETHFCSERR.setFCSERRCNT(thebits : TBits_16); inline;
  64342. begin
  64343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64344. end;
  64345. function TETH_ETHFCSERR.getFCSERRCNT : TBits_16; inline;
  64346. begin
  64347. getFCSERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64348. end;
  64349. procedure TETH_ETHFCSERR.setw(thebits : TBits_32); inline;
  64350. begin
  64351. pTDefRegMap(@Self)^.val := thebits;
  64352. end;
  64353. function TETH_ETHFCSERR.getw : TBits_32; inline;
  64354. begin
  64355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64356. end;
  64357. procedure TETH_ETHALGNERR.setALGNERRCNT(thebits : TBits_16); inline;
  64358. begin
  64359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  64360. end;
  64361. function TETH_ETHALGNERR.getALGNERRCNT : TBits_16; inline;
  64362. begin
  64363. getALGNERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  64364. end;
  64365. procedure TETH_ETHALGNERR.setw(thebits : TBits_32); inline;
  64366. begin
  64367. pTDefRegMap(@Self)^.val := thebits;
  64368. end;
  64369. function TETH_ETHALGNERR.getw : TBits_32; inline;
  64370. begin
  64371. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64372. end;
  64373. procedure TETH_EMAC1CFG1.setRXENABLE; inline;
  64374. begin
  64375. pTDefRegMap(@Self)^.&set := $00000001;
  64376. end;
  64377. procedure TETH_EMAC1CFG1.clearRXENABLE; inline;
  64378. begin
  64379. pTDefRegMap(@Self)^.clr := $00000001;
  64380. end;
  64381. procedure TETH_EMAC1CFG1.setRXENABLE(thebits : TBits_1); inline;
  64382. begin
  64383. if thebits = 0 then
  64384. pTDefRegMap(@Self)^.clr := $00000001
  64385. else
  64386. pTDefRegMap(@Self)^.&set := $00000001;
  64387. end;
  64388. function TETH_EMAC1CFG1.getRXENABLE : TBits_1; inline;
  64389. begin
  64390. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  64391. end;
  64392. procedure TETH_EMAC1CFG1.setPASSALL; inline;
  64393. begin
  64394. pTDefRegMap(@Self)^.&set := $00000002;
  64395. end;
  64396. procedure TETH_EMAC1CFG1.clearPASSALL; inline;
  64397. begin
  64398. pTDefRegMap(@Self)^.clr := $00000002;
  64399. end;
  64400. procedure TETH_EMAC1CFG1.setPASSALL(thebits : TBits_1); inline;
  64401. begin
  64402. if thebits = 0 then
  64403. pTDefRegMap(@Self)^.clr := $00000002
  64404. else
  64405. pTDefRegMap(@Self)^.&set := $00000002;
  64406. end;
  64407. function TETH_EMAC1CFG1.getPASSALL : TBits_1; inline;
  64408. begin
  64409. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  64410. end;
  64411. procedure TETH_EMAC1CFG1.setRXPAUSE; inline;
  64412. begin
  64413. pTDefRegMap(@Self)^.&set := $00000004;
  64414. end;
  64415. procedure TETH_EMAC1CFG1.clearRXPAUSE; inline;
  64416. begin
  64417. pTDefRegMap(@Self)^.clr := $00000004;
  64418. end;
  64419. procedure TETH_EMAC1CFG1.setRXPAUSE(thebits : TBits_1); inline;
  64420. begin
  64421. if thebits = 0 then
  64422. pTDefRegMap(@Self)^.clr := $00000004
  64423. else
  64424. pTDefRegMap(@Self)^.&set := $00000004;
  64425. end;
  64426. function TETH_EMAC1CFG1.getRXPAUSE : TBits_1; inline;
  64427. begin
  64428. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  64429. end;
  64430. procedure TETH_EMAC1CFG1.setTXPAUSE; inline;
  64431. begin
  64432. pTDefRegMap(@Self)^.&set := $00000008;
  64433. end;
  64434. procedure TETH_EMAC1CFG1.clearTXPAUSE; inline;
  64435. begin
  64436. pTDefRegMap(@Self)^.clr := $00000008;
  64437. end;
  64438. procedure TETH_EMAC1CFG1.setTXPAUSE(thebits : TBits_1); inline;
  64439. begin
  64440. if thebits = 0 then
  64441. pTDefRegMap(@Self)^.clr := $00000008
  64442. else
  64443. pTDefRegMap(@Self)^.&set := $00000008;
  64444. end;
  64445. function TETH_EMAC1CFG1.getTXPAUSE : TBits_1; inline;
  64446. begin
  64447. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  64448. end;
  64449. procedure TETH_EMAC1CFG1.setLOOPBACK; inline;
  64450. begin
  64451. pTDefRegMap(@Self)^.&set := $00000010;
  64452. end;
  64453. procedure TETH_EMAC1CFG1.clearLOOPBACK; inline;
  64454. begin
  64455. pTDefRegMap(@Self)^.clr := $00000010;
  64456. end;
  64457. procedure TETH_EMAC1CFG1.setLOOPBACK(thebits : TBits_1); inline;
  64458. begin
  64459. if thebits = 0 then
  64460. pTDefRegMap(@Self)^.clr := $00000010
  64461. else
  64462. pTDefRegMap(@Self)^.&set := $00000010;
  64463. end;
  64464. function TETH_EMAC1CFG1.getLOOPBACK : TBits_1; inline;
  64465. begin
  64466. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  64467. end;
  64468. procedure TETH_EMAC1CFG1.setRESETTFUN; inline;
  64469. begin
  64470. pTDefRegMap(@Self)^.&set := $00000100;
  64471. end;
  64472. procedure TETH_EMAC1CFG1.clearRESETTFUN; inline;
  64473. begin
  64474. pTDefRegMap(@Self)^.clr := $00000100;
  64475. end;
  64476. procedure TETH_EMAC1CFG1.setRESETTFUN(thebits : TBits_1); inline;
  64477. begin
  64478. if thebits = 0 then
  64479. pTDefRegMap(@Self)^.clr := $00000100
  64480. else
  64481. pTDefRegMap(@Self)^.&set := $00000100;
  64482. end;
  64483. function TETH_EMAC1CFG1.getRESETTFUN : TBits_1; inline;
  64484. begin
  64485. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  64486. end;
  64487. procedure TETH_EMAC1CFG1.setRESETTMCS; inline;
  64488. begin
  64489. pTDefRegMap(@Self)^.&set := $00000200;
  64490. end;
  64491. procedure TETH_EMAC1CFG1.clearRESETTMCS; inline;
  64492. begin
  64493. pTDefRegMap(@Self)^.clr := $00000200;
  64494. end;
  64495. procedure TETH_EMAC1CFG1.setRESETTMCS(thebits : TBits_1); inline;
  64496. begin
  64497. if thebits = 0 then
  64498. pTDefRegMap(@Self)^.clr := $00000200
  64499. else
  64500. pTDefRegMap(@Self)^.&set := $00000200;
  64501. end;
  64502. function TETH_EMAC1CFG1.getRESETTMCS : TBits_1; inline;
  64503. begin
  64504. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  64505. end;
  64506. procedure TETH_EMAC1CFG1.setRESETRFUN; inline;
  64507. begin
  64508. pTDefRegMap(@Self)^.&set := $00000400;
  64509. end;
  64510. procedure TETH_EMAC1CFG1.clearRESETRFUN; inline;
  64511. begin
  64512. pTDefRegMap(@Self)^.clr := $00000400;
  64513. end;
  64514. procedure TETH_EMAC1CFG1.setRESETRFUN(thebits : TBits_1); inline;
  64515. begin
  64516. if thebits = 0 then
  64517. pTDefRegMap(@Self)^.clr := $00000400
  64518. else
  64519. pTDefRegMap(@Self)^.&set := $00000400;
  64520. end;
  64521. function TETH_EMAC1CFG1.getRESETRFUN : TBits_1; inline;
  64522. begin
  64523. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  64524. end;
  64525. procedure TETH_EMAC1CFG1.setRESETRMCS; inline;
  64526. begin
  64527. pTDefRegMap(@Self)^.&set := $00000800;
  64528. end;
  64529. procedure TETH_EMAC1CFG1.clearRESETRMCS; inline;
  64530. begin
  64531. pTDefRegMap(@Self)^.clr := $00000800;
  64532. end;
  64533. procedure TETH_EMAC1CFG1.setRESETRMCS(thebits : TBits_1); inline;
  64534. begin
  64535. if thebits = 0 then
  64536. pTDefRegMap(@Self)^.clr := $00000800
  64537. else
  64538. pTDefRegMap(@Self)^.&set := $00000800;
  64539. end;
  64540. function TETH_EMAC1CFG1.getRESETRMCS : TBits_1; inline;
  64541. begin
  64542. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  64543. end;
  64544. procedure TETH_EMAC1CFG1.setSIMRESET; inline;
  64545. begin
  64546. pTDefRegMap(@Self)^.&set := $00004000;
  64547. end;
  64548. procedure TETH_EMAC1CFG1.clearSIMRESET; inline;
  64549. begin
  64550. pTDefRegMap(@Self)^.clr := $00004000;
  64551. end;
  64552. procedure TETH_EMAC1CFG1.setSIMRESET(thebits : TBits_1); inline;
  64553. begin
  64554. if thebits = 0 then
  64555. pTDefRegMap(@Self)^.clr := $00004000
  64556. else
  64557. pTDefRegMap(@Self)^.&set := $00004000;
  64558. end;
  64559. function TETH_EMAC1CFG1.getSIMRESET : TBits_1; inline;
  64560. begin
  64561. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  64562. end;
  64563. procedure TETH_EMAC1CFG1.setSOFTRESET; inline;
  64564. begin
  64565. pTDefRegMap(@Self)^.&set := $00008000;
  64566. end;
  64567. procedure TETH_EMAC1CFG1.clearSOFTRESET; inline;
  64568. begin
  64569. pTDefRegMap(@Self)^.clr := $00008000;
  64570. end;
  64571. procedure TETH_EMAC1CFG1.setSOFTRESET(thebits : TBits_1); inline;
  64572. begin
  64573. if thebits = 0 then
  64574. pTDefRegMap(@Self)^.clr := $00008000
  64575. else
  64576. pTDefRegMap(@Self)^.&set := $00008000;
  64577. end;
  64578. function TETH_EMAC1CFG1.getSOFTRESET : TBits_1; inline;
  64579. begin
  64580. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  64581. end;
  64582. procedure TETH_EMAC1CFG1.setw(thebits : TBits_32); inline;
  64583. begin
  64584. pTDefRegMap(@Self)^.val := thebits;
  64585. end;
  64586. function TETH_EMAC1CFG1.getw : TBits_32; inline;
  64587. begin
  64588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64589. end;
  64590. procedure TETH_EMACxCFG1.setRXENABLE; inline;
  64591. begin
  64592. pTDefRegMap(@Self)^.&set := $00000001;
  64593. end;
  64594. procedure TETH_EMACxCFG1.clearRXENABLE; inline;
  64595. begin
  64596. pTDefRegMap(@Self)^.clr := $00000001;
  64597. end;
  64598. procedure TETH_EMACxCFG1.setRXENABLE(thebits : TBits_1); inline;
  64599. begin
  64600. if thebits = 0 then
  64601. pTDefRegMap(@Self)^.clr := $00000001
  64602. else
  64603. pTDefRegMap(@Self)^.&set := $00000001;
  64604. end;
  64605. function TETH_EMACxCFG1.getRXENABLE : TBits_1; inline;
  64606. begin
  64607. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  64608. end;
  64609. procedure TETH_EMACxCFG1.setPASSALL; inline;
  64610. begin
  64611. pTDefRegMap(@Self)^.&set := $00000002;
  64612. end;
  64613. procedure TETH_EMACxCFG1.clearPASSALL; inline;
  64614. begin
  64615. pTDefRegMap(@Self)^.clr := $00000002;
  64616. end;
  64617. procedure TETH_EMACxCFG1.setPASSALL(thebits : TBits_1); inline;
  64618. begin
  64619. if thebits = 0 then
  64620. pTDefRegMap(@Self)^.clr := $00000002
  64621. else
  64622. pTDefRegMap(@Self)^.&set := $00000002;
  64623. end;
  64624. function TETH_EMACxCFG1.getPASSALL : TBits_1; inline;
  64625. begin
  64626. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  64627. end;
  64628. procedure TETH_EMACxCFG1.setRXPAUSE; inline;
  64629. begin
  64630. pTDefRegMap(@Self)^.&set := $00000004;
  64631. end;
  64632. procedure TETH_EMACxCFG1.clearRXPAUSE; inline;
  64633. begin
  64634. pTDefRegMap(@Self)^.clr := $00000004;
  64635. end;
  64636. procedure TETH_EMACxCFG1.setRXPAUSE(thebits : TBits_1); inline;
  64637. begin
  64638. if thebits = 0 then
  64639. pTDefRegMap(@Self)^.clr := $00000004
  64640. else
  64641. pTDefRegMap(@Self)^.&set := $00000004;
  64642. end;
  64643. function TETH_EMACxCFG1.getRXPAUSE : TBits_1; inline;
  64644. begin
  64645. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  64646. end;
  64647. procedure TETH_EMACxCFG1.setTXPAUSE; inline;
  64648. begin
  64649. pTDefRegMap(@Self)^.&set := $00000008;
  64650. end;
  64651. procedure TETH_EMACxCFG1.clearTXPAUSE; inline;
  64652. begin
  64653. pTDefRegMap(@Self)^.clr := $00000008;
  64654. end;
  64655. procedure TETH_EMACxCFG1.setTXPAUSE(thebits : TBits_1); inline;
  64656. begin
  64657. if thebits = 0 then
  64658. pTDefRegMap(@Self)^.clr := $00000008
  64659. else
  64660. pTDefRegMap(@Self)^.&set := $00000008;
  64661. end;
  64662. function TETH_EMACxCFG1.getTXPAUSE : TBits_1; inline;
  64663. begin
  64664. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  64665. end;
  64666. procedure TETH_EMACxCFG1.setLOOPBACK; inline;
  64667. begin
  64668. pTDefRegMap(@Self)^.&set := $00000010;
  64669. end;
  64670. procedure TETH_EMACxCFG1.clearLOOPBACK; inline;
  64671. begin
  64672. pTDefRegMap(@Self)^.clr := $00000010;
  64673. end;
  64674. procedure TETH_EMACxCFG1.setLOOPBACK(thebits : TBits_1); inline;
  64675. begin
  64676. if thebits = 0 then
  64677. pTDefRegMap(@Self)^.clr := $00000010
  64678. else
  64679. pTDefRegMap(@Self)^.&set := $00000010;
  64680. end;
  64681. function TETH_EMACxCFG1.getLOOPBACK : TBits_1; inline;
  64682. begin
  64683. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  64684. end;
  64685. procedure TETH_EMACxCFG1.setRESETTFUN; inline;
  64686. begin
  64687. pTDefRegMap(@Self)^.&set := $00000100;
  64688. end;
  64689. procedure TETH_EMACxCFG1.clearRESETTFUN; inline;
  64690. begin
  64691. pTDefRegMap(@Self)^.clr := $00000100;
  64692. end;
  64693. procedure TETH_EMACxCFG1.setRESETTFUN(thebits : TBits_1); inline;
  64694. begin
  64695. if thebits = 0 then
  64696. pTDefRegMap(@Self)^.clr := $00000100
  64697. else
  64698. pTDefRegMap(@Self)^.&set := $00000100;
  64699. end;
  64700. function TETH_EMACxCFG1.getRESETTFUN : TBits_1; inline;
  64701. begin
  64702. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  64703. end;
  64704. procedure TETH_EMACxCFG1.setRESETTMCS; inline;
  64705. begin
  64706. pTDefRegMap(@Self)^.&set := $00000200;
  64707. end;
  64708. procedure TETH_EMACxCFG1.clearRESETTMCS; inline;
  64709. begin
  64710. pTDefRegMap(@Self)^.clr := $00000200;
  64711. end;
  64712. procedure TETH_EMACxCFG1.setRESETTMCS(thebits : TBits_1); inline;
  64713. begin
  64714. if thebits = 0 then
  64715. pTDefRegMap(@Self)^.clr := $00000200
  64716. else
  64717. pTDefRegMap(@Self)^.&set := $00000200;
  64718. end;
  64719. function TETH_EMACxCFG1.getRESETTMCS : TBits_1; inline;
  64720. begin
  64721. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  64722. end;
  64723. procedure TETH_EMACxCFG1.setRESETRFUN; inline;
  64724. begin
  64725. pTDefRegMap(@Self)^.&set := $00000400;
  64726. end;
  64727. procedure TETH_EMACxCFG1.clearRESETRFUN; inline;
  64728. begin
  64729. pTDefRegMap(@Self)^.clr := $00000400;
  64730. end;
  64731. procedure TETH_EMACxCFG1.setRESETRFUN(thebits : TBits_1); inline;
  64732. begin
  64733. if thebits = 0 then
  64734. pTDefRegMap(@Self)^.clr := $00000400
  64735. else
  64736. pTDefRegMap(@Self)^.&set := $00000400;
  64737. end;
  64738. function TETH_EMACxCFG1.getRESETRFUN : TBits_1; inline;
  64739. begin
  64740. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  64741. end;
  64742. procedure TETH_EMACxCFG1.setRESETRMCS; inline;
  64743. begin
  64744. pTDefRegMap(@Self)^.&set := $00000800;
  64745. end;
  64746. procedure TETH_EMACxCFG1.clearRESETRMCS; inline;
  64747. begin
  64748. pTDefRegMap(@Self)^.clr := $00000800;
  64749. end;
  64750. procedure TETH_EMACxCFG1.setRESETRMCS(thebits : TBits_1); inline;
  64751. begin
  64752. if thebits = 0 then
  64753. pTDefRegMap(@Self)^.clr := $00000800
  64754. else
  64755. pTDefRegMap(@Self)^.&set := $00000800;
  64756. end;
  64757. function TETH_EMACxCFG1.getRESETRMCS : TBits_1; inline;
  64758. begin
  64759. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  64760. end;
  64761. procedure TETH_EMACxCFG1.setSIMRESET; inline;
  64762. begin
  64763. pTDefRegMap(@Self)^.&set := $00004000;
  64764. end;
  64765. procedure TETH_EMACxCFG1.clearSIMRESET; inline;
  64766. begin
  64767. pTDefRegMap(@Self)^.clr := $00004000;
  64768. end;
  64769. procedure TETH_EMACxCFG1.setSIMRESET(thebits : TBits_1); inline;
  64770. begin
  64771. if thebits = 0 then
  64772. pTDefRegMap(@Self)^.clr := $00004000
  64773. else
  64774. pTDefRegMap(@Self)^.&set := $00004000;
  64775. end;
  64776. function TETH_EMACxCFG1.getSIMRESET : TBits_1; inline;
  64777. begin
  64778. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  64779. end;
  64780. procedure TETH_EMACxCFG1.setSOFTRESET; inline;
  64781. begin
  64782. pTDefRegMap(@Self)^.&set := $00008000;
  64783. end;
  64784. procedure TETH_EMACxCFG1.clearSOFTRESET; inline;
  64785. begin
  64786. pTDefRegMap(@Self)^.clr := $00008000;
  64787. end;
  64788. procedure TETH_EMACxCFG1.setSOFTRESET(thebits : TBits_1); inline;
  64789. begin
  64790. if thebits = 0 then
  64791. pTDefRegMap(@Self)^.clr := $00008000
  64792. else
  64793. pTDefRegMap(@Self)^.&set := $00008000;
  64794. end;
  64795. function TETH_EMACxCFG1.getSOFTRESET : TBits_1; inline;
  64796. begin
  64797. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  64798. end;
  64799. procedure TETH_EMACxCFG1.setw(thebits : TBits_32); inline;
  64800. begin
  64801. pTDefRegMap(@Self)^.val := thebits;
  64802. end;
  64803. function TETH_EMACxCFG1.getw : TBits_32; inline;
  64804. begin
  64805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  64806. end;
  64807. procedure TETH_EMAC1CFG2.setFULLDPLX; inline;
  64808. begin
  64809. pTDefRegMap(@Self)^.&set := $00000001;
  64810. end;
  64811. procedure TETH_EMAC1CFG2.clearFULLDPLX; inline;
  64812. begin
  64813. pTDefRegMap(@Self)^.clr := $00000001;
  64814. end;
  64815. procedure TETH_EMAC1CFG2.setFULLDPLX(thebits : TBits_1); inline;
  64816. begin
  64817. if thebits = 0 then
  64818. pTDefRegMap(@Self)^.clr := $00000001
  64819. else
  64820. pTDefRegMap(@Self)^.&set := $00000001;
  64821. end;
  64822. function TETH_EMAC1CFG2.getFULLDPLX : TBits_1; inline;
  64823. begin
  64824. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  64825. end;
  64826. procedure TETH_EMAC1CFG2.setLENGTHCK; inline;
  64827. begin
  64828. pTDefRegMap(@Self)^.&set := $00000002;
  64829. end;
  64830. procedure TETH_EMAC1CFG2.clearLENGTHCK; inline;
  64831. begin
  64832. pTDefRegMap(@Self)^.clr := $00000002;
  64833. end;
  64834. procedure TETH_EMAC1CFG2.setLENGTHCK(thebits : TBits_1); inline;
  64835. begin
  64836. if thebits = 0 then
  64837. pTDefRegMap(@Self)^.clr := $00000002
  64838. else
  64839. pTDefRegMap(@Self)^.&set := $00000002;
  64840. end;
  64841. function TETH_EMAC1CFG2.getLENGTHCK : TBits_1; inline;
  64842. begin
  64843. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  64844. end;
  64845. procedure TETH_EMAC1CFG2.setHUGEFRM; inline;
  64846. begin
  64847. pTDefRegMap(@Self)^.&set := $00000004;
  64848. end;
  64849. procedure TETH_EMAC1CFG2.clearHUGEFRM; inline;
  64850. begin
  64851. pTDefRegMap(@Self)^.clr := $00000004;
  64852. end;
  64853. procedure TETH_EMAC1CFG2.setHUGEFRM(thebits : TBits_1); inline;
  64854. begin
  64855. if thebits = 0 then
  64856. pTDefRegMap(@Self)^.clr := $00000004
  64857. else
  64858. pTDefRegMap(@Self)^.&set := $00000004;
  64859. end;
  64860. function TETH_EMAC1CFG2.getHUGEFRM : TBits_1; inline;
  64861. begin
  64862. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  64863. end;
  64864. procedure TETH_EMAC1CFG2.setDELAYCRC; inline;
  64865. begin
  64866. pTDefRegMap(@Self)^.&set := $00000008;
  64867. end;
  64868. procedure TETH_EMAC1CFG2.clearDELAYCRC; inline;
  64869. begin
  64870. pTDefRegMap(@Self)^.clr := $00000008;
  64871. end;
  64872. procedure TETH_EMAC1CFG2.setDELAYCRC(thebits : TBits_1); inline;
  64873. begin
  64874. if thebits = 0 then
  64875. pTDefRegMap(@Self)^.clr := $00000008
  64876. else
  64877. pTDefRegMap(@Self)^.&set := $00000008;
  64878. end;
  64879. function TETH_EMAC1CFG2.getDELAYCRC : TBits_1; inline;
  64880. begin
  64881. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  64882. end;
  64883. procedure TETH_EMAC1CFG2.setCRCENABLE; inline;
  64884. begin
  64885. pTDefRegMap(@Self)^.&set := $00000010;
  64886. end;
  64887. procedure TETH_EMAC1CFG2.clearCRCENABLE; inline;
  64888. begin
  64889. pTDefRegMap(@Self)^.clr := $00000010;
  64890. end;
  64891. procedure TETH_EMAC1CFG2.setCRCENABLE(thebits : TBits_1); inline;
  64892. begin
  64893. if thebits = 0 then
  64894. pTDefRegMap(@Self)^.clr := $00000010
  64895. else
  64896. pTDefRegMap(@Self)^.&set := $00000010;
  64897. end;
  64898. function TETH_EMAC1CFG2.getCRCENABLE : TBits_1; inline;
  64899. begin
  64900. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  64901. end;
  64902. procedure TETH_EMAC1CFG2.setPADENABLE; inline;
  64903. begin
  64904. pTDefRegMap(@Self)^.&set := $00000020;
  64905. end;
  64906. procedure TETH_EMAC1CFG2.clearPADENABLE; inline;
  64907. begin
  64908. pTDefRegMap(@Self)^.clr := $00000020;
  64909. end;
  64910. procedure TETH_EMAC1CFG2.setPADENABLE(thebits : TBits_1); inline;
  64911. begin
  64912. if thebits = 0 then
  64913. pTDefRegMap(@Self)^.clr := $00000020
  64914. else
  64915. pTDefRegMap(@Self)^.&set := $00000020;
  64916. end;
  64917. function TETH_EMAC1CFG2.getPADENABLE : TBits_1; inline;
  64918. begin
  64919. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  64920. end;
  64921. procedure TETH_EMAC1CFG2.setVLANPAD; inline;
  64922. begin
  64923. pTDefRegMap(@Self)^.&set := $00000040;
  64924. end;
  64925. procedure TETH_EMAC1CFG2.clearVLANPAD; inline;
  64926. begin
  64927. pTDefRegMap(@Self)^.clr := $00000040;
  64928. end;
  64929. procedure TETH_EMAC1CFG2.setVLANPAD(thebits : TBits_1); inline;
  64930. begin
  64931. if thebits = 0 then
  64932. pTDefRegMap(@Self)^.clr := $00000040
  64933. else
  64934. pTDefRegMap(@Self)^.&set := $00000040;
  64935. end;
  64936. function TETH_EMAC1CFG2.getVLANPAD : TBits_1; inline;
  64937. begin
  64938. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  64939. end;
  64940. procedure TETH_EMAC1CFG2.setAUTOPAD; inline;
  64941. begin
  64942. pTDefRegMap(@Self)^.&set := $00000080;
  64943. end;
  64944. procedure TETH_EMAC1CFG2.clearAUTOPAD; inline;
  64945. begin
  64946. pTDefRegMap(@Self)^.clr := $00000080;
  64947. end;
  64948. procedure TETH_EMAC1CFG2.setAUTOPAD(thebits : TBits_1); inline;
  64949. begin
  64950. if thebits = 0 then
  64951. pTDefRegMap(@Self)^.clr := $00000080
  64952. else
  64953. pTDefRegMap(@Self)^.&set := $00000080;
  64954. end;
  64955. function TETH_EMAC1CFG2.getAUTOPAD : TBits_1; inline;
  64956. begin
  64957. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  64958. end;
  64959. procedure TETH_EMAC1CFG2.setPUREPRE; inline;
  64960. begin
  64961. pTDefRegMap(@Self)^.&set := $00000100;
  64962. end;
  64963. procedure TETH_EMAC1CFG2.clearPUREPRE; inline;
  64964. begin
  64965. pTDefRegMap(@Self)^.clr := $00000100;
  64966. end;
  64967. procedure TETH_EMAC1CFG2.setPUREPRE(thebits : TBits_1); inline;
  64968. begin
  64969. if thebits = 0 then
  64970. pTDefRegMap(@Self)^.clr := $00000100
  64971. else
  64972. pTDefRegMap(@Self)^.&set := $00000100;
  64973. end;
  64974. function TETH_EMAC1CFG2.getPUREPRE : TBits_1; inline;
  64975. begin
  64976. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  64977. end;
  64978. procedure TETH_EMAC1CFG2.setLONGPRE; inline;
  64979. begin
  64980. pTDefRegMap(@Self)^.&set := $00000200;
  64981. end;
  64982. procedure TETH_EMAC1CFG2.clearLONGPRE; inline;
  64983. begin
  64984. pTDefRegMap(@Self)^.clr := $00000200;
  64985. end;
  64986. procedure TETH_EMAC1CFG2.setLONGPRE(thebits : TBits_1); inline;
  64987. begin
  64988. if thebits = 0 then
  64989. pTDefRegMap(@Self)^.clr := $00000200
  64990. else
  64991. pTDefRegMap(@Self)^.&set := $00000200;
  64992. end;
  64993. function TETH_EMAC1CFG2.getLONGPRE : TBits_1; inline;
  64994. begin
  64995. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  64996. end;
  64997. procedure TETH_EMAC1CFG2.setNOBKOFF; inline;
  64998. begin
  64999. pTDefRegMap(@Self)^.&set := $00001000;
  65000. end;
  65001. procedure TETH_EMAC1CFG2.clearNOBKOFF; inline;
  65002. begin
  65003. pTDefRegMap(@Self)^.clr := $00001000;
  65004. end;
  65005. procedure TETH_EMAC1CFG2.setNOBKOFF(thebits : TBits_1); inline;
  65006. begin
  65007. if thebits = 0 then
  65008. pTDefRegMap(@Self)^.clr := $00001000
  65009. else
  65010. pTDefRegMap(@Self)^.&set := $00001000;
  65011. end;
  65012. function TETH_EMAC1CFG2.getNOBKOFF : TBits_1; inline;
  65013. begin
  65014. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  65015. end;
  65016. procedure TETH_EMAC1CFG2.setBPNOBKOFF; inline;
  65017. begin
  65018. pTDefRegMap(@Self)^.&set := $00002000;
  65019. end;
  65020. procedure TETH_EMAC1CFG2.clearBPNOBKOFF; inline;
  65021. begin
  65022. pTDefRegMap(@Self)^.clr := $00002000;
  65023. end;
  65024. procedure TETH_EMAC1CFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  65025. begin
  65026. if thebits = 0 then
  65027. pTDefRegMap(@Self)^.clr := $00002000
  65028. else
  65029. pTDefRegMap(@Self)^.&set := $00002000;
  65030. end;
  65031. function TETH_EMAC1CFG2.getBPNOBKOFF : TBits_1; inline;
  65032. begin
  65033. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  65034. end;
  65035. procedure TETH_EMAC1CFG2.setEXCESSDFR; inline;
  65036. begin
  65037. pTDefRegMap(@Self)^.&set := $00004000;
  65038. end;
  65039. procedure TETH_EMAC1CFG2.clearEXCESSDFR; inline;
  65040. begin
  65041. pTDefRegMap(@Self)^.clr := $00004000;
  65042. end;
  65043. procedure TETH_EMAC1CFG2.setEXCESSDFR(thebits : TBits_1); inline;
  65044. begin
  65045. if thebits = 0 then
  65046. pTDefRegMap(@Self)^.clr := $00004000
  65047. else
  65048. pTDefRegMap(@Self)^.&set := $00004000;
  65049. end;
  65050. function TETH_EMAC1CFG2.getEXCESSDFR : TBits_1; inline;
  65051. begin
  65052. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  65053. end;
  65054. procedure TETH_EMAC1CFG2.setw(thebits : TBits_32); inline;
  65055. begin
  65056. pTDefRegMap(@Self)^.val := thebits;
  65057. end;
  65058. function TETH_EMAC1CFG2.getw : TBits_32; inline;
  65059. begin
  65060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65061. end;
  65062. procedure TETH_EMACxCFG2.setFULLDPLX; inline;
  65063. begin
  65064. pTDefRegMap(@Self)^.&set := $00000001;
  65065. end;
  65066. procedure TETH_EMACxCFG2.clearFULLDPLX; inline;
  65067. begin
  65068. pTDefRegMap(@Self)^.clr := $00000001;
  65069. end;
  65070. procedure TETH_EMACxCFG2.setFULLDPLX(thebits : TBits_1); inline;
  65071. begin
  65072. if thebits = 0 then
  65073. pTDefRegMap(@Self)^.clr := $00000001
  65074. else
  65075. pTDefRegMap(@Self)^.&set := $00000001;
  65076. end;
  65077. function TETH_EMACxCFG2.getFULLDPLX : TBits_1; inline;
  65078. begin
  65079. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65080. end;
  65081. procedure TETH_EMACxCFG2.setLENGTHCK; inline;
  65082. begin
  65083. pTDefRegMap(@Self)^.&set := $00000002;
  65084. end;
  65085. procedure TETH_EMACxCFG2.clearLENGTHCK; inline;
  65086. begin
  65087. pTDefRegMap(@Self)^.clr := $00000002;
  65088. end;
  65089. procedure TETH_EMACxCFG2.setLENGTHCK(thebits : TBits_1); inline;
  65090. begin
  65091. if thebits = 0 then
  65092. pTDefRegMap(@Self)^.clr := $00000002
  65093. else
  65094. pTDefRegMap(@Self)^.&set := $00000002;
  65095. end;
  65096. function TETH_EMACxCFG2.getLENGTHCK : TBits_1; inline;
  65097. begin
  65098. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65099. end;
  65100. procedure TETH_EMACxCFG2.setHUGEFRM; inline;
  65101. begin
  65102. pTDefRegMap(@Self)^.&set := $00000004;
  65103. end;
  65104. procedure TETH_EMACxCFG2.clearHUGEFRM; inline;
  65105. begin
  65106. pTDefRegMap(@Self)^.clr := $00000004;
  65107. end;
  65108. procedure TETH_EMACxCFG2.setHUGEFRM(thebits : TBits_1); inline;
  65109. begin
  65110. if thebits = 0 then
  65111. pTDefRegMap(@Self)^.clr := $00000004
  65112. else
  65113. pTDefRegMap(@Self)^.&set := $00000004;
  65114. end;
  65115. function TETH_EMACxCFG2.getHUGEFRM : TBits_1; inline;
  65116. begin
  65117. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  65118. end;
  65119. procedure TETH_EMACxCFG2.setDELAYCRC; inline;
  65120. begin
  65121. pTDefRegMap(@Self)^.&set := $00000008;
  65122. end;
  65123. procedure TETH_EMACxCFG2.clearDELAYCRC; inline;
  65124. begin
  65125. pTDefRegMap(@Self)^.clr := $00000008;
  65126. end;
  65127. procedure TETH_EMACxCFG2.setDELAYCRC(thebits : TBits_1); inline;
  65128. begin
  65129. if thebits = 0 then
  65130. pTDefRegMap(@Self)^.clr := $00000008
  65131. else
  65132. pTDefRegMap(@Self)^.&set := $00000008;
  65133. end;
  65134. function TETH_EMACxCFG2.getDELAYCRC : TBits_1; inline;
  65135. begin
  65136. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  65137. end;
  65138. procedure TETH_EMACxCFG2.setCRCENABLE; inline;
  65139. begin
  65140. pTDefRegMap(@Self)^.&set := $00000010;
  65141. end;
  65142. procedure TETH_EMACxCFG2.clearCRCENABLE; inline;
  65143. begin
  65144. pTDefRegMap(@Self)^.clr := $00000010;
  65145. end;
  65146. procedure TETH_EMACxCFG2.setCRCENABLE(thebits : TBits_1); inline;
  65147. begin
  65148. if thebits = 0 then
  65149. pTDefRegMap(@Self)^.clr := $00000010
  65150. else
  65151. pTDefRegMap(@Self)^.&set := $00000010;
  65152. end;
  65153. function TETH_EMACxCFG2.getCRCENABLE : TBits_1; inline;
  65154. begin
  65155. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  65156. end;
  65157. procedure TETH_EMACxCFG2.setPADENABLE; inline;
  65158. begin
  65159. pTDefRegMap(@Self)^.&set := $00000020;
  65160. end;
  65161. procedure TETH_EMACxCFG2.clearPADENABLE; inline;
  65162. begin
  65163. pTDefRegMap(@Self)^.clr := $00000020;
  65164. end;
  65165. procedure TETH_EMACxCFG2.setPADENABLE(thebits : TBits_1); inline;
  65166. begin
  65167. if thebits = 0 then
  65168. pTDefRegMap(@Self)^.clr := $00000020
  65169. else
  65170. pTDefRegMap(@Self)^.&set := $00000020;
  65171. end;
  65172. function TETH_EMACxCFG2.getPADENABLE : TBits_1; inline;
  65173. begin
  65174. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  65175. end;
  65176. procedure TETH_EMACxCFG2.setVLANPAD; inline;
  65177. begin
  65178. pTDefRegMap(@Self)^.&set := $00000040;
  65179. end;
  65180. procedure TETH_EMACxCFG2.clearVLANPAD; inline;
  65181. begin
  65182. pTDefRegMap(@Self)^.clr := $00000040;
  65183. end;
  65184. procedure TETH_EMACxCFG2.setVLANPAD(thebits : TBits_1); inline;
  65185. begin
  65186. if thebits = 0 then
  65187. pTDefRegMap(@Self)^.clr := $00000040
  65188. else
  65189. pTDefRegMap(@Self)^.&set := $00000040;
  65190. end;
  65191. function TETH_EMACxCFG2.getVLANPAD : TBits_1; inline;
  65192. begin
  65193. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  65194. end;
  65195. procedure TETH_EMACxCFG2.setAUTOPAD; inline;
  65196. begin
  65197. pTDefRegMap(@Self)^.&set := $00000080;
  65198. end;
  65199. procedure TETH_EMACxCFG2.clearAUTOPAD; inline;
  65200. begin
  65201. pTDefRegMap(@Self)^.clr := $00000080;
  65202. end;
  65203. procedure TETH_EMACxCFG2.setAUTOPAD(thebits : TBits_1); inline;
  65204. begin
  65205. if thebits = 0 then
  65206. pTDefRegMap(@Self)^.clr := $00000080
  65207. else
  65208. pTDefRegMap(@Self)^.&set := $00000080;
  65209. end;
  65210. function TETH_EMACxCFG2.getAUTOPAD : TBits_1; inline;
  65211. begin
  65212. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  65213. end;
  65214. procedure TETH_EMACxCFG2.setPUREPRE; inline;
  65215. begin
  65216. pTDefRegMap(@Self)^.&set := $00000100;
  65217. end;
  65218. procedure TETH_EMACxCFG2.clearPUREPRE; inline;
  65219. begin
  65220. pTDefRegMap(@Self)^.clr := $00000100;
  65221. end;
  65222. procedure TETH_EMACxCFG2.setPUREPRE(thebits : TBits_1); inline;
  65223. begin
  65224. if thebits = 0 then
  65225. pTDefRegMap(@Self)^.clr := $00000100
  65226. else
  65227. pTDefRegMap(@Self)^.&set := $00000100;
  65228. end;
  65229. function TETH_EMACxCFG2.getPUREPRE : TBits_1; inline;
  65230. begin
  65231. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  65232. end;
  65233. procedure TETH_EMACxCFG2.setLONGPRE; inline;
  65234. begin
  65235. pTDefRegMap(@Self)^.&set := $00000200;
  65236. end;
  65237. procedure TETH_EMACxCFG2.clearLONGPRE; inline;
  65238. begin
  65239. pTDefRegMap(@Self)^.clr := $00000200;
  65240. end;
  65241. procedure TETH_EMACxCFG2.setLONGPRE(thebits : TBits_1); inline;
  65242. begin
  65243. if thebits = 0 then
  65244. pTDefRegMap(@Self)^.clr := $00000200
  65245. else
  65246. pTDefRegMap(@Self)^.&set := $00000200;
  65247. end;
  65248. function TETH_EMACxCFG2.getLONGPRE : TBits_1; inline;
  65249. begin
  65250. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  65251. end;
  65252. procedure TETH_EMACxCFG2.setNOBKOFF; inline;
  65253. begin
  65254. pTDefRegMap(@Self)^.&set := $00001000;
  65255. end;
  65256. procedure TETH_EMACxCFG2.clearNOBKOFF; inline;
  65257. begin
  65258. pTDefRegMap(@Self)^.clr := $00001000;
  65259. end;
  65260. procedure TETH_EMACxCFG2.setNOBKOFF(thebits : TBits_1); inline;
  65261. begin
  65262. if thebits = 0 then
  65263. pTDefRegMap(@Self)^.clr := $00001000
  65264. else
  65265. pTDefRegMap(@Self)^.&set := $00001000;
  65266. end;
  65267. function TETH_EMACxCFG2.getNOBKOFF : TBits_1; inline;
  65268. begin
  65269. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  65270. end;
  65271. procedure TETH_EMACxCFG2.setBPNOBKOFF; inline;
  65272. begin
  65273. pTDefRegMap(@Self)^.&set := $00002000;
  65274. end;
  65275. procedure TETH_EMACxCFG2.clearBPNOBKOFF; inline;
  65276. begin
  65277. pTDefRegMap(@Self)^.clr := $00002000;
  65278. end;
  65279. procedure TETH_EMACxCFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  65280. begin
  65281. if thebits = 0 then
  65282. pTDefRegMap(@Self)^.clr := $00002000
  65283. else
  65284. pTDefRegMap(@Self)^.&set := $00002000;
  65285. end;
  65286. function TETH_EMACxCFG2.getBPNOBKOFF : TBits_1; inline;
  65287. begin
  65288. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  65289. end;
  65290. procedure TETH_EMACxCFG2.setEXCESSDFR; inline;
  65291. begin
  65292. pTDefRegMap(@Self)^.&set := $00004000;
  65293. end;
  65294. procedure TETH_EMACxCFG2.clearEXCESSDFR; inline;
  65295. begin
  65296. pTDefRegMap(@Self)^.clr := $00004000;
  65297. end;
  65298. procedure TETH_EMACxCFG2.setEXCESSDFR(thebits : TBits_1); inline;
  65299. begin
  65300. if thebits = 0 then
  65301. pTDefRegMap(@Self)^.clr := $00004000
  65302. else
  65303. pTDefRegMap(@Self)^.&set := $00004000;
  65304. end;
  65305. function TETH_EMACxCFG2.getEXCESSDFR : TBits_1; inline;
  65306. begin
  65307. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  65308. end;
  65309. procedure TETH_EMACxCFG2.setw(thebits : TBits_32); inline;
  65310. begin
  65311. pTDefRegMap(@Self)^.val := thebits;
  65312. end;
  65313. function TETH_EMACxCFG2.getw : TBits_32; inline;
  65314. begin
  65315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65316. end;
  65317. procedure TETH_EMAC1IPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  65318. begin
  65319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  65320. end;
  65321. function TETH_EMAC1IPGT.getB2BIPKTGP : TBits_7; inline;
  65322. begin
  65323. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  65324. end;
  65325. procedure TETH_EMAC1IPGT.setw(thebits : TBits_32); inline;
  65326. begin
  65327. pTDefRegMap(@Self)^.val := thebits;
  65328. end;
  65329. function TETH_EMAC1IPGT.getw : TBits_32; inline;
  65330. begin
  65331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65332. end;
  65333. procedure TETH_EMACxIPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  65334. begin
  65335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  65336. end;
  65337. function TETH_EMACxIPGT.getB2BIPKTGP : TBits_7; inline;
  65338. begin
  65339. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  65340. end;
  65341. procedure TETH_EMACxIPGT.setw(thebits : TBits_32); inline;
  65342. begin
  65343. pTDefRegMap(@Self)^.val := thebits;
  65344. end;
  65345. function TETH_EMACxIPGT.getw : TBits_32; inline;
  65346. begin
  65347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65348. end;
  65349. procedure TETH_EMAC1IPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  65350. begin
  65351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  65352. end;
  65353. function TETH_EMAC1IPGR.getNB2BIPKTGP2 : TBits_7; inline;
  65354. begin
  65355. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  65356. end;
  65357. procedure TETH_EMAC1IPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  65358. begin
  65359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  65360. end;
  65361. function TETH_EMAC1IPGR.getNB2BIPKTGP1 : TBits_7; inline;
  65362. begin
  65363. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  65364. end;
  65365. procedure TETH_EMAC1IPGR.setw(thebits : TBits_32); inline;
  65366. begin
  65367. pTDefRegMap(@Self)^.val := thebits;
  65368. end;
  65369. function TETH_EMAC1IPGR.getw : TBits_32; inline;
  65370. begin
  65371. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65372. end;
  65373. procedure TETH_EMACxIPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  65374. begin
  65375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  65376. end;
  65377. function TETH_EMACxIPGR.getNB2BIPKTGP2 : TBits_7; inline;
  65378. begin
  65379. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  65380. end;
  65381. procedure TETH_EMACxIPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  65382. begin
  65383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  65384. end;
  65385. function TETH_EMACxIPGR.getNB2BIPKTGP1 : TBits_7; inline;
  65386. begin
  65387. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  65388. end;
  65389. procedure TETH_EMACxIPGR.setw(thebits : TBits_32); inline;
  65390. begin
  65391. pTDefRegMap(@Self)^.val := thebits;
  65392. end;
  65393. function TETH_EMACxIPGR.getw : TBits_32; inline;
  65394. begin
  65395. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65396. end;
  65397. procedure TETH_EMAC1CLRT.setRETX(thebits : TBits_4); inline;
  65398. begin
  65399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  65400. end;
  65401. function TETH_EMAC1CLRT.getRETX : TBits_4; inline;
  65402. begin
  65403. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  65404. end;
  65405. procedure TETH_EMAC1CLRT.setCWINDOW(thebits : TBits_6); inline;
  65406. begin
  65407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  65408. end;
  65409. function TETH_EMAC1CLRT.getCWINDOW : TBits_6; inline;
  65410. begin
  65411. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  65412. end;
  65413. procedure TETH_EMAC1CLRT.setw(thebits : TBits_32); inline;
  65414. begin
  65415. pTDefRegMap(@Self)^.val := thebits;
  65416. end;
  65417. function TETH_EMAC1CLRT.getw : TBits_32; inline;
  65418. begin
  65419. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65420. end;
  65421. procedure TETH_EMACxCLRT.setRETX(thebits : TBits_4); inline;
  65422. begin
  65423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  65424. end;
  65425. function TETH_EMACxCLRT.getRETX : TBits_4; inline;
  65426. begin
  65427. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  65428. end;
  65429. procedure TETH_EMACxCLRT.setCWINDOW(thebits : TBits_6); inline;
  65430. begin
  65431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  65432. end;
  65433. function TETH_EMACxCLRT.getCWINDOW : TBits_6; inline;
  65434. begin
  65435. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  65436. end;
  65437. procedure TETH_EMACxCLRT.setw(thebits : TBits_32); inline;
  65438. begin
  65439. pTDefRegMap(@Self)^.val := thebits;
  65440. end;
  65441. function TETH_EMACxCLRT.getw : TBits_32; inline;
  65442. begin
  65443. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65444. end;
  65445. procedure TETH_EMAC1MAXF.setMACMAXF(thebits : TBits_16); inline;
  65446. begin
  65447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  65448. end;
  65449. function TETH_EMAC1MAXF.getMACMAXF : TBits_16; inline;
  65450. begin
  65451. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  65452. end;
  65453. procedure TETH_EMAC1MAXF.setw(thebits : TBits_32); inline;
  65454. begin
  65455. pTDefRegMap(@Self)^.val := thebits;
  65456. end;
  65457. function TETH_EMAC1MAXF.getw : TBits_32; inline;
  65458. begin
  65459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65460. end;
  65461. procedure TETH_EMACxMAXF.setMACMAXF(thebits : TBits_16); inline;
  65462. begin
  65463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  65464. end;
  65465. function TETH_EMACxMAXF.getMACMAXF : TBits_16; inline;
  65466. begin
  65467. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  65468. end;
  65469. procedure TETH_EMACxMAXF.setw(thebits : TBits_32); inline;
  65470. begin
  65471. pTDefRegMap(@Self)^.val := thebits;
  65472. end;
  65473. function TETH_EMACxMAXF.getw : TBits_32; inline;
  65474. begin
  65475. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65476. end;
  65477. procedure TETH_EMAC1SUPP.setSPEEDRMII; inline;
  65478. begin
  65479. pTDefRegMap(@Self)^.&set := $00000100;
  65480. end;
  65481. procedure TETH_EMAC1SUPP.clearSPEEDRMII; inline;
  65482. begin
  65483. pTDefRegMap(@Self)^.clr := $00000100;
  65484. end;
  65485. procedure TETH_EMAC1SUPP.setSPEEDRMII(thebits : TBits_1); inline;
  65486. begin
  65487. if thebits = 0 then
  65488. pTDefRegMap(@Self)^.clr := $00000100
  65489. else
  65490. pTDefRegMap(@Self)^.&set := $00000100;
  65491. end;
  65492. function TETH_EMAC1SUPP.getSPEEDRMII : TBits_1; inline;
  65493. begin
  65494. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  65495. end;
  65496. procedure TETH_EMAC1SUPP.setRESETRMII; inline;
  65497. begin
  65498. pTDefRegMap(@Self)^.&set := $00000800;
  65499. end;
  65500. procedure TETH_EMAC1SUPP.clearRESETRMII; inline;
  65501. begin
  65502. pTDefRegMap(@Self)^.clr := $00000800;
  65503. end;
  65504. procedure TETH_EMAC1SUPP.setRESETRMII(thebits : TBits_1); inline;
  65505. begin
  65506. if thebits = 0 then
  65507. pTDefRegMap(@Self)^.clr := $00000800
  65508. else
  65509. pTDefRegMap(@Self)^.&set := $00000800;
  65510. end;
  65511. function TETH_EMAC1SUPP.getRESETRMII : TBits_1; inline;
  65512. begin
  65513. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  65514. end;
  65515. procedure TETH_EMAC1SUPP.setw(thebits : TBits_32); inline;
  65516. begin
  65517. pTDefRegMap(@Self)^.val := thebits;
  65518. end;
  65519. function TETH_EMAC1SUPP.getw : TBits_32; inline;
  65520. begin
  65521. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65522. end;
  65523. procedure TETH_EMACxSUPP.setSPEEDRMII; inline;
  65524. begin
  65525. pTDefRegMap(@Self)^.&set := $00000100;
  65526. end;
  65527. procedure TETH_EMACxSUPP.clearSPEEDRMII; inline;
  65528. begin
  65529. pTDefRegMap(@Self)^.clr := $00000100;
  65530. end;
  65531. procedure TETH_EMACxSUPP.setSPEEDRMII(thebits : TBits_1); inline;
  65532. begin
  65533. if thebits = 0 then
  65534. pTDefRegMap(@Self)^.clr := $00000100
  65535. else
  65536. pTDefRegMap(@Self)^.&set := $00000100;
  65537. end;
  65538. function TETH_EMACxSUPP.getSPEEDRMII : TBits_1; inline;
  65539. begin
  65540. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  65541. end;
  65542. procedure TETH_EMACxSUPP.setRESETRMII; inline;
  65543. begin
  65544. pTDefRegMap(@Self)^.&set := $00000800;
  65545. end;
  65546. procedure TETH_EMACxSUPP.clearRESETRMII; inline;
  65547. begin
  65548. pTDefRegMap(@Self)^.clr := $00000800;
  65549. end;
  65550. procedure TETH_EMACxSUPP.setRESETRMII(thebits : TBits_1); inline;
  65551. begin
  65552. if thebits = 0 then
  65553. pTDefRegMap(@Self)^.clr := $00000800
  65554. else
  65555. pTDefRegMap(@Self)^.&set := $00000800;
  65556. end;
  65557. function TETH_EMACxSUPP.getRESETRMII : TBits_1; inline;
  65558. begin
  65559. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  65560. end;
  65561. procedure TETH_EMACxSUPP.setw(thebits : TBits_32); inline;
  65562. begin
  65563. pTDefRegMap(@Self)^.val := thebits;
  65564. end;
  65565. function TETH_EMACxSUPP.getw : TBits_32; inline;
  65566. begin
  65567. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65568. end;
  65569. procedure TETH_EMAC1TEST.setSHRTQNTA; inline;
  65570. begin
  65571. pTDefRegMap(@Self)^.&set := $00000001;
  65572. end;
  65573. procedure TETH_EMAC1TEST.clearSHRTQNTA; inline;
  65574. begin
  65575. pTDefRegMap(@Self)^.clr := $00000001;
  65576. end;
  65577. procedure TETH_EMAC1TEST.setSHRTQNTA(thebits : TBits_1); inline;
  65578. begin
  65579. if thebits = 0 then
  65580. pTDefRegMap(@Self)^.clr := $00000001
  65581. else
  65582. pTDefRegMap(@Self)^.&set := $00000001;
  65583. end;
  65584. function TETH_EMAC1TEST.getSHRTQNTA : TBits_1; inline;
  65585. begin
  65586. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65587. end;
  65588. procedure TETH_EMAC1TEST.setTESTPAUSE; inline;
  65589. begin
  65590. pTDefRegMap(@Self)^.&set := $00000002;
  65591. end;
  65592. procedure TETH_EMAC1TEST.clearTESTPAUSE; inline;
  65593. begin
  65594. pTDefRegMap(@Self)^.clr := $00000002;
  65595. end;
  65596. procedure TETH_EMAC1TEST.setTESTPAUSE(thebits : TBits_1); inline;
  65597. begin
  65598. if thebits = 0 then
  65599. pTDefRegMap(@Self)^.clr := $00000002
  65600. else
  65601. pTDefRegMap(@Self)^.&set := $00000002;
  65602. end;
  65603. function TETH_EMAC1TEST.getTESTPAUSE : TBits_1; inline;
  65604. begin
  65605. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65606. end;
  65607. procedure TETH_EMAC1TEST.setTESTBP; inline;
  65608. begin
  65609. pTDefRegMap(@Self)^.&set := $00000004;
  65610. end;
  65611. procedure TETH_EMAC1TEST.clearTESTBP; inline;
  65612. begin
  65613. pTDefRegMap(@Self)^.clr := $00000004;
  65614. end;
  65615. procedure TETH_EMAC1TEST.setTESTBP(thebits : TBits_1); inline;
  65616. begin
  65617. if thebits = 0 then
  65618. pTDefRegMap(@Self)^.clr := $00000004
  65619. else
  65620. pTDefRegMap(@Self)^.&set := $00000004;
  65621. end;
  65622. function TETH_EMAC1TEST.getTESTBP : TBits_1; inline;
  65623. begin
  65624. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  65625. end;
  65626. procedure TETH_EMAC1TEST.setw(thebits : TBits_32); inline;
  65627. begin
  65628. pTDefRegMap(@Self)^.val := thebits;
  65629. end;
  65630. function TETH_EMAC1TEST.getw : TBits_32; inline;
  65631. begin
  65632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65633. end;
  65634. procedure TETH_EMACxTEST.setSHRTQNTA; inline;
  65635. begin
  65636. pTDefRegMap(@Self)^.&set := $00000001;
  65637. end;
  65638. procedure TETH_EMACxTEST.clearSHRTQNTA; inline;
  65639. begin
  65640. pTDefRegMap(@Self)^.clr := $00000001;
  65641. end;
  65642. procedure TETH_EMACxTEST.setSHRTQNTA(thebits : TBits_1); inline;
  65643. begin
  65644. if thebits = 0 then
  65645. pTDefRegMap(@Self)^.clr := $00000001
  65646. else
  65647. pTDefRegMap(@Self)^.&set := $00000001;
  65648. end;
  65649. function TETH_EMACxTEST.getSHRTQNTA : TBits_1; inline;
  65650. begin
  65651. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65652. end;
  65653. procedure TETH_EMACxTEST.setTESTPAUSE; inline;
  65654. begin
  65655. pTDefRegMap(@Self)^.&set := $00000002;
  65656. end;
  65657. procedure TETH_EMACxTEST.clearTESTPAUSE; inline;
  65658. begin
  65659. pTDefRegMap(@Self)^.clr := $00000002;
  65660. end;
  65661. procedure TETH_EMACxTEST.setTESTPAUSE(thebits : TBits_1); inline;
  65662. begin
  65663. if thebits = 0 then
  65664. pTDefRegMap(@Self)^.clr := $00000002
  65665. else
  65666. pTDefRegMap(@Self)^.&set := $00000002;
  65667. end;
  65668. function TETH_EMACxTEST.getTESTPAUSE : TBits_1; inline;
  65669. begin
  65670. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65671. end;
  65672. procedure TETH_EMACxTEST.setTESTBP; inline;
  65673. begin
  65674. pTDefRegMap(@Self)^.&set := $00000004;
  65675. end;
  65676. procedure TETH_EMACxTEST.clearTESTBP; inline;
  65677. begin
  65678. pTDefRegMap(@Self)^.clr := $00000004;
  65679. end;
  65680. procedure TETH_EMACxTEST.setTESTBP(thebits : TBits_1); inline;
  65681. begin
  65682. if thebits = 0 then
  65683. pTDefRegMap(@Self)^.clr := $00000004
  65684. else
  65685. pTDefRegMap(@Self)^.&set := $00000004;
  65686. end;
  65687. function TETH_EMACxTEST.getTESTBP : TBits_1; inline;
  65688. begin
  65689. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  65690. end;
  65691. procedure TETH_EMACxTEST.setw(thebits : TBits_32); inline;
  65692. begin
  65693. pTDefRegMap(@Self)^.val := thebits;
  65694. end;
  65695. function TETH_EMACxTEST.getw : TBits_32; inline;
  65696. begin
  65697. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65698. end;
  65699. procedure TETH_EMAC1MCFG.setSCANINC; inline;
  65700. begin
  65701. pTDefRegMap(@Self)^.&set := $00000001;
  65702. end;
  65703. procedure TETH_EMAC1MCFG.clearSCANINC; inline;
  65704. begin
  65705. pTDefRegMap(@Self)^.clr := $00000001;
  65706. end;
  65707. procedure TETH_EMAC1MCFG.setSCANINC(thebits : TBits_1); inline;
  65708. begin
  65709. if thebits = 0 then
  65710. pTDefRegMap(@Self)^.clr := $00000001
  65711. else
  65712. pTDefRegMap(@Self)^.&set := $00000001;
  65713. end;
  65714. function TETH_EMAC1MCFG.getSCANINC : TBits_1; inline;
  65715. begin
  65716. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65717. end;
  65718. procedure TETH_EMAC1MCFG.setNOPRE; inline;
  65719. begin
  65720. pTDefRegMap(@Self)^.&set := $00000002;
  65721. end;
  65722. procedure TETH_EMAC1MCFG.clearNOPRE; inline;
  65723. begin
  65724. pTDefRegMap(@Self)^.clr := $00000002;
  65725. end;
  65726. procedure TETH_EMAC1MCFG.setNOPRE(thebits : TBits_1); inline;
  65727. begin
  65728. if thebits = 0 then
  65729. pTDefRegMap(@Self)^.clr := $00000002
  65730. else
  65731. pTDefRegMap(@Self)^.&set := $00000002;
  65732. end;
  65733. function TETH_EMAC1MCFG.getNOPRE : TBits_1; inline;
  65734. begin
  65735. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65736. end;
  65737. procedure TETH_EMAC1MCFG.setCLKSEL(thebits : TBits_4); inline;
  65738. begin
  65739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  65740. end;
  65741. function TETH_EMAC1MCFG.getCLKSEL : TBits_4; inline;
  65742. begin
  65743. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  65744. end;
  65745. procedure TETH_EMAC1MCFG.setRESETMGMT; inline;
  65746. begin
  65747. pTDefRegMap(@Self)^.&set := $00008000;
  65748. end;
  65749. procedure TETH_EMAC1MCFG.clearRESETMGMT; inline;
  65750. begin
  65751. pTDefRegMap(@Self)^.clr := $00008000;
  65752. end;
  65753. procedure TETH_EMAC1MCFG.setRESETMGMT(thebits : TBits_1); inline;
  65754. begin
  65755. if thebits = 0 then
  65756. pTDefRegMap(@Self)^.clr := $00008000
  65757. else
  65758. pTDefRegMap(@Self)^.&set := $00008000;
  65759. end;
  65760. function TETH_EMAC1MCFG.getRESETMGMT : TBits_1; inline;
  65761. begin
  65762. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  65763. end;
  65764. procedure TETH_EMAC1MCFG.setw(thebits : TBits_32); inline;
  65765. begin
  65766. pTDefRegMap(@Self)^.val := thebits;
  65767. end;
  65768. function TETH_EMAC1MCFG.getw : TBits_32; inline;
  65769. begin
  65770. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65771. end;
  65772. procedure TETH_EMACxMCFG.setSCANINC; inline;
  65773. begin
  65774. pTDefRegMap(@Self)^.&set := $00000001;
  65775. end;
  65776. procedure TETH_EMACxMCFG.clearSCANINC; inline;
  65777. begin
  65778. pTDefRegMap(@Self)^.clr := $00000001;
  65779. end;
  65780. procedure TETH_EMACxMCFG.setSCANINC(thebits : TBits_1); inline;
  65781. begin
  65782. if thebits = 0 then
  65783. pTDefRegMap(@Self)^.clr := $00000001
  65784. else
  65785. pTDefRegMap(@Self)^.&set := $00000001;
  65786. end;
  65787. function TETH_EMACxMCFG.getSCANINC : TBits_1; inline;
  65788. begin
  65789. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65790. end;
  65791. procedure TETH_EMACxMCFG.setNOPRE; inline;
  65792. begin
  65793. pTDefRegMap(@Self)^.&set := $00000002;
  65794. end;
  65795. procedure TETH_EMACxMCFG.clearNOPRE; inline;
  65796. begin
  65797. pTDefRegMap(@Self)^.clr := $00000002;
  65798. end;
  65799. procedure TETH_EMACxMCFG.setNOPRE(thebits : TBits_1); inline;
  65800. begin
  65801. if thebits = 0 then
  65802. pTDefRegMap(@Self)^.clr := $00000002
  65803. else
  65804. pTDefRegMap(@Self)^.&set := $00000002;
  65805. end;
  65806. function TETH_EMACxMCFG.getNOPRE : TBits_1; inline;
  65807. begin
  65808. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65809. end;
  65810. procedure TETH_EMACxMCFG.setCLKSEL(thebits : TBits_4); inline;
  65811. begin
  65812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  65813. end;
  65814. function TETH_EMACxMCFG.getCLKSEL : TBits_4; inline;
  65815. begin
  65816. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  65817. end;
  65818. procedure TETH_EMACxMCFG.setRESETMGMT; inline;
  65819. begin
  65820. pTDefRegMap(@Self)^.&set := $00008000;
  65821. end;
  65822. procedure TETH_EMACxMCFG.clearRESETMGMT; inline;
  65823. begin
  65824. pTDefRegMap(@Self)^.clr := $00008000;
  65825. end;
  65826. procedure TETH_EMACxMCFG.setRESETMGMT(thebits : TBits_1); inline;
  65827. begin
  65828. if thebits = 0 then
  65829. pTDefRegMap(@Self)^.clr := $00008000
  65830. else
  65831. pTDefRegMap(@Self)^.&set := $00008000;
  65832. end;
  65833. function TETH_EMACxMCFG.getRESETMGMT : TBits_1; inline;
  65834. begin
  65835. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  65836. end;
  65837. procedure TETH_EMACxMCFG.setw(thebits : TBits_32); inline;
  65838. begin
  65839. pTDefRegMap(@Self)^.val := thebits;
  65840. end;
  65841. function TETH_EMACxMCFG.getw : TBits_32; inline;
  65842. begin
  65843. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65844. end;
  65845. procedure TETH_EMAC1MCMD.setREAD; inline;
  65846. begin
  65847. pTDefRegMap(@Self)^.&set := $00000001;
  65848. end;
  65849. procedure TETH_EMAC1MCMD.clearREAD; inline;
  65850. begin
  65851. pTDefRegMap(@Self)^.clr := $00000001;
  65852. end;
  65853. procedure TETH_EMAC1MCMD.setREAD(thebits : TBits_1); inline;
  65854. begin
  65855. if thebits = 0 then
  65856. pTDefRegMap(@Self)^.clr := $00000001
  65857. else
  65858. pTDefRegMap(@Self)^.&set := $00000001;
  65859. end;
  65860. function TETH_EMAC1MCMD.getREAD : TBits_1; inline;
  65861. begin
  65862. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65863. end;
  65864. procedure TETH_EMAC1MCMD.setSCAN; inline;
  65865. begin
  65866. pTDefRegMap(@Self)^.&set := $00000002;
  65867. end;
  65868. procedure TETH_EMAC1MCMD.clearSCAN; inline;
  65869. begin
  65870. pTDefRegMap(@Self)^.clr := $00000002;
  65871. end;
  65872. procedure TETH_EMAC1MCMD.setSCAN(thebits : TBits_1); inline;
  65873. begin
  65874. if thebits = 0 then
  65875. pTDefRegMap(@Self)^.clr := $00000002
  65876. else
  65877. pTDefRegMap(@Self)^.&set := $00000002;
  65878. end;
  65879. function TETH_EMAC1MCMD.getSCAN : TBits_1; inline;
  65880. begin
  65881. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65882. end;
  65883. procedure TETH_EMAC1MCMD.setw(thebits : TBits_32); inline;
  65884. begin
  65885. pTDefRegMap(@Self)^.val := thebits;
  65886. end;
  65887. function TETH_EMAC1MCMD.getw : TBits_32; inline;
  65888. begin
  65889. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65890. end;
  65891. procedure TETH_EMACxMCMD.setREAD; inline;
  65892. begin
  65893. pTDefRegMap(@Self)^.&set := $00000001;
  65894. end;
  65895. procedure TETH_EMACxMCMD.clearREAD; inline;
  65896. begin
  65897. pTDefRegMap(@Self)^.clr := $00000001;
  65898. end;
  65899. procedure TETH_EMACxMCMD.setREAD(thebits : TBits_1); inline;
  65900. begin
  65901. if thebits = 0 then
  65902. pTDefRegMap(@Self)^.clr := $00000001
  65903. else
  65904. pTDefRegMap(@Self)^.&set := $00000001;
  65905. end;
  65906. function TETH_EMACxMCMD.getREAD : TBits_1; inline;
  65907. begin
  65908. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  65909. end;
  65910. procedure TETH_EMACxMCMD.setSCAN; inline;
  65911. begin
  65912. pTDefRegMap(@Self)^.&set := $00000002;
  65913. end;
  65914. procedure TETH_EMACxMCMD.clearSCAN; inline;
  65915. begin
  65916. pTDefRegMap(@Self)^.clr := $00000002;
  65917. end;
  65918. procedure TETH_EMACxMCMD.setSCAN(thebits : TBits_1); inline;
  65919. begin
  65920. if thebits = 0 then
  65921. pTDefRegMap(@Self)^.clr := $00000002
  65922. else
  65923. pTDefRegMap(@Self)^.&set := $00000002;
  65924. end;
  65925. function TETH_EMACxMCMD.getSCAN : TBits_1; inline;
  65926. begin
  65927. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  65928. end;
  65929. procedure TETH_EMACxMCMD.setw(thebits : TBits_32); inline;
  65930. begin
  65931. pTDefRegMap(@Self)^.val := thebits;
  65932. end;
  65933. function TETH_EMACxMCMD.getw : TBits_32; inline;
  65934. begin
  65935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65936. end;
  65937. procedure TETH_EMAC1MADR.setREGADDR(thebits : TBits_5); inline;
  65938. begin
  65939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  65940. end;
  65941. function TETH_EMAC1MADR.getREGADDR : TBits_5; inline;
  65942. begin
  65943. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  65944. end;
  65945. procedure TETH_EMAC1MADR.setPHYADDR(thebits : TBits_5); inline;
  65946. begin
  65947. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  65948. end;
  65949. function TETH_EMAC1MADR.getPHYADDR : TBits_5; inline;
  65950. begin
  65951. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  65952. end;
  65953. procedure TETH_EMAC1MADR.setw(thebits : TBits_32); inline;
  65954. begin
  65955. pTDefRegMap(@Self)^.val := thebits;
  65956. end;
  65957. function TETH_EMAC1MADR.getw : TBits_32; inline;
  65958. begin
  65959. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65960. end;
  65961. procedure TETH_EMACxMADR.setREGADDR(thebits : TBits_5); inline;
  65962. begin
  65963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  65964. end;
  65965. function TETH_EMACxMADR.getREGADDR : TBits_5; inline;
  65966. begin
  65967. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  65968. end;
  65969. procedure TETH_EMACxMADR.setPHYADDR(thebits : TBits_5); inline;
  65970. begin
  65971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  65972. end;
  65973. function TETH_EMACxMADR.getPHYADDR : TBits_5; inline;
  65974. begin
  65975. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  65976. end;
  65977. procedure TETH_EMACxMADR.setw(thebits : TBits_32); inline;
  65978. begin
  65979. pTDefRegMap(@Self)^.val := thebits;
  65980. end;
  65981. function TETH_EMACxMADR.getw : TBits_32; inline;
  65982. begin
  65983. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  65984. end;
  65985. procedure TETH_EMAC1MWTD.setMWTD(thebits : TBits_16); inline;
  65986. begin
  65987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  65988. end;
  65989. function TETH_EMAC1MWTD.getMWTD : TBits_16; inline;
  65990. begin
  65991. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  65992. end;
  65993. procedure TETH_EMAC1MWTD.setw(thebits : TBits_32); inline;
  65994. begin
  65995. pTDefRegMap(@Self)^.val := thebits;
  65996. end;
  65997. function TETH_EMAC1MWTD.getw : TBits_32; inline;
  65998. begin
  65999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66000. end;
  66001. procedure TETH_EMACxMWTD.setMWTD(thebits : TBits_16); inline;
  66002. begin
  66003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  66004. end;
  66005. function TETH_EMACxMWTD.getMWTD : TBits_16; inline;
  66006. begin
  66007. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  66008. end;
  66009. procedure TETH_EMACxMWTD.setw(thebits : TBits_32); inline;
  66010. begin
  66011. pTDefRegMap(@Self)^.val := thebits;
  66012. end;
  66013. function TETH_EMACxMWTD.getw : TBits_32; inline;
  66014. begin
  66015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66016. end;
  66017. procedure TETH_EMAC1MRDD.setMRDD(thebits : TBits_16); inline;
  66018. begin
  66019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  66020. end;
  66021. function TETH_EMAC1MRDD.getMRDD : TBits_16; inline;
  66022. begin
  66023. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  66024. end;
  66025. procedure TETH_EMAC1MRDD.setw(thebits : TBits_32); inline;
  66026. begin
  66027. pTDefRegMap(@Self)^.val := thebits;
  66028. end;
  66029. function TETH_EMAC1MRDD.getw : TBits_32; inline;
  66030. begin
  66031. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66032. end;
  66033. procedure TETH_EMACxMRDD.setMRDD(thebits : TBits_16); inline;
  66034. begin
  66035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  66036. end;
  66037. function TETH_EMACxMRDD.getMRDD : TBits_16; inline;
  66038. begin
  66039. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  66040. end;
  66041. procedure TETH_EMACxMRDD.setw(thebits : TBits_32); inline;
  66042. begin
  66043. pTDefRegMap(@Self)^.val := thebits;
  66044. end;
  66045. function TETH_EMACxMRDD.getw : TBits_32; inline;
  66046. begin
  66047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66048. end;
  66049. procedure TETH_EMAC1MIND.setMIIMBUSY; inline;
  66050. begin
  66051. pTDefRegMap(@Self)^.&set := $00000001;
  66052. end;
  66053. procedure TETH_EMAC1MIND.clearMIIMBUSY; inline;
  66054. begin
  66055. pTDefRegMap(@Self)^.clr := $00000001;
  66056. end;
  66057. procedure TETH_EMAC1MIND.setMIIMBUSY(thebits : TBits_1); inline;
  66058. begin
  66059. if thebits = 0 then
  66060. pTDefRegMap(@Self)^.clr := $00000001
  66061. else
  66062. pTDefRegMap(@Self)^.&set := $00000001;
  66063. end;
  66064. function TETH_EMAC1MIND.getMIIMBUSY : TBits_1; inline;
  66065. begin
  66066. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  66067. end;
  66068. procedure TETH_EMAC1MIND.setSCAN; inline;
  66069. begin
  66070. pTDefRegMap(@Self)^.&set := $00000002;
  66071. end;
  66072. procedure TETH_EMAC1MIND.clearSCAN; inline;
  66073. begin
  66074. pTDefRegMap(@Self)^.clr := $00000002;
  66075. end;
  66076. procedure TETH_EMAC1MIND.setSCAN(thebits : TBits_1); inline;
  66077. begin
  66078. if thebits = 0 then
  66079. pTDefRegMap(@Self)^.clr := $00000002
  66080. else
  66081. pTDefRegMap(@Self)^.&set := $00000002;
  66082. end;
  66083. function TETH_EMAC1MIND.getSCAN : TBits_1; inline;
  66084. begin
  66085. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  66086. end;
  66087. procedure TETH_EMAC1MIND.setNOTVALID; inline;
  66088. begin
  66089. pTDefRegMap(@Self)^.&set := $00000004;
  66090. end;
  66091. procedure TETH_EMAC1MIND.clearNOTVALID; inline;
  66092. begin
  66093. pTDefRegMap(@Self)^.clr := $00000004;
  66094. end;
  66095. procedure TETH_EMAC1MIND.setNOTVALID(thebits : TBits_1); inline;
  66096. begin
  66097. if thebits = 0 then
  66098. pTDefRegMap(@Self)^.clr := $00000004
  66099. else
  66100. pTDefRegMap(@Self)^.&set := $00000004;
  66101. end;
  66102. function TETH_EMAC1MIND.getNOTVALID : TBits_1; inline;
  66103. begin
  66104. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  66105. end;
  66106. procedure TETH_EMAC1MIND.setLINKFAIL; inline;
  66107. begin
  66108. pTDefRegMap(@Self)^.&set := $00000008;
  66109. end;
  66110. procedure TETH_EMAC1MIND.clearLINKFAIL; inline;
  66111. begin
  66112. pTDefRegMap(@Self)^.clr := $00000008;
  66113. end;
  66114. procedure TETH_EMAC1MIND.setLINKFAIL(thebits : TBits_1); inline;
  66115. begin
  66116. if thebits = 0 then
  66117. pTDefRegMap(@Self)^.clr := $00000008
  66118. else
  66119. pTDefRegMap(@Self)^.&set := $00000008;
  66120. end;
  66121. function TETH_EMAC1MIND.getLINKFAIL : TBits_1; inline;
  66122. begin
  66123. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  66124. end;
  66125. procedure TETH_EMAC1MIND.setw(thebits : TBits_32); inline;
  66126. begin
  66127. pTDefRegMap(@Self)^.val := thebits;
  66128. end;
  66129. function TETH_EMAC1MIND.getw : TBits_32; inline;
  66130. begin
  66131. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66132. end;
  66133. procedure TETH_EMACxMIND.setMIIMBUSY; inline;
  66134. begin
  66135. pTDefRegMap(@Self)^.&set := $00000001;
  66136. end;
  66137. procedure TETH_EMACxMIND.clearMIIMBUSY; inline;
  66138. begin
  66139. pTDefRegMap(@Self)^.clr := $00000001;
  66140. end;
  66141. procedure TETH_EMACxMIND.setMIIMBUSY(thebits : TBits_1); inline;
  66142. begin
  66143. if thebits = 0 then
  66144. pTDefRegMap(@Self)^.clr := $00000001
  66145. else
  66146. pTDefRegMap(@Self)^.&set := $00000001;
  66147. end;
  66148. function TETH_EMACxMIND.getMIIMBUSY : TBits_1; inline;
  66149. begin
  66150. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  66151. end;
  66152. procedure TETH_EMACxMIND.setSCAN; inline;
  66153. begin
  66154. pTDefRegMap(@Self)^.&set := $00000002;
  66155. end;
  66156. procedure TETH_EMACxMIND.clearSCAN; inline;
  66157. begin
  66158. pTDefRegMap(@Self)^.clr := $00000002;
  66159. end;
  66160. procedure TETH_EMACxMIND.setSCAN(thebits : TBits_1); inline;
  66161. begin
  66162. if thebits = 0 then
  66163. pTDefRegMap(@Self)^.clr := $00000002
  66164. else
  66165. pTDefRegMap(@Self)^.&set := $00000002;
  66166. end;
  66167. function TETH_EMACxMIND.getSCAN : TBits_1; inline;
  66168. begin
  66169. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  66170. end;
  66171. procedure TETH_EMACxMIND.setNOTVALID; inline;
  66172. begin
  66173. pTDefRegMap(@Self)^.&set := $00000004;
  66174. end;
  66175. procedure TETH_EMACxMIND.clearNOTVALID; inline;
  66176. begin
  66177. pTDefRegMap(@Self)^.clr := $00000004;
  66178. end;
  66179. procedure TETH_EMACxMIND.setNOTVALID(thebits : TBits_1); inline;
  66180. begin
  66181. if thebits = 0 then
  66182. pTDefRegMap(@Self)^.clr := $00000004
  66183. else
  66184. pTDefRegMap(@Self)^.&set := $00000004;
  66185. end;
  66186. function TETH_EMACxMIND.getNOTVALID : TBits_1; inline;
  66187. begin
  66188. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  66189. end;
  66190. procedure TETH_EMACxMIND.setLINKFAIL; inline;
  66191. begin
  66192. pTDefRegMap(@Self)^.&set := $00000008;
  66193. end;
  66194. procedure TETH_EMACxMIND.clearLINKFAIL; inline;
  66195. begin
  66196. pTDefRegMap(@Self)^.clr := $00000008;
  66197. end;
  66198. procedure TETH_EMACxMIND.setLINKFAIL(thebits : TBits_1); inline;
  66199. begin
  66200. if thebits = 0 then
  66201. pTDefRegMap(@Self)^.clr := $00000008
  66202. else
  66203. pTDefRegMap(@Self)^.&set := $00000008;
  66204. end;
  66205. function TETH_EMACxMIND.getLINKFAIL : TBits_1; inline;
  66206. begin
  66207. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  66208. end;
  66209. procedure TETH_EMACxMIND.setw(thebits : TBits_32); inline;
  66210. begin
  66211. pTDefRegMap(@Self)^.val := thebits;
  66212. end;
  66213. function TETH_EMACxMIND.getw : TBits_32; inline;
  66214. begin
  66215. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66216. end;
  66217. procedure TETH_EMAC1SA0.setSTNADDR5(thebits : TBits_8); inline;
  66218. begin
  66219. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66220. end;
  66221. function TETH_EMAC1SA0.getSTNADDR5 : TBits_8; inline;
  66222. begin
  66223. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66224. end;
  66225. procedure TETH_EMAC1SA0.setSTNADDR6(thebits : TBits_8); inline;
  66226. begin
  66227. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66228. end;
  66229. function TETH_EMAC1SA0.getSTNADDR6 : TBits_8; inline;
  66230. begin
  66231. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66232. end;
  66233. procedure TETH_EMAC1SA0.setw(thebits : TBits_32); inline;
  66234. begin
  66235. pTDefRegMap(@Self)^.val := thebits;
  66236. end;
  66237. function TETH_EMAC1SA0.getw : TBits_32; inline;
  66238. begin
  66239. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66240. end;
  66241. procedure TETH_EMACxSA0.setSTNADDR5(thebits : TBits_8); inline;
  66242. begin
  66243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66244. end;
  66245. function TETH_EMACxSA0.getSTNADDR5 : TBits_8; inline;
  66246. begin
  66247. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66248. end;
  66249. procedure TETH_EMACxSA0.setSTNADDR6(thebits : TBits_8); inline;
  66250. begin
  66251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66252. end;
  66253. function TETH_EMACxSA0.getSTNADDR6 : TBits_8; inline;
  66254. begin
  66255. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66256. end;
  66257. procedure TETH_EMACxSA0.setw(thebits : TBits_32); inline;
  66258. begin
  66259. pTDefRegMap(@Self)^.val := thebits;
  66260. end;
  66261. function TETH_EMACxSA0.getw : TBits_32; inline;
  66262. begin
  66263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66264. end;
  66265. procedure TETH_EMAC1SA1.setSTNADDR3(thebits : TBits_8); inline;
  66266. begin
  66267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66268. end;
  66269. function TETH_EMAC1SA1.getSTNADDR3 : TBits_8; inline;
  66270. begin
  66271. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66272. end;
  66273. procedure TETH_EMAC1SA1.setSTNADDR4(thebits : TBits_8); inline;
  66274. begin
  66275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66276. end;
  66277. function TETH_EMAC1SA1.getSTNADDR4 : TBits_8; inline;
  66278. begin
  66279. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66280. end;
  66281. procedure TETH_EMAC1SA1.setw(thebits : TBits_32); inline;
  66282. begin
  66283. pTDefRegMap(@Self)^.val := thebits;
  66284. end;
  66285. function TETH_EMAC1SA1.getw : TBits_32; inline;
  66286. begin
  66287. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66288. end;
  66289. procedure TETH_EMACxSA1.setSTNADDR3(thebits : TBits_8); inline;
  66290. begin
  66291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66292. end;
  66293. function TETH_EMACxSA1.getSTNADDR3 : TBits_8; inline;
  66294. begin
  66295. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66296. end;
  66297. procedure TETH_EMACxSA1.setSTNADDR4(thebits : TBits_8); inline;
  66298. begin
  66299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66300. end;
  66301. function TETH_EMACxSA1.getSTNADDR4 : TBits_8; inline;
  66302. begin
  66303. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66304. end;
  66305. procedure TETH_EMACxSA1.setw(thebits : TBits_32); inline;
  66306. begin
  66307. pTDefRegMap(@Self)^.val := thebits;
  66308. end;
  66309. function TETH_EMACxSA1.getw : TBits_32; inline;
  66310. begin
  66311. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66312. end;
  66313. procedure TETH_EMAC1SA2.setSTNADDR1(thebits : TBits_8); inline;
  66314. begin
  66315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66316. end;
  66317. function TETH_EMAC1SA2.getSTNADDR1 : TBits_8; inline;
  66318. begin
  66319. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66320. end;
  66321. procedure TETH_EMAC1SA2.setSTNADDR2(thebits : TBits_8); inline;
  66322. begin
  66323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66324. end;
  66325. function TETH_EMAC1SA2.getSTNADDR2 : TBits_8; inline;
  66326. begin
  66327. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66328. end;
  66329. procedure TETH_EMAC1SA2.setw(thebits : TBits_32); inline;
  66330. begin
  66331. pTDefRegMap(@Self)^.val := thebits;
  66332. end;
  66333. function TETH_EMAC1SA2.getw : TBits_32; inline;
  66334. begin
  66335. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66336. end;
  66337. procedure TETH_EMACxSA2.setSTNADDR1(thebits : TBits_8); inline;
  66338. begin
  66339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  66340. end;
  66341. function TETH_EMACxSA2.getSTNADDR1 : TBits_8; inline;
  66342. begin
  66343. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  66344. end;
  66345. procedure TETH_EMACxSA2.setSTNADDR2(thebits : TBits_8); inline;
  66346. begin
  66347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  66348. end;
  66349. function TETH_EMACxSA2.getSTNADDR2 : TBits_8; inline;
  66350. begin
  66351. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  66352. end;
  66353. procedure TETH_EMACxSA2.setw(thebits : TBits_32); inline;
  66354. begin
  66355. pTDefRegMap(@Self)^.val := thebits;
  66356. end;
  66357. function TETH_EMACxSA2.getw : TBits_32; inline;
  66358. begin
  66359. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66360. end;
  66361. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  66362. begin
  66363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  66364. end;
  66365. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  66366. begin
  66367. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  66368. end;
  66369. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  66370. begin
  66371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  66372. end;
  66373. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  66374. begin
  66375. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  66376. end;
  66377. procedure TDEVCFG_DEVCFG3.setFMIIEN; inline;
  66378. begin
  66379. pTDefRegMap(@Self)^.&set := $01000000;
  66380. end;
  66381. procedure TDEVCFG_DEVCFG3.clearFMIIEN; inline;
  66382. begin
  66383. pTDefRegMap(@Self)^.clr := $01000000;
  66384. end;
  66385. procedure TDEVCFG_DEVCFG3.setFMIIEN(thebits : TBits_1); inline;
  66386. begin
  66387. if thebits = 0 then
  66388. pTDefRegMap(@Self)^.clr := $01000000
  66389. else
  66390. pTDefRegMap(@Self)^.&set := $01000000;
  66391. end;
  66392. function TDEVCFG_DEVCFG3.getFMIIEN : TBits_1; inline;
  66393. begin
  66394. getFMIIEN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  66395. end;
  66396. procedure TDEVCFG_DEVCFG3.setFETHIO; inline;
  66397. begin
  66398. pTDefRegMap(@Self)^.&set := $02000000;
  66399. end;
  66400. procedure TDEVCFG_DEVCFG3.clearFETHIO; inline;
  66401. begin
  66402. pTDefRegMap(@Self)^.clr := $02000000;
  66403. end;
  66404. procedure TDEVCFG_DEVCFG3.setFETHIO(thebits : TBits_1); inline;
  66405. begin
  66406. if thebits = 0 then
  66407. pTDefRegMap(@Self)^.clr := $02000000
  66408. else
  66409. pTDefRegMap(@Self)^.&set := $02000000;
  66410. end;
  66411. function TDEVCFG_DEVCFG3.getFETHIO : TBits_1; inline;
  66412. begin
  66413. getFETHIO := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  66414. end;
  66415. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  66416. begin
  66417. pTDefRegMap(@Self)^.&set := $40000000;
  66418. end;
  66419. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  66420. begin
  66421. pTDefRegMap(@Self)^.clr := $40000000;
  66422. end;
  66423. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  66424. begin
  66425. if thebits = 0 then
  66426. pTDefRegMap(@Self)^.clr := $40000000
  66427. else
  66428. pTDefRegMap(@Self)^.&set := $40000000;
  66429. end;
  66430. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  66431. begin
  66432. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  66433. end;
  66434. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  66435. begin
  66436. pTDefRegMap(@Self)^.&set := $80000000;
  66437. end;
  66438. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  66439. begin
  66440. pTDefRegMap(@Self)^.clr := $80000000;
  66441. end;
  66442. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  66443. begin
  66444. if thebits = 0 then
  66445. pTDefRegMap(@Self)^.clr := $80000000
  66446. else
  66447. pTDefRegMap(@Self)^.&set := $80000000;
  66448. end;
  66449. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  66450. begin
  66451. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  66452. end;
  66453. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  66454. begin
  66455. pTDefRegMap(@Self)^.val := thebits;
  66456. end;
  66457. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  66458. begin
  66459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66460. end;
  66461. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  66462. begin
  66463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  66464. end;
  66465. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  66466. begin
  66467. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  66468. end;
  66469. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  66470. begin
  66471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  66472. end;
  66473. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  66474. begin
  66475. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  66476. end;
  66477. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  66478. begin
  66479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  66480. end;
  66481. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  66482. begin
  66483. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  66484. end;
  66485. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  66486. begin
  66487. pTDefRegMap(@Self)^.&set := $00008000;
  66488. end;
  66489. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  66490. begin
  66491. pTDefRegMap(@Self)^.clr := $00008000;
  66492. end;
  66493. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  66494. begin
  66495. if thebits = 0 then
  66496. pTDefRegMap(@Self)^.clr := $00008000
  66497. else
  66498. pTDefRegMap(@Self)^.&set := $00008000;
  66499. end;
  66500. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  66501. begin
  66502. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  66503. end;
  66504. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  66505. begin
  66506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  66507. end;
  66508. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  66509. begin
  66510. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  66511. end;
  66512. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  66513. begin
  66514. pTDefRegMap(@Self)^.val := thebits;
  66515. end;
  66516. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  66517. begin
  66518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66519. end;
  66520. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  66521. begin
  66522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  66523. end;
  66524. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  66525. begin
  66526. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  66527. end;
  66528. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  66529. begin
  66530. pTDefRegMap(@Self)^.&set := $00000020;
  66531. end;
  66532. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  66533. begin
  66534. pTDefRegMap(@Self)^.clr := $00000020;
  66535. end;
  66536. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  66537. begin
  66538. if thebits = 0 then
  66539. pTDefRegMap(@Self)^.clr := $00000020
  66540. else
  66541. pTDefRegMap(@Self)^.&set := $00000020;
  66542. end;
  66543. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  66544. begin
  66545. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  66546. end;
  66547. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  66548. begin
  66549. pTDefRegMap(@Self)^.&set := $00000080;
  66550. end;
  66551. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  66552. begin
  66553. pTDefRegMap(@Self)^.clr := $00000080;
  66554. end;
  66555. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  66556. begin
  66557. if thebits = 0 then
  66558. pTDefRegMap(@Self)^.clr := $00000080
  66559. else
  66560. pTDefRegMap(@Self)^.&set := $00000080;
  66561. end;
  66562. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  66563. begin
  66564. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  66565. end;
  66566. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  66567. begin
  66568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  66569. end;
  66570. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  66571. begin
  66572. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  66573. end;
  66574. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  66575. begin
  66576. pTDefRegMap(@Self)^.&set := $00000400;
  66577. end;
  66578. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  66579. begin
  66580. pTDefRegMap(@Self)^.clr := $00000400;
  66581. end;
  66582. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  66583. begin
  66584. if thebits = 0 then
  66585. pTDefRegMap(@Self)^.clr := $00000400
  66586. else
  66587. pTDefRegMap(@Self)^.&set := $00000400;
  66588. end;
  66589. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  66590. begin
  66591. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  66592. end;
  66593. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  66594. begin
  66595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  66596. end;
  66597. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  66598. begin
  66599. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  66600. end;
  66601. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  66602. begin
  66603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  66604. end;
  66605. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  66606. begin
  66607. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  66608. end;
  66609. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  66610. begin
  66611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  66612. end;
  66613. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  66614. begin
  66615. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  66616. end;
  66617. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  66618. begin
  66619. pTDefRegMap(@Self)^.&set := $00800000;
  66620. end;
  66621. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  66622. begin
  66623. pTDefRegMap(@Self)^.clr := $00800000;
  66624. end;
  66625. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  66626. begin
  66627. if thebits = 0 then
  66628. pTDefRegMap(@Self)^.clr := $00800000
  66629. else
  66630. pTDefRegMap(@Self)^.&set := $00800000;
  66631. end;
  66632. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  66633. begin
  66634. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  66635. end;
  66636. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  66637. begin
  66638. pTDefRegMap(@Self)^.val := thebits;
  66639. end;
  66640. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  66641. begin
  66642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66643. end;
  66644. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  66645. begin
  66646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  66647. end;
  66648. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  66649. begin
  66650. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  66651. end;
  66652. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  66653. begin
  66654. pTDefRegMap(@Self)^.&set := $00000008;
  66655. end;
  66656. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  66657. begin
  66658. pTDefRegMap(@Self)^.clr := $00000008;
  66659. end;
  66660. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  66661. begin
  66662. if thebits = 0 then
  66663. pTDefRegMap(@Self)^.clr := $00000008
  66664. else
  66665. pTDefRegMap(@Self)^.&set := $00000008;
  66666. end;
  66667. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  66668. begin
  66669. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  66670. end;
  66671. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  66672. begin
  66673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  66674. end;
  66675. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  66676. begin
  66677. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  66678. end;
  66679. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  66680. begin
  66681. pTDefRegMap(@Self)^.&set := $01000000;
  66682. end;
  66683. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  66684. begin
  66685. pTDefRegMap(@Self)^.clr := $01000000;
  66686. end;
  66687. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  66688. begin
  66689. if thebits = 0 then
  66690. pTDefRegMap(@Self)^.clr := $01000000
  66691. else
  66692. pTDefRegMap(@Self)^.&set := $01000000;
  66693. end;
  66694. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  66695. begin
  66696. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  66697. end;
  66698. procedure TDEVCFG_DEVCFG0.setCP; inline;
  66699. begin
  66700. pTDefRegMap(@Self)^.&set := $10000000;
  66701. end;
  66702. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  66703. begin
  66704. pTDefRegMap(@Self)^.clr := $10000000;
  66705. end;
  66706. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  66707. begin
  66708. if thebits = 0 then
  66709. pTDefRegMap(@Self)^.clr := $10000000
  66710. else
  66711. pTDefRegMap(@Self)^.&set := $10000000;
  66712. end;
  66713. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  66714. begin
  66715. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  66716. end;
  66717. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  66718. begin
  66719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  66720. end;
  66721. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  66722. begin
  66723. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  66724. end;
  66725. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  66726. begin
  66727. pTDefRegMap(@Self)^.val := thebits;
  66728. end;
  66729. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  66730. begin
  66731. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  66732. end;
  66733. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  66734. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  66735. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  66736. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  66737. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  66738. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  66739. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  66740. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  66741. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  66742. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  66743. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  66744. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  66745. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  66746. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  66747. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  66748. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  66749. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  66750. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  66751. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  66752. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  66753. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  66754. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  66755. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  66756. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  66757. procedure _SPI_1A_VECTOR_interrupt; external name '_SPI_1A_VECTOR_interrupt';
  66758. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  66759. procedure _UART_1A_VECTOR_interrupt; external name '_UART_1A_VECTOR_interrupt';
  66760. procedure _I2C_3_VECTOR_interrupt; external name '_I2C_3_VECTOR_interrupt';
  66761. procedure _I2C_1A_VECTOR_interrupt; external name '_I2C_1A_VECTOR_interrupt';
  66762. procedure _SPI_3_VECTOR_interrupt; external name '_SPI_3_VECTOR_interrupt';
  66763. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  66764. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  66765. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  66766. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  66767. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  66768. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  66769. procedure _SPI_2A_VECTOR_interrupt; external name '_SPI_2A_VECTOR_interrupt';
  66770. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  66771. procedure _UART_2A_VECTOR_interrupt; external name '_UART_2A_VECTOR_interrupt';
  66772. procedure _I2C_4_VECTOR_interrupt; external name '_I2C_4_VECTOR_interrupt';
  66773. procedure _I2C_2A_VECTOR_interrupt; external name '_I2C_2A_VECTOR_interrupt';
  66774. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  66775. procedure _SPI_3A_VECTOR_interrupt; external name '_SPI_3A_VECTOR_interrupt';
  66776. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  66777. procedure _UART_3A_VECTOR_interrupt; external name '_UART_3A_VECTOR_interrupt';
  66778. procedure _I2C_5_VECTOR_interrupt; external name '_I2C_5_VECTOR_interrupt';
  66779. procedure _I2C_3A_VECTOR_interrupt; external name '_I2C_3A_VECTOR_interrupt';
  66780. procedure _SPI_4_VECTOR_interrupt; external name '_SPI_4_VECTOR_interrupt';
  66781. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  66782. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  66783. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  66784. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  66785. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  66786. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  66787. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  66788. procedure _DMA_4_VECTOR_interrupt; external name '_DMA_4_VECTOR_interrupt';
  66789. procedure _DMA_5_VECTOR_interrupt; external name '_DMA_5_VECTOR_interrupt';
  66790. procedure _DMA_6_VECTOR_interrupt; external name '_DMA_6_VECTOR_interrupt';
  66791. procedure _DMA_7_VECTOR_interrupt; external name '_DMA_7_VECTOR_interrupt';
  66792. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  66793. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  66794. procedure _ETH_VECTOR_interrupt; external name '_ETH_VECTOR_interrupt';
  66795. procedure _UART_1B_VECTOR_interrupt; external name '_UART_1B_VECTOR_interrupt';
  66796. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  66797. procedure _UART_2B_VECTOR_interrupt; external name '_UART_2B_VECTOR_interrupt';
  66798. procedure _UART_6_VECTOR_interrupt; external name '_UART_6_VECTOR_interrupt';
  66799. procedure _UART_3B_VECTOR_interrupt; external name '_UART_3B_VECTOR_interrupt';
  66800. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  66801. procedure Vectors; assembler; nostackframe;
  66802. label interrupt_vectors;
  66803. asm
  66804. .section ".init.interrupt_vectors,\"ax\",@progbits"
  66805. interrupt_vectors:
  66806. j _CORE_TIMER_VECTOR_interrupt
  66807. nop
  66808. nop
  66809. nop
  66810. nop
  66811. nop
  66812. nop
  66813. nop
  66814. j _CORE_SOFTWARE_0_VECTOR_interrupt
  66815. nop
  66816. nop
  66817. nop
  66818. nop
  66819. nop
  66820. nop
  66821. nop
  66822. j _CORE_SOFTWARE_1_VECTOR_interrupt
  66823. nop
  66824. nop
  66825. nop
  66826. nop
  66827. nop
  66828. nop
  66829. nop
  66830. j _EXTERNAL_0_VECTOR_interrupt
  66831. nop
  66832. nop
  66833. nop
  66834. nop
  66835. nop
  66836. nop
  66837. nop
  66838. j _TIMER_1_VECTOR_interrupt
  66839. nop
  66840. nop
  66841. nop
  66842. nop
  66843. nop
  66844. nop
  66845. nop
  66846. j _INPUT_CAPTURE_1_VECTOR_interrupt
  66847. nop
  66848. nop
  66849. nop
  66850. nop
  66851. nop
  66852. nop
  66853. nop
  66854. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  66855. nop
  66856. nop
  66857. nop
  66858. nop
  66859. nop
  66860. nop
  66861. nop
  66862. j _EXTERNAL_1_VECTOR_interrupt
  66863. nop
  66864. nop
  66865. nop
  66866. nop
  66867. nop
  66868. nop
  66869. nop
  66870. j _TIMER_2_VECTOR_interrupt
  66871. nop
  66872. nop
  66873. nop
  66874. nop
  66875. nop
  66876. nop
  66877. nop
  66878. j _INPUT_CAPTURE_2_VECTOR_interrupt
  66879. nop
  66880. nop
  66881. nop
  66882. nop
  66883. nop
  66884. nop
  66885. nop
  66886. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  66887. nop
  66888. nop
  66889. nop
  66890. nop
  66891. nop
  66892. nop
  66893. nop
  66894. j _EXTERNAL_2_VECTOR_interrupt
  66895. nop
  66896. nop
  66897. nop
  66898. nop
  66899. nop
  66900. nop
  66901. nop
  66902. j _TIMER_3_VECTOR_interrupt
  66903. nop
  66904. nop
  66905. nop
  66906. nop
  66907. nop
  66908. nop
  66909. nop
  66910. j _INPUT_CAPTURE_3_VECTOR_interrupt
  66911. nop
  66912. nop
  66913. nop
  66914. nop
  66915. nop
  66916. nop
  66917. nop
  66918. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  66919. nop
  66920. nop
  66921. nop
  66922. nop
  66923. nop
  66924. nop
  66925. nop
  66926. j _EXTERNAL_3_VECTOR_interrupt
  66927. nop
  66928. nop
  66929. nop
  66930. nop
  66931. nop
  66932. nop
  66933. nop
  66934. j _TIMER_4_VECTOR_interrupt
  66935. nop
  66936. nop
  66937. nop
  66938. nop
  66939. nop
  66940. nop
  66941. nop
  66942. j _INPUT_CAPTURE_4_VECTOR_interrupt
  66943. nop
  66944. nop
  66945. nop
  66946. nop
  66947. nop
  66948. nop
  66949. nop
  66950. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  66951. nop
  66952. nop
  66953. nop
  66954. nop
  66955. nop
  66956. nop
  66957. nop
  66958. j _EXTERNAL_4_VECTOR_interrupt
  66959. nop
  66960. nop
  66961. nop
  66962. nop
  66963. nop
  66964. nop
  66965. nop
  66966. j _TIMER_5_VECTOR_interrupt
  66967. nop
  66968. nop
  66969. nop
  66970. nop
  66971. nop
  66972. nop
  66973. nop
  66974. j _INPUT_CAPTURE_5_VECTOR_interrupt
  66975. nop
  66976. nop
  66977. nop
  66978. nop
  66979. nop
  66980. nop
  66981. nop
  66982. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  66983. nop
  66984. nop
  66985. nop
  66986. nop
  66987. nop
  66988. nop
  66989. nop
  66990. j _SPI_1_VECTOR_interrupt
  66991. nop
  66992. nop
  66993. nop
  66994. nop
  66995. nop
  66996. nop
  66997. nop
  66998. j _SPI_1A_VECTOR_interrupt
  66999. nop
  67000. nop
  67001. nop
  67002. nop
  67003. nop
  67004. nop
  67005. nop
  67006. j _I2C_1_VECTOR_interrupt
  67007. nop
  67008. nop
  67009. nop
  67010. nop
  67011. nop
  67012. nop
  67013. nop
  67014. j _CHANGE_NOTICE_VECTOR_interrupt
  67015. nop
  67016. nop
  67017. nop
  67018. nop
  67019. nop
  67020. nop
  67021. nop
  67022. j _ADC_VECTOR_interrupt
  67023. nop
  67024. nop
  67025. nop
  67026. nop
  67027. nop
  67028. nop
  67029. nop
  67030. j _PMP_VECTOR_interrupt
  67031. nop
  67032. nop
  67033. nop
  67034. nop
  67035. nop
  67036. nop
  67037. nop
  67038. j _COMPARATOR_1_VECTOR_interrupt
  67039. nop
  67040. nop
  67041. nop
  67042. nop
  67043. nop
  67044. nop
  67045. nop
  67046. j _COMPARATOR_2_VECTOR_interrupt
  67047. nop
  67048. nop
  67049. nop
  67050. nop
  67051. nop
  67052. nop
  67053. nop
  67054. j _SPI_2A_VECTOR_interrupt
  67055. nop
  67056. nop
  67057. nop
  67058. nop
  67059. nop
  67060. nop
  67061. nop
  67062. j _SPI_3A_VECTOR_interrupt
  67063. nop
  67064. nop
  67065. nop
  67066. nop
  67067. nop
  67068. nop
  67069. nop
  67070. j _I2C_2_VECTOR_interrupt
  67071. nop
  67072. nop
  67073. nop
  67074. nop
  67075. nop
  67076. nop
  67077. nop
  67078. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  67079. nop
  67080. nop
  67081. nop
  67082. nop
  67083. nop
  67084. nop
  67085. nop
  67086. j _RTCC_VECTOR_interrupt
  67087. nop
  67088. nop
  67089. nop
  67090. nop
  67091. nop
  67092. nop
  67093. nop
  67094. j _DMA_0_VECTOR_interrupt
  67095. nop
  67096. nop
  67097. nop
  67098. nop
  67099. nop
  67100. nop
  67101. nop
  67102. j _DMA_1_VECTOR_interrupt
  67103. nop
  67104. nop
  67105. nop
  67106. nop
  67107. nop
  67108. nop
  67109. nop
  67110. j _DMA_2_VECTOR_interrupt
  67111. nop
  67112. nop
  67113. nop
  67114. nop
  67115. nop
  67116. nop
  67117. nop
  67118. j _DMA_3_VECTOR_interrupt
  67119. nop
  67120. nop
  67121. nop
  67122. nop
  67123. nop
  67124. nop
  67125. nop
  67126. j _DMA_4_VECTOR_interrupt
  67127. nop
  67128. nop
  67129. nop
  67130. nop
  67131. nop
  67132. nop
  67133. nop
  67134. j _DMA_5_VECTOR_interrupt
  67135. nop
  67136. nop
  67137. nop
  67138. nop
  67139. nop
  67140. nop
  67141. nop
  67142. j _DMA_6_VECTOR_interrupt
  67143. nop
  67144. nop
  67145. nop
  67146. nop
  67147. nop
  67148. nop
  67149. nop
  67150. j _DMA_7_VECTOR_interrupt
  67151. nop
  67152. nop
  67153. nop
  67154. nop
  67155. nop
  67156. nop
  67157. nop
  67158. j _FCE_VECTOR_interrupt
  67159. nop
  67160. nop
  67161. nop
  67162. nop
  67163. nop
  67164. nop
  67165. nop
  67166. j _USB_1_VECTOR_interrupt
  67167. nop
  67168. nop
  67169. nop
  67170. nop
  67171. nop
  67172. nop
  67173. nop
  67174. nop
  67175. nop
  67176. nop
  67177. nop
  67178. nop
  67179. nop
  67180. nop
  67181. nop
  67182. nop
  67183. nop
  67184. nop
  67185. nop
  67186. nop
  67187. nop
  67188. nop
  67189. nop
  67190. j _ETH_VECTOR_interrupt
  67191. nop
  67192. nop
  67193. nop
  67194. nop
  67195. nop
  67196. nop
  67197. nop
  67198. j _UART_1B_VECTOR_interrupt
  67199. nop
  67200. nop
  67201. nop
  67202. nop
  67203. nop
  67204. nop
  67205. nop
  67206. j _UART_2B_VECTOR_interrupt
  67207. nop
  67208. nop
  67209. nop
  67210. nop
  67211. nop
  67212. nop
  67213. nop
  67214. j _UART_3B_VECTOR_interrupt
  67215. nop
  67216. nop
  67217. nop
  67218. nop
  67219. nop
  67220. nop
  67221. nop
  67222. .weak _CORE_TIMER_VECTOR_interrupt
  67223. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  67224. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  67225. .weak _EXTERNAL_0_VECTOR_interrupt
  67226. .weak _TIMER_1_VECTOR_interrupt
  67227. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  67228. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  67229. .weak _EXTERNAL_1_VECTOR_interrupt
  67230. .weak _TIMER_2_VECTOR_interrupt
  67231. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  67232. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  67233. .weak _EXTERNAL_2_VECTOR_interrupt
  67234. .weak _TIMER_3_VECTOR_interrupt
  67235. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  67236. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  67237. .weak _EXTERNAL_3_VECTOR_interrupt
  67238. .weak _TIMER_4_VECTOR_interrupt
  67239. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  67240. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  67241. .weak _EXTERNAL_4_VECTOR_interrupt
  67242. .weak _TIMER_5_VECTOR_interrupt
  67243. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  67244. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  67245. .weak _SPI_1_VECTOR_interrupt
  67246. .weak _SPI_1A_VECTOR_interrupt
  67247. .weak _UART_1_VECTOR_interrupt
  67248. .weak _UART_1A_VECTOR_interrupt
  67249. .weak _I2C_3_VECTOR_interrupt
  67250. .weak _I2C_1A_VECTOR_interrupt
  67251. .weak _SPI_3_VECTOR_interrupt
  67252. .weak _I2C_1_VECTOR_interrupt
  67253. .weak _CHANGE_NOTICE_VECTOR_interrupt
  67254. .weak _ADC_VECTOR_interrupt
  67255. .weak _PMP_VECTOR_interrupt
  67256. .weak _COMPARATOR_1_VECTOR_interrupt
  67257. .weak _COMPARATOR_2_VECTOR_interrupt
  67258. .weak _SPI_2A_VECTOR_interrupt
  67259. .weak _UART_3_VECTOR_interrupt
  67260. .weak _UART_2A_VECTOR_interrupt
  67261. .weak _I2C_4_VECTOR_interrupt
  67262. .weak _I2C_2A_VECTOR_interrupt
  67263. .weak _SPI_2_VECTOR_interrupt
  67264. .weak _SPI_3A_VECTOR_interrupt
  67265. .weak _UART_2_VECTOR_interrupt
  67266. .weak _UART_3A_VECTOR_interrupt
  67267. .weak _I2C_5_VECTOR_interrupt
  67268. .weak _I2C_3A_VECTOR_interrupt
  67269. .weak _SPI_4_VECTOR_interrupt
  67270. .weak _I2C_2_VECTOR_interrupt
  67271. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  67272. .weak _RTCC_VECTOR_interrupt
  67273. .weak _DMA_0_VECTOR_interrupt
  67274. .weak _DMA_1_VECTOR_interrupt
  67275. .weak _DMA_2_VECTOR_interrupt
  67276. .weak _DMA_3_VECTOR_interrupt
  67277. .weak _DMA_4_VECTOR_interrupt
  67278. .weak _DMA_5_VECTOR_interrupt
  67279. .weak _DMA_6_VECTOR_interrupt
  67280. .weak _DMA_7_VECTOR_interrupt
  67281. .weak _FCE_VECTOR_interrupt
  67282. .weak _USB_1_VECTOR_interrupt
  67283. .weak _ETH_VECTOR_interrupt
  67284. .weak _UART_1B_VECTOR_interrupt
  67285. .weak _UART_4_VECTOR_interrupt
  67286. .weak _UART_2B_VECTOR_interrupt
  67287. .weak _UART_6_VECTOR_interrupt
  67288. .weak _UART_3B_VECTOR_interrupt
  67289. .weak _UART_5_VECTOR_interrupt
  67290. .text
  67291. end;
  67292. end.