pic32mx664f128l.pp 1.8 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840
  1. unit pic32mx664f128l;
  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. TI2C1A_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. TI2C1A_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. TI2C1A_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. TI2C1A_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. TI2C1ARegisters = record
  1832. I2C1ACONbits : TI2C1A_I2C1ACON;
  1833. I2C1ACON : longWord;
  1834. I2C3CONbits : TI2C1A_I2C3CON;
  1835. I2C3CON : longWord;
  1836. I2C1ACONCLR : longWord;
  1837. I2C3CONCLR : longWord;
  1838. I2C1ACONSET : longWord;
  1839. I2C3CONSET : longWord;
  1840. I2C1ACONINV : longWord;
  1841. I2C3CONINV : longWord;
  1842. I2C1ASTATbits : TI2C1A_I2C1ASTAT;
  1843. I2C1ASTAT : longWord;
  1844. I2C3STATbits : TI2C1A_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. TI2C2A_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. TI2C2A_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. TI2C2A_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. TI2C2A_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. TI2C2ARegisters = record
  2237. I2C2ACONbits : TI2C2A_I2C2ACON;
  2238. I2C2ACON : longWord;
  2239. I2C4CONbits : TI2C2A_I2C4CON;
  2240. I2C4CON : longWord;
  2241. I2C2ACONCLR : longWord;
  2242. I2C4CONCLR : longWord;
  2243. I2C2ACONSET : longWord;
  2244. I2C4CONSET : longWord;
  2245. I2C2ACONINV : longWord;
  2246. I2C4CONINV : longWord;
  2247. I2C2ASTATbits : TI2C2A_I2C2ASTAT;
  2248. I2C2ASTAT : longWord;
  2249. I2C4STATbits : TI2C2A_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. TSPI1A_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. TSPI1A_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. TSPI1A_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. TSPI1A_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. TSPI1ARegisters = record
  3415. SPI1ACONbits : TSPI1A_SPI1ACON;
  3416. SPI1ACON : longWord;
  3417. SPI3CONbits : TSPI1A_SPI3CON;
  3418. SPI3CON : longWord;
  3419. SPI1ACONCLR : longWord;
  3420. SPI3CONCLR : longWord;
  3421. SPI1ACONSET : longWord;
  3422. SPI3CONSET : longWord;
  3423. SPI1ACONINV : longWord;
  3424. SPI3CONINV : longWord;
  3425. SPI1ASTATbits : TSPI1A_SPI1ASTAT;
  3426. SPI1ASTAT : longWord;
  3427. SPI3STATbits : TSPI1A_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. TSPI2_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. TSPI2_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. TSPI2_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. TSPI2_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. TSPI2Registers = record
  3756. SPI2ACONbits : TSPI2_SPI2ACON;
  3757. SPI2ACON : longWord;
  3758. SPI2CONbits : TSPI2_SPI2CON;
  3759. SPI2CON : longWord;
  3760. SPI2ACONCLR : longWord;
  3761. SPI2CONCLR : longWord;
  3762. SPI2ACONSET : longWord;
  3763. SPI2CONSET : longWord;
  3764. SPI2ACONINV : longWord;
  3765. SPI2CONINV : longWord;
  3766. SPI2ASTATbits : TSPI2_SPI2ASTAT;
  3767. SPI2ASTAT : longWord;
  3768. SPI2STATbits : TSPI2_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. TSPI4_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. TSPI4_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. TSPI4_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. TSPI4_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. TSPI4Registers = record
  4097. SPI3ACONbits : TSPI4_SPI3ACON;
  4098. SPI3ACON : longWord;
  4099. SPI4CONbits : TSPI4_SPI4CON;
  4100. SPI4CON : longWord;
  4101. SPI3ACONCLR : longWord;
  4102. SPI4CONCLR : longWord;
  4103. SPI3ACONSET : longWord;
  4104. SPI4CONSET : longWord;
  4105. SPI3ACONINV : longWord;
  4106. SPI4CONINV : longWord;
  4107. SPI3ASTATbits : TSPI4_SPI3ASTAT;
  4108. SPI3ASTAT : longWord;
  4109. SPI4STATbits : TSPI4_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. TUART4_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. TUART4_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. TUART4_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. TUART4_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. TUART4Registers = record
  5089. U1BMODEbits : TUART4_U1BMODE;
  5090. U1BMODE : longWord;
  5091. U4MODEbits : TUART4_U4MODE;
  5092. U4MODE : longWord;
  5093. U1BMODECLR : longWord;
  5094. U4MODECLR : longWord;
  5095. U1BMODESET : longWord;
  5096. U4MODESET : longWord;
  5097. U1BMODEINV : longWord;
  5098. U4MODEINV : longWord;
  5099. U1BSTAbits : TUART4_U1BSTA;
  5100. U1BSTA : longWord;
  5101. U4STAbits : TUART4_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. TUART3_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. TUART3_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. TUART3_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. TUART3_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. TUART3Registers = record
  5518. U2AMODEbits : TUART3_U2AMODE;
  5519. U2AMODE : longWord;
  5520. U3MODEbits : TUART3_U3MODE;
  5521. U3MODE : longWord;
  5522. U2AMODECLR : longWord;
  5523. U3MODECLR : longWord;
  5524. U2AMODESET : longWord;
  5525. U3MODESET : longWord;
  5526. U2AMODEINV : longWord;
  5527. U3MODEINV : longWord;
  5528. U2ASTAbits : TUART3_U2ASTA;
  5529. U2ASTA : longWord;
  5530. U3STAbits : TUART3_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. TUART6_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. TUART6_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. TUART6_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. TUART6_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. TUART6Registers = record
  5911. U2BMODEbits : TUART6_U2BMODE;
  5912. U2BMODE : longWord;
  5913. U6MODEbits : TUART6_U6MODE;
  5914. U6MODE : longWord;
  5915. U2BMODECLR : longWord;
  5916. U6MODECLR : longWord;
  5917. U2BMODESET : longWord;
  5918. U6MODESET : longWord;
  5919. U2BMODEINV : longWord;
  5920. U6MODEINV : longWord;
  5921. U2BSTAbits : TUART6_U2BSTA;
  5922. U2BSTA : longWord;
  5923. U6STAbits : TUART6_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. TUART3B_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. TUART3B_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. TUART3B_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. TUART3B_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. TUART3BRegisters = record
  6733. U3BMODEbits : TUART3B_U3BMODE;
  6734. U3BMODE : longWord;
  6735. U5MODEbits : TUART3B_U5MODE;
  6736. U5MODE : longWord;
  6737. U3BMODECLR : longWord;
  6738. U5MODECLR : longWord;
  6739. U3BMODESET : longWord;
  6740. U5MODESET : longWord;
  6741. U3BMODEINV : longWord;
  6742. U5MODEINV : longWord;
  6743. U3BSTAbits : TUART3B_U3BSTA;
  6744. U3BSTA : longWord;
  6745. U5STAbits : TUART3B_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 getBGSEL : TBits_2; inline;
  7739. function getBGSEL0 : TBits_1; inline;
  7740. function getBGSEL1 : TBits_1; inline;
  7741. function getCVR : TBits_4; inline;
  7742. function getCVR0 : TBits_1; inline;
  7743. function getCVR1 : TBits_1; inline;
  7744. function getCVR2 : TBits_1; inline;
  7745. function getCVR3 : TBits_1; inline;
  7746. function getCVROE : TBits_1; inline;
  7747. function getCVRR : TBits_1; inline;
  7748. function getCVRSS : TBits_1; inline;
  7749. function getON : TBits_1; inline;
  7750. function getVREFSEL : TBits_1; inline;
  7751. function getw : TBits_32; inline;
  7752. procedure setBGSEL(thebits : TBits_2); inline;
  7753. procedure setBGSEL0(thebits : TBits_1); inline;
  7754. procedure setBGSEL1(thebits : TBits_1); inline;
  7755. procedure setCVR(thebits : TBits_4); inline;
  7756. procedure setCVR0(thebits : TBits_1); inline;
  7757. procedure setCVR1(thebits : TBits_1); inline;
  7758. procedure setCVR2(thebits : TBits_1); inline;
  7759. procedure setCVR3(thebits : TBits_1); inline;
  7760. procedure setCVROE(thebits : TBits_1); inline;
  7761. procedure setCVRR(thebits : TBits_1); inline;
  7762. procedure setCVRSS(thebits : TBits_1); inline;
  7763. procedure setON(thebits : TBits_1); inline;
  7764. procedure setVREFSEL(thebits : TBits_1); inline;
  7765. procedure setw(thebits : TBits_32); inline;
  7766. public
  7767. procedure clearBGSEL0; inline;
  7768. procedure clearBGSEL1; inline;
  7769. procedure clearCVR0; inline;
  7770. procedure clearCVR1; inline;
  7771. procedure clearCVR2; inline;
  7772. procedure clearCVR3; inline;
  7773. procedure clearCVROE; inline;
  7774. procedure clearCVRR; inline;
  7775. procedure clearCVRSS; inline;
  7776. procedure clearON; inline;
  7777. procedure clearVREFSEL; inline;
  7778. procedure setBGSEL0; inline;
  7779. procedure setBGSEL1; inline;
  7780. procedure setCVR0; inline;
  7781. procedure setCVR1; inline;
  7782. procedure setCVR2; inline;
  7783. procedure setCVR3; inline;
  7784. procedure setCVROE; inline;
  7785. procedure setCVRR; inline;
  7786. procedure setCVRSS; inline;
  7787. procedure setON; inline;
  7788. procedure setVREFSEL; inline;
  7789. property BGSEL : TBits_2 read getBGSEL write setBGSEL;
  7790. property BGSEL0 : TBits_1 read getBGSEL0 write setBGSEL0;
  7791. property BGSEL1 : TBits_1 read getBGSEL1 write setBGSEL1;
  7792. property CVR : TBits_4 read getCVR write setCVR;
  7793. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  7794. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  7795. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  7796. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  7797. property CVROE : TBits_1 read getCVROE write setCVROE;
  7798. property CVRR : TBits_1 read getCVRR write setCVRR;
  7799. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  7800. property ON : TBits_1 read getON write setON;
  7801. property VREFSEL : TBits_1 read getVREFSEL write setVREFSEL;
  7802. property w : TBits_32 read getw write setw;
  7803. end;
  7804. type
  7805. TCVRRegisters = record
  7806. CVRCONbits : TCVR_CVRCON;
  7807. CVRCON : longWord;
  7808. CVRCONCLR : longWord;
  7809. CVRCONSET : longWord;
  7810. CVRCONINV : longWord;
  7811. end;
  7812. TCMP_CM1CON = record
  7813. private
  7814. function getCCH : TBits_2; inline;
  7815. function getCCH0 : TBits_1; inline;
  7816. function getCCH1 : TBits_1; inline;
  7817. function getCOE : TBits_1; inline;
  7818. function getCOUT : TBits_1; inline;
  7819. function getCPOL : TBits_1; inline;
  7820. function getCREF : TBits_1; inline;
  7821. function getEVPOL : TBits_2; inline;
  7822. function getEVPOL0 : TBits_1; inline;
  7823. function getEVPOL1 : TBits_1; inline;
  7824. function getON : TBits_1; inline;
  7825. function getw : TBits_32; inline;
  7826. procedure setCCH(thebits : TBits_2); inline;
  7827. procedure setCCH0(thebits : TBits_1); inline;
  7828. procedure setCCH1(thebits : TBits_1); inline;
  7829. procedure setCOE(thebits : TBits_1); inline;
  7830. procedure setCOUT(thebits : TBits_1); inline;
  7831. procedure setCPOL(thebits : TBits_1); inline;
  7832. procedure setCREF(thebits : TBits_1); inline;
  7833. procedure setEVPOL(thebits : TBits_2); inline;
  7834. procedure setEVPOL0(thebits : TBits_1); inline;
  7835. procedure setEVPOL1(thebits : TBits_1); inline;
  7836. procedure setON(thebits : TBits_1); inline;
  7837. procedure setw(thebits : TBits_32); inline;
  7838. public
  7839. procedure clearCCH0; inline;
  7840. procedure clearCCH1; inline;
  7841. procedure clearCOE; inline;
  7842. procedure clearCOUT; inline;
  7843. procedure clearCPOL; inline;
  7844. procedure clearCREF; inline;
  7845. procedure clearEVPOL0; inline;
  7846. procedure clearEVPOL1; inline;
  7847. procedure clearON; inline;
  7848. procedure setCCH0; inline;
  7849. procedure setCCH1; inline;
  7850. procedure setCOE; inline;
  7851. procedure setCOUT; inline;
  7852. procedure setCPOL; inline;
  7853. procedure setCREF; inline;
  7854. procedure setEVPOL0; inline;
  7855. procedure setEVPOL1; inline;
  7856. procedure setON; inline;
  7857. property CCH : TBits_2 read getCCH write setCCH;
  7858. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7859. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7860. property COE : TBits_1 read getCOE write setCOE;
  7861. property COUT : TBits_1 read getCOUT write setCOUT;
  7862. property CPOL : TBits_1 read getCPOL write setCPOL;
  7863. property CREF : TBits_1 read getCREF write setCREF;
  7864. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7865. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7866. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7867. property ON : TBits_1 read getON write setON;
  7868. property w : TBits_32 read getw write setw;
  7869. end;
  7870. TCMP_CM2CON = record
  7871. private
  7872. function getCCH : TBits_2; inline;
  7873. function getCCH0 : TBits_1; inline;
  7874. function getCCH1 : TBits_1; inline;
  7875. function getCOE : TBits_1; inline;
  7876. function getCOUT : TBits_1; inline;
  7877. function getCPOL : TBits_1; inline;
  7878. function getCREF : TBits_1; inline;
  7879. function getEVPOL : TBits_2; inline;
  7880. function getEVPOL0 : TBits_1; inline;
  7881. function getEVPOL1 : TBits_1; inline;
  7882. function getON : TBits_1; inline;
  7883. function getw : TBits_32; inline;
  7884. procedure setCCH(thebits : TBits_2); inline;
  7885. procedure setCCH0(thebits : TBits_1); inline;
  7886. procedure setCCH1(thebits : TBits_1); inline;
  7887. procedure setCOE(thebits : TBits_1); inline;
  7888. procedure setCOUT(thebits : TBits_1); inline;
  7889. procedure setCPOL(thebits : TBits_1); inline;
  7890. procedure setCREF(thebits : TBits_1); inline;
  7891. procedure setEVPOL(thebits : TBits_2); inline;
  7892. procedure setEVPOL0(thebits : TBits_1); inline;
  7893. procedure setEVPOL1(thebits : TBits_1); inline;
  7894. procedure setON(thebits : TBits_1); inline;
  7895. procedure setw(thebits : TBits_32); inline;
  7896. public
  7897. procedure clearCCH0; inline;
  7898. procedure clearCCH1; inline;
  7899. procedure clearCOE; inline;
  7900. procedure clearCOUT; inline;
  7901. procedure clearCPOL; inline;
  7902. procedure clearCREF; inline;
  7903. procedure clearEVPOL0; inline;
  7904. procedure clearEVPOL1; inline;
  7905. procedure clearON; inline;
  7906. procedure setCCH0; inline;
  7907. procedure setCCH1; inline;
  7908. procedure setCOE; inline;
  7909. procedure setCOUT; inline;
  7910. procedure setCPOL; inline;
  7911. procedure setCREF; inline;
  7912. procedure setEVPOL0; inline;
  7913. procedure setEVPOL1; inline;
  7914. procedure setON; inline;
  7915. property CCH : TBits_2 read getCCH write setCCH;
  7916. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7917. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7918. property COE : TBits_1 read getCOE write setCOE;
  7919. property COUT : TBits_1 read getCOUT write setCOUT;
  7920. property CPOL : TBits_1 read getCPOL write setCPOL;
  7921. property CREF : TBits_1 read getCREF write setCREF;
  7922. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7923. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7924. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7925. property ON : TBits_1 read getON write setON;
  7926. property w : TBits_32 read getw write setw;
  7927. end;
  7928. TCMP_CMSTAT = record
  7929. private
  7930. function getC1OUT : TBits_1; inline;
  7931. function getC2OUT : TBits_1; inline;
  7932. function getSIDL : TBits_1; inline;
  7933. function getw : TBits_32; inline;
  7934. procedure setC1OUT(thebits : TBits_1); inline;
  7935. procedure setC2OUT(thebits : TBits_1); inline;
  7936. procedure setSIDL(thebits : TBits_1); inline;
  7937. procedure setw(thebits : TBits_32); inline;
  7938. public
  7939. procedure clearC1OUT; inline;
  7940. procedure clearC2OUT; inline;
  7941. procedure clearSIDL; inline;
  7942. procedure setC1OUT; inline;
  7943. procedure setC2OUT; inline;
  7944. procedure setSIDL; inline;
  7945. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  7946. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  7947. property SIDL : TBits_1 read getSIDL write setSIDL;
  7948. property w : TBits_32 read getw write setw;
  7949. end;
  7950. type
  7951. TCMPRegisters = record
  7952. CM1CONbits : TCMP_CM1CON;
  7953. CM1CON : longWord;
  7954. CM1CONCLR : longWord;
  7955. CM1CONSET : longWord;
  7956. CM1CONINV : longWord;
  7957. CM2CONbits : TCMP_CM2CON;
  7958. CM2CON : longWord;
  7959. CM2CONCLR : longWord;
  7960. CM2CONSET : longWord;
  7961. CM2CONINV : longWord;
  7962. CMSTATbits : TCMP_CMSTAT;
  7963. CMSTAT : longWord;
  7964. CMSTATCLR : longWord;
  7965. CMSTATSET : longWord;
  7966. CMSTATINV : longWord;
  7967. end;
  7968. TOSC_OSCCON = record
  7969. private
  7970. function getCF : TBits_1; inline;
  7971. function getCLKLOCK : TBits_1; inline;
  7972. function getCOSC : TBits_3; inline;
  7973. function getCOSC0 : TBits_1; inline;
  7974. function getCOSC1 : TBits_1; inline;
  7975. function getCOSC2 : TBits_1; inline;
  7976. function getFRCDIV : TBits_3; inline;
  7977. function getFRCDIV0 : TBits_1; inline;
  7978. function getFRCDIV1 : TBits_1; inline;
  7979. function getFRCDIV2 : TBits_1; inline;
  7980. function getNOSC : TBits_3; inline;
  7981. function getNOSC0 : TBits_1; inline;
  7982. function getNOSC1 : TBits_1; inline;
  7983. function getNOSC2 : TBits_1; inline;
  7984. function getOSWEN : TBits_1; inline;
  7985. function getPBDIV : TBits_2; inline;
  7986. function getPBDIV0 : TBits_1; inline;
  7987. function getPBDIV1 : TBits_1; inline;
  7988. function getPLLMULT : TBits_3; inline;
  7989. function getPLLMULT0 : TBits_1; inline;
  7990. function getPLLMULT1 : TBits_1; inline;
  7991. function getPLLMULT2 : TBits_1; inline;
  7992. function getPLLODIV : TBits_3; inline;
  7993. function getPLLODIV0 : TBits_1; inline;
  7994. function getPLLODIV1 : TBits_1; inline;
  7995. function getPLLODIV2 : TBits_1; inline;
  7996. function getSLOCK : TBits_1; inline;
  7997. function getSLPEN : TBits_1; inline;
  7998. function getSOSCEN : TBits_1; inline;
  7999. function getSOSCRDY : TBits_1; inline;
  8000. function getUFRCEN : TBits_1; inline;
  8001. function getULOCK : TBits_1; inline;
  8002. function getw : TBits_32; inline;
  8003. procedure setCF(thebits : TBits_1); inline;
  8004. procedure setCLKLOCK(thebits : TBits_1); inline;
  8005. procedure setCOSC(thebits : TBits_3); inline;
  8006. procedure setCOSC0(thebits : TBits_1); inline;
  8007. procedure setCOSC1(thebits : TBits_1); inline;
  8008. procedure setCOSC2(thebits : TBits_1); inline;
  8009. procedure setFRCDIV(thebits : TBits_3); inline;
  8010. procedure setFRCDIV0(thebits : TBits_1); inline;
  8011. procedure setFRCDIV1(thebits : TBits_1); inline;
  8012. procedure setFRCDIV2(thebits : TBits_1); inline;
  8013. procedure setNOSC(thebits : TBits_3); inline;
  8014. procedure setNOSC0(thebits : TBits_1); inline;
  8015. procedure setNOSC1(thebits : TBits_1); inline;
  8016. procedure setNOSC2(thebits : TBits_1); inline;
  8017. procedure setOSWEN(thebits : TBits_1); inline;
  8018. procedure setPBDIV(thebits : TBits_2); inline;
  8019. procedure setPBDIV0(thebits : TBits_1); inline;
  8020. procedure setPBDIV1(thebits : TBits_1); inline;
  8021. procedure setPLLMULT(thebits : TBits_3); inline;
  8022. procedure setPLLMULT0(thebits : TBits_1); inline;
  8023. procedure setPLLMULT1(thebits : TBits_1); inline;
  8024. procedure setPLLMULT2(thebits : TBits_1); inline;
  8025. procedure setPLLODIV(thebits : TBits_3); inline;
  8026. procedure setPLLODIV0(thebits : TBits_1); inline;
  8027. procedure setPLLODIV1(thebits : TBits_1); inline;
  8028. procedure setPLLODIV2(thebits : TBits_1); inline;
  8029. procedure setSLOCK(thebits : TBits_1); inline;
  8030. procedure setSLPEN(thebits : TBits_1); inline;
  8031. procedure setSOSCEN(thebits : TBits_1); inline;
  8032. procedure setSOSCRDY(thebits : TBits_1); inline;
  8033. procedure setUFRCEN(thebits : TBits_1); inline;
  8034. procedure setULOCK(thebits : TBits_1); inline;
  8035. procedure setw(thebits : TBits_32); inline;
  8036. public
  8037. procedure clearCF; inline;
  8038. procedure clearCLKLOCK; inline;
  8039. procedure clearCOSC0; inline;
  8040. procedure clearCOSC1; inline;
  8041. procedure clearCOSC2; inline;
  8042. procedure clearFRCDIV0; inline;
  8043. procedure clearFRCDIV1; inline;
  8044. procedure clearFRCDIV2; inline;
  8045. procedure clearNOSC0; inline;
  8046. procedure clearNOSC1; inline;
  8047. procedure clearNOSC2; inline;
  8048. procedure clearOSWEN; inline;
  8049. procedure clearPBDIV0; inline;
  8050. procedure clearPBDIV1; inline;
  8051. procedure clearPLLMULT0; inline;
  8052. procedure clearPLLMULT1; inline;
  8053. procedure clearPLLMULT2; inline;
  8054. procedure clearPLLODIV0; inline;
  8055. procedure clearPLLODIV1; inline;
  8056. procedure clearPLLODIV2; inline;
  8057. procedure clearSLOCK; inline;
  8058. procedure clearSLPEN; inline;
  8059. procedure clearSOSCEN; inline;
  8060. procedure clearSOSCRDY; inline;
  8061. procedure clearUFRCEN; inline;
  8062. procedure clearULOCK; inline;
  8063. procedure setCF; inline;
  8064. procedure setCLKLOCK; inline;
  8065. procedure setCOSC0; inline;
  8066. procedure setCOSC1; inline;
  8067. procedure setCOSC2; inline;
  8068. procedure setFRCDIV0; inline;
  8069. procedure setFRCDIV1; inline;
  8070. procedure setFRCDIV2; inline;
  8071. procedure setNOSC0; inline;
  8072. procedure setNOSC1; inline;
  8073. procedure setNOSC2; inline;
  8074. procedure setOSWEN; inline;
  8075. procedure setPBDIV0; inline;
  8076. procedure setPBDIV1; inline;
  8077. procedure setPLLMULT0; inline;
  8078. procedure setPLLMULT1; inline;
  8079. procedure setPLLMULT2; inline;
  8080. procedure setPLLODIV0; inline;
  8081. procedure setPLLODIV1; inline;
  8082. procedure setPLLODIV2; inline;
  8083. procedure setSLOCK; inline;
  8084. procedure setSLPEN; inline;
  8085. procedure setSOSCEN; inline;
  8086. procedure setSOSCRDY; inline;
  8087. procedure setUFRCEN; inline;
  8088. procedure setULOCK; inline;
  8089. property CF : TBits_1 read getCF write setCF;
  8090. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  8091. property COSC : TBits_3 read getCOSC write setCOSC;
  8092. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  8093. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  8094. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  8095. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  8096. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  8097. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  8098. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  8099. property NOSC : TBits_3 read getNOSC write setNOSC;
  8100. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  8101. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  8102. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  8103. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  8104. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  8105. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  8106. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  8107. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  8108. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  8109. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  8110. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  8111. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  8112. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  8113. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  8114. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  8115. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  8116. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  8117. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  8118. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  8119. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  8120. property ULOCK : TBits_1 read getULOCK write setULOCK;
  8121. property w : TBits_32 read getw write setw;
  8122. end;
  8123. TOSC_OSCTUN = record
  8124. private
  8125. function getTUN : TBits_6; inline;
  8126. function getTUN0 : TBits_1; inline;
  8127. function getTUN1 : TBits_1; inline;
  8128. function getTUN2 : TBits_1; inline;
  8129. function getTUN3 : TBits_1; inline;
  8130. function getTUN4 : TBits_1; inline;
  8131. function getTUN5 : TBits_1; inline;
  8132. function getw : TBits_32; inline;
  8133. procedure setTUN(thebits : TBits_6); inline;
  8134. procedure setTUN0(thebits : TBits_1); inline;
  8135. procedure setTUN1(thebits : TBits_1); inline;
  8136. procedure setTUN2(thebits : TBits_1); inline;
  8137. procedure setTUN3(thebits : TBits_1); inline;
  8138. procedure setTUN4(thebits : TBits_1); inline;
  8139. procedure setTUN5(thebits : TBits_1); inline;
  8140. procedure setw(thebits : TBits_32); inline;
  8141. public
  8142. procedure clearTUN0; inline;
  8143. procedure clearTUN1; inline;
  8144. procedure clearTUN2; inline;
  8145. procedure clearTUN3; inline;
  8146. procedure clearTUN4; inline;
  8147. procedure clearTUN5; inline;
  8148. procedure setTUN0; inline;
  8149. procedure setTUN1; inline;
  8150. procedure setTUN2; inline;
  8151. procedure setTUN3; inline;
  8152. procedure setTUN4; inline;
  8153. procedure setTUN5; inline;
  8154. property TUN : TBits_6 read getTUN write setTUN;
  8155. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  8156. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  8157. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  8158. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  8159. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  8160. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  8161. property w : TBits_32 read getw write setw;
  8162. end;
  8163. type
  8164. TOSCRegisters = record
  8165. OSCCONbits : TOSC_OSCCON;
  8166. OSCCON : longWord;
  8167. OSCCONCLR : longWord;
  8168. OSCCONSET : longWord;
  8169. OSCCONINV : longWord;
  8170. OSCTUNbits : TOSC_OSCTUN;
  8171. OSCTUN : longWord;
  8172. OSCTUNCLR : longWord;
  8173. OSCTUNSET : longWord;
  8174. OSCTUNINV : longWord;
  8175. end;
  8176. type
  8177. TCFGRegisters = record
  8178. DDPCON : longWord;
  8179. DEVID : longWord;
  8180. SYSKEY : longWord;
  8181. SYSKEYCLR : longWord;
  8182. SYSKEYSET : longWord;
  8183. SYSKEYINV : longWord;
  8184. end;
  8185. TNVM_NVMCON = record
  8186. private
  8187. function getLVDERR : TBits_1; inline;
  8188. function getLVDSTAT : TBits_1; inline;
  8189. function getNVMOP : TBits_4; inline;
  8190. function getNVMOP0 : TBits_1; inline;
  8191. function getNVMOP1 : TBits_1; inline;
  8192. function getNVMOP2 : TBits_1; inline;
  8193. function getNVMOP3 : TBits_1; inline;
  8194. function getPROGOP : TBits_4; inline;
  8195. function getPROGOP0 : TBits_1; inline;
  8196. function getPROGOP1 : TBits_1; inline;
  8197. function getPROGOP2 : TBits_1; inline;
  8198. function getPROGOP3 : TBits_1; inline;
  8199. function getWR : TBits_1; inline;
  8200. function getWREN : TBits_1; inline;
  8201. function getWRERR : TBits_1; inline;
  8202. function getw : TBits_32; inline;
  8203. procedure setLVDERR(thebits : TBits_1); inline;
  8204. procedure setLVDSTAT(thebits : TBits_1); inline;
  8205. procedure setNVMOP(thebits : TBits_4); inline;
  8206. procedure setNVMOP0(thebits : TBits_1); inline;
  8207. procedure setNVMOP1(thebits : TBits_1); inline;
  8208. procedure setNVMOP2(thebits : TBits_1); inline;
  8209. procedure setNVMOP3(thebits : TBits_1); inline;
  8210. procedure setPROGOP(thebits : TBits_4); inline;
  8211. procedure setPROGOP0(thebits : TBits_1); inline;
  8212. procedure setPROGOP1(thebits : TBits_1); inline;
  8213. procedure setPROGOP2(thebits : TBits_1); inline;
  8214. procedure setPROGOP3(thebits : TBits_1); inline;
  8215. procedure setWR(thebits : TBits_1); inline;
  8216. procedure setWREN(thebits : TBits_1); inline;
  8217. procedure setWRERR(thebits : TBits_1); inline;
  8218. procedure setw(thebits : TBits_32); inline;
  8219. public
  8220. procedure clearLVDERR; inline;
  8221. procedure clearLVDSTAT; inline;
  8222. procedure clearNVMOP0; inline;
  8223. procedure clearNVMOP1; inline;
  8224. procedure clearNVMOP2; inline;
  8225. procedure clearNVMOP3; inline;
  8226. procedure clearPROGOP0; inline;
  8227. procedure clearPROGOP1; inline;
  8228. procedure clearPROGOP2; inline;
  8229. procedure clearPROGOP3; inline;
  8230. procedure clearWR; inline;
  8231. procedure clearWREN; inline;
  8232. procedure clearWRERR; inline;
  8233. procedure setLVDERR; inline;
  8234. procedure setLVDSTAT; inline;
  8235. procedure setNVMOP0; inline;
  8236. procedure setNVMOP1; inline;
  8237. procedure setNVMOP2; inline;
  8238. procedure setNVMOP3; inline;
  8239. procedure setPROGOP0; inline;
  8240. procedure setPROGOP1; inline;
  8241. procedure setPROGOP2; inline;
  8242. procedure setPROGOP3; inline;
  8243. procedure setWR; inline;
  8244. procedure setWREN; inline;
  8245. procedure setWRERR; inline;
  8246. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  8247. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  8248. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  8249. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  8250. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  8251. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  8252. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  8253. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  8254. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  8255. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  8256. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  8257. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  8258. property WR : TBits_1 read getWR write setWR;
  8259. property WREN : TBits_1 read getWREN write setWREN;
  8260. property WRERR : TBits_1 read getWRERR write setWRERR;
  8261. property w : TBits_32 read getw write setw;
  8262. end;
  8263. type
  8264. TNVMRegisters = record
  8265. NVMCONbits : TNVM_NVMCON;
  8266. NVMCON : longWord;
  8267. NVMCONCLR : longWord;
  8268. NVMCONSET : longWord;
  8269. NVMCONINV : longWord;
  8270. NVMKEY : longWord;
  8271. NVMADDR : longWord;
  8272. NVMADDRCLR : longWord;
  8273. NVMADDRSET : longWord;
  8274. NVMADDRINV : longWord;
  8275. NVMDATA : longWord;
  8276. NVMSRCADDR : longWord;
  8277. end;
  8278. TRCON_RCON = record
  8279. private
  8280. function getBOR : TBits_1; inline;
  8281. function getCMR : TBits_1; inline;
  8282. function getEXTR : TBits_1; inline;
  8283. function getIDLE : TBits_1; inline;
  8284. function getPOR : TBits_1; inline;
  8285. function getSLEEP : TBits_1; inline;
  8286. function getSWR : TBits_1; inline;
  8287. function getVREGS : TBits_1; inline;
  8288. function getWDTO : TBits_1; inline;
  8289. function getw : TBits_32; inline;
  8290. procedure setBOR(thebits : TBits_1); inline;
  8291. procedure setCMR(thebits : TBits_1); inline;
  8292. procedure setEXTR(thebits : TBits_1); inline;
  8293. procedure setIDLE(thebits : TBits_1); inline;
  8294. procedure setPOR(thebits : TBits_1); inline;
  8295. procedure setSLEEP(thebits : TBits_1); inline;
  8296. procedure setSWR(thebits : TBits_1); inline;
  8297. procedure setVREGS(thebits : TBits_1); inline;
  8298. procedure setWDTO(thebits : TBits_1); inline;
  8299. procedure setw(thebits : TBits_32); inline;
  8300. public
  8301. procedure clearBOR; inline;
  8302. procedure clearCMR; inline;
  8303. procedure clearEXTR; inline;
  8304. procedure clearIDLE; inline;
  8305. procedure clearPOR; inline;
  8306. procedure clearSLEEP; inline;
  8307. procedure clearSWR; inline;
  8308. procedure clearVREGS; inline;
  8309. procedure clearWDTO; inline;
  8310. procedure setBOR; inline;
  8311. procedure setCMR; inline;
  8312. procedure setEXTR; inline;
  8313. procedure setIDLE; inline;
  8314. procedure setPOR; inline;
  8315. procedure setSLEEP; inline;
  8316. procedure setSWR; inline;
  8317. procedure setVREGS; inline;
  8318. procedure setWDTO; inline;
  8319. property BOR : TBits_1 read getBOR write setBOR;
  8320. property CMR : TBits_1 read getCMR write setCMR;
  8321. property EXTR : TBits_1 read getEXTR write setEXTR;
  8322. property IDLE : TBits_1 read getIDLE write setIDLE;
  8323. property POR : TBits_1 read getPOR write setPOR;
  8324. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  8325. property SWR : TBits_1 read getSWR write setSWR;
  8326. property VREGS : TBits_1 read getVREGS write setVREGS;
  8327. property WDTO : TBits_1 read getWDTO write setWDTO;
  8328. property w : TBits_32 read getw write setw;
  8329. end;
  8330. TRCON_RSWRST = record
  8331. private
  8332. function getSWRST : TBits_1; inline;
  8333. function getw : TBits_32; inline;
  8334. procedure setSWRST(thebits : TBits_1); inline;
  8335. procedure setw(thebits : TBits_32); inline;
  8336. public
  8337. procedure clearSWRST; inline;
  8338. procedure setSWRST; inline;
  8339. property SWRST : TBits_1 read getSWRST write setSWRST;
  8340. property w : TBits_32 read getw write setw;
  8341. end;
  8342. type
  8343. TRCONRegisters = record
  8344. RCONbits : TRCON_RCON;
  8345. RCON : longWord;
  8346. RCONCLR : longWord;
  8347. RCONSET : longWord;
  8348. RCONINV : longWord;
  8349. RSWRSTbits : TRCON_RSWRST;
  8350. RSWRST : longWord;
  8351. RSWRSTCLR : longWord;
  8352. RSWRSTSET : longWord;
  8353. RSWRSTINV : longWord;
  8354. end;
  8355. type
  8356. T_DDPSTATRegisters = record
  8357. _DDPSTAT : longWord;
  8358. end;
  8359. type
  8360. T_STRORegisters = record
  8361. _STRO : longWord;
  8362. _STROCLR : longWord;
  8363. _STROSET : longWord;
  8364. _STROINV : longWord;
  8365. end;
  8366. type
  8367. T_APPORegisters = record
  8368. _APPO : longWord;
  8369. _APPOCLR : longWord;
  8370. _APPOSET : longWord;
  8371. _APPOINV : longWord;
  8372. end;
  8373. type
  8374. T_APPIRegisters = record
  8375. _APPI : longWord;
  8376. end;
  8377. TINT_INTCON = record
  8378. private
  8379. function getFRZ : TBits_1; inline;
  8380. function getINT0EP : TBits_1; inline;
  8381. function getINT1EP : TBits_1; inline;
  8382. function getINT2EP : TBits_1; inline;
  8383. function getINT3EP : TBits_1; inline;
  8384. function getINT4EP : TBits_1; inline;
  8385. function getMVEC : TBits_1; inline;
  8386. function getSS0 : TBits_1; inline;
  8387. function getTPC : TBits_3; inline;
  8388. function getw : TBits_32; inline;
  8389. procedure setFRZ(thebits : TBits_1); inline;
  8390. procedure setINT0EP(thebits : TBits_1); inline;
  8391. procedure setINT1EP(thebits : TBits_1); inline;
  8392. procedure setINT2EP(thebits : TBits_1); inline;
  8393. procedure setINT3EP(thebits : TBits_1); inline;
  8394. procedure setINT4EP(thebits : TBits_1); inline;
  8395. procedure setMVEC(thebits : TBits_1); inline;
  8396. procedure setSS0(thebits : TBits_1); inline;
  8397. procedure setTPC(thebits : TBits_3); inline;
  8398. procedure setw(thebits : TBits_32); inline;
  8399. public
  8400. procedure clearFRZ; inline;
  8401. procedure clearINT0EP; inline;
  8402. procedure clearINT1EP; inline;
  8403. procedure clearINT2EP; inline;
  8404. procedure clearINT3EP; inline;
  8405. procedure clearINT4EP; inline;
  8406. procedure clearMVEC; inline;
  8407. procedure clearSS0; inline;
  8408. procedure setFRZ; inline;
  8409. procedure setINT0EP; inline;
  8410. procedure setINT1EP; inline;
  8411. procedure setINT2EP; inline;
  8412. procedure setINT3EP; inline;
  8413. procedure setINT4EP; inline;
  8414. procedure setMVEC; inline;
  8415. procedure setSS0; inline;
  8416. property FRZ : TBits_1 read getFRZ write setFRZ;
  8417. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  8418. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  8419. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  8420. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  8421. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  8422. property MVEC : TBits_1 read getMVEC write setMVEC;
  8423. property SS0 : TBits_1 read getSS0 write setSS0;
  8424. property TPC : TBits_3 read getTPC write setTPC;
  8425. property w : TBits_32 read getw write setw;
  8426. end;
  8427. TINT_IFS0 = record
  8428. private
  8429. function getCS0IF : TBits_1; inline;
  8430. function getCS1IF : TBits_1; inline;
  8431. function getCTIF : TBits_1; inline;
  8432. function getI2C1ABIF : TBits_1; inline;
  8433. function getI2C1AMIF : TBits_1; inline;
  8434. function getI2C1ASIF : TBits_1; inline;
  8435. function getI2C1BIF : TBits_1; inline;
  8436. function getI2C1MIF : TBits_1; inline;
  8437. function getI2C1SIF : TBits_1; inline;
  8438. function getI2C3BIF : TBits_1; inline;
  8439. function getI2C3MIF : TBits_1; inline;
  8440. function getI2C3SIF : TBits_1; inline;
  8441. function getIC1IF : TBits_1; inline;
  8442. function getIC2IF : TBits_1; inline;
  8443. function getIC3IF : TBits_1; inline;
  8444. function getIC4IF : TBits_1; inline;
  8445. function getIC5IF : TBits_1; inline;
  8446. function getINT0IF : TBits_1; inline;
  8447. function getINT1IF : TBits_1; inline;
  8448. function getINT2IF : TBits_1; inline;
  8449. function getINT3IF : TBits_1; inline;
  8450. function getINT4IF : TBits_1; inline;
  8451. function getOC1IF : TBits_1; inline;
  8452. function getOC2IF : TBits_1; inline;
  8453. function getOC3IF : TBits_1; inline;
  8454. function getOC4IF : TBits_1; inline;
  8455. function getOC5IF : TBits_1; inline;
  8456. function getSPI1AEIF : TBits_1; inline;
  8457. function getSPI1ARXIF : TBits_1; inline;
  8458. function getSPI1ATXIF : TBits_1; inline;
  8459. function getSPI1EIF : TBits_1; inline;
  8460. function getSPI1RXIF : TBits_1; inline;
  8461. function getSPI1TXIF : TBits_1; inline;
  8462. function getSPI3EIF : TBits_1; inline;
  8463. function getSPI3RXIF : TBits_1; inline;
  8464. function getSPI3TXIF : TBits_1; inline;
  8465. function getT1IF : TBits_1; inline;
  8466. function getT2IF : TBits_1; inline;
  8467. function getT3IF : TBits_1; inline;
  8468. function getT4IF : TBits_1; inline;
  8469. function getT5IF : TBits_1; inline;
  8470. function getU1AEIF : TBits_1; inline;
  8471. function getU1ARXIF : TBits_1; inline;
  8472. function getU1ATXIF : TBits_1; inline;
  8473. function getU1EIF : TBits_1; inline;
  8474. function getU1RXIF : TBits_1; inline;
  8475. function getU1TXIF : TBits_1; inline;
  8476. function getw : TBits_32; inline;
  8477. procedure setCS0IF(thebits : TBits_1); inline;
  8478. procedure setCS1IF(thebits : TBits_1); inline;
  8479. procedure setCTIF(thebits : TBits_1); inline;
  8480. procedure setI2C1ABIF(thebits : TBits_1); inline;
  8481. procedure setI2C1AMIF(thebits : TBits_1); inline;
  8482. procedure setI2C1ASIF(thebits : TBits_1); inline;
  8483. procedure setI2C1BIF(thebits : TBits_1); inline;
  8484. procedure setI2C1MIF(thebits : TBits_1); inline;
  8485. procedure setI2C1SIF(thebits : TBits_1); inline;
  8486. procedure setI2C3BIF(thebits : TBits_1); inline;
  8487. procedure setI2C3MIF(thebits : TBits_1); inline;
  8488. procedure setI2C3SIF(thebits : TBits_1); inline;
  8489. procedure setIC1IF(thebits : TBits_1); inline;
  8490. procedure setIC2IF(thebits : TBits_1); inline;
  8491. procedure setIC3IF(thebits : TBits_1); inline;
  8492. procedure setIC4IF(thebits : TBits_1); inline;
  8493. procedure setIC5IF(thebits : TBits_1); inline;
  8494. procedure setINT0IF(thebits : TBits_1); inline;
  8495. procedure setINT1IF(thebits : TBits_1); inline;
  8496. procedure setINT2IF(thebits : TBits_1); inline;
  8497. procedure setINT3IF(thebits : TBits_1); inline;
  8498. procedure setINT4IF(thebits : TBits_1); inline;
  8499. procedure setOC1IF(thebits : TBits_1); inline;
  8500. procedure setOC2IF(thebits : TBits_1); inline;
  8501. procedure setOC3IF(thebits : TBits_1); inline;
  8502. procedure setOC4IF(thebits : TBits_1); inline;
  8503. procedure setOC5IF(thebits : TBits_1); inline;
  8504. procedure setSPI1AEIF(thebits : TBits_1); inline;
  8505. procedure setSPI1ARXIF(thebits : TBits_1); inline;
  8506. procedure setSPI1ATXIF(thebits : TBits_1); inline;
  8507. procedure setSPI1EIF(thebits : TBits_1); inline;
  8508. procedure setSPI1RXIF(thebits : TBits_1); inline;
  8509. procedure setSPI1TXIF(thebits : TBits_1); inline;
  8510. procedure setSPI3EIF(thebits : TBits_1); inline;
  8511. procedure setSPI3RXIF(thebits : TBits_1); inline;
  8512. procedure setSPI3TXIF(thebits : TBits_1); inline;
  8513. procedure setT1IF(thebits : TBits_1); inline;
  8514. procedure setT2IF(thebits : TBits_1); inline;
  8515. procedure setT3IF(thebits : TBits_1); inline;
  8516. procedure setT4IF(thebits : TBits_1); inline;
  8517. procedure setT5IF(thebits : TBits_1); inline;
  8518. procedure setU1AEIF(thebits : TBits_1); inline;
  8519. procedure setU1ARXIF(thebits : TBits_1); inline;
  8520. procedure setU1ATXIF(thebits : TBits_1); inline;
  8521. procedure setU1EIF(thebits : TBits_1); inline;
  8522. procedure setU1RXIF(thebits : TBits_1); inline;
  8523. procedure setU1TXIF(thebits : TBits_1); inline;
  8524. procedure setw(thebits : TBits_32); inline;
  8525. public
  8526. procedure clearCS0IF; inline;
  8527. procedure clearCS1IF; inline;
  8528. procedure clearCTIF; inline;
  8529. procedure clearI2C1ABIF; inline;
  8530. procedure clearI2C1AMIF; inline;
  8531. procedure clearI2C1ASIF; inline;
  8532. procedure clearI2C1BIF; inline;
  8533. procedure clearI2C1MIF; inline;
  8534. procedure clearI2C1SIF; inline;
  8535. procedure clearI2C3BIF; inline;
  8536. procedure clearI2C3MIF; inline;
  8537. procedure clearI2C3SIF; inline;
  8538. procedure clearIC1IF; inline;
  8539. procedure clearIC2IF; inline;
  8540. procedure clearIC3IF; inline;
  8541. procedure clearIC4IF; inline;
  8542. procedure clearIC5IF; inline;
  8543. procedure clearINT0IF; inline;
  8544. procedure clearINT1IF; inline;
  8545. procedure clearINT2IF; inline;
  8546. procedure clearINT3IF; inline;
  8547. procedure clearINT4IF; inline;
  8548. procedure clearOC1IF; inline;
  8549. procedure clearOC2IF; inline;
  8550. procedure clearOC3IF; inline;
  8551. procedure clearOC4IF; inline;
  8552. procedure clearOC5IF; inline;
  8553. procedure clearSPI1AEIF; inline;
  8554. procedure clearSPI1ARXIF; inline;
  8555. procedure clearSPI1ATXIF; inline;
  8556. procedure clearSPI1EIF; inline;
  8557. procedure clearSPI1RXIF; inline;
  8558. procedure clearSPI1TXIF; inline;
  8559. procedure clearSPI3EIF; inline;
  8560. procedure clearSPI3RXIF; inline;
  8561. procedure clearSPI3TXIF; inline;
  8562. procedure clearT1IF; inline;
  8563. procedure clearT2IF; inline;
  8564. procedure clearT3IF; inline;
  8565. procedure clearT4IF; inline;
  8566. procedure clearT5IF; inline;
  8567. procedure clearU1AEIF; inline;
  8568. procedure clearU1ARXIF; inline;
  8569. procedure clearU1ATXIF; inline;
  8570. procedure clearU1EIF; inline;
  8571. procedure clearU1RXIF; inline;
  8572. procedure clearU1TXIF; inline;
  8573. procedure setCS0IF; inline;
  8574. procedure setCS1IF; inline;
  8575. procedure setCTIF; inline;
  8576. procedure setI2C1ABIF; inline;
  8577. procedure setI2C1AMIF; inline;
  8578. procedure setI2C1ASIF; inline;
  8579. procedure setI2C1BIF; inline;
  8580. procedure setI2C1MIF; inline;
  8581. procedure setI2C1SIF; inline;
  8582. procedure setI2C3BIF; inline;
  8583. procedure setI2C3MIF; inline;
  8584. procedure setI2C3SIF; inline;
  8585. procedure setIC1IF; inline;
  8586. procedure setIC2IF; inline;
  8587. procedure setIC3IF; inline;
  8588. procedure setIC4IF; inline;
  8589. procedure setIC5IF; inline;
  8590. procedure setINT0IF; inline;
  8591. procedure setINT1IF; inline;
  8592. procedure setINT2IF; inline;
  8593. procedure setINT3IF; inline;
  8594. procedure setINT4IF; inline;
  8595. procedure setOC1IF; inline;
  8596. procedure setOC2IF; inline;
  8597. procedure setOC3IF; inline;
  8598. procedure setOC4IF; inline;
  8599. procedure setOC5IF; inline;
  8600. procedure setSPI1AEIF; inline;
  8601. procedure setSPI1ARXIF; inline;
  8602. procedure setSPI1ATXIF; inline;
  8603. procedure setSPI1EIF; inline;
  8604. procedure setSPI1RXIF; inline;
  8605. procedure setSPI1TXIF; inline;
  8606. procedure setSPI3EIF; inline;
  8607. procedure setSPI3RXIF; inline;
  8608. procedure setSPI3TXIF; inline;
  8609. procedure setT1IF; inline;
  8610. procedure setT2IF; inline;
  8611. procedure setT3IF; inline;
  8612. procedure setT4IF; inline;
  8613. procedure setT5IF; inline;
  8614. procedure setU1AEIF; inline;
  8615. procedure setU1ARXIF; inline;
  8616. procedure setU1ATXIF; inline;
  8617. procedure setU1EIF; inline;
  8618. procedure setU1RXIF; inline;
  8619. procedure setU1TXIF; inline;
  8620. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  8621. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  8622. property CTIF : TBits_1 read getCTIF write setCTIF;
  8623. property I2C1ABIF : TBits_1 read getI2C1ABIF write setI2C1ABIF;
  8624. property I2C1AMIF : TBits_1 read getI2C1AMIF write setI2C1AMIF;
  8625. property I2C1ASIF : TBits_1 read getI2C1ASIF write setI2C1ASIF;
  8626. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  8627. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  8628. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  8629. property I2C3BIF : TBits_1 read getI2C3BIF write setI2C3BIF;
  8630. property I2C3MIF : TBits_1 read getI2C3MIF write setI2C3MIF;
  8631. property I2C3SIF : TBits_1 read getI2C3SIF write setI2C3SIF;
  8632. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  8633. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  8634. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  8635. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  8636. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  8637. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  8638. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  8639. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  8640. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  8641. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  8642. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  8643. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  8644. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  8645. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  8646. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  8647. property SPI1AEIF : TBits_1 read getSPI1AEIF write setSPI1AEIF;
  8648. property SPI1ARXIF : TBits_1 read getSPI1ARXIF write setSPI1ARXIF;
  8649. property SPI1ATXIF : TBits_1 read getSPI1ATXIF write setSPI1ATXIF;
  8650. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  8651. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  8652. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  8653. property SPI3EIF : TBits_1 read getSPI3EIF write setSPI3EIF;
  8654. property SPI3RXIF : TBits_1 read getSPI3RXIF write setSPI3RXIF;
  8655. property SPI3TXIF : TBits_1 read getSPI3TXIF write setSPI3TXIF;
  8656. property T1IF : TBits_1 read getT1IF write setT1IF;
  8657. property T2IF : TBits_1 read getT2IF write setT2IF;
  8658. property T3IF : TBits_1 read getT3IF write setT3IF;
  8659. property T4IF : TBits_1 read getT4IF write setT4IF;
  8660. property T5IF : TBits_1 read getT5IF write setT5IF;
  8661. property U1AEIF : TBits_1 read getU1AEIF write setU1AEIF;
  8662. property U1ARXIF : TBits_1 read getU1ARXIF write setU1ARXIF;
  8663. property U1ATXIF : TBits_1 read getU1ATXIF write setU1ATXIF;
  8664. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  8665. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  8666. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  8667. property w : TBits_32 read getw write setw;
  8668. end;
  8669. TINT_IFS1 = record
  8670. private
  8671. function getAD1IF : TBits_1; inline;
  8672. function getCMP1IF : TBits_1; inline;
  8673. function getCMP2IF : TBits_1; inline;
  8674. function getCNIF : TBits_1; inline;
  8675. function getDMA0IF : TBits_1; inline;
  8676. function getDMA1IF : TBits_1; inline;
  8677. function getDMA2IF : TBits_1; inline;
  8678. function getDMA3IF : TBits_1; inline;
  8679. function getETHIF : TBits_1; inline;
  8680. function getFCEIF : TBits_1; inline;
  8681. function getFSCMIF : TBits_1; inline;
  8682. function getI2C2ABIF : TBits_1; inline;
  8683. function getI2C2AMIF : TBits_1; inline;
  8684. function getI2C2ASIF : TBits_1; inline;
  8685. function getI2C2BIF : TBits_1; inline;
  8686. function getI2C2MIF : TBits_1; inline;
  8687. function getI2C2SIF : TBits_1; inline;
  8688. function getI2C3ABIF : TBits_1; inline;
  8689. function getI2C3AMIF : TBits_1; inline;
  8690. function getI2C3ASIF : TBits_1; inline;
  8691. function getI2C4BIF : TBits_1; inline;
  8692. function getI2C4MIF : TBits_1; inline;
  8693. function getI2C4SIF : TBits_1; inline;
  8694. function getI2C5BIF : TBits_1; inline;
  8695. function getI2C5MIF : TBits_1; inline;
  8696. function getI2C5SIF : TBits_1; inline;
  8697. function getIC1EIF : TBits_1; inline;
  8698. function getIC2EIF : TBits_1; inline;
  8699. function getIC3EIF : TBits_1; inline;
  8700. function getPMPIF : TBits_1; inline;
  8701. function getRTCCIF : TBits_1; inline;
  8702. function getSPI2AEIF : TBits_1; inline;
  8703. function getSPI2ARXIF : TBits_1; inline;
  8704. function getSPI2ATXIF : TBits_1; inline;
  8705. function getSPI2EIF : TBits_1; inline;
  8706. function getSPI2RXIF : TBits_1; inline;
  8707. function getSPI2TXIF : TBits_1; inline;
  8708. function getSPI3AEIF : TBits_1; inline;
  8709. function getSPI3ARXIF : TBits_1; inline;
  8710. function getSPI3ATXIF : TBits_1; inline;
  8711. function getSPI4EIF : TBits_1; inline;
  8712. function getSPI4RXIF : TBits_1; inline;
  8713. function getSPI4TXIF : TBits_1; inline;
  8714. function getU2AEIF : TBits_1; inline;
  8715. function getU2ARXIF : TBits_1; inline;
  8716. function getU2ATXIF : TBits_1; inline;
  8717. function getU2EIF : TBits_1; inline;
  8718. function getU2RXIF : TBits_1; inline;
  8719. function getU2TXIF : TBits_1; inline;
  8720. function getU3AEIF : TBits_1; inline;
  8721. function getU3ARXIF : TBits_1; inline;
  8722. function getU3ATXIF : TBits_1; inline;
  8723. function getU3EIF : TBits_1; inline;
  8724. function getU3RXIF : TBits_1; inline;
  8725. function getU3TXIF : TBits_1; inline;
  8726. function getUSBIF : TBits_1; inline;
  8727. function getw : TBits_32; inline;
  8728. procedure setAD1IF(thebits : TBits_1); inline;
  8729. procedure setCMP1IF(thebits : TBits_1); inline;
  8730. procedure setCMP2IF(thebits : TBits_1); inline;
  8731. procedure setCNIF(thebits : TBits_1); inline;
  8732. procedure setDMA0IF(thebits : TBits_1); inline;
  8733. procedure setDMA1IF(thebits : TBits_1); inline;
  8734. procedure setDMA2IF(thebits : TBits_1); inline;
  8735. procedure setDMA3IF(thebits : TBits_1); inline;
  8736. procedure setETHIF(thebits : TBits_1); inline;
  8737. procedure setFCEIF(thebits : TBits_1); inline;
  8738. procedure setFSCMIF(thebits : TBits_1); inline;
  8739. procedure setI2C2ABIF(thebits : TBits_1); inline;
  8740. procedure setI2C2AMIF(thebits : TBits_1); inline;
  8741. procedure setI2C2ASIF(thebits : TBits_1); inline;
  8742. procedure setI2C2BIF(thebits : TBits_1); inline;
  8743. procedure setI2C2MIF(thebits : TBits_1); inline;
  8744. procedure setI2C2SIF(thebits : TBits_1); inline;
  8745. procedure setI2C3ABIF(thebits : TBits_1); inline;
  8746. procedure setI2C3AMIF(thebits : TBits_1); inline;
  8747. procedure setI2C3ASIF(thebits : TBits_1); inline;
  8748. procedure setI2C4BIF(thebits : TBits_1); inline;
  8749. procedure setI2C4MIF(thebits : TBits_1); inline;
  8750. procedure setI2C4SIF(thebits : TBits_1); inline;
  8751. procedure setI2C5BIF(thebits : TBits_1); inline;
  8752. procedure setI2C5MIF(thebits : TBits_1); inline;
  8753. procedure setI2C5SIF(thebits : TBits_1); inline;
  8754. procedure setIC1EIF(thebits : TBits_1); inline;
  8755. procedure setIC2EIF(thebits : TBits_1); inline;
  8756. procedure setIC3EIF(thebits : TBits_1); inline;
  8757. procedure setPMPIF(thebits : TBits_1); inline;
  8758. procedure setRTCCIF(thebits : TBits_1); inline;
  8759. procedure setSPI2AEIF(thebits : TBits_1); inline;
  8760. procedure setSPI2ARXIF(thebits : TBits_1); inline;
  8761. procedure setSPI2ATXIF(thebits : TBits_1); inline;
  8762. procedure setSPI2EIF(thebits : TBits_1); inline;
  8763. procedure setSPI2RXIF(thebits : TBits_1); inline;
  8764. procedure setSPI2TXIF(thebits : TBits_1); inline;
  8765. procedure setSPI3AEIF(thebits : TBits_1); inline;
  8766. procedure setSPI3ARXIF(thebits : TBits_1); inline;
  8767. procedure setSPI3ATXIF(thebits : TBits_1); inline;
  8768. procedure setSPI4EIF(thebits : TBits_1); inline;
  8769. procedure setSPI4RXIF(thebits : TBits_1); inline;
  8770. procedure setSPI4TXIF(thebits : TBits_1); inline;
  8771. procedure setU2AEIF(thebits : TBits_1); inline;
  8772. procedure setU2ARXIF(thebits : TBits_1); inline;
  8773. procedure setU2ATXIF(thebits : TBits_1); inline;
  8774. procedure setU2EIF(thebits : TBits_1); inline;
  8775. procedure setU2RXIF(thebits : TBits_1); inline;
  8776. procedure setU2TXIF(thebits : TBits_1); inline;
  8777. procedure setU3AEIF(thebits : TBits_1); inline;
  8778. procedure setU3ARXIF(thebits : TBits_1); inline;
  8779. procedure setU3ATXIF(thebits : TBits_1); inline;
  8780. procedure setU3EIF(thebits : TBits_1); inline;
  8781. procedure setU3RXIF(thebits : TBits_1); inline;
  8782. procedure setU3TXIF(thebits : TBits_1); inline;
  8783. procedure setUSBIF(thebits : TBits_1); inline;
  8784. procedure setw(thebits : TBits_32); inline;
  8785. public
  8786. procedure clearAD1IF; inline;
  8787. procedure clearCMP1IF; inline;
  8788. procedure clearCMP2IF; inline;
  8789. procedure clearCNIF; inline;
  8790. procedure clearDMA0IF; inline;
  8791. procedure clearDMA1IF; inline;
  8792. procedure clearDMA2IF; inline;
  8793. procedure clearDMA3IF; inline;
  8794. procedure clearETHIF; inline;
  8795. procedure clearFCEIF; inline;
  8796. procedure clearFSCMIF; inline;
  8797. procedure clearI2C2ABIF; inline;
  8798. procedure clearI2C2AMIF; inline;
  8799. procedure clearI2C2ASIF; inline;
  8800. procedure clearI2C2BIF; inline;
  8801. procedure clearI2C2MIF; inline;
  8802. procedure clearI2C2SIF; inline;
  8803. procedure clearI2C3ABIF; inline;
  8804. procedure clearI2C3AMIF; inline;
  8805. procedure clearI2C3ASIF; inline;
  8806. procedure clearI2C4BIF; inline;
  8807. procedure clearI2C4MIF; inline;
  8808. procedure clearI2C4SIF; inline;
  8809. procedure clearI2C5BIF; inline;
  8810. procedure clearI2C5MIF; inline;
  8811. procedure clearI2C5SIF; inline;
  8812. procedure clearIC1EIF; inline;
  8813. procedure clearIC2EIF; inline;
  8814. procedure clearIC3EIF; inline;
  8815. procedure clearPMPIF; inline;
  8816. procedure clearRTCCIF; inline;
  8817. procedure clearSPI2AEIF; inline;
  8818. procedure clearSPI2ARXIF; inline;
  8819. procedure clearSPI2ATXIF; inline;
  8820. procedure clearSPI2EIF; inline;
  8821. procedure clearSPI2RXIF; inline;
  8822. procedure clearSPI2TXIF; inline;
  8823. procedure clearSPI3AEIF; inline;
  8824. procedure clearSPI3ARXIF; inline;
  8825. procedure clearSPI3ATXIF; inline;
  8826. procedure clearSPI4EIF; inline;
  8827. procedure clearSPI4RXIF; inline;
  8828. procedure clearSPI4TXIF; inline;
  8829. procedure clearU2AEIF; inline;
  8830. procedure clearU2ARXIF; inline;
  8831. procedure clearU2ATXIF; inline;
  8832. procedure clearU2EIF; inline;
  8833. procedure clearU2RXIF; inline;
  8834. procedure clearU2TXIF; inline;
  8835. procedure clearU3AEIF; inline;
  8836. procedure clearU3ARXIF; inline;
  8837. procedure clearU3ATXIF; inline;
  8838. procedure clearU3EIF; inline;
  8839. procedure clearU3RXIF; inline;
  8840. procedure clearU3TXIF; inline;
  8841. procedure clearUSBIF; inline;
  8842. procedure setAD1IF; inline;
  8843. procedure setCMP1IF; inline;
  8844. procedure setCMP2IF; inline;
  8845. procedure setCNIF; inline;
  8846. procedure setDMA0IF; inline;
  8847. procedure setDMA1IF; inline;
  8848. procedure setDMA2IF; inline;
  8849. procedure setDMA3IF; inline;
  8850. procedure setETHIF; inline;
  8851. procedure setFCEIF; inline;
  8852. procedure setFSCMIF; inline;
  8853. procedure setI2C2ABIF; inline;
  8854. procedure setI2C2AMIF; inline;
  8855. procedure setI2C2ASIF; inline;
  8856. procedure setI2C2BIF; inline;
  8857. procedure setI2C2MIF; inline;
  8858. procedure setI2C2SIF; inline;
  8859. procedure setI2C3ABIF; inline;
  8860. procedure setI2C3AMIF; inline;
  8861. procedure setI2C3ASIF; inline;
  8862. procedure setI2C4BIF; inline;
  8863. procedure setI2C4MIF; inline;
  8864. procedure setI2C4SIF; inline;
  8865. procedure setI2C5BIF; inline;
  8866. procedure setI2C5MIF; inline;
  8867. procedure setI2C5SIF; inline;
  8868. procedure setIC1EIF; inline;
  8869. procedure setIC2EIF; inline;
  8870. procedure setIC3EIF; inline;
  8871. procedure setPMPIF; inline;
  8872. procedure setRTCCIF; inline;
  8873. procedure setSPI2AEIF; inline;
  8874. procedure setSPI2ARXIF; inline;
  8875. procedure setSPI2ATXIF; inline;
  8876. procedure setSPI2EIF; inline;
  8877. procedure setSPI2RXIF; inline;
  8878. procedure setSPI2TXIF; inline;
  8879. procedure setSPI3AEIF; inline;
  8880. procedure setSPI3ARXIF; inline;
  8881. procedure setSPI3ATXIF; inline;
  8882. procedure setSPI4EIF; inline;
  8883. procedure setSPI4RXIF; inline;
  8884. procedure setSPI4TXIF; inline;
  8885. procedure setU2AEIF; inline;
  8886. procedure setU2ARXIF; inline;
  8887. procedure setU2ATXIF; inline;
  8888. procedure setU2EIF; inline;
  8889. procedure setU2RXIF; inline;
  8890. procedure setU2TXIF; inline;
  8891. procedure setU3AEIF; inline;
  8892. procedure setU3ARXIF; inline;
  8893. procedure setU3ATXIF; inline;
  8894. procedure setU3EIF; inline;
  8895. procedure setU3RXIF; inline;
  8896. procedure setU3TXIF; inline;
  8897. procedure setUSBIF; inline;
  8898. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  8899. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  8900. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  8901. property CNIF : TBits_1 read getCNIF write setCNIF;
  8902. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  8903. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  8904. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  8905. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  8906. property ETHIF : TBits_1 read getETHIF write setETHIF;
  8907. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  8908. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  8909. property I2C2ABIF : TBits_1 read getI2C2ABIF write setI2C2ABIF;
  8910. property I2C2AMIF : TBits_1 read getI2C2AMIF write setI2C2AMIF;
  8911. property I2C2ASIF : TBits_1 read getI2C2ASIF write setI2C2ASIF;
  8912. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  8913. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  8914. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  8915. property I2C3ABIF : TBits_1 read getI2C3ABIF write setI2C3ABIF;
  8916. property I2C3AMIF : TBits_1 read getI2C3AMIF write setI2C3AMIF;
  8917. property I2C3ASIF : TBits_1 read getI2C3ASIF write setI2C3ASIF;
  8918. property I2C4BIF : TBits_1 read getI2C4BIF write setI2C4BIF;
  8919. property I2C4MIF : TBits_1 read getI2C4MIF write setI2C4MIF;
  8920. property I2C4SIF : TBits_1 read getI2C4SIF write setI2C4SIF;
  8921. property I2C5BIF : TBits_1 read getI2C5BIF write setI2C5BIF;
  8922. property I2C5MIF : TBits_1 read getI2C5MIF write setI2C5MIF;
  8923. property I2C5SIF : TBits_1 read getI2C5SIF write setI2C5SIF;
  8924. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  8925. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  8926. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  8927. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  8928. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  8929. property SPI2AEIF : TBits_1 read getSPI2AEIF write setSPI2AEIF;
  8930. property SPI2ARXIF : TBits_1 read getSPI2ARXIF write setSPI2ARXIF;
  8931. property SPI2ATXIF : TBits_1 read getSPI2ATXIF write setSPI2ATXIF;
  8932. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  8933. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  8934. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  8935. property SPI3AEIF : TBits_1 read getSPI3AEIF write setSPI3AEIF;
  8936. property SPI3ARXIF : TBits_1 read getSPI3ARXIF write setSPI3ARXIF;
  8937. property SPI3ATXIF : TBits_1 read getSPI3ATXIF write setSPI3ATXIF;
  8938. property SPI4EIF : TBits_1 read getSPI4EIF write setSPI4EIF;
  8939. property SPI4RXIF : TBits_1 read getSPI4RXIF write setSPI4RXIF;
  8940. property SPI4TXIF : TBits_1 read getSPI4TXIF write setSPI4TXIF;
  8941. property U2AEIF : TBits_1 read getU2AEIF write setU2AEIF;
  8942. property U2ARXIF : TBits_1 read getU2ARXIF write setU2ARXIF;
  8943. property U2ATXIF : TBits_1 read getU2ATXIF write setU2ATXIF;
  8944. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  8945. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  8946. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  8947. property U3AEIF : TBits_1 read getU3AEIF write setU3AEIF;
  8948. property U3ARXIF : TBits_1 read getU3ARXIF write setU3ARXIF;
  8949. property U3ATXIF : TBits_1 read getU3ATXIF write setU3ATXIF;
  8950. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  8951. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  8952. property U3TXIF : TBits_1 read getU3TXIF write setU3TXIF;
  8953. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  8954. property w : TBits_32 read getw write setw;
  8955. end;
  8956. TINT_IFS2 = record
  8957. private
  8958. function getIC4EIF : TBits_1; inline;
  8959. function getIC5EIF : TBits_1; inline;
  8960. function getPMPEIF : TBits_1; inline;
  8961. function getU1BEIF : TBits_1; inline;
  8962. function getU1BRXIF : TBits_1; inline;
  8963. function getU1BTXIF : TBits_1; inline;
  8964. function getU2BEIF : TBits_1; inline;
  8965. function getU2BRXIF : TBits_1; inline;
  8966. function getU2BTXIF : TBits_1; inline;
  8967. function getU3BEIF : TBits_1; inline;
  8968. function getU3BRXIF : TBits_1; inline;
  8969. function getU3BTXIF : TBits_1; inline;
  8970. function getU4EIF : TBits_1; inline;
  8971. function getU4RXIF : TBits_1; inline;
  8972. function getU4TXIF : TBits_1; inline;
  8973. function getU5EIF : TBits_1; inline;
  8974. function getU5RXIF : TBits_1; inline;
  8975. function getU5TXIF : TBits_1; inline;
  8976. function getU6EIF : TBits_1; inline;
  8977. function getU6RXIF : TBits_1; inline;
  8978. function getU6TXIF : TBits_1; inline;
  8979. function getw : TBits_32; inline;
  8980. procedure setIC4EIF(thebits : TBits_1); inline;
  8981. procedure setIC5EIF(thebits : TBits_1); inline;
  8982. procedure setPMPEIF(thebits : TBits_1); inline;
  8983. procedure setU1BEIF(thebits : TBits_1); inline;
  8984. procedure setU1BRXIF(thebits : TBits_1); inline;
  8985. procedure setU1BTXIF(thebits : TBits_1); inline;
  8986. procedure setU2BEIF(thebits : TBits_1); inline;
  8987. procedure setU2BRXIF(thebits : TBits_1); inline;
  8988. procedure setU2BTXIF(thebits : TBits_1); inline;
  8989. procedure setU3BEIF(thebits : TBits_1); inline;
  8990. procedure setU3BRXIF(thebits : TBits_1); inline;
  8991. procedure setU3BTXIF(thebits : TBits_1); inline;
  8992. procedure setU4EIF(thebits : TBits_1); inline;
  8993. procedure setU4RXIF(thebits : TBits_1); inline;
  8994. procedure setU4TXIF(thebits : TBits_1); inline;
  8995. procedure setU5EIF(thebits : TBits_1); inline;
  8996. procedure setU5RXIF(thebits : TBits_1); inline;
  8997. procedure setU5TXIF(thebits : TBits_1); inline;
  8998. procedure setU6EIF(thebits : TBits_1); inline;
  8999. procedure setU6RXIF(thebits : TBits_1); inline;
  9000. procedure setU6TXIF(thebits : TBits_1); inline;
  9001. procedure setw(thebits : TBits_32); inline;
  9002. public
  9003. procedure clearIC4EIF; inline;
  9004. procedure clearIC5EIF; inline;
  9005. procedure clearPMPEIF; inline;
  9006. procedure clearU1BEIF; inline;
  9007. procedure clearU1BRXIF; inline;
  9008. procedure clearU1BTXIF; inline;
  9009. procedure clearU2BEIF; inline;
  9010. procedure clearU2BRXIF; inline;
  9011. procedure clearU2BTXIF; inline;
  9012. procedure clearU3BEIF; inline;
  9013. procedure clearU3BRXIF; inline;
  9014. procedure clearU3BTXIF; inline;
  9015. procedure clearU4EIF; inline;
  9016. procedure clearU4RXIF; inline;
  9017. procedure clearU4TXIF; inline;
  9018. procedure clearU5EIF; inline;
  9019. procedure clearU5RXIF; inline;
  9020. procedure clearU5TXIF; inline;
  9021. procedure clearU6EIF; inline;
  9022. procedure clearU6RXIF; inline;
  9023. procedure clearU6TXIF; inline;
  9024. procedure setIC4EIF; inline;
  9025. procedure setIC5EIF; inline;
  9026. procedure setPMPEIF; inline;
  9027. procedure setU1BEIF; inline;
  9028. procedure setU1BRXIF; inline;
  9029. procedure setU1BTXIF; inline;
  9030. procedure setU2BEIF; inline;
  9031. procedure setU2BRXIF; inline;
  9032. procedure setU2BTXIF; inline;
  9033. procedure setU3BEIF; inline;
  9034. procedure setU3BRXIF; inline;
  9035. procedure setU3BTXIF; inline;
  9036. procedure setU4EIF; inline;
  9037. procedure setU4RXIF; inline;
  9038. procedure setU4TXIF; inline;
  9039. procedure setU5EIF; inline;
  9040. procedure setU5RXIF; inline;
  9041. procedure setU5TXIF; inline;
  9042. procedure setU6EIF; inline;
  9043. procedure setU6RXIF; inline;
  9044. procedure setU6TXIF; inline;
  9045. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  9046. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  9047. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  9048. property U1BEIF : TBits_1 read getU1BEIF write setU1BEIF;
  9049. property U1BRXIF : TBits_1 read getU1BRXIF write setU1BRXIF;
  9050. property U1BTXIF : TBits_1 read getU1BTXIF write setU1BTXIF;
  9051. property U2BEIF : TBits_1 read getU2BEIF write setU2BEIF;
  9052. property U2BRXIF : TBits_1 read getU2BRXIF write setU2BRXIF;
  9053. property U2BTXIF : TBits_1 read getU2BTXIF write setU2BTXIF;
  9054. property U3BEIF : TBits_1 read getU3BEIF write setU3BEIF;
  9055. property U3BRXIF : TBits_1 read getU3BRXIF write setU3BRXIF;
  9056. property U3BTXIF : TBits_1 read getU3BTXIF write setU3BTXIF;
  9057. property U4EIF : TBits_1 read getU4EIF write setU4EIF;
  9058. property U4RXIF : TBits_1 read getU4RXIF write setU4RXIF;
  9059. property U4TXIF : TBits_1 read getU4TXIF write setU4TXIF;
  9060. property U5EIF : TBits_1 read getU5EIF write setU5EIF;
  9061. property U5RXIF : TBits_1 read getU5RXIF write setU5RXIF;
  9062. property U5TXIF : TBits_1 read getU5TXIF write setU5TXIF;
  9063. property U6EIF : TBits_1 read getU6EIF write setU6EIF;
  9064. property U6RXIF : TBits_1 read getU6RXIF write setU6RXIF;
  9065. property U6TXIF : TBits_1 read getU6TXIF write setU6TXIF;
  9066. property w : TBits_32 read getw write setw;
  9067. end;
  9068. TINT_IEC0 = record
  9069. private
  9070. function getCS0IE : TBits_1; inline;
  9071. function getCS1IE : TBits_1; inline;
  9072. function getCTIE : TBits_1; inline;
  9073. function getI2C1ABIE : TBits_1; inline;
  9074. function getI2C1AMIE : TBits_1; inline;
  9075. function getI2C1ASIE : TBits_1; inline;
  9076. function getI2C1BIE : TBits_1; inline;
  9077. function getI2C1MIE : TBits_1; inline;
  9078. function getI2C1SIE : TBits_1; inline;
  9079. function getI2C3BIE : TBits_1; inline;
  9080. function getI2C3MIE : TBits_1; inline;
  9081. function getI2C3SIE : TBits_1; inline;
  9082. function getIC1IE : TBits_1; inline;
  9083. function getIC2IE : TBits_1; inline;
  9084. function getIC3IE : TBits_1; inline;
  9085. function getIC4IE : TBits_1; inline;
  9086. function getIC5IE : TBits_1; inline;
  9087. function getINT0IE : TBits_1; inline;
  9088. function getINT1IE : TBits_1; inline;
  9089. function getINT2IE : TBits_1; inline;
  9090. function getINT3IE : TBits_1; inline;
  9091. function getINT4IE : TBits_1; inline;
  9092. function getOC1IE : TBits_1; inline;
  9093. function getOC2IE : TBits_1; inline;
  9094. function getOC3IE : TBits_1; inline;
  9095. function getOC4IE : TBits_1; inline;
  9096. function getOC5IE : TBits_1; inline;
  9097. function getSPI1AEIE : TBits_1; inline;
  9098. function getSPI1ARXIE : TBits_1; inline;
  9099. function getSPI1ATXIE : TBits_1; inline;
  9100. function getSPI1EIE : TBits_1; inline;
  9101. function getSPI1RXIE : TBits_1; inline;
  9102. function getSPI1TXIE : TBits_1; inline;
  9103. function getSPI3EIE : TBits_1; inline;
  9104. function getSPI3RXIE : TBits_1; inline;
  9105. function getSPI3TXIE : TBits_1; inline;
  9106. function getT1IE : TBits_1; inline;
  9107. function getT2IE : TBits_1; inline;
  9108. function getT3IE : TBits_1; inline;
  9109. function getT4IE : TBits_1; inline;
  9110. function getT5IE : TBits_1; inline;
  9111. function getU1AEIE : TBits_1; inline;
  9112. function getU1ARXIE : TBits_1; inline;
  9113. function getU1ATXIE : TBits_1; inline;
  9114. function getU1EIE : TBits_1; inline;
  9115. function getU1RXIE : TBits_1; inline;
  9116. function getU1TXIE : TBits_1; inline;
  9117. function getw : TBits_32; inline;
  9118. procedure setCS0IE(thebits : TBits_1); inline;
  9119. procedure setCS1IE(thebits : TBits_1); inline;
  9120. procedure setCTIE(thebits : TBits_1); inline;
  9121. procedure setI2C1ABIE(thebits : TBits_1); inline;
  9122. procedure setI2C1AMIE(thebits : TBits_1); inline;
  9123. procedure setI2C1ASIE(thebits : TBits_1); inline;
  9124. procedure setI2C1BIE(thebits : TBits_1); inline;
  9125. procedure setI2C1MIE(thebits : TBits_1); inline;
  9126. procedure setI2C1SIE(thebits : TBits_1); inline;
  9127. procedure setI2C3BIE(thebits : TBits_1); inline;
  9128. procedure setI2C3MIE(thebits : TBits_1); inline;
  9129. procedure setI2C3SIE(thebits : TBits_1); inline;
  9130. procedure setIC1IE(thebits : TBits_1); inline;
  9131. procedure setIC2IE(thebits : TBits_1); inline;
  9132. procedure setIC3IE(thebits : TBits_1); inline;
  9133. procedure setIC4IE(thebits : TBits_1); inline;
  9134. procedure setIC5IE(thebits : TBits_1); inline;
  9135. procedure setINT0IE(thebits : TBits_1); inline;
  9136. procedure setINT1IE(thebits : TBits_1); inline;
  9137. procedure setINT2IE(thebits : TBits_1); inline;
  9138. procedure setINT3IE(thebits : TBits_1); inline;
  9139. procedure setINT4IE(thebits : TBits_1); inline;
  9140. procedure setOC1IE(thebits : TBits_1); inline;
  9141. procedure setOC2IE(thebits : TBits_1); inline;
  9142. procedure setOC3IE(thebits : TBits_1); inline;
  9143. procedure setOC4IE(thebits : TBits_1); inline;
  9144. procedure setOC5IE(thebits : TBits_1); inline;
  9145. procedure setSPI1AEIE(thebits : TBits_1); inline;
  9146. procedure setSPI1ARXIE(thebits : TBits_1); inline;
  9147. procedure setSPI1ATXIE(thebits : TBits_1); inline;
  9148. procedure setSPI1EIE(thebits : TBits_1); inline;
  9149. procedure setSPI1RXIE(thebits : TBits_1); inline;
  9150. procedure setSPI1TXIE(thebits : TBits_1); inline;
  9151. procedure setSPI3EIE(thebits : TBits_1); inline;
  9152. procedure setSPI3RXIE(thebits : TBits_1); inline;
  9153. procedure setSPI3TXIE(thebits : TBits_1); inline;
  9154. procedure setT1IE(thebits : TBits_1); inline;
  9155. procedure setT2IE(thebits : TBits_1); inline;
  9156. procedure setT3IE(thebits : TBits_1); inline;
  9157. procedure setT4IE(thebits : TBits_1); inline;
  9158. procedure setT5IE(thebits : TBits_1); inline;
  9159. procedure setU1AEIE(thebits : TBits_1); inline;
  9160. procedure setU1ARXIE(thebits : TBits_1); inline;
  9161. procedure setU1ATXIE(thebits : TBits_1); inline;
  9162. procedure setU1EIE(thebits : TBits_1); inline;
  9163. procedure setU1RXIE(thebits : TBits_1); inline;
  9164. procedure setU1TXIE(thebits : TBits_1); inline;
  9165. procedure setw(thebits : TBits_32); inline;
  9166. public
  9167. procedure clearCS0IE; inline;
  9168. procedure clearCS1IE; inline;
  9169. procedure clearCTIE; inline;
  9170. procedure clearI2C1ABIE; inline;
  9171. procedure clearI2C1AMIE; inline;
  9172. procedure clearI2C1ASIE; inline;
  9173. procedure clearI2C1BIE; inline;
  9174. procedure clearI2C1MIE; inline;
  9175. procedure clearI2C1SIE; inline;
  9176. procedure clearI2C3BIE; inline;
  9177. procedure clearI2C3MIE; inline;
  9178. procedure clearI2C3SIE; inline;
  9179. procedure clearIC1IE; inline;
  9180. procedure clearIC2IE; inline;
  9181. procedure clearIC3IE; inline;
  9182. procedure clearIC4IE; inline;
  9183. procedure clearIC5IE; inline;
  9184. procedure clearINT0IE; inline;
  9185. procedure clearINT1IE; inline;
  9186. procedure clearINT2IE; inline;
  9187. procedure clearINT3IE; inline;
  9188. procedure clearINT4IE; inline;
  9189. procedure clearOC1IE; inline;
  9190. procedure clearOC2IE; inline;
  9191. procedure clearOC3IE; inline;
  9192. procedure clearOC4IE; inline;
  9193. procedure clearOC5IE; inline;
  9194. procedure clearSPI1AEIE; inline;
  9195. procedure clearSPI1ARXIE; inline;
  9196. procedure clearSPI1ATXIE; inline;
  9197. procedure clearSPI1EIE; inline;
  9198. procedure clearSPI1RXIE; inline;
  9199. procedure clearSPI1TXIE; inline;
  9200. procedure clearSPI3EIE; inline;
  9201. procedure clearSPI3RXIE; inline;
  9202. procedure clearSPI3TXIE; inline;
  9203. procedure clearT1IE; inline;
  9204. procedure clearT2IE; inline;
  9205. procedure clearT3IE; inline;
  9206. procedure clearT4IE; inline;
  9207. procedure clearT5IE; inline;
  9208. procedure clearU1AEIE; inline;
  9209. procedure clearU1ARXIE; inline;
  9210. procedure clearU1ATXIE; inline;
  9211. procedure clearU1EIE; inline;
  9212. procedure clearU1RXIE; inline;
  9213. procedure clearU1TXIE; inline;
  9214. procedure setCS0IE; inline;
  9215. procedure setCS1IE; inline;
  9216. procedure setCTIE; inline;
  9217. procedure setI2C1ABIE; inline;
  9218. procedure setI2C1AMIE; inline;
  9219. procedure setI2C1ASIE; inline;
  9220. procedure setI2C1BIE; inline;
  9221. procedure setI2C1MIE; inline;
  9222. procedure setI2C1SIE; inline;
  9223. procedure setI2C3BIE; inline;
  9224. procedure setI2C3MIE; inline;
  9225. procedure setI2C3SIE; inline;
  9226. procedure setIC1IE; inline;
  9227. procedure setIC2IE; inline;
  9228. procedure setIC3IE; inline;
  9229. procedure setIC4IE; inline;
  9230. procedure setIC5IE; inline;
  9231. procedure setINT0IE; inline;
  9232. procedure setINT1IE; inline;
  9233. procedure setINT2IE; inline;
  9234. procedure setINT3IE; inline;
  9235. procedure setINT4IE; inline;
  9236. procedure setOC1IE; inline;
  9237. procedure setOC2IE; inline;
  9238. procedure setOC3IE; inline;
  9239. procedure setOC4IE; inline;
  9240. procedure setOC5IE; inline;
  9241. procedure setSPI1AEIE; inline;
  9242. procedure setSPI1ARXIE; inline;
  9243. procedure setSPI1ATXIE; inline;
  9244. procedure setSPI1EIE; inline;
  9245. procedure setSPI1RXIE; inline;
  9246. procedure setSPI1TXIE; inline;
  9247. procedure setSPI3EIE; inline;
  9248. procedure setSPI3RXIE; inline;
  9249. procedure setSPI3TXIE; inline;
  9250. procedure setT1IE; inline;
  9251. procedure setT2IE; inline;
  9252. procedure setT3IE; inline;
  9253. procedure setT4IE; inline;
  9254. procedure setT5IE; inline;
  9255. procedure setU1AEIE; inline;
  9256. procedure setU1ARXIE; inline;
  9257. procedure setU1ATXIE; inline;
  9258. procedure setU1EIE; inline;
  9259. procedure setU1RXIE; inline;
  9260. procedure setU1TXIE; inline;
  9261. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  9262. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  9263. property CTIE : TBits_1 read getCTIE write setCTIE;
  9264. property I2C1ABIE : TBits_1 read getI2C1ABIE write setI2C1ABIE;
  9265. property I2C1AMIE : TBits_1 read getI2C1AMIE write setI2C1AMIE;
  9266. property I2C1ASIE : TBits_1 read getI2C1ASIE write setI2C1ASIE;
  9267. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  9268. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  9269. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  9270. property I2C3BIE : TBits_1 read getI2C3BIE write setI2C3BIE;
  9271. property I2C3MIE : TBits_1 read getI2C3MIE write setI2C3MIE;
  9272. property I2C3SIE : TBits_1 read getI2C3SIE write setI2C3SIE;
  9273. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  9274. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  9275. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  9276. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  9277. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  9278. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  9279. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  9280. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  9281. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  9282. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  9283. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  9284. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  9285. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  9286. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  9287. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  9288. property SPI1AEIE : TBits_1 read getSPI1AEIE write setSPI1AEIE;
  9289. property SPI1ARXIE : TBits_1 read getSPI1ARXIE write setSPI1ARXIE;
  9290. property SPI1ATXIE : TBits_1 read getSPI1ATXIE write setSPI1ATXIE;
  9291. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  9292. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  9293. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  9294. property SPI3EIE : TBits_1 read getSPI3EIE write setSPI3EIE;
  9295. property SPI3RXIE : TBits_1 read getSPI3RXIE write setSPI3RXIE;
  9296. property SPI3TXIE : TBits_1 read getSPI3TXIE write setSPI3TXIE;
  9297. property T1IE : TBits_1 read getT1IE write setT1IE;
  9298. property T2IE : TBits_1 read getT2IE write setT2IE;
  9299. property T3IE : TBits_1 read getT3IE write setT3IE;
  9300. property T4IE : TBits_1 read getT4IE write setT4IE;
  9301. property T5IE : TBits_1 read getT5IE write setT5IE;
  9302. property U1AEIE : TBits_1 read getU1AEIE write setU1AEIE;
  9303. property U1ARXIE : TBits_1 read getU1ARXIE write setU1ARXIE;
  9304. property U1ATXIE : TBits_1 read getU1ATXIE write setU1ATXIE;
  9305. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  9306. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  9307. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  9308. property w : TBits_32 read getw write setw;
  9309. end;
  9310. TINT_IEC1 = record
  9311. private
  9312. function getAD1IE : TBits_1; inline;
  9313. function getCMP1IE : TBits_1; inline;
  9314. function getCMP2IE : TBits_1; inline;
  9315. function getCNIE : TBits_1; inline;
  9316. function getDMA0IE : TBits_1; inline;
  9317. function getDMA1IE : TBits_1; inline;
  9318. function getDMA2IE : TBits_1; inline;
  9319. function getDMA3IE : TBits_1; inline;
  9320. function getETHIE : TBits_1; inline;
  9321. function getFCEIE : TBits_1; inline;
  9322. function getFSCMIE : TBits_1; inline;
  9323. function getI2C2ABIE : TBits_1; inline;
  9324. function getI2C2AMIE : TBits_1; inline;
  9325. function getI2C2ASIE : TBits_1; inline;
  9326. function getI2C2BIE : TBits_1; inline;
  9327. function getI2C2MIE : TBits_1; inline;
  9328. function getI2C2SIE : TBits_1; inline;
  9329. function getI2C3ABIE : TBits_1; inline;
  9330. function getI2C3AMIE : TBits_1; inline;
  9331. function getI2C3ASIE : TBits_1; inline;
  9332. function getI2C4BIE : TBits_1; inline;
  9333. function getI2C4MIE : TBits_1; inline;
  9334. function getI2C4SIE : TBits_1; inline;
  9335. function getI2C5BIE : TBits_1; inline;
  9336. function getI2C5MIE : TBits_1; inline;
  9337. function getI2C5SIE : TBits_1; inline;
  9338. function getIC1EIE : TBits_1; inline;
  9339. function getIC2EIE : TBits_1; inline;
  9340. function getIC3EIE : TBits_1; inline;
  9341. function getPMPIE : TBits_1; inline;
  9342. function getRTCCIE : TBits_1; inline;
  9343. function getSPI2AEIE : TBits_1; inline;
  9344. function getSPI2ARXIE : TBits_1; inline;
  9345. function getSPI2ATXIE : TBits_1; inline;
  9346. function getSPI2EIE : TBits_1; inline;
  9347. function getSPI2RXIE : TBits_1; inline;
  9348. function getSPI2TXIE : TBits_1; inline;
  9349. function getSPI3AEIE : TBits_1; inline;
  9350. function getSPI3ARXIE : TBits_1; inline;
  9351. function getSPI3ATXIE : TBits_1; inline;
  9352. function getSPI4EIE : TBits_1; inline;
  9353. function getSPI4RXIE : TBits_1; inline;
  9354. function getSPI4TXIE : TBits_1; inline;
  9355. function getU2AEIE : TBits_1; inline;
  9356. function getU2ARXIE : TBits_1; inline;
  9357. function getU2ATXIE : TBits_1; inline;
  9358. function getU2EIE : TBits_1; inline;
  9359. function getU2RXIE : TBits_1; inline;
  9360. function getU2TXIE : TBits_1; inline;
  9361. function getU3AEIE : TBits_1; inline;
  9362. function getU3ARXIE : TBits_1; inline;
  9363. function getU3ATXIE : TBits_1; inline;
  9364. function getU3EIE : TBits_1; inline;
  9365. function getU3RXIE : TBits_1; inline;
  9366. function getU3TXIE : TBits_1; inline;
  9367. function getUSBIE : TBits_1; inline;
  9368. function getw : TBits_32; inline;
  9369. procedure setAD1IE(thebits : TBits_1); inline;
  9370. procedure setCMP1IE(thebits : TBits_1); inline;
  9371. procedure setCMP2IE(thebits : TBits_1); inline;
  9372. procedure setCNIE(thebits : TBits_1); inline;
  9373. procedure setDMA0IE(thebits : TBits_1); inline;
  9374. procedure setDMA1IE(thebits : TBits_1); inline;
  9375. procedure setDMA2IE(thebits : TBits_1); inline;
  9376. procedure setDMA3IE(thebits : TBits_1); inline;
  9377. procedure setETHIE(thebits : TBits_1); inline;
  9378. procedure setFCEIE(thebits : TBits_1); inline;
  9379. procedure setFSCMIE(thebits : TBits_1); inline;
  9380. procedure setI2C2ABIE(thebits : TBits_1); inline;
  9381. procedure setI2C2AMIE(thebits : TBits_1); inline;
  9382. procedure setI2C2ASIE(thebits : TBits_1); inline;
  9383. procedure setI2C2BIE(thebits : TBits_1); inline;
  9384. procedure setI2C2MIE(thebits : TBits_1); inline;
  9385. procedure setI2C2SIE(thebits : TBits_1); inline;
  9386. procedure setI2C3ABIE(thebits : TBits_1); inline;
  9387. procedure setI2C3AMIE(thebits : TBits_1); inline;
  9388. procedure setI2C3ASIE(thebits : TBits_1); inline;
  9389. procedure setI2C4BIE(thebits : TBits_1); inline;
  9390. procedure setI2C4MIE(thebits : TBits_1); inline;
  9391. procedure setI2C4SIE(thebits : TBits_1); inline;
  9392. procedure setI2C5BIE(thebits : TBits_1); inline;
  9393. procedure setI2C5MIE(thebits : TBits_1); inline;
  9394. procedure setI2C5SIE(thebits : TBits_1); inline;
  9395. procedure setIC1EIE(thebits : TBits_1); inline;
  9396. procedure setIC2EIE(thebits : TBits_1); inline;
  9397. procedure setIC3EIE(thebits : TBits_1); inline;
  9398. procedure setPMPIE(thebits : TBits_1); inline;
  9399. procedure setRTCCIE(thebits : TBits_1); inline;
  9400. procedure setSPI2AEIE(thebits : TBits_1); inline;
  9401. procedure setSPI2ARXIE(thebits : TBits_1); inline;
  9402. procedure setSPI2ATXIE(thebits : TBits_1); inline;
  9403. procedure setSPI2EIE(thebits : TBits_1); inline;
  9404. procedure setSPI2RXIE(thebits : TBits_1); inline;
  9405. procedure setSPI2TXIE(thebits : TBits_1); inline;
  9406. procedure setSPI3AEIE(thebits : TBits_1); inline;
  9407. procedure setSPI3ARXIE(thebits : TBits_1); inline;
  9408. procedure setSPI3ATXIE(thebits : TBits_1); inline;
  9409. procedure setSPI4EIE(thebits : TBits_1); inline;
  9410. procedure setSPI4RXIE(thebits : TBits_1); inline;
  9411. procedure setSPI4TXIE(thebits : TBits_1); inline;
  9412. procedure setU2AEIE(thebits : TBits_1); inline;
  9413. procedure setU2ARXIE(thebits : TBits_1); inline;
  9414. procedure setU2ATXIE(thebits : TBits_1); inline;
  9415. procedure setU2EIE(thebits : TBits_1); inline;
  9416. procedure setU2RXIE(thebits : TBits_1); inline;
  9417. procedure setU2TXIE(thebits : TBits_1); inline;
  9418. procedure setU3AEIE(thebits : TBits_1); inline;
  9419. procedure setU3ARXIE(thebits : TBits_1); inline;
  9420. procedure setU3ATXIE(thebits : TBits_1); inline;
  9421. procedure setU3EIE(thebits : TBits_1); inline;
  9422. procedure setU3RXIE(thebits : TBits_1); inline;
  9423. procedure setU3TXIE(thebits : TBits_1); inline;
  9424. procedure setUSBIE(thebits : TBits_1); inline;
  9425. procedure setw(thebits : TBits_32); inline;
  9426. public
  9427. procedure clearAD1IE; inline;
  9428. procedure clearCMP1IE; inline;
  9429. procedure clearCMP2IE; inline;
  9430. procedure clearCNIE; inline;
  9431. procedure clearDMA0IE; inline;
  9432. procedure clearDMA1IE; inline;
  9433. procedure clearDMA2IE; inline;
  9434. procedure clearDMA3IE; inline;
  9435. procedure clearETHIE; inline;
  9436. procedure clearFCEIE; inline;
  9437. procedure clearFSCMIE; inline;
  9438. procedure clearI2C2ABIE; inline;
  9439. procedure clearI2C2AMIE; inline;
  9440. procedure clearI2C2ASIE; inline;
  9441. procedure clearI2C2BIE; inline;
  9442. procedure clearI2C2MIE; inline;
  9443. procedure clearI2C2SIE; inline;
  9444. procedure clearI2C3ABIE; inline;
  9445. procedure clearI2C3AMIE; inline;
  9446. procedure clearI2C3ASIE; inline;
  9447. procedure clearI2C4BIE; inline;
  9448. procedure clearI2C4MIE; inline;
  9449. procedure clearI2C4SIE; inline;
  9450. procedure clearI2C5BIE; inline;
  9451. procedure clearI2C5MIE; inline;
  9452. procedure clearI2C5SIE; inline;
  9453. procedure clearIC1EIE; inline;
  9454. procedure clearIC2EIE; inline;
  9455. procedure clearIC3EIE; inline;
  9456. procedure clearPMPIE; inline;
  9457. procedure clearRTCCIE; inline;
  9458. procedure clearSPI2AEIE; inline;
  9459. procedure clearSPI2ARXIE; inline;
  9460. procedure clearSPI2ATXIE; inline;
  9461. procedure clearSPI2EIE; inline;
  9462. procedure clearSPI2RXIE; inline;
  9463. procedure clearSPI2TXIE; inline;
  9464. procedure clearSPI3AEIE; inline;
  9465. procedure clearSPI3ARXIE; inline;
  9466. procedure clearSPI3ATXIE; inline;
  9467. procedure clearSPI4EIE; inline;
  9468. procedure clearSPI4RXIE; inline;
  9469. procedure clearSPI4TXIE; inline;
  9470. procedure clearU2AEIE; inline;
  9471. procedure clearU2ARXIE; inline;
  9472. procedure clearU2ATXIE; inline;
  9473. procedure clearU2EIE; inline;
  9474. procedure clearU2RXIE; inline;
  9475. procedure clearU2TXIE; inline;
  9476. procedure clearU3AEIE; inline;
  9477. procedure clearU3ARXIE; inline;
  9478. procedure clearU3ATXIE; inline;
  9479. procedure clearU3EIE; inline;
  9480. procedure clearU3RXIE; inline;
  9481. procedure clearU3TXIE; inline;
  9482. procedure clearUSBIE; inline;
  9483. procedure setAD1IE; inline;
  9484. procedure setCMP1IE; inline;
  9485. procedure setCMP2IE; inline;
  9486. procedure setCNIE; inline;
  9487. procedure setDMA0IE; inline;
  9488. procedure setDMA1IE; inline;
  9489. procedure setDMA2IE; inline;
  9490. procedure setDMA3IE; inline;
  9491. procedure setETHIE; inline;
  9492. procedure setFCEIE; inline;
  9493. procedure setFSCMIE; inline;
  9494. procedure setI2C2ABIE; inline;
  9495. procedure setI2C2AMIE; inline;
  9496. procedure setI2C2ASIE; inline;
  9497. procedure setI2C2BIE; inline;
  9498. procedure setI2C2MIE; inline;
  9499. procedure setI2C2SIE; inline;
  9500. procedure setI2C3ABIE; inline;
  9501. procedure setI2C3AMIE; inline;
  9502. procedure setI2C3ASIE; inline;
  9503. procedure setI2C4BIE; inline;
  9504. procedure setI2C4MIE; inline;
  9505. procedure setI2C4SIE; inline;
  9506. procedure setI2C5BIE; inline;
  9507. procedure setI2C5MIE; inline;
  9508. procedure setI2C5SIE; inline;
  9509. procedure setIC1EIE; inline;
  9510. procedure setIC2EIE; inline;
  9511. procedure setIC3EIE; inline;
  9512. procedure setPMPIE; inline;
  9513. procedure setRTCCIE; inline;
  9514. procedure setSPI2AEIE; inline;
  9515. procedure setSPI2ARXIE; inline;
  9516. procedure setSPI2ATXIE; inline;
  9517. procedure setSPI2EIE; inline;
  9518. procedure setSPI2RXIE; inline;
  9519. procedure setSPI2TXIE; inline;
  9520. procedure setSPI3AEIE; inline;
  9521. procedure setSPI3ARXIE; inline;
  9522. procedure setSPI3ATXIE; inline;
  9523. procedure setSPI4EIE; inline;
  9524. procedure setSPI4RXIE; inline;
  9525. procedure setSPI4TXIE; inline;
  9526. procedure setU2AEIE; inline;
  9527. procedure setU2ARXIE; inline;
  9528. procedure setU2ATXIE; inline;
  9529. procedure setU2EIE; inline;
  9530. procedure setU2RXIE; inline;
  9531. procedure setU2TXIE; inline;
  9532. procedure setU3AEIE; inline;
  9533. procedure setU3ARXIE; inline;
  9534. procedure setU3ATXIE; inline;
  9535. procedure setU3EIE; inline;
  9536. procedure setU3RXIE; inline;
  9537. procedure setU3TXIE; inline;
  9538. procedure setUSBIE; inline;
  9539. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  9540. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  9541. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  9542. property CNIE : TBits_1 read getCNIE write setCNIE;
  9543. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  9544. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  9545. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  9546. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  9547. property ETHIE : TBits_1 read getETHIE write setETHIE;
  9548. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  9549. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  9550. property I2C2ABIE : TBits_1 read getI2C2ABIE write setI2C2ABIE;
  9551. property I2C2AMIE : TBits_1 read getI2C2AMIE write setI2C2AMIE;
  9552. property I2C2ASIE : TBits_1 read getI2C2ASIE write setI2C2ASIE;
  9553. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  9554. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  9555. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  9556. property I2C3ABIE : TBits_1 read getI2C3ABIE write setI2C3ABIE;
  9557. property I2C3AMIE : TBits_1 read getI2C3AMIE write setI2C3AMIE;
  9558. property I2C3ASIE : TBits_1 read getI2C3ASIE write setI2C3ASIE;
  9559. property I2C4BIE : TBits_1 read getI2C4BIE write setI2C4BIE;
  9560. property I2C4MIE : TBits_1 read getI2C4MIE write setI2C4MIE;
  9561. property I2C4SIE : TBits_1 read getI2C4SIE write setI2C4SIE;
  9562. property I2C5BIE : TBits_1 read getI2C5BIE write setI2C5BIE;
  9563. property I2C5MIE : TBits_1 read getI2C5MIE write setI2C5MIE;
  9564. property I2C5SIE : TBits_1 read getI2C5SIE write setI2C5SIE;
  9565. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  9566. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  9567. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  9568. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  9569. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  9570. property SPI2AEIE : TBits_1 read getSPI2AEIE write setSPI2AEIE;
  9571. property SPI2ARXIE : TBits_1 read getSPI2ARXIE write setSPI2ARXIE;
  9572. property SPI2ATXIE : TBits_1 read getSPI2ATXIE write setSPI2ATXIE;
  9573. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  9574. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  9575. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  9576. property SPI3AEIE : TBits_1 read getSPI3AEIE write setSPI3AEIE;
  9577. property SPI3ARXIE : TBits_1 read getSPI3ARXIE write setSPI3ARXIE;
  9578. property SPI3ATXIE : TBits_1 read getSPI3ATXIE write setSPI3ATXIE;
  9579. property SPI4EIE : TBits_1 read getSPI4EIE write setSPI4EIE;
  9580. property SPI4RXIE : TBits_1 read getSPI4RXIE write setSPI4RXIE;
  9581. property SPI4TXIE : TBits_1 read getSPI4TXIE write setSPI4TXIE;
  9582. property U2AEIE : TBits_1 read getU2AEIE write setU2AEIE;
  9583. property U2ARXIE : TBits_1 read getU2ARXIE write setU2ARXIE;
  9584. property U2ATXIE : TBits_1 read getU2ATXIE write setU2ATXIE;
  9585. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  9586. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  9587. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  9588. property U3AEIE : TBits_1 read getU3AEIE write setU3AEIE;
  9589. property U3ARXIE : TBits_1 read getU3ARXIE write setU3ARXIE;
  9590. property U3ATXIE : TBits_1 read getU3ATXIE write setU3ATXIE;
  9591. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  9592. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  9593. property U3TXIE : TBits_1 read getU3TXIE write setU3TXIE;
  9594. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  9595. property w : TBits_32 read getw write setw;
  9596. end;
  9597. TINT_IEC2 = record
  9598. private
  9599. function getIC4EIE : TBits_1; inline;
  9600. function getIC5EIE : TBits_1; inline;
  9601. function getPMPEIE : TBits_1; inline;
  9602. function getU1BEIE : TBits_1; inline;
  9603. function getU1BRXIE : TBits_1; inline;
  9604. function getU1BTXIE : TBits_1; inline;
  9605. function getU2BEIE : TBits_1; inline;
  9606. function getU2BRXIE : TBits_1; inline;
  9607. function getU2BTXIE : TBits_1; inline;
  9608. function getU3BEIE : TBits_1; inline;
  9609. function getU3BRXIE : TBits_1; inline;
  9610. function getU3BTXIE : TBits_1; inline;
  9611. function getU4EIE : TBits_1; inline;
  9612. function getU4RXIE : TBits_1; inline;
  9613. function getU4TXIE : TBits_1; inline;
  9614. function getU5EIE : TBits_1; inline;
  9615. function getU5RXIE : TBits_1; inline;
  9616. function getU5TXIE : TBits_1; inline;
  9617. function getU6EIE : TBits_1; inline;
  9618. function getU6RXIE : TBits_1; inline;
  9619. function getU6TXIE : TBits_1; inline;
  9620. function getw : TBits_32; inline;
  9621. procedure setIC4EIE(thebits : TBits_1); inline;
  9622. procedure setIC5EIE(thebits : TBits_1); inline;
  9623. procedure setPMPEIE(thebits : TBits_1); inline;
  9624. procedure setU1BEIE(thebits : TBits_1); inline;
  9625. procedure setU1BRXIE(thebits : TBits_1); inline;
  9626. procedure setU1BTXIE(thebits : TBits_1); inline;
  9627. procedure setU2BEIE(thebits : TBits_1); inline;
  9628. procedure setU2BRXIE(thebits : TBits_1); inline;
  9629. procedure setU2BTXIE(thebits : TBits_1); inline;
  9630. procedure setU3BEIE(thebits : TBits_1); inline;
  9631. procedure setU3BRXIE(thebits : TBits_1); inline;
  9632. procedure setU3BTXIE(thebits : TBits_1); inline;
  9633. procedure setU4EIE(thebits : TBits_1); inline;
  9634. procedure setU4RXIE(thebits : TBits_1); inline;
  9635. procedure setU4TXIE(thebits : TBits_1); inline;
  9636. procedure setU5EIE(thebits : TBits_1); inline;
  9637. procedure setU5RXIE(thebits : TBits_1); inline;
  9638. procedure setU5TXIE(thebits : TBits_1); inline;
  9639. procedure setU6EIE(thebits : TBits_1); inline;
  9640. procedure setU6RXIE(thebits : TBits_1); inline;
  9641. procedure setU6TXIE(thebits : TBits_1); inline;
  9642. procedure setw(thebits : TBits_32); inline;
  9643. public
  9644. procedure clearIC4EIE; inline;
  9645. procedure clearIC5EIE; inline;
  9646. procedure clearPMPEIE; inline;
  9647. procedure clearU1BEIE; inline;
  9648. procedure clearU1BRXIE; inline;
  9649. procedure clearU1BTXIE; inline;
  9650. procedure clearU2BEIE; inline;
  9651. procedure clearU2BRXIE; inline;
  9652. procedure clearU2BTXIE; inline;
  9653. procedure clearU3BEIE; inline;
  9654. procedure clearU3BRXIE; inline;
  9655. procedure clearU3BTXIE; inline;
  9656. procedure clearU4EIE; inline;
  9657. procedure clearU4RXIE; inline;
  9658. procedure clearU4TXIE; inline;
  9659. procedure clearU5EIE; inline;
  9660. procedure clearU5RXIE; inline;
  9661. procedure clearU5TXIE; inline;
  9662. procedure clearU6EIE; inline;
  9663. procedure clearU6RXIE; inline;
  9664. procedure clearU6TXIE; inline;
  9665. procedure setIC4EIE; inline;
  9666. procedure setIC5EIE; inline;
  9667. procedure setPMPEIE; inline;
  9668. procedure setU1BEIE; inline;
  9669. procedure setU1BRXIE; inline;
  9670. procedure setU1BTXIE; inline;
  9671. procedure setU2BEIE; inline;
  9672. procedure setU2BRXIE; inline;
  9673. procedure setU2BTXIE; inline;
  9674. procedure setU3BEIE; inline;
  9675. procedure setU3BRXIE; inline;
  9676. procedure setU3BTXIE; inline;
  9677. procedure setU4EIE; inline;
  9678. procedure setU4RXIE; inline;
  9679. procedure setU4TXIE; inline;
  9680. procedure setU5EIE; inline;
  9681. procedure setU5RXIE; inline;
  9682. procedure setU5TXIE; inline;
  9683. procedure setU6EIE; inline;
  9684. procedure setU6RXIE; inline;
  9685. procedure setU6TXIE; inline;
  9686. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  9687. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  9688. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  9689. property U1BEIE : TBits_1 read getU1BEIE write setU1BEIE;
  9690. property U1BRXIE : TBits_1 read getU1BRXIE write setU1BRXIE;
  9691. property U1BTXIE : TBits_1 read getU1BTXIE write setU1BTXIE;
  9692. property U2BEIE : TBits_1 read getU2BEIE write setU2BEIE;
  9693. property U2BRXIE : TBits_1 read getU2BRXIE write setU2BRXIE;
  9694. property U2BTXIE : TBits_1 read getU2BTXIE write setU2BTXIE;
  9695. property U3BEIE : TBits_1 read getU3BEIE write setU3BEIE;
  9696. property U3BRXIE : TBits_1 read getU3BRXIE write setU3BRXIE;
  9697. property U3BTXIE : TBits_1 read getU3BTXIE write setU3BTXIE;
  9698. property U4EIE : TBits_1 read getU4EIE write setU4EIE;
  9699. property U4RXIE : TBits_1 read getU4RXIE write setU4RXIE;
  9700. property U4TXIE : TBits_1 read getU4TXIE write setU4TXIE;
  9701. property U5EIE : TBits_1 read getU5EIE write setU5EIE;
  9702. property U5RXIE : TBits_1 read getU5RXIE write setU5RXIE;
  9703. property U5TXIE : TBits_1 read getU5TXIE write setU5TXIE;
  9704. property U6EIE : TBits_1 read getU6EIE write setU6EIE;
  9705. property U6RXIE : TBits_1 read getU6RXIE write setU6RXIE;
  9706. property U6TXIE : TBits_1 read getU6TXIE write setU6TXIE;
  9707. property w : TBits_32 read getw write setw;
  9708. end;
  9709. TINT_IPC0 = record
  9710. private
  9711. function getCS0IP : TBits_3; inline;
  9712. function getCS0IS : TBits_2; inline;
  9713. function getCS1IP : TBits_3; inline;
  9714. function getCS1IS : TBits_2; inline;
  9715. function getCTIP : TBits_3; inline;
  9716. function getCTIS : TBits_2; inline;
  9717. function getINT0IP : TBits_3; inline;
  9718. function getINT0IS : TBits_2; inline;
  9719. function getw : TBits_32; inline;
  9720. procedure setCS0IP(thebits : TBits_3); inline;
  9721. procedure setCS0IS(thebits : TBits_2); inline;
  9722. procedure setCS1IP(thebits : TBits_3); inline;
  9723. procedure setCS1IS(thebits : TBits_2); inline;
  9724. procedure setCTIP(thebits : TBits_3); inline;
  9725. procedure setCTIS(thebits : TBits_2); inline;
  9726. procedure setINT0IP(thebits : TBits_3); inline;
  9727. procedure setINT0IS(thebits : TBits_2); inline;
  9728. procedure setw(thebits : TBits_32); inline;
  9729. public
  9730. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  9731. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  9732. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  9733. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  9734. property CTIP : TBits_3 read getCTIP write setCTIP;
  9735. property CTIS : TBits_2 read getCTIS write setCTIS;
  9736. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  9737. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  9738. property w : TBits_32 read getw write setw;
  9739. end;
  9740. TINT_IPC1 = record
  9741. private
  9742. function getIC1IP : TBits_3; inline;
  9743. function getIC1IS : TBits_2; inline;
  9744. function getINT1IP : TBits_3; inline;
  9745. function getINT1IS : TBits_2; inline;
  9746. function getOC1IP : TBits_3; inline;
  9747. function getOC1IS : TBits_2; inline;
  9748. function getT1IP : TBits_3; inline;
  9749. function getT1IS : TBits_2; inline;
  9750. function getw : TBits_32; inline;
  9751. procedure setIC1IP(thebits : TBits_3); inline;
  9752. procedure setIC1IS(thebits : TBits_2); inline;
  9753. procedure setINT1IP(thebits : TBits_3); inline;
  9754. procedure setINT1IS(thebits : TBits_2); inline;
  9755. procedure setOC1IP(thebits : TBits_3); inline;
  9756. procedure setOC1IS(thebits : TBits_2); inline;
  9757. procedure setT1IP(thebits : TBits_3); inline;
  9758. procedure setT1IS(thebits : TBits_2); inline;
  9759. procedure setw(thebits : TBits_32); inline;
  9760. public
  9761. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  9762. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  9763. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  9764. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  9765. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  9766. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  9767. property T1IP : TBits_3 read getT1IP write setT1IP;
  9768. property T1IS : TBits_2 read getT1IS write setT1IS;
  9769. property w : TBits_32 read getw write setw;
  9770. end;
  9771. TINT_IPC2 = record
  9772. private
  9773. function getIC2IP : TBits_3; inline;
  9774. function getIC2IS : TBits_2; inline;
  9775. function getINT2IP : TBits_3; inline;
  9776. function getINT2IS : TBits_2; inline;
  9777. function getOC2IP : TBits_3; inline;
  9778. function getOC2IS : TBits_2; inline;
  9779. function getT2IP : TBits_3; inline;
  9780. function getT2IS : TBits_2; inline;
  9781. function getw : TBits_32; inline;
  9782. procedure setIC2IP(thebits : TBits_3); inline;
  9783. procedure setIC2IS(thebits : TBits_2); inline;
  9784. procedure setINT2IP(thebits : TBits_3); inline;
  9785. procedure setINT2IS(thebits : TBits_2); inline;
  9786. procedure setOC2IP(thebits : TBits_3); inline;
  9787. procedure setOC2IS(thebits : TBits_2); inline;
  9788. procedure setT2IP(thebits : TBits_3); inline;
  9789. procedure setT2IS(thebits : TBits_2); inline;
  9790. procedure setw(thebits : TBits_32); inline;
  9791. public
  9792. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  9793. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  9794. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  9795. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  9796. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  9797. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  9798. property T2IP : TBits_3 read getT2IP write setT2IP;
  9799. property T2IS : TBits_2 read getT2IS write setT2IS;
  9800. property w : TBits_32 read getw write setw;
  9801. end;
  9802. TINT_IPC3 = record
  9803. private
  9804. function getIC3IP : TBits_3; inline;
  9805. function getIC3IS : TBits_2; inline;
  9806. function getINT3IP : TBits_3; inline;
  9807. function getINT3IS : TBits_2; inline;
  9808. function getOC3IP : TBits_3; inline;
  9809. function getOC3IS : TBits_2; inline;
  9810. function getT3IP : TBits_3; inline;
  9811. function getT3IS : TBits_2; inline;
  9812. function getw : TBits_32; inline;
  9813. procedure setIC3IP(thebits : TBits_3); inline;
  9814. procedure setIC3IS(thebits : TBits_2); inline;
  9815. procedure setINT3IP(thebits : TBits_3); inline;
  9816. procedure setINT3IS(thebits : TBits_2); inline;
  9817. procedure setOC3IP(thebits : TBits_3); inline;
  9818. procedure setOC3IS(thebits : TBits_2); inline;
  9819. procedure setT3IP(thebits : TBits_3); inline;
  9820. procedure setT3IS(thebits : TBits_2); inline;
  9821. procedure setw(thebits : TBits_32); inline;
  9822. public
  9823. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  9824. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  9825. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  9826. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  9827. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  9828. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  9829. property T3IP : TBits_3 read getT3IP write setT3IP;
  9830. property T3IS : TBits_2 read getT3IS write setT3IS;
  9831. property w : TBits_32 read getw write setw;
  9832. end;
  9833. TINT_IPC4 = record
  9834. private
  9835. function getIC4IP : TBits_3; inline;
  9836. function getIC4IS : TBits_2; inline;
  9837. function getINT4IP : TBits_3; inline;
  9838. function getINT4IS : TBits_2; inline;
  9839. function getOC4IP : TBits_3; inline;
  9840. function getOC4IS : TBits_2; inline;
  9841. function getT4IP : TBits_3; inline;
  9842. function getT4IS : TBits_2; inline;
  9843. function getw : TBits_32; inline;
  9844. procedure setIC4IP(thebits : TBits_3); inline;
  9845. procedure setIC4IS(thebits : TBits_2); inline;
  9846. procedure setINT4IP(thebits : TBits_3); inline;
  9847. procedure setINT4IS(thebits : TBits_2); inline;
  9848. procedure setOC4IP(thebits : TBits_3); inline;
  9849. procedure setOC4IS(thebits : TBits_2); inline;
  9850. procedure setT4IP(thebits : TBits_3); inline;
  9851. procedure setT4IS(thebits : TBits_2); inline;
  9852. procedure setw(thebits : TBits_32); inline;
  9853. public
  9854. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  9855. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  9856. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  9857. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  9858. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  9859. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  9860. property T4IP : TBits_3 read getT4IP write setT4IP;
  9861. property T4IS : TBits_2 read getT4IS write setT4IS;
  9862. property w : TBits_32 read getw write setw;
  9863. end;
  9864. TINT_IPC5 = record
  9865. private
  9866. function getIC5IP : TBits_3; inline;
  9867. function getIC5IS : TBits_2; inline;
  9868. function getOC5IP : TBits_3; inline;
  9869. function getOC5IS : TBits_2; inline;
  9870. function getSPI1IP : TBits_3; inline;
  9871. function getSPI1IS : TBits_2; inline;
  9872. function getT5IP : TBits_3; inline;
  9873. function getT5IS : TBits_2; inline;
  9874. function getw : TBits_32; inline;
  9875. procedure setIC5IP(thebits : TBits_3); inline;
  9876. procedure setIC5IS(thebits : TBits_2); inline;
  9877. procedure setOC5IP(thebits : TBits_3); inline;
  9878. procedure setOC5IS(thebits : TBits_2); inline;
  9879. procedure setSPI1IP(thebits : TBits_3); inline;
  9880. procedure setSPI1IS(thebits : TBits_2); inline;
  9881. procedure setT5IP(thebits : TBits_3); inline;
  9882. procedure setT5IS(thebits : TBits_2); inline;
  9883. procedure setw(thebits : TBits_32); inline;
  9884. public
  9885. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  9886. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  9887. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  9888. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  9889. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  9890. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  9891. property T5IP : TBits_3 read getT5IP write setT5IP;
  9892. property T5IS : TBits_2 read getT5IS write setT5IS;
  9893. property w : TBits_32 read getw write setw;
  9894. end;
  9895. TINT_IPC6 = record
  9896. private
  9897. function getAD1IP : TBits_3; inline;
  9898. function getAD1IS : TBits_2; inline;
  9899. function getCNIP : TBits_3; inline;
  9900. function getCNIS : TBits_2; inline;
  9901. function getI2C1AIP : TBits_3; inline;
  9902. function getI2C1AIS : TBits_2; inline;
  9903. function getI2C1IP : TBits_3; inline;
  9904. function getI2C1IS : TBits_2; inline;
  9905. function getI2C3IP : TBits_3; inline;
  9906. function getI2C3IS : TBits_2; inline;
  9907. function getSPI1AIP : TBits_3; inline;
  9908. function getSPI1AIS : TBits_2; inline;
  9909. function getSPI3IP : TBits_3; inline;
  9910. function getSPI3IS : TBits_2; inline;
  9911. function getU1AIP : TBits_3; inline;
  9912. function getU1AIS : TBits_2; inline;
  9913. function getU1IP : TBits_3; inline;
  9914. function getU1IS : TBits_2; inline;
  9915. function getw : TBits_32; inline;
  9916. procedure setAD1IP(thebits : TBits_3); inline;
  9917. procedure setAD1IS(thebits : TBits_2); inline;
  9918. procedure setCNIP(thebits : TBits_3); inline;
  9919. procedure setCNIS(thebits : TBits_2); inline;
  9920. procedure setI2C1AIP(thebits : TBits_3); inline;
  9921. procedure setI2C1AIS(thebits : TBits_2); inline;
  9922. procedure setI2C1IP(thebits : TBits_3); inline;
  9923. procedure setI2C1IS(thebits : TBits_2); inline;
  9924. procedure setI2C3IP(thebits : TBits_3); inline;
  9925. procedure setI2C3IS(thebits : TBits_2); inline;
  9926. procedure setSPI1AIP(thebits : TBits_3); inline;
  9927. procedure setSPI1AIS(thebits : TBits_2); inline;
  9928. procedure setSPI3IP(thebits : TBits_3); inline;
  9929. procedure setSPI3IS(thebits : TBits_2); inline;
  9930. procedure setU1AIP(thebits : TBits_3); inline;
  9931. procedure setU1AIS(thebits : TBits_2); inline;
  9932. procedure setU1IP(thebits : TBits_3); inline;
  9933. procedure setU1IS(thebits : TBits_2); inline;
  9934. procedure setw(thebits : TBits_32); inline;
  9935. public
  9936. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  9937. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  9938. property CNIP : TBits_3 read getCNIP write setCNIP;
  9939. property CNIS : TBits_2 read getCNIS write setCNIS;
  9940. property I2C1AIP : TBits_3 read getI2C1AIP write setI2C1AIP;
  9941. property I2C1AIS : TBits_2 read getI2C1AIS write setI2C1AIS;
  9942. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  9943. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  9944. property I2C3IP : TBits_3 read getI2C3IP write setI2C3IP;
  9945. property I2C3IS : TBits_2 read getI2C3IS write setI2C3IS;
  9946. property SPI1AIP : TBits_3 read getSPI1AIP write setSPI1AIP;
  9947. property SPI1AIS : TBits_2 read getSPI1AIS write setSPI1AIS;
  9948. property SPI3IP : TBits_3 read getSPI3IP write setSPI3IP;
  9949. property SPI3IS : TBits_2 read getSPI3IS write setSPI3IS;
  9950. property U1AIP : TBits_3 read getU1AIP write setU1AIP;
  9951. property U1AIS : TBits_2 read getU1AIS write setU1AIS;
  9952. property U1IP : TBits_3 read getU1IP write setU1IP;
  9953. property U1IS : TBits_2 read getU1IS write setU1IS;
  9954. property w : TBits_32 read getw write setw;
  9955. end;
  9956. TINT_IPC7 = record
  9957. private
  9958. function getCMP1IP : TBits_3; inline;
  9959. function getCMP1IS : TBits_2; inline;
  9960. function getCMP2IP : TBits_3; inline;
  9961. function getCMP2IS : TBits_2; inline;
  9962. function getI2C2AIP : TBits_3; inline;
  9963. function getI2C2AIS : TBits_2; inline;
  9964. function getI2C4IP : TBits_3; inline;
  9965. function getI2C4IS : TBits_2; inline;
  9966. function getPMPIP : TBits_3; inline;
  9967. function getPMPIS : TBits_2; inline;
  9968. function getSPI2AIP : TBits_3; inline;
  9969. function getSPI2AIS : TBits_2; inline;
  9970. function getSPI2IP : TBits_3; inline;
  9971. function getSPI2IS : TBits_2; inline;
  9972. function getU2AIP : TBits_3; inline;
  9973. function getU2AIS : TBits_2; inline;
  9974. function getU3IP : TBits_3; inline;
  9975. function getU3IS : TBits_2; inline;
  9976. function getw : TBits_32; inline;
  9977. procedure setCMP1IP(thebits : TBits_3); inline;
  9978. procedure setCMP1IS(thebits : TBits_2); inline;
  9979. procedure setCMP2IP(thebits : TBits_3); inline;
  9980. procedure setCMP2IS(thebits : TBits_2); inline;
  9981. procedure setI2C2AIP(thebits : TBits_3); inline;
  9982. procedure setI2C2AIS(thebits : TBits_2); inline;
  9983. procedure setI2C4IP(thebits : TBits_3); inline;
  9984. procedure setI2C4IS(thebits : TBits_2); inline;
  9985. procedure setPMPIP(thebits : TBits_3); inline;
  9986. procedure setPMPIS(thebits : TBits_2); inline;
  9987. procedure setSPI2AIP(thebits : TBits_3); inline;
  9988. procedure setSPI2AIS(thebits : TBits_2); inline;
  9989. procedure setSPI2IP(thebits : TBits_3); inline;
  9990. procedure setSPI2IS(thebits : TBits_2); inline;
  9991. procedure setU2AIP(thebits : TBits_3); inline;
  9992. procedure setU2AIS(thebits : TBits_2); inline;
  9993. procedure setU3IP(thebits : TBits_3); inline;
  9994. procedure setU3IS(thebits : TBits_2); inline;
  9995. procedure setw(thebits : TBits_32); inline;
  9996. public
  9997. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  9998. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  9999. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  10000. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  10001. property I2C2AIP : TBits_3 read getI2C2AIP write setI2C2AIP;
  10002. property I2C2AIS : TBits_2 read getI2C2AIS write setI2C2AIS;
  10003. property I2C4IP : TBits_3 read getI2C4IP write setI2C4IP;
  10004. property I2C4IS : TBits_2 read getI2C4IS write setI2C4IS;
  10005. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  10006. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  10007. property SPI2AIP : TBits_3 read getSPI2AIP write setSPI2AIP;
  10008. property SPI2AIS : TBits_2 read getSPI2AIS write setSPI2AIS;
  10009. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  10010. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  10011. property U2AIP : TBits_3 read getU2AIP write setU2AIP;
  10012. property U2AIS : TBits_2 read getU2AIS write setU2AIS;
  10013. property U3IP : TBits_3 read getU3IP write setU3IP;
  10014. property U3IS : TBits_2 read getU3IS write setU3IS;
  10015. property w : TBits_32 read getw write setw;
  10016. end;
  10017. TINT_IPC8 = record
  10018. private
  10019. function getFSCMIP : TBits_3; inline;
  10020. function getFSCMIS : TBits_2; inline;
  10021. function getI2C2IP : TBits_3; inline;
  10022. function getI2C2IS : TBits_2; inline;
  10023. function getI2C3AIP : TBits_3; inline;
  10024. function getI2C3AIS : TBits_2; inline;
  10025. function getI2C5IP : TBits_3; inline;
  10026. function getI2C5IS : TBits_2; inline;
  10027. function getRTCCIP : TBits_3; inline;
  10028. function getRTCCIS : TBits_2; inline;
  10029. function getSPI3AIP : TBits_3; inline;
  10030. function getSPI3AIS : TBits_2; inline;
  10031. function getSPI4IP : TBits_3; inline;
  10032. function getSPI4IS : TBits_2; inline;
  10033. function getU2IP : TBits_3; inline;
  10034. function getU2IS : TBits_2; inline;
  10035. function getU3AIP : TBits_3; inline;
  10036. function getU3AIS : TBits_2; inline;
  10037. function getw : TBits_32; inline;
  10038. procedure setFSCMIP(thebits : TBits_3); inline;
  10039. procedure setFSCMIS(thebits : TBits_2); inline;
  10040. procedure setI2C2IP(thebits : TBits_3); inline;
  10041. procedure setI2C2IS(thebits : TBits_2); inline;
  10042. procedure setI2C3AIP(thebits : TBits_3); inline;
  10043. procedure setI2C3AIS(thebits : TBits_2); inline;
  10044. procedure setI2C5IP(thebits : TBits_3); inline;
  10045. procedure setI2C5IS(thebits : TBits_2); inline;
  10046. procedure setRTCCIP(thebits : TBits_3); inline;
  10047. procedure setRTCCIS(thebits : TBits_2); inline;
  10048. procedure setSPI3AIP(thebits : TBits_3); inline;
  10049. procedure setSPI3AIS(thebits : TBits_2); inline;
  10050. procedure setSPI4IP(thebits : TBits_3); inline;
  10051. procedure setSPI4IS(thebits : TBits_2); inline;
  10052. procedure setU2IP(thebits : TBits_3); inline;
  10053. procedure setU2IS(thebits : TBits_2); inline;
  10054. procedure setU3AIP(thebits : TBits_3); inline;
  10055. procedure setU3AIS(thebits : TBits_2); inline;
  10056. procedure setw(thebits : TBits_32); inline;
  10057. public
  10058. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  10059. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  10060. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  10061. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  10062. property I2C3AIP : TBits_3 read getI2C3AIP write setI2C3AIP;
  10063. property I2C3AIS : TBits_2 read getI2C3AIS write setI2C3AIS;
  10064. property I2C5IP : TBits_3 read getI2C5IP write setI2C5IP;
  10065. property I2C5IS : TBits_2 read getI2C5IS write setI2C5IS;
  10066. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  10067. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  10068. property SPI3AIP : TBits_3 read getSPI3AIP write setSPI3AIP;
  10069. property SPI3AIS : TBits_2 read getSPI3AIS write setSPI3AIS;
  10070. property SPI4IP : TBits_3 read getSPI4IP write setSPI4IP;
  10071. property SPI4IS : TBits_2 read getSPI4IS write setSPI4IS;
  10072. property U2IP : TBits_3 read getU2IP write setU2IP;
  10073. property U2IS : TBits_2 read getU2IS write setU2IS;
  10074. property U3AIP : TBits_3 read getU3AIP write setU3AIP;
  10075. property U3AIS : TBits_2 read getU3AIS write setU3AIS;
  10076. property w : TBits_32 read getw write setw;
  10077. end;
  10078. TINT_IPC9 = record
  10079. private
  10080. function getDMA0IP : TBits_3; inline;
  10081. function getDMA0IS : TBits_2; inline;
  10082. function getDMA1IP : TBits_3; inline;
  10083. function getDMA1IS : TBits_2; inline;
  10084. function getDMA2IP : TBits_3; inline;
  10085. function getDMA2IS : TBits_2; inline;
  10086. function getDMA3IP : TBits_3; inline;
  10087. function getDMA3IS : TBits_2; inline;
  10088. function getw : TBits_32; inline;
  10089. procedure setDMA0IP(thebits : TBits_3); inline;
  10090. procedure setDMA0IS(thebits : TBits_2); inline;
  10091. procedure setDMA1IP(thebits : TBits_3); inline;
  10092. procedure setDMA1IS(thebits : TBits_2); inline;
  10093. procedure setDMA2IP(thebits : TBits_3); inline;
  10094. procedure setDMA2IS(thebits : TBits_2); inline;
  10095. procedure setDMA3IP(thebits : TBits_3); inline;
  10096. procedure setDMA3IS(thebits : TBits_2); inline;
  10097. procedure setw(thebits : TBits_32); inline;
  10098. public
  10099. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  10100. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  10101. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  10102. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  10103. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  10104. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  10105. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  10106. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  10107. property w : TBits_32 read getw write setw;
  10108. end;
  10109. TINT_IPC11 = record
  10110. private
  10111. function getFCEIP : TBits_3; inline;
  10112. function getFCEIS : TBits_2; inline;
  10113. function getUSBIP : TBits_3; inline;
  10114. function getUSBIS : TBits_2; inline;
  10115. function getw : TBits_32; inline;
  10116. procedure setFCEIP(thebits : TBits_3); inline;
  10117. procedure setFCEIS(thebits : TBits_2); inline;
  10118. procedure setUSBIP(thebits : TBits_3); inline;
  10119. procedure setUSBIS(thebits : TBits_2); inline;
  10120. procedure setw(thebits : TBits_32); inline;
  10121. public
  10122. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  10123. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  10124. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  10125. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  10126. property w : TBits_32 read getw write setw;
  10127. end;
  10128. TINT_IPC12 = record
  10129. private
  10130. function getETHIP : TBits_3; inline;
  10131. function getETHIS : TBits_2; inline;
  10132. function getU1BIP : TBits_3; inline;
  10133. function getU1BIS : TBits_2; inline;
  10134. function getU2BIP : TBits_3; inline;
  10135. function getU2BIS : TBits_2; inline;
  10136. function getU3BIP : TBits_3; inline;
  10137. function getU3BIS : TBits_2; inline;
  10138. function getU4IP : TBits_3; inline;
  10139. function getU4IS : TBits_2; inline;
  10140. function getU5IP : TBits_3; inline;
  10141. function getU5IS : TBits_2; inline;
  10142. function getU6IP : TBits_3; inline;
  10143. function getU6IS : TBits_2; inline;
  10144. function getw : TBits_32; inline;
  10145. procedure setETHIP(thebits : TBits_3); inline;
  10146. procedure setETHIS(thebits : TBits_2); inline;
  10147. procedure setU1BIP(thebits : TBits_3); inline;
  10148. procedure setU1BIS(thebits : TBits_2); inline;
  10149. procedure setU2BIP(thebits : TBits_3); inline;
  10150. procedure setU2BIS(thebits : TBits_2); inline;
  10151. procedure setU3BIP(thebits : TBits_3); inline;
  10152. procedure setU3BIS(thebits : TBits_2); inline;
  10153. procedure setU4IP(thebits : TBits_3); inline;
  10154. procedure setU4IS(thebits : TBits_2); inline;
  10155. procedure setU5IP(thebits : TBits_3); inline;
  10156. procedure setU5IS(thebits : TBits_2); inline;
  10157. procedure setU6IP(thebits : TBits_3); inline;
  10158. procedure setU6IS(thebits : TBits_2); inline;
  10159. procedure setw(thebits : TBits_32); inline;
  10160. public
  10161. property ETHIP : TBits_3 read getETHIP write setETHIP;
  10162. property ETHIS : TBits_2 read getETHIS write setETHIS;
  10163. property U1BIP : TBits_3 read getU1BIP write setU1BIP;
  10164. property U1BIS : TBits_2 read getU1BIS write setU1BIS;
  10165. property U2BIP : TBits_3 read getU2BIP write setU2BIP;
  10166. property U2BIS : TBits_2 read getU2BIS write setU2BIS;
  10167. property U3BIP : TBits_3 read getU3BIP write setU3BIP;
  10168. property U3BIS : TBits_2 read getU3BIS write setU3BIS;
  10169. property U4IP : TBits_3 read getU4IP write setU4IP;
  10170. property U4IS : TBits_2 read getU4IS write setU4IS;
  10171. property U5IP : TBits_3 read getU5IP write setU5IP;
  10172. property U5IS : TBits_2 read getU5IS write setU5IS;
  10173. property U6IP : TBits_3 read getU6IP write setU6IP;
  10174. property U6IS : TBits_2 read getU6IS write setU6IS;
  10175. property w : TBits_32 read getw write setw;
  10176. end;
  10177. type
  10178. TINTRegisters = record
  10179. INTCONbits : TINT_INTCON;
  10180. INTCON : longWord;
  10181. INTCONCLR : longWord;
  10182. INTCONSET : longWord;
  10183. INTCONINV : longWord;
  10184. INTSTAT : longWord;
  10185. IPTMR : longWord;
  10186. IPTMRCLR : longWord;
  10187. IPTMRSET : longWord;
  10188. IPTMRINV : longWord;
  10189. IFS0bits : TINT_IFS0;
  10190. IFS0 : longWord;
  10191. IFS0CLR : longWord;
  10192. IFS0SET : longWord;
  10193. IFS0INV : longWord;
  10194. IFS1bits : TINT_IFS1;
  10195. IFS1 : longWord;
  10196. IFS1CLR : longWord;
  10197. IFS1SET : longWord;
  10198. IFS1INV : longWord;
  10199. IFS2bits : TINT_IFS2;
  10200. IFS2 : longWord;
  10201. IFS2CLR : longWord;
  10202. IFS2SET : longWord;
  10203. IFS2INV : longWord;
  10204. IEC0bits : TINT_IEC0;
  10205. IEC0 : longWord;
  10206. IEC0CLR : longWord;
  10207. IEC0SET : longWord;
  10208. IEC0INV : longWord;
  10209. IEC1bits : TINT_IEC1;
  10210. IEC1 : longWord;
  10211. IEC1CLR : longWord;
  10212. IEC1SET : longWord;
  10213. IEC1INV : longWord;
  10214. IEC2bits : TINT_IEC2;
  10215. IEC2 : longWord;
  10216. IEC2CLR : longWord;
  10217. IEC2SET : longWord;
  10218. IEC2INV : longWord;
  10219. IPC0bits : TINT_IPC0;
  10220. IPC0 : longWord;
  10221. IPC0CLR : longWord;
  10222. IPC0SET : longWord;
  10223. IPC0INV : longWord;
  10224. IPC1bits : TINT_IPC1;
  10225. IPC1 : longWord;
  10226. IPC1CLR : longWord;
  10227. IPC1SET : longWord;
  10228. IPC1INV : longWord;
  10229. IPC2bits : TINT_IPC2;
  10230. IPC2 : longWord;
  10231. IPC2CLR : longWord;
  10232. IPC2SET : longWord;
  10233. IPC2INV : longWord;
  10234. IPC3bits : TINT_IPC3;
  10235. IPC3 : longWord;
  10236. IPC3CLR : longWord;
  10237. IPC3SET : longWord;
  10238. IPC3INV : longWord;
  10239. IPC4bits : TINT_IPC4;
  10240. IPC4 : longWord;
  10241. IPC4CLR : longWord;
  10242. IPC4SET : longWord;
  10243. IPC4INV : longWord;
  10244. IPC5bits : TINT_IPC5;
  10245. IPC5 : longWord;
  10246. IPC5CLR : longWord;
  10247. IPC5SET : longWord;
  10248. IPC5INV : longWord;
  10249. IPC6bits : TINT_IPC6;
  10250. IPC6 : longWord;
  10251. IPC6CLR : longWord;
  10252. IPC6SET : longWord;
  10253. IPC6INV : longWord;
  10254. IPC7bits : TINT_IPC7;
  10255. IPC7 : longWord;
  10256. IPC7CLR : longWord;
  10257. IPC7SET : longWord;
  10258. IPC7INV : longWord;
  10259. IPC8bits : TINT_IPC8;
  10260. IPC8 : longWord;
  10261. IPC8CLR : longWord;
  10262. IPC8SET : longWord;
  10263. IPC8INV : longWord;
  10264. IPC9bits : TINT_IPC9;
  10265. IPC9 : longWord;
  10266. IPC9CLR : longWord;
  10267. IPC9SET : longWord;
  10268. IPC9INV : longWord;
  10269. IPC10 : longWord;
  10270. IPC10CLR : longWord;
  10271. IPC10SET : longWord;
  10272. IPC10INV : longWord;
  10273. IPC11bits : TINT_IPC11;
  10274. IPC11 : longWord;
  10275. IPC11CLR : longWord;
  10276. IPC11SET : longWord;
  10277. IPC11INV : longWord;
  10278. IPC12bits : TINT_IPC12;
  10279. IPC12 : longWord;
  10280. IPC12CLR : longWord;
  10281. IPC12SET : longWord;
  10282. IPC12INV : longWord;
  10283. end;
  10284. TBMX_BMXCON = record
  10285. private
  10286. function getBMXARB : TBits_3; inline;
  10287. function getBMXCHEDMA : TBits_1; inline;
  10288. function getBMXERRDMA : TBits_1; inline;
  10289. function getBMXERRDS : TBits_1; inline;
  10290. function getBMXERRICD : TBits_1; inline;
  10291. function getBMXERRIS : TBits_1; inline;
  10292. function getBMXERRIXI : TBits_1; inline;
  10293. function getBMXWSDRM : TBits_1; inline;
  10294. function getw : TBits_32; inline;
  10295. procedure setBMXARB(thebits : TBits_3); inline;
  10296. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  10297. procedure setBMXERRDMA(thebits : TBits_1); inline;
  10298. procedure setBMXERRDS(thebits : TBits_1); inline;
  10299. procedure setBMXERRICD(thebits : TBits_1); inline;
  10300. procedure setBMXERRIS(thebits : TBits_1); inline;
  10301. procedure setBMXERRIXI(thebits : TBits_1); inline;
  10302. procedure setBMXWSDRM(thebits : TBits_1); inline;
  10303. procedure setw(thebits : TBits_32); inline;
  10304. public
  10305. procedure clearBMXCHEDMA; inline;
  10306. procedure clearBMXERRDMA; inline;
  10307. procedure clearBMXERRDS; inline;
  10308. procedure clearBMXERRICD; inline;
  10309. procedure clearBMXERRIS; inline;
  10310. procedure clearBMXERRIXI; inline;
  10311. procedure clearBMXWSDRM; inline;
  10312. procedure setBMXCHEDMA; inline;
  10313. procedure setBMXERRDMA; inline;
  10314. procedure setBMXERRDS; inline;
  10315. procedure setBMXERRICD; inline;
  10316. procedure setBMXERRIS; inline;
  10317. procedure setBMXERRIXI; inline;
  10318. procedure setBMXWSDRM; inline;
  10319. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  10320. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  10321. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  10322. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  10323. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  10324. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  10325. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  10326. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  10327. property w : TBits_32 read getw write setw;
  10328. end;
  10329. type
  10330. TBMXRegisters = record
  10331. BMXCONbits : TBMX_BMXCON;
  10332. BMXCON : longWord;
  10333. BMXCONCLR : longWord;
  10334. BMXCONSET : longWord;
  10335. BMXCONINV : longWord;
  10336. BMXDKPBA : longWord;
  10337. BMXDKPBACLR : longWord;
  10338. BMXDKPBASET : longWord;
  10339. BMXDKPBAINV : longWord;
  10340. BMXDUDBA : longWord;
  10341. BMXDUDBACLR : longWord;
  10342. BMXDUDBASET : longWord;
  10343. BMXDUDBAINV : longWord;
  10344. BMXDUPBA : longWord;
  10345. BMXDUPBACLR : longWord;
  10346. BMXDUPBASET : longWord;
  10347. BMXDUPBAINV : longWord;
  10348. BMXDRMSZ : longWord;
  10349. BMXPUPBA : longWord;
  10350. BMXPUPBACLR : longWord;
  10351. BMXPUPBASET : longWord;
  10352. BMXPUPBAINV : longWord;
  10353. BMXPFMSZ : longWord;
  10354. BMXBOOTSZ : longWord;
  10355. end;
  10356. TDMAC_DMACON = record
  10357. private
  10358. function getDMABUSY : TBits_1; inline;
  10359. function getON : TBits_1; inline;
  10360. function getSUSPEND : TBits_1; inline;
  10361. function getw : TBits_32; inline;
  10362. procedure setDMABUSY(thebits : TBits_1); inline;
  10363. procedure setON(thebits : TBits_1); inline;
  10364. procedure setSUSPEND(thebits : TBits_1); inline;
  10365. procedure setw(thebits : TBits_32); inline;
  10366. public
  10367. procedure clearDMABUSY; inline;
  10368. procedure clearON; inline;
  10369. procedure clearSUSPEND; inline;
  10370. procedure setDMABUSY; inline;
  10371. procedure setON; inline;
  10372. procedure setSUSPEND; inline;
  10373. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  10374. property ON : TBits_1 read getON write setON;
  10375. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  10376. property w : TBits_32 read getw write setw;
  10377. end;
  10378. TDMAC_DMASTAT = record
  10379. private
  10380. function getDMACH : TBits_3; inline;
  10381. function getRDWR : TBits_1; inline;
  10382. function getw : TBits_32; inline;
  10383. procedure setDMACH(thebits : TBits_3); inline;
  10384. procedure setRDWR(thebits : TBits_1); inline;
  10385. procedure setw(thebits : TBits_32); inline;
  10386. public
  10387. procedure clearRDWR; inline;
  10388. procedure setRDWR; inline;
  10389. property DMACH : TBits_3 read getDMACH write setDMACH;
  10390. property RDWR : TBits_1 read getRDWR write setRDWR;
  10391. property w : TBits_32 read getw write setw;
  10392. end;
  10393. TDMAC_DCRCCON = record
  10394. private
  10395. function getBITO : TBits_1; inline;
  10396. function getBYTO : TBits_2; inline;
  10397. function getCRCAPP : TBits_1; inline;
  10398. function getCRCCH : TBits_3; inline;
  10399. function getCRCEN : TBits_1; inline;
  10400. function getCRCTYP : TBits_1; inline;
  10401. function getPLEN : TBits_5; inline;
  10402. function getWBO : TBits_1; inline;
  10403. function getw : TBits_32; inline;
  10404. procedure setBITO(thebits : TBits_1); inline;
  10405. procedure setBYTO(thebits : TBits_2); inline;
  10406. procedure setCRCAPP(thebits : TBits_1); inline;
  10407. procedure setCRCCH(thebits : TBits_3); inline;
  10408. procedure setCRCEN(thebits : TBits_1); inline;
  10409. procedure setCRCTYP(thebits : TBits_1); inline;
  10410. procedure setPLEN(thebits : TBits_5); inline;
  10411. procedure setWBO(thebits : TBits_1); inline;
  10412. procedure setw(thebits : TBits_32); inline;
  10413. public
  10414. procedure clearBITO; inline;
  10415. procedure clearCRCAPP; inline;
  10416. procedure clearCRCEN; inline;
  10417. procedure clearCRCTYP; inline;
  10418. procedure clearWBO; inline;
  10419. procedure setBITO; inline;
  10420. procedure setCRCAPP; inline;
  10421. procedure setCRCEN; inline;
  10422. procedure setCRCTYP; inline;
  10423. procedure setWBO; inline;
  10424. property BITO : TBits_1 read getBITO write setBITO;
  10425. property BYTO : TBits_2 read getBYTO write setBYTO;
  10426. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  10427. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  10428. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  10429. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  10430. property PLEN : TBits_5 read getPLEN write setPLEN;
  10431. property WBO : TBits_1 read getWBO write setWBO;
  10432. property w : TBits_32 read getw write setw;
  10433. end;
  10434. type
  10435. TDMACRegisters = record
  10436. DMACONbits : TDMAC_DMACON;
  10437. DMACON : longWord;
  10438. DMACONCLR : longWord;
  10439. DMACONSET : longWord;
  10440. DMACONINV : longWord;
  10441. DMASTATbits : TDMAC_DMASTAT;
  10442. DMASTAT : longWord;
  10443. DMASTATCLR : longWord;
  10444. DMASTATSET : longWord;
  10445. DMASTATINV : longWord;
  10446. DMAADDR : longWord;
  10447. DMAADDRCLR : longWord;
  10448. DMAADDRSET : longWord;
  10449. DMAADDRINV : longWord;
  10450. DCRCCONbits : TDMAC_DCRCCON;
  10451. DCRCCON : longWord;
  10452. DCRCCONCLR : longWord;
  10453. DCRCCONSET : longWord;
  10454. DCRCCONINV : longWord;
  10455. DCRCDATA : longWord;
  10456. DCRCDATACLR : longWord;
  10457. DCRCDATASET : longWord;
  10458. DCRCDATAINV : longWord;
  10459. DCRCXOR : longWord;
  10460. DCRCXORCLR : longWord;
  10461. DCRCXORSET : longWord;
  10462. DCRCXORINV : longWord;
  10463. end;
  10464. TDMAC0_DCH0CON = record
  10465. private
  10466. function getCHAED : TBits_1; inline;
  10467. function getCHAEN : TBits_1; inline;
  10468. function getCHBUSY : TBits_1; inline;
  10469. function getCHCHN : TBits_1; inline;
  10470. function getCHCHNS : TBits_1; inline;
  10471. function getCHEDET : TBits_1; inline;
  10472. function getCHEN : TBits_1; inline;
  10473. function getCHPRI : TBits_2; inline;
  10474. function getw : TBits_32; inline;
  10475. procedure setCHAED(thebits : TBits_1); inline;
  10476. procedure setCHAEN(thebits : TBits_1); inline;
  10477. procedure setCHBUSY(thebits : TBits_1); inline;
  10478. procedure setCHCHN(thebits : TBits_1); inline;
  10479. procedure setCHCHNS(thebits : TBits_1); inline;
  10480. procedure setCHEDET(thebits : TBits_1); inline;
  10481. procedure setCHEN(thebits : TBits_1); inline;
  10482. procedure setCHPRI(thebits : TBits_2); inline;
  10483. procedure setw(thebits : TBits_32); inline;
  10484. public
  10485. procedure clearCHAED; inline;
  10486. procedure clearCHAEN; inline;
  10487. procedure clearCHBUSY; inline;
  10488. procedure clearCHCHN; inline;
  10489. procedure clearCHCHNS; inline;
  10490. procedure clearCHEDET; inline;
  10491. procedure clearCHEN; inline;
  10492. procedure setCHAED; inline;
  10493. procedure setCHAEN; inline;
  10494. procedure setCHBUSY; inline;
  10495. procedure setCHCHN; inline;
  10496. procedure setCHCHNS; inline;
  10497. procedure setCHEDET; inline;
  10498. procedure setCHEN; inline;
  10499. property CHAED : TBits_1 read getCHAED write setCHAED;
  10500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10505. property CHEN : TBits_1 read getCHEN write setCHEN;
  10506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10507. property w : TBits_32 read getw write setw;
  10508. end;
  10509. TDMAC0_DCH0ECON = record
  10510. private
  10511. function getAIRQEN : TBits_1; inline;
  10512. function getCABORT : TBits_1; inline;
  10513. function getCFORCE : TBits_1; inline;
  10514. function getCHAIRQ : TBits_8; inline;
  10515. function getCHSIRQ : TBits_8; inline;
  10516. function getPATEN : TBits_1; inline;
  10517. function getSIRQEN : TBits_1; inline;
  10518. function getw : TBits_32; inline;
  10519. procedure setAIRQEN(thebits : TBits_1); inline;
  10520. procedure setCABORT(thebits : TBits_1); inline;
  10521. procedure setCFORCE(thebits : TBits_1); inline;
  10522. procedure setCHAIRQ(thebits : TBits_8); inline;
  10523. procedure setCHSIRQ(thebits : TBits_8); inline;
  10524. procedure setPATEN(thebits : TBits_1); inline;
  10525. procedure setSIRQEN(thebits : TBits_1); inline;
  10526. procedure setw(thebits : TBits_32); inline;
  10527. public
  10528. procedure clearAIRQEN; inline;
  10529. procedure clearCABORT; inline;
  10530. procedure clearCFORCE; inline;
  10531. procedure clearPATEN; inline;
  10532. procedure clearSIRQEN; inline;
  10533. procedure setAIRQEN; inline;
  10534. procedure setCABORT; inline;
  10535. procedure setCFORCE; inline;
  10536. procedure setPATEN; inline;
  10537. procedure setSIRQEN; inline;
  10538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10539. property CABORT : TBits_1 read getCABORT write setCABORT;
  10540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10543. property PATEN : TBits_1 read getPATEN write setPATEN;
  10544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10545. property w : TBits_32 read getw write setw;
  10546. end;
  10547. TDMAC0_DCH0INT = record
  10548. private
  10549. function getCHBCIE : TBits_1; inline;
  10550. function getCHBCIF : TBits_1; inline;
  10551. function getCHCCIE : TBits_1; inline;
  10552. function getCHCCIF : TBits_1; inline;
  10553. function getCHDDIE : TBits_1; inline;
  10554. function getCHDDIF : TBits_1; inline;
  10555. function getCHDHIE : TBits_1; inline;
  10556. function getCHDHIF : TBits_1; inline;
  10557. function getCHERIE : TBits_1; inline;
  10558. function getCHERIF : TBits_1; inline;
  10559. function getCHSDIE : TBits_1; inline;
  10560. function getCHSDIF : TBits_1; inline;
  10561. function getCHSHIE : TBits_1; inline;
  10562. function getCHSHIF : TBits_1; inline;
  10563. function getCHTAIE : TBits_1; inline;
  10564. function getCHTAIF : TBits_1; inline;
  10565. function getw : TBits_32; inline;
  10566. procedure setCHBCIE(thebits : TBits_1); inline;
  10567. procedure setCHBCIF(thebits : TBits_1); inline;
  10568. procedure setCHCCIE(thebits : TBits_1); inline;
  10569. procedure setCHCCIF(thebits : TBits_1); inline;
  10570. procedure setCHDDIE(thebits : TBits_1); inline;
  10571. procedure setCHDDIF(thebits : TBits_1); inline;
  10572. procedure setCHDHIE(thebits : TBits_1); inline;
  10573. procedure setCHDHIF(thebits : TBits_1); inline;
  10574. procedure setCHERIE(thebits : TBits_1); inline;
  10575. procedure setCHERIF(thebits : TBits_1); inline;
  10576. procedure setCHSDIE(thebits : TBits_1); inline;
  10577. procedure setCHSDIF(thebits : TBits_1); inline;
  10578. procedure setCHSHIE(thebits : TBits_1); inline;
  10579. procedure setCHSHIF(thebits : TBits_1); inline;
  10580. procedure setCHTAIE(thebits : TBits_1); inline;
  10581. procedure setCHTAIF(thebits : TBits_1); inline;
  10582. procedure setw(thebits : TBits_32); inline;
  10583. public
  10584. procedure clearCHBCIE; inline;
  10585. procedure clearCHBCIF; inline;
  10586. procedure clearCHCCIE; inline;
  10587. procedure clearCHCCIF; inline;
  10588. procedure clearCHDDIE; inline;
  10589. procedure clearCHDDIF; inline;
  10590. procedure clearCHDHIE; inline;
  10591. procedure clearCHDHIF; inline;
  10592. procedure clearCHERIE; inline;
  10593. procedure clearCHERIF; inline;
  10594. procedure clearCHSDIE; inline;
  10595. procedure clearCHSDIF; inline;
  10596. procedure clearCHSHIE; inline;
  10597. procedure clearCHSHIF; inline;
  10598. procedure clearCHTAIE; inline;
  10599. procedure clearCHTAIF; inline;
  10600. procedure setCHBCIE; inline;
  10601. procedure setCHBCIF; inline;
  10602. procedure setCHCCIE; inline;
  10603. procedure setCHCCIF; inline;
  10604. procedure setCHDDIE; inline;
  10605. procedure setCHDDIF; inline;
  10606. procedure setCHDHIE; inline;
  10607. procedure setCHDHIF; inline;
  10608. procedure setCHERIE; inline;
  10609. procedure setCHERIF; inline;
  10610. procedure setCHSDIE; inline;
  10611. procedure setCHSDIF; inline;
  10612. procedure setCHSHIE; inline;
  10613. procedure setCHSHIF; inline;
  10614. procedure setCHTAIE; inline;
  10615. procedure setCHTAIF; inline;
  10616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10632. property w : TBits_32 read getw write setw;
  10633. end;
  10634. type
  10635. TDMAC0Registers = record
  10636. DCH0CONbits : TDMAC0_DCH0CON;
  10637. DCH0CON : longWord;
  10638. DCH0CONCLR : longWord;
  10639. DCH0CONSET : longWord;
  10640. DCH0CONINV : longWord;
  10641. DCH0ECONbits : TDMAC0_DCH0ECON;
  10642. DCH0ECON : longWord;
  10643. DCH0ECONCLR : longWord;
  10644. DCH0ECONSET : longWord;
  10645. DCH0ECONINV : longWord;
  10646. DCH0INTbits : TDMAC0_DCH0INT;
  10647. DCH0INT : longWord;
  10648. DCH0INTCLR : longWord;
  10649. DCH0INTSET : longWord;
  10650. DCH0INTINV : longWord;
  10651. DCH0SSA : longWord;
  10652. DCH0SSACLR : longWord;
  10653. DCH0SSASET : longWord;
  10654. DCH0SSAINV : longWord;
  10655. DCH0DSA : longWord;
  10656. DCH0DSACLR : longWord;
  10657. DCH0DSASET : longWord;
  10658. DCH0DSAINV : longWord;
  10659. DCH0SSIZ : longWord;
  10660. DCH0SSIZCLR : longWord;
  10661. DCH0SSIZSET : longWord;
  10662. DCH0SSIZINV : longWord;
  10663. DCH0DSIZ : longWord;
  10664. DCH0DSIZCLR : longWord;
  10665. DCH0DSIZSET : longWord;
  10666. DCH0DSIZINV : longWord;
  10667. DCH0SPTR : longWord;
  10668. DCH0SPTRCLR : longWord;
  10669. DCH0SPTRSET : longWord;
  10670. DCH0SPTRINV : longWord;
  10671. DCH0DPTR : longWord;
  10672. DCH0DPTRCLR : longWord;
  10673. DCH0DPTRSET : longWord;
  10674. DCH0DPTRINV : longWord;
  10675. DCH0CSIZ : longWord;
  10676. DCH0CSIZCLR : longWord;
  10677. DCH0CSIZSET : longWord;
  10678. DCH0CSIZINV : longWord;
  10679. DCH0CPTR : longWord;
  10680. DCH0CPTRCLR : longWord;
  10681. DCH0CPTRSET : longWord;
  10682. DCH0CPTRINV : longWord;
  10683. DCH0DAT : longWord;
  10684. DCH0DATCLR : longWord;
  10685. DCH0DATSET : longWord;
  10686. DCH0DATINV : longWord;
  10687. end;
  10688. TDMAC1_DCH1CON = record
  10689. private
  10690. function getCHAED : TBits_1; inline;
  10691. function getCHAEN : TBits_1; inline;
  10692. function getCHBUSY : TBits_1; inline;
  10693. function getCHCHN : TBits_1; inline;
  10694. function getCHCHNS : TBits_1; inline;
  10695. function getCHEDET : TBits_1; inline;
  10696. function getCHEN : TBits_1; inline;
  10697. function getCHPRI : TBits_2; inline;
  10698. function getw : TBits_32; inline;
  10699. procedure setCHAED(thebits : TBits_1); inline;
  10700. procedure setCHAEN(thebits : TBits_1); inline;
  10701. procedure setCHBUSY(thebits : TBits_1); inline;
  10702. procedure setCHCHN(thebits : TBits_1); inline;
  10703. procedure setCHCHNS(thebits : TBits_1); inline;
  10704. procedure setCHEDET(thebits : TBits_1); inline;
  10705. procedure setCHEN(thebits : TBits_1); inline;
  10706. procedure setCHPRI(thebits : TBits_2); inline;
  10707. procedure setw(thebits : TBits_32); inline;
  10708. public
  10709. procedure clearCHAED; inline;
  10710. procedure clearCHAEN; inline;
  10711. procedure clearCHBUSY; inline;
  10712. procedure clearCHCHN; inline;
  10713. procedure clearCHCHNS; inline;
  10714. procedure clearCHEDET; inline;
  10715. procedure clearCHEN; inline;
  10716. procedure setCHAED; inline;
  10717. procedure setCHAEN; inline;
  10718. procedure setCHBUSY; inline;
  10719. procedure setCHCHN; inline;
  10720. procedure setCHCHNS; inline;
  10721. procedure setCHEDET; inline;
  10722. procedure setCHEN; inline;
  10723. property CHAED : TBits_1 read getCHAED write setCHAED;
  10724. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10725. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10726. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10727. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10728. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10729. property CHEN : TBits_1 read getCHEN write setCHEN;
  10730. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10731. property w : TBits_32 read getw write setw;
  10732. end;
  10733. TDMAC1_DCH1ECON = record
  10734. private
  10735. function getAIRQEN : TBits_1; inline;
  10736. function getCABORT : TBits_1; inline;
  10737. function getCFORCE : TBits_1; inline;
  10738. function getCHAIRQ : TBits_8; inline;
  10739. function getCHSIRQ : TBits_8; inline;
  10740. function getPATEN : TBits_1; inline;
  10741. function getSIRQEN : TBits_1; inline;
  10742. function getw : TBits_32; inline;
  10743. procedure setAIRQEN(thebits : TBits_1); inline;
  10744. procedure setCABORT(thebits : TBits_1); inline;
  10745. procedure setCFORCE(thebits : TBits_1); inline;
  10746. procedure setCHAIRQ(thebits : TBits_8); inline;
  10747. procedure setCHSIRQ(thebits : TBits_8); inline;
  10748. procedure setPATEN(thebits : TBits_1); inline;
  10749. procedure setSIRQEN(thebits : TBits_1); inline;
  10750. procedure setw(thebits : TBits_32); inline;
  10751. public
  10752. procedure clearAIRQEN; inline;
  10753. procedure clearCABORT; inline;
  10754. procedure clearCFORCE; inline;
  10755. procedure clearPATEN; inline;
  10756. procedure clearSIRQEN; inline;
  10757. procedure setAIRQEN; inline;
  10758. procedure setCABORT; inline;
  10759. procedure setCFORCE; inline;
  10760. procedure setPATEN; inline;
  10761. procedure setSIRQEN; inline;
  10762. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10763. property CABORT : TBits_1 read getCABORT write setCABORT;
  10764. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10765. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10766. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10767. property PATEN : TBits_1 read getPATEN write setPATEN;
  10768. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10769. property w : TBits_32 read getw write setw;
  10770. end;
  10771. TDMAC1_DCH1INT = record
  10772. private
  10773. function getCHBCIE : TBits_1; inline;
  10774. function getCHBCIF : TBits_1; inline;
  10775. function getCHCCIE : TBits_1; inline;
  10776. function getCHCCIF : TBits_1; inline;
  10777. function getCHDDIE : TBits_1; inline;
  10778. function getCHDDIF : TBits_1; inline;
  10779. function getCHDHIE : TBits_1; inline;
  10780. function getCHDHIF : TBits_1; inline;
  10781. function getCHERIE : TBits_1; inline;
  10782. function getCHERIF : TBits_1; inline;
  10783. function getCHSDIE : TBits_1; inline;
  10784. function getCHSDIF : TBits_1; inline;
  10785. function getCHSHIE : TBits_1; inline;
  10786. function getCHSHIF : TBits_1; inline;
  10787. function getCHTAIE : TBits_1; inline;
  10788. function getCHTAIF : TBits_1; inline;
  10789. function getw : TBits_32; inline;
  10790. procedure setCHBCIE(thebits : TBits_1); inline;
  10791. procedure setCHBCIF(thebits : TBits_1); inline;
  10792. procedure setCHCCIE(thebits : TBits_1); inline;
  10793. procedure setCHCCIF(thebits : TBits_1); inline;
  10794. procedure setCHDDIE(thebits : TBits_1); inline;
  10795. procedure setCHDDIF(thebits : TBits_1); inline;
  10796. procedure setCHDHIE(thebits : TBits_1); inline;
  10797. procedure setCHDHIF(thebits : TBits_1); inline;
  10798. procedure setCHERIE(thebits : TBits_1); inline;
  10799. procedure setCHERIF(thebits : TBits_1); inline;
  10800. procedure setCHSDIE(thebits : TBits_1); inline;
  10801. procedure setCHSDIF(thebits : TBits_1); inline;
  10802. procedure setCHSHIE(thebits : TBits_1); inline;
  10803. procedure setCHSHIF(thebits : TBits_1); inline;
  10804. procedure setCHTAIE(thebits : TBits_1); inline;
  10805. procedure setCHTAIF(thebits : TBits_1); inline;
  10806. procedure setw(thebits : TBits_32); inline;
  10807. public
  10808. procedure clearCHBCIE; inline;
  10809. procedure clearCHBCIF; inline;
  10810. procedure clearCHCCIE; inline;
  10811. procedure clearCHCCIF; inline;
  10812. procedure clearCHDDIE; inline;
  10813. procedure clearCHDDIF; inline;
  10814. procedure clearCHDHIE; inline;
  10815. procedure clearCHDHIF; inline;
  10816. procedure clearCHERIE; inline;
  10817. procedure clearCHERIF; inline;
  10818. procedure clearCHSDIE; inline;
  10819. procedure clearCHSDIF; inline;
  10820. procedure clearCHSHIE; inline;
  10821. procedure clearCHSHIF; inline;
  10822. procedure clearCHTAIE; inline;
  10823. procedure clearCHTAIF; inline;
  10824. procedure setCHBCIE; inline;
  10825. procedure setCHBCIF; inline;
  10826. procedure setCHCCIE; inline;
  10827. procedure setCHCCIF; inline;
  10828. procedure setCHDDIE; inline;
  10829. procedure setCHDDIF; inline;
  10830. procedure setCHDHIE; inline;
  10831. procedure setCHDHIF; inline;
  10832. procedure setCHERIE; inline;
  10833. procedure setCHERIF; inline;
  10834. procedure setCHSDIE; inline;
  10835. procedure setCHSDIF; inline;
  10836. procedure setCHSHIE; inline;
  10837. procedure setCHSHIF; inline;
  10838. procedure setCHTAIE; inline;
  10839. procedure setCHTAIF; inline;
  10840. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10841. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10842. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10843. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10844. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10845. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10846. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10847. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10848. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10849. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10850. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10851. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10852. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10853. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10854. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10855. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10856. property w : TBits_32 read getw write setw;
  10857. end;
  10858. type
  10859. TDMAC1Registers = record
  10860. DCH1CONbits : TDMAC1_DCH1CON;
  10861. DCH1CON : longWord;
  10862. DCH1CONCLR : longWord;
  10863. DCH1CONSET : longWord;
  10864. DCH1CONINV : longWord;
  10865. DCH1ECONbits : TDMAC1_DCH1ECON;
  10866. DCH1ECON : longWord;
  10867. DCH1ECONCLR : longWord;
  10868. DCH1ECONSET : longWord;
  10869. DCH1ECONINV : longWord;
  10870. DCH1INTbits : TDMAC1_DCH1INT;
  10871. DCH1INT : longWord;
  10872. DCH1INTCLR : longWord;
  10873. DCH1INTSET : longWord;
  10874. DCH1INTINV : longWord;
  10875. DCH1SSA : longWord;
  10876. DCH1SSACLR : longWord;
  10877. DCH1SSASET : longWord;
  10878. DCH1SSAINV : longWord;
  10879. DCH1DSA : longWord;
  10880. DCH1DSACLR : longWord;
  10881. DCH1DSASET : longWord;
  10882. DCH1DSAINV : longWord;
  10883. DCH1SSIZ : longWord;
  10884. DCH1SSIZCLR : longWord;
  10885. DCH1SSIZSET : longWord;
  10886. DCH1SSIZINV : longWord;
  10887. DCH1DSIZ : longWord;
  10888. DCH1DSIZCLR : longWord;
  10889. DCH1DSIZSET : longWord;
  10890. DCH1DSIZINV : longWord;
  10891. DCH1SPTR : longWord;
  10892. DCH1SPTRCLR : longWord;
  10893. DCH1SPTRSET : longWord;
  10894. DCH1SPTRINV : longWord;
  10895. DCH1DPTR : longWord;
  10896. DCH1DPTRCLR : longWord;
  10897. DCH1DPTRSET : longWord;
  10898. DCH1DPTRINV : longWord;
  10899. DCH1CSIZ : longWord;
  10900. DCH1CSIZCLR : longWord;
  10901. DCH1CSIZSET : longWord;
  10902. DCH1CSIZINV : longWord;
  10903. DCH1CPTR : longWord;
  10904. DCH1CPTRCLR : longWord;
  10905. DCH1CPTRSET : longWord;
  10906. DCH1CPTRINV : longWord;
  10907. DCH1DAT : longWord;
  10908. DCH1DATCLR : longWord;
  10909. DCH1DATSET : longWord;
  10910. DCH1DATINV : longWord;
  10911. end;
  10912. TDMAC2_DCH2CON = record
  10913. private
  10914. function getCHAED : TBits_1; inline;
  10915. function getCHAEN : TBits_1; inline;
  10916. function getCHBUSY : TBits_1; inline;
  10917. function getCHCHN : TBits_1; inline;
  10918. function getCHCHNS : TBits_1; inline;
  10919. function getCHEDET : TBits_1; inline;
  10920. function getCHEN : TBits_1; inline;
  10921. function getCHPRI : TBits_2; inline;
  10922. function getw : TBits_32; inline;
  10923. procedure setCHAED(thebits : TBits_1); inline;
  10924. procedure setCHAEN(thebits : TBits_1); inline;
  10925. procedure setCHBUSY(thebits : TBits_1); inline;
  10926. procedure setCHCHN(thebits : TBits_1); inline;
  10927. procedure setCHCHNS(thebits : TBits_1); inline;
  10928. procedure setCHEDET(thebits : TBits_1); inline;
  10929. procedure setCHEN(thebits : TBits_1); inline;
  10930. procedure setCHPRI(thebits : TBits_2); inline;
  10931. procedure setw(thebits : TBits_32); inline;
  10932. public
  10933. procedure clearCHAED; inline;
  10934. procedure clearCHAEN; inline;
  10935. procedure clearCHBUSY; inline;
  10936. procedure clearCHCHN; inline;
  10937. procedure clearCHCHNS; inline;
  10938. procedure clearCHEDET; inline;
  10939. procedure clearCHEN; inline;
  10940. procedure setCHAED; inline;
  10941. procedure setCHAEN; inline;
  10942. procedure setCHBUSY; inline;
  10943. procedure setCHCHN; inline;
  10944. procedure setCHCHNS; inline;
  10945. procedure setCHEDET; inline;
  10946. procedure setCHEN; inline;
  10947. property CHAED : TBits_1 read getCHAED write setCHAED;
  10948. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10949. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10950. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10951. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10952. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10953. property CHEN : TBits_1 read getCHEN write setCHEN;
  10954. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10955. property w : TBits_32 read getw write setw;
  10956. end;
  10957. TDMAC2_DCH2ECON = record
  10958. private
  10959. function getAIRQEN : TBits_1; inline;
  10960. function getCABORT : TBits_1; inline;
  10961. function getCFORCE : TBits_1; inline;
  10962. function getCHAIRQ : TBits_8; inline;
  10963. function getCHSIRQ : TBits_8; inline;
  10964. function getPATEN : TBits_1; inline;
  10965. function getSIRQEN : TBits_1; inline;
  10966. function getw : TBits_32; inline;
  10967. procedure setAIRQEN(thebits : TBits_1); inline;
  10968. procedure setCABORT(thebits : TBits_1); inline;
  10969. procedure setCFORCE(thebits : TBits_1); inline;
  10970. procedure setCHAIRQ(thebits : TBits_8); inline;
  10971. procedure setCHSIRQ(thebits : TBits_8); inline;
  10972. procedure setPATEN(thebits : TBits_1); inline;
  10973. procedure setSIRQEN(thebits : TBits_1); inline;
  10974. procedure setw(thebits : TBits_32); inline;
  10975. public
  10976. procedure clearAIRQEN; inline;
  10977. procedure clearCABORT; inline;
  10978. procedure clearCFORCE; inline;
  10979. procedure clearPATEN; inline;
  10980. procedure clearSIRQEN; inline;
  10981. procedure setAIRQEN; inline;
  10982. procedure setCABORT; inline;
  10983. procedure setCFORCE; inline;
  10984. procedure setPATEN; inline;
  10985. procedure setSIRQEN; inline;
  10986. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10987. property CABORT : TBits_1 read getCABORT write setCABORT;
  10988. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10989. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10990. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10991. property PATEN : TBits_1 read getPATEN write setPATEN;
  10992. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10993. property w : TBits_32 read getw write setw;
  10994. end;
  10995. TDMAC2_DCH2INT = record
  10996. private
  10997. function getCHBCIE : TBits_1; inline;
  10998. function getCHBCIF : TBits_1; inline;
  10999. function getCHCCIE : TBits_1; inline;
  11000. function getCHCCIF : TBits_1; inline;
  11001. function getCHDDIE : TBits_1; inline;
  11002. function getCHDDIF : TBits_1; inline;
  11003. function getCHDHIE : TBits_1; inline;
  11004. function getCHDHIF : TBits_1; inline;
  11005. function getCHERIE : TBits_1; inline;
  11006. function getCHERIF : TBits_1; inline;
  11007. function getCHSDIE : TBits_1; inline;
  11008. function getCHSDIF : TBits_1; inline;
  11009. function getCHSHIE : TBits_1; inline;
  11010. function getCHSHIF : TBits_1; inline;
  11011. function getCHTAIE : TBits_1; inline;
  11012. function getCHTAIF : TBits_1; inline;
  11013. function getw : TBits_32; inline;
  11014. procedure setCHBCIE(thebits : TBits_1); inline;
  11015. procedure setCHBCIF(thebits : TBits_1); inline;
  11016. procedure setCHCCIE(thebits : TBits_1); inline;
  11017. procedure setCHCCIF(thebits : TBits_1); inline;
  11018. procedure setCHDDIE(thebits : TBits_1); inline;
  11019. procedure setCHDDIF(thebits : TBits_1); inline;
  11020. procedure setCHDHIE(thebits : TBits_1); inline;
  11021. procedure setCHDHIF(thebits : TBits_1); inline;
  11022. procedure setCHERIE(thebits : TBits_1); inline;
  11023. procedure setCHERIF(thebits : TBits_1); inline;
  11024. procedure setCHSDIE(thebits : TBits_1); inline;
  11025. procedure setCHSDIF(thebits : TBits_1); inline;
  11026. procedure setCHSHIE(thebits : TBits_1); inline;
  11027. procedure setCHSHIF(thebits : TBits_1); inline;
  11028. procedure setCHTAIE(thebits : TBits_1); inline;
  11029. procedure setCHTAIF(thebits : TBits_1); inline;
  11030. procedure setw(thebits : TBits_32); inline;
  11031. public
  11032. procedure clearCHBCIE; inline;
  11033. procedure clearCHBCIF; inline;
  11034. procedure clearCHCCIE; inline;
  11035. procedure clearCHCCIF; inline;
  11036. procedure clearCHDDIE; inline;
  11037. procedure clearCHDDIF; inline;
  11038. procedure clearCHDHIE; inline;
  11039. procedure clearCHDHIF; inline;
  11040. procedure clearCHERIE; inline;
  11041. procedure clearCHERIF; inline;
  11042. procedure clearCHSDIE; inline;
  11043. procedure clearCHSDIF; inline;
  11044. procedure clearCHSHIE; inline;
  11045. procedure clearCHSHIF; inline;
  11046. procedure clearCHTAIE; inline;
  11047. procedure clearCHTAIF; inline;
  11048. procedure setCHBCIE; inline;
  11049. procedure setCHBCIF; inline;
  11050. procedure setCHCCIE; inline;
  11051. procedure setCHCCIF; inline;
  11052. procedure setCHDDIE; inline;
  11053. procedure setCHDDIF; inline;
  11054. procedure setCHDHIE; inline;
  11055. procedure setCHDHIF; inline;
  11056. procedure setCHERIE; inline;
  11057. procedure setCHERIF; inline;
  11058. procedure setCHSDIE; inline;
  11059. procedure setCHSDIF; inline;
  11060. procedure setCHSHIE; inline;
  11061. procedure setCHSHIF; inline;
  11062. procedure setCHTAIE; inline;
  11063. procedure setCHTAIF; inline;
  11064. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11065. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11066. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11067. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11068. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11069. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11070. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11071. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11072. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11073. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11074. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11075. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11076. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11077. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11078. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11079. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11080. property w : TBits_32 read getw write setw;
  11081. end;
  11082. type
  11083. TDMAC2Registers = record
  11084. DCH2CONbits : TDMAC2_DCH2CON;
  11085. DCH2CON : longWord;
  11086. DCH2CONCLR : longWord;
  11087. DCH2CONSET : longWord;
  11088. DCH2CONINV : longWord;
  11089. DCH2ECONbits : TDMAC2_DCH2ECON;
  11090. DCH2ECON : longWord;
  11091. DCH2ECONCLR : longWord;
  11092. DCH2ECONSET : longWord;
  11093. DCH2ECONINV : longWord;
  11094. DCH2INTbits : TDMAC2_DCH2INT;
  11095. DCH2INT : longWord;
  11096. DCH2INTCLR : longWord;
  11097. DCH2INTSET : longWord;
  11098. DCH2INTINV : longWord;
  11099. DCH2SSA : longWord;
  11100. DCH2SSACLR : longWord;
  11101. DCH2SSASET : longWord;
  11102. DCH2SSAINV : longWord;
  11103. DCH2DSA : longWord;
  11104. DCH2DSACLR : longWord;
  11105. DCH2DSASET : longWord;
  11106. DCH2DSAINV : longWord;
  11107. DCH2SSIZ : longWord;
  11108. DCH2SSIZCLR : longWord;
  11109. DCH2SSIZSET : longWord;
  11110. DCH2SSIZINV : longWord;
  11111. DCH2DSIZ : longWord;
  11112. DCH2DSIZCLR : longWord;
  11113. DCH2DSIZSET : longWord;
  11114. DCH2DSIZINV : longWord;
  11115. DCH2SPTR : longWord;
  11116. DCH2SPTRCLR : longWord;
  11117. DCH2SPTRSET : longWord;
  11118. DCH2SPTRINV : longWord;
  11119. DCH2DPTR : longWord;
  11120. DCH2DPTRCLR : longWord;
  11121. DCH2DPTRSET : longWord;
  11122. DCH2DPTRINV : longWord;
  11123. DCH2CSIZ : longWord;
  11124. DCH2CSIZCLR : longWord;
  11125. DCH2CSIZSET : longWord;
  11126. DCH2CSIZINV : longWord;
  11127. DCH2CPTR : longWord;
  11128. DCH2CPTRCLR : longWord;
  11129. DCH2CPTRSET : longWord;
  11130. DCH2CPTRINV : longWord;
  11131. DCH2DAT : longWord;
  11132. DCH2DATCLR : longWord;
  11133. DCH2DATSET : longWord;
  11134. DCH2DATINV : longWord;
  11135. end;
  11136. TDMAC3_DCH3CON = record
  11137. private
  11138. function getCHAED : TBits_1; inline;
  11139. function getCHAEN : TBits_1; inline;
  11140. function getCHBUSY : TBits_1; inline;
  11141. function getCHCHN : TBits_1; inline;
  11142. function getCHCHNS : TBits_1; inline;
  11143. function getCHEDET : TBits_1; inline;
  11144. function getCHEN : TBits_1; inline;
  11145. function getCHPRI : TBits_2; inline;
  11146. function getw : TBits_32; inline;
  11147. procedure setCHAED(thebits : TBits_1); inline;
  11148. procedure setCHAEN(thebits : TBits_1); inline;
  11149. procedure setCHBUSY(thebits : TBits_1); inline;
  11150. procedure setCHCHN(thebits : TBits_1); inline;
  11151. procedure setCHCHNS(thebits : TBits_1); inline;
  11152. procedure setCHEDET(thebits : TBits_1); inline;
  11153. procedure setCHEN(thebits : TBits_1); inline;
  11154. procedure setCHPRI(thebits : TBits_2); inline;
  11155. procedure setw(thebits : TBits_32); inline;
  11156. public
  11157. procedure clearCHAED; inline;
  11158. procedure clearCHAEN; inline;
  11159. procedure clearCHBUSY; inline;
  11160. procedure clearCHCHN; inline;
  11161. procedure clearCHCHNS; inline;
  11162. procedure clearCHEDET; inline;
  11163. procedure clearCHEN; inline;
  11164. procedure setCHAED; inline;
  11165. procedure setCHAEN; inline;
  11166. procedure setCHBUSY; inline;
  11167. procedure setCHCHN; inline;
  11168. procedure setCHCHNS; inline;
  11169. procedure setCHEDET; inline;
  11170. procedure setCHEN; inline;
  11171. property CHAED : TBits_1 read getCHAED write setCHAED;
  11172. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  11173. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  11174. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  11175. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  11176. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  11177. property CHEN : TBits_1 read getCHEN write setCHEN;
  11178. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  11179. property w : TBits_32 read getw write setw;
  11180. end;
  11181. TDMAC3_DCH3ECON = record
  11182. private
  11183. function getAIRQEN : TBits_1; inline;
  11184. function getCABORT : TBits_1; inline;
  11185. function getCFORCE : TBits_1; inline;
  11186. function getCHAIRQ : TBits_8; inline;
  11187. function getCHSIRQ : TBits_8; inline;
  11188. function getPATEN : TBits_1; inline;
  11189. function getSIRQEN : TBits_1; inline;
  11190. function getw : TBits_32; inline;
  11191. procedure setAIRQEN(thebits : TBits_1); inline;
  11192. procedure setCABORT(thebits : TBits_1); inline;
  11193. procedure setCFORCE(thebits : TBits_1); inline;
  11194. procedure setCHAIRQ(thebits : TBits_8); inline;
  11195. procedure setCHSIRQ(thebits : TBits_8); inline;
  11196. procedure setPATEN(thebits : TBits_1); inline;
  11197. procedure setSIRQEN(thebits : TBits_1); inline;
  11198. procedure setw(thebits : TBits_32); inline;
  11199. public
  11200. procedure clearAIRQEN; inline;
  11201. procedure clearCABORT; inline;
  11202. procedure clearCFORCE; inline;
  11203. procedure clearPATEN; inline;
  11204. procedure clearSIRQEN; inline;
  11205. procedure setAIRQEN; inline;
  11206. procedure setCABORT; inline;
  11207. procedure setCFORCE; inline;
  11208. procedure setPATEN; inline;
  11209. procedure setSIRQEN; inline;
  11210. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  11211. property CABORT : TBits_1 read getCABORT write setCABORT;
  11212. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  11213. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  11214. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  11215. property PATEN : TBits_1 read getPATEN write setPATEN;
  11216. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  11217. property w : TBits_32 read getw write setw;
  11218. end;
  11219. TDMAC3_DCH3INT = record
  11220. private
  11221. function getCHBCIE : TBits_1; inline;
  11222. function getCHBCIF : TBits_1; inline;
  11223. function getCHCCIE : TBits_1; inline;
  11224. function getCHCCIF : TBits_1; inline;
  11225. function getCHDDIE : TBits_1; inline;
  11226. function getCHDDIF : TBits_1; inline;
  11227. function getCHDHIE : TBits_1; inline;
  11228. function getCHDHIF : TBits_1; inline;
  11229. function getCHERIE : TBits_1; inline;
  11230. function getCHERIF : TBits_1; inline;
  11231. function getCHSDIE : TBits_1; inline;
  11232. function getCHSDIF : TBits_1; inline;
  11233. function getCHSHIE : TBits_1; inline;
  11234. function getCHSHIF : TBits_1; inline;
  11235. function getCHTAIE : TBits_1; inline;
  11236. function getCHTAIF : TBits_1; inline;
  11237. function getw : TBits_32; inline;
  11238. procedure setCHBCIE(thebits : TBits_1); inline;
  11239. procedure setCHBCIF(thebits : TBits_1); inline;
  11240. procedure setCHCCIE(thebits : TBits_1); inline;
  11241. procedure setCHCCIF(thebits : TBits_1); inline;
  11242. procedure setCHDDIE(thebits : TBits_1); inline;
  11243. procedure setCHDDIF(thebits : TBits_1); inline;
  11244. procedure setCHDHIE(thebits : TBits_1); inline;
  11245. procedure setCHDHIF(thebits : TBits_1); inline;
  11246. procedure setCHERIE(thebits : TBits_1); inline;
  11247. procedure setCHERIF(thebits : TBits_1); inline;
  11248. procedure setCHSDIE(thebits : TBits_1); inline;
  11249. procedure setCHSDIF(thebits : TBits_1); inline;
  11250. procedure setCHSHIE(thebits : TBits_1); inline;
  11251. procedure setCHSHIF(thebits : TBits_1); inline;
  11252. procedure setCHTAIE(thebits : TBits_1); inline;
  11253. procedure setCHTAIF(thebits : TBits_1); inline;
  11254. procedure setw(thebits : TBits_32); inline;
  11255. public
  11256. procedure clearCHBCIE; inline;
  11257. procedure clearCHBCIF; inline;
  11258. procedure clearCHCCIE; inline;
  11259. procedure clearCHCCIF; inline;
  11260. procedure clearCHDDIE; inline;
  11261. procedure clearCHDDIF; inline;
  11262. procedure clearCHDHIE; inline;
  11263. procedure clearCHDHIF; inline;
  11264. procedure clearCHERIE; inline;
  11265. procedure clearCHERIF; inline;
  11266. procedure clearCHSDIE; inline;
  11267. procedure clearCHSDIF; inline;
  11268. procedure clearCHSHIE; inline;
  11269. procedure clearCHSHIF; inline;
  11270. procedure clearCHTAIE; inline;
  11271. procedure clearCHTAIF; inline;
  11272. procedure setCHBCIE; inline;
  11273. procedure setCHBCIF; inline;
  11274. procedure setCHCCIE; inline;
  11275. procedure setCHCCIF; inline;
  11276. procedure setCHDDIE; inline;
  11277. procedure setCHDDIF; inline;
  11278. procedure setCHDHIE; inline;
  11279. procedure setCHDHIF; inline;
  11280. procedure setCHERIE; inline;
  11281. procedure setCHERIF; inline;
  11282. procedure setCHSDIE; inline;
  11283. procedure setCHSDIF; inline;
  11284. procedure setCHSHIE; inline;
  11285. procedure setCHSHIF; inline;
  11286. procedure setCHTAIE; inline;
  11287. procedure setCHTAIF; inline;
  11288. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  11289. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  11290. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  11291. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  11292. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  11293. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  11294. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  11295. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  11296. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  11297. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  11298. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  11299. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  11300. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  11301. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  11302. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  11303. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  11304. property w : TBits_32 read getw write setw;
  11305. end;
  11306. type
  11307. TDMAC3Registers = record
  11308. DCH3CONbits : TDMAC3_DCH3CON;
  11309. DCH3CON : longWord;
  11310. DCH3CONCLR : longWord;
  11311. DCH3CONSET : longWord;
  11312. DCH3CONINV : longWord;
  11313. DCH3ECONbits : TDMAC3_DCH3ECON;
  11314. DCH3ECON : longWord;
  11315. DCH3ECONCLR : longWord;
  11316. DCH3ECONSET : longWord;
  11317. DCH3ECONINV : longWord;
  11318. DCH3INTbits : TDMAC3_DCH3INT;
  11319. DCH3INT : longWord;
  11320. DCH3INTCLR : longWord;
  11321. DCH3INTSET : longWord;
  11322. DCH3INTINV : longWord;
  11323. DCH3SSA : longWord;
  11324. DCH3SSACLR : longWord;
  11325. DCH3SSASET : longWord;
  11326. DCH3SSAINV : longWord;
  11327. DCH3DSA : longWord;
  11328. DCH3DSACLR : longWord;
  11329. DCH3DSASET : longWord;
  11330. DCH3DSAINV : longWord;
  11331. DCH3SSIZ : longWord;
  11332. DCH3SSIZCLR : longWord;
  11333. DCH3SSIZSET : longWord;
  11334. DCH3SSIZINV : longWord;
  11335. DCH3DSIZ : longWord;
  11336. DCH3DSIZCLR : longWord;
  11337. DCH3DSIZSET : longWord;
  11338. DCH3DSIZINV : longWord;
  11339. DCH3SPTR : longWord;
  11340. DCH3SPTRCLR : longWord;
  11341. DCH3SPTRSET : longWord;
  11342. DCH3SPTRINV : longWord;
  11343. DCH3DPTR : longWord;
  11344. DCH3DPTRCLR : longWord;
  11345. DCH3DPTRSET : longWord;
  11346. DCH3DPTRINV : longWord;
  11347. DCH3CSIZ : longWord;
  11348. DCH3CSIZCLR : longWord;
  11349. DCH3CSIZSET : longWord;
  11350. DCH3CSIZINV : longWord;
  11351. DCH3CPTR : longWord;
  11352. DCH3CPTRCLR : longWord;
  11353. DCH3CPTRSET : longWord;
  11354. DCH3CPTRINV : longWord;
  11355. DCH3DAT : longWord;
  11356. DCH3DATCLR : longWord;
  11357. DCH3DATSET : longWord;
  11358. DCH3DATINV : longWord;
  11359. end;
  11360. TPCACHE_CHECON = record
  11361. private
  11362. function getCHECOH : TBits_1; inline;
  11363. function getDCSZ : TBits_2; inline;
  11364. function getPFMWS : TBits_3; inline;
  11365. function getPREFEN : TBits_2; inline;
  11366. function getw : TBits_32; inline;
  11367. procedure setCHECOH(thebits : TBits_1); inline;
  11368. procedure setDCSZ(thebits : TBits_2); inline;
  11369. procedure setPFMWS(thebits : TBits_3); inline;
  11370. procedure setPREFEN(thebits : TBits_2); inline;
  11371. procedure setw(thebits : TBits_32); inline;
  11372. public
  11373. procedure clearCHECOH; inline;
  11374. procedure setCHECOH; inline;
  11375. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  11376. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  11377. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  11378. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  11379. property w : TBits_32 read getw write setw;
  11380. end;
  11381. TPCACHE_CHETAG = record
  11382. private
  11383. function getLLOCK : TBits_1; inline;
  11384. function getLTAG : TBits_20; inline;
  11385. function getLTAGBOOT : TBits_1; inline;
  11386. function getLTYPE : TBits_1; inline;
  11387. function getLVALID : TBits_1; inline;
  11388. function getw : TBits_32; inline;
  11389. procedure setLLOCK(thebits : TBits_1); inline;
  11390. procedure setLTAG(thebits : TBits_20); inline;
  11391. procedure setLTAGBOOT(thebits : TBits_1); inline;
  11392. procedure setLTYPE(thebits : TBits_1); inline;
  11393. procedure setLVALID(thebits : TBits_1); inline;
  11394. procedure setw(thebits : TBits_32); inline;
  11395. public
  11396. procedure clearLLOCK; inline;
  11397. procedure clearLTAGBOOT; inline;
  11398. procedure clearLTYPE; inline;
  11399. procedure clearLVALID; inline;
  11400. procedure setLLOCK; inline;
  11401. procedure setLTAGBOOT; inline;
  11402. procedure setLTYPE; inline;
  11403. procedure setLVALID; inline;
  11404. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  11405. property LTAG : TBits_20 read getLTAG write setLTAG;
  11406. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  11407. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  11408. property LVALID : TBits_1 read getLVALID write setLVALID;
  11409. property w : TBits_32 read getw write setw;
  11410. end;
  11411. type
  11412. TPCACHERegisters = record
  11413. CHECONbits : TPCACHE_CHECON;
  11414. CHECON : longWord;
  11415. CHECONCLR : longWord;
  11416. CHECONSET : longWord;
  11417. CHECONINV : longWord;
  11418. CHEACC : longWord;
  11419. CHEACCCLR : longWord;
  11420. CHEACCSET : longWord;
  11421. CHEACCINV : longWord;
  11422. CHETAGbits : TPCACHE_CHETAG;
  11423. CHETAG : longWord;
  11424. CHETAGCLR : longWord;
  11425. CHETAGSET : longWord;
  11426. CHETAGINV : longWord;
  11427. CHEMSK : longWord;
  11428. CHEMSKCLR : longWord;
  11429. CHEMSKSET : longWord;
  11430. CHEMSKINV : longWord;
  11431. CHEW0 : longWord;
  11432. CHEW1 : longWord;
  11433. CHEW2 : longWord;
  11434. CHEW3 : longWord;
  11435. CHELRU : longWord;
  11436. CHEHIT : longWord;
  11437. CHEMIS : longWord;
  11438. CHEPFABT : longWord;
  11439. end;
  11440. TUSB_U1IR = record
  11441. private
  11442. function getATTACHIF : TBits_1; inline;
  11443. function getDETACHIF : TBits_1; inline;
  11444. function getIDLEIF : TBits_1; inline;
  11445. function getRESUMEIF : TBits_1; inline;
  11446. function getSOFIF : TBits_1; inline;
  11447. function getSTALLIF : TBits_1; inline;
  11448. function getTRNIF : TBits_1; inline;
  11449. function getUERRIF : TBits_1; inline;
  11450. function getURSTIF : TBits_1; inline;
  11451. function getURSTIF_DETACHIF : TBits_1; inline;
  11452. procedure setATTACHIF(thebits : TBits_1); inline;
  11453. procedure setDETACHIF(thebits : TBits_1); inline;
  11454. procedure setIDLEIF(thebits : TBits_1); inline;
  11455. procedure setRESUMEIF(thebits : TBits_1); inline;
  11456. procedure setSOFIF(thebits : TBits_1); inline;
  11457. procedure setSTALLIF(thebits : TBits_1); inline;
  11458. procedure setTRNIF(thebits : TBits_1); inline;
  11459. procedure setUERRIF(thebits : TBits_1); inline;
  11460. procedure setURSTIF(thebits : TBits_1); inline;
  11461. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  11462. public
  11463. procedure clearATTACHIF; inline;
  11464. procedure clearDETACHIF; inline;
  11465. procedure clearIDLEIF; inline;
  11466. procedure clearRESUMEIF; inline;
  11467. procedure clearSOFIF; inline;
  11468. procedure clearSTALLIF; inline;
  11469. procedure clearTRNIF; inline;
  11470. procedure clearUERRIF; inline;
  11471. procedure clearURSTIF; inline;
  11472. procedure clearURSTIF_DETACHIF; inline;
  11473. procedure setATTACHIF; inline;
  11474. procedure setDETACHIF; inline;
  11475. procedure setIDLEIF; inline;
  11476. procedure setRESUMEIF; inline;
  11477. procedure setSOFIF; inline;
  11478. procedure setSTALLIF; inline;
  11479. procedure setTRNIF; inline;
  11480. procedure setUERRIF; inline;
  11481. procedure setURSTIF; inline;
  11482. procedure setURSTIF_DETACHIF; inline;
  11483. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  11484. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  11485. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  11486. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  11487. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  11488. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  11489. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  11490. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  11491. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  11492. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  11493. end;
  11494. TUSB_U1IE = record
  11495. private
  11496. function getATTACHIE : TBits_1; inline;
  11497. function getDETACHIE : TBits_1; inline;
  11498. function getIDLEIE : TBits_1; inline;
  11499. function getRESUMEIE : TBits_1; inline;
  11500. function getSOFIE : TBits_1; inline;
  11501. function getSTALLIE : TBits_1; inline;
  11502. function getTRNIE : TBits_1; inline;
  11503. function getUERRIE : TBits_1; inline;
  11504. function getURSTIE : TBits_1; inline;
  11505. function getURSTIE_DETACHIE : TBits_1; inline;
  11506. procedure setATTACHIE(thebits : TBits_1); inline;
  11507. procedure setDETACHIE(thebits : TBits_1); inline;
  11508. procedure setIDLEIE(thebits : TBits_1); inline;
  11509. procedure setRESUMEIE(thebits : TBits_1); inline;
  11510. procedure setSOFIE(thebits : TBits_1); inline;
  11511. procedure setSTALLIE(thebits : TBits_1); inline;
  11512. procedure setTRNIE(thebits : TBits_1); inline;
  11513. procedure setUERRIE(thebits : TBits_1); inline;
  11514. procedure setURSTIE(thebits : TBits_1); inline;
  11515. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  11516. public
  11517. procedure clearATTACHIE; inline;
  11518. procedure clearDETACHIE; inline;
  11519. procedure clearIDLEIE; inline;
  11520. procedure clearRESUMEIE; inline;
  11521. procedure clearSOFIE; inline;
  11522. procedure clearSTALLIE; inline;
  11523. procedure clearTRNIE; inline;
  11524. procedure clearUERRIE; inline;
  11525. procedure clearURSTIE; inline;
  11526. procedure clearURSTIE_DETACHIE; inline;
  11527. procedure setATTACHIE; inline;
  11528. procedure setDETACHIE; inline;
  11529. procedure setIDLEIE; inline;
  11530. procedure setRESUMEIE; inline;
  11531. procedure setSOFIE; inline;
  11532. procedure setSTALLIE; inline;
  11533. procedure setTRNIE; inline;
  11534. procedure setUERRIE; inline;
  11535. procedure setURSTIE; inline;
  11536. procedure setURSTIE_DETACHIE; inline;
  11537. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  11538. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  11539. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  11540. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  11541. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  11542. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  11543. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  11544. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  11545. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  11546. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  11547. end;
  11548. TUSB_U1EIR = record
  11549. private
  11550. function getBMXEF : TBits_1; inline;
  11551. function getBTOEF : TBits_1; inline;
  11552. function getBTSEF : TBits_1; inline;
  11553. function getCRC16EF : TBits_1; inline;
  11554. function getCRC5EF : TBits_1; inline;
  11555. function getCRC5EF_EOFEF : TBits_1; inline;
  11556. function getDFN8EF : TBits_1; inline;
  11557. function getDMAEF : TBits_1; inline;
  11558. function getEOFEF : TBits_1; inline;
  11559. function getPIDEF : TBits_1; inline;
  11560. procedure setBMXEF(thebits : TBits_1); inline;
  11561. procedure setBTOEF(thebits : TBits_1); inline;
  11562. procedure setBTSEF(thebits : TBits_1); inline;
  11563. procedure setCRC16EF(thebits : TBits_1); inline;
  11564. procedure setCRC5EF(thebits : TBits_1); inline;
  11565. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  11566. procedure setDFN8EF(thebits : TBits_1); inline;
  11567. procedure setDMAEF(thebits : TBits_1); inline;
  11568. procedure setEOFEF(thebits : TBits_1); inline;
  11569. procedure setPIDEF(thebits : TBits_1); inline;
  11570. public
  11571. procedure clearBMXEF; inline;
  11572. procedure clearBTOEF; inline;
  11573. procedure clearBTSEF; inline;
  11574. procedure clearCRC16EF; inline;
  11575. procedure clearCRC5EF; inline;
  11576. procedure clearCRC5EF_EOFEF; inline;
  11577. procedure clearDFN8EF; inline;
  11578. procedure clearDMAEF; inline;
  11579. procedure clearEOFEF; inline;
  11580. procedure clearPIDEF; inline;
  11581. procedure setBMXEF; inline;
  11582. procedure setBTOEF; inline;
  11583. procedure setBTSEF; inline;
  11584. procedure setCRC16EF; inline;
  11585. procedure setCRC5EF; inline;
  11586. procedure setCRC5EF_EOFEF; inline;
  11587. procedure setDFN8EF; inline;
  11588. procedure setDMAEF; inline;
  11589. procedure setEOFEF; inline;
  11590. procedure setPIDEF; inline;
  11591. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  11592. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  11593. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  11594. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  11595. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  11596. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  11597. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  11598. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  11599. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  11600. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  11601. end;
  11602. TUSB_U1EIE = record
  11603. private
  11604. function getBMXEE : TBits_1; inline;
  11605. function getBTOEE : TBits_1; inline;
  11606. function getBTSEE : TBits_1; inline;
  11607. function getCRC16EE : TBits_1; inline;
  11608. function getCRC5EE : TBits_1; inline;
  11609. function getCRC5EE_EOFEE : TBits_1; inline;
  11610. function getDFN8EE : TBits_1; inline;
  11611. function getDMAEE : TBits_1; inline;
  11612. function getEOFEE : TBits_1; inline;
  11613. function getPIDEE : TBits_1; inline;
  11614. procedure setBMXEE(thebits : TBits_1); inline;
  11615. procedure setBTOEE(thebits : TBits_1); inline;
  11616. procedure setBTSEE(thebits : TBits_1); inline;
  11617. procedure setCRC16EE(thebits : TBits_1); inline;
  11618. procedure setCRC5EE(thebits : TBits_1); inline;
  11619. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  11620. procedure setDFN8EE(thebits : TBits_1); inline;
  11621. procedure setDMAEE(thebits : TBits_1); inline;
  11622. procedure setEOFEE(thebits : TBits_1); inline;
  11623. procedure setPIDEE(thebits : TBits_1); inline;
  11624. public
  11625. procedure clearBMXEE; inline;
  11626. procedure clearBTOEE; inline;
  11627. procedure clearBTSEE; inline;
  11628. procedure clearCRC16EE; inline;
  11629. procedure clearCRC5EE; inline;
  11630. procedure clearCRC5EE_EOFEE; inline;
  11631. procedure clearDFN8EE; inline;
  11632. procedure clearDMAEE; inline;
  11633. procedure clearEOFEE; inline;
  11634. procedure clearPIDEE; inline;
  11635. procedure setBMXEE; inline;
  11636. procedure setBTOEE; inline;
  11637. procedure setBTSEE; inline;
  11638. procedure setCRC16EE; inline;
  11639. procedure setCRC5EE; inline;
  11640. procedure setCRC5EE_EOFEE; inline;
  11641. procedure setDFN8EE; inline;
  11642. procedure setDMAEE; inline;
  11643. procedure setEOFEE; inline;
  11644. procedure setPIDEE; inline;
  11645. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  11646. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  11647. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  11648. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  11649. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  11650. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  11651. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  11652. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  11653. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  11654. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  11655. end;
  11656. TUSB_U1STAT = record
  11657. private
  11658. function getDIR : TBits_1; inline;
  11659. function getENDPT : TBits_4; inline;
  11660. function getENDPT0 : TBits_1; inline;
  11661. function getENDPT1 : TBits_1; inline;
  11662. function getENDPT2 : TBits_1; inline;
  11663. function getENDPT3 : TBits_1; inline;
  11664. function getPPBI : TBits_1; inline;
  11665. procedure setDIR(thebits : TBits_1); inline;
  11666. procedure setENDPT(thebits : TBits_4); inline;
  11667. procedure setENDPT0(thebits : TBits_1); inline;
  11668. procedure setENDPT1(thebits : TBits_1); inline;
  11669. procedure setENDPT2(thebits : TBits_1); inline;
  11670. procedure setENDPT3(thebits : TBits_1); inline;
  11671. procedure setPPBI(thebits : TBits_1); inline;
  11672. public
  11673. procedure clearDIR; inline;
  11674. procedure clearENDPT0; inline;
  11675. procedure clearENDPT1; inline;
  11676. procedure clearENDPT2; inline;
  11677. procedure clearENDPT3; inline;
  11678. procedure clearPPBI; inline;
  11679. procedure setDIR; inline;
  11680. procedure setENDPT0; inline;
  11681. procedure setENDPT1; inline;
  11682. procedure setENDPT2; inline;
  11683. procedure setENDPT3; inline;
  11684. procedure setPPBI; inline;
  11685. property DIR : TBits_1 read getDIR write setDIR;
  11686. property ENDPT : TBits_4 read getENDPT write setENDPT;
  11687. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  11688. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  11689. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  11690. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  11691. property PPBI : TBits_1 read getPPBI write setPPBI;
  11692. end;
  11693. TUSB_U1CON = record
  11694. private
  11695. function getHOSTEN : TBits_1; inline;
  11696. function getJSTATE : TBits_1; inline;
  11697. function getPKTDIS : TBits_1; inline;
  11698. function getPKTDIS_TOKBUSY : TBits_1; inline;
  11699. function getPPBRST : TBits_1; inline;
  11700. function getRESUME : TBits_1; inline;
  11701. function getSE0 : TBits_1; inline;
  11702. function getSOFEN : TBits_1; inline;
  11703. function getTOKBUSY : TBits_1; inline;
  11704. function getUSBEN : TBits_1; inline;
  11705. function getUSBEN_SOFEN : TBits_1; inline;
  11706. function getUSBRST : TBits_1; inline;
  11707. procedure setHOSTEN(thebits : TBits_1); inline;
  11708. procedure setJSTATE(thebits : TBits_1); inline;
  11709. procedure setPKTDIS(thebits : TBits_1); inline;
  11710. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  11711. procedure setPPBRST(thebits : TBits_1); inline;
  11712. procedure setRESUME(thebits : TBits_1); inline;
  11713. procedure setSE0(thebits : TBits_1); inline;
  11714. procedure setSOFEN(thebits : TBits_1); inline;
  11715. procedure setTOKBUSY(thebits : TBits_1); inline;
  11716. procedure setUSBEN(thebits : TBits_1); inline;
  11717. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  11718. procedure setUSBRST(thebits : TBits_1); inline;
  11719. public
  11720. procedure clearHOSTEN; inline;
  11721. procedure clearJSTATE; inline;
  11722. procedure clearPKTDIS; inline;
  11723. procedure clearPKTDIS_TOKBUSY; inline;
  11724. procedure clearPPBRST; inline;
  11725. procedure clearRESUME; inline;
  11726. procedure clearSE0; inline;
  11727. procedure clearSOFEN; inline;
  11728. procedure clearTOKBUSY; inline;
  11729. procedure clearUSBEN; inline;
  11730. procedure clearUSBEN_SOFEN; inline;
  11731. procedure clearUSBRST; inline;
  11732. procedure setHOSTEN; inline;
  11733. procedure setJSTATE; inline;
  11734. procedure setPKTDIS; inline;
  11735. procedure setPKTDIS_TOKBUSY; inline;
  11736. procedure setPPBRST; inline;
  11737. procedure setRESUME; inline;
  11738. procedure setSE0; inline;
  11739. procedure setSOFEN; inline;
  11740. procedure setTOKBUSY; inline;
  11741. procedure setUSBEN; inline;
  11742. procedure setUSBEN_SOFEN; inline;
  11743. procedure setUSBRST; inline;
  11744. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  11745. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  11746. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  11747. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  11748. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  11749. property RESUME : TBits_1 read getRESUME write setRESUME;
  11750. property SE0 : TBits_1 read getSE0 write setSE0;
  11751. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  11752. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  11753. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  11754. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  11755. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  11756. end;
  11757. TUSB_U1ADDR = record
  11758. private
  11759. function getDEVADDR : TBits_7; inline;
  11760. function getDEVADDR0 : TBits_1; inline;
  11761. function getDEVADDR1 : TBits_1; inline;
  11762. function getDEVADDR2 : TBits_1; inline;
  11763. function getDEVADDR3 : TBits_1; inline;
  11764. function getDEVADDR4 : TBits_1; inline;
  11765. function getDEVADDR5 : TBits_1; inline;
  11766. function getDEVADDR6 : TBits_1; inline;
  11767. function getLSPDEN : TBits_1; inline;
  11768. procedure setDEVADDR(thebits : TBits_7); inline;
  11769. procedure setDEVADDR0(thebits : TBits_1); inline;
  11770. procedure setDEVADDR1(thebits : TBits_1); inline;
  11771. procedure setDEVADDR2(thebits : TBits_1); inline;
  11772. procedure setDEVADDR3(thebits : TBits_1); inline;
  11773. procedure setDEVADDR4(thebits : TBits_1); inline;
  11774. procedure setDEVADDR5(thebits : TBits_1); inline;
  11775. procedure setDEVADDR6(thebits : TBits_1); inline;
  11776. procedure setLSPDEN(thebits : TBits_1); inline;
  11777. public
  11778. procedure clearDEVADDR0; inline;
  11779. procedure clearDEVADDR1; inline;
  11780. procedure clearDEVADDR2; inline;
  11781. procedure clearDEVADDR3; inline;
  11782. procedure clearDEVADDR4; inline;
  11783. procedure clearDEVADDR5; inline;
  11784. procedure clearDEVADDR6; inline;
  11785. procedure clearLSPDEN; inline;
  11786. procedure setDEVADDR0; inline;
  11787. procedure setDEVADDR1; inline;
  11788. procedure setDEVADDR2; inline;
  11789. procedure setDEVADDR3; inline;
  11790. procedure setDEVADDR4; inline;
  11791. procedure setDEVADDR5; inline;
  11792. procedure setDEVADDR6; inline;
  11793. procedure setLSPDEN; inline;
  11794. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  11795. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  11796. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  11797. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  11798. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  11799. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  11800. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  11801. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  11802. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  11803. end;
  11804. TUSB_U1FRML = record
  11805. private
  11806. function getFRM0 : TBits_1; inline;
  11807. function getFRM1 : TBits_1; inline;
  11808. function getFRM2 : TBits_1; inline;
  11809. function getFRM3 : TBits_1; inline;
  11810. function getFRM4 : TBits_1; inline;
  11811. function getFRM5 : TBits_1; inline;
  11812. function getFRM6 : TBits_1; inline;
  11813. function getFRM7 : TBits_1; inline;
  11814. function getFRML : TBits_8; inline;
  11815. procedure setFRM0(thebits : TBits_1); inline;
  11816. procedure setFRM1(thebits : TBits_1); inline;
  11817. procedure setFRM2(thebits : TBits_1); inline;
  11818. procedure setFRM3(thebits : TBits_1); inline;
  11819. procedure setFRM4(thebits : TBits_1); inline;
  11820. procedure setFRM5(thebits : TBits_1); inline;
  11821. procedure setFRM6(thebits : TBits_1); inline;
  11822. procedure setFRM7(thebits : TBits_1); inline;
  11823. procedure setFRML(thebits : TBits_8); inline;
  11824. public
  11825. procedure clearFRM0; inline;
  11826. procedure clearFRM1; inline;
  11827. procedure clearFRM2; inline;
  11828. procedure clearFRM3; inline;
  11829. procedure clearFRM4; inline;
  11830. procedure clearFRM5; inline;
  11831. procedure clearFRM6; inline;
  11832. procedure clearFRM7; inline;
  11833. procedure setFRM0; inline;
  11834. procedure setFRM1; inline;
  11835. procedure setFRM2; inline;
  11836. procedure setFRM3; inline;
  11837. procedure setFRM4; inline;
  11838. procedure setFRM5; inline;
  11839. procedure setFRM6; inline;
  11840. procedure setFRM7; inline;
  11841. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  11842. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  11843. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  11844. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  11845. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  11846. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  11847. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  11848. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  11849. property FRML : TBits_8 read getFRML write setFRML;
  11850. end;
  11851. TUSB_U1FRMH = record
  11852. private
  11853. function getFRM10 : TBits_1; inline;
  11854. function getFRM8 : TBits_1; inline;
  11855. function getFRM9 : TBits_1; inline;
  11856. function getFRMH : TBits_3; inline;
  11857. procedure setFRM10(thebits : TBits_1); inline;
  11858. procedure setFRM8(thebits : TBits_1); inline;
  11859. procedure setFRM9(thebits : TBits_1); inline;
  11860. procedure setFRMH(thebits : TBits_3); inline;
  11861. public
  11862. procedure clearFRM10; inline;
  11863. procedure clearFRM8; inline;
  11864. procedure clearFRM9; inline;
  11865. procedure setFRM10; inline;
  11866. procedure setFRM8; inline;
  11867. procedure setFRM9; inline;
  11868. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  11869. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  11870. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  11871. property FRMH : TBits_3 read getFRMH write setFRMH;
  11872. end;
  11873. TUSB_U1TOK = record
  11874. private
  11875. function getEP : TBits_4; inline;
  11876. function getEP0 : TBits_1; inline;
  11877. function getEP1 : TBits_1; inline;
  11878. function getEP2 : TBits_1; inline;
  11879. function getEP3 : TBits_1; inline;
  11880. function getPID : TBits_4; inline;
  11881. function getPID0 : TBits_1; inline;
  11882. function getPID1 : TBits_1; inline;
  11883. function getPID2 : TBits_1; inline;
  11884. function getPID3 : TBits_1; inline;
  11885. procedure setEP(thebits : TBits_4); inline;
  11886. procedure setEP0(thebits : TBits_1); inline;
  11887. procedure setEP1(thebits : TBits_1); inline;
  11888. procedure setEP2(thebits : TBits_1); inline;
  11889. procedure setEP3(thebits : TBits_1); inline;
  11890. procedure setPID(thebits : TBits_4); inline;
  11891. procedure setPID0(thebits : TBits_1); inline;
  11892. procedure setPID1(thebits : TBits_1); inline;
  11893. procedure setPID2(thebits : TBits_1); inline;
  11894. procedure setPID3(thebits : TBits_1); inline;
  11895. public
  11896. procedure clearEP0; inline;
  11897. procedure clearEP1; inline;
  11898. procedure clearEP2; inline;
  11899. procedure clearEP3; inline;
  11900. procedure clearPID0; inline;
  11901. procedure clearPID1; inline;
  11902. procedure clearPID2; inline;
  11903. procedure clearPID3; inline;
  11904. procedure setEP0; inline;
  11905. procedure setEP1; inline;
  11906. procedure setEP2; inline;
  11907. procedure setEP3; inline;
  11908. procedure setPID0; inline;
  11909. procedure setPID1; inline;
  11910. procedure setPID2; inline;
  11911. procedure setPID3; inline;
  11912. property EP : TBits_4 read getEP write setEP;
  11913. property EP0 : TBits_1 read getEP0 write setEP0;
  11914. property EP1 : TBits_1 read getEP1 write setEP1;
  11915. property EP2 : TBits_1 read getEP2 write setEP2;
  11916. property EP3 : TBits_1 read getEP3 write setEP3;
  11917. property PID : TBits_4 read getPID write setPID;
  11918. property PID0 : TBits_1 read getPID0 write setPID0;
  11919. property PID1 : TBits_1 read getPID1 write setPID1;
  11920. property PID2 : TBits_1 read getPID2 write setPID2;
  11921. property PID3 : TBits_1 read getPID3 write setPID3;
  11922. end;
  11923. type
  11924. TUSBRegisters = record
  11925. U1OTGIR : longWord;
  11926. U1OTGIRCLR : longWord;
  11927. U1OTGIE : longWord;
  11928. U1OTGIECLR : longWord;
  11929. U1OTGIESET : longWord;
  11930. U1OTGIEINV : longWord;
  11931. U1OTGSTAT : longWord;
  11932. U1OTGCON : longWord;
  11933. U1OTGCONCLR : longWord;
  11934. U1OTGCONSET : longWord;
  11935. U1OTGCONINV : longWord;
  11936. U1PWRC : longWord;
  11937. U1PWRCCLR : longWord;
  11938. U1PWRCSET : longWord;
  11939. U1PWRCINV : longWord;
  11940. U1IRbits : TUSB_U1IR;
  11941. U1IR : longWord;
  11942. U1IRCLR : longWord;
  11943. U1IEbits : TUSB_U1IE;
  11944. U1IE : longWord;
  11945. U1IECLR : longWord;
  11946. U1IESET : longWord;
  11947. U1IEINV : longWord;
  11948. U1EIRbits : TUSB_U1EIR;
  11949. U1EIR : longWord;
  11950. U1EIRCLR : longWord;
  11951. U1EIEbits : TUSB_U1EIE;
  11952. U1EIE : longWord;
  11953. U1EIECLR : longWord;
  11954. U1EIESET : longWord;
  11955. U1EIEINV : longWord;
  11956. U1STATbits : TUSB_U1STAT;
  11957. U1STAT : longWord;
  11958. U1CONbits : TUSB_U1CON;
  11959. U1CON : longWord;
  11960. U1CONCLR : longWord;
  11961. U1CONSET : longWord;
  11962. U1CONINV : longWord;
  11963. U1ADDRbits : TUSB_U1ADDR;
  11964. U1ADDR : longWord;
  11965. U1ADDRCLR : longWord;
  11966. U1ADDRSET : longWord;
  11967. U1ADDRINV : longWord;
  11968. U1BDTP1 : longWord;
  11969. U1BDTP1CLR : longWord;
  11970. U1BDTP1SET : longWord;
  11971. U1BDTP1INV : longWord;
  11972. U1FRMLbits : TUSB_U1FRML;
  11973. U1FRML : longWord;
  11974. U1FRMHbits : TUSB_U1FRMH;
  11975. U1FRMH : longWord;
  11976. U1TOKbits : TUSB_U1TOK;
  11977. U1TOK : longWord;
  11978. U1TOKCLR : longWord;
  11979. U1TOKSET : longWord;
  11980. U1TOKINV : longWord;
  11981. U1SOF : longWord;
  11982. U1SOFCLR : longWord;
  11983. U1SOFSET : longWord;
  11984. U1SOFINV : longWord;
  11985. U1BDTP2 : longWord;
  11986. U1BDTP2CLR : longWord;
  11987. U1BDTP2SET : longWord;
  11988. U1BDTP2INV : longWord;
  11989. U1BDTP3 : longWord;
  11990. U1BDTP3CLR : longWord;
  11991. U1BDTP3SET : longWord;
  11992. U1BDTP3INV : longWord;
  11993. U1CNFG1 : longWord;
  11994. U1CNFG1CLR : longWord;
  11995. U1CNFG1SET : longWord;
  11996. U1CNFG1INV : longWord;
  11997. U1EP0 : longWord;
  11998. U1EP0CLR : longWord;
  11999. U1EP0SET : longWord;
  12000. U1EP0INV : longWord;
  12001. U1EP1 : longWord;
  12002. U1EP1CLR : longWord;
  12003. U1EP1SET : longWord;
  12004. U1EP1INV : longWord;
  12005. U1EP2 : longWord;
  12006. U1EP2CLR : longWord;
  12007. U1EP2SET : longWord;
  12008. U1EP2INV : longWord;
  12009. U1EP3 : longWord;
  12010. U1EP3CLR : longWord;
  12011. U1EP3SET : longWord;
  12012. U1EP3INV : longWord;
  12013. U1EP4 : longWord;
  12014. U1EP4CLR : longWord;
  12015. U1EP4SET : longWord;
  12016. U1EP4INV : longWord;
  12017. U1EP5 : longWord;
  12018. U1EP5CLR : longWord;
  12019. U1EP5SET : longWord;
  12020. U1EP5INV : longWord;
  12021. U1EP6 : longWord;
  12022. U1EP6CLR : longWord;
  12023. U1EP6SET : longWord;
  12024. U1EP6INV : longWord;
  12025. U1EP7 : longWord;
  12026. U1EP7CLR : longWord;
  12027. U1EP7SET : longWord;
  12028. U1EP7INV : longWord;
  12029. U1EP8 : longWord;
  12030. U1EP8CLR : longWord;
  12031. U1EP8SET : longWord;
  12032. U1EP8INV : longWord;
  12033. U1EP9 : longWord;
  12034. U1EP9CLR : longWord;
  12035. U1EP9SET : longWord;
  12036. U1EP9INV : longWord;
  12037. U1EP10 : longWord;
  12038. U1EP10CLR : longWord;
  12039. U1EP10SET : longWord;
  12040. U1EP10INV : longWord;
  12041. U1EP11 : longWord;
  12042. U1EP11CLR : longWord;
  12043. U1EP11SET : longWord;
  12044. U1EP11INV : longWord;
  12045. U1EP12 : longWord;
  12046. U1EP12CLR : longWord;
  12047. U1EP12SET : longWord;
  12048. U1EP12INV : longWord;
  12049. U1EP13 : longWord;
  12050. U1EP13CLR : longWord;
  12051. U1EP13SET : longWord;
  12052. U1EP13INV : longWord;
  12053. U1EP14 : longWord;
  12054. U1EP14CLR : longWord;
  12055. U1EP14SET : longWord;
  12056. U1EP14INV : longWord;
  12057. U1EP15 : longWord;
  12058. U1EP15CLR : longWord;
  12059. U1EP15SET : longWord;
  12060. U1EP15INV : longWord;
  12061. end;
  12062. TPORTA_TRISA = record
  12063. private
  12064. function getTRISA0 : TBits_1; inline;
  12065. function getTRISA1 : TBits_1; inline;
  12066. function getTRISA10 : TBits_1; inline;
  12067. function getTRISA14 : TBits_1; inline;
  12068. function getTRISA15 : TBits_1; inline;
  12069. function getTRISA2 : TBits_1; inline;
  12070. function getTRISA3 : TBits_1; inline;
  12071. function getTRISA4 : TBits_1; inline;
  12072. function getTRISA5 : TBits_1; inline;
  12073. function getTRISA6 : TBits_1; inline;
  12074. function getTRISA7 : TBits_1; inline;
  12075. function getTRISA9 : TBits_1; inline;
  12076. function getw : TBits_32; inline;
  12077. procedure setTRISA0(thebits : TBits_1); inline;
  12078. procedure setTRISA1(thebits : TBits_1); inline;
  12079. procedure setTRISA10(thebits : TBits_1); inline;
  12080. procedure setTRISA14(thebits : TBits_1); inline;
  12081. procedure setTRISA15(thebits : TBits_1); inline;
  12082. procedure setTRISA2(thebits : TBits_1); inline;
  12083. procedure setTRISA3(thebits : TBits_1); inline;
  12084. procedure setTRISA4(thebits : TBits_1); inline;
  12085. procedure setTRISA5(thebits : TBits_1); inline;
  12086. procedure setTRISA6(thebits : TBits_1); inline;
  12087. procedure setTRISA7(thebits : TBits_1); inline;
  12088. procedure setTRISA9(thebits : TBits_1); inline;
  12089. procedure setw(thebits : TBits_32); inline;
  12090. public
  12091. procedure clearTRISA0; inline;
  12092. procedure clearTRISA10; inline;
  12093. procedure clearTRISA14; inline;
  12094. procedure clearTRISA15; inline;
  12095. procedure clearTRISA1; inline;
  12096. procedure clearTRISA2; inline;
  12097. procedure clearTRISA3; inline;
  12098. procedure clearTRISA4; inline;
  12099. procedure clearTRISA5; inline;
  12100. procedure clearTRISA6; inline;
  12101. procedure clearTRISA7; inline;
  12102. procedure clearTRISA9; inline;
  12103. procedure setTRISA0; inline;
  12104. procedure setTRISA10; inline;
  12105. procedure setTRISA14; inline;
  12106. procedure setTRISA15; inline;
  12107. procedure setTRISA1; inline;
  12108. procedure setTRISA2; inline;
  12109. procedure setTRISA3; inline;
  12110. procedure setTRISA4; inline;
  12111. procedure setTRISA5; inline;
  12112. procedure setTRISA6; inline;
  12113. procedure setTRISA7; inline;
  12114. procedure setTRISA9; inline;
  12115. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  12116. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  12117. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  12118. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  12119. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  12120. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  12121. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  12122. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  12123. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  12124. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  12125. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  12126. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  12127. property w : TBits_32 read getw write setw;
  12128. end;
  12129. TPORTA_PORTA = record
  12130. private
  12131. function getRA0 : TBits_1; inline;
  12132. function getRA1 : TBits_1; inline;
  12133. function getRA10 : TBits_1; inline;
  12134. function getRA14 : TBits_1; inline;
  12135. function getRA15 : TBits_1; inline;
  12136. function getRA2 : TBits_1; inline;
  12137. function getRA3 : TBits_1; inline;
  12138. function getRA4 : TBits_1; inline;
  12139. function getRA5 : TBits_1; inline;
  12140. function getRA6 : TBits_1; inline;
  12141. function getRA7 : TBits_1; inline;
  12142. function getRA9 : TBits_1; inline;
  12143. function getw : TBits_32; inline;
  12144. procedure setRA0(thebits : TBits_1); inline;
  12145. procedure setRA1(thebits : TBits_1); inline;
  12146. procedure setRA10(thebits : TBits_1); inline;
  12147. procedure setRA14(thebits : TBits_1); inline;
  12148. procedure setRA15(thebits : TBits_1); inline;
  12149. procedure setRA2(thebits : TBits_1); inline;
  12150. procedure setRA3(thebits : TBits_1); inline;
  12151. procedure setRA4(thebits : TBits_1); inline;
  12152. procedure setRA5(thebits : TBits_1); inline;
  12153. procedure setRA6(thebits : TBits_1); inline;
  12154. procedure setRA7(thebits : TBits_1); inline;
  12155. procedure setRA9(thebits : TBits_1); inline;
  12156. procedure setw(thebits : TBits_32); inline;
  12157. public
  12158. procedure clearRA0; inline;
  12159. procedure clearRA10; inline;
  12160. procedure clearRA14; inline;
  12161. procedure clearRA15; inline;
  12162. procedure clearRA1; inline;
  12163. procedure clearRA2; inline;
  12164. procedure clearRA3; inline;
  12165. procedure clearRA4; inline;
  12166. procedure clearRA5; inline;
  12167. procedure clearRA6; inline;
  12168. procedure clearRA7; inline;
  12169. procedure clearRA9; inline;
  12170. procedure setRA0; inline;
  12171. procedure setRA10; inline;
  12172. procedure setRA14; inline;
  12173. procedure setRA15; inline;
  12174. procedure setRA1; inline;
  12175. procedure setRA2; inline;
  12176. procedure setRA3; inline;
  12177. procedure setRA4; inline;
  12178. procedure setRA5; inline;
  12179. procedure setRA6; inline;
  12180. procedure setRA7; inline;
  12181. procedure setRA9; inline;
  12182. property RA0 : TBits_1 read getRA0 write setRA0;
  12183. property RA1 : TBits_1 read getRA1 write setRA1;
  12184. property RA10 : TBits_1 read getRA10 write setRA10;
  12185. property RA14 : TBits_1 read getRA14 write setRA14;
  12186. property RA15 : TBits_1 read getRA15 write setRA15;
  12187. property RA2 : TBits_1 read getRA2 write setRA2;
  12188. property RA3 : TBits_1 read getRA3 write setRA3;
  12189. property RA4 : TBits_1 read getRA4 write setRA4;
  12190. property RA5 : TBits_1 read getRA5 write setRA5;
  12191. property RA6 : TBits_1 read getRA6 write setRA6;
  12192. property RA7 : TBits_1 read getRA7 write setRA7;
  12193. property RA9 : TBits_1 read getRA9 write setRA9;
  12194. property w : TBits_32 read getw write setw;
  12195. end;
  12196. 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);
  12197. TPortA_bitset = set of TPortA_bits;
  12198. TPORTA_LATA = record
  12199. private
  12200. function getLATA0 : TBits_1; inline;
  12201. function getLATA1 : TBits_1; inline;
  12202. function getLATA10 : TBits_1; inline;
  12203. function getLATA14 : TBits_1; inline;
  12204. function getLATA15 : TBits_1; inline;
  12205. function getLATA2 : TBits_1; inline;
  12206. function getLATA3 : TBits_1; inline;
  12207. function getLATA4 : TBits_1; inline;
  12208. function getLATA5 : TBits_1; inline;
  12209. function getLATA6 : TBits_1; inline;
  12210. function getLATA7 : TBits_1; inline;
  12211. function getLATA9 : TBits_1; inline;
  12212. function getw : TBits_32; inline;
  12213. procedure setLATA0(thebits : TBits_1); inline;
  12214. procedure setLATA1(thebits : TBits_1); inline;
  12215. procedure setLATA10(thebits : TBits_1); inline;
  12216. procedure setLATA14(thebits : TBits_1); inline;
  12217. procedure setLATA15(thebits : TBits_1); inline;
  12218. procedure setLATA2(thebits : TBits_1); inline;
  12219. procedure setLATA3(thebits : TBits_1); inline;
  12220. procedure setLATA4(thebits : TBits_1); inline;
  12221. procedure setLATA5(thebits : TBits_1); inline;
  12222. procedure setLATA6(thebits : TBits_1); inline;
  12223. procedure setLATA7(thebits : TBits_1); inline;
  12224. procedure setLATA9(thebits : TBits_1); inline;
  12225. procedure setw(thebits : TBits_32); inline;
  12226. public
  12227. procedure clearLATA0; inline;
  12228. procedure clearLATA10; inline;
  12229. procedure clearLATA14; inline;
  12230. procedure clearLATA15; inline;
  12231. procedure clearLATA1; inline;
  12232. procedure clearLATA2; inline;
  12233. procedure clearLATA3; inline;
  12234. procedure clearLATA4; inline;
  12235. procedure clearLATA5; inline;
  12236. procedure clearLATA6; inline;
  12237. procedure clearLATA7; inline;
  12238. procedure clearLATA9; inline;
  12239. procedure setLATA0; inline;
  12240. procedure setLATA10; inline;
  12241. procedure setLATA14; inline;
  12242. procedure setLATA15; inline;
  12243. procedure setLATA1; inline;
  12244. procedure setLATA2; inline;
  12245. procedure setLATA3; inline;
  12246. procedure setLATA4; inline;
  12247. procedure setLATA5; inline;
  12248. procedure setLATA6; inline;
  12249. procedure setLATA7; inline;
  12250. procedure setLATA9; inline;
  12251. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  12252. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  12253. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  12254. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  12255. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  12256. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  12257. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  12258. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  12259. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  12260. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  12261. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  12262. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  12263. property w : TBits_32 read getw write setw;
  12264. end;
  12265. TPORTA_ODCA = record
  12266. private
  12267. function getODCA0 : TBits_1; inline;
  12268. function getODCA1 : TBits_1; inline;
  12269. function getODCA10 : TBits_1; inline;
  12270. function getODCA14 : TBits_1; inline;
  12271. function getODCA15 : TBits_1; inline;
  12272. function getODCA2 : TBits_1; inline;
  12273. function getODCA3 : TBits_1; inline;
  12274. function getODCA4 : TBits_1; inline;
  12275. function getODCA5 : TBits_1; inline;
  12276. function getODCA6 : TBits_1; inline;
  12277. function getODCA7 : TBits_1; inline;
  12278. function getODCA9 : TBits_1; inline;
  12279. function getw : TBits_32; inline;
  12280. procedure setODCA0(thebits : TBits_1); inline;
  12281. procedure setODCA1(thebits : TBits_1); inline;
  12282. procedure setODCA10(thebits : TBits_1); inline;
  12283. procedure setODCA14(thebits : TBits_1); inline;
  12284. procedure setODCA15(thebits : TBits_1); inline;
  12285. procedure setODCA2(thebits : TBits_1); inline;
  12286. procedure setODCA3(thebits : TBits_1); inline;
  12287. procedure setODCA4(thebits : TBits_1); inline;
  12288. procedure setODCA5(thebits : TBits_1); inline;
  12289. procedure setODCA6(thebits : TBits_1); inline;
  12290. procedure setODCA7(thebits : TBits_1); inline;
  12291. procedure setODCA9(thebits : TBits_1); inline;
  12292. procedure setw(thebits : TBits_32); inline;
  12293. public
  12294. procedure clearODCA0; inline;
  12295. procedure clearODCA10; inline;
  12296. procedure clearODCA14; inline;
  12297. procedure clearODCA15; inline;
  12298. procedure clearODCA1; inline;
  12299. procedure clearODCA2; inline;
  12300. procedure clearODCA3; inline;
  12301. procedure clearODCA4; inline;
  12302. procedure clearODCA5; inline;
  12303. procedure clearODCA6; inline;
  12304. procedure clearODCA7; inline;
  12305. procedure clearODCA9; inline;
  12306. procedure setODCA0; inline;
  12307. procedure setODCA10; inline;
  12308. procedure setODCA14; inline;
  12309. procedure setODCA15; inline;
  12310. procedure setODCA1; inline;
  12311. procedure setODCA2; inline;
  12312. procedure setODCA3; inline;
  12313. procedure setODCA4; inline;
  12314. procedure setODCA5; inline;
  12315. procedure setODCA6; inline;
  12316. procedure setODCA7; inline;
  12317. procedure setODCA9; inline;
  12318. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  12319. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  12320. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  12321. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  12322. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  12323. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  12324. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  12325. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  12326. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  12327. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  12328. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  12329. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  12330. property w : TBits_32 read getw write setw;
  12331. end;
  12332. type
  12333. TPORTARegisters = record
  12334. TRISAbits : TPORTA_TRISA;
  12335. TRISA : longWord;
  12336. TRISACLR : longWord;
  12337. TRISASET : longWord;
  12338. TRISAINV : longWord;
  12339. PORTAbits : TPORTA_PORTA;
  12340. PORTA : longWord;
  12341. PORTACLR : longWord;
  12342. PORTASET : longWord;
  12343. PORTAINV : longWord;
  12344. LATAbits : TPORTA_LATA;
  12345. LATA : longWord;
  12346. LATACLR : longWord;
  12347. LATASET : longWord;
  12348. LATAINV : longWord;
  12349. ODCAbits : TPORTA_ODCA;
  12350. ODCA : longWord;
  12351. ODCACLR : longWord;
  12352. ODCASET : longWord;
  12353. ODCAINV : longWord;
  12354. end;
  12355. TPORTB_TRISB = record
  12356. private
  12357. function getTRISB0 : TBits_1; inline;
  12358. function getTRISB1 : TBits_1; inline;
  12359. function getTRISB10 : TBits_1; inline;
  12360. function getTRISB11 : TBits_1; inline;
  12361. function getTRISB12 : TBits_1; inline;
  12362. function getTRISB13 : TBits_1; inline;
  12363. function getTRISB14 : TBits_1; inline;
  12364. function getTRISB15 : TBits_1; inline;
  12365. function getTRISB2 : TBits_1; inline;
  12366. function getTRISB3 : TBits_1; inline;
  12367. function getTRISB4 : TBits_1; inline;
  12368. function getTRISB5 : TBits_1; inline;
  12369. function getTRISB6 : TBits_1; inline;
  12370. function getTRISB7 : TBits_1; inline;
  12371. function getTRISB8 : TBits_1; inline;
  12372. function getTRISB9 : TBits_1; inline;
  12373. function getw : TBits_32; inline;
  12374. procedure setTRISB0(thebits : TBits_1); inline;
  12375. procedure setTRISB1(thebits : TBits_1); inline;
  12376. procedure setTRISB10(thebits : TBits_1); inline;
  12377. procedure setTRISB11(thebits : TBits_1); inline;
  12378. procedure setTRISB12(thebits : TBits_1); inline;
  12379. procedure setTRISB13(thebits : TBits_1); inline;
  12380. procedure setTRISB14(thebits : TBits_1); inline;
  12381. procedure setTRISB15(thebits : TBits_1); inline;
  12382. procedure setTRISB2(thebits : TBits_1); inline;
  12383. procedure setTRISB3(thebits : TBits_1); inline;
  12384. procedure setTRISB4(thebits : TBits_1); inline;
  12385. procedure setTRISB5(thebits : TBits_1); inline;
  12386. procedure setTRISB6(thebits : TBits_1); inline;
  12387. procedure setTRISB7(thebits : TBits_1); inline;
  12388. procedure setTRISB8(thebits : TBits_1); inline;
  12389. procedure setTRISB9(thebits : TBits_1); inline;
  12390. procedure setw(thebits : TBits_32); inline;
  12391. public
  12392. procedure clearTRISB0; inline;
  12393. procedure clearTRISB10; inline;
  12394. procedure clearTRISB11; inline;
  12395. procedure clearTRISB12; inline;
  12396. procedure clearTRISB13; inline;
  12397. procedure clearTRISB14; inline;
  12398. procedure clearTRISB15; inline;
  12399. procedure clearTRISB1; inline;
  12400. procedure clearTRISB2; inline;
  12401. procedure clearTRISB3; inline;
  12402. procedure clearTRISB4; inline;
  12403. procedure clearTRISB5; inline;
  12404. procedure clearTRISB6; inline;
  12405. procedure clearTRISB7; inline;
  12406. procedure clearTRISB8; inline;
  12407. procedure clearTRISB9; inline;
  12408. procedure setTRISB0; inline;
  12409. procedure setTRISB10; inline;
  12410. procedure setTRISB11; inline;
  12411. procedure setTRISB12; inline;
  12412. procedure setTRISB13; inline;
  12413. procedure setTRISB14; inline;
  12414. procedure setTRISB15; inline;
  12415. procedure setTRISB1; inline;
  12416. procedure setTRISB2; inline;
  12417. procedure setTRISB3; inline;
  12418. procedure setTRISB4; inline;
  12419. procedure setTRISB5; inline;
  12420. procedure setTRISB6; inline;
  12421. procedure setTRISB7; inline;
  12422. procedure setTRISB8; inline;
  12423. procedure setTRISB9; inline;
  12424. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  12425. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  12426. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  12427. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  12428. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  12429. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  12430. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  12431. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  12432. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  12433. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  12434. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  12435. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  12436. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  12437. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  12438. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  12439. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  12440. property w : TBits_32 read getw write setw;
  12441. end;
  12442. TPORTB_PORTB = record
  12443. private
  12444. function getRB0 : TBits_1; inline;
  12445. function getRB1 : TBits_1; inline;
  12446. function getRB10 : TBits_1; inline;
  12447. function getRB11 : TBits_1; inline;
  12448. function getRB12 : TBits_1; inline;
  12449. function getRB13 : TBits_1; inline;
  12450. function getRB14 : TBits_1; inline;
  12451. function getRB15 : TBits_1; inline;
  12452. function getRB2 : TBits_1; inline;
  12453. function getRB3 : TBits_1; inline;
  12454. function getRB4 : TBits_1; inline;
  12455. function getRB5 : TBits_1; inline;
  12456. function getRB6 : TBits_1; inline;
  12457. function getRB7 : TBits_1; inline;
  12458. function getRB8 : TBits_1; inline;
  12459. function getRB9 : TBits_1; inline;
  12460. function getw : TBits_32; inline;
  12461. procedure setRB0(thebits : TBits_1); inline;
  12462. procedure setRB1(thebits : TBits_1); inline;
  12463. procedure setRB10(thebits : TBits_1); inline;
  12464. procedure setRB11(thebits : TBits_1); inline;
  12465. procedure setRB12(thebits : TBits_1); inline;
  12466. procedure setRB13(thebits : TBits_1); inline;
  12467. procedure setRB14(thebits : TBits_1); inline;
  12468. procedure setRB15(thebits : TBits_1); inline;
  12469. procedure setRB2(thebits : TBits_1); inline;
  12470. procedure setRB3(thebits : TBits_1); inline;
  12471. procedure setRB4(thebits : TBits_1); inline;
  12472. procedure setRB5(thebits : TBits_1); inline;
  12473. procedure setRB6(thebits : TBits_1); inline;
  12474. procedure setRB7(thebits : TBits_1); inline;
  12475. procedure setRB8(thebits : TBits_1); inline;
  12476. procedure setRB9(thebits : TBits_1); inline;
  12477. procedure setw(thebits : TBits_32); inline;
  12478. public
  12479. procedure clearRB0; inline;
  12480. procedure clearRB10; inline;
  12481. procedure clearRB11; inline;
  12482. procedure clearRB12; inline;
  12483. procedure clearRB13; inline;
  12484. procedure clearRB14; inline;
  12485. procedure clearRB15; inline;
  12486. procedure clearRB1; inline;
  12487. procedure clearRB2; inline;
  12488. procedure clearRB3; inline;
  12489. procedure clearRB4; inline;
  12490. procedure clearRB5; inline;
  12491. procedure clearRB6; inline;
  12492. procedure clearRB7; inline;
  12493. procedure clearRB8; inline;
  12494. procedure clearRB9; inline;
  12495. procedure setRB0; inline;
  12496. procedure setRB10; inline;
  12497. procedure setRB11; inline;
  12498. procedure setRB12; inline;
  12499. procedure setRB13; inline;
  12500. procedure setRB14; inline;
  12501. procedure setRB15; inline;
  12502. procedure setRB1; inline;
  12503. procedure setRB2; inline;
  12504. procedure setRB3; inline;
  12505. procedure setRB4; inline;
  12506. procedure setRB5; inline;
  12507. procedure setRB6; inline;
  12508. procedure setRB7; inline;
  12509. procedure setRB8; inline;
  12510. procedure setRB9; inline;
  12511. property RB0 : TBits_1 read getRB0 write setRB0;
  12512. property RB1 : TBits_1 read getRB1 write setRB1;
  12513. property RB10 : TBits_1 read getRB10 write setRB10;
  12514. property RB11 : TBits_1 read getRB11 write setRB11;
  12515. property RB12 : TBits_1 read getRB12 write setRB12;
  12516. property RB13 : TBits_1 read getRB13 write setRB13;
  12517. property RB14 : TBits_1 read getRB14 write setRB14;
  12518. property RB15 : TBits_1 read getRB15 write setRB15;
  12519. property RB2 : TBits_1 read getRB2 write setRB2;
  12520. property RB3 : TBits_1 read getRB3 write setRB3;
  12521. property RB4 : TBits_1 read getRB4 write setRB4;
  12522. property RB5 : TBits_1 read getRB5 write setRB5;
  12523. property RB6 : TBits_1 read getRB6 write setRB6;
  12524. property RB7 : TBits_1 read getRB7 write setRB7;
  12525. property RB8 : TBits_1 read getRB8 write setRB8;
  12526. property RB9 : TBits_1 read getRB9 write setRB9;
  12527. property w : TBits_32 read getw write setw;
  12528. end;
  12529. 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);
  12530. TPortB_bitset = set of TPortB_bits;
  12531. TPORTB_LATB = record
  12532. private
  12533. function getLATB0 : TBits_1; inline;
  12534. function getLATB1 : TBits_1; inline;
  12535. function getLATB10 : TBits_1; inline;
  12536. function getLATB11 : TBits_1; inline;
  12537. function getLATB12 : TBits_1; inline;
  12538. function getLATB13 : TBits_1; inline;
  12539. function getLATB14 : TBits_1; inline;
  12540. function getLATB15 : TBits_1; inline;
  12541. function getLATB2 : TBits_1; inline;
  12542. function getLATB3 : TBits_1; inline;
  12543. function getLATB4 : TBits_1; inline;
  12544. function getLATB5 : TBits_1; inline;
  12545. function getLATB6 : TBits_1; inline;
  12546. function getLATB7 : TBits_1; inline;
  12547. function getLATB8 : TBits_1; inline;
  12548. function getLATB9 : TBits_1; inline;
  12549. function getw : TBits_32; inline;
  12550. procedure setLATB0(thebits : TBits_1); inline;
  12551. procedure setLATB1(thebits : TBits_1); inline;
  12552. procedure setLATB10(thebits : TBits_1); inline;
  12553. procedure setLATB11(thebits : TBits_1); inline;
  12554. procedure setLATB12(thebits : TBits_1); inline;
  12555. procedure setLATB13(thebits : TBits_1); inline;
  12556. procedure setLATB14(thebits : TBits_1); inline;
  12557. procedure setLATB15(thebits : TBits_1); inline;
  12558. procedure setLATB2(thebits : TBits_1); inline;
  12559. procedure setLATB3(thebits : TBits_1); inline;
  12560. procedure setLATB4(thebits : TBits_1); inline;
  12561. procedure setLATB5(thebits : TBits_1); inline;
  12562. procedure setLATB6(thebits : TBits_1); inline;
  12563. procedure setLATB7(thebits : TBits_1); inline;
  12564. procedure setLATB8(thebits : TBits_1); inline;
  12565. procedure setLATB9(thebits : TBits_1); inline;
  12566. procedure setw(thebits : TBits_32); inline;
  12567. public
  12568. procedure clearLATB0; inline;
  12569. procedure clearLATB10; inline;
  12570. procedure clearLATB11; inline;
  12571. procedure clearLATB12; inline;
  12572. procedure clearLATB13; inline;
  12573. procedure clearLATB14; inline;
  12574. procedure clearLATB15; inline;
  12575. procedure clearLATB1; inline;
  12576. procedure clearLATB2; inline;
  12577. procedure clearLATB3; inline;
  12578. procedure clearLATB4; inline;
  12579. procedure clearLATB5; inline;
  12580. procedure clearLATB6; inline;
  12581. procedure clearLATB7; inline;
  12582. procedure clearLATB8; inline;
  12583. procedure clearLATB9; inline;
  12584. procedure setLATB0; inline;
  12585. procedure setLATB10; inline;
  12586. procedure setLATB11; inline;
  12587. procedure setLATB12; inline;
  12588. procedure setLATB13; inline;
  12589. procedure setLATB14; inline;
  12590. procedure setLATB15; inline;
  12591. procedure setLATB1; inline;
  12592. procedure setLATB2; inline;
  12593. procedure setLATB3; inline;
  12594. procedure setLATB4; inline;
  12595. procedure setLATB5; inline;
  12596. procedure setLATB6; inline;
  12597. procedure setLATB7; inline;
  12598. procedure setLATB8; inline;
  12599. procedure setLATB9; inline;
  12600. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  12601. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  12602. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  12603. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  12604. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  12605. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  12606. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  12607. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  12608. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  12609. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  12610. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  12611. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  12612. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  12613. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  12614. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  12615. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  12616. property w : TBits_32 read getw write setw;
  12617. end;
  12618. TPORTB_ODCB = record
  12619. private
  12620. function getODCB0 : TBits_1; inline;
  12621. function getODCB1 : TBits_1; inline;
  12622. function getODCB10 : TBits_1; inline;
  12623. function getODCB11 : TBits_1; inline;
  12624. function getODCB12 : TBits_1; inline;
  12625. function getODCB13 : TBits_1; inline;
  12626. function getODCB14 : TBits_1; inline;
  12627. function getODCB15 : TBits_1; inline;
  12628. function getODCB2 : TBits_1; inline;
  12629. function getODCB3 : TBits_1; inline;
  12630. function getODCB4 : TBits_1; inline;
  12631. function getODCB5 : TBits_1; inline;
  12632. function getODCB6 : TBits_1; inline;
  12633. function getODCB7 : TBits_1; inline;
  12634. function getODCB8 : TBits_1; inline;
  12635. function getODCB9 : TBits_1; inline;
  12636. function getw : TBits_32; inline;
  12637. procedure setODCB0(thebits : TBits_1); inline;
  12638. procedure setODCB1(thebits : TBits_1); inline;
  12639. procedure setODCB10(thebits : TBits_1); inline;
  12640. procedure setODCB11(thebits : TBits_1); inline;
  12641. procedure setODCB12(thebits : TBits_1); inline;
  12642. procedure setODCB13(thebits : TBits_1); inline;
  12643. procedure setODCB14(thebits : TBits_1); inline;
  12644. procedure setODCB15(thebits : TBits_1); inline;
  12645. procedure setODCB2(thebits : TBits_1); inline;
  12646. procedure setODCB3(thebits : TBits_1); inline;
  12647. procedure setODCB4(thebits : TBits_1); inline;
  12648. procedure setODCB5(thebits : TBits_1); inline;
  12649. procedure setODCB6(thebits : TBits_1); inline;
  12650. procedure setODCB7(thebits : TBits_1); inline;
  12651. procedure setODCB8(thebits : TBits_1); inline;
  12652. procedure setODCB9(thebits : TBits_1); inline;
  12653. procedure setw(thebits : TBits_32); inline;
  12654. public
  12655. procedure clearODCB0; inline;
  12656. procedure clearODCB10; inline;
  12657. procedure clearODCB11; inline;
  12658. procedure clearODCB12; inline;
  12659. procedure clearODCB13; inline;
  12660. procedure clearODCB14; inline;
  12661. procedure clearODCB15; inline;
  12662. procedure clearODCB1; inline;
  12663. procedure clearODCB2; inline;
  12664. procedure clearODCB3; inline;
  12665. procedure clearODCB4; inline;
  12666. procedure clearODCB5; inline;
  12667. procedure clearODCB6; inline;
  12668. procedure clearODCB7; inline;
  12669. procedure clearODCB8; inline;
  12670. procedure clearODCB9; inline;
  12671. procedure setODCB0; inline;
  12672. procedure setODCB10; inline;
  12673. procedure setODCB11; inline;
  12674. procedure setODCB12; inline;
  12675. procedure setODCB13; inline;
  12676. procedure setODCB14; inline;
  12677. procedure setODCB15; inline;
  12678. procedure setODCB1; inline;
  12679. procedure setODCB2; inline;
  12680. procedure setODCB3; inline;
  12681. procedure setODCB4; inline;
  12682. procedure setODCB5; inline;
  12683. procedure setODCB6; inline;
  12684. procedure setODCB7; inline;
  12685. procedure setODCB8; inline;
  12686. procedure setODCB9; inline;
  12687. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  12688. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  12689. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  12690. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  12691. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  12692. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  12693. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  12694. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  12695. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  12696. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  12697. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  12698. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  12699. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  12700. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  12701. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  12702. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  12703. property w : TBits_32 read getw write setw;
  12704. end;
  12705. type
  12706. TPORTBRegisters = record
  12707. TRISBbits : TPORTB_TRISB;
  12708. TRISB : longWord;
  12709. TRISBCLR : longWord;
  12710. TRISBSET : longWord;
  12711. TRISBINV : longWord;
  12712. PORTBbits : TPORTB_PORTB;
  12713. PORTB : longWord;
  12714. PORTBCLR : longWord;
  12715. PORTBSET : longWord;
  12716. PORTBINV : longWord;
  12717. LATBbits : TPORTB_LATB;
  12718. LATB : longWord;
  12719. LATBCLR : longWord;
  12720. LATBSET : longWord;
  12721. LATBINV : longWord;
  12722. ODCBbits : TPORTB_ODCB;
  12723. ODCB : longWord;
  12724. ODCBCLR : longWord;
  12725. ODCBSET : longWord;
  12726. ODCBINV : longWord;
  12727. end;
  12728. TPORTC_TRISC = record
  12729. private
  12730. function getTRISC1 : TBits_1; inline;
  12731. function getTRISC12 : TBits_1; inline;
  12732. function getTRISC13 : TBits_1; inline;
  12733. function getTRISC14 : TBits_1; inline;
  12734. function getTRISC15 : TBits_1; inline;
  12735. function getTRISC2 : TBits_1; inline;
  12736. function getTRISC3 : TBits_1; inline;
  12737. function getTRISC4 : TBits_1; inline;
  12738. function getw : TBits_32; inline;
  12739. procedure setTRISC1(thebits : TBits_1); inline;
  12740. procedure setTRISC12(thebits : TBits_1); inline;
  12741. procedure setTRISC13(thebits : TBits_1); inline;
  12742. procedure setTRISC14(thebits : TBits_1); inline;
  12743. procedure setTRISC15(thebits : TBits_1); inline;
  12744. procedure setTRISC2(thebits : TBits_1); inline;
  12745. procedure setTRISC3(thebits : TBits_1); inline;
  12746. procedure setTRISC4(thebits : TBits_1); inline;
  12747. procedure setw(thebits : TBits_32); inline;
  12748. public
  12749. procedure clearTRISC12; inline;
  12750. procedure clearTRISC13; inline;
  12751. procedure clearTRISC14; inline;
  12752. procedure clearTRISC15; inline;
  12753. procedure clearTRISC1; inline;
  12754. procedure clearTRISC2; inline;
  12755. procedure clearTRISC3; inline;
  12756. procedure clearTRISC4; inline;
  12757. procedure setTRISC12; inline;
  12758. procedure setTRISC13; inline;
  12759. procedure setTRISC14; inline;
  12760. procedure setTRISC15; inline;
  12761. procedure setTRISC1; inline;
  12762. procedure setTRISC2; inline;
  12763. procedure setTRISC3; inline;
  12764. procedure setTRISC4; inline;
  12765. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  12766. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  12767. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  12768. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  12769. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  12770. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  12771. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  12772. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  12773. property w : TBits_32 read getw write setw;
  12774. end;
  12775. TPORTC_PORTC = record
  12776. private
  12777. function getRC1 : TBits_1; inline;
  12778. function getRC12 : TBits_1; inline;
  12779. function getRC13 : TBits_1; inline;
  12780. function getRC14 : TBits_1; inline;
  12781. function getRC15 : TBits_1; inline;
  12782. function getRC2 : TBits_1; inline;
  12783. function getRC3 : TBits_1; inline;
  12784. function getRC4 : TBits_1; inline;
  12785. function getw : TBits_32; inline;
  12786. procedure setRC1(thebits : TBits_1); inline;
  12787. procedure setRC12(thebits : TBits_1); inline;
  12788. procedure setRC13(thebits : TBits_1); inline;
  12789. procedure setRC14(thebits : TBits_1); inline;
  12790. procedure setRC15(thebits : TBits_1); inline;
  12791. procedure setRC2(thebits : TBits_1); inline;
  12792. procedure setRC3(thebits : TBits_1); inline;
  12793. procedure setRC4(thebits : TBits_1); inline;
  12794. procedure setw(thebits : TBits_32); inline;
  12795. public
  12796. procedure clearRC12; inline;
  12797. procedure clearRC13; inline;
  12798. procedure clearRC14; inline;
  12799. procedure clearRC15; inline;
  12800. procedure clearRC1; inline;
  12801. procedure clearRC2; inline;
  12802. procedure clearRC3; inline;
  12803. procedure clearRC4; inline;
  12804. procedure setRC12; inline;
  12805. procedure setRC13; inline;
  12806. procedure setRC14; inline;
  12807. procedure setRC15; inline;
  12808. procedure setRC1; inline;
  12809. procedure setRC2; inline;
  12810. procedure setRC3; inline;
  12811. procedure setRC4; inline;
  12812. property RC1 : TBits_1 read getRC1 write setRC1;
  12813. property RC12 : TBits_1 read getRC12 write setRC12;
  12814. property RC13 : TBits_1 read getRC13 write setRC13;
  12815. property RC14 : TBits_1 read getRC14 write setRC14;
  12816. property RC15 : TBits_1 read getRC15 write setRC15;
  12817. property RC2 : TBits_1 read getRC2 write setRC2;
  12818. property RC3 : TBits_1 read getRC3 write setRC3;
  12819. property RC4 : TBits_1 read getRC4 write setRC4;
  12820. property w : TBits_32 read getw write setw;
  12821. end;
  12822. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  12823. TPortC_bitset = set of TPortC_bits;
  12824. TPORTC_LATC = record
  12825. private
  12826. function getLATC1 : TBits_1; inline;
  12827. function getLATC12 : TBits_1; inline;
  12828. function getLATC13 : TBits_1; inline;
  12829. function getLATC14 : TBits_1; inline;
  12830. function getLATC15 : TBits_1; inline;
  12831. function getLATC2 : TBits_1; inline;
  12832. function getLATC3 : TBits_1; inline;
  12833. function getLATC4 : TBits_1; inline;
  12834. function getw : TBits_32; inline;
  12835. procedure setLATC1(thebits : TBits_1); inline;
  12836. procedure setLATC12(thebits : TBits_1); inline;
  12837. procedure setLATC13(thebits : TBits_1); inline;
  12838. procedure setLATC14(thebits : TBits_1); inline;
  12839. procedure setLATC15(thebits : TBits_1); inline;
  12840. procedure setLATC2(thebits : TBits_1); inline;
  12841. procedure setLATC3(thebits : TBits_1); inline;
  12842. procedure setLATC4(thebits : TBits_1); inline;
  12843. procedure setw(thebits : TBits_32); inline;
  12844. public
  12845. procedure clearLATC12; inline;
  12846. procedure clearLATC13; inline;
  12847. procedure clearLATC14; inline;
  12848. procedure clearLATC15; inline;
  12849. procedure clearLATC1; inline;
  12850. procedure clearLATC2; inline;
  12851. procedure clearLATC3; inline;
  12852. procedure clearLATC4; inline;
  12853. procedure setLATC12; inline;
  12854. procedure setLATC13; inline;
  12855. procedure setLATC14; inline;
  12856. procedure setLATC15; inline;
  12857. procedure setLATC1; inline;
  12858. procedure setLATC2; inline;
  12859. procedure setLATC3; inline;
  12860. procedure setLATC4; inline;
  12861. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  12862. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  12863. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  12864. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  12865. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  12866. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  12867. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  12868. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  12869. property w : TBits_32 read getw write setw;
  12870. end;
  12871. TPORTC_ODCC = record
  12872. private
  12873. function getODCC1 : TBits_1; inline;
  12874. function getODCC12 : TBits_1; inline;
  12875. function getODCC13 : TBits_1; inline;
  12876. function getODCC14 : TBits_1; inline;
  12877. function getODCC15 : TBits_1; inline;
  12878. function getODCC2 : TBits_1; inline;
  12879. function getODCC3 : TBits_1; inline;
  12880. function getODCC4 : TBits_1; inline;
  12881. function getw : TBits_32; inline;
  12882. procedure setODCC1(thebits : TBits_1); inline;
  12883. procedure setODCC12(thebits : TBits_1); inline;
  12884. procedure setODCC13(thebits : TBits_1); inline;
  12885. procedure setODCC14(thebits : TBits_1); inline;
  12886. procedure setODCC15(thebits : TBits_1); inline;
  12887. procedure setODCC2(thebits : TBits_1); inline;
  12888. procedure setODCC3(thebits : TBits_1); inline;
  12889. procedure setODCC4(thebits : TBits_1); inline;
  12890. procedure setw(thebits : TBits_32); inline;
  12891. public
  12892. procedure clearODCC12; inline;
  12893. procedure clearODCC13; inline;
  12894. procedure clearODCC14; inline;
  12895. procedure clearODCC15; inline;
  12896. procedure clearODCC1; inline;
  12897. procedure clearODCC2; inline;
  12898. procedure clearODCC3; inline;
  12899. procedure clearODCC4; inline;
  12900. procedure setODCC12; inline;
  12901. procedure setODCC13; inline;
  12902. procedure setODCC14; inline;
  12903. procedure setODCC15; inline;
  12904. procedure setODCC1; inline;
  12905. procedure setODCC2; inline;
  12906. procedure setODCC3; inline;
  12907. procedure setODCC4; inline;
  12908. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  12909. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  12910. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  12911. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  12912. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  12913. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  12914. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  12915. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  12916. property w : TBits_32 read getw write setw;
  12917. end;
  12918. type
  12919. TPORTCRegisters = record
  12920. TRISCbits : TPORTC_TRISC;
  12921. TRISC : longWord;
  12922. TRISCCLR : longWord;
  12923. TRISCSET : longWord;
  12924. TRISCINV : longWord;
  12925. PORTCbits : TPORTC_PORTC;
  12926. PORTC : longWord;
  12927. PORTCCLR : longWord;
  12928. PORTCSET : longWord;
  12929. PORTCINV : longWord;
  12930. LATCbits : TPORTC_LATC;
  12931. LATC : longWord;
  12932. LATCCLR : longWord;
  12933. LATCSET : longWord;
  12934. LATCINV : longWord;
  12935. ODCCbits : TPORTC_ODCC;
  12936. ODCC : longWord;
  12937. ODCCCLR : longWord;
  12938. ODCCSET : longWord;
  12939. ODCCINV : longWord;
  12940. end;
  12941. TPORTD_TRISD = record
  12942. private
  12943. function getTRISD0 : TBits_1; inline;
  12944. function getTRISD1 : TBits_1; inline;
  12945. function getTRISD10 : TBits_1; inline;
  12946. function getTRISD11 : TBits_1; inline;
  12947. function getTRISD12 : TBits_1; inline;
  12948. function getTRISD13 : TBits_1; inline;
  12949. function getTRISD14 : TBits_1; inline;
  12950. function getTRISD15 : TBits_1; inline;
  12951. function getTRISD2 : TBits_1; inline;
  12952. function getTRISD3 : TBits_1; inline;
  12953. function getTRISD4 : TBits_1; inline;
  12954. function getTRISD5 : TBits_1; inline;
  12955. function getTRISD6 : TBits_1; inline;
  12956. function getTRISD7 : TBits_1; inline;
  12957. function getTRISD8 : TBits_1; inline;
  12958. function getTRISD9 : TBits_1; inline;
  12959. function getw : TBits_32; inline;
  12960. procedure setTRISD0(thebits : TBits_1); inline;
  12961. procedure setTRISD1(thebits : TBits_1); inline;
  12962. procedure setTRISD10(thebits : TBits_1); inline;
  12963. procedure setTRISD11(thebits : TBits_1); inline;
  12964. procedure setTRISD12(thebits : TBits_1); inline;
  12965. procedure setTRISD13(thebits : TBits_1); inline;
  12966. procedure setTRISD14(thebits : TBits_1); inline;
  12967. procedure setTRISD15(thebits : TBits_1); inline;
  12968. procedure setTRISD2(thebits : TBits_1); inline;
  12969. procedure setTRISD3(thebits : TBits_1); inline;
  12970. procedure setTRISD4(thebits : TBits_1); inline;
  12971. procedure setTRISD5(thebits : TBits_1); inline;
  12972. procedure setTRISD6(thebits : TBits_1); inline;
  12973. procedure setTRISD7(thebits : TBits_1); inline;
  12974. procedure setTRISD8(thebits : TBits_1); inline;
  12975. procedure setTRISD9(thebits : TBits_1); inline;
  12976. procedure setw(thebits : TBits_32); inline;
  12977. public
  12978. procedure clearTRISD0; inline;
  12979. procedure clearTRISD10; inline;
  12980. procedure clearTRISD11; inline;
  12981. procedure clearTRISD12; inline;
  12982. procedure clearTRISD13; inline;
  12983. procedure clearTRISD14; inline;
  12984. procedure clearTRISD15; inline;
  12985. procedure clearTRISD1; inline;
  12986. procedure clearTRISD2; inline;
  12987. procedure clearTRISD3; inline;
  12988. procedure clearTRISD4; inline;
  12989. procedure clearTRISD5; inline;
  12990. procedure clearTRISD6; inline;
  12991. procedure clearTRISD7; inline;
  12992. procedure clearTRISD8; inline;
  12993. procedure clearTRISD9; inline;
  12994. procedure setTRISD0; inline;
  12995. procedure setTRISD10; inline;
  12996. procedure setTRISD11; inline;
  12997. procedure setTRISD12; inline;
  12998. procedure setTRISD13; inline;
  12999. procedure setTRISD14; inline;
  13000. procedure setTRISD15; inline;
  13001. procedure setTRISD1; inline;
  13002. procedure setTRISD2; inline;
  13003. procedure setTRISD3; inline;
  13004. procedure setTRISD4; inline;
  13005. procedure setTRISD5; inline;
  13006. procedure setTRISD6; inline;
  13007. procedure setTRISD7; inline;
  13008. procedure setTRISD8; inline;
  13009. procedure setTRISD9; inline;
  13010. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  13011. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  13012. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  13013. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  13014. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  13015. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  13016. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  13017. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  13018. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  13019. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  13020. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  13021. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  13022. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  13023. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  13024. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  13025. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  13026. property w : TBits_32 read getw write setw;
  13027. end;
  13028. TPORTD_PORTD = record
  13029. private
  13030. function getRD0 : TBits_1; inline;
  13031. function getRD1 : TBits_1; inline;
  13032. function getRD10 : TBits_1; inline;
  13033. function getRD11 : TBits_1; inline;
  13034. function getRD12 : TBits_1; inline;
  13035. function getRD13 : TBits_1; inline;
  13036. function getRD14 : TBits_1; inline;
  13037. function getRD15 : TBits_1; inline;
  13038. function getRD2 : TBits_1; inline;
  13039. function getRD3 : TBits_1; inline;
  13040. function getRD4 : TBits_1; inline;
  13041. function getRD5 : TBits_1; inline;
  13042. function getRD6 : TBits_1; inline;
  13043. function getRD7 : TBits_1; inline;
  13044. function getRD8 : TBits_1; inline;
  13045. function getRD9 : TBits_1; inline;
  13046. function getw : TBits_32; inline;
  13047. procedure setRD0(thebits : TBits_1); inline;
  13048. procedure setRD1(thebits : TBits_1); inline;
  13049. procedure setRD10(thebits : TBits_1); inline;
  13050. procedure setRD11(thebits : TBits_1); inline;
  13051. procedure setRD12(thebits : TBits_1); inline;
  13052. procedure setRD13(thebits : TBits_1); inline;
  13053. procedure setRD14(thebits : TBits_1); inline;
  13054. procedure setRD15(thebits : TBits_1); inline;
  13055. procedure setRD2(thebits : TBits_1); inline;
  13056. procedure setRD3(thebits : TBits_1); inline;
  13057. procedure setRD4(thebits : TBits_1); inline;
  13058. procedure setRD5(thebits : TBits_1); inline;
  13059. procedure setRD6(thebits : TBits_1); inline;
  13060. procedure setRD7(thebits : TBits_1); inline;
  13061. procedure setRD8(thebits : TBits_1); inline;
  13062. procedure setRD9(thebits : TBits_1); inline;
  13063. procedure setw(thebits : TBits_32); inline;
  13064. public
  13065. procedure clearRD0; inline;
  13066. procedure clearRD10; inline;
  13067. procedure clearRD11; inline;
  13068. procedure clearRD12; inline;
  13069. procedure clearRD13; inline;
  13070. procedure clearRD14; inline;
  13071. procedure clearRD15; inline;
  13072. procedure clearRD1; inline;
  13073. procedure clearRD2; inline;
  13074. procedure clearRD3; inline;
  13075. procedure clearRD4; inline;
  13076. procedure clearRD5; inline;
  13077. procedure clearRD6; inline;
  13078. procedure clearRD7; inline;
  13079. procedure clearRD8; inline;
  13080. procedure clearRD9; inline;
  13081. procedure setRD0; inline;
  13082. procedure setRD10; inline;
  13083. procedure setRD11; inline;
  13084. procedure setRD12; inline;
  13085. procedure setRD13; inline;
  13086. procedure setRD14; inline;
  13087. procedure setRD15; inline;
  13088. procedure setRD1; inline;
  13089. procedure setRD2; inline;
  13090. procedure setRD3; inline;
  13091. procedure setRD4; inline;
  13092. procedure setRD5; inline;
  13093. procedure setRD6; inline;
  13094. procedure setRD7; inline;
  13095. procedure setRD8; inline;
  13096. procedure setRD9; inline;
  13097. property RD0 : TBits_1 read getRD0 write setRD0;
  13098. property RD1 : TBits_1 read getRD1 write setRD1;
  13099. property RD10 : TBits_1 read getRD10 write setRD10;
  13100. property RD11 : TBits_1 read getRD11 write setRD11;
  13101. property RD12 : TBits_1 read getRD12 write setRD12;
  13102. property RD13 : TBits_1 read getRD13 write setRD13;
  13103. property RD14 : TBits_1 read getRD14 write setRD14;
  13104. property RD15 : TBits_1 read getRD15 write setRD15;
  13105. property RD2 : TBits_1 read getRD2 write setRD2;
  13106. property RD3 : TBits_1 read getRD3 write setRD3;
  13107. property RD4 : TBits_1 read getRD4 write setRD4;
  13108. property RD5 : TBits_1 read getRD5 write setRD5;
  13109. property RD6 : TBits_1 read getRD6 write setRD6;
  13110. property RD7 : TBits_1 read getRD7 write setRD7;
  13111. property RD8 : TBits_1 read getRD8 write setRD8;
  13112. property RD9 : TBits_1 read getRD9 write setRD9;
  13113. property w : TBits_32 read getw write setw;
  13114. end;
  13115. 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);
  13116. TPortD_bitset = set of TPortD_bits;
  13117. TPORTD_LATD = record
  13118. private
  13119. function getLATD0 : TBits_1; inline;
  13120. function getLATD1 : TBits_1; inline;
  13121. function getLATD10 : TBits_1; inline;
  13122. function getLATD11 : TBits_1; inline;
  13123. function getLATD12 : TBits_1; inline;
  13124. function getLATD13 : TBits_1; inline;
  13125. function getLATD14 : TBits_1; inline;
  13126. function getLATD15 : TBits_1; inline;
  13127. function getLATD2 : TBits_1; inline;
  13128. function getLATD3 : TBits_1; inline;
  13129. function getLATD4 : TBits_1; inline;
  13130. function getLATD5 : TBits_1; inline;
  13131. function getLATD6 : TBits_1; inline;
  13132. function getLATD7 : TBits_1; inline;
  13133. function getLATD8 : TBits_1; inline;
  13134. function getLATD9 : TBits_1; inline;
  13135. function getw : TBits_32; inline;
  13136. procedure setLATD0(thebits : TBits_1); inline;
  13137. procedure setLATD1(thebits : TBits_1); inline;
  13138. procedure setLATD10(thebits : TBits_1); inline;
  13139. procedure setLATD11(thebits : TBits_1); inline;
  13140. procedure setLATD12(thebits : TBits_1); inline;
  13141. procedure setLATD13(thebits : TBits_1); inline;
  13142. procedure setLATD14(thebits : TBits_1); inline;
  13143. procedure setLATD15(thebits : TBits_1); inline;
  13144. procedure setLATD2(thebits : TBits_1); inline;
  13145. procedure setLATD3(thebits : TBits_1); inline;
  13146. procedure setLATD4(thebits : TBits_1); inline;
  13147. procedure setLATD5(thebits : TBits_1); inline;
  13148. procedure setLATD6(thebits : TBits_1); inline;
  13149. procedure setLATD7(thebits : TBits_1); inline;
  13150. procedure setLATD8(thebits : TBits_1); inline;
  13151. procedure setLATD9(thebits : TBits_1); inline;
  13152. procedure setw(thebits : TBits_32); inline;
  13153. public
  13154. procedure clearLATD0; inline;
  13155. procedure clearLATD10; inline;
  13156. procedure clearLATD11; inline;
  13157. procedure clearLATD12; inline;
  13158. procedure clearLATD13; inline;
  13159. procedure clearLATD14; inline;
  13160. procedure clearLATD15; inline;
  13161. procedure clearLATD1; inline;
  13162. procedure clearLATD2; inline;
  13163. procedure clearLATD3; inline;
  13164. procedure clearLATD4; inline;
  13165. procedure clearLATD5; inline;
  13166. procedure clearLATD6; inline;
  13167. procedure clearLATD7; inline;
  13168. procedure clearLATD8; inline;
  13169. procedure clearLATD9; inline;
  13170. procedure setLATD0; inline;
  13171. procedure setLATD10; inline;
  13172. procedure setLATD11; inline;
  13173. procedure setLATD12; inline;
  13174. procedure setLATD13; inline;
  13175. procedure setLATD14; inline;
  13176. procedure setLATD15; inline;
  13177. procedure setLATD1; inline;
  13178. procedure setLATD2; inline;
  13179. procedure setLATD3; inline;
  13180. procedure setLATD4; inline;
  13181. procedure setLATD5; inline;
  13182. procedure setLATD6; inline;
  13183. procedure setLATD7; inline;
  13184. procedure setLATD8; inline;
  13185. procedure setLATD9; inline;
  13186. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  13187. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  13188. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  13189. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  13190. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  13191. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  13192. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  13193. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  13194. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  13195. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  13196. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  13197. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  13198. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  13199. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  13200. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  13201. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  13202. property w : TBits_32 read getw write setw;
  13203. end;
  13204. TPORTD_ODCD = record
  13205. private
  13206. function getODCD0 : TBits_1; inline;
  13207. function getODCD1 : TBits_1; inline;
  13208. function getODCD10 : TBits_1; inline;
  13209. function getODCD11 : TBits_1; inline;
  13210. function getODCD12 : TBits_1; inline;
  13211. function getODCD13 : TBits_1; inline;
  13212. function getODCD14 : TBits_1; inline;
  13213. function getODCD15 : TBits_1; inline;
  13214. function getODCD2 : TBits_1; inline;
  13215. function getODCD3 : TBits_1; inline;
  13216. function getODCD4 : TBits_1; inline;
  13217. function getODCD5 : TBits_1; inline;
  13218. function getODCD6 : TBits_1; inline;
  13219. function getODCD7 : TBits_1; inline;
  13220. function getODCD8 : TBits_1; inline;
  13221. function getODCD9 : TBits_1; inline;
  13222. function getw : TBits_32; inline;
  13223. procedure setODCD0(thebits : TBits_1); inline;
  13224. procedure setODCD1(thebits : TBits_1); inline;
  13225. procedure setODCD10(thebits : TBits_1); inline;
  13226. procedure setODCD11(thebits : TBits_1); inline;
  13227. procedure setODCD12(thebits : TBits_1); inline;
  13228. procedure setODCD13(thebits : TBits_1); inline;
  13229. procedure setODCD14(thebits : TBits_1); inline;
  13230. procedure setODCD15(thebits : TBits_1); inline;
  13231. procedure setODCD2(thebits : TBits_1); inline;
  13232. procedure setODCD3(thebits : TBits_1); inline;
  13233. procedure setODCD4(thebits : TBits_1); inline;
  13234. procedure setODCD5(thebits : TBits_1); inline;
  13235. procedure setODCD6(thebits : TBits_1); inline;
  13236. procedure setODCD7(thebits : TBits_1); inline;
  13237. procedure setODCD8(thebits : TBits_1); inline;
  13238. procedure setODCD9(thebits : TBits_1); inline;
  13239. procedure setw(thebits : TBits_32); inline;
  13240. public
  13241. procedure clearODCD0; inline;
  13242. procedure clearODCD10; inline;
  13243. procedure clearODCD11; inline;
  13244. procedure clearODCD12; inline;
  13245. procedure clearODCD13; inline;
  13246. procedure clearODCD14; inline;
  13247. procedure clearODCD15; inline;
  13248. procedure clearODCD1; inline;
  13249. procedure clearODCD2; inline;
  13250. procedure clearODCD3; inline;
  13251. procedure clearODCD4; inline;
  13252. procedure clearODCD5; inline;
  13253. procedure clearODCD6; inline;
  13254. procedure clearODCD7; inline;
  13255. procedure clearODCD8; inline;
  13256. procedure clearODCD9; inline;
  13257. procedure setODCD0; inline;
  13258. procedure setODCD10; inline;
  13259. procedure setODCD11; inline;
  13260. procedure setODCD12; inline;
  13261. procedure setODCD13; inline;
  13262. procedure setODCD14; inline;
  13263. procedure setODCD15; inline;
  13264. procedure setODCD1; inline;
  13265. procedure setODCD2; inline;
  13266. procedure setODCD3; inline;
  13267. procedure setODCD4; inline;
  13268. procedure setODCD5; inline;
  13269. procedure setODCD6; inline;
  13270. procedure setODCD7; inline;
  13271. procedure setODCD8; inline;
  13272. procedure setODCD9; inline;
  13273. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  13274. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  13275. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  13276. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  13277. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  13278. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  13279. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  13280. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  13281. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  13282. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  13283. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  13284. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  13285. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  13286. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  13287. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  13288. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  13289. property w : TBits_32 read getw write setw;
  13290. end;
  13291. type
  13292. TPORTDRegisters = record
  13293. TRISDbits : TPORTD_TRISD;
  13294. TRISD : longWord;
  13295. TRISDCLR : longWord;
  13296. TRISDSET : longWord;
  13297. TRISDINV : longWord;
  13298. PORTDbits : TPORTD_PORTD;
  13299. PORTD : longWord;
  13300. PORTDCLR : longWord;
  13301. PORTDSET : longWord;
  13302. PORTDINV : longWord;
  13303. LATDbits : TPORTD_LATD;
  13304. LATD : longWord;
  13305. LATDCLR : longWord;
  13306. LATDSET : longWord;
  13307. LATDINV : longWord;
  13308. ODCDbits : TPORTD_ODCD;
  13309. ODCD : longWord;
  13310. ODCDCLR : longWord;
  13311. ODCDSET : longWord;
  13312. ODCDINV : longWord;
  13313. end;
  13314. TPORTE_TRISE = record
  13315. private
  13316. function getTRISE0 : TBits_1; inline;
  13317. function getTRISE1 : TBits_1; inline;
  13318. function getTRISE2 : TBits_1; inline;
  13319. function getTRISE3 : TBits_1; inline;
  13320. function getTRISE4 : TBits_1; inline;
  13321. function getTRISE5 : TBits_1; inline;
  13322. function getTRISE6 : TBits_1; inline;
  13323. function getTRISE7 : TBits_1; inline;
  13324. function getTRISE8 : TBits_1; inline;
  13325. function getTRISE9 : TBits_1; inline;
  13326. function getw : TBits_32; inline;
  13327. procedure setTRISE0(thebits : TBits_1); inline;
  13328. procedure setTRISE1(thebits : TBits_1); inline;
  13329. procedure setTRISE2(thebits : TBits_1); inline;
  13330. procedure setTRISE3(thebits : TBits_1); inline;
  13331. procedure setTRISE4(thebits : TBits_1); inline;
  13332. procedure setTRISE5(thebits : TBits_1); inline;
  13333. procedure setTRISE6(thebits : TBits_1); inline;
  13334. procedure setTRISE7(thebits : TBits_1); inline;
  13335. procedure setTRISE8(thebits : TBits_1); inline;
  13336. procedure setTRISE9(thebits : TBits_1); inline;
  13337. procedure setw(thebits : TBits_32); inline;
  13338. public
  13339. procedure clearTRISE0; inline;
  13340. procedure clearTRISE1; inline;
  13341. procedure clearTRISE2; inline;
  13342. procedure clearTRISE3; inline;
  13343. procedure clearTRISE4; inline;
  13344. procedure clearTRISE5; inline;
  13345. procedure clearTRISE6; inline;
  13346. procedure clearTRISE7; inline;
  13347. procedure clearTRISE8; inline;
  13348. procedure clearTRISE9; inline;
  13349. procedure setTRISE0; inline;
  13350. procedure setTRISE1; inline;
  13351. procedure setTRISE2; inline;
  13352. procedure setTRISE3; inline;
  13353. procedure setTRISE4; inline;
  13354. procedure setTRISE5; inline;
  13355. procedure setTRISE6; inline;
  13356. procedure setTRISE7; inline;
  13357. procedure setTRISE8; inline;
  13358. procedure setTRISE9; inline;
  13359. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  13360. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  13361. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  13362. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  13363. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  13364. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  13365. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  13366. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  13367. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  13368. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  13369. property w : TBits_32 read getw write setw;
  13370. end;
  13371. TPORTE_PORTE = record
  13372. private
  13373. function getRE0 : TBits_1; inline;
  13374. function getRE1 : TBits_1; inline;
  13375. function getRE2 : TBits_1; inline;
  13376. function getRE3 : TBits_1; inline;
  13377. function getRE4 : TBits_1; inline;
  13378. function getRE5 : TBits_1; inline;
  13379. function getRE6 : TBits_1; inline;
  13380. function getRE7 : TBits_1; inline;
  13381. function getRE8 : TBits_1; inline;
  13382. function getRE9 : TBits_1; inline;
  13383. function getw : TBits_32; inline;
  13384. procedure setRE0(thebits : TBits_1); inline;
  13385. procedure setRE1(thebits : TBits_1); inline;
  13386. procedure setRE2(thebits : TBits_1); inline;
  13387. procedure setRE3(thebits : TBits_1); inline;
  13388. procedure setRE4(thebits : TBits_1); inline;
  13389. procedure setRE5(thebits : TBits_1); inline;
  13390. procedure setRE6(thebits : TBits_1); inline;
  13391. procedure setRE7(thebits : TBits_1); inline;
  13392. procedure setRE8(thebits : TBits_1); inline;
  13393. procedure setRE9(thebits : TBits_1); inline;
  13394. procedure setw(thebits : TBits_32); inline;
  13395. public
  13396. procedure clearRE0; inline;
  13397. procedure clearRE1; inline;
  13398. procedure clearRE2; inline;
  13399. procedure clearRE3; inline;
  13400. procedure clearRE4; inline;
  13401. procedure clearRE5; inline;
  13402. procedure clearRE6; inline;
  13403. procedure clearRE7; inline;
  13404. procedure clearRE8; inline;
  13405. procedure clearRE9; inline;
  13406. procedure setRE0; inline;
  13407. procedure setRE1; inline;
  13408. procedure setRE2; inline;
  13409. procedure setRE3; inline;
  13410. procedure setRE4; inline;
  13411. procedure setRE5; inline;
  13412. procedure setRE6; inline;
  13413. procedure setRE7; inline;
  13414. procedure setRE8; inline;
  13415. procedure setRE9; inline;
  13416. property RE0 : TBits_1 read getRE0 write setRE0;
  13417. property RE1 : TBits_1 read getRE1 write setRE1;
  13418. property RE2 : TBits_1 read getRE2 write setRE2;
  13419. property RE3 : TBits_1 read getRE3 write setRE3;
  13420. property RE4 : TBits_1 read getRE4 write setRE4;
  13421. property RE5 : TBits_1 read getRE5 write setRE5;
  13422. property RE6 : TBits_1 read getRE6 write setRE6;
  13423. property RE7 : TBits_1 read getRE7 write setRE7;
  13424. property RE8 : TBits_1 read getRE8 write setRE8;
  13425. property RE9 : TBits_1 read getRE9 write setRE9;
  13426. property w : TBits_32 read getw write setw;
  13427. end;
  13428. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  13429. TPortE_bitset = set of TPortE_bits;
  13430. TPORTE_LATE = record
  13431. private
  13432. function getLATE0 : TBits_1; inline;
  13433. function getLATE1 : TBits_1; inline;
  13434. function getLATE2 : TBits_1; inline;
  13435. function getLATE3 : TBits_1; inline;
  13436. function getLATE4 : TBits_1; inline;
  13437. function getLATE5 : TBits_1; inline;
  13438. function getLATE6 : TBits_1; inline;
  13439. function getLATE7 : TBits_1; inline;
  13440. function getLATE8 : TBits_1; inline;
  13441. function getLATE9 : TBits_1; inline;
  13442. function getw : TBits_32; inline;
  13443. procedure setLATE0(thebits : TBits_1); inline;
  13444. procedure setLATE1(thebits : TBits_1); inline;
  13445. procedure setLATE2(thebits : TBits_1); inline;
  13446. procedure setLATE3(thebits : TBits_1); inline;
  13447. procedure setLATE4(thebits : TBits_1); inline;
  13448. procedure setLATE5(thebits : TBits_1); inline;
  13449. procedure setLATE6(thebits : TBits_1); inline;
  13450. procedure setLATE7(thebits : TBits_1); inline;
  13451. procedure setLATE8(thebits : TBits_1); inline;
  13452. procedure setLATE9(thebits : TBits_1); inline;
  13453. procedure setw(thebits : TBits_32); inline;
  13454. public
  13455. procedure clearLATE0; inline;
  13456. procedure clearLATE1; inline;
  13457. procedure clearLATE2; inline;
  13458. procedure clearLATE3; inline;
  13459. procedure clearLATE4; inline;
  13460. procedure clearLATE5; inline;
  13461. procedure clearLATE6; inline;
  13462. procedure clearLATE7; inline;
  13463. procedure clearLATE8; inline;
  13464. procedure clearLATE9; inline;
  13465. procedure setLATE0; inline;
  13466. procedure setLATE1; inline;
  13467. procedure setLATE2; inline;
  13468. procedure setLATE3; inline;
  13469. procedure setLATE4; inline;
  13470. procedure setLATE5; inline;
  13471. procedure setLATE6; inline;
  13472. procedure setLATE7; inline;
  13473. procedure setLATE8; inline;
  13474. procedure setLATE9; inline;
  13475. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  13476. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  13477. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  13478. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  13479. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  13480. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  13481. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  13482. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  13483. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  13484. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  13485. property w : TBits_32 read getw write setw;
  13486. end;
  13487. TPORTE_ODCE = record
  13488. private
  13489. function getODCE0 : TBits_1; inline;
  13490. function getODCE1 : TBits_1; inline;
  13491. function getODCE2 : TBits_1; inline;
  13492. function getODCE3 : TBits_1; inline;
  13493. function getODCE4 : TBits_1; inline;
  13494. function getODCE5 : TBits_1; inline;
  13495. function getODCE6 : TBits_1; inline;
  13496. function getODCE7 : TBits_1; inline;
  13497. function getODCE8 : TBits_1; inline;
  13498. function getODCE9 : TBits_1; inline;
  13499. function getw : TBits_32; inline;
  13500. procedure setODCE0(thebits : TBits_1); inline;
  13501. procedure setODCE1(thebits : TBits_1); inline;
  13502. procedure setODCE2(thebits : TBits_1); inline;
  13503. procedure setODCE3(thebits : TBits_1); inline;
  13504. procedure setODCE4(thebits : TBits_1); inline;
  13505. procedure setODCE5(thebits : TBits_1); inline;
  13506. procedure setODCE6(thebits : TBits_1); inline;
  13507. procedure setODCE7(thebits : TBits_1); inline;
  13508. procedure setODCE8(thebits : TBits_1); inline;
  13509. procedure setODCE9(thebits : TBits_1); inline;
  13510. procedure setw(thebits : TBits_32); inline;
  13511. public
  13512. procedure clearODCE0; inline;
  13513. procedure clearODCE1; inline;
  13514. procedure clearODCE2; inline;
  13515. procedure clearODCE3; inline;
  13516. procedure clearODCE4; inline;
  13517. procedure clearODCE5; inline;
  13518. procedure clearODCE6; inline;
  13519. procedure clearODCE7; inline;
  13520. procedure clearODCE8; inline;
  13521. procedure clearODCE9; inline;
  13522. procedure setODCE0; inline;
  13523. procedure setODCE1; inline;
  13524. procedure setODCE2; inline;
  13525. procedure setODCE3; inline;
  13526. procedure setODCE4; inline;
  13527. procedure setODCE5; inline;
  13528. procedure setODCE6; inline;
  13529. procedure setODCE7; inline;
  13530. procedure setODCE8; inline;
  13531. procedure setODCE9; inline;
  13532. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  13533. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  13534. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  13535. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  13536. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  13537. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  13538. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  13539. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  13540. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  13541. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  13542. property w : TBits_32 read getw write setw;
  13543. end;
  13544. type
  13545. TPORTERegisters = record
  13546. TRISEbits : TPORTE_TRISE;
  13547. TRISE : longWord;
  13548. TRISECLR : longWord;
  13549. TRISESET : longWord;
  13550. TRISEINV : longWord;
  13551. PORTEbits : TPORTE_PORTE;
  13552. PORTE : longWord;
  13553. PORTECLR : longWord;
  13554. PORTESET : longWord;
  13555. PORTEINV : longWord;
  13556. LATEbits : TPORTE_LATE;
  13557. LATE : longWord;
  13558. LATECLR : longWord;
  13559. LATESET : longWord;
  13560. LATEINV : longWord;
  13561. ODCEbits : TPORTE_ODCE;
  13562. ODCE : longWord;
  13563. ODCECLR : longWord;
  13564. ODCESET : longWord;
  13565. ODCEINV : longWord;
  13566. end;
  13567. TPORTF_TRISF = record
  13568. private
  13569. function getTRISF0 : TBits_1; inline;
  13570. function getTRISF1 : TBits_1; inline;
  13571. function getTRISF12 : TBits_1; inline;
  13572. function getTRISF13 : TBits_1; inline;
  13573. function getTRISF2 : TBits_1; inline;
  13574. function getTRISF3 : TBits_1; inline;
  13575. function getTRISF4 : TBits_1; inline;
  13576. function getTRISF5 : TBits_1; inline;
  13577. function getTRISF8 : TBits_1; inline;
  13578. function getw : TBits_32; inline;
  13579. procedure setTRISF0(thebits : TBits_1); inline;
  13580. procedure setTRISF1(thebits : TBits_1); inline;
  13581. procedure setTRISF12(thebits : TBits_1); inline;
  13582. procedure setTRISF13(thebits : TBits_1); inline;
  13583. procedure setTRISF2(thebits : TBits_1); inline;
  13584. procedure setTRISF3(thebits : TBits_1); inline;
  13585. procedure setTRISF4(thebits : TBits_1); inline;
  13586. procedure setTRISF5(thebits : TBits_1); inline;
  13587. procedure setTRISF8(thebits : TBits_1); inline;
  13588. procedure setw(thebits : TBits_32); inline;
  13589. public
  13590. procedure clearTRISF0; inline;
  13591. procedure clearTRISF12; inline;
  13592. procedure clearTRISF13; inline;
  13593. procedure clearTRISF1; inline;
  13594. procedure clearTRISF2; inline;
  13595. procedure clearTRISF3; inline;
  13596. procedure clearTRISF4; inline;
  13597. procedure clearTRISF5; inline;
  13598. procedure clearTRISF8; inline;
  13599. procedure setTRISF0; inline;
  13600. procedure setTRISF12; inline;
  13601. procedure setTRISF13; inline;
  13602. procedure setTRISF1; inline;
  13603. procedure setTRISF2; inline;
  13604. procedure setTRISF3; inline;
  13605. procedure setTRISF4; inline;
  13606. procedure setTRISF5; inline;
  13607. procedure setTRISF8; inline;
  13608. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  13609. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  13610. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  13611. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  13612. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  13613. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  13614. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  13615. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  13616. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  13617. property w : TBits_32 read getw write setw;
  13618. end;
  13619. TPORTF_PORTF = record
  13620. private
  13621. function getRF0 : TBits_1; inline;
  13622. function getRF1 : TBits_1; inline;
  13623. function getRF12 : TBits_1; inline;
  13624. function getRF13 : TBits_1; inline;
  13625. function getRF2 : TBits_1; inline;
  13626. function getRF3 : TBits_1; inline;
  13627. function getRF4 : TBits_1; inline;
  13628. function getRF5 : TBits_1; inline;
  13629. function getRF8 : TBits_1; inline;
  13630. function getw : TBits_32; inline;
  13631. procedure setRF0(thebits : TBits_1); inline;
  13632. procedure setRF1(thebits : TBits_1); inline;
  13633. procedure setRF12(thebits : TBits_1); inline;
  13634. procedure setRF13(thebits : TBits_1); inline;
  13635. procedure setRF2(thebits : TBits_1); inline;
  13636. procedure setRF3(thebits : TBits_1); inline;
  13637. procedure setRF4(thebits : TBits_1); inline;
  13638. procedure setRF5(thebits : TBits_1); inline;
  13639. procedure setRF8(thebits : TBits_1); inline;
  13640. procedure setw(thebits : TBits_32); inline;
  13641. public
  13642. procedure clearRF0; inline;
  13643. procedure clearRF12; inline;
  13644. procedure clearRF13; inline;
  13645. procedure clearRF1; inline;
  13646. procedure clearRF2; inline;
  13647. procedure clearRF3; inline;
  13648. procedure clearRF4; inline;
  13649. procedure clearRF5; inline;
  13650. procedure clearRF8; inline;
  13651. procedure setRF0; inline;
  13652. procedure setRF12; inline;
  13653. procedure setRF13; inline;
  13654. procedure setRF1; inline;
  13655. procedure setRF2; inline;
  13656. procedure setRF3; inline;
  13657. procedure setRF4; inline;
  13658. procedure setRF5; inline;
  13659. procedure setRF8; inline;
  13660. property RF0 : TBits_1 read getRF0 write setRF0;
  13661. property RF1 : TBits_1 read getRF1 write setRF1;
  13662. property RF12 : TBits_1 read getRF12 write setRF12;
  13663. property RF13 : TBits_1 read getRF13 write setRF13;
  13664. property RF2 : TBits_1 read getRF2 write setRF2;
  13665. property RF3 : TBits_1 read getRF3 write setRF3;
  13666. property RF4 : TBits_1 read getRF4 write setRF4;
  13667. property RF5 : TBits_1 read getRF5 write setRF5;
  13668. property RF8 : TBits_1 read getRF8 write setRF8;
  13669. property w : TBits_32 read getw write setw;
  13670. end;
  13671. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF8=8,RF12=12,RF13=13);
  13672. TPortF_bitset = set of TPortF_bits;
  13673. TPORTF_LATF = record
  13674. private
  13675. function getLATF0 : TBits_1; inline;
  13676. function getLATF1 : TBits_1; inline;
  13677. function getLATF12 : TBits_1; inline;
  13678. function getLATF13 : TBits_1; inline;
  13679. function getLATF2 : TBits_1; inline;
  13680. function getLATF3 : TBits_1; inline;
  13681. function getLATF4 : TBits_1; inline;
  13682. function getLATF5 : TBits_1; inline;
  13683. function getLATF8 : TBits_1; inline;
  13684. function getw : TBits_32; inline;
  13685. procedure setLATF0(thebits : TBits_1); inline;
  13686. procedure setLATF1(thebits : TBits_1); inline;
  13687. procedure setLATF12(thebits : TBits_1); inline;
  13688. procedure setLATF13(thebits : TBits_1); inline;
  13689. procedure setLATF2(thebits : TBits_1); inline;
  13690. procedure setLATF3(thebits : TBits_1); inline;
  13691. procedure setLATF4(thebits : TBits_1); inline;
  13692. procedure setLATF5(thebits : TBits_1); inline;
  13693. procedure setLATF8(thebits : TBits_1); inline;
  13694. procedure setw(thebits : TBits_32); inline;
  13695. public
  13696. procedure clearLATF0; inline;
  13697. procedure clearLATF12; inline;
  13698. procedure clearLATF13; inline;
  13699. procedure clearLATF1; inline;
  13700. procedure clearLATF2; inline;
  13701. procedure clearLATF3; inline;
  13702. procedure clearLATF4; inline;
  13703. procedure clearLATF5; inline;
  13704. procedure clearLATF8; inline;
  13705. procedure setLATF0; inline;
  13706. procedure setLATF12; inline;
  13707. procedure setLATF13; inline;
  13708. procedure setLATF1; inline;
  13709. procedure setLATF2; inline;
  13710. procedure setLATF3; inline;
  13711. procedure setLATF4; inline;
  13712. procedure setLATF5; inline;
  13713. procedure setLATF8; inline;
  13714. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  13715. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  13716. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  13717. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  13718. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  13719. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  13720. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  13721. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  13722. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  13723. property w : TBits_32 read getw write setw;
  13724. end;
  13725. TPORTF_ODCF = record
  13726. private
  13727. function getODCF0 : TBits_1; inline;
  13728. function getODCF1 : TBits_1; inline;
  13729. function getODCF12 : TBits_1; inline;
  13730. function getODCF13 : TBits_1; inline;
  13731. function getODCF2 : TBits_1; inline;
  13732. function getODCF3 : TBits_1; inline;
  13733. function getODCF4 : TBits_1; inline;
  13734. function getODCF5 : TBits_1; inline;
  13735. function getODCF8 : TBits_1; inline;
  13736. function getw : TBits_32; inline;
  13737. procedure setODCF0(thebits : TBits_1); inline;
  13738. procedure setODCF1(thebits : TBits_1); inline;
  13739. procedure setODCF12(thebits : TBits_1); inline;
  13740. procedure setODCF13(thebits : TBits_1); inline;
  13741. procedure setODCF2(thebits : TBits_1); inline;
  13742. procedure setODCF3(thebits : TBits_1); inline;
  13743. procedure setODCF4(thebits : TBits_1); inline;
  13744. procedure setODCF5(thebits : TBits_1); inline;
  13745. procedure setODCF8(thebits : TBits_1); inline;
  13746. procedure setw(thebits : TBits_32); inline;
  13747. public
  13748. procedure clearODCF0; inline;
  13749. procedure clearODCF12; inline;
  13750. procedure clearODCF13; inline;
  13751. procedure clearODCF1; inline;
  13752. procedure clearODCF2; inline;
  13753. procedure clearODCF3; inline;
  13754. procedure clearODCF4; inline;
  13755. procedure clearODCF5; inline;
  13756. procedure clearODCF8; inline;
  13757. procedure setODCF0; inline;
  13758. procedure setODCF12; inline;
  13759. procedure setODCF13; inline;
  13760. procedure setODCF1; inline;
  13761. procedure setODCF2; inline;
  13762. procedure setODCF3; inline;
  13763. procedure setODCF4; inline;
  13764. procedure setODCF5; inline;
  13765. procedure setODCF8; inline;
  13766. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  13767. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  13768. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  13769. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  13770. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  13771. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  13772. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  13773. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  13774. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  13775. property w : TBits_32 read getw write setw;
  13776. end;
  13777. type
  13778. TPORTFRegisters = record
  13779. TRISFbits : TPORTF_TRISF;
  13780. TRISF : longWord;
  13781. TRISFCLR : longWord;
  13782. TRISFSET : longWord;
  13783. TRISFINV : longWord;
  13784. PORTFbits : TPORTF_PORTF;
  13785. PORTF : longWord;
  13786. PORTFCLR : longWord;
  13787. PORTFSET : longWord;
  13788. PORTFINV : longWord;
  13789. LATFbits : TPORTF_LATF;
  13790. LATF : longWord;
  13791. LATFCLR : longWord;
  13792. LATFSET : longWord;
  13793. LATFINV : longWord;
  13794. ODCFbits : TPORTF_ODCF;
  13795. ODCF : longWord;
  13796. ODCFCLR : longWord;
  13797. ODCFSET : longWord;
  13798. ODCFINV : longWord;
  13799. end;
  13800. TPORTG_TRISG = record
  13801. private
  13802. function getTRISG0 : TBits_1; inline;
  13803. function getTRISG1 : TBits_1; inline;
  13804. function getTRISG12 : TBits_1; inline;
  13805. function getTRISG13 : TBits_1; inline;
  13806. function getTRISG14 : TBits_1; inline;
  13807. function getTRISG15 : TBits_1; inline;
  13808. function getTRISG2 : TBits_1; inline;
  13809. function getTRISG3 : TBits_1; inline;
  13810. function getTRISG6 : TBits_1; inline;
  13811. function getTRISG7 : TBits_1; inline;
  13812. function getTRISG8 : TBits_1; inline;
  13813. function getTRISG9 : TBits_1; inline;
  13814. function getw : TBits_32; inline;
  13815. procedure setTRISG0(thebits : TBits_1); inline;
  13816. procedure setTRISG1(thebits : TBits_1); inline;
  13817. procedure setTRISG12(thebits : TBits_1); inline;
  13818. procedure setTRISG13(thebits : TBits_1); inline;
  13819. procedure setTRISG14(thebits : TBits_1); inline;
  13820. procedure setTRISG15(thebits : TBits_1); inline;
  13821. procedure setTRISG2(thebits : TBits_1); inline;
  13822. procedure setTRISG3(thebits : TBits_1); inline;
  13823. procedure setTRISG6(thebits : TBits_1); inline;
  13824. procedure setTRISG7(thebits : TBits_1); inline;
  13825. procedure setTRISG8(thebits : TBits_1); inline;
  13826. procedure setTRISG9(thebits : TBits_1); inline;
  13827. procedure setw(thebits : TBits_32); inline;
  13828. public
  13829. procedure clearTRISG0; inline;
  13830. procedure clearTRISG12; inline;
  13831. procedure clearTRISG13; inline;
  13832. procedure clearTRISG14; inline;
  13833. procedure clearTRISG15; inline;
  13834. procedure clearTRISG1; inline;
  13835. procedure clearTRISG2; inline;
  13836. procedure clearTRISG3; inline;
  13837. procedure clearTRISG6; inline;
  13838. procedure clearTRISG7; inline;
  13839. procedure clearTRISG8; inline;
  13840. procedure clearTRISG9; inline;
  13841. procedure setTRISG0; inline;
  13842. procedure setTRISG12; inline;
  13843. procedure setTRISG13; inline;
  13844. procedure setTRISG14; inline;
  13845. procedure setTRISG15; inline;
  13846. procedure setTRISG1; inline;
  13847. procedure setTRISG2; inline;
  13848. procedure setTRISG3; inline;
  13849. procedure setTRISG6; inline;
  13850. procedure setTRISG7; inline;
  13851. procedure setTRISG8; inline;
  13852. procedure setTRISG9; inline;
  13853. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  13854. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  13855. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  13856. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  13857. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  13858. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  13859. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  13860. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  13861. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  13862. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  13863. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  13864. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  13865. property w : TBits_32 read getw write setw;
  13866. end;
  13867. TPORTG_PORTG = record
  13868. private
  13869. function getRG0 : TBits_1; inline;
  13870. function getRG1 : TBits_1; inline;
  13871. function getRG12 : TBits_1; inline;
  13872. function getRG13 : TBits_1; inline;
  13873. function getRG14 : TBits_1; inline;
  13874. function getRG15 : TBits_1; inline;
  13875. function getRG2 : TBits_1; inline;
  13876. function getRG3 : TBits_1; inline;
  13877. function getRG6 : TBits_1; inline;
  13878. function getRG7 : TBits_1; inline;
  13879. function getRG8 : TBits_1; inline;
  13880. function getRG9 : TBits_1; inline;
  13881. function getw : TBits_32; inline;
  13882. procedure setRG0(thebits : TBits_1); inline;
  13883. procedure setRG1(thebits : TBits_1); inline;
  13884. procedure setRG12(thebits : TBits_1); inline;
  13885. procedure setRG13(thebits : TBits_1); inline;
  13886. procedure setRG14(thebits : TBits_1); inline;
  13887. procedure setRG15(thebits : TBits_1); inline;
  13888. procedure setRG2(thebits : TBits_1); inline;
  13889. procedure setRG3(thebits : TBits_1); inline;
  13890. procedure setRG6(thebits : TBits_1); inline;
  13891. procedure setRG7(thebits : TBits_1); inline;
  13892. procedure setRG8(thebits : TBits_1); inline;
  13893. procedure setRG9(thebits : TBits_1); inline;
  13894. procedure setw(thebits : TBits_32); inline;
  13895. public
  13896. procedure clearRG0; inline;
  13897. procedure clearRG12; inline;
  13898. procedure clearRG13; inline;
  13899. procedure clearRG14; inline;
  13900. procedure clearRG15; inline;
  13901. procedure clearRG1; inline;
  13902. procedure clearRG2; inline;
  13903. procedure clearRG3; inline;
  13904. procedure clearRG6; inline;
  13905. procedure clearRG7; inline;
  13906. procedure clearRG8; inline;
  13907. procedure clearRG9; inline;
  13908. procedure setRG0; inline;
  13909. procedure setRG12; inline;
  13910. procedure setRG13; inline;
  13911. procedure setRG14; inline;
  13912. procedure setRG15; inline;
  13913. procedure setRG1; inline;
  13914. procedure setRG2; inline;
  13915. procedure setRG3; inline;
  13916. procedure setRG6; inline;
  13917. procedure setRG7; inline;
  13918. procedure setRG8; inline;
  13919. procedure setRG9; inline;
  13920. property RG0 : TBits_1 read getRG0 write setRG0;
  13921. property RG1 : TBits_1 read getRG1 write setRG1;
  13922. property RG12 : TBits_1 read getRG12 write setRG12;
  13923. property RG13 : TBits_1 read getRG13 write setRG13;
  13924. property RG14 : TBits_1 read getRG14 write setRG14;
  13925. property RG15 : TBits_1 read getRG15 write setRG15;
  13926. property RG2 : TBits_1 read getRG2 write setRG2;
  13927. property RG3 : TBits_1 read getRG3 write setRG3;
  13928. property RG6 : TBits_1 read getRG6 write setRG6;
  13929. property RG7 : TBits_1 read getRG7 write setRG7;
  13930. property RG8 : TBits_1 read getRG8 write setRG8;
  13931. property RG9 : TBits_1 read getRG9 write setRG9;
  13932. property w : TBits_32 read getw write setw;
  13933. end;
  13934. 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);
  13935. TPortG_bitset = set of TPortG_bits;
  13936. TPORTG_LATG = record
  13937. private
  13938. function getLATG0 : TBits_1; inline;
  13939. function getLATG1 : TBits_1; inline;
  13940. function getLATG12 : TBits_1; inline;
  13941. function getLATG13 : TBits_1; inline;
  13942. function getLATG14 : TBits_1; inline;
  13943. function getLATG15 : TBits_1; inline;
  13944. function getLATG2 : TBits_1; inline;
  13945. function getLATG3 : TBits_1; inline;
  13946. function getLATG6 : TBits_1; inline;
  13947. function getLATG7 : TBits_1; inline;
  13948. function getLATG8 : TBits_1; inline;
  13949. function getLATG9 : TBits_1; inline;
  13950. function getw : TBits_32; inline;
  13951. procedure setLATG0(thebits : TBits_1); inline;
  13952. procedure setLATG1(thebits : TBits_1); inline;
  13953. procedure setLATG12(thebits : TBits_1); inline;
  13954. procedure setLATG13(thebits : TBits_1); inline;
  13955. procedure setLATG14(thebits : TBits_1); inline;
  13956. procedure setLATG15(thebits : TBits_1); inline;
  13957. procedure setLATG2(thebits : TBits_1); inline;
  13958. procedure setLATG3(thebits : TBits_1); inline;
  13959. procedure setLATG6(thebits : TBits_1); inline;
  13960. procedure setLATG7(thebits : TBits_1); inline;
  13961. procedure setLATG8(thebits : TBits_1); inline;
  13962. procedure setLATG9(thebits : TBits_1); inline;
  13963. procedure setw(thebits : TBits_32); inline;
  13964. public
  13965. procedure clearLATG0; inline;
  13966. procedure clearLATG12; inline;
  13967. procedure clearLATG13; inline;
  13968. procedure clearLATG14; inline;
  13969. procedure clearLATG15; inline;
  13970. procedure clearLATG1; inline;
  13971. procedure clearLATG2; inline;
  13972. procedure clearLATG3; inline;
  13973. procedure clearLATG6; inline;
  13974. procedure clearLATG7; inline;
  13975. procedure clearLATG8; inline;
  13976. procedure clearLATG9; inline;
  13977. procedure setLATG0; inline;
  13978. procedure setLATG12; inline;
  13979. procedure setLATG13; inline;
  13980. procedure setLATG14; inline;
  13981. procedure setLATG15; inline;
  13982. procedure setLATG1; inline;
  13983. procedure setLATG2; inline;
  13984. procedure setLATG3; inline;
  13985. procedure setLATG6; inline;
  13986. procedure setLATG7; inline;
  13987. procedure setLATG8; inline;
  13988. procedure setLATG9; inline;
  13989. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  13990. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  13991. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  13992. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  13993. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  13994. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  13995. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  13996. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  13997. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  13998. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  13999. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  14000. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  14001. property w : TBits_32 read getw write setw;
  14002. end;
  14003. TPORTG_ODCG = record
  14004. private
  14005. function getODCG0 : TBits_1; inline;
  14006. function getODCG1 : TBits_1; inline;
  14007. function getODCG12 : TBits_1; inline;
  14008. function getODCG13 : TBits_1; inline;
  14009. function getODCG14 : TBits_1; inline;
  14010. function getODCG15 : TBits_1; inline;
  14011. function getODCG2 : TBits_1; inline;
  14012. function getODCG3 : TBits_1; inline;
  14013. function getODCG6 : TBits_1; inline;
  14014. function getODCG7 : TBits_1; inline;
  14015. function getODCG8 : TBits_1; inline;
  14016. function getODCG9 : TBits_1; inline;
  14017. function getw : TBits_32; inline;
  14018. procedure setODCG0(thebits : TBits_1); inline;
  14019. procedure setODCG1(thebits : TBits_1); inline;
  14020. procedure setODCG12(thebits : TBits_1); inline;
  14021. procedure setODCG13(thebits : TBits_1); inline;
  14022. procedure setODCG14(thebits : TBits_1); inline;
  14023. procedure setODCG15(thebits : TBits_1); inline;
  14024. procedure setODCG2(thebits : TBits_1); inline;
  14025. procedure setODCG3(thebits : TBits_1); inline;
  14026. procedure setODCG6(thebits : TBits_1); inline;
  14027. procedure setODCG7(thebits : TBits_1); inline;
  14028. procedure setODCG8(thebits : TBits_1); inline;
  14029. procedure setODCG9(thebits : TBits_1); inline;
  14030. procedure setw(thebits : TBits_32); inline;
  14031. public
  14032. procedure clearODCG0; inline;
  14033. procedure clearODCG12; inline;
  14034. procedure clearODCG13; inline;
  14035. procedure clearODCG14; inline;
  14036. procedure clearODCG15; inline;
  14037. procedure clearODCG1; inline;
  14038. procedure clearODCG2; inline;
  14039. procedure clearODCG3; inline;
  14040. procedure clearODCG6; inline;
  14041. procedure clearODCG7; inline;
  14042. procedure clearODCG8; inline;
  14043. procedure clearODCG9; inline;
  14044. procedure setODCG0; inline;
  14045. procedure setODCG12; inline;
  14046. procedure setODCG13; inline;
  14047. procedure setODCG14; inline;
  14048. procedure setODCG15; inline;
  14049. procedure setODCG1; inline;
  14050. procedure setODCG2; inline;
  14051. procedure setODCG3; inline;
  14052. procedure setODCG6; inline;
  14053. procedure setODCG7; inline;
  14054. procedure setODCG8; inline;
  14055. procedure setODCG9; inline;
  14056. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  14057. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  14058. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  14059. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  14060. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  14061. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  14062. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  14063. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  14064. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  14065. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  14066. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  14067. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  14068. property w : TBits_32 read getw write setw;
  14069. end;
  14070. TPORTG_CNCON = record
  14071. private
  14072. function getON : TBits_1; inline;
  14073. function getSIDL : TBits_1; inline;
  14074. function getw : TBits_32; inline;
  14075. procedure setON(thebits : TBits_1); inline;
  14076. procedure setSIDL(thebits : TBits_1); inline;
  14077. procedure setw(thebits : TBits_32); inline;
  14078. public
  14079. procedure clearON; inline;
  14080. procedure clearSIDL; inline;
  14081. procedure setON; inline;
  14082. procedure setSIDL; inline;
  14083. property ON : TBits_1 read getON write setON;
  14084. property SIDL : TBits_1 read getSIDL write setSIDL;
  14085. property w : TBits_32 read getw write setw;
  14086. end;
  14087. TPORTG_CNEN = record
  14088. private
  14089. function getCNEN0 : TBits_1; inline;
  14090. function getCNEN1 : TBits_1; inline;
  14091. function getCNEN10 : TBits_1; inline;
  14092. function getCNEN11 : TBits_1; inline;
  14093. function getCNEN12 : TBits_1; inline;
  14094. function getCNEN13 : TBits_1; inline;
  14095. function getCNEN14 : TBits_1; inline;
  14096. function getCNEN15 : TBits_1; inline;
  14097. function getCNEN16 : TBits_1; inline;
  14098. function getCNEN17 : TBits_1; inline;
  14099. function getCNEN18 : TBits_1; inline;
  14100. function getCNEN19 : TBits_1; inline;
  14101. function getCNEN2 : TBits_1; inline;
  14102. function getCNEN20 : TBits_1; inline;
  14103. function getCNEN21 : TBits_1; inline;
  14104. function getCNEN3 : TBits_1; inline;
  14105. function getCNEN4 : TBits_1; inline;
  14106. function getCNEN5 : TBits_1; inline;
  14107. function getCNEN6 : TBits_1; inline;
  14108. function getCNEN7 : TBits_1; inline;
  14109. function getCNEN8 : TBits_1; inline;
  14110. function getCNEN9 : TBits_1; inline;
  14111. function getw : TBits_32; inline;
  14112. procedure setCNEN0(thebits : TBits_1); inline;
  14113. procedure setCNEN1(thebits : TBits_1); inline;
  14114. procedure setCNEN10(thebits : TBits_1); inline;
  14115. procedure setCNEN11(thebits : TBits_1); inline;
  14116. procedure setCNEN12(thebits : TBits_1); inline;
  14117. procedure setCNEN13(thebits : TBits_1); inline;
  14118. procedure setCNEN14(thebits : TBits_1); inline;
  14119. procedure setCNEN15(thebits : TBits_1); inline;
  14120. procedure setCNEN16(thebits : TBits_1); inline;
  14121. procedure setCNEN17(thebits : TBits_1); inline;
  14122. procedure setCNEN18(thebits : TBits_1); inline;
  14123. procedure setCNEN19(thebits : TBits_1); inline;
  14124. procedure setCNEN2(thebits : TBits_1); inline;
  14125. procedure setCNEN20(thebits : TBits_1); inline;
  14126. procedure setCNEN21(thebits : TBits_1); inline;
  14127. procedure setCNEN3(thebits : TBits_1); inline;
  14128. procedure setCNEN4(thebits : TBits_1); inline;
  14129. procedure setCNEN5(thebits : TBits_1); inline;
  14130. procedure setCNEN6(thebits : TBits_1); inline;
  14131. procedure setCNEN7(thebits : TBits_1); inline;
  14132. procedure setCNEN8(thebits : TBits_1); inline;
  14133. procedure setCNEN9(thebits : TBits_1); inline;
  14134. procedure setw(thebits : TBits_32); inline;
  14135. public
  14136. procedure clearCNEN0; inline;
  14137. procedure clearCNEN10; inline;
  14138. procedure clearCNEN11; inline;
  14139. procedure clearCNEN12; inline;
  14140. procedure clearCNEN13; inline;
  14141. procedure clearCNEN14; inline;
  14142. procedure clearCNEN15; inline;
  14143. procedure clearCNEN16; inline;
  14144. procedure clearCNEN17; inline;
  14145. procedure clearCNEN18; inline;
  14146. procedure clearCNEN19; inline;
  14147. procedure clearCNEN1; inline;
  14148. procedure clearCNEN20; inline;
  14149. procedure clearCNEN21; inline;
  14150. procedure clearCNEN2; inline;
  14151. procedure clearCNEN3; inline;
  14152. procedure clearCNEN4; inline;
  14153. procedure clearCNEN5; inline;
  14154. procedure clearCNEN6; inline;
  14155. procedure clearCNEN7; inline;
  14156. procedure clearCNEN8; inline;
  14157. procedure clearCNEN9; inline;
  14158. procedure setCNEN0; inline;
  14159. procedure setCNEN10; inline;
  14160. procedure setCNEN11; inline;
  14161. procedure setCNEN12; inline;
  14162. procedure setCNEN13; inline;
  14163. procedure setCNEN14; inline;
  14164. procedure setCNEN15; inline;
  14165. procedure setCNEN16; inline;
  14166. procedure setCNEN17; inline;
  14167. procedure setCNEN18; inline;
  14168. procedure setCNEN19; inline;
  14169. procedure setCNEN1; inline;
  14170. procedure setCNEN20; inline;
  14171. procedure setCNEN21; inline;
  14172. procedure setCNEN2; inline;
  14173. procedure setCNEN3; inline;
  14174. procedure setCNEN4; inline;
  14175. procedure setCNEN5; inline;
  14176. procedure setCNEN6; inline;
  14177. procedure setCNEN7; inline;
  14178. procedure setCNEN8; inline;
  14179. procedure setCNEN9; inline;
  14180. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  14181. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  14182. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  14183. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  14184. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  14185. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  14186. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  14187. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  14188. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  14189. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  14190. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  14191. property CNEN19 : TBits_1 read getCNEN19 write setCNEN19;
  14192. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  14193. property CNEN20 : TBits_1 read getCNEN20 write setCNEN20;
  14194. property CNEN21 : TBits_1 read getCNEN21 write setCNEN21;
  14195. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  14196. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  14197. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  14198. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  14199. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  14200. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  14201. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  14202. property w : TBits_32 read getw write setw;
  14203. end;
  14204. TPORTG_CNPUE = record
  14205. private
  14206. function getCNPUE0 : TBits_1; inline;
  14207. function getCNPUE1 : TBits_1; inline;
  14208. function getCNPUE10 : TBits_1; inline;
  14209. function getCNPUE11 : TBits_1; inline;
  14210. function getCNPUE12 : TBits_1; inline;
  14211. function getCNPUE13 : TBits_1; inline;
  14212. function getCNPUE14 : TBits_1; inline;
  14213. function getCNPUE15 : TBits_1; inline;
  14214. function getCNPUE16 : TBits_1; inline;
  14215. function getCNPUE17 : TBits_1; inline;
  14216. function getCNPUE18 : TBits_1; inline;
  14217. function getCNPUE19 : TBits_1; inline;
  14218. function getCNPUE2 : TBits_1; inline;
  14219. function getCNPUE20 : TBits_1; inline;
  14220. function getCNPUE21 : TBits_1; inline;
  14221. function getCNPUE3 : TBits_1; inline;
  14222. function getCNPUE4 : TBits_1; inline;
  14223. function getCNPUE5 : TBits_1; inline;
  14224. function getCNPUE6 : TBits_1; inline;
  14225. function getCNPUE7 : TBits_1; inline;
  14226. function getCNPUE8 : TBits_1; inline;
  14227. function getCNPUE9 : TBits_1; inline;
  14228. function getw : TBits_32; inline;
  14229. procedure setCNPUE0(thebits : TBits_1); inline;
  14230. procedure setCNPUE1(thebits : TBits_1); inline;
  14231. procedure setCNPUE10(thebits : TBits_1); inline;
  14232. procedure setCNPUE11(thebits : TBits_1); inline;
  14233. procedure setCNPUE12(thebits : TBits_1); inline;
  14234. procedure setCNPUE13(thebits : TBits_1); inline;
  14235. procedure setCNPUE14(thebits : TBits_1); inline;
  14236. procedure setCNPUE15(thebits : TBits_1); inline;
  14237. procedure setCNPUE16(thebits : TBits_1); inline;
  14238. procedure setCNPUE17(thebits : TBits_1); inline;
  14239. procedure setCNPUE18(thebits : TBits_1); inline;
  14240. procedure setCNPUE19(thebits : TBits_1); inline;
  14241. procedure setCNPUE2(thebits : TBits_1); inline;
  14242. procedure setCNPUE20(thebits : TBits_1); inline;
  14243. procedure setCNPUE21(thebits : TBits_1); inline;
  14244. procedure setCNPUE3(thebits : TBits_1); inline;
  14245. procedure setCNPUE4(thebits : TBits_1); inline;
  14246. procedure setCNPUE5(thebits : TBits_1); inline;
  14247. procedure setCNPUE6(thebits : TBits_1); inline;
  14248. procedure setCNPUE7(thebits : TBits_1); inline;
  14249. procedure setCNPUE8(thebits : TBits_1); inline;
  14250. procedure setCNPUE9(thebits : TBits_1); inline;
  14251. procedure setw(thebits : TBits_32); inline;
  14252. public
  14253. procedure clearCNPUE0; inline;
  14254. procedure clearCNPUE10; inline;
  14255. procedure clearCNPUE11; inline;
  14256. procedure clearCNPUE12; inline;
  14257. procedure clearCNPUE13; inline;
  14258. procedure clearCNPUE14; inline;
  14259. procedure clearCNPUE15; inline;
  14260. procedure clearCNPUE16; inline;
  14261. procedure clearCNPUE17; inline;
  14262. procedure clearCNPUE18; inline;
  14263. procedure clearCNPUE19; inline;
  14264. procedure clearCNPUE1; inline;
  14265. procedure clearCNPUE20; inline;
  14266. procedure clearCNPUE21; inline;
  14267. procedure clearCNPUE2; inline;
  14268. procedure clearCNPUE3; inline;
  14269. procedure clearCNPUE4; inline;
  14270. procedure clearCNPUE5; inline;
  14271. procedure clearCNPUE6; inline;
  14272. procedure clearCNPUE7; inline;
  14273. procedure clearCNPUE8; inline;
  14274. procedure clearCNPUE9; inline;
  14275. procedure setCNPUE0; inline;
  14276. procedure setCNPUE10; inline;
  14277. procedure setCNPUE11; inline;
  14278. procedure setCNPUE12; inline;
  14279. procedure setCNPUE13; inline;
  14280. procedure setCNPUE14; inline;
  14281. procedure setCNPUE15; inline;
  14282. procedure setCNPUE16; inline;
  14283. procedure setCNPUE17; inline;
  14284. procedure setCNPUE18; inline;
  14285. procedure setCNPUE19; inline;
  14286. procedure setCNPUE1; inline;
  14287. procedure setCNPUE20; inline;
  14288. procedure setCNPUE21; inline;
  14289. procedure setCNPUE2; inline;
  14290. procedure setCNPUE3; inline;
  14291. procedure setCNPUE4; inline;
  14292. procedure setCNPUE5; inline;
  14293. procedure setCNPUE6; inline;
  14294. procedure setCNPUE7; inline;
  14295. procedure setCNPUE8; inline;
  14296. procedure setCNPUE9; inline;
  14297. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  14298. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  14299. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  14300. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  14301. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  14302. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  14303. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  14304. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  14305. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  14306. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  14307. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  14308. property CNPUE19 : TBits_1 read getCNPUE19 write setCNPUE19;
  14309. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  14310. property CNPUE20 : TBits_1 read getCNPUE20 write setCNPUE20;
  14311. property CNPUE21 : TBits_1 read getCNPUE21 write setCNPUE21;
  14312. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  14313. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  14314. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  14315. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  14316. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  14317. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  14318. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  14319. property w : TBits_32 read getw write setw;
  14320. end;
  14321. type
  14322. TPORTGRegisters = record
  14323. TRISGbits : TPORTG_TRISG;
  14324. TRISG : longWord;
  14325. TRISGCLR : longWord;
  14326. TRISGSET : longWord;
  14327. TRISGINV : longWord;
  14328. PORTGbits : TPORTG_PORTG;
  14329. PORTG : longWord;
  14330. PORTGCLR : longWord;
  14331. PORTGSET : longWord;
  14332. PORTGINV : longWord;
  14333. LATGbits : TPORTG_LATG;
  14334. LATG : longWord;
  14335. LATGCLR : longWord;
  14336. LATGSET : longWord;
  14337. LATGINV : longWord;
  14338. ODCGbits : TPORTG_ODCG;
  14339. ODCG : longWord;
  14340. ODCGCLR : longWord;
  14341. ODCGSET : longWord;
  14342. ODCGINV : longWord;
  14343. CNCONbits : TPORTG_CNCON;
  14344. CNCON : longWord;
  14345. CNCONCLR : longWord;
  14346. CNCONSET : longWord;
  14347. CNCONINV : longWord;
  14348. CNENbits : TPORTG_CNEN;
  14349. CNEN : longWord;
  14350. CNENCLR : longWord;
  14351. CNENSET : longWord;
  14352. CNENINV : longWord;
  14353. CNPUEbits : TPORTG_CNPUE;
  14354. CNPUE : longWord;
  14355. CNPUECLR : longWord;
  14356. CNPUESET : longWord;
  14357. CNPUEINV : longWord;
  14358. end;
  14359. TETH_ETHCON1 = record
  14360. private
  14361. function getAUTOFC : TBits_1; inline;
  14362. function getBUFCDEC : TBits_1; inline;
  14363. function getMANFC : TBits_1; inline;
  14364. function getON : TBits_1; inline;
  14365. function getPTV : TBits_16; inline;
  14366. function getRXEN : TBits_1; inline;
  14367. function getSIDL : TBits_1; inline;
  14368. function getTXRTS : TBits_1; inline;
  14369. function getw : TBits_32; inline;
  14370. procedure setAUTOFC(thebits : TBits_1); inline;
  14371. procedure setBUFCDEC(thebits : TBits_1); inline;
  14372. procedure setMANFC(thebits : TBits_1); inline;
  14373. procedure setON(thebits : TBits_1); inline;
  14374. procedure setPTV(thebits : TBits_16); inline;
  14375. procedure setRXEN(thebits : TBits_1); inline;
  14376. procedure setSIDL(thebits : TBits_1); inline;
  14377. procedure setTXRTS(thebits : TBits_1); inline;
  14378. procedure setw(thebits : TBits_32); inline;
  14379. public
  14380. procedure clearAUTOFC; inline;
  14381. procedure clearBUFCDEC; inline;
  14382. procedure clearMANFC; inline;
  14383. procedure clearON; inline;
  14384. procedure clearRXEN; inline;
  14385. procedure clearSIDL; inline;
  14386. procedure clearTXRTS; inline;
  14387. procedure setAUTOFC; inline;
  14388. procedure setBUFCDEC; inline;
  14389. procedure setMANFC; inline;
  14390. procedure setON; inline;
  14391. procedure setRXEN; inline;
  14392. procedure setSIDL; inline;
  14393. procedure setTXRTS; inline;
  14394. property AUTOFC : TBits_1 read getAUTOFC write setAUTOFC;
  14395. property BUFCDEC : TBits_1 read getBUFCDEC write setBUFCDEC;
  14396. property MANFC : TBits_1 read getMANFC write setMANFC;
  14397. property ON : TBits_1 read getON write setON;
  14398. property PTV : TBits_16 read getPTV write setPTV;
  14399. property RXEN : TBits_1 read getRXEN write setRXEN;
  14400. property SIDL : TBits_1 read getSIDL write setSIDL;
  14401. property TXRTS : TBits_1 read getTXRTS write setTXRTS;
  14402. property w : TBits_32 read getw write setw;
  14403. end;
  14404. TETH_ETHCON2 = record
  14405. private
  14406. function getRXBUF_SZ : TBits_7; inline;
  14407. function getw : TBits_32; inline;
  14408. procedure setRXBUF_SZ(thebits : TBits_7); inline;
  14409. procedure setw(thebits : TBits_32); inline;
  14410. public
  14411. property RXBUF_SZ : TBits_7 read getRXBUF_SZ write setRXBUF_SZ;
  14412. property w : TBits_32 read getw write setw;
  14413. end;
  14414. TETH_ETHTXST = record
  14415. private
  14416. function getTXSTADDR : TBits_30; inline;
  14417. function getw : TBits_32; inline;
  14418. procedure setTXSTADDR(thebits : TBits_30); inline;
  14419. procedure setw(thebits : TBits_32); inline;
  14420. public
  14421. property TXSTADDR : TBits_30 read getTXSTADDR write setTXSTADDR;
  14422. property w : TBits_32 read getw write setw;
  14423. end;
  14424. TETH_ETHRXST = record
  14425. private
  14426. function getRXSTADDR : TBits_30; inline;
  14427. function getw : TBits_32; inline;
  14428. procedure setRXSTADDR(thebits : TBits_30); inline;
  14429. procedure setw(thebits : TBits_32); inline;
  14430. public
  14431. property RXSTADDR : TBits_30 read getRXSTADDR write setRXSTADDR;
  14432. property w : TBits_32 read getw write setw;
  14433. end;
  14434. TETH_ETHHT0 = record
  14435. private
  14436. function getHTLOWER : TBits_32; inline;
  14437. function getw : TBits_32; inline;
  14438. procedure setHTLOWER(thebits : TBits_32); inline;
  14439. procedure setw(thebits : TBits_32); inline;
  14440. public
  14441. property HTLOWER : TBits_32 read getHTLOWER write setHTLOWER;
  14442. property w : TBits_32 read getw write setw;
  14443. end;
  14444. TETH_ETHHT1 = record
  14445. private
  14446. function getHTUPPER : TBits_32; inline;
  14447. function getw : TBits_32; inline;
  14448. procedure setHTUPPER(thebits : TBits_32); inline;
  14449. procedure setw(thebits : TBits_32); inline;
  14450. public
  14451. property HTUPPER : TBits_32 read getHTUPPER write setHTUPPER;
  14452. property w : TBits_32 read getw write setw;
  14453. end;
  14454. TETH_ETHPMM0 = record
  14455. private
  14456. function getPMMLOWER : TBits_32; inline;
  14457. function getw : TBits_32; inline;
  14458. procedure setPMMLOWER(thebits : TBits_32); inline;
  14459. procedure setw(thebits : TBits_32); inline;
  14460. public
  14461. property PMMLOWER : TBits_32 read getPMMLOWER write setPMMLOWER;
  14462. property w : TBits_32 read getw write setw;
  14463. end;
  14464. TETH_ETHPMM1 = record
  14465. private
  14466. function getPMMUPPER : TBits_32; inline;
  14467. function getw : TBits_32; inline;
  14468. procedure setPMMUPPER(thebits : TBits_32); inline;
  14469. procedure setw(thebits : TBits_32); inline;
  14470. public
  14471. property PMMUPPER : TBits_32 read getPMMUPPER write setPMMUPPER;
  14472. property w : TBits_32 read getw write setw;
  14473. end;
  14474. TETH_ETHPMCS = record
  14475. private
  14476. function getPMCS : TBits_16; inline;
  14477. function getw : TBits_32; inline;
  14478. procedure setPMCS(thebits : TBits_16); inline;
  14479. procedure setw(thebits : TBits_32); inline;
  14480. public
  14481. property PMCS : TBits_16 read getPMCS write setPMCS;
  14482. property w : TBits_32 read getw write setw;
  14483. end;
  14484. TETH_ETHPMO = record
  14485. private
  14486. function getPMO : TBits_16; inline;
  14487. function getw : TBits_32; inline;
  14488. procedure setPMO(thebits : TBits_16); inline;
  14489. procedure setw(thebits : TBits_32); inline;
  14490. public
  14491. property PMO : TBits_16 read getPMO write setPMO;
  14492. property w : TBits_32 read getw write setw;
  14493. end;
  14494. TETH_ETHRXFC = record
  14495. private
  14496. function getBCEN : TBits_1; inline;
  14497. function getCRCERREN : TBits_1; inline;
  14498. function getCRCOKEN : TBits_1; inline;
  14499. function getHTEN : TBits_1; inline;
  14500. function getMCEN : TBits_1; inline;
  14501. function getMPEN : TBits_1; inline;
  14502. function getNOTMEEN : TBits_1; inline;
  14503. function getNOTPM : TBits_1; inline;
  14504. function getPMMODE : TBits_4; inline;
  14505. function getRUNTEN : TBits_1; inline;
  14506. function getRUNTERREN : TBits_1; inline;
  14507. function getUCEN : TBits_1; inline;
  14508. function getw : TBits_32; inline;
  14509. procedure setBCEN(thebits : TBits_1); inline;
  14510. procedure setCRCERREN(thebits : TBits_1); inline;
  14511. procedure setCRCOKEN(thebits : TBits_1); inline;
  14512. procedure setHTEN(thebits : TBits_1); inline;
  14513. procedure setMCEN(thebits : TBits_1); inline;
  14514. procedure setMPEN(thebits : TBits_1); inline;
  14515. procedure setNOTMEEN(thebits : TBits_1); inline;
  14516. procedure setNOTPM(thebits : TBits_1); inline;
  14517. procedure setPMMODE(thebits : TBits_4); inline;
  14518. procedure setRUNTEN(thebits : TBits_1); inline;
  14519. procedure setRUNTERREN(thebits : TBits_1); inline;
  14520. procedure setUCEN(thebits : TBits_1); inline;
  14521. procedure setw(thebits : TBits_32); inline;
  14522. public
  14523. procedure clearBCEN; inline;
  14524. procedure clearCRCERREN; inline;
  14525. procedure clearCRCOKEN; inline;
  14526. procedure clearHTEN; inline;
  14527. procedure clearMCEN; inline;
  14528. procedure clearMPEN; inline;
  14529. procedure clearNOTMEEN; inline;
  14530. procedure clearNOTPM; inline;
  14531. procedure clearRUNTEN; inline;
  14532. procedure clearRUNTERREN; inline;
  14533. procedure clearUCEN; inline;
  14534. procedure setBCEN; inline;
  14535. procedure setCRCERREN; inline;
  14536. procedure setCRCOKEN; inline;
  14537. procedure setHTEN; inline;
  14538. procedure setMCEN; inline;
  14539. procedure setMPEN; inline;
  14540. procedure setNOTMEEN; inline;
  14541. procedure setNOTPM; inline;
  14542. procedure setRUNTEN; inline;
  14543. procedure setRUNTERREN; inline;
  14544. procedure setUCEN; inline;
  14545. property BCEN : TBits_1 read getBCEN write setBCEN;
  14546. property CRCERREN : TBits_1 read getCRCERREN write setCRCERREN;
  14547. property CRCOKEN : TBits_1 read getCRCOKEN write setCRCOKEN;
  14548. property HTEN : TBits_1 read getHTEN write setHTEN;
  14549. property MCEN : TBits_1 read getMCEN write setMCEN;
  14550. property MPEN : TBits_1 read getMPEN write setMPEN;
  14551. property NOTMEEN : TBits_1 read getNOTMEEN write setNOTMEEN;
  14552. property NOTPM : TBits_1 read getNOTPM write setNOTPM;
  14553. property PMMODE : TBits_4 read getPMMODE write setPMMODE;
  14554. property RUNTEN : TBits_1 read getRUNTEN write setRUNTEN;
  14555. property RUNTERREN : TBits_1 read getRUNTERREN write setRUNTERREN;
  14556. property UCEN : TBits_1 read getUCEN write setUCEN;
  14557. property w : TBits_32 read getw write setw;
  14558. end;
  14559. TETH_ETHRXWM = record
  14560. private
  14561. function getRXEWM : TBits_8; inline;
  14562. function getRXFWM : TBits_8; inline;
  14563. function getw : TBits_32; inline;
  14564. procedure setRXEWM(thebits : TBits_8); inline;
  14565. procedure setRXFWM(thebits : TBits_8); inline;
  14566. procedure setw(thebits : TBits_32); inline;
  14567. public
  14568. property RXEWM : TBits_8 read getRXEWM write setRXEWM;
  14569. property RXFWM : TBits_8 read getRXFWM write setRXFWM;
  14570. property w : TBits_32 read getw write setw;
  14571. end;
  14572. TETH_ETHIEN = record
  14573. private
  14574. function getEWMARKIE : TBits_1; inline;
  14575. function getFWMARKIE : TBits_1; inline;
  14576. function getPKTPENDIE : TBits_1; inline;
  14577. function getRXACTIE : TBits_1; inline;
  14578. function getRXBUFNAIE : TBits_1; inline;
  14579. function getRXBUSEIE : TBits_1; inline;
  14580. function getRXDONEIE : TBits_1; inline;
  14581. function getRXOVFLWIE : TBits_1; inline;
  14582. function getTXABORTIE : TBits_1; inline;
  14583. function getTXBUSEIE : TBits_1; inline;
  14584. function getTXDONEIE : TBits_1; inline;
  14585. function getw : TBits_32; inline;
  14586. procedure setEWMARKIE(thebits : TBits_1); inline;
  14587. procedure setFWMARKIE(thebits : TBits_1); inline;
  14588. procedure setPKTPENDIE(thebits : TBits_1); inline;
  14589. procedure setRXACTIE(thebits : TBits_1); inline;
  14590. procedure setRXBUFNAIE(thebits : TBits_1); inline;
  14591. procedure setRXBUSEIE(thebits : TBits_1); inline;
  14592. procedure setRXDONEIE(thebits : TBits_1); inline;
  14593. procedure setRXOVFLWIE(thebits : TBits_1); inline;
  14594. procedure setTXABORTIE(thebits : TBits_1); inline;
  14595. procedure setTXBUSEIE(thebits : TBits_1); inline;
  14596. procedure setTXDONEIE(thebits : TBits_1); inline;
  14597. procedure setw(thebits : TBits_32); inline;
  14598. public
  14599. procedure clearEWMARKIE; inline;
  14600. procedure clearFWMARKIE; inline;
  14601. procedure clearPKTPENDIE; inline;
  14602. procedure clearRXACTIE; inline;
  14603. procedure clearRXBUFNAIE; inline;
  14604. procedure clearRXBUSEIE; inline;
  14605. procedure clearRXDONEIE; inline;
  14606. procedure clearRXOVFLWIE; inline;
  14607. procedure clearTXABORTIE; inline;
  14608. procedure clearTXBUSEIE; inline;
  14609. procedure clearTXDONEIE; inline;
  14610. procedure setEWMARKIE; inline;
  14611. procedure setFWMARKIE; inline;
  14612. procedure setPKTPENDIE; inline;
  14613. procedure setRXACTIE; inline;
  14614. procedure setRXBUFNAIE; inline;
  14615. procedure setRXBUSEIE; inline;
  14616. procedure setRXDONEIE; inline;
  14617. procedure setRXOVFLWIE; inline;
  14618. procedure setTXABORTIE; inline;
  14619. procedure setTXBUSEIE; inline;
  14620. procedure setTXDONEIE; inline;
  14621. property EWMARKIE : TBits_1 read getEWMARKIE write setEWMARKIE;
  14622. property FWMARKIE : TBits_1 read getFWMARKIE write setFWMARKIE;
  14623. property PKTPENDIE : TBits_1 read getPKTPENDIE write setPKTPENDIE;
  14624. property RXACTIE : TBits_1 read getRXACTIE write setRXACTIE;
  14625. property RXBUFNAIE : TBits_1 read getRXBUFNAIE write setRXBUFNAIE;
  14626. property RXBUSEIE : TBits_1 read getRXBUSEIE write setRXBUSEIE;
  14627. property RXDONEIE : TBits_1 read getRXDONEIE write setRXDONEIE;
  14628. property RXOVFLWIE : TBits_1 read getRXOVFLWIE write setRXOVFLWIE;
  14629. property TXABORTIE : TBits_1 read getTXABORTIE write setTXABORTIE;
  14630. property TXBUSEIE : TBits_1 read getTXBUSEIE write setTXBUSEIE;
  14631. property TXDONEIE : TBits_1 read getTXDONEIE write setTXDONEIE;
  14632. property w : TBits_32 read getw write setw;
  14633. end;
  14634. TETH_ETHIRQ = record
  14635. private
  14636. function getEWMARK : TBits_1; inline;
  14637. function getFWMARK : TBits_1; inline;
  14638. function getPKTPEND : TBits_1; inline;
  14639. function getRXACT : TBits_1; inline;
  14640. function getRXBUFNA : TBits_1; inline;
  14641. function getRXBUSE : TBits_1; inline;
  14642. function getRXDONE : TBits_1; inline;
  14643. function getRXOVFLW : TBits_1; inline;
  14644. function getTXABORT : TBits_1; inline;
  14645. function getTXBUSE : TBits_1; inline;
  14646. function getTXDONE : TBits_1; inline;
  14647. function getw : TBits_32; inline;
  14648. procedure setEWMARK(thebits : TBits_1); inline;
  14649. procedure setFWMARK(thebits : TBits_1); inline;
  14650. procedure setPKTPEND(thebits : TBits_1); inline;
  14651. procedure setRXACT(thebits : TBits_1); inline;
  14652. procedure setRXBUFNA(thebits : TBits_1); inline;
  14653. procedure setRXBUSE(thebits : TBits_1); inline;
  14654. procedure setRXDONE(thebits : TBits_1); inline;
  14655. procedure setRXOVFLW(thebits : TBits_1); inline;
  14656. procedure setTXABORT(thebits : TBits_1); inline;
  14657. procedure setTXBUSE(thebits : TBits_1); inline;
  14658. procedure setTXDONE(thebits : TBits_1); inline;
  14659. procedure setw(thebits : TBits_32); inline;
  14660. public
  14661. procedure clearEWMARK; inline;
  14662. procedure clearFWMARK; inline;
  14663. procedure clearPKTPEND; inline;
  14664. procedure clearRXACT; inline;
  14665. procedure clearRXBUFNA; inline;
  14666. procedure clearRXBUSE; inline;
  14667. procedure clearRXDONE; inline;
  14668. procedure clearRXOVFLW; inline;
  14669. procedure clearTXABORT; inline;
  14670. procedure clearTXBUSE; inline;
  14671. procedure clearTXDONE; inline;
  14672. procedure setEWMARK; inline;
  14673. procedure setFWMARK; inline;
  14674. procedure setPKTPEND; inline;
  14675. procedure setRXACT; inline;
  14676. procedure setRXBUFNA; inline;
  14677. procedure setRXBUSE; inline;
  14678. procedure setRXDONE; inline;
  14679. procedure setRXOVFLW; inline;
  14680. procedure setTXABORT; inline;
  14681. procedure setTXBUSE; inline;
  14682. procedure setTXDONE; inline;
  14683. property EWMARK : TBits_1 read getEWMARK write setEWMARK;
  14684. property FWMARK : TBits_1 read getFWMARK write setFWMARK;
  14685. property PKTPEND : TBits_1 read getPKTPEND write setPKTPEND;
  14686. property RXACT : TBits_1 read getRXACT write setRXACT;
  14687. property RXBUFNA : TBits_1 read getRXBUFNA write setRXBUFNA;
  14688. property RXBUSE : TBits_1 read getRXBUSE write setRXBUSE;
  14689. property RXDONE : TBits_1 read getRXDONE write setRXDONE;
  14690. property RXOVFLW : TBits_1 read getRXOVFLW write setRXOVFLW;
  14691. property TXABORT : TBits_1 read getTXABORT write setTXABORT;
  14692. property TXBUSE : TBits_1 read getTXBUSE write setTXBUSE;
  14693. property TXDONE : TBits_1 read getTXDONE write setTXDONE;
  14694. property w : TBits_32 read getw write setw;
  14695. end;
  14696. TETH_ETHSTAT = record
  14697. private
  14698. function getBUFCNT : TBits_8; inline;
  14699. function getBUSY : TBits_1; inline;
  14700. function getETHBUSY : TBits_1; inline;
  14701. function getRXBUSY : TBits_1; inline;
  14702. function getTXBUSY : TBits_1; inline;
  14703. function getw : TBits_32; inline;
  14704. procedure setBUFCNT(thebits : TBits_8); inline;
  14705. procedure setBUSY(thebits : TBits_1); inline;
  14706. procedure setETHBUSY(thebits : TBits_1); inline;
  14707. procedure setRXBUSY(thebits : TBits_1); inline;
  14708. procedure setTXBUSY(thebits : TBits_1); inline;
  14709. procedure setw(thebits : TBits_32); inline;
  14710. public
  14711. procedure clearBUSY; inline;
  14712. procedure clearETHBUSY; inline;
  14713. procedure clearRXBUSY; inline;
  14714. procedure clearTXBUSY; inline;
  14715. procedure setBUSY; inline;
  14716. procedure setETHBUSY; inline;
  14717. procedure setRXBUSY; inline;
  14718. procedure setTXBUSY; inline;
  14719. property BUFCNT : TBits_8 read getBUFCNT write setBUFCNT;
  14720. property BUSY : TBits_1 read getBUSY write setBUSY;
  14721. property ETHBUSY : TBits_1 read getETHBUSY write setETHBUSY;
  14722. property RXBUSY : TBits_1 read getRXBUSY write setRXBUSY;
  14723. property TXBUSY : TBits_1 read getTXBUSY write setTXBUSY;
  14724. property w : TBits_32 read getw write setw;
  14725. end;
  14726. TETH_ETHRXOVFLOW = record
  14727. private
  14728. function getRXOVFLWCNT : TBits_16; inline;
  14729. function getw : TBits_32; inline;
  14730. procedure setRXOVFLWCNT(thebits : TBits_16); inline;
  14731. procedure setw(thebits : TBits_32); inline;
  14732. public
  14733. property RXOVFLWCNT : TBits_16 read getRXOVFLWCNT write setRXOVFLWCNT;
  14734. property w : TBits_32 read getw write setw;
  14735. end;
  14736. TETH_ETHFRMTXOK = record
  14737. private
  14738. function getFRMTXOKCNT : TBits_16; inline;
  14739. function getw : TBits_32; inline;
  14740. procedure setFRMTXOKCNT(thebits : TBits_16); inline;
  14741. procedure setw(thebits : TBits_32); inline;
  14742. public
  14743. property FRMTXOKCNT : TBits_16 read getFRMTXOKCNT write setFRMTXOKCNT;
  14744. property w : TBits_32 read getw write setw;
  14745. end;
  14746. TETH_ETHSCOLFRM = record
  14747. private
  14748. function getSCOLFRMCNT : TBits_16; inline;
  14749. function getw : TBits_32; inline;
  14750. procedure setSCOLFRMCNT(thebits : TBits_16); inline;
  14751. procedure setw(thebits : TBits_32); inline;
  14752. public
  14753. property SCOLFRMCNT : TBits_16 read getSCOLFRMCNT write setSCOLFRMCNT;
  14754. property w : TBits_32 read getw write setw;
  14755. end;
  14756. TETH_ETHMCOLFRM = record
  14757. private
  14758. function getMCOLFRMCNT : TBits_16; inline;
  14759. function getMCOLFRM_CNT : TBits_16; inline;
  14760. function getw : TBits_32; inline;
  14761. procedure setMCOLFRMCNT(thebits : TBits_16); inline;
  14762. procedure setMCOLFRM_CNT(thebits : TBits_16); inline;
  14763. procedure setw(thebits : TBits_32); inline;
  14764. public
  14765. property MCOLFRMCNT : TBits_16 read getMCOLFRMCNT write setMCOLFRMCNT;
  14766. property MCOLFRM_CNT : TBits_16 read getMCOLFRM_CNT write setMCOLFRM_CNT;
  14767. property w : TBits_32 read getw write setw;
  14768. end;
  14769. TETH_ETHFRMRXOK = record
  14770. private
  14771. function getFRMRXOKCNT : TBits_16; inline;
  14772. function getw : TBits_32; inline;
  14773. procedure setFRMRXOKCNT(thebits : TBits_16); inline;
  14774. procedure setw(thebits : TBits_32); inline;
  14775. public
  14776. property FRMRXOKCNT : TBits_16 read getFRMRXOKCNT write setFRMRXOKCNT;
  14777. property w : TBits_32 read getw write setw;
  14778. end;
  14779. TETH_ETHFCSERR = record
  14780. private
  14781. function getFCSERRCNT : TBits_16; inline;
  14782. function getw : TBits_32; inline;
  14783. procedure setFCSERRCNT(thebits : TBits_16); inline;
  14784. procedure setw(thebits : TBits_32); inline;
  14785. public
  14786. property FCSERRCNT : TBits_16 read getFCSERRCNT write setFCSERRCNT;
  14787. property w : TBits_32 read getw write setw;
  14788. end;
  14789. TETH_ETHALGNERR = record
  14790. private
  14791. function getALGNERRCNT : TBits_16; inline;
  14792. function getw : TBits_32; inline;
  14793. procedure setALGNERRCNT(thebits : TBits_16); inline;
  14794. procedure setw(thebits : TBits_32); inline;
  14795. public
  14796. property ALGNERRCNT : TBits_16 read getALGNERRCNT write setALGNERRCNT;
  14797. property w : TBits_32 read getw write setw;
  14798. end;
  14799. TETH_EMAC1CFG1 = record
  14800. private
  14801. function getLOOPBACK : TBits_1; inline;
  14802. function getPASSALL : TBits_1; inline;
  14803. function getRESETRFUN : TBits_1; inline;
  14804. function getRESETRMCS : TBits_1; inline;
  14805. function getRESETTFUN : TBits_1; inline;
  14806. function getRESETTMCS : TBits_1; inline;
  14807. function getRXENABLE : TBits_1; inline;
  14808. function getRXPAUSE : TBits_1; inline;
  14809. function getSIMRESET : TBits_1; inline;
  14810. function getSOFTRESET : TBits_1; inline;
  14811. function getTXPAUSE : TBits_1; inline;
  14812. function getw : TBits_32; inline;
  14813. procedure setLOOPBACK(thebits : TBits_1); inline;
  14814. procedure setPASSALL(thebits : TBits_1); inline;
  14815. procedure setRESETRFUN(thebits : TBits_1); inline;
  14816. procedure setRESETRMCS(thebits : TBits_1); inline;
  14817. procedure setRESETTFUN(thebits : TBits_1); inline;
  14818. procedure setRESETTMCS(thebits : TBits_1); inline;
  14819. procedure setRXENABLE(thebits : TBits_1); inline;
  14820. procedure setRXPAUSE(thebits : TBits_1); inline;
  14821. procedure setSIMRESET(thebits : TBits_1); inline;
  14822. procedure setSOFTRESET(thebits : TBits_1); inline;
  14823. procedure setTXPAUSE(thebits : TBits_1); inline;
  14824. procedure setw(thebits : TBits_32); inline;
  14825. public
  14826. procedure clearLOOPBACK; inline;
  14827. procedure clearPASSALL; inline;
  14828. procedure clearRESETRFUN; inline;
  14829. procedure clearRESETRMCS; inline;
  14830. procedure clearRESETTFUN; inline;
  14831. procedure clearRESETTMCS; inline;
  14832. procedure clearRXENABLE; inline;
  14833. procedure clearRXPAUSE; inline;
  14834. procedure clearSIMRESET; inline;
  14835. procedure clearSOFTRESET; inline;
  14836. procedure clearTXPAUSE; inline;
  14837. procedure setLOOPBACK; inline;
  14838. procedure setPASSALL; inline;
  14839. procedure setRESETRFUN; inline;
  14840. procedure setRESETRMCS; inline;
  14841. procedure setRESETTFUN; inline;
  14842. procedure setRESETTMCS; inline;
  14843. procedure setRXENABLE; inline;
  14844. procedure setRXPAUSE; inline;
  14845. procedure setSIMRESET; inline;
  14846. procedure setSOFTRESET; inline;
  14847. procedure setTXPAUSE; inline;
  14848. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  14849. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  14850. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  14851. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  14852. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  14853. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  14854. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  14855. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  14856. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  14857. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  14858. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  14859. property w : TBits_32 read getw write setw;
  14860. end;
  14861. TETH_EMACxCFG1 = record
  14862. private
  14863. function getLOOPBACK : TBits_1; inline;
  14864. function getPASSALL : TBits_1; inline;
  14865. function getRESETRFUN : TBits_1; inline;
  14866. function getRESETRMCS : TBits_1; inline;
  14867. function getRESETTFUN : TBits_1; inline;
  14868. function getRESETTMCS : TBits_1; inline;
  14869. function getRXENABLE : TBits_1; inline;
  14870. function getRXPAUSE : TBits_1; inline;
  14871. function getSIMRESET : TBits_1; inline;
  14872. function getSOFTRESET : TBits_1; inline;
  14873. function getTXPAUSE : TBits_1; inline;
  14874. function getw : TBits_32; inline;
  14875. procedure setLOOPBACK(thebits : TBits_1); inline;
  14876. procedure setPASSALL(thebits : TBits_1); inline;
  14877. procedure setRESETRFUN(thebits : TBits_1); inline;
  14878. procedure setRESETRMCS(thebits : TBits_1); inline;
  14879. procedure setRESETTFUN(thebits : TBits_1); inline;
  14880. procedure setRESETTMCS(thebits : TBits_1); inline;
  14881. procedure setRXENABLE(thebits : TBits_1); inline;
  14882. procedure setRXPAUSE(thebits : TBits_1); inline;
  14883. procedure setSIMRESET(thebits : TBits_1); inline;
  14884. procedure setSOFTRESET(thebits : TBits_1); inline;
  14885. procedure setTXPAUSE(thebits : TBits_1); inline;
  14886. procedure setw(thebits : TBits_32); inline;
  14887. public
  14888. procedure clearLOOPBACK; inline;
  14889. procedure clearPASSALL; inline;
  14890. procedure clearRESETRFUN; inline;
  14891. procedure clearRESETRMCS; inline;
  14892. procedure clearRESETTFUN; inline;
  14893. procedure clearRESETTMCS; inline;
  14894. procedure clearRXENABLE; inline;
  14895. procedure clearRXPAUSE; inline;
  14896. procedure clearSIMRESET; inline;
  14897. procedure clearSOFTRESET; inline;
  14898. procedure clearTXPAUSE; inline;
  14899. procedure setLOOPBACK; inline;
  14900. procedure setPASSALL; inline;
  14901. procedure setRESETRFUN; inline;
  14902. procedure setRESETRMCS; inline;
  14903. procedure setRESETTFUN; inline;
  14904. procedure setRESETTMCS; inline;
  14905. procedure setRXENABLE; inline;
  14906. procedure setRXPAUSE; inline;
  14907. procedure setSIMRESET; inline;
  14908. procedure setSOFTRESET; inline;
  14909. procedure setTXPAUSE; inline;
  14910. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  14911. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  14912. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  14913. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  14914. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  14915. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  14916. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  14917. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  14918. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  14919. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  14920. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  14921. property w : TBits_32 read getw write setw;
  14922. end;
  14923. TETH_EMAC1CFG2 = record
  14924. private
  14925. function getAUTOPAD : TBits_1; inline;
  14926. function getBPNOBKOFF : TBits_1; inline;
  14927. function getCRCENABLE : TBits_1; inline;
  14928. function getDELAYCRC : TBits_1; inline;
  14929. function getEXCESSDFR : TBits_1; inline;
  14930. function getFULLDPLX : TBits_1; inline;
  14931. function getHUGEFRM : TBits_1; inline;
  14932. function getLENGTHCK : TBits_1; inline;
  14933. function getLONGPRE : TBits_1; inline;
  14934. function getNOBKOFF : TBits_1; inline;
  14935. function getPADENABLE : TBits_1; inline;
  14936. function getPUREPRE : TBits_1; inline;
  14937. function getVLANPAD : TBits_1; inline;
  14938. function getw : TBits_32; inline;
  14939. procedure setAUTOPAD(thebits : TBits_1); inline;
  14940. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  14941. procedure setCRCENABLE(thebits : TBits_1); inline;
  14942. procedure setDELAYCRC(thebits : TBits_1); inline;
  14943. procedure setEXCESSDFR(thebits : TBits_1); inline;
  14944. procedure setFULLDPLX(thebits : TBits_1); inline;
  14945. procedure setHUGEFRM(thebits : TBits_1); inline;
  14946. procedure setLENGTHCK(thebits : TBits_1); inline;
  14947. procedure setLONGPRE(thebits : TBits_1); inline;
  14948. procedure setNOBKOFF(thebits : TBits_1); inline;
  14949. procedure setPADENABLE(thebits : TBits_1); inline;
  14950. procedure setPUREPRE(thebits : TBits_1); inline;
  14951. procedure setVLANPAD(thebits : TBits_1); inline;
  14952. procedure setw(thebits : TBits_32); inline;
  14953. public
  14954. procedure clearAUTOPAD; inline;
  14955. procedure clearBPNOBKOFF; inline;
  14956. procedure clearCRCENABLE; inline;
  14957. procedure clearDELAYCRC; inline;
  14958. procedure clearEXCESSDFR; inline;
  14959. procedure clearFULLDPLX; inline;
  14960. procedure clearHUGEFRM; inline;
  14961. procedure clearLENGTHCK; inline;
  14962. procedure clearLONGPRE; inline;
  14963. procedure clearNOBKOFF; inline;
  14964. procedure clearPADENABLE; inline;
  14965. procedure clearPUREPRE; inline;
  14966. procedure clearVLANPAD; inline;
  14967. procedure setAUTOPAD; inline;
  14968. procedure setBPNOBKOFF; inline;
  14969. procedure setCRCENABLE; inline;
  14970. procedure setDELAYCRC; inline;
  14971. procedure setEXCESSDFR; inline;
  14972. procedure setFULLDPLX; inline;
  14973. procedure setHUGEFRM; inline;
  14974. procedure setLENGTHCK; inline;
  14975. procedure setLONGPRE; inline;
  14976. procedure setNOBKOFF; inline;
  14977. procedure setPADENABLE; inline;
  14978. procedure setPUREPRE; inline;
  14979. procedure setVLANPAD; inline;
  14980. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  14981. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  14982. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  14983. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  14984. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  14985. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  14986. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  14987. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  14988. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  14989. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  14990. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  14991. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  14992. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  14993. property w : TBits_32 read getw write setw;
  14994. end;
  14995. TETH_EMACxCFG2 = record
  14996. private
  14997. function getAUTOPAD : TBits_1; inline;
  14998. function getBPNOBKOFF : TBits_1; inline;
  14999. function getCRCENABLE : TBits_1; inline;
  15000. function getDELAYCRC : TBits_1; inline;
  15001. function getEXCESSDFR : TBits_1; inline;
  15002. function getFULLDPLX : TBits_1; inline;
  15003. function getHUGEFRM : TBits_1; inline;
  15004. function getLENGTHCK : TBits_1; inline;
  15005. function getLONGPRE : TBits_1; inline;
  15006. function getNOBKOFF : TBits_1; inline;
  15007. function getPADENABLE : TBits_1; inline;
  15008. function getPUREPRE : TBits_1; inline;
  15009. function getVLANPAD : TBits_1; inline;
  15010. function getw : TBits_32; inline;
  15011. procedure setAUTOPAD(thebits : TBits_1); inline;
  15012. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  15013. procedure setCRCENABLE(thebits : TBits_1); inline;
  15014. procedure setDELAYCRC(thebits : TBits_1); inline;
  15015. procedure setEXCESSDFR(thebits : TBits_1); inline;
  15016. procedure setFULLDPLX(thebits : TBits_1); inline;
  15017. procedure setHUGEFRM(thebits : TBits_1); inline;
  15018. procedure setLENGTHCK(thebits : TBits_1); inline;
  15019. procedure setLONGPRE(thebits : TBits_1); inline;
  15020. procedure setNOBKOFF(thebits : TBits_1); inline;
  15021. procedure setPADENABLE(thebits : TBits_1); inline;
  15022. procedure setPUREPRE(thebits : TBits_1); inline;
  15023. procedure setVLANPAD(thebits : TBits_1); inline;
  15024. procedure setw(thebits : TBits_32); inline;
  15025. public
  15026. procedure clearAUTOPAD; inline;
  15027. procedure clearBPNOBKOFF; inline;
  15028. procedure clearCRCENABLE; inline;
  15029. procedure clearDELAYCRC; inline;
  15030. procedure clearEXCESSDFR; inline;
  15031. procedure clearFULLDPLX; inline;
  15032. procedure clearHUGEFRM; inline;
  15033. procedure clearLENGTHCK; inline;
  15034. procedure clearLONGPRE; inline;
  15035. procedure clearNOBKOFF; inline;
  15036. procedure clearPADENABLE; inline;
  15037. procedure clearPUREPRE; inline;
  15038. procedure clearVLANPAD; inline;
  15039. procedure setAUTOPAD; inline;
  15040. procedure setBPNOBKOFF; inline;
  15041. procedure setCRCENABLE; inline;
  15042. procedure setDELAYCRC; inline;
  15043. procedure setEXCESSDFR; inline;
  15044. procedure setFULLDPLX; inline;
  15045. procedure setHUGEFRM; inline;
  15046. procedure setLENGTHCK; inline;
  15047. procedure setLONGPRE; inline;
  15048. procedure setNOBKOFF; inline;
  15049. procedure setPADENABLE; inline;
  15050. procedure setPUREPRE; inline;
  15051. procedure setVLANPAD; inline;
  15052. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  15053. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  15054. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  15055. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  15056. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  15057. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  15058. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  15059. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  15060. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  15061. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  15062. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  15063. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  15064. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  15065. property w : TBits_32 read getw write setw;
  15066. end;
  15067. TETH_EMAC1IPGT = record
  15068. private
  15069. function getB2BIPKTGP : TBits_7; inline;
  15070. function getw : TBits_32; inline;
  15071. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  15072. procedure setw(thebits : TBits_32); inline;
  15073. public
  15074. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  15075. property w : TBits_32 read getw write setw;
  15076. end;
  15077. TETH_EMACxIPGT = record
  15078. private
  15079. function getB2BIPKTGP : TBits_7; inline;
  15080. function getw : TBits_32; inline;
  15081. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  15082. procedure setw(thebits : TBits_32); inline;
  15083. public
  15084. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  15085. property w : TBits_32 read getw write setw;
  15086. end;
  15087. TETH_EMAC1IPGR = record
  15088. private
  15089. function getNB2BIPKTGP1 : TBits_7; inline;
  15090. function getNB2BIPKTGP2 : TBits_7; inline;
  15091. function getw : TBits_32; inline;
  15092. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  15093. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  15094. procedure setw(thebits : TBits_32); inline;
  15095. public
  15096. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  15097. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  15098. property w : TBits_32 read getw write setw;
  15099. end;
  15100. TETH_EMACxIPGR = record
  15101. private
  15102. function getNB2BIPKTGP1 : TBits_7; inline;
  15103. function getNB2BIPKTGP2 : TBits_7; inline;
  15104. function getw : TBits_32; inline;
  15105. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  15106. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  15107. procedure setw(thebits : TBits_32); inline;
  15108. public
  15109. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  15110. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  15111. property w : TBits_32 read getw write setw;
  15112. end;
  15113. TETH_EMAC1CLRT = record
  15114. private
  15115. function getCWINDOW : TBits_6; inline;
  15116. function getRETX : TBits_4; inline;
  15117. function getw : TBits_32; inline;
  15118. procedure setCWINDOW(thebits : TBits_6); inline;
  15119. procedure setRETX(thebits : TBits_4); inline;
  15120. procedure setw(thebits : TBits_32); inline;
  15121. public
  15122. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  15123. property RETX : TBits_4 read getRETX write setRETX;
  15124. property w : TBits_32 read getw write setw;
  15125. end;
  15126. TETH_EMACxCLRT = record
  15127. private
  15128. function getCWINDOW : TBits_6; inline;
  15129. function getRETX : TBits_4; inline;
  15130. function getw : TBits_32; inline;
  15131. procedure setCWINDOW(thebits : TBits_6); inline;
  15132. procedure setRETX(thebits : TBits_4); inline;
  15133. procedure setw(thebits : TBits_32); inline;
  15134. public
  15135. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  15136. property RETX : TBits_4 read getRETX write setRETX;
  15137. property w : TBits_32 read getw write setw;
  15138. end;
  15139. TETH_EMAC1MAXF = record
  15140. private
  15141. function getMACMAXF : TBits_16; inline;
  15142. function getw : TBits_32; inline;
  15143. procedure setMACMAXF(thebits : TBits_16); inline;
  15144. procedure setw(thebits : TBits_32); inline;
  15145. public
  15146. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  15147. property w : TBits_32 read getw write setw;
  15148. end;
  15149. TETH_EMACxMAXF = record
  15150. private
  15151. function getMACMAXF : TBits_16; inline;
  15152. function getw : TBits_32; inline;
  15153. procedure setMACMAXF(thebits : TBits_16); inline;
  15154. procedure setw(thebits : TBits_32); inline;
  15155. public
  15156. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  15157. property w : TBits_32 read getw write setw;
  15158. end;
  15159. TETH_EMAC1SUPP = record
  15160. private
  15161. function getRESETRMII : TBits_1; inline;
  15162. function getSPEEDRMII : TBits_1; inline;
  15163. function getw : TBits_32; inline;
  15164. procedure setRESETRMII(thebits : TBits_1); inline;
  15165. procedure setSPEEDRMII(thebits : TBits_1); inline;
  15166. procedure setw(thebits : TBits_32); inline;
  15167. public
  15168. procedure clearRESETRMII; inline;
  15169. procedure clearSPEEDRMII; inline;
  15170. procedure setRESETRMII; inline;
  15171. procedure setSPEEDRMII; inline;
  15172. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  15173. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  15174. property w : TBits_32 read getw write setw;
  15175. end;
  15176. TETH_EMACxSUPP = record
  15177. private
  15178. function getRESETRMII : TBits_1; inline;
  15179. function getSPEEDRMII : TBits_1; inline;
  15180. function getw : TBits_32; inline;
  15181. procedure setRESETRMII(thebits : TBits_1); inline;
  15182. procedure setSPEEDRMII(thebits : TBits_1); inline;
  15183. procedure setw(thebits : TBits_32); inline;
  15184. public
  15185. procedure clearRESETRMII; inline;
  15186. procedure clearSPEEDRMII; inline;
  15187. procedure setRESETRMII; inline;
  15188. procedure setSPEEDRMII; inline;
  15189. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  15190. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  15191. property w : TBits_32 read getw write setw;
  15192. end;
  15193. TETH_EMAC1TEST = record
  15194. private
  15195. function getSHRTQNTA : TBits_1; inline;
  15196. function getTESTBP : TBits_1; inline;
  15197. function getTESTPAUSE : TBits_1; inline;
  15198. function getw : TBits_32; inline;
  15199. procedure setSHRTQNTA(thebits : TBits_1); inline;
  15200. procedure setTESTBP(thebits : TBits_1); inline;
  15201. procedure setTESTPAUSE(thebits : TBits_1); inline;
  15202. procedure setw(thebits : TBits_32); inline;
  15203. public
  15204. procedure clearSHRTQNTA; inline;
  15205. procedure clearTESTBP; inline;
  15206. procedure clearTESTPAUSE; inline;
  15207. procedure setSHRTQNTA; inline;
  15208. procedure setTESTBP; inline;
  15209. procedure setTESTPAUSE; inline;
  15210. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  15211. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  15212. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  15213. property w : TBits_32 read getw write setw;
  15214. end;
  15215. TETH_EMACxTEST = record
  15216. private
  15217. function getSHRTQNTA : TBits_1; inline;
  15218. function getTESTBP : TBits_1; inline;
  15219. function getTESTPAUSE : TBits_1; inline;
  15220. function getw : TBits_32; inline;
  15221. procedure setSHRTQNTA(thebits : TBits_1); inline;
  15222. procedure setTESTBP(thebits : TBits_1); inline;
  15223. procedure setTESTPAUSE(thebits : TBits_1); inline;
  15224. procedure setw(thebits : TBits_32); inline;
  15225. public
  15226. procedure clearSHRTQNTA; inline;
  15227. procedure clearTESTBP; inline;
  15228. procedure clearTESTPAUSE; inline;
  15229. procedure setSHRTQNTA; inline;
  15230. procedure setTESTBP; inline;
  15231. procedure setTESTPAUSE; inline;
  15232. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  15233. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  15234. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  15235. property w : TBits_32 read getw write setw;
  15236. end;
  15237. TETH_EMAC1MCFG = record
  15238. private
  15239. function getCLKSEL : TBits_4; inline;
  15240. function getNOPRE : TBits_1; inline;
  15241. function getRESETMGMT : TBits_1; inline;
  15242. function getSCANINC : TBits_1; inline;
  15243. function getw : TBits_32; inline;
  15244. procedure setCLKSEL(thebits : TBits_4); inline;
  15245. procedure setNOPRE(thebits : TBits_1); inline;
  15246. procedure setRESETMGMT(thebits : TBits_1); inline;
  15247. procedure setSCANINC(thebits : TBits_1); inline;
  15248. procedure setw(thebits : TBits_32); inline;
  15249. public
  15250. procedure clearNOPRE; inline;
  15251. procedure clearRESETMGMT; inline;
  15252. procedure clearSCANINC; inline;
  15253. procedure setNOPRE; inline;
  15254. procedure setRESETMGMT; inline;
  15255. procedure setSCANINC; inline;
  15256. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  15257. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  15258. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  15259. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  15260. property w : TBits_32 read getw write setw;
  15261. end;
  15262. TETH_EMACxMCFG = record
  15263. private
  15264. function getCLKSEL : TBits_4; inline;
  15265. function getNOPRE : TBits_1; inline;
  15266. function getRESETMGMT : TBits_1; inline;
  15267. function getSCANINC : TBits_1; inline;
  15268. function getw : TBits_32; inline;
  15269. procedure setCLKSEL(thebits : TBits_4); inline;
  15270. procedure setNOPRE(thebits : TBits_1); inline;
  15271. procedure setRESETMGMT(thebits : TBits_1); inline;
  15272. procedure setSCANINC(thebits : TBits_1); inline;
  15273. procedure setw(thebits : TBits_32); inline;
  15274. public
  15275. procedure clearNOPRE; inline;
  15276. procedure clearRESETMGMT; inline;
  15277. procedure clearSCANINC; inline;
  15278. procedure setNOPRE; inline;
  15279. procedure setRESETMGMT; inline;
  15280. procedure setSCANINC; inline;
  15281. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  15282. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  15283. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  15284. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  15285. property w : TBits_32 read getw write setw;
  15286. end;
  15287. TETH_EMAC1MCMD = record
  15288. private
  15289. function getREAD : TBits_1; inline;
  15290. function getSCAN : TBits_1; inline;
  15291. function getw : TBits_32; inline;
  15292. procedure setREAD(thebits : TBits_1); inline;
  15293. procedure setSCAN(thebits : TBits_1); inline;
  15294. procedure setw(thebits : TBits_32); inline;
  15295. public
  15296. procedure clearREAD; inline;
  15297. procedure clearSCAN; inline;
  15298. procedure setREAD; inline;
  15299. procedure setSCAN; inline;
  15300. property READ : TBits_1 read getREAD write setREAD;
  15301. property SCAN : TBits_1 read getSCAN write setSCAN;
  15302. property w : TBits_32 read getw write setw;
  15303. end;
  15304. TETH_EMACxMCMD = record
  15305. private
  15306. function getREAD : TBits_1; inline;
  15307. function getSCAN : TBits_1; inline;
  15308. function getw : TBits_32; inline;
  15309. procedure setREAD(thebits : TBits_1); inline;
  15310. procedure setSCAN(thebits : TBits_1); inline;
  15311. procedure setw(thebits : TBits_32); inline;
  15312. public
  15313. procedure clearREAD; inline;
  15314. procedure clearSCAN; inline;
  15315. procedure setREAD; inline;
  15316. procedure setSCAN; inline;
  15317. property READ : TBits_1 read getREAD write setREAD;
  15318. property SCAN : TBits_1 read getSCAN write setSCAN;
  15319. property w : TBits_32 read getw write setw;
  15320. end;
  15321. TETH_EMAC1MADR = record
  15322. private
  15323. function getPHYADDR : TBits_5; inline;
  15324. function getREGADDR : TBits_5; inline;
  15325. function getw : TBits_32; inline;
  15326. procedure setPHYADDR(thebits : TBits_5); inline;
  15327. procedure setREGADDR(thebits : TBits_5); inline;
  15328. procedure setw(thebits : TBits_32); inline;
  15329. public
  15330. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  15331. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  15332. property w : TBits_32 read getw write setw;
  15333. end;
  15334. TETH_EMACxMADR = record
  15335. private
  15336. function getPHYADDR : TBits_5; inline;
  15337. function getREGADDR : TBits_5; inline;
  15338. function getw : TBits_32; inline;
  15339. procedure setPHYADDR(thebits : TBits_5); inline;
  15340. procedure setREGADDR(thebits : TBits_5); inline;
  15341. procedure setw(thebits : TBits_32); inline;
  15342. public
  15343. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  15344. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  15345. property w : TBits_32 read getw write setw;
  15346. end;
  15347. TETH_EMAC1MWTD = record
  15348. private
  15349. function getMWTD : TBits_16; inline;
  15350. function getw : TBits_32; inline;
  15351. procedure setMWTD(thebits : TBits_16); inline;
  15352. procedure setw(thebits : TBits_32); inline;
  15353. public
  15354. property MWTD : TBits_16 read getMWTD write setMWTD;
  15355. property w : TBits_32 read getw write setw;
  15356. end;
  15357. TETH_EMACxMWTD = record
  15358. private
  15359. function getMWTD : TBits_16; inline;
  15360. function getw : TBits_32; inline;
  15361. procedure setMWTD(thebits : TBits_16); inline;
  15362. procedure setw(thebits : TBits_32); inline;
  15363. public
  15364. property MWTD : TBits_16 read getMWTD write setMWTD;
  15365. property w : TBits_32 read getw write setw;
  15366. end;
  15367. TETH_EMAC1MRDD = record
  15368. private
  15369. function getMRDD : TBits_16; inline;
  15370. function getw : TBits_32; inline;
  15371. procedure setMRDD(thebits : TBits_16); inline;
  15372. procedure setw(thebits : TBits_32); inline;
  15373. public
  15374. property MRDD : TBits_16 read getMRDD write setMRDD;
  15375. property w : TBits_32 read getw write setw;
  15376. end;
  15377. TETH_EMACxMRDD = record
  15378. private
  15379. function getMRDD : TBits_16; inline;
  15380. function getw : TBits_32; inline;
  15381. procedure setMRDD(thebits : TBits_16); inline;
  15382. procedure setw(thebits : TBits_32); inline;
  15383. public
  15384. property MRDD : TBits_16 read getMRDD write setMRDD;
  15385. property w : TBits_32 read getw write setw;
  15386. end;
  15387. TETH_EMAC1MIND = record
  15388. private
  15389. function getLINKFAIL : TBits_1; inline;
  15390. function getMIIMBUSY : TBits_1; inline;
  15391. function getNOTVALID : TBits_1; inline;
  15392. function getSCAN : TBits_1; inline;
  15393. function getw : TBits_32; inline;
  15394. procedure setLINKFAIL(thebits : TBits_1); inline;
  15395. procedure setMIIMBUSY(thebits : TBits_1); inline;
  15396. procedure setNOTVALID(thebits : TBits_1); inline;
  15397. procedure setSCAN(thebits : TBits_1); inline;
  15398. procedure setw(thebits : TBits_32); inline;
  15399. public
  15400. procedure clearLINKFAIL; inline;
  15401. procedure clearMIIMBUSY; inline;
  15402. procedure clearNOTVALID; inline;
  15403. procedure clearSCAN; inline;
  15404. procedure setLINKFAIL; inline;
  15405. procedure setMIIMBUSY; inline;
  15406. procedure setNOTVALID; inline;
  15407. procedure setSCAN; inline;
  15408. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  15409. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  15410. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  15411. property SCAN : TBits_1 read getSCAN write setSCAN;
  15412. property w : TBits_32 read getw write setw;
  15413. end;
  15414. TETH_EMACxMIND = record
  15415. private
  15416. function getLINKFAIL : TBits_1; inline;
  15417. function getMIIMBUSY : TBits_1; inline;
  15418. function getNOTVALID : TBits_1; inline;
  15419. function getSCAN : TBits_1; inline;
  15420. function getw : TBits_32; inline;
  15421. procedure setLINKFAIL(thebits : TBits_1); inline;
  15422. procedure setMIIMBUSY(thebits : TBits_1); inline;
  15423. procedure setNOTVALID(thebits : TBits_1); inline;
  15424. procedure setSCAN(thebits : TBits_1); inline;
  15425. procedure setw(thebits : TBits_32); inline;
  15426. public
  15427. procedure clearLINKFAIL; inline;
  15428. procedure clearMIIMBUSY; inline;
  15429. procedure clearNOTVALID; inline;
  15430. procedure clearSCAN; inline;
  15431. procedure setLINKFAIL; inline;
  15432. procedure setMIIMBUSY; inline;
  15433. procedure setNOTVALID; inline;
  15434. procedure setSCAN; inline;
  15435. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  15436. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  15437. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  15438. property SCAN : TBits_1 read getSCAN write setSCAN;
  15439. property w : TBits_32 read getw write setw;
  15440. end;
  15441. TETH_EMAC1SA0 = record
  15442. private
  15443. function getSTNADDR5 : TBits_8; inline;
  15444. function getSTNADDR6 : TBits_8; inline;
  15445. function getw : TBits_32; inline;
  15446. procedure setSTNADDR5(thebits : TBits_8); inline;
  15447. procedure setSTNADDR6(thebits : TBits_8); inline;
  15448. procedure setw(thebits : TBits_32); inline;
  15449. public
  15450. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  15451. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  15452. property w : TBits_32 read getw write setw;
  15453. end;
  15454. TETH_EMACxSA0 = record
  15455. private
  15456. function getSTNADDR5 : TBits_8; inline;
  15457. function getSTNADDR6 : TBits_8; inline;
  15458. function getw : TBits_32; inline;
  15459. procedure setSTNADDR5(thebits : TBits_8); inline;
  15460. procedure setSTNADDR6(thebits : TBits_8); inline;
  15461. procedure setw(thebits : TBits_32); inline;
  15462. public
  15463. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  15464. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  15465. property w : TBits_32 read getw write setw;
  15466. end;
  15467. TETH_EMAC1SA1 = record
  15468. private
  15469. function getSTNADDR3 : TBits_8; inline;
  15470. function getSTNADDR4 : TBits_8; inline;
  15471. function getw : TBits_32; inline;
  15472. procedure setSTNADDR3(thebits : TBits_8); inline;
  15473. procedure setSTNADDR4(thebits : TBits_8); inline;
  15474. procedure setw(thebits : TBits_32); inline;
  15475. public
  15476. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  15477. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  15478. property w : TBits_32 read getw write setw;
  15479. end;
  15480. TETH_EMACxSA1 = record
  15481. private
  15482. function getSTNADDR3 : TBits_8; inline;
  15483. function getSTNADDR4 : TBits_8; inline;
  15484. function getw : TBits_32; inline;
  15485. procedure setSTNADDR3(thebits : TBits_8); inline;
  15486. procedure setSTNADDR4(thebits : TBits_8); inline;
  15487. procedure setw(thebits : TBits_32); inline;
  15488. public
  15489. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  15490. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  15491. property w : TBits_32 read getw write setw;
  15492. end;
  15493. TETH_EMAC1SA2 = record
  15494. private
  15495. function getSTNADDR1 : TBits_8; inline;
  15496. function getSTNADDR2 : TBits_8; inline;
  15497. function getw : TBits_32; inline;
  15498. procedure setSTNADDR1(thebits : TBits_8); inline;
  15499. procedure setSTNADDR2(thebits : TBits_8); inline;
  15500. procedure setw(thebits : TBits_32); inline;
  15501. public
  15502. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  15503. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  15504. property w : TBits_32 read getw write setw;
  15505. end;
  15506. TETH_EMACxSA2 = record
  15507. private
  15508. function getSTNADDR1 : TBits_8; inline;
  15509. function getSTNADDR2 : TBits_8; inline;
  15510. function getw : TBits_32; inline;
  15511. procedure setSTNADDR1(thebits : TBits_8); inline;
  15512. procedure setSTNADDR2(thebits : TBits_8); inline;
  15513. procedure setw(thebits : TBits_32); inline;
  15514. public
  15515. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  15516. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  15517. property w : TBits_32 read getw write setw;
  15518. end;
  15519. type
  15520. TETHRegisters = record
  15521. ETHCON1bits : TETH_ETHCON1;
  15522. ETHCON1 : longWord;
  15523. ETHCON1CLR : longWord;
  15524. ETHCON1SET : longWord;
  15525. ETHCON1INV : longWord;
  15526. ETHCON2bits : TETH_ETHCON2;
  15527. ETHCON2 : longWord;
  15528. ETHCON2CLR : longWord;
  15529. ETHCON2SET : longWord;
  15530. ETHCON2INV : longWord;
  15531. ETHTXSTbits : TETH_ETHTXST;
  15532. ETHTXST : longWord;
  15533. ETHTXSTCLR : longWord;
  15534. ETHTXSTSET : longWord;
  15535. ETHTXSTINV : longWord;
  15536. ETHRXSTbits : TETH_ETHRXST;
  15537. ETHRXST : longWord;
  15538. ETHRXSTCLR : longWord;
  15539. ETHRXSTSET : longWord;
  15540. ETHRXSTINV : longWord;
  15541. ETHHT0bits : TETH_ETHHT0;
  15542. ETHHT0 : longWord;
  15543. ETHHT0CLR : longWord;
  15544. ETHHT0SET : longWord;
  15545. ETHHT0INV : longWord;
  15546. ETHHT1bits : TETH_ETHHT1;
  15547. ETHHT1 : longWord;
  15548. ETHHT1CLR : longWord;
  15549. ETHHT1SET : longWord;
  15550. ETHHT1INV : longWord;
  15551. ETHPMM0bits : TETH_ETHPMM0;
  15552. ETHPMM0 : longWord;
  15553. ETHPMM0CLR : longWord;
  15554. ETHPMM0SET : longWord;
  15555. ETHPMM0INV : longWord;
  15556. ETHPMM1bits : TETH_ETHPMM1;
  15557. ETHPMM1 : longWord;
  15558. ETHPMM1CLR : longWord;
  15559. ETHPMM1SET : longWord;
  15560. ETHPMM1INV : longWord;
  15561. ETHPMCSbits : TETH_ETHPMCS;
  15562. ETHPMCS : longWord;
  15563. ETHPMCSCLR : longWord;
  15564. ETHPMCSSET : longWord;
  15565. ETHPMCSINV : longWord;
  15566. ETHPMObits : TETH_ETHPMO;
  15567. ETHPMO : longWord;
  15568. ETHPMOCLR : longWord;
  15569. ETHPMOSET : longWord;
  15570. ETHPMOINV : longWord;
  15571. ETHRXFCbits : TETH_ETHRXFC;
  15572. ETHRXFC : longWord;
  15573. ETHRXFCCLR : longWord;
  15574. ETHRXFCSET : longWord;
  15575. ETHRXFCINV : longWord;
  15576. ETHRXWMbits : TETH_ETHRXWM;
  15577. ETHRXWM : longWord;
  15578. ETHRXWMCLR : longWord;
  15579. ETHRXWMSET : longWord;
  15580. ETHRXWMINV : longWord;
  15581. ETHIENbits : TETH_ETHIEN;
  15582. ETHIEN : longWord;
  15583. ETHIENCLR : longWord;
  15584. ETHIENSET : longWord;
  15585. ETHIENINV : longWord;
  15586. ETHIRQbits : TETH_ETHIRQ;
  15587. ETHIRQ : longWord;
  15588. ETHIRQCLR : longWord;
  15589. ETHIRQSET : longWord;
  15590. ETHIRQINV : longWord;
  15591. ETHSTATbits : TETH_ETHSTAT;
  15592. ETHSTAT : longWord;
  15593. ETHSTATCLR : longWord;
  15594. ETHSTATSET : longWord;
  15595. ETHSTATINV : longWord;
  15596. ETHRXOVFLOWbits : TETH_ETHRXOVFLOW;
  15597. ETHRXOVFLOW : longWord;
  15598. ETHRXOVFLOWCLR : longWord;
  15599. ETHRXOVFLOWSET : longWord;
  15600. ETHRXOVFLOWINV : longWord;
  15601. ETHFRMTXOKbits : TETH_ETHFRMTXOK;
  15602. ETHFRMTXOK : longWord;
  15603. ETHFRMTXOKCLR : longWord;
  15604. ETHFRMTXOKSET : longWord;
  15605. ETHFRMTXOKINV : longWord;
  15606. ETHSCOLFRMbits : TETH_ETHSCOLFRM;
  15607. ETHSCOLFRM : longWord;
  15608. ETHSCOLFRMCLR : longWord;
  15609. ETHSCOLFRMSET : longWord;
  15610. ETHSCOLFRMINV : longWord;
  15611. ETHMCOLFRMbits : TETH_ETHMCOLFRM;
  15612. ETHMCOLFRM : longWord;
  15613. ETHMCOLFRMCLR : longWord;
  15614. ETHMCOLFRMSET : longWord;
  15615. ETHMCOLFRMINV : longWord;
  15616. ETHFRMRXOKbits : TETH_ETHFRMRXOK;
  15617. ETHFRMRXOK : longWord;
  15618. ETHFRMRXOKCLR : longWord;
  15619. ETHFRMRXOKSET : longWord;
  15620. ETHFRMRXOKINV : longWord;
  15621. ETHFCSERRbits : TETH_ETHFCSERR;
  15622. ETHFCSERR : longWord;
  15623. ETHFCSERRCLR : longWord;
  15624. ETHFCSERRSET : longWord;
  15625. ETHFCSERRINV : longWord;
  15626. ETHALGNERRbits : TETH_ETHALGNERR;
  15627. ETHALGNERR : longWord;
  15628. ETHALGNERRCLR : longWord;
  15629. ETHALGNERRSET : longWord;
  15630. ETHALGNERRINV : longWord;
  15631. EMAC1CFG1bits : TETH_EMAC1CFG1;
  15632. EMAC1CFG1 : longWord;
  15633. EMACxCFG1bits : TETH_EMACxCFG1;
  15634. EMACxCFG1 : longWord;
  15635. EMAC1CFG1CLR : longWord;
  15636. EMACxCFG1CLR : longWord;
  15637. EMAC1CFG1SET : longWord;
  15638. EMACxCFG1SET : longWord;
  15639. EMAC1CFG1INV : longWord;
  15640. EMACxCFG1INV : longWord;
  15641. EMAC1CFG2bits : TETH_EMAC1CFG2;
  15642. EMAC1CFG2 : longWord;
  15643. EMACxCFG2bits : TETH_EMACxCFG2;
  15644. EMACxCFG2 : longWord;
  15645. EMAC1CFG2CLR : longWord;
  15646. EMACxCFG2CLR : longWord;
  15647. EMAC1CFG2SET : longWord;
  15648. EMACxCFG2SET : longWord;
  15649. EMAC1CFG2INV : longWord;
  15650. EMACxCFG2INV : longWord;
  15651. EMAC1IPGTbits : TETH_EMAC1IPGT;
  15652. EMAC1IPGT : longWord;
  15653. EMACxIPGTbits : TETH_EMACxIPGT;
  15654. EMACxIPGT : longWord;
  15655. EMAC1IPGTCLR : longWord;
  15656. EMACxIPGTCLR : longWord;
  15657. EMAC1IPGTSET : longWord;
  15658. EMACxIPGTSET : longWord;
  15659. EMAC1IPGTINV : longWord;
  15660. EMACxIPGTINV : longWord;
  15661. EMAC1IPGRbits : TETH_EMAC1IPGR;
  15662. EMAC1IPGR : longWord;
  15663. EMACxIPGRbits : TETH_EMACxIPGR;
  15664. EMACxIPGR : longWord;
  15665. EMAC1IPGRCLR : longWord;
  15666. EMACxIPGRCLR : longWord;
  15667. EMAC1IPGRSET : longWord;
  15668. EMACxIPGRSET : longWord;
  15669. EMAC1IPGRINV : longWord;
  15670. EMACxIPGRINV : longWord;
  15671. EMAC1CLRTbits : TETH_EMAC1CLRT;
  15672. EMAC1CLRT : longWord;
  15673. EMACxCLRTbits : TETH_EMACxCLRT;
  15674. EMACxCLRT : longWord;
  15675. EMAC1CLRTCLR : longWord;
  15676. EMACxCLRTCLR : longWord;
  15677. EMAC1CLRTSET : longWord;
  15678. EMACxCLRTSET : longWord;
  15679. EMAC1CLRTINV : longWord;
  15680. EMACxCLRTINV : longWord;
  15681. EMAC1MAXFbits : TETH_EMAC1MAXF;
  15682. EMAC1MAXF : longWord;
  15683. EMACxMAXFbits : TETH_EMACxMAXF;
  15684. EMACxMAXF : longWord;
  15685. EMAC1MAXFCLR : longWord;
  15686. EMACxMAXFCLR : longWord;
  15687. EMAC1MAXFSET : longWord;
  15688. EMACxMAXFSET : longWord;
  15689. EMAC1MAXFINV : longWord;
  15690. EMACxMAXFINV : longWord;
  15691. EMAC1SUPPbits : TETH_EMAC1SUPP;
  15692. EMAC1SUPP : longWord;
  15693. EMACxSUPPbits : TETH_EMACxSUPP;
  15694. EMACxSUPP : longWord;
  15695. EMAC1SUPPCLR : longWord;
  15696. EMACxSUPPCLR : longWord;
  15697. EMAC1SUPPSET : longWord;
  15698. EMACxSUPPSET : longWord;
  15699. EMAC1SUPPINV : longWord;
  15700. EMACxSUPPINV : longWord;
  15701. EMAC1TESTbits : TETH_EMAC1TEST;
  15702. EMAC1TEST : longWord;
  15703. EMACxTESTbits : TETH_EMACxTEST;
  15704. EMACxTEST : longWord;
  15705. EMAC1TESTCLR : longWord;
  15706. EMACxTESTCLR : longWord;
  15707. EMAC1TESTSET : longWord;
  15708. EMACxTESTSET : longWord;
  15709. EMAC1TESTINV : longWord;
  15710. EMACxTESTINV : longWord;
  15711. EMAC1MCFGbits : TETH_EMAC1MCFG;
  15712. EMAC1MCFG : longWord;
  15713. EMACxMCFGbits : TETH_EMACxMCFG;
  15714. EMACxMCFG : longWord;
  15715. EMAC1MCFGCLR : longWord;
  15716. EMACxMCFGCLR : longWord;
  15717. EMAC1MCFGSET : longWord;
  15718. EMACxMCFGSET : longWord;
  15719. EMAC1MCFGINV : longWord;
  15720. EMACxMCFGINV : longWord;
  15721. EMAC1MCMDbits : TETH_EMAC1MCMD;
  15722. EMAC1MCMD : longWord;
  15723. EMACxMCMDbits : TETH_EMACxMCMD;
  15724. EMACxMCMD : longWord;
  15725. EMAC1MCMDCLR : longWord;
  15726. EMACxMCMDCLR : longWord;
  15727. EMAC1MCMDSET : longWord;
  15728. EMACxMCMDSET : longWord;
  15729. EMAC1MCMDINV : longWord;
  15730. EMACxMCMDINV : longWord;
  15731. EMAC1MADRbits : TETH_EMAC1MADR;
  15732. EMAC1MADR : longWord;
  15733. EMACxMADRbits : TETH_EMACxMADR;
  15734. EMACxMADR : longWord;
  15735. EMAC1MADRCLR : longWord;
  15736. EMACxMADRCLR : longWord;
  15737. EMAC1MADRSET : longWord;
  15738. EMACxMADRSET : longWord;
  15739. EMAC1MADRINV : longWord;
  15740. EMACxMADRINV : longWord;
  15741. EMAC1MWTDbits : TETH_EMAC1MWTD;
  15742. EMAC1MWTD : longWord;
  15743. EMACxMWTDbits : TETH_EMACxMWTD;
  15744. EMACxMWTD : longWord;
  15745. EMAC1MWTDCLR : longWord;
  15746. EMACxMWTDCLR : longWord;
  15747. EMAC1MWTDSET : longWord;
  15748. EMACxMWTDSET : longWord;
  15749. EMAC1MWTDINV : longWord;
  15750. EMACxMWTDINV : longWord;
  15751. EMAC1MRDDbits : TETH_EMAC1MRDD;
  15752. EMAC1MRDD : longWord;
  15753. EMACxMRDDbits : TETH_EMACxMRDD;
  15754. EMACxMRDD : longWord;
  15755. EMAC1MRDDCLR : longWord;
  15756. EMACxMRDDCLR : longWord;
  15757. EMAC1MRDDSET : longWord;
  15758. EMACxMRDDSET : longWord;
  15759. EMAC1MRDDINV : longWord;
  15760. EMACxMRDDINV : longWord;
  15761. EMAC1MINDbits : TETH_EMAC1MIND;
  15762. EMAC1MIND : longWord;
  15763. EMACxMINDbits : TETH_EMACxMIND;
  15764. EMACxMIND : longWord;
  15765. EMAC1MINDCLR : longWord;
  15766. EMACxMINDCLR : longWord;
  15767. EMAC1MINDSET : longWord;
  15768. EMACxMINDSET : longWord;
  15769. EMAC1MINDINV : longWord;
  15770. EMACxMINDINV : longWord;
  15771. EMAC1SA0bits : TETH_EMAC1SA0;
  15772. EMAC1SA0 : longWord;
  15773. EMACxSA0bits : TETH_EMACxSA0;
  15774. EMACxSA0 : longWord;
  15775. EMAC1SA0CLR : longWord;
  15776. EMACxSA0CLR : longWord;
  15777. EMAC1SA0SET : longWord;
  15778. EMACxSA0SET : longWord;
  15779. EMAC1SA0INV : longWord;
  15780. EMACxSA0INV : longWord;
  15781. EMAC1SA1bits : TETH_EMAC1SA1;
  15782. EMAC1SA1 : longWord;
  15783. EMACxSA1bits : TETH_EMACxSA1;
  15784. EMACxSA1 : longWord;
  15785. EMAC1SA1CLR : longWord;
  15786. EMACxSA1CLR : longWord;
  15787. EMAC1SA1SET : longWord;
  15788. EMACxSA1SET : longWord;
  15789. EMAC1SA1INV : longWord;
  15790. EMACxSA1INV : longWord;
  15791. EMAC1SA2bits : TETH_EMAC1SA2;
  15792. EMAC1SA2 : longWord;
  15793. EMACxSA2bits : TETH_EMACxSA2;
  15794. EMACxSA2 : longWord;
  15795. EMAC1SA2CLR : longWord;
  15796. EMACxSA2CLR : longWord;
  15797. EMAC1SA2SET : longWord;
  15798. EMACxSA2SET : longWord;
  15799. EMAC1SA2INV : longWord;
  15800. EMACxSA2INV : longWord;
  15801. end;
  15802. TDEVCFG_DEVCFG3 = record
  15803. private
  15804. function getFETHIO : TBits_1; inline;
  15805. function getFMIIEN : TBits_1; inline;
  15806. function getFSRSSEL : TBits_3; inline;
  15807. function getFUSBIDIO : TBits_1; inline;
  15808. function getFVBUSONIO : TBits_1; inline;
  15809. function getUSERID : TBits_16; inline;
  15810. function getw : TBits_32; inline;
  15811. procedure setFETHIO(thebits : TBits_1); inline;
  15812. procedure setFMIIEN(thebits : TBits_1); inline;
  15813. procedure setFSRSSEL(thebits : TBits_3); inline;
  15814. procedure setFUSBIDIO(thebits : TBits_1); inline;
  15815. procedure setFVBUSONIO(thebits : TBits_1); inline;
  15816. procedure setUSERID(thebits : TBits_16); inline;
  15817. procedure setw(thebits : TBits_32); inline;
  15818. public
  15819. procedure clearFETHIO; inline;
  15820. procedure clearFMIIEN; inline;
  15821. procedure clearFUSBIDIO; inline;
  15822. procedure clearFVBUSONIO; inline;
  15823. procedure setFETHIO; inline;
  15824. procedure setFMIIEN; inline;
  15825. procedure setFUSBIDIO; inline;
  15826. procedure setFVBUSONIO; inline;
  15827. property FETHIO : TBits_1 read getFETHIO write setFETHIO;
  15828. property FMIIEN : TBits_1 read getFMIIEN write setFMIIEN;
  15829. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  15830. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  15831. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  15832. property USERID : TBits_16 read getUSERID write setUSERID;
  15833. property w : TBits_32 read getw write setw;
  15834. end;
  15835. TDEVCFG_DEVCFG2 = record
  15836. private
  15837. function getFPLLIDIV : TBits_3; inline;
  15838. function getFPLLMUL : TBits_3; inline;
  15839. function getFPLLODIV : TBits_3; inline;
  15840. function getUPLLEN : TBits_1; inline;
  15841. function getUPLLIDIV : TBits_3; inline;
  15842. function getw : TBits_32; inline;
  15843. procedure setFPLLIDIV(thebits : TBits_3); inline;
  15844. procedure setFPLLMUL(thebits : TBits_3); inline;
  15845. procedure setFPLLODIV(thebits : TBits_3); inline;
  15846. procedure setUPLLEN(thebits : TBits_1); inline;
  15847. procedure setUPLLIDIV(thebits : TBits_3); inline;
  15848. procedure setw(thebits : TBits_32); inline;
  15849. public
  15850. procedure clearUPLLEN; inline;
  15851. procedure setUPLLEN; inline;
  15852. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  15853. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  15854. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  15855. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  15856. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  15857. property w : TBits_32 read getw write setw;
  15858. end;
  15859. TDEVCFG_DEVCFG1 = record
  15860. private
  15861. function getFCKSM : TBits_2; inline;
  15862. function getFNOSC : TBits_3; inline;
  15863. function getFPBDIV : TBits_2; inline;
  15864. function getFSOSCEN : TBits_1; inline;
  15865. function getFWDTEN : TBits_1; inline;
  15866. function getIESO : TBits_1; inline;
  15867. function getOSCIOFNC : TBits_1; inline;
  15868. function getPOSCMOD : TBits_2; inline;
  15869. function getWDTPS : TBits_5; inline;
  15870. function getw : TBits_32; inline;
  15871. procedure setFCKSM(thebits : TBits_2); inline;
  15872. procedure setFNOSC(thebits : TBits_3); inline;
  15873. procedure setFPBDIV(thebits : TBits_2); inline;
  15874. procedure setFSOSCEN(thebits : TBits_1); inline;
  15875. procedure setFWDTEN(thebits : TBits_1); inline;
  15876. procedure setIESO(thebits : TBits_1); inline;
  15877. procedure setOSCIOFNC(thebits : TBits_1); inline;
  15878. procedure setPOSCMOD(thebits : TBits_2); inline;
  15879. procedure setWDTPS(thebits : TBits_5); inline;
  15880. procedure setw(thebits : TBits_32); inline;
  15881. public
  15882. procedure clearFSOSCEN; inline;
  15883. procedure clearFWDTEN; inline;
  15884. procedure clearIESO; inline;
  15885. procedure clearOSCIOFNC; inline;
  15886. procedure setFSOSCEN; inline;
  15887. procedure setFWDTEN; inline;
  15888. procedure setIESO; inline;
  15889. procedure setOSCIOFNC; inline;
  15890. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  15891. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  15892. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  15893. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  15894. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  15895. property IESO : TBits_1 read getIESO write setIESO;
  15896. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  15897. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  15898. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  15899. property w : TBits_32 read getw write setw;
  15900. end;
  15901. TDEVCFG_DEVCFG0 = record
  15902. private
  15903. function getBWP : TBits_1; inline;
  15904. function getCP : TBits_1; inline;
  15905. function getDEBUG : TBits_2; inline;
  15906. function getFDEBUG : TBits_2; inline;
  15907. function getICESEL : TBits_1; inline;
  15908. function getPWP : TBits_8; inline;
  15909. function getw : TBits_32; inline;
  15910. procedure setBWP(thebits : TBits_1); inline;
  15911. procedure setCP(thebits : TBits_1); inline;
  15912. procedure setDEBUG(thebits : TBits_2); inline;
  15913. procedure setFDEBUG(thebits : TBits_2); inline;
  15914. procedure setICESEL(thebits : TBits_1); inline;
  15915. procedure setPWP(thebits : TBits_8); inline;
  15916. procedure setw(thebits : TBits_32); inline;
  15917. public
  15918. procedure clearBWP; inline;
  15919. procedure clearCP; inline;
  15920. procedure clearICESEL; inline;
  15921. procedure setBWP; inline;
  15922. procedure setCP; inline;
  15923. procedure setICESEL; inline;
  15924. property BWP : TBits_1 read getBWP write setBWP;
  15925. property CP : TBits_1 read getCP write setCP;
  15926. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  15927. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  15928. property ICESEL : TBits_1 read getICESEL write setICESEL;
  15929. property PWP : TBits_8 read getPWP write setPWP;
  15930. property w : TBits_32 read getw write setw;
  15931. end;
  15932. const
  15933. _CORE_TIMER_IRQ = 0;
  15934. _CORE_SOFTWARE_0_IRQ = 1;
  15935. _CORE_SOFTWARE_1_IRQ = 2;
  15936. _EXTERNAL_0_IRQ = 3;
  15937. _TIMER_1_IRQ = 4;
  15938. _INPUT_CAPTURE_1_IRQ = 5;
  15939. _OUTPUT_COMPARE_1_IRQ = 6;
  15940. _EXTERNAL_1_IRQ = 7;
  15941. _TIMER_2_IRQ = 8;
  15942. _INPUT_CAPTURE_2_IRQ = 9;
  15943. _OUTPUT_COMPARE_2_IRQ = 10;
  15944. _EXTERNAL_2_IRQ = 11;
  15945. _TIMER_3_IRQ = 12;
  15946. _INPUT_CAPTURE_3_IRQ = 13;
  15947. _OUTPUT_COMPARE_3_IRQ = 14;
  15948. _EXTERNAL_3_IRQ = 15;
  15949. _TIMER_4_IRQ = 16;
  15950. _INPUT_CAPTURE_4_IRQ = 17;
  15951. _OUTPUT_COMPARE_4_IRQ = 18;
  15952. _EXTERNAL_4_IRQ = 19;
  15953. _TIMER_5_IRQ = 20;
  15954. _INPUT_CAPTURE_5_IRQ = 21;
  15955. _OUTPUT_COMPARE_5_IRQ = 22;
  15956. _SPI1_ERR_IRQ = 23;
  15957. _SPI1_RX_IRQ = 24;
  15958. _SPI1_TX_IRQ = 25;
  15959. _I2C1A_ERR_IRQ = 26;
  15960. _I2C3_BUS_IRQ = 26;
  15961. _SPI1A_ERR_IRQ = 26;
  15962. _SPI3_ERR_IRQ = 26;
  15963. _UART1A_ERR_IRQ = 26;
  15964. _UART1_ERR_IRQ = 26;
  15965. _I2C1A_RX_IRQ = 27;
  15966. _I2C3_SLAVE_IRQ = 27;
  15967. _SPI1A_RX_IRQ = 27;
  15968. _SPI3_RX_IRQ = 27;
  15969. _UART1A_RX_IRQ = 27;
  15970. _UART1_RX_IRQ = 27;
  15971. _I2C1A_TX_IRQ = 28;
  15972. _I2C3_MASTER_IRQ = 28;
  15973. _SPI1A_TX_IRQ = 28;
  15974. _SPI3_TX_IRQ = 28;
  15975. _UART1A_TX_IRQ = 28;
  15976. _UART1_TX_IRQ = 28;
  15977. _I2C1_BUS_IRQ = 29;
  15978. _I2C1_SLAVE_IRQ = 30;
  15979. _I2C1_MASTER_IRQ = 31;
  15980. _CHANGE_NOTICE_IRQ = 32;
  15981. _ADC_IRQ = 33;
  15982. _PMP_IRQ = 34;
  15983. _COMPARATOR_1_IRQ = 35;
  15984. _COMPARATOR_2_IRQ = 36;
  15985. _I2C2A_ERR_IRQ = 37;
  15986. _I2C4_BUS_IRQ = 37;
  15987. _SPI2_ERR_IRQ = 37;
  15988. _SPI2A_ERR_IRQ = 37;
  15989. _UART2A_ERR_IRQ = 37;
  15990. _UART3_ERR_IRQ = 37;
  15991. _I2C2A_RX_IRQ = 38;
  15992. _I2C4_SLAVE_IRQ = 38;
  15993. _SPI2_RX_IRQ = 38;
  15994. _SPI2A_RX_IRQ = 38;
  15995. _UART2A_RX_IRQ = 38;
  15996. _UART3_RX_IRQ = 38;
  15997. _I2C2A_TX_IRQ = 39;
  15998. _I2C4_MASTER_IRQ = 39;
  15999. _SPI2A_TX_IRQ = 39;
  16000. _SPI2_TX_IRQ = 39;
  16001. _UART2A_TX_IRQ = 39;
  16002. _UART3_TX_IRQ = 39;
  16003. _I2C3A_ERR_IRQ = 40;
  16004. _I2C5_BUS_IRQ = 40;
  16005. _SPI3A_ERR_IRQ = 40;
  16006. _SPI4_ERR_IRQ = 40;
  16007. _UART2_ERR_IRQ = 40;
  16008. _UART3A_ERR_IRQ = 40;
  16009. _I2C3A_RX_IRQ = 41;
  16010. _I2C5_SLAVE_IRQ = 41;
  16011. _SPI3A_RX_IRQ = 41;
  16012. _SPI4_RX_IRQ = 41;
  16013. _UART2_RX_IRQ = 41;
  16014. _UART3A_RX_IRQ = 41;
  16015. _I2C3A_TX_IRQ = 42;
  16016. _I2C5_MASTER_IRQ = 42;
  16017. _SPI3A_TX_IRQ = 42;
  16018. _SPI4_TX_IRQ = 42;
  16019. _UART2_TX_IRQ = 42;
  16020. _UART3A_TX_IRQ = 42;
  16021. _I2C2_BUS_IRQ = 43;
  16022. _I2C2_SLAVE_IRQ = 44;
  16023. _I2C2_MASTER_IRQ = 45;
  16024. _FAIL_SAFE_MONITOR_IRQ = 46;
  16025. _RTCC_IRQ = 47;
  16026. _DMA0_IRQ = 48;
  16027. _DMA1_IRQ = 49;
  16028. _DMA2_IRQ = 50;
  16029. _DMA3_IRQ = 51;
  16030. _FLASH_CONTROL_IRQ = 56;
  16031. _USB_IRQ = 57;
  16032. _ETHERNET_IRQ = 60;
  16033. _INPUT_CAPTURE_ERROR_1_IRQ = 61;
  16034. _INPUT_CAPTURE_ERROR_2_IRQ = 62;
  16035. _INPUT_CAPTURE_ERROR_3_IRQ = 63;
  16036. _INPUT_CAPTURE_ERROR_4_IRQ = 64;
  16037. _INPUT_CAPTURE_ERROR_5_IRQ = 65;
  16038. _PMP_ERROR_IRQ = 66;
  16039. _UART1B_ERR_IRQ = 67;
  16040. _UART4_ERR_IRQ = 67;
  16041. _UART1B_RX_IRQ = 68;
  16042. _UART4_RX_IRQ = 68;
  16043. _UART1B_TX_IRQ = 69;
  16044. _UART4_TX_IRQ = 69;
  16045. _UART2B_ERR_IRQ = 70;
  16046. _UART6_ERR_IRQ = 70;
  16047. _UART2B_RX_IRQ = 71;
  16048. _UART6_RX_IRQ = 71;
  16049. _UART2B_TX_IRQ = 72;
  16050. _UART6_TX_IRQ = 72;
  16051. _UART3B_ERR_IRQ = 73;
  16052. _UART5_ERR_IRQ = 73;
  16053. _UART3B_RX_IRQ = 74;
  16054. _UART5_RX_IRQ = 74;
  16055. _UART3B_TX_IRQ = 75;
  16056. _UART5_TX_IRQ = 75;
  16057. const
  16058. ADC10_BASE_ADDRESS = $BF809000;
  16059. var
  16060. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  16061. const
  16062. BMX_BASE_ADDRESS = $BF882000;
  16063. var
  16064. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  16065. const
  16066. CFG_BASE_ADDRESS = $BF80F200;
  16067. var
  16068. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  16069. const
  16070. CMP_BASE_ADDRESS = $BF80A000;
  16071. var
  16072. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  16073. const
  16074. CVR_BASE_ADDRESS = $BF809800;
  16075. var
  16076. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  16077. const
  16078. DMAC_BASE_ADDRESS = $BF883000;
  16079. var
  16080. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  16081. const
  16082. DMAC0_BASE_ADDRESS = $BF883060;
  16083. var
  16084. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  16085. const
  16086. DMAC1_BASE_ADDRESS = $BF883120;
  16087. var
  16088. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  16089. const
  16090. DMAC2_BASE_ADDRESS = $BF8831E0;
  16091. var
  16092. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  16093. const
  16094. DMAC3_BASE_ADDRESS = $BF8832A0;
  16095. var
  16096. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  16097. const
  16098. ETH_BASE_ADDRESS = $BF889000;
  16099. var
  16100. ETH : TETHRegisters absolute ETH_BASE_ADDRESS;
  16101. const
  16102. I2C1_BASE_ADDRESS = $BF805300;
  16103. var
  16104. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  16105. const
  16106. I2C1A_BASE_ADDRESS = $BF805000;
  16107. var
  16108. I2C1A : TI2C1ARegisters absolute I2C1A_BASE_ADDRESS;
  16109. const
  16110. I2C2_BASE_ADDRESS = $BF805400;
  16111. var
  16112. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  16113. const
  16114. I2C2A_BASE_ADDRESS = $BF805100;
  16115. var
  16116. I2C2A : TI2C2ARegisters absolute I2C2A_BASE_ADDRESS;
  16117. const
  16118. I2C5_BASE_ADDRESS = $BF805200;
  16119. var
  16120. I2C5 : TI2C5Registers absolute I2C5_BASE_ADDRESS;
  16121. const
  16122. ICAP1_BASE_ADDRESS = $BF802000;
  16123. var
  16124. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  16125. const
  16126. ICAP2_BASE_ADDRESS = $BF802200;
  16127. var
  16128. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  16129. const
  16130. ICAP3_BASE_ADDRESS = $BF802400;
  16131. var
  16132. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  16133. const
  16134. ICAP4_BASE_ADDRESS = $BF802600;
  16135. var
  16136. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  16137. const
  16138. ICAP5_BASE_ADDRESS = $BF802800;
  16139. var
  16140. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  16141. const
  16142. INT_BASE_ADDRESS = $BF881000;
  16143. var
  16144. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  16145. const
  16146. NVM_BASE_ADDRESS = $BF80F400;
  16147. var
  16148. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  16149. const
  16150. OCMP1_BASE_ADDRESS = $BF803000;
  16151. var
  16152. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  16153. const
  16154. OCMP2_BASE_ADDRESS = $BF803200;
  16155. var
  16156. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  16157. const
  16158. OCMP3_BASE_ADDRESS = $BF803400;
  16159. var
  16160. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  16161. const
  16162. OCMP4_BASE_ADDRESS = $BF803600;
  16163. var
  16164. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  16165. const
  16166. OCMP5_BASE_ADDRESS = $BF803800;
  16167. var
  16168. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  16169. const
  16170. OSC_BASE_ADDRESS = $BF80F000;
  16171. var
  16172. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  16173. const
  16174. PCACHE_BASE_ADDRESS = $BF884000;
  16175. var
  16176. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  16177. const
  16178. PMP_BASE_ADDRESS = $BF807000;
  16179. var
  16180. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  16181. const
  16182. PORTA_BASE_ADDRESS = $BF886000;
  16183. var
  16184. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  16185. const
  16186. PORTB_BASE_ADDRESS = $BF886040;
  16187. var
  16188. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  16189. const
  16190. PORTC_BASE_ADDRESS = $BF886080;
  16191. var
  16192. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  16193. const
  16194. PORTD_BASE_ADDRESS = $BF8860C0;
  16195. var
  16196. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  16197. const
  16198. PORTE_BASE_ADDRESS = $BF886100;
  16199. var
  16200. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  16201. const
  16202. PORTF_BASE_ADDRESS = $BF886140;
  16203. var
  16204. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  16205. const
  16206. PORTG_BASE_ADDRESS = $BF886180;
  16207. var
  16208. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  16209. const
  16210. RCON_BASE_ADDRESS = $BF80F600;
  16211. var
  16212. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  16213. const
  16214. RTCC_BASE_ADDRESS = $BF800200;
  16215. var
  16216. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  16217. const
  16218. SPI1_BASE_ADDRESS = $BF805E00;
  16219. var
  16220. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  16221. const
  16222. SPI1A_BASE_ADDRESS = $BF805800;
  16223. var
  16224. SPI1A : TSPI1ARegisters absolute SPI1A_BASE_ADDRESS;
  16225. const
  16226. SPI2_BASE_ADDRESS = $BF805A00;
  16227. var
  16228. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  16229. const
  16230. SPI4_BASE_ADDRESS = $BF805C00;
  16231. var
  16232. SPI4 : TSPI4Registers absolute SPI4_BASE_ADDRESS;
  16233. const
  16234. TMR1_BASE_ADDRESS = $BF800600;
  16235. var
  16236. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  16237. const
  16238. TMR2_BASE_ADDRESS = $BF800800;
  16239. var
  16240. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  16241. const
  16242. TMR3_BASE_ADDRESS = $BF800A00;
  16243. var
  16244. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  16245. const
  16246. TMR4_BASE_ADDRESS = $BF800C00;
  16247. var
  16248. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  16249. const
  16250. TMR5_BASE_ADDRESS = $BF800E00;
  16251. var
  16252. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  16253. const
  16254. UART1A_BASE_ADDRESS = $BF806000;
  16255. var
  16256. UART1A : TUART1ARegisters absolute UART1A_BASE_ADDRESS;
  16257. const
  16258. UART3_BASE_ADDRESS = $BF806400;
  16259. var
  16260. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  16261. const
  16262. UART3A_BASE_ADDRESS = $BF806800;
  16263. var
  16264. UART3A : TUART3ARegisters absolute UART3A_BASE_ADDRESS;
  16265. const
  16266. UART3B_BASE_ADDRESS = $BF806A00;
  16267. var
  16268. UART3B : TUART3BRegisters absolute UART3B_BASE_ADDRESS;
  16269. const
  16270. UART4_BASE_ADDRESS = $BF806200;
  16271. var
  16272. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  16273. const
  16274. UART6_BASE_ADDRESS = $BF806600;
  16275. var
  16276. UART6 : TUART6Registers absolute UART6_BASE_ADDRESS;
  16277. const
  16278. USB_BASE_ADDRESS = $BF885040;
  16279. var
  16280. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  16281. const
  16282. WDT_BASE_ADDRESS = $BF800000;
  16283. var
  16284. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  16285. const
  16286. _APPI_BASE_ADDRESS = $BF880190;
  16287. var
  16288. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  16289. const
  16290. _APPO_BASE_ADDRESS = $BF880180;
  16291. var
  16292. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  16293. const
  16294. _DDPSTAT_BASE_ADDRESS = $BF880140;
  16295. var
  16296. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  16297. const
  16298. _STRO_BASE_ADDRESS = $BF880170;
  16299. var
  16300. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  16301. implementation
  16302. type
  16303. TDefRegMap = record
  16304. val : longWord;
  16305. clr : longWord;
  16306. &set : longWord;
  16307. inv : longWord;
  16308. end;
  16309. pTDefRegMap = ^TDefRegMap;
  16310. procedure TWDT_WDTCON.setWDTCLR; inline;
  16311. begin
  16312. pTDefRegMap(@Self)^.&set := $00000001;
  16313. end;
  16314. procedure TWDT_WDTCON.clearWDTCLR; inline;
  16315. begin
  16316. pTDefRegMap(@Self)^.clr := $00000001;
  16317. end;
  16318. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  16319. begin
  16320. if thebits = 0 then
  16321. pTDefRegMap(@Self)^.clr := $00000001
  16322. else
  16323. pTDefRegMap(@Self)^.&set := $00000001;
  16324. end;
  16325. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  16326. begin
  16327. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16328. end;
  16329. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  16330. begin
  16331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16332. end;
  16333. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  16334. begin
  16335. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16336. end;
  16337. procedure TWDT_WDTCON.setON; inline;
  16338. begin
  16339. pTDefRegMap(@Self)^.&set := $00008000;
  16340. end;
  16341. procedure TWDT_WDTCON.clearON; inline;
  16342. begin
  16343. pTDefRegMap(@Self)^.clr := $00008000;
  16344. end;
  16345. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  16346. begin
  16347. if thebits = 0 then
  16348. pTDefRegMap(@Self)^.clr := $00008000
  16349. else
  16350. pTDefRegMap(@Self)^.&set := $00008000;
  16351. end;
  16352. function TWDT_WDTCON.getON : TBits_1; inline;
  16353. begin
  16354. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16355. end;
  16356. procedure TWDT_WDTCON.setSWDTPS0; inline;
  16357. begin
  16358. pTDefRegMap(@Self)^.&set := $00000004;
  16359. end;
  16360. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  16361. begin
  16362. pTDefRegMap(@Self)^.clr := $00000004;
  16363. end;
  16364. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  16365. begin
  16366. if thebits = 0 then
  16367. pTDefRegMap(@Self)^.clr := $00000004
  16368. else
  16369. pTDefRegMap(@Self)^.&set := $00000004;
  16370. end;
  16371. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  16372. begin
  16373. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16374. end;
  16375. procedure TWDT_WDTCON.setSWDTPS1; inline;
  16376. begin
  16377. pTDefRegMap(@Self)^.&set := $00000008;
  16378. end;
  16379. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  16380. begin
  16381. pTDefRegMap(@Self)^.clr := $00000008;
  16382. end;
  16383. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  16384. begin
  16385. if thebits = 0 then
  16386. pTDefRegMap(@Self)^.clr := $00000008
  16387. else
  16388. pTDefRegMap(@Self)^.&set := $00000008;
  16389. end;
  16390. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  16391. begin
  16392. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16393. end;
  16394. procedure TWDT_WDTCON.setSWDTPS2; inline;
  16395. begin
  16396. pTDefRegMap(@Self)^.&set := $00000010;
  16397. end;
  16398. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  16399. begin
  16400. pTDefRegMap(@Self)^.clr := $00000010;
  16401. end;
  16402. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  16403. begin
  16404. if thebits = 0 then
  16405. pTDefRegMap(@Self)^.clr := $00000010
  16406. else
  16407. pTDefRegMap(@Self)^.&set := $00000010;
  16408. end;
  16409. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  16410. begin
  16411. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16412. end;
  16413. procedure TWDT_WDTCON.setSWDTPS3; inline;
  16414. begin
  16415. pTDefRegMap(@Self)^.&set := $00000020;
  16416. end;
  16417. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  16418. begin
  16419. pTDefRegMap(@Self)^.clr := $00000020;
  16420. end;
  16421. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  16422. begin
  16423. if thebits = 0 then
  16424. pTDefRegMap(@Self)^.clr := $00000020
  16425. else
  16426. pTDefRegMap(@Self)^.&set := $00000020;
  16427. end;
  16428. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  16429. begin
  16430. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16431. end;
  16432. procedure TWDT_WDTCON.setSWDTPS4; inline;
  16433. begin
  16434. pTDefRegMap(@Self)^.&set := $00000040;
  16435. end;
  16436. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  16437. begin
  16438. pTDefRegMap(@Self)^.clr := $00000040;
  16439. end;
  16440. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  16441. begin
  16442. if thebits = 0 then
  16443. pTDefRegMap(@Self)^.clr := $00000040
  16444. else
  16445. pTDefRegMap(@Self)^.&set := $00000040;
  16446. end;
  16447. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  16448. begin
  16449. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16450. end;
  16451. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  16452. begin
  16453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16454. end;
  16455. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  16456. begin
  16457. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16458. end;
  16459. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  16460. begin
  16461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16462. end;
  16463. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  16464. begin
  16465. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16466. end;
  16467. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  16468. begin
  16469. pTDefRegMap(@Self)^.val := thebits;
  16470. end;
  16471. function TWDT_WDTCON.getw : TBits_32; inline;
  16472. begin
  16473. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16474. end;
  16475. procedure TRTCC_RTCCON.setRTCOE; inline;
  16476. begin
  16477. pTDefRegMap(@Self)^.&set := $00000001;
  16478. end;
  16479. procedure TRTCC_RTCCON.clearRTCOE; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.clr := $00000001;
  16482. end;
  16483. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  16484. begin
  16485. if thebits = 0 then
  16486. pTDefRegMap(@Self)^.clr := $00000001
  16487. else
  16488. pTDefRegMap(@Self)^.&set := $00000001;
  16489. end;
  16490. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  16491. begin
  16492. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16493. end;
  16494. procedure TRTCC_RTCCON.setHALFSEC; inline;
  16495. begin
  16496. pTDefRegMap(@Self)^.&set := $00000002;
  16497. end;
  16498. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.clr := $00000002;
  16501. end;
  16502. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  16503. begin
  16504. if thebits = 0 then
  16505. pTDefRegMap(@Self)^.clr := $00000002
  16506. else
  16507. pTDefRegMap(@Self)^.&set := $00000002;
  16508. end;
  16509. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  16510. begin
  16511. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16512. end;
  16513. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  16514. begin
  16515. pTDefRegMap(@Self)^.&set := $00000004;
  16516. end;
  16517. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.clr := $00000004;
  16520. end;
  16521. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  16522. begin
  16523. if thebits = 0 then
  16524. pTDefRegMap(@Self)^.clr := $00000004
  16525. else
  16526. pTDefRegMap(@Self)^.&set := $00000004;
  16527. end;
  16528. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  16529. begin
  16530. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16531. end;
  16532. procedure TRTCC_RTCCON.setRTCWREN; inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.&set := $00000008;
  16535. end;
  16536. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.clr := $00000008;
  16539. end;
  16540. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  16541. begin
  16542. if thebits = 0 then
  16543. pTDefRegMap(@Self)^.clr := $00000008
  16544. else
  16545. pTDefRegMap(@Self)^.&set := $00000008;
  16546. end;
  16547. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  16548. begin
  16549. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16550. end;
  16551. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  16552. begin
  16553. pTDefRegMap(@Self)^.&set := $00000040;
  16554. end;
  16555. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.clr := $00000040;
  16558. end;
  16559. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  16560. begin
  16561. if thebits = 0 then
  16562. pTDefRegMap(@Self)^.clr := $00000040
  16563. else
  16564. pTDefRegMap(@Self)^.&set := $00000040;
  16565. end;
  16566. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  16567. begin
  16568. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16569. end;
  16570. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  16571. begin
  16572. pTDefRegMap(@Self)^.&set := $00000080;
  16573. end;
  16574. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.clr := $00000080;
  16577. end;
  16578. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  16579. begin
  16580. if thebits = 0 then
  16581. pTDefRegMap(@Self)^.clr := $00000080
  16582. else
  16583. pTDefRegMap(@Self)^.&set := $00000080;
  16584. end;
  16585. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  16586. begin
  16587. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16588. end;
  16589. procedure TRTCC_RTCCON.setSIDL; inline;
  16590. begin
  16591. pTDefRegMap(@Self)^.&set := $00002000;
  16592. end;
  16593. procedure TRTCC_RTCCON.clearSIDL; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.clr := $00002000;
  16596. end;
  16597. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  16598. begin
  16599. if thebits = 0 then
  16600. pTDefRegMap(@Self)^.clr := $00002000
  16601. else
  16602. pTDefRegMap(@Self)^.&set := $00002000;
  16603. end;
  16604. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  16605. begin
  16606. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16607. end;
  16608. procedure TRTCC_RTCCON.setON; inline;
  16609. begin
  16610. pTDefRegMap(@Self)^.&set := $00008000;
  16611. end;
  16612. procedure TRTCC_RTCCON.clearON; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.clr := $00008000;
  16615. end;
  16616. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  16617. begin
  16618. if thebits = 0 then
  16619. pTDefRegMap(@Self)^.clr := $00008000
  16620. else
  16621. pTDefRegMap(@Self)^.&set := $00008000;
  16622. end;
  16623. function TRTCC_RTCCON.getON : TBits_1; inline;
  16624. begin
  16625. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16626. end;
  16627. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  16628. begin
  16629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  16630. end;
  16631. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  16632. begin
  16633. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  16634. end;
  16635. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  16636. begin
  16637. pTDefRegMap(@Self)^.val := thebits;
  16638. end;
  16639. function TRTCC_RTCCON.getw : TBits_32; inline;
  16640. begin
  16641. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16642. end;
  16643. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  16644. begin
  16645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16646. end;
  16647. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  16648. begin
  16649. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16650. end;
  16651. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  16652. begin
  16653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16654. end;
  16655. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  16656. begin
  16657. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16658. end;
  16659. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  16660. begin
  16661. pTDefRegMap(@Self)^.&set := $00001000;
  16662. end;
  16663. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  16664. begin
  16665. pTDefRegMap(@Self)^.clr := $00001000;
  16666. end;
  16667. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  16668. begin
  16669. if thebits = 0 then
  16670. pTDefRegMap(@Self)^.clr := $00001000
  16671. else
  16672. pTDefRegMap(@Self)^.&set := $00001000;
  16673. end;
  16674. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  16675. begin
  16676. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16677. end;
  16678. procedure TRTCC_RTCALRM.setPIV; inline;
  16679. begin
  16680. pTDefRegMap(@Self)^.&set := $00002000;
  16681. end;
  16682. procedure TRTCC_RTCALRM.clearPIV; inline;
  16683. begin
  16684. pTDefRegMap(@Self)^.clr := $00002000;
  16685. end;
  16686. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  16687. begin
  16688. if thebits = 0 then
  16689. pTDefRegMap(@Self)^.clr := $00002000
  16690. else
  16691. pTDefRegMap(@Self)^.&set := $00002000;
  16692. end;
  16693. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  16694. begin
  16695. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16696. end;
  16697. procedure TRTCC_RTCALRM.setCHIME; inline;
  16698. begin
  16699. pTDefRegMap(@Self)^.&set := $00004000;
  16700. end;
  16701. procedure TRTCC_RTCALRM.clearCHIME; inline;
  16702. begin
  16703. pTDefRegMap(@Self)^.clr := $00004000;
  16704. end;
  16705. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  16706. begin
  16707. if thebits = 0 then
  16708. pTDefRegMap(@Self)^.clr := $00004000
  16709. else
  16710. pTDefRegMap(@Self)^.&set := $00004000;
  16711. end;
  16712. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  16713. begin
  16714. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16715. end;
  16716. procedure TRTCC_RTCALRM.setALRMEN; inline;
  16717. begin
  16718. pTDefRegMap(@Self)^.&set := $00008000;
  16719. end;
  16720. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  16721. begin
  16722. pTDefRegMap(@Self)^.clr := $00008000;
  16723. end;
  16724. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  16725. begin
  16726. if thebits = 0 then
  16727. pTDefRegMap(@Self)^.clr := $00008000
  16728. else
  16729. pTDefRegMap(@Self)^.&set := $00008000;
  16730. end;
  16731. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  16732. begin
  16733. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16734. end;
  16735. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  16736. begin
  16737. pTDefRegMap(@Self)^.val := thebits;
  16738. end;
  16739. function TRTCC_RTCALRM.getw : TBits_32; inline;
  16740. begin
  16741. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16742. end;
  16743. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  16744. begin
  16745. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16746. end;
  16747. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  16748. begin
  16749. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16750. end;
  16751. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16754. end;
  16755. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  16756. begin
  16757. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16758. end;
  16759. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  16760. begin
  16761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16762. end;
  16763. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  16764. begin
  16765. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16766. end;
  16767. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  16768. begin
  16769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16770. end;
  16771. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  16772. begin
  16773. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16774. end;
  16775. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  16776. begin
  16777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16778. end;
  16779. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  16780. begin
  16781. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16782. end;
  16783. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  16784. begin
  16785. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16786. end;
  16787. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  16788. begin
  16789. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16790. end;
  16791. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  16792. begin
  16793. pTDefRegMap(@Self)^.val := thebits;
  16794. end;
  16795. function TRTCC_RTCTIME.getw : TBits_32; inline;
  16796. begin
  16797. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16798. end;
  16799. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16802. end;
  16803. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  16804. begin
  16805. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16806. end;
  16807. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  16808. begin
  16809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16810. end;
  16811. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  16812. begin
  16813. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16814. end;
  16815. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  16816. begin
  16817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16818. end;
  16819. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  16820. begin
  16821. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16822. end;
  16823. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  16824. begin
  16825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16826. end;
  16827. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  16828. begin
  16829. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16830. end;
  16831. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16834. end;
  16835. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  16836. begin
  16837. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16838. end;
  16839. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  16840. begin
  16841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16842. end;
  16843. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  16844. begin
  16845. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16846. end;
  16847. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  16848. begin
  16849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16850. end;
  16851. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  16852. begin
  16853. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16854. end;
  16855. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  16856. begin
  16857. pTDefRegMap(@Self)^.val := thebits;
  16858. end;
  16859. function TRTCC_RTCDATE.getw : TBits_32; inline;
  16860. begin
  16861. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16862. end;
  16863. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  16864. begin
  16865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16866. end;
  16867. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  16868. begin
  16869. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16870. end;
  16871. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  16872. begin
  16873. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16874. end;
  16875. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  16876. begin
  16877. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16878. end;
  16879. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  16880. begin
  16881. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16882. end;
  16883. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  16884. begin
  16885. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16886. end;
  16887. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  16888. begin
  16889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16890. end;
  16891. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  16892. begin
  16893. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16894. end;
  16895. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  16896. begin
  16897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16898. end;
  16899. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  16900. begin
  16901. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16902. end;
  16903. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  16904. begin
  16905. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16906. end;
  16907. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  16908. begin
  16909. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16910. end;
  16911. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  16912. begin
  16913. pTDefRegMap(@Self)^.val := thebits;
  16914. end;
  16915. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  16916. begin
  16917. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16918. end;
  16919. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  16920. begin
  16921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16922. end;
  16923. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  16924. begin
  16925. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16926. end;
  16927. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  16928. begin
  16929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16930. end;
  16931. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  16932. begin
  16933. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16934. end;
  16935. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  16936. begin
  16937. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16938. end;
  16939. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  16940. begin
  16941. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16942. end;
  16943. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  16944. begin
  16945. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16946. end;
  16947. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  16948. begin
  16949. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16950. end;
  16951. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  16952. begin
  16953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16954. end;
  16955. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  16956. begin
  16957. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16958. end;
  16959. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  16960. begin
  16961. pTDefRegMap(@Self)^.val := thebits;
  16962. end;
  16963. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  16964. begin
  16965. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16966. end;
  16967. procedure TTMR1_T1CON.setTCS; inline;
  16968. begin
  16969. pTDefRegMap(@Self)^.&set := $00000002;
  16970. end;
  16971. procedure TTMR1_T1CON.clearTCS; inline;
  16972. begin
  16973. pTDefRegMap(@Self)^.clr := $00000002;
  16974. end;
  16975. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  16976. begin
  16977. if thebits = 0 then
  16978. pTDefRegMap(@Self)^.clr := $00000002
  16979. else
  16980. pTDefRegMap(@Self)^.&set := $00000002;
  16981. end;
  16982. function TTMR1_T1CON.getTCS : TBits_1; inline;
  16983. begin
  16984. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16985. end;
  16986. procedure TTMR1_T1CON.setTSYNC; inline;
  16987. begin
  16988. pTDefRegMap(@Self)^.&set := $00000004;
  16989. end;
  16990. procedure TTMR1_T1CON.clearTSYNC; inline;
  16991. begin
  16992. pTDefRegMap(@Self)^.clr := $00000004;
  16993. end;
  16994. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  16995. begin
  16996. if thebits = 0 then
  16997. pTDefRegMap(@Self)^.clr := $00000004
  16998. else
  16999. pTDefRegMap(@Self)^.&set := $00000004;
  17000. end;
  17001. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  17002. begin
  17003. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17004. end;
  17005. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  17006. begin
  17007. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  17008. end;
  17009. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  17010. begin
  17011. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  17012. end;
  17013. procedure TTMR1_T1CON.setTGATE; inline;
  17014. begin
  17015. pTDefRegMap(@Self)^.&set := $00000080;
  17016. end;
  17017. procedure TTMR1_T1CON.clearTGATE; inline;
  17018. begin
  17019. pTDefRegMap(@Self)^.clr := $00000080;
  17020. end;
  17021. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  17022. begin
  17023. if thebits = 0 then
  17024. pTDefRegMap(@Self)^.clr := $00000080
  17025. else
  17026. pTDefRegMap(@Self)^.&set := $00000080;
  17027. end;
  17028. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  17029. begin
  17030. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17031. end;
  17032. procedure TTMR1_T1CON.setTWIP; inline;
  17033. begin
  17034. pTDefRegMap(@Self)^.&set := $00000800;
  17035. end;
  17036. procedure TTMR1_T1CON.clearTWIP; inline;
  17037. begin
  17038. pTDefRegMap(@Self)^.clr := $00000800;
  17039. end;
  17040. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  17041. begin
  17042. if thebits = 0 then
  17043. pTDefRegMap(@Self)^.clr := $00000800
  17044. else
  17045. pTDefRegMap(@Self)^.&set := $00000800;
  17046. end;
  17047. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  17048. begin
  17049. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17050. end;
  17051. procedure TTMR1_T1CON.setTWDIS; inline;
  17052. begin
  17053. pTDefRegMap(@Self)^.&set := $00001000;
  17054. end;
  17055. procedure TTMR1_T1CON.clearTWDIS; inline;
  17056. begin
  17057. pTDefRegMap(@Self)^.clr := $00001000;
  17058. end;
  17059. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  17060. begin
  17061. if thebits = 0 then
  17062. pTDefRegMap(@Self)^.clr := $00001000
  17063. else
  17064. pTDefRegMap(@Self)^.&set := $00001000;
  17065. end;
  17066. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  17067. begin
  17068. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17069. end;
  17070. procedure TTMR1_T1CON.setSIDL; inline;
  17071. begin
  17072. pTDefRegMap(@Self)^.&set := $00002000;
  17073. end;
  17074. procedure TTMR1_T1CON.clearSIDL; inline;
  17075. begin
  17076. pTDefRegMap(@Self)^.clr := $00002000;
  17077. end;
  17078. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  17079. begin
  17080. if thebits = 0 then
  17081. pTDefRegMap(@Self)^.clr := $00002000
  17082. else
  17083. pTDefRegMap(@Self)^.&set := $00002000;
  17084. end;
  17085. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  17086. begin
  17087. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17088. end;
  17089. procedure TTMR1_T1CON.setON; inline;
  17090. begin
  17091. pTDefRegMap(@Self)^.&set := $00008000;
  17092. end;
  17093. procedure TTMR1_T1CON.clearON; inline;
  17094. begin
  17095. pTDefRegMap(@Self)^.clr := $00008000;
  17096. end;
  17097. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  17098. begin
  17099. if thebits = 0 then
  17100. pTDefRegMap(@Self)^.clr := $00008000
  17101. else
  17102. pTDefRegMap(@Self)^.&set := $00008000;
  17103. end;
  17104. function TTMR1_T1CON.getON : TBits_1; inline;
  17105. begin
  17106. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17107. end;
  17108. procedure TTMR1_T1CON.setTCKPS0; inline;
  17109. begin
  17110. pTDefRegMap(@Self)^.&set := $00000010;
  17111. end;
  17112. procedure TTMR1_T1CON.clearTCKPS0; inline;
  17113. begin
  17114. pTDefRegMap(@Self)^.clr := $00000010;
  17115. end;
  17116. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  17117. begin
  17118. if thebits = 0 then
  17119. pTDefRegMap(@Self)^.clr := $00000010
  17120. else
  17121. pTDefRegMap(@Self)^.&set := $00000010;
  17122. end;
  17123. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  17124. begin
  17125. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17126. end;
  17127. procedure TTMR1_T1CON.setTCKPS1; inline;
  17128. begin
  17129. pTDefRegMap(@Self)^.&set := $00000020;
  17130. end;
  17131. procedure TTMR1_T1CON.clearTCKPS1; inline;
  17132. begin
  17133. pTDefRegMap(@Self)^.clr := $00000020;
  17134. end;
  17135. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  17136. begin
  17137. if thebits = 0 then
  17138. pTDefRegMap(@Self)^.clr := $00000020
  17139. else
  17140. pTDefRegMap(@Self)^.&set := $00000020;
  17141. end;
  17142. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  17143. begin
  17144. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17145. end;
  17146. procedure TTMR1_T1CON.setTSIDL; inline;
  17147. begin
  17148. pTDefRegMap(@Self)^.&set := $00002000;
  17149. end;
  17150. procedure TTMR1_T1CON.clearTSIDL; inline;
  17151. begin
  17152. pTDefRegMap(@Self)^.clr := $00002000;
  17153. end;
  17154. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  17155. begin
  17156. if thebits = 0 then
  17157. pTDefRegMap(@Self)^.clr := $00002000
  17158. else
  17159. pTDefRegMap(@Self)^.&set := $00002000;
  17160. end;
  17161. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  17162. begin
  17163. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17164. end;
  17165. procedure TTMR1_T1CON.setTON; inline;
  17166. begin
  17167. pTDefRegMap(@Self)^.&set := $00008000;
  17168. end;
  17169. procedure TTMR1_T1CON.clearTON; inline;
  17170. begin
  17171. pTDefRegMap(@Self)^.clr := $00008000;
  17172. end;
  17173. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  17174. begin
  17175. if thebits = 0 then
  17176. pTDefRegMap(@Self)^.clr := $00008000
  17177. else
  17178. pTDefRegMap(@Self)^.&set := $00008000;
  17179. end;
  17180. function TTMR1_T1CON.getTON : TBits_1; inline;
  17181. begin
  17182. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17183. end;
  17184. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  17185. begin
  17186. pTDefRegMap(@Self)^.val := thebits;
  17187. end;
  17188. function TTMR1_T1CON.getw : TBits_32; inline;
  17189. begin
  17190. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17191. end;
  17192. procedure TTMR2_T2CON.setTCS; inline;
  17193. begin
  17194. pTDefRegMap(@Self)^.&set := $00000002;
  17195. end;
  17196. procedure TTMR2_T2CON.clearTCS; inline;
  17197. begin
  17198. pTDefRegMap(@Self)^.clr := $00000002;
  17199. end;
  17200. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  17201. begin
  17202. if thebits = 0 then
  17203. pTDefRegMap(@Self)^.clr := $00000002
  17204. else
  17205. pTDefRegMap(@Self)^.&set := $00000002;
  17206. end;
  17207. function TTMR2_T2CON.getTCS : TBits_1; inline;
  17208. begin
  17209. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17210. end;
  17211. procedure TTMR2_T2CON.setT32; inline;
  17212. begin
  17213. pTDefRegMap(@Self)^.&set := $00000008;
  17214. end;
  17215. procedure TTMR2_T2CON.clearT32; inline;
  17216. begin
  17217. pTDefRegMap(@Self)^.clr := $00000008;
  17218. end;
  17219. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  17220. begin
  17221. if thebits = 0 then
  17222. pTDefRegMap(@Self)^.clr := $00000008
  17223. else
  17224. pTDefRegMap(@Self)^.&set := $00000008;
  17225. end;
  17226. function TTMR2_T2CON.getT32 : TBits_1; inline;
  17227. begin
  17228. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17229. end;
  17230. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  17231. begin
  17232. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17233. end;
  17234. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  17235. begin
  17236. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17237. end;
  17238. procedure TTMR2_T2CON.setTGATE; inline;
  17239. begin
  17240. pTDefRegMap(@Self)^.&set := $00000080;
  17241. end;
  17242. procedure TTMR2_T2CON.clearTGATE; inline;
  17243. begin
  17244. pTDefRegMap(@Self)^.clr := $00000080;
  17245. end;
  17246. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  17247. begin
  17248. if thebits = 0 then
  17249. pTDefRegMap(@Self)^.clr := $00000080
  17250. else
  17251. pTDefRegMap(@Self)^.&set := $00000080;
  17252. end;
  17253. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  17254. begin
  17255. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17256. end;
  17257. procedure TTMR2_T2CON.setSIDL; inline;
  17258. begin
  17259. pTDefRegMap(@Self)^.&set := $00002000;
  17260. end;
  17261. procedure TTMR2_T2CON.clearSIDL; inline;
  17262. begin
  17263. pTDefRegMap(@Self)^.clr := $00002000;
  17264. end;
  17265. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  17266. begin
  17267. if thebits = 0 then
  17268. pTDefRegMap(@Self)^.clr := $00002000
  17269. else
  17270. pTDefRegMap(@Self)^.&set := $00002000;
  17271. end;
  17272. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  17273. begin
  17274. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17275. end;
  17276. procedure TTMR2_T2CON.setON; inline;
  17277. begin
  17278. pTDefRegMap(@Self)^.&set := $00008000;
  17279. end;
  17280. procedure TTMR2_T2CON.clearON; inline;
  17281. begin
  17282. pTDefRegMap(@Self)^.clr := $00008000;
  17283. end;
  17284. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  17285. begin
  17286. if thebits = 0 then
  17287. pTDefRegMap(@Self)^.clr := $00008000
  17288. else
  17289. pTDefRegMap(@Self)^.&set := $00008000;
  17290. end;
  17291. function TTMR2_T2CON.getON : TBits_1; inline;
  17292. begin
  17293. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17294. end;
  17295. procedure TTMR2_T2CON.setTCKPS0; inline;
  17296. begin
  17297. pTDefRegMap(@Self)^.&set := $00000010;
  17298. end;
  17299. procedure TTMR2_T2CON.clearTCKPS0; inline;
  17300. begin
  17301. pTDefRegMap(@Self)^.clr := $00000010;
  17302. end;
  17303. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  17304. begin
  17305. if thebits = 0 then
  17306. pTDefRegMap(@Self)^.clr := $00000010
  17307. else
  17308. pTDefRegMap(@Self)^.&set := $00000010;
  17309. end;
  17310. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  17311. begin
  17312. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17313. end;
  17314. procedure TTMR2_T2CON.setTCKPS1; inline;
  17315. begin
  17316. pTDefRegMap(@Self)^.&set := $00000020;
  17317. end;
  17318. procedure TTMR2_T2CON.clearTCKPS1; inline;
  17319. begin
  17320. pTDefRegMap(@Self)^.clr := $00000020;
  17321. end;
  17322. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  17323. begin
  17324. if thebits = 0 then
  17325. pTDefRegMap(@Self)^.clr := $00000020
  17326. else
  17327. pTDefRegMap(@Self)^.&set := $00000020;
  17328. end;
  17329. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  17330. begin
  17331. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17332. end;
  17333. procedure TTMR2_T2CON.setTCKPS2; inline;
  17334. begin
  17335. pTDefRegMap(@Self)^.&set := $00000040;
  17336. end;
  17337. procedure TTMR2_T2CON.clearTCKPS2; inline;
  17338. begin
  17339. pTDefRegMap(@Self)^.clr := $00000040;
  17340. end;
  17341. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  17342. begin
  17343. if thebits = 0 then
  17344. pTDefRegMap(@Self)^.clr := $00000040
  17345. else
  17346. pTDefRegMap(@Self)^.&set := $00000040;
  17347. end;
  17348. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  17349. begin
  17350. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17351. end;
  17352. procedure TTMR2_T2CON.setTSIDL; inline;
  17353. begin
  17354. pTDefRegMap(@Self)^.&set := $00002000;
  17355. end;
  17356. procedure TTMR2_T2CON.clearTSIDL; inline;
  17357. begin
  17358. pTDefRegMap(@Self)^.clr := $00002000;
  17359. end;
  17360. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  17361. begin
  17362. if thebits = 0 then
  17363. pTDefRegMap(@Self)^.clr := $00002000
  17364. else
  17365. pTDefRegMap(@Self)^.&set := $00002000;
  17366. end;
  17367. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  17368. begin
  17369. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17370. end;
  17371. procedure TTMR2_T2CON.setTON; inline;
  17372. begin
  17373. pTDefRegMap(@Self)^.&set := $00008000;
  17374. end;
  17375. procedure TTMR2_T2CON.clearTON; inline;
  17376. begin
  17377. pTDefRegMap(@Self)^.clr := $00008000;
  17378. end;
  17379. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  17380. begin
  17381. if thebits = 0 then
  17382. pTDefRegMap(@Self)^.clr := $00008000
  17383. else
  17384. pTDefRegMap(@Self)^.&set := $00008000;
  17385. end;
  17386. function TTMR2_T2CON.getTON : TBits_1; inline;
  17387. begin
  17388. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17389. end;
  17390. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  17391. begin
  17392. pTDefRegMap(@Self)^.val := thebits;
  17393. end;
  17394. function TTMR2_T2CON.getw : TBits_32; inline;
  17395. begin
  17396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17397. end;
  17398. procedure TTMR3_T3CON.setTCS; inline;
  17399. begin
  17400. pTDefRegMap(@Self)^.&set := $00000002;
  17401. end;
  17402. procedure TTMR3_T3CON.clearTCS; inline;
  17403. begin
  17404. pTDefRegMap(@Self)^.clr := $00000002;
  17405. end;
  17406. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  17407. begin
  17408. if thebits = 0 then
  17409. pTDefRegMap(@Self)^.clr := $00000002
  17410. else
  17411. pTDefRegMap(@Self)^.&set := $00000002;
  17412. end;
  17413. function TTMR3_T3CON.getTCS : TBits_1; inline;
  17414. begin
  17415. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17416. end;
  17417. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  17418. begin
  17419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17420. end;
  17421. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  17422. begin
  17423. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17424. end;
  17425. procedure TTMR3_T3CON.setTGATE; inline;
  17426. begin
  17427. pTDefRegMap(@Self)^.&set := $00000080;
  17428. end;
  17429. procedure TTMR3_T3CON.clearTGATE; inline;
  17430. begin
  17431. pTDefRegMap(@Self)^.clr := $00000080;
  17432. end;
  17433. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  17434. begin
  17435. if thebits = 0 then
  17436. pTDefRegMap(@Self)^.clr := $00000080
  17437. else
  17438. pTDefRegMap(@Self)^.&set := $00000080;
  17439. end;
  17440. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  17441. begin
  17442. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17443. end;
  17444. procedure TTMR3_T3CON.setSIDL; inline;
  17445. begin
  17446. pTDefRegMap(@Self)^.&set := $00002000;
  17447. end;
  17448. procedure TTMR3_T3CON.clearSIDL; inline;
  17449. begin
  17450. pTDefRegMap(@Self)^.clr := $00002000;
  17451. end;
  17452. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  17453. begin
  17454. if thebits = 0 then
  17455. pTDefRegMap(@Self)^.clr := $00002000
  17456. else
  17457. pTDefRegMap(@Self)^.&set := $00002000;
  17458. end;
  17459. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  17460. begin
  17461. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17462. end;
  17463. procedure TTMR3_T3CON.setON; inline;
  17464. begin
  17465. pTDefRegMap(@Self)^.&set := $00008000;
  17466. end;
  17467. procedure TTMR3_T3CON.clearON; inline;
  17468. begin
  17469. pTDefRegMap(@Self)^.clr := $00008000;
  17470. end;
  17471. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  17472. begin
  17473. if thebits = 0 then
  17474. pTDefRegMap(@Self)^.clr := $00008000
  17475. else
  17476. pTDefRegMap(@Self)^.&set := $00008000;
  17477. end;
  17478. function TTMR3_T3CON.getON : TBits_1; inline;
  17479. begin
  17480. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17481. end;
  17482. procedure TTMR3_T3CON.setTCKPS0; inline;
  17483. begin
  17484. pTDefRegMap(@Self)^.&set := $00000010;
  17485. end;
  17486. procedure TTMR3_T3CON.clearTCKPS0; inline;
  17487. begin
  17488. pTDefRegMap(@Self)^.clr := $00000010;
  17489. end;
  17490. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  17491. begin
  17492. if thebits = 0 then
  17493. pTDefRegMap(@Self)^.clr := $00000010
  17494. else
  17495. pTDefRegMap(@Self)^.&set := $00000010;
  17496. end;
  17497. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  17498. begin
  17499. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17500. end;
  17501. procedure TTMR3_T3CON.setTCKPS1; inline;
  17502. begin
  17503. pTDefRegMap(@Self)^.&set := $00000020;
  17504. end;
  17505. procedure TTMR3_T3CON.clearTCKPS1; inline;
  17506. begin
  17507. pTDefRegMap(@Self)^.clr := $00000020;
  17508. end;
  17509. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  17510. begin
  17511. if thebits = 0 then
  17512. pTDefRegMap(@Self)^.clr := $00000020
  17513. else
  17514. pTDefRegMap(@Self)^.&set := $00000020;
  17515. end;
  17516. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  17517. begin
  17518. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17519. end;
  17520. procedure TTMR3_T3CON.setTCKPS2; inline;
  17521. begin
  17522. pTDefRegMap(@Self)^.&set := $00000040;
  17523. end;
  17524. procedure TTMR3_T3CON.clearTCKPS2; inline;
  17525. begin
  17526. pTDefRegMap(@Self)^.clr := $00000040;
  17527. end;
  17528. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  17529. begin
  17530. if thebits = 0 then
  17531. pTDefRegMap(@Self)^.clr := $00000040
  17532. else
  17533. pTDefRegMap(@Self)^.&set := $00000040;
  17534. end;
  17535. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  17536. begin
  17537. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17538. end;
  17539. procedure TTMR3_T3CON.setTSIDL; inline;
  17540. begin
  17541. pTDefRegMap(@Self)^.&set := $00002000;
  17542. end;
  17543. procedure TTMR3_T3CON.clearTSIDL; inline;
  17544. begin
  17545. pTDefRegMap(@Self)^.clr := $00002000;
  17546. end;
  17547. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  17548. begin
  17549. if thebits = 0 then
  17550. pTDefRegMap(@Self)^.clr := $00002000
  17551. else
  17552. pTDefRegMap(@Self)^.&set := $00002000;
  17553. end;
  17554. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  17555. begin
  17556. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17557. end;
  17558. procedure TTMR3_T3CON.setTON; inline;
  17559. begin
  17560. pTDefRegMap(@Self)^.&set := $00008000;
  17561. end;
  17562. procedure TTMR3_T3CON.clearTON; inline;
  17563. begin
  17564. pTDefRegMap(@Self)^.clr := $00008000;
  17565. end;
  17566. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  17567. begin
  17568. if thebits = 0 then
  17569. pTDefRegMap(@Self)^.clr := $00008000
  17570. else
  17571. pTDefRegMap(@Self)^.&set := $00008000;
  17572. end;
  17573. function TTMR3_T3CON.getTON : TBits_1; inline;
  17574. begin
  17575. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17576. end;
  17577. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  17578. begin
  17579. pTDefRegMap(@Self)^.val := thebits;
  17580. end;
  17581. function TTMR3_T3CON.getw : TBits_32; inline;
  17582. begin
  17583. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17584. end;
  17585. procedure TTMR4_T4CON.setTCS; inline;
  17586. begin
  17587. pTDefRegMap(@Self)^.&set := $00000002;
  17588. end;
  17589. procedure TTMR4_T4CON.clearTCS; inline;
  17590. begin
  17591. pTDefRegMap(@Self)^.clr := $00000002;
  17592. end;
  17593. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  17594. begin
  17595. if thebits = 0 then
  17596. pTDefRegMap(@Self)^.clr := $00000002
  17597. else
  17598. pTDefRegMap(@Self)^.&set := $00000002;
  17599. end;
  17600. function TTMR4_T4CON.getTCS : TBits_1; inline;
  17601. begin
  17602. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17603. end;
  17604. procedure TTMR4_T4CON.setT32; inline;
  17605. begin
  17606. pTDefRegMap(@Self)^.&set := $00000008;
  17607. end;
  17608. procedure TTMR4_T4CON.clearT32; inline;
  17609. begin
  17610. pTDefRegMap(@Self)^.clr := $00000008;
  17611. end;
  17612. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  17613. begin
  17614. if thebits = 0 then
  17615. pTDefRegMap(@Self)^.clr := $00000008
  17616. else
  17617. pTDefRegMap(@Self)^.&set := $00000008;
  17618. end;
  17619. function TTMR4_T4CON.getT32 : TBits_1; inline;
  17620. begin
  17621. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17622. end;
  17623. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  17624. begin
  17625. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17626. end;
  17627. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  17628. begin
  17629. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17630. end;
  17631. procedure TTMR4_T4CON.setTGATE; inline;
  17632. begin
  17633. pTDefRegMap(@Self)^.&set := $00000080;
  17634. end;
  17635. procedure TTMR4_T4CON.clearTGATE; inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.clr := $00000080;
  17638. end;
  17639. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  17640. begin
  17641. if thebits = 0 then
  17642. pTDefRegMap(@Self)^.clr := $00000080
  17643. else
  17644. pTDefRegMap(@Self)^.&set := $00000080;
  17645. end;
  17646. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  17647. begin
  17648. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17649. end;
  17650. procedure TTMR4_T4CON.setSIDL; inline;
  17651. begin
  17652. pTDefRegMap(@Self)^.&set := $00002000;
  17653. end;
  17654. procedure TTMR4_T4CON.clearSIDL; inline;
  17655. begin
  17656. pTDefRegMap(@Self)^.clr := $00002000;
  17657. end;
  17658. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  17659. begin
  17660. if thebits = 0 then
  17661. pTDefRegMap(@Self)^.clr := $00002000
  17662. else
  17663. pTDefRegMap(@Self)^.&set := $00002000;
  17664. end;
  17665. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  17666. begin
  17667. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17668. end;
  17669. procedure TTMR4_T4CON.setON; inline;
  17670. begin
  17671. pTDefRegMap(@Self)^.&set := $00008000;
  17672. end;
  17673. procedure TTMR4_T4CON.clearON; inline;
  17674. begin
  17675. pTDefRegMap(@Self)^.clr := $00008000;
  17676. end;
  17677. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  17678. begin
  17679. if thebits = 0 then
  17680. pTDefRegMap(@Self)^.clr := $00008000
  17681. else
  17682. pTDefRegMap(@Self)^.&set := $00008000;
  17683. end;
  17684. function TTMR4_T4CON.getON : TBits_1; inline;
  17685. begin
  17686. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17687. end;
  17688. procedure TTMR4_T4CON.setTCKPS0; inline;
  17689. begin
  17690. pTDefRegMap(@Self)^.&set := $00000010;
  17691. end;
  17692. procedure TTMR4_T4CON.clearTCKPS0; inline;
  17693. begin
  17694. pTDefRegMap(@Self)^.clr := $00000010;
  17695. end;
  17696. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  17697. begin
  17698. if thebits = 0 then
  17699. pTDefRegMap(@Self)^.clr := $00000010
  17700. else
  17701. pTDefRegMap(@Self)^.&set := $00000010;
  17702. end;
  17703. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  17704. begin
  17705. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17706. end;
  17707. procedure TTMR4_T4CON.setTCKPS1; inline;
  17708. begin
  17709. pTDefRegMap(@Self)^.&set := $00000020;
  17710. end;
  17711. procedure TTMR4_T4CON.clearTCKPS1; inline;
  17712. begin
  17713. pTDefRegMap(@Self)^.clr := $00000020;
  17714. end;
  17715. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  17716. begin
  17717. if thebits = 0 then
  17718. pTDefRegMap(@Self)^.clr := $00000020
  17719. else
  17720. pTDefRegMap(@Self)^.&set := $00000020;
  17721. end;
  17722. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  17723. begin
  17724. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17725. end;
  17726. procedure TTMR4_T4CON.setTCKPS2; inline;
  17727. begin
  17728. pTDefRegMap(@Self)^.&set := $00000040;
  17729. end;
  17730. procedure TTMR4_T4CON.clearTCKPS2; inline;
  17731. begin
  17732. pTDefRegMap(@Self)^.clr := $00000040;
  17733. end;
  17734. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  17735. begin
  17736. if thebits = 0 then
  17737. pTDefRegMap(@Self)^.clr := $00000040
  17738. else
  17739. pTDefRegMap(@Self)^.&set := $00000040;
  17740. end;
  17741. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  17742. begin
  17743. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17744. end;
  17745. procedure TTMR4_T4CON.setTSIDL; inline;
  17746. begin
  17747. pTDefRegMap(@Self)^.&set := $00002000;
  17748. end;
  17749. procedure TTMR4_T4CON.clearTSIDL; inline;
  17750. begin
  17751. pTDefRegMap(@Self)^.clr := $00002000;
  17752. end;
  17753. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  17754. begin
  17755. if thebits = 0 then
  17756. pTDefRegMap(@Self)^.clr := $00002000
  17757. else
  17758. pTDefRegMap(@Self)^.&set := $00002000;
  17759. end;
  17760. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  17761. begin
  17762. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17763. end;
  17764. procedure TTMR4_T4CON.setTON; inline;
  17765. begin
  17766. pTDefRegMap(@Self)^.&set := $00008000;
  17767. end;
  17768. procedure TTMR4_T4CON.clearTON; inline;
  17769. begin
  17770. pTDefRegMap(@Self)^.clr := $00008000;
  17771. end;
  17772. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  17773. begin
  17774. if thebits = 0 then
  17775. pTDefRegMap(@Self)^.clr := $00008000
  17776. else
  17777. pTDefRegMap(@Self)^.&set := $00008000;
  17778. end;
  17779. function TTMR4_T4CON.getTON : TBits_1; inline;
  17780. begin
  17781. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17782. end;
  17783. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  17784. begin
  17785. pTDefRegMap(@Self)^.val := thebits;
  17786. end;
  17787. function TTMR4_T4CON.getw : TBits_32; inline;
  17788. begin
  17789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17790. end;
  17791. procedure TTMR5_T5CON.setTCS; inline;
  17792. begin
  17793. pTDefRegMap(@Self)^.&set := $00000002;
  17794. end;
  17795. procedure TTMR5_T5CON.clearTCS; inline;
  17796. begin
  17797. pTDefRegMap(@Self)^.clr := $00000002;
  17798. end;
  17799. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  17800. begin
  17801. if thebits = 0 then
  17802. pTDefRegMap(@Self)^.clr := $00000002
  17803. else
  17804. pTDefRegMap(@Self)^.&set := $00000002;
  17805. end;
  17806. function TTMR5_T5CON.getTCS : TBits_1; inline;
  17807. begin
  17808. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17809. end;
  17810. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  17811. begin
  17812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17813. end;
  17814. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  17815. begin
  17816. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17817. end;
  17818. procedure TTMR5_T5CON.setTGATE; inline;
  17819. begin
  17820. pTDefRegMap(@Self)^.&set := $00000080;
  17821. end;
  17822. procedure TTMR5_T5CON.clearTGATE; inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.clr := $00000080;
  17825. end;
  17826. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  17827. begin
  17828. if thebits = 0 then
  17829. pTDefRegMap(@Self)^.clr := $00000080
  17830. else
  17831. pTDefRegMap(@Self)^.&set := $00000080;
  17832. end;
  17833. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  17834. begin
  17835. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17836. end;
  17837. procedure TTMR5_T5CON.setSIDL; inline;
  17838. begin
  17839. pTDefRegMap(@Self)^.&set := $00002000;
  17840. end;
  17841. procedure TTMR5_T5CON.clearSIDL; inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.clr := $00002000;
  17844. end;
  17845. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  17846. begin
  17847. if thebits = 0 then
  17848. pTDefRegMap(@Self)^.clr := $00002000
  17849. else
  17850. pTDefRegMap(@Self)^.&set := $00002000;
  17851. end;
  17852. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  17853. begin
  17854. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17855. end;
  17856. procedure TTMR5_T5CON.setON; inline;
  17857. begin
  17858. pTDefRegMap(@Self)^.&set := $00008000;
  17859. end;
  17860. procedure TTMR5_T5CON.clearON; inline;
  17861. begin
  17862. pTDefRegMap(@Self)^.clr := $00008000;
  17863. end;
  17864. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  17865. begin
  17866. if thebits = 0 then
  17867. pTDefRegMap(@Self)^.clr := $00008000
  17868. else
  17869. pTDefRegMap(@Self)^.&set := $00008000;
  17870. end;
  17871. function TTMR5_T5CON.getON : TBits_1; inline;
  17872. begin
  17873. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17874. end;
  17875. procedure TTMR5_T5CON.setTCKPS0; inline;
  17876. begin
  17877. pTDefRegMap(@Self)^.&set := $00000010;
  17878. end;
  17879. procedure TTMR5_T5CON.clearTCKPS0; inline;
  17880. begin
  17881. pTDefRegMap(@Self)^.clr := $00000010;
  17882. end;
  17883. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  17884. begin
  17885. if thebits = 0 then
  17886. pTDefRegMap(@Self)^.clr := $00000010
  17887. else
  17888. pTDefRegMap(@Self)^.&set := $00000010;
  17889. end;
  17890. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  17891. begin
  17892. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17893. end;
  17894. procedure TTMR5_T5CON.setTCKPS1; inline;
  17895. begin
  17896. pTDefRegMap(@Self)^.&set := $00000020;
  17897. end;
  17898. procedure TTMR5_T5CON.clearTCKPS1; inline;
  17899. begin
  17900. pTDefRegMap(@Self)^.clr := $00000020;
  17901. end;
  17902. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  17903. begin
  17904. if thebits = 0 then
  17905. pTDefRegMap(@Self)^.clr := $00000020
  17906. else
  17907. pTDefRegMap(@Self)^.&set := $00000020;
  17908. end;
  17909. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  17910. begin
  17911. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17912. end;
  17913. procedure TTMR5_T5CON.setTCKPS2; inline;
  17914. begin
  17915. pTDefRegMap(@Self)^.&set := $00000040;
  17916. end;
  17917. procedure TTMR5_T5CON.clearTCKPS2; inline;
  17918. begin
  17919. pTDefRegMap(@Self)^.clr := $00000040;
  17920. end;
  17921. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  17922. begin
  17923. if thebits = 0 then
  17924. pTDefRegMap(@Self)^.clr := $00000040
  17925. else
  17926. pTDefRegMap(@Self)^.&set := $00000040;
  17927. end;
  17928. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  17929. begin
  17930. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17931. end;
  17932. procedure TTMR5_T5CON.setTSIDL; inline;
  17933. begin
  17934. pTDefRegMap(@Self)^.&set := $00002000;
  17935. end;
  17936. procedure TTMR5_T5CON.clearTSIDL; inline;
  17937. begin
  17938. pTDefRegMap(@Self)^.clr := $00002000;
  17939. end;
  17940. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  17941. begin
  17942. if thebits = 0 then
  17943. pTDefRegMap(@Self)^.clr := $00002000
  17944. else
  17945. pTDefRegMap(@Self)^.&set := $00002000;
  17946. end;
  17947. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  17948. begin
  17949. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17950. end;
  17951. procedure TTMR5_T5CON.setTON; inline;
  17952. begin
  17953. pTDefRegMap(@Self)^.&set := $00008000;
  17954. end;
  17955. procedure TTMR5_T5CON.clearTON; inline;
  17956. begin
  17957. pTDefRegMap(@Self)^.clr := $00008000;
  17958. end;
  17959. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  17960. begin
  17961. if thebits = 0 then
  17962. pTDefRegMap(@Self)^.clr := $00008000
  17963. else
  17964. pTDefRegMap(@Self)^.&set := $00008000;
  17965. end;
  17966. function TTMR5_T5CON.getTON : TBits_1; inline;
  17967. begin
  17968. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17969. end;
  17970. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  17971. begin
  17972. pTDefRegMap(@Self)^.val := thebits;
  17973. end;
  17974. function TTMR5_T5CON.getw : TBits_32; inline;
  17975. begin
  17976. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17977. end;
  17978. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  17979. begin
  17980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17981. end;
  17982. function TICAP1_IC1CON.getICM : TBits_3; inline;
  17983. begin
  17984. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17985. end;
  17986. procedure TICAP1_IC1CON.setICBNE; inline;
  17987. begin
  17988. pTDefRegMap(@Self)^.&set := $00000008;
  17989. end;
  17990. procedure TICAP1_IC1CON.clearICBNE; inline;
  17991. begin
  17992. pTDefRegMap(@Self)^.clr := $00000008;
  17993. end;
  17994. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  17995. begin
  17996. if thebits = 0 then
  17997. pTDefRegMap(@Self)^.clr := $00000008
  17998. else
  17999. pTDefRegMap(@Self)^.&set := $00000008;
  18000. end;
  18001. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  18002. begin
  18003. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18004. end;
  18005. procedure TICAP1_IC1CON.setICOV; inline;
  18006. begin
  18007. pTDefRegMap(@Self)^.&set := $00000010;
  18008. end;
  18009. procedure TICAP1_IC1CON.clearICOV; inline;
  18010. begin
  18011. pTDefRegMap(@Self)^.clr := $00000010;
  18012. end;
  18013. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  18014. begin
  18015. if thebits = 0 then
  18016. pTDefRegMap(@Self)^.clr := $00000010
  18017. else
  18018. pTDefRegMap(@Self)^.&set := $00000010;
  18019. end;
  18020. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  18021. begin
  18022. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18023. end;
  18024. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  18025. begin
  18026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18027. end;
  18028. function TICAP1_IC1CON.getICI : TBits_2; inline;
  18029. begin
  18030. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18031. end;
  18032. procedure TICAP1_IC1CON.setICTMR; inline;
  18033. begin
  18034. pTDefRegMap(@Self)^.&set := $00000080;
  18035. end;
  18036. procedure TICAP1_IC1CON.clearICTMR; inline;
  18037. begin
  18038. pTDefRegMap(@Self)^.clr := $00000080;
  18039. end;
  18040. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  18041. begin
  18042. if thebits = 0 then
  18043. pTDefRegMap(@Self)^.clr := $00000080
  18044. else
  18045. pTDefRegMap(@Self)^.&set := $00000080;
  18046. end;
  18047. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  18048. begin
  18049. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18050. end;
  18051. procedure TICAP1_IC1CON.setC32; inline;
  18052. begin
  18053. pTDefRegMap(@Self)^.&set := $00000100;
  18054. end;
  18055. procedure TICAP1_IC1CON.clearC32; inline;
  18056. begin
  18057. pTDefRegMap(@Self)^.clr := $00000100;
  18058. end;
  18059. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  18060. begin
  18061. if thebits = 0 then
  18062. pTDefRegMap(@Self)^.clr := $00000100
  18063. else
  18064. pTDefRegMap(@Self)^.&set := $00000100;
  18065. end;
  18066. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  18067. begin
  18068. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18069. end;
  18070. procedure TICAP1_IC1CON.setFEDGE; inline;
  18071. begin
  18072. pTDefRegMap(@Self)^.&set := $00000200;
  18073. end;
  18074. procedure TICAP1_IC1CON.clearFEDGE; inline;
  18075. begin
  18076. pTDefRegMap(@Self)^.clr := $00000200;
  18077. end;
  18078. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  18079. begin
  18080. if thebits = 0 then
  18081. pTDefRegMap(@Self)^.clr := $00000200
  18082. else
  18083. pTDefRegMap(@Self)^.&set := $00000200;
  18084. end;
  18085. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  18086. begin
  18087. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18088. end;
  18089. procedure TICAP1_IC1CON.setSIDL; inline;
  18090. begin
  18091. pTDefRegMap(@Self)^.&set := $00002000;
  18092. end;
  18093. procedure TICAP1_IC1CON.clearSIDL; inline;
  18094. begin
  18095. pTDefRegMap(@Self)^.clr := $00002000;
  18096. end;
  18097. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  18098. begin
  18099. if thebits = 0 then
  18100. pTDefRegMap(@Self)^.clr := $00002000
  18101. else
  18102. pTDefRegMap(@Self)^.&set := $00002000;
  18103. end;
  18104. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  18105. begin
  18106. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18107. end;
  18108. procedure TICAP1_IC1CON.setON; inline;
  18109. begin
  18110. pTDefRegMap(@Self)^.&set := $00008000;
  18111. end;
  18112. procedure TICAP1_IC1CON.clearON; inline;
  18113. begin
  18114. pTDefRegMap(@Self)^.clr := $00008000;
  18115. end;
  18116. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  18117. begin
  18118. if thebits = 0 then
  18119. pTDefRegMap(@Self)^.clr := $00008000
  18120. else
  18121. pTDefRegMap(@Self)^.&set := $00008000;
  18122. end;
  18123. function TICAP1_IC1CON.getON : TBits_1; inline;
  18124. begin
  18125. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18126. end;
  18127. procedure TICAP1_IC1CON.setICM0; inline;
  18128. begin
  18129. pTDefRegMap(@Self)^.&set := $00000001;
  18130. end;
  18131. procedure TICAP1_IC1CON.clearICM0; inline;
  18132. begin
  18133. pTDefRegMap(@Self)^.clr := $00000001;
  18134. end;
  18135. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  18136. begin
  18137. if thebits = 0 then
  18138. pTDefRegMap(@Self)^.clr := $00000001
  18139. else
  18140. pTDefRegMap(@Self)^.&set := $00000001;
  18141. end;
  18142. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  18143. begin
  18144. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18145. end;
  18146. procedure TICAP1_IC1CON.setICM1; inline;
  18147. begin
  18148. pTDefRegMap(@Self)^.&set := $00000002;
  18149. end;
  18150. procedure TICAP1_IC1CON.clearICM1; inline;
  18151. begin
  18152. pTDefRegMap(@Self)^.clr := $00000002;
  18153. end;
  18154. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  18155. begin
  18156. if thebits = 0 then
  18157. pTDefRegMap(@Self)^.clr := $00000002
  18158. else
  18159. pTDefRegMap(@Self)^.&set := $00000002;
  18160. end;
  18161. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  18162. begin
  18163. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18164. end;
  18165. procedure TICAP1_IC1CON.setICM2; inline;
  18166. begin
  18167. pTDefRegMap(@Self)^.&set := $00000004;
  18168. end;
  18169. procedure TICAP1_IC1CON.clearICM2; inline;
  18170. begin
  18171. pTDefRegMap(@Self)^.clr := $00000004;
  18172. end;
  18173. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  18174. begin
  18175. if thebits = 0 then
  18176. pTDefRegMap(@Self)^.clr := $00000004
  18177. else
  18178. pTDefRegMap(@Self)^.&set := $00000004;
  18179. end;
  18180. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  18181. begin
  18182. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18183. end;
  18184. procedure TICAP1_IC1CON.setICI0; inline;
  18185. begin
  18186. pTDefRegMap(@Self)^.&set := $00000020;
  18187. end;
  18188. procedure TICAP1_IC1CON.clearICI0; inline;
  18189. begin
  18190. pTDefRegMap(@Self)^.clr := $00000020;
  18191. end;
  18192. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  18193. begin
  18194. if thebits = 0 then
  18195. pTDefRegMap(@Self)^.clr := $00000020
  18196. else
  18197. pTDefRegMap(@Self)^.&set := $00000020;
  18198. end;
  18199. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  18200. begin
  18201. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18202. end;
  18203. procedure TICAP1_IC1CON.setICI1; inline;
  18204. begin
  18205. pTDefRegMap(@Self)^.&set := $00000040;
  18206. end;
  18207. procedure TICAP1_IC1CON.clearICI1; inline;
  18208. begin
  18209. pTDefRegMap(@Self)^.clr := $00000040;
  18210. end;
  18211. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  18212. begin
  18213. if thebits = 0 then
  18214. pTDefRegMap(@Self)^.clr := $00000040
  18215. else
  18216. pTDefRegMap(@Self)^.&set := $00000040;
  18217. end;
  18218. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  18219. begin
  18220. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18221. end;
  18222. procedure TICAP1_IC1CON.setICSIDL; inline;
  18223. begin
  18224. pTDefRegMap(@Self)^.&set := $00002000;
  18225. end;
  18226. procedure TICAP1_IC1CON.clearICSIDL; inline;
  18227. begin
  18228. pTDefRegMap(@Self)^.clr := $00002000;
  18229. end;
  18230. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  18231. begin
  18232. if thebits = 0 then
  18233. pTDefRegMap(@Self)^.clr := $00002000
  18234. else
  18235. pTDefRegMap(@Self)^.&set := $00002000;
  18236. end;
  18237. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  18238. begin
  18239. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18240. end;
  18241. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  18242. begin
  18243. pTDefRegMap(@Self)^.val := thebits;
  18244. end;
  18245. function TICAP1_IC1CON.getw : TBits_32; inline;
  18246. begin
  18247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18248. end;
  18249. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  18250. begin
  18251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18252. end;
  18253. function TICAP2_IC2CON.getICM : TBits_3; inline;
  18254. begin
  18255. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18256. end;
  18257. procedure TICAP2_IC2CON.setICBNE; inline;
  18258. begin
  18259. pTDefRegMap(@Self)^.&set := $00000008;
  18260. end;
  18261. procedure TICAP2_IC2CON.clearICBNE; inline;
  18262. begin
  18263. pTDefRegMap(@Self)^.clr := $00000008;
  18264. end;
  18265. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  18266. begin
  18267. if thebits = 0 then
  18268. pTDefRegMap(@Self)^.clr := $00000008
  18269. else
  18270. pTDefRegMap(@Self)^.&set := $00000008;
  18271. end;
  18272. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  18273. begin
  18274. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18275. end;
  18276. procedure TICAP2_IC2CON.setICOV; inline;
  18277. begin
  18278. pTDefRegMap(@Self)^.&set := $00000010;
  18279. end;
  18280. procedure TICAP2_IC2CON.clearICOV; inline;
  18281. begin
  18282. pTDefRegMap(@Self)^.clr := $00000010;
  18283. end;
  18284. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  18285. begin
  18286. if thebits = 0 then
  18287. pTDefRegMap(@Self)^.clr := $00000010
  18288. else
  18289. pTDefRegMap(@Self)^.&set := $00000010;
  18290. end;
  18291. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  18292. begin
  18293. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18294. end;
  18295. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  18296. begin
  18297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18298. end;
  18299. function TICAP2_IC2CON.getICI : TBits_2; inline;
  18300. begin
  18301. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18302. end;
  18303. procedure TICAP2_IC2CON.setICTMR; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.&set := $00000080;
  18306. end;
  18307. procedure TICAP2_IC2CON.clearICTMR; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.clr := $00000080;
  18310. end;
  18311. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  18312. begin
  18313. if thebits = 0 then
  18314. pTDefRegMap(@Self)^.clr := $00000080
  18315. else
  18316. pTDefRegMap(@Self)^.&set := $00000080;
  18317. end;
  18318. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  18319. begin
  18320. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18321. end;
  18322. procedure TICAP2_IC2CON.setC32; inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.&set := $00000100;
  18325. end;
  18326. procedure TICAP2_IC2CON.clearC32; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.clr := $00000100;
  18329. end;
  18330. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  18331. begin
  18332. if thebits = 0 then
  18333. pTDefRegMap(@Self)^.clr := $00000100
  18334. else
  18335. pTDefRegMap(@Self)^.&set := $00000100;
  18336. end;
  18337. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  18338. begin
  18339. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18340. end;
  18341. procedure TICAP2_IC2CON.setFEDGE; inline;
  18342. begin
  18343. pTDefRegMap(@Self)^.&set := $00000200;
  18344. end;
  18345. procedure TICAP2_IC2CON.clearFEDGE; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.clr := $00000200;
  18348. end;
  18349. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  18350. begin
  18351. if thebits = 0 then
  18352. pTDefRegMap(@Self)^.clr := $00000200
  18353. else
  18354. pTDefRegMap(@Self)^.&set := $00000200;
  18355. end;
  18356. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  18357. begin
  18358. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18359. end;
  18360. procedure TICAP2_IC2CON.setSIDL; inline;
  18361. begin
  18362. pTDefRegMap(@Self)^.&set := $00002000;
  18363. end;
  18364. procedure TICAP2_IC2CON.clearSIDL; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.clr := $00002000;
  18367. end;
  18368. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  18369. begin
  18370. if thebits = 0 then
  18371. pTDefRegMap(@Self)^.clr := $00002000
  18372. else
  18373. pTDefRegMap(@Self)^.&set := $00002000;
  18374. end;
  18375. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  18376. begin
  18377. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18378. end;
  18379. procedure TICAP2_IC2CON.setON; inline;
  18380. begin
  18381. pTDefRegMap(@Self)^.&set := $00008000;
  18382. end;
  18383. procedure TICAP2_IC2CON.clearON; inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.clr := $00008000;
  18386. end;
  18387. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  18388. begin
  18389. if thebits = 0 then
  18390. pTDefRegMap(@Self)^.clr := $00008000
  18391. else
  18392. pTDefRegMap(@Self)^.&set := $00008000;
  18393. end;
  18394. function TICAP2_IC2CON.getON : TBits_1; inline;
  18395. begin
  18396. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18397. end;
  18398. procedure TICAP2_IC2CON.setICM0; inline;
  18399. begin
  18400. pTDefRegMap(@Self)^.&set := $00000001;
  18401. end;
  18402. procedure TICAP2_IC2CON.clearICM0; inline;
  18403. begin
  18404. pTDefRegMap(@Self)^.clr := $00000001;
  18405. end;
  18406. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  18407. begin
  18408. if thebits = 0 then
  18409. pTDefRegMap(@Self)^.clr := $00000001
  18410. else
  18411. pTDefRegMap(@Self)^.&set := $00000001;
  18412. end;
  18413. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  18414. begin
  18415. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18416. end;
  18417. procedure TICAP2_IC2CON.setICM1; inline;
  18418. begin
  18419. pTDefRegMap(@Self)^.&set := $00000002;
  18420. end;
  18421. procedure TICAP2_IC2CON.clearICM1; inline;
  18422. begin
  18423. pTDefRegMap(@Self)^.clr := $00000002;
  18424. end;
  18425. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  18426. begin
  18427. if thebits = 0 then
  18428. pTDefRegMap(@Self)^.clr := $00000002
  18429. else
  18430. pTDefRegMap(@Self)^.&set := $00000002;
  18431. end;
  18432. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  18433. begin
  18434. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18435. end;
  18436. procedure TICAP2_IC2CON.setICM2; inline;
  18437. begin
  18438. pTDefRegMap(@Self)^.&set := $00000004;
  18439. end;
  18440. procedure TICAP2_IC2CON.clearICM2; inline;
  18441. begin
  18442. pTDefRegMap(@Self)^.clr := $00000004;
  18443. end;
  18444. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  18445. begin
  18446. if thebits = 0 then
  18447. pTDefRegMap(@Self)^.clr := $00000004
  18448. else
  18449. pTDefRegMap(@Self)^.&set := $00000004;
  18450. end;
  18451. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  18452. begin
  18453. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18454. end;
  18455. procedure TICAP2_IC2CON.setICI0; inline;
  18456. begin
  18457. pTDefRegMap(@Self)^.&set := $00000020;
  18458. end;
  18459. procedure TICAP2_IC2CON.clearICI0; inline;
  18460. begin
  18461. pTDefRegMap(@Self)^.clr := $00000020;
  18462. end;
  18463. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  18464. begin
  18465. if thebits = 0 then
  18466. pTDefRegMap(@Self)^.clr := $00000020
  18467. else
  18468. pTDefRegMap(@Self)^.&set := $00000020;
  18469. end;
  18470. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  18471. begin
  18472. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18473. end;
  18474. procedure TICAP2_IC2CON.setICI1; inline;
  18475. begin
  18476. pTDefRegMap(@Self)^.&set := $00000040;
  18477. end;
  18478. procedure TICAP2_IC2CON.clearICI1; inline;
  18479. begin
  18480. pTDefRegMap(@Self)^.clr := $00000040;
  18481. end;
  18482. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  18483. begin
  18484. if thebits = 0 then
  18485. pTDefRegMap(@Self)^.clr := $00000040
  18486. else
  18487. pTDefRegMap(@Self)^.&set := $00000040;
  18488. end;
  18489. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  18490. begin
  18491. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18492. end;
  18493. procedure TICAP2_IC2CON.setICSIDL; inline;
  18494. begin
  18495. pTDefRegMap(@Self)^.&set := $00002000;
  18496. end;
  18497. procedure TICAP2_IC2CON.clearICSIDL; inline;
  18498. begin
  18499. pTDefRegMap(@Self)^.clr := $00002000;
  18500. end;
  18501. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  18502. begin
  18503. if thebits = 0 then
  18504. pTDefRegMap(@Self)^.clr := $00002000
  18505. else
  18506. pTDefRegMap(@Self)^.&set := $00002000;
  18507. end;
  18508. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  18509. begin
  18510. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18511. end;
  18512. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  18513. begin
  18514. pTDefRegMap(@Self)^.val := thebits;
  18515. end;
  18516. function TICAP2_IC2CON.getw : TBits_32; inline;
  18517. begin
  18518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18519. end;
  18520. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  18521. begin
  18522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18523. end;
  18524. function TICAP3_IC3CON.getICM : TBits_3; inline;
  18525. begin
  18526. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18527. end;
  18528. procedure TICAP3_IC3CON.setICBNE; inline;
  18529. begin
  18530. pTDefRegMap(@Self)^.&set := $00000008;
  18531. end;
  18532. procedure TICAP3_IC3CON.clearICBNE; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.clr := $00000008;
  18535. end;
  18536. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  18537. begin
  18538. if thebits = 0 then
  18539. pTDefRegMap(@Self)^.clr := $00000008
  18540. else
  18541. pTDefRegMap(@Self)^.&set := $00000008;
  18542. end;
  18543. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  18544. begin
  18545. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18546. end;
  18547. procedure TICAP3_IC3CON.setICOV; inline;
  18548. begin
  18549. pTDefRegMap(@Self)^.&set := $00000010;
  18550. end;
  18551. procedure TICAP3_IC3CON.clearICOV; inline;
  18552. begin
  18553. pTDefRegMap(@Self)^.clr := $00000010;
  18554. end;
  18555. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  18556. begin
  18557. if thebits = 0 then
  18558. pTDefRegMap(@Self)^.clr := $00000010
  18559. else
  18560. pTDefRegMap(@Self)^.&set := $00000010;
  18561. end;
  18562. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  18563. begin
  18564. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18565. end;
  18566. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  18567. begin
  18568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18569. end;
  18570. function TICAP3_IC3CON.getICI : TBits_2; inline;
  18571. begin
  18572. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18573. end;
  18574. procedure TICAP3_IC3CON.setICTMR; inline;
  18575. begin
  18576. pTDefRegMap(@Self)^.&set := $00000080;
  18577. end;
  18578. procedure TICAP3_IC3CON.clearICTMR; inline;
  18579. begin
  18580. pTDefRegMap(@Self)^.clr := $00000080;
  18581. end;
  18582. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  18583. begin
  18584. if thebits = 0 then
  18585. pTDefRegMap(@Self)^.clr := $00000080
  18586. else
  18587. pTDefRegMap(@Self)^.&set := $00000080;
  18588. end;
  18589. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  18590. begin
  18591. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18592. end;
  18593. procedure TICAP3_IC3CON.setC32; inline;
  18594. begin
  18595. pTDefRegMap(@Self)^.&set := $00000100;
  18596. end;
  18597. procedure TICAP3_IC3CON.clearC32; inline;
  18598. begin
  18599. pTDefRegMap(@Self)^.clr := $00000100;
  18600. end;
  18601. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  18602. begin
  18603. if thebits = 0 then
  18604. pTDefRegMap(@Self)^.clr := $00000100
  18605. else
  18606. pTDefRegMap(@Self)^.&set := $00000100;
  18607. end;
  18608. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  18609. begin
  18610. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18611. end;
  18612. procedure TICAP3_IC3CON.setFEDGE; inline;
  18613. begin
  18614. pTDefRegMap(@Self)^.&set := $00000200;
  18615. end;
  18616. procedure TICAP3_IC3CON.clearFEDGE; inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.clr := $00000200;
  18619. end;
  18620. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  18621. begin
  18622. if thebits = 0 then
  18623. pTDefRegMap(@Self)^.clr := $00000200
  18624. else
  18625. pTDefRegMap(@Self)^.&set := $00000200;
  18626. end;
  18627. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  18628. begin
  18629. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18630. end;
  18631. procedure TICAP3_IC3CON.setSIDL; inline;
  18632. begin
  18633. pTDefRegMap(@Self)^.&set := $00002000;
  18634. end;
  18635. procedure TICAP3_IC3CON.clearSIDL; inline;
  18636. begin
  18637. pTDefRegMap(@Self)^.clr := $00002000;
  18638. end;
  18639. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  18640. begin
  18641. if thebits = 0 then
  18642. pTDefRegMap(@Self)^.clr := $00002000
  18643. else
  18644. pTDefRegMap(@Self)^.&set := $00002000;
  18645. end;
  18646. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  18647. begin
  18648. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18649. end;
  18650. procedure TICAP3_IC3CON.setON; inline;
  18651. begin
  18652. pTDefRegMap(@Self)^.&set := $00008000;
  18653. end;
  18654. procedure TICAP3_IC3CON.clearON; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.clr := $00008000;
  18657. end;
  18658. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  18659. begin
  18660. if thebits = 0 then
  18661. pTDefRegMap(@Self)^.clr := $00008000
  18662. else
  18663. pTDefRegMap(@Self)^.&set := $00008000;
  18664. end;
  18665. function TICAP3_IC3CON.getON : TBits_1; inline;
  18666. begin
  18667. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18668. end;
  18669. procedure TICAP3_IC3CON.setICM0; inline;
  18670. begin
  18671. pTDefRegMap(@Self)^.&set := $00000001;
  18672. end;
  18673. procedure TICAP3_IC3CON.clearICM0; inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.clr := $00000001;
  18676. end;
  18677. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  18678. begin
  18679. if thebits = 0 then
  18680. pTDefRegMap(@Self)^.clr := $00000001
  18681. else
  18682. pTDefRegMap(@Self)^.&set := $00000001;
  18683. end;
  18684. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  18685. begin
  18686. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18687. end;
  18688. procedure TICAP3_IC3CON.setICM1; inline;
  18689. begin
  18690. pTDefRegMap(@Self)^.&set := $00000002;
  18691. end;
  18692. procedure TICAP3_IC3CON.clearICM1; inline;
  18693. begin
  18694. pTDefRegMap(@Self)^.clr := $00000002;
  18695. end;
  18696. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  18697. begin
  18698. if thebits = 0 then
  18699. pTDefRegMap(@Self)^.clr := $00000002
  18700. else
  18701. pTDefRegMap(@Self)^.&set := $00000002;
  18702. end;
  18703. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  18704. begin
  18705. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18706. end;
  18707. procedure TICAP3_IC3CON.setICM2; inline;
  18708. begin
  18709. pTDefRegMap(@Self)^.&set := $00000004;
  18710. end;
  18711. procedure TICAP3_IC3CON.clearICM2; inline;
  18712. begin
  18713. pTDefRegMap(@Self)^.clr := $00000004;
  18714. end;
  18715. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  18716. begin
  18717. if thebits = 0 then
  18718. pTDefRegMap(@Self)^.clr := $00000004
  18719. else
  18720. pTDefRegMap(@Self)^.&set := $00000004;
  18721. end;
  18722. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  18723. begin
  18724. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18725. end;
  18726. procedure TICAP3_IC3CON.setICI0; inline;
  18727. begin
  18728. pTDefRegMap(@Self)^.&set := $00000020;
  18729. end;
  18730. procedure TICAP3_IC3CON.clearICI0; inline;
  18731. begin
  18732. pTDefRegMap(@Self)^.clr := $00000020;
  18733. end;
  18734. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  18735. begin
  18736. if thebits = 0 then
  18737. pTDefRegMap(@Self)^.clr := $00000020
  18738. else
  18739. pTDefRegMap(@Self)^.&set := $00000020;
  18740. end;
  18741. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  18742. begin
  18743. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18744. end;
  18745. procedure TICAP3_IC3CON.setICI1; inline;
  18746. begin
  18747. pTDefRegMap(@Self)^.&set := $00000040;
  18748. end;
  18749. procedure TICAP3_IC3CON.clearICI1; inline;
  18750. begin
  18751. pTDefRegMap(@Self)^.clr := $00000040;
  18752. end;
  18753. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  18754. begin
  18755. if thebits = 0 then
  18756. pTDefRegMap(@Self)^.clr := $00000040
  18757. else
  18758. pTDefRegMap(@Self)^.&set := $00000040;
  18759. end;
  18760. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  18761. begin
  18762. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18763. end;
  18764. procedure TICAP3_IC3CON.setICSIDL; inline;
  18765. begin
  18766. pTDefRegMap(@Self)^.&set := $00002000;
  18767. end;
  18768. procedure TICAP3_IC3CON.clearICSIDL; inline;
  18769. begin
  18770. pTDefRegMap(@Self)^.clr := $00002000;
  18771. end;
  18772. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  18773. begin
  18774. if thebits = 0 then
  18775. pTDefRegMap(@Self)^.clr := $00002000
  18776. else
  18777. pTDefRegMap(@Self)^.&set := $00002000;
  18778. end;
  18779. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  18780. begin
  18781. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18782. end;
  18783. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  18784. begin
  18785. pTDefRegMap(@Self)^.val := thebits;
  18786. end;
  18787. function TICAP3_IC3CON.getw : TBits_32; inline;
  18788. begin
  18789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18790. end;
  18791. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  18792. begin
  18793. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18794. end;
  18795. function TICAP4_IC4CON.getICM : TBits_3; inline;
  18796. begin
  18797. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18798. end;
  18799. procedure TICAP4_IC4CON.setICBNE; inline;
  18800. begin
  18801. pTDefRegMap(@Self)^.&set := $00000008;
  18802. end;
  18803. procedure TICAP4_IC4CON.clearICBNE; inline;
  18804. begin
  18805. pTDefRegMap(@Self)^.clr := $00000008;
  18806. end;
  18807. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  18808. begin
  18809. if thebits = 0 then
  18810. pTDefRegMap(@Self)^.clr := $00000008
  18811. else
  18812. pTDefRegMap(@Self)^.&set := $00000008;
  18813. end;
  18814. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  18815. begin
  18816. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18817. end;
  18818. procedure TICAP4_IC4CON.setICOV; inline;
  18819. begin
  18820. pTDefRegMap(@Self)^.&set := $00000010;
  18821. end;
  18822. procedure TICAP4_IC4CON.clearICOV; inline;
  18823. begin
  18824. pTDefRegMap(@Self)^.clr := $00000010;
  18825. end;
  18826. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  18827. begin
  18828. if thebits = 0 then
  18829. pTDefRegMap(@Self)^.clr := $00000010
  18830. else
  18831. pTDefRegMap(@Self)^.&set := $00000010;
  18832. end;
  18833. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  18834. begin
  18835. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18836. end;
  18837. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  18838. begin
  18839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18840. end;
  18841. function TICAP4_IC4CON.getICI : TBits_2; inline;
  18842. begin
  18843. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18844. end;
  18845. procedure TICAP4_IC4CON.setICTMR; inline;
  18846. begin
  18847. pTDefRegMap(@Self)^.&set := $00000080;
  18848. end;
  18849. procedure TICAP4_IC4CON.clearICTMR; inline;
  18850. begin
  18851. pTDefRegMap(@Self)^.clr := $00000080;
  18852. end;
  18853. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  18854. begin
  18855. if thebits = 0 then
  18856. pTDefRegMap(@Self)^.clr := $00000080
  18857. else
  18858. pTDefRegMap(@Self)^.&set := $00000080;
  18859. end;
  18860. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  18861. begin
  18862. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18863. end;
  18864. procedure TICAP4_IC4CON.setC32; inline;
  18865. begin
  18866. pTDefRegMap(@Self)^.&set := $00000100;
  18867. end;
  18868. procedure TICAP4_IC4CON.clearC32; inline;
  18869. begin
  18870. pTDefRegMap(@Self)^.clr := $00000100;
  18871. end;
  18872. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  18873. begin
  18874. if thebits = 0 then
  18875. pTDefRegMap(@Self)^.clr := $00000100
  18876. else
  18877. pTDefRegMap(@Self)^.&set := $00000100;
  18878. end;
  18879. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  18880. begin
  18881. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18882. end;
  18883. procedure TICAP4_IC4CON.setFEDGE; inline;
  18884. begin
  18885. pTDefRegMap(@Self)^.&set := $00000200;
  18886. end;
  18887. procedure TICAP4_IC4CON.clearFEDGE; inline;
  18888. begin
  18889. pTDefRegMap(@Self)^.clr := $00000200;
  18890. end;
  18891. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  18892. begin
  18893. if thebits = 0 then
  18894. pTDefRegMap(@Self)^.clr := $00000200
  18895. else
  18896. pTDefRegMap(@Self)^.&set := $00000200;
  18897. end;
  18898. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  18899. begin
  18900. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18901. end;
  18902. procedure TICAP4_IC4CON.setSIDL; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.&set := $00002000;
  18905. end;
  18906. procedure TICAP4_IC4CON.clearSIDL; inline;
  18907. begin
  18908. pTDefRegMap(@Self)^.clr := $00002000;
  18909. end;
  18910. procedure TICAP4_IC4CON.setSIDL(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 TICAP4_IC4CON.getSIDL : TBits_1; inline;
  18918. begin
  18919. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18920. end;
  18921. procedure TICAP4_IC4CON.setON; inline;
  18922. begin
  18923. pTDefRegMap(@Self)^.&set := $00008000;
  18924. end;
  18925. procedure TICAP4_IC4CON.clearON; inline;
  18926. begin
  18927. pTDefRegMap(@Self)^.clr := $00008000;
  18928. end;
  18929. procedure TICAP4_IC4CON.setON(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 TICAP4_IC4CON.getON : TBits_1; inline;
  18937. begin
  18938. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18939. end;
  18940. procedure TICAP4_IC4CON.setICM0; inline;
  18941. begin
  18942. pTDefRegMap(@Self)^.&set := $00000001;
  18943. end;
  18944. procedure TICAP4_IC4CON.clearICM0; inline;
  18945. begin
  18946. pTDefRegMap(@Self)^.clr := $00000001;
  18947. end;
  18948. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  18949. begin
  18950. if thebits = 0 then
  18951. pTDefRegMap(@Self)^.clr := $00000001
  18952. else
  18953. pTDefRegMap(@Self)^.&set := $00000001;
  18954. end;
  18955. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  18956. begin
  18957. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18958. end;
  18959. procedure TICAP4_IC4CON.setICM1; inline;
  18960. begin
  18961. pTDefRegMap(@Self)^.&set := $00000002;
  18962. end;
  18963. procedure TICAP4_IC4CON.clearICM1; inline;
  18964. begin
  18965. pTDefRegMap(@Self)^.clr := $00000002;
  18966. end;
  18967. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  18968. begin
  18969. if thebits = 0 then
  18970. pTDefRegMap(@Self)^.clr := $00000002
  18971. else
  18972. pTDefRegMap(@Self)^.&set := $00000002;
  18973. end;
  18974. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  18975. begin
  18976. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18977. end;
  18978. procedure TICAP4_IC4CON.setICM2; inline;
  18979. begin
  18980. pTDefRegMap(@Self)^.&set := $00000004;
  18981. end;
  18982. procedure TICAP4_IC4CON.clearICM2; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.clr := $00000004;
  18985. end;
  18986. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  18987. begin
  18988. if thebits = 0 then
  18989. pTDefRegMap(@Self)^.clr := $00000004
  18990. else
  18991. pTDefRegMap(@Self)^.&set := $00000004;
  18992. end;
  18993. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  18994. begin
  18995. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18996. end;
  18997. procedure TICAP4_IC4CON.setICI0; inline;
  18998. begin
  18999. pTDefRegMap(@Self)^.&set := $00000020;
  19000. end;
  19001. procedure TICAP4_IC4CON.clearICI0; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.clr := $00000020;
  19004. end;
  19005. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  19006. begin
  19007. if thebits = 0 then
  19008. pTDefRegMap(@Self)^.clr := $00000020
  19009. else
  19010. pTDefRegMap(@Self)^.&set := $00000020;
  19011. end;
  19012. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  19013. begin
  19014. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19015. end;
  19016. procedure TICAP4_IC4CON.setICI1; inline;
  19017. begin
  19018. pTDefRegMap(@Self)^.&set := $00000040;
  19019. end;
  19020. procedure TICAP4_IC4CON.clearICI1; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.clr := $00000040;
  19023. end;
  19024. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  19025. begin
  19026. if thebits = 0 then
  19027. pTDefRegMap(@Self)^.clr := $00000040
  19028. else
  19029. pTDefRegMap(@Self)^.&set := $00000040;
  19030. end;
  19031. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  19032. begin
  19033. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19034. end;
  19035. procedure TICAP4_IC4CON.setICSIDL; inline;
  19036. begin
  19037. pTDefRegMap(@Self)^.&set := $00002000;
  19038. end;
  19039. procedure TICAP4_IC4CON.clearICSIDL; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.clr := $00002000;
  19042. end;
  19043. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  19044. begin
  19045. if thebits = 0 then
  19046. pTDefRegMap(@Self)^.clr := $00002000
  19047. else
  19048. pTDefRegMap(@Self)^.&set := $00002000;
  19049. end;
  19050. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  19051. begin
  19052. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19053. end;
  19054. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  19055. begin
  19056. pTDefRegMap(@Self)^.val := thebits;
  19057. end;
  19058. function TICAP4_IC4CON.getw : TBits_32; inline;
  19059. begin
  19060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19061. end;
  19062. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19065. end;
  19066. function TICAP5_IC5CON.getICM : TBits_3; inline;
  19067. begin
  19068. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19069. end;
  19070. procedure TICAP5_IC5CON.setICBNE; inline;
  19071. begin
  19072. pTDefRegMap(@Self)^.&set := $00000008;
  19073. end;
  19074. procedure TICAP5_IC5CON.clearICBNE; inline;
  19075. begin
  19076. pTDefRegMap(@Self)^.clr := $00000008;
  19077. end;
  19078. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  19079. begin
  19080. if thebits = 0 then
  19081. pTDefRegMap(@Self)^.clr := $00000008
  19082. else
  19083. pTDefRegMap(@Self)^.&set := $00000008;
  19084. end;
  19085. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  19086. begin
  19087. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19088. end;
  19089. procedure TICAP5_IC5CON.setICOV; inline;
  19090. begin
  19091. pTDefRegMap(@Self)^.&set := $00000010;
  19092. end;
  19093. procedure TICAP5_IC5CON.clearICOV; inline;
  19094. begin
  19095. pTDefRegMap(@Self)^.clr := $00000010;
  19096. end;
  19097. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  19098. begin
  19099. if thebits = 0 then
  19100. pTDefRegMap(@Self)^.clr := $00000010
  19101. else
  19102. pTDefRegMap(@Self)^.&set := $00000010;
  19103. end;
  19104. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  19105. begin
  19106. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19107. end;
  19108. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  19109. begin
  19110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  19111. end;
  19112. function TICAP5_IC5CON.getICI : TBits_2; inline;
  19113. begin
  19114. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19115. end;
  19116. procedure TICAP5_IC5CON.setICTMR; inline;
  19117. begin
  19118. pTDefRegMap(@Self)^.&set := $00000080;
  19119. end;
  19120. procedure TICAP5_IC5CON.clearICTMR; inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.clr := $00000080;
  19123. end;
  19124. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  19125. begin
  19126. if thebits = 0 then
  19127. pTDefRegMap(@Self)^.clr := $00000080
  19128. else
  19129. pTDefRegMap(@Self)^.&set := $00000080;
  19130. end;
  19131. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  19132. begin
  19133. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19134. end;
  19135. procedure TICAP5_IC5CON.setC32; inline;
  19136. begin
  19137. pTDefRegMap(@Self)^.&set := $00000100;
  19138. end;
  19139. procedure TICAP5_IC5CON.clearC32; inline;
  19140. begin
  19141. pTDefRegMap(@Self)^.clr := $00000100;
  19142. end;
  19143. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  19144. begin
  19145. if thebits = 0 then
  19146. pTDefRegMap(@Self)^.clr := $00000100
  19147. else
  19148. pTDefRegMap(@Self)^.&set := $00000100;
  19149. end;
  19150. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  19151. begin
  19152. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19153. end;
  19154. procedure TICAP5_IC5CON.setFEDGE; inline;
  19155. begin
  19156. pTDefRegMap(@Self)^.&set := $00000200;
  19157. end;
  19158. procedure TICAP5_IC5CON.clearFEDGE; inline;
  19159. begin
  19160. pTDefRegMap(@Self)^.clr := $00000200;
  19161. end;
  19162. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  19163. begin
  19164. if thebits = 0 then
  19165. pTDefRegMap(@Self)^.clr := $00000200
  19166. else
  19167. pTDefRegMap(@Self)^.&set := $00000200;
  19168. end;
  19169. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  19170. begin
  19171. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19172. end;
  19173. procedure TICAP5_IC5CON.setSIDL; inline;
  19174. begin
  19175. pTDefRegMap(@Self)^.&set := $00002000;
  19176. end;
  19177. procedure TICAP5_IC5CON.clearSIDL; inline;
  19178. begin
  19179. pTDefRegMap(@Self)^.clr := $00002000;
  19180. end;
  19181. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  19182. begin
  19183. if thebits = 0 then
  19184. pTDefRegMap(@Self)^.clr := $00002000
  19185. else
  19186. pTDefRegMap(@Self)^.&set := $00002000;
  19187. end;
  19188. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  19189. begin
  19190. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19191. end;
  19192. procedure TICAP5_IC5CON.setON; inline;
  19193. begin
  19194. pTDefRegMap(@Self)^.&set := $00008000;
  19195. end;
  19196. procedure TICAP5_IC5CON.clearON; inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.clr := $00008000;
  19199. end;
  19200. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  19201. begin
  19202. if thebits = 0 then
  19203. pTDefRegMap(@Self)^.clr := $00008000
  19204. else
  19205. pTDefRegMap(@Self)^.&set := $00008000;
  19206. end;
  19207. function TICAP5_IC5CON.getON : TBits_1; inline;
  19208. begin
  19209. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19210. end;
  19211. procedure TICAP5_IC5CON.setICM0; inline;
  19212. begin
  19213. pTDefRegMap(@Self)^.&set := $00000001;
  19214. end;
  19215. procedure TICAP5_IC5CON.clearICM0; inline;
  19216. begin
  19217. pTDefRegMap(@Self)^.clr := $00000001;
  19218. end;
  19219. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  19220. begin
  19221. if thebits = 0 then
  19222. pTDefRegMap(@Self)^.clr := $00000001
  19223. else
  19224. pTDefRegMap(@Self)^.&set := $00000001;
  19225. end;
  19226. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  19227. begin
  19228. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19229. end;
  19230. procedure TICAP5_IC5CON.setICM1; inline;
  19231. begin
  19232. pTDefRegMap(@Self)^.&set := $00000002;
  19233. end;
  19234. procedure TICAP5_IC5CON.clearICM1; inline;
  19235. begin
  19236. pTDefRegMap(@Self)^.clr := $00000002;
  19237. end;
  19238. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  19239. begin
  19240. if thebits = 0 then
  19241. pTDefRegMap(@Self)^.clr := $00000002
  19242. else
  19243. pTDefRegMap(@Self)^.&set := $00000002;
  19244. end;
  19245. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  19246. begin
  19247. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19248. end;
  19249. procedure TICAP5_IC5CON.setICM2; inline;
  19250. begin
  19251. pTDefRegMap(@Self)^.&set := $00000004;
  19252. end;
  19253. procedure TICAP5_IC5CON.clearICM2; inline;
  19254. begin
  19255. pTDefRegMap(@Self)^.clr := $00000004;
  19256. end;
  19257. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  19258. begin
  19259. if thebits = 0 then
  19260. pTDefRegMap(@Self)^.clr := $00000004
  19261. else
  19262. pTDefRegMap(@Self)^.&set := $00000004;
  19263. end;
  19264. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  19265. begin
  19266. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19267. end;
  19268. procedure TICAP5_IC5CON.setICI0; inline;
  19269. begin
  19270. pTDefRegMap(@Self)^.&set := $00000020;
  19271. end;
  19272. procedure TICAP5_IC5CON.clearICI0; inline;
  19273. begin
  19274. pTDefRegMap(@Self)^.clr := $00000020;
  19275. end;
  19276. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  19277. begin
  19278. if thebits = 0 then
  19279. pTDefRegMap(@Self)^.clr := $00000020
  19280. else
  19281. pTDefRegMap(@Self)^.&set := $00000020;
  19282. end;
  19283. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  19284. begin
  19285. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19286. end;
  19287. procedure TICAP5_IC5CON.setICI1; inline;
  19288. begin
  19289. pTDefRegMap(@Self)^.&set := $00000040;
  19290. end;
  19291. procedure TICAP5_IC5CON.clearICI1; inline;
  19292. begin
  19293. pTDefRegMap(@Self)^.clr := $00000040;
  19294. end;
  19295. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  19296. begin
  19297. if thebits = 0 then
  19298. pTDefRegMap(@Self)^.clr := $00000040
  19299. else
  19300. pTDefRegMap(@Self)^.&set := $00000040;
  19301. end;
  19302. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  19303. begin
  19304. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19305. end;
  19306. procedure TICAP5_IC5CON.setICSIDL; inline;
  19307. begin
  19308. pTDefRegMap(@Self)^.&set := $00002000;
  19309. end;
  19310. procedure TICAP5_IC5CON.clearICSIDL; inline;
  19311. begin
  19312. pTDefRegMap(@Self)^.clr := $00002000;
  19313. end;
  19314. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  19315. begin
  19316. if thebits = 0 then
  19317. pTDefRegMap(@Self)^.clr := $00002000
  19318. else
  19319. pTDefRegMap(@Self)^.&set := $00002000;
  19320. end;
  19321. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  19322. begin
  19323. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19324. end;
  19325. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  19326. begin
  19327. pTDefRegMap(@Self)^.val := thebits;
  19328. end;
  19329. function TICAP5_IC5CON.getw : TBits_32; inline;
  19330. begin
  19331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19332. end;
  19333. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  19334. begin
  19335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19336. end;
  19337. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  19338. begin
  19339. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19340. end;
  19341. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  19342. begin
  19343. pTDefRegMap(@Self)^.&set := $00000008;
  19344. end;
  19345. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  19346. begin
  19347. pTDefRegMap(@Self)^.clr := $00000008;
  19348. end;
  19349. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  19350. begin
  19351. if thebits = 0 then
  19352. pTDefRegMap(@Self)^.clr := $00000008
  19353. else
  19354. pTDefRegMap(@Self)^.&set := $00000008;
  19355. end;
  19356. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  19357. begin
  19358. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19359. end;
  19360. procedure TOCMP1_OC1CON.setOCFLT; inline;
  19361. begin
  19362. pTDefRegMap(@Self)^.&set := $00000010;
  19363. end;
  19364. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  19365. begin
  19366. pTDefRegMap(@Self)^.clr := $00000010;
  19367. end;
  19368. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  19369. begin
  19370. if thebits = 0 then
  19371. pTDefRegMap(@Self)^.clr := $00000010
  19372. else
  19373. pTDefRegMap(@Self)^.&set := $00000010;
  19374. end;
  19375. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  19376. begin
  19377. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19378. end;
  19379. procedure TOCMP1_OC1CON.setOC32; inline;
  19380. begin
  19381. pTDefRegMap(@Self)^.&set := $00000020;
  19382. end;
  19383. procedure TOCMP1_OC1CON.clearOC32; inline;
  19384. begin
  19385. pTDefRegMap(@Self)^.clr := $00000020;
  19386. end;
  19387. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  19388. begin
  19389. if thebits = 0 then
  19390. pTDefRegMap(@Self)^.clr := $00000020
  19391. else
  19392. pTDefRegMap(@Self)^.&set := $00000020;
  19393. end;
  19394. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  19395. begin
  19396. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19397. end;
  19398. procedure TOCMP1_OC1CON.setSIDL; inline;
  19399. begin
  19400. pTDefRegMap(@Self)^.&set := $00002000;
  19401. end;
  19402. procedure TOCMP1_OC1CON.clearSIDL; inline;
  19403. begin
  19404. pTDefRegMap(@Self)^.clr := $00002000;
  19405. end;
  19406. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  19407. begin
  19408. if thebits = 0 then
  19409. pTDefRegMap(@Self)^.clr := $00002000
  19410. else
  19411. pTDefRegMap(@Self)^.&set := $00002000;
  19412. end;
  19413. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  19414. begin
  19415. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19416. end;
  19417. procedure TOCMP1_OC1CON.setON; inline;
  19418. begin
  19419. pTDefRegMap(@Self)^.&set := $00008000;
  19420. end;
  19421. procedure TOCMP1_OC1CON.clearON; inline;
  19422. begin
  19423. pTDefRegMap(@Self)^.clr := $00008000;
  19424. end;
  19425. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  19426. begin
  19427. if thebits = 0 then
  19428. pTDefRegMap(@Self)^.clr := $00008000
  19429. else
  19430. pTDefRegMap(@Self)^.&set := $00008000;
  19431. end;
  19432. function TOCMP1_OC1CON.getON : TBits_1; inline;
  19433. begin
  19434. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19435. end;
  19436. procedure TOCMP1_OC1CON.setOCM0; inline;
  19437. begin
  19438. pTDefRegMap(@Self)^.&set := $00000001;
  19439. end;
  19440. procedure TOCMP1_OC1CON.clearOCM0; inline;
  19441. begin
  19442. pTDefRegMap(@Self)^.clr := $00000001;
  19443. end;
  19444. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  19445. begin
  19446. if thebits = 0 then
  19447. pTDefRegMap(@Self)^.clr := $00000001
  19448. else
  19449. pTDefRegMap(@Self)^.&set := $00000001;
  19450. end;
  19451. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  19452. begin
  19453. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19454. end;
  19455. procedure TOCMP1_OC1CON.setOCM1; inline;
  19456. begin
  19457. pTDefRegMap(@Self)^.&set := $00000002;
  19458. end;
  19459. procedure TOCMP1_OC1CON.clearOCM1; inline;
  19460. begin
  19461. pTDefRegMap(@Self)^.clr := $00000002;
  19462. end;
  19463. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  19464. begin
  19465. if thebits = 0 then
  19466. pTDefRegMap(@Self)^.clr := $00000002
  19467. else
  19468. pTDefRegMap(@Self)^.&set := $00000002;
  19469. end;
  19470. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  19471. begin
  19472. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19473. end;
  19474. procedure TOCMP1_OC1CON.setOCM2; inline;
  19475. begin
  19476. pTDefRegMap(@Self)^.&set := $00000004;
  19477. end;
  19478. procedure TOCMP1_OC1CON.clearOCM2; inline;
  19479. begin
  19480. pTDefRegMap(@Self)^.clr := $00000004;
  19481. end;
  19482. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  19483. begin
  19484. if thebits = 0 then
  19485. pTDefRegMap(@Self)^.clr := $00000004
  19486. else
  19487. pTDefRegMap(@Self)^.&set := $00000004;
  19488. end;
  19489. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  19490. begin
  19491. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19492. end;
  19493. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  19494. begin
  19495. pTDefRegMap(@Self)^.&set := $00002000;
  19496. end;
  19497. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  19498. begin
  19499. pTDefRegMap(@Self)^.clr := $00002000;
  19500. end;
  19501. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  19502. begin
  19503. if thebits = 0 then
  19504. pTDefRegMap(@Self)^.clr := $00002000
  19505. else
  19506. pTDefRegMap(@Self)^.&set := $00002000;
  19507. end;
  19508. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  19509. begin
  19510. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19511. end;
  19512. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  19513. begin
  19514. pTDefRegMap(@Self)^.val := thebits;
  19515. end;
  19516. function TOCMP1_OC1CON.getw : TBits_32; inline;
  19517. begin
  19518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19519. end;
  19520. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  19521. begin
  19522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19523. end;
  19524. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  19525. begin
  19526. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19527. end;
  19528. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  19529. begin
  19530. pTDefRegMap(@Self)^.&set := $00000008;
  19531. end;
  19532. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  19533. begin
  19534. pTDefRegMap(@Self)^.clr := $00000008;
  19535. end;
  19536. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  19537. begin
  19538. if thebits = 0 then
  19539. pTDefRegMap(@Self)^.clr := $00000008
  19540. else
  19541. pTDefRegMap(@Self)^.&set := $00000008;
  19542. end;
  19543. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  19544. begin
  19545. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19546. end;
  19547. procedure TOCMP2_OC2CON.setOCFLT; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.&set := $00000010;
  19550. end;
  19551. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  19552. begin
  19553. pTDefRegMap(@Self)^.clr := $00000010;
  19554. end;
  19555. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  19556. begin
  19557. if thebits = 0 then
  19558. pTDefRegMap(@Self)^.clr := $00000010
  19559. else
  19560. pTDefRegMap(@Self)^.&set := $00000010;
  19561. end;
  19562. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  19563. begin
  19564. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19565. end;
  19566. procedure TOCMP2_OC2CON.setOC32; inline;
  19567. begin
  19568. pTDefRegMap(@Self)^.&set := $00000020;
  19569. end;
  19570. procedure TOCMP2_OC2CON.clearOC32; inline;
  19571. begin
  19572. pTDefRegMap(@Self)^.clr := $00000020;
  19573. end;
  19574. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  19575. begin
  19576. if thebits = 0 then
  19577. pTDefRegMap(@Self)^.clr := $00000020
  19578. else
  19579. pTDefRegMap(@Self)^.&set := $00000020;
  19580. end;
  19581. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  19582. begin
  19583. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19584. end;
  19585. procedure TOCMP2_OC2CON.setSIDL; inline;
  19586. begin
  19587. pTDefRegMap(@Self)^.&set := $00002000;
  19588. end;
  19589. procedure TOCMP2_OC2CON.clearSIDL; inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.clr := $00002000;
  19592. end;
  19593. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  19594. begin
  19595. if thebits = 0 then
  19596. pTDefRegMap(@Self)^.clr := $00002000
  19597. else
  19598. pTDefRegMap(@Self)^.&set := $00002000;
  19599. end;
  19600. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  19601. begin
  19602. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19603. end;
  19604. procedure TOCMP2_OC2CON.setON; inline;
  19605. begin
  19606. pTDefRegMap(@Self)^.&set := $00008000;
  19607. end;
  19608. procedure TOCMP2_OC2CON.clearON; inline;
  19609. begin
  19610. pTDefRegMap(@Self)^.clr := $00008000;
  19611. end;
  19612. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  19613. begin
  19614. if thebits = 0 then
  19615. pTDefRegMap(@Self)^.clr := $00008000
  19616. else
  19617. pTDefRegMap(@Self)^.&set := $00008000;
  19618. end;
  19619. function TOCMP2_OC2CON.getON : TBits_1; inline;
  19620. begin
  19621. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19622. end;
  19623. procedure TOCMP2_OC2CON.setOCM0; inline;
  19624. begin
  19625. pTDefRegMap(@Self)^.&set := $00000001;
  19626. end;
  19627. procedure TOCMP2_OC2CON.clearOCM0; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.clr := $00000001;
  19630. end;
  19631. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  19632. begin
  19633. if thebits = 0 then
  19634. pTDefRegMap(@Self)^.clr := $00000001
  19635. else
  19636. pTDefRegMap(@Self)^.&set := $00000001;
  19637. end;
  19638. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  19639. begin
  19640. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19641. end;
  19642. procedure TOCMP2_OC2CON.setOCM1; inline;
  19643. begin
  19644. pTDefRegMap(@Self)^.&set := $00000002;
  19645. end;
  19646. procedure TOCMP2_OC2CON.clearOCM1; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.clr := $00000002;
  19649. end;
  19650. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  19651. begin
  19652. if thebits = 0 then
  19653. pTDefRegMap(@Self)^.clr := $00000002
  19654. else
  19655. pTDefRegMap(@Self)^.&set := $00000002;
  19656. end;
  19657. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  19658. begin
  19659. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19660. end;
  19661. procedure TOCMP2_OC2CON.setOCM2; inline;
  19662. begin
  19663. pTDefRegMap(@Self)^.&set := $00000004;
  19664. end;
  19665. procedure TOCMP2_OC2CON.clearOCM2; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.clr := $00000004;
  19668. end;
  19669. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  19670. begin
  19671. if thebits = 0 then
  19672. pTDefRegMap(@Self)^.clr := $00000004
  19673. else
  19674. pTDefRegMap(@Self)^.&set := $00000004;
  19675. end;
  19676. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  19677. begin
  19678. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19679. end;
  19680. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  19681. begin
  19682. pTDefRegMap(@Self)^.&set := $00002000;
  19683. end;
  19684. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.clr := $00002000;
  19687. end;
  19688. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  19689. begin
  19690. if thebits = 0 then
  19691. pTDefRegMap(@Self)^.clr := $00002000
  19692. else
  19693. pTDefRegMap(@Self)^.&set := $00002000;
  19694. end;
  19695. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  19696. begin
  19697. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19698. end;
  19699. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  19700. begin
  19701. pTDefRegMap(@Self)^.val := thebits;
  19702. end;
  19703. function TOCMP2_OC2CON.getw : TBits_32; inline;
  19704. begin
  19705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19706. end;
  19707. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  19708. begin
  19709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19710. end;
  19711. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  19712. begin
  19713. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19714. end;
  19715. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.&set := $00000008;
  19718. end;
  19719. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.clr := $00000008;
  19722. end;
  19723. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  19724. begin
  19725. if thebits = 0 then
  19726. pTDefRegMap(@Self)^.clr := $00000008
  19727. else
  19728. pTDefRegMap(@Self)^.&set := $00000008;
  19729. end;
  19730. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  19731. begin
  19732. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19733. end;
  19734. procedure TOCMP3_OC3CON.setOCFLT; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.&set := $00000010;
  19737. end;
  19738. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  19739. begin
  19740. pTDefRegMap(@Self)^.clr := $00000010;
  19741. end;
  19742. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  19743. begin
  19744. if thebits = 0 then
  19745. pTDefRegMap(@Self)^.clr := $00000010
  19746. else
  19747. pTDefRegMap(@Self)^.&set := $00000010;
  19748. end;
  19749. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  19750. begin
  19751. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19752. end;
  19753. procedure TOCMP3_OC3CON.setOC32; inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.&set := $00000020;
  19756. end;
  19757. procedure TOCMP3_OC3CON.clearOC32; inline;
  19758. begin
  19759. pTDefRegMap(@Self)^.clr := $00000020;
  19760. end;
  19761. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  19762. begin
  19763. if thebits = 0 then
  19764. pTDefRegMap(@Self)^.clr := $00000020
  19765. else
  19766. pTDefRegMap(@Self)^.&set := $00000020;
  19767. end;
  19768. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  19769. begin
  19770. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19771. end;
  19772. procedure TOCMP3_OC3CON.setSIDL; inline;
  19773. begin
  19774. pTDefRegMap(@Self)^.&set := $00002000;
  19775. end;
  19776. procedure TOCMP3_OC3CON.clearSIDL; inline;
  19777. begin
  19778. pTDefRegMap(@Self)^.clr := $00002000;
  19779. end;
  19780. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  19781. begin
  19782. if thebits = 0 then
  19783. pTDefRegMap(@Self)^.clr := $00002000
  19784. else
  19785. pTDefRegMap(@Self)^.&set := $00002000;
  19786. end;
  19787. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  19788. begin
  19789. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19790. end;
  19791. procedure TOCMP3_OC3CON.setON; inline;
  19792. begin
  19793. pTDefRegMap(@Self)^.&set := $00008000;
  19794. end;
  19795. procedure TOCMP3_OC3CON.clearON; inline;
  19796. begin
  19797. pTDefRegMap(@Self)^.clr := $00008000;
  19798. end;
  19799. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  19800. begin
  19801. if thebits = 0 then
  19802. pTDefRegMap(@Self)^.clr := $00008000
  19803. else
  19804. pTDefRegMap(@Self)^.&set := $00008000;
  19805. end;
  19806. function TOCMP3_OC3CON.getON : TBits_1; inline;
  19807. begin
  19808. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19809. end;
  19810. procedure TOCMP3_OC3CON.setOCM0; inline;
  19811. begin
  19812. pTDefRegMap(@Self)^.&set := $00000001;
  19813. end;
  19814. procedure TOCMP3_OC3CON.clearOCM0; inline;
  19815. begin
  19816. pTDefRegMap(@Self)^.clr := $00000001;
  19817. end;
  19818. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  19819. begin
  19820. if thebits = 0 then
  19821. pTDefRegMap(@Self)^.clr := $00000001
  19822. else
  19823. pTDefRegMap(@Self)^.&set := $00000001;
  19824. end;
  19825. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  19826. begin
  19827. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19828. end;
  19829. procedure TOCMP3_OC3CON.setOCM1; inline;
  19830. begin
  19831. pTDefRegMap(@Self)^.&set := $00000002;
  19832. end;
  19833. procedure TOCMP3_OC3CON.clearOCM1; inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.clr := $00000002;
  19836. end;
  19837. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  19838. begin
  19839. if thebits = 0 then
  19840. pTDefRegMap(@Self)^.clr := $00000002
  19841. else
  19842. pTDefRegMap(@Self)^.&set := $00000002;
  19843. end;
  19844. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  19845. begin
  19846. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19847. end;
  19848. procedure TOCMP3_OC3CON.setOCM2; inline;
  19849. begin
  19850. pTDefRegMap(@Self)^.&set := $00000004;
  19851. end;
  19852. procedure TOCMP3_OC3CON.clearOCM2; inline;
  19853. begin
  19854. pTDefRegMap(@Self)^.clr := $00000004;
  19855. end;
  19856. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  19857. begin
  19858. if thebits = 0 then
  19859. pTDefRegMap(@Self)^.clr := $00000004
  19860. else
  19861. pTDefRegMap(@Self)^.&set := $00000004;
  19862. end;
  19863. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  19864. begin
  19865. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19866. end;
  19867. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  19868. begin
  19869. pTDefRegMap(@Self)^.&set := $00002000;
  19870. end;
  19871. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  19872. begin
  19873. pTDefRegMap(@Self)^.clr := $00002000;
  19874. end;
  19875. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  19876. begin
  19877. if thebits = 0 then
  19878. pTDefRegMap(@Self)^.clr := $00002000
  19879. else
  19880. pTDefRegMap(@Self)^.&set := $00002000;
  19881. end;
  19882. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  19883. begin
  19884. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19885. end;
  19886. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  19887. begin
  19888. pTDefRegMap(@Self)^.val := thebits;
  19889. end;
  19890. function TOCMP3_OC3CON.getw : TBits_32; inline;
  19891. begin
  19892. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19893. end;
  19894. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  19895. begin
  19896. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19897. end;
  19898. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  19899. begin
  19900. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19901. end;
  19902. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  19903. begin
  19904. pTDefRegMap(@Self)^.&set := $00000008;
  19905. end;
  19906. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.clr := $00000008;
  19909. end;
  19910. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  19911. begin
  19912. if thebits = 0 then
  19913. pTDefRegMap(@Self)^.clr := $00000008
  19914. else
  19915. pTDefRegMap(@Self)^.&set := $00000008;
  19916. end;
  19917. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  19918. begin
  19919. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19920. end;
  19921. procedure TOCMP4_OC4CON.setOCFLT; inline;
  19922. begin
  19923. pTDefRegMap(@Self)^.&set := $00000010;
  19924. end;
  19925. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.clr := $00000010;
  19928. end;
  19929. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  19930. begin
  19931. if thebits = 0 then
  19932. pTDefRegMap(@Self)^.clr := $00000010
  19933. else
  19934. pTDefRegMap(@Self)^.&set := $00000010;
  19935. end;
  19936. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  19937. begin
  19938. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19939. end;
  19940. procedure TOCMP4_OC4CON.setOC32; inline;
  19941. begin
  19942. pTDefRegMap(@Self)^.&set := $00000020;
  19943. end;
  19944. procedure TOCMP4_OC4CON.clearOC32; inline;
  19945. begin
  19946. pTDefRegMap(@Self)^.clr := $00000020;
  19947. end;
  19948. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  19949. begin
  19950. if thebits = 0 then
  19951. pTDefRegMap(@Self)^.clr := $00000020
  19952. else
  19953. pTDefRegMap(@Self)^.&set := $00000020;
  19954. end;
  19955. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  19956. begin
  19957. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19958. end;
  19959. procedure TOCMP4_OC4CON.setSIDL; inline;
  19960. begin
  19961. pTDefRegMap(@Self)^.&set := $00002000;
  19962. end;
  19963. procedure TOCMP4_OC4CON.clearSIDL; inline;
  19964. begin
  19965. pTDefRegMap(@Self)^.clr := $00002000;
  19966. end;
  19967. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  19968. begin
  19969. if thebits = 0 then
  19970. pTDefRegMap(@Self)^.clr := $00002000
  19971. else
  19972. pTDefRegMap(@Self)^.&set := $00002000;
  19973. end;
  19974. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  19975. begin
  19976. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19977. end;
  19978. procedure TOCMP4_OC4CON.setON; inline;
  19979. begin
  19980. pTDefRegMap(@Self)^.&set := $00008000;
  19981. end;
  19982. procedure TOCMP4_OC4CON.clearON; inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.clr := $00008000;
  19985. end;
  19986. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  19987. begin
  19988. if thebits = 0 then
  19989. pTDefRegMap(@Self)^.clr := $00008000
  19990. else
  19991. pTDefRegMap(@Self)^.&set := $00008000;
  19992. end;
  19993. function TOCMP4_OC4CON.getON : TBits_1; inline;
  19994. begin
  19995. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19996. end;
  19997. procedure TOCMP4_OC4CON.setOCM0; inline;
  19998. begin
  19999. pTDefRegMap(@Self)^.&set := $00000001;
  20000. end;
  20001. procedure TOCMP4_OC4CON.clearOCM0; inline;
  20002. begin
  20003. pTDefRegMap(@Self)^.clr := $00000001;
  20004. end;
  20005. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  20006. begin
  20007. if thebits = 0 then
  20008. pTDefRegMap(@Self)^.clr := $00000001
  20009. else
  20010. pTDefRegMap(@Self)^.&set := $00000001;
  20011. end;
  20012. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  20013. begin
  20014. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20015. end;
  20016. procedure TOCMP4_OC4CON.setOCM1; inline;
  20017. begin
  20018. pTDefRegMap(@Self)^.&set := $00000002;
  20019. end;
  20020. procedure TOCMP4_OC4CON.clearOCM1; inline;
  20021. begin
  20022. pTDefRegMap(@Self)^.clr := $00000002;
  20023. end;
  20024. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  20025. begin
  20026. if thebits = 0 then
  20027. pTDefRegMap(@Self)^.clr := $00000002
  20028. else
  20029. pTDefRegMap(@Self)^.&set := $00000002;
  20030. end;
  20031. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  20032. begin
  20033. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20034. end;
  20035. procedure TOCMP4_OC4CON.setOCM2; inline;
  20036. begin
  20037. pTDefRegMap(@Self)^.&set := $00000004;
  20038. end;
  20039. procedure TOCMP4_OC4CON.clearOCM2; inline;
  20040. begin
  20041. pTDefRegMap(@Self)^.clr := $00000004;
  20042. end;
  20043. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  20044. begin
  20045. if thebits = 0 then
  20046. pTDefRegMap(@Self)^.clr := $00000004
  20047. else
  20048. pTDefRegMap(@Self)^.&set := $00000004;
  20049. end;
  20050. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  20051. begin
  20052. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20053. end;
  20054. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  20055. begin
  20056. pTDefRegMap(@Self)^.&set := $00002000;
  20057. end;
  20058. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  20059. begin
  20060. pTDefRegMap(@Self)^.clr := $00002000;
  20061. end;
  20062. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  20063. begin
  20064. if thebits = 0 then
  20065. pTDefRegMap(@Self)^.clr := $00002000
  20066. else
  20067. pTDefRegMap(@Self)^.&set := $00002000;
  20068. end;
  20069. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  20070. begin
  20071. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20072. end;
  20073. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  20074. begin
  20075. pTDefRegMap(@Self)^.val := thebits;
  20076. end;
  20077. function TOCMP4_OC4CON.getw : TBits_32; inline;
  20078. begin
  20079. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20080. end;
  20081. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  20082. begin
  20083. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20084. end;
  20085. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  20086. begin
  20087. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20088. end;
  20089. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  20090. begin
  20091. pTDefRegMap(@Self)^.&set := $00000008;
  20092. end;
  20093. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  20094. begin
  20095. pTDefRegMap(@Self)^.clr := $00000008;
  20096. end;
  20097. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  20098. begin
  20099. if thebits = 0 then
  20100. pTDefRegMap(@Self)^.clr := $00000008
  20101. else
  20102. pTDefRegMap(@Self)^.&set := $00000008;
  20103. end;
  20104. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  20105. begin
  20106. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20107. end;
  20108. procedure TOCMP5_OC5CON.setOCFLT; inline;
  20109. begin
  20110. pTDefRegMap(@Self)^.&set := $00000010;
  20111. end;
  20112. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  20113. begin
  20114. pTDefRegMap(@Self)^.clr := $00000010;
  20115. end;
  20116. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  20117. begin
  20118. if thebits = 0 then
  20119. pTDefRegMap(@Self)^.clr := $00000010
  20120. else
  20121. pTDefRegMap(@Self)^.&set := $00000010;
  20122. end;
  20123. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  20124. begin
  20125. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20126. end;
  20127. procedure TOCMP5_OC5CON.setOC32; inline;
  20128. begin
  20129. pTDefRegMap(@Self)^.&set := $00000020;
  20130. end;
  20131. procedure TOCMP5_OC5CON.clearOC32; inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.clr := $00000020;
  20134. end;
  20135. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  20136. begin
  20137. if thebits = 0 then
  20138. pTDefRegMap(@Self)^.clr := $00000020
  20139. else
  20140. pTDefRegMap(@Self)^.&set := $00000020;
  20141. end;
  20142. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  20143. begin
  20144. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20145. end;
  20146. procedure TOCMP5_OC5CON.setSIDL; inline;
  20147. begin
  20148. pTDefRegMap(@Self)^.&set := $00002000;
  20149. end;
  20150. procedure TOCMP5_OC5CON.clearSIDL; inline;
  20151. begin
  20152. pTDefRegMap(@Self)^.clr := $00002000;
  20153. end;
  20154. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  20155. begin
  20156. if thebits = 0 then
  20157. pTDefRegMap(@Self)^.clr := $00002000
  20158. else
  20159. pTDefRegMap(@Self)^.&set := $00002000;
  20160. end;
  20161. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  20162. begin
  20163. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20164. end;
  20165. procedure TOCMP5_OC5CON.setON; inline;
  20166. begin
  20167. pTDefRegMap(@Self)^.&set := $00008000;
  20168. end;
  20169. procedure TOCMP5_OC5CON.clearON; inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.clr := $00008000;
  20172. end;
  20173. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  20174. begin
  20175. if thebits = 0 then
  20176. pTDefRegMap(@Self)^.clr := $00008000
  20177. else
  20178. pTDefRegMap(@Self)^.&set := $00008000;
  20179. end;
  20180. function TOCMP5_OC5CON.getON : TBits_1; inline;
  20181. begin
  20182. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20183. end;
  20184. procedure TOCMP5_OC5CON.setOCM0; inline;
  20185. begin
  20186. pTDefRegMap(@Self)^.&set := $00000001;
  20187. end;
  20188. procedure TOCMP5_OC5CON.clearOCM0; inline;
  20189. begin
  20190. pTDefRegMap(@Self)^.clr := $00000001;
  20191. end;
  20192. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  20193. begin
  20194. if thebits = 0 then
  20195. pTDefRegMap(@Self)^.clr := $00000001
  20196. else
  20197. pTDefRegMap(@Self)^.&set := $00000001;
  20198. end;
  20199. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  20200. begin
  20201. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20202. end;
  20203. procedure TOCMP5_OC5CON.setOCM1; inline;
  20204. begin
  20205. pTDefRegMap(@Self)^.&set := $00000002;
  20206. end;
  20207. procedure TOCMP5_OC5CON.clearOCM1; inline;
  20208. begin
  20209. pTDefRegMap(@Self)^.clr := $00000002;
  20210. end;
  20211. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  20212. begin
  20213. if thebits = 0 then
  20214. pTDefRegMap(@Self)^.clr := $00000002
  20215. else
  20216. pTDefRegMap(@Self)^.&set := $00000002;
  20217. end;
  20218. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  20219. begin
  20220. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20221. end;
  20222. procedure TOCMP5_OC5CON.setOCM2; inline;
  20223. begin
  20224. pTDefRegMap(@Self)^.&set := $00000004;
  20225. end;
  20226. procedure TOCMP5_OC5CON.clearOCM2; inline;
  20227. begin
  20228. pTDefRegMap(@Self)^.clr := $00000004;
  20229. end;
  20230. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  20231. begin
  20232. if thebits = 0 then
  20233. pTDefRegMap(@Self)^.clr := $00000004
  20234. else
  20235. pTDefRegMap(@Self)^.&set := $00000004;
  20236. end;
  20237. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  20238. begin
  20239. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20240. end;
  20241. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  20242. begin
  20243. pTDefRegMap(@Self)^.&set := $00002000;
  20244. end;
  20245. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  20246. begin
  20247. pTDefRegMap(@Self)^.clr := $00002000;
  20248. end;
  20249. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  20250. begin
  20251. if thebits = 0 then
  20252. pTDefRegMap(@Self)^.clr := $00002000
  20253. else
  20254. pTDefRegMap(@Self)^.&set := $00002000;
  20255. end;
  20256. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  20257. begin
  20258. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20259. end;
  20260. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  20261. begin
  20262. pTDefRegMap(@Self)^.val := thebits;
  20263. end;
  20264. function TOCMP5_OC5CON.getw : TBits_32; inline;
  20265. begin
  20266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20267. end;
  20268. procedure TI2C1A_I2C1ACON.setSEN; inline;
  20269. begin
  20270. pTDefRegMap(@Self)^.&set := $00000001;
  20271. end;
  20272. procedure TI2C1A_I2C1ACON.clearSEN; inline;
  20273. begin
  20274. pTDefRegMap(@Self)^.clr := $00000001;
  20275. end;
  20276. procedure TI2C1A_I2C1ACON.setSEN(thebits : TBits_1); inline;
  20277. begin
  20278. if thebits = 0 then
  20279. pTDefRegMap(@Self)^.clr := $00000001
  20280. else
  20281. pTDefRegMap(@Self)^.&set := $00000001;
  20282. end;
  20283. function TI2C1A_I2C1ACON.getSEN : TBits_1; inline;
  20284. begin
  20285. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20286. end;
  20287. procedure TI2C1A_I2C1ACON.setRSEN; inline;
  20288. begin
  20289. pTDefRegMap(@Self)^.&set := $00000002;
  20290. end;
  20291. procedure TI2C1A_I2C1ACON.clearRSEN; inline;
  20292. begin
  20293. pTDefRegMap(@Self)^.clr := $00000002;
  20294. end;
  20295. procedure TI2C1A_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  20296. begin
  20297. if thebits = 0 then
  20298. pTDefRegMap(@Self)^.clr := $00000002
  20299. else
  20300. pTDefRegMap(@Self)^.&set := $00000002;
  20301. end;
  20302. function TI2C1A_I2C1ACON.getRSEN : TBits_1; inline;
  20303. begin
  20304. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20305. end;
  20306. procedure TI2C1A_I2C1ACON.setPEN; inline;
  20307. begin
  20308. pTDefRegMap(@Self)^.&set := $00000004;
  20309. end;
  20310. procedure TI2C1A_I2C1ACON.clearPEN; inline;
  20311. begin
  20312. pTDefRegMap(@Self)^.clr := $00000004;
  20313. end;
  20314. procedure TI2C1A_I2C1ACON.setPEN(thebits : TBits_1); inline;
  20315. begin
  20316. if thebits = 0 then
  20317. pTDefRegMap(@Self)^.clr := $00000004
  20318. else
  20319. pTDefRegMap(@Self)^.&set := $00000004;
  20320. end;
  20321. function TI2C1A_I2C1ACON.getPEN : TBits_1; inline;
  20322. begin
  20323. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20324. end;
  20325. procedure TI2C1A_I2C1ACON.setRCEN; inline;
  20326. begin
  20327. pTDefRegMap(@Self)^.&set := $00000008;
  20328. end;
  20329. procedure TI2C1A_I2C1ACON.clearRCEN; inline;
  20330. begin
  20331. pTDefRegMap(@Self)^.clr := $00000008;
  20332. end;
  20333. procedure TI2C1A_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  20334. begin
  20335. if thebits = 0 then
  20336. pTDefRegMap(@Self)^.clr := $00000008
  20337. else
  20338. pTDefRegMap(@Self)^.&set := $00000008;
  20339. end;
  20340. function TI2C1A_I2C1ACON.getRCEN : TBits_1; inline;
  20341. begin
  20342. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20343. end;
  20344. procedure TI2C1A_I2C1ACON.setACKEN; inline;
  20345. begin
  20346. pTDefRegMap(@Self)^.&set := $00000010;
  20347. end;
  20348. procedure TI2C1A_I2C1ACON.clearACKEN; inline;
  20349. begin
  20350. pTDefRegMap(@Self)^.clr := $00000010;
  20351. end;
  20352. procedure TI2C1A_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  20353. begin
  20354. if thebits = 0 then
  20355. pTDefRegMap(@Self)^.clr := $00000010
  20356. else
  20357. pTDefRegMap(@Self)^.&set := $00000010;
  20358. end;
  20359. function TI2C1A_I2C1ACON.getACKEN : TBits_1; inline;
  20360. begin
  20361. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20362. end;
  20363. procedure TI2C1A_I2C1ACON.setACKDT; inline;
  20364. begin
  20365. pTDefRegMap(@Self)^.&set := $00000020;
  20366. end;
  20367. procedure TI2C1A_I2C1ACON.clearACKDT; inline;
  20368. begin
  20369. pTDefRegMap(@Self)^.clr := $00000020;
  20370. end;
  20371. procedure TI2C1A_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  20372. begin
  20373. if thebits = 0 then
  20374. pTDefRegMap(@Self)^.clr := $00000020
  20375. else
  20376. pTDefRegMap(@Self)^.&set := $00000020;
  20377. end;
  20378. function TI2C1A_I2C1ACON.getACKDT : TBits_1; inline;
  20379. begin
  20380. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20381. end;
  20382. procedure TI2C1A_I2C1ACON.setSTREN; inline;
  20383. begin
  20384. pTDefRegMap(@Self)^.&set := $00000040;
  20385. end;
  20386. procedure TI2C1A_I2C1ACON.clearSTREN; inline;
  20387. begin
  20388. pTDefRegMap(@Self)^.clr := $00000040;
  20389. end;
  20390. procedure TI2C1A_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  20391. begin
  20392. if thebits = 0 then
  20393. pTDefRegMap(@Self)^.clr := $00000040
  20394. else
  20395. pTDefRegMap(@Self)^.&set := $00000040;
  20396. end;
  20397. function TI2C1A_I2C1ACON.getSTREN : TBits_1; inline;
  20398. begin
  20399. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20400. end;
  20401. procedure TI2C1A_I2C1ACON.setGCEN; inline;
  20402. begin
  20403. pTDefRegMap(@Self)^.&set := $00000080;
  20404. end;
  20405. procedure TI2C1A_I2C1ACON.clearGCEN; inline;
  20406. begin
  20407. pTDefRegMap(@Self)^.clr := $00000080;
  20408. end;
  20409. procedure TI2C1A_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  20410. begin
  20411. if thebits = 0 then
  20412. pTDefRegMap(@Self)^.clr := $00000080
  20413. else
  20414. pTDefRegMap(@Self)^.&set := $00000080;
  20415. end;
  20416. function TI2C1A_I2C1ACON.getGCEN : TBits_1; inline;
  20417. begin
  20418. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20419. end;
  20420. procedure TI2C1A_I2C1ACON.setSMEN; inline;
  20421. begin
  20422. pTDefRegMap(@Self)^.&set := $00000100;
  20423. end;
  20424. procedure TI2C1A_I2C1ACON.clearSMEN; inline;
  20425. begin
  20426. pTDefRegMap(@Self)^.clr := $00000100;
  20427. end;
  20428. procedure TI2C1A_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  20429. begin
  20430. if thebits = 0 then
  20431. pTDefRegMap(@Self)^.clr := $00000100
  20432. else
  20433. pTDefRegMap(@Self)^.&set := $00000100;
  20434. end;
  20435. function TI2C1A_I2C1ACON.getSMEN : TBits_1; inline;
  20436. begin
  20437. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20438. end;
  20439. procedure TI2C1A_I2C1ACON.setDISSLW; inline;
  20440. begin
  20441. pTDefRegMap(@Self)^.&set := $00000200;
  20442. end;
  20443. procedure TI2C1A_I2C1ACON.clearDISSLW; inline;
  20444. begin
  20445. pTDefRegMap(@Self)^.clr := $00000200;
  20446. end;
  20447. procedure TI2C1A_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  20448. begin
  20449. if thebits = 0 then
  20450. pTDefRegMap(@Self)^.clr := $00000200
  20451. else
  20452. pTDefRegMap(@Self)^.&set := $00000200;
  20453. end;
  20454. function TI2C1A_I2C1ACON.getDISSLW : TBits_1; inline;
  20455. begin
  20456. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20457. end;
  20458. procedure TI2C1A_I2C1ACON.setA10M; inline;
  20459. begin
  20460. pTDefRegMap(@Self)^.&set := $00000400;
  20461. end;
  20462. procedure TI2C1A_I2C1ACON.clearA10M; inline;
  20463. begin
  20464. pTDefRegMap(@Self)^.clr := $00000400;
  20465. end;
  20466. procedure TI2C1A_I2C1ACON.setA10M(thebits : TBits_1); inline;
  20467. begin
  20468. if thebits = 0 then
  20469. pTDefRegMap(@Self)^.clr := $00000400
  20470. else
  20471. pTDefRegMap(@Self)^.&set := $00000400;
  20472. end;
  20473. function TI2C1A_I2C1ACON.getA10M : TBits_1; inline;
  20474. begin
  20475. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20476. end;
  20477. procedure TI2C1A_I2C1ACON.setSTRICT; inline;
  20478. begin
  20479. pTDefRegMap(@Self)^.&set := $00000800;
  20480. end;
  20481. procedure TI2C1A_I2C1ACON.clearSTRICT; inline;
  20482. begin
  20483. pTDefRegMap(@Self)^.clr := $00000800;
  20484. end;
  20485. procedure TI2C1A_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  20486. begin
  20487. if thebits = 0 then
  20488. pTDefRegMap(@Self)^.clr := $00000800
  20489. else
  20490. pTDefRegMap(@Self)^.&set := $00000800;
  20491. end;
  20492. function TI2C1A_I2C1ACON.getSTRICT : TBits_1; inline;
  20493. begin
  20494. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20495. end;
  20496. procedure TI2C1A_I2C1ACON.setSCLREL; inline;
  20497. begin
  20498. pTDefRegMap(@Self)^.&set := $00001000;
  20499. end;
  20500. procedure TI2C1A_I2C1ACON.clearSCLREL; inline;
  20501. begin
  20502. pTDefRegMap(@Self)^.clr := $00001000;
  20503. end;
  20504. procedure TI2C1A_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  20505. begin
  20506. if thebits = 0 then
  20507. pTDefRegMap(@Self)^.clr := $00001000
  20508. else
  20509. pTDefRegMap(@Self)^.&set := $00001000;
  20510. end;
  20511. function TI2C1A_I2C1ACON.getSCLREL : TBits_1; inline;
  20512. begin
  20513. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20514. end;
  20515. procedure TI2C1A_I2C1ACON.setSIDL; inline;
  20516. begin
  20517. pTDefRegMap(@Self)^.&set := $00002000;
  20518. end;
  20519. procedure TI2C1A_I2C1ACON.clearSIDL; inline;
  20520. begin
  20521. pTDefRegMap(@Self)^.clr := $00002000;
  20522. end;
  20523. procedure TI2C1A_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  20524. begin
  20525. if thebits = 0 then
  20526. pTDefRegMap(@Self)^.clr := $00002000
  20527. else
  20528. pTDefRegMap(@Self)^.&set := $00002000;
  20529. end;
  20530. function TI2C1A_I2C1ACON.getSIDL : TBits_1; inline;
  20531. begin
  20532. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20533. end;
  20534. procedure TI2C1A_I2C1ACON.setON; inline;
  20535. begin
  20536. pTDefRegMap(@Self)^.&set := $00008000;
  20537. end;
  20538. procedure TI2C1A_I2C1ACON.clearON; inline;
  20539. begin
  20540. pTDefRegMap(@Self)^.clr := $00008000;
  20541. end;
  20542. procedure TI2C1A_I2C1ACON.setON(thebits : TBits_1); inline;
  20543. begin
  20544. if thebits = 0 then
  20545. pTDefRegMap(@Self)^.clr := $00008000
  20546. else
  20547. pTDefRegMap(@Self)^.&set := $00008000;
  20548. end;
  20549. function TI2C1A_I2C1ACON.getON : TBits_1; inline;
  20550. begin
  20551. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20552. end;
  20553. procedure TI2C1A_I2C1ACON.setIPMIEN; inline;
  20554. begin
  20555. pTDefRegMap(@Self)^.&set := $00000800;
  20556. end;
  20557. procedure TI2C1A_I2C1ACON.clearIPMIEN; inline;
  20558. begin
  20559. pTDefRegMap(@Self)^.clr := $00000800;
  20560. end;
  20561. procedure TI2C1A_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  20562. begin
  20563. if thebits = 0 then
  20564. pTDefRegMap(@Self)^.clr := $00000800
  20565. else
  20566. pTDefRegMap(@Self)^.&set := $00000800;
  20567. end;
  20568. function TI2C1A_I2C1ACON.getIPMIEN : TBits_1; inline;
  20569. begin
  20570. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20571. end;
  20572. procedure TI2C1A_I2C1ACON.setI2CSIDL; inline;
  20573. begin
  20574. pTDefRegMap(@Self)^.&set := $00002000;
  20575. end;
  20576. procedure TI2C1A_I2C1ACON.clearI2CSIDL; inline;
  20577. begin
  20578. pTDefRegMap(@Self)^.clr := $00002000;
  20579. end;
  20580. procedure TI2C1A_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  20581. begin
  20582. if thebits = 0 then
  20583. pTDefRegMap(@Self)^.clr := $00002000
  20584. else
  20585. pTDefRegMap(@Self)^.&set := $00002000;
  20586. end;
  20587. function TI2C1A_I2C1ACON.getI2CSIDL : TBits_1; inline;
  20588. begin
  20589. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20590. end;
  20591. procedure TI2C1A_I2C1ACON.setI2CEN; inline;
  20592. begin
  20593. pTDefRegMap(@Self)^.&set := $00008000;
  20594. end;
  20595. procedure TI2C1A_I2C1ACON.clearI2CEN; inline;
  20596. begin
  20597. pTDefRegMap(@Self)^.clr := $00008000;
  20598. end;
  20599. procedure TI2C1A_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  20600. begin
  20601. if thebits = 0 then
  20602. pTDefRegMap(@Self)^.clr := $00008000
  20603. else
  20604. pTDefRegMap(@Self)^.&set := $00008000;
  20605. end;
  20606. function TI2C1A_I2C1ACON.getI2CEN : TBits_1; inline;
  20607. begin
  20608. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20609. end;
  20610. procedure TI2C1A_I2C1ACON.setw(thebits : TBits_32); inline;
  20611. begin
  20612. pTDefRegMap(@Self)^.val := thebits;
  20613. end;
  20614. function TI2C1A_I2C1ACON.getw : TBits_32; inline;
  20615. begin
  20616. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20617. end;
  20618. procedure TI2C1A_I2C3CON.setSEN; inline;
  20619. begin
  20620. pTDefRegMap(@Self)^.&set := $00000001;
  20621. end;
  20622. procedure TI2C1A_I2C3CON.clearSEN; inline;
  20623. begin
  20624. pTDefRegMap(@Self)^.clr := $00000001;
  20625. end;
  20626. procedure TI2C1A_I2C3CON.setSEN(thebits : TBits_1); inline;
  20627. begin
  20628. if thebits = 0 then
  20629. pTDefRegMap(@Self)^.clr := $00000001
  20630. else
  20631. pTDefRegMap(@Self)^.&set := $00000001;
  20632. end;
  20633. function TI2C1A_I2C3CON.getSEN : TBits_1; inline;
  20634. begin
  20635. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20636. end;
  20637. procedure TI2C1A_I2C3CON.setRSEN; inline;
  20638. begin
  20639. pTDefRegMap(@Self)^.&set := $00000002;
  20640. end;
  20641. procedure TI2C1A_I2C3CON.clearRSEN; inline;
  20642. begin
  20643. pTDefRegMap(@Self)^.clr := $00000002;
  20644. end;
  20645. procedure TI2C1A_I2C3CON.setRSEN(thebits : TBits_1); inline;
  20646. begin
  20647. if thebits = 0 then
  20648. pTDefRegMap(@Self)^.clr := $00000002
  20649. else
  20650. pTDefRegMap(@Self)^.&set := $00000002;
  20651. end;
  20652. function TI2C1A_I2C3CON.getRSEN : TBits_1; inline;
  20653. begin
  20654. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20655. end;
  20656. procedure TI2C1A_I2C3CON.setPEN; inline;
  20657. begin
  20658. pTDefRegMap(@Self)^.&set := $00000004;
  20659. end;
  20660. procedure TI2C1A_I2C3CON.clearPEN; inline;
  20661. begin
  20662. pTDefRegMap(@Self)^.clr := $00000004;
  20663. end;
  20664. procedure TI2C1A_I2C3CON.setPEN(thebits : TBits_1); inline;
  20665. begin
  20666. if thebits = 0 then
  20667. pTDefRegMap(@Self)^.clr := $00000004
  20668. else
  20669. pTDefRegMap(@Self)^.&set := $00000004;
  20670. end;
  20671. function TI2C1A_I2C3CON.getPEN : TBits_1; inline;
  20672. begin
  20673. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20674. end;
  20675. procedure TI2C1A_I2C3CON.setRCEN; inline;
  20676. begin
  20677. pTDefRegMap(@Self)^.&set := $00000008;
  20678. end;
  20679. procedure TI2C1A_I2C3CON.clearRCEN; inline;
  20680. begin
  20681. pTDefRegMap(@Self)^.clr := $00000008;
  20682. end;
  20683. procedure TI2C1A_I2C3CON.setRCEN(thebits : TBits_1); inline;
  20684. begin
  20685. if thebits = 0 then
  20686. pTDefRegMap(@Self)^.clr := $00000008
  20687. else
  20688. pTDefRegMap(@Self)^.&set := $00000008;
  20689. end;
  20690. function TI2C1A_I2C3CON.getRCEN : TBits_1; inline;
  20691. begin
  20692. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20693. end;
  20694. procedure TI2C1A_I2C3CON.setACKEN; inline;
  20695. begin
  20696. pTDefRegMap(@Self)^.&set := $00000010;
  20697. end;
  20698. procedure TI2C1A_I2C3CON.clearACKEN; inline;
  20699. begin
  20700. pTDefRegMap(@Self)^.clr := $00000010;
  20701. end;
  20702. procedure TI2C1A_I2C3CON.setACKEN(thebits : TBits_1); inline;
  20703. begin
  20704. if thebits = 0 then
  20705. pTDefRegMap(@Self)^.clr := $00000010
  20706. else
  20707. pTDefRegMap(@Self)^.&set := $00000010;
  20708. end;
  20709. function TI2C1A_I2C3CON.getACKEN : TBits_1; inline;
  20710. begin
  20711. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20712. end;
  20713. procedure TI2C1A_I2C3CON.setACKDT; inline;
  20714. begin
  20715. pTDefRegMap(@Self)^.&set := $00000020;
  20716. end;
  20717. procedure TI2C1A_I2C3CON.clearACKDT; inline;
  20718. begin
  20719. pTDefRegMap(@Self)^.clr := $00000020;
  20720. end;
  20721. procedure TI2C1A_I2C3CON.setACKDT(thebits : TBits_1); inline;
  20722. begin
  20723. if thebits = 0 then
  20724. pTDefRegMap(@Self)^.clr := $00000020
  20725. else
  20726. pTDefRegMap(@Self)^.&set := $00000020;
  20727. end;
  20728. function TI2C1A_I2C3CON.getACKDT : TBits_1; inline;
  20729. begin
  20730. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20731. end;
  20732. procedure TI2C1A_I2C3CON.setSTREN; inline;
  20733. begin
  20734. pTDefRegMap(@Self)^.&set := $00000040;
  20735. end;
  20736. procedure TI2C1A_I2C3CON.clearSTREN; inline;
  20737. begin
  20738. pTDefRegMap(@Self)^.clr := $00000040;
  20739. end;
  20740. procedure TI2C1A_I2C3CON.setSTREN(thebits : TBits_1); inline;
  20741. begin
  20742. if thebits = 0 then
  20743. pTDefRegMap(@Self)^.clr := $00000040
  20744. else
  20745. pTDefRegMap(@Self)^.&set := $00000040;
  20746. end;
  20747. function TI2C1A_I2C3CON.getSTREN : TBits_1; inline;
  20748. begin
  20749. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20750. end;
  20751. procedure TI2C1A_I2C3CON.setGCEN; inline;
  20752. begin
  20753. pTDefRegMap(@Self)^.&set := $00000080;
  20754. end;
  20755. procedure TI2C1A_I2C3CON.clearGCEN; inline;
  20756. begin
  20757. pTDefRegMap(@Self)^.clr := $00000080;
  20758. end;
  20759. procedure TI2C1A_I2C3CON.setGCEN(thebits : TBits_1); inline;
  20760. begin
  20761. if thebits = 0 then
  20762. pTDefRegMap(@Self)^.clr := $00000080
  20763. else
  20764. pTDefRegMap(@Self)^.&set := $00000080;
  20765. end;
  20766. function TI2C1A_I2C3CON.getGCEN : TBits_1; inline;
  20767. begin
  20768. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20769. end;
  20770. procedure TI2C1A_I2C3CON.setSMEN; inline;
  20771. begin
  20772. pTDefRegMap(@Self)^.&set := $00000100;
  20773. end;
  20774. procedure TI2C1A_I2C3CON.clearSMEN; inline;
  20775. begin
  20776. pTDefRegMap(@Self)^.clr := $00000100;
  20777. end;
  20778. procedure TI2C1A_I2C3CON.setSMEN(thebits : TBits_1); inline;
  20779. begin
  20780. if thebits = 0 then
  20781. pTDefRegMap(@Self)^.clr := $00000100
  20782. else
  20783. pTDefRegMap(@Self)^.&set := $00000100;
  20784. end;
  20785. function TI2C1A_I2C3CON.getSMEN : TBits_1; inline;
  20786. begin
  20787. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20788. end;
  20789. procedure TI2C1A_I2C3CON.setDISSLW; inline;
  20790. begin
  20791. pTDefRegMap(@Self)^.&set := $00000200;
  20792. end;
  20793. procedure TI2C1A_I2C3CON.clearDISSLW; inline;
  20794. begin
  20795. pTDefRegMap(@Self)^.clr := $00000200;
  20796. end;
  20797. procedure TI2C1A_I2C3CON.setDISSLW(thebits : TBits_1); inline;
  20798. begin
  20799. if thebits = 0 then
  20800. pTDefRegMap(@Self)^.clr := $00000200
  20801. else
  20802. pTDefRegMap(@Self)^.&set := $00000200;
  20803. end;
  20804. function TI2C1A_I2C3CON.getDISSLW : TBits_1; inline;
  20805. begin
  20806. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20807. end;
  20808. procedure TI2C1A_I2C3CON.setA10M; inline;
  20809. begin
  20810. pTDefRegMap(@Self)^.&set := $00000400;
  20811. end;
  20812. procedure TI2C1A_I2C3CON.clearA10M; inline;
  20813. begin
  20814. pTDefRegMap(@Self)^.clr := $00000400;
  20815. end;
  20816. procedure TI2C1A_I2C3CON.setA10M(thebits : TBits_1); inline;
  20817. begin
  20818. if thebits = 0 then
  20819. pTDefRegMap(@Self)^.clr := $00000400
  20820. else
  20821. pTDefRegMap(@Self)^.&set := $00000400;
  20822. end;
  20823. function TI2C1A_I2C3CON.getA10M : TBits_1; inline;
  20824. begin
  20825. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20826. end;
  20827. procedure TI2C1A_I2C3CON.setSTRICT; inline;
  20828. begin
  20829. pTDefRegMap(@Self)^.&set := $00000800;
  20830. end;
  20831. procedure TI2C1A_I2C3CON.clearSTRICT; inline;
  20832. begin
  20833. pTDefRegMap(@Self)^.clr := $00000800;
  20834. end;
  20835. procedure TI2C1A_I2C3CON.setSTRICT(thebits : TBits_1); inline;
  20836. begin
  20837. if thebits = 0 then
  20838. pTDefRegMap(@Self)^.clr := $00000800
  20839. else
  20840. pTDefRegMap(@Self)^.&set := $00000800;
  20841. end;
  20842. function TI2C1A_I2C3CON.getSTRICT : TBits_1; inline;
  20843. begin
  20844. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20845. end;
  20846. procedure TI2C1A_I2C3CON.setSCLREL; inline;
  20847. begin
  20848. pTDefRegMap(@Self)^.&set := $00001000;
  20849. end;
  20850. procedure TI2C1A_I2C3CON.clearSCLREL; inline;
  20851. begin
  20852. pTDefRegMap(@Self)^.clr := $00001000;
  20853. end;
  20854. procedure TI2C1A_I2C3CON.setSCLREL(thebits : TBits_1); inline;
  20855. begin
  20856. if thebits = 0 then
  20857. pTDefRegMap(@Self)^.clr := $00001000
  20858. else
  20859. pTDefRegMap(@Self)^.&set := $00001000;
  20860. end;
  20861. function TI2C1A_I2C3CON.getSCLREL : TBits_1; inline;
  20862. begin
  20863. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20864. end;
  20865. procedure TI2C1A_I2C3CON.setSIDL; inline;
  20866. begin
  20867. pTDefRegMap(@Self)^.&set := $00002000;
  20868. end;
  20869. procedure TI2C1A_I2C3CON.clearSIDL; inline;
  20870. begin
  20871. pTDefRegMap(@Self)^.clr := $00002000;
  20872. end;
  20873. procedure TI2C1A_I2C3CON.setSIDL(thebits : TBits_1); inline;
  20874. begin
  20875. if thebits = 0 then
  20876. pTDefRegMap(@Self)^.clr := $00002000
  20877. else
  20878. pTDefRegMap(@Self)^.&set := $00002000;
  20879. end;
  20880. function TI2C1A_I2C3CON.getSIDL : TBits_1; inline;
  20881. begin
  20882. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20883. end;
  20884. procedure TI2C1A_I2C3CON.setON; inline;
  20885. begin
  20886. pTDefRegMap(@Self)^.&set := $00008000;
  20887. end;
  20888. procedure TI2C1A_I2C3CON.clearON; inline;
  20889. begin
  20890. pTDefRegMap(@Self)^.clr := $00008000;
  20891. end;
  20892. procedure TI2C1A_I2C3CON.setON(thebits : TBits_1); inline;
  20893. begin
  20894. if thebits = 0 then
  20895. pTDefRegMap(@Self)^.clr := $00008000
  20896. else
  20897. pTDefRegMap(@Self)^.&set := $00008000;
  20898. end;
  20899. function TI2C1A_I2C3CON.getON : TBits_1; inline;
  20900. begin
  20901. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20902. end;
  20903. procedure TI2C1A_I2C3CON.setIPMIEN; inline;
  20904. begin
  20905. pTDefRegMap(@Self)^.&set := $00000800;
  20906. end;
  20907. procedure TI2C1A_I2C3CON.clearIPMIEN; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.clr := $00000800;
  20910. end;
  20911. procedure TI2C1A_I2C3CON.setIPMIEN(thebits : TBits_1); inline;
  20912. begin
  20913. if thebits = 0 then
  20914. pTDefRegMap(@Self)^.clr := $00000800
  20915. else
  20916. pTDefRegMap(@Self)^.&set := $00000800;
  20917. end;
  20918. function TI2C1A_I2C3CON.getIPMIEN : TBits_1; inline;
  20919. begin
  20920. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20921. end;
  20922. procedure TI2C1A_I2C3CON.setI2CSIDL; inline;
  20923. begin
  20924. pTDefRegMap(@Self)^.&set := $00002000;
  20925. end;
  20926. procedure TI2C1A_I2C3CON.clearI2CSIDL; inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.clr := $00002000;
  20929. end;
  20930. procedure TI2C1A_I2C3CON.setI2CSIDL(thebits : TBits_1); inline;
  20931. begin
  20932. if thebits = 0 then
  20933. pTDefRegMap(@Self)^.clr := $00002000
  20934. else
  20935. pTDefRegMap(@Self)^.&set := $00002000;
  20936. end;
  20937. function TI2C1A_I2C3CON.getI2CSIDL : TBits_1; inline;
  20938. begin
  20939. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20940. end;
  20941. procedure TI2C1A_I2C3CON.setI2CEN; inline;
  20942. begin
  20943. pTDefRegMap(@Self)^.&set := $00008000;
  20944. end;
  20945. procedure TI2C1A_I2C3CON.clearI2CEN; inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.clr := $00008000;
  20948. end;
  20949. procedure TI2C1A_I2C3CON.setI2CEN(thebits : TBits_1); inline;
  20950. begin
  20951. if thebits = 0 then
  20952. pTDefRegMap(@Self)^.clr := $00008000
  20953. else
  20954. pTDefRegMap(@Self)^.&set := $00008000;
  20955. end;
  20956. function TI2C1A_I2C3CON.getI2CEN : TBits_1; inline;
  20957. begin
  20958. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20959. end;
  20960. procedure TI2C1A_I2C3CON.setw(thebits : TBits_32); inline;
  20961. begin
  20962. pTDefRegMap(@Self)^.val := thebits;
  20963. end;
  20964. function TI2C1A_I2C3CON.getw : TBits_32; inline;
  20965. begin
  20966. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20967. end;
  20968. procedure TI2C1A_I2C1ASTAT.setTBF; inline;
  20969. begin
  20970. pTDefRegMap(@Self)^.&set := $00000001;
  20971. end;
  20972. procedure TI2C1A_I2C1ASTAT.clearTBF; inline;
  20973. begin
  20974. pTDefRegMap(@Self)^.clr := $00000001;
  20975. end;
  20976. procedure TI2C1A_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  20977. begin
  20978. if thebits = 0 then
  20979. pTDefRegMap(@Self)^.clr := $00000001
  20980. else
  20981. pTDefRegMap(@Self)^.&set := $00000001;
  20982. end;
  20983. function TI2C1A_I2C1ASTAT.getTBF : TBits_1; inline;
  20984. begin
  20985. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20986. end;
  20987. procedure TI2C1A_I2C1ASTAT.setRBF; inline;
  20988. begin
  20989. pTDefRegMap(@Self)^.&set := $00000002;
  20990. end;
  20991. procedure TI2C1A_I2C1ASTAT.clearRBF; inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.clr := $00000002;
  20994. end;
  20995. procedure TI2C1A_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  20996. begin
  20997. if thebits = 0 then
  20998. pTDefRegMap(@Self)^.clr := $00000002
  20999. else
  21000. pTDefRegMap(@Self)^.&set := $00000002;
  21001. end;
  21002. function TI2C1A_I2C1ASTAT.getRBF : TBits_1; inline;
  21003. begin
  21004. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21005. end;
  21006. procedure TI2C1A_I2C1ASTAT.setR_W; inline;
  21007. begin
  21008. pTDefRegMap(@Self)^.&set := $00000004;
  21009. end;
  21010. procedure TI2C1A_I2C1ASTAT.clearR_W; inline;
  21011. begin
  21012. pTDefRegMap(@Self)^.clr := $00000004;
  21013. end;
  21014. procedure TI2C1A_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  21015. begin
  21016. if thebits = 0 then
  21017. pTDefRegMap(@Self)^.clr := $00000004
  21018. else
  21019. pTDefRegMap(@Self)^.&set := $00000004;
  21020. end;
  21021. function TI2C1A_I2C1ASTAT.getR_W : TBits_1; inline;
  21022. begin
  21023. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21024. end;
  21025. procedure TI2C1A_I2C1ASTAT.setS; inline;
  21026. begin
  21027. pTDefRegMap(@Self)^.&set := $00000008;
  21028. end;
  21029. procedure TI2C1A_I2C1ASTAT.clearS; inline;
  21030. begin
  21031. pTDefRegMap(@Self)^.clr := $00000008;
  21032. end;
  21033. procedure TI2C1A_I2C1ASTAT.setS(thebits : TBits_1); inline;
  21034. begin
  21035. if thebits = 0 then
  21036. pTDefRegMap(@Self)^.clr := $00000008
  21037. else
  21038. pTDefRegMap(@Self)^.&set := $00000008;
  21039. end;
  21040. function TI2C1A_I2C1ASTAT.getS : TBits_1; inline;
  21041. begin
  21042. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21043. end;
  21044. procedure TI2C1A_I2C1ASTAT.setP; inline;
  21045. begin
  21046. pTDefRegMap(@Self)^.&set := $00000010;
  21047. end;
  21048. procedure TI2C1A_I2C1ASTAT.clearP; inline;
  21049. begin
  21050. pTDefRegMap(@Self)^.clr := $00000010;
  21051. end;
  21052. procedure TI2C1A_I2C1ASTAT.setP(thebits : TBits_1); inline;
  21053. begin
  21054. if thebits = 0 then
  21055. pTDefRegMap(@Self)^.clr := $00000010
  21056. else
  21057. pTDefRegMap(@Self)^.&set := $00000010;
  21058. end;
  21059. function TI2C1A_I2C1ASTAT.getP : TBits_1; inline;
  21060. begin
  21061. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21062. end;
  21063. procedure TI2C1A_I2C1ASTAT.setD_A; inline;
  21064. begin
  21065. pTDefRegMap(@Self)^.&set := $00000020;
  21066. end;
  21067. procedure TI2C1A_I2C1ASTAT.clearD_A; inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.clr := $00000020;
  21070. end;
  21071. procedure TI2C1A_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  21072. begin
  21073. if thebits = 0 then
  21074. pTDefRegMap(@Self)^.clr := $00000020
  21075. else
  21076. pTDefRegMap(@Self)^.&set := $00000020;
  21077. end;
  21078. function TI2C1A_I2C1ASTAT.getD_A : TBits_1; inline;
  21079. begin
  21080. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21081. end;
  21082. procedure TI2C1A_I2C1ASTAT.setI2COV; inline;
  21083. begin
  21084. pTDefRegMap(@Self)^.&set := $00000040;
  21085. end;
  21086. procedure TI2C1A_I2C1ASTAT.clearI2COV; inline;
  21087. begin
  21088. pTDefRegMap(@Self)^.clr := $00000040;
  21089. end;
  21090. procedure TI2C1A_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  21091. begin
  21092. if thebits = 0 then
  21093. pTDefRegMap(@Self)^.clr := $00000040
  21094. else
  21095. pTDefRegMap(@Self)^.&set := $00000040;
  21096. end;
  21097. function TI2C1A_I2C1ASTAT.getI2COV : TBits_1; inline;
  21098. begin
  21099. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21100. end;
  21101. procedure TI2C1A_I2C1ASTAT.setIWCOL; inline;
  21102. begin
  21103. pTDefRegMap(@Self)^.&set := $00000080;
  21104. end;
  21105. procedure TI2C1A_I2C1ASTAT.clearIWCOL; inline;
  21106. begin
  21107. pTDefRegMap(@Self)^.clr := $00000080;
  21108. end;
  21109. procedure TI2C1A_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  21110. begin
  21111. if thebits = 0 then
  21112. pTDefRegMap(@Self)^.clr := $00000080
  21113. else
  21114. pTDefRegMap(@Self)^.&set := $00000080;
  21115. end;
  21116. function TI2C1A_I2C1ASTAT.getIWCOL : TBits_1; inline;
  21117. begin
  21118. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21119. end;
  21120. procedure TI2C1A_I2C1ASTAT.setADD10; inline;
  21121. begin
  21122. pTDefRegMap(@Self)^.&set := $00000100;
  21123. end;
  21124. procedure TI2C1A_I2C1ASTAT.clearADD10; inline;
  21125. begin
  21126. pTDefRegMap(@Self)^.clr := $00000100;
  21127. end;
  21128. procedure TI2C1A_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  21129. begin
  21130. if thebits = 0 then
  21131. pTDefRegMap(@Self)^.clr := $00000100
  21132. else
  21133. pTDefRegMap(@Self)^.&set := $00000100;
  21134. end;
  21135. function TI2C1A_I2C1ASTAT.getADD10 : TBits_1; inline;
  21136. begin
  21137. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21138. end;
  21139. procedure TI2C1A_I2C1ASTAT.setGCSTAT; inline;
  21140. begin
  21141. pTDefRegMap(@Self)^.&set := $00000200;
  21142. end;
  21143. procedure TI2C1A_I2C1ASTAT.clearGCSTAT; inline;
  21144. begin
  21145. pTDefRegMap(@Self)^.clr := $00000200;
  21146. end;
  21147. procedure TI2C1A_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  21148. begin
  21149. if thebits = 0 then
  21150. pTDefRegMap(@Self)^.clr := $00000200
  21151. else
  21152. pTDefRegMap(@Self)^.&set := $00000200;
  21153. end;
  21154. function TI2C1A_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  21155. begin
  21156. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21157. end;
  21158. procedure TI2C1A_I2C1ASTAT.setBCL; inline;
  21159. begin
  21160. pTDefRegMap(@Self)^.&set := $00000400;
  21161. end;
  21162. procedure TI2C1A_I2C1ASTAT.clearBCL; inline;
  21163. begin
  21164. pTDefRegMap(@Self)^.clr := $00000400;
  21165. end;
  21166. procedure TI2C1A_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  21167. begin
  21168. if thebits = 0 then
  21169. pTDefRegMap(@Self)^.clr := $00000400
  21170. else
  21171. pTDefRegMap(@Self)^.&set := $00000400;
  21172. end;
  21173. function TI2C1A_I2C1ASTAT.getBCL : TBits_1; inline;
  21174. begin
  21175. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21176. end;
  21177. procedure TI2C1A_I2C1ASTAT.setTRSTAT; inline;
  21178. begin
  21179. pTDefRegMap(@Self)^.&set := $00004000;
  21180. end;
  21181. procedure TI2C1A_I2C1ASTAT.clearTRSTAT; inline;
  21182. begin
  21183. pTDefRegMap(@Self)^.clr := $00004000;
  21184. end;
  21185. procedure TI2C1A_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  21186. begin
  21187. if thebits = 0 then
  21188. pTDefRegMap(@Self)^.clr := $00004000
  21189. else
  21190. pTDefRegMap(@Self)^.&set := $00004000;
  21191. end;
  21192. function TI2C1A_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  21193. begin
  21194. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21195. end;
  21196. procedure TI2C1A_I2C1ASTAT.setACKSTAT; inline;
  21197. begin
  21198. pTDefRegMap(@Self)^.&set := $00008000;
  21199. end;
  21200. procedure TI2C1A_I2C1ASTAT.clearACKSTAT; inline;
  21201. begin
  21202. pTDefRegMap(@Self)^.clr := $00008000;
  21203. end;
  21204. procedure TI2C1A_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  21205. begin
  21206. if thebits = 0 then
  21207. pTDefRegMap(@Self)^.clr := $00008000
  21208. else
  21209. pTDefRegMap(@Self)^.&set := $00008000;
  21210. end;
  21211. function TI2C1A_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  21212. begin
  21213. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21214. end;
  21215. procedure TI2C1A_I2C1ASTAT.setI2CPOV; inline;
  21216. begin
  21217. pTDefRegMap(@Self)^.&set := $00000040;
  21218. end;
  21219. procedure TI2C1A_I2C1ASTAT.clearI2CPOV; inline;
  21220. begin
  21221. pTDefRegMap(@Self)^.clr := $00000040;
  21222. end;
  21223. procedure TI2C1A_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  21224. begin
  21225. if thebits = 0 then
  21226. pTDefRegMap(@Self)^.clr := $00000040
  21227. else
  21228. pTDefRegMap(@Self)^.&set := $00000040;
  21229. end;
  21230. function TI2C1A_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  21231. begin
  21232. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21233. end;
  21234. procedure TI2C1A_I2C1ASTAT.setw(thebits : TBits_32); inline;
  21235. begin
  21236. pTDefRegMap(@Self)^.val := thebits;
  21237. end;
  21238. function TI2C1A_I2C1ASTAT.getw : TBits_32; inline;
  21239. begin
  21240. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21241. end;
  21242. procedure TI2C1A_I2C3STAT.setTBF; inline;
  21243. begin
  21244. pTDefRegMap(@Self)^.&set := $00000001;
  21245. end;
  21246. procedure TI2C1A_I2C3STAT.clearTBF; inline;
  21247. begin
  21248. pTDefRegMap(@Self)^.clr := $00000001;
  21249. end;
  21250. procedure TI2C1A_I2C3STAT.setTBF(thebits : TBits_1); inline;
  21251. begin
  21252. if thebits = 0 then
  21253. pTDefRegMap(@Self)^.clr := $00000001
  21254. else
  21255. pTDefRegMap(@Self)^.&set := $00000001;
  21256. end;
  21257. function TI2C1A_I2C3STAT.getTBF : TBits_1; inline;
  21258. begin
  21259. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21260. end;
  21261. procedure TI2C1A_I2C3STAT.setRBF; inline;
  21262. begin
  21263. pTDefRegMap(@Self)^.&set := $00000002;
  21264. end;
  21265. procedure TI2C1A_I2C3STAT.clearRBF; inline;
  21266. begin
  21267. pTDefRegMap(@Self)^.clr := $00000002;
  21268. end;
  21269. procedure TI2C1A_I2C3STAT.setRBF(thebits : TBits_1); inline;
  21270. begin
  21271. if thebits = 0 then
  21272. pTDefRegMap(@Self)^.clr := $00000002
  21273. else
  21274. pTDefRegMap(@Self)^.&set := $00000002;
  21275. end;
  21276. function TI2C1A_I2C3STAT.getRBF : TBits_1; inline;
  21277. begin
  21278. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21279. end;
  21280. procedure TI2C1A_I2C3STAT.setR_W; inline;
  21281. begin
  21282. pTDefRegMap(@Self)^.&set := $00000004;
  21283. end;
  21284. procedure TI2C1A_I2C3STAT.clearR_W; inline;
  21285. begin
  21286. pTDefRegMap(@Self)^.clr := $00000004;
  21287. end;
  21288. procedure TI2C1A_I2C3STAT.setR_W(thebits : TBits_1); inline;
  21289. begin
  21290. if thebits = 0 then
  21291. pTDefRegMap(@Self)^.clr := $00000004
  21292. else
  21293. pTDefRegMap(@Self)^.&set := $00000004;
  21294. end;
  21295. function TI2C1A_I2C3STAT.getR_W : TBits_1; inline;
  21296. begin
  21297. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21298. end;
  21299. procedure TI2C1A_I2C3STAT.setS; inline;
  21300. begin
  21301. pTDefRegMap(@Self)^.&set := $00000008;
  21302. end;
  21303. procedure TI2C1A_I2C3STAT.clearS; inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.clr := $00000008;
  21306. end;
  21307. procedure TI2C1A_I2C3STAT.setS(thebits : TBits_1); inline;
  21308. begin
  21309. if thebits = 0 then
  21310. pTDefRegMap(@Self)^.clr := $00000008
  21311. else
  21312. pTDefRegMap(@Self)^.&set := $00000008;
  21313. end;
  21314. function TI2C1A_I2C3STAT.getS : TBits_1; inline;
  21315. begin
  21316. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21317. end;
  21318. procedure TI2C1A_I2C3STAT.setP; inline;
  21319. begin
  21320. pTDefRegMap(@Self)^.&set := $00000010;
  21321. end;
  21322. procedure TI2C1A_I2C3STAT.clearP; inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.clr := $00000010;
  21325. end;
  21326. procedure TI2C1A_I2C3STAT.setP(thebits : TBits_1); inline;
  21327. begin
  21328. if thebits = 0 then
  21329. pTDefRegMap(@Self)^.clr := $00000010
  21330. else
  21331. pTDefRegMap(@Self)^.&set := $00000010;
  21332. end;
  21333. function TI2C1A_I2C3STAT.getP : TBits_1; inline;
  21334. begin
  21335. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21336. end;
  21337. procedure TI2C1A_I2C3STAT.setD_A; inline;
  21338. begin
  21339. pTDefRegMap(@Self)^.&set := $00000020;
  21340. end;
  21341. procedure TI2C1A_I2C3STAT.clearD_A; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.clr := $00000020;
  21344. end;
  21345. procedure TI2C1A_I2C3STAT.setD_A(thebits : TBits_1); inline;
  21346. begin
  21347. if thebits = 0 then
  21348. pTDefRegMap(@Self)^.clr := $00000020
  21349. else
  21350. pTDefRegMap(@Self)^.&set := $00000020;
  21351. end;
  21352. function TI2C1A_I2C3STAT.getD_A : TBits_1; inline;
  21353. begin
  21354. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21355. end;
  21356. procedure TI2C1A_I2C3STAT.setI2COV; inline;
  21357. begin
  21358. pTDefRegMap(@Self)^.&set := $00000040;
  21359. end;
  21360. procedure TI2C1A_I2C3STAT.clearI2COV; inline;
  21361. begin
  21362. pTDefRegMap(@Self)^.clr := $00000040;
  21363. end;
  21364. procedure TI2C1A_I2C3STAT.setI2COV(thebits : TBits_1); inline;
  21365. begin
  21366. if thebits = 0 then
  21367. pTDefRegMap(@Self)^.clr := $00000040
  21368. else
  21369. pTDefRegMap(@Self)^.&set := $00000040;
  21370. end;
  21371. function TI2C1A_I2C3STAT.getI2COV : TBits_1; inline;
  21372. begin
  21373. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21374. end;
  21375. procedure TI2C1A_I2C3STAT.setIWCOL; inline;
  21376. begin
  21377. pTDefRegMap(@Self)^.&set := $00000080;
  21378. end;
  21379. procedure TI2C1A_I2C3STAT.clearIWCOL; inline;
  21380. begin
  21381. pTDefRegMap(@Self)^.clr := $00000080;
  21382. end;
  21383. procedure TI2C1A_I2C3STAT.setIWCOL(thebits : TBits_1); inline;
  21384. begin
  21385. if thebits = 0 then
  21386. pTDefRegMap(@Self)^.clr := $00000080
  21387. else
  21388. pTDefRegMap(@Self)^.&set := $00000080;
  21389. end;
  21390. function TI2C1A_I2C3STAT.getIWCOL : TBits_1; inline;
  21391. begin
  21392. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21393. end;
  21394. procedure TI2C1A_I2C3STAT.setADD10; inline;
  21395. begin
  21396. pTDefRegMap(@Self)^.&set := $00000100;
  21397. end;
  21398. procedure TI2C1A_I2C3STAT.clearADD10; inline;
  21399. begin
  21400. pTDefRegMap(@Self)^.clr := $00000100;
  21401. end;
  21402. procedure TI2C1A_I2C3STAT.setADD10(thebits : TBits_1); inline;
  21403. begin
  21404. if thebits = 0 then
  21405. pTDefRegMap(@Self)^.clr := $00000100
  21406. else
  21407. pTDefRegMap(@Self)^.&set := $00000100;
  21408. end;
  21409. function TI2C1A_I2C3STAT.getADD10 : TBits_1; inline;
  21410. begin
  21411. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21412. end;
  21413. procedure TI2C1A_I2C3STAT.setGCSTAT; inline;
  21414. begin
  21415. pTDefRegMap(@Self)^.&set := $00000200;
  21416. end;
  21417. procedure TI2C1A_I2C3STAT.clearGCSTAT; inline;
  21418. begin
  21419. pTDefRegMap(@Self)^.clr := $00000200;
  21420. end;
  21421. procedure TI2C1A_I2C3STAT.setGCSTAT(thebits : TBits_1); inline;
  21422. begin
  21423. if thebits = 0 then
  21424. pTDefRegMap(@Self)^.clr := $00000200
  21425. else
  21426. pTDefRegMap(@Self)^.&set := $00000200;
  21427. end;
  21428. function TI2C1A_I2C3STAT.getGCSTAT : TBits_1; inline;
  21429. begin
  21430. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21431. end;
  21432. procedure TI2C1A_I2C3STAT.setBCL; inline;
  21433. begin
  21434. pTDefRegMap(@Self)^.&set := $00000400;
  21435. end;
  21436. procedure TI2C1A_I2C3STAT.clearBCL; inline;
  21437. begin
  21438. pTDefRegMap(@Self)^.clr := $00000400;
  21439. end;
  21440. procedure TI2C1A_I2C3STAT.setBCL(thebits : TBits_1); inline;
  21441. begin
  21442. if thebits = 0 then
  21443. pTDefRegMap(@Self)^.clr := $00000400
  21444. else
  21445. pTDefRegMap(@Self)^.&set := $00000400;
  21446. end;
  21447. function TI2C1A_I2C3STAT.getBCL : TBits_1; inline;
  21448. begin
  21449. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21450. end;
  21451. procedure TI2C1A_I2C3STAT.setTRSTAT; inline;
  21452. begin
  21453. pTDefRegMap(@Self)^.&set := $00004000;
  21454. end;
  21455. procedure TI2C1A_I2C3STAT.clearTRSTAT; inline;
  21456. begin
  21457. pTDefRegMap(@Self)^.clr := $00004000;
  21458. end;
  21459. procedure TI2C1A_I2C3STAT.setTRSTAT(thebits : TBits_1); inline;
  21460. begin
  21461. if thebits = 0 then
  21462. pTDefRegMap(@Self)^.clr := $00004000
  21463. else
  21464. pTDefRegMap(@Self)^.&set := $00004000;
  21465. end;
  21466. function TI2C1A_I2C3STAT.getTRSTAT : TBits_1; inline;
  21467. begin
  21468. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21469. end;
  21470. procedure TI2C1A_I2C3STAT.setACKSTAT; inline;
  21471. begin
  21472. pTDefRegMap(@Self)^.&set := $00008000;
  21473. end;
  21474. procedure TI2C1A_I2C3STAT.clearACKSTAT; inline;
  21475. begin
  21476. pTDefRegMap(@Self)^.clr := $00008000;
  21477. end;
  21478. procedure TI2C1A_I2C3STAT.setACKSTAT(thebits : TBits_1); inline;
  21479. begin
  21480. if thebits = 0 then
  21481. pTDefRegMap(@Self)^.clr := $00008000
  21482. else
  21483. pTDefRegMap(@Self)^.&set := $00008000;
  21484. end;
  21485. function TI2C1A_I2C3STAT.getACKSTAT : TBits_1; inline;
  21486. begin
  21487. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21488. end;
  21489. procedure TI2C1A_I2C3STAT.setI2CPOV; inline;
  21490. begin
  21491. pTDefRegMap(@Self)^.&set := $00000040;
  21492. end;
  21493. procedure TI2C1A_I2C3STAT.clearI2CPOV; inline;
  21494. begin
  21495. pTDefRegMap(@Self)^.clr := $00000040;
  21496. end;
  21497. procedure TI2C1A_I2C3STAT.setI2CPOV(thebits : TBits_1); inline;
  21498. begin
  21499. if thebits = 0 then
  21500. pTDefRegMap(@Self)^.clr := $00000040
  21501. else
  21502. pTDefRegMap(@Self)^.&set := $00000040;
  21503. end;
  21504. function TI2C1A_I2C3STAT.getI2CPOV : TBits_1; inline;
  21505. begin
  21506. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21507. end;
  21508. procedure TI2C1A_I2C3STAT.setw(thebits : TBits_32); inline;
  21509. begin
  21510. pTDefRegMap(@Self)^.val := thebits;
  21511. end;
  21512. function TI2C1A_I2C3STAT.getw : TBits_32; inline;
  21513. begin
  21514. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21515. end;
  21516. procedure TI2C2A_I2C2ACON.setSEN; inline;
  21517. begin
  21518. pTDefRegMap(@Self)^.&set := $00000001;
  21519. end;
  21520. procedure TI2C2A_I2C2ACON.clearSEN; inline;
  21521. begin
  21522. pTDefRegMap(@Self)^.clr := $00000001;
  21523. end;
  21524. procedure TI2C2A_I2C2ACON.setSEN(thebits : TBits_1); inline;
  21525. begin
  21526. if thebits = 0 then
  21527. pTDefRegMap(@Self)^.clr := $00000001
  21528. else
  21529. pTDefRegMap(@Self)^.&set := $00000001;
  21530. end;
  21531. function TI2C2A_I2C2ACON.getSEN : TBits_1; inline;
  21532. begin
  21533. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21534. end;
  21535. procedure TI2C2A_I2C2ACON.setRSEN; inline;
  21536. begin
  21537. pTDefRegMap(@Self)^.&set := $00000002;
  21538. end;
  21539. procedure TI2C2A_I2C2ACON.clearRSEN; inline;
  21540. begin
  21541. pTDefRegMap(@Self)^.clr := $00000002;
  21542. end;
  21543. procedure TI2C2A_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  21544. begin
  21545. if thebits = 0 then
  21546. pTDefRegMap(@Self)^.clr := $00000002
  21547. else
  21548. pTDefRegMap(@Self)^.&set := $00000002;
  21549. end;
  21550. function TI2C2A_I2C2ACON.getRSEN : TBits_1; inline;
  21551. begin
  21552. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21553. end;
  21554. procedure TI2C2A_I2C2ACON.setPEN; inline;
  21555. begin
  21556. pTDefRegMap(@Self)^.&set := $00000004;
  21557. end;
  21558. procedure TI2C2A_I2C2ACON.clearPEN; inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.clr := $00000004;
  21561. end;
  21562. procedure TI2C2A_I2C2ACON.setPEN(thebits : TBits_1); inline;
  21563. begin
  21564. if thebits = 0 then
  21565. pTDefRegMap(@Self)^.clr := $00000004
  21566. else
  21567. pTDefRegMap(@Self)^.&set := $00000004;
  21568. end;
  21569. function TI2C2A_I2C2ACON.getPEN : TBits_1; inline;
  21570. begin
  21571. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21572. end;
  21573. procedure TI2C2A_I2C2ACON.setRCEN; inline;
  21574. begin
  21575. pTDefRegMap(@Self)^.&set := $00000008;
  21576. end;
  21577. procedure TI2C2A_I2C2ACON.clearRCEN; inline;
  21578. begin
  21579. pTDefRegMap(@Self)^.clr := $00000008;
  21580. end;
  21581. procedure TI2C2A_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  21582. begin
  21583. if thebits = 0 then
  21584. pTDefRegMap(@Self)^.clr := $00000008
  21585. else
  21586. pTDefRegMap(@Self)^.&set := $00000008;
  21587. end;
  21588. function TI2C2A_I2C2ACON.getRCEN : TBits_1; inline;
  21589. begin
  21590. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21591. end;
  21592. procedure TI2C2A_I2C2ACON.setACKEN; inline;
  21593. begin
  21594. pTDefRegMap(@Self)^.&set := $00000010;
  21595. end;
  21596. procedure TI2C2A_I2C2ACON.clearACKEN; inline;
  21597. begin
  21598. pTDefRegMap(@Self)^.clr := $00000010;
  21599. end;
  21600. procedure TI2C2A_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  21601. begin
  21602. if thebits = 0 then
  21603. pTDefRegMap(@Self)^.clr := $00000010
  21604. else
  21605. pTDefRegMap(@Self)^.&set := $00000010;
  21606. end;
  21607. function TI2C2A_I2C2ACON.getACKEN : TBits_1; inline;
  21608. begin
  21609. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21610. end;
  21611. procedure TI2C2A_I2C2ACON.setACKDT; inline;
  21612. begin
  21613. pTDefRegMap(@Self)^.&set := $00000020;
  21614. end;
  21615. procedure TI2C2A_I2C2ACON.clearACKDT; inline;
  21616. begin
  21617. pTDefRegMap(@Self)^.clr := $00000020;
  21618. end;
  21619. procedure TI2C2A_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  21620. begin
  21621. if thebits = 0 then
  21622. pTDefRegMap(@Self)^.clr := $00000020
  21623. else
  21624. pTDefRegMap(@Self)^.&set := $00000020;
  21625. end;
  21626. function TI2C2A_I2C2ACON.getACKDT : TBits_1; inline;
  21627. begin
  21628. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21629. end;
  21630. procedure TI2C2A_I2C2ACON.setSTREN; inline;
  21631. begin
  21632. pTDefRegMap(@Self)^.&set := $00000040;
  21633. end;
  21634. procedure TI2C2A_I2C2ACON.clearSTREN; inline;
  21635. begin
  21636. pTDefRegMap(@Self)^.clr := $00000040;
  21637. end;
  21638. procedure TI2C2A_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  21639. begin
  21640. if thebits = 0 then
  21641. pTDefRegMap(@Self)^.clr := $00000040
  21642. else
  21643. pTDefRegMap(@Self)^.&set := $00000040;
  21644. end;
  21645. function TI2C2A_I2C2ACON.getSTREN : TBits_1; inline;
  21646. begin
  21647. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21648. end;
  21649. procedure TI2C2A_I2C2ACON.setGCEN; inline;
  21650. begin
  21651. pTDefRegMap(@Self)^.&set := $00000080;
  21652. end;
  21653. procedure TI2C2A_I2C2ACON.clearGCEN; inline;
  21654. begin
  21655. pTDefRegMap(@Self)^.clr := $00000080;
  21656. end;
  21657. procedure TI2C2A_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  21658. begin
  21659. if thebits = 0 then
  21660. pTDefRegMap(@Self)^.clr := $00000080
  21661. else
  21662. pTDefRegMap(@Self)^.&set := $00000080;
  21663. end;
  21664. function TI2C2A_I2C2ACON.getGCEN : TBits_1; inline;
  21665. begin
  21666. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21667. end;
  21668. procedure TI2C2A_I2C2ACON.setSMEN; inline;
  21669. begin
  21670. pTDefRegMap(@Self)^.&set := $00000100;
  21671. end;
  21672. procedure TI2C2A_I2C2ACON.clearSMEN; inline;
  21673. begin
  21674. pTDefRegMap(@Self)^.clr := $00000100;
  21675. end;
  21676. procedure TI2C2A_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  21677. begin
  21678. if thebits = 0 then
  21679. pTDefRegMap(@Self)^.clr := $00000100
  21680. else
  21681. pTDefRegMap(@Self)^.&set := $00000100;
  21682. end;
  21683. function TI2C2A_I2C2ACON.getSMEN : TBits_1; inline;
  21684. begin
  21685. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21686. end;
  21687. procedure TI2C2A_I2C2ACON.setDISSLW; inline;
  21688. begin
  21689. pTDefRegMap(@Self)^.&set := $00000200;
  21690. end;
  21691. procedure TI2C2A_I2C2ACON.clearDISSLW; inline;
  21692. begin
  21693. pTDefRegMap(@Self)^.clr := $00000200;
  21694. end;
  21695. procedure TI2C2A_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  21696. begin
  21697. if thebits = 0 then
  21698. pTDefRegMap(@Self)^.clr := $00000200
  21699. else
  21700. pTDefRegMap(@Self)^.&set := $00000200;
  21701. end;
  21702. function TI2C2A_I2C2ACON.getDISSLW : TBits_1; inline;
  21703. begin
  21704. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21705. end;
  21706. procedure TI2C2A_I2C2ACON.setA10M; inline;
  21707. begin
  21708. pTDefRegMap(@Self)^.&set := $00000400;
  21709. end;
  21710. procedure TI2C2A_I2C2ACON.clearA10M; inline;
  21711. begin
  21712. pTDefRegMap(@Self)^.clr := $00000400;
  21713. end;
  21714. procedure TI2C2A_I2C2ACON.setA10M(thebits : TBits_1); inline;
  21715. begin
  21716. if thebits = 0 then
  21717. pTDefRegMap(@Self)^.clr := $00000400
  21718. else
  21719. pTDefRegMap(@Self)^.&set := $00000400;
  21720. end;
  21721. function TI2C2A_I2C2ACON.getA10M : TBits_1; inline;
  21722. begin
  21723. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21724. end;
  21725. procedure TI2C2A_I2C2ACON.setSTRICT; inline;
  21726. begin
  21727. pTDefRegMap(@Self)^.&set := $00000800;
  21728. end;
  21729. procedure TI2C2A_I2C2ACON.clearSTRICT; inline;
  21730. begin
  21731. pTDefRegMap(@Self)^.clr := $00000800;
  21732. end;
  21733. procedure TI2C2A_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  21734. begin
  21735. if thebits = 0 then
  21736. pTDefRegMap(@Self)^.clr := $00000800
  21737. else
  21738. pTDefRegMap(@Self)^.&set := $00000800;
  21739. end;
  21740. function TI2C2A_I2C2ACON.getSTRICT : TBits_1; inline;
  21741. begin
  21742. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21743. end;
  21744. procedure TI2C2A_I2C2ACON.setSCLREL; inline;
  21745. begin
  21746. pTDefRegMap(@Self)^.&set := $00001000;
  21747. end;
  21748. procedure TI2C2A_I2C2ACON.clearSCLREL; inline;
  21749. begin
  21750. pTDefRegMap(@Self)^.clr := $00001000;
  21751. end;
  21752. procedure TI2C2A_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  21753. begin
  21754. if thebits = 0 then
  21755. pTDefRegMap(@Self)^.clr := $00001000
  21756. else
  21757. pTDefRegMap(@Self)^.&set := $00001000;
  21758. end;
  21759. function TI2C2A_I2C2ACON.getSCLREL : TBits_1; inline;
  21760. begin
  21761. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21762. end;
  21763. procedure TI2C2A_I2C2ACON.setSIDL; inline;
  21764. begin
  21765. pTDefRegMap(@Self)^.&set := $00002000;
  21766. end;
  21767. procedure TI2C2A_I2C2ACON.clearSIDL; inline;
  21768. begin
  21769. pTDefRegMap(@Self)^.clr := $00002000;
  21770. end;
  21771. procedure TI2C2A_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  21772. begin
  21773. if thebits = 0 then
  21774. pTDefRegMap(@Self)^.clr := $00002000
  21775. else
  21776. pTDefRegMap(@Self)^.&set := $00002000;
  21777. end;
  21778. function TI2C2A_I2C2ACON.getSIDL : TBits_1; inline;
  21779. begin
  21780. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21781. end;
  21782. procedure TI2C2A_I2C2ACON.setON; inline;
  21783. begin
  21784. pTDefRegMap(@Self)^.&set := $00008000;
  21785. end;
  21786. procedure TI2C2A_I2C2ACON.clearON; inline;
  21787. begin
  21788. pTDefRegMap(@Self)^.clr := $00008000;
  21789. end;
  21790. procedure TI2C2A_I2C2ACON.setON(thebits : TBits_1); inline;
  21791. begin
  21792. if thebits = 0 then
  21793. pTDefRegMap(@Self)^.clr := $00008000
  21794. else
  21795. pTDefRegMap(@Self)^.&set := $00008000;
  21796. end;
  21797. function TI2C2A_I2C2ACON.getON : TBits_1; inline;
  21798. begin
  21799. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21800. end;
  21801. procedure TI2C2A_I2C2ACON.setIPMIEN; inline;
  21802. begin
  21803. pTDefRegMap(@Self)^.&set := $00000800;
  21804. end;
  21805. procedure TI2C2A_I2C2ACON.clearIPMIEN; inline;
  21806. begin
  21807. pTDefRegMap(@Self)^.clr := $00000800;
  21808. end;
  21809. procedure TI2C2A_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  21810. begin
  21811. if thebits = 0 then
  21812. pTDefRegMap(@Self)^.clr := $00000800
  21813. else
  21814. pTDefRegMap(@Self)^.&set := $00000800;
  21815. end;
  21816. function TI2C2A_I2C2ACON.getIPMIEN : TBits_1; inline;
  21817. begin
  21818. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21819. end;
  21820. procedure TI2C2A_I2C2ACON.setI2CSIDL; inline;
  21821. begin
  21822. pTDefRegMap(@Self)^.&set := $00002000;
  21823. end;
  21824. procedure TI2C2A_I2C2ACON.clearI2CSIDL; inline;
  21825. begin
  21826. pTDefRegMap(@Self)^.clr := $00002000;
  21827. end;
  21828. procedure TI2C2A_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  21829. begin
  21830. if thebits = 0 then
  21831. pTDefRegMap(@Self)^.clr := $00002000
  21832. else
  21833. pTDefRegMap(@Self)^.&set := $00002000;
  21834. end;
  21835. function TI2C2A_I2C2ACON.getI2CSIDL : TBits_1; inline;
  21836. begin
  21837. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21838. end;
  21839. procedure TI2C2A_I2C2ACON.setI2CEN; inline;
  21840. begin
  21841. pTDefRegMap(@Self)^.&set := $00008000;
  21842. end;
  21843. procedure TI2C2A_I2C2ACON.clearI2CEN; inline;
  21844. begin
  21845. pTDefRegMap(@Self)^.clr := $00008000;
  21846. end;
  21847. procedure TI2C2A_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  21848. begin
  21849. if thebits = 0 then
  21850. pTDefRegMap(@Self)^.clr := $00008000
  21851. else
  21852. pTDefRegMap(@Self)^.&set := $00008000;
  21853. end;
  21854. function TI2C2A_I2C2ACON.getI2CEN : TBits_1; inline;
  21855. begin
  21856. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21857. end;
  21858. procedure TI2C2A_I2C2ACON.setw(thebits : TBits_32); inline;
  21859. begin
  21860. pTDefRegMap(@Self)^.val := thebits;
  21861. end;
  21862. function TI2C2A_I2C2ACON.getw : TBits_32; inline;
  21863. begin
  21864. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21865. end;
  21866. procedure TI2C2A_I2C4CON.setSEN; inline;
  21867. begin
  21868. pTDefRegMap(@Self)^.&set := $00000001;
  21869. end;
  21870. procedure TI2C2A_I2C4CON.clearSEN; inline;
  21871. begin
  21872. pTDefRegMap(@Self)^.clr := $00000001;
  21873. end;
  21874. procedure TI2C2A_I2C4CON.setSEN(thebits : TBits_1); inline;
  21875. begin
  21876. if thebits = 0 then
  21877. pTDefRegMap(@Self)^.clr := $00000001
  21878. else
  21879. pTDefRegMap(@Self)^.&set := $00000001;
  21880. end;
  21881. function TI2C2A_I2C4CON.getSEN : TBits_1; inline;
  21882. begin
  21883. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21884. end;
  21885. procedure TI2C2A_I2C4CON.setRSEN; inline;
  21886. begin
  21887. pTDefRegMap(@Self)^.&set := $00000002;
  21888. end;
  21889. procedure TI2C2A_I2C4CON.clearRSEN; inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.clr := $00000002;
  21892. end;
  21893. procedure TI2C2A_I2C4CON.setRSEN(thebits : TBits_1); inline;
  21894. begin
  21895. if thebits = 0 then
  21896. pTDefRegMap(@Self)^.clr := $00000002
  21897. else
  21898. pTDefRegMap(@Self)^.&set := $00000002;
  21899. end;
  21900. function TI2C2A_I2C4CON.getRSEN : TBits_1; inline;
  21901. begin
  21902. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21903. end;
  21904. procedure TI2C2A_I2C4CON.setPEN; inline;
  21905. begin
  21906. pTDefRegMap(@Self)^.&set := $00000004;
  21907. end;
  21908. procedure TI2C2A_I2C4CON.clearPEN; inline;
  21909. begin
  21910. pTDefRegMap(@Self)^.clr := $00000004;
  21911. end;
  21912. procedure TI2C2A_I2C4CON.setPEN(thebits : TBits_1); inline;
  21913. begin
  21914. if thebits = 0 then
  21915. pTDefRegMap(@Self)^.clr := $00000004
  21916. else
  21917. pTDefRegMap(@Self)^.&set := $00000004;
  21918. end;
  21919. function TI2C2A_I2C4CON.getPEN : TBits_1; inline;
  21920. begin
  21921. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21922. end;
  21923. procedure TI2C2A_I2C4CON.setRCEN; inline;
  21924. begin
  21925. pTDefRegMap(@Self)^.&set := $00000008;
  21926. end;
  21927. procedure TI2C2A_I2C4CON.clearRCEN; inline;
  21928. begin
  21929. pTDefRegMap(@Self)^.clr := $00000008;
  21930. end;
  21931. procedure TI2C2A_I2C4CON.setRCEN(thebits : TBits_1); inline;
  21932. begin
  21933. if thebits = 0 then
  21934. pTDefRegMap(@Self)^.clr := $00000008
  21935. else
  21936. pTDefRegMap(@Self)^.&set := $00000008;
  21937. end;
  21938. function TI2C2A_I2C4CON.getRCEN : TBits_1; inline;
  21939. begin
  21940. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21941. end;
  21942. procedure TI2C2A_I2C4CON.setACKEN; inline;
  21943. begin
  21944. pTDefRegMap(@Self)^.&set := $00000010;
  21945. end;
  21946. procedure TI2C2A_I2C4CON.clearACKEN; inline;
  21947. begin
  21948. pTDefRegMap(@Self)^.clr := $00000010;
  21949. end;
  21950. procedure TI2C2A_I2C4CON.setACKEN(thebits : TBits_1); inline;
  21951. begin
  21952. if thebits = 0 then
  21953. pTDefRegMap(@Self)^.clr := $00000010
  21954. else
  21955. pTDefRegMap(@Self)^.&set := $00000010;
  21956. end;
  21957. function TI2C2A_I2C4CON.getACKEN : TBits_1; inline;
  21958. begin
  21959. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21960. end;
  21961. procedure TI2C2A_I2C4CON.setACKDT; inline;
  21962. begin
  21963. pTDefRegMap(@Self)^.&set := $00000020;
  21964. end;
  21965. procedure TI2C2A_I2C4CON.clearACKDT; inline;
  21966. begin
  21967. pTDefRegMap(@Self)^.clr := $00000020;
  21968. end;
  21969. procedure TI2C2A_I2C4CON.setACKDT(thebits : TBits_1); inline;
  21970. begin
  21971. if thebits = 0 then
  21972. pTDefRegMap(@Self)^.clr := $00000020
  21973. else
  21974. pTDefRegMap(@Self)^.&set := $00000020;
  21975. end;
  21976. function TI2C2A_I2C4CON.getACKDT : TBits_1; inline;
  21977. begin
  21978. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21979. end;
  21980. procedure TI2C2A_I2C4CON.setSTREN; inline;
  21981. begin
  21982. pTDefRegMap(@Self)^.&set := $00000040;
  21983. end;
  21984. procedure TI2C2A_I2C4CON.clearSTREN; inline;
  21985. begin
  21986. pTDefRegMap(@Self)^.clr := $00000040;
  21987. end;
  21988. procedure TI2C2A_I2C4CON.setSTREN(thebits : TBits_1); inline;
  21989. begin
  21990. if thebits = 0 then
  21991. pTDefRegMap(@Self)^.clr := $00000040
  21992. else
  21993. pTDefRegMap(@Self)^.&set := $00000040;
  21994. end;
  21995. function TI2C2A_I2C4CON.getSTREN : TBits_1; inline;
  21996. begin
  21997. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21998. end;
  21999. procedure TI2C2A_I2C4CON.setGCEN; inline;
  22000. begin
  22001. pTDefRegMap(@Self)^.&set := $00000080;
  22002. end;
  22003. procedure TI2C2A_I2C4CON.clearGCEN; inline;
  22004. begin
  22005. pTDefRegMap(@Self)^.clr := $00000080;
  22006. end;
  22007. procedure TI2C2A_I2C4CON.setGCEN(thebits : TBits_1); inline;
  22008. begin
  22009. if thebits = 0 then
  22010. pTDefRegMap(@Self)^.clr := $00000080
  22011. else
  22012. pTDefRegMap(@Self)^.&set := $00000080;
  22013. end;
  22014. function TI2C2A_I2C4CON.getGCEN : TBits_1; inline;
  22015. begin
  22016. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22017. end;
  22018. procedure TI2C2A_I2C4CON.setSMEN; inline;
  22019. begin
  22020. pTDefRegMap(@Self)^.&set := $00000100;
  22021. end;
  22022. procedure TI2C2A_I2C4CON.clearSMEN; inline;
  22023. begin
  22024. pTDefRegMap(@Self)^.clr := $00000100;
  22025. end;
  22026. procedure TI2C2A_I2C4CON.setSMEN(thebits : TBits_1); inline;
  22027. begin
  22028. if thebits = 0 then
  22029. pTDefRegMap(@Self)^.clr := $00000100
  22030. else
  22031. pTDefRegMap(@Self)^.&set := $00000100;
  22032. end;
  22033. function TI2C2A_I2C4CON.getSMEN : TBits_1; inline;
  22034. begin
  22035. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22036. end;
  22037. procedure TI2C2A_I2C4CON.setDISSLW; inline;
  22038. begin
  22039. pTDefRegMap(@Self)^.&set := $00000200;
  22040. end;
  22041. procedure TI2C2A_I2C4CON.clearDISSLW; inline;
  22042. begin
  22043. pTDefRegMap(@Self)^.clr := $00000200;
  22044. end;
  22045. procedure TI2C2A_I2C4CON.setDISSLW(thebits : TBits_1); inline;
  22046. begin
  22047. if thebits = 0 then
  22048. pTDefRegMap(@Self)^.clr := $00000200
  22049. else
  22050. pTDefRegMap(@Self)^.&set := $00000200;
  22051. end;
  22052. function TI2C2A_I2C4CON.getDISSLW : TBits_1; inline;
  22053. begin
  22054. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22055. end;
  22056. procedure TI2C2A_I2C4CON.setA10M; inline;
  22057. begin
  22058. pTDefRegMap(@Self)^.&set := $00000400;
  22059. end;
  22060. procedure TI2C2A_I2C4CON.clearA10M; inline;
  22061. begin
  22062. pTDefRegMap(@Self)^.clr := $00000400;
  22063. end;
  22064. procedure TI2C2A_I2C4CON.setA10M(thebits : TBits_1); inline;
  22065. begin
  22066. if thebits = 0 then
  22067. pTDefRegMap(@Self)^.clr := $00000400
  22068. else
  22069. pTDefRegMap(@Self)^.&set := $00000400;
  22070. end;
  22071. function TI2C2A_I2C4CON.getA10M : TBits_1; inline;
  22072. begin
  22073. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22074. end;
  22075. procedure TI2C2A_I2C4CON.setSTRICT; inline;
  22076. begin
  22077. pTDefRegMap(@Self)^.&set := $00000800;
  22078. end;
  22079. procedure TI2C2A_I2C4CON.clearSTRICT; inline;
  22080. begin
  22081. pTDefRegMap(@Self)^.clr := $00000800;
  22082. end;
  22083. procedure TI2C2A_I2C4CON.setSTRICT(thebits : TBits_1); inline;
  22084. begin
  22085. if thebits = 0 then
  22086. pTDefRegMap(@Self)^.clr := $00000800
  22087. else
  22088. pTDefRegMap(@Self)^.&set := $00000800;
  22089. end;
  22090. function TI2C2A_I2C4CON.getSTRICT : TBits_1; inline;
  22091. begin
  22092. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22093. end;
  22094. procedure TI2C2A_I2C4CON.setSCLREL; inline;
  22095. begin
  22096. pTDefRegMap(@Self)^.&set := $00001000;
  22097. end;
  22098. procedure TI2C2A_I2C4CON.clearSCLREL; inline;
  22099. begin
  22100. pTDefRegMap(@Self)^.clr := $00001000;
  22101. end;
  22102. procedure TI2C2A_I2C4CON.setSCLREL(thebits : TBits_1); inline;
  22103. begin
  22104. if thebits = 0 then
  22105. pTDefRegMap(@Self)^.clr := $00001000
  22106. else
  22107. pTDefRegMap(@Self)^.&set := $00001000;
  22108. end;
  22109. function TI2C2A_I2C4CON.getSCLREL : TBits_1; inline;
  22110. begin
  22111. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22112. end;
  22113. procedure TI2C2A_I2C4CON.setSIDL; inline;
  22114. begin
  22115. pTDefRegMap(@Self)^.&set := $00002000;
  22116. end;
  22117. procedure TI2C2A_I2C4CON.clearSIDL; inline;
  22118. begin
  22119. pTDefRegMap(@Self)^.clr := $00002000;
  22120. end;
  22121. procedure TI2C2A_I2C4CON.setSIDL(thebits : TBits_1); inline;
  22122. begin
  22123. if thebits = 0 then
  22124. pTDefRegMap(@Self)^.clr := $00002000
  22125. else
  22126. pTDefRegMap(@Self)^.&set := $00002000;
  22127. end;
  22128. function TI2C2A_I2C4CON.getSIDL : TBits_1; inline;
  22129. begin
  22130. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22131. end;
  22132. procedure TI2C2A_I2C4CON.setON; inline;
  22133. begin
  22134. pTDefRegMap(@Self)^.&set := $00008000;
  22135. end;
  22136. procedure TI2C2A_I2C4CON.clearON; inline;
  22137. begin
  22138. pTDefRegMap(@Self)^.clr := $00008000;
  22139. end;
  22140. procedure TI2C2A_I2C4CON.setON(thebits : TBits_1); inline;
  22141. begin
  22142. if thebits = 0 then
  22143. pTDefRegMap(@Self)^.clr := $00008000
  22144. else
  22145. pTDefRegMap(@Self)^.&set := $00008000;
  22146. end;
  22147. function TI2C2A_I2C4CON.getON : TBits_1; inline;
  22148. begin
  22149. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22150. end;
  22151. procedure TI2C2A_I2C4CON.setIPMIEN; inline;
  22152. begin
  22153. pTDefRegMap(@Self)^.&set := $00000800;
  22154. end;
  22155. procedure TI2C2A_I2C4CON.clearIPMIEN; inline;
  22156. begin
  22157. pTDefRegMap(@Self)^.clr := $00000800;
  22158. end;
  22159. procedure TI2C2A_I2C4CON.setIPMIEN(thebits : TBits_1); inline;
  22160. begin
  22161. if thebits = 0 then
  22162. pTDefRegMap(@Self)^.clr := $00000800
  22163. else
  22164. pTDefRegMap(@Self)^.&set := $00000800;
  22165. end;
  22166. function TI2C2A_I2C4CON.getIPMIEN : TBits_1; inline;
  22167. begin
  22168. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22169. end;
  22170. procedure TI2C2A_I2C4CON.setI2CSIDL; inline;
  22171. begin
  22172. pTDefRegMap(@Self)^.&set := $00002000;
  22173. end;
  22174. procedure TI2C2A_I2C4CON.clearI2CSIDL; inline;
  22175. begin
  22176. pTDefRegMap(@Self)^.clr := $00002000;
  22177. end;
  22178. procedure TI2C2A_I2C4CON.setI2CSIDL(thebits : TBits_1); inline;
  22179. begin
  22180. if thebits = 0 then
  22181. pTDefRegMap(@Self)^.clr := $00002000
  22182. else
  22183. pTDefRegMap(@Self)^.&set := $00002000;
  22184. end;
  22185. function TI2C2A_I2C4CON.getI2CSIDL : TBits_1; inline;
  22186. begin
  22187. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22188. end;
  22189. procedure TI2C2A_I2C4CON.setI2CEN; inline;
  22190. begin
  22191. pTDefRegMap(@Self)^.&set := $00008000;
  22192. end;
  22193. procedure TI2C2A_I2C4CON.clearI2CEN; inline;
  22194. begin
  22195. pTDefRegMap(@Self)^.clr := $00008000;
  22196. end;
  22197. procedure TI2C2A_I2C4CON.setI2CEN(thebits : TBits_1); inline;
  22198. begin
  22199. if thebits = 0 then
  22200. pTDefRegMap(@Self)^.clr := $00008000
  22201. else
  22202. pTDefRegMap(@Self)^.&set := $00008000;
  22203. end;
  22204. function TI2C2A_I2C4CON.getI2CEN : TBits_1; inline;
  22205. begin
  22206. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22207. end;
  22208. procedure TI2C2A_I2C4CON.setw(thebits : TBits_32); inline;
  22209. begin
  22210. pTDefRegMap(@Self)^.val := thebits;
  22211. end;
  22212. function TI2C2A_I2C4CON.getw : TBits_32; inline;
  22213. begin
  22214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22215. end;
  22216. procedure TI2C2A_I2C2ASTAT.setTBF; inline;
  22217. begin
  22218. pTDefRegMap(@Self)^.&set := $00000001;
  22219. end;
  22220. procedure TI2C2A_I2C2ASTAT.clearTBF; inline;
  22221. begin
  22222. pTDefRegMap(@Self)^.clr := $00000001;
  22223. end;
  22224. procedure TI2C2A_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  22225. begin
  22226. if thebits = 0 then
  22227. pTDefRegMap(@Self)^.clr := $00000001
  22228. else
  22229. pTDefRegMap(@Self)^.&set := $00000001;
  22230. end;
  22231. function TI2C2A_I2C2ASTAT.getTBF : TBits_1; inline;
  22232. begin
  22233. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22234. end;
  22235. procedure TI2C2A_I2C2ASTAT.setRBF; inline;
  22236. begin
  22237. pTDefRegMap(@Self)^.&set := $00000002;
  22238. end;
  22239. procedure TI2C2A_I2C2ASTAT.clearRBF; inline;
  22240. begin
  22241. pTDefRegMap(@Self)^.clr := $00000002;
  22242. end;
  22243. procedure TI2C2A_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  22244. begin
  22245. if thebits = 0 then
  22246. pTDefRegMap(@Self)^.clr := $00000002
  22247. else
  22248. pTDefRegMap(@Self)^.&set := $00000002;
  22249. end;
  22250. function TI2C2A_I2C2ASTAT.getRBF : TBits_1; inline;
  22251. begin
  22252. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22253. end;
  22254. procedure TI2C2A_I2C2ASTAT.setR_W; inline;
  22255. begin
  22256. pTDefRegMap(@Self)^.&set := $00000004;
  22257. end;
  22258. procedure TI2C2A_I2C2ASTAT.clearR_W; inline;
  22259. begin
  22260. pTDefRegMap(@Self)^.clr := $00000004;
  22261. end;
  22262. procedure TI2C2A_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  22263. begin
  22264. if thebits = 0 then
  22265. pTDefRegMap(@Self)^.clr := $00000004
  22266. else
  22267. pTDefRegMap(@Self)^.&set := $00000004;
  22268. end;
  22269. function TI2C2A_I2C2ASTAT.getR_W : TBits_1; inline;
  22270. begin
  22271. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22272. end;
  22273. procedure TI2C2A_I2C2ASTAT.setS; inline;
  22274. begin
  22275. pTDefRegMap(@Self)^.&set := $00000008;
  22276. end;
  22277. procedure TI2C2A_I2C2ASTAT.clearS; inline;
  22278. begin
  22279. pTDefRegMap(@Self)^.clr := $00000008;
  22280. end;
  22281. procedure TI2C2A_I2C2ASTAT.setS(thebits : TBits_1); inline;
  22282. begin
  22283. if thebits = 0 then
  22284. pTDefRegMap(@Self)^.clr := $00000008
  22285. else
  22286. pTDefRegMap(@Self)^.&set := $00000008;
  22287. end;
  22288. function TI2C2A_I2C2ASTAT.getS : TBits_1; inline;
  22289. begin
  22290. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22291. end;
  22292. procedure TI2C2A_I2C2ASTAT.setP; inline;
  22293. begin
  22294. pTDefRegMap(@Self)^.&set := $00000010;
  22295. end;
  22296. procedure TI2C2A_I2C2ASTAT.clearP; inline;
  22297. begin
  22298. pTDefRegMap(@Self)^.clr := $00000010;
  22299. end;
  22300. procedure TI2C2A_I2C2ASTAT.setP(thebits : TBits_1); inline;
  22301. begin
  22302. if thebits = 0 then
  22303. pTDefRegMap(@Self)^.clr := $00000010
  22304. else
  22305. pTDefRegMap(@Self)^.&set := $00000010;
  22306. end;
  22307. function TI2C2A_I2C2ASTAT.getP : TBits_1; inline;
  22308. begin
  22309. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22310. end;
  22311. procedure TI2C2A_I2C2ASTAT.setD_A; inline;
  22312. begin
  22313. pTDefRegMap(@Self)^.&set := $00000020;
  22314. end;
  22315. procedure TI2C2A_I2C2ASTAT.clearD_A; inline;
  22316. begin
  22317. pTDefRegMap(@Self)^.clr := $00000020;
  22318. end;
  22319. procedure TI2C2A_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  22320. begin
  22321. if thebits = 0 then
  22322. pTDefRegMap(@Self)^.clr := $00000020
  22323. else
  22324. pTDefRegMap(@Self)^.&set := $00000020;
  22325. end;
  22326. function TI2C2A_I2C2ASTAT.getD_A : TBits_1; inline;
  22327. begin
  22328. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22329. end;
  22330. procedure TI2C2A_I2C2ASTAT.setI2COV; inline;
  22331. begin
  22332. pTDefRegMap(@Self)^.&set := $00000040;
  22333. end;
  22334. procedure TI2C2A_I2C2ASTAT.clearI2COV; inline;
  22335. begin
  22336. pTDefRegMap(@Self)^.clr := $00000040;
  22337. end;
  22338. procedure TI2C2A_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  22339. begin
  22340. if thebits = 0 then
  22341. pTDefRegMap(@Self)^.clr := $00000040
  22342. else
  22343. pTDefRegMap(@Self)^.&set := $00000040;
  22344. end;
  22345. function TI2C2A_I2C2ASTAT.getI2COV : TBits_1; inline;
  22346. begin
  22347. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22348. end;
  22349. procedure TI2C2A_I2C2ASTAT.setIWCOL; inline;
  22350. begin
  22351. pTDefRegMap(@Self)^.&set := $00000080;
  22352. end;
  22353. procedure TI2C2A_I2C2ASTAT.clearIWCOL; inline;
  22354. begin
  22355. pTDefRegMap(@Self)^.clr := $00000080;
  22356. end;
  22357. procedure TI2C2A_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  22358. begin
  22359. if thebits = 0 then
  22360. pTDefRegMap(@Self)^.clr := $00000080
  22361. else
  22362. pTDefRegMap(@Self)^.&set := $00000080;
  22363. end;
  22364. function TI2C2A_I2C2ASTAT.getIWCOL : TBits_1; inline;
  22365. begin
  22366. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22367. end;
  22368. procedure TI2C2A_I2C2ASTAT.setADD10; inline;
  22369. begin
  22370. pTDefRegMap(@Self)^.&set := $00000100;
  22371. end;
  22372. procedure TI2C2A_I2C2ASTAT.clearADD10; inline;
  22373. begin
  22374. pTDefRegMap(@Self)^.clr := $00000100;
  22375. end;
  22376. procedure TI2C2A_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  22377. begin
  22378. if thebits = 0 then
  22379. pTDefRegMap(@Self)^.clr := $00000100
  22380. else
  22381. pTDefRegMap(@Self)^.&set := $00000100;
  22382. end;
  22383. function TI2C2A_I2C2ASTAT.getADD10 : TBits_1; inline;
  22384. begin
  22385. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22386. end;
  22387. procedure TI2C2A_I2C2ASTAT.setGCSTAT; inline;
  22388. begin
  22389. pTDefRegMap(@Self)^.&set := $00000200;
  22390. end;
  22391. procedure TI2C2A_I2C2ASTAT.clearGCSTAT; inline;
  22392. begin
  22393. pTDefRegMap(@Self)^.clr := $00000200;
  22394. end;
  22395. procedure TI2C2A_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  22396. begin
  22397. if thebits = 0 then
  22398. pTDefRegMap(@Self)^.clr := $00000200
  22399. else
  22400. pTDefRegMap(@Self)^.&set := $00000200;
  22401. end;
  22402. function TI2C2A_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  22403. begin
  22404. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22405. end;
  22406. procedure TI2C2A_I2C2ASTAT.setBCL; inline;
  22407. begin
  22408. pTDefRegMap(@Self)^.&set := $00000400;
  22409. end;
  22410. procedure TI2C2A_I2C2ASTAT.clearBCL; inline;
  22411. begin
  22412. pTDefRegMap(@Self)^.clr := $00000400;
  22413. end;
  22414. procedure TI2C2A_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  22415. begin
  22416. if thebits = 0 then
  22417. pTDefRegMap(@Self)^.clr := $00000400
  22418. else
  22419. pTDefRegMap(@Self)^.&set := $00000400;
  22420. end;
  22421. function TI2C2A_I2C2ASTAT.getBCL : TBits_1; inline;
  22422. begin
  22423. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22424. end;
  22425. procedure TI2C2A_I2C2ASTAT.setTRSTAT; inline;
  22426. begin
  22427. pTDefRegMap(@Self)^.&set := $00004000;
  22428. end;
  22429. procedure TI2C2A_I2C2ASTAT.clearTRSTAT; inline;
  22430. begin
  22431. pTDefRegMap(@Self)^.clr := $00004000;
  22432. end;
  22433. procedure TI2C2A_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  22434. begin
  22435. if thebits = 0 then
  22436. pTDefRegMap(@Self)^.clr := $00004000
  22437. else
  22438. pTDefRegMap(@Self)^.&set := $00004000;
  22439. end;
  22440. function TI2C2A_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  22441. begin
  22442. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22443. end;
  22444. procedure TI2C2A_I2C2ASTAT.setACKSTAT; inline;
  22445. begin
  22446. pTDefRegMap(@Self)^.&set := $00008000;
  22447. end;
  22448. procedure TI2C2A_I2C2ASTAT.clearACKSTAT; inline;
  22449. begin
  22450. pTDefRegMap(@Self)^.clr := $00008000;
  22451. end;
  22452. procedure TI2C2A_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  22453. begin
  22454. if thebits = 0 then
  22455. pTDefRegMap(@Self)^.clr := $00008000
  22456. else
  22457. pTDefRegMap(@Self)^.&set := $00008000;
  22458. end;
  22459. function TI2C2A_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  22460. begin
  22461. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22462. end;
  22463. procedure TI2C2A_I2C2ASTAT.setI2CPOV; inline;
  22464. begin
  22465. pTDefRegMap(@Self)^.&set := $00000040;
  22466. end;
  22467. procedure TI2C2A_I2C2ASTAT.clearI2CPOV; inline;
  22468. begin
  22469. pTDefRegMap(@Self)^.clr := $00000040;
  22470. end;
  22471. procedure TI2C2A_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  22472. begin
  22473. if thebits = 0 then
  22474. pTDefRegMap(@Self)^.clr := $00000040
  22475. else
  22476. pTDefRegMap(@Self)^.&set := $00000040;
  22477. end;
  22478. function TI2C2A_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  22479. begin
  22480. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22481. end;
  22482. procedure TI2C2A_I2C2ASTAT.setw(thebits : TBits_32); inline;
  22483. begin
  22484. pTDefRegMap(@Self)^.val := thebits;
  22485. end;
  22486. function TI2C2A_I2C2ASTAT.getw : TBits_32; inline;
  22487. begin
  22488. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22489. end;
  22490. procedure TI2C2A_I2C4STAT.setTBF; inline;
  22491. begin
  22492. pTDefRegMap(@Self)^.&set := $00000001;
  22493. end;
  22494. procedure TI2C2A_I2C4STAT.clearTBF; inline;
  22495. begin
  22496. pTDefRegMap(@Self)^.clr := $00000001;
  22497. end;
  22498. procedure TI2C2A_I2C4STAT.setTBF(thebits : TBits_1); inline;
  22499. begin
  22500. if thebits = 0 then
  22501. pTDefRegMap(@Self)^.clr := $00000001
  22502. else
  22503. pTDefRegMap(@Self)^.&set := $00000001;
  22504. end;
  22505. function TI2C2A_I2C4STAT.getTBF : TBits_1; inline;
  22506. begin
  22507. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22508. end;
  22509. procedure TI2C2A_I2C4STAT.setRBF; inline;
  22510. begin
  22511. pTDefRegMap(@Self)^.&set := $00000002;
  22512. end;
  22513. procedure TI2C2A_I2C4STAT.clearRBF; inline;
  22514. begin
  22515. pTDefRegMap(@Self)^.clr := $00000002;
  22516. end;
  22517. procedure TI2C2A_I2C4STAT.setRBF(thebits : TBits_1); inline;
  22518. begin
  22519. if thebits = 0 then
  22520. pTDefRegMap(@Self)^.clr := $00000002
  22521. else
  22522. pTDefRegMap(@Self)^.&set := $00000002;
  22523. end;
  22524. function TI2C2A_I2C4STAT.getRBF : TBits_1; inline;
  22525. begin
  22526. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22527. end;
  22528. procedure TI2C2A_I2C4STAT.setR_W; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.&set := $00000004;
  22531. end;
  22532. procedure TI2C2A_I2C4STAT.clearR_W; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.clr := $00000004;
  22535. end;
  22536. procedure TI2C2A_I2C4STAT.setR_W(thebits : TBits_1); inline;
  22537. begin
  22538. if thebits = 0 then
  22539. pTDefRegMap(@Self)^.clr := $00000004
  22540. else
  22541. pTDefRegMap(@Self)^.&set := $00000004;
  22542. end;
  22543. function TI2C2A_I2C4STAT.getR_W : TBits_1; inline;
  22544. begin
  22545. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22546. end;
  22547. procedure TI2C2A_I2C4STAT.setS; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.&set := $00000008;
  22550. end;
  22551. procedure TI2C2A_I2C4STAT.clearS; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.clr := $00000008;
  22554. end;
  22555. procedure TI2C2A_I2C4STAT.setS(thebits : TBits_1); inline;
  22556. begin
  22557. if thebits = 0 then
  22558. pTDefRegMap(@Self)^.clr := $00000008
  22559. else
  22560. pTDefRegMap(@Self)^.&set := $00000008;
  22561. end;
  22562. function TI2C2A_I2C4STAT.getS : TBits_1; inline;
  22563. begin
  22564. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22565. end;
  22566. procedure TI2C2A_I2C4STAT.setP; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.&set := $00000010;
  22569. end;
  22570. procedure TI2C2A_I2C4STAT.clearP; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.clr := $00000010;
  22573. end;
  22574. procedure TI2C2A_I2C4STAT.setP(thebits : TBits_1); inline;
  22575. begin
  22576. if thebits = 0 then
  22577. pTDefRegMap(@Self)^.clr := $00000010
  22578. else
  22579. pTDefRegMap(@Self)^.&set := $00000010;
  22580. end;
  22581. function TI2C2A_I2C4STAT.getP : TBits_1; inline;
  22582. begin
  22583. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22584. end;
  22585. procedure TI2C2A_I2C4STAT.setD_A; inline;
  22586. begin
  22587. pTDefRegMap(@Self)^.&set := $00000020;
  22588. end;
  22589. procedure TI2C2A_I2C4STAT.clearD_A; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.clr := $00000020;
  22592. end;
  22593. procedure TI2C2A_I2C4STAT.setD_A(thebits : TBits_1); inline;
  22594. begin
  22595. if thebits = 0 then
  22596. pTDefRegMap(@Self)^.clr := $00000020
  22597. else
  22598. pTDefRegMap(@Self)^.&set := $00000020;
  22599. end;
  22600. function TI2C2A_I2C4STAT.getD_A : TBits_1; inline;
  22601. begin
  22602. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22603. end;
  22604. procedure TI2C2A_I2C4STAT.setI2COV; inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.&set := $00000040;
  22607. end;
  22608. procedure TI2C2A_I2C4STAT.clearI2COV; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.clr := $00000040;
  22611. end;
  22612. procedure TI2C2A_I2C4STAT.setI2COV(thebits : TBits_1); inline;
  22613. begin
  22614. if thebits = 0 then
  22615. pTDefRegMap(@Self)^.clr := $00000040
  22616. else
  22617. pTDefRegMap(@Self)^.&set := $00000040;
  22618. end;
  22619. function TI2C2A_I2C4STAT.getI2COV : TBits_1; inline;
  22620. begin
  22621. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22622. end;
  22623. procedure TI2C2A_I2C4STAT.setIWCOL; inline;
  22624. begin
  22625. pTDefRegMap(@Self)^.&set := $00000080;
  22626. end;
  22627. procedure TI2C2A_I2C4STAT.clearIWCOL; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.clr := $00000080;
  22630. end;
  22631. procedure TI2C2A_I2C4STAT.setIWCOL(thebits : TBits_1); inline;
  22632. begin
  22633. if thebits = 0 then
  22634. pTDefRegMap(@Self)^.clr := $00000080
  22635. else
  22636. pTDefRegMap(@Self)^.&set := $00000080;
  22637. end;
  22638. function TI2C2A_I2C4STAT.getIWCOL : TBits_1; inline;
  22639. begin
  22640. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22641. end;
  22642. procedure TI2C2A_I2C4STAT.setADD10; inline;
  22643. begin
  22644. pTDefRegMap(@Self)^.&set := $00000100;
  22645. end;
  22646. procedure TI2C2A_I2C4STAT.clearADD10; inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.clr := $00000100;
  22649. end;
  22650. procedure TI2C2A_I2C4STAT.setADD10(thebits : TBits_1); inline;
  22651. begin
  22652. if thebits = 0 then
  22653. pTDefRegMap(@Self)^.clr := $00000100
  22654. else
  22655. pTDefRegMap(@Self)^.&set := $00000100;
  22656. end;
  22657. function TI2C2A_I2C4STAT.getADD10 : TBits_1; inline;
  22658. begin
  22659. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22660. end;
  22661. procedure TI2C2A_I2C4STAT.setGCSTAT; inline;
  22662. begin
  22663. pTDefRegMap(@Self)^.&set := $00000200;
  22664. end;
  22665. procedure TI2C2A_I2C4STAT.clearGCSTAT; inline;
  22666. begin
  22667. pTDefRegMap(@Self)^.clr := $00000200;
  22668. end;
  22669. procedure TI2C2A_I2C4STAT.setGCSTAT(thebits : TBits_1); inline;
  22670. begin
  22671. if thebits = 0 then
  22672. pTDefRegMap(@Self)^.clr := $00000200
  22673. else
  22674. pTDefRegMap(@Self)^.&set := $00000200;
  22675. end;
  22676. function TI2C2A_I2C4STAT.getGCSTAT : TBits_1; inline;
  22677. begin
  22678. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22679. end;
  22680. procedure TI2C2A_I2C4STAT.setBCL; inline;
  22681. begin
  22682. pTDefRegMap(@Self)^.&set := $00000400;
  22683. end;
  22684. procedure TI2C2A_I2C4STAT.clearBCL; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.clr := $00000400;
  22687. end;
  22688. procedure TI2C2A_I2C4STAT.setBCL(thebits : TBits_1); inline;
  22689. begin
  22690. if thebits = 0 then
  22691. pTDefRegMap(@Self)^.clr := $00000400
  22692. else
  22693. pTDefRegMap(@Self)^.&set := $00000400;
  22694. end;
  22695. function TI2C2A_I2C4STAT.getBCL : TBits_1; inline;
  22696. begin
  22697. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22698. end;
  22699. procedure TI2C2A_I2C4STAT.setTRSTAT; inline;
  22700. begin
  22701. pTDefRegMap(@Self)^.&set := $00004000;
  22702. end;
  22703. procedure TI2C2A_I2C4STAT.clearTRSTAT; inline;
  22704. begin
  22705. pTDefRegMap(@Self)^.clr := $00004000;
  22706. end;
  22707. procedure TI2C2A_I2C4STAT.setTRSTAT(thebits : TBits_1); inline;
  22708. begin
  22709. if thebits = 0 then
  22710. pTDefRegMap(@Self)^.clr := $00004000
  22711. else
  22712. pTDefRegMap(@Self)^.&set := $00004000;
  22713. end;
  22714. function TI2C2A_I2C4STAT.getTRSTAT : TBits_1; inline;
  22715. begin
  22716. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22717. end;
  22718. procedure TI2C2A_I2C4STAT.setACKSTAT; inline;
  22719. begin
  22720. pTDefRegMap(@Self)^.&set := $00008000;
  22721. end;
  22722. procedure TI2C2A_I2C4STAT.clearACKSTAT; inline;
  22723. begin
  22724. pTDefRegMap(@Self)^.clr := $00008000;
  22725. end;
  22726. procedure TI2C2A_I2C4STAT.setACKSTAT(thebits : TBits_1); inline;
  22727. begin
  22728. if thebits = 0 then
  22729. pTDefRegMap(@Self)^.clr := $00008000
  22730. else
  22731. pTDefRegMap(@Self)^.&set := $00008000;
  22732. end;
  22733. function TI2C2A_I2C4STAT.getACKSTAT : TBits_1; inline;
  22734. begin
  22735. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22736. end;
  22737. procedure TI2C2A_I2C4STAT.setI2CPOV; inline;
  22738. begin
  22739. pTDefRegMap(@Self)^.&set := $00000040;
  22740. end;
  22741. procedure TI2C2A_I2C4STAT.clearI2CPOV; inline;
  22742. begin
  22743. pTDefRegMap(@Self)^.clr := $00000040;
  22744. end;
  22745. procedure TI2C2A_I2C4STAT.setI2CPOV(thebits : TBits_1); inline;
  22746. begin
  22747. if thebits = 0 then
  22748. pTDefRegMap(@Self)^.clr := $00000040
  22749. else
  22750. pTDefRegMap(@Self)^.&set := $00000040;
  22751. end;
  22752. function TI2C2A_I2C4STAT.getI2CPOV : TBits_1; inline;
  22753. begin
  22754. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22755. end;
  22756. procedure TI2C2A_I2C4STAT.setw(thebits : TBits_32); inline;
  22757. begin
  22758. pTDefRegMap(@Self)^.val := thebits;
  22759. end;
  22760. function TI2C2A_I2C4STAT.getw : TBits_32; inline;
  22761. begin
  22762. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22763. end;
  22764. procedure TI2C5_I2C3ACON.setSEN; inline;
  22765. begin
  22766. pTDefRegMap(@Self)^.&set := $00000001;
  22767. end;
  22768. procedure TI2C5_I2C3ACON.clearSEN; inline;
  22769. begin
  22770. pTDefRegMap(@Self)^.clr := $00000001;
  22771. end;
  22772. procedure TI2C5_I2C3ACON.setSEN(thebits : TBits_1); inline;
  22773. begin
  22774. if thebits = 0 then
  22775. pTDefRegMap(@Self)^.clr := $00000001
  22776. else
  22777. pTDefRegMap(@Self)^.&set := $00000001;
  22778. end;
  22779. function TI2C5_I2C3ACON.getSEN : TBits_1; inline;
  22780. begin
  22781. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22782. end;
  22783. procedure TI2C5_I2C3ACON.setRSEN; inline;
  22784. begin
  22785. pTDefRegMap(@Self)^.&set := $00000002;
  22786. end;
  22787. procedure TI2C5_I2C3ACON.clearRSEN; inline;
  22788. begin
  22789. pTDefRegMap(@Self)^.clr := $00000002;
  22790. end;
  22791. procedure TI2C5_I2C3ACON.setRSEN(thebits : TBits_1); inline;
  22792. begin
  22793. if thebits = 0 then
  22794. pTDefRegMap(@Self)^.clr := $00000002
  22795. else
  22796. pTDefRegMap(@Self)^.&set := $00000002;
  22797. end;
  22798. function TI2C5_I2C3ACON.getRSEN : TBits_1; inline;
  22799. begin
  22800. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22801. end;
  22802. procedure TI2C5_I2C3ACON.setPEN; inline;
  22803. begin
  22804. pTDefRegMap(@Self)^.&set := $00000004;
  22805. end;
  22806. procedure TI2C5_I2C3ACON.clearPEN; inline;
  22807. begin
  22808. pTDefRegMap(@Self)^.clr := $00000004;
  22809. end;
  22810. procedure TI2C5_I2C3ACON.setPEN(thebits : TBits_1); inline;
  22811. begin
  22812. if thebits = 0 then
  22813. pTDefRegMap(@Self)^.clr := $00000004
  22814. else
  22815. pTDefRegMap(@Self)^.&set := $00000004;
  22816. end;
  22817. function TI2C5_I2C3ACON.getPEN : TBits_1; inline;
  22818. begin
  22819. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22820. end;
  22821. procedure TI2C5_I2C3ACON.setRCEN; inline;
  22822. begin
  22823. pTDefRegMap(@Self)^.&set := $00000008;
  22824. end;
  22825. procedure TI2C5_I2C3ACON.clearRCEN; inline;
  22826. begin
  22827. pTDefRegMap(@Self)^.clr := $00000008;
  22828. end;
  22829. procedure TI2C5_I2C3ACON.setRCEN(thebits : TBits_1); inline;
  22830. begin
  22831. if thebits = 0 then
  22832. pTDefRegMap(@Self)^.clr := $00000008
  22833. else
  22834. pTDefRegMap(@Self)^.&set := $00000008;
  22835. end;
  22836. function TI2C5_I2C3ACON.getRCEN : TBits_1; inline;
  22837. begin
  22838. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22839. end;
  22840. procedure TI2C5_I2C3ACON.setACKEN; inline;
  22841. begin
  22842. pTDefRegMap(@Self)^.&set := $00000010;
  22843. end;
  22844. procedure TI2C5_I2C3ACON.clearACKEN; inline;
  22845. begin
  22846. pTDefRegMap(@Self)^.clr := $00000010;
  22847. end;
  22848. procedure TI2C5_I2C3ACON.setACKEN(thebits : TBits_1); inline;
  22849. begin
  22850. if thebits = 0 then
  22851. pTDefRegMap(@Self)^.clr := $00000010
  22852. else
  22853. pTDefRegMap(@Self)^.&set := $00000010;
  22854. end;
  22855. function TI2C5_I2C3ACON.getACKEN : TBits_1; inline;
  22856. begin
  22857. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22858. end;
  22859. procedure TI2C5_I2C3ACON.setACKDT; inline;
  22860. begin
  22861. pTDefRegMap(@Self)^.&set := $00000020;
  22862. end;
  22863. procedure TI2C5_I2C3ACON.clearACKDT; inline;
  22864. begin
  22865. pTDefRegMap(@Self)^.clr := $00000020;
  22866. end;
  22867. procedure TI2C5_I2C3ACON.setACKDT(thebits : TBits_1); inline;
  22868. begin
  22869. if thebits = 0 then
  22870. pTDefRegMap(@Self)^.clr := $00000020
  22871. else
  22872. pTDefRegMap(@Self)^.&set := $00000020;
  22873. end;
  22874. function TI2C5_I2C3ACON.getACKDT : TBits_1; inline;
  22875. begin
  22876. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22877. end;
  22878. procedure TI2C5_I2C3ACON.setSTREN; inline;
  22879. begin
  22880. pTDefRegMap(@Self)^.&set := $00000040;
  22881. end;
  22882. procedure TI2C5_I2C3ACON.clearSTREN; inline;
  22883. begin
  22884. pTDefRegMap(@Self)^.clr := $00000040;
  22885. end;
  22886. procedure TI2C5_I2C3ACON.setSTREN(thebits : TBits_1); inline;
  22887. begin
  22888. if thebits = 0 then
  22889. pTDefRegMap(@Self)^.clr := $00000040
  22890. else
  22891. pTDefRegMap(@Self)^.&set := $00000040;
  22892. end;
  22893. function TI2C5_I2C3ACON.getSTREN : TBits_1; inline;
  22894. begin
  22895. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22896. end;
  22897. procedure TI2C5_I2C3ACON.setGCEN; inline;
  22898. begin
  22899. pTDefRegMap(@Self)^.&set := $00000080;
  22900. end;
  22901. procedure TI2C5_I2C3ACON.clearGCEN; inline;
  22902. begin
  22903. pTDefRegMap(@Self)^.clr := $00000080;
  22904. end;
  22905. procedure TI2C5_I2C3ACON.setGCEN(thebits : TBits_1); inline;
  22906. begin
  22907. if thebits = 0 then
  22908. pTDefRegMap(@Self)^.clr := $00000080
  22909. else
  22910. pTDefRegMap(@Self)^.&set := $00000080;
  22911. end;
  22912. function TI2C5_I2C3ACON.getGCEN : TBits_1; inline;
  22913. begin
  22914. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22915. end;
  22916. procedure TI2C5_I2C3ACON.setSMEN; inline;
  22917. begin
  22918. pTDefRegMap(@Self)^.&set := $00000100;
  22919. end;
  22920. procedure TI2C5_I2C3ACON.clearSMEN; inline;
  22921. begin
  22922. pTDefRegMap(@Self)^.clr := $00000100;
  22923. end;
  22924. procedure TI2C5_I2C3ACON.setSMEN(thebits : TBits_1); inline;
  22925. begin
  22926. if thebits = 0 then
  22927. pTDefRegMap(@Self)^.clr := $00000100
  22928. else
  22929. pTDefRegMap(@Self)^.&set := $00000100;
  22930. end;
  22931. function TI2C5_I2C3ACON.getSMEN : TBits_1; inline;
  22932. begin
  22933. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22934. end;
  22935. procedure TI2C5_I2C3ACON.setDISSLW; inline;
  22936. begin
  22937. pTDefRegMap(@Self)^.&set := $00000200;
  22938. end;
  22939. procedure TI2C5_I2C3ACON.clearDISSLW; inline;
  22940. begin
  22941. pTDefRegMap(@Self)^.clr := $00000200;
  22942. end;
  22943. procedure TI2C5_I2C3ACON.setDISSLW(thebits : TBits_1); inline;
  22944. begin
  22945. if thebits = 0 then
  22946. pTDefRegMap(@Self)^.clr := $00000200
  22947. else
  22948. pTDefRegMap(@Self)^.&set := $00000200;
  22949. end;
  22950. function TI2C5_I2C3ACON.getDISSLW : TBits_1; inline;
  22951. begin
  22952. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22953. end;
  22954. procedure TI2C5_I2C3ACON.setA10M; inline;
  22955. begin
  22956. pTDefRegMap(@Self)^.&set := $00000400;
  22957. end;
  22958. procedure TI2C5_I2C3ACON.clearA10M; inline;
  22959. begin
  22960. pTDefRegMap(@Self)^.clr := $00000400;
  22961. end;
  22962. procedure TI2C5_I2C3ACON.setA10M(thebits : TBits_1); inline;
  22963. begin
  22964. if thebits = 0 then
  22965. pTDefRegMap(@Self)^.clr := $00000400
  22966. else
  22967. pTDefRegMap(@Self)^.&set := $00000400;
  22968. end;
  22969. function TI2C5_I2C3ACON.getA10M : TBits_1; inline;
  22970. begin
  22971. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22972. end;
  22973. procedure TI2C5_I2C3ACON.setSTRICT; inline;
  22974. begin
  22975. pTDefRegMap(@Self)^.&set := $00000800;
  22976. end;
  22977. procedure TI2C5_I2C3ACON.clearSTRICT; inline;
  22978. begin
  22979. pTDefRegMap(@Self)^.clr := $00000800;
  22980. end;
  22981. procedure TI2C5_I2C3ACON.setSTRICT(thebits : TBits_1); inline;
  22982. begin
  22983. if thebits = 0 then
  22984. pTDefRegMap(@Self)^.clr := $00000800
  22985. else
  22986. pTDefRegMap(@Self)^.&set := $00000800;
  22987. end;
  22988. function TI2C5_I2C3ACON.getSTRICT : TBits_1; inline;
  22989. begin
  22990. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22991. end;
  22992. procedure TI2C5_I2C3ACON.setSCLREL; inline;
  22993. begin
  22994. pTDefRegMap(@Self)^.&set := $00001000;
  22995. end;
  22996. procedure TI2C5_I2C3ACON.clearSCLREL; inline;
  22997. begin
  22998. pTDefRegMap(@Self)^.clr := $00001000;
  22999. end;
  23000. procedure TI2C5_I2C3ACON.setSCLREL(thebits : TBits_1); inline;
  23001. begin
  23002. if thebits = 0 then
  23003. pTDefRegMap(@Self)^.clr := $00001000
  23004. else
  23005. pTDefRegMap(@Self)^.&set := $00001000;
  23006. end;
  23007. function TI2C5_I2C3ACON.getSCLREL : TBits_1; inline;
  23008. begin
  23009. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23010. end;
  23011. procedure TI2C5_I2C3ACON.setSIDL; inline;
  23012. begin
  23013. pTDefRegMap(@Self)^.&set := $00002000;
  23014. end;
  23015. procedure TI2C5_I2C3ACON.clearSIDL; inline;
  23016. begin
  23017. pTDefRegMap(@Self)^.clr := $00002000;
  23018. end;
  23019. procedure TI2C5_I2C3ACON.setSIDL(thebits : TBits_1); inline;
  23020. begin
  23021. if thebits = 0 then
  23022. pTDefRegMap(@Self)^.clr := $00002000
  23023. else
  23024. pTDefRegMap(@Self)^.&set := $00002000;
  23025. end;
  23026. function TI2C5_I2C3ACON.getSIDL : TBits_1; inline;
  23027. begin
  23028. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23029. end;
  23030. procedure TI2C5_I2C3ACON.setON; inline;
  23031. begin
  23032. pTDefRegMap(@Self)^.&set := $00008000;
  23033. end;
  23034. procedure TI2C5_I2C3ACON.clearON; inline;
  23035. begin
  23036. pTDefRegMap(@Self)^.clr := $00008000;
  23037. end;
  23038. procedure TI2C5_I2C3ACON.setON(thebits : TBits_1); inline;
  23039. begin
  23040. if thebits = 0 then
  23041. pTDefRegMap(@Self)^.clr := $00008000
  23042. else
  23043. pTDefRegMap(@Self)^.&set := $00008000;
  23044. end;
  23045. function TI2C5_I2C3ACON.getON : TBits_1; inline;
  23046. begin
  23047. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23048. end;
  23049. procedure TI2C5_I2C3ACON.setIPMIEN; inline;
  23050. begin
  23051. pTDefRegMap(@Self)^.&set := $00000800;
  23052. end;
  23053. procedure TI2C5_I2C3ACON.clearIPMIEN; inline;
  23054. begin
  23055. pTDefRegMap(@Self)^.clr := $00000800;
  23056. end;
  23057. procedure TI2C5_I2C3ACON.setIPMIEN(thebits : TBits_1); inline;
  23058. begin
  23059. if thebits = 0 then
  23060. pTDefRegMap(@Self)^.clr := $00000800
  23061. else
  23062. pTDefRegMap(@Self)^.&set := $00000800;
  23063. end;
  23064. function TI2C5_I2C3ACON.getIPMIEN : TBits_1; inline;
  23065. begin
  23066. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23067. end;
  23068. procedure TI2C5_I2C3ACON.setI2CSIDL; inline;
  23069. begin
  23070. pTDefRegMap(@Self)^.&set := $00002000;
  23071. end;
  23072. procedure TI2C5_I2C3ACON.clearI2CSIDL; inline;
  23073. begin
  23074. pTDefRegMap(@Self)^.clr := $00002000;
  23075. end;
  23076. procedure TI2C5_I2C3ACON.setI2CSIDL(thebits : TBits_1); inline;
  23077. begin
  23078. if thebits = 0 then
  23079. pTDefRegMap(@Self)^.clr := $00002000
  23080. else
  23081. pTDefRegMap(@Self)^.&set := $00002000;
  23082. end;
  23083. function TI2C5_I2C3ACON.getI2CSIDL : TBits_1; inline;
  23084. begin
  23085. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23086. end;
  23087. procedure TI2C5_I2C3ACON.setI2CEN; inline;
  23088. begin
  23089. pTDefRegMap(@Self)^.&set := $00008000;
  23090. end;
  23091. procedure TI2C5_I2C3ACON.clearI2CEN; inline;
  23092. begin
  23093. pTDefRegMap(@Self)^.clr := $00008000;
  23094. end;
  23095. procedure TI2C5_I2C3ACON.setI2CEN(thebits : TBits_1); inline;
  23096. begin
  23097. if thebits = 0 then
  23098. pTDefRegMap(@Self)^.clr := $00008000
  23099. else
  23100. pTDefRegMap(@Self)^.&set := $00008000;
  23101. end;
  23102. function TI2C5_I2C3ACON.getI2CEN : TBits_1; inline;
  23103. begin
  23104. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23105. end;
  23106. procedure TI2C5_I2C3ACON.setw(thebits : TBits_32); inline;
  23107. begin
  23108. pTDefRegMap(@Self)^.val := thebits;
  23109. end;
  23110. function TI2C5_I2C3ACON.getw : TBits_32; inline;
  23111. begin
  23112. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23113. end;
  23114. procedure TI2C5_I2C5CON.setSEN; inline;
  23115. begin
  23116. pTDefRegMap(@Self)^.&set := $00000001;
  23117. end;
  23118. procedure TI2C5_I2C5CON.clearSEN; inline;
  23119. begin
  23120. pTDefRegMap(@Self)^.clr := $00000001;
  23121. end;
  23122. procedure TI2C5_I2C5CON.setSEN(thebits : TBits_1); inline;
  23123. begin
  23124. if thebits = 0 then
  23125. pTDefRegMap(@Self)^.clr := $00000001
  23126. else
  23127. pTDefRegMap(@Self)^.&set := $00000001;
  23128. end;
  23129. function TI2C5_I2C5CON.getSEN : TBits_1; inline;
  23130. begin
  23131. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23132. end;
  23133. procedure TI2C5_I2C5CON.setRSEN; inline;
  23134. begin
  23135. pTDefRegMap(@Self)^.&set := $00000002;
  23136. end;
  23137. procedure TI2C5_I2C5CON.clearRSEN; inline;
  23138. begin
  23139. pTDefRegMap(@Self)^.clr := $00000002;
  23140. end;
  23141. procedure TI2C5_I2C5CON.setRSEN(thebits : TBits_1); inline;
  23142. begin
  23143. if thebits = 0 then
  23144. pTDefRegMap(@Self)^.clr := $00000002
  23145. else
  23146. pTDefRegMap(@Self)^.&set := $00000002;
  23147. end;
  23148. function TI2C5_I2C5CON.getRSEN : TBits_1; inline;
  23149. begin
  23150. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23151. end;
  23152. procedure TI2C5_I2C5CON.setPEN; inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.&set := $00000004;
  23155. end;
  23156. procedure TI2C5_I2C5CON.clearPEN; inline;
  23157. begin
  23158. pTDefRegMap(@Self)^.clr := $00000004;
  23159. end;
  23160. procedure TI2C5_I2C5CON.setPEN(thebits : TBits_1); inline;
  23161. begin
  23162. if thebits = 0 then
  23163. pTDefRegMap(@Self)^.clr := $00000004
  23164. else
  23165. pTDefRegMap(@Self)^.&set := $00000004;
  23166. end;
  23167. function TI2C5_I2C5CON.getPEN : TBits_1; inline;
  23168. begin
  23169. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23170. end;
  23171. procedure TI2C5_I2C5CON.setRCEN; inline;
  23172. begin
  23173. pTDefRegMap(@Self)^.&set := $00000008;
  23174. end;
  23175. procedure TI2C5_I2C5CON.clearRCEN; inline;
  23176. begin
  23177. pTDefRegMap(@Self)^.clr := $00000008;
  23178. end;
  23179. procedure TI2C5_I2C5CON.setRCEN(thebits : TBits_1); inline;
  23180. begin
  23181. if thebits = 0 then
  23182. pTDefRegMap(@Self)^.clr := $00000008
  23183. else
  23184. pTDefRegMap(@Self)^.&set := $00000008;
  23185. end;
  23186. function TI2C5_I2C5CON.getRCEN : TBits_1; inline;
  23187. begin
  23188. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23189. end;
  23190. procedure TI2C5_I2C5CON.setACKEN; inline;
  23191. begin
  23192. pTDefRegMap(@Self)^.&set := $00000010;
  23193. end;
  23194. procedure TI2C5_I2C5CON.clearACKEN; inline;
  23195. begin
  23196. pTDefRegMap(@Self)^.clr := $00000010;
  23197. end;
  23198. procedure TI2C5_I2C5CON.setACKEN(thebits : TBits_1); inline;
  23199. begin
  23200. if thebits = 0 then
  23201. pTDefRegMap(@Self)^.clr := $00000010
  23202. else
  23203. pTDefRegMap(@Self)^.&set := $00000010;
  23204. end;
  23205. function TI2C5_I2C5CON.getACKEN : TBits_1; inline;
  23206. begin
  23207. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23208. end;
  23209. procedure TI2C5_I2C5CON.setACKDT; inline;
  23210. begin
  23211. pTDefRegMap(@Self)^.&set := $00000020;
  23212. end;
  23213. procedure TI2C5_I2C5CON.clearACKDT; inline;
  23214. begin
  23215. pTDefRegMap(@Self)^.clr := $00000020;
  23216. end;
  23217. procedure TI2C5_I2C5CON.setACKDT(thebits : TBits_1); inline;
  23218. begin
  23219. if thebits = 0 then
  23220. pTDefRegMap(@Self)^.clr := $00000020
  23221. else
  23222. pTDefRegMap(@Self)^.&set := $00000020;
  23223. end;
  23224. function TI2C5_I2C5CON.getACKDT : TBits_1; inline;
  23225. begin
  23226. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23227. end;
  23228. procedure TI2C5_I2C5CON.setSTREN; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.&set := $00000040;
  23231. end;
  23232. procedure TI2C5_I2C5CON.clearSTREN; inline;
  23233. begin
  23234. pTDefRegMap(@Self)^.clr := $00000040;
  23235. end;
  23236. procedure TI2C5_I2C5CON.setSTREN(thebits : TBits_1); inline;
  23237. begin
  23238. if thebits = 0 then
  23239. pTDefRegMap(@Self)^.clr := $00000040
  23240. else
  23241. pTDefRegMap(@Self)^.&set := $00000040;
  23242. end;
  23243. function TI2C5_I2C5CON.getSTREN : TBits_1; inline;
  23244. begin
  23245. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23246. end;
  23247. procedure TI2C5_I2C5CON.setGCEN; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.&set := $00000080;
  23250. end;
  23251. procedure TI2C5_I2C5CON.clearGCEN; inline;
  23252. begin
  23253. pTDefRegMap(@Self)^.clr := $00000080;
  23254. end;
  23255. procedure TI2C5_I2C5CON.setGCEN(thebits : TBits_1); inline;
  23256. begin
  23257. if thebits = 0 then
  23258. pTDefRegMap(@Self)^.clr := $00000080
  23259. else
  23260. pTDefRegMap(@Self)^.&set := $00000080;
  23261. end;
  23262. function TI2C5_I2C5CON.getGCEN : TBits_1; inline;
  23263. begin
  23264. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23265. end;
  23266. procedure TI2C5_I2C5CON.setSMEN; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.&set := $00000100;
  23269. end;
  23270. procedure TI2C5_I2C5CON.clearSMEN; inline;
  23271. begin
  23272. pTDefRegMap(@Self)^.clr := $00000100;
  23273. end;
  23274. procedure TI2C5_I2C5CON.setSMEN(thebits : TBits_1); inline;
  23275. begin
  23276. if thebits = 0 then
  23277. pTDefRegMap(@Self)^.clr := $00000100
  23278. else
  23279. pTDefRegMap(@Self)^.&set := $00000100;
  23280. end;
  23281. function TI2C5_I2C5CON.getSMEN : TBits_1; inline;
  23282. begin
  23283. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23284. end;
  23285. procedure TI2C5_I2C5CON.setDISSLW; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.&set := $00000200;
  23288. end;
  23289. procedure TI2C5_I2C5CON.clearDISSLW; inline;
  23290. begin
  23291. pTDefRegMap(@Self)^.clr := $00000200;
  23292. end;
  23293. procedure TI2C5_I2C5CON.setDISSLW(thebits : TBits_1); inline;
  23294. begin
  23295. if thebits = 0 then
  23296. pTDefRegMap(@Self)^.clr := $00000200
  23297. else
  23298. pTDefRegMap(@Self)^.&set := $00000200;
  23299. end;
  23300. function TI2C5_I2C5CON.getDISSLW : TBits_1; inline;
  23301. begin
  23302. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23303. end;
  23304. procedure TI2C5_I2C5CON.setA10M; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.&set := $00000400;
  23307. end;
  23308. procedure TI2C5_I2C5CON.clearA10M; inline;
  23309. begin
  23310. pTDefRegMap(@Self)^.clr := $00000400;
  23311. end;
  23312. procedure TI2C5_I2C5CON.setA10M(thebits : TBits_1); inline;
  23313. begin
  23314. if thebits = 0 then
  23315. pTDefRegMap(@Self)^.clr := $00000400
  23316. else
  23317. pTDefRegMap(@Self)^.&set := $00000400;
  23318. end;
  23319. function TI2C5_I2C5CON.getA10M : TBits_1; inline;
  23320. begin
  23321. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23322. end;
  23323. procedure TI2C5_I2C5CON.setSTRICT; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.&set := $00000800;
  23326. end;
  23327. procedure TI2C5_I2C5CON.clearSTRICT; inline;
  23328. begin
  23329. pTDefRegMap(@Self)^.clr := $00000800;
  23330. end;
  23331. procedure TI2C5_I2C5CON.setSTRICT(thebits : TBits_1); inline;
  23332. begin
  23333. if thebits = 0 then
  23334. pTDefRegMap(@Self)^.clr := $00000800
  23335. else
  23336. pTDefRegMap(@Self)^.&set := $00000800;
  23337. end;
  23338. function TI2C5_I2C5CON.getSTRICT : TBits_1; inline;
  23339. begin
  23340. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23341. end;
  23342. procedure TI2C5_I2C5CON.setSCLREL; inline;
  23343. begin
  23344. pTDefRegMap(@Self)^.&set := $00001000;
  23345. end;
  23346. procedure TI2C5_I2C5CON.clearSCLREL; inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.clr := $00001000;
  23349. end;
  23350. procedure TI2C5_I2C5CON.setSCLREL(thebits : TBits_1); inline;
  23351. begin
  23352. if thebits = 0 then
  23353. pTDefRegMap(@Self)^.clr := $00001000
  23354. else
  23355. pTDefRegMap(@Self)^.&set := $00001000;
  23356. end;
  23357. function TI2C5_I2C5CON.getSCLREL : TBits_1; inline;
  23358. begin
  23359. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23360. end;
  23361. procedure TI2C5_I2C5CON.setSIDL; inline;
  23362. begin
  23363. pTDefRegMap(@Self)^.&set := $00002000;
  23364. end;
  23365. procedure TI2C5_I2C5CON.clearSIDL; inline;
  23366. begin
  23367. pTDefRegMap(@Self)^.clr := $00002000;
  23368. end;
  23369. procedure TI2C5_I2C5CON.setSIDL(thebits : TBits_1); inline;
  23370. begin
  23371. if thebits = 0 then
  23372. pTDefRegMap(@Self)^.clr := $00002000
  23373. else
  23374. pTDefRegMap(@Self)^.&set := $00002000;
  23375. end;
  23376. function TI2C5_I2C5CON.getSIDL : TBits_1; inline;
  23377. begin
  23378. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23379. end;
  23380. procedure TI2C5_I2C5CON.setON; inline;
  23381. begin
  23382. pTDefRegMap(@Self)^.&set := $00008000;
  23383. end;
  23384. procedure TI2C5_I2C5CON.clearON; inline;
  23385. begin
  23386. pTDefRegMap(@Self)^.clr := $00008000;
  23387. end;
  23388. procedure TI2C5_I2C5CON.setON(thebits : TBits_1); inline;
  23389. begin
  23390. if thebits = 0 then
  23391. pTDefRegMap(@Self)^.clr := $00008000
  23392. else
  23393. pTDefRegMap(@Self)^.&set := $00008000;
  23394. end;
  23395. function TI2C5_I2C5CON.getON : TBits_1; inline;
  23396. begin
  23397. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23398. end;
  23399. procedure TI2C5_I2C5CON.setIPMIEN; inline;
  23400. begin
  23401. pTDefRegMap(@Self)^.&set := $00000800;
  23402. end;
  23403. procedure TI2C5_I2C5CON.clearIPMIEN; inline;
  23404. begin
  23405. pTDefRegMap(@Self)^.clr := $00000800;
  23406. end;
  23407. procedure TI2C5_I2C5CON.setIPMIEN(thebits : TBits_1); inline;
  23408. begin
  23409. if thebits = 0 then
  23410. pTDefRegMap(@Self)^.clr := $00000800
  23411. else
  23412. pTDefRegMap(@Self)^.&set := $00000800;
  23413. end;
  23414. function TI2C5_I2C5CON.getIPMIEN : TBits_1; inline;
  23415. begin
  23416. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23417. end;
  23418. procedure TI2C5_I2C5CON.setI2CSIDL; inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.&set := $00002000;
  23421. end;
  23422. procedure TI2C5_I2C5CON.clearI2CSIDL; inline;
  23423. begin
  23424. pTDefRegMap(@Self)^.clr := $00002000;
  23425. end;
  23426. procedure TI2C5_I2C5CON.setI2CSIDL(thebits : TBits_1); inline;
  23427. begin
  23428. if thebits = 0 then
  23429. pTDefRegMap(@Self)^.clr := $00002000
  23430. else
  23431. pTDefRegMap(@Self)^.&set := $00002000;
  23432. end;
  23433. function TI2C5_I2C5CON.getI2CSIDL : TBits_1; inline;
  23434. begin
  23435. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23436. end;
  23437. procedure TI2C5_I2C5CON.setI2CEN; inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.&set := $00008000;
  23440. end;
  23441. procedure TI2C5_I2C5CON.clearI2CEN; inline;
  23442. begin
  23443. pTDefRegMap(@Self)^.clr := $00008000;
  23444. end;
  23445. procedure TI2C5_I2C5CON.setI2CEN(thebits : TBits_1); inline;
  23446. begin
  23447. if thebits = 0 then
  23448. pTDefRegMap(@Self)^.clr := $00008000
  23449. else
  23450. pTDefRegMap(@Self)^.&set := $00008000;
  23451. end;
  23452. function TI2C5_I2C5CON.getI2CEN : TBits_1; inline;
  23453. begin
  23454. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23455. end;
  23456. procedure TI2C5_I2C5CON.setw(thebits : TBits_32); inline;
  23457. begin
  23458. pTDefRegMap(@Self)^.val := thebits;
  23459. end;
  23460. function TI2C5_I2C5CON.getw : TBits_32; inline;
  23461. begin
  23462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23463. end;
  23464. procedure TI2C5_I2C3ASTAT.setTBF; inline;
  23465. begin
  23466. pTDefRegMap(@Self)^.&set := $00000001;
  23467. end;
  23468. procedure TI2C5_I2C3ASTAT.clearTBF; inline;
  23469. begin
  23470. pTDefRegMap(@Self)^.clr := $00000001;
  23471. end;
  23472. procedure TI2C5_I2C3ASTAT.setTBF(thebits : TBits_1); inline;
  23473. begin
  23474. if thebits = 0 then
  23475. pTDefRegMap(@Self)^.clr := $00000001
  23476. else
  23477. pTDefRegMap(@Self)^.&set := $00000001;
  23478. end;
  23479. function TI2C5_I2C3ASTAT.getTBF : TBits_1; inline;
  23480. begin
  23481. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23482. end;
  23483. procedure TI2C5_I2C3ASTAT.setRBF; inline;
  23484. begin
  23485. pTDefRegMap(@Self)^.&set := $00000002;
  23486. end;
  23487. procedure TI2C5_I2C3ASTAT.clearRBF; inline;
  23488. begin
  23489. pTDefRegMap(@Self)^.clr := $00000002;
  23490. end;
  23491. procedure TI2C5_I2C3ASTAT.setRBF(thebits : TBits_1); inline;
  23492. begin
  23493. if thebits = 0 then
  23494. pTDefRegMap(@Self)^.clr := $00000002
  23495. else
  23496. pTDefRegMap(@Self)^.&set := $00000002;
  23497. end;
  23498. function TI2C5_I2C3ASTAT.getRBF : TBits_1; inline;
  23499. begin
  23500. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23501. end;
  23502. procedure TI2C5_I2C3ASTAT.setR_W; inline;
  23503. begin
  23504. pTDefRegMap(@Self)^.&set := $00000004;
  23505. end;
  23506. procedure TI2C5_I2C3ASTAT.clearR_W; inline;
  23507. begin
  23508. pTDefRegMap(@Self)^.clr := $00000004;
  23509. end;
  23510. procedure TI2C5_I2C3ASTAT.setR_W(thebits : TBits_1); inline;
  23511. begin
  23512. if thebits = 0 then
  23513. pTDefRegMap(@Self)^.clr := $00000004
  23514. else
  23515. pTDefRegMap(@Self)^.&set := $00000004;
  23516. end;
  23517. function TI2C5_I2C3ASTAT.getR_W : TBits_1; inline;
  23518. begin
  23519. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23520. end;
  23521. procedure TI2C5_I2C3ASTAT.setS; inline;
  23522. begin
  23523. pTDefRegMap(@Self)^.&set := $00000008;
  23524. end;
  23525. procedure TI2C5_I2C3ASTAT.clearS; inline;
  23526. begin
  23527. pTDefRegMap(@Self)^.clr := $00000008;
  23528. end;
  23529. procedure TI2C5_I2C3ASTAT.setS(thebits : TBits_1); inline;
  23530. begin
  23531. if thebits = 0 then
  23532. pTDefRegMap(@Self)^.clr := $00000008
  23533. else
  23534. pTDefRegMap(@Self)^.&set := $00000008;
  23535. end;
  23536. function TI2C5_I2C3ASTAT.getS : TBits_1; inline;
  23537. begin
  23538. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23539. end;
  23540. procedure TI2C5_I2C3ASTAT.setP; inline;
  23541. begin
  23542. pTDefRegMap(@Self)^.&set := $00000010;
  23543. end;
  23544. procedure TI2C5_I2C3ASTAT.clearP; inline;
  23545. begin
  23546. pTDefRegMap(@Self)^.clr := $00000010;
  23547. end;
  23548. procedure TI2C5_I2C3ASTAT.setP(thebits : TBits_1); inline;
  23549. begin
  23550. if thebits = 0 then
  23551. pTDefRegMap(@Self)^.clr := $00000010
  23552. else
  23553. pTDefRegMap(@Self)^.&set := $00000010;
  23554. end;
  23555. function TI2C5_I2C3ASTAT.getP : TBits_1; inline;
  23556. begin
  23557. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23558. end;
  23559. procedure TI2C5_I2C3ASTAT.setD_A; inline;
  23560. begin
  23561. pTDefRegMap(@Self)^.&set := $00000020;
  23562. end;
  23563. procedure TI2C5_I2C3ASTAT.clearD_A; inline;
  23564. begin
  23565. pTDefRegMap(@Self)^.clr := $00000020;
  23566. end;
  23567. procedure TI2C5_I2C3ASTAT.setD_A(thebits : TBits_1); inline;
  23568. begin
  23569. if thebits = 0 then
  23570. pTDefRegMap(@Self)^.clr := $00000020
  23571. else
  23572. pTDefRegMap(@Self)^.&set := $00000020;
  23573. end;
  23574. function TI2C5_I2C3ASTAT.getD_A : TBits_1; inline;
  23575. begin
  23576. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23577. end;
  23578. procedure TI2C5_I2C3ASTAT.setI2COV; inline;
  23579. begin
  23580. pTDefRegMap(@Self)^.&set := $00000040;
  23581. end;
  23582. procedure TI2C5_I2C3ASTAT.clearI2COV; inline;
  23583. begin
  23584. pTDefRegMap(@Self)^.clr := $00000040;
  23585. end;
  23586. procedure TI2C5_I2C3ASTAT.setI2COV(thebits : TBits_1); inline;
  23587. begin
  23588. if thebits = 0 then
  23589. pTDefRegMap(@Self)^.clr := $00000040
  23590. else
  23591. pTDefRegMap(@Self)^.&set := $00000040;
  23592. end;
  23593. function TI2C5_I2C3ASTAT.getI2COV : TBits_1; inline;
  23594. begin
  23595. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23596. end;
  23597. procedure TI2C5_I2C3ASTAT.setIWCOL; inline;
  23598. begin
  23599. pTDefRegMap(@Self)^.&set := $00000080;
  23600. end;
  23601. procedure TI2C5_I2C3ASTAT.clearIWCOL; inline;
  23602. begin
  23603. pTDefRegMap(@Self)^.clr := $00000080;
  23604. end;
  23605. procedure TI2C5_I2C3ASTAT.setIWCOL(thebits : TBits_1); inline;
  23606. begin
  23607. if thebits = 0 then
  23608. pTDefRegMap(@Self)^.clr := $00000080
  23609. else
  23610. pTDefRegMap(@Self)^.&set := $00000080;
  23611. end;
  23612. function TI2C5_I2C3ASTAT.getIWCOL : TBits_1; inline;
  23613. begin
  23614. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23615. end;
  23616. procedure TI2C5_I2C3ASTAT.setADD10; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.&set := $00000100;
  23619. end;
  23620. procedure TI2C5_I2C3ASTAT.clearADD10; inline;
  23621. begin
  23622. pTDefRegMap(@Self)^.clr := $00000100;
  23623. end;
  23624. procedure TI2C5_I2C3ASTAT.setADD10(thebits : TBits_1); inline;
  23625. begin
  23626. if thebits = 0 then
  23627. pTDefRegMap(@Self)^.clr := $00000100
  23628. else
  23629. pTDefRegMap(@Self)^.&set := $00000100;
  23630. end;
  23631. function TI2C5_I2C3ASTAT.getADD10 : TBits_1; inline;
  23632. begin
  23633. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23634. end;
  23635. procedure TI2C5_I2C3ASTAT.setGCSTAT; inline;
  23636. begin
  23637. pTDefRegMap(@Self)^.&set := $00000200;
  23638. end;
  23639. procedure TI2C5_I2C3ASTAT.clearGCSTAT; inline;
  23640. begin
  23641. pTDefRegMap(@Self)^.clr := $00000200;
  23642. end;
  23643. procedure TI2C5_I2C3ASTAT.setGCSTAT(thebits : TBits_1); inline;
  23644. begin
  23645. if thebits = 0 then
  23646. pTDefRegMap(@Self)^.clr := $00000200
  23647. else
  23648. pTDefRegMap(@Self)^.&set := $00000200;
  23649. end;
  23650. function TI2C5_I2C3ASTAT.getGCSTAT : TBits_1; inline;
  23651. begin
  23652. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23653. end;
  23654. procedure TI2C5_I2C3ASTAT.setBCL; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.&set := $00000400;
  23657. end;
  23658. procedure TI2C5_I2C3ASTAT.clearBCL; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.clr := $00000400;
  23661. end;
  23662. procedure TI2C5_I2C3ASTAT.setBCL(thebits : TBits_1); inline;
  23663. begin
  23664. if thebits = 0 then
  23665. pTDefRegMap(@Self)^.clr := $00000400
  23666. else
  23667. pTDefRegMap(@Self)^.&set := $00000400;
  23668. end;
  23669. function TI2C5_I2C3ASTAT.getBCL : TBits_1; inline;
  23670. begin
  23671. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23672. end;
  23673. procedure TI2C5_I2C3ASTAT.setTRSTAT; inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.&set := $00004000;
  23676. end;
  23677. procedure TI2C5_I2C3ASTAT.clearTRSTAT; inline;
  23678. begin
  23679. pTDefRegMap(@Self)^.clr := $00004000;
  23680. end;
  23681. procedure TI2C5_I2C3ASTAT.setTRSTAT(thebits : TBits_1); inline;
  23682. begin
  23683. if thebits = 0 then
  23684. pTDefRegMap(@Self)^.clr := $00004000
  23685. else
  23686. pTDefRegMap(@Self)^.&set := $00004000;
  23687. end;
  23688. function TI2C5_I2C3ASTAT.getTRSTAT : TBits_1; inline;
  23689. begin
  23690. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23691. end;
  23692. procedure TI2C5_I2C3ASTAT.setACKSTAT; inline;
  23693. begin
  23694. pTDefRegMap(@Self)^.&set := $00008000;
  23695. end;
  23696. procedure TI2C5_I2C3ASTAT.clearACKSTAT; inline;
  23697. begin
  23698. pTDefRegMap(@Self)^.clr := $00008000;
  23699. end;
  23700. procedure TI2C5_I2C3ASTAT.setACKSTAT(thebits : TBits_1); inline;
  23701. begin
  23702. if thebits = 0 then
  23703. pTDefRegMap(@Self)^.clr := $00008000
  23704. else
  23705. pTDefRegMap(@Self)^.&set := $00008000;
  23706. end;
  23707. function TI2C5_I2C3ASTAT.getACKSTAT : TBits_1; inline;
  23708. begin
  23709. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23710. end;
  23711. procedure TI2C5_I2C3ASTAT.setI2CPOV; inline;
  23712. begin
  23713. pTDefRegMap(@Self)^.&set := $00000040;
  23714. end;
  23715. procedure TI2C5_I2C3ASTAT.clearI2CPOV; inline;
  23716. begin
  23717. pTDefRegMap(@Self)^.clr := $00000040;
  23718. end;
  23719. procedure TI2C5_I2C3ASTAT.setI2CPOV(thebits : TBits_1); inline;
  23720. begin
  23721. if thebits = 0 then
  23722. pTDefRegMap(@Self)^.clr := $00000040
  23723. else
  23724. pTDefRegMap(@Self)^.&set := $00000040;
  23725. end;
  23726. function TI2C5_I2C3ASTAT.getI2CPOV : TBits_1; inline;
  23727. begin
  23728. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23729. end;
  23730. procedure TI2C5_I2C3ASTAT.setw(thebits : TBits_32); inline;
  23731. begin
  23732. pTDefRegMap(@Self)^.val := thebits;
  23733. end;
  23734. function TI2C5_I2C3ASTAT.getw : TBits_32; inline;
  23735. begin
  23736. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23737. end;
  23738. procedure TI2C5_I2C5STAT.setTBF; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.&set := $00000001;
  23741. end;
  23742. procedure TI2C5_I2C5STAT.clearTBF; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.clr := $00000001;
  23745. end;
  23746. procedure TI2C5_I2C5STAT.setTBF(thebits : TBits_1); inline;
  23747. begin
  23748. if thebits = 0 then
  23749. pTDefRegMap(@Self)^.clr := $00000001
  23750. else
  23751. pTDefRegMap(@Self)^.&set := $00000001;
  23752. end;
  23753. function TI2C5_I2C5STAT.getTBF : TBits_1; inline;
  23754. begin
  23755. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23756. end;
  23757. procedure TI2C5_I2C5STAT.setRBF; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.&set := $00000002;
  23760. end;
  23761. procedure TI2C5_I2C5STAT.clearRBF; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.clr := $00000002;
  23764. end;
  23765. procedure TI2C5_I2C5STAT.setRBF(thebits : TBits_1); inline;
  23766. begin
  23767. if thebits = 0 then
  23768. pTDefRegMap(@Self)^.clr := $00000002
  23769. else
  23770. pTDefRegMap(@Self)^.&set := $00000002;
  23771. end;
  23772. function TI2C5_I2C5STAT.getRBF : TBits_1; inline;
  23773. begin
  23774. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23775. end;
  23776. procedure TI2C5_I2C5STAT.setR_W; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.&set := $00000004;
  23779. end;
  23780. procedure TI2C5_I2C5STAT.clearR_W; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.clr := $00000004;
  23783. end;
  23784. procedure TI2C5_I2C5STAT.setR_W(thebits : TBits_1); inline;
  23785. begin
  23786. if thebits = 0 then
  23787. pTDefRegMap(@Self)^.clr := $00000004
  23788. else
  23789. pTDefRegMap(@Self)^.&set := $00000004;
  23790. end;
  23791. function TI2C5_I2C5STAT.getR_W : TBits_1; inline;
  23792. begin
  23793. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23794. end;
  23795. procedure TI2C5_I2C5STAT.setS; inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.&set := $00000008;
  23798. end;
  23799. procedure TI2C5_I2C5STAT.clearS; inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.clr := $00000008;
  23802. end;
  23803. procedure TI2C5_I2C5STAT.setS(thebits : TBits_1); inline;
  23804. begin
  23805. if thebits = 0 then
  23806. pTDefRegMap(@Self)^.clr := $00000008
  23807. else
  23808. pTDefRegMap(@Self)^.&set := $00000008;
  23809. end;
  23810. function TI2C5_I2C5STAT.getS : TBits_1; inline;
  23811. begin
  23812. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23813. end;
  23814. procedure TI2C5_I2C5STAT.setP; inline;
  23815. begin
  23816. pTDefRegMap(@Self)^.&set := $00000010;
  23817. end;
  23818. procedure TI2C5_I2C5STAT.clearP; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.clr := $00000010;
  23821. end;
  23822. procedure TI2C5_I2C5STAT.setP(thebits : TBits_1); inline;
  23823. begin
  23824. if thebits = 0 then
  23825. pTDefRegMap(@Self)^.clr := $00000010
  23826. else
  23827. pTDefRegMap(@Self)^.&set := $00000010;
  23828. end;
  23829. function TI2C5_I2C5STAT.getP : TBits_1; inline;
  23830. begin
  23831. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23832. end;
  23833. procedure TI2C5_I2C5STAT.setD_A; inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.&set := $00000020;
  23836. end;
  23837. procedure TI2C5_I2C5STAT.clearD_A; inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.clr := $00000020;
  23840. end;
  23841. procedure TI2C5_I2C5STAT.setD_A(thebits : TBits_1); inline;
  23842. begin
  23843. if thebits = 0 then
  23844. pTDefRegMap(@Self)^.clr := $00000020
  23845. else
  23846. pTDefRegMap(@Self)^.&set := $00000020;
  23847. end;
  23848. function TI2C5_I2C5STAT.getD_A : TBits_1; inline;
  23849. begin
  23850. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23851. end;
  23852. procedure TI2C5_I2C5STAT.setI2COV; inline;
  23853. begin
  23854. pTDefRegMap(@Self)^.&set := $00000040;
  23855. end;
  23856. procedure TI2C5_I2C5STAT.clearI2COV; inline;
  23857. begin
  23858. pTDefRegMap(@Self)^.clr := $00000040;
  23859. end;
  23860. procedure TI2C5_I2C5STAT.setI2COV(thebits : TBits_1); inline;
  23861. begin
  23862. if thebits = 0 then
  23863. pTDefRegMap(@Self)^.clr := $00000040
  23864. else
  23865. pTDefRegMap(@Self)^.&set := $00000040;
  23866. end;
  23867. function TI2C5_I2C5STAT.getI2COV : TBits_1; inline;
  23868. begin
  23869. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23870. end;
  23871. procedure TI2C5_I2C5STAT.setIWCOL; inline;
  23872. begin
  23873. pTDefRegMap(@Self)^.&set := $00000080;
  23874. end;
  23875. procedure TI2C5_I2C5STAT.clearIWCOL; inline;
  23876. begin
  23877. pTDefRegMap(@Self)^.clr := $00000080;
  23878. end;
  23879. procedure TI2C5_I2C5STAT.setIWCOL(thebits : TBits_1); inline;
  23880. begin
  23881. if thebits = 0 then
  23882. pTDefRegMap(@Self)^.clr := $00000080
  23883. else
  23884. pTDefRegMap(@Self)^.&set := $00000080;
  23885. end;
  23886. function TI2C5_I2C5STAT.getIWCOL : TBits_1; inline;
  23887. begin
  23888. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23889. end;
  23890. procedure TI2C5_I2C5STAT.setADD10; inline;
  23891. begin
  23892. pTDefRegMap(@Self)^.&set := $00000100;
  23893. end;
  23894. procedure TI2C5_I2C5STAT.clearADD10; inline;
  23895. begin
  23896. pTDefRegMap(@Self)^.clr := $00000100;
  23897. end;
  23898. procedure TI2C5_I2C5STAT.setADD10(thebits : TBits_1); inline;
  23899. begin
  23900. if thebits = 0 then
  23901. pTDefRegMap(@Self)^.clr := $00000100
  23902. else
  23903. pTDefRegMap(@Self)^.&set := $00000100;
  23904. end;
  23905. function TI2C5_I2C5STAT.getADD10 : TBits_1; inline;
  23906. begin
  23907. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23908. end;
  23909. procedure TI2C5_I2C5STAT.setGCSTAT; inline;
  23910. begin
  23911. pTDefRegMap(@Self)^.&set := $00000200;
  23912. end;
  23913. procedure TI2C5_I2C5STAT.clearGCSTAT; inline;
  23914. begin
  23915. pTDefRegMap(@Self)^.clr := $00000200;
  23916. end;
  23917. procedure TI2C5_I2C5STAT.setGCSTAT(thebits : TBits_1); inline;
  23918. begin
  23919. if thebits = 0 then
  23920. pTDefRegMap(@Self)^.clr := $00000200
  23921. else
  23922. pTDefRegMap(@Self)^.&set := $00000200;
  23923. end;
  23924. function TI2C5_I2C5STAT.getGCSTAT : TBits_1; inline;
  23925. begin
  23926. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23927. end;
  23928. procedure TI2C5_I2C5STAT.setBCL; inline;
  23929. begin
  23930. pTDefRegMap(@Self)^.&set := $00000400;
  23931. end;
  23932. procedure TI2C5_I2C5STAT.clearBCL; inline;
  23933. begin
  23934. pTDefRegMap(@Self)^.clr := $00000400;
  23935. end;
  23936. procedure TI2C5_I2C5STAT.setBCL(thebits : TBits_1); inline;
  23937. begin
  23938. if thebits = 0 then
  23939. pTDefRegMap(@Self)^.clr := $00000400
  23940. else
  23941. pTDefRegMap(@Self)^.&set := $00000400;
  23942. end;
  23943. function TI2C5_I2C5STAT.getBCL : TBits_1; inline;
  23944. begin
  23945. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23946. end;
  23947. procedure TI2C5_I2C5STAT.setTRSTAT; inline;
  23948. begin
  23949. pTDefRegMap(@Self)^.&set := $00004000;
  23950. end;
  23951. procedure TI2C5_I2C5STAT.clearTRSTAT; inline;
  23952. begin
  23953. pTDefRegMap(@Self)^.clr := $00004000;
  23954. end;
  23955. procedure TI2C5_I2C5STAT.setTRSTAT(thebits : TBits_1); inline;
  23956. begin
  23957. if thebits = 0 then
  23958. pTDefRegMap(@Self)^.clr := $00004000
  23959. else
  23960. pTDefRegMap(@Self)^.&set := $00004000;
  23961. end;
  23962. function TI2C5_I2C5STAT.getTRSTAT : TBits_1; inline;
  23963. begin
  23964. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23965. end;
  23966. procedure TI2C5_I2C5STAT.setACKSTAT; inline;
  23967. begin
  23968. pTDefRegMap(@Self)^.&set := $00008000;
  23969. end;
  23970. procedure TI2C5_I2C5STAT.clearACKSTAT; inline;
  23971. begin
  23972. pTDefRegMap(@Self)^.clr := $00008000;
  23973. end;
  23974. procedure TI2C5_I2C5STAT.setACKSTAT(thebits : TBits_1); inline;
  23975. begin
  23976. if thebits = 0 then
  23977. pTDefRegMap(@Self)^.clr := $00008000
  23978. else
  23979. pTDefRegMap(@Self)^.&set := $00008000;
  23980. end;
  23981. function TI2C5_I2C5STAT.getACKSTAT : TBits_1; inline;
  23982. begin
  23983. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23984. end;
  23985. procedure TI2C5_I2C5STAT.setI2CPOV; inline;
  23986. begin
  23987. pTDefRegMap(@Self)^.&set := $00000040;
  23988. end;
  23989. procedure TI2C5_I2C5STAT.clearI2CPOV; inline;
  23990. begin
  23991. pTDefRegMap(@Self)^.clr := $00000040;
  23992. end;
  23993. procedure TI2C5_I2C5STAT.setI2CPOV(thebits : TBits_1); inline;
  23994. begin
  23995. if thebits = 0 then
  23996. pTDefRegMap(@Self)^.clr := $00000040
  23997. else
  23998. pTDefRegMap(@Self)^.&set := $00000040;
  23999. end;
  24000. function TI2C5_I2C5STAT.getI2CPOV : TBits_1; inline;
  24001. begin
  24002. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24003. end;
  24004. procedure TI2C5_I2C5STAT.setw(thebits : TBits_32); inline;
  24005. begin
  24006. pTDefRegMap(@Self)^.val := thebits;
  24007. end;
  24008. function TI2C5_I2C5STAT.getw : TBits_32; inline;
  24009. begin
  24010. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24011. end;
  24012. procedure TI2C1_I2C1CON.setSEN; inline;
  24013. begin
  24014. pTDefRegMap(@Self)^.&set := $00000001;
  24015. end;
  24016. procedure TI2C1_I2C1CON.clearSEN; inline;
  24017. begin
  24018. pTDefRegMap(@Self)^.clr := $00000001;
  24019. end;
  24020. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  24021. begin
  24022. if thebits = 0 then
  24023. pTDefRegMap(@Self)^.clr := $00000001
  24024. else
  24025. pTDefRegMap(@Self)^.&set := $00000001;
  24026. end;
  24027. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  24028. begin
  24029. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24030. end;
  24031. procedure TI2C1_I2C1CON.setRSEN; inline;
  24032. begin
  24033. pTDefRegMap(@Self)^.&set := $00000002;
  24034. end;
  24035. procedure TI2C1_I2C1CON.clearRSEN; inline;
  24036. begin
  24037. pTDefRegMap(@Self)^.clr := $00000002;
  24038. end;
  24039. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  24040. begin
  24041. if thebits = 0 then
  24042. pTDefRegMap(@Self)^.clr := $00000002
  24043. else
  24044. pTDefRegMap(@Self)^.&set := $00000002;
  24045. end;
  24046. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  24047. begin
  24048. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24049. end;
  24050. procedure TI2C1_I2C1CON.setPEN; inline;
  24051. begin
  24052. pTDefRegMap(@Self)^.&set := $00000004;
  24053. end;
  24054. procedure TI2C1_I2C1CON.clearPEN; inline;
  24055. begin
  24056. pTDefRegMap(@Self)^.clr := $00000004;
  24057. end;
  24058. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  24059. begin
  24060. if thebits = 0 then
  24061. pTDefRegMap(@Self)^.clr := $00000004
  24062. else
  24063. pTDefRegMap(@Self)^.&set := $00000004;
  24064. end;
  24065. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  24066. begin
  24067. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24068. end;
  24069. procedure TI2C1_I2C1CON.setRCEN; inline;
  24070. begin
  24071. pTDefRegMap(@Self)^.&set := $00000008;
  24072. end;
  24073. procedure TI2C1_I2C1CON.clearRCEN; inline;
  24074. begin
  24075. pTDefRegMap(@Self)^.clr := $00000008;
  24076. end;
  24077. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  24078. begin
  24079. if thebits = 0 then
  24080. pTDefRegMap(@Self)^.clr := $00000008
  24081. else
  24082. pTDefRegMap(@Self)^.&set := $00000008;
  24083. end;
  24084. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  24085. begin
  24086. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24087. end;
  24088. procedure TI2C1_I2C1CON.setACKEN; inline;
  24089. begin
  24090. pTDefRegMap(@Self)^.&set := $00000010;
  24091. end;
  24092. procedure TI2C1_I2C1CON.clearACKEN; inline;
  24093. begin
  24094. pTDefRegMap(@Self)^.clr := $00000010;
  24095. end;
  24096. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  24097. begin
  24098. if thebits = 0 then
  24099. pTDefRegMap(@Self)^.clr := $00000010
  24100. else
  24101. pTDefRegMap(@Self)^.&set := $00000010;
  24102. end;
  24103. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  24104. begin
  24105. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24106. end;
  24107. procedure TI2C1_I2C1CON.setACKDT; inline;
  24108. begin
  24109. pTDefRegMap(@Self)^.&set := $00000020;
  24110. end;
  24111. procedure TI2C1_I2C1CON.clearACKDT; inline;
  24112. begin
  24113. pTDefRegMap(@Self)^.clr := $00000020;
  24114. end;
  24115. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  24116. begin
  24117. if thebits = 0 then
  24118. pTDefRegMap(@Self)^.clr := $00000020
  24119. else
  24120. pTDefRegMap(@Self)^.&set := $00000020;
  24121. end;
  24122. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  24123. begin
  24124. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24125. end;
  24126. procedure TI2C1_I2C1CON.setSTREN; inline;
  24127. begin
  24128. pTDefRegMap(@Self)^.&set := $00000040;
  24129. end;
  24130. procedure TI2C1_I2C1CON.clearSTREN; inline;
  24131. begin
  24132. pTDefRegMap(@Self)^.clr := $00000040;
  24133. end;
  24134. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  24135. begin
  24136. if thebits = 0 then
  24137. pTDefRegMap(@Self)^.clr := $00000040
  24138. else
  24139. pTDefRegMap(@Self)^.&set := $00000040;
  24140. end;
  24141. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  24142. begin
  24143. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24144. end;
  24145. procedure TI2C1_I2C1CON.setGCEN; inline;
  24146. begin
  24147. pTDefRegMap(@Self)^.&set := $00000080;
  24148. end;
  24149. procedure TI2C1_I2C1CON.clearGCEN; inline;
  24150. begin
  24151. pTDefRegMap(@Self)^.clr := $00000080;
  24152. end;
  24153. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  24154. begin
  24155. if thebits = 0 then
  24156. pTDefRegMap(@Self)^.clr := $00000080
  24157. else
  24158. pTDefRegMap(@Self)^.&set := $00000080;
  24159. end;
  24160. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  24161. begin
  24162. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24163. end;
  24164. procedure TI2C1_I2C1CON.setSMEN; inline;
  24165. begin
  24166. pTDefRegMap(@Self)^.&set := $00000100;
  24167. end;
  24168. procedure TI2C1_I2C1CON.clearSMEN; inline;
  24169. begin
  24170. pTDefRegMap(@Self)^.clr := $00000100;
  24171. end;
  24172. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  24173. begin
  24174. if thebits = 0 then
  24175. pTDefRegMap(@Self)^.clr := $00000100
  24176. else
  24177. pTDefRegMap(@Self)^.&set := $00000100;
  24178. end;
  24179. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  24180. begin
  24181. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24182. end;
  24183. procedure TI2C1_I2C1CON.setDISSLW; inline;
  24184. begin
  24185. pTDefRegMap(@Self)^.&set := $00000200;
  24186. end;
  24187. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  24188. begin
  24189. pTDefRegMap(@Self)^.clr := $00000200;
  24190. end;
  24191. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  24192. begin
  24193. if thebits = 0 then
  24194. pTDefRegMap(@Self)^.clr := $00000200
  24195. else
  24196. pTDefRegMap(@Self)^.&set := $00000200;
  24197. end;
  24198. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  24199. begin
  24200. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24201. end;
  24202. procedure TI2C1_I2C1CON.setA10M; inline;
  24203. begin
  24204. pTDefRegMap(@Self)^.&set := $00000400;
  24205. end;
  24206. procedure TI2C1_I2C1CON.clearA10M; inline;
  24207. begin
  24208. pTDefRegMap(@Self)^.clr := $00000400;
  24209. end;
  24210. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  24211. begin
  24212. if thebits = 0 then
  24213. pTDefRegMap(@Self)^.clr := $00000400
  24214. else
  24215. pTDefRegMap(@Self)^.&set := $00000400;
  24216. end;
  24217. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  24218. begin
  24219. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24220. end;
  24221. procedure TI2C1_I2C1CON.setSTRICT; inline;
  24222. begin
  24223. pTDefRegMap(@Self)^.&set := $00000800;
  24224. end;
  24225. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  24226. begin
  24227. pTDefRegMap(@Self)^.clr := $00000800;
  24228. end;
  24229. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  24230. begin
  24231. if thebits = 0 then
  24232. pTDefRegMap(@Self)^.clr := $00000800
  24233. else
  24234. pTDefRegMap(@Self)^.&set := $00000800;
  24235. end;
  24236. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  24237. begin
  24238. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24239. end;
  24240. procedure TI2C1_I2C1CON.setSCLREL; inline;
  24241. begin
  24242. pTDefRegMap(@Self)^.&set := $00001000;
  24243. end;
  24244. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  24245. begin
  24246. pTDefRegMap(@Self)^.clr := $00001000;
  24247. end;
  24248. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  24249. begin
  24250. if thebits = 0 then
  24251. pTDefRegMap(@Self)^.clr := $00001000
  24252. else
  24253. pTDefRegMap(@Self)^.&set := $00001000;
  24254. end;
  24255. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  24256. begin
  24257. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24258. end;
  24259. procedure TI2C1_I2C1CON.setSIDL; inline;
  24260. begin
  24261. pTDefRegMap(@Self)^.&set := $00002000;
  24262. end;
  24263. procedure TI2C1_I2C1CON.clearSIDL; inline;
  24264. begin
  24265. pTDefRegMap(@Self)^.clr := $00002000;
  24266. end;
  24267. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  24268. begin
  24269. if thebits = 0 then
  24270. pTDefRegMap(@Self)^.clr := $00002000
  24271. else
  24272. pTDefRegMap(@Self)^.&set := $00002000;
  24273. end;
  24274. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  24275. begin
  24276. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24277. end;
  24278. procedure TI2C1_I2C1CON.setON; inline;
  24279. begin
  24280. pTDefRegMap(@Self)^.&set := $00008000;
  24281. end;
  24282. procedure TI2C1_I2C1CON.clearON; inline;
  24283. begin
  24284. pTDefRegMap(@Self)^.clr := $00008000;
  24285. end;
  24286. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  24287. begin
  24288. if thebits = 0 then
  24289. pTDefRegMap(@Self)^.clr := $00008000
  24290. else
  24291. pTDefRegMap(@Self)^.&set := $00008000;
  24292. end;
  24293. function TI2C1_I2C1CON.getON : TBits_1; inline;
  24294. begin
  24295. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24296. end;
  24297. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  24298. begin
  24299. pTDefRegMap(@Self)^.&set := $00000800;
  24300. end;
  24301. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  24302. begin
  24303. pTDefRegMap(@Self)^.clr := $00000800;
  24304. end;
  24305. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  24306. begin
  24307. if thebits = 0 then
  24308. pTDefRegMap(@Self)^.clr := $00000800
  24309. else
  24310. pTDefRegMap(@Self)^.&set := $00000800;
  24311. end;
  24312. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  24313. begin
  24314. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24315. end;
  24316. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  24317. begin
  24318. pTDefRegMap(@Self)^.&set := $00002000;
  24319. end;
  24320. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  24321. begin
  24322. pTDefRegMap(@Self)^.clr := $00002000;
  24323. end;
  24324. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  24325. begin
  24326. if thebits = 0 then
  24327. pTDefRegMap(@Self)^.clr := $00002000
  24328. else
  24329. pTDefRegMap(@Self)^.&set := $00002000;
  24330. end;
  24331. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  24332. begin
  24333. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24334. end;
  24335. procedure TI2C1_I2C1CON.setI2CEN; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.&set := $00008000;
  24338. end;
  24339. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  24340. begin
  24341. pTDefRegMap(@Self)^.clr := $00008000;
  24342. end;
  24343. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  24344. begin
  24345. if thebits = 0 then
  24346. pTDefRegMap(@Self)^.clr := $00008000
  24347. else
  24348. pTDefRegMap(@Self)^.&set := $00008000;
  24349. end;
  24350. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  24351. begin
  24352. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24353. end;
  24354. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.val := thebits;
  24357. end;
  24358. function TI2C1_I2C1CON.getw : TBits_32; inline;
  24359. begin
  24360. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24361. end;
  24362. procedure TI2C1_I2C1STAT.setTBF; inline;
  24363. begin
  24364. pTDefRegMap(@Self)^.&set := $00000001;
  24365. end;
  24366. procedure TI2C1_I2C1STAT.clearTBF; inline;
  24367. begin
  24368. pTDefRegMap(@Self)^.clr := $00000001;
  24369. end;
  24370. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  24371. begin
  24372. if thebits = 0 then
  24373. pTDefRegMap(@Self)^.clr := $00000001
  24374. else
  24375. pTDefRegMap(@Self)^.&set := $00000001;
  24376. end;
  24377. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  24378. begin
  24379. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24380. end;
  24381. procedure TI2C1_I2C1STAT.setRBF; inline;
  24382. begin
  24383. pTDefRegMap(@Self)^.&set := $00000002;
  24384. end;
  24385. procedure TI2C1_I2C1STAT.clearRBF; inline;
  24386. begin
  24387. pTDefRegMap(@Self)^.clr := $00000002;
  24388. end;
  24389. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  24390. begin
  24391. if thebits = 0 then
  24392. pTDefRegMap(@Self)^.clr := $00000002
  24393. else
  24394. pTDefRegMap(@Self)^.&set := $00000002;
  24395. end;
  24396. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  24397. begin
  24398. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24399. end;
  24400. procedure TI2C1_I2C1STAT.setR_W; inline;
  24401. begin
  24402. pTDefRegMap(@Self)^.&set := $00000004;
  24403. end;
  24404. procedure TI2C1_I2C1STAT.clearR_W; inline;
  24405. begin
  24406. pTDefRegMap(@Self)^.clr := $00000004;
  24407. end;
  24408. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  24409. begin
  24410. if thebits = 0 then
  24411. pTDefRegMap(@Self)^.clr := $00000004
  24412. else
  24413. pTDefRegMap(@Self)^.&set := $00000004;
  24414. end;
  24415. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  24416. begin
  24417. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24418. end;
  24419. procedure TI2C1_I2C1STAT.setS; inline;
  24420. begin
  24421. pTDefRegMap(@Self)^.&set := $00000008;
  24422. end;
  24423. procedure TI2C1_I2C1STAT.clearS; inline;
  24424. begin
  24425. pTDefRegMap(@Self)^.clr := $00000008;
  24426. end;
  24427. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  24428. begin
  24429. if thebits = 0 then
  24430. pTDefRegMap(@Self)^.clr := $00000008
  24431. else
  24432. pTDefRegMap(@Self)^.&set := $00000008;
  24433. end;
  24434. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  24435. begin
  24436. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24437. end;
  24438. procedure TI2C1_I2C1STAT.setP; inline;
  24439. begin
  24440. pTDefRegMap(@Self)^.&set := $00000010;
  24441. end;
  24442. procedure TI2C1_I2C1STAT.clearP; inline;
  24443. begin
  24444. pTDefRegMap(@Self)^.clr := $00000010;
  24445. end;
  24446. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  24447. begin
  24448. if thebits = 0 then
  24449. pTDefRegMap(@Self)^.clr := $00000010
  24450. else
  24451. pTDefRegMap(@Self)^.&set := $00000010;
  24452. end;
  24453. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  24454. begin
  24455. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24456. end;
  24457. procedure TI2C1_I2C1STAT.setD_A; inline;
  24458. begin
  24459. pTDefRegMap(@Self)^.&set := $00000020;
  24460. end;
  24461. procedure TI2C1_I2C1STAT.clearD_A; inline;
  24462. begin
  24463. pTDefRegMap(@Self)^.clr := $00000020;
  24464. end;
  24465. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  24466. begin
  24467. if thebits = 0 then
  24468. pTDefRegMap(@Self)^.clr := $00000020
  24469. else
  24470. pTDefRegMap(@Self)^.&set := $00000020;
  24471. end;
  24472. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  24473. begin
  24474. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24475. end;
  24476. procedure TI2C1_I2C1STAT.setI2COV; inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.&set := $00000040;
  24479. end;
  24480. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  24481. begin
  24482. pTDefRegMap(@Self)^.clr := $00000040;
  24483. end;
  24484. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  24485. begin
  24486. if thebits = 0 then
  24487. pTDefRegMap(@Self)^.clr := $00000040
  24488. else
  24489. pTDefRegMap(@Self)^.&set := $00000040;
  24490. end;
  24491. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  24492. begin
  24493. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24494. end;
  24495. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  24496. begin
  24497. pTDefRegMap(@Self)^.&set := $00000080;
  24498. end;
  24499. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  24500. begin
  24501. pTDefRegMap(@Self)^.clr := $00000080;
  24502. end;
  24503. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  24504. begin
  24505. if thebits = 0 then
  24506. pTDefRegMap(@Self)^.clr := $00000080
  24507. else
  24508. pTDefRegMap(@Self)^.&set := $00000080;
  24509. end;
  24510. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  24511. begin
  24512. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24513. end;
  24514. procedure TI2C1_I2C1STAT.setADD10; inline;
  24515. begin
  24516. pTDefRegMap(@Self)^.&set := $00000100;
  24517. end;
  24518. procedure TI2C1_I2C1STAT.clearADD10; inline;
  24519. begin
  24520. pTDefRegMap(@Self)^.clr := $00000100;
  24521. end;
  24522. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  24523. begin
  24524. if thebits = 0 then
  24525. pTDefRegMap(@Self)^.clr := $00000100
  24526. else
  24527. pTDefRegMap(@Self)^.&set := $00000100;
  24528. end;
  24529. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  24530. begin
  24531. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24532. end;
  24533. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.&set := $00000200;
  24536. end;
  24537. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  24538. begin
  24539. pTDefRegMap(@Self)^.clr := $00000200;
  24540. end;
  24541. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  24542. begin
  24543. if thebits = 0 then
  24544. pTDefRegMap(@Self)^.clr := $00000200
  24545. else
  24546. pTDefRegMap(@Self)^.&set := $00000200;
  24547. end;
  24548. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  24549. begin
  24550. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24551. end;
  24552. procedure TI2C1_I2C1STAT.setBCL; inline;
  24553. begin
  24554. pTDefRegMap(@Self)^.&set := $00000400;
  24555. end;
  24556. procedure TI2C1_I2C1STAT.clearBCL; inline;
  24557. begin
  24558. pTDefRegMap(@Self)^.clr := $00000400;
  24559. end;
  24560. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  24561. begin
  24562. if thebits = 0 then
  24563. pTDefRegMap(@Self)^.clr := $00000400
  24564. else
  24565. pTDefRegMap(@Self)^.&set := $00000400;
  24566. end;
  24567. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  24568. begin
  24569. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24570. end;
  24571. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  24572. begin
  24573. pTDefRegMap(@Self)^.&set := $00004000;
  24574. end;
  24575. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  24576. begin
  24577. pTDefRegMap(@Self)^.clr := $00004000;
  24578. end;
  24579. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  24580. begin
  24581. if thebits = 0 then
  24582. pTDefRegMap(@Self)^.clr := $00004000
  24583. else
  24584. pTDefRegMap(@Self)^.&set := $00004000;
  24585. end;
  24586. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  24587. begin
  24588. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24589. end;
  24590. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  24591. begin
  24592. pTDefRegMap(@Self)^.&set := $00008000;
  24593. end;
  24594. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  24595. begin
  24596. pTDefRegMap(@Self)^.clr := $00008000;
  24597. end;
  24598. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  24599. begin
  24600. if thebits = 0 then
  24601. pTDefRegMap(@Self)^.clr := $00008000
  24602. else
  24603. pTDefRegMap(@Self)^.&set := $00008000;
  24604. end;
  24605. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  24606. begin
  24607. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24608. end;
  24609. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  24610. begin
  24611. pTDefRegMap(@Self)^.&set := $00000040;
  24612. end;
  24613. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  24614. begin
  24615. pTDefRegMap(@Self)^.clr := $00000040;
  24616. end;
  24617. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  24618. begin
  24619. if thebits = 0 then
  24620. pTDefRegMap(@Self)^.clr := $00000040
  24621. else
  24622. pTDefRegMap(@Self)^.&set := $00000040;
  24623. end;
  24624. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  24625. begin
  24626. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24627. end;
  24628. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  24629. begin
  24630. pTDefRegMap(@Self)^.val := thebits;
  24631. end;
  24632. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  24633. begin
  24634. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24635. end;
  24636. procedure TI2C2_I2C2CON.setSEN; inline;
  24637. begin
  24638. pTDefRegMap(@Self)^.&set := $00000001;
  24639. end;
  24640. procedure TI2C2_I2C2CON.clearSEN; inline;
  24641. begin
  24642. pTDefRegMap(@Self)^.clr := $00000001;
  24643. end;
  24644. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  24645. begin
  24646. if thebits = 0 then
  24647. pTDefRegMap(@Self)^.clr := $00000001
  24648. else
  24649. pTDefRegMap(@Self)^.&set := $00000001;
  24650. end;
  24651. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  24652. begin
  24653. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24654. end;
  24655. procedure TI2C2_I2C2CON.setRSEN; inline;
  24656. begin
  24657. pTDefRegMap(@Self)^.&set := $00000002;
  24658. end;
  24659. procedure TI2C2_I2C2CON.clearRSEN; inline;
  24660. begin
  24661. pTDefRegMap(@Self)^.clr := $00000002;
  24662. end;
  24663. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  24664. begin
  24665. if thebits = 0 then
  24666. pTDefRegMap(@Self)^.clr := $00000002
  24667. else
  24668. pTDefRegMap(@Self)^.&set := $00000002;
  24669. end;
  24670. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  24671. begin
  24672. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24673. end;
  24674. procedure TI2C2_I2C2CON.setPEN; inline;
  24675. begin
  24676. pTDefRegMap(@Self)^.&set := $00000004;
  24677. end;
  24678. procedure TI2C2_I2C2CON.clearPEN; inline;
  24679. begin
  24680. pTDefRegMap(@Self)^.clr := $00000004;
  24681. end;
  24682. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  24683. begin
  24684. if thebits = 0 then
  24685. pTDefRegMap(@Self)^.clr := $00000004
  24686. else
  24687. pTDefRegMap(@Self)^.&set := $00000004;
  24688. end;
  24689. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  24690. begin
  24691. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24692. end;
  24693. procedure TI2C2_I2C2CON.setRCEN; inline;
  24694. begin
  24695. pTDefRegMap(@Self)^.&set := $00000008;
  24696. end;
  24697. procedure TI2C2_I2C2CON.clearRCEN; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.clr := $00000008;
  24700. end;
  24701. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  24702. begin
  24703. if thebits = 0 then
  24704. pTDefRegMap(@Self)^.clr := $00000008
  24705. else
  24706. pTDefRegMap(@Self)^.&set := $00000008;
  24707. end;
  24708. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  24709. begin
  24710. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24711. end;
  24712. procedure TI2C2_I2C2CON.setACKEN; inline;
  24713. begin
  24714. pTDefRegMap(@Self)^.&set := $00000010;
  24715. end;
  24716. procedure TI2C2_I2C2CON.clearACKEN; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.clr := $00000010;
  24719. end;
  24720. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  24721. begin
  24722. if thebits = 0 then
  24723. pTDefRegMap(@Self)^.clr := $00000010
  24724. else
  24725. pTDefRegMap(@Self)^.&set := $00000010;
  24726. end;
  24727. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  24728. begin
  24729. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24730. end;
  24731. procedure TI2C2_I2C2CON.setACKDT; inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.&set := $00000020;
  24734. end;
  24735. procedure TI2C2_I2C2CON.clearACKDT; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.clr := $00000020;
  24738. end;
  24739. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  24740. begin
  24741. if thebits = 0 then
  24742. pTDefRegMap(@Self)^.clr := $00000020
  24743. else
  24744. pTDefRegMap(@Self)^.&set := $00000020;
  24745. end;
  24746. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  24747. begin
  24748. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24749. end;
  24750. procedure TI2C2_I2C2CON.setSTREN; inline;
  24751. begin
  24752. pTDefRegMap(@Self)^.&set := $00000040;
  24753. end;
  24754. procedure TI2C2_I2C2CON.clearSTREN; inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.clr := $00000040;
  24757. end;
  24758. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  24759. begin
  24760. if thebits = 0 then
  24761. pTDefRegMap(@Self)^.clr := $00000040
  24762. else
  24763. pTDefRegMap(@Self)^.&set := $00000040;
  24764. end;
  24765. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  24766. begin
  24767. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24768. end;
  24769. procedure TI2C2_I2C2CON.setGCEN; inline;
  24770. begin
  24771. pTDefRegMap(@Self)^.&set := $00000080;
  24772. end;
  24773. procedure TI2C2_I2C2CON.clearGCEN; inline;
  24774. begin
  24775. pTDefRegMap(@Self)^.clr := $00000080;
  24776. end;
  24777. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  24778. begin
  24779. if thebits = 0 then
  24780. pTDefRegMap(@Self)^.clr := $00000080
  24781. else
  24782. pTDefRegMap(@Self)^.&set := $00000080;
  24783. end;
  24784. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  24785. begin
  24786. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24787. end;
  24788. procedure TI2C2_I2C2CON.setSMEN; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.&set := $00000100;
  24791. end;
  24792. procedure TI2C2_I2C2CON.clearSMEN; inline;
  24793. begin
  24794. pTDefRegMap(@Self)^.clr := $00000100;
  24795. end;
  24796. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  24797. begin
  24798. if thebits = 0 then
  24799. pTDefRegMap(@Self)^.clr := $00000100
  24800. else
  24801. pTDefRegMap(@Self)^.&set := $00000100;
  24802. end;
  24803. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  24804. begin
  24805. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24806. end;
  24807. procedure TI2C2_I2C2CON.setDISSLW; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.&set := $00000200;
  24810. end;
  24811. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  24812. begin
  24813. pTDefRegMap(@Self)^.clr := $00000200;
  24814. end;
  24815. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  24816. begin
  24817. if thebits = 0 then
  24818. pTDefRegMap(@Self)^.clr := $00000200
  24819. else
  24820. pTDefRegMap(@Self)^.&set := $00000200;
  24821. end;
  24822. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  24823. begin
  24824. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24825. end;
  24826. procedure TI2C2_I2C2CON.setA10M; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.&set := $00000400;
  24829. end;
  24830. procedure TI2C2_I2C2CON.clearA10M; inline;
  24831. begin
  24832. pTDefRegMap(@Self)^.clr := $00000400;
  24833. end;
  24834. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  24835. begin
  24836. if thebits = 0 then
  24837. pTDefRegMap(@Self)^.clr := $00000400
  24838. else
  24839. pTDefRegMap(@Self)^.&set := $00000400;
  24840. end;
  24841. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  24842. begin
  24843. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24844. end;
  24845. procedure TI2C2_I2C2CON.setSTRICT; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.&set := $00000800;
  24848. end;
  24849. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  24850. begin
  24851. pTDefRegMap(@Self)^.clr := $00000800;
  24852. end;
  24853. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  24854. begin
  24855. if thebits = 0 then
  24856. pTDefRegMap(@Self)^.clr := $00000800
  24857. else
  24858. pTDefRegMap(@Self)^.&set := $00000800;
  24859. end;
  24860. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  24861. begin
  24862. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24863. end;
  24864. procedure TI2C2_I2C2CON.setSCLREL; inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.&set := $00001000;
  24867. end;
  24868. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  24869. begin
  24870. pTDefRegMap(@Self)^.clr := $00001000;
  24871. end;
  24872. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  24873. begin
  24874. if thebits = 0 then
  24875. pTDefRegMap(@Self)^.clr := $00001000
  24876. else
  24877. pTDefRegMap(@Self)^.&set := $00001000;
  24878. end;
  24879. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  24880. begin
  24881. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24882. end;
  24883. procedure TI2C2_I2C2CON.setSIDL; inline;
  24884. begin
  24885. pTDefRegMap(@Self)^.&set := $00002000;
  24886. end;
  24887. procedure TI2C2_I2C2CON.clearSIDL; inline;
  24888. begin
  24889. pTDefRegMap(@Self)^.clr := $00002000;
  24890. end;
  24891. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  24892. begin
  24893. if thebits = 0 then
  24894. pTDefRegMap(@Self)^.clr := $00002000
  24895. else
  24896. pTDefRegMap(@Self)^.&set := $00002000;
  24897. end;
  24898. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  24899. begin
  24900. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24901. end;
  24902. procedure TI2C2_I2C2CON.setON; inline;
  24903. begin
  24904. pTDefRegMap(@Self)^.&set := $00008000;
  24905. end;
  24906. procedure TI2C2_I2C2CON.clearON; inline;
  24907. begin
  24908. pTDefRegMap(@Self)^.clr := $00008000;
  24909. end;
  24910. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  24911. begin
  24912. if thebits = 0 then
  24913. pTDefRegMap(@Self)^.clr := $00008000
  24914. else
  24915. pTDefRegMap(@Self)^.&set := $00008000;
  24916. end;
  24917. function TI2C2_I2C2CON.getON : TBits_1; inline;
  24918. begin
  24919. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24920. end;
  24921. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  24922. begin
  24923. pTDefRegMap(@Self)^.&set := $00000800;
  24924. end;
  24925. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  24926. begin
  24927. pTDefRegMap(@Self)^.clr := $00000800;
  24928. end;
  24929. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  24930. begin
  24931. if thebits = 0 then
  24932. pTDefRegMap(@Self)^.clr := $00000800
  24933. else
  24934. pTDefRegMap(@Self)^.&set := $00000800;
  24935. end;
  24936. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  24937. begin
  24938. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24939. end;
  24940. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  24941. begin
  24942. pTDefRegMap(@Self)^.&set := $00002000;
  24943. end;
  24944. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  24945. begin
  24946. pTDefRegMap(@Self)^.clr := $00002000;
  24947. end;
  24948. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  24949. begin
  24950. if thebits = 0 then
  24951. pTDefRegMap(@Self)^.clr := $00002000
  24952. else
  24953. pTDefRegMap(@Self)^.&set := $00002000;
  24954. end;
  24955. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  24956. begin
  24957. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24958. end;
  24959. procedure TI2C2_I2C2CON.setI2CEN; inline;
  24960. begin
  24961. pTDefRegMap(@Self)^.&set := $00008000;
  24962. end;
  24963. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  24964. begin
  24965. pTDefRegMap(@Self)^.clr := $00008000;
  24966. end;
  24967. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  24968. begin
  24969. if thebits = 0 then
  24970. pTDefRegMap(@Self)^.clr := $00008000
  24971. else
  24972. pTDefRegMap(@Self)^.&set := $00008000;
  24973. end;
  24974. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  24975. begin
  24976. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24977. end;
  24978. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  24979. begin
  24980. pTDefRegMap(@Self)^.val := thebits;
  24981. end;
  24982. function TI2C2_I2C2CON.getw : TBits_32; inline;
  24983. begin
  24984. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24985. end;
  24986. procedure TI2C2_I2C2STAT.setTBF; inline;
  24987. begin
  24988. pTDefRegMap(@Self)^.&set := $00000001;
  24989. end;
  24990. procedure TI2C2_I2C2STAT.clearTBF; inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.clr := $00000001;
  24993. end;
  24994. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  24995. begin
  24996. if thebits = 0 then
  24997. pTDefRegMap(@Self)^.clr := $00000001
  24998. else
  24999. pTDefRegMap(@Self)^.&set := $00000001;
  25000. end;
  25001. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  25002. begin
  25003. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25004. end;
  25005. procedure TI2C2_I2C2STAT.setRBF; inline;
  25006. begin
  25007. pTDefRegMap(@Self)^.&set := $00000002;
  25008. end;
  25009. procedure TI2C2_I2C2STAT.clearRBF; inline;
  25010. begin
  25011. pTDefRegMap(@Self)^.clr := $00000002;
  25012. end;
  25013. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  25014. begin
  25015. if thebits = 0 then
  25016. pTDefRegMap(@Self)^.clr := $00000002
  25017. else
  25018. pTDefRegMap(@Self)^.&set := $00000002;
  25019. end;
  25020. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  25021. begin
  25022. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25023. end;
  25024. procedure TI2C2_I2C2STAT.setR_W; inline;
  25025. begin
  25026. pTDefRegMap(@Self)^.&set := $00000004;
  25027. end;
  25028. procedure TI2C2_I2C2STAT.clearR_W; inline;
  25029. begin
  25030. pTDefRegMap(@Self)^.clr := $00000004;
  25031. end;
  25032. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  25033. begin
  25034. if thebits = 0 then
  25035. pTDefRegMap(@Self)^.clr := $00000004
  25036. else
  25037. pTDefRegMap(@Self)^.&set := $00000004;
  25038. end;
  25039. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  25040. begin
  25041. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25042. end;
  25043. procedure TI2C2_I2C2STAT.setS; inline;
  25044. begin
  25045. pTDefRegMap(@Self)^.&set := $00000008;
  25046. end;
  25047. procedure TI2C2_I2C2STAT.clearS; inline;
  25048. begin
  25049. pTDefRegMap(@Self)^.clr := $00000008;
  25050. end;
  25051. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  25052. begin
  25053. if thebits = 0 then
  25054. pTDefRegMap(@Self)^.clr := $00000008
  25055. else
  25056. pTDefRegMap(@Self)^.&set := $00000008;
  25057. end;
  25058. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  25059. begin
  25060. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25061. end;
  25062. procedure TI2C2_I2C2STAT.setP; inline;
  25063. begin
  25064. pTDefRegMap(@Self)^.&set := $00000010;
  25065. end;
  25066. procedure TI2C2_I2C2STAT.clearP; inline;
  25067. begin
  25068. pTDefRegMap(@Self)^.clr := $00000010;
  25069. end;
  25070. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  25071. begin
  25072. if thebits = 0 then
  25073. pTDefRegMap(@Self)^.clr := $00000010
  25074. else
  25075. pTDefRegMap(@Self)^.&set := $00000010;
  25076. end;
  25077. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  25078. begin
  25079. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25080. end;
  25081. procedure TI2C2_I2C2STAT.setD_A; inline;
  25082. begin
  25083. pTDefRegMap(@Self)^.&set := $00000020;
  25084. end;
  25085. procedure TI2C2_I2C2STAT.clearD_A; inline;
  25086. begin
  25087. pTDefRegMap(@Self)^.clr := $00000020;
  25088. end;
  25089. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  25090. begin
  25091. if thebits = 0 then
  25092. pTDefRegMap(@Self)^.clr := $00000020
  25093. else
  25094. pTDefRegMap(@Self)^.&set := $00000020;
  25095. end;
  25096. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  25097. begin
  25098. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25099. end;
  25100. procedure TI2C2_I2C2STAT.setI2COV; inline;
  25101. begin
  25102. pTDefRegMap(@Self)^.&set := $00000040;
  25103. end;
  25104. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  25105. begin
  25106. pTDefRegMap(@Self)^.clr := $00000040;
  25107. end;
  25108. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  25109. begin
  25110. if thebits = 0 then
  25111. pTDefRegMap(@Self)^.clr := $00000040
  25112. else
  25113. pTDefRegMap(@Self)^.&set := $00000040;
  25114. end;
  25115. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  25116. begin
  25117. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25118. end;
  25119. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  25120. begin
  25121. pTDefRegMap(@Self)^.&set := $00000080;
  25122. end;
  25123. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  25124. begin
  25125. pTDefRegMap(@Self)^.clr := $00000080;
  25126. end;
  25127. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  25128. begin
  25129. if thebits = 0 then
  25130. pTDefRegMap(@Self)^.clr := $00000080
  25131. else
  25132. pTDefRegMap(@Self)^.&set := $00000080;
  25133. end;
  25134. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  25135. begin
  25136. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25137. end;
  25138. procedure TI2C2_I2C2STAT.setADD10; inline;
  25139. begin
  25140. pTDefRegMap(@Self)^.&set := $00000100;
  25141. end;
  25142. procedure TI2C2_I2C2STAT.clearADD10; inline;
  25143. begin
  25144. pTDefRegMap(@Self)^.clr := $00000100;
  25145. end;
  25146. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  25147. begin
  25148. if thebits = 0 then
  25149. pTDefRegMap(@Self)^.clr := $00000100
  25150. else
  25151. pTDefRegMap(@Self)^.&set := $00000100;
  25152. end;
  25153. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  25154. begin
  25155. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25156. end;
  25157. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  25158. begin
  25159. pTDefRegMap(@Self)^.&set := $00000200;
  25160. end;
  25161. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  25162. begin
  25163. pTDefRegMap(@Self)^.clr := $00000200;
  25164. end;
  25165. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  25166. begin
  25167. if thebits = 0 then
  25168. pTDefRegMap(@Self)^.clr := $00000200
  25169. else
  25170. pTDefRegMap(@Self)^.&set := $00000200;
  25171. end;
  25172. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  25173. begin
  25174. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25175. end;
  25176. procedure TI2C2_I2C2STAT.setBCL; inline;
  25177. begin
  25178. pTDefRegMap(@Self)^.&set := $00000400;
  25179. end;
  25180. procedure TI2C2_I2C2STAT.clearBCL; inline;
  25181. begin
  25182. pTDefRegMap(@Self)^.clr := $00000400;
  25183. end;
  25184. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  25185. begin
  25186. if thebits = 0 then
  25187. pTDefRegMap(@Self)^.clr := $00000400
  25188. else
  25189. pTDefRegMap(@Self)^.&set := $00000400;
  25190. end;
  25191. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  25192. begin
  25193. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25194. end;
  25195. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  25196. begin
  25197. pTDefRegMap(@Self)^.&set := $00004000;
  25198. end;
  25199. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  25200. begin
  25201. pTDefRegMap(@Self)^.clr := $00004000;
  25202. end;
  25203. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  25204. begin
  25205. if thebits = 0 then
  25206. pTDefRegMap(@Self)^.clr := $00004000
  25207. else
  25208. pTDefRegMap(@Self)^.&set := $00004000;
  25209. end;
  25210. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  25211. begin
  25212. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25213. end;
  25214. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  25215. begin
  25216. pTDefRegMap(@Self)^.&set := $00008000;
  25217. end;
  25218. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  25219. begin
  25220. pTDefRegMap(@Self)^.clr := $00008000;
  25221. end;
  25222. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  25223. begin
  25224. if thebits = 0 then
  25225. pTDefRegMap(@Self)^.clr := $00008000
  25226. else
  25227. pTDefRegMap(@Self)^.&set := $00008000;
  25228. end;
  25229. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  25230. begin
  25231. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25232. end;
  25233. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  25234. begin
  25235. pTDefRegMap(@Self)^.&set := $00000040;
  25236. end;
  25237. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  25238. begin
  25239. pTDefRegMap(@Self)^.clr := $00000040;
  25240. end;
  25241. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  25242. begin
  25243. if thebits = 0 then
  25244. pTDefRegMap(@Self)^.clr := $00000040
  25245. else
  25246. pTDefRegMap(@Self)^.&set := $00000040;
  25247. end;
  25248. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  25249. begin
  25250. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25251. end;
  25252. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  25253. begin
  25254. pTDefRegMap(@Self)^.val := thebits;
  25255. end;
  25256. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  25257. begin
  25258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25259. end;
  25260. procedure TSPI1A_SPI1ACON.setSRXISEL(thebits : TBits_2); inline;
  25261. begin
  25262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25263. end;
  25264. function TSPI1A_SPI1ACON.getSRXISEL : TBits_2; inline;
  25265. begin
  25266. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25267. end;
  25268. procedure TSPI1A_SPI1ACON.setSTXISEL(thebits : TBits_2); inline;
  25269. begin
  25270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25271. end;
  25272. function TSPI1A_SPI1ACON.getSTXISEL : TBits_2; inline;
  25273. begin
  25274. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25275. end;
  25276. procedure TSPI1A_SPI1ACON.setMSTEN; inline;
  25277. begin
  25278. pTDefRegMap(@Self)^.&set := $00000020;
  25279. end;
  25280. procedure TSPI1A_SPI1ACON.clearMSTEN; inline;
  25281. begin
  25282. pTDefRegMap(@Self)^.clr := $00000020;
  25283. end;
  25284. procedure TSPI1A_SPI1ACON.setMSTEN(thebits : TBits_1); inline;
  25285. begin
  25286. if thebits = 0 then
  25287. pTDefRegMap(@Self)^.clr := $00000020
  25288. else
  25289. pTDefRegMap(@Self)^.&set := $00000020;
  25290. end;
  25291. function TSPI1A_SPI1ACON.getMSTEN : TBits_1; inline;
  25292. begin
  25293. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25294. end;
  25295. procedure TSPI1A_SPI1ACON.setCKP; inline;
  25296. begin
  25297. pTDefRegMap(@Self)^.&set := $00000040;
  25298. end;
  25299. procedure TSPI1A_SPI1ACON.clearCKP; inline;
  25300. begin
  25301. pTDefRegMap(@Self)^.clr := $00000040;
  25302. end;
  25303. procedure TSPI1A_SPI1ACON.setCKP(thebits : TBits_1); inline;
  25304. begin
  25305. if thebits = 0 then
  25306. pTDefRegMap(@Self)^.clr := $00000040
  25307. else
  25308. pTDefRegMap(@Self)^.&set := $00000040;
  25309. end;
  25310. function TSPI1A_SPI1ACON.getCKP : TBits_1; inline;
  25311. begin
  25312. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25313. end;
  25314. procedure TSPI1A_SPI1ACON.setSSEN; inline;
  25315. begin
  25316. pTDefRegMap(@Self)^.&set := $00000080;
  25317. end;
  25318. procedure TSPI1A_SPI1ACON.clearSSEN; inline;
  25319. begin
  25320. pTDefRegMap(@Self)^.clr := $00000080;
  25321. end;
  25322. procedure TSPI1A_SPI1ACON.setSSEN(thebits : TBits_1); inline;
  25323. begin
  25324. if thebits = 0 then
  25325. pTDefRegMap(@Self)^.clr := $00000080
  25326. else
  25327. pTDefRegMap(@Self)^.&set := $00000080;
  25328. end;
  25329. function TSPI1A_SPI1ACON.getSSEN : TBits_1; inline;
  25330. begin
  25331. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25332. end;
  25333. procedure TSPI1A_SPI1ACON.setCKE; inline;
  25334. begin
  25335. pTDefRegMap(@Self)^.&set := $00000100;
  25336. end;
  25337. procedure TSPI1A_SPI1ACON.clearCKE; inline;
  25338. begin
  25339. pTDefRegMap(@Self)^.clr := $00000100;
  25340. end;
  25341. procedure TSPI1A_SPI1ACON.setCKE(thebits : TBits_1); inline;
  25342. begin
  25343. if thebits = 0 then
  25344. pTDefRegMap(@Self)^.clr := $00000100
  25345. else
  25346. pTDefRegMap(@Self)^.&set := $00000100;
  25347. end;
  25348. function TSPI1A_SPI1ACON.getCKE : TBits_1; inline;
  25349. begin
  25350. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25351. end;
  25352. procedure TSPI1A_SPI1ACON.setSMP; inline;
  25353. begin
  25354. pTDefRegMap(@Self)^.&set := $00000200;
  25355. end;
  25356. procedure TSPI1A_SPI1ACON.clearSMP; inline;
  25357. begin
  25358. pTDefRegMap(@Self)^.clr := $00000200;
  25359. end;
  25360. procedure TSPI1A_SPI1ACON.setSMP(thebits : TBits_1); inline;
  25361. begin
  25362. if thebits = 0 then
  25363. pTDefRegMap(@Self)^.clr := $00000200
  25364. else
  25365. pTDefRegMap(@Self)^.&set := $00000200;
  25366. end;
  25367. function TSPI1A_SPI1ACON.getSMP : TBits_1; inline;
  25368. begin
  25369. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25370. end;
  25371. procedure TSPI1A_SPI1ACON.setMODE16; inline;
  25372. begin
  25373. pTDefRegMap(@Self)^.&set := $00000400;
  25374. end;
  25375. procedure TSPI1A_SPI1ACON.clearMODE16; inline;
  25376. begin
  25377. pTDefRegMap(@Self)^.clr := $00000400;
  25378. end;
  25379. procedure TSPI1A_SPI1ACON.setMODE16(thebits : TBits_1); inline;
  25380. begin
  25381. if thebits = 0 then
  25382. pTDefRegMap(@Self)^.clr := $00000400
  25383. else
  25384. pTDefRegMap(@Self)^.&set := $00000400;
  25385. end;
  25386. function TSPI1A_SPI1ACON.getMODE16 : TBits_1; inline;
  25387. begin
  25388. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25389. end;
  25390. procedure TSPI1A_SPI1ACON.setMODE32; inline;
  25391. begin
  25392. pTDefRegMap(@Self)^.&set := $00000800;
  25393. end;
  25394. procedure TSPI1A_SPI1ACON.clearMODE32; inline;
  25395. begin
  25396. pTDefRegMap(@Self)^.clr := $00000800;
  25397. end;
  25398. procedure TSPI1A_SPI1ACON.setMODE32(thebits : TBits_1); inline;
  25399. begin
  25400. if thebits = 0 then
  25401. pTDefRegMap(@Self)^.clr := $00000800
  25402. else
  25403. pTDefRegMap(@Self)^.&set := $00000800;
  25404. end;
  25405. function TSPI1A_SPI1ACON.getMODE32 : TBits_1; inline;
  25406. begin
  25407. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25408. end;
  25409. procedure TSPI1A_SPI1ACON.setDISSDO; inline;
  25410. begin
  25411. pTDefRegMap(@Self)^.&set := $00001000;
  25412. end;
  25413. procedure TSPI1A_SPI1ACON.clearDISSDO; inline;
  25414. begin
  25415. pTDefRegMap(@Self)^.clr := $00001000;
  25416. end;
  25417. procedure TSPI1A_SPI1ACON.setDISSDO(thebits : TBits_1); inline;
  25418. begin
  25419. if thebits = 0 then
  25420. pTDefRegMap(@Self)^.clr := $00001000
  25421. else
  25422. pTDefRegMap(@Self)^.&set := $00001000;
  25423. end;
  25424. function TSPI1A_SPI1ACON.getDISSDO : TBits_1; inline;
  25425. begin
  25426. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25427. end;
  25428. procedure TSPI1A_SPI1ACON.setSIDL; inline;
  25429. begin
  25430. pTDefRegMap(@Self)^.&set := $00002000;
  25431. end;
  25432. procedure TSPI1A_SPI1ACON.clearSIDL; inline;
  25433. begin
  25434. pTDefRegMap(@Self)^.clr := $00002000;
  25435. end;
  25436. procedure TSPI1A_SPI1ACON.setSIDL(thebits : TBits_1); inline;
  25437. begin
  25438. if thebits = 0 then
  25439. pTDefRegMap(@Self)^.clr := $00002000
  25440. else
  25441. pTDefRegMap(@Self)^.&set := $00002000;
  25442. end;
  25443. function TSPI1A_SPI1ACON.getSIDL : TBits_1; inline;
  25444. begin
  25445. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25446. end;
  25447. procedure TSPI1A_SPI1ACON.setON; inline;
  25448. begin
  25449. pTDefRegMap(@Self)^.&set := $00008000;
  25450. end;
  25451. procedure TSPI1A_SPI1ACON.clearON; inline;
  25452. begin
  25453. pTDefRegMap(@Self)^.clr := $00008000;
  25454. end;
  25455. procedure TSPI1A_SPI1ACON.setON(thebits : TBits_1); inline;
  25456. begin
  25457. if thebits = 0 then
  25458. pTDefRegMap(@Self)^.clr := $00008000
  25459. else
  25460. pTDefRegMap(@Self)^.&set := $00008000;
  25461. end;
  25462. function TSPI1A_SPI1ACON.getON : TBits_1; inline;
  25463. begin
  25464. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25465. end;
  25466. procedure TSPI1A_SPI1ACON.setENHBUF; inline;
  25467. begin
  25468. pTDefRegMap(@Self)^.&set := $00010000;
  25469. end;
  25470. procedure TSPI1A_SPI1ACON.clearENHBUF; inline;
  25471. begin
  25472. pTDefRegMap(@Self)^.clr := $00010000;
  25473. end;
  25474. procedure TSPI1A_SPI1ACON.setENHBUF(thebits : TBits_1); inline;
  25475. begin
  25476. if thebits = 0 then
  25477. pTDefRegMap(@Self)^.clr := $00010000
  25478. else
  25479. pTDefRegMap(@Self)^.&set := $00010000;
  25480. end;
  25481. function TSPI1A_SPI1ACON.getENHBUF : TBits_1; inline;
  25482. begin
  25483. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25484. end;
  25485. procedure TSPI1A_SPI1ACON.setSPIFE; inline;
  25486. begin
  25487. pTDefRegMap(@Self)^.&set := $00020000;
  25488. end;
  25489. procedure TSPI1A_SPI1ACON.clearSPIFE; inline;
  25490. begin
  25491. pTDefRegMap(@Self)^.clr := $00020000;
  25492. end;
  25493. procedure TSPI1A_SPI1ACON.setSPIFE(thebits : TBits_1); inline;
  25494. begin
  25495. if thebits = 0 then
  25496. pTDefRegMap(@Self)^.clr := $00020000
  25497. else
  25498. pTDefRegMap(@Self)^.&set := $00020000;
  25499. end;
  25500. function TSPI1A_SPI1ACON.getSPIFE : TBits_1; inline;
  25501. begin
  25502. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25503. end;
  25504. procedure TSPI1A_SPI1ACON.setFRMCNT(thebits : TBits_3); inline;
  25505. begin
  25506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25507. end;
  25508. function TSPI1A_SPI1ACON.getFRMCNT : TBits_3; inline;
  25509. begin
  25510. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25511. end;
  25512. procedure TSPI1A_SPI1ACON.setFRMSYPW; inline;
  25513. begin
  25514. pTDefRegMap(@Self)^.&set := $08000000;
  25515. end;
  25516. procedure TSPI1A_SPI1ACON.clearFRMSYPW; inline;
  25517. begin
  25518. pTDefRegMap(@Self)^.clr := $08000000;
  25519. end;
  25520. procedure TSPI1A_SPI1ACON.setFRMSYPW(thebits : TBits_1); inline;
  25521. begin
  25522. if thebits = 0 then
  25523. pTDefRegMap(@Self)^.clr := $08000000
  25524. else
  25525. pTDefRegMap(@Self)^.&set := $08000000;
  25526. end;
  25527. function TSPI1A_SPI1ACON.getFRMSYPW : TBits_1; inline;
  25528. begin
  25529. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25530. end;
  25531. procedure TSPI1A_SPI1ACON.setMSSEN; inline;
  25532. begin
  25533. pTDefRegMap(@Self)^.&set := $10000000;
  25534. end;
  25535. procedure TSPI1A_SPI1ACON.clearMSSEN; inline;
  25536. begin
  25537. pTDefRegMap(@Self)^.clr := $10000000;
  25538. end;
  25539. procedure TSPI1A_SPI1ACON.setMSSEN(thebits : TBits_1); inline;
  25540. begin
  25541. if thebits = 0 then
  25542. pTDefRegMap(@Self)^.clr := $10000000
  25543. else
  25544. pTDefRegMap(@Self)^.&set := $10000000;
  25545. end;
  25546. function TSPI1A_SPI1ACON.getMSSEN : TBits_1; inline;
  25547. begin
  25548. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25549. end;
  25550. procedure TSPI1A_SPI1ACON.setFRMPOL; inline;
  25551. begin
  25552. pTDefRegMap(@Self)^.&set := $20000000;
  25553. end;
  25554. procedure TSPI1A_SPI1ACON.clearFRMPOL; inline;
  25555. begin
  25556. pTDefRegMap(@Self)^.clr := $20000000;
  25557. end;
  25558. procedure TSPI1A_SPI1ACON.setFRMPOL(thebits : TBits_1); inline;
  25559. begin
  25560. if thebits = 0 then
  25561. pTDefRegMap(@Self)^.clr := $20000000
  25562. else
  25563. pTDefRegMap(@Self)^.&set := $20000000;
  25564. end;
  25565. function TSPI1A_SPI1ACON.getFRMPOL : TBits_1; inline;
  25566. begin
  25567. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25568. end;
  25569. procedure TSPI1A_SPI1ACON.setFRMSYNC; inline;
  25570. begin
  25571. pTDefRegMap(@Self)^.&set := $40000000;
  25572. end;
  25573. procedure TSPI1A_SPI1ACON.clearFRMSYNC; inline;
  25574. begin
  25575. pTDefRegMap(@Self)^.clr := $40000000;
  25576. end;
  25577. procedure TSPI1A_SPI1ACON.setFRMSYNC(thebits : TBits_1); inline;
  25578. begin
  25579. if thebits = 0 then
  25580. pTDefRegMap(@Self)^.clr := $40000000
  25581. else
  25582. pTDefRegMap(@Self)^.&set := $40000000;
  25583. end;
  25584. function TSPI1A_SPI1ACON.getFRMSYNC : TBits_1; inline;
  25585. begin
  25586. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25587. end;
  25588. procedure TSPI1A_SPI1ACON.setFRMEN; inline;
  25589. begin
  25590. pTDefRegMap(@Self)^.&set := $80000000;
  25591. end;
  25592. procedure TSPI1A_SPI1ACON.clearFRMEN; inline;
  25593. begin
  25594. pTDefRegMap(@Self)^.clr := $80000000;
  25595. end;
  25596. procedure TSPI1A_SPI1ACON.setFRMEN(thebits : TBits_1); inline;
  25597. begin
  25598. if thebits = 0 then
  25599. pTDefRegMap(@Self)^.clr := $80000000
  25600. else
  25601. pTDefRegMap(@Self)^.&set := $80000000;
  25602. end;
  25603. function TSPI1A_SPI1ACON.getFRMEN : TBits_1; inline;
  25604. begin
  25605. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25606. end;
  25607. procedure TSPI1A_SPI1ACON.setw(thebits : TBits_32); inline;
  25608. begin
  25609. pTDefRegMap(@Self)^.val := thebits;
  25610. end;
  25611. function TSPI1A_SPI1ACON.getw : TBits_32; inline;
  25612. begin
  25613. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25614. end;
  25615. procedure TSPI1A_SPI3CON.setSRXISEL(thebits : TBits_2); inline;
  25616. begin
  25617. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25618. end;
  25619. function TSPI1A_SPI3CON.getSRXISEL : TBits_2; inline;
  25620. begin
  25621. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25622. end;
  25623. procedure TSPI1A_SPI3CON.setSTXISEL(thebits : TBits_2); inline;
  25624. begin
  25625. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25626. end;
  25627. function TSPI1A_SPI3CON.getSTXISEL : TBits_2; inline;
  25628. begin
  25629. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25630. end;
  25631. procedure TSPI1A_SPI3CON.setMSTEN; inline;
  25632. begin
  25633. pTDefRegMap(@Self)^.&set := $00000020;
  25634. end;
  25635. procedure TSPI1A_SPI3CON.clearMSTEN; inline;
  25636. begin
  25637. pTDefRegMap(@Self)^.clr := $00000020;
  25638. end;
  25639. procedure TSPI1A_SPI3CON.setMSTEN(thebits : TBits_1); inline;
  25640. begin
  25641. if thebits = 0 then
  25642. pTDefRegMap(@Self)^.clr := $00000020
  25643. else
  25644. pTDefRegMap(@Self)^.&set := $00000020;
  25645. end;
  25646. function TSPI1A_SPI3CON.getMSTEN : TBits_1; inline;
  25647. begin
  25648. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25649. end;
  25650. procedure TSPI1A_SPI3CON.setCKP; inline;
  25651. begin
  25652. pTDefRegMap(@Self)^.&set := $00000040;
  25653. end;
  25654. procedure TSPI1A_SPI3CON.clearCKP; inline;
  25655. begin
  25656. pTDefRegMap(@Self)^.clr := $00000040;
  25657. end;
  25658. procedure TSPI1A_SPI3CON.setCKP(thebits : TBits_1); inline;
  25659. begin
  25660. if thebits = 0 then
  25661. pTDefRegMap(@Self)^.clr := $00000040
  25662. else
  25663. pTDefRegMap(@Self)^.&set := $00000040;
  25664. end;
  25665. function TSPI1A_SPI3CON.getCKP : TBits_1; inline;
  25666. begin
  25667. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25668. end;
  25669. procedure TSPI1A_SPI3CON.setSSEN; inline;
  25670. begin
  25671. pTDefRegMap(@Self)^.&set := $00000080;
  25672. end;
  25673. procedure TSPI1A_SPI3CON.clearSSEN; inline;
  25674. begin
  25675. pTDefRegMap(@Self)^.clr := $00000080;
  25676. end;
  25677. procedure TSPI1A_SPI3CON.setSSEN(thebits : TBits_1); inline;
  25678. begin
  25679. if thebits = 0 then
  25680. pTDefRegMap(@Self)^.clr := $00000080
  25681. else
  25682. pTDefRegMap(@Self)^.&set := $00000080;
  25683. end;
  25684. function TSPI1A_SPI3CON.getSSEN : TBits_1; inline;
  25685. begin
  25686. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25687. end;
  25688. procedure TSPI1A_SPI3CON.setCKE; inline;
  25689. begin
  25690. pTDefRegMap(@Self)^.&set := $00000100;
  25691. end;
  25692. procedure TSPI1A_SPI3CON.clearCKE; inline;
  25693. begin
  25694. pTDefRegMap(@Self)^.clr := $00000100;
  25695. end;
  25696. procedure TSPI1A_SPI3CON.setCKE(thebits : TBits_1); inline;
  25697. begin
  25698. if thebits = 0 then
  25699. pTDefRegMap(@Self)^.clr := $00000100
  25700. else
  25701. pTDefRegMap(@Self)^.&set := $00000100;
  25702. end;
  25703. function TSPI1A_SPI3CON.getCKE : TBits_1; inline;
  25704. begin
  25705. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25706. end;
  25707. procedure TSPI1A_SPI3CON.setSMP; inline;
  25708. begin
  25709. pTDefRegMap(@Self)^.&set := $00000200;
  25710. end;
  25711. procedure TSPI1A_SPI3CON.clearSMP; inline;
  25712. begin
  25713. pTDefRegMap(@Self)^.clr := $00000200;
  25714. end;
  25715. procedure TSPI1A_SPI3CON.setSMP(thebits : TBits_1); inline;
  25716. begin
  25717. if thebits = 0 then
  25718. pTDefRegMap(@Self)^.clr := $00000200
  25719. else
  25720. pTDefRegMap(@Self)^.&set := $00000200;
  25721. end;
  25722. function TSPI1A_SPI3CON.getSMP : TBits_1; inline;
  25723. begin
  25724. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25725. end;
  25726. procedure TSPI1A_SPI3CON.setMODE16; inline;
  25727. begin
  25728. pTDefRegMap(@Self)^.&set := $00000400;
  25729. end;
  25730. procedure TSPI1A_SPI3CON.clearMODE16; inline;
  25731. begin
  25732. pTDefRegMap(@Self)^.clr := $00000400;
  25733. end;
  25734. procedure TSPI1A_SPI3CON.setMODE16(thebits : TBits_1); inline;
  25735. begin
  25736. if thebits = 0 then
  25737. pTDefRegMap(@Self)^.clr := $00000400
  25738. else
  25739. pTDefRegMap(@Self)^.&set := $00000400;
  25740. end;
  25741. function TSPI1A_SPI3CON.getMODE16 : TBits_1; inline;
  25742. begin
  25743. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25744. end;
  25745. procedure TSPI1A_SPI3CON.setMODE32; inline;
  25746. begin
  25747. pTDefRegMap(@Self)^.&set := $00000800;
  25748. end;
  25749. procedure TSPI1A_SPI3CON.clearMODE32; inline;
  25750. begin
  25751. pTDefRegMap(@Self)^.clr := $00000800;
  25752. end;
  25753. procedure TSPI1A_SPI3CON.setMODE32(thebits : TBits_1); inline;
  25754. begin
  25755. if thebits = 0 then
  25756. pTDefRegMap(@Self)^.clr := $00000800
  25757. else
  25758. pTDefRegMap(@Self)^.&set := $00000800;
  25759. end;
  25760. function TSPI1A_SPI3CON.getMODE32 : TBits_1; inline;
  25761. begin
  25762. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25763. end;
  25764. procedure TSPI1A_SPI3CON.setDISSDO; inline;
  25765. begin
  25766. pTDefRegMap(@Self)^.&set := $00001000;
  25767. end;
  25768. procedure TSPI1A_SPI3CON.clearDISSDO; inline;
  25769. begin
  25770. pTDefRegMap(@Self)^.clr := $00001000;
  25771. end;
  25772. procedure TSPI1A_SPI3CON.setDISSDO(thebits : TBits_1); inline;
  25773. begin
  25774. if thebits = 0 then
  25775. pTDefRegMap(@Self)^.clr := $00001000
  25776. else
  25777. pTDefRegMap(@Self)^.&set := $00001000;
  25778. end;
  25779. function TSPI1A_SPI3CON.getDISSDO : TBits_1; inline;
  25780. begin
  25781. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25782. end;
  25783. procedure TSPI1A_SPI3CON.setSIDL; inline;
  25784. begin
  25785. pTDefRegMap(@Self)^.&set := $00002000;
  25786. end;
  25787. procedure TSPI1A_SPI3CON.clearSIDL; inline;
  25788. begin
  25789. pTDefRegMap(@Self)^.clr := $00002000;
  25790. end;
  25791. procedure TSPI1A_SPI3CON.setSIDL(thebits : TBits_1); inline;
  25792. begin
  25793. if thebits = 0 then
  25794. pTDefRegMap(@Self)^.clr := $00002000
  25795. else
  25796. pTDefRegMap(@Self)^.&set := $00002000;
  25797. end;
  25798. function TSPI1A_SPI3CON.getSIDL : TBits_1; inline;
  25799. begin
  25800. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25801. end;
  25802. procedure TSPI1A_SPI3CON.setON; inline;
  25803. begin
  25804. pTDefRegMap(@Self)^.&set := $00008000;
  25805. end;
  25806. procedure TSPI1A_SPI3CON.clearON; inline;
  25807. begin
  25808. pTDefRegMap(@Self)^.clr := $00008000;
  25809. end;
  25810. procedure TSPI1A_SPI3CON.setON(thebits : TBits_1); inline;
  25811. begin
  25812. if thebits = 0 then
  25813. pTDefRegMap(@Self)^.clr := $00008000
  25814. else
  25815. pTDefRegMap(@Self)^.&set := $00008000;
  25816. end;
  25817. function TSPI1A_SPI3CON.getON : TBits_1; inline;
  25818. begin
  25819. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25820. end;
  25821. procedure TSPI1A_SPI3CON.setENHBUF; inline;
  25822. begin
  25823. pTDefRegMap(@Self)^.&set := $00010000;
  25824. end;
  25825. procedure TSPI1A_SPI3CON.clearENHBUF; inline;
  25826. begin
  25827. pTDefRegMap(@Self)^.clr := $00010000;
  25828. end;
  25829. procedure TSPI1A_SPI3CON.setENHBUF(thebits : TBits_1); inline;
  25830. begin
  25831. if thebits = 0 then
  25832. pTDefRegMap(@Self)^.clr := $00010000
  25833. else
  25834. pTDefRegMap(@Self)^.&set := $00010000;
  25835. end;
  25836. function TSPI1A_SPI3CON.getENHBUF : TBits_1; inline;
  25837. begin
  25838. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25839. end;
  25840. procedure TSPI1A_SPI3CON.setSPIFE; inline;
  25841. begin
  25842. pTDefRegMap(@Self)^.&set := $00020000;
  25843. end;
  25844. procedure TSPI1A_SPI3CON.clearSPIFE; inline;
  25845. begin
  25846. pTDefRegMap(@Self)^.clr := $00020000;
  25847. end;
  25848. procedure TSPI1A_SPI3CON.setSPIFE(thebits : TBits_1); inline;
  25849. begin
  25850. if thebits = 0 then
  25851. pTDefRegMap(@Self)^.clr := $00020000
  25852. else
  25853. pTDefRegMap(@Self)^.&set := $00020000;
  25854. end;
  25855. function TSPI1A_SPI3CON.getSPIFE : TBits_1; inline;
  25856. begin
  25857. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25858. end;
  25859. procedure TSPI1A_SPI3CON.setFRMCNT(thebits : TBits_3); inline;
  25860. begin
  25861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25862. end;
  25863. function TSPI1A_SPI3CON.getFRMCNT : TBits_3; inline;
  25864. begin
  25865. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25866. end;
  25867. procedure TSPI1A_SPI3CON.setFRMSYPW; inline;
  25868. begin
  25869. pTDefRegMap(@Self)^.&set := $08000000;
  25870. end;
  25871. procedure TSPI1A_SPI3CON.clearFRMSYPW; inline;
  25872. begin
  25873. pTDefRegMap(@Self)^.clr := $08000000;
  25874. end;
  25875. procedure TSPI1A_SPI3CON.setFRMSYPW(thebits : TBits_1); inline;
  25876. begin
  25877. if thebits = 0 then
  25878. pTDefRegMap(@Self)^.clr := $08000000
  25879. else
  25880. pTDefRegMap(@Self)^.&set := $08000000;
  25881. end;
  25882. function TSPI1A_SPI3CON.getFRMSYPW : TBits_1; inline;
  25883. begin
  25884. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25885. end;
  25886. procedure TSPI1A_SPI3CON.setMSSEN; inline;
  25887. begin
  25888. pTDefRegMap(@Self)^.&set := $10000000;
  25889. end;
  25890. procedure TSPI1A_SPI3CON.clearMSSEN; inline;
  25891. begin
  25892. pTDefRegMap(@Self)^.clr := $10000000;
  25893. end;
  25894. procedure TSPI1A_SPI3CON.setMSSEN(thebits : TBits_1); inline;
  25895. begin
  25896. if thebits = 0 then
  25897. pTDefRegMap(@Self)^.clr := $10000000
  25898. else
  25899. pTDefRegMap(@Self)^.&set := $10000000;
  25900. end;
  25901. function TSPI1A_SPI3CON.getMSSEN : TBits_1; inline;
  25902. begin
  25903. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25904. end;
  25905. procedure TSPI1A_SPI3CON.setFRMPOL; inline;
  25906. begin
  25907. pTDefRegMap(@Self)^.&set := $20000000;
  25908. end;
  25909. procedure TSPI1A_SPI3CON.clearFRMPOL; inline;
  25910. begin
  25911. pTDefRegMap(@Self)^.clr := $20000000;
  25912. end;
  25913. procedure TSPI1A_SPI3CON.setFRMPOL(thebits : TBits_1); inline;
  25914. begin
  25915. if thebits = 0 then
  25916. pTDefRegMap(@Self)^.clr := $20000000
  25917. else
  25918. pTDefRegMap(@Self)^.&set := $20000000;
  25919. end;
  25920. function TSPI1A_SPI3CON.getFRMPOL : TBits_1; inline;
  25921. begin
  25922. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25923. end;
  25924. procedure TSPI1A_SPI3CON.setFRMSYNC; inline;
  25925. begin
  25926. pTDefRegMap(@Self)^.&set := $40000000;
  25927. end;
  25928. procedure TSPI1A_SPI3CON.clearFRMSYNC; inline;
  25929. begin
  25930. pTDefRegMap(@Self)^.clr := $40000000;
  25931. end;
  25932. procedure TSPI1A_SPI3CON.setFRMSYNC(thebits : TBits_1); inline;
  25933. begin
  25934. if thebits = 0 then
  25935. pTDefRegMap(@Self)^.clr := $40000000
  25936. else
  25937. pTDefRegMap(@Self)^.&set := $40000000;
  25938. end;
  25939. function TSPI1A_SPI3CON.getFRMSYNC : TBits_1; inline;
  25940. begin
  25941. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25942. end;
  25943. procedure TSPI1A_SPI3CON.setFRMEN; inline;
  25944. begin
  25945. pTDefRegMap(@Self)^.&set := $80000000;
  25946. end;
  25947. procedure TSPI1A_SPI3CON.clearFRMEN; inline;
  25948. begin
  25949. pTDefRegMap(@Self)^.clr := $80000000;
  25950. end;
  25951. procedure TSPI1A_SPI3CON.setFRMEN(thebits : TBits_1); inline;
  25952. begin
  25953. if thebits = 0 then
  25954. pTDefRegMap(@Self)^.clr := $80000000
  25955. else
  25956. pTDefRegMap(@Self)^.&set := $80000000;
  25957. end;
  25958. function TSPI1A_SPI3CON.getFRMEN : TBits_1; inline;
  25959. begin
  25960. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25961. end;
  25962. procedure TSPI1A_SPI3CON.setw(thebits : TBits_32); inline;
  25963. begin
  25964. pTDefRegMap(@Self)^.val := thebits;
  25965. end;
  25966. function TSPI1A_SPI3CON.getw : TBits_32; inline;
  25967. begin
  25968. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25969. end;
  25970. procedure TSPI1A_SPI1ASTAT.setSPIRBF; inline;
  25971. begin
  25972. pTDefRegMap(@Self)^.&set := $00000001;
  25973. end;
  25974. procedure TSPI1A_SPI1ASTAT.clearSPIRBF; inline;
  25975. begin
  25976. pTDefRegMap(@Self)^.clr := $00000001;
  25977. end;
  25978. procedure TSPI1A_SPI1ASTAT.setSPIRBF(thebits : TBits_1); inline;
  25979. begin
  25980. if thebits = 0 then
  25981. pTDefRegMap(@Self)^.clr := $00000001
  25982. else
  25983. pTDefRegMap(@Self)^.&set := $00000001;
  25984. end;
  25985. function TSPI1A_SPI1ASTAT.getSPIRBF : TBits_1; inline;
  25986. begin
  25987. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25988. end;
  25989. procedure TSPI1A_SPI1ASTAT.setSPITBF; inline;
  25990. begin
  25991. pTDefRegMap(@Self)^.&set := $00000002;
  25992. end;
  25993. procedure TSPI1A_SPI1ASTAT.clearSPITBF; inline;
  25994. begin
  25995. pTDefRegMap(@Self)^.clr := $00000002;
  25996. end;
  25997. procedure TSPI1A_SPI1ASTAT.setSPITBF(thebits : TBits_1); inline;
  25998. begin
  25999. if thebits = 0 then
  26000. pTDefRegMap(@Self)^.clr := $00000002
  26001. else
  26002. pTDefRegMap(@Self)^.&set := $00000002;
  26003. end;
  26004. function TSPI1A_SPI1ASTAT.getSPITBF : TBits_1; inline;
  26005. begin
  26006. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26007. end;
  26008. procedure TSPI1A_SPI1ASTAT.setSPITBE; inline;
  26009. begin
  26010. pTDefRegMap(@Self)^.&set := $00000008;
  26011. end;
  26012. procedure TSPI1A_SPI1ASTAT.clearSPITBE; inline;
  26013. begin
  26014. pTDefRegMap(@Self)^.clr := $00000008;
  26015. end;
  26016. procedure TSPI1A_SPI1ASTAT.setSPITBE(thebits : TBits_1); inline;
  26017. begin
  26018. if thebits = 0 then
  26019. pTDefRegMap(@Self)^.clr := $00000008
  26020. else
  26021. pTDefRegMap(@Self)^.&set := $00000008;
  26022. end;
  26023. function TSPI1A_SPI1ASTAT.getSPITBE : TBits_1; inline;
  26024. begin
  26025. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26026. end;
  26027. procedure TSPI1A_SPI1ASTAT.setSPIRBE; inline;
  26028. begin
  26029. pTDefRegMap(@Self)^.&set := $00000020;
  26030. end;
  26031. procedure TSPI1A_SPI1ASTAT.clearSPIRBE; inline;
  26032. begin
  26033. pTDefRegMap(@Self)^.clr := $00000020;
  26034. end;
  26035. procedure TSPI1A_SPI1ASTAT.setSPIRBE(thebits : TBits_1); inline;
  26036. begin
  26037. if thebits = 0 then
  26038. pTDefRegMap(@Self)^.clr := $00000020
  26039. else
  26040. pTDefRegMap(@Self)^.&set := $00000020;
  26041. end;
  26042. function TSPI1A_SPI1ASTAT.getSPIRBE : TBits_1; inline;
  26043. begin
  26044. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26045. end;
  26046. procedure TSPI1A_SPI1ASTAT.setSPIROV; inline;
  26047. begin
  26048. pTDefRegMap(@Self)^.&set := $00000040;
  26049. end;
  26050. procedure TSPI1A_SPI1ASTAT.clearSPIROV; inline;
  26051. begin
  26052. pTDefRegMap(@Self)^.clr := $00000040;
  26053. end;
  26054. procedure TSPI1A_SPI1ASTAT.setSPIROV(thebits : TBits_1); inline;
  26055. begin
  26056. if thebits = 0 then
  26057. pTDefRegMap(@Self)^.clr := $00000040
  26058. else
  26059. pTDefRegMap(@Self)^.&set := $00000040;
  26060. end;
  26061. function TSPI1A_SPI1ASTAT.getSPIROV : TBits_1; inline;
  26062. begin
  26063. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26064. end;
  26065. procedure TSPI1A_SPI1ASTAT.setSRMT; inline;
  26066. begin
  26067. pTDefRegMap(@Self)^.&set := $00000080;
  26068. end;
  26069. procedure TSPI1A_SPI1ASTAT.clearSRMT; inline;
  26070. begin
  26071. pTDefRegMap(@Self)^.clr := $00000080;
  26072. end;
  26073. procedure TSPI1A_SPI1ASTAT.setSRMT(thebits : TBits_1); inline;
  26074. begin
  26075. if thebits = 0 then
  26076. pTDefRegMap(@Self)^.clr := $00000080
  26077. else
  26078. pTDefRegMap(@Self)^.&set := $00000080;
  26079. end;
  26080. function TSPI1A_SPI1ASTAT.getSRMT : TBits_1; inline;
  26081. begin
  26082. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26083. end;
  26084. procedure TSPI1A_SPI1ASTAT.setSPITUR; inline;
  26085. begin
  26086. pTDefRegMap(@Self)^.&set := $00000100;
  26087. end;
  26088. procedure TSPI1A_SPI1ASTAT.clearSPITUR; inline;
  26089. begin
  26090. pTDefRegMap(@Self)^.clr := $00000100;
  26091. end;
  26092. procedure TSPI1A_SPI1ASTAT.setSPITUR(thebits : TBits_1); inline;
  26093. begin
  26094. if thebits = 0 then
  26095. pTDefRegMap(@Self)^.clr := $00000100
  26096. else
  26097. pTDefRegMap(@Self)^.&set := $00000100;
  26098. end;
  26099. function TSPI1A_SPI1ASTAT.getSPITUR : TBits_1; inline;
  26100. begin
  26101. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26102. end;
  26103. procedure TSPI1A_SPI1ASTAT.setSPIBUSY; inline;
  26104. begin
  26105. pTDefRegMap(@Self)^.&set := $00000800;
  26106. end;
  26107. procedure TSPI1A_SPI1ASTAT.clearSPIBUSY; inline;
  26108. begin
  26109. pTDefRegMap(@Self)^.clr := $00000800;
  26110. end;
  26111. procedure TSPI1A_SPI1ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  26112. begin
  26113. if thebits = 0 then
  26114. pTDefRegMap(@Self)^.clr := $00000800
  26115. else
  26116. pTDefRegMap(@Self)^.&set := $00000800;
  26117. end;
  26118. function TSPI1A_SPI1ASTAT.getSPIBUSY : TBits_1; inline;
  26119. begin
  26120. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26121. end;
  26122. procedure TSPI1A_SPI1ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  26123. begin
  26124. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26125. end;
  26126. function TSPI1A_SPI1ASTAT.getTXBUFELM : TBits_5; inline;
  26127. begin
  26128. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26129. end;
  26130. procedure TSPI1A_SPI1ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  26131. begin
  26132. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26133. end;
  26134. function TSPI1A_SPI1ASTAT.getRXBUFELM : TBits_5; inline;
  26135. begin
  26136. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26137. end;
  26138. procedure TSPI1A_SPI1ASTAT.setw(thebits : TBits_32); inline;
  26139. begin
  26140. pTDefRegMap(@Self)^.val := thebits;
  26141. end;
  26142. function TSPI1A_SPI1ASTAT.getw : TBits_32; inline;
  26143. begin
  26144. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26145. end;
  26146. procedure TSPI1A_SPI3STAT.setSPIRBF; inline;
  26147. begin
  26148. pTDefRegMap(@Self)^.&set := $00000001;
  26149. end;
  26150. procedure TSPI1A_SPI3STAT.clearSPIRBF; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.clr := $00000001;
  26153. end;
  26154. procedure TSPI1A_SPI3STAT.setSPIRBF(thebits : TBits_1); inline;
  26155. begin
  26156. if thebits = 0 then
  26157. pTDefRegMap(@Self)^.clr := $00000001
  26158. else
  26159. pTDefRegMap(@Self)^.&set := $00000001;
  26160. end;
  26161. function TSPI1A_SPI3STAT.getSPIRBF : TBits_1; inline;
  26162. begin
  26163. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26164. end;
  26165. procedure TSPI1A_SPI3STAT.setSPITBF; inline;
  26166. begin
  26167. pTDefRegMap(@Self)^.&set := $00000002;
  26168. end;
  26169. procedure TSPI1A_SPI3STAT.clearSPITBF; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.clr := $00000002;
  26172. end;
  26173. procedure TSPI1A_SPI3STAT.setSPITBF(thebits : TBits_1); inline;
  26174. begin
  26175. if thebits = 0 then
  26176. pTDefRegMap(@Self)^.clr := $00000002
  26177. else
  26178. pTDefRegMap(@Self)^.&set := $00000002;
  26179. end;
  26180. function TSPI1A_SPI3STAT.getSPITBF : TBits_1; inline;
  26181. begin
  26182. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26183. end;
  26184. procedure TSPI1A_SPI3STAT.setSPITBE; inline;
  26185. begin
  26186. pTDefRegMap(@Self)^.&set := $00000008;
  26187. end;
  26188. procedure TSPI1A_SPI3STAT.clearSPITBE; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.clr := $00000008;
  26191. end;
  26192. procedure TSPI1A_SPI3STAT.setSPITBE(thebits : TBits_1); inline;
  26193. begin
  26194. if thebits = 0 then
  26195. pTDefRegMap(@Self)^.clr := $00000008
  26196. else
  26197. pTDefRegMap(@Self)^.&set := $00000008;
  26198. end;
  26199. function TSPI1A_SPI3STAT.getSPITBE : TBits_1; inline;
  26200. begin
  26201. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26202. end;
  26203. procedure TSPI1A_SPI3STAT.setSPIRBE; inline;
  26204. begin
  26205. pTDefRegMap(@Self)^.&set := $00000020;
  26206. end;
  26207. procedure TSPI1A_SPI3STAT.clearSPIRBE; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.clr := $00000020;
  26210. end;
  26211. procedure TSPI1A_SPI3STAT.setSPIRBE(thebits : TBits_1); inline;
  26212. begin
  26213. if thebits = 0 then
  26214. pTDefRegMap(@Self)^.clr := $00000020
  26215. else
  26216. pTDefRegMap(@Self)^.&set := $00000020;
  26217. end;
  26218. function TSPI1A_SPI3STAT.getSPIRBE : TBits_1; inline;
  26219. begin
  26220. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26221. end;
  26222. procedure TSPI1A_SPI3STAT.setSPIROV; inline;
  26223. begin
  26224. pTDefRegMap(@Self)^.&set := $00000040;
  26225. end;
  26226. procedure TSPI1A_SPI3STAT.clearSPIROV; inline;
  26227. begin
  26228. pTDefRegMap(@Self)^.clr := $00000040;
  26229. end;
  26230. procedure TSPI1A_SPI3STAT.setSPIROV(thebits : TBits_1); inline;
  26231. begin
  26232. if thebits = 0 then
  26233. pTDefRegMap(@Self)^.clr := $00000040
  26234. else
  26235. pTDefRegMap(@Self)^.&set := $00000040;
  26236. end;
  26237. function TSPI1A_SPI3STAT.getSPIROV : TBits_1; inline;
  26238. begin
  26239. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26240. end;
  26241. procedure TSPI1A_SPI3STAT.setSRMT; inline;
  26242. begin
  26243. pTDefRegMap(@Self)^.&set := $00000080;
  26244. end;
  26245. procedure TSPI1A_SPI3STAT.clearSRMT; inline;
  26246. begin
  26247. pTDefRegMap(@Self)^.clr := $00000080;
  26248. end;
  26249. procedure TSPI1A_SPI3STAT.setSRMT(thebits : TBits_1); inline;
  26250. begin
  26251. if thebits = 0 then
  26252. pTDefRegMap(@Self)^.clr := $00000080
  26253. else
  26254. pTDefRegMap(@Self)^.&set := $00000080;
  26255. end;
  26256. function TSPI1A_SPI3STAT.getSRMT : TBits_1; inline;
  26257. begin
  26258. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26259. end;
  26260. procedure TSPI1A_SPI3STAT.setSPITUR; inline;
  26261. begin
  26262. pTDefRegMap(@Self)^.&set := $00000100;
  26263. end;
  26264. procedure TSPI1A_SPI3STAT.clearSPITUR; inline;
  26265. begin
  26266. pTDefRegMap(@Self)^.clr := $00000100;
  26267. end;
  26268. procedure TSPI1A_SPI3STAT.setSPITUR(thebits : TBits_1); inline;
  26269. begin
  26270. if thebits = 0 then
  26271. pTDefRegMap(@Self)^.clr := $00000100
  26272. else
  26273. pTDefRegMap(@Self)^.&set := $00000100;
  26274. end;
  26275. function TSPI1A_SPI3STAT.getSPITUR : TBits_1; inline;
  26276. begin
  26277. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26278. end;
  26279. procedure TSPI1A_SPI3STAT.setSPIBUSY; inline;
  26280. begin
  26281. pTDefRegMap(@Self)^.&set := $00000800;
  26282. end;
  26283. procedure TSPI1A_SPI3STAT.clearSPIBUSY; inline;
  26284. begin
  26285. pTDefRegMap(@Self)^.clr := $00000800;
  26286. end;
  26287. procedure TSPI1A_SPI3STAT.setSPIBUSY(thebits : TBits_1); inline;
  26288. begin
  26289. if thebits = 0 then
  26290. pTDefRegMap(@Self)^.clr := $00000800
  26291. else
  26292. pTDefRegMap(@Self)^.&set := $00000800;
  26293. end;
  26294. function TSPI1A_SPI3STAT.getSPIBUSY : TBits_1; inline;
  26295. begin
  26296. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26297. end;
  26298. procedure TSPI1A_SPI3STAT.setTXBUFELM(thebits : TBits_5); inline;
  26299. begin
  26300. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26301. end;
  26302. function TSPI1A_SPI3STAT.getTXBUFELM : TBits_5; inline;
  26303. begin
  26304. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26305. end;
  26306. procedure TSPI1A_SPI3STAT.setRXBUFELM(thebits : TBits_5); inline;
  26307. begin
  26308. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26309. end;
  26310. function TSPI1A_SPI3STAT.getRXBUFELM : TBits_5; inline;
  26311. begin
  26312. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26313. end;
  26314. procedure TSPI1A_SPI3STAT.setw(thebits : TBits_32); inline;
  26315. begin
  26316. pTDefRegMap(@Self)^.val := thebits;
  26317. end;
  26318. function TSPI1A_SPI3STAT.getw : TBits_32; inline;
  26319. begin
  26320. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26321. end;
  26322. procedure TSPI2_SPI2ACON.setSRXISEL(thebits : TBits_2); inline;
  26323. begin
  26324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26325. end;
  26326. function TSPI2_SPI2ACON.getSRXISEL : TBits_2; inline;
  26327. begin
  26328. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26329. end;
  26330. procedure TSPI2_SPI2ACON.setSTXISEL(thebits : TBits_2); inline;
  26331. begin
  26332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26333. end;
  26334. function TSPI2_SPI2ACON.getSTXISEL : TBits_2; inline;
  26335. begin
  26336. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26337. end;
  26338. procedure TSPI2_SPI2ACON.setMSTEN; inline;
  26339. begin
  26340. pTDefRegMap(@Self)^.&set := $00000020;
  26341. end;
  26342. procedure TSPI2_SPI2ACON.clearMSTEN; inline;
  26343. begin
  26344. pTDefRegMap(@Self)^.clr := $00000020;
  26345. end;
  26346. procedure TSPI2_SPI2ACON.setMSTEN(thebits : TBits_1); inline;
  26347. begin
  26348. if thebits = 0 then
  26349. pTDefRegMap(@Self)^.clr := $00000020
  26350. else
  26351. pTDefRegMap(@Self)^.&set := $00000020;
  26352. end;
  26353. function TSPI2_SPI2ACON.getMSTEN : TBits_1; inline;
  26354. begin
  26355. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26356. end;
  26357. procedure TSPI2_SPI2ACON.setCKP; inline;
  26358. begin
  26359. pTDefRegMap(@Self)^.&set := $00000040;
  26360. end;
  26361. procedure TSPI2_SPI2ACON.clearCKP; inline;
  26362. begin
  26363. pTDefRegMap(@Self)^.clr := $00000040;
  26364. end;
  26365. procedure TSPI2_SPI2ACON.setCKP(thebits : TBits_1); inline;
  26366. begin
  26367. if thebits = 0 then
  26368. pTDefRegMap(@Self)^.clr := $00000040
  26369. else
  26370. pTDefRegMap(@Self)^.&set := $00000040;
  26371. end;
  26372. function TSPI2_SPI2ACON.getCKP : TBits_1; inline;
  26373. begin
  26374. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26375. end;
  26376. procedure TSPI2_SPI2ACON.setSSEN; inline;
  26377. begin
  26378. pTDefRegMap(@Self)^.&set := $00000080;
  26379. end;
  26380. procedure TSPI2_SPI2ACON.clearSSEN; inline;
  26381. begin
  26382. pTDefRegMap(@Self)^.clr := $00000080;
  26383. end;
  26384. procedure TSPI2_SPI2ACON.setSSEN(thebits : TBits_1); inline;
  26385. begin
  26386. if thebits = 0 then
  26387. pTDefRegMap(@Self)^.clr := $00000080
  26388. else
  26389. pTDefRegMap(@Self)^.&set := $00000080;
  26390. end;
  26391. function TSPI2_SPI2ACON.getSSEN : TBits_1; inline;
  26392. begin
  26393. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26394. end;
  26395. procedure TSPI2_SPI2ACON.setCKE; inline;
  26396. begin
  26397. pTDefRegMap(@Self)^.&set := $00000100;
  26398. end;
  26399. procedure TSPI2_SPI2ACON.clearCKE; inline;
  26400. begin
  26401. pTDefRegMap(@Self)^.clr := $00000100;
  26402. end;
  26403. procedure TSPI2_SPI2ACON.setCKE(thebits : TBits_1); inline;
  26404. begin
  26405. if thebits = 0 then
  26406. pTDefRegMap(@Self)^.clr := $00000100
  26407. else
  26408. pTDefRegMap(@Self)^.&set := $00000100;
  26409. end;
  26410. function TSPI2_SPI2ACON.getCKE : TBits_1; inline;
  26411. begin
  26412. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26413. end;
  26414. procedure TSPI2_SPI2ACON.setSMP; inline;
  26415. begin
  26416. pTDefRegMap(@Self)^.&set := $00000200;
  26417. end;
  26418. procedure TSPI2_SPI2ACON.clearSMP; inline;
  26419. begin
  26420. pTDefRegMap(@Self)^.clr := $00000200;
  26421. end;
  26422. procedure TSPI2_SPI2ACON.setSMP(thebits : TBits_1); inline;
  26423. begin
  26424. if thebits = 0 then
  26425. pTDefRegMap(@Self)^.clr := $00000200
  26426. else
  26427. pTDefRegMap(@Self)^.&set := $00000200;
  26428. end;
  26429. function TSPI2_SPI2ACON.getSMP : TBits_1; inline;
  26430. begin
  26431. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26432. end;
  26433. procedure TSPI2_SPI2ACON.setMODE16; inline;
  26434. begin
  26435. pTDefRegMap(@Self)^.&set := $00000400;
  26436. end;
  26437. procedure TSPI2_SPI2ACON.clearMODE16; inline;
  26438. begin
  26439. pTDefRegMap(@Self)^.clr := $00000400;
  26440. end;
  26441. procedure TSPI2_SPI2ACON.setMODE16(thebits : TBits_1); inline;
  26442. begin
  26443. if thebits = 0 then
  26444. pTDefRegMap(@Self)^.clr := $00000400
  26445. else
  26446. pTDefRegMap(@Self)^.&set := $00000400;
  26447. end;
  26448. function TSPI2_SPI2ACON.getMODE16 : TBits_1; inline;
  26449. begin
  26450. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26451. end;
  26452. procedure TSPI2_SPI2ACON.setMODE32; inline;
  26453. begin
  26454. pTDefRegMap(@Self)^.&set := $00000800;
  26455. end;
  26456. procedure TSPI2_SPI2ACON.clearMODE32; inline;
  26457. begin
  26458. pTDefRegMap(@Self)^.clr := $00000800;
  26459. end;
  26460. procedure TSPI2_SPI2ACON.setMODE32(thebits : TBits_1); inline;
  26461. begin
  26462. if thebits = 0 then
  26463. pTDefRegMap(@Self)^.clr := $00000800
  26464. else
  26465. pTDefRegMap(@Self)^.&set := $00000800;
  26466. end;
  26467. function TSPI2_SPI2ACON.getMODE32 : TBits_1; inline;
  26468. begin
  26469. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26470. end;
  26471. procedure TSPI2_SPI2ACON.setDISSDO; inline;
  26472. begin
  26473. pTDefRegMap(@Self)^.&set := $00001000;
  26474. end;
  26475. procedure TSPI2_SPI2ACON.clearDISSDO; inline;
  26476. begin
  26477. pTDefRegMap(@Self)^.clr := $00001000;
  26478. end;
  26479. procedure TSPI2_SPI2ACON.setDISSDO(thebits : TBits_1); inline;
  26480. begin
  26481. if thebits = 0 then
  26482. pTDefRegMap(@Self)^.clr := $00001000
  26483. else
  26484. pTDefRegMap(@Self)^.&set := $00001000;
  26485. end;
  26486. function TSPI2_SPI2ACON.getDISSDO : TBits_1; inline;
  26487. begin
  26488. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26489. end;
  26490. procedure TSPI2_SPI2ACON.setSIDL; inline;
  26491. begin
  26492. pTDefRegMap(@Self)^.&set := $00002000;
  26493. end;
  26494. procedure TSPI2_SPI2ACON.clearSIDL; inline;
  26495. begin
  26496. pTDefRegMap(@Self)^.clr := $00002000;
  26497. end;
  26498. procedure TSPI2_SPI2ACON.setSIDL(thebits : TBits_1); inline;
  26499. begin
  26500. if thebits = 0 then
  26501. pTDefRegMap(@Self)^.clr := $00002000
  26502. else
  26503. pTDefRegMap(@Self)^.&set := $00002000;
  26504. end;
  26505. function TSPI2_SPI2ACON.getSIDL : TBits_1; inline;
  26506. begin
  26507. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26508. end;
  26509. procedure TSPI2_SPI2ACON.setON; inline;
  26510. begin
  26511. pTDefRegMap(@Self)^.&set := $00008000;
  26512. end;
  26513. procedure TSPI2_SPI2ACON.clearON; inline;
  26514. begin
  26515. pTDefRegMap(@Self)^.clr := $00008000;
  26516. end;
  26517. procedure TSPI2_SPI2ACON.setON(thebits : TBits_1); inline;
  26518. begin
  26519. if thebits = 0 then
  26520. pTDefRegMap(@Self)^.clr := $00008000
  26521. else
  26522. pTDefRegMap(@Self)^.&set := $00008000;
  26523. end;
  26524. function TSPI2_SPI2ACON.getON : TBits_1; inline;
  26525. begin
  26526. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26527. end;
  26528. procedure TSPI2_SPI2ACON.setENHBUF; inline;
  26529. begin
  26530. pTDefRegMap(@Self)^.&set := $00010000;
  26531. end;
  26532. procedure TSPI2_SPI2ACON.clearENHBUF; inline;
  26533. begin
  26534. pTDefRegMap(@Self)^.clr := $00010000;
  26535. end;
  26536. procedure TSPI2_SPI2ACON.setENHBUF(thebits : TBits_1); inline;
  26537. begin
  26538. if thebits = 0 then
  26539. pTDefRegMap(@Self)^.clr := $00010000
  26540. else
  26541. pTDefRegMap(@Self)^.&set := $00010000;
  26542. end;
  26543. function TSPI2_SPI2ACON.getENHBUF : TBits_1; inline;
  26544. begin
  26545. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26546. end;
  26547. procedure TSPI2_SPI2ACON.setSPIFE; inline;
  26548. begin
  26549. pTDefRegMap(@Self)^.&set := $00020000;
  26550. end;
  26551. procedure TSPI2_SPI2ACON.clearSPIFE; inline;
  26552. begin
  26553. pTDefRegMap(@Self)^.clr := $00020000;
  26554. end;
  26555. procedure TSPI2_SPI2ACON.setSPIFE(thebits : TBits_1); inline;
  26556. begin
  26557. if thebits = 0 then
  26558. pTDefRegMap(@Self)^.clr := $00020000
  26559. else
  26560. pTDefRegMap(@Self)^.&set := $00020000;
  26561. end;
  26562. function TSPI2_SPI2ACON.getSPIFE : TBits_1; inline;
  26563. begin
  26564. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26565. end;
  26566. procedure TSPI2_SPI2ACON.setFRMCNT(thebits : TBits_3); inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26569. end;
  26570. function TSPI2_SPI2ACON.getFRMCNT : TBits_3; inline;
  26571. begin
  26572. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26573. end;
  26574. procedure TSPI2_SPI2ACON.setFRMSYPW; inline;
  26575. begin
  26576. pTDefRegMap(@Self)^.&set := $08000000;
  26577. end;
  26578. procedure TSPI2_SPI2ACON.clearFRMSYPW; inline;
  26579. begin
  26580. pTDefRegMap(@Self)^.clr := $08000000;
  26581. end;
  26582. procedure TSPI2_SPI2ACON.setFRMSYPW(thebits : TBits_1); inline;
  26583. begin
  26584. if thebits = 0 then
  26585. pTDefRegMap(@Self)^.clr := $08000000
  26586. else
  26587. pTDefRegMap(@Self)^.&set := $08000000;
  26588. end;
  26589. function TSPI2_SPI2ACON.getFRMSYPW : TBits_1; inline;
  26590. begin
  26591. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26592. end;
  26593. procedure TSPI2_SPI2ACON.setMSSEN; inline;
  26594. begin
  26595. pTDefRegMap(@Self)^.&set := $10000000;
  26596. end;
  26597. procedure TSPI2_SPI2ACON.clearMSSEN; inline;
  26598. begin
  26599. pTDefRegMap(@Self)^.clr := $10000000;
  26600. end;
  26601. procedure TSPI2_SPI2ACON.setMSSEN(thebits : TBits_1); inline;
  26602. begin
  26603. if thebits = 0 then
  26604. pTDefRegMap(@Self)^.clr := $10000000
  26605. else
  26606. pTDefRegMap(@Self)^.&set := $10000000;
  26607. end;
  26608. function TSPI2_SPI2ACON.getMSSEN : TBits_1; inline;
  26609. begin
  26610. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26611. end;
  26612. procedure TSPI2_SPI2ACON.setFRMPOL; inline;
  26613. begin
  26614. pTDefRegMap(@Self)^.&set := $20000000;
  26615. end;
  26616. procedure TSPI2_SPI2ACON.clearFRMPOL; inline;
  26617. begin
  26618. pTDefRegMap(@Self)^.clr := $20000000;
  26619. end;
  26620. procedure TSPI2_SPI2ACON.setFRMPOL(thebits : TBits_1); inline;
  26621. begin
  26622. if thebits = 0 then
  26623. pTDefRegMap(@Self)^.clr := $20000000
  26624. else
  26625. pTDefRegMap(@Self)^.&set := $20000000;
  26626. end;
  26627. function TSPI2_SPI2ACON.getFRMPOL : TBits_1; inline;
  26628. begin
  26629. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26630. end;
  26631. procedure TSPI2_SPI2ACON.setFRMSYNC; inline;
  26632. begin
  26633. pTDefRegMap(@Self)^.&set := $40000000;
  26634. end;
  26635. procedure TSPI2_SPI2ACON.clearFRMSYNC; inline;
  26636. begin
  26637. pTDefRegMap(@Self)^.clr := $40000000;
  26638. end;
  26639. procedure TSPI2_SPI2ACON.setFRMSYNC(thebits : TBits_1); inline;
  26640. begin
  26641. if thebits = 0 then
  26642. pTDefRegMap(@Self)^.clr := $40000000
  26643. else
  26644. pTDefRegMap(@Self)^.&set := $40000000;
  26645. end;
  26646. function TSPI2_SPI2ACON.getFRMSYNC : TBits_1; inline;
  26647. begin
  26648. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26649. end;
  26650. procedure TSPI2_SPI2ACON.setFRMEN; inline;
  26651. begin
  26652. pTDefRegMap(@Self)^.&set := $80000000;
  26653. end;
  26654. procedure TSPI2_SPI2ACON.clearFRMEN; inline;
  26655. begin
  26656. pTDefRegMap(@Self)^.clr := $80000000;
  26657. end;
  26658. procedure TSPI2_SPI2ACON.setFRMEN(thebits : TBits_1); inline;
  26659. begin
  26660. if thebits = 0 then
  26661. pTDefRegMap(@Self)^.clr := $80000000
  26662. else
  26663. pTDefRegMap(@Self)^.&set := $80000000;
  26664. end;
  26665. function TSPI2_SPI2ACON.getFRMEN : TBits_1; inline;
  26666. begin
  26667. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26668. end;
  26669. procedure TSPI2_SPI2ACON.setw(thebits : TBits_32); inline;
  26670. begin
  26671. pTDefRegMap(@Self)^.val := thebits;
  26672. end;
  26673. function TSPI2_SPI2ACON.getw : TBits_32; inline;
  26674. begin
  26675. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26676. end;
  26677. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  26678. begin
  26679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26680. end;
  26681. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  26682. begin
  26683. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26684. end;
  26685. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  26686. begin
  26687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26688. end;
  26689. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  26690. begin
  26691. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26692. end;
  26693. procedure TSPI2_SPI2CON.setMSTEN; inline;
  26694. begin
  26695. pTDefRegMap(@Self)^.&set := $00000020;
  26696. end;
  26697. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.clr := $00000020;
  26700. end;
  26701. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  26702. begin
  26703. if thebits = 0 then
  26704. pTDefRegMap(@Self)^.clr := $00000020
  26705. else
  26706. pTDefRegMap(@Self)^.&set := $00000020;
  26707. end;
  26708. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  26709. begin
  26710. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26711. end;
  26712. procedure TSPI2_SPI2CON.setCKP; inline;
  26713. begin
  26714. pTDefRegMap(@Self)^.&set := $00000040;
  26715. end;
  26716. procedure TSPI2_SPI2CON.clearCKP; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.clr := $00000040;
  26719. end;
  26720. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  26721. begin
  26722. if thebits = 0 then
  26723. pTDefRegMap(@Self)^.clr := $00000040
  26724. else
  26725. pTDefRegMap(@Self)^.&set := $00000040;
  26726. end;
  26727. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  26728. begin
  26729. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26730. end;
  26731. procedure TSPI2_SPI2CON.setSSEN; inline;
  26732. begin
  26733. pTDefRegMap(@Self)^.&set := $00000080;
  26734. end;
  26735. procedure TSPI2_SPI2CON.clearSSEN; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.clr := $00000080;
  26738. end;
  26739. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  26740. begin
  26741. if thebits = 0 then
  26742. pTDefRegMap(@Self)^.clr := $00000080
  26743. else
  26744. pTDefRegMap(@Self)^.&set := $00000080;
  26745. end;
  26746. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  26747. begin
  26748. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26749. end;
  26750. procedure TSPI2_SPI2CON.setCKE; inline;
  26751. begin
  26752. pTDefRegMap(@Self)^.&set := $00000100;
  26753. end;
  26754. procedure TSPI2_SPI2CON.clearCKE; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.clr := $00000100;
  26757. end;
  26758. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  26759. begin
  26760. if thebits = 0 then
  26761. pTDefRegMap(@Self)^.clr := $00000100
  26762. else
  26763. pTDefRegMap(@Self)^.&set := $00000100;
  26764. end;
  26765. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  26766. begin
  26767. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26768. end;
  26769. procedure TSPI2_SPI2CON.setSMP; inline;
  26770. begin
  26771. pTDefRegMap(@Self)^.&set := $00000200;
  26772. end;
  26773. procedure TSPI2_SPI2CON.clearSMP; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.clr := $00000200;
  26776. end;
  26777. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  26778. begin
  26779. if thebits = 0 then
  26780. pTDefRegMap(@Self)^.clr := $00000200
  26781. else
  26782. pTDefRegMap(@Self)^.&set := $00000200;
  26783. end;
  26784. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  26785. begin
  26786. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26787. end;
  26788. procedure TSPI2_SPI2CON.setMODE16; inline;
  26789. begin
  26790. pTDefRegMap(@Self)^.&set := $00000400;
  26791. end;
  26792. procedure TSPI2_SPI2CON.clearMODE16; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.clr := $00000400;
  26795. end;
  26796. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  26797. begin
  26798. if thebits = 0 then
  26799. pTDefRegMap(@Self)^.clr := $00000400
  26800. else
  26801. pTDefRegMap(@Self)^.&set := $00000400;
  26802. end;
  26803. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  26804. begin
  26805. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26806. end;
  26807. procedure TSPI2_SPI2CON.setMODE32; inline;
  26808. begin
  26809. pTDefRegMap(@Self)^.&set := $00000800;
  26810. end;
  26811. procedure TSPI2_SPI2CON.clearMODE32; inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.clr := $00000800;
  26814. end;
  26815. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  26816. begin
  26817. if thebits = 0 then
  26818. pTDefRegMap(@Self)^.clr := $00000800
  26819. else
  26820. pTDefRegMap(@Self)^.&set := $00000800;
  26821. end;
  26822. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  26823. begin
  26824. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26825. end;
  26826. procedure TSPI2_SPI2CON.setDISSDO; inline;
  26827. begin
  26828. pTDefRegMap(@Self)^.&set := $00001000;
  26829. end;
  26830. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  26831. begin
  26832. pTDefRegMap(@Self)^.clr := $00001000;
  26833. end;
  26834. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  26835. begin
  26836. if thebits = 0 then
  26837. pTDefRegMap(@Self)^.clr := $00001000
  26838. else
  26839. pTDefRegMap(@Self)^.&set := $00001000;
  26840. end;
  26841. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  26842. begin
  26843. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26844. end;
  26845. procedure TSPI2_SPI2CON.setSIDL; inline;
  26846. begin
  26847. pTDefRegMap(@Self)^.&set := $00002000;
  26848. end;
  26849. procedure TSPI2_SPI2CON.clearSIDL; inline;
  26850. begin
  26851. pTDefRegMap(@Self)^.clr := $00002000;
  26852. end;
  26853. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  26854. begin
  26855. if thebits = 0 then
  26856. pTDefRegMap(@Self)^.clr := $00002000
  26857. else
  26858. pTDefRegMap(@Self)^.&set := $00002000;
  26859. end;
  26860. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  26861. begin
  26862. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26863. end;
  26864. procedure TSPI2_SPI2CON.setON; inline;
  26865. begin
  26866. pTDefRegMap(@Self)^.&set := $00008000;
  26867. end;
  26868. procedure TSPI2_SPI2CON.clearON; inline;
  26869. begin
  26870. pTDefRegMap(@Self)^.clr := $00008000;
  26871. end;
  26872. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  26873. begin
  26874. if thebits = 0 then
  26875. pTDefRegMap(@Self)^.clr := $00008000
  26876. else
  26877. pTDefRegMap(@Self)^.&set := $00008000;
  26878. end;
  26879. function TSPI2_SPI2CON.getON : TBits_1; inline;
  26880. begin
  26881. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26882. end;
  26883. procedure TSPI2_SPI2CON.setENHBUF; inline;
  26884. begin
  26885. pTDefRegMap(@Self)^.&set := $00010000;
  26886. end;
  26887. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  26888. begin
  26889. pTDefRegMap(@Self)^.clr := $00010000;
  26890. end;
  26891. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  26892. begin
  26893. if thebits = 0 then
  26894. pTDefRegMap(@Self)^.clr := $00010000
  26895. else
  26896. pTDefRegMap(@Self)^.&set := $00010000;
  26897. end;
  26898. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  26899. begin
  26900. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26901. end;
  26902. procedure TSPI2_SPI2CON.setSPIFE; inline;
  26903. begin
  26904. pTDefRegMap(@Self)^.&set := $00020000;
  26905. end;
  26906. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  26907. begin
  26908. pTDefRegMap(@Self)^.clr := $00020000;
  26909. end;
  26910. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  26911. begin
  26912. if thebits = 0 then
  26913. pTDefRegMap(@Self)^.clr := $00020000
  26914. else
  26915. pTDefRegMap(@Self)^.&set := $00020000;
  26916. end;
  26917. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  26918. begin
  26919. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26920. end;
  26921. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  26922. begin
  26923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26924. end;
  26925. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  26926. begin
  26927. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26928. end;
  26929. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  26930. begin
  26931. pTDefRegMap(@Self)^.&set := $08000000;
  26932. end;
  26933. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  26934. begin
  26935. pTDefRegMap(@Self)^.clr := $08000000;
  26936. end;
  26937. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  26938. begin
  26939. if thebits = 0 then
  26940. pTDefRegMap(@Self)^.clr := $08000000
  26941. else
  26942. pTDefRegMap(@Self)^.&set := $08000000;
  26943. end;
  26944. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  26945. begin
  26946. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26947. end;
  26948. procedure TSPI2_SPI2CON.setMSSEN; inline;
  26949. begin
  26950. pTDefRegMap(@Self)^.&set := $10000000;
  26951. end;
  26952. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  26953. begin
  26954. pTDefRegMap(@Self)^.clr := $10000000;
  26955. end;
  26956. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  26957. begin
  26958. if thebits = 0 then
  26959. pTDefRegMap(@Self)^.clr := $10000000
  26960. else
  26961. pTDefRegMap(@Self)^.&set := $10000000;
  26962. end;
  26963. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  26964. begin
  26965. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26966. end;
  26967. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  26968. begin
  26969. pTDefRegMap(@Self)^.&set := $20000000;
  26970. end;
  26971. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  26972. begin
  26973. pTDefRegMap(@Self)^.clr := $20000000;
  26974. end;
  26975. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  26976. begin
  26977. if thebits = 0 then
  26978. pTDefRegMap(@Self)^.clr := $20000000
  26979. else
  26980. pTDefRegMap(@Self)^.&set := $20000000;
  26981. end;
  26982. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  26983. begin
  26984. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26985. end;
  26986. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  26987. begin
  26988. pTDefRegMap(@Self)^.&set := $40000000;
  26989. end;
  26990. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  26991. begin
  26992. pTDefRegMap(@Self)^.clr := $40000000;
  26993. end;
  26994. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  26995. begin
  26996. if thebits = 0 then
  26997. pTDefRegMap(@Self)^.clr := $40000000
  26998. else
  26999. pTDefRegMap(@Self)^.&set := $40000000;
  27000. end;
  27001. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  27002. begin
  27003. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27004. end;
  27005. procedure TSPI2_SPI2CON.setFRMEN; inline;
  27006. begin
  27007. pTDefRegMap(@Self)^.&set := $80000000;
  27008. end;
  27009. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  27010. begin
  27011. pTDefRegMap(@Self)^.clr := $80000000;
  27012. end;
  27013. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  27014. begin
  27015. if thebits = 0 then
  27016. pTDefRegMap(@Self)^.clr := $80000000
  27017. else
  27018. pTDefRegMap(@Self)^.&set := $80000000;
  27019. end;
  27020. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  27021. begin
  27022. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27023. end;
  27024. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  27025. begin
  27026. pTDefRegMap(@Self)^.val := thebits;
  27027. end;
  27028. function TSPI2_SPI2CON.getw : TBits_32; inline;
  27029. begin
  27030. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27031. end;
  27032. procedure TSPI2_SPI2ASTAT.setSPIRBF; inline;
  27033. begin
  27034. pTDefRegMap(@Self)^.&set := $00000001;
  27035. end;
  27036. procedure TSPI2_SPI2ASTAT.clearSPIRBF; inline;
  27037. begin
  27038. pTDefRegMap(@Self)^.clr := $00000001;
  27039. end;
  27040. procedure TSPI2_SPI2ASTAT.setSPIRBF(thebits : TBits_1); inline;
  27041. begin
  27042. if thebits = 0 then
  27043. pTDefRegMap(@Self)^.clr := $00000001
  27044. else
  27045. pTDefRegMap(@Self)^.&set := $00000001;
  27046. end;
  27047. function TSPI2_SPI2ASTAT.getSPIRBF : TBits_1; inline;
  27048. begin
  27049. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27050. end;
  27051. procedure TSPI2_SPI2ASTAT.setSPITBF; inline;
  27052. begin
  27053. pTDefRegMap(@Self)^.&set := $00000002;
  27054. end;
  27055. procedure TSPI2_SPI2ASTAT.clearSPITBF; inline;
  27056. begin
  27057. pTDefRegMap(@Self)^.clr := $00000002;
  27058. end;
  27059. procedure TSPI2_SPI2ASTAT.setSPITBF(thebits : TBits_1); inline;
  27060. begin
  27061. if thebits = 0 then
  27062. pTDefRegMap(@Self)^.clr := $00000002
  27063. else
  27064. pTDefRegMap(@Self)^.&set := $00000002;
  27065. end;
  27066. function TSPI2_SPI2ASTAT.getSPITBF : TBits_1; inline;
  27067. begin
  27068. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27069. end;
  27070. procedure TSPI2_SPI2ASTAT.setSPITBE; inline;
  27071. begin
  27072. pTDefRegMap(@Self)^.&set := $00000008;
  27073. end;
  27074. procedure TSPI2_SPI2ASTAT.clearSPITBE; inline;
  27075. begin
  27076. pTDefRegMap(@Self)^.clr := $00000008;
  27077. end;
  27078. procedure TSPI2_SPI2ASTAT.setSPITBE(thebits : TBits_1); inline;
  27079. begin
  27080. if thebits = 0 then
  27081. pTDefRegMap(@Self)^.clr := $00000008
  27082. else
  27083. pTDefRegMap(@Self)^.&set := $00000008;
  27084. end;
  27085. function TSPI2_SPI2ASTAT.getSPITBE : TBits_1; inline;
  27086. begin
  27087. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27088. end;
  27089. procedure TSPI2_SPI2ASTAT.setSPIRBE; inline;
  27090. begin
  27091. pTDefRegMap(@Self)^.&set := $00000020;
  27092. end;
  27093. procedure TSPI2_SPI2ASTAT.clearSPIRBE; inline;
  27094. begin
  27095. pTDefRegMap(@Self)^.clr := $00000020;
  27096. end;
  27097. procedure TSPI2_SPI2ASTAT.setSPIRBE(thebits : TBits_1); inline;
  27098. begin
  27099. if thebits = 0 then
  27100. pTDefRegMap(@Self)^.clr := $00000020
  27101. else
  27102. pTDefRegMap(@Self)^.&set := $00000020;
  27103. end;
  27104. function TSPI2_SPI2ASTAT.getSPIRBE : TBits_1; inline;
  27105. begin
  27106. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27107. end;
  27108. procedure TSPI2_SPI2ASTAT.setSPIROV; inline;
  27109. begin
  27110. pTDefRegMap(@Self)^.&set := $00000040;
  27111. end;
  27112. procedure TSPI2_SPI2ASTAT.clearSPIROV; inline;
  27113. begin
  27114. pTDefRegMap(@Self)^.clr := $00000040;
  27115. end;
  27116. procedure TSPI2_SPI2ASTAT.setSPIROV(thebits : TBits_1); inline;
  27117. begin
  27118. if thebits = 0 then
  27119. pTDefRegMap(@Self)^.clr := $00000040
  27120. else
  27121. pTDefRegMap(@Self)^.&set := $00000040;
  27122. end;
  27123. function TSPI2_SPI2ASTAT.getSPIROV : TBits_1; inline;
  27124. begin
  27125. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27126. end;
  27127. procedure TSPI2_SPI2ASTAT.setSRMT; inline;
  27128. begin
  27129. pTDefRegMap(@Self)^.&set := $00000080;
  27130. end;
  27131. procedure TSPI2_SPI2ASTAT.clearSRMT; inline;
  27132. begin
  27133. pTDefRegMap(@Self)^.clr := $00000080;
  27134. end;
  27135. procedure TSPI2_SPI2ASTAT.setSRMT(thebits : TBits_1); inline;
  27136. begin
  27137. if thebits = 0 then
  27138. pTDefRegMap(@Self)^.clr := $00000080
  27139. else
  27140. pTDefRegMap(@Self)^.&set := $00000080;
  27141. end;
  27142. function TSPI2_SPI2ASTAT.getSRMT : TBits_1; inline;
  27143. begin
  27144. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27145. end;
  27146. procedure TSPI2_SPI2ASTAT.setSPITUR; inline;
  27147. begin
  27148. pTDefRegMap(@Self)^.&set := $00000100;
  27149. end;
  27150. procedure TSPI2_SPI2ASTAT.clearSPITUR; inline;
  27151. begin
  27152. pTDefRegMap(@Self)^.clr := $00000100;
  27153. end;
  27154. procedure TSPI2_SPI2ASTAT.setSPITUR(thebits : TBits_1); inline;
  27155. begin
  27156. if thebits = 0 then
  27157. pTDefRegMap(@Self)^.clr := $00000100
  27158. else
  27159. pTDefRegMap(@Self)^.&set := $00000100;
  27160. end;
  27161. function TSPI2_SPI2ASTAT.getSPITUR : TBits_1; inline;
  27162. begin
  27163. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27164. end;
  27165. procedure TSPI2_SPI2ASTAT.setSPIBUSY; inline;
  27166. begin
  27167. pTDefRegMap(@Self)^.&set := $00000800;
  27168. end;
  27169. procedure TSPI2_SPI2ASTAT.clearSPIBUSY; inline;
  27170. begin
  27171. pTDefRegMap(@Self)^.clr := $00000800;
  27172. end;
  27173. procedure TSPI2_SPI2ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  27174. begin
  27175. if thebits = 0 then
  27176. pTDefRegMap(@Self)^.clr := $00000800
  27177. else
  27178. pTDefRegMap(@Self)^.&set := $00000800;
  27179. end;
  27180. function TSPI2_SPI2ASTAT.getSPIBUSY : TBits_1; inline;
  27181. begin
  27182. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27183. end;
  27184. procedure TSPI2_SPI2ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  27185. begin
  27186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27187. end;
  27188. function TSPI2_SPI2ASTAT.getTXBUFELM : TBits_5; inline;
  27189. begin
  27190. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27191. end;
  27192. procedure TSPI2_SPI2ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  27193. begin
  27194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27195. end;
  27196. function TSPI2_SPI2ASTAT.getRXBUFELM : TBits_5; inline;
  27197. begin
  27198. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27199. end;
  27200. procedure TSPI2_SPI2ASTAT.setw(thebits : TBits_32); inline;
  27201. begin
  27202. pTDefRegMap(@Self)^.val := thebits;
  27203. end;
  27204. function TSPI2_SPI2ASTAT.getw : TBits_32; inline;
  27205. begin
  27206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27207. end;
  27208. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  27209. begin
  27210. pTDefRegMap(@Self)^.&set := $00000001;
  27211. end;
  27212. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  27213. begin
  27214. pTDefRegMap(@Self)^.clr := $00000001;
  27215. end;
  27216. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  27217. begin
  27218. if thebits = 0 then
  27219. pTDefRegMap(@Self)^.clr := $00000001
  27220. else
  27221. pTDefRegMap(@Self)^.&set := $00000001;
  27222. end;
  27223. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  27224. begin
  27225. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27226. end;
  27227. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  27228. begin
  27229. pTDefRegMap(@Self)^.&set := $00000002;
  27230. end;
  27231. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  27232. begin
  27233. pTDefRegMap(@Self)^.clr := $00000002;
  27234. end;
  27235. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  27236. begin
  27237. if thebits = 0 then
  27238. pTDefRegMap(@Self)^.clr := $00000002
  27239. else
  27240. pTDefRegMap(@Self)^.&set := $00000002;
  27241. end;
  27242. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  27243. begin
  27244. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27245. end;
  27246. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  27247. begin
  27248. pTDefRegMap(@Self)^.&set := $00000008;
  27249. end;
  27250. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  27251. begin
  27252. pTDefRegMap(@Self)^.clr := $00000008;
  27253. end;
  27254. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  27255. begin
  27256. if thebits = 0 then
  27257. pTDefRegMap(@Self)^.clr := $00000008
  27258. else
  27259. pTDefRegMap(@Self)^.&set := $00000008;
  27260. end;
  27261. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  27262. begin
  27263. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27264. end;
  27265. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  27266. begin
  27267. pTDefRegMap(@Self)^.&set := $00000020;
  27268. end;
  27269. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  27270. begin
  27271. pTDefRegMap(@Self)^.clr := $00000020;
  27272. end;
  27273. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  27274. begin
  27275. if thebits = 0 then
  27276. pTDefRegMap(@Self)^.clr := $00000020
  27277. else
  27278. pTDefRegMap(@Self)^.&set := $00000020;
  27279. end;
  27280. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  27281. begin
  27282. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27283. end;
  27284. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.&set := $00000040;
  27287. end;
  27288. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  27289. begin
  27290. pTDefRegMap(@Self)^.clr := $00000040;
  27291. end;
  27292. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  27293. begin
  27294. if thebits = 0 then
  27295. pTDefRegMap(@Self)^.clr := $00000040
  27296. else
  27297. pTDefRegMap(@Self)^.&set := $00000040;
  27298. end;
  27299. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  27300. begin
  27301. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27302. end;
  27303. procedure TSPI2_SPI2STAT.setSRMT; inline;
  27304. begin
  27305. pTDefRegMap(@Self)^.&set := $00000080;
  27306. end;
  27307. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  27308. begin
  27309. pTDefRegMap(@Self)^.clr := $00000080;
  27310. end;
  27311. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  27312. begin
  27313. if thebits = 0 then
  27314. pTDefRegMap(@Self)^.clr := $00000080
  27315. else
  27316. pTDefRegMap(@Self)^.&set := $00000080;
  27317. end;
  27318. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  27319. begin
  27320. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27321. end;
  27322. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  27323. begin
  27324. pTDefRegMap(@Self)^.&set := $00000100;
  27325. end;
  27326. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  27327. begin
  27328. pTDefRegMap(@Self)^.clr := $00000100;
  27329. end;
  27330. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  27331. begin
  27332. if thebits = 0 then
  27333. pTDefRegMap(@Self)^.clr := $00000100
  27334. else
  27335. pTDefRegMap(@Self)^.&set := $00000100;
  27336. end;
  27337. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  27338. begin
  27339. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27340. end;
  27341. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  27342. begin
  27343. pTDefRegMap(@Self)^.&set := $00000800;
  27344. end;
  27345. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  27346. begin
  27347. pTDefRegMap(@Self)^.clr := $00000800;
  27348. end;
  27349. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  27350. begin
  27351. if thebits = 0 then
  27352. pTDefRegMap(@Self)^.clr := $00000800
  27353. else
  27354. pTDefRegMap(@Self)^.&set := $00000800;
  27355. end;
  27356. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  27357. begin
  27358. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27359. end;
  27360. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  27361. begin
  27362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27363. end;
  27364. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  27365. begin
  27366. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27367. end;
  27368. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  27369. begin
  27370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27371. end;
  27372. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  27373. begin
  27374. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27375. end;
  27376. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  27377. begin
  27378. pTDefRegMap(@Self)^.val := thebits;
  27379. end;
  27380. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  27381. begin
  27382. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27383. end;
  27384. procedure TSPI4_SPI3ACON.setSRXISEL(thebits : TBits_2); inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27387. end;
  27388. function TSPI4_SPI3ACON.getSRXISEL : TBits_2; inline;
  27389. begin
  27390. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27391. end;
  27392. procedure TSPI4_SPI3ACON.setSTXISEL(thebits : TBits_2); inline;
  27393. begin
  27394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27395. end;
  27396. function TSPI4_SPI3ACON.getSTXISEL : TBits_2; inline;
  27397. begin
  27398. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27399. end;
  27400. procedure TSPI4_SPI3ACON.setMSTEN; inline;
  27401. begin
  27402. pTDefRegMap(@Self)^.&set := $00000020;
  27403. end;
  27404. procedure TSPI4_SPI3ACON.clearMSTEN; inline;
  27405. begin
  27406. pTDefRegMap(@Self)^.clr := $00000020;
  27407. end;
  27408. procedure TSPI4_SPI3ACON.setMSTEN(thebits : TBits_1); inline;
  27409. begin
  27410. if thebits = 0 then
  27411. pTDefRegMap(@Self)^.clr := $00000020
  27412. else
  27413. pTDefRegMap(@Self)^.&set := $00000020;
  27414. end;
  27415. function TSPI4_SPI3ACON.getMSTEN : TBits_1; inline;
  27416. begin
  27417. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27418. end;
  27419. procedure TSPI4_SPI3ACON.setCKP; inline;
  27420. begin
  27421. pTDefRegMap(@Self)^.&set := $00000040;
  27422. end;
  27423. procedure TSPI4_SPI3ACON.clearCKP; inline;
  27424. begin
  27425. pTDefRegMap(@Self)^.clr := $00000040;
  27426. end;
  27427. procedure TSPI4_SPI3ACON.setCKP(thebits : TBits_1); inline;
  27428. begin
  27429. if thebits = 0 then
  27430. pTDefRegMap(@Self)^.clr := $00000040
  27431. else
  27432. pTDefRegMap(@Self)^.&set := $00000040;
  27433. end;
  27434. function TSPI4_SPI3ACON.getCKP : TBits_1; inline;
  27435. begin
  27436. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27437. end;
  27438. procedure TSPI4_SPI3ACON.setSSEN; inline;
  27439. begin
  27440. pTDefRegMap(@Self)^.&set := $00000080;
  27441. end;
  27442. procedure TSPI4_SPI3ACON.clearSSEN; inline;
  27443. begin
  27444. pTDefRegMap(@Self)^.clr := $00000080;
  27445. end;
  27446. procedure TSPI4_SPI3ACON.setSSEN(thebits : TBits_1); inline;
  27447. begin
  27448. if thebits = 0 then
  27449. pTDefRegMap(@Self)^.clr := $00000080
  27450. else
  27451. pTDefRegMap(@Self)^.&set := $00000080;
  27452. end;
  27453. function TSPI4_SPI3ACON.getSSEN : TBits_1; inline;
  27454. begin
  27455. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27456. end;
  27457. procedure TSPI4_SPI3ACON.setCKE; inline;
  27458. begin
  27459. pTDefRegMap(@Self)^.&set := $00000100;
  27460. end;
  27461. procedure TSPI4_SPI3ACON.clearCKE; inline;
  27462. begin
  27463. pTDefRegMap(@Self)^.clr := $00000100;
  27464. end;
  27465. procedure TSPI4_SPI3ACON.setCKE(thebits : TBits_1); inline;
  27466. begin
  27467. if thebits = 0 then
  27468. pTDefRegMap(@Self)^.clr := $00000100
  27469. else
  27470. pTDefRegMap(@Self)^.&set := $00000100;
  27471. end;
  27472. function TSPI4_SPI3ACON.getCKE : TBits_1; inline;
  27473. begin
  27474. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27475. end;
  27476. procedure TSPI4_SPI3ACON.setSMP; inline;
  27477. begin
  27478. pTDefRegMap(@Self)^.&set := $00000200;
  27479. end;
  27480. procedure TSPI4_SPI3ACON.clearSMP; inline;
  27481. begin
  27482. pTDefRegMap(@Self)^.clr := $00000200;
  27483. end;
  27484. procedure TSPI4_SPI3ACON.setSMP(thebits : TBits_1); inline;
  27485. begin
  27486. if thebits = 0 then
  27487. pTDefRegMap(@Self)^.clr := $00000200
  27488. else
  27489. pTDefRegMap(@Self)^.&set := $00000200;
  27490. end;
  27491. function TSPI4_SPI3ACON.getSMP : TBits_1; inline;
  27492. begin
  27493. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27494. end;
  27495. procedure TSPI4_SPI3ACON.setMODE16; inline;
  27496. begin
  27497. pTDefRegMap(@Self)^.&set := $00000400;
  27498. end;
  27499. procedure TSPI4_SPI3ACON.clearMODE16; inline;
  27500. begin
  27501. pTDefRegMap(@Self)^.clr := $00000400;
  27502. end;
  27503. procedure TSPI4_SPI3ACON.setMODE16(thebits : TBits_1); inline;
  27504. begin
  27505. if thebits = 0 then
  27506. pTDefRegMap(@Self)^.clr := $00000400
  27507. else
  27508. pTDefRegMap(@Self)^.&set := $00000400;
  27509. end;
  27510. function TSPI4_SPI3ACON.getMODE16 : TBits_1; inline;
  27511. begin
  27512. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27513. end;
  27514. procedure TSPI4_SPI3ACON.setMODE32; inline;
  27515. begin
  27516. pTDefRegMap(@Self)^.&set := $00000800;
  27517. end;
  27518. procedure TSPI4_SPI3ACON.clearMODE32; inline;
  27519. begin
  27520. pTDefRegMap(@Self)^.clr := $00000800;
  27521. end;
  27522. procedure TSPI4_SPI3ACON.setMODE32(thebits : TBits_1); inline;
  27523. begin
  27524. if thebits = 0 then
  27525. pTDefRegMap(@Self)^.clr := $00000800
  27526. else
  27527. pTDefRegMap(@Self)^.&set := $00000800;
  27528. end;
  27529. function TSPI4_SPI3ACON.getMODE32 : TBits_1; inline;
  27530. begin
  27531. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27532. end;
  27533. procedure TSPI4_SPI3ACON.setDISSDO; inline;
  27534. begin
  27535. pTDefRegMap(@Self)^.&set := $00001000;
  27536. end;
  27537. procedure TSPI4_SPI3ACON.clearDISSDO; inline;
  27538. begin
  27539. pTDefRegMap(@Self)^.clr := $00001000;
  27540. end;
  27541. procedure TSPI4_SPI3ACON.setDISSDO(thebits : TBits_1); inline;
  27542. begin
  27543. if thebits = 0 then
  27544. pTDefRegMap(@Self)^.clr := $00001000
  27545. else
  27546. pTDefRegMap(@Self)^.&set := $00001000;
  27547. end;
  27548. function TSPI4_SPI3ACON.getDISSDO : TBits_1; inline;
  27549. begin
  27550. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27551. end;
  27552. procedure TSPI4_SPI3ACON.setSIDL; inline;
  27553. begin
  27554. pTDefRegMap(@Self)^.&set := $00002000;
  27555. end;
  27556. procedure TSPI4_SPI3ACON.clearSIDL; inline;
  27557. begin
  27558. pTDefRegMap(@Self)^.clr := $00002000;
  27559. end;
  27560. procedure TSPI4_SPI3ACON.setSIDL(thebits : TBits_1); inline;
  27561. begin
  27562. if thebits = 0 then
  27563. pTDefRegMap(@Self)^.clr := $00002000
  27564. else
  27565. pTDefRegMap(@Self)^.&set := $00002000;
  27566. end;
  27567. function TSPI4_SPI3ACON.getSIDL : TBits_1; inline;
  27568. begin
  27569. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27570. end;
  27571. procedure TSPI4_SPI3ACON.setON; inline;
  27572. begin
  27573. pTDefRegMap(@Self)^.&set := $00008000;
  27574. end;
  27575. procedure TSPI4_SPI3ACON.clearON; inline;
  27576. begin
  27577. pTDefRegMap(@Self)^.clr := $00008000;
  27578. end;
  27579. procedure TSPI4_SPI3ACON.setON(thebits : TBits_1); inline;
  27580. begin
  27581. if thebits = 0 then
  27582. pTDefRegMap(@Self)^.clr := $00008000
  27583. else
  27584. pTDefRegMap(@Self)^.&set := $00008000;
  27585. end;
  27586. function TSPI4_SPI3ACON.getON : TBits_1; inline;
  27587. begin
  27588. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27589. end;
  27590. procedure TSPI4_SPI3ACON.setENHBUF; inline;
  27591. begin
  27592. pTDefRegMap(@Self)^.&set := $00010000;
  27593. end;
  27594. procedure TSPI4_SPI3ACON.clearENHBUF; inline;
  27595. begin
  27596. pTDefRegMap(@Self)^.clr := $00010000;
  27597. end;
  27598. procedure TSPI4_SPI3ACON.setENHBUF(thebits : TBits_1); inline;
  27599. begin
  27600. if thebits = 0 then
  27601. pTDefRegMap(@Self)^.clr := $00010000
  27602. else
  27603. pTDefRegMap(@Self)^.&set := $00010000;
  27604. end;
  27605. function TSPI4_SPI3ACON.getENHBUF : TBits_1; inline;
  27606. begin
  27607. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27608. end;
  27609. procedure TSPI4_SPI3ACON.setSPIFE; inline;
  27610. begin
  27611. pTDefRegMap(@Self)^.&set := $00020000;
  27612. end;
  27613. procedure TSPI4_SPI3ACON.clearSPIFE; inline;
  27614. begin
  27615. pTDefRegMap(@Self)^.clr := $00020000;
  27616. end;
  27617. procedure TSPI4_SPI3ACON.setSPIFE(thebits : TBits_1); inline;
  27618. begin
  27619. if thebits = 0 then
  27620. pTDefRegMap(@Self)^.clr := $00020000
  27621. else
  27622. pTDefRegMap(@Self)^.&set := $00020000;
  27623. end;
  27624. function TSPI4_SPI3ACON.getSPIFE : TBits_1; inline;
  27625. begin
  27626. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27627. end;
  27628. procedure TSPI4_SPI3ACON.setFRMCNT(thebits : TBits_3); inline;
  27629. begin
  27630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27631. end;
  27632. function TSPI4_SPI3ACON.getFRMCNT : TBits_3; inline;
  27633. begin
  27634. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27635. end;
  27636. procedure TSPI4_SPI3ACON.setFRMSYPW; inline;
  27637. begin
  27638. pTDefRegMap(@Self)^.&set := $08000000;
  27639. end;
  27640. procedure TSPI4_SPI3ACON.clearFRMSYPW; inline;
  27641. begin
  27642. pTDefRegMap(@Self)^.clr := $08000000;
  27643. end;
  27644. procedure TSPI4_SPI3ACON.setFRMSYPW(thebits : TBits_1); inline;
  27645. begin
  27646. if thebits = 0 then
  27647. pTDefRegMap(@Self)^.clr := $08000000
  27648. else
  27649. pTDefRegMap(@Self)^.&set := $08000000;
  27650. end;
  27651. function TSPI4_SPI3ACON.getFRMSYPW : TBits_1; inline;
  27652. begin
  27653. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27654. end;
  27655. procedure TSPI4_SPI3ACON.setMSSEN; inline;
  27656. begin
  27657. pTDefRegMap(@Self)^.&set := $10000000;
  27658. end;
  27659. procedure TSPI4_SPI3ACON.clearMSSEN; inline;
  27660. begin
  27661. pTDefRegMap(@Self)^.clr := $10000000;
  27662. end;
  27663. procedure TSPI4_SPI3ACON.setMSSEN(thebits : TBits_1); inline;
  27664. begin
  27665. if thebits = 0 then
  27666. pTDefRegMap(@Self)^.clr := $10000000
  27667. else
  27668. pTDefRegMap(@Self)^.&set := $10000000;
  27669. end;
  27670. function TSPI4_SPI3ACON.getMSSEN : TBits_1; inline;
  27671. begin
  27672. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27673. end;
  27674. procedure TSPI4_SPI3ACON.setFRMPOL; inline;
  27675. begin
  27676. pTDefRegMap(@Self)^.&set := $20000000;
  27677. end;
  27678. procedure TSPI4_SPI3ACON.clearFRMPOL; inline;
  27679. begin
  27680. pTDefRegMap(@Self)^.clr := $20000000;
  27681. end;
  27682. procedure TSPI4_SPI3ACON.setFRMPOL(thebits : TBits_1); inline;
  27683. begin
  27684. if thebits = 0 then
  27685. pTDefRegMap(@Self)^.clr := $20000000
  27686. else
  27687. pTDefRegMap(@Self)^.&set := $20000000;
  27688. end;
  27689. function TSPI4_SPI3ACON.getFRMPOL : TBits_1; inline;
  27690. begin
  27691. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27692. end;
  27693. procedure TSPI4_SPI3ACON.setFRMSYNC; inline;
  27694. begin
  27695. pTDefRegMap(@Self)^.&set := $40000000;
  27696. end;
  27697. procedure TSPI4_SPI3ACON.clearFRMSYNC; inline;
  27698. begin
  27699. pTDefRegMap(@Self)^.clr := $40000000;
  27700. end;
  27701. procedure TSPI4_SPI3ACON.setFRMSYNC(thebits : TBits_1); inline;
  27702. begin
  27703. if thebits = 0 then
  27704. pTDefRegMap(@Self)^.clr := $40000000
  27705. else
  27706. pTDefRegMap(@Self)^.&set := $40000000;
  27707. end;
  27708. function TSPI4_SPI3ACON.getFRMSYNC : TBits_1; inline;
  27709. begin
  27710. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27711. end;
  27712. procedure TSPI4_SPI3ACON.setFRMEN; inline;
  27713. begin
  27714. pTDefRegMap(@Self)^.&set := $80000000;
  27715. end;
  27716. procedure TSPI4_SPI3ACON.clearFRMEN; inline;
  27717. begin
  27718. pTDefRegMap(@Self)^.clr := $80000000;
  27719. end;
  27720. procedure TSPI4_SPI3ACON.setFRMEN(thebits : TBits_1); inline;
  27721. begin
  27722. if thebits = 0 then
  27723. pTDefRegMap(@Self)^.clr := $80000000
  27724. else
  27725. pTDefRegMap(@Self)^.&set := $80000000;
  27726. end;
  27727. function TSPI4_SPI3ACON.getFRMEN : TBits_1; inline;
  27728. begin
  27729. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27730. end;
  27731. procedure TSPI4_SPI3ACON.setw(thebits : TBits_32); inline;
  27732. begin
  27733. pTDefRegMap(@Self)^.val := thebits;
  27734. end;
  27735. function TSPI4_SPI3ACON.getw : TBits_32; inline;
  27736. begin
  27737. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27738. end;
  27739. procedure TSPI4_SPI4CON.setSRXISEL(thebits : TBits_2); inline;
  27740. begin
  27741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27742. end;
  27743. function TSPI4_SPI4CON.getSRXISEL : TBits_2; inline;
  27744. begin
  27745. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27746. end;
  27747. procedure TSPI4_SPI4CON.setSTXISEL(thebits : TBits_2); inline;
  27748. begin
  27749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27750. end;
  27751. function TSPI4_SPI4CON.getSTXISEL : TBits_2; inline;
  27752. begin
  27753. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27754. end;
  27755. procedure TSPI4_SPI4CON.setMSTEN; inline;
  27756. begin
  27757. pTDefRegMap(@Self)^.&set := $00000020;
  27758. end;
  27759. procedure TSPI4_SPI4CON.clearMSTEN; inline;
  27760. begin
  27761. pTDefRegMap(@Self)^.clr := $00000020;
  27762. end;
  27763. procedure TSPI4_SPI4CON.setMSTEN(thebits : TBits_1); inline;
  27764. begin
  27765. if thebits = 0 then
  27766. pTDefRegMap(@Self)^.clr := $00000020
  27767. else
  27768. pTDefRegMap(@Self)^.&set := $00000020;
  27769. end;
  27770. function TSPI4_SPI4CON.getMSTEN : TBits_1; inline;
  27771. begin
  27772. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27773. end;
  27774. procedure TSPI4_SPI4CON.setCKP; inline;
  27775. begin
  27776. pTDefRegMap(@Self)^.&set := $00000040;
  27777. end;
  27778. procedure TSPI4_SPI4CON.clearCKP; inline;
  27779. begin
  27780. pTDefRegMap(@Self)^.clr := $00000040;
  27781. end;
  27782. procedure TSPI4_SPI4CON.setCKP(thebits : TBits_1); inline;
  27783. begin
  27784. if thebits = 0 then
  27785. pTDefRegMap(@Self)^.clr := $00000040
  27786. else
  27787. pTDefRegMap(@Self)^.&set := $00000040;
  27788. end;
  27789. function TSPI4_SPI4CON.getCKP : TBits_1; inline;
  27790. begin
  27791. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27792. end;
  27793. procedure TSPI4_SPI4CON.setSSEN; inline;
  27794. begin
  27795. pTDefRegMap(@Self)^.&set := $00000080;
  27796. end;
  27797. procedure TSPI4_SPI4CON.clearSSEN; inline;
  27798. begin
  27799. pTDefRegMap(@Self)^.clr := $00000080;
  27800. end;
  27801. procedure TSPI4_SPI4CON.setSSEN(thebits : TBits_1); inline;
  27802. begin
  27803. if thebits = 0 then
  27804. pTDefRegMap(@Self)^.clr := $00000080
  27805. else
  27806. pTDefRegMap(@Self)^.&set := $00000080;
  27807. end;
  27808. function TSPI4_SPI4CON.getSSEN : TBits_1; inline;
  27809. begin
  27810. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27811. end;
  27812. procedure TSPI4_SPI4CON.setCKE; inline;
  27813. begin
  27814. pTDefRegMap(@Self)^.&set := $00000100;
  27815. end;
  27816. procedure TSPI4_SPI4CON.clearCKE; inline;
  27817. begin
  27818. pTDefRegMap(@Self)^.clr := $00000100;
  27819. end;
  27820. procedure TSPI4_SPI4CON.setCKE(thebits : TBits_1); inline;
  27821. begin
  27822. if thebits = 0 then
  27823. pTDefRegMap(@Self)^.clr := $00000100
  27824. else
  27825. pTDefRegMap(@Self)^.&set := $00000100;
  27826. end;
  27827. function TSPI4_SPI4CON.getCKE : TBits_1; inline;
  27828. begin
  27829. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27830. end;
  27831. procedure TSPI4_SPI4CON.setSMP; inline;
  27832. begin
  27833. pTDefRegMap(@Self)^.&set := $00000200;
  27834. end;
  27835. procedure TSPI4_SPI4CON.clearSMP; inline;
  27836. begin
  27837. pTDefRegMap(@Self)^.clr := $00000200;
  27838. end;
  27839. procedure TSPI4_SPI4CON.setSMP(thebits : TBits_1); inline;
  27840. begin
  27841. if thebits = 0 then
  27842. pTDefRegMap(@Self)^.clr := $00000200
  27843. else
  27844. pTDefRegMap(@Self)^.&set := $00000200;
  27845. end;
  27846. function TSPI4_SPI4CON.getSMP : TBits_1; inline;
  27847. begin
  27848. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27849. end;
  27850. procedure TSPI4_SPI4CON.setMODE16; inline;
  27851. begin
  27852. pTDefRegMap(@Self)^.&set := $00000400;
  27853. end;
  27854. procedure TSPI4_SPI4CON.clearMODE16; inline;
  27855. begin
  27856. pTDefRegMap(@Self)^.clr := $00000400;
  27857. end;
  27858. procedure TSPI4_SPI4CON.setMODE16(thebits : TBits_1); inline;
  27859. begin
  27860. if thebits = 0 then
  27861. pTDefRegMap(@Self)^.clr := $00000400
  27862. else
  27863. pTDefRegMap(@Self)^.&set := $00000400;
  27864. end;
  27865. function TSPI4_SPI4CON.getMODE16 : TBits_1; inline;
  27866. begin
  27867. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27868. end;
  27869. procedure TSPI4_SPI4CON.setMODE32; inline;
  27870. begin
  27871. pTDefRegMap(@Self)^.&set := $00000800;
  27872. end;
  27873. procedure TSPI4_SPI4CON.clearMODE32; inline;
  27874. begin
  27875. pTDefRegMap(@Self)^.clr := $00000800;
  27876. end;
  27877. procedure TSPI4_SPI4CON.setMODE32(thebits : TBits_1); inline;
  27878. begin
  27879. if thebits = 0 then
  27880. pTDefRegMap(@Self)^.clr := $00000800
  27881. else
  27882. pTDefRegMap(@Self)^.&set := $00000800;
  27883. end;
  27884. function TSPI4_SPI4CON.getMODE32 : TBits_1; inline;
  27885. begin
  27886. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27887. end;
  27888. procedure TSPI4_SPI4CON.setDISSDO; inline;
  27889. begin
  27890. pTDefRegMap(@Self)^.&set := $00001000;
  27891. end;
  27892. procedure TSPI4_SPI4CON.clearDISSDO; inline;
  27893. begin
  27894. pTDefRegMap(@Self)^.clr := $00001000;
  27895. end;
  27896. procedure TSPI4_SPI4CON.setDISSDO(thebits : TBits_1); inline;
  27897. begin
  27898. if thebits = 0 then
  27899. pTDefRegMap(@Self)^.clr := $00001000
  27900. else
  27901. pTDefRegMap(@Self)^.&set := $00001000;
  27902. end;
  27903. function TSPI4_SPI4CON.getDISSDO : TBits_1; inline;
  27904. begin
  27905. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27906. end;
  27907. procedure TSPI4_SPI4CON.setSIDL; inline;
  27908. begin
  27909. pTDefRegMap(@Self)^.&set := $00002000;
  27910. end;
  27911. procedure TSPI4_SPI4CON.clearSIDL; inline;
  27912. begin
  27913. pTDefRegMap(@Self)^.clr := $00002000;
  27914. end;
  27915. procedure TSPI4_SPI4CON.setSIDL(thebits : TBits_1); inline;
  27916. begin
  27917. if thebits = 0 then
  27918. pTDefRegMap(@Self)^.clr := $00002000
  27919. else
  27920. pTDefRegMap(@Self)^.&set := $00002000;
  27921. end;
  27922. function TSPI4_SPI4CON.getSIDL : TBits_1; inline;
  27923. begin
  27924. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27925. end;
  27926. procedure TSPI4_SPI4CON.setON; inline;
  27927. begin
  27928. pTDefRegMap(@Self)^.&set := $00008000;
  27929. end;
  27930. procedure TSPI4_SPI4CON.clearON; inline;
  27931. begin
  27932. pTDefRegMap(@Self)^.clr := $00008000;
  27933. end;
  27934. procedure TSPI4_SPI4CON.setON(thebits : TBits_1); inline;
  27935. begin
  27936. if thebits = 0 then
  27937. pTDefRegMap(@Self)^.clr := $00008000
  27938. else
  27939. pTDefRegMap(@Self)^.&set := $00008000;
  27940. end;
  27941. function TSPI4_SPI4CON.getON : TBits_1; inline;
  27942. begin
  27943. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27944. end;
  27945. procedure TSPI4_SPI4CON.setENHBUF; inline;
  27946. begin
  27947. pTDefRegMap(@Self)^.&set := $00010000;
  27948. end;
  27949. procedure TSPI4_SPI4CON.clearENHBUF; inline;
  27950. begin
  27951. pTDefRegMap(@Self)^.clr := $00010000;
  27952. end;
  27953. procedure TSPI4_SPI4CON.setENHBUF(thebits : TBits_1); inline;
  27954. begin
  27955. if thebits = 0 then
  27956. pTDefRegMap(@Self)^.clr := $00010000
  27957. else
  27958. pTDefRegMap(@Self)^.&set := $00010000;
  27959. end;
  27960. function TSPI4_SPI4CON.getENHBUF : TBits_1; inline;
  27961. begin
  27962. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27963. end;
  27964. procedure TSPI4_SPI4CON.setSPIFE; inline;
  27965. begin
  27966. pTDefRegMap(@Self)^.&set := $00020000;
  27967. end;
  27968. procedure TSPI4_SPI4CON.clearSPIFE; inline;
  27969. begin
  27970. pTDefRegMap(@Self)^.clr := $00020000;
  27971. end;
  27972. procedure TSPI4_SPI4CON.setSPIFE(thebits : TBits_1); inline;
  27973. begin
  27974. if thebits = 0 then
  27975. pTDefRegMap(@Self)^.clr := $00020000
  27976. else
  27977. pTDefRegMap(@Self)^.&set := $00020000;
  27978. end;
  27979. function TSPI4_SPI4CON.getSPIFE : TBits_1; inline;
  27980. begin
  27981. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27982. end;
  27983. procedure TSPI4_SPI4CON.setFRMCNT(thebits : TBits_3); inline;
  27984. begin
  27985. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27986. end;
  27987. function TSPI4_SPI4CON.getFRMCNT : TBits_3; inline;
  27988. begin
  27989. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27990. end;
  27991. procedure TSPI4_SPI4CON.setFRMSYPW; inline;
  27992. begin
  27993. pTDefRegMap(@Self)^.&set := $08000000;
  27994. end;
  27995. procedure TSPI4_SPI4CON.clearFRMSYPW; inline;
  27996. begin
  27997. pTDefRegMap(@Self)^.clr := $08000000;
  27998. end;
  27999. procedure TSPI4_SPI4CON.setFRMSYPW(thebits : TBits_1); inline;
  28000. begin
  28001. if thebits = 0 then
  28002. pTDefRegMap(@Self)^.clr := $08000000
  28003. else
  28004. pTDefRegMap(@Self)^.&set := $08000000;
  28005. end;
  28006. function TSPI4_SPI4CON.getFRMSYPW : TBits_1; inline;
  28007. begin
  28008. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28009. end;
  28010. procedure TSPI4_SPI4CON.setMSSEN; inline;
  28011. begin
  28012. pTDefRegMap(@Self)^.&set := $10000000;
  28013. end;
  28014. procedure TSPI4_SPI4CON.clearMSSEN; inline;
  28015. begin
  28016. pTDefRegMap(@Self)^.clr := $10000000;
  28017. end;
  28018. procedure TSPI4_SPI4CON.setMSSEN(thebits : TBits_1); inline;
  28019. begin
  28020. if thebits = 0 then
  28021. pTDefRegMap(@Self)^.clr := $10000000
  28022. else
  28023. pTDefRegMap(@Self)^.&set := $10000000;
  28024. end;
  28025. function TSPI4_SPI4CON.getMSSEN : TBits_1; inline;
  28026. begin
  28027. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28028. end;
  28029. procedure TSPI4_SPI4CON.setFRMPOL; inline;
  28030. begin
  28031. pTDefRegMap(@Self)^.&set := $20000000;
  28032. end;
  28033. procedure TSPI4_SPI4CON.clearFRMPOL; inline;
  28034. begin
  28035. pTDefRegMap(@Self)^.clr := $20000000;
  28036. end;
  28037. procedure TSPI4_SPI4CON.setFRMPOL(thebits : TBits_1); inline;
  28038. begin
  28039. if thebits = 0 then
  28040. pTDefRegMap(@Self)^.clr := $20000000
  28041. else
  28042. pTDefRegMap(@Self)^.&set := $20000000;
  28043. end;
  28044. function TSPI4_SPI4CON.getFRMPOL : TBits_1; inline;
  28045. begin
  28046. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28047. end;
  28048. procedure TSPI4_SPI4CON.setFRMSYNC; inline;
  28049. begin
  28050. pTDefRegMap(@Self)^.&set := $40000000;
  28051. end;
  28052. procedure TSPI4_SPI4CON.clearFRMSYNC; inline;
  28053. begin
  28054. pTDefRegMap(@Self)^.clr := $40000000;
  28055. end;
  28056. procedure TSPI4_SPI4CON.setFRMSYNC(thebits : TBits_1); inline;
  28057. begin
  28058. if thebits = 0 then
  28059. pTDefRegMap(@Self)^.clr := $40000000
  28060. else
  28061. pTDefRegMap(@Self)^.&set := $40000000;
  28062. end;
  28063. function TSPI4_SPI4CON.getFRMSYNC : TBits_1; inline;
  28064. begin
  28065. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28066. end;
  28067. procedure TSPI4_SPI4CON.setFRMEN; inline;
  28068. begin
  28069. pTDefRegMap(@Self)^.&set := $80000000;
  28070. end;
  28071. procedure TSPI4_SPI4CON.clearFRMEN; inline;
  28072. begin
  28073. pTDefRegMap(@Self)^.clr := $80000000;
  28074. end;
  28075. procedure TSPI4_SPI4CON.setFRMEN(thebits : TBits_1); inline;
  28076. begin
  28077. if thebits = 0 then
  28078. pTDefRegMap(@Self)^.clr := $80000000
  28079. else
  28080. pTDefRegMap(@Self)^.&set := $80000000;
  28081. end;
  28082. function TSPI4_SPI4CON.getFRMEN : TBits_1; inline;
  28083. begin
  28084. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28085. end;
  28086. procedure TSPI4_SPI4CON.setw(thebits : TBits_32); inline;
  28087. begin
  28088. pTDefRegMap(@Self)^.val := thebits;
  28089. end;
  28090. function TSPI4_SPI4CON.getw : TBits_32; inline;
  28091. begin
  28092. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28093. end;
  28094. procedure TSPI4_SPI3ASTAT.setSPIRBF; inline;
  28095. begin
  28096. pTDefRegMap(@Self)^.&set := $00000001;
  28097. end;
  28098. procedure TSPI4_SPI3ASTAT.clearSPIRBF; inline;
  28099. begin
  28100. pTDefRegMap(@Self)^.clr := $00000001;
  28101. end;
  28102. procedure TSPI4_SPI3ASTAT.setSPIRBF(thebits : TBits_1); inline;
  28103. begin
  28104. if thebits = 0 then
  28105. pTDefRegMap(@Self)^.clr := $00000001
  28106. else
  28107. pTDefRegMap(@Self)^.&set := $00000001;
  28108. end;
  28109. function TSPI4_SPI3ASTAT.getSPIRBF : TBits_1; inline;
  28110. begin
  28111. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28112. end;
  28113. procedure TSPI4_SPI3ASTAT.setSPITBF; inline;
  28114. begin
  28115. pTDefRegMap(@Self)^.&set := $00000002;
  28116. end;
  28117. procedure TSPI4_SPI3ASTAT.clearSPITBF; inline;
  28118. begin
  28119. pTDefRegMap(@Self)^.clr := $00000002;
  28120. end;
  28121. procedure TSPI4_SPI3ASTAT.setSPITBF(thebits : TBits_1); inline;
  28122. begin
  28123. if thebits = 0 then
  28124. pTDefRegMap(@Self)^.clr := $00000002
  28125. else
  28126. pTDefRegMap(@Self)^.&set := $00000002;
  28127. end;
  28128. function TSPI4_SPI3ASTAT.getSPITBF : TBits_1; inline;
  28129. begin
  28130. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28131. end;
  28132. procedure TSPI4_SPI3ASTAT.setSPITBE; inline;
  28133. begin
  28134. pTDefRegMap(@Self)^.&set := $00000008;
  28135. end;
  28136. procedure TSPI4_SPI3ASTAT.clearSPITBE; inline;
  28137. begin
  28138. pTDefRegMap(@Self)^.clr := $00000008;
  28139. end;
  28140. procedure TSPI4_SPI3ASTAT.setSPITBE(thebits : TBits_1); inline;
  28141. begin
  28142. if thebits = 0 then
  28143. pTDefRegMap(@Self)^.clr := $00000008
  28144. else
  28145. pTDefRegMap(@Self)^.&set := $00000008;
  28146. end;
  28147. function TSPI4_SPI3ASTAT.getSPITBE : TBits_1; inline;
  28148. begin
  28149. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28150. end;
  28151. procedure TSPI4_SPI3ASTAT.setSPIRBE; inline;
  28152. begin
  28153. pTDefRegMap(@Self)^.&set := $00000020;
  28154. end;
  28155. procedure TSPI4_SPI3ASTAT.clearSPIRBE; inline;
  28156. begin
  28157. pTDefRegMap(@Self)^.clr := $00000020;
  28158. end;
  28159. procedure TSPI4_SPI3ASTAT.setSPIRBE(thebits : TBits_1); inline;
  28160. begin
  28161. if thebits = 0 then
  28162. pTDefRegMap(@Self)^.clr := $00000020
  28163. else
  28164. pTDefRegMap(@Self)^.&set := $00000020;
  28165. end;
  28166. function TSPI4_SPI3ASTAT.getSPIRBE : TBits_1; inline;
  28167. begin
  28168. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28169. end;
  28170. procedure TSPI4_SPI3ASTAT.setSPIROV; inline;
  28171. begin
  28172. pTDefRegMap(@Self)^.&set := $00000040;
  28173. end;
  28174. procedure TSPI4_SPI3ASTAT.clearSPIROV; inline;
  28175. begin
  28176. pTDefRegMap(@Self)^.clr := $00000040;
  28177. end;
  28178. procedure TSPI4_SPI3ASTAT.setSPIROV(thebits : TBits_1); inline;
  28179. begin
  28180. if thebits = 0 then
  28181. pTDefRegMap(@Self)^.clr := $00000040
  28182. else
  28183. pTDefRegMap(@Self)^.&set := $00000040;
  28184. end;
  28185. function TSPI4_SPI3ASTAT.getSPIROV : TBits_1; inline;
  28186. begin
  28187. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28188. end;
  28189. procedure TSPI4_SPI3ASTAT.setSRMT; inline;
  28190. begin
  28191. pTDefRegMap(@Self)^.&set := $00000080;
  28192. end;
  28193. procedure TSPI4_SPI3ASTAT.clearSRMT; inline;
  28194. begin
  28195. pTDefRegMap(@Self)^.clr := $00000080;
  28196. end;
  28197. procedure TSPI4_SPI3ASTAT.setSRMT(thebits : TBits_1); inline;
  28198. begin
  28199. if thebits = 0 then
  28200. pTDefRegMap(@Self)^.clr := $00000080
  28201. else
  28202. pTDefRegMap(@Self)^.&set := $00000080;
  28203. end;
  28204. function TSPI4_SPI3ASTAT.getSRMT : TBits_1; inline;
  28205. begin
  28206. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28207. end;
  28208. procedure TSPI4_SPI3ASTAT.setSPITUR; inline;
  28209. begin
  28210. pTDefRegMap(@Self)^.&set := $00000100;
  28211. end;
  28212. procedure TSPI4_SPI3ASTAT.clearSPITUR; inline;
  28213. begin
  28214. pTDefRegMap(@Self)^.clr := $00000100;
  28215. end;
  28216. procedure TSPI4_SPI3ASTAT.setSPITUR(thebits : TBits_1); inline;
  28217. begin
  28218. if thebits = 0 then
  28219. pTDefRegMap(@Self)^.clr := $00000100
  28220. else
  28221. pTDefRegMap(@Self)^.&set := $00000100;
  28222. end;
  28223. function TSPI4_SPI3ASTAT.getSPITUR : TBits_1; inline;
  28224. begin
  28225. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28226. end;
  28227. procedure TSPI4_SPI3ASTAT.setSPIBUSY; inline;
  28228. begin
  28229. pTDefRegMap(@Self)^.&set := $00000800;
  28230. end;
  28231. procedure TSPI4_SPI3ASTAT.clearSPIBUSY; inline;
  28232. begin
  28233. pTDefRegMap(@Self)^.clr := $00000800;
  28234. end;
  28235. procedure TSPI4_SPI3ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  28236. begin
  28237. if thebits = 0 then
  28238. pTDefRegMap(@Self)^.clr := $00000800
  28239. else
  28240. pTDefRegMap(@Self)^.&set := $00000800;
  28241. end;
  28242. function TSPI4_SPI3ASTAT.getSPIBUSY : TBits_1; inline;
  28243. begin
  28244. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28245. end;
  28246. procedure TSPI4_SPI3ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  28247. begin
  28248. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28249. end;
  28250. function TSPI4_SPI3ASTAT.getTXBUFELM : TBits_5; inline;
  28251. begin
  28252. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28253. end;
  28254. procedure TSPI4_SPI3ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  28255. begin
  28256. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28257. end;
  28258. function TSPI4_SPI3ASTAT.getRXBUFELM : TBits_5; inline;
  28259. begin
  28260. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28261. end;
  28262. procedure TSPI4_SPI3ASTAT.setw(thebits : TBits_32); inline;
  28263. begin
  28264. pTDefRegMap(@Self)^.val := thebits;
  28265. end;
  28266. function TSPI4_SPI3ASTAT.getw : TBits_32; inline;
  28267. begin
  28268. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28269. end;
  28270. procedure TSPI4_SPI4STAT.setSPIRBF; inline;
  28271. begin
  28272. pTDefRegMap(@Self)^.&set := $00000001;
  28273. end;
  28274. procedure TSPI4_SPI4STAT.clearSPIRBF; inline;
  28275. begin
  28276. pTDefRegMap(@Self)^.clr := $00000001;
  28277. end;
  28278. procedure TSPI4_SPI4STAT.setSPIRBF(thebits : TBits_1); inline;
  28279. begin
  28280. if thebits = 0 then
  28281. pTDefRegMap(@Self)^.clr := $00000001
  28282. else
  28283. pTDefRegMap(@Self)^.&set := $00000001;
  28284. end;
  28285. function TSPI4_SPI4STAT.getSPIRBF : TBits_1; inline;
  28286. begin
  28287. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28288. end;
  28289. procedure TSPI4_SPI4STAT.setSPITBF; inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.&set := $00000002;
  28292. end;
  28293. procedure TSPI4_SPI4STAT.clearSPITBF; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.clr := $00000002;
  28296. end;
  28297. procedure TSPI4_SPI4STAT.setSPITBF(thebits : TBits_1); inline;
  28298. begin
  28299. if thebits = 0 then
  28300. pTDefRegMap(@Self)^.clr := $00000002
  28301. else
  28302. pTDefRegMap(@Self)^.&set := $00000002;
  28303. end;
  28304. function TSPI4_SPI4STAT.getSPITBF : TBits_1; inline;
  28305. begin
  28306. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28307. end;
  28308. procedure TSPI4_SPI4STAT.setSPITBE; inline;
  28309. begin
  28310. pTDefRegMap(@Self)^.&set := $00000008;
  28311. end;
  28312. procedure TSPI4_SPI4STAT.clearSPITBE; inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.clr := $00000008;
  28315. end;
  28316. procedure TSPI4_SPI4STAT.setSPITBE(thebits : TBits_1); inline;
  28317. begin
  28318. if thebits = 0 then
  28319. pTDefRegMap(@Self)^.clr := $00000008
  28320. else
  28321. pTDefRegMap(@Self)^.&set := $00000008;
  28322. end;
  28323. function TSPI4_SPI4STAT.getSPITBE : TBits_1; inline;
  28324. begin
  28325. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28326. end;
  28327. procedure TSPI4_SPI4STAT.setSPIRBE; inline;
  28328. begin
  28329. pTDefRegMap(@Self)^.&set := $00000020;
  28330. end;
  28331. procedure TSPI4_SPI4STAT.clearSPIRBE; inline;
  28332. begin
  28333. pTDefRegMap(@Self)^.clr := $00000020;
  28334. end;
  28335. procedure TSPI4_SPI4STAT.setSPIRBE(thebits : TBits_1); inline;
  28336. begin
  28337. if thebits = 0 then
  28338. pTDefRegMap(@Self)^.clr := $00000020
  28339. else
  28340. pTDefRegMap(@Self)^.&set := $00000020;
  28341. end;
  28342. function TSPI4_SPI4STAT.getSPIRBE : TBits_1; inline;
  28343. begin
  28344. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28345. end;
  28346. procedure TSPI4_SPI4STAT.setSPIROV; inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.&set := $00000040;
  28349. end;
  28350. procedure TSPI4_SPI4STAT.clearSPIROV; inline;
  28351. begin
  28352. pTDefRegMap(@Self)^.clr := $00000040;
  28353. end;
  28354. procedure TSPI4_SPI4STAT.setSPIROV(thebits : TBits_1); inline;
  28355. begin
  28356. if thebits = 0 then
  28357. pTDefRegMap(@Self)^.clr := $00000040
  28358. else
  28359. pTDefRegMap(@Self)^.&set := $00000040;
  28360. end;
  28361. function TSPI4_SPI4STAT.getSPIROV : TBits_1; inline;
  28362. begin
  28363. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28364. end;
  28365. procedure TSPI4_SPI4STAT.setSRMT; inline;
  28366. begin
  28367. pTDefRegMap(@Self)^.&set := $00000080;
  28368. end;
  28369. procedure TSPI4_SPI4STAT.clearSRMT; inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.clr := $00000080;
  28372. end;
  28373. procedure TSPI4_SPI4STAT.setSRMT(thebits : TBits_1); inline;
  28374. begin
  28375. if thebits = 0 then
  28376. pTDefRegMap(@Self)^.clr := $00000080
  28377. else
  28378. pTDefRegMap(@Self)^.&set := $00000080;
  28379. end;
  28380. function TSPI4_SPI4STAT.getSRMT : TBits_1; inline;
  28381. begin
  28382. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28383. end;
  28384. procedure TSPI4_SPI4STAT.setSPITUR; inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.&set := $00000100;
  28387. end;
  28388. procedure TSPI4_SPI4STAT.clearSPITUR; inline;
  28389. begin
  28390. pTDefRegMap(@Self)^.clr := $00000100;
  28391. end;
  28392. procedure TSPI4_SPI4STAT.setSPITUR(thebits : TBits_1); inline;
  28393. begin
  28394. if thebits = 0 then
  28395. pTDefRegMap(@Self)^.clr := $00000100
  28396. else
  28397. pTDefRegMap(@Self)^.&set := $00000100;
  28398. end;
  28399. function TSPI4_SPI4STAT.getSPITUR : TBits_1; inline;
  28400. begin
  28401. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28402. end;
  28403. procedure TSPI4_SPI4STAT.setSPIBUSY; inline;
  28404. begin
  28405. pTDefRegMap(@Self)^.&set := $00000800;
  28406. end;
  28407. procedure TSPI4_SPI4STAT.clearSPIBUSY; inline;
  28408. begin
  28409. pTDefRegMap(@Self)^.clr := $00000800;
  28410. end;
  28411. procedure TSPI4_SPI4STAT.setSPIBUSY(thebits : TBits_1); inline;
  28412. begin
  28413. if thebits = 0 then
  28414. pTDefRegMap(@Self)^.clr := $00000800
  28415. else
  28416. pTDefRegMap(@Self)^.&set := $00000800;
  28417. end;
  28418. function TSPI4_SPI4STAT.getSPIBUSY : TBits_1; inline;
  28419. begin
  28420. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28421. end;
  28422. procedure TSPI4_SPI4STAT.setTXBUFELM(thebits : TBits_5); inline;
  28423. begin
  28424. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28425. end;
  28426. function TSPI4_SPI4STAT.getTXBUFELM : TBits_5; inline;
  28427. begin
  28428. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28429. end;
  28430. procedure TSPI4_SPI4STAT.setRXBUFELM(thebits : TBits_5); inline;
  28431. begin
  28432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28433. end;
  28434. function TSPI4_SPI4STAT.getRXBUFELM : TBits_5; inline;
  28435. begin
  28436. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28437. end;
  28438. procedure TSPI4_SPI4STAT.setw(thebits : TBits_32); inline;
  28439. begin
  28440. pTDefRegMap(@Self)^.val := thebits;
  28441. end;
  28442. function TSPI4_SPI4STAT.getw : TBits_32; inline;
  28443. begin
  28444. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28445. end;
  28446. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  28447. begin
  28448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28449. end;
  28450. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  28451. begin
  28452. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28453. end;
  28454. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  28455. begin
  28456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  28457. end;
  28458. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  28459. begin
  28460. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  28461. end;
  28462. procedure TSPI1_SPI1CON.setMSTEN; inline;
  28463. begin
  28464. pTDefRegMap(@Self)^.&set := $00000020;
  28465. end;
  28466. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  28467. begin
  28468. pTDefRegMap(@Self)^.clr := $00000020;
  28469. end;
  28470. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  28471. begin
  28472. if thebits = 0 then
  28473. pTDefRegMap(@Self)^.clr := $00000020
  28474. else
  28475. pTDefRegMap(@Self)^.&set := $00000020;
  28476. end;
  28477. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  28478. begin
  28479. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28480. end;
  28481. procedure TSPI1_SPI1CON.setCKP; inline;
  28482. begin
  28483. pTDefRegMap(@Self)^.&set := $00000040;
  28484. end;
  28485. procedure TSPI1_SPI1CON.clearCKP; inline;
  28486. begin
  28487. pTDefRegMap(@Self)^.clr := $00000040;
  28488. end;
  28489. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  28490. begin
  28491. if thebits = 0 then
  28492. pTDefRegMap(@Self)^.clr := $00000040
  28493. else
  28494. pTDefRegMap(@Self)^.&set := $00000040;
  28495. end;
  28496. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  28497. begin
  28498. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28499. end;
  28500. procedure TSPI1_SPI1CON.setSSEN; inline;
  28501. begin
  28502. pTDefRegMap(@Self)^.&set := $00000080;
  28503. end;
  28504. procedure TSPI1_SPI1CON.clearSSEN; inline;
  28505. begin
  28506. pTDefRegMap(@Self)^.clr := $00000080;
  28507. end;
  28508. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  28509. begin
  28510. if thebits = 0 then
  28511. pTDefRegMap(@Self)^.clr := $00000080
  28512. else
  28513. pTDefRegMap(@Self)^.&set := $00000080;
  28514. end;
  28515. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  28516. begin
  28517. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28518. end;
  28519. procedure TSPI1_SPI1CON.setCKE; inline;
  28520. begin
  28521. pTDefRegMap(@Self)^.&set := $00000100;
  28522. end;
  28523. procedure TSPI1_SPI1CON.clearCKE; inline;
  28524. begin
  28525. pTDefRegMap(@Self)^.clr := $00000100;
  28526. end;
  28527. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  28528. begin
  28529. if thebits = 0 then
  28530. pTDefRegMap(@Self)^.clr := $00000100
  28531. else
  28532. pTDefRegMap(@Self)^.&set := $00000100;
  28533. end;
  28534. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  28535. begin
  28536. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28537. end;
  28538. procedure TSPI1_SPI1CON.setSMP; inline;
  28539. begin
  28540. pTDefRegMap(@Self)^.&set := $00000200;
  28541. end;
  28542. procedure TSPI1_SPI1CON.clearSMP; inline;
  28543. begin
  28544. pTDefRegMap(@Self)^.clr := $00000200;
  28545. end;
  28546. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  28547. begin
  28548. if thebits = 0 then
  28549. pTDefRegMap(@Self)^.clr := $00000200
  28550. else
  28551. pTDefRegMap(@Self)^.&set := $00000200;
  28552. end;
  28553. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  28554. begin
  28555. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28556. end;
  28557. procedure TSPI1_SPI1CON.setMODE16; inline;
  28558. begin
  28559. pTDefRegMap(@Self)^.&set := $00000400;
  28560. end;
  28561. procedure TSPI1_SPI1CON.clearMODE16; inline;
  28562. begin
  28563. pTDefRegMap(@Self)^.clr := $00000400;
  28564. end;
  28565. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  28566. begin
  28567. if thebits = 0 then
  28568. pTDefRegMap(@Self)^.clr := $00000400
  28569. else
  28570. pTDefRegMap(@Self)^.&set := $00000400;
  28571. end;
  28572. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  28573. begin
  28574. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28575. end;
  28576. procedure TSPI1_SPI1CON.setMODE32; inline;
  28577. begin
  28578. pTDefRegMap(@Self)^.&set := $00000800;
  28579. end;
  28580. procedure TSPI1_SPI1CON.clearMODE32; inline;
  28581. begin
  28582. pTDefRegMap(@Self)^.clr := $00000800;
  28583. end;
  28584. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  28585. begin
  28586. if thebits = 0 then
  28587. pTDefRegMap(@Self)^.clr := $00000800
  28588. else
  28589. pTDefRegMap(@Self)^.&set := $00000800;
  28590. end;
  28591. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  28592. begin
  28593. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28594. end;
  28595. procedure TSPI1_SPI1CON.setDISSDO; inline;
  28596. begin
  28597. pTDefRegMap(@Self)^.&set := $00001000;
  28598. end;
  28599. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  28600. begin
  28601. pTDefRegMap(@Self)^.clr := $00001000;
  28602. end;
  28603. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  28604. begin
  28605. if thebits = 0 then
  28606. pTDefRegMap(@Self)^.clr := $00001000
  28607. else
  28608. pTDefRegMap(@Self)^.&set := $00001000;
  28609. end;
  28610. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  28611. begin
  28612. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28613. end;
  28614. procedure TSPI1_SPI1CON.setSIDL; inline;
  28615. begin
  28616. pTDefRegMap(@Self)^.&set := $00002000;
  28617. end;
  28618. procedure TSPI1_SPI1CON.clearSIDL; inline;
  28619. begin
  28620. pTDefRegMap(@Self)^.clr := $00002000;
  28621. end;
  28622. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  28623. begin
  28624. if thebits = 0 then
  28625. pTDefRegMap(@Self)^.clr := $00002000
  28626. else
  28627. pTDefRegMap(@Self)^.&set := $00002000;
  28628. end;
  28629. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  28630. begin
  28631. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28632. end;
  28633. procedure TSPI1_SPI1CON.setON; inline;
  28634. begin
  28635. pTDefRegMap(@Self)^.&set := $00008000;
  28636. end;
  28637. procedure TSPI1_SPI1CON.clearON; inline;
  28638. begin
  28639. pTDefRegMap(@Self)^.clr := $00008000;
  28640. end;
  28641. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  28642. begin
  28643. if thebits = 0 then
  28644. pTDefRegMap(@Self)^.clr := $00008000
  28645. else
  28646. pTDefRegMap(@Self)^.&set := $00008000;
  28647. end;
  28648. function TSPI1_SPI1CON.getON : TBits_1; inline;
  28649. begin
  28650. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28651. end;
  28652. procedure TSPI1_SPI1CON.setENHBUF; inline;
  28653. begin
  28654. pTDefRegMap(@Self)^.&set := $00010000;
  28655. end;
  28656. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  28657. begin
  28658. pTDefRegMap(@Self)^.clr := $00010000;
  28659. end;
  28660. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  28661. begin
  28662. if thebits = 0 then
  28663. pTDefRegMap(@Self)^.clr := $00010000
  28664. else
  28665. pTDefRegMap(@Self)^.&set := $00010000;
  28666. end;
  28667. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  28668. begin
  28669. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28670. end;
  28671. procedure TSPI1_SPI1CON.setSPIFE; inline;
  28672. begin
  28673. pTDefRegMap(@Self)^.&set := $00020000;
  28674. end;
  28675. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  28676. begin
  28677. pTDefRegMap(@Self)^.clr := $00020000;
  28678. end;
  28679. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  28680. begin
  28681. if thebits = 0 then
  28682. pTDefRegMap(@Self)^.clr := $00020000
  28683. else
  28684. pTDefRegMap(@Self)^.&set := $00020000;
  28685. end;
  28686. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  28687. begin
  28688. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28689. end;
  28690. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  28691. begin
  28692. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  28693. end;
  28694. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  28695. begin
  28696. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  28697. end;
  28698. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  28699. begin
  28700. pTDefRegMap(@Self)^.&set := $08000000;
  28701. end;
  28702. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  28703. begin
  28704. pTDefRegMap(@Self)^.clr := $08000000;
  28705. end;
  28706. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  28707. begin
  28708. if thebits = 0 then
  28709. pTDefRegMap(@Self)^.clr := $08000000
  28710. else
  28711. pTDefRegMap(@Self)^.&set := $08000000;
  28712. end;
  28713. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  28714. begin
  28715. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28716. end;
  28717. procedure TSPI1_SPI1CON.setMSSEN; inline;
  28718. begin
  28719. pTDefRegMap(@Self)^.&set := $10000000;
  28720. end;
  28721. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  28722. begin
  28723. pTDefRegMap(@Self)^.clr := $10000000;
  28724. end;
  28725. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  28726. begin
  28727. if thebits = 0 then
  28728. pTDefRegMap(@Self)^.clr := $10000000
  28729. else
  28730. pTDefRegMap(@Self)^.&set := $10000000;
  28731. end;
  28732. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  28733. begin
  28734. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28735. end;
  28736. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.&set := $20000000;
  28739. end;
  28740. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  28741. begin
  28742. pTDefRegMap(@Self)^.clr := $20000000;
  28743. end;
  28744. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  28745. begin
  28746. if thebits = 0 then
  28747. pTDefRegMap(@Self)^.clr := $20000000
  28748. else
  28749. pTDefRegMap(@Self)^.&set := $20000000;
  28750. end;
  28751. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  28752. begin
  28753. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28754. end;
  28755. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  28756. begin
  28757. pTDefRegMap(@Self)^.&set := $40000000;
  28758. end;
  28759. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  28760. begin
  28761. pTDefRegMap(@Self)^.clr := $40000000;
  28762. end;
  28763. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  28764. begin
  28765. if thebits = 0 then
  28766. pTDefRegMap(@Self)^.clr := $40000000
  28767. else
  28768. pTDefRegMap(@Self)^.&set := $40000000;
  28769. end;
  28770. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  28771. begin
  28772. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28773. end;
  28774. procedure TSPI1_SPI1CON.setFRMEN; inline;
  28775. begin
  28776. pTDefRegMap(@Self)^.&set := $80000000;
  28777. end;
  28778. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  28779. begin
  28780. pTDefRegMap(@Self)^.clr := $80000000;
  28781. end;
  28782. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  28783. begin
  28784. if thebits = 0 then
  28785. pTDefRegMap(@Self)^.clr := $80000000
  28786. else
  28787. pTDefRegMap(@Self)^.&set := $80000000;
  28788. end;
  28789. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  28790. begin
  28791. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28792. end;
  28793. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  28794. begin
  28795. pTDefRegMap(@Self)^.val := thebits;
  28796. end;
  28797. function TSPI1_SPI1CON.getw : TBits_32; inline;
  28798. begin
  28799. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28800. end;
  28801. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  28802. begin
  28803. pTDefRegMap(@Self)^.&set := $00000001;
  28804. end;
  28805. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  28806. begin
  28807. pTDefRegMap(@Self)^.clr := $00000001;
  28808. end;
  28809. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  28810. begin
  28811. if thebits = 0 then
  28812. pTDefRegMap(@Self)^.clr := $00000001
  28813. else
  28814. pTDefRegMap(@Self)^.&set := $00000001;
  28815. end;
  28816. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  28817. begin
  28818. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28819. end;
  28820. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  28821. begin
  28822. pTDefRegMap(@Self)^.&set := $00000002;
  28823. end;
  28824. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.clr := $00000002;
  28827. end;
  28828. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  28829. begin
  28830. if thebits = 0 then
  28831. pTDefRegMap(@Self)^.clr := $00000002
  28832. else
  28833. pTDefRegMap(@Self)^.&set := $00000002;
  28834. end;
  28835. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  28836. begin
  28837. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28838. end;
  28839. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  28840. begin
  28841. pTDefRegMap(@Self)^.&set := $00000008;
  28842. end;
  28843. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.clr := $00000008;
  28846. end;
  28847. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  28848. begin
  28849. if thebits = 0 then
  28850. pTDefRegMap(@Self)^.clr := $00000008
  28851. else
  28852. pTDefRegMap(@Self)^.&set := $00000008;
  28853. end;
  28854. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  28855. begin
  28856. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28857. end;
  28858. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  28859. begin
  28860. pTDefRegMap(@Self)^.&set := $00000020;
  28861. end;
  28862. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  28863. begin
  28864. pTDefRegMap(@Self)^.clr := $00000020;
  28865. end;
  28866. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  28867. begin
  28868. if thebits = 0 then
  28869. pTDefRegMap(@Self)^.clr := $00000020
  28870. else
  28871. pTDefRegMap(@Self)^.&set := $00000020;
  28872. end;
  28873. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  28874. begin
  28875. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28876. end;
  28877. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  28878. begin
  28879. pTDefRegMap(@Self)^.&set := $00000040;
  28880. end;
  28881. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.clr := $00000040;
  28884. end;
  28885. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  28886. begin
  28887. if thebits = 0 then
  28888. pTDefRegMap(@Self)^.clr := $00000040
  28889. else
  28890. pTDefRegMap(@Self)^.&set := $00000040;
  28891. end;
  28892. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  28893. begin
  28894. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28895. end;
  28896. procedure TSPI1_SPI1STAT.setSRMT; inline;
  28897. begin
  28898. pTDefRegMap(@Self)^.&set := $00000080;
  28899. end;
  28900. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  28901. begin
  28902. pTDefRegMap(@Self)^.clr := $00000080;
  28903. end;
  28904. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  28905. begin
  28906. if thebits = 0 then
  28907. pTDefRegMap(@Self)^.clr := $00000080
  28908. else
  28909. pTDefRegMap(@Self)^.&set := $00000080;
  28910. end;
  28911. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  28912. begin
  28913. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28914. end;
  28915. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  28916. begin
  28917. pTDefRegMap(@Self)^.&set := $00000100;
  28918. end;
  28919. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  28920. begin
  28921. pTDefRegMap(@Self)^.clr := $00000100;
  28922. end;
  28923. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  28924. begin
  28925. if thebits = 0 then
  28926. pTDefRegMap(@Self)^.clr := $00000100
  28927. else
  28928. pTDefRegMap(@Self)^.&set := $00000100;
  28929. end;
  28930. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  28931. begin
  28932. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28933. end;
  28934. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  28935. begin
  28936. pTDefRegMap(@Self)^.&set := $00000800;
  28937. end;
  28938. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  28939. begin
  28940. pTDefRegMap(@Self)^.clr := $00000800;
  28941. end;
  28942. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  28943. begin
  28944. if thebits = 0 then
  28945. pTDefRegMap(@Self)^.clr := $00000800
  28946. else
  28947. pTDefRegMap(@Self)^.&set := $00000800;
  28948. end;
  28949. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  28950. begin
  28951. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28952. end;
  28953. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  28954. begin
  28955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28956. end;
  28957. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  28958. begin
  28959. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28960. end;
  28961. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  28962. begin
  28963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28964. end;
  28965. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  28966. begin
  28967. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28968. end;
  28969. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  28970. begin
  28971. pTDefRegMap(@Self)^.val := thebits;
  28972. end;
  28973. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  28974. begin
  28975. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28976. end;
  28977. procedure TUART1A_U1AMODE.setSTSEL; inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.&set := $00000001;
  28980. end;
  28981. procedure TUART1A_U1AMODE.clearSTSEL; inline;
  28982. begin
  28983. pTDefRegMap(@Self)^.clr := $00000001;
  28984. end;
  28985. procedure TUART1A_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  28986. begin
  28987. if thebits = 0 then
  28988. pTDefRegMap(@Self)^.clr := $00000001
  28989. else
  28990. pTDefRegMap(@Self)^.&set := $00000001;
  28991. end;
  28992. function TUART1A_U1AMODE.getSTSEL : TBits_1; inline;
  28993. begin
  28994. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28995. end;
  28996. procedure TUART1A_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  28997. begin
  28998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  28999. end;
  29000. function TUART1A_U1AMODE.getPDSEL : TBits_2; inline;
  29001. begin
  29002. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29003. end;
  29004. procedure TUART1A_U1AMODE.setBRGH; inline;
  29005. begin
  29006. pTDefRegMap(@Self)^.&set := $00000008;
  29007. end;
  29008. procedure TUART1A_U1AMODE.clearBRGH; inline;
  29009. begin
  29010. pTDefRegMap(@Self)^.clr := $00000008;
  29011. end;
  29012. procedure TUART1A_U1AMODE.setBRGH(thebits : TBits_1); inline;
  29013. begin
  29014. if thebits = 0 then
  29015. pTDefRegMap(@Self)^.clr := $00000008
  29016. else
  29017. pTDefRegMap(@Self)^.&set := $00000008;
  29018. end;
  29019. function TUART1A_U1AMODE.getBRGH : TBits_1; inline;
  29020. begin
  29021. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29022. end;
  29023. procedure TUART1A_U1AMODE.setRXINV; inline;
  29024. begin
  29025. pTDefRegMap(@Self)^.&set := $00000010;
  29026. end;
  29027. procedure TUART1A_U1AMODE.clearRXINV; inline;
  29028. begin
  29029. pTDefRegMap(@Self)^.clr := $00000010;
  29030. end;
  29031. procedure TUART1A_U1AMODE.setRXINV(thebits : TBits_1); inline;
  29032. begin
  29033. if thebits = 0 then
  29034. pTDefRegMap(@Self)^.clr := $00000010
  29035. else
  29036. pTDefRegMap(@Self)^.&set := $00000010;
  29037. end;
  29038. function TUART1A_U1AMODE.getRXINV : TBits_1; inline;
  29039. begin
  29040. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29041. end;
  29042. procedure TUART1A_U1AMODE.setABAUD; inline;
  29043. begin
  29044. pTDefRegMap(@Self)^.&set := $00000020;
  29045. end;
  29046. procedure TUART1A_U1AMODE.clearABAUD; inline;
  29047. begin
  29048. pTDefRegMap(@Self)^.clr := $00000020;
  29049. end;
  29050. procedure TUART1A_U1AMODE.setABAUD(thebits : TBits_1); inline;
  29051. begin
  29052. if thebits = 0 then
  29053. pTDefRegMap(@Self)^.clr := $00000020
  29054. else
  29055. pTDefRegMap(@Self)^.&set := $00000020;
  29056. end;
  29057. function TUART1A_U1AMODE.getABAUD : TBits_1; inline;
  29058. begin
  29059. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29060. end;
  29061. procedure TUART1A_U1AMODE.setLPBACK; inline;
  29062. begin
  29063. pTDefRegMap(@Self)^.&set := $00000040;
  29064. end;
  29065. procedure TUART1A_U1AMODE.clearLPBACK; inline;
  29066. begin
  29067. pTDefRegMap(@Self)^.clr := $00000040;
  29068. end;
  29069. procedure TUART1A_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  29070. begin
  29071. if thebits = 0 then
  29072. pTDefRegMap(@Self)^.clr := $00000040
  29073. else
  29074. pTDefRegMap(@Self)^.&set := $00000040;
  29075. end;
  29076. function TUART1A_U1AMODE.getLPBACK : TBits_1; inline;
  29077. begin
  29078. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29079. end;
  29080. procedure TUART1A_U1AMODE.setWAKE; inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.&set := $00000080;
  29083. end;
  29084. procedure TUART1A_U1AMODE.clearWAKE; inline;
  29085. begin
  29086. pTDefRegMap(@Self)^.clr := $00000080;
  29087. end;
  29088. procedure TUART1A_U1AMODE.setWAKE(thebits : TBits_1); inline;
  29089. begin
  29090. if thebits = 0 then
  29091. pTDefRegMap(@Self)^.clr := $00000080
  29092. else
  29093. pTDefRegMap(@Self)^.&set := $00000080;
  29094. end;
  29095. function TUART1A_U1AMODE.getWAKE : TBits_1; inline;
  29096. begin
  29097. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29098. end;
  29099. procedure TUART1A_U1AMODE.setUEN(thebits : TBits_2); inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29102. end;
  29103. function TUART1A_U1AMODE.getUEN : TBits_2; inline;
  29104. begin
  29105. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29106. end;
  29107. procedure TUART1A_U1AMODE.setRTSMD; inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.&set := $00000800;
  29110. end;
  29111. procedure TUART1A_U1AMODE.clearRTSMD; inline;
  29112. begin
  29113. pTDefRegMap(@Self)^.clr := $00000800;
  29114. end;
  29115. procedure TUART1A_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  29116. begin
  29117. if thebits = 0 then
  29118. pTDefRegMap(@Self)^.clr := $00000800
  29119. else
  29120. pTDefRegMap(@Self)^.&set := $00000800;
  29121. end;
  29122. function TUART1A_U1AMODE.getRTSMD : TBits_1; inline;
  29123. begin
  29124. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29125. end;
  29126. procedure TUART1A_U1AMODE.setIREN; inline;
  29127. begin
  29128. pTDefRegMap(@Self)^.&set := $00001000;
  29129. end;
  29130. procedure TUART1A_U1AMODE.clearIREN; inline;
  29131. begin
  29132. pTDefRegMap(@Self)^.clr := $00001000;
  29133. end;
  29134. procedure TUART1A_U1AMODE.setIREN(thebits : TBits_1); inline;
  29135. begin
  29136. if thebits = 0 then
  29137. pTDefRegMap(@Self)^.clr := $00001000
  29138. else
  29139. pTDefRegMap(@Self)^.&set := $00001000;
  29140. end;
  29141. function TUART1A_U1AMODE.getIREN : TBits_1; inline;
  29142. begin
  29143. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29144. end;
  29145. procedure TUART1A_U1AMODE.setSIDL; inline;
  29146. begin
  29147. pTDefRegMap(@Self)^.&set := $00002000;
  29148. end;
  29149. procedure TUART1A_U1AMODE.clearSIDL; inline;
  29150. begin
  29151. pTDefRegMap(@Self)^.clr := $00002000;
  29152. end;
  29153. procedure TUART1A_U1AMODE.setSIDL(thebits : TBits_1); inline;
  29154. begin
  29155. if thebits = 0 then
  29156. pTDefRegMap(@Self)^.clr := $00002000
  29157. else
  29158. pTDefRegMap(@Self)^.&set := $00002000;
  29159. end;
  29160. function TUART1A_U1AMODE.getSIDL : TBits_1; inline;
  29161. begin
  29162. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29163. end;
  29164. procedure TUART1A_U1AMODE.setON; inline;
  29165. begin
  29166. pTDefRegMap(@Self)^.&set := $00008000;
  29167. end;
  29168. procedure TUART1A_U1AMODE.clearON; inline;
  29169. begin
  29170. pTDefRegMap(@Self)^.clr := $00008000;
  29171. end;
  29172. procedure TUART1A_U1AMODE.setON(thebits : TBits_1); inline;
  29173. begin
  29174. if thebits = 0 then
  29175. pTDefRegMap(@Self)^.clr := $00008000
  29176. else
  29177. pTDefRegMap(@Self)^.&set := $00008000;
  29178. end;
  29179. function TUART1A_U1AMODE.getON : TBits_1; inline;
  29180. begin
  29181. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29182. end;
  29183. procedure TUART1A_U1AMODE.setPDSEL0; inline;
  29184. begin
  29185. pTDefRegMap(@Self)^.&set := $00000002;
  29186. end;
  29187. procedure TUART1A_U1AMODE.clearPDSEL0; inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.clr := $00000002;
  29190. end;
  29191. procedure TUART1A_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  29192. begin
  29193. if thebits = 0 then
  29194. pTDefRegMap(@Self)^.clr := $00000002
  29195. else
  29196. pTDefRegMap(@Self)^.&set := $00000002;
  29197. end;
  29198. function TUART1A_U1AMODE.getPDSEL0 : TBits_1; inline;
  29199. begin
  29200. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29201. end;
  29202. procedure TUART1A_U1AMODE.setPDSEL1; inline;
  29203. begin
  29204. pTDefRegMap(@Self)^.&set := $00000004;
  29205. end;
  29206. procedure TUART1A_U1AMODE.clearPDSEL1; inline;
  29207. begin
  29208. pTDefRegMap(@Self)^.clr := $00000004;
  29209. end;
  29210. procedure TUART1A_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  29211. begin
  29212. if thebits = 0 then
  29213. pTDefRegMap(@Self)^.clr := $00000004
  29214. else
  29215. pTDefRegMap(@Self)^.&set := $00000004;
  29216. end;
  29217. function TUART1A_U1AMODE.getPDSEL1 : TBits_1; inline;
  29218. begin
  29219. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29220. end;
  29221. procedure TUART1A_U1AMODE.setUEN0; inline;
  29222. begin
  29223. pTDefRegMap(@Self)^.&set := $00000100;
  29224. end;
  29225. procedure TUART1A_U1AMODE.clearUEN0; inline;
  29226. begin
  29227. pTDefRegMap(@Self)^.clr := $00000100;
  29228. end;
  29229. procedure TUART1A_U1AMODE.setUEN0(thebits : TBits_1); inline;
  29230. begin
  29231. if thebits = 0 then
  29232. pTDefRegMap(@Self)^.clr := $00000100
  29233. else
  29234. pTDefRegMap(@Self)^.&set := $00000100;
  29235. end;
  29236. function TUART1A_U1AMODE.getUEN0 : TBits_1; inline;
  29237. begin
  29238. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29239. end;
  29240. procedure TUART1A_U1AMODE.setUEN1; inline;
  29241. begin
  29242. pTDefRegMap(@Self)^.&set := $00000200;
  29243. end;
  29244. procedure TUART1A_U1AMODE.clearUEN1; inline;
  29245. begin
  29246. pTDefRegMap(@Self)^.clr := $00000200;
  29247. end;
  29248. procedure TUART1A_U1AMODE.setUEN1(thebits : TBits_1); inline;
  29249. begin
  29250. if thebits = 0 then
  29251. pTDefRegMap(@Self)^.clr := $00000200
  29252. else
  29253. pTDefRegMap(@Self)^.&set := $00000200;
  29254. end;
  29255. function TUART1A_U1AMODE.getUEN1 : TBits_1; inline;
  29256. begin
  29257. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29258. end;
  29259. procedure TUART1A_U1AMODE.setUSIDL; inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.&set := $00002000;
  29262. end;
  29263. procedure TUART1A_U1AMODE.clearUSIDL; inline;
  29264. begin
  29265. pTDefRegMap(@Self)^.clr := $00002000;
  29266. end;
  29267. procedure TUART1A_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  29268. begin
  29269. if thebits = 0 then
  29270. pTDefRegMap(@Self)^.clr := $00002000
  29271. else
  29272. pTDefRegMap(@Self)^.&set := $00002000;
  29273. end;
  29274. function TUART1A_U1AMODE.getUSIDL : TBits_1; inline;
  29275. begin
  29276. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29277. end;
  29278. procedure TUART1A_U1AMODE.setUARTEN; inline;
  29279. begin
  29280. pTDefRegMap(@Self)^.&set := $00008000;
  29281. end;
  29282. procedure TUART1A_U1AMODE.clearUARTEN; inline;
  29283. begin
  29284. pTDefRegMap(@Self)^.clr := $00008000;
  29285. end;
  29286. procedure TUART1A_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  29287. begin
  29288. if thebits = 0 then
  29289. pTDefRegMap(@Self)^.clr := $00008000
  29290. else
  29291. pTDefRegMap(@Self)^.&set := $00008000;
  29292. end;
  29293. function TUART1A_U1AMODE.getUARTEN : TBits_1; inline;
  29294. begin
  29295. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29296. end;
  29297. procedure TUART1A_U1AMODE.setw(thebits : TBits_32); inline;
  29298. begin
  29299. pTDefRegMap(@Self)^.val := thebits;
  29300. end;
  29301. function TUART1A_U1AMODE.getw : TBits_32; inline;
  29302. begin
  29303. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29304. end;
  29305. procedure TUART1A_U1MODE.setSTSEL; inline;
  29306. begin
  29307. pTDefRegMap(@Self)^.&set := $00000001;
  29308. end;
  29309. procedure TUART1A_U1MODE.clearSTSEL; inline;
  29310. begin
  29311. pTDefRegMap(@Self)^.clr := $00000001;
  29312. end;
  29313. procedure TUART1A_U1MODE.setSTSEL(thebits : TBits_1); inline;
  29314. begin
  29315. if thebits = 0 then
  29316. pTDefRegMap(@Self)^.clr := $00000001
  29317. else
  29318. pTDefRegMap(@Self)^.&set := $00000001;
  29319. end;
  29320. function TUART1A_U1MODE.getSTSEL : TBits_1; inline;
  29321. begin
  29322. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29323. end;
  29324. procedure TUART1A_U1MODE.setPDSEL(thebits : TBits_2); inline;
  29325. begin
  29326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29327. end;
  29328. function TUART1A_U1MODE.getPDSEL : TBits_2; inline;
  29329. begin
  29330. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29331. end;
  29332. procedure TUART1A_U1MODE.setBRGH; inline;
  29333. begin
  29334. pTDefRegMap(@Self)^.&set := $00000008;
  29335. end;
  29336. procedure TUART1A_U1MODE.clearBRGH; inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.clr := $00000008;
  29339. end;
  29340. procedure TUART1A_U1MODE.setBRGH(thebits : TBits_1); inline;
  29341. begin
  29342. if thebits = 0 then
  29343. pTDefRegMap(@Self)^.clr := $00000008
  29344. else
  29345. pTDefRegMap(@Self)^.&set := $00000008;
  29346. end;
  29347. function TUART1A_U1MODE.getBRGH : TBits_1; inline;
  29348. begin
  29349. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29350. end;
  29351. procedure TUART1A_U1MODE.setRXINV; inline;
  29352. begin
  29353. pTDefRegMap(@Self)^.&set := $00000010;
  29354. end;
  29355. procedure TUART1A_U1MODE.clearRXINV; inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.clr := $00000010;
  29358. end;
  29359. procedure TUART1A_U1MODE.setRXINV(thebits : TBits_1); inline;
  29360. begin
  29361. if thebits = 0 then
  29362. pTDefRegMap(@Self)^.clr := $00000010
  29363. else
  29364. pTDefRegMap(@Self)^.&set := $00000010;
  29365. end;
  29366. function TUART1A_U1MODE.getRXINV : TBits_1; inline;
  29367. begin
  29368. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29369. end;
  29370. procedure TUART1A_U1MODE.setABAUD; inline;
  29371. begin
  29372. pTDefRegMap(@Self)^.&set := $00000020;
  29373. end;
  29374. procedure TUART1A_U1MODE.clearABAUD; inline;
  29375. begin
  29376. pTDefRegMap(@Self)^.clr := $00000020;
  29377. end;
  29378. procedure TUART1A_U1MODE.setABAUD(thebits : TBits_1); inline;
  29379. begin
  29380. if thebits = 0 then
  29381. pTDefRegMap(@Self)^.clr := $00000020
  29382. else
  29383. pTDefRegMap(@Self)^.&set := $00000020;
  29384. end;
  29385. function TUART1A_U1MODE.getABAUD : TBits_1; inline;
  29386. begin
  29387. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29388. end;
  29389. procedure TUART1A_U1MODE.setLPBACK; inline;
  29390. begin
  29391. pTDefRegMap(@Self)^.&set := $00000040;
  29392. end;
  29393. procedure TUART1A_U1MODE.clearLPBACK; inline;
  29394. begin
  29395. pTDefRegMap(@Self)^.clr := $00000040;
  29396. end;
  29397. procedure TUART1A_U1MODE.setLPBACK(thebits : TBits_1); inline;
  29398. begin
  29399. if thebits = 0 then
  29400. pTDefRegMap(@Self)^.clr := $00000040
  29401. else
  29402. pTDefRegMap(@Self)^.&set := $00000040;
  29403. end;
  29404. function TUART1A_U1MODE.getLPBACK : TBits_1; inline;
  29405. begin
  29406. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29407. end;
  29408. procedure TUART1A_U1MODE.setWAKE; inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.&set := $00000080;
  29411. end;
  29412. procedure TUART1A_U1MODE.clearWAKE; inline;
  29413. begin
  29414. pTDefRegMap(@Self)^.clr := $00000080;
  29415. end;
  29416. procedure TUART1A_U1MODE.setWAKE(thebits : TBits_1); inline;
  29417. begin
  29418. if thebits = 0 then
  29419. pTDefRegMap(@Self)^.clr := $00000080
  29420. else
  29421. pTDefRegMap(@Self)^.&set := $00000080;
  29422. end;
  29423. function TUART1A_U1MODE.getWAKE : TBits_1; inline;
  29424. begin
  29425. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29426. end;
  29427. procedure TUART1A_U1MODE.setUEN(thebits : TBits_2); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29430. end;
  29431. function TUART1A_U1MODE.getUEN : TBits_2; inline;
  29432. begin
  29433. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29434. end;
  29435. procedure TUART1A_U1MODE.setRTSMD; inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.&set := $00000800;
  29438. end;
  29439. procedure TUART1A_U1MODE.clearRTSMD; inline;
  29440. begin
  29441. pTDefRegMap(@Self)^.clr := $00000800;
  29442. end;
  29443. procedure TUART1A_U1MODE.setRTSMD(thebits : TBits_1); inline;
  29444. begin
  29445. if thebits = 0 then
  29446. pTDefRegMap(@Self)^.clr := $00000800
  29447. else
  29448. pTDefRegMap(@Self)^.&set := $00000800;
  29449. end;
  29450. function TUART1A_U1MODE.getRTSMD : TBits_1; inline;
  29451. begin
  29452. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29453. end;
  29454. procedure TUART1A_U1MODE.setIREN; inline;
  29455. begin
  29456. pTDefRegMap(@Self)^.&set := $00001000;
  29457. end;
  29458. procedure TUART1A_U1MODE.clearIREN; inline;
  29459. begin
  29460. pTDefRegMap(@Self)^.clr := $00001000;
  29461. end;
  29462. procedure TUART1A_U1MODE.setIREN(thebits : TBits_1); inline;
  29463. begin
  29464. if thebits = 0 then
  29465. pTDefRegMap(@Self)^.clr := $00001000
  29466. else
  29467. pTDefRegMap(@Self)^.&set := $00001000;
  29468. end;
  29469. function TUART1A_U1MODE.getIREN : TBits_1; inline;
  29470. begin
  29471. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29472. end;
  29473. procedure TUART1A_U1MODE.setSIDL; inline;
  29474. begin
  29475. pTDefRegMap(@Self)^.&set := $00002000;
  29476. end;
  29477. procedure TUART1A_U1MODE.clearSIDL; inline;
  29478. begin
  29479. pTDefRegMap(@Self)^.clr := $00002000;
  29480. end;
  29481. procedure TUART1A_U1MODE.setSIDL(thebits : TBits_1); inline;
  29482. begin
  29483. if thebits = 0 then
  29484. pTDefRegMap(@Self)^.clr := $00002000
  29485. else
  29486. pTDefRegMap(@Self)^.&set := $00002000;
  29487. end;
  29488. function TUART1A_U1MODE.getSIDL : TBits_1; inline;
  29489. begin
  29490. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29491. end;
  29492. procedure TUART1A_U1MODE.setON; inline;
  29493. begin
  29494. pTDefRegMap(@Self)^.&set := $00008000;
  29495. end;
  29496. procedure TUART1A_U1MODE.clearON; inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.clr := $00008000;
  29499. end;
  29500. procedure TUART1A_U1MODE.setON(thebits : TBits_1); inline;
  29501. begin
  29502. if thebits = 0 then
  29503. pTDefRegMap(@Self)^.clr := $00008000
  29504. else
  29505. pTDefRegMap(@Self)^.&set := $00008000;
  29506. end;
  29507. function TUART1A_U1MODE.getON : TBits_1; inline;
  29508. begin
  29509. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29510. end;
  29511. procedure TUART1A_U1MODE.setPDSEL0; inline;
  29512. begin
  29513. pTDefRegMap(@Self)^.&set := $00000002;
  29514. end;
  29515. procedure TUART1A_U1MODE.clearPDSEL0; inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.clr := $00000002;
  29518. end;
  29519. procedure TUART1A_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  29520. begin
  29521. if thebits = 0 then
  29522. pTDefRegMap(@Self)^.clr := $00000002
  29523. else
  29524. pTDefRegMap(@Self)^.&set := $00000002;
  29525. end;
  29526. function TUART1A_U1MODE.getPDSEL0 : TBits_1; inline;
  29527. begin
  29528. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29529. end;
  29530. procedure TUART1A_U1MODE.setPDSEL1; inline;
  29531. begin
  29532. pTDefRegMap(@Self)^.&set := $00000004;
  29533. end;
  29534. procedure TUART1A_U1MODE.clearPDSEL1; inline;
  29535. begin
  29536. pTDefRegMap(@Self)^.clr := $00000004;
  29537. end;
  29538. procedure TUART1A_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  29539. begin
  29540. if thebits = 0 then
  29541. pTDefRegMap(@Self)^.clr := $00000004
  29542. else
  29543. pTDefRegMap(@Self)^.&set := $00000004;
  29544. end;
  29545. function TUART1A_U1MODE.getPDSEL1 : TBits_1; inline;
  29546. begin
  29547. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29548. end;
  29549. procedure TUART1A_U1MODE.setUEN0; inline;
  29550. begin
  29551. pTDefRegMap(@Self)^.&set := $00000100;
  29552. end;
  29553. procedure TUART1A_U1MODE.clearUEN0; inline;
  29554. begin
  29555. pTDefRegMap(@Self)^.clr := $00000100;
  29556. end;
  29557. procedure TUART1A_U1MODE.setUEN0(thebits : TBits_1); inline;
  29558. begin
  29559. if thebits = 0 then
  29560. pTDefRegMap(@Self)^.clr := $00000100
  29561. else
  29562. pTDefRegMap(@Self)^.&set := $00000100;
  29563. end;
  29564. function TUART1A_U1MODE.getUEN0 : TBits_1; inline;
  29565. begin
  29566. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29567. end;
  29568. procedure TUART1A_U1MODE.setUEN1; inline;
  29569. begin
  29570. pTDefRegMap(@Self)^.&set := $00000200;
  29571. end;
  29572. procedure TUART1A_U1MODE.clearUEN1; inline;
  29573. begin
  29574. pTDefRegMap(@Self)^.clr := $00000200;
  29575. end;
  29576. procedure TUART1A_U1MODE.setUEN1(thebits : TBits_1); inline;
  29577. begin
  29578. if thebits = 0 then
  29579. pTDefRegMap(@Self)^.clr := $00000200
  29580. else
  29581. pTDefRegMap(@Self)^.&set := $00000200;
  29582. end;
  29583. function TUART1A_U1MODE.getUEN1 : TBits_1; inline;
  29584. begin
  29585. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29586. end;
  29587. procedure TUART1A_U1MODE.setUSIDL; inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.&set := $00002000;
  29590. end;
  29591. procedure TUART1A_U1MODE.clearUSIDL; inline;
  29592. begin
  29593. pTDefRegMap(@Self)^.clr := $00002000;
  29594. end;
  29595. procedure TUART1A_U1MODE.setUSIDL(thebits : TBits_1); inline;
  29596. begin
  29597. if thebits = 0 then
  29598. pTDefRegMap(@Self)^.clr := $00002000
  29599. else
  29600. pTDefRegMap(@Self)^.&set := $00002000;
  29601. end;
  29602. function TUART1A_U1MODE.getUSIDL : TBits_1; inline;
  29603. begin
  29604. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29605. end;
  29606. procedure TUART1A_U1MODE.setUARTEN; inline;
  29607. begin
  29608. pTDefRegMap(@Self)^.&set := $00008000;
  29609. end;
  29610. procedure TUART1A_U1MODE.clearUARTEN; inline;
  29611. begin
  29612. pTDefRegMap(@Self)^.clr := $00008000;
  29613. end;
  29614. procedure TUART1A_U1MODE.setUARTEN(thebits : TBits_1); inline;
  29615. begin
  29616. if thebits = 0 then
  29617. pTDefRegMap(@Self)^.clr := $00008000
  29618. else
  29619. pTDefRegMap(@Self)^.&set := $00008000;
  29620. end;
  29621. function TUART1A_U1MODE.getUARTEN : TBits_1; inline;
  29622. begin
  29623. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29624. end;
  29625. procedure TUART1A_U1MODE.setw(thebits : TBits_32); inline;
  29626. begin
  29627. pTDefRegMap(@Self)^.val := thebits;
  29628. end;
  29629. function TUART1A_U1MODE.getw : TBits_32; inline;
  29630. begin
  29631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29632. end;
  29633. procedure TUART1A_U1ASTA.setURXDA; inline;
  29634. begin
  29635. pTDefRegMap(@Self)^.&set := $00000001;
  29636. end;
  29637. procedure TUART1A_U1ASTA.clearURXDA; inline;
  29638. begin
  29639. pTDefRegMap(@Self)^.clr := $00000001;
  29640. end;
  29641. procedure TUART1A_U1ASTA.setURXDA(thebits : TBits_1); inline;
  29642. begin
  29643. if thebits = 0 then
  29644. pTDefRegMap(@Self)^.clr := $00000001
  29645. else
  29646. pTDefRegMap(@Self)^.&set := $00000001;
  29647. end;
  29648. function TUART1A_U1ASTA.getURXDA : TBits_1; inline;
  29649. begin
  29650. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29651. end;
  29652. procedure TUART1A_U1ASTA.setOERR; inline;
  29653. begin
  29654. pTDefRegMap(@Self)^.&set := $00000002;
  29655. end;
  29656. procedure TUART1A_U1ASTA.clearOERR; inline;
  29657. begin
  29658. pTDefRegMap(@Self)^.clr := $00000002;
  29659. end;
  29660. procedure TUART1A_U1ASTA.setOERR(thebits : TBits_1); inline;
  29661. begin
  29662. if thebits = 0 then
  29663. pTDefRegMap(@Self)^.clr := $00000002
  29664. else
  29665. pTDefRegMap(@Self)^.&set := $00000002;
  29666. end;
  29667. function TUART1A_U1ASTA.getOERR : TBits_1; inline;
  29668. begin
  29669. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29670. end;
  29671. procedure TUART1A_U1ASTA.setFERR; inline;
  29672. begin
  29673. pTDefRegMap(@Self)^.&set := $00000004;
  29674. end;
  29675. procedure TUART1A_U1ASTA.clearFERR; inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.clr := $00000004;
  29678. end;
  29679. procedure TUART1A_U1ASTA.setFERR(thebits : TBits_1); inline;
  29680. begin
  29681. if thebits = 0 then
  29682. pTDefRegMap(@Self)^.clr := $00000004
  29683. else
  29684. pTDefRegMap(@Self)^.&set := $00000004;
  29685. end;
  29686. function TUART1A_U1ASTA.getFERR : TBits_1; inline;
  29687. begin
  29688. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29689. end;
  29690. procedure TUART1A_U1ASTA.setPERR; inline;
  29691. begin
  29692. pTDefRegMap(@Self)^.&set := $00000008;
  29693. end;
  29694. procedure TUART1A_U1ASTA.clearPERR; inline;
  29695. begin
  29696. pTDefRegMap(@Self)^.clr := $00000008;
  29697. end;
  29698. procedure TUART1A_U1ASTA.setPERR(thebits : TBits_1); inline;
  29699. begin
  29700. if thebits = 0 then
  29701. pTDefRegMap(@Self)^.clr := $00000008
  29702. else
  29703. pTDefRegMap(@Self)^.&set := $00000008;
  29704. end;
  29705. function TUART1A_U1ASTA.getPERR : TBits_1; inline;
  29706. begin
  29707. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29708. end;
  29709. procedure TUART1A_U1ASTA.setRIDLE; inline;
  29710. begin
  29711. pTDefRegMap(@Self)^.&set := $00000010;
  29712. end;
  29713. procedure TUART1A_U1ASTA.clearRIDLE; inline;
  29714. begin
  29715. pTDefRegMap(@Self)^.clr := $00000010;
  29716. end;
  29717. procedure TUART1A_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  29718. begin
  29719. if thebits = 0 then
  29720. pTDefRegMap(@Self)^.clr := $00000010
  29721. else
  29722. pTDefRegMap(@Self)^.&set := $00000010;
  29723. end;
  29724. function TUART1A_U1ASTA.getRIDLE : TBits_1; inline;
  29725. begin
  29726. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29727. end;
  29728. procedure TUART1A_U1ASTA.setADDEN; inline;
  29729. begin
  29730. pTDefRegMap(@Self)^.&set := $00000020;
  29731. end;
  29732. procedure TUART1A_U1ASTA.clearADDEN; inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.clr := $00000020;
  29735. end;
  29736. procedure TUART1A_U1ASTA.setADDEN(thebits : TBits_1); inline;
  29737. begin
  29738. if thebits = 0 then
  29739. pTDefRegMap(@Self)^.clr := $00000020
  29740. else
  29741. pTDefRegMap(@Self)^.&set := $00000020;
  29742. end;
  29743. function TUART1A_U1ASTA.getADDEN : TBits_1; inline;
  29744. begin
  29745. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29746. end;
  29747. procedure TUART1A_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  29748. begin
  29749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29750. end;
  29751. function TUART1A_U1ASTA.getURXISEL : TBits_2; inline;
  29752. begin
  29753. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29754. end;
  29755. procedure TUART1A_U1ASTA.setTRMT; inline;
  29756. begin
  29757. pTDefRegMap(@Self)^.&set := $00000100;
  29758. end;
  29759. procedure TUART1A_U1ASTA.clearTRMT; inline;
  29760. begin
  29761. pTDefRegMap(@Self)^.clr := $00000100;
  29762. end;
  29763. procedure TUART1A_U1ASTA.setTRMT(thebits : TBits_1); inline;
  29764. begin
  29765. if thebits = 0 then
  29766. pTDefRegMap(@Self)^.clr := $00000100
  29767. else
  29768. pTDefRegMap(@Self)^.&set := $00000100;
  29769. end;
  29770. function TUART1A_U1ASTA.getTRMT : TBits_1; inline;
  29771. begin
  29772. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29773. end;
  29774. procedure TUART1A_U1ASTA.setUTXBF; inline;
  29775. begin
  29776. pTDefRegMap(@Self)^.&set := $00000200;
  29777. end;
  29778. procedure TUART1A_U1ASTA.clearUTXBF; inline;
  29779. begin
  29780. pTDefRegMap(@Self)^.clr := $00000200;
  29781. end;
  29782. procedure TUART1A_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  29783. begin
  29784. if thebits = 0 then
  29785. pTDefRegMap(@Self)^.clr := $00000200
  29786. else
  29787. pTDefRegMap(@Self)^.&set := $00000200;
  29788. end;
  29789. function TUART1A_U1ASTA.getUTXBF : TBits_1; inline;
  29790. begin
  29791. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29792. end;
  29793. procedure TUART1A_U1ASTA.setUTXEN; inline;
  29794. begin
  29795. pTDefRegMap(@Self)^.&set := $00000400;
  29796. end;
  29797. procedure TUART1A_U1ASTA.clearUTXEN; inline;
  29798. begin
  29799. pTDefRegMap(@Self)^.clr := $00000400;
  29800. end;
  29801. procedure TUART1A_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  29802. begin
  29803. if thebits = 0 then
  29804. pTDefRegMap(@Self)^.clr := $00000400
  29805. else
  29806. pTDefRegMap(@Self)^.&set := $00000400;
  29807. end;
  29808. function TUART1A_U1ASTA.getUTXEN : TBits_1; inline;
  29809. begin
  29810. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29811. end;
  29812. procedure TUART1A_U1ASTA.setUTXBRK; inline;
  29813. begin
  29814. pTDefRegMap(@Self)^.&set := $00000800;
  29815. end;
  29816. procedure TUART1A_U1ASTA.clearUTXBRK; inline;
  29817. begin
  29818. pTDefRegMap(@Self)^.clr := $00000800;
  29819. end;
  29820. procedure TUART1A_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  29821. begin
  29822. if thebits = 0 then
  29823. pTDefRegMap(@Self)^.clr := $00000800
  29824. else
  29825. pTDefRegMap(@Self)^.&set := $00000800;
  29826. end;
  29827. function TUART1A_U1ASTA.getUTXBRK : TBits_1; inline;
  29828. begin
  29829. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29830. end;
  29831. procedure TUART1A_U1ASTA.setURXEN; inline;
  29832. begin
  29833. pTDefRegMap(@Self)^.&set := $00001000;
  29834. end;
  29835. procedure TUART1A_U1ASTA.clearURXEN; inline;
  29836. begin
  29837. pTDefRegMap(@Self)^.clr := $00001000;
  29838. end;
  29839. procedure TUART1A_U1ASTA.setURXEN(thebits : TBits_1); inline;
  29840. begin
  29841. if thebits = 0 then
  29842. pTDefRegMap(@Self)^.clr := $00001000
  29843. else
  29844. pTDefRegMap(@Self)^.&set := $00001000;
  29845. end;
  29846. function TUART1A_U1ASTA.getURXEN : TBits_1; inline;
  29847. begin
  29848. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29849. end;
  29850. procedure TUART1A_U1ASTA.setUTXINV; inline;
  29851. begin
  29852. pTDefRegMap(@Self)^.&set := $00002000;
  29853. end;
  29854. procedure TUART1A_U1ASTA.clearUTXINV; inline;
  29855. begin
  29856. pTDefRegMap(@Self)^.clr := $00002000;
  29857. end;
  29858. procedure TUART1A_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  29859. begin
  29860. if thebits = 0 then
  29861. pTDefRegMap(@Self)^.clr := $00002000
  29862. else
  29863. pTDefRegMap(@Self)^.&set := $00002000;
  29864. end;
  29865. function TUART1A_U1ASTA.getUTXINV : TBits_1; inline;
  29866. begin
  29867. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29868. end;
  29869. procedure TUART1A_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  29870. begin
  29871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29872. end;
  29873. function TUART1A_U1ASTA.getUTXISEL : TBits_2; inline;
  29874. begin
  29875. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29876. end;
  29877. procedure TUART1A_U1ASTA.setADDR(thebits : TBits_8); inline;
  29878. begin
  29879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29880. end;
  29881. function TUART1A_U1ASTA.getADDR : TBits_8; inline;
  29882. begin
  29883. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29884. end;
  29885. procedure TUART1A_U1ASTA.setADM_EN; inline;
  29886. begin
  29887. pTDefRegMap(@Self)^.&set := $01000000;
  29888. end;
  29889. procedure TUART1A_U1ASTA.clearADM_EN; inline;
  29890. begin
  29891. pTDefRegMap(@Self)^.clr := $01000000;
  29892. end;
  29893. procedure TUART1A_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  29894. begin
  29895. if thebits = 0 then
  29896. pTDefRegMap(@Self)^.clr := $01000000
  29897. else
  29898. pTDefRegMap(@Self)^.&set := $01000000;
  29899. end;
  29900. function TUART1A_U1ASTA.getADM_EN : TBits_1; inline;
  29901. begin
  29902. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29903. end;
  29904. procedure TUART1A_U1ASTA.setURXISEL0; inline;
  29905. begin
  29906. pTDefRegMap(@Self)^.&set := $00000040;
  29907. end;
  29908. procedure TUART1A_U1ASTA.clearURXISEL0; inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.clr := $00000040;
  29911. end;
  29912. procedure TUART1A_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  29913. begin
  29914. if thebits = 0 then
  29915. pTDefRegMap(@Self)^.clr := $00000040
  29916. else
  29917. pTDefRegMap(@Self)^.&set := $00000040;
  29918. end;
  29919. function TUART1A_U1ASTA.getURXISEL0 : TBits_1; inline;
  29920. begin
  29921. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29922. end;
  29923. procedure TUART1A_U1ASTA.setURXISEL1; inline;
  29924. begin
  29925. pTDefRegMap(@Self)^.&set := $00000080;
  29926. end;
  29927. procedure TUART1A_U1ASTA.clearURXISEL1; inline;
  29928. begin
  29929. pTDefRegMap(@Self)^.clr := $00000080;
  29930. end;
  29931. procedure TUART1A_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  29932. begin
  29933. if thebits = 0 then
  29934. pTDefRegMap(@Self)^.clr := $00000080
  29935. else
  29936. pTDefRegMap(@Self)^.&set := $00000080;
  29937. end;
  29938. function TUART1A_U1ASTA.getURXISEL1 : TBits_1; inline;
  29939. begin
  29940. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29941. end;
  29942. procedure TUART1A_U1ASTA.setUTXISEL0; inline;
  29943. begin
  29944. pTDefRegMap(@Self)^.&set := $00004000;
  29945. end;
  29946. procedure TUART1A_U1ASTA.clearUTXISEL0; inline;
  29947. begin
  29948. pTDefRegMap(@Self)^.clr := $00004000;
  29949. end;
  29950. procedure TUART1A_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  29951. begin
  29952. if thebits = 0 then
  29953. pTDefRegMap(@Self)^.clr := $00004000
  29954. else
  29955. pTDefRegMap(@Self)^.&set := $00004000;
  29956. end;
  29957. function TUART1A_U1ASTA.getUTXISEL0 : TBits_1; inline;
  29958. begin
  29959. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29960. end;
  29961. procedure TUART1A_U1ASTA.setUTXISEL1; inline;
  29962. begin
  29963. pTDefRegMap(@Self)^.&set := $00008000;
  29964. end;
  29965. procedure TUART1A_U1ASTA.clearUTXISEL1; inline;
  29966. begin
  29967. pTDefRegMap(@Self)^.clr := $00008000;
  29968. end;
  29969. procedure TUART1A_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  29970. begin
  29971. if thebits = 0 then
  29972. pTDefRegMap(@Self)^.clr := $00008000
  29973. else
  29974. pTDefRegMap(@Self)^.&set := $00008000;
  29975. end;
  29976. function TUART1A_U1ASTA.getUTXISEL1 : TBits_1; inline;
  29977. begin
  29978. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29979. end;
  29980. procedure TUART1A_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  29981. begin
  29982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29983. end;
  29984. function TUART1A_U1ASTA.getUTXSEL : TBits_2; inline;
  29985. begin
  29986. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29987. end;
  29988. procedure TUART1A_U1ASTA.setw(thebits : TBits_32); inline;
  29989. begin
  29990. pTDefRegMap(@Self)^.val := thebits;
  29991. end;
  29992. function TUART1A_U1ASTA.getw : TBits_32; inline;
  29993. begin
  29994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29995. end;
  29996. procedure TUART1A_U1STA.setURXDA; inline;
  29997. begin
  29998. pTDefRegMap(@Self)^.&set := $00000001;
  29999. end;
  30000. procedure TUART1A_U1STA.clearURXDA; inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.clr := $00000001;
  30003. end;
  30004. procedure TUART1A_U1STA.setURXDA(thebits : TBits_1); inline;
  30005. begin
  30006. if thebits = 0 then
  30007. pTDefRegMap(@Self)^.clr := $00000001
  30008. else
  30009. pTDefRegMap(@Self)^.&set := $00000001;
  30010. end;
  30011. function TUART1A_U1STA.getURXDA : TBits_1; inline;
  30012. begin
  30013. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30014. end;
  30015. procedure TUART1A_U1STA.setOERR; inline;
  30016. begin
  30017. pTDefRegMap(@Self)^.&set := $00000002;
  30018. end;
  30019. procedure TUART1A_U1STA.clearOERR; inline;
  30020. begin
  30021. pTDefRegMap(@Self)^.clr := $00000002;
  30022. end;
  30023. procedure TUART1A_U1STA.setOERR(thebits : TBits_1); inline;
  30024. begin
  30025. if thebits = 0 then
  30026. pTDefRegMap(@Self)^.clr := $00000002
  30027. else
  30028. pTDefRegMap(@Self)^.&set := $00000002;
  30029. end;
  30030. function TUART1A_U1STA.getOERR : TBits_1; inline;
  30031. begin
  30032. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30033. end;
  30034. procedure TUART1A_U1STA.setFERR; inline;
  30035. begin
  30036. pTDefRegMap(@Self)^.&set := $00000004;
  30037. end;
  30038. procedure TUART1A_U1STA.clearFERR; inline;
  30039. begin
  30040. pTDefRegMap(@Self)^.clr := $00000004;
  30041. end;
  30042. procedure TUART1A_U1STA.setFERR(thebits : TBits_1); inline;
  30043. begin
  30044. if thebits = 0 then
  30045. pTDefRegMap(@Self)^.clr := $00000004
  30046. else
  30047. pTDefRegMap(@Self)^.&set := $00000004;
  30048. end;
  30049. function TUART1A_U1STA.getFERR : TBits_1; inline;
  30050. begin
  30051. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30052. end;
  30053. procedure TUART1A_U1STA.setPERR; inline;
  30054. begin
  30055. pTDefRegMap(@Self)^.&set := $00000008;
  30056. end;
  30057. procedure TUART1A_U1STA.clearPERR; inline;
  30058. begin
  30059. pTDefRegMap(@Self)^.clr := $00000008;
  30060. end;
  30061. procedure TUART1A_U1STA.setPERR(thebits : TBits_1); inline;
  30062. begin
  30063. if thebits = 0 then
  30064. pTDefRegMap(@Self)^.clr := $00000008
  30065. else
  30066. pTDefRegMap(@Self)^.&set := $00000008;
  30067. end;
  30068. function TUART1A_U1STA.getPERR : TBits_1; inline;
  30069. begin
  30070. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30071. end;
  30072. procedure TUART1A_U1STA.setRIDLE; inline;
  30073. begin
  30074. pTDefRegMap(@Self)^.&set := $00000010;
  30075. end;
  30076. procedure TUART1A_U1STA.clearRIDLE; inline;
  30077. begin
  30078. pTDefRegMap(@Self)^.clr := $00000010;
  30079. end;
  30080. procedure TUART1A_U1STA.setRIDLE(thebits : TBits_1); inline;
  30081. begin
  30082. if thebits = 0 then
  30083. pTDefRegMap(@Self)^.clr := $00000010
  30084. else
  30085. pTDefRegMap(@Self)^.&set := $00000010;
  30086. end;
  30087. function TUART1A_U1STA.getRIDLE : TBits_1; inline;
  30088. begin
  30089. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30090. end;
  30091. procedure TUART1A_U1STA.setADDEN; inline;
  30092. begin
  30093. pTDefRegMap(@Self)^.&set := $00000020;
  30094. end;
  30095. procedure TUART1A_U1STA.clearADDEN; inline;
  30096. begin
  30097. pTDefRegMap(@Self)^.clr := $00000020;
  30098. end;
  30099. procedure TUART1A_U1STA.setADDEN(thebits : TBits_1); inline;
  30100. begin
  30101. if thebits = 0 then
  30102. pTDefRegMap(@Self)^.clr := $00000020
  30103. else
  30104. pTDefRegMap(@Self)^.&set := $00000020;
  30105. end;
  30106. function TUART1A_U1STA.getADDEN : TBits_1; inline;
  30107. begin
  30108. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30109. end;
  30110. procedure TUART1A_U1STA.setURXISEL(thebits : TBits_2); inline;
  30111. begin
  30112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  30113. end;
  30114. function TUART1A_U1STA.getURXISEL : TBits_2; inline;
  30115. begin
  30116. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  30117. end;
  30118. procedure TUART1A_U1STA.setTRMT; inline;
  30119. begin
  30120. pTDefRegMap(@Self)^.&set := $00000100;
  30121. end;
  30122. procedure TUART1A_U1STA.clearTRMT; inline;
  30123. begin
  30124. pTDefRegMap(@Self)^.clr := $00000100;
  30125. end;
  30126. procedure TUART1A_U1STA.setTRMT(thebits : TBits_1); inline;
  30127. begin
  30128. if thebits = 0 then
  30129. pTDefRegMap(@Self)^.clr := $00000100
  30130. else
  30131. pTDefRegMap(@Self)^.&set := $00000100;
  30132. end;
  30133. function TUART1A_U1STA.getTRMT : TBits_1; inline;
  30134. begin
  30135. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30136. end;
  30137. procedure TUART1A_U1STA.setUTXBF; inline;
  30138. begin
  30139. pTDefRegMap(@Self)^.&set := $00000200;
  30140. end;
  30141. procedure TUART1A_U1STA.clearUTXBF; inline;
  30142. begin
  30143. pTDefRegMap(@Self)^.clr := $00000200;
  30144. end;
  30145. procedure TUART1A_U1STA.setUTXBF(thebits : TBits_1); inline;
  30146. begin
  30147. if thebits = 0 then
  30148. pTDefRegMap(@Self)^.clr := $00000200
  30149. else
  30150. pTDefRegMap(@Self)^.&set := $00000200;
  30151. end;
  30152. function TUART1A_U1STA.getUTXBF : TBits_1; inline;
  30153. begin
  30154. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30155. end;
  30156. procedure TUART1A_U1STA.setUTXEN; inline;
  30157. begin
  30158. pTDefRegMap(@Self)^.&set := $00000400;
  30159. end;
  30160. procedure TUART1A_U1STA.clearUTXEN; inline;
  30161. begin
  30162. pTDefRegMap(@Self)^.clr := $00000400;
  30163. end;
  30164. procedure TUART1A_U1STA.setUTXEN(thebits : TBits_1); inline;
  30165. begin
  30166. if thebits = 0 then
  30167. pTDefRegMap(@Self)^.clr := $00000400
  30168. else
  30169. pTDefRegMap(@Self)^.&set := $00000400;
  30170. end;
  30171. function TUART1A_U1STA.getUTXEN : TBits_1; inline;
  30172. begin
  30173. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30174. end;
  30175. procedure TUART1A_U1STA.setUTXBRK; inline;
  30176. begin
  30177. pTDefRegMap(@Self)^.&set := $00000800;
  30178. end;
  30179. procedure TUART1A_U1STA.clearUTXBRK; inline;
  30180. begin
  30181. pTDefRegMap(@Self)^.clr := $00000800;
  30182. end;
  30183. procedure TUART1A_U1STA.setUTXBRK(thebits : TBits_1); inline;
  30184. begin
  30185. if thebits = 0 then
  30186. pTDefRegMap(@Self)^.clr := $00000800
  30187. else
  30188. pTDefRegMap(@Self)^.&set := $00000800;
  30189. end;
  30190. function TUART1A_U1STA.getUTXBRK : TBits_1; inline;
  30191. begin
  30192. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30193. end;
  30194. procedure TUART1A_U1STA.setURXEN; inline;
  30195. begin
  30196. pTDefRegMap(@Self)^.&set := $00001000;
  30197. end;
  30198. procedure TUART1A_U1STA.clearURXEN; inline;
  30199. begin
  30200. pTDefRegMap(@Self)^.clr := $00001000;
  30201. end;
  30202. procedure TUART1A_U1STA.setURXEN(thebits : TBits_1); inline;
  30203. begin
  30204. if thebits = 0 then
  30205. pTDefRegMap(@Self)^.clr := $00001000
  30206. else
  30207. pTDefRegMap(@Self)^.&set := $00001000;
  30208. end;
  30209. function TUART1A_U1STA.getURXEN : TBits_1; inline;
  30210. begin
  30211. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30212. end;
  30213. procedure TUART1A_U1STA.setUTXINV; inline;
  30214. begin
  30215. pTDefRegMap(@Self)^.&set := $00002000;
  30216. end;
  30217. procedure TUART1A_U1STA.clearUTXINV; inline;
  30218. begin
  30219. pTDefRegMap(@Self)^.clr := $00002000;
  30220. end;
  30221. procedure TUART1A_U1STA.setUTXINV(thebits : TBits_1); inline;
  30222. begin
  30223. if thebits = 0 then
  30224. pTDefRegMap(@Self)^.clr := $00002000
  30225. else
  30226. pTDefRegMap(@Self)^.&set := $00002000;
  30227. end;
  30228. function TUART1A_U1STA.getUTXINV : TBits_1; inline;
  30229. begin
  30230. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30231. end;
  30232. procedure TUART1A_U1STA.setUTXISEL(thebits : TBits_2); inline;
  30233. begin
  30234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30235. end;
  30236. function TUART1A_U1STA.getUTXISEL : TBits_2; inline;
  30237. begin
  30238. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30239. end;
  30240. procedure TUART1A_U1STA.setADDR(thebits : TBits_8); inline;
  30241. begin
  30242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30243. end;
  30244. function TUART1A_U1STA.getADDR : TBits_8; inline;
  30245. begin
  30246. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30247. end;
  30248. procedure TUART1A_U1STA.setADM_EN; inline;
  30249. begin
  30250. pTDefRegMap(@Self)^.&set := $01000000;
  30251. end;
  30252. procedure TUART1A_U1STA.clearADM_EN; inline;
  30253. begin
  30254. pTDefRegMap(@Self)^.clr := $01000000;
  30255. end;
  30256. procedure TUART1A_U1STA.setADM_EN(thebits : TBits_1); inline;
  30257. begin
  30258. if thebits = 0 then
  30259. pTDefRegMap(@Self)^.clr := $01000000
  30260. else
  30261. pTDefRegMap(@Self)^.&set := $01000000;
  30262. end;
  30263. function TUART1A_U1STA.getADM_EN : TBits_1; inline;
  30264. begin
  30265. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30266. end;
  30267. procedure TUART1A_U1STA.setURXISEL0; inline;
  30268. begin
  30269. pTDefRegMap(@Self)^.&set := $00000040;
  30270. end;
  30271. procedure TUART1A_U1STA.clearURXISEL0; inline;
  30272. begin
  30273. pTDefRegMap(@Self)^.clr := $00000040;
  30274. end;
  30275. procedure TUART1A_U1STA.setURXISEL0(thebits : TBits_1); inline;
  30276. begin
  30277. if thebits = 0 then
  30278. pTDefRegMap(@Self)^.clr := $00000040
  30279. else
  30280. pTDefRegMap(@Self)^.&set := $00000040;
  30281. end;
  30282. function TUART1A_U1STA.getURXISEL0 : TBits_1; inline;
  30283. begin
  30284. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30285. end;
  30286. procedure TUART1A_U1STA.setURXISEL1; inline;
  30287. begin
  30288. pTDefRegMap(@Self)^.&set := $00000080;
  30289. end;
  30290. procedure TUART1A_U1STA.clearURXISEL1; inline;
  30291. begin
  30292. pTDefRegMap(@Self)^.clr := $00000080;
  30293. end;
  30294. procedure TUART1A_U1STA.setURXISEL1(thebits : TBits_1); inline;
  30295. begin
  30296. if thebits = 0 then
  30297. pTDefRegMap(@Self)^.clr := $00000080
  30298. else
  30299. pTDefRegMap(@Self)^.&set := $00000080;
  30300. end;
  30301. function TUART1A_U1STA.getURXISEL1 : TBits_1; inline;
  30302. begin
  30303. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30304. end;
  30305. procedure TUART1A_U1STA.setUTXISEL0; inline;
  30306. begin
  30307. pTDefRegMap(@Self)^.&set := $00004000;
  30308. end;
  30309. procedure TUART1A_U1STA.clearUTXISEL0; inline;
  30310. begin
  30311. pTDefRegMap(@Self)^.clr := $00004000;
  30312. end;
  30313. procedure TUART1A_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  30314. begin
  30315. if thebits = 0 then
  30316. pTDefRegMap(@Self)^.clr := $00004000
  30317. else
  30318. pTDefRegMap(@Self)^.&set := $00004000;
  30319. end;
  30320. function TUART1A_U1STA.getUTXISEL0 : TBits_1; inline;
  30321. begin
  30322. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30323. end;
  30324. procedure TUART1A_U1STA.setUTXISEL1; inline;
  30325. begin
  30326. pTDefRegMap(@Self)^.&set := $00008000;
  30327. end;
  30328. procedure TUART1A_U1STA.clearUTXISEL1; inline;
  30329. begin
  30330. pTDefRegMap(@Self)^.clr := $00008000;
  30331. end;
  30332. procedure TUART1A_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  30333. begin
  30334. if thebits = 0 then
  30335. pTDefRegMap(@Self)^.clr := $00008000
  30336. else
  30337. pTDefRegMap(@Self)^.&set := $00008000;
  30338. end;
  30339. function TUART1A_U1STA.getUTXISEL1 : TBits_1; inline;
  30340. begin
  30341. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30342. end;
  30343. procedure TUART1A_U1STA.setUTXSEL(thebits : TBits_2); inline;
  30344. begin
  30345. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30346. end;
  30347. function TUART1A_U1STA.getUTXSEL : TBits_2; inline;
  30348. begin
  30349. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30350. end;
  30351. procedure TUART1A_U1STA.setw(thebits : TBits_32); inline;
  30352. begin
  30353. pTDefRegMap(@Self)^.val := thebits;
  30354. end;
  30355. function TUART1A_U1STA.getw : TBits_32; inline;
  30356. begin
  30357. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30358. end;
  30359. procedure TUART4_U1BMODE.setSTSEL; inline;
  30360. begin
  30361. pTDefRegMap(@Self)^.&set := $00000001;
  30362. end;
  30363. procedure TUART4_U1BMODE.clearSTSEL; inline;
  30364. begin
  30365. pTDefRegMap(@Self)^.clr := $00000001;
  30366. end;
  30367. procedure TUART4_U1BMODE.setSTSEL(thebits : TBits_1); inline;
  30368. begin
  30369. if thebits = 0 then
  30370. pTDefRegMap(@Self)^.clr := $00000001
  30371. else
  30372. pTDefRegMap(@Self)^.&set := $00000001;
  30373. end;
  30374. function TUART4_U1BMODE.getSTSEL : TBits_1; inline;
  30375. begin
  30376. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30377. end;
  30378. procedure TUART4_U1BMODE.setPDSEL(thebits : TBits_2); inline;
  30379. begin
  30380. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30381. end;
  30382. function TUART4_U1BMODE.getPDSEL : TBits_2; inline;
  30383. begin
  30384. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30385. end;
  30386. procedure TUART4_U1BMODE.setBRGH; inline;
  30387. begin
  30388. pTDefRegMap(@Self)^.&set := $00000008;
  30389. end;
  30390. procedure TUART4_U1BMODE.clearBRGH; inline;
  30391. begin
  30392. pTDefRegMap(@Self)^.clr := $00000008;
  30393. end;
  30394. procedure TUART4_U1BMODE.setBRGH(thebits : TBits_1); inline;
  30395. begin
  30396. if thebits = 0 then
  30397. pTDefRegMap(@Self)^.clr := $00000008
  30398. else
  30399. pTDefRegMap(@Self)^.&set := $00000008;
  30400. end;
  30401. function TUART4_U1BMODE.getBRGH : TBits_1; inline;
  30402. begin
  30403. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30404. end;
  30405. procedure TUART4_U1BMODE.setRXINV; inline;
  30406. begin
  30407. pTDefRegMap(@Self)^.&set := $00000010;
  30408. end;
  30409. procedure TUART4_U1BMODE.clearRXINV; inline;
  30410. begin
  30411. pTDefRegMap(@Self)^.clr := $00000010;
  30412. end;
  30413. procedure TUART4_U1BMODE.setRXINV(thebits : TBits_1); inline;
  30414. begin
  30415. if thebits = 0 then
  30416. pTDefRegMap(@Self)^.clr := $00000010
  30417. else
  30418. pTDefRegMap(@Self)^.&set := $00000010;
  30419. end;
  30420. function TUART4_U1BMODE.getRXINV : TBits_1; inline;
  30421. begin
  30422. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30423. end;
  30424. procedure TUART4_U1BMODE.setABAUD; inline;
  30425. begin
  30426. pTDefRegMap(@Self)^.&set := $00000020;
  30427. end;
  30428. procedure TUART4_U1BMODE.clearABAUD; inline;
  30429. begin
  30430. pTDefRegMap(@Self)^.clr := $00000020;
  30431. end;
  30432. procedure TUART4_U1BMODE.setABAUD(thebits : TBits_1); inline;
  30433. begin
  30434. if thebits = 0 then
  30435. pTDefRegMap(@Self)^.clr := $00000020
  30436. else
  30437. pTDefRegMap(@Self)^.&set := $00000020;
  30438. end;
  30439. function TUART4_U1BMODE.getABAUD : TBits_1; inline;
  30440. begin
  30441. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30442. end;
  30443. procedure TUART4_U1BMODE.setLPBACK; inline;
  30444. begin
  30445. pTDefRegMap(@Self)^.&set := $00000040;
  30446. end;
  30447. procedure TUART4_U1BMODE.clearLPBACK; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.clr := $00000040;
  30450. end;
  30451. procedure TUART4_U1BMODE.setLPBACK(thebits : TBits_1); inline;
  30452. begin
  30453. if thebits = 0 then
  30454. pTDefRegMap(@Self)^.clr := $00000040
  30455. else
  30456. pTDefRegMap(@Self)^.&set := $00000040;
  30457. end;
  30458. function TUART4_U1BMODE.getLPBACK : TBits_1; inline;
  30459. begin
  30460. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30461. end;
  30462. procedure TUART4_U1BMODE.setWAKE; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.&set := $00000080;
  30465. end;
  30466. procedure TUART4_U1BMODE.clearWAKE; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.clr := $00000080;
  30469. end;
  30470. procedure TUART4_U1BMODE.setWAKE(thebits : TBits_1); inline;
  30471. begin
  30472. if thebits = 0 then
  30473. pTDefRegMap(@Self)^.clr := $00000080
  30474. else
  30475. pTDefRegMap(@Self)^.&set := $00000080;
  30476. end;
  30477. function TUART4_U1BMODE.getWAKE : TBits_1; inline;
  30478. begin
  30479. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30480. end;
  30481. procedure TUART4_U1BMODE.setIREN; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.&set := $00001000;
  30484. end;
  30485. procedure TUART4_U1BMODE.clearIREN; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.clr := $00001000;
  30488. end;
  30489. procedure TUART4_U1BMODE.setIREN(thebits : TBits_1); inline;
  30490. begin
  30491. if thebits = 0 then
  30492. pTDefRegMap(@Self)^.clr := $00001000
  30493. else
  30494. pTDefRegMap(@Self)^.&set := $00001000;
  30495. end;
  30496. function TUART4_U1BMODE.getIREN : TBits_1; inline;
  30497. begin
  30498. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30499. end;
  30500. procedure TUART4_U1BMODE.setSIDL; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.&set := $00002000;
  30503. end;
  30504. procedure TUART4_U1BMODE.clearSIDL; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.clr := $00002000;
  30507. end;
  30508. procedure TUART4_U1BMODE.setSIDL(thebits : TBits_1); inline;
  30509. begin
  30510. if thebits = 0 then
  30511. pTDefRegMap(@Self)^.clr := $00002000
  30512. else
  30513. pTDefRegMap(@Self)^.&set := $00002000;
  30514. end;
  30515. function TUART4_U1BMODE.getSIDL : TBits_1; inline;
  30516. begin
  30517. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30518. end;
  30519. procedure TUART4_U1BMODE.setON; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.&set := $00008000;
  30522. end;
  30523. procedure TUART4_U1BMODE.clearON; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.clr := $00008000;
  30526. end;
  30527. procedure TUART4_U1BMODE.setON(thebits : TBits_1); inline;
  30528. begin
  30529. if thebits = 0 then
  30530. pTDefRegMap(@Self)^.clr := $00008000
  30531. else
  30532. pTDefRegMap(@Self)^.&set := $00008000;
  30533. end;
  30534. function TUART4_U1BMODE.getON : TBits_1; inline;
  30535. begin
  30536. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30537. end;
  30538. procedure TUART4_U1BMODE.setPDSEL0; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.&set := $00000002;
  30541. end;
  30542. procedure TUART4_U1BMODE.clearPDSEL0; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.clr := $00000002;
  30545. end;
  30546. procedure TUART4_U1BMODE.setPDSEL0(thebits : TBits_1); inline;
  30547. begin
  30548. if thebits = 0 then
  30549. pTDefRegMap(@Self)^.clr := $00000002
  30550. else
  30551. pTDefRegMap(@Self)^.&set := $00000002;
  30552. end;
  30553. function TUART4_U1BMODE.getPDSEL0 : TBits_1; inline;
  30554. begin
  30555. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30556. end;
  30557. procedure TUART4_U1BMODE.setPDSEL1; inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.&set := $00000004;
  30560. end;
  30561. procedure TUART4_U1BMODE.clearPDSEL1; inline;
  30562. begin
  30563. pTDefRegMap(@Self)^.clr := $00000004;
  30564. end;
  30565. procedure TUART4_U1BMODE.setPDSEL1(thebits : TBits_1); inline;
  30566. begin
  30567. if thebits = 0 then
  30568. pTDefRegMap(@Self)^.clr := $00000004
  30569. else
  30570. pTDefRegMap(@Self)^.&set := $00000004;
  30571. end;
  30572. function TUART4_U1BMODE.getPDSEL1 : TBits_1; inline;
  30573. begin
  30574. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30575. end;
  30576. procedure TUART4_U1BMODE.setUSIDL; inline;
  30577. begin
  30578. pTDefRegMap(@Self)^.&set := $00002000;
  30579. end;
  30580. procedure TUART4_U1BMODE.clearUSIDL; inline;
  30581. begin
  30582. pTDefRegMap(@Self)^.clr := $00002000;
  30583. end;
  30584. procedure TUART4_U1BMODE.setUSIDL(thebits : TBits_1); inline;
  30585. begin
  30586. if thebits = 0 then
  30587. pTDefRegMap(@Self)^.clr := $00002000
  30588. else
  30589. pTDefRegMap(@Self)^.&set := $00002000;
  30590. end;
  30591. function TUART4_U1BMODE.getUSIDL : TBits_1; inline;
  30592. begin
  30593. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30594. end;
  30595. procedure TUART4_U1BMODE.setUARTEN; inline;
  30596. begin
  30597. pTDefRegMap(@Self)^.&set := $00008000;
  30598. end;
  30599. procedure TUART4_U1BMODE.clearUARTEN; inline;
  30600. begin
  30601. pTDefRegMap(@Self)^.clr := $00008000;
  30602. end;
  30603. procedure TUART4_U1BMODE.setUARTEN(thebits : TBits_1); inline;
  30604. begin
  30605. if thebits = 0 then
  30606. pTDefRegMap(@Self)^.clr := $00008000
  30607. else
  30608. pTDefRegMap(@Self)^.&set := $00008000;
  30609. end;
  30610. function TUART4_U1BMODE.getUARTEN : TBits_1; inline;
  30611. begin
  30612. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30613. end;
  30614. procedure TUART4_U1BMODE.setw(thebits : TBits_32); inline;
  30615. begin
  30616. pTDefRegMap(@Self)^.val := thebits;
  30617. end;
  30618. function TUART4_U1BMODE.getw : TBits_32; inline;
  30619. begin
  30620. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30621. end;
  30622. procedure TUART4_U4MODE.setSTSEL; inline;
  30623. begin
  30624. pTDefRegMap(@Self)^.&set := $00000001;
  30625. end;
  30626. procedure TUART4_U4MODE.clearSTSEL; inline;
  30627. begin
  30628. pTDefRegMap(@Self)^.clr := $00000001;
  30629. end;
  30630. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  30631. begin
  30632. if thebits = 0 then
  30633. pTDefRegMap(@Self)^.clr := $00000001
  30634. else
  30635. pTDefRegMap(@Self)^.&set := $00000001;
  30636. end;
  30637. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  30638. begin
  30639. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30640. end;
  30641. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  30642. begin
  30643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30644. end;
  30645. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  30646. begin
  30647. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30648. end;
  30649. procedure TUART4_U4MODE.setBRGH; inline;
  30650. begin
  30651. pTDefRegMap(@Self)^.&set := $00000008;
  30652. end;
  30653. procedure TUART4_U4MODE.clearBRGH; inline;
  30654. begin
  30655. pTDefRegMap(@Self)^.clr := $00000008;
  30656. end;
  30657. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  30658. begin
  30659. if thebits = 0 then
  30660. pTDefRegMap(@Self)^.clr := $00000008
  30661. else
  30662. pTDefRegMap(@Self)^.&set := $00000008;
  30663. end;
  30664. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  30665. begin
  30666. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30667. end;
  30668. procedure TUART4_U4MODE.setRXINV; inline;
  30669. begin
  30670. pTDefRegMap(@Self)^.&set := $00000010;
  30671. end;
  30672. procedure TUART4_U4MODE.clearRXINV; inline;
  30673. begin
  30674. pTDefRegMap(@Self)^.clr := $00000010;
  30675. end;
  30676. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  30677. begin
  30678. if thebits = 0 then
  30679. pTDefRegMap(@Self)^.clr := $00000010
  30680. else
  30681. pTDefRegMap(@Self)^.&set := $00000010;
  30682. end;
  30683. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  30684. begin
  30685. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30686. end;
  30687. procedure TUART4_U4MODE.setABAUD; inline;
  30688. begin
  30689. pTDefRegMap(@Self)^.&set := $00000020;
  30690. end;
  30691. procedure TUART4_U4MODE.clearABAUD; inline;
  30692. begin
  30693. pTDefRegMap(@Self)^.clr := $00000020;
  30694. end;
  30695. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  30696. begin
  30697. if thebits = 0 then
  30698. pTDefRegMap(@Self)^.clr := $00000020
  30699. else
  30700. pTDefRegMap(@Self)^.&set := $00000020;
  30701. end;
  30702. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  30703. begin
  30704. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30705. end;
  30706. procedure TUART4_U4MODE.setLPBACK; inline;
  30707. begin
  30708. pTDefRegMap(@Self)^.&set := $00000040;
  30709. end;
  30710. procedure TUART4_U4MODE.clearLPBACK; inline;
  30711. begin
  30712. pTDefRegMap(@Self)^.clr := $00000040;
  30713. end;
  30714. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  30715. begin
  30716. if thebits = 0 then
  30717. pTDefRegMap(@Self)^.clr := $00000040
  30718. else
  30719. pTDefRegMap(@Self)^.&set := $00000040;
  30720. end;
  30721. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  30722. begin
  30723. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30724. end;
  30725. procedure TUART4_U4MODE.setWAKE; inline;
  30726. begin
  30727. pTDefRegMap(@Self)^.&set := $00000080;
  30728. end;
  30729. procedure TUART4_U4MODE.clearWAKE; inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.clr := $00000080;
  30732. end;
  30733. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  30734. begin
  30735. if thebits = 0 then
  30736. pTDefRegMap(@Self)^.clr := $00000080
  30737. else
  30738. pTDefRegMap(@Self)^.&set := $00000080;
  30739. end;
  30740. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  30741. begin
  30742. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30743. end;
  30744. procedure TUART4_U4MODE.setIREN; inline;
  30745. begin
  30746. pTDefRegMap(@Self)^.&set := $00001000;
  30747. end;
  30748. procedure TUART4_U4MODE.clearIREN; inline;
  30749. begin
  30750. pTDefRegMap(@Self)^.clr := $00001000;
  30751. end;
  30752. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  30753. begin
  30754. if thebits = 0 then
  30755. pTDefRegMap(@Self)^.clr := $00001000
  30756. else
  30757. pTDefRegMap(@Self)^.&set := $00001000;
  30758. end;
  30759. function TUART4_U4MODE.getIREN : TBits_1; inline;
  30760. begin
  30761. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30762. end;
  30763. procedure TUART4_U4MODE.setSIDL; inline;
  30764. begin
  30765. pTDefRegMap(@Self)^.&set := $00002000;
  30766. end;
  30767. procedure TUART4_U4MODE.clearSIDL; inline;
  30768. begin
  30769. pTDefRegMap(@Self)^.clr := $00002000;
  30770. end;
  30771. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  30772. begin
  30773. if thebits = 0 then
  30774. pTDefRegMap(@Self)^.clr := $00002000
  30775. else
  30776. pTDefRegMap(@Self)^.&set := $00002000;
  30777. end;
  30778. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  30779. begin
  30780. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30781. end;
  30782. procedure TUART4_U4MODE.setON; inline;
  30783. begin
  30784. pTDefRegMap(@Self)^.&set := $00008000;
  30785. end;
  30786. procedure TUART4_U4MODE.clearON; inline;
  30787. begin
  30788. pTDefRegMap(@Self)^.clr := $00008000;
  30789. end;
  30790. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  30791. begin
  30792. if thebits = 0 then
  30793. pTDefRegMap(@Self)^.clr := $00008000
  30794. else
  30795. pTDefRegMap(@Self)^.&set := $00008000;
  30796. end;
  30797. function TUART4_U4MODE.getON : TBits_1; inline;
  30798. begin
  30799. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30800. end;
  30801. procedure TUART4_U4MODE.setPDSEL0; inline;
  30802. begin
  30803. pTDefRegMap(@Self)^.&set := $00000002;
  30804. end;
  30805. procedure TUART4_U4MODE.clearPDSEL0; inline;
  30806. begin
  30807. pTDefRegMap(@Self)^.clr := $00000002;
  30808. end;
  30809. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  30810. begin
  30811. if thebits = 0 then
  30812. pTDefRegMap(@Self)^.clr := $00000002
  30813. else
  30814. pTDefRegMap(@Self)^.&set := $00000002;
  30815. end;
  30816. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  30817. begin
  30818. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30819. end;
  30820. procedure TUART4_U4MODE.setPDSEL1; inline;
  30821. begin
  30822. pTDefRegMap(@Self)^.&set := $00000004;
  30823. end;
  30824. procedure TUART4_U4MODE.clearPDSEL1; inline;
  30825. begin
  30826. pTDefRegMap(@Self)^.clr := $00000004;
  30827. end;
  30828. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  30829. begin
  30830. if thebits = 0 then
  30831. pTDefRegMap(@Self)^.clr := $00000004
  30832. else
  30833. pTDefRegMap(@Self)^.&set := $00000004;
  30834. end;
  30835. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  30836. begin
  30837. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30838. end;
  30839. procedure TUART4_U4MODE.setUSIDL; inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.&set := $00002000;
  30842. end;
  30843. procedure TUART4_U4MODE.clearUSIDL; inline;
  30844. begin
  30845. pTDefRegMap(@Self)^.clr := $00002000;
  30846. end;
  30847. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  30848. begin
  30849. if thebits = 0 then
  30850. pTDefRegMap(@Self)^.clr := $00002000
  30851. else
  30852. pTDefRegMap(@Self)^.&set := $00002000;
  30853. end;
  30854. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  30855. begin
  30856. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30857. end;
  30858. procedure TUART4_U4MODE.setUARTEN; inline;
  30859. begin
  30860. pTDefRegMap(@Self)^.&set := $00008000;
  30861. end;
  30862. procedure TUART4_U4MODE.clearUARTEN; inline;
  30863. begin
  30864. pTDefRegMap(@Self)^.clr := $00008000;
  30865. end;
  30866. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  30867. begin
  30868. if thebits = 0 then
  30869. pTDefRegMap(@Self)^.clr := $00008000
  30870. else
  30871. pTDefRegMap(@Self)^.&set := $00008000;
  30872. end;
  30873. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  30874. begin
  30875. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30876. end;
  30877. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  30878. begin
  30879. pTDefRegMap(@Self)^.val := thebits;
  30880. end;
  30881. function TUART4_U4MODE.getw : TBits_32; inline;
  30882. begin
  30883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30884. end;
  30885. procedure TUART4_U1BSTA.setURXDA; inline;
  30886. begin
  30887. pTDefRegMap(@Self)^.&set := $00000001;
  30888. end;
  30889. procedure TUART4_U1BSTA.clearURXDA; inline;
  30890. begin
  30891. pTDefRegMap(@Self)^.clr := $00000001;
  30892. end;
  30893. procedure TUART4_U1BSTA.setURXDA(thebits : TBits_1); inline;
  30894. begin
  30895. if thebits = 0 then
  30896. pTDefRegMap(@Self)^.clr := $00000001
  30897. else
  30898. pTDefRegMap(@Self)^.&set := $00000001;
  30899. end;
  30900. function TUART4_U1BSTA.getURXDA : TBits_1; inline;
  30901. begin
  30902. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30903. end;
  30904. procedure TUART4_U1BSTA.setOERR; inline;
  30905. begin
  30906. pTDefRegMap(@Self)^.&set := $00000002;
  30907. end;
  30908. procedure TUART4_U1BSTA.clearOERR; inline;
  30909. begin
  30910. pTDefRegMap(@Self)^.clr := $00000002;
  30911. end;
  30912. procedure TUART4_U1BSTA.setOERR(thebits : TBits_1); inline;
  30913. begin
  30914. if thebits = 0 then
  30915. pTDefRegMap(@Self)^.clr := $00000002
  30916. else
  30917. pTDefRegMap(@Self)^.&set := $00000002;
  30918. end;
  30919. function TUART4_U1BSTA.getOERR : TBits_1; inline;
  30920. begin
  30921. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30922. end;
  30923. procedure TUART4_U1BSTA.setFERR; inline;
  30924. begin
  30925. pTDefRegMap(@Self)^.&set := $00000004;
  30926. end;
  30927. procedure TUART4_U1BSTA.clearFERR; inline;
  30928. begin
  30929. pTDefRegMap(@Self)^.clr := $00000004;
  30930. end;
  30931. procedure TUART4_U1BSTA.setFERR(thebits : TBits_1); inline;
  30932. begin
  30933. if thebits = 0 then
  30934. pTDefRegMap(@Self)^.clr := $00000004
  30935. else
  30936. pTDefRegMap(@Self)^.&set := $00000004;
  30937. end;
  30938. function TUART4_U1BSTA.getFERR : TBits_1; inline;
  30939. begin
  30940. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30941. end;
  30942. procedure TUART4_U1BSTA.setPERR; inline;
  30943. begin
  30944. pTDefRegMap(@Self)^.&set := $00000008;
  30945. end;
  30946. procedure TUART4_U1BSTA.clearPERR; inline;
  30947. begin
  30948. pTDefRegMap(@Self)^.clr := $00000008;
  30949. end;
  30950. procedure TUART4_U1BSTA.setPERR(thebits : TBits_1); inline;
  30951. begin
  30952. if thebits = 0 then
  30953. pTDefRegMap(@Self)^.clr := $00000008
  30954. else
  30955. pTDefRegMap(@Self)^.&set := $00000008;
  30956. end;
  30957. function TUART4_U1BSTA.getPERR : TBits_1; inline;
  30958. begin
  30959. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30960. end;
  30961. procedure TUART4_U1BSTA.setRIDLE; inline;
  30962. begin
  30963. pTDefRegMap(@Self)^.&set := $00000010;
  30964. end;
  30965. procedure TUART4_U1BSTA.clearRIDLE; inline;
  30966. begin
  30967. pTDefRegMap(@Self)^.clr := $00000010;
  30968. end;
  30969. procedure TUART4_U1BSTA.setRIDLE(thebits : TBits_1); inline;
  30970. begin
  30971. if thebits = 0 then
  30972. pTDefRegMap(@Self)^.clr := $00000010
  30973. else
  30974. pTDefRegMap(@Self)^.&set := $00000010;
  30975. end;
  30976. function TUART4_U1BSTA.getRIDLE : TBits_1; inline;
  30977. begin
  30978. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30979. end;
  30980. procedure TUART4_U1BSTA.setADDEN; inline;
  30981. begin
  30982. pTDefRegMap(@Self)^.&set := $00000020;
  30983. end;
  30984. procedure TUART4_U1BSTA.clearADDEN; inline;
  30985. begin
  30986. pTDefRegMap(@Self)^.clr := $00000020;
  30987. end;
  30988. procedure TUART4_U1BSTA.setADDEN(thebits : TBits_1); inline;
  30989. begin
  30990. if thebits = 0 then
  30991. pTDefRegMap(@Self)^.clr := $00000020
  30992. else
  30993. pTDefRegMap(@Self)^.&set := $00000020;
  30994. end;
  30995. function TUART4_U1BSTA.getADDEN : TBits_1; inline;
  30996. begin
  30997. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30998. end;
  30999. procedure TUART4_U1BSTA.setURXISEL(thebits : TBits_2); inline;
  31000. begin
  31001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31002. end;
  31003. function TUART4_U1BSTA.getURXISEL : TBits_2; inline;
  31004. begin
  31005. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31006. end;
  31007. procedure TUART4_U1BSTA.setTRMT; inline;
  31008. begin
  31009. pTDefRegMap(@Self)^.&set := $00000100;
  31010. end;
  31011. procedure TUART4_U1BSTA.clearTRMT; inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.clr := $00000100;
  31014. end;
  31015. procedure TUART4_U1BSTA.setTRMT(thebits : TBits_1); inline;
  31016. begin
  31017. if thebits = 0 then
  31018. pTDefRegMap(@Self)^.clr := $00000100
  31019. else
  31020. pTDefRegMap(@Self)^.&set := $00000100;
  31021. end;
  31022. function TUART4_U1BSTA.getTRMT : TBits_1; inline;
  31023. begin
  31024. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31025. end;
  31026. procedure TUART4_U1BSTA.setUTXBF; inline;
  31027. begin
  31028. pTDefRegMap(@Self)^.&set := $00000200;
  31029. end;
  31030. procedure TUART4_U1BSTA.clearUTXBF; inline;
  31031. begin
  31032. pTDefRegMap(@Self)^.clr := $00000200;
  31033. end;
  31034. procedure TUART4_U1BSTA.setUTXBF(thebits : TBits_1); inline;
  31035. begin
  31036. if thebits = 0 then
  31037. pTDefRegMap(@Self)^.clr := $00000200
  31038. else
  31039. pTDefRegMap(@Self)^.&set := $00000200;
  31040. end;
  31041. function TUART4_U1BSTA.getUTXBF : TBits_1; inline;
  31042. begin
  31043. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31044. end;
  31045. procedure TUART4_U1BSTA.setUTXEN; inline;
  31046. begin
  31047. pTDefRegMap(@Self)^.&set := $00000400;
  31048. end;
  31049. procedure TUART4_U1BSTA.clearUTXEN; inline;
  31050. begin
  31051. pTDefRegMap(@Self)^.clr := $00000400;
  31052. end;
  31053. procedure TUART4_U1BSTA.setUTXEN(thebits : TBits_1); inline;
  31054. begin
  31055. if thebits = 0 then
  31056. pTDefRegMap(@Self)^.clr := $00000400
  31057. else
  31058. pTDefRegMap(@Self)^.&set := $00000400;
  31059. end;
  31060. function TUART4_U1BSTA.getUTXEN : TBits_1; inline;
  31061. begin
  31062. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31063. end;
  31064. procedure TUART4_U1BSTA.setUTXBRK; inline;
  31065. begin
  31066. pTDefRegMap(@Self)^.&set := $00000800;
  31067. end;
  31068. procedure TUART4_U1BSTA.clearUTXBRK; inline;
  31069. begin
  31070. pTDefRegMap(@Self)^.clr := $00000800;
  31071. end;
  31072. procedure TUART4_U1BSTA.setUTXBRK(thebits : TBits_1); inline;
  31073. begin
  31074. if thebits = 0 then
  31075. pTDefRegMap(@Self)^.clr := $00000800
  31076. else
  31077. pTDefRegMap(@Self)^.&set := $00000800;
  31078. end;
  31079. function TUART4_U1BSTA.getUTXBRK : TBits_1; inline;
  31080. begin
  31081. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31082. end;
  31083. procedure TUART4_U1BSTA.setURXEN; inline;
  31084. begin
  31085. pTDefRegMap(@Self)^.&set := $00001000;
  31086. end;
  31087. procedure TUART4_U1BSTA.clearURXEN; inline;
  31088. begin
  31089. pTDefRegMap(@Self)^.clr := $00001000;
  31090. end;
  31091. procedure TUART4_U1BSTA.setURXEN(thebits : TBits_1); inline;
  31092. begin
  31093. if thebits = 0 then
  31094. pTDefRegMap(@Self)^.clr := $00001000
  31095. else
  31096. pTDefRegMap(@Self)^.&set := $00001000;
  31097. end;
  31098. function TUART4_U1BSTA.getURXEN : TBits_1; inline;
  31099. begin
  31100. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31101. end;
  31102. procedure TUART4_U1BSTA.setUTXINV; inline;
  31103. begin
  31104. pTDefRegMap(@Self)^.&set := $00002000;
  31105. end;
  31106. procedure TUART4_U1BSTA.clearUTXINV; inline;
  31107. begin
  31108. pTDefRegMap(@Self)^.clr := $00002000;
  31109. end;
  31110. procedure TUART4_U1BSTA.setUTXINV(thebits : TBits_1); inline;
  31111. begin
  31112. if thebits = 0 then
  31113. pTDefRegMap(@Self)^.clr := $00002000
  31114. else
  31115. pTDefRegMap(@Self)^.&set := $00002000;
  31116. end;
  31117. function TUART4_U1BSTA.getUTXINV : TBits_1; inline;
  31118. begin
  31119. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31120. end;
  31121. procedure TUART4_U1BSTA.setUTXISEL(thebits : TBits_2); inline;
  31122. begin
  31123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31124. end;
  31125. function TUART4_U1BSTA.getUTXISEL : TBits_2; inline;
  31126. begin
  31127. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31128. end;
  31129. procedure TUART4_U1BSTA.setADDR(thebits : TBits_8); inline;
  31130. begin
  31131. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31132. end;
  31133. function TUART4_U1BSTA.getADDR : TBits_8; inline;
  31134. begin
  31135. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31136. end;
  31137. procedure TUART4_U1BSTA.setADM_EN; inline;
  31138. begin
  31139. pTDefRegMap(@Self)^.&set := $01000000;
  31140. end;
  31141. procedure TUART4_U1BSTA.clearADM_EN; inline;
  31142. begin
  31143. pTDefRegMap(@Self)^.clr := $01000000;
  31144. end;
  31145. procedure TUART4_U1BSTA.setADM_EN(thebits : TBits_1); inline;
  31146. begin
  31147. if thebits = 0 then
  31148. pTDefRegMap(@Self)^.clr := $01000000
  31149. else
  31150. pTDefRegMap(@Self)^.&set := $01000000;
  31151. end;
  31152. function TUART4_U1BSTA.getADM_EN : TBits_1; inline;
  31153. begin
  31154. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31155. end;
  31156. procedure TUART4_U1BSTA.setURXISEL0; inline;
  31157. begin
  31158. pTDefRegMap(@Self)^.&set := $00000040;
  31159. end;
  31160. procedure TUART4_U1BSTA.clearURXISEL0; inline;
  31161. begin
  31162. pTDefRegMap(@Self)^.clr := $00000040;
  31163. end;
  31164. procedure TUART4_U1BSTA.setURXISEL0(thebits : TBits_1); inline;
  31165. begin
  31166. if thebits = 0 then
  31167. pTDefRegMap(@Self)^.clr := $00000040
  31168. else
  31169. pTDefRegMap(@Self)^.&set := $00000040;
  31170. end;
  31171. function TUART4_U1BSTA.getURXISEL0 : TBits_1; inline;
  31172. begin
  31173. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31174. end;
  31175. procedure TUART4_U1BSTA.setURXISEL1; inline;
  31176. begin
  31177. pTDefRegMap(@Self)^.&set := $00000080;
  31178. end;
  31179. procedure TUART4_U1BSTA.clearURXISEL1; inline;
  31180. begin
  31181. pTDefRegMap(@Self)^.clr := $00000080;
  31182. end;
  31183. procedure TUART4_U1BSTA.setURXISEL1(thebits : TBits_1); inline;
  31184. begin
  31185. if thebits = 0 then
  31186. pTDefRegMap(@Self)^.clr := $00000080
  31187. else
  31188. pTDefRegMap(@Self)^.&set := $00000080;
  31189. end;
  31190. function TUART4_U1BSTA.getURXISEL1 : TBits_1; inline;
  31191. begin
  31192. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31193. end;
  31194. procedure TUART4_U1BSTA.setUTXISEL0; inline;
  31195. begin
  31196. pTDefRegMap(@Self)^.&set := $00004000;
  31197. end;
  31198. procedure TUART4_U1BSTA.clearUTXISEL0; inline;
  31199. begin
  31200. pTDefRegMap(@Self)^.clr := $00004000;
  31201. end;
  31202. procedure TUART4_U1BSTA.setUTXISEL0(thebits : TBits_1); inline;
  31203. begin
  31204. if thebits = 0 then
  31205. pTDefRegMap(@Self)^.clr := $00004000
  31206. else
  31207. pTDefRegMap(@Self)^.&set := $00004000;
  31208. end;
  31209. function TUART4_U1BSTA.getUTXISEL0 : TBits_1; inline;
  31210. begin
  31211. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31212. end;
  31213. procedure TUART4_U1BSTA.setUTXISEL1; inline;
  31214. begin
  31215. pTDefRegMap(@Self)^.&set := $00008000;
  31216. end;
  31217. procedure TUART4_U1BSTA.clearUTXISEL1; inline;
  31218. begin
  31219. pTDefRegMap(@Self)^.clr := $00008000;
  31220. end;
  31221. procedure TUART4_U1BSTA.setUTXISEL1(thebits : TBits_1); inline;
  31222. begin
  31223. if thebits = 0 then
  31224. pTDefRegMap(@Self)^.clr := $00008000
  31225. else
  31226. pTDefRegMap(@Self)^.&set := $00008000;
  31227. end;
  31228. function TUART4_U1BSTA.getUTXISEL1 : TBits_1; inline;
  31229. begin
  31230. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31231. end;
  31232. procedure TUART4_U1BSTA.setUTXSEL(thebits : TBits_2); inline;
  31233. begin
  31234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31235. end;
  31236. function TUART4_U1BSTA.getUTXSEL : TBits_2; inline;
  31237. begin
  31238. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31239. end;
  31240. procedure TUART4_U1BSTA.setw(thebits : TBits_32); inline;
  31241. begin
  31242. pTDefRegMap(@Self)^.val := thebits;
  31243. end;
  31244. function TUART4_U1BSTA.getw : TBits_32; inline;
  31245. begin
  31246. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31247. end;
  31248. procedure TUART4_U4STA.setURXDA; inline;
  31249. begin
  31250. pTDefRegMap(@Self)^.&set := $00000001;
  31251. end;
  31252. procedure TUART4_U4STA.clearURXDA; inline;
  31253. begin
  31254. pTDefRegMap(@Self)^.clr := $00000001;
  31255. end;
  31256. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  31257. begin
  31258. if thebits = 0 then
  31259. pTDefRegMap(@Self)^.clr := $00000001
  31260. else
  31261. pTDefRegMap(@Self)^.&set := $00000001;
  31262. end;
  31263. function TUART4_U4STA.getURXDA : TBits_1; inline;
  31264. begin
  31265. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31266. end;
  31267. procedure TUART4_U4STA.setOERR; inline;
  31268. begin
  31269. pTDefRegMap(@Self)^.&set := $00000002;
  31270. end;
  31271. procedure TUART4_U4STA.clearOERR; inline;
  31272. begin
  31273. pTDefRegMap(@Self)^.clr := $00000002;
  31274. end;
  31275. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  31276. begin
  31277. if thebits = 0 then
  31278. pTDefRegMap(@Self)^.clr := $00000002
  31279. else
  31280. pTDefRegMap(@Self)^.&set := $00000002;
  31281. end;
  31282. function TUART4_U4STA.getOERR : TBits_1; inline;
  31283. begin
  31284. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31285. end;
  31286. procedure TUART4_U4STA.setFERR; inline;
  31287. begin
  31288. pTDefRegMap(@Self)^.&set := $00000004;
  31289. end;
  31290. procedure TUART4_U4STA.clearFERR; inline;
  31291. begin
  31292. pTDefRegMap(@Self)^.clr := $00000004;
  31293. end;
  31294. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  31295. begin
  31296. if thebits = 0 then
  31297. pTDefRegMap(@Self)^.clr := $00000004
  31298. else
  31299. pTDefRegMap(@Self)^.&set := $00000004;
  31300. end;
  31301. function TUART4_U4STA.getFERR : TBits_1; inline;
  31302. begin
  31303. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31304. end;
  31305. procedure TUART4_U4STA.setPERR; inline;
  31306. begin
  31307. pTDefRegMap(@Self)^.&set := $00000008;
  31308. end;
  31309. procedure TUART4_U4STA.clearPERR; inline;
  31310. begin
  31311. pTDefRegMap(@Self)^.clr := $00000008;
  31312. end;
  31313. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  31314. begin
  31315. if thebits = 0 then
  31316. pTDefRegMap(@Self)^.clr := $00000008
  31317. else
  31318. pTDefRegMap(@Self)^.&set := $00000008;
  31319. end;
  31320. function TUART4_U4STA.getPERR : TBits_1; inline;
  31321. begin
  31322. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31323. end;
  31324. procedure TUART4_U4STA.setRIDLE; inline;
  31325. begin
  31326. pTDefRegMap(@Self)^.&set := $00000010;
  31327. end;
  31328. procedure TUART4_U4STA.clearRIDLE; inline;
  31329. begin
  31330. pTDefRegMap(@Self)^.clr := $00000010;
  31331. end;
  31332. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  31333. begin
  31334. if thebits = 0 then
  31335. pTDefRegMap(@Self)^.clr := $00000010
  31336. else
  31337. pTDefRegMap(@Self)^.&set := $00000010;
  31338. end;
  31339. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  31340. begin
  31341. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31342. end;
  31343. procedure TUART4_U4STA.setADDEN; inline;
  31344. begin
  31345. pTDefRegMap(@Self)^.&set := $00000020;
  31346. end;
  31347. procedure TUART4_U4STA.clearADDEN; inline;
  31348. begin
  31349. pTDefRegMap(@Self)^.clr := $00000020;
  31350. end;
  31351. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  31352. begin
  31353. if thebits = 0 then
  31354. pTDefRegMap(@Self)^.clr := $00000020
  31355. else
  31356. pTDefRegMap(@Self)^.&set := $00000020;
  31357. end;
  31358. function TUART4_U4STA.getADDEN : TBits_1; inline;
  31359. begin
  31360. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31361. end;
  31362. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  31363. begin
  31364. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31365. end;
  31366. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  31367. begin
  31368. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31369. end;
  31370. procedure TUART4_U4STA.setTRMT; inline;
  31371. begin
  31372. pTDefRegMap(@Self)^.&set := $00000100;
  31373. end;
  31374. procedure TUART4_U4STA.clearTRMT; inline;
  31375. begin
  31376. pTDefRegMap(@Self)^.clr := $00000100;
  31377. end;
  31378. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  31379. begin
  31380. if thebits = 0 then
  31381. pTDefRegMap(@Self)^.clr := $00000100
  31382. else
  31383. pTDefRegMap(@Self)^.&set := $00000100;
  31384. end;
  31385. function TUART4_U4STA.getTRMT : TBits_1; inline;
  31386. begin
  31387. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31388. end;
  31389. procedure TUART4_U4STA.setUTXBF; inline;
  31390. begin
  31391. pTDefRegMap(@Self)^.&set := $00000200;
  31392. end;
  31393. procedure TUART4_U4STA.clearUTXBF; inline;
  31394. begin
  31395. pTDefRegMap(@Self)^.clr := $00000200;
  31396. end;
  31397. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  31398. begin
  31399. if thebits = 0 then
  31400. pTDefRegMap(@Self)^.clr := $00000200
  31401. else
  31402. pTDefRegMap(@Self)^.&set := $00000200;
  31403. end;
  31404. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  31405. begin
  31406. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31407. end;
  31408. procedure TUART4_U4STA.setUTXEN; inline;
  31409. begin
  31410. pTDefRegMap(@Self)^.&set := $00000400;
  31411. end;
  31412. procedure TUART4_U4STA.clearUTXEN; inline;
  31413. begin
  31414. pTDefRegMap(@Self)^.clr := $00000400;
  31415. end;
  31416. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  31417. begin
  31418. if thebits = 0 then
  31419. pTDefRegMap(@Self)^.clr := $00000400
  31420. else
  31421. pTDefRegMap(@Self)^.&set := $00000400;
  31422. end;
  31423. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  31424. begin
  31425. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31426. end;
  31427. procedure TUART4_U4STA.setUTXBRK; inline;
  31428. begin
  31429. pTDefRegMap(@Self)^.&set := $00000800;
  31430. end;
  31431. procedure TUART4_U4STA.clearUTXBRK; inline;
  31432. begin
  31433. pTDefRegMap(@Self)^.clr := $00000800;
  31434. end;
  31435. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  31436. begin
  31437. if thebits = 0 then
  31438. pTDefRegMap(@Self)^.clr := $00000800
  31439. else
  31440. pTDefRegMap(@Self)^.&set := $00000800;
  31441. end;
  31442. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  31443. begin
  31444. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31445. end;
  31446. procedure TUART4_U4STA.setURXEN; inline;
  31447. begin
  31448. pTDefRegMap(@Self)^.&set := $00001000;
  31449. end;
  31450. procedure TUART4_U4STA.clearURXEN; inline;
  31451. begin
  31452. pTDefRegMap(@Self)^.clr := $00001000;
  31453. end;
  31454. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  31455. begin
  31456. if thebits = 0 then
  31457. pTDefRegMap(@Self)^.clr := $00001000
  31458. else
  31459. pTDefRegMap(@Self)^.&set := $00001000;
  31460. end;
  31461. function TUART4_U4STA.getURXEN : TBits_1; inline;
  31462. begin
  31463. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31464. end;
  31465. procedure TUART4_U4STA.setUTXINV; inline;
  31466. begin
  31467. pTDefRegMap(@Self)^.&set := $00002000;
  31468. end;
  31469. procedure TUART4_U4STA.clearUTXINV; inline;
  31470. begin
  31471. pTDefRegMap(@Self)^.clr := $00002000;
  31472. end;
  31473. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  31474. begin
  31475. if thebits = 0 then
  31476. pTDefRegMap(@Self)^.clr := $00002000
  31477. else
  31478. pTDefRegMap(@Self)^.&set := $00002000;
  31479. end;
  31480. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  31481. begin
  31482. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31483. end;
  31484. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  31485. begin
  31486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31487. end;
  31488. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  31489. begin
  31490. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31491. end;
  31492. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  31493. begin
  31494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31495. end;
  31496. function TUART4_U4STA.getADDR : TBits_8; inline;
  31497. begin
  31498. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31499. end;
  31500. procedure TUART4_U4STA.setADM_EN; inline;
  31501. begin
  31502. pTDefRegMap(@Self)^.&set := $01000000;
  31503. end;
  31504. procedure TUART4_U4STA.clearADM_EN; inline;
  31505. begin
  31506. pTDefRegMap(@Self)^.clr := $01000000;
  31507. end;
  31508. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  31509. begin
  31510. if thebits = 0 then
  31511. pTDefRegMap(@Self)^.clr := $01000000
  31512. else
  31513. pTDefRegMap(@Self)^.&set := $01000000;
  31514. end;
  31515. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  31516. begin
  31517. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31518. end;
  31519. procedure TUART4_U4STA.setURXISEL0; inline;
  31520. begin
  31521. pTDefRegMap(@Self)^.&set := $00000040;
  31522. end;
  31523. procedure TUART4_U4STA.clearURXISEL0; inline;
  31524. begin
  31525. pTDefRegMap(@Self)^.clr := $00000040;
  31526. end;
  31527. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  31528. begin
  31529. if thebits = 0 then
  31530. pTDefRegMap(@Self)^.clr := $00000040
  31531. else
  31532. pTDefRegMap(@Self)^.&set := $00000040;
  31533. end;
  31534. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  31535. begin
  31536. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31537. end;
  31538. procedure TUART4_U4STA.setURXISEL1; inline;
  31539. begin
  31540. pTDefRegMap(@Self)^.&set := $00000080;
  31541. end;
  31542. procedure TUART4_U4STA.clearURXISEL1; inline;
  31543. begin
  31544. pTDefRegMap(@Self)^.clr := $00000080;
  31545. end;
  31546. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  31547. begin
  31548. if thebits = 0 then
  31549. pTDefRegMap(@Self)^.clr := $00000080
  31550. else
  31551. pTDefRegMap(@Self)^.&set := $00000080;
  31552. end;
  31553. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  31554. begin
  31555. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31556. end;
  31557. procedure TUART4_U4STA.setUTXISEL0; inline;
  31558. begin
  31559. pTDefRegMap(@Self)^.&set := $00004000;
  31560. end;
  31561. procedure TUART4_U4STA.clearUTXISEL0; inline;
  31562. begin
  31563. pTDefRegMap(@Self)^.clr := $00004000;
  31564. end;
  31565. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  31566. begin
  31567. if thebits = 0 then
  31568. pTDefRegMap(@Self)^.clr := $00004000
  31569. else
  31570. pTDefRegMap(@Self)^.&set := $00004000;
  31571. end;
  31572. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  31573. begin
  31574. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31575. end;
  31576. procedure TUART4_U4STA.setUTXISEL1; inline;
  31577. begin
  31578. pTDefRegMap(@Self)^.&set := $00008000;
  31579. end;
  31580. procedure TUART4_U4STA.clearUTXISEL1; inline;
  31581. begin
  31582. pTDefRegMap(@Self)^.clr := $00008000;
  31583. end;
  31584. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  31585. begin
  31586. if thebits = 0 then
  31587. pTDefRegMap(@Self)^.clr := $00008000
  31588. else
  31589. pTDefRegMap(@Self)^.&set := $00008000;
  31590. end;
  31591. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  31592. begin
  31593. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31594. end;
  31595. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  31596. begin
  31597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31598. end;
  31599. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  31600. begin
  31601. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31602. end;
  31603. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  31604. begin
  31605. pTDefRegMap(@Self)^.val := thebits;
  31606. end;
  31607. function TUART4_U4STA.getw : TBits_32; inline;
  31608. begin
  31609. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31610. end;
  31611. procedure TUART3_U2AMODE.setSTSEL; inline;
  31612. begin
  31613. pTDefRegMap(@Self)^.&set := $00000001;
  31614. end;
  31615. procedure TUART3_U2AMODE.clearSTSEL; inline;
  31616. begin
  31617. pTDefRegMap(@Self)^.clr := $00000001;
  31618. end;
  31619. procedure TUART3_U2AMODE.setSTSEL(thebits : TBits_1); inline;
  31620. begin
  31621. if thebits = 0 then
  31622. pTDefRegMap(@Self)^.clr := $00000001
  31623. else
  31624. pTDefRegMap(@Self)^.&set := $00000001;
  31625. end;
  31626. function TUART3_U2AMODE.getSTSEL : TBits_1; inline;
  31627. begin
  31628. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31629. end;
  31630. procedure TUART3_U2AMODE.setPDSEL(thebits : TBits_2); inline;
  31631. begin
  31632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31633. end;
  31634. function TUART3_U2AMODE.getPDSEL : TBits_2; inline;
  31635. begin
  31636. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31637. end;
  31638. procedure TUART3_U2AMODE.setBRGH; inline;
  31639. begin
  31640. pTDefRegMap(@Self)^.&set := $00000008;
  31641. end;
  31642. procedure TUART3_U2AMODE.clearBRGH; inline;
  31643. begin
  31644. pTDefRegMap(@Self)^.clr := $00000008;
  31645. end;
  31646. procedure TUART3_U2AMODE.setBRGH(thebits : TBits_1); inline;
  31647. begin
  31648. if thebits = 0 then
  31649. pTDefRegMap(@Self)^.clr := $00000008
  31650. else
  31651. pTDefRegMap(@Self)^.&set := $00000008;
  31652. end;
  31653. function TUART3_U2AMODE.getBRGH : TBits_1; inline;
  31654. begin
  31655. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31656. end;
  31657. procedure TUART3_U2AMODE.setRXINV; inline;
  31658. begin
  31659. pTDefRegMap(@Self)^.&set := $00000010;
  31660. end;
  31661. procedure TUART3_U2AMODE.clearRXINV; inline;
  31662. begin
  31663. pTDefRegMap(@Self)^.clr := $00000010;
  31664. end;
  31665. procedure TUART3_U2AMODE.setRXINV(thebits : TBits_1); inline;
  31666. begin
  31667. if thebits = 0 then
  31668. pTDefRegMap(@Self)^.clr := $00000010
  31669. else
  31670. pTDefRegMap(@Self)^.&set := $00000010;
  31671. end;
  31672. function TUART3_U2AMODE.getRXINV : TBits_1; inline;
  31673. begin
  31674. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31675. end;
  31676. procedure TUART3_U2AMODE.setABAUD; inline;
  31677. begin
  31678. pTDefRegMap(@Self)^.&set := $00000020;
  31679. end;
  31680. procedure TUART3_U2AMODE.clearABAUD; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.clr := $00000020;
  31683. end;
  31684. procedure TUART3_U2AMODE.setABAUD(thebits : TBits_1); inline;
  31685. begin
  31686. if thebits = 0 then
  31687. pTDefRegMap(@Self)^.clr := $00000020
  31688. else
  31689. pTDefRegMap(@Self)^.&set := $00000020;
  31690. end;
  31691. function TUART3_U2AMODE.getABAUD : TBits_1; inline;
  31692. begin
  31693. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31694. end;
  31695. procedure TUART3_U2AMODE.setLPBACK; inline;
  31696. begin
  31697. pTDefRegMap(@Self)^.&set := $00000040;
  31698. end;
  31699. procedure TUART3_U2AMODE.clearLPBACK; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.clr := $00000040;
  31702. end;
  31703. procedure TUART3_U2AMODE.setLPBACK(thebits : TBits_1); inline;
  31704. begin
  31705. if thebits = 0 then
  31706. pTDefRegMap(@Self)^.clr := $00000040
  31707. else
  31708. pTDefRegMap(@Self)^.&set := $00000040;
  31709. end;
  31710. function TUART3_U2AMODE.getLPBACK : TBits_1; inline;
  31711. begin
  31712. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31713. end;
  31714. procedure TUART3_U2AMODE.setWAKE; inline;
  31715. begin
  31716. pTDefRegMap(@Self)^.&set := $00000080;
  31717. end;
  31718. procedure TUART3_U2AMODE.clearWAKE; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.clr := $00000080;
  31721. end;
  31722. procedure TUART3_U2AMODE.setWAKE(thebits : TBits_1); inline;
  31723. begin
  31724. if thebits = 0 then
  31725. pTDefRegMap(@Self)^.clr := $00000080
  31726. else
  31727. pTDefRegMap(@Self)^.&set := $00000080;
  31728. end;
  31729. function TUART3_U2AMODE.getWAKE : TBits_1; inline;
  31730. begin
  31731. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31732. end;
  31733. procedure TUART3_U2AMODE.setUEN(thebits : TBits_2); inline;
  31734. begin
  31735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  31736. end;
  31737. function TUART3_U2AMODE.getUEN : TBits_2; inline;
  31738. begin
  31739. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  31740. end;
  31741. procedure TUART3_U2AMODE.setRTSMD; inline;
  31742. begin
  31743. pTDefRegMap(@Self)^.&set := $00000800;
  31744. end;
  31745. procedure TUART3_U2AMODE.clearRTSMD; inline;
  31746. begin
  31747. pTDefRegMap(@Self)^.clr := $00000800;
  31748. end;
  31749. procedure TUART3_U2AMODE.setRTSMD(thebits : TBits_1); inline;
  31750. begin
  31751. if thebits = 0 then
  31752. pTDefRegMap(@Self)^.clr := $00000800
  31753. else
  31754. pTDefRegMap(@Self)^.&set := $00000800;
  31755. end;
  31756. function TUART3_U2AMODE.getRTSMD : TBits_1; inline;
  31757. begin
  31758. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31759. end;
  31760. procedure TUART3_U2AMODE.setIREN; inline;
  31761. begin
  31762. pTDefRegMap(@Self)^.&set := $00001000;
  31763. end;
  31764. procedure TUART3_U2AMODE.clearIREN; inline;
  31765. begin
  31766. pTDefRegMap(@Self)^.clr := $00001000;
  31767. end;
  31768. procedure TUART3_U2AMODE.setIREN(thebits : TBits_1); inline;
  31769. begin
  31770. if thebits = 0 then
  31771. pTDefRegMap(@Self)^.clr := $00001000
  31772. else
  31773. pTDefRegMap(@Self)^.&set := $00001000;
  31774. end;
  31775. function TUART3_U2AMODE.getIREN : TBits_1; inline;
  31776. begin
  31777. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31778. end;
  31779. procedure TUART3_U2AMODE.setSIDL; inline;
  31780. begin
  31781. pTDefRegMap(@Self)^.&set := $00002000;
  31782. end;
  31783. procedure TUART3_U2AMODE.clearSIDL; inline;
  31784. begin
  31785. pTDefRegMap(@Self)^.clr := $00002000;
  31786. end;
  31787. procedure TUART3_U2AMODE.setSIDL(thebits : TBits_1); inline;
  31788. begin
  31789. if thebits = 0 then
  31790. pTDefRegMap(@Self)^.clr := $00002000
  31791. else
  31792. pTDefRegMap(@Self)^.&set := $00002000;
  31793. end;
  31794. function TUART3_U2AMODE.getSIDL : TBits_1; inline;
  31795. begin
  31796. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31797. end;
  31798. procedure TUART3_U2AMODE.setON; inline;
  31799. begin
  31800. pTDefRegMap(@Self)^.&set := $00008000;
  31801. end;
  31802. procedure TUART3_U2AMODE.clearON; inline;
  31803. begin
  31804. pTDefRegMap(@Self)^.clr := $00008000;
  31805. end;
  31806. procedure TUART3_U2AMODE.setON(thebits : TBits_1); inline;
  31807. begin
  31808. if thebits = 0 then
  31809. pTDefRegMap(@Self)^.clr := $00008000
  31810. else
  31811. pTDefRegMap(@Self)^.&set := $00008000;
  31812. end;
  31813. function TUART3_U2AMODE.getON : TBits_1; inline;
  31814. begin
  31815. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31816. end;
  31817. procedure TUART3_U2AMODE.setPDSEL0; inline;
  31818. begin
  31819. pTDefRegMap(@Self)^.&set := $00000002;
  31820. end;
  31821. procedure TUART3_U2AMODE.clearPDSEL0; inline;
  31822. begin
  31823. pTDefRegMap(@Self)^.clr := $00000002;
  31824. end;
  31825. procedure TUART3_U2AMODE.setPDSEL0(thebits : TBits_1); inline;
  31826. begin
  31827. if thebits = 0 then
  31828. pTDefRegMap(@Self)^.clr := $00000002
  31829. else
  31830. pTDefRegMap(@Self)^.&set := $00000002;
  31831. end;
  31832. function TUART3_U2AMODE.getPDSEL0 : TBits_1; inline;
  31833. begin
  31834. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31835. end;
  31836. procedure TUART3_U2AMODE.setPDSEL1; inline;
  31837. begin
  31838. pTDefRegMap(@Self)^.&set := $00000004;
  31839. end;
  31840. procedure TUART3_U2AMODE.clearPDSEL1; inline;
  31841. begin
  31842. pTDefRegMap(@Self)^.clr := $00000004;
  31843. end;
  31844. procedure TUART3_U2AMODE.setPDSEL1(thebits : TBits_1); inline;
  31845. begin
  31846. if thebits = 0 then
  31847. pTDefRegMap(@Self)^.clr := $00000004
  31848. else
  31849. pTDefRegMap(@Self)^.&set := $00000004;
  31850. end;
  31851. function TUART3_U2AMODE.getPDSEL1 : TBits_1; inline;
  31852. begin
  31853. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31854. end;
  31855. procedure TUART3_U2AMODE.setUEN0; inline;
  31856. begin
  31857. pTDefRegMap(@Self)^.&set := $00000100;
  31858. end;
  31859. procedure TUART3_U2AMODE.clearUEN0; inline;
  31860. begin
  31861. pTDefRegMap(@Self)^.clr := $00000100;
  31862. end;
  31863. procedure TUART3_U2AMODE.setUEN0(thebits : TBits_1); inline;
  31864. begin
  31865. if thebits = 0 then
  31866. pTDefRegMap(@Self)^.clr := $00000100
  31867. else
  31868. pTDefRegMap(@Self)^.&set := $00000100;
  31869. end;
  31870. function TUART3_U2AMODE.getUEN0 : TBits_1; inline;
  31871. begin
  31872. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31873. end;
  31874. procedure TUART3_U2AMODE.setUEN1; inline;
  31875. begin
  31876. pTDefRegMap(@Self)^.&set := $00000200;
  31877. end;
  31878. procedure TUART3_U2AMODE.clearUEN1; inline;
  31879. begin
  31880. pTDefRegMap(@Self)^.clr := $00000200;
  31881. end;
  31882. procedure TUART3_U2AMODE.setUEN1(thebits : TBits_1); inline;
  31883. begin
  31884. if thebits = 0 then
  31885. pTDefRegMap(@Self)^.clr := $00000200
  31886. else
  31887. pTDefRegMap(@Self)^.&set := $00000200;
  31888. end;
  31889. function TUART3_U2AMODE.getUEN1 : TBits_1; inline;
  31890. begin
  31891. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31892. end;
  31893. procedure TUART3_U2AMODE.setUSIDL; inline;
  31894. begin
  31895. pTDefRegMap(@Self)^.&set := $00002000;
  31896. end;
  31897. procedure TUART3_U2AMODE.clearUSIDL; inline;
  31898. begin
  31899. pTDefRegMap(@Self)^.clr := $00002000;
  31900. end;
  31901. procedure TUART3_U2AMODE.setUSIDL(thebits : TBits_1); inline;
  31902. begin
  31903. if thebits = 0 then
  31904. pTDefRegMap(@Self)^.clr := $00002000
  31905. else
  31906. pTDefRegMap(@Self)^.&set := $00002000;
  31907. end;
  31908. function TUART3_U2AMODE.getUSIDL : TBits_1; inline;
  31909. begin
  31910. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31911. end;
  31912. procedure TUART3_U2AMODE.setUARTEN; inline;
  31913. begin
  31914. pTDefRegMap(@Self)^.&set := $00008000;
  31915. end;
  31916. procedure TUART3_U2AMODE.clearUARTEN; inline;
  31917. begin
  31918. pTDefRegMap(@Self)^.clr := $00008000;
  31919. end;
  31920. procedure TUART3_U2AMODE.setUARTEN(thebits : TBits_1); inline;
  31921. begin
  31922. if thebits = 0 then
  31923. pTDefRegMap(@Self)^.clr := $00008000
  31924. else
  31925. pTDefRegMap(@Self)^.&set := $00008000;
  31926. end;
  31927. function TUART3_U2AMODE.getUARTEN : TBits_1; inline;
  31928. begin
  31929. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31930. end;
  31931. procedure TUART3_U2AMODE.setw(thebits : TBits_32); inline;
  31932. begin
  31933. pTDefRegMap(@Self)^.val := thebits;
  31934. end;
  31935. function TUART3_U2AMODE.getw : TBits_32; inline;
  31936. begin
  31937. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31938. end;
  31939. procedure TUART3_U3MODE.setSTSEL; inline;
  31940. begin
  31941. pTDefRegMap(@Self)^.&set := $00000001;
  31942. end;
  31943. procedure TUART3_U3MODE.clearSTSEL; inline;
  31944. begin
  31945. pTDefRegMap(@Self)^.clr := $00000001;
  31946. end;
  31947. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  31948. begin
  31949. if thebits = 0 then
  31950. pTDefRegMap(@Self)^.clr := $00000001
  31951. else
  31952. pTDefRegMap(@Self)^.&set := $00000001;
  31953. end;
  31954. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  31955. begin
  31956. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31957. end;
  31958. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  31959. begin
  31960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31961. end;
  31962. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  31963. begin
  31964. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31965. end;
  31966. procedure TUART3_U3MODE.setBRGH; inline;
  31967. begin
  31968. pTDefRegMap(@Self)^.&set := $00000008;
  31969. end;
  31970. procedure TUART3_U3MODE.clearBRGH; inline;
  31971. begin
  31972. pTDefRegMap(@Self)^.clr := $00000008;
  31973. end;
  31974. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  31975. begin
  31976. if thebits = 0 then
  31977. pTDefRegMap(@Self)^.clr := $00000008
  31978. else
  31979. pTDefRegMap(@Self)^.&set := $00000008;
  31980. end;
  31981. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  31982. begin
  31983. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31984. end;
  31985. procedure TUART3_U3MODE.setRXINV; inline;
  31986. begin
  31987. pTDefRegMap(@Self)^.&set := $00000010;
  31988. end;
  31989. procedure TUART3_U3MODE.clearRXINV; inline;
  31990. begin
  31991. pTDefRegMap(@Self)^.clr := $00000010;
  31992. end;
  31993. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  31994. begin
  31995. if thebits = 0 then
  31996. pTDefRegMap(@Self)^.clr := $00000010
  31997. else
  31998. pTDefRegMap(@Self)^.&set := $00000010;
  31999. end;
  32000. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  32001. begin
  32002. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32003. end;
  32004. procedure TUART3_U3MODE.setABAUD; inline;
  32005. begin
  32006. pTDefRegMap(@Self)^.&set := $00000020;
  32007. end;
  32008. procedure TUART3_U3MODE.clearABAUD; inline;
  32009. begin
  32010. pTDefRegMap(@Self)^.clr := $00000020;
  32011. end;
  32012. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  32013. begin
  32014. if thebits = 0 then
  32015. pTDefRegMap(@Self)^.clr := $00000020
  32016. else
  32017. pTDefRegMap(@Self)^.&set := $00000020;
  32018. end;
  32019. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  32020. begin
  32021. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32022. end;
  32023. procedure TUART3_U3MODE.setLPBACK; inline;
  32024. begin
  32025. pTDefRegMap(@Self)^.&set := $00000040;
  32026. end;
  32027. procedure TUART3_U3MODE.clearLPBACK; inline;
  32028. begin
  32029. pTDefRegMap(@Self)^.clr := $00000040;
  32030. end;
  32031. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  32032. begin
  32033. if thebits = 0 then
  32034. pTDefRegMap(@Self)^.clr := $00000040
  32035. else
  32036. pTDefRegMap(@Self)^.&set := $00000040;
  32037. end;
  32038. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  32039. begin
  32040. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32041. end;
  32042. procedure TUART3_U3MODE.setWAKE; inline;
  32043. begin
  32044. pTDefRegMap(@Self)^.&set := $00000080;
  32045. end;
  32046. procedure TUART3_U3MODE.clearWAKE; inline;
  32047. begin
  32048. pTDefRegMap(@Self)^.clr := $00000080;
  32049. end;
  32050. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  32051. begin
  32052. if thebits = 0 then
  32053. pTDefRegMap(@Self)^.clr := $00000080
  32054. else
  32055. pTDefRegMap(@Self)^.&set := $00000080;
  32056. end;
  32057. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  32058. begin
  32059. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32060. end;
  32061. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  32062. begin
  32063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32064. end;
  32065. function TUART3_U3MODE.getUEN : TBits_2; inline;
  32066. begin
  32067. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32068. end;
  32069. procedure TUART3_U3MODE.setRTSMD; inline;
  32070. begin
  32071. pTDefRegMap(@Self)^.&set := $00000800;
  32072. end;
  32073. procedure TUART3_U3MODE.clearRTSMD; inline;
  32074. begin
  32075. pTDefRegMap(@Self)^.clr := $00000800;
  32076. end;
  32077. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  32078. begin
  32079. if thebits = 0 then
  32080. pTDefRegMap(@Self)^.clr := $00000800
  32081. else
  32082. pTDefRegMap(@Self)^.&set := $00000800;
  32083. end;
  32084. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  32085. begin
  32086. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32087. end;
  32088. procedure TUART3_U3MODE.setIREN; inline;
  32089. begin
  32090. pTDefRegMap(@Self)^.&set := $00001000;
  32091. end;
  32092. procedure TUART3_U3MODE.clearIREN; inline;
  32093. begin
  32094. pTDefRegMap(@Self)^.clr := $00001000;
  32095. end;
  32096. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  32097. begin
  32098. if thebits = 0 then
  32099. pTDefRegMap(@Self)^.clr := $00001000
  32100. else
  32101. pTDefRegMap(@Self)^.&set := $00001000;
  32102. end;
  32103. function TUART3_U3MODE.getIREN : TBits_1; inline;
  32104. begin
  32105. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32106. end;
  32107. procedure TUART3_U3MODE.setSIDL; inline;
  32108. begin
  32109. pTDefRegMap(@Self)^.&set := $00002000;
  32110. end;
  32111. procedure TUART3_U3MODE.clearSIDL; inline;
  32112. begin
  32113. pTDefRegMap(@Self)^.clr := $00002000;
  32114. end;
  32115. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  32116. begin
  32117. if thebits = 0 then
  32118. pTDefRegMap(@Self)^.clr := $00002000
  32119. else
  32120. pTDefRegMap(@Self)^.&set := $00002000;
  32121. end;
  32122. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  32123. begin
  32124. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32125. end;
  32126. procedure TUART3_U3MODE.setON; inline;
  32127. begin
  32128. pTDefRegMap(@Self)^.&set := $00008000;
  32129. end;
  32130. procedure TUART3_U3MODE.clearON; inline;
  32131. begin
  32132. pTDefRegMap(@Self)^.clr := $00008000;
  32133. end;
  32134. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  32135. begin
  32136. if thebits = 0 then
  32137. pTDefRegMap(@Self)^.clr := $00008000
  32138. else
  32139. pTDefRegMap(@Self)^.&set := $00008000;
  32140. end;
  32141. function TUART3_U3MODE.getON : TBits_1; inline;
  32142. begin
  32143. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32144. end;
  32145. procedure TUART3_U3MODE.setPDSEL0; inline;
  32146. begin
  32147. pTDefRegMap(@Self)^.&set := $00000002;
  32148. end;
  32149. procedure TUART3_U3MODE.clearPDSEL0; inline;
  32150. begin
  32151. pTDefRegMap(@Self)^.clr := $00000002;
  32152. end;
  32153. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  32154. begin
  32155. if thebits = 0 then
  32156. pTDefRegMap(@Self)^.clr := $00000002
  32157. else
  32158. pTDefRegMap(@Self)^.&set := $00000002;
  32159. end;
  32160. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  32161. begin
  32162. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32163. end;
  32164. procedure TUART3_U3MODE.setPDSEL1; inline;
  32165. begin
  32166. pTDefRegMap(@Self)^.&set := $00000004;
  32167. end;
  32168. procedure TUART3_U3MODE.clearPDSEL1; inline;
  32169. begin
  32170. pTDefRegMap(@Self)^.clr := $00000004;
  32171. end;
  32172. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  32173. begin
  32174. if thebits = 0 then
  32175. pTDefRegMap(@Self)^.clr := $00000004
  32176. else
  32177. pTDefRegMap(@Self)^.&set := $00000004;
  32178. end;
  32179. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  32180. begin
  32181. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32182. end;
  32183. procedure TUART3_U3MODE.setUEN0; inline;
  32184. begin
  32185. pTDefRegMap(@Self)^.&set := $00000100;
  32186. end;
  32187. procedure TUART3_U3MODE.clearUEN0; inline;
  32188. begin
  32189. pTDefRegMap(@Self)^.clr := $00000100;
  32190. end;
  32191. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  32192. begin
  32193. if thebits = 0 then
  32194. pTDefRegMap(@Self)^.clr := $00000100
  32195. else
  32196. pTDefRegMap(@Self)^.&set := $00000100;
  32197. end;
  32198. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  32199. begin
  32200. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32201. end;
  32202. procedure TUART3_U3MODE.setUEN1; inline;
  32203. begin
  32204. pTDefRegMap(@Self)^.&set := $00000200;
  32205. end;
  32206. procedure TUART3_U3MODE.clearUEN1; inline;
  32207. begin
  32208. pTDefRegMap(@Self)^.clr := $00000200;
  32209. end;
  32210. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  32211. begin
  32212. if thebits = 0 then
  32213. pTDefRegMap(@Self)^.clr := $00000200
  32214. else
  32215. pTDefRegMap(@Self)^.&set := $00000200;
  32216. end;
  32217. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  32218. begin
  32219. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32220. end;
  32221. procedure TUART3_U3MODE.setUSIDL; inline;
  32222. begin
  32223. pTDefRegMap(@Self)^.&set := $00002000;
  32224. end;
  32225. procedure TUART3_U3MODE.clearUSIDL; inline;
  32226. begin
  32227. pTDefRegMap(@Self)^.clr := $00002000;
  32228. end;
  32229. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  32230. begin
  32231. if thebits = 0 then
  32232. pTDefRegMap(@Self)^.clr := $00002000
  32233. else
  32234. pTDefRegMap(@Self)^.&set := $00002000;
  32235. end;
  32236. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  32237. begin
  32238. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32239. end;
  32240. procedure TUART3_U3MODE.setUARTEN; inline;
  32241. begin
  32242. pTDefRegMap(@Self)^.&set := $00008000;
  32243. end;
  32244. procedure TUART3_U3MODE.clearUARTEN; inline;
  32245. begin
  32246. pTDefRegMap(@Self)^.clr := $00008000;
  32247. end;
  32248. procedure TUART3_U3MODE.setUARTEN(thebits : TBits_1); inline;
  32249. begin
  32250. if thebits = 0 then
  32251. pTDefRegMap(@Self)^.clr := $00008000
  32252. else
  32253. pTDefRegMap(@Self)^.&set := $00008000;
  32254. end;
  32255. function TUART3_U3MODE.getUARTEN : TBits_1; inline;
  32256. begin
  32257. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32258. end;
  32259. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.val := thebits;
  32262. end;
  32263. function TUART3_U3MODE.getw : TBits_32; inline;
  32264. begin
  32265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32266. end;
  32267. procedure TUART3_U2ASTA.setURXDA; inline;
  32268. begin
  32269. pTDefRegMap(@Self)^.&set := $00000001;
  32270. end;
  32271. procedure TUART3_U2ASTA.clearURXDA; inline;
  32272. begin
  32273. pTDefRegMap(@Self)^.clr := $00000001;
  32274. end;
  32275. procedure TUART3_U2ASTA.setURXDA(thebits : TBits_1); inline;
  32276. begin
  32277. if thebits = 0 then
  32278. pTDefRegMap(@Self)^.clr := $00000001
  32279. else
  32280. pTDefRegMap(@Self)^.&set := $00000001;
  32281. end;
  32282. function TUART3_U2ASTA.getURXDA : TBits_1; inline;
  32283. begin
  32284. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32285. end;
  32286. procedure TUART3_U2ASTA.setOERR; inline;
  32287. begin
  32288. pTDefRegMap(@Self)^.&set := $00000002;
  32289. end;
  32290. procedure TUART3_U2ASTA.clearOERR; inline;
  32291. begin
  32292. pTDefRegMap(@Self)^.clr := $00000002;
  32293. end;
  32294. procedure TUART3_U2ASTA.setOERR(thebits : TBits_1); inline;
  32295. begin
  32296. if thebits = 0 then
  32297. pTDefRegMap(@Self)^.clr := $00000002
  32298. else
  32299. pTDefRegMap(@Self)^.&set := $00000002;
  32300. end;
  32301. function TUART3_U2ASTA.getOERR : TBits_1; inline;
  32302. begin
  32303. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32304. end;
  32305. procedure TUART3_U2ASTA.setFERR; inline;
  32306. begin
  32307. pTDefRegMap(@Self)^.&set := $00000004;
  32308. end;
  32309. procedure TUART3_U2ASTA.clearFERR; inline;
  32310. begin
  32311. pTDefRegMap(@Self)^.clr := $00000004;
  32312. end;
  32313. procedure TUART3_U2ASTA.setFERR(thebits : TBits_1); inline;
  32314. begin
  32315. if thebits = 0 then
  32316. pTDefRegMap(@Self)^.clr := $00000004
  32317. else
  32318. pTDefRegMap(@Self)^.&set := $00000004;
  32319. end;
  32320. function TUART3_U2ASTA.getFERR : TBits_1; inline;
  32321. begin
  32322. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32323. end;
  32324. procedure TUART3_U2ASTA.setPERR; inline;
  32325. begin
  32326. pTDefRegMap(@Self)^.&set := $00000008;
  32327. end;
  32328. procedure TUART3_U2ASTA.clearPERR; inline;
  32329. begin
  32330. pTDefRegMap(@Self)^.clr := $00000008;
  32331. end;
  32332. procedure TUART3_U2ASTA.setPERR(thebits : TBits_1); inline;
  32333. begin
  32334. if thebits = 0 then
  32335. pTDefRegMap(@Self)^.clr := $00000008
  32336. else
  32337. pTDefRegMap(@Self)^.&set := $00000008;
  32338. end;
  32339. function TUART3_U2ASTA.getPERR : TBits_1; inline;
  32340. begin
  32341. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32342. end;
  32343. procedure TUART3_U2ASTA.setRIDLE; inline;
  32344. begin
  32345. pTDefRegMap(@Self)^.&set := $00000010;
  32346. end;
  32347. procedure TUART3_U2ASTA.clearRIDLE; inline;
  32348. begin
  32349. pTDefRegMap(@Self)^.clr := $00000010;
  32350. end;
  32351. procedure TUART3_U2ASTA.setRIDLE(thebits : TBits_1); inline;
  32352. begin
  32353. if thebits = 0 then
  32354. pTDefRegMap(@Self)^.clr := $00000010
  32355. else
  32356. pTDefRegMap(@Self)^.&set := $00000010;
  32357. end;
  32358. function TUART3_U2ASTA.getRIDLE : TBits_1; inline;
  32359. begin
  32360. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32361. end;
  32362. procedure TUART3_U2ASTA.setADDEN; inline;
  32363. begin
  32364. pTDefRegMap(@Self)^.&set := $00000020;
  32365. end;
  32366. procedure TUART3_U2ASTA.clearADDEN; inline;
  32367. begin
  32368. pTDefRegMap(@Self)^.clr := $00000020;
  32369. end;
  32370. procedure TUART3_U2ASTA.setADDEN(thebits : TBits_1); inline;
  32371. begin
  32372. if thebits = 0 then
  32373. pTDefRegMap(@Self)^.clr := $00000020
  32374. else
  32375. pTDefRegMap(@Self)^.&set := $00000020;
  32376. end;
  32377. function TUART3_U2ASTA.getADDEN : TBits_1; inline;
  32378. begin
  32379. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32380. end;
  32381. procedure TUART3_U2ASTA.setURXISEL(thebits : TBits_2); inline;
  32382. begin
  32383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32384. end;
  32385. function TUART3_U2ASTA.getURXISEL : TBits_2; inline;
  32386. begin
  32387. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32388. end;
  32389. procedure TUART3_U2ASTA.setTRMT; inline;
  32390. begin
  32391. pTDefRegMap(@Self)^.&set := $00000100;
  32392. end;
  32393. procedure TUART3_U2ASTA.clearTRMT; inline;
  32394. begin
  32395. pTDefRegMap(@Self)^.clr := $00000100;
  32396. end;
  32397. procedure TUART3_U2ASTA.setTRMT(thebits : TBits_1); inline;
  32398. begin
  32399. if thebits = 0 then
  32400. pTDefRegMap(@Self)^.clr := $00000100
  32401. else
  32402. pTDefRegMap(@Self)^.&set := $00000100;
  32403. end;
  32404. function TUART3_U2ASTA.getTRMT : TBits_1; inline;
  32405. begin
  32406. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32407. end;
  32408. procedure TUART3_U2ASTA.setUTXBF; inline;
  32409. begin
  32410. pTDefRegMap(@Self)^.&set := $00000200;
  32411. end;
  32412. procedure TUART3_U2ASTA.clearUTXBF; inline;
  32413. begin
  32414. pTDefRegMap(@Self)^.clr := $00000200;
  32415. end;
  32416. procedure TUART3_U2ASTA.setUTXBF(thebits : TBits_1); inline;
  32417. begin
  32418. if thebits = 0 then
  32419. pTDefRegMap(@Self)^.clr := $00000200
  32420. else
  32421. pTDefRegMap(@Self)^.&set := $00000200;
  32422. end;
  32423. function TUART3_U2ASTA.getUTXBF : TBits_1; inline;
  32424. begin
  32425. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32426. end;
  32427. procedure TUART3_U2ASTA.setUTXEN; inline;
  32428. begin
  32429. pTDefRegMap(@Self)^.&set := $00000400;
  32430. end;
  32431. procedure TUART3_U2ASTA.clearUTXEN; inline;
  32432. begin
  32433. pTDefRegMap(@Self)^.clr := $00000400;
  32434. end;
  32435. procedure TUART3_U2ASTA.setUTXEN(thebits : TBits_1); inline;
  32436. begin
  32437. if thebits = 0 then
  32438. pTDefRegMap(@Self)^.clr := $00000400
  32439. else
  32440. pTDefRegMap(@Self)^.&set := $00000400;
  32441. end;
  32442. function TUART3_U2ASTA.getUTXEN : TBits_1; inline;
  32443. begin
  32444. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32445. end;
  32446. procedure TUART3_U2ASTA.setUTXBRK; inline;
  32447. begin
  32448. pTDefRegMap(@Self)^.&set := $00000800;
  32449. end;
  32450. procedure TUART3_U2ASTA.clearUTXBRK; inline;
  32451. begin
  32452. pTDefRegMap(@Self)^.clr := $00000800;
  32453. end;
  32454. procedure TUART3_U2ASTA.setUTXBRK(thebits : TBits_1); inline;
  32455. begin
  32456. if thebits = 0 then
  32457. pTDefRegMap(@Self)^.clr := $00000800
  32458. else
  32459. pTDefRegMap(@Self)^.&set := $00000800;
  32460. end;
  32461. function TUART3_U2ASTA.getUTXBRK : TBits_1; inline;
  32462. begin
  32463. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32464. end;
  32465. procedure TUART3_U2ASTA.setURXEN; inline;
  32466. begin
  32467. pTDefRegMap(@Self)^.&set := $00001000;
  32468. end;
  32469. procedure TUART3_U2ASTA.clearURXEN; inline;
  32470. begin
  32471. pTDefRegMap(@Self)^.clr := $00001000;
  32472. end;
  32473. procedure TUART3_U2ASTA.setURXEN(thebits : TBits_1); inline;
  32474. begin
  32475. if thebits = 0 then
  32476. pTDefRegMap(@Self)^.clr := $00001000
  32477. else
  32478. pTDefRegMap(@Self)^.&set := $00001000;
  32479. end;
  32480. function TUART3_U2ASTA.getURXEN : TBits_1; inline;
  32481. begin
  32482. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32483. end;
  32484. procedure TUART3_U2ASTA.setUTXINV; inline;
  32485. begin
  32486. pTDefRegMap(@Self)^.&set := $00002000;
  32487. end;
  32488. procedure TUART3_U2ASTA.clearUTXINV; inline;
  32489. begin
  32490. pTDefRegMap(@Self)^.clr := $00002000;
  32491. end;
  32492. procedure TUART3_U2ASTA.setUTXINV(thebits : TBits_1); inline;
  32493. begin
  32494. if thebits = 0 then
  32495. pTDefRegMap(@Self)^.clr := $00002000
  32496. else
  32497. pTDefRegMap(@Self)^.&set := $00002000;
  32498. end;
  32499. function TUART3_U2ASTA.getUTXINV : TBits_1; inline;
  32500. begin
  32501. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32502. end;
  32503. procedure TUART3_U2ASTA.setUTXISEL(thebits : TBits_2); inline;
  32504. begin
  32505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32506. end;
  32507. function TUART3_U2ASTA.getUTXISEL : TBits_2; inline;
  32508. begin
  32509. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32510. end;
  32511. procedure TUART3_U2ASTA.setADDR(thebits : TBits_8); inline;
  32512. begin
  32513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32514. end;
  32515. function TUART3_U2ASTA.getADDR : TBits_8; inline;
  32516. begin
  32517. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32518. end;
  32519. procedure TUART3_U2ASTA.setADM_EN; inline;
  32520. begin
  32521. pTDefRegMap(@Self)^.&set := $01000000;
  32522. end;
  32523. procedure TUART3_U2ASTA.clearADM_EN; inline;
  32524. begin
  32525. pTDefRegMap(@Self)^.clr := $01000000;
  32526. end;
  32527. procedure TUART3_U2ASTA.setADM_EN(thebits : TBits_1); inline;
  32528. begin
  32529. if thebits = 0 then
  32530. pTDefRegMap(@Self)^.clr := $01000000
  32531. else
  32532. pTDefRegMap(@Self)^.&set := $01000000;
  32533. end;
  32534. function TUART3_U2ASTA.getADM_EN : TBits_1; inline;
  32535. begin
  32536. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32537. end;
  32538. procedure TUART3_U2ASTA.setURXISEL0; inline;
  32539. begin
  32540. pTDefRegMap(@Self)^.&set := $00000040;
  32541. end;
  32542. procedure TUART3_U2ASTA.clearURXISEL0; inline;
  32543. begin
  32544. pTDefRegMap(@Self)^.clr := $00000040;
  32545. end;
  32546. procedure TUART3_U2ASTA.setURXISEL0(thebits : TBits_1); inline;
  32547. begin
  32548. if thebits = 0 then
  32549. pTDefRegMap(@Self)^.clr := $00000040
  32550. else
  32551. pTDefRegMap(@Self)^.&set := $00000040;
  32552. end;
  32553. function TUART3_U2ASTA.getURXISEL0 : TBits_1; inline;
  32554. begin
  32555. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32556. end;
  32557. procedure TUART3_U2ASTA.setURXISEL1; inline;
  32558. begin
  32559. pTDefRegMap(@Self)^.&set := $00000080;
  32560. end;
  32561. procedure TUART3_U2ASTA.clearURXISEL1; inline;
  32562. begin
  32563. pTDefRegMap(@Self)^.clr := $00000080;
  32564. end;
  32565. procedure TUART3_U2ASTA.setURXISEL1(thebits : TBits_1); inline;
  32566. begin
  32567. if thebits = 0 then
  32568. pTDefRegMap(@Self)^.clr := $00000080
  32569. else
  32570. pTDefRegMap(@Self)^.&set := $00000080;
  32571. end;
  32572. function TUART3_U2ASTA.getURXISEL1 : TBits_1; inline;
  32573. begin
  32574. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32575. end;
  32576. procedure TUART3_U2ASTA.setUTXISEL0; inline;
  32577. begin
  32578. pTDefRegMap(@Self)^.&set := $00004000;
  32579. end;
  32580. procedure TUART3_U2ASTA.clearUTXISEL0; inline;
  32581. begin
  32582. pTDefRegMap(@Self)^.clr := $00004000;
  32583. end;
  32584. procedure TUART3_U2ASTA.setUTXISEL0(thebits : TBits_1); inline;
  32585. begin
  32586. if thebits = 0 then
  32587. pTDefRegMap(@Self)^.clr := $00004000
  32588. else
  32589. pTDefRegMap(@Self)^.&set := $00004000;
  32590. end;
  32591. function TUART3_U2ASTA.getUTXISEL0 : TBits_1; inline;
  32592. begin
  32593. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32594. end;
  32595. procedure TUART3_U2ASTA.setUTXISEL1; inline;
  32596. begin
  32597. pTDefRegMap(@Self)^.&set := $00008000;
  32598. end;
  32599. procedure TUART3_U2ASTA.clearUTXISEL1; inline;
  32600. begin
  32601. pTDefRegMap(@Self)^.clr := $00008000;
  32602. end;
  32603. procedure TUART3_U2ASTA.setUTXISEL1(thebits : TBits_1); inline;
  32604. begin
  32605. if thebits = 0 then
  32606. pTDefRegMap(@Self)^.clr := $00008000
  32607. else
  32608. pTDefRegMap(@Self)^.&set := $00008000;
  32609. end;
  32610. function TUART3_U2ASTA.getUTXISEL1 : TBits_1; inline;
  32611. begin
  32612. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32613. end;
  32614. procedure TUART3_U2ASTA.setUTXSEL(thebits : TBits_2); inline;
  32615. begin
  32616. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32617. end;
  32618. function TUART3_U2ASTA.getUTXSEL : TBits_2; inline;
  32619. begin
  32620. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32621. end;
  32622. procedure TUART3_U2ASTA.setw(thebits : TBits_32); inline;
  32623. begin
  32624. pTDefRegMap(@Self)^.val := thebits;
  32625. end;
  32626. function TUART3_U2ASTA.getw : TBits_32; inline;
  32627. begin
  32628. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32629. end;
  32630. procedure TUART3_U3STA.setURXDA; inline;
  32631. begin
  32632. pTDefRegMap(@Self)^.&set := $00000001;
  32633. end;
  32634. procedure TUART3_U3STA.clearURXDA; inline;
  32635. begin
  32636. pTDefRegMap(@Self)^.clr := $00000001;
  32637. end;
  32638. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  32639. begin
  32640. if thebits = 0 then
  32641. pTDefRegMap(@Self)^.clr := $00000001
  32642. else
  32643. pTDefRegMap(@Self)^.&set := $00000001;
  32644. end;
  32645. function TUART3_U3STA.getURXDA : TBits_1; inline;
  32646. begin
  32647. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32648. end;
  32649. procedure TUART3_U3STA.setOERR; inline;
  32650. begin
  32651. pTDefRegMap(@Self)^.&set := $00000002;
  32652. end;
  32653. procedure TUART3_U3STA.clearOERR; inline;
  32654. begin
  32655. pTDefRegMap(@Self)^.clr := $00000002;
  32656. end;
  32657. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  32658. begin
  32659. if thebits = 0 then
  32660. pTDefRegMap(@Self)^.clr := $00000002
  32661. else
  32662. pTDefRegMap(@Self)^.&set := $00000002;
  32663. end;
  32664. function TUART3_U3STA.getOERR : TBits_1; inline;
  32665. begin
  32666. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32667. end;
  32668. procedure TUART3_U3STA.setFERR; inline;
  32669. begin
  32670. pTDefRegMap(@Self)^.&set := $00000004;
  32671. end;
  32672. procedure TUART3_U3STA.clearFERR; inline;
  32673. begin
  32674. pTDefRegMap(@Self)^.clr := $00000004;
  32675. end;
  32676. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  32677. begin
  32678. if thebits = 0 then
  32679. pTDefRegMap(@Self)^.clr := $00000004
  32680. else
  32681. pTDefRegMap(@Self)^.&set := $00000004;
  32682. end;
  32683. function TUART3_U3STA.getFERR : TBits_1; inline;
  32684. begin
  32685. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32686. end;
  32687. procedure TUART3_U3STA.setPERR; inline;
  32688. begin
  32689. pTDefRegMap(@Self)^.&set := $00000008;
  32690. end;
  32691. procedure TUART3_U3STA.clearPERR; inline;
  32692. begin
  32693. pTDefRegMap(@Self)^.clr := $00000008;
  32694. end;
  32695. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  32696. begin
  32697. if thebits = 0 then
  32698. pTDefRegMap(@Self)^.clr := $00000008
  32699. else
  32700. pTDefRegMap(@Self)^.&set := $00000008;
  32701. end;
  32702. function TUART3_U3STA.getPERR : TBits_1; inline;
  32703. begin
  32704. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32705. end;
  32706. procedure TUART3_U3STA.setRIDLE; inline;
  32707. begin
  32708. pTDefRegMap(@Self)^.&set := $00000010;
  32709. end;
  32710. procedure TUART3_U3STA.clearRIDLE; inline;
  32711. begin
  32712. pTDefRegMap(@Self)^.clr := $00000010;
  32713. end;
  32714. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  32715. begin
  32716. if thebits = 0 then
  32717. pTDefRegMap(@Self)^.clr := $00000010
  32718. else
  32719. pTDefRegMap(@Self)^.&set := $00000010;
  32720. end;
  32721. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  32722. begin
  32723. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32724. end;
  32725. procedure TUART3_U3STA.setADDEN; inline;
  32726. begin
  32727. pTDefRegMap(@Self)^.&set := $00000020;
  32728. end;
  32729. procedure TUART3_U3STA.clearADDEN; inline;
  32730. begin
  32731. pTDefRegMap(@Self)^.clr := $00000020;
  32732. end;
  32733. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  32734. begin
  32735. if thebits = 0 then
  32736. pTDefRegMap(@Self)^.clr := $00000020
  32737. else
  32738. pTDefRegMap(@Self)^.&set := $00000020;
  32739. end;
  32740. function TUART3_U3STA.getADDEN : TBits_1; inline;
  32741. begin
  32742. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32743. end;
  32744. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  32745. begin
  32746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32747. end;
  32748. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  32749. begin
  32750. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32751. end;
  32752. procedure TUART3_U3STA.setTRMT; inline;
  32753. begin
  32754. pTDefRegMap(@Self)^.&set := $00000100;
  32755. end;
  32756. procedure TUART3_U3STA.clearTRMT; inline;
  32757. begin
  32758. pTDefRegMap(@Self)^.clr := $00000100;
  32759. end;
  32760. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  32761. begin
  32762. if thebits = 0 then
  32763. pTDefRegMap(@Self)^.clr := $00000100
  32764. else
  32765. pTDefRegMap(@Self)^.&set := $00000100;
  32766. end;
  32767. function TUART3_U3STA.getTRMT : TBits_1; inline;
  32768. begin
  32769. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32770. end;
  32771. procedure TUART3_U3STA.setUTXBF; inline;
  32772. begin
  32773. pTDefRegMap(@Self)^.&set := $00000200;
  32774. end;
  32775. procedure TUART3_U3STA.clearUTXBF; inline;
  32776. begin
  32777. pTDefRegMap(@Self)^.clr := $00000200;
  32778. end;
  32779. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  32780. begin
  32781. if thebits = 0 then
  32782. pTDefRegMap(@Self)^.clr := $00000200
  32783. else
  32784. pTDefRegMap(@Self)^.&set := $00000200;
  32785. end;
  32786. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  32787. begin
  32788. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32789. end;
  32790. procedure TUART3_U3STA.setUTXEN; inline;
  32791. begin
  32792. pTDefRegMap(@Self)^.&set := $00000400;
  32793. end;
  32794. procedure TUART3_U3STA.clearUTXEN; inline;
  32795. begin
  32796. pTDefRegMap(@Self)^.clr := $00000400;
  32797. end;
  32798. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  32799. begin
  32800. if thebits = 0 then
  32801. pTDefRegMap(@Self)^.clr := $00000400
  32802. else
  32803. pTDefRegMap(@Self)^.&set := $00000400;
  32804. end;
  32805. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  32806. begin
  32807. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32808. end;
  32809. procedure TUART3_U3STA.setUTXBRK; inline;
  32810. begin
  32811. pTDefRegMap(@Self)^.&set := $00000800;
  32812. end;
  32813. procedure TUART3_U3STA.clearUTXBRK; inline;
  32814. begin
  32815. pTDefRegMap(@Self)^.clr := $00000800;
  32816. end;
  32817. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  32818. begin
  32819. if thebits = 0 then
  32820. pTDefRegMap(@Self)^.clr := $00000800
  32821. else
  32822. pTDefRegMap(@Self)^.&set := $00000800;
  32823. end;
  32824. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  32825. begin
  32826. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32827. end;
  32828. procedure TUART3_U3STA.setURXEN; inline;
  32829. begin
  32830. pTDefRegMap(@Self)^.&set := $00001000;
  32831. end;
  32832. procedure TUART3_U3STA.clearURXEN; inline;
  32833. begin
  32834. pTDefRegMap(@Self)^.clr := $00001000;
  32835. end;
  32836. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  32837. begin
  32838. if thebits = 0 then
  32839. pTDefRegMap(@Self)^.clr := $00001000
  32840. else
  32841. pTDefRegMap(@Self)^.&set := $00001000;
  32842. end;
  32843. function TUART3_U3STA.getURXEN : TBits_1; inline;
  32844. begin
  32845. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32846. end;
  32847. procedure TUART3_U3STA.setUTXINV; inline;
  32848. begin
  32849. pTDefRegMap(@Self)^.&set := $00002000;
  32850. end;
  32851. procedure TUART3_U3STA.clearUTXINV; inline;
  32852. begin
  32853. pTDefRegMap(@Self)^.clr := $00002000;
  32854. end;
  32855. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  32856. begin
  32857. if thebits = 0 then
  32858. pTDefRegMap(@Self)^.clr := $00002000
  32859. else
  32860. pTDefRegMap(@Self)^.&set := $00002000;
  32861. end;
  32862. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  32863. begin
  32864. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32865. end;
  32866. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  32867. begin
  32868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32869. end;
  32870. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  32871. begin
  32872. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32873. end;
  32874. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  32875. begin
  32876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32877. end;
  32878. function TUART3_U3STA.getADDR : TBits_8; inline;
  32879. begin
  32880. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32881. end;
  32882. procedure TUART3_U3STA.setADM_EN; inline;
  32883. begin
  32884. pTDefRegMap(@Self)^.&set := $01000000;
  32885. end;
  32886. procedure TUART3_U3STA.clearADM_EN; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.clr := $01000000;
  32889. end;
  32890. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  32891. begin
  32892. if thebits = 0 then
  32893. pTDefRegMap(@Self)^.clr := $01000000
  32894. else
  32895. pTDefRegMap(@Self)^.&set := $01000000;
  32896. end;
  32897. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  32898. begin
  32899. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32900. end;
  32901. procedure TUART3_U3STA.setURXISEL0; inline;
  32902. begin
  32903. pTDefRegMap(@Self)^.&set := $00000040;
  32904. end;
  32905. procedure TUART3_U3STA.clearURXISEL0; inline;
  32906. begin
  32907. pTDefRegMap(@Self)^.clr := $00000040;
  32908. end;
  32909. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  32910. begin
  32911. if thebits = 0 then
  32912. pTDefRegMap(@Self)^.clr := $00000040
  32913. else
  32914. pTDefRegMap(@Self)^.&set := $00000040;
  32915. end;
  32916. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  32917. begin
  32918. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32919. end;
  32920. procedure TUART3_U3STA.setURXISEL1; inline;
  32921. begin
  32922. pTDefRegMap(@Self)^.&set := $00000080;
  32923. end;
  32924. procedure TUART3_U3STA.clearURXISEL1; inline;
  32925. begin
  32926. pTDefRegMap(@Self)^.clr := $00000080;
  32927. end;
  32928. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  32929. begin
  32930. if thebits = 0 then
  32931. pTDefRegMap(@Self)^.clr := $00000080
  32932. else
  32933. pTDefRegMap(@Self)^.&set := $00000080;
  32934. end;
  32935. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  32936. begin
  32937. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32938. end;
  32939. procedure TUART3_U3STA.setUTXISEL0; inline;
  32940. begin
  32941. pTDefRegMap(@Self)^.&set := $00004000;
  32942. end;
  32943. procedure TUART3_U3STA.clearUTXISEL0; inline;
  32944. begin
  32945. pTDefRegMap(@Self)^.clr := $00004000;
  32946. end;
  32947. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  32948. begin
  32949. if thebits = 0 then
  32950. pTDefRegMap(@Self)^.clr := $00004000
  32951. else
  32952. pTDefRegMap(@Self)^.&set := $00004000;
  32953. end;
  32954. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  32955. begin
  32956. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32957. end;
  32958. procedure TUART3_U3STA.setUTXISEL1; inline;
  32959. begin
  32960. pTDefRegMap(@Self)^.&set := $00008000;
  32961. end;
  32962. procedure TUART3_U3STA.clearUTXISEL1; inline;
  32963. begin
  32964. pTDefRegMap(@Self)^.clr := $00008000;
  32965. end;
  32966. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  32967. begin
  32968. if thebits = 0 then
  32969. pTDefRegMap(@Self)^.clr := $00008000
  32970. else
  32971. pTDefRegMap(@Self)^.&set := $00008000;
  32972. end;
  32973. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  32974. begin
  32975. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32976. end;
  32977. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  32978. begin
  32979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32980. end;
  32981. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  32982. begin
  32983. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32984. end;
  32985. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  32986. begin
  32987. pTDefRegMap(@Self)^.val := thebits;
  32988. end;
  32989. function TUART3_U3STA.getw : TBits_32; inline;
  32990. begin
  32991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32992. end;
  32993. procedure TUART6_U2BMODE.setSTSEL; inline;
  32994. begin
  32995. pTDefRegMap(@Self)^.&set := $00000001;
  32996. end;
  32997. procedure TUART6_U2BMODE.clearSTSEL; inline;
  32998. begin
  32999. pTDefRegMap(@Self)^.clr := $00000001;
  33000. end;
  33001. procedure TUART6_U2BMODE.setSTSEL(thebits : TBits_1); inline;
  33002. begin
  33003. if thebits = 0 then
  33004. pTDefRegMap(@Self)^.clr := $00000001
  33005. else
  33006. pTDefRegMap(@Self)^.&set := $00000001;
  33007. end;
  33008. function TUART6_U2BMODE.getSTSEL : TBits_1; inline;
  33009. begin
  33010. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33011. end;
  33012. procedure TUART6_U2BMODE.setPDSEL(thebits : TBits_2); inline;
  33013. begin
  33014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33015. end;
  33016. function TUART6_U2BMODE.getPDSEL : TBits_2; inline;
  33017. begin
  33018. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33019. end;
  33020. procedure TUART6_U2BMODE.setBRGH; inline;
  33021. begin
  33022. pTDefRegMap(@Self)^.&set := $00000008;
  33023. end;
  33024. procedure TUART6_U2BMODE.clearBRGH; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.clr := $00000008;
  33027. end;
  33028. procedure TUART6_U2BMODE.setBRGH(thebits : TBits_1); inline;
  33029. begin
  33030. if thebits = 0 then
  33031. pTDefRegMap(@Self)^.clr := $00000008
  33032. else
  33033. pTDefRegMap(@Self)^.&set := $00000008;
  33034. end;
  33035. function TUART6_U2BMODE.getBRGH : TBits_1; inline;
  33036. begin
  33037. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33038. end;
  33039. procedure TUART6_U2BMODE.setRXINV; inline;
  33040. begin
  33041. pTDefRegMap(@Self)^.&set := $00000010;
  33042. end;
  33043. procedure TUART6_U2BMODE.clearRXINV; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.clr := $00000010;
  33046. end;
  33047. procedure TUART6_U2BMODE.setRXINV(thebits : TBits_1); inline;
  33048. begin
  33049. if thebits = 0 then
  33050. pTDefRegMap(@Self)^.clr := $00000010
  33051. else
  33052. pTDefRegMap(@Self)^.&set := $00000010;
  33053. end;
  33054. function TUART6_U2BMODE.getRXINV : TBits_1; inline;
  33055. begin
  33056. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33057. end;
  33058. procedure TUART6_U2BMODE.setABAUD; inline;
  33059. begin
  33060. pTDefRegMap(@Self)^.&set := $00000020;
  33061. end;
  33062. procedure TUART6_U2BMODE.clearABAUD; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.clr := $00000020;
  33065. end;
  33066. procedure TUART6_U2BMODE.setABAUD(thebits : TBits_1); inline;
  33067. begin
  33068. if thebits = 0 then
  33069. pTDefRegMap(@Self)^.clr := $00000020
  33070. else
  33071. pTDefRegMap(@Self)^.&set := $00000020;
  33072. end;
  33073. function TUART6_U2BMODE.getABAUD : TBits_1; inline;
  33074. begin
  33075. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33076. end;
  33077. procedure TUART6_U2BMODE.setLPBACK; inline;
  33078. begin
  33079. pTDefRegMap(@Self)^.&set := $00000040;
  33080. end;
  33081. procedure TUART6_U2BMODE.clearLPBACK; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.clr := $00000040;
  33084. end;
  33085. procedure TUART6_U2BMODE.setLPBACK(thebits : TBits_1); inline;
  33086. begin
  33087. if thebits = 0 then
  33088. pTDefRegMap(@Self)^.clr := $00000040
  33089. else
  33090. pTDefRegMap(@Self)^.&set := $00000040;
  33091. end;
  33092. function TUART6_U2BMODE.getLPBACK : TBits_1; inline;
  33093. begin
  33094. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33095. end;
  33096. procedure TUART6_U2BMODE.setWAKE; inline;
  33097. begin
  33098. pTDefRegMap(@Self)^.&set := $00000080;
  33099. end;
  33100. procedure TUART6_U2BMODE.clearWAKE; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.clr := $00000080;
  33103. end;
  33104. procedure TUART6_U2BMODE.setWAKE(thebits : TBits_1); inline;
  33105. begin
  33106. if thebits = 0 then
  33107. pTDefRegMap(@Self)^.clr := $00000080
  33108. else
  33109. pTDefRegMap(@Self)^.&set := $00000080;
  33110. end;
  33111. function TUART6_U2BMODE.getWAKE : TBits_1; inline;
  33112. begin
  33113. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33114. end;
  33115. procedure TUART6_U2BMODE.setIREN; inline;
  33116. begin
  33117. pTDefRegMap(@Self)^.&set := $00001000;
  33118. end;
  33119. procedure TUART6_U2BMODE.clearIREN; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.clr := $00001000;
  33122. end;
  33123. procedure TUART6_U2BMODE.setIREN(thebits : TBits_1); inline;
  33124. begin
  33125. if thebits = 0 then
  33126. pTDefRegMap(@Self)^.clr := $00001000
  33127. else
  33128. pTDefRegMap(@Self)^.&set := $00001000;
  33129. end;
  33130. function TUART6_U2BMODE.getIREN : TBits_1; inline;
  33131. begin
  33132. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33133. end;
  33134. procedure TUART6_U2BMODE.setSIDL; inline;
  33135. begin
  33136. pTDefRegMap(@Self)^.&set := $00002000;
  33137. end;
  33138. procedure TUART6_U2BMODE.clearSIDL; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.clr := $00002000;
  33141. end;
  33142. procedure TUART6_U2BMODE.setSIDL(thebits : TBits_1); inline;
  33143. begin
  33144. if thebits = 0 then
  33145. pTDefRegMap(@Self)^.clr := $00002000
  33146. else
  33147. pTDefRegMap(@Self)^.&set := $00002000;
  33148. end;
  33149. function TUART6_U2BMODE.getSIDL : TBits_1; inline;
  33150. begin
  33151. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33152. end;
  33153. procedure TUART6_U2BMODE.setON; inline;
  33154. begin
  33155. pTDefRegMap(@Self)^.&set := $00008000;
  33156. end;
  33157. procedure TUART6_U2BMODE.clearON; inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.clr := $00008000;
  33160. end;
  33161. procedure TUART6_U2BMODE.setON(thebits : TBits_1); inline;
  33162. begin
  33163. if thebits = 0 then
  33164. pTDefRegMap(@Self)^.clr := $00008000
  33165. else
  33166. pTDefRegMap(@Self)^.&set := $00008000;
  33167. end;
  33168. function TUART6_U2BMODE.getON : TBits_1; inline;
  33169. begin
  33170. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33171. end;
  33172. procedure TUART6_U2BMODE.setPDSEL0; inline;
  33173. begin
  33174. pTDefRegMap(@Self)^.&set := $00000002;
  33175. end;
  33176. procedure TUART6_U2BMODE.clearPDSEL0; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.clr := $00000002;
  33179. end;
  33180. procedure TUART6_U2BMODE.setPDSEL0(thebits : TBits_1); inline;
  33181. begin
  33182. if thebits = 0 then
  33183. pTDefRegMap(@Self)^.clr := $00000002
  33184. else
  33185. pTDefRegMap(@Self)^.&set := $00000002;
  33186. end;
  33187. function TUART6_U2BMODE.getPDSEL0 : TBits_1; inline;
  33188. begin
  33189. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33190. end;
  33191. procedure TUART6_U2BMODE.setPDSEL1; inline;
  33192. begin
  33193. pTDefRegMap(@Self)^.&set := $00000004;
  33194. end;
  33195. procedure TUART6_U2BMODE.clearPDSEL1; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.clr := $00000004;
  33198. end;
  33199. procedure TUART6_U2BMODE.setPDSEL1(thebits : TBits_1); inline;
  33200. begin
  33201. if thebits = 0 then
  33202. pTDefRegMap(@Self)^.clr := $00000004
  33203. else
  33204. pTDefRegMap(@Self)^.&set := $00000004;
  33205. end;
  33206. function TUART6_U2BMODE.getPDSEL1 : TBits_1; inline;
  33207. begin
  33208. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33209. end;
  33210. procedure TUART6_U2BMODE.setUSIDL; inline;
  33211. begin
  33212. pTDefRegMap(@Self)^.&set := $00002000;
  33213. end;
  33214. procedure TUART6_U2BMODE.clearUSIDL; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.clr := $00002000;
  33217. end;
  33218. procedure TUART6_U2BMODE.setUSIDL(thebits : TBits_1); inline;
  33219. begin
  33220. if thebits = 0 then
  33221. pTDefRegMap(@Self)^.clr := $00002000
  33222. else
  33223. pTDefRegMap(@Self)^.&set := $00002000;
  33224. end;
  33225. function TUART6_U2BMODE.getUSIDL : TBits_1; inline;
  33226. begin
  33227. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33228. end;
  33229. procedure TUART6_U2BMODE.setUARTEN; inline;
  33230. begin
  33231. pTDefRegMap(@Self)^.&set := $00008000;
  33232. end;
  33233. procedure TUART6_U2BMODE.clearUARTEN; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.clr := $00008000;
  33236. end;
  33237. procedure TUART6_U2BMODE.setUARTEN(thebits : TBits_1); inline;
  33238. begin
  33239. if thebits = 0 then
  33240. pTDefRegMap(@Self)^.clr := $00008000
  33241. else
  33242. pTDefRegMap(@Self)^.&set := $00008000;
  33243. end;
  33244. function TUART6_U2BMODE.getUARTEN : TBits_1; inline;
  33245. begin
  33246. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33247. end;
  33248. procedure TUART6_U2BMODE.setw(thebits : TBits_32); inline;
  33249. begin
  33250. pTDefRegMap(@Self)^.val := thebits;
  33251. end;
  33252. function TUART6_U2BMODE.getw : TBits_32; inline;
  33253. begin
  33254. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33255. end;
  33256. procedure TUART6_U6MODE.setSTSEL; inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.&set := $00000001;
  33259. end;
  33260. procedure TUART6_U6MODE.clearSTSEL; inline;
  33261. begin
  33262. pTDefRegMap(@Self)^.clr := $00000001;
  33263. end;
  33264. procedure TUART6_U6MODE.setSTSEL(thebits : TBits_1); inline;
  33265. begin
  33266. if thebits = 0 then
  33267. pTDefRegMap(@Self)^.clr := $00000001
  33268. else
  33269. pTDefRegMap(@Self)^.&set := $00000001;
  33270. end;
  33271. function TUART6_U6MODE.getSTSEL : TBits_1; inline;
  33272. begin
  33273. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33274. end;
  33275. procedure TUART6_U6MODE.setPDSEL(thebits : TBits_2); inline;
  33276. begin
  33277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33278. end;
  33279. function TUART6_U6MODE.getPDSEL : TBits_2; inline;
  33280. begin
  33281. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33282. end;
  33283. procedure TUART6_U6MODE.setBRGH; inline;
  33284. begin
  33285. pTDefRegMap(@Self)^.&set := $00000008;
  33286. end;
  33287. procedure TUART6_U6MODE.clearBRGH; inline;
  33288. begin
  33289. pTDefRegMap(@Self)^.clr := $00000008;
  33290. end;
  33291. procedure TUART6_U6MODE.setBRGH(thebits : TBits_1); inline;
  33292. begin
  33293. if thebits = 0 then
  33294. pTDefRegMap(@Self)^.clr := $00000008
  33295. else
  33296. pTDefRegMap(@Self)^.&set := $00000008;
  33297. end;
  33298. function TUART6_U6MODE.getBRGH : TBits_1; inline;
  33299. begin
  33300. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33301. end;
  33302. procedure TUART6_U6MODE.setRXINV; inline;
  33303. begin
  33304. pTDefRegMap(@Self)^.&set := $00000010;
  33305. end;
  33306. procedure TUART6_U6MODE.clearRXINV; inline;
  33307. begin
  33308. pTDefRegMap(@Self)^.clr := $00000010;
  33309. end;
  33310. procedure TUART6_U6MODE.setRXINV(thebits : TBits_1); inline;
  33311. begin
  33312. if thebits = 0 then
  33313. pTDefRegMap(@Self)^.clr := $00000010
  33314. else
  33315. pTDefRegMap(@Self)^.&set := $00000010;
  33316. end;
  33317. function TUART6_U6MODE.getRXINV : TBits_1; inline;
  33318. begin
  33319. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33320. end;
  33321. procedure TUART6_U6MODE.setABAUD; inline;
  33322. begin
  33323. pTDefRegMap(@Self)^.&set := $00000020;
  33324. end;
  33325. procedure TUART6_U6MODE.clearABAUD; inline;
  33326. begin
  33327. pTDefRegMap(@Self)^.clr := $00000020;
  33328. end;
  33329. procedure TUART6_U6MODE.setABAUD(thebits : TBits_1); inline;
  33330. begin
  33331. if thebits = 0 then
  33332. pTDefRegMap(@Self)^.clr := $00000020
  33333. else
  33334. pTDefRegMap(@Self)^.&set := $00000020;
  33335. end;
  33336. function TUART6_U6MODE.getABAUD : TBits_1; inline;
  33337. begin
  33338. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33339. end;
  33340. procedure TUART6_U6MODE.setLPBACK; inline;
  33341. begin
  33342. pTDefRegMap(@Self)^.&set := $00000040;
  33343. end;
  33344. procedure TUART6_U6MODE.clearLPBACK; inline;
  33345. begin
  33346. pTDefRegMap(@Self)^.clr := $00000040;
  33347. end;
  33348. procedure TUART6_U6MODE.setLPBACK(thebits : TBits_1); inline;
  33349. begin
  33350. if thebits = 0 then
  33351. pTDefRegMap(@Self)^.clr := $00000040
  33352. else
  33353. pTDefRegMap(@Self)^.&set := $00000040;
  33354. end;
  33355. function TUART6_U6MODE.getLPBACK : TBits_1; inline;
  33356. begin
  33357. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33358. end;
  33359. procedure TUART6_U6MODE.setWAKE; inline;
  33360. begin
  33361. pTDefRegMap(@Self)^.&set := $00000080;
  33362. end;
  33363. procedure TUART6_U6MODE.clearWAKE; inline;
  33364. begin
  33365. pTDefRegMap(@Self)^.clr := $00000080;
  33366. end;
  33367. procedure TUART6_U6MODE.setWAKE(thebits : TBits_1); inline;
  33368. begin
  33369. if thebits = 0 then
  33370. pTDefRegMap(@Self)^.clr := $00000080
  33371. else
  33372. pTDefRegMap(@Self)^.&set := $00000080;
  33373. end;
  33374. function TUART6_U6MODE.getWAKE : TBits_1; inline;
  33375. begin
  33376. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33377. end;
  33378. procedure TUART6_U6MODE.setIREN; inline;
  33379. begin
  33380. pTDefRegMap(@Self)^.&set := $00001000;
  33381. end;
  33382. procedure TUART6_U6MODE.clearIREN; inline;
  33383. begin
  33384. pTDefRegMap(@Self)^.clr := $00001000;
  33385. end;
  33386. procedure TUART6_U6MODE.setIREN(thebits : TBits_1); inline;
  33387. begin
  33388. if thebits = 0 then
  33389. pTDefRegMap(@Self)^.clr := $00001000
  33390. else
  33391. pTDefRegMap(@Self)^.&set := $00001000;
  33392. end;
  33393. function TUART6_U6MODE.getIREN : TBits_1; inline;
  33394. begin
  33395. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33396. end;
  33397. procedure TUART6_U6MODE.setSIDL; inline;
  33398. begin
  33399. pTDefRegMap(@Self)^.&set := $00002000;
  33400. end;
  33401. procedure TUART6_U6MODE.clearSIDL; inline;
  33402. begin
  33403. pTDefRegMap(@Self)^.clr := $00002000;
  33404. end;
  33405. procedure TUART6_U6MODE.setSIDL(thebits : TBits_1); inline;
  33406. begin
  33407. if thebits = 0 then
  33408. pTDefRegMap(@Self)^.clr := $00002000
  33409. else
  33410. pTDefRegMap(@Self)^.&set := $00002000;
  33411. end;
  33412. function TUART6_U6MODE.getSIDL : TBits_1; inline;
  33413. begin
  33414. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33415. end;
  33416. procedure TUART6_U6MODE.setON; inline;
  33417. begin
  33418. pTDefRegMap(@Self)^.&set := $00008000;
  33419. end;
  33420. procedure TUART6_U6MODE.clearON; inline;
  33421. begin
  33422. pTDefRegMap(@Self)^.clr := $00008000;
  33423. end;
  33424. procedure TUART6_U6MODE.setON(thebits : TBits_1); inline;
  33425. begin
  33426. if thebits = 0 then
  33427. pTDefRegMap(@Self)^.clr := $00008000
  33428. else
  33429. pTDefRegMap(@Self)^.&set := $00008000;
  33430. end;
  33431. function TUART6_U6MODE.getON : TBits_1; inline;
  33432. begin
  33433. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33434. end;
  33435. procedure TUART6_U6MODE.setPDSEL0; inline;
  33436. begin
  33437. pTDefRegMap(@Self)^.&set := $00000002;
  33438. end;
  33439. procedure TUART6_U6MODE.clearPDSEL0; inline;
  33440. begin
  33441. pTDefRegMap(@Self)^.clr := $00000002;
  33442. end;
  33443. procedure TUART6_U6MODE.setPDSEL0(thebits : TBits_1); inline;
  33444. begin
  33445. if thebits = 0 then
  33446. pTDefRegMap(@Self)^.clr := $00000002
  33447. else
  33448. pTDefRegMap(@Self)^.&set := $00000002;
  33449. end;
  33450. function TUART6_U6MODE.getPDSEL0 : TBits_1; inline;
  33451. begin
  33452. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33453. end;
  33454. procedure TUART6_U6MODE.setPDSEL1; inline;
  33455. begin
  33456. pTDefRegMap(@Self)^.&set := $00000004;
  33457. end;
  33458. procedure TUART6_U6MODE.clearPDSEL1; inline;
  33459. begin
  33460. pTDefRegMap(@Self)^.clr := $00000004;
  33461. end;
  33462. procedure TUART6_U6MODE.setPDSEL1(thebits : TBits_1); inline;
  33463. begin
  33464. if thebits = 0 then
  33465. pTDefRegMap(@Self)^.clr := $00000004
  33466. else
  33467. pTDefRegMap(@Self)^.&set := $00000004;
  33468. end;
  33469. function TUART6_U6MODE.getPDSEL1 : TBits_1; inline;
  33470. begin
  33471. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33472. end;
  33473. procedure TUART6_U6MODE.setUSIDL; inline;
  33474. begin
  33475. pTDefRegMap(@Self)^.&set := $00002000;
  33476. end;
  33477. procedure TUART6_U6MODE.clearUSIDL; inline;
  33478. begin
  33479. pTDefRegMap(@Self)^.clr := $00002000;
  33480. end;
  33481. procedure TUART6_U6MODE.setUSIDL(thebits : TBits_1); inline;
  33482. begin
  33483. if thebits = 0 then
  33484. pTDefRegMap(@Self)^.clr := $00002000
  33485. else
  33486. pTDefRegMap(@Self)^.&set := $00002000;
  33487. end;
  33488. function TUART6_U6MODE.getUSIDL : TBits_1; inline;
  33489. begin
  33490. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33491. end;
  33492. procedure TUART6_U6MODE.setUARTEN; inline;
  33493. begin
  33494. pTDefRegMap(@Self)^.&set := $00008000;
  33495. end;
  33496. procedure TUART6_U6MODE.clearUARTEN; inline;
  33497. begin
  33498. pTDefRegMap(@Self)^.clr := $00008000;
  33499. end;
  33500. procedure TUART6_U6MODE.setUARTEN(thebits : TBits_1); inline;
  33501. begin
  33502. if thebits = 0 then
  33503. pTDefRegMap(@Self)^.clr := $00008000
  33504. else
  33505. pTDefRegMap(@Self)^.&set := $00008000;
  33506. end;
  33507. function TUART6_U6MODE.getUARTEN : TBits_1; inline;
  33508. begin
  33509. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33510. end;
  33511. procedure TUART6_U6MODE.setw(thebits : TBits_32); inline;
  33512. begin
  33513. pTDefRegMap(@Self)^.val := thebits;
  33514. end;
  33515. function TUART6_U6MODE.getw : TBits_32; inline;
  33516. begin
  33517. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33518. end;
  33519. procedure TUART6_U2BSTA.setURXDA; inline;
  33520. begin
  33521. pTDefRegMap(@Self)^.&set := $00000001;
  33522. end;
  33523. procedure TUART6_U2BSTA.clearURXDA; inline;
  33524. begin
  33525. pTDefRegMap(@Self)^.clr := $00000001;
  33526. end;
  33527. procedure TUART6_U2BSTA.setURXDA(thebits : TBits_1); inline;
  33528. begin
  33529. if thebits = 0 then
  33530. pTDefRegMap(@Self)^.clr := $00000001
  33531. else
  33532. pTDefRegMap(@Self)^.&set := $00000001;
  33533. end;
  33534. function TUART6_U2BSTA.getURXDA : TBits_1; inline;
  33535. begin
  33536. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33537. end;
  33538. procedure TUART6_U2BSTA.setOERR; inline;
  33539. begin
  33540. pTDefRegMap(@Self)^.&set := $00000002;
  33541. end;
  33542. procedure TUART6_U2BSTA.clearOERR; inline;
  33543. begin
  33544. pTDefRegMap(@Self)^.clr := $00000002;
  33545. end;
  33546. procedure TUART6_U2BSTA.setOERR(thebits : TBits_1); inline;
  33547. begin
  33548. if thebits = 0 then
  33549. pTDefRegMap(@Self)^.clr := $00000002
  33550. else
  33551. pTDefRegMap(@Self)^.&set := $00000002;
  33552. end;
  33553. function TUART6_U2BSTA.getOERR : TBits_1; inline;
  33554. begin
  33555. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33556. end;
  33557. procedure TUART6_U2BSTA.setFERR; inline;
  33558. begin
  33559. pTDefRegMap(@Self)^.&set := $00000004;
  33560. end;
  33561. procedure TUART6_U2BSTA.clearFERR; inline;
  33562. begin
  33563. pTDefRegMap(@Self)^.clr := $00000004;
  33564. end;
  33565. procedure TUART6_U2BSTA.setFERR(thebits : TBits_1); inline;
  33566. begin
  33567. if thebits = 0 then
  33568. pTDefRegMap(@Self)^.clr := $00000004
  33569. else
  33570. pTDefRegMap(@Self)^.&set := $00000004;
  33571. end;
  33572. function TUART6_U2BSTA.getFERR : TBits_1; inline;
  33573. begin
  33574. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33575. end;
  33576. procedure TUART6_U2BSTA.setPERR; inline;
  33577. begin
  33578. pTDefRegMap(@Self)^.&set := $00000008;
  33579. end;
  33580. procedure TUART6_U2BSTA.clearPERR; inline;
  33581. begin
  33582. pTDefRegMap(@Self)^.clr := $00000008;
  33583. end;
  33584. procedure TUART6_U2BSTA.setPERR(thebits : TBits_1); inline;
  33585. begin
  33586. if thebits = 0 then
  33587. pTDefRegMap(@Self)^.clr := $00000008
  33588. else
  33589. pTDefRegMap(@Self)^.&set := $00000008;
  33590. end;
  33591. function TUART6_U2BSTA.getPERR : TBits_1; inline;
  33592. begin
  33593. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33594. end;
  33595. procedure TUART6_U2BSTA.setRIDLE; inline;
  33596. begin
  33597. pTDefRegMap(@Self)^.&set := $00000010;
  33598. end;
  33599. procedure TUART6_U2BSTA.clearRIDLE; inline;
  33600. begin
  33601. pTDefRegMap(@Self)^.clr := $00000010;
  33602. end;
  33603. procedure TUART6_U2BSTA.setRIDLE(thebits : TBits_1); inline;
  33604. begin
  33605. if thebits = 0 then
  33606. pTDefRegMap(@Self)^.clr := $00000010
  33607. else
  33608. pTDefRegMap(@Self)^.&set := $00000010;
  33609. end;
  33610. function TUART6_U2BSTA.getRIDLE : TBits_1; inline;
  33611. begin
  33612. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33613. end;
  33614. procedure TUART6_U2BSTA.setADDEN; inline;
  33615. begin
  33616. pTDefRegMap(@Self)^.&set := $00000020;
  33617. end;
  33618. procedure TUART6_U2BSTA.clearADDEN; inline;
  33619. begin
  33620. pTDefRegMap(@Self)^.clr := $00000020;
  33621. end;
  33622. procedure TUART6_U2BSTA.setADDEN(thebits : TBits_1); inline;
  33623. begin
  33624. if thebits = 0 then
  33625. pTDefRegMap(@Self)^.clr := $00000020
  33626. else
  33627. pTDefRegMap(@Self)^.&set := $00000020;
  33628. end;
  33629. function TUART6_U2BSTA.getADDEN : TBits_1; inline;
  33630. begin
  33631. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33632. end;
  33633. procedure TUART6_U2BSTA.setURXISEL(thebits : TBits_2); inline;
  33634. begin
  33635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33636. end;
  33637. function TUART6_U2BSTA.getURXISEL : TBits_2; inline;
  33638. begin
  33639. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33640. end;
  33641. procedure TUART6_U2BSTA.setTRMT; inline;
  33642. begin
  33643. pTDefRegMap(@Self)^.&set := $00000100;
  33644. end;
  33645. procedure TUART6_U2BSTA.clearTRMT; inline;
  33646. begin
  33647. pTDefRegMap(@Self)^.clr := $00000100;
  33648. end;
  33649. procedure TUART6_U2BSTA.setTRMT(thebits : TBits_1); inline;
  33650. begin
  33651. if thebits = 0 then
  33652. pTDefRegMap(@Self)^.clr := $00000100
  33653. else
  33654. pTDefRegMap(@Self)^.&set := $00000100;
  33655. end;
  33656. function TUART6_U2BSTA.getTRMT : TBits_1; inline;
  33657. begin
  33658. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33659. end;
  33660. procedure TUART6_U2BSTA.setUTXBF; inline;
  33661. begin
  33662. pTDefRegMap(@Self)^.&set := $00000200;
  33663. end;
  33664. procedure TUART6_U2BSTA.clearUTXBF; inline;
  33665. begin
  33666. pTDefRegMap(@Self)^.clr := $00000200;
  33667. end;
  33668. procedure TUART6_U2BSTA.setUTXBF(thebits : TBits_1); inline;
  33669. begin
  33670. if thebits = 0 then
  33671. pTDefRegMap(@Self)^.clr := $00000200
  33672. else
  33673. pTDefRegMap(@Self)^.&set := $00000200;
  33674. end;
  33675. function TUART6_U2BSTA.getUTXBF : TBits_1; inline;
  33676. begin
  33677. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33678. end;
  33679. procedure TUART6_U2BSTA.setUTXEN; inline;
  33680. begin
  33681. pTDefRegMap(@Self)^.&set := $00000400;
  33682. end;
  33683. procedure TUART6_U2BSTA.clearUTXEN; inline;
  33684. begin
  33685. pTDefRegMap(@Self)^.clr := $00000400;
  33686. end;
  33687. procedure TUART6_U2BSTA.setUTXEN(thebits : TBits_1); inline;
  33688. begin
  33689. if thebits = 0 then
  33690. pTDefRegMap(@Self)^.clr := $00000400
  33691. else
  33692. pTDefRegMap(@Self)^.&set := $00000400;
  33693. end;
  33694. function TUART6_U2BSTA.getUTXEN : TBits_1; inline;
  33695. begin
  33696. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33697. end;
  33698. procedure TUART6_U2BSTA.setUTXBRK; inline;
  33699. begin
  33700. pTDefRegMap(@Self)^.&set := $00000800;
  33701. end;
  33702. procedure TUART6_U2BSTA.clearUTXBRK; inline;
  33703. begin
  33704. pTDefRegMap(@Self)^.clr := $00000800;
  33705. end;
  33706. procedure TUART6_U2BSTA.setUTXBRK(thebits : TBits_1); inline;
  33707. begin
  33708. if thebits = 0 then
  33709. pTDefRegMap(@Self)^.clr := $00000800
  33710. else
  33711. pTDefRegMap(@Self)^.&set := $00000800;
  33712. end;
  33713. function TUART6_U2BSTA.getUTXBRK : TBits_1; inline;
  33714. begin
  33715. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33716. end;
  33717. procedure TUART6_U2BSTA.setURXEN; inline;
  33718. begin
  33719. pTDefRegMap(@Self)^.&set := $00001000;
  33720. end;
  33721. procedure TUART6_U2BSTA.clearURXEN; inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.clr := $00001000;
  33724. end;
  33725. procedure TUART6_U2BSTA.setURXEN(thebits : TBits_1); inline;
  33726. begin
  33727. if thebits = 0 then
  33728. pTDefRegMap(@Self)^.clr := $00001000
  33729. else
  33730. pTDefRegMap(@Self)^.&set := $00001000;
  33731. end;
  33732. function TUART6_U2BSTA.getURXEN : TBits_1; inline;
  33733. begin
  33734. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33735. end;
  33736. procedure TUART6_U2BSTA.setUTXINV; inline;
  33737. begin
  33738. pTDefRegMap(@Self)^.&set := $00002000;
  33739. end;
  33740. procedure TUART6_U2BSTA.clearUTXINV; inline;
  33741. begin
  33742. pTDefRegMap(@Self)^.clr := $00002000;
  33743. end;
  33744. procedure TUART6_U2BSTA.setUTXINV(thebits : TBits_1); inline;
  33745. begin
  33746. if thebits = 0 then
  33747. pTDefRegMap(@Self)^.clr := $00002000
  33748. else
  33749. pTDefRegMap(@Self)^.&set := $00002000;
  33750. end;
  33751. function TUART6_U2BSTA.getUTXINV : TBits_1; inline;
  33752. begin
  33753. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33754. end;
  33755. procedure TUART6_U2BSTA.setUTXISEL(thebits : TBits_2); inline;
  33756. begin
  33757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33758. end;
  33759. function TUART6_U2BSTA.getUTXISEL : TBits_2; inline;
  33760. begin
  33761. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33762. end;
  33763. procedure TUART6_U2BSTA.setADDR(thebits : TBits_8); inline;
  33764. begin
  33765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33766. end;
  33767. function TUART6_U2BSTA.getADDR : TBits_8; inline;
  33768. begin
  33769. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33770. end;
  33771. procedure TUART6_U2BSTA.setADM_EN; inline;
  33772. begin
  33773. pTDefRegMap(@Self)^.&set := $01000000;
  33774. end;
  33775. procedure TUART6_U2BSTA.clearADM_EN; inline;
  33776. begin
  33777. pTDefRegMap(@Self)^.clr := $01000000;
  33778. end;
  33779. procedure TUART6_U2BSTA.setADM_EN(thebits : TBits_1); inline;
  33780. begin
  33781. if thebits = 0 then
  33782. pTDefRegMap(@Self)^.clr := $01000000
  33783. else
  33784. pTDefRegMap(@Self)^.&set := $01000000;
  33785. end;
  33786. function TUART6_U2BSTA.getADM_EN : TBits_1; inline;
  33787. begin
  33788. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33789. end;
  33790. procedure TUART6_U2BSTA.setURXISEL0; inline;
  33791. begin
  33792. pTDefRegMap(@Self)^.&set := $00000040;
  33793. end;
  33794. procedure TUART6_U2BSTA.clearURXISEL0; inline;
  33795. begin
  33796. pTDefRegMap(@Self)^.clr := $00000040;
  33797. end;
  33798. procedure TUART6_U2BSTA.setURXISEL0(thebits : TBits_1); inline;
  33799. begin
  33800. if thebits = 0 then
  33801. pTDefRegMap(@Self)^.clr := $00000040
  33802. else
  33803. pTDefRegMap(@Self)^.&set := $00000040;
  33804. end;
  33805. function TUART6_U2BSTA.getURXISEL0 : TBits_1; inline;
  33806. begin
  33807. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33808. end;
  33809. procedure TUART6_U2BSTA.setURXISEL1; inline;
  33810. begin
  33811. pTDefRegMap(@Self)^.&set := $00000080;
  33812. end;
  33813. procedure TUART6_U2BSTA.clearURXISEL1; inline;
  33814. begin
  33815. pTDefRegMap(@Self)^.clr := $00000080;
  33816. end;
  33817. procedure TUART6_U2BSTA.setURXISEL1(thebits : TBits_1); inline;
  33818. begin
  33819. if thebits = 0 then
  33820. pTDefRegMap(@Self)^.clr := $00000080
  33821. else
  33822. pTDefRegMap(@Self)^.&set := $00000080;
  33823. end;
  33824. function TUART6_U2BSTA.getURXISEL1 : TBits_1; inline;
  33825. begin
  33826. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33827. end;
  33828. procedure TUART6_U2BSTA.setUTXISEL0; inline;
  33829. begin
  33830. pTDefRegMap(@Self)^.&set := $00004000;
  33831. end;
  33832. procedure TUART6_U2BSTA.clearUTXISEL0; inline;
  33833. begin
  33834. pTDefRegMap(@Self)^.clr := $00004000;
  33835. end;
  33836. procedure TUART6_U2BSTA.setUTXISEL0(thebits : TBits_1); inline;
  33837. begin
  33838. if thebits = 0 then
  33839. pTDefRegMap(@Self)^.clr := $00004000
  33840. else
  33841. pTDefRegMap(@Self)^.&set := $00004000;
  33842. end;
  33843. function TUART6_U2BSTA.getUTXISEL0 : TBits_1; inline;
  33844. begin
  33845. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33846. end;
  33847. procedure TUART6_U2BSTA.setUTXISEL1; inline;
  33848. begin
  33849. pTDefRegMap(@Self)^.&set := $00008000;
  33850. end;
  33851. procedure TUART6_U2BSTA.clearUTXISEL1; inline;
  33852. begin
  33853. pTDefRegMap(@Self)^.clr := $00008000;
  33854. end;
  33855. procedure TUART6_U2BSTA.setUTXISEL1(thebits : TBits_1); inline;
  33856. begin
  33857. if thebits = 0 then
  33858. pTDefRegMap(@Self)^.clr := $00008000
  33859. else
  33860. pTDefRegMap(@Self)^.&set := $00008000;
  33861. end;
  33862. function TUART6_U2BSTA.getUTXISEL1 : TBits_1; inline;
  33863. begin
  33864. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33865. end;
  33866. procedure TUART6_U2BSTA.setUTXSEL(thebits : TBits_2); inline;
  33867. begin
  33868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33869. end;
  33870. function TUART6_U2BSTA.getUTXSEL : TBits_2; inline;
  33871. begin
  33872. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33873. end;
  33874. procedure TUART6_U2BSTA.setw(thebits : TBits_32); inline;
  33875. begin
  33876. pTDefRegMap(@Self)^.val := thebits;
  33877. end;
  33878. function TUART6_U2BSTA.getw : TBits_32; inline;
  33879. begin
  33880. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33881. end;
  33882. procedure TUART6_U6STA.setURXDA; inline;
  33883. begin
  33884. pTDefRegMap(@Self)^.&set := $00000001;
  33885. end;
  33886. procedure TUART6_U6STA.clearURXDA; inline;
  33887. begin
  33888. pTDefRegMap(@Self)^.clr := $00000001;
  33889. end;
  33890. procedure TUART6_U6STA.setURXDA(thebits : TBits_1); inline;
  33891. begin
  33892. if thebits = 0 then
  33893. pTDefRegMap(@Self)^.clr := $00000001
  33894. else
  33895. pTDefRegMap(@Self)^.&set := $00000001;
  33896. end;
  33897. function TUART6_U6STA.getURXDA : TBits_1; inline;
  33898. begin
  33899. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33900. end;
  33901. procedure TUART6_U6STA.setOERR; inline;
  33902. begin
  33903. pTDefRegMap(@Self)^.&set := $00000002;
  33904. end;
  33905. procedure TUART6_U6STA.clearOERR; inline;
  33906. begin
  33907. pTDefRegMap(@Self)^.clr := $00000002;
  33908. end;
  33909. procedure TUART6_U6STA.setOERR(thebits : TBits_1); inline;
  33910. begin
  33911. if thebits = 0 then
  33912. pTDefRegMap(@Self)^.clr := $00000002
  33913. else
  33914. pTDefRegMap(@Self)^.&set := $00000002;
  33915. end;
  33916. function TUART6_U6STA.getOERR : TBits_1; inline;
  33917. begin
  33918. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33919. end;
  33920. procedure TUART6_U6STA.setFERR; inline;
  33921. begin
  33922. pTDefRegMap(@Self)^.&set := $00000004;
  33923. end;
  33924. procedure TUART6_U6STA.clearFERR; inline;
  33925. begin
  33926. pTDefRegMap(@Self)^.clr := $00000004;
  33927. end;
  33928. procedure TUART6_U6STA.setFERR(thebits : TBits_1); inline;
  33929. begin
  33930. if thebits = 0 then
  33931. pTDefRegMap(@Self)^.clr := $00000004
  33932. else
  33933. pTDefRegMap(@Self)^.&set := $00000004;
  33934. end;
  33935. function TUART6_U6STA.getFERR : TBits_1; inline;
  33936. begin
  33937. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33938. end;
  33939. procedure TUART6_U6STA.setPERR; inline;
  33940. begin
  33941. pTDefRegMap(@Self)^.&set := $00000008;
  33942. end;
  33943. procedure TUART6_U6STA.clearPERR; inline;
  33944. begin
  33945. pTDefRegMap(@Self)^.clr := $00000008;
  33946. end;
  33947. procedure TUART6_U6STA.setPERR(thebits : TBits_1); inline;
  33948. begin
  33949. if thebits = 0 then
  33950. pTDefRegMap(@Self)^.clr := $00000008
  33951. else
  33952. pTDefRegMap(@Self)^.&set := $00000008;
  33953. end;
  33954. function TUART6_U6STA.getPERR : TBits_1; inline;
  33955. begin
  33956. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33957. end;
  33958. procedure TUART6_U6STA.setRIDLE; inline;
  33959. begin
  33960. pTDefRegMap(@Self)^.&set := $00000010;
  33961. end;
  33962. procedure TUART6_U6STA.clearRIDLE; inline;
  33963. begin
  33964. pTDefRegMap(@Self)^.clr := $00000010;
  33965. end;
  33966. procedure TUART6_U6STA.setRIDLE(thebits : TBits_1); inline;
  33967. begin
  33968. if thebits = 0 then
  33969. pTDefRegMap(@Self)^.clr := $00000010
  33970. else
  33971. pTDefRegMap(@Self)^.&set := $00000010;
  33972. end;
  33973. function TUART6_U6STA.getRIDLE : TBits_1; inline;
  33974. begin
  33975. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33976. end;
  33977. procedure TUART6_U6STA.setADDEN; inline;
  33978. begin
  33979. pTDefRegMap(@Self)^.&set := $00000020;
  33980. end;
  33981. procedure TUART6_U6STA.clearADDEN; inline;
  33982. begin
  33983. pTDefRegMap(@Self)^.clr := $00000020;
  33984. end;
  33985. procedure TUART6_U6STA.setADDEN(thebits : TBits_1); inline;
  33986. begin
  33987. if thebits = 0 then
  33988. pTDefRegMap(@Self)^.clr := $00000020
  33989. else
  33990. pTDefRegMap(@Self)^.&set := $00000020;
  33991. end;
  33992. function TUART6_U6STA.getADDEN : TBits_1; inline;
  33993. begin
  33994. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33995. end;
  33996. procedure TUART6_U6STA.setURXISEL(thebits : TBits_2); inline;
  33997. begin
  33998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33999. end;
  34000. function TUART6_U6STA.getURXISEL : TBits_2; inline;
  34001. begin
  34002. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34003. end;
  34004. procedure TUART6_U6STA.setTRMT; inline;
  34005. begin
  34006. pTDefRegMap(@Self)^.&set := $00000100;
  34007. end;
  34008. procedure TUART6_U6STA.clearTRMT; inline;
  34009. begin
  34010. pTDefRegMap(@Self)^.clr := $00000100;
  34011. end;
  34012. procedure TUART6_U6STA.setTRMT(thebits : TBits_1); inline;
  34013. begin
  34014. if thebits = 0 then
  34015. pTDefRegMap(@Self)^.clr := $00000100
  34016. else
  34017. pTDefRegMap(@Self)^.&set := $00000100;
  34018. end;
  34019. function TUART6_U6STA.getTRMT : TBits_1; inline;
  34020. begin
  34021. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34022. end;
  34023. procedure TUART6_U6STA.setUTXBF; inline;
  34024. begin
  34025. pTDefRegMap(@Self)^.&set := $00000200;
  34026. end;
  34027. procedure TUART6_U6STA.clearUTXBF; inline;
  34028. begin
  34029. pTDefRegMap(@Self)^.clr := $00000200;
  34030. end;
  34031. procedure TUART6_U6STA.setUTXBF(thebits : TBits_1); inline;
  34032. begin
  34033. if thebits = 0 then
  34034. pTDefRegMap(@Self)^.clr := $00000200
  34035. else
  34036. pTDefRegMap(@Self)^.&set := $00000200;
  34037. end;
  34038. function TUART6_U6STA.getUTXBF : TBits_1; inline;
  34039. begin
  34040. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34041. end;
  34042. procedure TUART6_U6STA.setUTXEN; inline;
  34043. begin
  34044. pTDefRegMap(@Self)^.&set := $00000400;
  34045. end;
  34046. procedure TUART6_U6STA.clearUTXEN; inline;
  34047. begin
  34048. pTDefRegMap(@Self)^.clr := $00000400;
  34049. end;
  34050. procedure TUART6_U6STA.setUTXEN(thebits : TBits_1); inline;
  34051. begin
  34052. if thebits = 0 then
  34053. pTDefRegMap(@Self)^.clr := $00000400
  34054. else
  34055. pTDefRegMap(@Self)^.&set := $00000400;
  34056. end;
  34057. function TUART6_U6STA.getUTXEN : TBits_1; inline;
  34058. begin
  34059. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34060. end;
  34061. procedure TUART6_U6STA.setUTXBRK; inline;
  34062. begin
  34063. pTDefRegMap(@Self)^.&set := $00000800;
  34064. end;
  34065. procedure TUART6_U6STA.clearUTXBRK; inline;
  34066. begin
  34067. pTDefRegMap(@Self)^.clr := $00000800;
  34068. end;
  34069. procedure TUART6_U6STA.setUTXBRK(thebits : TBits_1); inline;
  34070. begin
  34071. if thebits = 0 then
  34072. pTDefRegMap(@Self)^.clr := $00000800
  34073. else
  34074. pTDefRegMap(@Self)^.&set := $00000800;
  34075. end;
  34076. function TUART6_U6STA.getUTXBRK : TBits_1; inline;
  34077. begin
  34078. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34079. end;
  34080. procedure TUART6_U6STA.setURXEN; inline;
  34081. begin
  34082. pTDefRegMap(@Self)^.&set := $00001000;
  34083. end;
  34084. procedure TUART6_U6STA.clearURXEN; inline;
  34085. begin
  34086. pTDefRegMap(@Self)^.clr := $00001000;
  34087. end;
  34088. procedure TUART6_U6STA.setURXEN(thebits : TBits_1); inline;
  34089. begin
  34090. if thebits = 0 then
  34091. pTDefRegMap(@Self)^.clr := $00001000
  34092. else
  34093. pTDefRegMap(@Self)^.&set := $00001000;
  34094. end;
  34095. function TUART6_U6STA.getURXEN : TBits_1; inline;
  34096. begin
  34097. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34098. end;
  34099. procedure TUART6_U6STA.setUTXINV; inline;
  34100. begin
  34101. pTDefRegMap(@Self)^.&set := $00002000;
  34102. end;
  34103. procedure TUART6_U6STA.clearUTXINV; inline;
  34104. begin
  34105. pTDefRegMap(@Self)^.clr := $00002000;
  34106. end;
  34107. procedure TUART6_U6STA.setUTXINV(thebits : TBits_1); inline;
  34108. begin
  34109. if thebits = 0 then
  34110. pTDefRegMap(@Self)^.clr := $00002000
  34111. else
  34112. pTDefRegMap(@Self)^.&set := $00002000;
  34113. end;
  34114. function TUART6_U6STA.getUTXINV : TBits_1; inline;
  34115. begin
  34116. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34117. end;
  34118. procedure TUART6_U6STA.setUTXISEL(thebits : TBits_2); inline;
  34119. begin
  34120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34121. end;
  34122. function TUART6_U6STA.getUTXISEL : TBits_2; inline;
  34123. begin
  34124. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34125. end;
  34126. procedure TUART6_U6STA.setADDR(thebits : TBits_8); inline;
  34127. begin
  34128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34129. end;
  34130. function TUART6_U6STA.getADDR : TBits_8; inline;
  34131. begin
  34132. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34133. end;
  34134. procedure TUART6_U6STA.setADM_EN; inline;
  34135. begin
  34136. pTDefRegMap(@Self)^.&set := $01000000;
  34137. end;
  34138. procedure TUART6_U6STA.clearADM_EN; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.clr := $01000000;
  34141. end;
  34142. procedure TUART6_U6STA.setADM_EN(thebits : TBits_1); inline;
  34143. begin
  34144. if thebits = 0 then
  34145. pTDefRegMap(@Self)^.clr := $01000000
  34146. else
  34147. pTDefRegMap(@Self)^.&set := $01000000;
  34148. end;
  34149. function TUART6_U6STA.getADM_EN : TBits_1; inline;
  34150. begin
  34151. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34152. end;
  34153. procedure TUART6_U6STA.setURXISEL0; inline;
  34154. begin
  34155. pTDefRegMap(@Self)^.&set := $00000040;
  34156. end;
  34157. procedure TUART6_U6STA.clearURXISEL0; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.clr := $00000040;
  34160. end;
  34161. procedure TUART6_U6STA.setURXISEL0(thebits : TBits_1); inline;
  34162. begin
  34163. if thebits = 0 then
  34164. pTDefRegMap(@Self)^.clr := $00000040
  34165. else
  34166. pTDefRegMap(@Self)^.&set := $00000040;
  34167. end;
  34168. function TUART6_U6STA.getURXISEL0 : TBits_1; inline;
  34169. begin
  34170. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34171. end;
  34172. procedure TUART6_U6STA.setURXISEL1; inline;
  34173. begin
  34174. pTDefRegMap(@Self)^.&set := $00000080;
  34175. end;
  34176. procedure TUART6_U6STA.clearURXISEL1; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.clr := $00000080;
  34179. end;
  34180. procedure TUART6_U6STA.setURXISEL1(thebits : TBits_1); inline;
  34181. begin
  34182. if thebits = 0 then
  34183. pTDefRegMap(@Self)^.clr := $00000080
  34184. else
  34185. pTDefRegMap(@Self)^.&set := $00000080;
  34186. end;
  34187. function TUART6_U6STA.getURXISEL1 : TBits_1; inline;
  34188. begin
  34189. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34190. end;
  34191. procedure TUART6_U6STA.setUTXISEL0; inline;
  34192. begin
  34193. pTDefRegMap(@Self)^.&set := $00004000;
  34194. end;
  34195. procedure TUART6_U6STA.clearUTXISEL0; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.clr := $00004000;
  34198. end;
  34199. procedure TUART6_U6STA.setUTXISEL0(thebits : TBits_1); inline;
  34200. begin
  34201. if thebits = 0 then
  34202. pTDefRegMap(@Self)^.clr := $00004000
  34203. else
  34204. pTDefRegMap(@Self)^.&set := $00004000;
  34205. end;
  34206. function TUART6_U6STA.getUTXISEL0 : TBits_1; inline;
  34207. begin
  34208. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34209. end;
  34210. procedure TUART6_U6STA.setUTXISEL1; inline;
  34211. begin
  34212. pTDefRegMap(@Self)^.&set := $00008000;
  34213. end;
  34214. procedure TUART6_U6STA.clearUTXISEL1; inline;
  34215. begin
  34216. pTDefRegMap(@Self)^.clr := $00008000;
  34217. end;
  34218. procedure TUART6_U6STA.setUTXISEL1(thebits : TBits_1); inline;
  34219. begin
  34220. if thebits = 0 then
  34221. pTDefRegMap(@Self)^.clr := $00008000
  34222. else
  34223. pTDefRegMap(@Self)^.&set := $00008000;
  34224. end;
  34225. function TUART6_U6STA.getUTXISEL1 : TBits_1; inline;
  34226. begin
  34227. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34228. end;
  34229. procedure TUART6_U6STA.setUTXSEL(thebits : TBits_2); inline;
  34230. begin
  34231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34232. end;
  34233. function TUART6_U6STA.getUTXSEL : TBits_2; inline;
  34234. begin
  34235. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34236. end;
  34237. procedure TUART6_U6STA.setw(thebits : TBits_32); inline;
  34238. begin
  34239. pTDefRegMap(@Self)^.val := thebits;
  34240. end;
  34241. function TUART6_U6STA.getw : TBits_32; inline;
  34242. begin
  34243. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34244. end;
  34245. procedure TUART3A_U2MODE.setSTSEL; inline;
  34246. begin
  34247. pTDefRegMap(@Self)^.&set := $00000001;
  34248. end;
  34249. procedure TUART3A_U2MODE.clearSTSEL; inline;
  34250. begin
  34251. pTDefRegMap(@Self)^.clr := $00000001;
  34252. end;
  34253. procedure TUART3A_U2MODE.setSTSEL(thebits : TBits_1); inline;
  34254. begin
  34255. if thebits = 0 then
  34256. pTDefRegMap(@Self)^.clr := $00000001
  34257. else
  34258. pTDefRegMap(@Self)^.&set := $00000001;
  34259. end;
  34260. function TUART3A_U2MODE.getSTSEL : TBits_1; inline;
  34261. begin
  34262. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34263. end;
  34264. procedure TUART3A_U2MODE.setPDSEL(thebits : TBits_2); inline;
  34265. begin
  34266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34267. end;
  34268. function TUART3A_U2MODE.getPDSEL : TBits_2; inline;
  34269. begin
  34270. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34271. end;
  34272. procedure TUART3A_U2MODE.setBRGH; inline;
  34273. begin
  34274. pTDefRegMap(@Self)^.&set := $00000008;
  34275. end;
  34276. procedure TUART3A_U2MODE.clearBRGH; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.clr := $00000008;
  34279. end;
  34280. procedure TUART3A_U2MODE.setBRGH(thebits : TBits_1); inline;
  34281. begin
  34282. if thebits = 0 then
  34283. pTDefRegMap(@Self)^.clr := $00000008
  34284. else
  34285. pTDefRegMap(@Self)^.&set := $00000008;
  34286. end;
  34287. function TUART3A_U2MODE.getBRGH : TBits_1; inline;
  34288. begin
  34289. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34290. end;
  34291. procedure TUART3A_U2MODE.setRXINV; inline;
  34292. begin
  34293. pTDefRegMap(@Self)^.&set := $00000010;
  34294. end;
  34295. procedure TUART3A_U2MODE.clearRXINV; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.clr := $00000010;
  34298. end;
  34299. procedure TUART3A_U2MODE.setRXINV(thebits : TBits_1); inline;
  34300. begin
  34301. if thebits = 0 then
  34302. pTDefRegMap(@Self)^.clr := $00000010
  34303. else
  34304. pTDefRegMap(@Self)^.&set := $00000010;
  34305. end;
  34306. function TUART3A_U2MODE.getRXINV : TBits_1; inline;
  34307. begin
  34308. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34309. end;
  34310. procedure TUART3A_U2MODE.setABAUD; inline;
  34311. begin
  34312. pTDefRegMap(@Self)^.&set := $00000020;
  34313. end;
  34314. procedure TUART3A_U2MODE.clearABAUD; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.clr := $00000020;
  34317. end;
  34318. procedure TUART3A_U2MODE.setABAUD(thebits : TBits_1); inline;
  34319. begin
  34320. if thebits = 0 then
  34321. pTDefRegMap(@Self)^.clr := $00000020
  34322. else
  34323. pTDefRegMap(@Self)^.&set := $00000020;
  34324. end;
  34325. function TUART3A_U2MODE.getABAUD : TBits_1; inline;
  34326. begin
  34327. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34328. end;
  34329. procedure TUART3A_U2MODE.setLPBACK; inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.&set := $00000040;
  34332. end;
  34333. procedure TUART3A_U2MODE.clearLPBACK; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.clr := $00000040;
  34336. end;
  34337. procedure TUART3A_U2MODE.setLPBACK(thebits : TBits_1); inline;
  34338. begin
  34339. if thebits = 0 then
  34340. pTDefRegMap(@Self)^.clr := $00000040
  34341. else
  34342. pTDefRegMap(@Self)^.&set := $00000040;
  34343. end;
  34344. function TUART3A_U2MODE.getLPBACK : TBits_1; inline;
  34345. begin
  34346. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34347. end;
  34348. procedure TUART3A_U2MODE.setWAKE; inline;
  34349. begin
  34350. pTDefRegMap(@Self)^.&set := $00000080;
  34351. end;
  34352. procedure TUART3A_U2MODE.clearWAKE; inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.clr := $00000080;
  34355. end;
  34356. procedure TUART3A_U2MODE.setWAKE(thebits : TBits_1); inline;
  34357. begin
  34358. if thebits = 0 then
  34359. pTDefRegMap(@Self)^.clr := $00000080
  34360. else
  34361. pTDefRegMap(@Self)^.&set := $00000080;
  34362. end;
  34363. function TUART3A_U2MODE.getWAKE : TBits_1; inline;
  34364. begin
  34365. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34366. end;
  34367. procedure TUART3A_U2MODE.setUEN(thebits : TBits_2); inline;
  34368. begin
  34369. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34370. end;
  34371. function TUART3A_U2MODE.getUEN : TBits_2; inline;
  34372. begin
  34373. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34374. end;
  34375. procedure TUART3A_U2MODE.setRTSMD; inline;
  34376. begin
  34377. pTDefRegMap(@Self)^.&set := $00000800;
  34378. end;
  34379. procedure TUART3A_U2MODE.clearRTSMD; inline;
  34380. begin
  34381. pTDefRegMap(@Self)^.clr := $00000800;
  34382. end;
  34383. procedure TUART3A_U2MODE.setRTSMD(thebits : TBits_1); inline;
  34384. begin
  34385. if thebits = 0 then
  34386. pTDefRegMap(@Self)^.clr := $00000800
  34387. else
  34388. pTDefRegMap(@Self)^.&set := $00000800;
  34389. end;
  34390. function TUART3A_U2MODE.getRTSMD : TBits_1; inline;
  34391. begin
  34392. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34393. end;
  34394. procedure TUART3A_U2MODE.setIREN; inline;
  34395. begin
  34396. pTDefRegMap(@Self)^.&set := $00001000;
  34397. end;
  34398. procedure TUART3A_U2MODE.clearIREN; inline;
  34399. begin
  34400. pTDefRegMap(@Self)^.clr := $00001000;
  34401. end;
  34402. procedure TUART3A_U2MODE.setIREN(thebits : TBits_1); inline;
  34403. begin
  34404. if thebits = 0 then
  34405. pTDefRegMap(@Self)^.clr := $00001000
  34406. else
  34407. pTDefRegMap(@Self)^.&set := $00001000;
  34408. end;
  34409. function TUART3A_U2MODE.getIREN : TBits_1; inline;
  34410. begin
  34411. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34412. end;
  34413. procedure TUART3A_U2MODE.setSIDL; inline;
  34414. begin
  34415. pTDefRegMap(@Self)^.&set := $00002000;
  34416. end;
  34417. procedure TUART3A_U2MODE.clearSIDL; inline;
  34418. begin
  34419. pTDefRegMap(@Self)^.clr := $00002000;
  34420. end;
  34421. procedure TUART3A_U2MODE.setSIDL(thebits : TBits_1); inline;
  34422. begin
  34423. if thebits = 0 then
  34424. pTDefRegMap(@Self)^.clr := $00002000
  34425. else
  34426. pTDefRegMap(@Self)^.&set := $00002000;
  34427. end;
  34428. function TUART3A_U2MODE.getSIDL : TBits_1; inline;
  34429. begin
  34430. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34431. end;
  34432. procedure TUART3A_U2MODE.setON; inline;
  34433. begin
  34434. pTDefRegMap(@Self)^.&set := $00008000;
  34435. end;
  34436. procedure TUART3A_U2MODE.clearON; inline;
  34437. begin
  34438. pTDefRegMap(@Self)^.clr := $00008000;
  34439. end;
  34440. procedure TUART3A_U2MODE.setON(thebits : TBits_1); inline;
  34441. begin
  34442. if thebits = 0 then
  34443. pTDefRegMap(@Self)^.clr := $00008000
  34444. else
  34445. pTDefRegMap(@Self)^.&set := $00008000;
  34446. end;
  34447. function TUART3A_U2MODE.getON : TBits_1; inline;
  34448. begin
  34449. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34450. end;
  34451. procedure TUART3A_U2MODE.setPDSEL0; inline;
  34452. begin
  34453. pTDefRegMap(@Self)^.&set := $00000002;
  34454. end;
  34455. procedure TUART3A_U2MODE.clearPDSEL0; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.clr := $00000002;
  34458. end;
  34459. procedure TUART3A_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  34460. begin
  34461. if thebits = 0 then
  34462. pTDefRegMap(@Self)^.clr := $00000002
  34463. else
  34464. pTDefRegMap(@Self)^.&set := $00000002;
  34465. end;
  34466. function TUART3A_U2MODE.getPDSEL0 : TBits_1; inline;
  34467. begin
  34468. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34469. end;
  34470. procedure TUART3A_U2MODE.setPDSEL1; inline;
  34471. begin
  34472. pTDefRegMap(@Self)^.&set := $00000004;
  34473. end;
  34474. procedure TUART3A_U2MODE.clearPDSEL1; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.clr := $00000004;
  34477. end;
  34478. procedure TUART3A_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  34479. begin
  34480. if thebits = 0 then
  34481. pTDefRegMap(@Self)^.clr := $00000004
  34482. else
  34483. pTDefRegMap(@Self)^.&set := $00000004;
  34484. end;
  34485. function TUART3A_U2MODE.getPDSEL1 : TBits_1; inline;
  34486. begin
  34487. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34488. end;
  34489. procedure TUART3A_U2MODE.setUEN0; inline;
  34490. begin
  34491. pTDefRegMap(@Self)^.&set := $00000100;
  34492. end;
  34493. procedure TUART3A_U2MODE.clearUEN0; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.clr := $00000100;
  34496. end;
  34497. procedure TUART3A_U2MODE.setUEN0(thebits : TBits_1); inline;
  34498. begin
  34499. if thebits = 0 then
  34500. pTDefRegMap(@Self)^.clr := $00000100
  34501. else
  34502. pTDefRegMap(@Self)^.&set := $00000100;
  34503. end;
  34504. function TUART3A_U2MODE.getUEN0 : TBits_1; inline;
  34505. begin
  34506. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34507. end;
  34508. procedure TUART3A_U2MODE.setUEN1; inline;
  34509. begin
  34510. pTDefRegMap(@Self)^.&set := $00000200;
  34511. end;
  34512. procedure TUART3A_U2MODE.clearUEN1; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.clr := $00000200;
  34515. end;
  34516. procedure TUART3A_U2MODE.setUEN1(thebits : TBits_1); inline;
  34517. begin
  34518. if thebits = 0 then
  34519. pTDefRegMap(@Self)^.clr := $00000200
  34520. else
  34521. pTDefRegMap(@Self)^.&set := $00000200;
  34522. end;
  34523. function TUART3A_U2MODE.getUEN1 : TBits_1; inline;
  34524. begin
  34525. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34526. end;
  34527. procedure TUART3A_U2MODE.setUSIDL; inline;
  34528. begin
  34529. pTDefRegMap(@Self)^.&set := $00002000;
  34530. end;
  34531. procedure TUART3A_U2MODE.clearUSIDL; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.clr := $00002000;
  34534. end;
  34535. procedure TUART3A_U2MODE.setUSIDL(thebits : TBits_1); inline;
  34536. begin
  34537. if thebits = 0 then
  34538. pTDefRegMap(@Self)^.clr := $00002000
  34539. else
  34540. pTDefRegMap(@Self)^.&set := $00002000;
  34541. end;
  34542. function TUART3A_U2MODE.getUSIDL : TBits_1; inline;
  34543. begin
  34544. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34545. end;
  34546. procedure TUART3A_U2MODE.setUARTEN; inline;
  34547. begin
  34548. pTDefRegMap(@Self)^.&set := $00008000;
  34549. end;
  34550. procedure TUART3A_U2MODE.clearUARTEN; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.clr := $00008000;
  34553. end;
  34554. procedure TUART3A_U2MODE.setUARTEN(thebits : TBits_1); inline;
  34555. begin
  34556. if thebits = 0 then
  34557. pTDefRegMap(@Self)^.clr := $00008000
  34558. else
  34559. pTDefRegMap(@Self)^.&set := $00008000;
  34560. end;
  34561. function TUART3A_U2MODE.getUARTEN : TBits_1; inline;
  34562. begin
  34563. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34564. end;
  34565. procedure TUART3A_U2MODE.setw(thebits : TBits_32); inline;
  34566. begin
  34567. pTDefRegMap(@Self)^.val := thebits;
  34568. end;
  34569. function TUART3A_U2MODE.getw : TBits_32; inline;
  34570. begin
  34571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34572. end;
  34573. procedure TUART3A_U3AMODE.setSTSEL; inline;
  34574. begin
  34575. pTDefRegMap(@Self)^.&set := $00000001;
  34576. end;
  34577. procedure TUART3A_U3AMODE.clearSTSEL; inline;
  34578. begin
  34579. pTDefRegMap(@Self)^.clr := $00000001;
  34580. end;
  34581. procedure TUART3A_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  34582. begin
  34583. if thebits = 0 then
  34584. pTDefRegMap(@Self)^.clr := $00000001
  34585. else
  34586. pTDefRegMap(@Self)^.&set := $00000001;
  34587. end;
  34588. function TUART3A_U3AMODE.getSTSEL : TBits_1; inline;
  34589. begin
  34590. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34591. end;
  34592. procedure TUART3A_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  34593. begin
  34594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34595. end;
  34596. function TUART3A_U3AMODE.getPDSEL : TBits_2; inline;
  34597. begin
  34598. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34599. end;
  34600. procedure TUART3A_U3AMODE.setBRGH; inline;
  34601. begin
  34602. pTDefRegMap(@Self)^.&set := $00000008;
  34603. end;
  34604. procedure TUART3A_U3AMODE.clearBRGH; inline;
  34605. begin
  34606. pTDefRegMap(@Self)^.clr := $00000008;
  34607. end;
  34608. procedure TUART3A_U3AMODE.setBRGH(thebits : TBits_1); inline;
  34609. begin
  34610. if thebits = 0 then
  34611. pTDefRegMap(@Self)^.clr := $00000008
  34612. else
  34613. pTDefRegMap(@Self)^.&set := $00000008;
  34614. end;
  34615. function TUART3A_U3AMODE.getBRGH : TBits_1; inline;
  34616. begin
  34617. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34618. end;
  34619. procedure TUART3A_U3AMODE.setRXINV; inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.&set := $00000010;
  34622. end;
  34623. procedure TUART3A_U3AMODE.clearRXINV; inline;
  34624. begin
  34625. pTDefRegMap(@Self)^.clr := $00000010;
  34626. end;
  34627. procedure TUART3A_U3AMODE.setRXINV(thebits : TBits_1); inline;
  34628. begin
  34629. if thebits = 0 then
  34630. pTDefRegMap(@Self)^.clr := $00000010
  34631. else
  34632. pTDefRegMap(@Self)^.&set := $00000010;
  34633. end;
  34634. function TUART3A_U3AMODE.getRXINV : TBits_1; inline;
  34635. begin
  34636. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34637. end;
  34638. procedure TUART3A_U3AMODE.setABAUD; inline;
  34639. begin
  34640. pTDefRegMap(@Self)^.&set := $00000020;
  34641. end;
  34642. procedure TUART3A_U3AMODE.clearABAUD; inline;
  34643. begin
  34644. pTDefRegMap(@Self)^.clr := $00000020;
  34645. end;
  34646. procedure TUART3A_U3AMODE.setABAUD(thebits : TBits_1); inline;
  34647. begin
  34648. if thebits = 0 then
  34649. pTDefRegMap(@Self)^.clr := $00000020
  34650. else
  34651. pTDefRegMap(@Self)^.&set := $00000020;
  34652. end;
  34653. function TUART3A_U3AMODE.getABAUD : TBits_1; inline;
  34654. begin
  34655. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34656. end;
  34657. procedure TUART3A_U3AMODE.setLPBACK; inline;
  34658. begin
  34659. pTDefRegMap(@Self)^.&set := $00000040;
  34660. end;
  34661. procedure TUART3A_U3AMODE.clearLPBACK; inline;
  34662. begin
  34663. pTDefRegMap(@Self)^.clr := $00000040;
  34664. end;
  34665. procedure TUART3A_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  34666. begin
  34667. if thebits = 0 then
  34668. pTDefRegMap(@Self)^.clr := $00000040
  34669. else
  34670. pTDefRegMap(@Self)^.&set := $00000040;
  34671. end;
  34672. function TUART3A_U3AMODE.getLPBACK : TBits_1; inline;
  34673. begin
  34674. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34675. end;
  34676. procedure TUART3A_U3AMODE.setWAKE; inline;
  34677. begin
  34678. pTDefRegMap(@Self)^.&set := $00000080;
  34679. end;
  34680. procedure TUART3A_U3AMODE.clearWAKE; inline;
  34681. begin
  34682. pTDefRegMap(@Self)^.clr := $00000080;
  34683. end;
  34684. procedure TUART3A_U3AMODE.setWAKE(thebits : TBits_1); inline;
  34685. begin
  34686. if thebits = 0 then
  34687. pTDefRegMap(@Self)^.clr := $00000080
  34688. else
  34689. pTDefRegMap(@Self)^.&set := $00000080;
  34690. end;
  34691. function TUART3A_U3AMODE.getWAKE : TBits_1; inline;
  34692. begin
  34693. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34694. end;
  34695. procedure TUART3A_U3AMODE.setUEN(thebits : TBits_2); inline;
  34696. begin
  34697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34698. end;
  34699. function TUART3A_U3AMODE.getUEN : TBits_2; inline;
  34700. begin
  34701. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34702. end;
  34703. procedure TUART3A_U3AMODE.setRTSMD; inline;
  34704. begin
  34705. pTDefRegMap(@Self)^.&set := $00000800;
  34706. end;
  34707. procedure TUART3A_U3AMODE.clearRTSMD; inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.clr := $00000800;
  34710. end;
  34711. procedure TUART3A_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  34712. begin
  34713. if thebits = 0 then
  34714. pTDefRegMap(@Self)^.clr := $00000800
  34715. else
  34716. pTDefRegMap(@Self)^.&set := $00000800;
  34717. end;
  34718. function TUART3A_U3AMODE.getRTSMD : TBits_1; inline;
  34719. begin
  34720. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34721. end;
  34722. procedure TUART3A_U3AMODE.setIREN; inline;
  34723. begin
  34724. pTDefRegMap(@Self)^.&set := $00001000;
  34725. end;
  34726. procedure TUART3A_U3AMODE.clearIREN; inline;
  34727. begin
  34728. pTDefRegMap(@Self)^.clr := $00001000;
  34729. end;
  34730. procedure TUART3A_U3AMODE.setIREN(thebits : TBits_1); inline;
  34731. begin
  34732. if thebits = 0 then
  34733. pTDefRegMap(@Self)^.clr := $00001000
  34734. else
  34735. pTDefRegMap(@Self)^.&set := $00001000;
  34736. end;
  34737. function TUART3A_U3AMODE.getIREN : TBits_1; inline;
  34738. begin
  34739. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34740. end;
  34741. procedure TUART3A_U3AMODE.setSIDL; inline;
  34742. begin
  34743. pTDefRegMap(@Self)^.&set := $00002000;
  34744. end;
  34745. procedure TUART3A_U3AMODE.clearSIDL; inline;
  34746. begin
  34747. pTDefRegMap(@Self)^.clr := $00002000;
  34748. end;
  34749. procedure TUART3A_U3AMODE.setSIDL(thebits : TBits_1); inline;
  34750. begin
  34751. if thebits = 0 then
  34752. pTDefRegMap(@Self)^.clr := $00002000
  34753. else
  34754. pTDefRegMap(@Self)^.&set := $00002000;
  34755. end;
  34756. function TUART3A_U3AMODE.getSIDL : TBits_1; inline;
  34757. begin
  34758. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34759. end;
  34760. procedure TUART3A_U3AMODE.setON; inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.&set := $00008000;
  34763. end;
  34764. procedure TUART3A_U3AMODE.clearON; inline;
  34765. begin
  34766. pTDefRegMap(@Self)^.clr := $00008000;
  34767. end;
  34768. procedure TUART3A_U3AMODE.setON(thebits : TBits_1); inline;
  34769. begin
  34770. if thebits = 0 then
  34771. pTDefRegMap(@Self)^.clr := $00008000
  34772. else
  34773. pTDefRegMap(@Self)^.&set := $00008000;
  34774. end;
  34775. function TUART3A_U3AMODE.getON : TBits_1; inline;
  34776. begin
  34777. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34778. end;
  34779. procedure TUART3A_U3AMODE.setPDSEL0; inline;
  34780. begin
  34781. pTDefRegMap(@Self)^.&set := $00000002;
  34782. end;
  34783. procedure TUART3A_U3AMODE.clearPDSEL0; inline;
  34784. begin
  34785. pTDefRegMap(@Self)^.clr := $00000002;
  34786. end;
  34787. procedure TUART3A_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  34788. begin
  34789. if thebits = 0 then
  34790. pTDefRegMap(@Self)^.clr := $00000002
  34791. else
  34792. pTDefRegMap(@Self)^.&set := $00000002;
  34793. end;
  34794. function TUART3A_U3AMODE.getPDSEL0 : TBits_1; inline;
  34795. begin
  34796. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34797. end;
  34798. procedure TUART3A_U3AMODE.setPDSEL1; inline;
  34799. begin
  34800. pTDefRegMap(@Self)^.&set := $00000004;
  34801. end;
  34802. procedure TUART3A_U3AMODE.clearPDSEL1; inline;
  34803. begin
  34804. pTDefRegMap(@Self)^.clr := $00000004;
  34805. end;
  34806. procedure TUART3A_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  34807. begin
  34808. if thebits = 0 then
  34809. pTDefRegMap(@Self)^.clr := $00000004
  34810. else
  34811. pTDefRegMap(@Self)^.&set := $00000004;
  34812. end;
  34813. function TUART3A_U3AMODE.getPDSEL1 : TBits_1; inline;
  34814. begin
  34815. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34816. end;
  34817. procedure TUART3A_U3AMODE.setUEN0; inline;
  34818. begin
  34819. pTDefRegMap(@Self)^.&set := $00000100;
  34820. end;
  34821. procedure TUART3A_U3AMODE.clearUEN0; inline;
  34822. begin
  34823. pTDefRegMap(@Self)^.clr := $00000100;
  34824. end;
  34825. procedure TUART3A_U3AMODE.setUEN0(thebits : TBits_1); inline;
  34826. begin
  34827. if thebits = 0 then
  34828. pTDefRegMap(@Self)^.clr := $00000100
  34829. else
  34830. pTDefRegMap(@Self)^.&set := $00000100;
  34831. end;
  34832. function TUART3A_U3AMODE.getUEN0 : TBits_1; inline;
  34833. begin
  34834. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34835. end;
  34836. procedure TUART3A_U3AMODE.setUEN1; inline;
  34837. begin
  34838. pTDefRegMap(@Self)^.&set := $00000200;
  34839. end;
  34840. procedure TUART3A_U3AMODE.clearUEN1; inline;
  34841. begin
  34842. pTDefRegMap(@Self)^.clr := $00000200;
  34843. end;
  34844. procedure TUART3A_U3AMODE.setUEN1(thebits : TBits_1); inline;
  34845. begin
  34846. if thebits = 0 then
  34847. pTDefRegMap(@Self)^.clr := $00000200
  34848. else
  34849. pTDefRegMap(@Self)^.&set := $00000200;
  34850. end;
  34851. function TUART3A_U3AMODE.getUEN1 : TBits_1; inline;
  34852. begin
  34853. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34854. end;
  34855. procedure TUART3A_U3AMODE.setUSIDL; inline;
  34856. begin
  34857. pTDefRegMap(@Self)^.&set := $00002000;
  34858. end;
  34859. procedure TUART3A_U3AMODE.clearUSIDL; inline;
  34860. begin
  34861. pTDefRegMap(@Self)^.clr := $00002000;
  34862. end;
  34863. procedure TUART3A_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  34864. begin
  34865. if thebits = 0 then
  34866. pTDefRegMap(@Self)^.clr := $00002000
  34867. else
  34868. pTDefRegMap(@Self)^.&set := $00002000;
  34869. end;
  34870. function TUART3A_U3AMODE.getUSIDL : TBits_1; inline;
  34871. begin
  34872. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34873. end;
  34874. procedure TUART3A_U3AMODE.setUARTEN; inline;
  34875. begin
  34876. pTDefRegMap(@Self)^.&set := $00008000;
  34877. end;
  34878. procedure TUART3A_U3AMODE.clearUARTEN; inline;
  34879. begin
  34880. pTDefRegMap(@Self)^.clr := $00008000;
  34881. end;
  34882. procedure TUART3A_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  34883. begin
  34884. if thebits = 0 then
  34885. pTDefRegMap(@Self)^.clr := $00008000
  34886. else
  34887. pTDefRegMap(@Self)^.&set := $00008000;
  34888. end;
  34889. function TUART3A_U3AMODE.getUARTEN : TBits_1; inline;
  34890. begin
  34891. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34892. end;
  34893. procedure TUART3A_U3AMODE.setw(thebits : TBits_32); inline;
  34894. begin
  34895. pTDefRegMap(@Self)^.val := thebits;
  34896. end;
  34897. function TUART3A_U3AMODE.getw : TBits_32; inline;
  34898. begin
  34899. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34900. end;
  34901. procedure TUART3A_U2STA.setURXDA; inline;
  34902. begin
  34903. pTDefRegMap(@Self)^.&set := $00000001;
  34904. end;
  34905. procedure TUART3A_U2STA.clearURXDA; inline;
  34906. begin
  34907. pTDefRegMap(@Self)^.clr := $00000001;
  34908. end;
  34909. procedure TUART3A_U2STA.setURXDA(thebits : TBits_1); inline;
  34910. begin
  34911. if thebits = 0 then
  34912. pTDefRegMap(@Self)^.clr := $00000001
  34913. else
  34914. pTDefRegMap(@Self)^.&set := $00000001;
  34915. end;
  34916. function TUART3A_U2STA.getURXDA : TBits_1; inline;
  34917. begin
  34918. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34919. end;
  34920. procedure TUART3A_U2STA.setOERR; inline;
  34921. begin
  34922. pTDefRegMap(@Self)^.&set := $00000002;
  34923. end;
  34924. procedure TUART3A_U2STA.clearOERR; inline;
  34925. begin
  34926. pTDefRegMap(@Self)^.clr := $00000002;
  34927. end;
  34928. procedure TUART3A_U2STA.setOERR(thebits : TBits_1); inline;
  34929. begin
  34930. if thebits = 0 then
  34931. pTDefRegMap(@Self)^.clr := $00000002
  34932. else
  34933. pTDefRegMap(@Self)^.&set := $00000002;
  34934. end;
  34935. function TUART3A_U2STA.getOERR : TBits_1; inline;
  34936. begin
  34937. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34938. end;
  34939. procedure TUART3A_U2STA.setFERR; inline;
  34940. begin
  34941. pTDefRegMap(@Self)^.&set := $00000004;
  34942. end;
  34943. procedure TUART3A_U2STA.clearFERR; inline;
  34944. begin
  34945. pTDefRegMap(@Self)^.clr := $00000004;
  34946. end;
  34947. procedure TUART3A_U2STA.setFERR(thebits : TBits_1); inline;
  34948. begin
  34949. if thebits = 0 then
  34950. pTDefRegMap(@Self)^.clr := $00000004
  34951. else
  34952. pTDefRegMap(@Self)^.&set := $00000004;
  34953. end;
  34954. function TUART3A_U2STA.getFERR : TBits_1; inline;
  34955. begin
  34956. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34957. end;
  34958. procedure TUART3A_U2STA.setPERR; inline;
  34959. begin
  34960. pTDefRegMap(@Self)^.&set := $00000008;
  34961. end;
  34962. procedure TUART3A_U2STA.clearPERR; inline;
  34963. begin
  34964. pTDefRegMap(@Self)^.clr := $00000008;
  34965. end;
  34966. procedure TUART3A_U2STA.setPERR(thebits : TBits_1); inline;
  34967. begin
  34968. if thebits = 0 then
  34969. pTDefRegMap(@Self)^.clr := $00000008
  34970. else
  34971. pTDefRegMap(@Self)^.&set := $00000008;
  34972. end;
  34973. function TUART3A_U2STA.getPERR : TBits_1; inline;
  34974. begin
  34975. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34976. end;
  34977. procedure TUART3A_U2STA.setRIDLE; inline;
  34978. begin
  34979. pTDefRegMap(@Self)^.&set := $00000010;
  34980. end;
  34981. procedure TUART3A_U2STA.clearRIDLE; inline;
  34982. begin
  34983. pTDefRegMap(@Self)^.clr := $00000010;
  34984. end;
  34985. procedure TUART3A_U2STA.setRIDLE(thebits : TBits_1); inline;
  34986. begin
  34987. if thebits = 0 then
  34988. pTDefRegMap(@Self)^.clr := $00000010
  34989. else
  34990. pTDefRegMap(@Self)^.&set := $00000010;
  34991. end;
  34992. function TUART3A_U2STA.getRIDLE : TBits_1; inline;
  34993. begin
  34994. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34995. end;
  34996. procedure TUART3A_U2STA.setADDEN; inline;
  34997. begin
  34998. pTDefRegMap(@Self)^.&set := $00000020;
  34999. end;
  35000. procedure TUART3A_U2STA.clearADDEN; inline;
  35001. begin
  35002. pTDefRegMap(@Self)^.clr := $00000020;
  35003. end;
  35004. procedure TUART3A_U2STA.setADDEN(thebits : TBits_1); inline;
  35005. begin
  35006. if thebits = 0 then
  35007. pTDefRegMap(@Self)^.clr := $00000020
  35008. else
  35009. pTDefRegMap(@Self)^.&set := $00000020;
  35010. end;
  35011. function TUART3A_U2STA.getADDEN : TBits_1; inline;
  35012. begin
  35013. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35014. end;
  35015. procedure TUART3A_U2STA.setURXISEL(thebits : TBits_2); inline;
  35016. begin
  35017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35018. end;
  35019. function TUART3A_U2STA.getURXISEL : TBits_2; inline;
  35020. begin
  35021. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35022. end;
  35023. procedure TUART3A_U2STA.setTRMT; inline;
  35024. begin
  35025. pTDefRegMap(@Self)^.&set := $00000100;
  35026. end;
  35027. procedure TUART3A_U2STA.clearTRMT; inline;
  35028. begin
  35029. pTDefRegMap(@Self)^.clr := $00000100;
  35030. end;
  35031. procedure TUART3A_U2STA.setTRMT(thebits : TBits_1); inline;
  35032. begin
  35033. if thebits = 0 then
  35034. pTDefRegMap(@Self)^.clr := $00000100
  35035. else
  35036. pTDefRegMap(@Self)^.&set := $00000100;
  35037. end;
  35038. function TUART3A_U2STA.getTRMT : TBits_1; inline;
  35039. begin
  35040. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35041. end;
  35042. procedure TUART3A_U2STA.setUTXBF; inline;
  35043. begin
  35044. pTDefRegMap(@Self)^.&set := $00000200;
  35045. end;
  35046. procedure TUART3A_U2STA.clearUTXBF; inline;
  35047. begin
  35048. pTDefRegMap(@Self)^.clr := $00000200;
  35049. end;
  35050. procedure TUART3A_U2STA.setUTXBF(thebits : TBits_1); inline;
  35051. begin
  35052. if thebits = 0 then
  35053. pTDefRegMap(@Self)^.clr := $00000200
  35054. else
  35055. pTDefRegMap(@Self)^.&set := $00000200;
  35056. end;
  35057. function TUART3A_U2STA.getUTXBF : TBits_1; inline;
  35058. begin
  35059. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35060. end;
  35061. procedure TUART3A_U2STA.setUTXEN; inline;
  35062. begin
  35063. pTDefRegMap(@Self)^.&set := $00000400;
  35064. end;
  35065. procedure TUART3A_U2STA.clearUTXEN; inline;
  35066. begin
  35067. pTDefRegMap(@Self)^.clr := $00000400;
  35068. end;
  35069. procedure TUART3A_U2STA.setUTXEN(thebits : TBits_1); inline;
  35070. begin
  35071. if thebits = 0 then
  35072. pTDefRegMap(@Self)^.clr := $00000400
  35073. else
  35074. pTDefRegMap(@Self)^.&set := $00000400;
  35075. end;
  35076. function TUART3A_U2STA.getUTXEN : TBits_1; inline;
  35077. begin
  35078. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35079. end;
  35080. procedure TUART3A_U2STA.setUTXBRK; inline;
  35081. begin
  35082. pTDefRegMap(@Self)^.&set := $00000800;
  35083. end;
  35084. procedure TUART3A_U2STA.clearUTXBRK; inline;
  35085. begin
  35086. pTDefRegMap(@Self)^.clr := $00000800;
  35087. end;
  35088. procedure TUART3A_U2STA.setUTXBRK(thebits : TBits_1); inline;
  35089. begin
  35090. if thebits = 0 then
  35091. pTDefRegMap(@Self)^.clr := $00000800
  35092. else
  35093. pTDefRegMap(@Self)^.&set := $00000800;
  35094. end;
  35095. function TUART3A_U2STA.getUTXBRK : TBits_1; inline;
  35096. begin
  35097. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35098. end;
  35099. procedure TUART3A_U2STA.setURXEN; inline;
  35100. begin
  35101. pTDefRegMap(@Self)^.&set := $00001000;
  35102. end;
  35103. procedure TUART3A_U2STA.clearURXEN; inline;
  35104. begin
  35105. pTDefRegMap(@Self)^.clr := $00001000;
  35106. end;
  35107. procedure TUART3A_U2STA.setURXEN(thebits : TBits_1); inline;
  35108. begin
  35109. if thebits = 0 then
  35110. pTDefRegMap(@Self)^.clr := $00001000
  35111. else
  35112. pTDefRegMap(@Self)^.&set := $00001000;
  35113. end;
  35114. function TUART3A_U2STA.getURXEN : TBits_1; inline;
  35115. begin
  35116. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35117. end;
  35118. procedure TUART3A_U2STA.setUTXINV; inline;
  35119. begin
  35120. pTDefRegMap(@Self)^.&set := $00002000;
  35121. end;
  35122. procedure TUART3A_U2STA.clearUTXINV; inline;
  35123. begin
  35124. pTDefRegMap(@Self)^.clr := $00002000;
  35125. end;
  35126. procedure TUART3A_U2STA.setUTXINV(thebits : TBits_1); inline;
  35127. begin
  35128. if thebits = 0 then
  35129. pTDefRegMap(@Self)^.clr := $00002000
  35130. else
  35131. pTDefRegMap(@Self)^.&set := $00002000;
  35132. end;
  35133. function TUART3A_U2STA.getUTXINV : TBits_1; inline;
  35134. begin
  35135. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35136. end;
  35137. procedure TUART3A_U2STA.setUTXISEL(thebits : TBits_2); inline;
  35138. begin
  35139. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35140. end;
  35141. function TUART3A_U2STA.getUTXISEL : TBits_2; inline;
  35142. begin
  35143. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35144. end;
  35145. procedure TUART3A_U2STA.setADDR(thebits : TBits_8); inline;
  35146. begin
  35147. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35148. end;
  35149. function TUART3A_U2STA.getADDR : TBits_8; inline;
  35150. begin
  35151. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35152. end;
  35153. procedure TUART3A_U2STA.setADM_EN; inline;
  35154. begin
  35155. pTDefRegMap(@Self)^.&set := $01000000;
  35156. end;
  35157. procedure TUART3A_U2STA.clearADM_EN; inline;
  35158. begin
  35159. pTDefRegMap(@Self)^.clr := $01000000;
  35160. end;
  35161. procedure TUART3A_U2STA.setADM_EN(thebits : TBits_1); inline;
  35162. begin
  35163. if thebits = 0 then
  35164. pTDefRegMap(@Self)^.clr := $01000000
  35165. else
  35166. pTDefRegMap(@Self)^.&set := $01000000;
  35167. end;
  35168. function TUART3A_U2STA.getADM_EN : TBits_1; inline;
  35169. begin
  35170. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35171. end;
  35172. procedure TUART3A_U2STA.setURXISEL0; inline;
  35173. begin
  35174. pTDefRegMap(@Self)^.&set := $00000040;
  35175. end;
  35176. procedure TUART3A_U2STA.clearURXISEL0; inline;
  35177. begin
  35178. pTDefRegMap(@Self)^.clr := $00000040;
  35179. end;
  35180. procedure TUART3A_U2STA.setURXISEL0(thebits : TBits_1); inline;
  35181. begin
  35182. if thebits = 0 then
  35183. pTDefRegMap(@Self)^.clr := $00000040
  35184. else
  35185. pTDefRegMap(@Self)^.&set := $00000040;
  35186. end;
  35187. function TUART3A_U2STA.getURXISEL0 : TBits_1; inline;
  35188. begin
  35189. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35190. end;
  35191. procedure TUART3A_U2STA.setURXISEL1; inline;
  35192. begin
  35193. pTDefRegMap(@Self)^.&set := $00000080;
  35194. end;
  35195. procedure TUART3A_U2STA.clearURXISEL1; inline;
  35196. begin
  35197. pTDefRegMap(@Self)^.clr := $00000080;
  35198. end;
  35199. procedure TUART3A_U2STA.setURXISEL1(thebits : TBits_1); inline;
  35200. begin
  35201. if thebits = 0 then
  35202. pTDefRegMap(@Self)^.clr := $00000080
  35203. else
  35204. pTDefRegMap(@Self)^.&set := $00000080;
  35205. end;
  35206. function TUART3A_U2STA.getURXISEL1 : TBits_1; inline;
  35207. begin
  35208. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35209. end;
  35210. procedure TUART3A_U2STA.setUTXISEL0; inline;
  35211. begin
  35212. pTDefRegMap(@Self)^.&set := $00004000;
  35213. end;
  35214. procedure TUART3A_U2STA.clearUTXISEL0; inline;
  35215. begin
  35216. pTDefRegMap(@Self)^.clr := $00004000;
  35217. end;
  35218. procedure TUART3A_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  35219. begin
  35220. if thebits = 0 then
  35221. pTDefRegMap(@Self)^.clr := $00004000
  35222. else
  35223. pTDefRegMap(@Self)^.&set := $00004000;
  35224. end;
  35225. function TUART3A_U2STA.getUTXISEL0 : TBits_1; inline;
  35226. begin
  35227. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35228. end;
  35229. procedure TUART3A_U2STA.setUTXISEL1; inline;
  35230. begin
  35231. pTDefRegMap(@Self)^.&set := $00008000;
  35232. end;
  35233. procedure TUART3A_U2STA.clearUTXISEL1; inline;
  35234. begin
  35235. pTDefRegMap(@Self)^.clr := $00008000;
  35236. end;
  35237. procedure TUART3A_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  35238. begin
  35239. if thebits = 0 then
  35240. pTDefRegMap(@Self)^.clr := $00008000
  35241. else
  35242. pTDefRegMap(@Self)^.&set := $00008000;
  35243. end;
  35244. function TUART3A_U2STA.getUTXISEL1 : TBits_1; inline;
  35245. begin
  35246. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35247. end;
  35248. procedure TUART3A_U2STA.setUTXSEL(thebits : TBits_2); inline;
  35249. begin
  35250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35251. end;
  35252. function TUART3A_U2STA.getUTXSEL : TBits_2; inline;
  35253. begin
  35254. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35255. end;
  35256. procedure TUART3A_U2STA.setw(thebits : TBits_32); inline;
  35257. begin
  35258. pTDefRegMap(@Self)^.val := thebits;
  35259. end;
  35260. function TUART3A_U2STA.getw : TBits_32; inline;
  35261. begin
  35262. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35263. end;
  35264. procedure TUART3A_U3ASTA.setURXDA; inline;
  35265. begin
  35266. pTDefRegMap(@Self)^.&set := $00000001;
  35267. end;
  35268. procedure TUART3A_U3ASTA.clearURXDA; inline;
  35269. begin
  35270. pTDefRegMap(@Self)^.clr := $00000001;
  35271. end;
  35272. procedure TUART3A_U3ASTA.setURXDA(thebits : TBits_1); inline;
  35273. begin
  35274. if thebits = 0 then
  35275. pTDefRegMap(@Self)^.clr := $00000001
  35276. else
  35277. pTDefRegMap(@Self)^.&set := $00000001;
  35278. end;
  35279. function TUART3A_U3ASTA.getURXDA : TBits_1; inline;
  35280. begin
  35281. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35282. end;
  35283. procedure TUART3A_U3ASTA.setOERR; inline;
  35284. begin
  35285. pTDefRegMap(@Self)^.&set := $00000002;
  35286. end;
  35287. procedure TUART3A_U3ASTA.clearOERR; inline;
  35288. begin
  35289. pTDefRegMap(@Self)^.clr := $00000002;
  35290. end;
  35291. procedure TUART3A_U3ASTA.setOERR(thebits : TBits_1); inline;
  35292. begin
  35293. if thebits = 0 then
  35294. pTDefRegMap(@Self)^.clr := $00000002
  35295. else
  35296. pTDefRegMap(@Self)^.&set := $00000002;
  35297. end;
  35298. function TUART3A_U3ASTA.getOERR : TBits_1; inline;
  35299. begin
  35300. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35301. end;
  35302. procedure TUART3A_U3ASTA.setFERR; inline;
  35303. begin
  35304. pTDefRegMap(@Self)^.&set := $00000004;
  35305. end;
  35306. procedure TUART3A_U3ASTA.clearFERR; inline;
  35307. begin
  35308. pTDefRegMap(@Self)^.clr := $00000004;
  35309. end;
  35310. procedure TUART3A_U3ASTA.setFERR(thebits : TBits_1); inline;
  35311. begin
  35312. if thebits = 0 then
  35313. pTDefRegMap(@Self)^.clr := $00000004
  35314. else
  35315. pTDefRegMap(@Self)^.&set := $00000004;
  35316. end;
  35317. function TUART3A_U3ASTA.getFERR : TBits_1; inline;
  35318. begin
  35319. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35320. end;
  35321. procedure TUART3A_U3ASTA.setPERR; inline;
  35322. begin
  35323. pTDefRegMap(@Self)^.&set := $00000008;
  35324. end;
  35325. procedure TUART3A_U3ASTA.clearPERR; inline;
  35326. begin
  35327. pTDefRegMap(@Self)^.clr := $00000008;
  35328. end;
  35329. procedure TUART3A_U3ASTA.setPERR(thebits : TBits_1); inline;
  35330. begin
  35331. if thebits = 0 then
  35332. pTDefRegMap(@Self)^.clr := $00000008
  35333. else
  35334. pTDefRegMap(@Self)^.&set := $00000008;
  35335. end;
  35336. function TUART3A_U3ASTA.getPERR : TBits_1; inline;
  35337. begin
  35338. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35339. end;
  35340. procedure TUART3A_U3ASTA.setRIDLE; inline;
  35341. begin
  35342. pTDefRegMap(@Self)^.&set := $00000010;
  35343. end;
  35344. procedure TUART3A_U3ASTA.clearRIDLE; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.clr := $00000010;
  35347. end;
  35348. procedure TUART3A_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  35349. begin
  35350. if thebits = 0 then
  35351. pTDefRegMap(@Self)^.clr := $00000010
  35352. else
  35353. pTDefRegMap(@Self)^.&set := $00000010;
  35354. end;
  35355. function TUART3A_U3ASTA.getRIDLE : TBits_1; inline;
  35356. begin
  35357. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35358. end;
  35359. procedure TUART3A_U3ASTA.setADDEN; inline;
  35360. begin
  35361. pTDefRegMap(@Self)^.&set := $00000020;
  35362. end;
  35363. procedure TUART3A_U3ASTA.clearADDEN; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.clr := $00000020;
  35366. end;
  35367. procedure TUART3A_U3ASTA.setADDEN(thebits : TBits_1); inline;
  35368. begin
  35369. if thebits = 0 then
  35370. pTDefRegMap(@Self)^.clr := $00000020
  35371. else
  35372. pTDefRegMap(@Self)^.&set := $00000020;
  35373. end;
  35374. function TUART3A_U3ASTA.getADDEN : TBits_1; inline;
  35375. begin
  35376. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35377. end;
  35378. procedure TUART3A_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  35379. begin
  35380. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35381. end;
  35382. function TUART3A_U3ASTA.getURXISEL : TBits_2; inline;
  35383. begin
  35384. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35385. end;
  35386. procedure TUART3A_U3ASTA.setTRMT; inline;
  35387. begin
  35388. pTDefRegMap(@Self)^.&set := $00000100;
  35389. end;
  35390. procedure TUART3A_U3ASTA.clearTRMT; inline;
  35391. begin
  35392. pTDefRegMap(@Self)^.clr := $00000100;
  35393. end;
  35394. procedure TUART3A_U3ASTA.setTRMT(thebits : TBits_1); inline;
  35395. begin
  35396. if thebits = 0 then
  35397. pTDefRegMap(@Self)^.clr := $00000100
  35398. else
  35399. pTDefRegMap(@Self)^.&set := $00000100;
  35400. end;
  35401. function TUART3A_U3ASTA.getTRMT : TBits_1; inline;
  35402. begin
  35403. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35404. end;
  35405. procedure TUART3A_U3ASTA.setUTXBF; inline;
  35406. begin
  35407. pTDefRegMap(@Self)^.&set := $00000200;
  35408. end;
  35409. procedure TUART3A_U3ASTA.clearUTXBF; inline;
  35410. begin
  35411. pTDefRegMap(@Self)^.clr := $00000200;
  35412. end;
  35413. procedure TUART3A_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  35414. begin
  35415. if thebits = 0 then
  35416. pTDefRegMap(@Self)^.clr := $00000200
  35417. else
  35418. pTDefRegMap(@Self)^.&set := $00000200;
  35419. end;
  35420. function TUART3A_U3ASTA.getUTXBF : TBits_1; inline;
  35421. begin
  35422. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35423. end;
  35424. procedure TUART3A_U3ASTA.setUTXEN; inline;
  35425. begin
  35426. pTDefRegMap(@Self)^.&set := $00000400;
  35427. end;
  35428. procedure TUART3A_U3ASTA.clearUTXEN; inline;
  35429. begin
  35430. pTDefRegMap(@Self)^.clr := $00000400;
  35431. end;
  35432. procedure TUART3A_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  35433. begin
  35434. if thebits = 0 then
  35435. pTDefRegMap(@Self)^.clr := $00000400
  35436. else
  35437. pTDefRegMap(@Self)^.&set := $00000400;
  35438. end;
  35439. function TUART3A_U3ASTA.getUTXEN : TBits_1; inline;
  35440. begin
  35441. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35442. end;
  35443. procedure TUART3A_U3ASTA.setUTXBRK; inline;
  35444. begin
  35445. pTDefRegMap(@Self)^.&set := $00000800;
  35446. end;
  35447. procedure TUART3A_U3ASTA.clearUTXBRK; inline;
  35448. begin
  35449. pTDefRegMap(@Self)^.clr := $00000800;
  35450. end;
  35451. procedure TUART3A_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  35452. begin
  35453. if thebits = 0 then
  35454. pTDefRegMap(@Self)^.clr := $00000800
  35455. else
  35456. pTDefRegMap(@Self)^.&set := $00000800;
  35457. end;
  35458. function TUART3A_U3ASTA.getUTXBRK : TBits_1; inline;
  35459. begin
  35460. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35461. end;
  35462. procedure TUART3A_U3ASTA.setURXEN; inline;
  35463. begin
  35464. pTDefRegMap(@Self)^.&set := $00001000;
  35465. end;
  35466. procedure TUART3A_U3ASTA.clearURXEN; inline;
  35467. begin
  35468. pTDefRegMap(@Self)^.clr := $00001000;
  35469. end;
  35470. procedure TUART3A_U3ASTA.setURXEN(thebits : TBits_1); inline;
  35471. begin
  35472. if thebits = 0 then
  35473. pTDefRegMap(@Self)^.clr := $00001000
  35474. else
  35475. pTDefRegMap(@Self)^.&set := $00001000;
  35476. end;
  35477. function TUART3A_U3ASTA.getURXEN : TBits_1; inline;
  35478. begin
  35479. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35480. end;
  35481. procedure TUART3A_U3ASTA.setUTXINV; inline;
  35482. begin
  35483. pTDefRegMap(@Self)^.&set := $00002000;
  35484. end;
  35485. procedure TUART3A_U3ASTA.clearUTXINV; inline;
  35486. begin
  35487. pTDefRegMap(@Self)^.clr := $00002000;
  35488. end;
  35489. procedure TUART3A_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  35490. begin
  35491. if thebits = 0 then
  35492. pTDefRegMap(@Self)^.clr := $00002000
  35493. else
  35494. pTDefRegMap(@Self)^.&set := $00002000;
  35495. end;
  35496. function TUART3A_U3ASTA.getUTXINV : TBits_1; inline;
  35497. begin
  35498. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35499. end;
  35500. procedure TUART3A_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  35501. begin
  35502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35503. end;
  35504. function TUART3A_U3ASTA.getUTXISEL : TBits_2; inline;
  35505. begin
  35506. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35507. end;
  35508. procedure TUART3A_U3ASTA.setADDR(thebits : TBits_8); inline;
  35509. begin
  35510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35511. end;
  35512. function TUART3A_U3ASTA.getADDR : TBits_8; inline;
  35513. begin
  35514. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35515. end;
  35516. procedure TUART3A_U3ASTA.setADM_EN; inline;
  35517. begin
  35518. pTDefRegMap(@Self)^.&set := $01000000;
  35519. end;
  35520. procedure TUART3A_U3ASTA.clearADM_EN; inline;
  35521. begin
  35522. pTDefRegMap(@Self)^.clr := $01000000;
  35523. end;
  35524. procedure TUART3A_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  35525. begin
  35526. if thebits = 0 then
  35527. pTDefRegMap(@Self)^.clr := $01000000
  35528. else
  35529. pTDefRegMap(@Self)^.&set := $01000000;
  35530. end;
  35531. function TUART3A_U3ASTA.getADM_EN : TBits_1; inline;
  35532. begin
  35533. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35534. end;
  35535. procedure TUART3A_U3ASTA.setURXISEL0; inline;
  35536. begin
  35537. pTDefRegMap(@Self)^.&set := $00000040;
  35538. end;
  35539. procedure TUART3A_U3ASTA.clearURXISEL0; inline;
  35540. begin
  35541. pTDefRegMap(@Self)^.clr := $00000040;
  35542. end;
  35543. procedure TUART3A_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  35544. begin
  35545. if thebits = 0 then
  35546. pTDefRegMap(@Self)^.clr := $00000040
  35547. else
  35548. pTDefRegMap(@Self)^.&set := $00000040;
  35549. end;
  35550. function TUART3A_U3ASTA.getURXISEL0 : TBits_1; inline;
  35551. begin
  35552. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35553. end;
  35554. procedure TUART3A_U3ASTA.setURXISEL1; inline;
  35555. begin
  35556. pTDefRegMap(@Self)^.&set := $00000080;
  35557. end;
  35558. procedure TUART3A_U3ASTA.clearURXISEL1; inline;
  35559. begin
  35560. pTDefRegMap(@Self)^.clr := $00000080;
  35561. end;
  35562. procedure TUART3A_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  35563. begin
  35564. if thebits = 0 then
  35565. pTDefRegMap(@Self)^.clr := $00000080
  35566. else
  35567. pTDefRegMap(@Self)^.&set := $00000080;
  35568. end;
  35569. function TUART3A_U3ASTA.getURXISEL1 : TBits_1; inline;
  35570. begin
  35571. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35572. end;
  35573. procedure TUART3A_U3ASTA.setUTXISEL0; inline;
  35574. begin
  35575. pTDefRegMap(@Self)^.&set := $00004000;
  35576. end;
  35577. procedure TUART3A_U3ASTA.clearUTXISEL0; inline;
  35578. begin
  35579. pTDefRegMap(@Self)^.clr := $00004000;
  35580. end;
  35581. procedure TUART3A_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  35582. begin
  35583. if thebits = 0 then
  35584. pTDefRegMap(@Self)^.clr := $00004000
  35585. else
  35586. pTDefRegMap(@Self)^.&set := $00004000;
  35587. end;
  35588. function TUART3A_U3ASTA.getUTXISEL0 : TBits_1; inline;
  35589. begin
  35590. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35591. end;
  35592. procedure TUART3A_U3ASTA.setUTXISEL1; inline;
  35593. begin
  35594. pTDefRegMap(@Self)^.&set := $00008000;
  35595. end;
  35596. procedure TUART3A_U3ASTA.clearUTXISEL1; inline;
  35597. begin
  35598. pTDefRegMap(@Self)^.clr := $00008000;
  35599. end;
  35600. procedure TUART3A_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  35601. begin
  35602. if thebits = 0 then
  35603. pTDefRegMap(@Self)^.clr := $00008000
  35604. else
  35605. pTDefRegMap(@Self)^.&set := $00008000;
  35606. end;
  35607. function TUART3A_U3ASTA.getUTXISEL1 : TBits_1; inline;
  35608. begin
  35609. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35610. end;
  35611. procedure TUART3A_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  35612. begin
  35613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35614. end;
  35615. function TUART3A_U3ASTA.getUTXSEL : TBits_2; inline;
  35616. begin
  35617. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35618. end;
  35619. procedure TUART3A_U3ASTA.setw(thebits : TBits_32); inline;
  35620. begin
  35621. pTDefRegMap(@Self)^.val := thebits;
  35622. end;
  35623. function TUART3A_U3ASTA.getw : TBits_32; inline;
  35624. begin
  35625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35626. end;
  35627. procedure TUART3B_U3BMODE.setSTSEL; inline;
  35628. begin
  35629. pTDefRegMap(@Self)^.&set := $00000001;
  35630. end;
  35631. procedure TUART3B_U3BMODE.clearSTSEL; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.clr := $00000001;
  35634. end;
  35635. procedure TUART3B_U3BMODE.setSTSEL(thebits : TBits_1); inline;
  35636. begin
  35637. if thebits = 0 then
  35638. pTDefRegMap(@Self)^.clr := $00000001
  35639. else
  35640. pTDefRegMap(@Self)^.&set := $00000001;
  35641. end;
  35642. function TUART3B_U3BMODE.getSTSEL : TBits_1; inline;
  35643. begin
  35644. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35645. end;
  35646. procedure TUART3B_U3BMODE.setPDSEL(thebits : TBits_2); inline;
  35647. begin
  35648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35649. end;
  35650. function TUART3B_U3BMODE.getPDSEL : TBits_2; inline;
  35651. begin
  35652. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35653. end;
  35654. procedure TUART3B_U3BMODE.setBRGH; inline;
  35655. begin
  35656. pTDefRegMap(@Self)^.&set := $00000008;
  35657. end;
  35658. procedure TUART3B_U3BMODE.clearBRGH; inline;
  35659. begin
  35660. pTDefRegMap(@Self)^.clr := $00000008;
  35661. end;
  35662. procedure TUART3B_U3BMODE.setBRGH(thebits : TBits_1); inline;
  35663. begin
  35664. if thebits = 0 then
  35665. pTDefRegMap(@Self)^.clr := $00000008
  35666. else
  35667. pTDefRegMap(@Self)^.&set := $00000008;
  35668. end;
  35669. function TUART3B_U3BMODE.getBRGH : TBits_1; inline;
  35670. begin
  35671. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35672. end;
  35673. procedure TUART3B_U3BMODE.setRXINV; inline;
  35674. begin
  35675. pTDefRegMap(@Self)^.&set := $00000010;
  35676. end;
  35677. procedure TUART3B_U3BMODE.clearRXINV; inline;
  35678. begin
  35679. pTDefRegMap(@Self)^.clr := $00000010;
  35680. end;
  35681. procedure TUART3B_U3BMODE.setRXINV(thebits : TBits_1); inline;
  35682. begin
  35683. if thebits = 0 then
  35684. pTDefRegMap(@Self)^.clr := $00000010
  35685. else
  35686. pTDefRegMap(@Self)^.&set := $00000010;
  35687. end;
  35688. function TUART3B_U3BMODE.getRXINV : TBits_1; inline;
  35689. begin
  35690. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35691. end;
  35692. procedure TUART3B_U3BMODE.setABAUD; inline;
  35693. begin
  35694. pTDefRegMap(@Self)^.&set := $00000020;
  35695. end;
  35696. procedure TUART3B_U3BMODE.clearABAUD; inline;
  35697. begin
  35698. pTDefRegMap(@Self)^.clr := $00000020;
  35699. end;
  35700. procedure TUART3B_U3BMODE.setABAUD(thebits : TBits_1); inline;
  35701. begin
  35702. if thebits = 0 then
  35703. pTDefRegMap(@Self)^.clr := $00000020
  35704. else
  35705. pTDefRegMap(@Self)^.&set := $00000020;
  35706. end;
  35707. function TUART3B_U3BMODE.getABAUD : TBits_1; inline;
  35708. begin
  35709. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35710. end;
  35711. procedure TUART3B_U3BMODE.setLPBACK; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.&set := $00000040;
  35714. end;
  35715. procedure TUART3B_U3BMODE.clearLPBACK; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.clr := $00000040;
  35718. end;
  35719. procedure TUART3B_U3BMODE.setLPBACK(thebits : TBits_1); inline;
  35720. begin
  35721. if thebits = 0 then
  35722. pTDefRegMap(@Self)^.clr := $00000040
  35723. else
  35724. pTDefRegMap(@Self)^.&set := $00000040;
  35725. end;
  35726. function TUART3B_U3BMODE.getLPBACK : TBits_1; inline;
  35727. begin
  35728. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35729. end;
  35730. procedure TUART3B_U3BMODE.setWAKE; inline;
  35731. begin
  35732. pTDefRegMap(@Self)^.&set := $00000080;
  35733. end;
  35734. procedure TUART3B_U3BMODE.clearWAKE; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.clr := $00000080;
  35737. end;
  35738. procedure TUART3B_U3BMODE.setWAKE(thebits : TBits_1); inline;
  35739. begin
  35740. if thebits = 0 then
  35741. pTDefRegMap(@Self)^.clr := $00000080
  35742. else
  35743. pTDefRegMap(@Self)^.&set := $00000080;
  35744. end;
  35745. function TUART3B_U3BMODE.getWAKE : TBits_1; inline;
  35746. begin
  35747. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35748. end;
  35749. procedure TUART3B_U3BMODE.setIREN; inline;
  35750. begin
  35751. pTDefRegMap(@Self)^.&set := $00001000;
  35752. end;
  35753. procedure TUART3B_U3BMODE.clearIREN; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.clr := $00001000;
  35756. end;
  35757. procedure TUART3B_U3BMODE.setIREN(thebits : TBits_1); inline;
  35758. begin
  35759. if thebits = 0 then
  35760. pTDefRegMap(@Self)^.clr := $00001000
  35761. else
  35762. pTDefRegMap(@Self)^.&set := $00001000;
  35763. end;
  35764. function TUART3B_U3BMODE.getIREN : TBits_1; inline;
  35765. begin
  35766. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35767. end;
  35768. procedure TUART3B_U3BMODE.setSIDL; inline;
  35769. begin
  35770. pTDefRegMap(@Self)^.&set := $00002000;
  35771. end;
  35772. procedure TUART3B_U3BMODE.clearSIDL; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.clr := $00002000;
  35775. end;
  35776. procedure TUART3B_U3BMODE.setSIDL(thebits : TBits_1); inline;
  35777. begin
  35778. if thebits = 0 then
  35779. pTDefRegMap(@Self)^.clr := $00002000
  35780. else
  35781. pTDefRegMap(@Self)^.&set := $00002000;
  35782. end;
  35783. function TUART3B_U3BMODE.getSIDL : TBits_1; inline;
  35784. begin
  35785. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35786. end;
  35787. procedure TUART3B_U3BMODE.setON; inline;
  35788. begin
  35789. pTDefRegMap(@Self)^.&set := $00008000;
  35790. end;
  35791. procedure TUART3B_U3BMODE.clearON; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.clr := $00008000;
  35794. end;
  35795. procedure TUART3B_U3BMODE.setON(thebits : TBits_1); inline;
  35796. begin
  35797. if thebits = 0 then
  35798. pTDefRegMap(@Self)^.clr := $00008000
  35799. else
  35800. pTDefRegMap(@Self)^.&set := $00008000;
  35801. end;
  35802. function TUART3B_U3BMODE.getON : TBits_1; inline;
  35803. begin
  35804. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35805. end;
  35806. procedure TUART3B_U3BMODE.setPDSEL0; inline;
  35807. begin
  35808. pTDefRegMap(@Self)^.&set := $00000002;
  35809. end;
  35810. procedure TUART3B_U3BMODE.clearPDSEL0; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.clr := $00000002;
  35813. end;
  35814. procedure TUART3B_U3BMODE.setPDSEL0(thebits : TBits_1); inline;
  35815. begin
  35816. if thebits = 0 then
  35817. pTDefRegMap(@Self)^.clr := $00000002
  35818. else
  35819. pTDefRegMap(@Self)^.&set := $00000002;
  35820. end;
  35821. function TUART3B_U3BMODE.getPDSEL0 : TBits_1; inline;
  35822. begin
  35823. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35824. end;
  35825. procedure TUART3B_U3BMODE.setPDSEL1; inline;
  35826. begin
  35827. pTDefRegMap(@Self)^.&set := $00000004;
  35828. end;
  35829. procedure TUART3B_U3BMODE.clearPDSEL1; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.clr := $00000004;
  35832. end;
  35833. procedure TUART3B_U3BMODE.setPDSEL1(thebits : TBits_1); inline;
  35834. begin
  35835. if thebits = 0 then
  35836. pTDefRegMap(@Self)^.clr := $00000004
  35837. else
  35838. pTDefRegMap(@Self)^.&set := $00000004;
  35839. end;
  35840. function TUART3B_U3BMODE.getPDSEL1 : TBits_1; inline;
  35841. begin
  35842. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35843. end;
  35844. procedure TUART3B_U3BMODE.setUSIDL; inline;
  35845. begin
  35846. pTDefRegMap(@Self)^.&set := $00002000;
  35847. end;
  35848. procedure TUART3B_U3BMODE.clearUSIDL; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.clr := $00002000;
  35851. end;
  35852. procedure TUART3B_U3BMODE.setUSIDL(thebits : TBits_1); inline;
  35853. begin
  35854. if thebits = 0 then
  35855. pTDefRegMap(@Self)^.clr := $00002000
  35856. else
  35857. pTDefRegMap(@Self)^.&set := $00002000;
  35858. end;
  35859. function TUART3B_U3BMODE.getUSIDL : TBits_1; inline;
  35860. begin
  35861. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35862. end;
  35863. procedure TUART3B_U3BMODE.setUARTEN; inline;
  35864. begin
  35865. pTDefRegMap(@Self)^.&set := $00008000;
  35866. end;
  35867. procedure TUART3B_U3BMODE.clearUARTEN; inline;
  35868. begin
  35869. pTDefRegMap(@Self)^.clr := $00008000;
  35870. end;
  35871. procedure TUART3B_U3BMODE.setUARTEN(thebits : TBits_1); inline;
  35872. begin
  35873. if thebits = 0 then
  35874. pTDefRegMap(@Self)^.clr := $00008000
  35875. else
  35876. pTDefRegMap(@Self)^.&set := $00008000;
  35877. end;
  35878. function TUART3B_U3BMODE.getUARTEN : TBits_1; inline;
  35879. begin
  35880. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35881. end;
  35882. procedure TUART3B_U3BMODE.setw(thebits : TBits_32); inline;
  35883. begin
  35884. pTDefRegMap(@Self)^.val := thebits;
  35885. end;
  35886. function TUART3B_U3BMODE.getw : TBits_32; inline;
  35887. begin
  35888. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35889. end;
  35890. procedure TUART3B_U5MODE.setSTSEL; inline;
  35891. begin
  35892. pTDefRegMap(@Self)^.&set := $00000001;
  35893. end;
  35894. procedure TUART3B_U5MODE.clearSTSEL; inline;
  35895. begin
  35896. pTDefRegMap(@Self)^.clr := $00000001;
  35897. end;
  35898. procedure TUART3B_U5MODE.setSTSEL(thebits : TBits_1); inline;
  35899. begin
  35900. if thebits = 0 then
  35901. pTDefRegMap(@Self)^.clr := $00000001
  35902. else
  35903. pTDefRegMap(@Self)^.&set := $00000001;
  35904. end;
  35905. function TUART3B_U5MODE.getSTSEL : TBits_1; inline;
  35906. begin
  35907. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35908. end;
  35909. procedure TUART3B_U5MODE.setPDSEL(thebits : TBits_2); inline;
  35910. begin
  35911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35912. end;
  35913. function TUART3B_U5MODE.getPDSEL : TBits_2; inline;
  35914. begin
  35915. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35916. end;
  35917. procedure TUART3B_U5MODE.setBRGH; inline;
  35918. begin
  35919. pTDefRegMap(@Self)^.&set := $00000008;
  35920. end;
  35921. procedure TUART3B_U5MODE.clearBRGH; inline;
  35922. begin
  35923. pTDefRegMap(@Self)^.clr := $00000008;
  35924. end;
  35925. procedure TUART3B_U5MODE.setBRGH(thebits : TBits_1); inline;
  35926. begin
  35927. if thebits = 0 then
  35928. pTDefRegMap(@Self)^.clr := $00000008
  35929. else
  35930. pTDefRegMap(@Self)^.&set := $00000008;
  35931. end;
  35932. function TUART3B_U5MODE.getBRGH : TBits_1; inline;
  35933. begin
  35934. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35935. end;
  35936. procedure TUART3B_U5MODE.setRXINV; inline;
  35937. begin
  35938. pTDefRegMap(@Self)^.&set := $00000010;
  35939. end;
  35940. procedure TUART3B_U5MODE.clearRXINV; inline;
  35941. begin
  35942. pTDefRegMap(@Self)^.clr := $00000010;
  35943. end;
  35944. procedure TUART3B_U5MODE.setRXINV(thebits : TBits_1); inline;
  35945. begin
  35946. if thebits = 0 then
  35947. pTDefRegMap(@Self)^.clr := $00000010
  35948. else
  35949. pTDefRegMap(@Self)^.&set := $00000010;
  35950. end;
  35951. function TUART3B_U5MODE.getRXINV : TBits_1; inline;
  35952. begin
  35953. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35954. end;
  35955. procedure TUART3B_U5MODE.setABAUD; inline;
  35956. begin
  35957. pTDefRegMap(@Self)^.&set := $00000020;
  35958. end;
  35959. procedure TUART3B_U5MODE.clearABAUD; inline;
  35960. begin
  35961. pTDefRegMap(@Self)^.clr := $00000020;
  35962. end;
  35963. procedure TUART3B_U5MODE.setABAUD(thebits : TBits_1); inline;
  35964. begin
  35965. if thebits = 0 then
  35966. pTDefRegMap(@Self)^.clr := $00000020
  35967. else
  35968. pTDefRegMap(@Self)^.&set := $00000020;
  35969. end;
  35970. function TUART3B_U5MODE.getABAUD : TBits_1; inline;
  35971. begin
  35972. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35973. end;
  35974. procedure TUART3B_U5MODE.setLPBACK; inline;
  35975. begin
  35976. pTDefRegMap(@Self)^.&set := $00000040;
  35977. end;
  35978. procedure TUART3B_U5MODE.clearLPBACK; inline;
  35979. begin
  35980. pTDefRegMap(@Self)^.clr := $00000040;
  35981. end;
  35982. procedure TUART3B_U5MODE.setLPBACK(thebits : TBits_1); inline;
  35983. begin
  35984. if thebits = 0 then
  35985. pTDefRegMap(@Self)^.clr := $00000040
  35986. else
  35987. pTDefRegMap(@Self)^.&set := $00000040;
  35988. end;
  35989. function TUART3B_U5MODE.getLPBACK : TBits_1; inline;
  35990. begin
  35991. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35992. end;
  35993. procedure TUART3B_U5MODE.setWAKE; inline;
  35994. begin
  35995. pTDefRegMap(@Self)^.&set := $00000080;
  35996. end;
  35997. procedure TUART3B_U5MODE.clearWAKE; inline;
  35998. begin
  35999. pTDefRegMap(@Self)^.clr := $00000080;
  36000. end;
  36001. procedure TUART3B_U5MODE.setWAKE(thebits : TBits_1); inline;
  36002. begin
  36003. if thebits = 0 then
  36004. pTDefRegMap(@Self)^.clr := $00000080
  36005. else
  36006. pTDefRegMap(@Self)^.&set := $00000080;
  36007. end;
  36008. function TUART3B_U5MODE.getWAKE : TBits_1; inline;
  36009. begin
  36010. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36011. end;
  36012. procedure TUART3B_U5MODE.setIREN; inline;
  36013. begin
  36014. pTDefRegMap(@Self)^.&set := $00001000;
  36015. end;
  36016. procedure TUART3B_U5MODE.clearIREN; inline;
  36017. begin
  36018. pTDefRegMap(@Self)^.clr := $00001000;
  36019. end;
  36020. procedure TUART3B_U5MODE.setIREN(thebits : TBits_1); inline;
  36021. begin
  36022. if thebits = 0 then
  36023. pTDefRegMap(@Self)^.clr := $00001000
  36024. else
  36025. pTDefRegMap(@Self)^.&set := $00001000;
  36026. end;
  36027. function TUART3B_U5MODE.getIREN : TBits_1; inline;
  36028. begin
  36029. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36030. end;
  36031. procedure TUART3B_U5MODE.setSIDL; inline;
  36032. begin
  36033. pTDefRegMap(@Self)^.&set := $00002000;
  36034. end;
  36035. procedure TUART3B_U5MODE.clearSIDL; inline;
  36036. begin
  36037. pTDefRegMap(@Self)^.clr := $00002000;
  36038. end;
  36039. procedure TUART3B_U5MODE.setSIDL(thebits : TBits_1); inline;
  36040. begin
  36041. if thebits = 0 then
  36042. pTDefRegMap(@Self)^.clr := $00002000
  36043. else
  36044. pTDefRegMap(@Self)^.&set := $00002000;
  36045. end;
  36046. function TUART3B_U5MODE.getSIDL : TBits_1; inline;
  36047. begin
  36048. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36049. end;
  36050. procedure TUART3B_U5MODE.setON; inline;
  36051. begin
  36052. pTDefRegMap(@Self)^.&set := $00008000;
  36053. end;
  36054. procedure TUART3B_U5MODE.clearON; inline;
  36055. begin
  36056. pTDefRegMap(@Self)^.clr := $00008000;
  36057. end;
  36058. procedure TUART3B_U5MODE.setON(thebits : TBits_1); inline;
  36059. begin
  36060. if thebits = 0 then
  36061. pTDefRegMap(@Self)^.clr := $00008000
  36062. else
  36063. pTDefRegMap(@Self)^.&set := $00008000;
  36064. end;
  36065. function TUART3B_U5MODE.getON : TBits_1; inline;
  36066. begin
  36067. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36068. end;
  36069. procedure TUART3B_U5MODE.setPDSEL0; inline;
  36070. begin
  36071. pTDefRegMap(@Self)^.&set := $00000002;
  36072. end;
  36073. procedure TUART3B_U5MODE.clearPDSEL0; inline;
  36074. begin
  36075. pTDefRegMap(@Self)^.clr := $00000002;
  36076. end;
  36077. procedure TUART3B_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  36078. begin
  36079. if thebits = 0 then
  36080. pTDefRegMap(@Self)^.clr := $00000002
  36081. else
  36082. pTDefRegMap(@Self)^.&set := $00000002;
  36083. end;
  36084. function TUART3B_U5MODE.getPDSEL0 : TBits_1; inline;
  36085. begin
  36086. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36087. end;
  36088. procedure TUART3B_U5MODE.setPDSEL1; inline;
  36089. begin
  36090. pTDefRegMap(@Self)^.&set := $00000004;
  36091. end;
  36092. procedure TUART3B_U5MODE.clearPDSEL1; inline;
  36093. begin
  36094. pTDefRegMap(@Self)^.clr := $00000004;
  36095. end;
  36096. procedure TUART3B_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  36097. begin
  36098. if thebits = 0 then
  36099. pTDefRegMap(@Self)^.clr := $00000004
  36100. else
  36101. pTDefRegMap(@Self)^.&set := $00000004;
  36102. end;
  36103. function TUART3B_U5MODE.getPDSEL1 : TBits_1; inline;
  36104. begin
  36105. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36106. end;
  36107. procedure TUART3B_U5MODE.setUSIDL; inline;
  36108. begin
  36109. pTDefRegMap(@Self)^.&set := $00002000;
  36110. end;
  36111. procedure TUART3B_U5MODE.clearUSIDL; inline;
  36112. begin
  36113. pTDefRegMap(@Self)^.clr := $00002000;
  36114. end;
  36115. procedure TUART3B_U5MODE.setUSIDL(thebits : TBits_1); inline;
  36116. begin
  36117. if thebits = 0 then
  36118. pTDefRegMap(@Self)^.clr := $00002000
  36119. else
  36120. pTDefRegMap(@Self)^.&set := $00002000;
  36121. end;
  36122. function TUART3B_U5MODE.getUSIDL : TBits_1; inline;
  36123. begin
  36124. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36125. end;
  36126. procedure TUART3B_U5MODE.setUARTEN; inline;
  36127. begin
  36128. pTDefRegMap(@Self)^.&set := $00008000;
  36129. end;
  36130. procedure TUART3B_U5MODE.clearUARTEN; inline;
  36131. begin
  36132. pTDefRegMap(@Self)^.clr := $00008000;
  36133. end;
  36134. procedure TUART3B_U5MODE.setUARTEN(thebits : TBits_1); inline;
  36135. begin
  36136. if thebits = 0 then
  36137. pTDefRegMap(@Self)^.clr := $00008000
  36138. else
  36139. pTDefRegMap(@Self)^.&set := $00008000;
  36140. end;
  36141. function TUART3B_U5MODE.getUARTEN : TBits_1; inline;
  36142. begin
  36143. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36144. end;
  36145. procedure TUART3B_U5MODE.setw(thebits : TBits_32); inline;
  36146. begin
  36147. pTDefRegMap(@Self)^.val := thebits;
  36148. end;
  36149. function TUART3B_U5MODE.getw : TBits_32; inline;
  36150. begin
  36151. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36152. end;
  36153. procedure TUART3B_U3BSTA.setURXDA; inline;
  36154. begin
  36155. pTDefRegMap(@Self)^.&set := $00000001;
  36156. end;
  36157. procedure TUART3B_U3BSTA.clearURXDA; inline;
  36158. begin
  36159. pTDefRegMap(@Self)^.clr := $00000001;
  36160. end;
  36161. procedure TUART3B_U3BSTA.setURXDA(thebits : TBits_1); inline;
  36162. begin
  36163. if thebits = 0 then
  36164. pTDefRegMap(@Self)^.clr := $00000001
  36165. else
  36166. pTDefRegMap(@Self)^.&set := $00000001;
  36167. end;
  36168. function TUART3B_U3BSTA.getURXDA : TBits_1; inline;
  36169. begin
  36170. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36171. end;
  36172. procedure TUART3B_U3BSTA.setOERR; inline;
  36173. begin
  36174. pTDefRegMap(@Self)^.&set := $00000002;
  36175. end;
  36176. procedure TUART3B_U3BSTA.clearOERR; inline;
  36177. begin
  36178. pTDefRegMap(@Self)^.clr := $00000002;
  36179. end;
  36180. procedure TUART3B_U3BSTA.setOERR(thebits : TBits_1); inline;
  36181. begin
  36182. if thebits = 0 then
  36183. pTDefRegMap(@Self)^.clr := $00000002
  36184. else
  36185. pTDefRegMap(@Self)^.&set := $00000002;
  36186. end;
  36187. function TUART3B_U3BSTA.getOERR : TBits_1; inline;
  36188. begin
  36189. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36190. end;
  36191. procedure TUART3B_U3BSTA.setFERR; inline;
  36192. begin
  36193. pTDefRegMap(@Self)^.&set := $00000004;
  36194. end;
  36195. procedure TUART3B_U3BSTA.clearFERR; inline;
  36196. begin
  36197. pTDefRegMap(@Self)^.clr := $00000004;
  36198. end;
  36199. procedure TUART3B_U3BSTA.setFERR(thebits : TBits_1); inline;
  36200. begin
  36201. if thebits = 0 then
  36202. pTDefRegMap(@Self)^.clr := $00000004
  36203. else
  36204. pTDefRegMap(@Self)^.&set := $00000004;
  36205. end;
  36206. function TUART3B_U3BSTA.getFERR : TBits_1; inline;
  36207. begin
  36208. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36209. end;
  36210. procedure TUART3B_U3BSTA.setPERR; inline;
  36211. begin
  36212. pTDefRegMap(@Self)^.&set := $00000008;
  36213. end;
  36214. procedure TUART3B_U3BSTA.clearPERR; inline;
  36215. begin
  36216. pTDefRegMap(@Self)^.clr := $00000008;
  36217. end;
  36218. procedure TUART3B_U3BSTA.setPERR(thebits : TBits_1); inline;
  36219. begin
  36220. if thebits = 0 then
  36221. pTDefRegMap(@Self)^.clr := $00000008
  36222. else
  36223. pTDefRegMap(@Self)^.&set := $00000008;
  36224. end;
  36225. function TUART3B_U3BSTA.getPERR : TBits_1; inline;
  36226. begin
  36227. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36228. end;
  36229. procedure TUART3B_U3BSTA.setRIDLE; inline;
  36230. begin
  36231. pTDefRegMap(@Self)^.&set := $00000010;
  36232. end;
  36233. procedure TUART3B_U3BSTA.clearRIDLE; inline;
  36234. begin
  36235. pTDefRegMap(@Self)^.clr := $00000010;
  36236. end;
  36237. procedure TUART3B_U3BSTA.setRIDLE(thebits : TBits_1); inline;
  36238. begin
  36239. if thebits = 0 then
  36240. pTDefRegMap(@Self)^.clr := $00000010
  36241. else
  36242. pTDefRegMap(@Self)^.&set := $00000010;
  36243. end;
  36244. function TUART3B_U3BSTA.getRIDLE : TBits_1; inline;
  36245. begin
  36246. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36247. end;
  36248. procedure TUART3B_U3BSTA.setADDEN; inline;
  36249. begin
  36250. pTDefRegMap(@Self)^.&set := $00000020;
  36251. end;
  36252. procedure TUART3B_U3BSTA.clearADDEN; inline;
  36253. begin
  36254. pTDefRegMap(@Self)^.clr := $00000020;
  36255. end;
  36256. procedure TUART3B_U3BSTA.setADDEN(thebits : TBits_1); inline;
  36257. begin
  36258. if thebits = 0 then
  36259. pTDefRegMap(@Self)^.clr := $00000020
  36260. else
  36261. pTDefRegMap(@Self)^.&set := $00000020;
  36262. end;
  36263. function TUART3B_U3BSTA.getADDEN : TBits_1; inline;
  36264. begin
  36265. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36266. end;
  36267. procedure TUART3B_U3BSTA.setURXISEL(thebits : TBits_2); inline;
  36268. begin
  36269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36270. end;
  36271. function TUART3B_U3BSTA.getURXISEL : TBits_2; inline;
  36272. begin
  36273. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36274. end;
  36275. procedure TUART3B_U3BSTA.setTRMT; inline;
  36276. begin
  36277. pTDefRegMap(@Self)^.&set := $00000100;
  36278. end;
  36279. procedure TUART3B_U3BSTA.clearTRMT; inline;
  36280. begin
  36281. pTDefRegMap(@Self)^.clr := $00000100;
  36282. end;
  36283. procedure TUART3B_U3BSTA.setTRMT(thebits : TBits_1); inline;
  36284. begin
  36285. if thebits = 0 then
  36286. pTDefRegMap(@Self)^.clr := $00000100
  36287. else
  36288. pTDefRegMap(@Self)^.&set := $00000100;
  36289. end;
  36290. function TUART3B_U3BSTA.getTRMT : TBits_1; inline;
  36291. begin
  36292. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36293. end;
  36294. procedure TUART3B_U3BSTA.setUTXBF; inline;
  36295. begin
  36296. pTDefRegMap(@Self)^.&set := $00000200;
  36297. end;
  36298. procedure TUART3B_U3BSTA.clearUTXBF; inline;
  36299. begin
  36300. pTDefRegMap(@Self)^.clr := $00000200;
  36301. end;
  36302. procedure TUART3B_U3BSTA.setUTXBF(thebits : TBits_1); inline;
  36303. begin
  36304. if thebits = 0 then
  36305. pTDefRegMap(@Self)^.clr := $00000200
  36306. else
  36307. pTDefRegMap(@Self)^.&set := $00000200;
  36308. end;
  36309. function TUART3B_U3BSTA.getUTXBF : TBits_1; inline;
  36310. begin
  36311. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36312. end;
  36313. procedure TUART3B_U3BSTA.setUTXEN; inline;
  36314. begin
  36315. pTDefRegMap(@Self)^.&set := $00000400;
  36316. end;
  36317. procedure TUART3B_U3BSTA.clearUTXEN; inline;
  36318. begin
  36319. pTDefRegMap(@Self)^.clr := $00000400;
  36320. end;
  36321. procedure TUART3B_U3BSTA.setUTXEN(thebits : TBits_1); inline;
  36322. begin
  36323. if thebits = 0 then
  36324. pTDefRegMap(@Self)^.clr := $00000400
  36325. else
  36326. pTDefRegMap(@Self)^.&set := $00000400;
  36327. end;
  36328. function TUART3B_U3BSTA.getUTXEN : TBits_1; inline;
  36329. begin
  36330. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36331. end;
  36332. procedure TUART3B_U3BSTA.setUTXBRK; inline;
  36333. begin
  36334. pTDefRegMap(@Self)^.&set := $00000800;
  36335. end;
  36336. procedure TUART3B_U3BSTA.clearUTXBRK; inline;
  36337. begin
  36338. pTDefRegMap(@Self)^.clr := $00000800;
  36339. end;
  36340. procedure TUART3B_U3BSTA.setUTXBRK(thebits : TBits_1); inline;
  36341. begin
  36342. if thebits = 0 then
  36343. pTDefRegMap(@Self)^.clr := $00000800
  36344. else
  36345. pTDefRegMap(@Self)^.&set := $00000800;
  36346. end;
  36347. function TUART3B_U3BSTA.getUTXBRK : TBits_1; inline;
  36348. begin
  36349. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36350. end;
  36351. procedure TUART3B_U3BSTA.setURXEN; inline;
  36352. begin
  36353. pTDefRegMap(@Self)^.&set := $00001000;
  36354. end;
  36355. procedure TUART3B_U3BSTA.clearURXEN; inline;
  36356. begin
  36357. pTDefRegMap(@Self)^.clr := $00001000;
  36358. end;
  36359. procedure TUART3B_U3BSTA.setURXEN(thebits : TBits_1); inline;
  36360. begin
  36361. if thebits = 0 then
  36362. pTDefRegMap(@Self)^.clr := $00001000
  36363. else
  36364. pTDefRegMap(@Self)^.&set := $00001000;
  36365. end;
  36366. function TUART3B_U3BSTA.getURXEN : TBits_1; inline;
  36367. begin
  36368. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36369. end;
  36370. procedure TUART3B_U3BSTA.setUTXINV; inline;
  36371. begin
  36372. pTDefRegMap(@Self)^.&set := $00002000;
  36373. end;
  36374. procedure TUART3B_U3BSTA.clearUTXINV; inline;
  36375. begin
  36376. pTDefRegMap(@Self)^.clr := $00002000;
  36377. end;
  36378. procedure TUART3B_U3BSTA.setUTXINV(thebits : TBits_1); inline;
  36379. begin
  36380. if thebits = 0 then
  36381. pTDefRegMap(@Self)^.clr := $00002000
  36382. else
  36383. pTDefRegMap(@Self)^.&set := $00002000;
  36384. end;
  36385. function TUART3B_U3BSTA.getUTXINV : TBits_1; inline;
  36386. begin
  36387. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36388. end;
  36389. procedure TUART3B_U3BSTA.setUTXISEL(thebits : TBits_2); inline;
  36390. begin
  36391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36392. end;
  36393. function TUART3B_U3BSTA.getUTXISEL : TBits_2; inline;
  36394. begin
  36395. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36396. end;
  36397. procedure TUART3B_U3BSTA.setADDR(thebits : TBits_8); inline;
  36398. begin
  36399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36400. end;
  36401. function TUART3B_U3BSTA.getADDR : TBits_8; inline;
  36402. begin
  36403. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36404. end;
  36405. procedure TUART3B_U3BSTA.setADM_EN; inline;
  36406. begin
  36407. pTDefRegMap(@Self)^.&set := $01000000;
  36408. end;
  36409. procedure TUART3B_U3BSTA.clearADM_EN; inline;
  36410. begin
  36411. pTDefRegMap(@Self)^.clr := $01000000;
  36412. end;
  36413. procedure TUART3B_U3BSTA.setADM_EN(thebits : TBits_1); inline;
  36414. begin
  36415. if thebits = 0 then
  36416. pTDefRegMap(@Self)^.clr := $01000000
  36417. else
  36418. pTDefRegMap(@Self)^.&set := $01000000;
  36419. end;
  36420. function TUART3B_U3BSTA.getADM_EN : TBits_1; inline;
  36421. begin
  36422. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36423. end;
  36424. procedure TUART3B_U3BSTA.setURXISEL0; inline;
  36425. begin
  36426. pTDefRegMap(@Self)^.&set := $00000040;
  36427. end;
  36428. procedure TUART3B_U3BSTA.clearURXISEL0; inline;
  36429. begin
  36430. pTDefRegMap(@Self)^.clr := $00000040;
  36431. end;
  36432. procedure TUART3B_U3BSTA.setURXISEL0(thebits : TBits_1); inline;
  36433. begin
  36434. if thebits = 0 then
  36435. pTDefRegMap(@Self)^.clr := $00000040
  36436. else
  36437. pTDefRegMap(@Self)^.&set := $00000040;
  36438. end;
  36439. function TUART3B_U3BSTA.getURXISEL0 : TBits_1; inline;
  36440. begin
  36441. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36442. end;
  36443. procedure TUART3B_U3BSTA.setURXISEL1; inline;
  36444. begin
  36445. pTDefRegMap(@Self)^.&set := $00000080;
  36446. end;
  36447. procedure TUART3B_U3BSTA.clearURXISEL1; inline;
  36448. begin
  36449. pTDefRegMap(@Self)^.clr := $00000080;
  36450. end;
  36451. procedure TUART3B_U3BSTA.setURXISEL1(thebits : TBits_1); inline;
  36452. begin
  36453. if thebits = 0 then
  36454. pTDefRegMap(@Self)^.clr := $00000080
  36455. else
  36456. pTDefRegMap(@Self)^.&set := $00000080;
  36457. end;
  36458. function TUART3B_U3BSTA.getURXISEL1 : TBits_1; inline;
  36459. begin
  36460. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36461. end;
  36462. procedure TUART3B_U3BSTA.setUTXISEL0; inline;
  36463. begin
  36464. pTDefRegMap(@Self)^.&set := $00004000;
  36465. end;
  36466. procedure TUART3B_U3BSTA.clearUTXISEL0; inline;
  36467. begin
  36468. pTDefRegMap(@Self)^.clr := $00004000;
  36469. end;
  36470. procedure TUART3B_U3BSTA.setUTXISEL0(thebits : TBits_1); inline;
  36471. begin
  36472. if thebits = 0 then
  36473. pTDefRegMap(@Self)^.clr := $00004000
  36474. else
  36475. pTDefRegMap(@Self)^.&set := $00004000;
  36476. end;
  36477. function TUART3B_U3BSTA.getUTXISEL0 : TBits_1; inline;
  36478. begin
  36479. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36480. end;
  36481. procedure TUART3B_U3BSTA.setUTXISEL1; inline;
  36482. begin
  36483. pTDefRegMap(@Self)^.&set := $00008000;
  36484. end;
  36485. procedure TUART3B_U3BSTA.clearUTXISEL1; inline;
  36486. begin
  36487. pTDefRegMap(@Self)^.clr := $00008000;
  36488. end;
  36489. procedure TUART3B_U3BSTA.setUTXISEL1(thebits : TBits_1); inline;
  36490. begin
  36491. if thebits = 0 then
  36492. pTDefRegMap(@Self)^.clr := $00008000
  36493. else
  36494. pTDefRegMap(@Self)^.&set := $00008000;
  36495. end;
  36496. function TUART3B_U3BSTA.getUTXISEL1 : TBits_1; inline;
  36497. begin
  36498. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36499. end;
  36500. procedure TUART3B_U3BSTA.setUTXSEL(thebits : TBits_2); inline;
  36501. begin
  36502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36503. end;
  36504. function TUART3B_U3BSTA.getUTXSEL : TBits_2; inline;
  36505. begin
  36506. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36507. end;
  36508. procedure TUART3B_U3BSTA.setw(thebits : TBits_32); inline;
  36509. begin
  36510. pTDefRegMap(@Self)^.val := thebits;
  36511. end;
  36512. function TUART3B_U3BSTA.getw : TBits_32; inline;
  36513. begin
  36514. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36515. end;
  36516. procedure TUART3B_U5STA.setURXDA; inline;
  36517. begin
  36518. pTDefRegMap(@Self)^.&set := $00000001;
  36519. end;
  36520. procedure TUART3B_U5STA.clearURXDA; inline;
  36521. begin
  36522. pTDefRegMap(@Self)^.clr := $00000001;
  36523. end;
  36524. procedure TUART3B_U5STA.setURXDA(thebits : TBits_1); inline;
  36525. begin
  36526. if thebits = 0 then
  36527. pTDefRegMap(@Self)^.clr := $00000001
  36528. else
  36529. pTDefRegMap(@Self)^.&set := $00000001;
  36530. end;
  36531. function TUART3B_U5STA.getURXDA : TBits_1; inline;
  36532. begin
  36533. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36534. end;
  36535. procedure TUART3B_U5STA.setOERR; inline;
  36536. begin
  36537. pTDefRegMap(@Self)^.&set := $00000002;
  36538. end;
  36539. procedure TUART3B_U5STA.clearOERR; inline;
  36540. begin
  36541. pTDefRegMap(@Self)^.clr := $00000002;
  36542. end;
  36543. procedure TUART3B_U5STA.setOERR(thebits : TBits_1); inline;
  36544. begin
  36545. if thebits = 0 then
  36546. pTDefRegMap(@Self)^.clr := $00000002
  36547. else
  36548. pTDefRegMap(@Self)^.&set := $00000002;
  36549. end;
  36550. function TUART3B_U5STA.getOERR : TBits_1; inline;
  36551. begin
  36552. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36553. end;
  36554. procedure TUART3B_U5STA.setFERR; inline;
  36555. begin
  36556. pTDefRegMap(@Self)^.&set := $00000004;
  36557. end;
  36558. procedure TUART3B_U5STA.clearFERR; inline;
  36559. begin
  36560. pTDefRegMap(@Self)^.clr := $00000004;
  36561. end;
  36562. procedure TUART3B_U5STA.setFERR(thebits : TBits_1); inline;
  36563. begin
  36564. if thebits = 0 then
  36565. pTDefRegMap(@Self)^.clr := $00000004
  36566. else
  36567. pTDefRegMap(@Self)^.&set := $00000004;
  36568. end;
  36569. function TUART3B_U5STA.getFERR : TBits_1; inline;
  36570. begin
  36571. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36572. end;
  36573. procedure TUART3B_U5STA.setPERR; inline;
  36574. begin
  36575. pTDefRegMap(@Self)^.&set := $00000008;
  36576. end;
  36577. procedure TUART3B_U5STA.clearPERR; inline;
  36578. begin
  36579. pTDefRegMap(@Self)^.clr := $00000008;
  36580. end;
  36581. procedure TUART3B_U5STA.setPERR(thebits : TBits_1); inline;
  36582. begin
  36583. if thebits = 0 then
  36584. pTDefRegMap(@Self)^.clr := $00000008
  36585. else
  36586. pTDefRegMap(@Self)^.&set := $00000008;
  36587. end;
  36588. function TUART3B_U5STA.getPERR : TBits_1; inline;
  36589. begin
  36590. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36591. end;
  36592. procedure TUART3B_U5STA.setRIDLE; inline;
  36593. begin
  36594. pTDefRegMap(@Self)^.&set := $00000010;
  36595. end;
  36596. procedure TUART3B_U5STA.clearRIDLE; inline;
  36597. begin
  36598. pTDefRegMap(@Self)^.clr := $00000010;
  36599. end;
  36600. procedure TUART3B_U5STA.setRIDLE(thebits : TBits_1); inline;
  36601. begin
  36602. if thebits = 0 then
  36603. pTDefRegMap(@Self)^.clr := $00000010
  36604. else
  36605. pTDefRegMap(@Self)^.&set := $00000010;
  36606. end;
  36607. function TUART3B_U5STA.getRIDLE : TBits_1; inline;
  36608. begin
  36609. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36610. end;
  36611. procedure TUART3B_U5STA.setADDEN; inline;
  36612. begin
  36613. pTDefRegMap(@Self)^.&set := $00000020;
  36614. end;
  36615. procedure TUART3B_U5STA.clearADDEN; inline;
  36616. begin
  36617. pTDefRegMap(@Self)^.clr := $00000020;
  36618. end;
  36619. procedure TUART3B_U5STA.setADDEN(thebits : TBits_1); inline;
  36620. begin
  36621. if thebits = 0 then
  36622. pTDefRegMap(@Self)^.clr := $00000020
  36623. else
  36624. pTDefRegMap(@Self)^.&set := $00000020;
  36625. end;
  36626. function TUART3B_U5STA.getADDEN : TBits_1; inline;
  36627. begin
  36628. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36629. end;
  36630. procedure TUART3B_U5STA.setURXISEL(thebits : TBits_2); inline;
  36631. begin
  36632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36633. end;
  36634. function TUART3B_U5STA.getURXISEL : TBits_2; inline;
  36635. begin
  36636. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36637. end;
  36638. procedure TUART3B_U5STA.setTRMT; inline;
  36639. begin
  36640. pTDefRegMap(@Self)^.&set := $00000100;
  36641. end;
  36642. procedure TUART3B_U5STA.clearTRMT; inline;
  36643. begin
  36644. pTDefRegMap(@Self)^.clr := $00000100;
  36645. end;
  36646. procedure TUART3B_U5STA.setTRMT(thebits : TBits_1); inline;
  36647. begin
  36648. if thebits = 0 then
  36649. pTDefRegMap(@Self)^.clr := $00000100
  36650. else
  36651. pTDefRegMap(@Self)^.&set := $00000100;
  36652. end;
  36653. function TUART3B_U5STA.getTRMT : TBits_1; inline;
  36654. begin
  36655. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36656. end;
  36657. procedure TUART3B_U5STA.setUTXBF; inline;
  36658. begin
  36659. pTDefRegMap(@Self)^.&set := $00000200;
  36660. end;
  36661. procedure TUART3B_U5STA.clearUTXBF; inline;
  36662. begin
  36663. pTDefRegMap(@Self)^.clr := $00000200;
  36664. end;
  36665. procedure TUART3B_U5STA.setUTXBF(thebits : TBits_1); inline;
  36666. begin
  36667. if thebits = 0 then
  36668. pTDefRegMap(@Self)^.clr := $00000200
  36669. else
  36670. pTDefRegMap(@Self)^.&set := $00000200;
  36671. end;
  36672. function TUART3B_U5STA.getUTXBF : TBits_1; inline;
  36673. begin
  36674. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36675. end;
  36676. procedure TUART3B_U5STA.setUTXEN; inline;
  36677. begin
  36678. pTDefRegMap(@Self)^.&set := $00000400;
  36679. end;
  36680. procedure TUART3B_U5STA.clearUTXEN; inline;
  36681. begin
  36682. pTDefRegMap(@Self)^.clr := $00000400;
  36683. end;
  36684. procedure TUART3B_U5STA.setUTXEN(thebits : TBits_1); inline;
  36685. begin
  36686. if thebits = 0 then
  36687. pTDefRegMap(@Self)^.clr := $00000400
  36688. else
  36689. pTDefRegMap(@Self)^.&set := $00000400;
  36690. end;
  36691. function TUART3B_U5STA.getUTXEN : TBits_1; inline;
  36692. begin
  36693. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36694. end;
  36695. procedure TUART3B_U5STA.setUTXBRK; inline;
  36696. begin
  36697. pTDefRegMap(@Self)^.&set := $00000800;
  36698. end;
  36699. procedure TUART3B_U5STA.clearUTXBRK; inline;
  36700. begin
  36701. pTDefRegMap(@Self)^.clr := $00000800;
  36702. end;
  36703. procedure TUART3B_U5STA.setUTXBRK(thebits : TBits_1); inline;
  36704. begin
  36705. if thebits = 0 then
  36706. pTDefRegMap(@Self)^.clr := $00000800
  36707. else
  36708. pTDefRegMap(@Self)^.&set := $00000800;
  36709. end;
  36710. function TUART3B_U5STA.getUTXBRK : TBits_1; inline;
  36711. begin
  36712. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36713. end;
  36714. procedure TUART3B_U5STA.setURXEN; inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.&set := $00001000;
  36717. end;
  36718. procedure TUART3B_U5STA.clearURXEN; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.clr := $00001000;
  36721. end;
  36722. procedure TUART3B_U5STA.setURXEN(thebits : TBits_1); inline;
  36723. begin
  36724. if thebits = 0 then
  36725. pTDefRegMap(@Self)^.clr := $00001000
  36726. else
  36727. pTDefRegMap(@Self)^.&set := $00001000;
  36728. end;
  36729. function TUART3B_U5STA.getURXEN : TBits_1; inline;
  36730. begin
  36731. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36732. end;
  36733. procedure TUART3B_U5STA.setUTXINV; inline;
  36734. begin
  36735. pTDefRegMap(@Self)^.&set := $00002000;
  36736. end;
  36737. procedure TUART3B_U5STA.clearUTXINV; inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.clr := $00002000;
  36740. end;
  36741. procedure TUART3B_U5STA.setUTXINV(thebits : TBits_1); inline;
  36742. begin
  36743. if thebits = 0 then
  36744. pTDefRegMap(@Self)^.clr := $00002000
  36745. else
  36746. pTDefRegMap(@Self)^.&set := $00002000;
  36747. end;
  36748. function TUART3B_U5STA.getUTXINV : TBits_1; inline;
  36749. begin
  36750. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36751. end;
  36752. procedure TUART3B_U5STA.setUTXISEL(thebits : TBits_2); inline;
  36753. begin
  36754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36755. end;
  36756. function TUART3B_U5STA.getUTXISEL : TBits_2; inline;
  36757. begin
  36758. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36759. end;
  36760. procedure TUART3B_U5STA.setADDR(thebits : TBits_8); inline;
  36761. begin
  36762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36763. end;
  36764. function TUART3B_U5STA.getADDR : TBits_8; inline;
  36765. begin
  36766. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36767. end;
  36768. procedure TUART3B_U5STA.setADM_EN; inline;
  36769. begin
  36770. pTDefRegMap(@Self)^.&set := $01000000;
  36771. end;
  36772. procedure TUART3B_U5STA.clearADM_EN; inline;
  36773. begin
  36774. pTDefRegMap(@Self)^.clr := $01000000;
  36775. end;
  36776. procedure TUART3B_U5STA.setADM_EN(thebits : TBits_1); inline;
  36777. begin
  36778. if thebits = 0 then
  36779. pTDefRegMap(@Self)^.clr := $01000000
  36780. else
  36781. pTDefRegMap(@Self)^.&set := $01000000;
  36782. end;
  36783. function TUART3B_U5STA.getADM_EN : TBits_1; inline;
  36784. begin
  36785. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36786. end;
  36787. procedure TUART3B_U5STA.setURXISEL0; inline;
  36788. begin
  36789. pTDefRegMap(@Self)^.&set := $00000040;
  36790. end;
  36791. procedure TUART3B_U5STA.clearURXISEL0; inline;
  36792. begin
  36793. pTDefRegMap(@Self)^.clr := $00000040;
  36794. end;
  36795. procedure TUART3B_U5STA.setURXISEL0(thebits : TBits_1); inline;
  36796. begin
  36797. if thebits = 0 then
  36798. pTDefRegMap(@Self)^.clr := $00000040
  36799. else
  36800. pTDefRegMap(@Self)^.&set := $00000040;
  36801. end;
  36802. function TUART3B_U5STA.getURXISEL0 : TBits_1; inline;
  36803. begin
  36804. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36805. end;
  36806. procedure TUART3B_U5STA.setURXISEL1; inline;
  36807. begin
  36808. pTDefRegMap(@Self)^.&set := $00000080;
  36809. end;
  36810. procedure TUART3B_U5STA.clearURXISEL1; inline;
  36811. begin
  36812. pTDefRegMap(@Self)^.clr := $00000080;
  36813. end;
  36814. procedure TUART3B_U5STA.setURXISEL1(thebits : TBits_1); inline;
  36815. begin
  36816. if thebits = 0 then
  36817. pTDefRegMap(@Self)^.clr := $00000080
  36818. else
  36819. pTDefRegMap(@Self)^.&set := $00000080;
  36820. end;
  36821. function TUART3B_U5STA.getURXISEL1 : TBits_1; inline;
  36822. begin
  36823. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36824. end;
  36825. procedure TUART3B_U5STA.setUTXISEL0; inline;
  36826. begin
  36827. pTDefRegMap(@Self)^.&set := $00004000;
  36828. end;
  36829. procedure TUART3B_U5STA.clearUTXISEL0; inline;
  36830. begin
  36831. pTDefRegMap(@Self)^.clr := $00004000;
  36832. end;
  36833. procedure TUART3B_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  36834. begin
  36835. if thebits = 0 then
  36836. pTDefRegMap(@Self)^.clr := $00004000
  36837. else
  36838. pTDefRegMap(@Self)^.&set := $00004000;
  36839. end;
  36840. function TUART3B_U5STA.getUTXISEL0 : TBits_1; inline;
  36841. begin
  36842. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36843. end;
  36844. procedure TUART3B_U5STA.setUTXISEL1; inline;
  36845. begin
  36846. pTDefRegMap(@Self)^.&set := $00008000;
  36847. end;
  36848. procedure TUART3B_U5STA.clearUTXISEL1; inline;
  36849. begin
  36850. pTDefRegMap(@Self)^.clr := $00008000;
  36851. end;
  36852. procedure TUART3B_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  36853. begin
  36854. if thebits = 0 then
  36855. pTDefRegMap(@Self)^.clr := $00008000
  36856. else
  36857. pTDefRegMap(@Self)^.&set := $00008000;
  36858. end;
  36859. function TUART3B_U5STA.getUTXISEL1 : TBits_1; inline;
  36860. begin
  36861. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36862. end;
  36863. procedure TUART3B_U5STA.setUTXSEL(thebits : TBits_2); inline;
  36864. begin
  36865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36866. end;
  36867. function TUART3B_U5STA.getUTXSEL : TBits_2; inline;
  36868. begin
  36869. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36870. end;
  36871. procedure TUART3B_U5STA.setw(thebits : TBits_32); inline;
  36872. begin
  36873. pTDefRegMap(@Self)^.val := thebits;
  36874. end;
  36875. function TUART3B_U5STA.getw : TBits_32; inline;
  36876. begin
  36877. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36878. end;
  36879. procedure TPMP_PMCON.setRDSP; inline;
  36880. begin
  36881. pTDefRegMap(@Self)^.&set := $00000001;
  36882. end;
  36883. procedure TPMP_PMCON.clearRDSP; inline;
  36884. begin
  36885. pTDefRegMap(@Self)^.clr := $00000001;
  36886. end;
  36887. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  36888. begin
  36889. if thebits = 0 then
  36890. pTDefRegMap(@Self)^.clr := $00000001
  36891. else
  36892. pTDefRegMap(@Self)^.&set := $00000001;
  36893. end;
  36894. function TPMP_PMCON.getRDSP : TBits_1; inline;
  36895. begin
  36896. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36897. end;
  36898. procedure TPMP_PMCON.setWRSP; inline;
  36899. begin
  36900. pTDefRegMap(@Self)^.&set := $00000002;
  36901. end;
  36902. procedure TPMP_PMCON.clearWRSP; inline;
  36903. begin
  36904. pTDefRegMap(@Self)^.clr := $00000002;
  36905. end;
  36906. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  36907. begin
  36908. if thebits = 0 then
  36909. pTDefRegMap(@Self)^.clr := $00000002
  36910. else
  36911. pTDefRegMap(@Self)^.&set := $00000002;
  36912. end;
  36913. function TPMP_PMCON.getWRSP : TBits_1; inline;
  36914. begin
  36915. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36916. end;
  36917. procedure TPMP_PMCON.setCS1P; inline;
  36918. begin
  36919. pTDefRegMap(@Self)^.&set := $00000008;
  36920. end;
  36921. procedure TPMP_PMCON.clearCS1P; inline;
  36922. begin
  36923. pTDefRegMap(@Self)^.clr := $00000008;
  36924. end;
  36925. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  36926. begin
  36927. if thebits = 0 then
  36928. pTDefRegMap(@Self)^.clr := $00000008
  36929. else
  36930. pTDefRegMap(@Self)^.&set := $00000008;
  36931. end;
  36932. function TPMP_PMCON.getCS1P : TBits_1; inline;
  36933. begin
  36934. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36935. end;
  36936. procedure TPMP_PMCON.setCS2P; inline;
  36937. begin
  36938. pTDefRegMap(@Self)^.&set := $00000010;
  36939. end;
  36940. procedure TPMP_PMCON.clearCS2P; inline;
  36941. begin
  36942. pTDefRegMap(@Self)^.clr := $00000010;
  36943. end;
  36944. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  36945. begin
  36946. if thebits = 0 then
  36947. pTDefRegMap(@Self)^.clr := $00000010
  36948. else
  36949. pTDefRegMap(@Self)^.&set := $00000010;
  36950. end;
  36951. function TPMP_PMCON.getCS2P : TBits_1; inline;
  36952. begin
  36953. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36954. end;
  36955. procedure TPMP_PMCON.setALP; inline;
  36956. begin
  36957. pTDefRegMap(@Self)^.&set := $00000020;
  36958. end;
  36959. procedure TPMP_PMCON.clearALP; inline;
  36960. begin
  36961. pTDefRegMap(@Self)^.clr := $00000020;
  36962. end;
  36963. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  36964. begin
  36965. if thebits = 0 then
  36966. pTDefRegMap(@Self)^.clr := $00000020
  36967. else
  36968. pTDefRegMap(@Self)^.&set := $00000020;
  36969. end;
  36970. function TPMP_PMCON.getALP : TBits_1; inline;
  36971. begin
  36972. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36973. end;
  36974. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  36975. begin
  36976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36977. end;
  36978. function TPMP_PMCON.getCSF : TBits_2; inline;
  36979. begin
  36980. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36981. end;
  36982. procedure TPMP_PMCON.setPTRDEN; inline;
  36983. begin
  36984. pTDefRegMap(@Self)^.&set := $00000100;
  36985. end;
  36986. procedure TPMP_PMCON.clearPTRDEN; inline;
  36987. begin
  36988. pTDefRegMap(@Self)^.clr := $00000100;
  36989. end;
  36990. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  36991. begin
  36992. if thebits = 0 then
  36993. pTDefRegMap(@Self)^.clr := $00000100
  36994. else
  36995. pTDefRegMap(@Self)^.&set := $00000100;
  36996. end;
  36997. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  36998. begin
  36999. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37000. end;
  37001. procedure TPMP_PMCON.setPTWREN; inline;
  37002. begin
  37003. pTDefRegMap(@Self)^.&set := $00000200;
  37004. end;
  37005. procedure TPMP_PMCON.clearPTWREN; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.clr := $00000200;
  37008. end;
  37009. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  37010. begin
  37011. if thebits = 0 then
  37012. pTDefRegMap(@Self)^.clr := $00000200
  37013. else
  37014. pTDefRegMap(@Self)^.&set := $00000200;
  37015. end;
  37016. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  37017. begin
  37018. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37019. end;
  37020. procedure TPMP_PMCON.setPMPTTL; inline;
  37021. begin
  37022. pTDefRegMap(@Self)^.&set := $00000400;
  37023. end;
  37024. procedure TPMP_PMCON.clearPMPTTL; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.clr := $00000400;
  37027. end;
  37028. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  37029. begin
  37030. if thebits = 0 then
  37031. pTDefRegMap(@Self)^.clr := $00000400
  37032. else
  37033. pTDefRegMap(@Self)^.&set := $00000400;
  37034. end;
  37035. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  37036. begin
  37037. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37038. end;
  37039. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  37040. begin
  37041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  37042. end;
  37043. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  37044. begin
  37045. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  37046. end;
  37047. procedure TPMP_PMCON.setSIDL; inline;
  37048. begin
  37049. pTDefRegMap(@Self)^.&set := $00002000;
  37050. end;
  37051. procedure TPMP_PMCON.clearSIDL; inline;
  37052. begin
  37053. pTDefRegMap(@Self)^.clr := $00002000;
  37054. end;
  37055. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  37056. begin
  37057. if thebits = 0 then
  37058. pTDefRegMap(@Self)^.clr := $00002000
  37059. else
  37060. pTDefRegMap(@Self)^.&set := $00002000;
  37061. end;
  37062. function TPMP_PMCON.getSIDL : TBits_1; inline;
  37063. begin
  37064. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37065. end;
  37066. procedure TPMP_PMCON.setON; inline;
  37067. begin
  37068. pTDefRegMap(@Self)^.&set := $00008000;
  37069. end;
  37070. procedure TPMP_PMCON.clearON; inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.clr := $00008000;
  37073. end;
  37074. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  37075. begin
  37076. if thebits = 0 then
  37077. pTDefRegMap(@Self)^.clr := $00008000
  37078. else
  37079. pTDefRegMap(@Self)^.&set := $00008000;
  37080. end;
  37081. function TPMP_PMCON.getON : TBits_1; inline;
  37082. begin
  37083. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37084. end;
  37085. procedure TPMP_PMCON.setCSF0; inline;
  37086. begin
  37087. pTDefRegMap(@Self)^.&set := $00000040;
  37088. end;
  37089. procedure TPMP_PMCON.clearCSF0; inline;
  37090. begin
  37091. pTDefRegMap(@Self)^.clr := $00000040;
  37092. end;
  37093. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  37094. begin
  37095. if thebits = 0 then
  37096. pTDefRegMap(@Self)^.clr := $00000040
  37097. else
  37098. pTDefRegMap(@Self)^.&set := $00000040;
  37099. end;
  37100. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  37101. begin
  37102. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37103. end;
  37104. procedure TPMP_PMCON.setCSF1; inline;
  37105. begin
  37106. pTDefRegMap(@Self)^.&set := $00000080;
  37107. end;
  37108. procedure TPMP_PMCON.clearCSF1; inline;
  37109. begin
  37110. pTDefRegMap(@Self)^.clr := $00000080;
  37111. end;
  37112. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  37113. begin
  37114. if thebits = 0 then
  37115. pTDefRegMap(@Self)^.clr := $00000080
  37116. else
  37117. pTDefRegMap(@Self)^.&set := $00000080;
  37118. end;
  37119. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  37120. begin
  37121. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37122. end;
  37123. procedure TPMP_PMCON.setADRMUX0; inline;
  37124. begin
  37125. pTDefRegMap(@Self)^.&set := $00000800;
  37126. end;
  37127. procedure TPMP_PMCON.clearADRMUX0; inline;
  37128. begin
  37129. pTDefRegMap(@Self)^.clr := $00000800;
  37130. end;
  37131. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  37132. begin
  37133. if thebits = 0 then
  37134. pTDefRegMap(@Self)^.clr := $00000800
  37135. else
  37136. pTDefRegMap(@Self)^.&set := $00000800;
  37137. end;
  37138. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  37139. begin
  37140. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37141. end;
  37142. procedure TPMP_PMCON.setADRMUX1; inline;
  37143. begin
  37144. pTDefRegMap(@Self)^.&set := $00001000;
  37145. end;
  37146. procedure TPMP_PMCON.clearADRMUX1; inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.clr := $00001000;
  37149. end;
  37150. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  37151. begin
  37152. if thebits = 0 then
  37153. pTDefRegMap(@Self)^.clr := $00001000
  37154. else
  37155. pTDefRegMap(@Self)^.&set := $00001000;
  37156. end;
  37157. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  37158. begin
  37159. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37160. end;
  37161. procedure TPMP_PMCON.setPSIDL; inline;
  37162. begin
  37163. pTDefRegMap(@Self)^.&set := $00002000;
  37164. end;
  37165. procedure TPMP_PMCON.clearPSIDL; inline;
  37166. begin
  37167. pTDefRegMap(@Self)^.clr := $00002000;
  37168. end;
  37169. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  37170. begin
  37171. if thebits = 0 then
  37172. pTDefRegMap(@Self)^.clr := $00002000
  37173. else
  37174. pTDefRegMap(@Self)^.&set := $00002000;
  37175. end;
  37176. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  37177. begin
  37178. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37179. end;
  37180. procedure TPMP_PMCON.setPMPEN; inline;
  37181. begin
  37182. pTDefRegMap(@Self)^.&set := $00008000;
  37183. end;
  37184. procedure TPMP_PMCON.clearPMPEN; inline;
  37185. begin
  37186. pTDefRegMap(@Self)^.clr := $00008000;
  37187. end;
  37188. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  37189. begin
  37190. if thebits = 0 then
  37191. pTDefRegMap(@Self)^.clr := $00008000
  37192. else
  37193. pTDefRegMap(@Self)^.&set := $00008000;
  37194. end;
  37195. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  37196. begin
  37197. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37198. end;
  37199. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  37200. begin
  37201. pTDefRegMap(@Self)^.val := thebits;
  37202. end;
  37203. function TPMP_PMCON.getw : TBits_32; inline;
  37204. begin
  37205. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37206. end;
  37207. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  37208. begin
  37209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37210. end;
  37211. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  37212. begin
  37213. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37214. end;
  37215. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  37216. begin
  37217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  37218. end;
  37219. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  37220. begin
  37221. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  37222. end;
  37223. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  37224. begin
  37225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37226. end;
  37227. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  37228. begin
  37229. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37230. end;
  37231. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  37232. begin
  37233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37234. end;
  37235. function TPMP_PMMODE.getMODE : TBits_2; inline;
  37236. begin
  37237. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37238. end;
  37239. procedure TPMP_PMMODE.setMODE16; inline;
  37240. begin
  37241. pTDefRegMap(@Self)^.&set := $00000400;
  37242. end;
  37243. procedure TPMP_PMMODE.clearMODE16; inline;
  37244. begin
  37245. pTDefRegMap(@Self)^.clr := $00000400;
  37246. end;
  37247. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  37248. begin
  37249. if thebits = 0 then
  37250. pTDefRegMap(@Self)^.clr := $00000400
  37251. else
  37252. pTDefRegMap(@Self)^.&set := $00000400;
  37253. end;
  37254. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  37255. begin
  37256. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37257. end;
  37258. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  37259. begin
  37260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  37261. end;
  37262. function TPMP_PMMODE.getINCM : TBits_2; inline;
  37263. begin
  37264. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  37265. end;
  37266. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  37267. begin
  37268. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  37269. end;
  37270. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  37271. begin
  37272. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  37273. end;
  37274. procedure TPMP_PMMODE.setBUSY; inline;
  37275. begin
  37276. pTDefRegMap(@Self)^.&set := $00008000;
  37277. end;
  37278. procedure TPMP_PMMODE.clearBUSY; inline;
  37279. begin
  37280. pTDefRegMap(@Self)^.clr := $00008000;
  37281. end;
  37282. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  37283. begin
  37284. if thebits = 0 then
  37285. pTDefRegMap(@Self)^.clr := $00008000
  37286. else
  37287. pTDefRegMap(@Self)^.&set := $00008000;
  37288. end;
  37289. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  37290. begin
  37291. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37292. end;
  37293. procedure TPMP_PMMODE.setWAITE0; inline;
  37294. begin
  37295. pTDefRegMap(@Self)^.&set := $00000001;
  37296. end;
  37297. procedure TPMP_PMMODE.clearWAITE0; inline;
  37298. begin
  37299. pTDefRegMap(@Self)^.clr := $00000001;
  37300. end;
  37301. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  37302. begin
  37303. if thebits = 0 then
  37304. pTDefRegMap(@Self)^.clr := $00000001
  37305. else
  37306. pTDefRegMap(@Self)^.&set := $00000001;
  37307. end;
  37308. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  37309. begin
  37310. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37311. end;
  37312. procedure TPMP_PMMODE.setWAITE1; inline;
  37313. begin
  37314. pTDefRegMap(@Self)^.&set := $00000002;
  37315. end;
  37316. procedure TPMP_PMMODE.clearWAITE1; inline;
  37317. begin
  37318. pTDefRegMap(@Self)^.clr := $00000002;
  37319. end;
  37320. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  37321. begin
  37322. if thebits = 0 then
  37323. pTDefRegMap(@Self)^.clr := $00000002
  37324. else
  37325. pTDefRegMap(@Self)^.&set := $00000002;
  37326. end;
  37327. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  37328. begin
  37329. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37330. end;
  37331. procedure TPMP_PMMODE.setWAITM0; inline;
  37332. begin
  37333. pTDefRegMap(@Self)^.&set := $00000004;
  37334. end;
  37335. procedure TPMP_PMMODE.clearWAITM0; inline;
  37336. begin
  37337. pTDefRegMap(@Self)^.clr := $00000004;
  37338. end;
  37339. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  37340. begin
  37341. if thebits = 0 then
  37342. pTDefRegMap(@Self)^.clr := $00000004
  37343. else
  37344. pTDefRegMap(@Self)^.&set := $00000004;
  37345. end;
  37346. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  37347. begin
  37348. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37349. end;
  37350. procedure TPMP_PMMODE.setWAITM1; inline;
  37351. begin
  37352. pTDefRegMap(@Self)^.&set := $00000008;
  37353. end;
  37354. procedure TPMP_PMMODE.clearWAITM1; inline;
  37355. begin
  37356. pTDefRegMap(@Self)^.clr := $00000008;
  37357. end;
  37358. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  37359. begin
  37360. if thebits = 0 then
  37361. pTDefRegMap(@Self)^.clr := $00000008
  37362. else
  37363. pTDefRegMap(@Self)^.&set := $00000008;
  37364. end;
  37365. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  37366. begin
  37367. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37368. end;
  37369. procedure TPMP_PMMODE.setWAITM2; inline;
  37370. begin
  37371. pTDefRegMap(@Self)^.&set := $00000010;
  37372. end;
  37373. procedure TPMP_PMMODE.clearWAITM2; inline;
  37374. begin
  37375. pTDefRegMap(@Self)^.clr := $00000010;
  37376. end;
  37377. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  37378. begin
  37379. if thebits = 0 then
  37380. pTDefRegMap(@Self)^.clr := $00000010
  37381. else
  37382. pTDefRegMap(@Self)^.&set := $00000010;
  37383. end;
  37384. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  37385. begin
  37386. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37387. end;
  37388. procedure TPMP_PMMODE.setWAITM3; inline;
  37389. begin
  37390. pTDefRegMap(@Self)^.&set := $00000020;
  37391. end;
  37392. procedure TPMP_PMMODE.clearWAITM3; inline;
  37393. begin
  37394. pTDefRegMap(@Self)^.clr := $00000020;
  37395. end;
  37396. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  37397. begin
  37398. if thebits = 0 then
  37399. pTDefRegMap(@Self)^.clr := $00000020
  37400. else
  37401. pTDefRegMap(@Self)^.&set := $00000020;
  37402. end;
  37403. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  37404. begin
  37405. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37406. end;
  37407. procedure TPMP_PMMODE.setWAITB0; inline;
  37408. begin
  37409. pTDefRegMap(@Self)^.&set := $00000040;
  37410. end;
  37411. procedure TPMP_PMMODE.clearWAITB0; inline;
  37412. begin
  37413. pTDefRegMap(@Self)^.clr := $00000040;
  37414. end;
  37415. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  37416. begin
  37417. if thebits = 0 then
  37418. pTDefRegMap(@Self)^.clr := $00000040
  37419. else
  37420. pTDefRegMap(@Self)^.&set := $00000040;
  37421. end;
  37422. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  37423. begin
  37424. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37425. end;
  37426. procedure TPMP_PMMODE.setWAITB1; inline;
  37427. begin
  37428. pTDefRegMap(@Self)^.&set := $00000080;
  37429. end;
  37430. procedure TPMP_PMMODE.clearWAITB1; inline;
  37431. begin
  37432. pTDefRegMap(@Self)^.clr := $00000080;
  37433. end;
  37434. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  37435. begin
  37436. if thebits = 0 then
  37437. pTDefRegMap(@Self)^.clr := $00000080
  37438. else
  37439. pTDefRegMap(@Self)^.&set := $00000080;
  37440. end;
  37441. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  37442. begin
  37443. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37444. end;
  37445. procedure TPMP_PMMODE.setMODE0; inline;
  37446. begin
  37447. pTDefRegMap(@Self)^.&set := $00000100;
  37448. end;
  37449. procedure TPMP_PMMODE.clearMODE0; inline;
  37450. begin
  37451. pTDefRegMap(@Self)^.clr := $00000100;
  37452. end;
  37453. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  37454. begin
  37455. if thebits = 0 then
  37456. pTDefRegMap(@Self)^.clr := $00000100
  37457. else
  37458. pTDefRegMap(@Self)^.&set := $00000100;
  37459. end;
  37460. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  37461. begin
  37462. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37463. end;
  37464. procedure TPMP_PMMODE.setMODE1; inline;
  37465. begin
  37466. pTDefRegMap(@Self)^.&set := $00000200;
  37467. end;
  37468. procedure TPMP_PMMODE.clearMODE1; inline;
  37469. begin
  37470. pTDefRegMap(@Self)^.clr := $00000200;
  37471. end;
  37472. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  37473. begin
  37474. if thebits = 0 then
  37475. pTDefRegMap(@Self)^.clr := $00000200
  37476. else
  37477. pTDefRegMap(@Self)^.&set := $00000200;
  37478. end;
  37479. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  37480. begin
  37481. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37482. end;
  37483. procedure TPMP_PMMODE.setINCM0; inline;
  37484. begin
  37485. pTDefRegMap(@Self)^.&set := $00000800;
  37486. end;
  37487. procedure TPMP_PMMODE.clearINCM0; inline;
  37488. begin
  37489. pTDefRegMap(@Self)^.clr := $00000800;
  37490. end;
  37491. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  37492. begin
  37493. if thebits = 0 then
  37494. pTDefRegMap(@Self)^.clr := $00000800
  37495. else
  37496. pTDefRegMap(@Self)^.&set := $00000800;
  37497. end;
  37498. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  37499. begin
  37500. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37501. end;
  37502. procedure TPMP_PMMODE.setINCM1; inline;
  37503. begin
  37504. pTDefRegMap(@Self)^.&set := $00001000;
  37505. end;
  37506. procedure TPMP_PMMODE.clearINCM1; inline;
  37507. begin
  37508. pTDefRegMap(@Self)^.clr := $00001000;
  37509. end;
  37510. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  37511. begin
  37512. if thebits = 0 then
  37513. pTDefRegMap(@Self)^.clr := $00001000
  37514. else
  37515. pTDefRegMap(@Self)^.&set := $00001000;
  37516. end;
  37517. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  37518. begin
  37519. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37520. end;
  37521. procedure TPMP_PMMODE.setIRQM0; inline;
  37522. begin
  37523. pTDefRegMap(@Self)^.&set := $00002000;
  37524. end;
  37525. procedure TPMP_PMMODE.clearIRQM0; inline;
  37526. begin
  37527. pTDefRegMap(@Self)^.clr := $00002000;
  37528. end;
  37529. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  37530. begin
  37531. if thebits = 0 then
  37532. pTDefRegMap(@Self)^.clr := $00002000
  37533. else
  37534. pTDefRegMap(@Self)^.&set := $00002000;
  37535. end;
  37536. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  37537. begin
  37538. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37539. end;
  37540. procedure TPMP_PMMODE.setIRQM1; inline;
  37541. begin
  37542. pTDefRegMap(@Self)^.&set := $00004000;
  37543. end;
  37544. procedure TPMP_PMMODE.clearIRQM1; inline;
  37545. begin
  37546. pTDefRegMap(@Self)^.clr := $00004000;
  37547. end;
  37548. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  37549. begin
  37550. if thebits = 0 then
  37551. pTDefRegMap(@Self)^.clr := $00004000
  37552. else
  37553. pTDefRegMap(@Self)^.&set := $00004000;
  37554. end;
  37555. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  37556. begin
  37557. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37558. end;
  37559. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  37560. begin
  37561. pTDefRegMap(@Self)^.val := thebits;
  37562. end;
  37563. function TPMP_PMMODE.getw : TBits_32; inline;
  37564. begin
  37565. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37566. end;
  37567. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  37568. begin
  37569. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  37570. end;
  37571. function TPMP_PMADDR.getADDR : TBits_14; inline;
  37572. begin
  37573. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  37574. end;
  37575. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  37576. begin
  37577. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37578. end;
  37579. function TPMP_PMADDR.getCS : TBits_2; inline;
  37580. begin
  37581. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37582. end;
  37583. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  37584. begin
  37585. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  37586. end;
  37587. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  37588. begin
  37589. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  37590. end;
  37591. procedure TPMP_PMADDR.setCS1; inline;
  37592. begin
  37593. pTDefRegMap(@Self)^.&set := $00004000;
  37594. end;
  37595. procedure TPMP_PMADDR.clearCS1; inline;
  37596. begin
  37597. pTDefRegMap(@Self)^.clr := $00004000;
  37598. end;
  37599. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  37600. begin
  37601. if thebits = 0 then
  37602. pTDefRegMap(@Self)^.clr := $00004000
  37603. else
  37604. pTDefRegMap(@Self)^.&set := $00004000;
  37605. end;
  37606. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  37607. begin
  37608. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37609. end;
  37610. procedure TPMP_PMADDR.setCS2; inline;
  37611. begin
  37612. pTDefRegMap(@Self)^.&set := $00008000;
  37613. end;
  37614. procedure TPMP_PMADDR.clearCS2; inline;
  37615. begin
  37616. pTDefRegMap(@Self)^.clr := $00008000;
  37617. end;
  37618. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  37619. begin
  37620. if thebits = 0 then
  37621. pTDefRegMap(@Self)^.clr := $00008000
  37622. else
  37623. pTDefRegMap(@Self)^.&set := $00008000;
  37624. end;
  37625. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  37626. begin
  37627. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37628. end;
  37629. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  37630. begin
  37631. pTDefRegMap(@Self)^.val := thebits;
  37632. end;
  37633. function TPMP_PMADDR.getw : TBits_32; inline;
  37634. begin
  37635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37636. end;
  37637. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  37638. begin
  37639. pTDefRegMap(@Self)^.val := thebits;
  37640. end;
  37641. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  37642. begin
  37643. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37644. end;
  37645. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  37646. begin
  37647. pTDefRegMap(@Self)^.val := thebits;
  37648. end;
  37649. function TPMP_PMDOUT.getw : TBits_32; inline;
  37650. begin
  37651. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37652. end;
  37653. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  37654. begin
  37655. pTDefRegMap(@Self)^.val := thebits;
  37656. end;
  37657. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  37658. begin
  37659. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37660. end;
  37661. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  37662. begin
  37663. pTDefRegMap(@Self)^.val := thebits;
  37664. end;
  37665. function TPMP_PMDIN.getw : TBits_32; inline;
  37666. begin
  37667. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37668. end;
  37669. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  37670. begin
  37671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37672. end;
  37673. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  37674. begin
  37675. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37676. end;
  37677. procedure TPMP_PMAEN.setPTEN0; inline;
  37678. begin
  37679. pTDefRegMap(@Self)^.&set := $00000001;
  37680. end;
  37681. procedure TPMP_PMAEN.clearPTEN0; inline;
  37682. begin
  37683. pTDefRegMap(@Self)^.clr := $00000001;
  37684. end;
  37685. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  37686. begin
  37687. if thebits = 0 then
  37688. pTDefRegMap(@Self)^.clr := $00000001
  37689. else
  37690. pTDefRegMap(@Self)^.&set := $00000001;
  37691. end;
  37692. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  37693. begin
  37694. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37695. end;
  37696. procedure TPMP_PMAEN.setPTEN1; inline;
  37697. begin
  37698. pTDefRegMap(@Self)^.&set := $00000002;
  37699. end;
  37700. procedure TPMP_PMAEN.clearPTEN1; inline;
  37701. begin
  37702. pTDefRegMap(@Self)^.clr := $00000002;
  37703. end;
  37704. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  37705. begin
  37706. if thebits = 0 then
  37707. pTDefRegMap(@Self)^.clr := $00000002
  37708. else
  37709. pTDefRegMap(@Self)^.&set := $00000002;
  37710. end;
  37711. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  37712. begin
  37713. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37714. end;
  37715. procedure TPMP_PMAEN.setPTEN2; inline;
  37716. begin
  37717. pTDefRegMap(@Self)^.&set := $00000004;
  37718. end;
  37719. procedure TPMP_PMAEN.clearPTEN2; inline;
  37720. begin
  37721. pTDefRegMap(@Self)^.clr := $00000004;
  37722. end;
  37723. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  37724. begin
  37725. if thebits = 0 then
  37726. pTDefRegMap(@Self)^.clr := $00000004
  37727. else
  37728. pTDefRegMap(@Self)^.&set := $00000004;
  37729. end;
  37730. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  37731. begin
  37732. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37733. end;
  37734. procedure TPMP_PMAEN.setPTEN3; inline;
  37735. begin
  37736. pTDefRegMap(@Self)^.&set := $00000008;
  37737. end;
  37738. procedure TPMP_PMAEN.clearPTEN3; inline;
  37739. begin
  37740. pTDefRegMap(@Self)^.clr := $00000008;
  37741. end;
  37742. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  37743. begin
  37744. if thebits = 0 then
  37745. pTDefRegMap(@Self)^.clr := $00000008
  37746. else
  37747. pTDefRegMap(@Self)^.&set := $00000008;
  37748. end;
  37749. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  37750. begin
  37751. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37752. end;
  37753. procedure TPMP_PMAEN.setPTEN4; inline;
  37754. begin
  37755. pTDefRegMap(@Self)^.&set := $00000010;
  37756. end;
  37757. procedure TPMP_PMAEN.clearPTEN4; inline;
  37758. begin
  37759. pTDefRegMap(@Self)^.clr := $00000010;
  37760. end;
  37761. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  37762. begin
  37763. if thebits = 0 then
  37764. pTDefRegMap(@Self)^.clr := $00000010
  37765. else
  37766. pTDefRegMap(@Self)^.&set := $00000010;
  37767. end;
  37768. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  37769. begin
  37770. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37771. end;
  37772. procedure TPMP_PMAEN.setPTEN5; inline;
  37773. begin
  37774. pTDefRegMap(@Self)^.&set := $00000020;
  37775. end;
  37776. procedure TPMP_PMAEN.clearPTEN5; inline;
  37777. begin
  37778. pTDefRegMap(@Self)^.clr := $00000020;
  37779. end;
  37780. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  37781. begin
  37782. if thebits = 0 then
  37783. pTDefRegMap(@Self)^.clr := $00000020
  37784. else
  37785. pTDefRegMap(@Self)^.&set := $00000020;
  37786. end;
  37787. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  37788. begin
  37789. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37790. end;
  37791. procedure TPMP_PMAEN.setPTEN6; inline;
  37792. begin
  37793. pTDefRegMap(@Self)^.&set := $00000040;
  37794. end;
  37795. procedure TPMP_PMAEN.clearPTEN6; inline;
  37796. begin
  37797. pTDefRegMap(@Self)^.clr := $00000040;
  37798. end;
  37799. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  37800. begin
  37801. if thebits = 0 then
  37802. pTDefRegMap(@Self)^.clr := $00000040
  37803. else
  37804. pTDefRegMap(@Self)^.&set := $00000040;
  37805. end;
  37806. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  37807. begin
  37808. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37809. end;
  37810. procedure TPMP_PMAEN.setPTEN7; inline;
  37811. begin
  37812. pTDefRegMap(@Self)^.&set := $00000080;
  37813. end;
  37814. procedure TPMP_PMAEN.clearPTEN7; inline;
  37815. begin
  37816. pTDefRegMap(@Self)^.clr := $00000080;
  37817. end;
  37818. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  37819. begin
  37820. if thebits = 0 then
  37821. pTDefRegMap(@Self)^.clr := $00000080
  37822. else
  37823. pTDefRegMap(@Self)^.&set := $00000080;
  37824. end;
  37825. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  37826. begin
  37827. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37828. end;
  37829. procedure TPMP_PMAEN.setPTEN8; inline;
  37830. begin
  37831. pTDefRegMap(@Self)^.&set := $00000100;
  37832. end;
  37833. procedure TPMP_PMAEN.clearPTEN8; inline;
  37834. begin
  37835. pTDefRegMap(@Self)^.clr := $00000100;
  37836. end;
  37837. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  37838. begin
  37839. if thebits = 0 then
  37840. pTDefRegMap(@Self)^.clr := $00000100
  37841. else
  37842. pTDefRegMap(@Self)^.&set := $00000100;
  37843. end;
  37844. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  37845. begin
  37846. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37847. end;
  37848. procedure TPMP_PMAEN.setPTEN9; inline;
  37849. begin
  37850. pTDefRegMap(@Self)^.&set := $00000200;
  37851. end;
  37852. procedure TPMP_PMAEN.clearPTEN9; inline;
  37853. begin
  37854. pTDefRegMap(@Self)^.clr := $00000200;
  37855. end;
  37856. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  37857. begin
  37858. if thebits = 0 then
  37859. pTDefRegMap(@Self)^.clr := $00000200
  37860. else
  37861. pTDefRegMap(@Self)^.&set := $00000200;
  37862. end;
  37863. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  37864. begin
  37865. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37866. end;
  37867. procedure TPMP_PMAEN.setPTEN10; inline;
  37868. begin
  37869. pTDefRegMap(@Self)^.&set := $00000400;
  37870. end;
  37871. procedure TPMP_PMAEN.clearPTEN10; inline;
  37872. begin
  37873. pTDefRegMap(@Self)^.clr := $00000400;
  37874. end;
  37875. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  37876. begin
  37877. if thebits = 0 then
  37878. pTDefRegMap(@Self)^.clr := $00000400
  37879. else
  37880. pTDefRegMap(@Self)^.&set := $00000400;
  37881. end;
  37882. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  37883. begin
  37884. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37885. end;
  37886. procedure TPMP_PMAEN.setPTEN11; inline;
  37887. begin
  37888. pTDefRegMap(@Self)^.&set := $00000800;
  37889. end;
  37890. procedure TPMP_PMAEN.clearPTEN11; inline;
  37891. begin
  37892. pTDefRegMap(@Self)^.clr := $00000800;
  37893. end;
  37894. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  37895. begin
  37896. if thebits = 0 then
  37897. pTDefRegMap(@Self)^.clr := $00000800
  37898. else
  37899. pTDefRegMap(@Self)^.&set := $00000800;
  37900. end;
  37901. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  37902. begin
  37903. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37904. end;
  37905. procedure TPMP_PMAEN.setPTEN12; inline;
  37906. begin
  37907. pTDefRegMap(@Self)^.&set := $00001000;
  37908. end;
  37909. procedure TPMP_PMAEN.clearPTEN12; inline;
  37910. begin
  37911. pTDefRegMap(@Self)^.clr := $00001000;
  37912. end;
  37913. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  37914. begin
  37915. if thebits = 0 then
  37916. pTDefRegMap(@Self)^.clr := $00001000
  37917. else
  37918. pTDefRegMap(@Self)^.&set := $00001000;
  37919. end;
  37920. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  37921. begin
  37922. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37923. end;
  37924. procedure TPMP_PMAEN.setPTEN13; inline;
  37925. begin
  37926. pTDefRegMap(@Self)^.&set := $00002000;
  37927. end;
  37928. procedure TPMP_PMAEN.clearPTEN13; inline;
  37929. begin
  37930. pTDefRegMap(@Self)^.clr := $00002000;
  37931. end;
  37932. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  37933. begin
  37934. if thebits = 0 then
  37935. pTDefRegMap(@Self)^.clr := $00002000
  37936. else
  37937. pTDefRegMap(@Self)^.&set := $00002000;
  37938. end;
  37939. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  37940. begin
  37941. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37942. end;
  37943. procedure TPMP_PMAEN.setPTEN14; inline;
  37944. begin
  37945. pTDefRegMap(@Self)^.&set := $00004000;
  37946. end;
  37947. procedure TPMP_PMAEN.clearPTEN14; inline;
  37948. begin
  37949. pTDefRegMap(@Self)^.clr := $00004000;
  37950. end;
  37951. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  37952. begin
  37953. if thebits = 0 then
  37954. pTDefRegMap(@Self)^.clr := $00004000
  37955. else
  37956. pTDefRegMap(@Self)^.&set := $00004000;
  37957. end;
  37958. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  37959. begin
  37960. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37961. end;
  37962. procedure TPMP_PMAEN.setPTEN15; inline;
  37963. begin
  37964. pTDefRegMap(@Self)^.&set := $00008000;
  37965. end;
  37966. procedure TPMP_PMAEN.clearPTEN15; inline;
  37967. begin
  37968. pTDefRegMap(@Self)^.clr := $00008000;
  37969. end;
  37970. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  37971. begin
  37972. if thebits = 0 then
  37973. pTDefRegMap(@Self)^.clr := $00008000
  37974. else
  37975. pTDefRegMap(@Self)^.&set := $00008000;
  37976. end;
  37977. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  37978. begin
  37979. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37980. end;
  37981. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  37982. begin
  37983. pTDefRegMap(@Self)^.val := thebits;
  37984. end;
  37985. function TPMP_PMAEN.getw : TBits_32; inline;
  37986. begin
  37987. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37988. end;
  37989. procedure TPMP_PMSTAT.setOB0E; inline;
  37990. begin
  37991. pTDefRegMap(@Self)^.&set := $00000001;
  37992. end;
  37993. procedure TPMP_PMSTAT.clearOB0E; inline;
  37994. begin
  37995. pTDefRegMap(@Self)^.clr := $00000001;
  37996. end;
  37997. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  37998. begin
  37999. if thebits = 0 then
  38000. pTDefRegMap(@Self)^.clr := $00000001
  38001. else
  38002. pTDefRegMap(@Self)^.&set := $00000001;
  38003. end;
  38004. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  38005. begin
  38006. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38007. end;
  38008. procedure TPMP_PMSTAT.setOB1E; inline;
  38009. begin
  38010. pTDefRegMap(@Self)^.&set := $00000002;
  38011. end;
  38012. procedure TPMP_PMSTAT.clearOB1E; inline;
  38013. begin
  38014. pTDefRegMap(@Self)^.clr := $00000002;
  38015. end;
  38016. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  38017. begin
  38018. if thebits = 0 then
  38019. pTDefRegMap(@Self)^.clr := $00000002
  38020. else
  38021. pTDefRegMap(@Self)^.&set := $00000002;
  38022. end;
  38023. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  38024. begin
  38025. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38026. end;
  38027. procedure TPMP_PMSTAT.setOB2E; inline;
  38028. begin
  38029. pTDefRegMap(@Self)^.&set := $00000004;
  38030. end;
  38031. procedure TPMP_PMSTAT.clearOB2E; inline;
  38032. begin
  38033. pTDefRegMap(@Self)^.clr := $00000004;
  38034. end;
  38035. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  38036. begin
  38037. if thebits = 0 then
  38038. pTDefRegMap(@Self)^.clr := $00000004
  38039. else
  38040. pTDefRegMap(@Self)^.&set := $00000004;
  38041. end;
  38042. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  38043. begin
  38044. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38045. end;
  38046. procedure TPMP_PMSTAT.setOB3E; inline;
  38047. begin
  38048. pTDefRegMap(@Self)^.&set := $00000008;
  38049. end;
  38050. procedure TPMP_PMSTAT.clearOB3E; inline;
  38051. begin
  38052. pTDefRegMap(@Self)^.clr := $00000008;
  38053. end;
  38054. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  38055. begin
  38056. if thebits = 0 then
  38057. pTDefRegMap(@Self)^.clr := $00000008
  38058. else
  38059. pTDefRegMap(@Self)^.&set := $00000008;
  38060. end;
  38061. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  38062. begin
  38063. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38064. end;
  38065. procedure TPMP_PMSTAT.setOBUF; inline;
  38066. begin
  38067. pTDefRegMap(@Self)^.&set := $00000040;
  38068. end;
  38069. procedure TPMP_PMSTAT.clearOBUF; inline;
  38070. begin
  38071. pTDefRegMap(@Self)^.clr := $00000040;
  38072. end;
  38073. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  38074. begin
  38075. if thebits = 0 then
  38076. pTDefRegMap(@Self)^.clr := $00000040
  38077. else
  38078. pTDefRegMap(@Self)^.&set := $00000040;
  38079. end;
  38080. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  38081. begin
  38082. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38083. end;
  38084. procedure TPMP_PMSTAT.setOBE; inline;
  38085. begin
  38086. pTDefRegMap(@Self)^.&set := $00000080;
  38087. end;
  38088. procedure TPMP_PMSTAT.clearOBE; inline;
  38089. begin
  38090. pTDefRegMap(@Self)^.clr := $00000080;
  38091. end;
  38092. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  38093. begin
  38094. if thebits = 0 then
  38095. pTDefRegMap(@Self)^.clr := $00000080
  38096. else
  38097. pTDefRegMap(@Self)^.&set := $00000080;
  38098. end;
  38099. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  38100. begin
  38101. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38102. end;
  38103. procedure TPMP_PMSTAT.setIB0F; inline;
  38104. begin
  38105. pTDefRegMap(@Self)^.&set := $00000100;
  38106. end;
  38107. procedure TPMP_PMSTAT.clearIB0F; inline;
  38108. begin
  38109. pTDefRegMap(@Self)^.clr := $00000100;
  38110. end;
  38111. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  38112. begin
  38113. if thebits = 0 then
  38114. pTDefRegMap(@Self)^.clr := $00000100
  38115. else
  38116. pTDefRegMap(@Self)^.&set := $00000100;
  38117. end;
  38118. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  38119. begin
  38120. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38121. end;
  38122. procedure TPMP_PMSTAT.setIB1F; inline;
  38123. begin
  38124. pTDefRegMap(@Self)^.&set := $00000200;
  38125. end;
  38126. procedure TPMP_PMSTAT.clearIB1F; inline;
  38127. begin
  38128. pTDefRegMap(@Self)^.clr := $00000200;
  38129. end;
  38130. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  38131. begin
  38132. if thebits = 0 then
  38133. pTDefRegMap(@Self)^.clr := $00000200
  38134. else
  38135. pTDefRegMap(@Self)^.&set := $00000200;
  38136. end;
  38137. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  38138. begin
  38139. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38140. end;
  38141. procedure TPMP_PMSTAT.setIB2F; inline;
  38142. begin
  38143. pTDefRegMap(@Self)^.&set := $00000400;
  38144. end;
  38145. procedure TPMP_PMSTAT.clearIB2F; inline;
  38146. begin
  38147. pTDefRegMap(@Self)^.clr := $00000400;
  38148. end;
  38149. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  38150. begin
  38151. if thebits = 0 then
  38152. pTDefRegMap(@Self)^.clr := $00000400
  38153. else
  38154. pTDefRegMap(@Self)^.&set := $00000400;
  38155. end;
  38156. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  38157. begin
  38158. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38159. end;
  38160. procedure TPMP_PMSTAT.setIB3F; inline;
  38161. begin
  38162. pTDefRegMap(@Self)^.&set := $00000800;
  38163. end;
  38164. procedure TPMP_PMSTAT.clearIB3F; inline;
  38165. begin
  38166. pTDefRegMap(@Self)^.clr := $00000800;
  38167. end;
  38168. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  38169. begin
  38170. if thebits = 0 then
  38171. pTDefRegMap(@Self)^.clr := $00000800
  38172. else
  38173. pTDefRegMap(@Self)^.&set := $00000800;
  38174. end;
  38175. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  38176. begin
  38177. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38178. end;
  38179. procedure TPMP_PMSTAT.setIBOV; inline;
  38180. begin
  38181. pTDefRegMap(@Self)^.&set := $00004000;
  38182. end;
  38183. procedure TPMP_PMSTAT.clearIBOV; inline;
  38184. begin
  38185. pTDefRegMap(@Self)^.clr := $00004000;
  38186. end;
  38187. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  38188. begin
  38189. if thebits = 0 then
  38190. pTDefRegMap(@Self)^.clr := $00004000
  38191. else
  38192. pTDefRegMap(@Self)^.&set := $00004000;
  38193. end;
  38194. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  38195. begin
  38196. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38197. end;
  38198. procedure TPMP_PMSTAT.setIBF; inline;
  38199. begin
  38200. pTDefRegMap(@Self)^.&set := $00008000;
  38201. end;
  38202. procedure TPMP_PMSTAT.clearIBF; inline;
  38203. begin
  38204. pTDefRegMap(@Self)^.clr := $00008000;
  38205. end;
  38206. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  38207. begin
  38208. if thebits = 0 then
  38209. pTDefRegMap(@Self)^.clr := $00008000
  38210. else
  38211. pTDefRegMap(@Self)^.&set := $00008000;
  38212. end;
  38213. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  38214. begin
  38215. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38216. end;
  38217. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  38218. begin
  38219. pTDefRegMap(@Self)^.val := thebits;
  38220. end;
  38221. function TPMP_PMSTAT.getw : TBits_32; inline;
  38222. begin
  38223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38224. end;
  38225. procedure TADC10_AD1CON1.setDONE; inline;
  38226. begin
  38227. pTDefRegMap(@Self)^.&set := $00000001;
  38228. end;
  38229. procedure TADC10_AD1CON1.clearDONE; inline;
  38230. begin
  38231. pTDefRegMap(@Self)^.clr := $00000001;
  38232. end;
  38233. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  38234. begin
  38235. if thebits = 0 then
  38236. pTDefRegMap(@Self)^.clr := $00000001
  38237. else
  38238. pTDefRegMap(@Self)^.&set := $00000001;
  38239. end;
  38240. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  38241. begin
  38242. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38243. end;
  38244. procedure TADC10_AD1CON1.setSAMP; inline;
  38245. begin
  38246. pTDefRegMap(@Self)^.&set := $00000002;
  38247. end;
  38248. procedure TADC10_AD1CON1.clearSAMP; inline;
  38249. begin
  38250. pTDefRegMap(@Self)^.clr := $00000002;
  38251. end;
  38252. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  38253. begin
  38254. if thebits = 0 then
  38255. pTDefRegMap(@Self)^.clr := $00000002
  38256. else
  38257. pTDefRegMap(@Self)^.&set := $00000002;
  38258. end;
  38259. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  38260. begin
  38261. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38262. end;
  38263. procedure TADC10_AD1CON1.setASAM; inline;
  38264. begin
  38265. pTDefRegMap(@Self)^.&set := $00000004;
  38266. end;
  38267. procedure TADC10_AD1CON1.clearASAM; inline;
  38268. begin
  38269. pTDefRegMap(@Self)^.clr := $00000004;
  38270. end;
  38271. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  38272. begin
  38273. if thebits = 0 then
  38274. pTDefRegMap(@Self)^.clr := $00000004
  38275. else
  38276. pTDefRegMap(@Self)^.&set := $00000004;
  38277. end;
  38278. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  38279. begin
  38280. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38281. end;
  38282. procedure TADC10_AD1CON1.setCLRASAM; inline;
  38283. begin
  38284. pTDefRegMap(@Self)^.&set := $00000010;
  38285. end;
  38286. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  38287. begin
  38288. pTDefRegMap(@Self)^.clr := $00000010;
  38289. end;
  38290. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  38291. begin
  38292. if thebits = 0 then
  38293. pTDefRegMap(@Self)^.clr := $00000010
  38294. else
  38295. pTDefRegMap(@Self)^.&set := $00000010;
  38296. end;
  38297. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  38298. begin
  38299. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38300. end;
  38301. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  38302. begin
  38303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  38304. end;
  38305. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  38306. begin
  38307. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  38308. end;
  38309. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  38310. begin
  38311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  38312. end;
  38313. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  38314. begin
  38315. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  38316. end;
  38317. procedure TADC10_AD1CON1.setSIDL; inline;
  38318. begin
  38319. pTDefRegMap(@Self)^.&set := $00002000;
  38320. end;
  38321. procedure TADC10_AD1CON1.clearSIDL; inline;
  38322. begin
  38323. pTDefRegMap(@Self)^.clr := $00002000;
  38324. end;
  38325. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  38326. begin
  38327. if thebits = 0 then
  38328. pTDefRegMap(@Self)^.clr := $00002000
  38329. else
  38330. pTDefRegMap(@Self)^.&set := $00002000;
  38331. end;
  38332. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  38333. begin
  38334. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38335. end;
  38336. procedure TADC10_AD1CON1.setON; inline;
  38337. begin
  38338. pTDefRegMap(@Self)^.&set := $00008000;
  38339. end;
  38340. procedure TADC10_AD1CON1.clearON; inline;
  38341. begin
  38342. pTDefRegMap(@Self)^.clr := $00008000;
  38343. end;
  38344. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  38345. begin
  38346. if thebits = 0 then
  38347. pTDefRegMap(@Self)^.clr := $00008000
  38348. else
  38349. pTDefRegMap(@Self)^.&set := $00008000;
  38350. end;
  38351. function TADC10_AD1CON1.getON : TBits_1; inline;
  38352. begin
  38353. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38354. end;
  38355. procedure TADC10_AD1CON1.setSSRC0; inline;
  38356. begin
  38357. pTDefRegMap(@Self)^.&set := $00000020;
  38358. end;
  38359. procedure TADC10_AD1CON1.clearSSRC0; inline;
  38360. begin
  38361. pTDefRegMap(@Self)^.clr := $00000020;
  38362. end;
  38363. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  38364. begin
  38365. if thebits = 0 then
  38366. pTDefRegMap(@Self)^.clr := $00000020
  38367. else
  38368. pTDefRegMap(@Self)^.&set := $00000020;
  38369. end;
  38370. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  38371. begin
  38372. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38373. end;
  38374. procedure TADC10_AD1CON1.setSSRC1; inline;
  38375. begin
  38376. pTDefRegMap(@Self)^.&set := $00000040;
  38377. end;
  38378. procedure TADC10_AD1CON1.clearSSRC1; inline;
  38379. begin
  38380. pTDefRegMap(@Self)^.clr := $00000040;
  38381. end;
  38382. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  38383. begin
  38384. if thebits = 0 then
  38385. pTDefRegMap(@Self)^.clr := $00000040
  38386. else
  38387. pTDefRegMap(@Self)^.&set := $00000040;
  38388. end;
  38389. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  38390. begin
  38391. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38392. end;
  38393. procedure TADC10_AD1CON1.setSSRC2; inline;
  38394. begin
  38395. pTDefRegMap(@Self)^.&set := $00000080;
  38396. end;
  38397. procedure TADC10_AD1CON1.clearSSRC2; inline;
  38398. begin
  38399. pTDefRegMap(@Self)^.clr := $00000080;
  38400. end;
  38401. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  38402. begin
  38403. if thebits = 0 then
  38404. pTDefRegMap(@Self)^.clr := $00000080
  38405. else
  38406. pTDefRegMap(@Self)^.&set := $00000080;
  38407. end;
  38408. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  38409. begin
  38410. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38411. end;
  38412. procedure TADC10_AD1CON1.setFORM0; inline;
  38413. begin
  38414. pTDefRegMap(@Self)^.&set := $00000100;
  38415. end;
  38416. procedure TADC10_AD1CON1.clearFORM0; inline;
  38417. begin
  38418. pTDefRegMap(@Self)^.clr := $00000100;
  38419. end;
  38420. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  38421. begin
  38422. if thebits = 0 then
  38423. pTDefRegMap(@Self)^.clr := $00000100
  38424. else
  38425. pTDefRegMap(@Self)^.&set := $00000100;
  38426. end;
  38427. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  38428. begin
  38429. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38430. end;
  38431. procedure TADC10_AD1CON1.setFORM1; inline;
  38432. begin
  38433. pTDefRegMap(@Self)^.&set := $00000200;
  38434. end;
  38435. procedure TADC10_AD1CON1.clearFORM1; inline;
  38436. begin
  38437. pTDefRegMap(@Self)^.clr := $00000200;
  38438. end;
  38439. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  38440. begin
  38441. if thebits = 0 then
  38442. pTDefRegMap(@Self)^.clr := $00000200
  38443. else
  38444. pTDefRegMap(@Self)^.&set := $00000200;
  38445. end;
  38446. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  38447. begin
  38448. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38449. end;
  38450. procedure TADC10_AD1CON1.setFORM2; inline;
  38451. begin
  38452. pTDefRegMap(@Self)^.&set := $00000400;
  38453. end;
  38454. procedure TADC10_AD1CON1.clearFORM2; inline;
  38455. begin
  38456. pTDefRegMap(@Self)^.clr := $00000400;
  38457. end;
  38458. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  38459. begin
  38460. if thebits = 0 then
  38461. pTDefRegMap(@Self)^.clr := $00000400
  38462. else
  38463. pTDefRegMap(@Self)^.&set := $00000400;
  38464. end;
  38465. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  38466. begin
  38467. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38468. end;
  38469. procedure TADC10_AD1CON1.setADSIDL; inline;
  38470. begin
  38471. pTDefRegMap(@Self)^.&set := $00002000;
  38472. end;
  38473. procedure TADC10_AD1CON1.clearADSIDL; inline;
  38474. begin
  38475. pTDefRegMap(@Self)^.clr := $00002000;
  38476. end;
  38477. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  38478. begin
  38479. if thebits = 0 then
  38480. pTDefRegMap(@Self)^.clr := $00002000
  38481. else
  38482. pTDefRegMap(@Self)^.&set := $00002000;
  38483. end;
  38484. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  38485. begin
  38486. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38487. end;
  38488. procedure TADC10_AD1CON1.setADON; inline;
  38489. begin
  38490. pTDefRegMap(@Self)^.&set := $00008000;
  38491. end;
  38492. procedure TADC10_AD1CON1.clearADON; inline;
  38493. begin
  38494. pTDefRegMap(@Self)^.clr := $00008000;
  38495. end;
  38496. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  38497. begin
  38498. if thebits = 0 then
  38499. pTDefRegMap(@Self)^.clr := $00008000
  38500. else
  38501. pTDefRegMap(@Self)^.&set := $00008000;
  38502. end;
  38503. function TADC10_AD1CON1.getADON : TBits_1; inline;
  38504. begin
  38505. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38506. end;
  38507. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  38508. begin
  38509. pTDefRegMap(@Self)^.val := thebits;
  38510. end;
  38511. function TADC10_AD1CON1.getw : TBits_32; inline;
  38512. begin
  38513. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38514. end;
  38515. procedure TADC10_AD1CON2.setALTS; inline;
  38516. begin
  38517. pTDefRegMap(@Self)^.&set := $00000001;
  38518. end;
  38519. procedure TADC10_AD1CON2.clearALTS; inline;
  38520. begin
  38521. pTDefRegMap(@Self)^.clr := $00000001;
  38522. end;
  38523. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  38524. begin
  38525. if thebits = 0 then
  38526. pTDefRegMap(@Self)^.clr := $00000001
  38527. else
  38528. pTDefRegMap(@Self)^.&set := $00000001;
  38529. end;
  38530. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  38531. begin
  38532. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38533. end;
  38534. procedure TADC10_AD1CON2.setBUFM; inline;
  38535. begin
  38536. pTDefRegMap(@Self)^.&set := $00000002;
  38537. end;
  38538. procedure TADC10_AD1CON2.clearBUFM; inline;
  38539. begin
  38540. pTDefRegMap(@Self)^.clr := $00000002;
  38541. end;
  38542. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  38543. begin
  38544. if thebits = 0 then
  38545. pTDefRegMap(@Self)^.clr := $00000002
  38546. else
  38547. pTDefRegMap(@Self)^.&set := $00000002;
  38548. end;
  38549. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  38550. begin
  38551. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38552. end;
  38553. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  38554. begin
  38555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  38556. end;
  38557. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  38558. begin
  38559. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  38560. end;
  38561. procedure TADC10_AD1CON2.setBUFS; inline;
  38562. begin
  38563. pTDefRegMap(@Self)^.&set := $00000080;
  38564. end;
  38565. procedure TADC10_AD1CON2.clearBUFS; inline;
  38566. begin
  38567. pTDefRegMap(@Self)^.clr := $00000080;
  38568. end;
  38569. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  38570. begin
  38571. if thebits = 0 then
  38572. pTDefRegMap(@Self)^.clr := $00000080
  38573. else
  38574. pTDefRegMap(@Self)^.&set := $00000080;
  38575. end;
  38576. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  38577. begin
  38578. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38579. end;
  38580. procedure TADC10_AD1CON2.setCSCNA; inline;
  38581. begin
  38582. pTDefRegMap(@Self)^.&set := $00000400;
  38583. end;
  38584. procedure TADC10_AD1CON2.clearCSCNA; inline;
  38585. begin
  38586. pTDefRegMap(@Self)^.clr := $00000400;
  38587. end;
  38588. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  38589. begin
  38590. if thebits = 0 then
  38591. pTDefRegMap(@Self)^.clr := $00000400
  38592. else
  38593. pTDefRegMap(@Self)^.&set := $00000400;
  38594. end;
  38595. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  38596. begin
  38597. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38598. end;
  38599. procedure TADC10_AD1CON2.setOFFCAL; inline;
  38600. begin
  38601. pTDefRegMap(@Self)^.&set := $00001000;
  38602. end;
  38603. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  38604. begin
  38605. pTDefRegMap(@Self)^.clr := $00001000;
  38606. end;
  38607. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  38608. begin
  38609. if thebits = 0 then
  38610. pTDefRegMap(@Self)^.clr := $00001000
  38611. else
  38612. pTDefRegMap(@Self)^.&set := $00001000;
  38613. end;
  38614. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  38615. begin
  38616. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38617. end;
  38618. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  38619. begin
  38620. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  38621. end;
  38622. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  38623. begin
  38624. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  38625. end;
  38626. procedure TADC10_AD1CON2.setSMPI0; inline;
  38627. begin
  38628. pTDefRegMap(@Self)^.&set := $00000004;
  38629. end;
  38630. procedure TADC10_AD1CON2.clearSMPI0; inline;
  38631. begin
  38632. pTDefRegMap(@Self)^.clr := $00000004;
  38633. end;
  38634. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  38635. begin
  38636. if thebits = 0 then
  38637. pTDefRegMap(@Self)^.clr := $00000004
  38638. else
  38639. pTDefRegMap(@Self)^.&set := $00000004;
  38640. end;
  38641. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  38642. begin
  38643. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38644. end;
  38645. procedure TADC10_AD1CON2.setSMPI1; inline;
  38646. begin
  38647. pTDefRegMap(@Self)^.&set := $00000008;
  38648. end;
  38649. procedure TADC10_AD1CON2.clearSMPI1; inline;
  38650. begin
  38651. pTDefRegMap(@Self)^.clr := $00000008;
  38652. end;
  38653. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  38654. begin
  38655. if thebits = 0 then
  38656. pTDefRegMap(@Self)^.clr := $00000008
  38657. else
  38658. pTDefRegMap(@Self)^.&set := $00000008;
  38659. end;
  38660. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  38661. begin
  38662. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38663. end;
  38664. procedure TADC10_AD1CON2.setSMPI2; inline;
  38665. begin
  38666. pTDefRegMap(@Self)^.&set := $00000010;
  38667. end;
  38668. procedure TADC10_AD1CON2.clearSMPI2; inline;
  38669. begin
  38670. pTDefRegMap(@Self)^.clr := $00000010;
  38671. end;
  38672. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  38673. begin
  38674. if thebits = 0 then
  38675. pTDefRegMap(@Self)^.clr := $00000010
  38676. else
  38677. pTDefRegMap(@Self)^.&set := $00000010;
  38678. end;
  38679. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  38680. begin
  38681. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38682. end;
  38683. procedure TADC10_AD1CON2.setSMPI3; inline;
  38684. begin
  38685. pTDefRegMap(@Self)^.&set := $00000020;
  38686. end;
  38687. procedure TADC10_AD1CON2.clearSMPI3; inline;
  38688. begin
  38689. pTDefRegMap(@Self)^.clr := $00000020;
  38690. end;
  38691. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  38692. begin
  38693. if thebits = 0 then
  38694. pTDefRegMap(@Self)^.clr := $00000020
  38695. else
  38696. pTDefRegMap(@Self)^.&set := $00000020;
  38697. end;
  38698. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  38699. begin
  38700. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38701. end;
  38702. procedure TADC10_AD1CON2.setVCFG0; inline;
  38703. begin
  38704. pTDefRegMap(@Self)^.&set := $00002000;
  38705. end;
  38706. procedure TADC10_AD1CON2.clearVCFG0; inline;
  38707. begin
  38708. pTDefRegMap(@Self)^.clr := $00002000;
  38709. end;
  38710. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  38711. begin
  38712. if thebits = 0 then
  38713. pTDefRegMap(@Self)^.clr := $00002000
  38714. else
  38715. pTDefRegMap(@Self)^.&set := $00002000;
  38716. end;
  38717. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  38718. begin
  38719. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38720. end;
  38721. procedure TADC10_AD1CON2.setVCFG1; inline;
  38722. begin
  38723. pTDefRegMap(@Self)^.&set := $00004000;
  38724. end;
  38725. procedure TADC10_AD1CON2.clearVCFG1; inline;
  38726. begin
  38727. pTDefRegMap(@Self)^.clr := $00004000;
  38728. end;
  38729. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  38730. begin
  38731. if thebits = 0 then
  38732. pTDefRegMap(@Self)^.clr := $00004000
  38733. else
  38734. pTDefRegMap(@Self)^.&set := $00004000;
  38735. end;
  38736. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  38737. begin
  38738. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38739. end;
  38740. procedure TADC10_AD1CON2.setVCFG2; inline;
  38741. begin
  38742. pTDefRegMap(@Self)^.&set := $00008000;
  38743. end;
  38744. procedure TADC10_AD1CON2.clearVCFG2; inline;
  38745. begin
  38746. pTDefRegMap(@Self)^.clr := $00008000;
  38747. end;
  38748. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  38749. begin
  38750. if thebits = 0 then
  38751. pTDefRegMap(@Self)^.clr := $00008000
  38752. else
  38753. pTDefRegMap(@Self)^.&set := $00008000;
  38754. end;
  38755. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  38756. begin
  38757. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38758. end;
  38759. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  38760. begin
  38761. pTDefRegMap(@Self)^.val := thebits;
  38762. end;
  38763. function TADC10_AD1CON2.getw : TBits_32; inline;
  38764. begin
  38765. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38766. end;
  38767. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  38768. begin
  38769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  38770. end;
  38771. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  38772. begin
  38773. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  38774. end;
  38775. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  38776. begin
  38777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  38778. end;
  38779. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  38780. begin
  38781. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  38782. end;
  38783. procedure TADC10_AD1CON3.setADRC; inline;
  38784. begin
  38785. pTDefRegMap(@Self)^.&set := $00008000;
  38786. end;
  38787. procedure TADC10_AD1CON3.clearADRC; inline;
  38788. begin
  38789. pTDefRegMap(@Self)^.clr := $00008000;
  38790. end;
  38791. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  38792. begin
  38793. if thebits = 0 then
  38794. pTDefRegMap(@Self)^.clr := $00008000
  38795. else
  38796. pTDefRegMap(@Self)^.&set := $00008000;
  38797. end;
  38798. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  38799. begin
  38800. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38801. end;
  38802. procedure TADC10_AD1CON3.setADCS0; inline;
  38803. begin
  38804. pTDefRegMap(@Self)^.&set := $00000001;
  38805. end;
  38806. procedure TADC10_AD1CON3.clearADCS0; inline;
  38807. begin
  38808. pTDefRegMap(@Self)^.clr := $00000001;
  38809. end;
  38810. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  38811. begin
  38812. if thebits = 0 then
  38813. pTDefRegMap(@Self)^.clr := $00000001
  38814. else
  38815. pTDefRegMap(@Self)^.&set := $00000001;
  38816. end;
  38817. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  38818. begin
  38819. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38820. end;
  38821. procedure TADC10_AD1CON3.setADCS1; inline;
  38822. begin
  38823. pTDefRegMap(@Self)^.&set := $00000002;
  38824. end;
  38825. procedure TADC10_AD1CON3.clearADCS1; inline;
  38826. begin
  38827. pTDefRegMap(@Self)^.clr := $00000002;
  38828. end;
  38829. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  38830. begin
  38831. if thebits = 0 then
  38832. pTDefRegMap(@Self)^.clr := $00000002
  38833. else
  38834. pTDefRegMap(@Self)^.&set := $00000002;
  38835. end;
  38836. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  38837. begin
  38838. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38839. end;
  38840. procedure TADC10_AD1CON3.setADCS2; inline;
  38841. begin
  38842. pTDefRegMap(@Self)^.&set := $00000004;
  38843. end;
  38844. procedure TADC10_AD1CON3.clearADCS2; inline;
  38845. begin
  38846. pTDefRegMap(@Self)^.clr := $00000004;
  38847. end;
  38848. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  38849. begin
  38850. if thebits = 0 then
  38851. pTDefRegMap(@Self)^.clr := $00000004
  38852. else
  38853. pTDefRegMap(@Self)^.&set := $00000004;
  38854. end;
  38855. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  38856. begin
  38857. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38858. end;
  38859. procedure TADC10_AD1CON3.setADCS3; inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.&set := $00000008;
  38862. end;
  38863. procedure TADC10_AD1CON3.clearADCS3; inline;
  38864. begin
  38865. pTDefRegMap(@Self)^.clr := $00000008;
  38866. end;
  38867. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  38868. begin
  38869. if thebits = 0 then
  38870. pTDefRegMap(@Self)^.clr := $00000008
  38871. else
  38872. pTDefRegMap(@Self)^.&set := $00000008;
  38873. end;
  38874. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  38875. begin
  38876. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38877. end;
  38878. procedure TADC10_AD1CON3.setADCS4; inline;
  38879. begin
  38880. pTDefRegMap(@Self)^.&set := $00000010;
  38881. end;
  38882. procedure TADC10_AD1CON3.clearADCS4; inline;
  38883. begin
  38884. pTDefRegMap(@Self)^.clr := $00000010;
  38885. end;
  38886. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  38887. begin
  38888. if thebits = 0 then
  38889. pTDefRegMap(@Self)^.clr := $00000010
  38890. else
  38891. pTDefRegMap(@Self)^.&set := $00000010;
  38892. end;
  38893. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  38894. begin
  38895. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38896. end;
  38897. procedure TADC10_AD1CON3.setADCS5; inline;
  38898. begin
  38899. pTDefRegMap(@Self)^.&set := $00000020;
  38900. end;
  38901. procedure TADC10_AD1CON3.clearADCS5; inline;
  38902. begin
  38903. pTDefRegMap(@Self)^.clr := $00000020;
  38904. end;
  38905. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  38906. begin
  38907. if thebits = 0 then
  38908. pTDefRegMap(@Self)^.clr := $00000020
  38909. else
  38910. pTDefRegMap(@Self)^.&set := $00000020;
  38911. end;
  38912. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  38913. begin
  38914. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38915. end;
  38916. procedure TADC10_AD1CON3.setADCS6; inline;
  38917. begin
  38918. pTDefRegMap(@Self)^.&set := $00000040;
  38919. end;
  38920. procedure TADC10_AD1CON3.clearADCS6; inline;
  38921. begin
  38922. pTDefRegMap(@Self)^.clr := $00000040;
  38923. end;
  38924. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  38925. begin
  38926. if thebits = 0 then
  38927. pTDefRegMap(@Self)^.clr := $00000040
  38928. else
  38929. pTDefRegMap(@Self)^.&set := $00000040;
  38930. end;
  38931. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  38932. begin
  38933. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38934. end;
  38935. procedure TADC10_AD1CON3.setADCS7; inline;
  38936. begin
  38937. pTDefRegMap(@Self)^.&set := $00000080;
  38938. end;
  38939. procedure TADC10_AD1CON3.clearADCS7; inline;
  38940. begin
  38941. pTDefRegMap(@Self)^.clr := $00000080;
  38942. end;
  38943. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  38944. begin
  38945. if thebits = 0 then
  38946. pTDefRegMap(@Self)^.clr := $00000080
  38947. else
  38948. pTDefRegMap(@Self)^.&set := $00000080;
  38949. end;
  38950. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  38951. begin
  38952. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38953. end;
  38954. procedure TADC10_AD1CON3.setSAMC0; inline;
  38955. begin
  38956. pTDefRegMap(@Self)^.&set := $00000100;
  38957. end;
  38958. procedure TADC10_AD1CON3.clearSAMC0; inline;
  38959. begin
  38960. pTDefRegMap(@Self)^.clr := $00000100;
  38961. end;
  38962. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  38963. begin
  38964. if thebits = 0 then
  38965. pTDefRegMap(@Self)^.clr := $00000100
  38966. else
  38967. pTDefRegMap(@Self)^.&set := $00000100;
  38968. end;
  38969. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  38970. begin
  38971. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38972. end;
  38973. procedure TADC10_AD1CON3.setSAMC1; inline;
  38974. begin
  38975. pTDefRegMap(@Self)^.&set := $00000200;
  38976. end;
  38977. procedure TADC10_AD1CON3.clearSAMC1; inline;
  38978. begin
  38979. pTDefRegMap(@Self)^.clr := $00000200;
  38980. end;
  38981. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  38982. begin
  38983. if thebits = 0 then
  38984. pTDefRegMap(@Self)^.clr := $00000200
  38985. else
  38986. pTDefRegMap(@Self)^.&set := $00000200;
  38987. end;
  38988. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  38989. begin
  38990. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38991. end;
  38992. procedure TADC10_AD1CON3.setSAMC2; inline;
  38993. begin
  38994. pTDefRegMap(@Self)^.&set := $00000400;
  38995. end;
  38996. procedure TADC10_AD1CON3.clearSAMC2; inline;
  38997. begin
  38998. pTDefRegMap(@Self)^.clr := $00000400;
  38999. end;
  39000. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  39001. begin
  39002. if thebits = 0 then
  39003. pTDefRegMap(@Self)^.clr := $00000400
  39004. else
  39005. pTDefRegMap(@Self)^.&set := $00000400;
  39006. end;
  39007. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  39008. begin
  39009. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39010. end;
  39011. procedure TADC10_AD1CON3.setSAMC3; inline;
  39012. begin
  39013. pTDefRegMap(@Self)^.&set := $00000800;
  39014. end;
  39015. procedure TADC10_AD1CON3.clearSAMC3; inline;
  39016. begin
  39017. pTDefRegMap(@Self)^.clr := $00000800;
  39018. end;
  39019. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  39020. begin
  39021. if thebits = 0 then
  39022. pTDefRegMap(@Self)^.clr := $00000800
  39023. else
  39024. pTDefRegMap(@Self)^.&set := $00000800;
  39025. end;
  39026. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  39027. begin
  39028. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39029. end;
  39030. procedure TADC10_AD1CON3.setSAMC4; inline;
  39031. begin
  39032. pTDefRegMap(@Self)^.&set := $00001000;
  39033. end;
  39034. procedure TADC10_AD1CON3.clearSAMC4; inline;
  39035. begin
  39036. pTDefRegMap(@Self)^.clr := $00001000;
  39037. end;
  39038. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  39039. begin
  39040. if thebits = 0 then
  39041. pTDefRegMap(@Self)^.clr := $00001000
  39042. else
  39043. pTDefRegMap(@Self)^.&set := $00001000;
  39044. end;
  39045. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  39046. begin
  39047. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39048. end;
  39049. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  39050. begin
  39051. pTDefRegMap(@Self)^.val := thebits;
  39052. end;
  39053. function TADC10_AD1CON3.getw : TBits_32; inline;
  39054. begin
  39055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39056. end;
  39057. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  39058. begin
  39059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  39060. end;
  39061. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  39062. begin
  39063. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  39064. end;
  39065. procedure TADC10_AD1CHS.setCH0NA; inline;
  39066. begin
  39067. pTDefRegMap(@Self)^.&set := $00800000;
  39068. end;
  39069. procedure TADC10_AD1CHS.clearCH0NA; inline;
  39070. begin
  39071. pTDefRegMap(@Self)^.clr := $00800000;
  39072. end;
  39073. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  39074. begin
  39075. if thebits = 0 then
  39076. pTDefRegMap(@Self)^.clr := $00800000
  39077. else
  39078. pTDefRegMap(@Self)^.&set := $00800000;
  39079. end;
  39080. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  39081. begin
  39082. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39083. end;
  39084. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  39085. begin
  39086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  39087. end;
  39088. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  39089. begin
  39090. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  39091. end;
  39092. procedure TADC10_AD1CHS.setCH0NB; inline;
  39093. begin
  39094. pTDefRegMap(@Self)^.&set := $80000000;
  39095. end;
  39096. procedure TADC10_AD1CHS.clearCH0NB; inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.clr := $80000000;
  39099. end;
  39100. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  39101. begin
  39102. if thebits = 0 then
  39103. pTDefRegMap(@Self)^.clr := $80000000
  39104. else
  39105. pTDefRegMap(@Self)^.&set := $80000000;
  39106. end;
  39107. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  39108. begin
  39109. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  39110. end;
  39111. procedure TADC10_AD1CHS.setCH0SA0; inline;
  39112. begin
  39113. pTDefRegMap(@Self)^.&set := $00010000;
  39114. end;
  39115. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  39116. begin
  39117. pTDefRegMap(@Self)^.clr := $00010000;
  39118. end;
  39119. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  39120. begin
  39121. if thebits = 0 then
  39122. pTDefRegMap(@Self)^.clr := $00010000
  39123. else
  39124. pTDefRegMap(@Self)^.&set := $00010000;
  39125. end;
  39126. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  39127. begin
  39128. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39129. end;
  39130. procedure TADC10_AD1CHS.setCH0SA1; inline;
  39131. begin
  39132. pTDefRegMap(@Self)^.&set := $00020000;
  39133. end;
  39134. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.clr := $00020000;
  39137. end;
  39138. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  39139. begin
  39140. if thebits = 0 then
  39141. pTDefRegMap(@Self)^.clr := $00020000
  39142. else
  39143. pTDefRegMap(@Self)^.&set := $00020000;
  39144. end;
  39145. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  39146. begin
  39147. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39148. end;
  39149. procedure TADC10_AD1CHS.setCH0SA2; inline;
  39150. begin
  39151. pTDefRegMap(@Self)^.&set := $00040000;
  39152. end;
  39153. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.clr := $00040000;
  39156. end;
  39157. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  39158. begin
  39159. if thebits = 0 then
  39160. pTDefRegMap(@Self)^.clr := $00040000
  39161. else
  39162. pTDefRegMap(@Self)^.&set := $00040000;
  39163. end;
  39164. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  39165. begin
  39166. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39167. end;
  39168. procedure TADC10_AD1CHS.setCH0SA3; inline;
  39169. begin
  39170. pTDefRegMap(@Self)^.&set := $00080000;
  39171. end;
  39172. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.clr := $00080000;
  39175. end;
  39176. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  39177. begin
  39178. if thebits = 0 then
  39179. pTDefRegMap(@Self)^.clr := $00080000
  39180. else
  39181. pTDefRegMap(@Self)^.&set := $00080000;
  39182. end;
  39183. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  39184. begin
  39185. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39186. end;
  39187. procedure TADC10_AD1CHS.setCH0SB0; inline;
  39188. begin
  39189. pTDefRegMap(@Self)^.&set := $01000000;
  39190. end;
  39191. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  39192. begin
  39193. pTDefRegMap(@Self)^.clr := $01000000;
  39194. end;
  39195. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  39196. begin
  39197. if thebits = 0 then
  39198. pTDefRegMap(@Self)^.clr := $01000000
  39199. else
  39200. pTDefRegMap(@Self)^.&set := $01000000;
  39201. end;
  39202. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  39203. begin
  39204. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  39205. end;
  39206. procedure TADC10_AD1CHS.setCH0SB1; inline;
  39207. begin
  39208. pTDefRegMap(@Self)^.&set := $02000000;
  39209. end;
  39210. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  39211. begin
  39212. pTDefRegMap(@Self)^.clr := $02000000;
  39213. end;
  39214. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  39215. begin
  39216. if thebits = 0 then
  39217. pTDefRegMap(@Self)^.clr := $02000000
  39218. else
  39219. pTDefRegMap(@Self)^.&set := $02000000;
  39220. end;
  39221. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  39222. begin
  39223. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  39224. end;
  39225. procedure TADC10_AD1CHS.setCH0SB2; inline;
  39226. begin
  39227. pTDefRegMap(@Self)^.&set := $04000000;
  39228. end;
  39229. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  39230. begin
  39231. pTDefRegMap(@Self)^.clr := $04000000;
  39232. end;
  39233. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  39234. begin
  39235. if thebits = 0 then
  39236. pTDefRegMap(@Self)^.clr := $04000000
  39237. else
  39238. pTDefRegMap(@Self)^.&set := $04000000;
  39239. end;
  39240. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  39241. begin
  39242. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  39243. end;
  39244. procedure TADC10_AD1CHS.setCH0SB3; inline;
  39245. begin
  39246. pTDefRegMap(@Self)^.&set := $08000000;
  39247. end;
  39248. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  39249. begin
  39250. pTDefRegMap(@Self)^.clr := $08000000;
  39251. end;
  39252. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  39253. begin
  39254. if thebits = 0 then
  39255. pTDefRegMap(@Self)^.clr := $08000000
  39256. else
  39257. pTDefRegMap(@Self)^.&set := $08000000;
  39258. end;
  39259. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  39260. begin
  39261. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  39262. end;
  39263. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  39264. begin
  39265. pTDefRegMap(@Self)^.val := thebits;
  39266. end;
  39267. function TADC10_AD1CHS.getw : TBits_32; inline;
  39268. begin
  39269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39270. end;
  39271. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  39272. begin
  39273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39274. end;
  39275. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  39276. begin
  39277. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39278. end;
  39279. procedure TADC10_AD1CSSL.setCSSL0; inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.&set := $00000001;
  39282. end;
  39283. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  39284. begin
  39285. pTDefRegMap(@Self)^.clr := $00000001;
  39286. end;
  39287. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  39288. begin
  39289. if thebits = 0 then
  39290. pTDefRegMap(@Self)^.clr := $00000001
  39291. else
  39292. pTDefRegMap(@Self)^.&set := $00000001;
  39293. end;
  39294. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  39295. begin
  39296. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39297. end;
  39298. procedure TADC10_AD1CSSL.setCSSL1; inline;
  39299. begin
  39300. pTDefRegMap(@Self)^.&set := $00000002;
  39301. end;
  39302. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  39303. begin
  39304. pTDefRegMap(@Self)^.clr := $00000002;
  39305. end;
  39306. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  39307. begin
  39308. if thebits = 0 then
  39309. pTDefRegMap(@Self)^.clr := $00000002
  39310. else
  39311. pTDefRegMap(@Self)^.&set := $00000002;
  39312. end;
  39313. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  39314. begin
  39315. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39316. end;
  39317. procedure TADC10_AD1CSSL.setCSSL2; inline;
  39318. begin
  39319. pTDefRegMap(@Self)^.&set := $00000004;
  39320. end;
  39321. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  39322. begin
  39323. pTDefRegMap(@Self)^.clr := $00000004;
  39324. end;
  39325. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  39326. begin
  39327. if thebits = 0 then
  39328. pTDefRegMap(@Self)^.clr := $00000004
  39329. else
  39330. pTDefRegMap(@Self)^.&set := $00000004;
  39331. end;
  39332. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  39333. begin
  39334. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39335. end;
  39336. procedure TADC10_AD1CSSL.setCSSL3; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.&set := $00000008;
  39339. end;
  39340. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  39341. begin
  39342. pTDefRegMap(@Self)^.clr := $00000008;
  39343. end;
  39344. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  39345. begin
  39346. if thebits = 0 then
  39347. pTDefRegMap(@Self)^.clr := $00000008
  39348. else
  39349. pTDefRegMap(@Self)^.&set := $00000008;
  39350. end;
  39351. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  39352. begin
  39353. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39354. end;
  39355. procedure TADC10_AD1CSSL.setCSSL4; inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.&set := $00000010;
  39358. end;
  39359. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  39360. begin
  39361. pTDefRegMap(@Self)^.clr := $00000010;
  39362. end;
  39363. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  39364. begin
  39365. if thebits = 0 then
  39366. pTDefRegMap(@Self)^.clr := $00000010
  39367. else
  39368. pTDefRegMap(@Self)^.&set := $00000010;
  39369. end;
  39370. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  39371. begin
  39372. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39373. end;
  39374. procedure TADC10_AD1CSSL.setCSSL5; inline;
  39375. begin
  39376. pTDefRegMap(@Self)^.&set := $00000020;
  39377. end;
  39378. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  39379. begin
  39380. pTDefRegMap(@Self)^.clr := $00000020;
  39381. end;
  39382. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  39383. begin
  39384. if thebits = 0 then
  39385. pTDefRegMap(@Self)^.clr := $00000020
  39386. else
  39387. pTDefRegMap(@Self)^.&set := $00000020;
  39388. end;
  39389. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  39390. begin
  39391. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39392. end;
  39393. procedure TADC10_AD1CSSL.setCSSL6; inline;
  39394. begin
  39395. pTDefRegMap(@Self)^.&set := $00000040;
  39396. end;
  39397. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  39398. begin
  39399. pTDefRegMap(@Self)^.clr := $00000040;
  39400. end;
  39401. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  39402. begin
  39403. if thebits = 0 then
  39404. pTDefRegMap(@Self)^.clr := $00000040
  39405. else
  39406. pTDefRegMap(@Self)^.&set := $00000040;
  39407. end;
  39408. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  39409. begin
  39410. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39411. end;
  39412. procedure TADC10_AD1CSSL.setCSSL7; inline;
  39413. begin
  39414. pTDefRegMap(@Self)^.&set := $00000080;
  39415. end;
  39416. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  39417. begin
  39418. pTDefRegMap(@Self)^.clr := $00000080;
  39419. end;
  39420. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  39421. begin
  39422. if thebits = 0 then
  39423. pTDefRegMap(@Self)^.clr := $00000080
  39424. else
  39425. pTDefRegMap(@Self)^.&set := $00000080;
  39426. end;
  39427. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  39428. begin
  39429. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39430. end;
  39431. procedure TADC10_AD1CSSL.setCSSL8; inline;
  39432. begin
  39433. pTDefRegMap(@Self)^.&set := $00000100;
  39434. end;
  39435. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  39436. begin
  39437. pTDefRegMap(@Self)^.clr := $00000100;
  39438. end;
  39439. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  39440. begin
  39441. if thebits = 0 then
  39442. pTDefRegMap(@Self)^.clr := $00000100
  39443. else
  39444. pTDefRegMap(@Self)^.&set := $00000100;
  39445. end;
  39446. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  39447. begin
  39448. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39449. end;
  39450. procedure TADC10_AD1CSSL.setCSSL9; inline;
  39451. begin
  39452. pTDefRegMap(@Self)^.&set := $00000200;
  39453. end;
  39454. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  39455. begin
  39456. pTDefRegMap(@Self)^.clr := $00000200;
  39457. end;
  39458. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  39459. begin
  39460. if thebits = 0 then
  39461. pTDefRegMap(@Self)^.clr := $00000200
  39462. else
  39463. pTDefRegMap(@Self)^.&set := $00000200;
  39464. end;
  39465. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  39466. begin
  39467. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39468. end;
  39469. procedure TADC10_AD1CSSL.setCSSL10; inline;
  39470. begin
  39471. pTDefRegMap(@Self)^.&set := $00000400;
  39472. end;
  39473. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  39474. begin
  39475. pTDefRegMap(@Self)^.clr := $00000400;
  39476. end;
  39477. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  39478. begin
  39479. if thebits = 0 then
  39480. pTDefRegMap(@Self)^.clr := $00000400
  39481. else
  39482. pTDefRegMap(@Self)^.&set := $00000400;
  39483. end;
  39484. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  39485. begin
  39486. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39487. end;
  39488. procedure TADC10_AD1CSSL.setCSSL11; inline;
  39489. begin
  39490. pTDefRegMap(@Self)^.&set := $00000800;
  39491. end;
  39492. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  39493. begin
  39494. pTDefRegMap(@Self)^.clr := $00000800;
  39495. end;
  39496. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  39497. begin
  39498. if thebits = 0 then
  39499. pTDefRegMap(@Self)^.clr := $00000800
  39500. else
  39501. pTDefRegMap(@Self)^.&set := $00000800;
  39502. end;
  39503. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  39504. begin
  39505. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39506. end;
  39507. procedure TADC10_AD1CSSL.setCSSL12; inline;
  39508. begin
  39509. pTDefRegMap(@Self)^.&set := $00001000;
  39510. end;
  39511. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  39512. begin
  39513. pTDefRegMap(@Self)^.clr := $00001000;
  39514. end;
  39515. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  39516. begin
  39517. if thebits = 0 then
  39518. pTDefRegMap(@Self)^.clr := $00001000
  39519. else
  39520. pTDefRegMap(@Self)^.&set := $00001000;
  39521. end;
  39522. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  39523. begin
  39524. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39525. end;
  39526. procedure TADC10_AD1CSSL.setCSSL13; inline;
  39527. begin
  39528. pTDefRegMap(@Self)^.&set := $00002000;
  39529. end;
  39530. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  39531. begin
  39532. pTDefRegMap(@Self)^.clr := $00002000;
  39533. end;
  39534. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  39535. begin
  39536. if thebits = 0 then
  39537. pTDefRegMap(@Self)^.clr := $00002000
  39538. else
  39539. pTDefRegMap(@Self)^.&set := $00002000;
  39540. end;
  39541. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  39542. begin
  39543. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39544. end;
  39545. procedure TADC10_AD1CSSL.setCSSL14; inline;
  39546. begin
  39547. pTDefRegMap(@Self)^.&set := $00004000;
  39548. end;
  39549. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  39550. begin
  39551. pTDefRegMap(@Self)^.clr := $00004000;
  39552. end;
  39553. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  39554. begin
  39555. if thebits = 0 then
  39556. pTDefRegMap(@Self)^.clr := $00004000
  39557. else
  39558. pTDefRegMap(@Self)^.&set := $00004000;
  39559. end;
  39560. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  39561. begin
  39562. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39563. end;
  39564. procedure TADC10_AD1CSSL.setCSSL15; inline;
  39565. begin
  39566. pTDefRegMap(@Self)^.&set := $00008000;
  39567. end;
  39568. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  39569. begin
  39570. pTDefRegMap(@Self)^.clr := $00008000;
  39571. end;
  39572. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  39573. begin
  39574. if thebits = 0 then
  39575. pTDefRegMap(@Self)^.clr := $00008000
  39576. else
  39577. pTDefRegMap(@Self)^.&set := $00008000;
  39578. end;
  39579. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  39580. begin
  39581. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39582. end;
  39583. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  39584. begin
  39585. pTDefRegMap(@Self)^.val := thebits;
  39586. end;
  39587. function TADC10_AD1CSSL.getw : TBits_32; inline;
  39588. begin
  39589. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39590. end;
  39591. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  39592. begin
  39593. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39594. end;
  39595. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  39596. begin
  39597. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39598. end;
  39599. procedure TADC10_AD1PCFG.setPCFG0; inline;
  39600. begin
  39601. pTDefRegMap(@Self)^.&set := $00000001;
  39602. end;
  39603. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  39604. begin
  39605. pTDefRegMap(@Self)^.clr := $00000001;
  39606. end;
  39607. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  39608. begin
  39609. if thebits = 0 then
  39610. pTDefRegMap(@Self)^.clr := $00000001
  39611. else
  39612. pTDefRegMap(@Self)^.&set := $00000001;
  39613. end;
  39614. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  39615. begin
  39616. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39617. end;
  39618. procedure TADC10_AD1PCFG.setPCFG1; inline;
  39619. begin
  39620. pTDefRegMap(@Self)^.&set := $00000002;
  39621. end;
  39622. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  39623. begin
  39624. pTDefRegMap(@Self)^.clr := $00000002;
  39625. end;
  39626. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  39627. begin
  39628. if thebits = 0 then
  39629. pTDefRegMap(@Self)^.clr := $00000002
  39630. else
  39631. pTDefRegMap(@Self)^.&set := $00000002;
  39632. end;
  39633. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  39634. begin
  39635. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39636. end;
  39637. procedure TADC10_AD1PCFG.setPCFG2; inline;
  39638. begin
  39639. pTDefRegMap(@Self)^.&set := $00000004;
  39640. end;
  39641. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  39642. begin
  39643. pTDefRegMap(@Self)^.clr := $00000004;
  39644. end;
  39645. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  39646. begin
  39647. if thebits = 0 then
  39648. pTDefRegMap(@Self)^.clr := $00000004
  39649. else
  39650. pTDefRegMap(@Self)^.&set := $00000004;
  39651. end;
  39652. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  39653. begin
  39654. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39655. end;
  39656. procedure TADC10_AD1PCFG.setPCFG3; inline;
  39657. begin
  39658. pTDefRegMap(@Self)^.&set := $00000008;
  39659. end;
  39660. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  39661. begin
  39662. pTDefRegMap(@Self)^.clr := $00000008;
  39663. end;
  39664. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  39665. begin
  39666. if thebits = 0 then
  39667. pTDefRegMap(@Self)^.clr := $00000008
  39668. else
  39669. pTDefRegMap(@Self)^.&set := $00000008;
  39670. end;
  39671. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  39672. begin
  39673. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39674. end;
  39675. procedure TADC10_AD1PCFG.setPCFG4; inline;
  39676. begin
  39677. pTDefRegMap(@Self)^.&set := $00000010;
  39678. end;
  39679. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.clr := $00000010;
  39682. end;
  39683. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  39684. begin
  39685. if thebits = 0 then
  39686. pTDefRegMap(@Self)^.clr := $00000010
  39687. else
  39688. pTDefRegMap(@Self)^.&set := $00000010;
  39689. end;
  39690. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  39691. begin
  39692. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39693. end;
  39694. procedure TADC10_AD1PCFG.setPCFG5; inline;
  39695. begin
  39696. pTDefRegMap(@Self)^.&set := $00000020;
  39697. end;
  39698. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.clr := $00000020;
  39701. end;
  39702. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  39703. begin
  39704. if thebits = 0 then
  39705. pTDefRegMap(@Self)^.clr := $00000020
  39706. else
  39707. pTDefRegMap(@Self)^.&set := $00000020;
  39708. end;
  39709. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  39710. begin
  39711. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39712. end;
  39713. procedure TADC10_AD1PCFG.setPCFG6; inline;
  39714. begin
  39715. pTDefRegMap(@Self)^.&set := $00000040;
  39716. end;
  39717. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  39718. begin
  39719. pTDefRegMap(@Self)^.clr := $00000040;
  39720. end;
  39721. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  39722. begin
  39723. if thebits = 0 then
  39724. pTDefRegMap(@Self)^.clr := $00000040
  39725. else
  39726. pTDefRegMap(@Self)^.&set := $00000040;
  39727. end;
  39728. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  39729. begin
  39730. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39731. end;
  39732. procedure TADC10_AD1PCFG.setPCFG7; inline;
  39733. begin
  39734. pTDefRegMap(@Self)^.&set := $00000080;
  39735. end;
  39736. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  39737. begin
  39738. pTDefRegMap(@Self)^.clr := $00000080;
  39739. end;
  39740. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  39741. begin
  39742. if thebits = 0 then
  39743. pTDefRegMap(@Self)^.clr := $00000080
  39744. else
  39745. pTDefRegMap(@Self)^.&set := $00000080;
  39746. end;
  39747. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  39748. begin
  39749. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39750. end;
  39751. procedure TADC10_AD1PCFG.setPCFG8; inline;
  39752. begin
  39753. pTDefRegMap(@Self)^.&set := $00000100;
  39754. end;
  39755. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  39756. begin
  39757. pTDefRegMap(@Self)^.clr := $00000100;
  39758. end;
  39759. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  39760. begin
  39761. if thebits = 0 then
  39762. pTDefRegMap(@Self)^.clr := $00000100
  39763. else
  39764. pTDefRegMap(@Self)^.&set := $00000100;
  39765. end;
  39766. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  39767. begin
  39768. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39769. end;
  39770. procedure TADC10_AD1PCFG.setPCFG9; inline;
  39771. begin
  39772. pTDefRegMap(@Self)^.&set := $00000200;
  39773. end;
  39774. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  39775. begin
  39776. pTDefRegMap(@Self)^.clr := $00000200;
  39777. end;
  39778. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  39779. begin
  39780. if thebits = 0 then
  39781. pTDefRegMap(@Self)^.clr := $00000200
  39782. else
  39783. pTDefRegMap(@Self)^.&set := $00000200;
  39784. end;
  39785. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  39786. begin
  39787. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39788. end;
  39789. procedure TADC10_AD1PCFG.setPCFG10; inline;
  39790. begin
  39791. pTDefRegMap(@Self)^.&set := $00000400;
  39792. end;
  39793. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  39794. begin
  39795. pTDefRegMap(@Self)^.clr := $00000400;
  39796. end;
  39797. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  39798. begin
  39799. if thebits = 0 then
  39800. pTDefRegMap(@Self)^.clr := $00000400
  39801. else
  39802. pTDefRegMap(@Self)^.&set := $00000400;
  39803. end;
  39804. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  39805. begin
  39806. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39807. end;
  39808. procedure TADC10_AD1PCFG.setPCFG11; inline;
  39809. begin
  39810. pTDefRegMap(@Self)^.&set := $00000800;
  39811. end;
  39812. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  39813. begin
  39814. pTDefRegMap(@Self)^.clr := $00000800;
  39815. end;
  39816. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  39817. begin
  39818. if thebits = 0 then
  39819. pTDefRegMap(@Self)^.clr := $00000800
  39820. else
  39821. pTDefRegMap(@Self)^.&set := $00000800;
  39822. end;
  39823. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  39824. begin
  39825. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39826. end;
  39827. procedure TADC10_AD1PCFG.setPCFG12; inline;
  39828. begin
  39829. pTDefRegMap(@Self)^.&set := $00001000;
  39830. end;
  39831. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  39832. begin
  39833. pTDefRegMap(@Self)^.clr := $00001000;
  39834. end;
  39835. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  39836. begin
  39837. if thebits = 0 then
  39838. pTDefRegMap(@Self)^.clr := $00001000
  39839. else
  39840. pTDefRegMap(@Self)^.&set := $00001000;
  39841. end;
  39842. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  39843. begin
  39844. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39845. end;
  39846. procedure TADC10_AD1PCFG.setPCFG13; inline;
  39847. begin
  39848. pTDefRegMap(@Self)^.&set := $00002000;
  39849. end;
  39850. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  39851. begin
  39852. pTDefRegMap(@Self)^.clr := $00002000;
  39853. end;
  39854. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  39855. begin
  39856. if thebits = 0 then
  39857. pTDefRegMap(@Self)^.clr := $00002000
  39858. else
  39859. pTDefRegMap(@Self)^.&set := $00002000;
  39860. end;
  39861. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  39862. begin
  39863. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39864. end;
  39865. procedure TADC10_AD1PCFG.setPCFG14; inline;
  39866. begin
  39867. pTDefRegMap(@Self)^.&set := $00004000;
  39868. end;
  39869. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  39870. begin
  39871. pTDefRegMap(@Self)^.clr := $00004000;
  39872. end;
  39873. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  39874. begin
  39875. if thebits = 0 then
  39876. pTDefRegMap(@Self)^.clr := $00004000
  39877. else
  39878. pTDefRegMap(@Self)^.&set := $00004000;
  39879. end;
  39880. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  39881. begin
  39882. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39883. end;
  39884. procedure TADC10_AD1PCFG.setPCFG15; inline;
  39885. begin
  39886. pTDefRegMap(@Self)^.&set := $00008000;
  39887. end;
  39888. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  39889. begin
  39890. pTDefRegMap(@Self)^.clr := $00008000;
  39891. end;
  39892. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  39893. begin
  39894. if thebits = 0 then
  39895. pTDefRegMap(@Self)^.clr := $00008000
  39896. else
  39897. pTDefRegMap(@Self)^.&set := $00008000;
  39898. end;
  39899. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  39900. begin
  39901. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39902. end;
  39903. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  39904. begin
  39905. pTDefRegMap(@Self)^.val := thebits;
  39906. end;
  39907. function TADC10_AD1PCFG.getw : TBits_32; inline;
  39908. begin
  39909. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39910. end;
  39911. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  39912. begin
  39913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39914. end;
  39915. function TCVR_CVRCON.getCVR : TBits_4; inline;
  39916. begin
  39917. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39918. end;
  39919. procedure TCVR_CVRCON.setCVRSS; inline;
  39920. begin
  39921. pTDefRegMap(@Self)^.&set := $00000010;
  39922. end;
  39923. procedure TCVR_CVRCON.clearCVRSS; inline;
  39924. begin
  39925. pTDefRegMap(@Self)^.clr := $00000010;
  39926. end;
  39927. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  39928. begin
  39929. if thebits = 0 then
  39930. pTDefRegMap(@Self)^.clr := $00000010
  39931. else
  39932. pTDefRegMap(@Self)^.&set := $00000010;
  39933. end;
  39934. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  39935. begin
  39936. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39937. end;
  39938. procedure TCVR_CVRCON.setCVRR; inline;
  39939. begin
  39940. pTDefRegMap(@Self)^.&set := $00000020;
  39941. end;
  39942. procedure TCVR_CVRCON.clearCVRR; inline;
  39943. begin
  39944. pTDefRegMap(@Self)^.clr := $00000020;
  39945. end;
  39946. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  39947. begin
  39948. if thebits = 0 then
  39949. pTDefRegMap(@Self)^.clr := $00000020
  39950. else
  39951. pTDefRegMap(@Self)^.&set := $00000020;
  39952. end;
  39953. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  39954. begin
  39955. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39956. end;
  39957. procedure TCVR_CVRCON.setCVROE; inline;
  39958. begin
  39959. pTDefRegMap(@Self)^.&set := $00000040;
  39960. end;
  39961. procedure TCVR_CVRCON.clearCVROE; inline;
  39962. begin
  39963. pTDefRegMap(@Self)^.clr := $00000040;
  39964. end;
  39965. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  39966. begin
  39967. if thebits = 0 then
  39968. pTDefRegMap(@Self)^.clr := $00000040
  39969. else
  39970. pTDefRegMap(@Self)^.&set := $00000040;
  39971. end;
  39972. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  39973. begin
  39974. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39975. end;
  39976. procedure TCVR_CVRCON.setBGSEL(thebits : TBits_2); inline;
  39977. begin
  39978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  39979. end;
  39980. function TCVR_CVRCON.getBGSEL : TBits_2; inline;
  39981. begin
  39982. getBGSEL := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  39983. end;
  39984. procedure TCVR_CVRCON.setVREFSEL; inline;
  39985. begin
  39986. pTDefRegMap(@Self)^.&set := $00000400;
  39987. end;
  39988. procedure TCVR_CVRCON.clearVREFSEL; inline;
  39989. begin
  39990. pTDefRegMap(@Self)^.clr := $00000400;
  39991. end;
  39992. procedure TCVR_CVRCON.setVREFSEL(thebits : TBits_1); inline;
  39993. begin
  39994. if thebits = 0 then
  39995. pTDefRegMap(@Self)^.clr := $00000400
  39996. else
  39997. pTDefRegMap(@Self)^.&set := $00000400;
  39998. end;
  39999. function TCVR_CVRCON.getVREFSEL : TBits_1; inline;
  40000. begin
  40001. getVREFSEL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40002. end;
  40003. procedure TCVR_CVRCON.setON; inline;
  40004. begin
  40005. pTDefRegMap(@Self)^.&set := $00008000;
  40006. end;
  40007. procedure TCVR_CVRCON.clearON; inline;
  40008. begin
  40009. pTDefRegMap(@Self)^.clr := $00008000;
  40010. end;
  40011. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  40012. begin
  40013. if thebits = 0 then
  40014. pTDefRegMap(@Self)^.clr := $00008000
  40015. else
  40016. pTDefRegMap(@Self)^.&set := $00008000;
  40017. end;
  40018. function TCVR_CVRCON.getON : TBits_1; inline;
  40019. begin
  40020. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40021. end;
  40022. procedure TCVR_CVRCON.setCVR0; inline;
  40023. begin
  40024. pTDefRegMap(@Self)^.&set := $00000001;
  40025. end;
  40026. procedure TCVR_CVRCON.clearCVR0; inline;
  40027. begin
  40028. pTDefRegMap(@Self)^.clr := $00000001;
  40029. end;
  40030. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  40031. begin
  40032. if thebits = 0 then
  40033. pTDefRegMap(@Self)^.clr := $00000001
  40034. else
  40035. pTDefRegMap(@Self)^.&set := $00000001;
  40036. end;
  40037. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  40038. begin
  40039. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40040. end;
  40041. procedure TCVR_CVRCON.setCVR1; inline;
  40042. begin
  40043. pTDefRegMap(@Self)^.&set := $00000002;
  40044. end;
  40045. procedure TCVR_CVRCON.clearCVR1; inline;
  40046. begin
  40047. pTDefRegMap(@Self)^.clr := $00000002;
  40048. end;
  40049. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  40050. begin
  40051. if thebits = 0 then
  40052. pTDefRegMap(@Self)^.clr := $00000002
  40053. else
  40054. pTDefRegMap(@Self)^.&set := $00000002;
  40055. end;
  40056. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  40057. begin
  40058. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40059. end;
  40060. procedure TCVR_CVRCON.setCVR2; inline;
  40061. begin
  40062. pTDefRegMap(@Self)^.&set := $00000004;
  40063. end;
  40064. procedure TCVR_CVRCON.clearCVR2; inline;
  40065. begin
  40066. pTDefRegMap(@Self)^.clr := $00000004;
  40067. end;
  40068. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  40069. begin
  40070. if thebits = 0 then
  40071. pTDefRegMap(@Self)^.clr := $00000004
  40072. else
  40073. pTDefRegMap(@Self)^.&set := $00000004;
  40074. end;
  40075. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  40076. begin
  40077. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40078. end;
  40079. procedure TCVR_CVRCON.setCVR3; inline;
  40080. begin
  40081. pTDefRegMap(@Self)^.&set := $00000008;
  40082. end;
  40083. procedure TCVR_CVRCON.clearCVR3; inline;
  40084. begin
  40085. pTDefRegMap(@Self)^.clr := $00000008;
  40086. end;
  40087. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  40088. begin
  40089. if thebits = 0 then
  40090. pTDefRegMap(@Self)^.clr := $00000008
  40091. else
  40092. pTDefRegMap(@Self)^.&set := $00000008;
  40093. end;
  40094. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  40095. begin
  40096. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40097. end;
  40098. procedure TCVR_CVRCON.setBGSEL0; inline;
  40099. begin
  40100. pTDefRegMap(@Self)^.&set := $00000100;
  40101. end;
  40102. procedure TCVR_CVRCON.clearBGSEL0; inline;
  40103. begin
  40104. pTDefRegMap(@Self)^.clr := $00000100;
  40105. end;
  40106. procedure TCVR_CVRCON.setBGSEL0(thebits : TBits_1); inline;
  40107. begin
  40108. if thebits = 0 then
  40109. pTDefRegMap(@Self)^.clr := $00000100
  40110. else
  40111. pTDefRegMap(@Self)^.&set := $00000100;
  40112. end;
  40113. function TCVR_CVRCON.getBGSEL0 : TBits_1; inline;
  40114. begin
  40115. getBGSEL0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40116. end;
  40117. procedure TCVR_CVRCON.setBGSEL1; inline;
  40118. begin
  40119. pTDefRegMap(@Self)^.&set := $00000200;
  40120. end;
  40121. procedure TCVR_CVRCON.clearBGSEL1; inline;
  40122. begin
  40123. pTDefRegMap(@Self)^.clr := $00000200;
  40124. end;
  40125. procedure TCVR_CVRCON.setBGSEL1(thebits : TBits_1); inline;
  40126. begin
  40127. if thebits = 0 then
  40128. pTDefRegMap(@Self)^.clr := $00000200
  40129. else
  40130. pTDefRegMap(@Self)^.&set := $00000200;
  40131. end;
  40132. function TCVR_CVRCON.getBGSEL1 : TBits_1; inline;
  40133. begin
  40134. getBGSEL1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40135. end;
  40136. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  40137. begin
  40138. pTDefRegMap(@Self)^.val := thebits;
  40139. end;
  40140. function TCVR_CVRCON.getw : TBits_32; inline;
  40141. begin
  40142. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40143. end;
  40144. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  40145. begin
  40146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40147. end;
  40148. function TCMP_CM1CON.getCCH : TBits_2; inline;
  40149. begin
  40150. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40151. end;
  40152. procedure TCMP_CM1CON.setCREF; inline;
  40153. begin
  40154. pTDefRegMap(@Self)^.&set := $00000010;
  40155. end;
  40156. procedure TCMP_CM1CON.clearCREF; inline;
  40157. begin
  40158. pTDefRegMap(@Self)^.clr := $00000010;
  40159. end;
  40160. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  40161. begin
  40162. if thebits = 0 then
  40163. pTDefRegMap(@Self)^.clr := $00000010
  40164. else
  40165. pTDefRegMap(@Self)^.&set := $00000010;
  40166. end;
  40167. function TCMP_CM1CON.getCREF : TBits_1; inline;
  40168. begin
  40169. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40170. end;
  40171. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  40172. begin
  40173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  40174. end;
  40175. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  40176. begin
  40177. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  40178. end;
  40179. procedure TCMP_CM1CON.setCOUT; inline;
  40180. begin
  40181. pTDefRegMap(@Self)^.&set := $00000100;
  40182. end;
  40183. procedure TCMP_CM1CON.clearCOUT; inline;
  40184. begin
  40185. pTDefRegMap(@Self)^.clr := $00000100;
  40186. end;
  40187. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  40188. begin
  40189. if thebits = 0 then
  40190. pTDefRegMap(@Self)^.clr := $00000100
  40191. else
  40192. pTDefRegMap(@Self)^.&set := $00000100;
  40193. end;
  40194. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  40195. begin
  40196. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40197. end;
  40198. procedure TCMP_CM1CON.setCPOL; inline;
  40199. begin
  40200. pTDefRegMap(@Self)^.&set := $00002000;
  40201. end;
  40202. procedure TCMP_CM1CON.clearCPOL; inline;
  40203. begin
  40204. pTDefRegMap(@Self)^.clr := $00002000;
  40205. end;
  40206. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  40207. begin
  40208. if thebits = 0 then
  40209. pTDefRegMap(@Self)^.clr := $00002000
  40210. else
  40211. pTDefRegMap(@Self)^.&set := $00002000;
  40212. end;
  40213. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  40214. begin
  40215. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40216. end;
  40217. procedure TCMP_CM1CON.setCOE; inline;
  40218. begin
  40219. pTDefRegMap(@Self)^.&set := $00004000;
  40220. end;
  40221. procedure TCMP_CM1CON.clearCOE; inline;
  40222. begin
  40223. pTDefRegMap(@Self)^.clr := $00004000;
  40224. end;
  40225. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  40226. begin
  40227. if thebits = 0 then
  40228. pTDefRegMap(@Self)^.clr := $00004000
  40229. else
  40230. pTDefRegMap(@Self)^.&set := $00004000;
  40231. end;
  40232. function TCMP_CM1CON.getCOE : TBits_1; inline;
  40233. begin
  40234. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40235. end;
  40236. procedure TCMP_CM1CON.setON; inline;
  40237. begin
  40238. pTDefRegMap(@Self)^.&set := $00008000;
  40239. end;
  40240. procedure TCMP_CM1CON.clearON; inline;
  40241. begin
  40242. pTDefRegMap(@Self)^.clr := $00008000;
  40243. end;
  40244. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  40245. begin
  40246. if thebits = 0 then
  40247. pTDefRegMap(@Self)^.clr := $00008000
  40248. else
  40249. pTDefRegMap(@Self)^.&set := $00008000;
  40250. end;
  40251. function TCMP_CM1CON.getON : TBits_1; inline;
  40252. begin
  40253. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40254. end;
  40255. procedure TCMP_CM1CON.setCCH0; inline;
  40256. begin
  40257. pTDefRegMap(@Self)^.&set := $00000001;
  40258. end;
  40259. procedure TCMP_CM1CON.clearCCH0; inline;
  40260. begin
  40261. pTDefRegMap(@Self)^.clr := $00000001;
  40262. end;
  40263. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  40264. begin
  40265. if thebits = 0 then
  40266. pTDefRegMap(@Self)^.clr := $00000001
  40267. else
  40268. pTDefRegMap(@Self)^.&set := $00000001;
  40269. end;
  40270. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  40271. begin
  40272. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40273. end;
  40274. procedure TCMP_CM1CON.setCCH1; inline;
  40275. begin
  40276. pTDefRegMap(@Self)^.&set := $00000002;
  40277. end;
  40278. procedure TCMP_CM1CON.clearCCH1; inline;
  40279. begin
  40280. pTDefRegMap(@Self)^.clr := $00000002;
  40281. end;
  40282. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  40283. begin
  40284. if thebits = 0 then
  40285. pTDefRegMap(@Self)^.clr := $00000002
  40286. else
  40287. pTDefRegMap(@Self)^.&set := $00000002;
  40288. end;
  40289. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  40290. begin
  40291. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40292. end;
  40293. procedure TCMP_CM1CON.setEVPOL0; inline;
  40294. begin
  40295. pTDefRegMap(@Self)^.&set := $00000040;
  40296. end;
  40297. procedure TCMP_CM1CON.clearEVPOL0; inline;
  40298. begin
  40299. pTDefRegMap(@Self)^.clr := $00000040;
  40300. end;
  40301. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  40302. begin
  40303. if thebits = 0 then
  40304. pTDefRegMap(@Self)^.clr := $00000040
  40305. else
  40306. pTDefRegMap(@Self)^.&set := $00000040;
  40307. end;
  40308. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  40309. begin
  40310. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40311. end;
  40312. procedure TCMP_CM1CON.setEVPOL1; inline;
  40313. begin
  40314. pTDefRegMap(@Self)^.&set := $00000080;
  40315. end;
  40316. procedure TCMP_CM1CON.clearEVPOL1; inline;
  40317. begin
  40318. pTDefRegMap(@Self)^.clr := $00000080;
  40319. end;
  40320. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  40321. begin
  40322. if thebits = 0 then
  40323. pTDefRegMap(@Self)^.clr := $00000080
  40324. else
  40325. pTDefRegMap(@Self)^.&set := $00000080;
  40326. end;
  40327. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  40328. begin
  40329. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40330. end;
  40331. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  40332. begin
  40333. pTDefRegMap(@Self)^.val := thebits;
  40334. end;
  40335. function TCMP_CM1CON.getw : TBits_32; inline;
  40336. begin
  40337. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40338. end;
  40339. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  40340. begin
  40341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40342. end;
  40343. function TCMP_CM2CON.getCCH : TBits_2; inline;
  40344. begin
  40345. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40346. end;
  40347. procedure TCMP_CM2CON.setCREF; inline;
  40348. begin
  40349. pTDefRegMap(@Self)^.&set := $00000010;
  40350. end;
  40351. procedure TCMP_CM2CON.clearCREF; inline;
  40352. begin
  40353. pTDefRegMap(@Self)^.clr := $00000010;
  40354. end;
  40355. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  40356. begin
  40357. if thebits = 0 then
  40358. pTDefRegMap(@Self)^.clr := $00000010
  40359. else
  40360. pTDefRegMap(@Self)^.&set := $00000010;
  40361. end;
  40362. function TCMP_CM2CON.getCREF : TBits_1; inline;
  40363. begin
  40364. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40365. end;
  40366. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  40367. begin
  40368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  40369. end;
  40370. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  40371. begin
  40372. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  40373. end;
  40374. procedure TCMP_CM2CON.setCOUT; inline;
  40375. begin
  40376. pTDefRegMap(@Self)^.&set := $00000100;
  40377. end;
  40378. procedure TCMP_CM2CON.clearCOUT; inline;
  40379. begin
  40380. pTDefRegMap(@Self)^.clr := $00000100;
  40381. end;
  40382. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  40383. begin
  40384. if thebits = 0 then
  40385. pTDefRegMap(@Self)^.clr := $00000100
  40386. else
  40387. pTDefRegMap(@Self)^.&set := $00000100;
  40388. end;
  40389. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  40390. begin
  40391. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40392. end;
  40393. procedure TCMP_CM2CON.setCPOL; inline;
  40394. begin
  40395. pTDefRegMap(@Self)^.&set := $00002000;
  40396. end;
  40397. procedure TCMP_CM2CON.clearCPOL; inline;
  40398. begin
  40399. pTDefRegMap(@Self)^.clr := $00002000;
  40400. end;
  40401. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  40402. begin
  40403. if thebits = 0 then
  40404. pTDefRegMap(@Self)^.clr := $00002000
  40405. else
  40406. pTDefRegMap(@Self)^.&set := $00002000;
  40407. end;
  40408. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  40409. begin
  40410. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40411. end;
  40412. procedure TCMP_CM2CON.setCOE; inline;
  40413. begin
  40414. pTDefRegMap(@Self)^.&set := $00004000;
  40415. end;
  40416. procedure TCMP_CM2CON.clearCOE; inline;
  40417. begin
  40418. pTDefRegMap(@Self)^.clr := $00004000;
  40419. end;
  40420. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  40421. begin
  40422. if thebits = 0 then
  40423. pTDefRegMap(@Self)^.clr := $00004000
  40424. else
  40425. pTDefRegMap(@Self)^.&set := $00004000;
  40426. end;
  40427. function TCMP_CM2CON.getCOE : TBits_1; inline;
  40428. begin
  40429. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40430. end;
  40431. procedure TCMP_CM2CON.setON; inline;
  40432. begin
  40433. pTDefRegMap(@Self)^.&set := $00008000;
  40434. end;
  40435. procedure TCMP_CM2CON.clearON; inline;
  40436. begin
  40437. pTDefRegMap(@Self)^.clr := $00008000;
  40438. end;
  40439. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  40440. begin
  40441. if thebits = 0 then
  40442. pTDefRegMap(@Self)^.clr := $00008000
  40443. else
  40444. pTDefRegMap(@Self)^.&set := $00008000;
  40445. end;
  40446. function TCMP_CM2CON.getON : TBits_1; inline;
  40447. begin
  40448. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40449. end;
  40450. procedure TCMP_CM2CON.setCCH0; inline;
  40451. begin
  40452. pTDefRegMap(@Self)^.&set := $00000001;
  40453. end;
  40454. procedure TCMP_CM2CON.clearCCH0; inline;
  40455. begin
  40456. pTDefRegMap(@Self)^.clr := $00000001;
  40457. end;
  40458. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  40459. begin
  40460. if thebits = 0 then
  40461. pTDefRegMap(@Self)^.clr := $00000001
  40462. else
  40463. pTDefRegMap(@Self)^.&set := $00000001;
  40464. end;
  40465. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  40466. begin
  40467. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40468. end;
  40469. procedure TCMP_CM2CON.setCCH1; inline;
  40470. begin
  40471. pTDefRegMap(@Self)^.&set := $00000002;
  40472. end;
  40473. procedure TCMP_CM2CON.clearCCH1; inline;
  40474. begin
  40475. pTDefRegMap(@Self)^.clr := $00000002;
  40476. end;
  40477. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  40478. begin
  40479. if thebits = 0 then
  40480. pTDefRegMap(@Self)^.clr := $00000002
  40481. else
  40482. pTDefRegMap(@Self)^.&set := $00000002;
  40483. end;
  40484. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  40485. begin
  40486. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40487. end;
  40488. procedure TCMP_CM2CON.setEVPOL0; inline;
  40489. begin
  40490. pTDefRegMap(@Self)^.&set := $00000040;
  40491. end;
  40492. procedure TCMP_CM2CON.clearEVPOL0; inline;
  40493. begin
  40494. pTDefRegMap(@Self)^.clr := $00000040;
  40495. end;
  40496. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  40497. begin
  40498. if thebits = 0 then
  40499. pTDefRegMap(@Self)^.clr := $00000040
  40500. else
  40501. pTDefRegMap(@Self)^.&set := $00000040;
  40502. end;
  40503. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  40504. begin
  40505. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40506. end;
  40507. procedure TCMP_CM2CON.setEVPOL1; inline;
  40508. begin
  40509. pTDefRegMap(@Self)^.&set := $00000080;
  40510. end;
  40511. procedure TCMP_CM2CON.clearEVPOL1; inline;
  40512. begin
  40513. pTDefRegMap(@Self)^.clr := $00000080;
  40514. end;
  40515. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  40516. begin
  40517. if thebits = 0 then
  40518. pTDefRegMap(@Self)^.clr := $00000080
  40519. else
  40520. pTDefRegMap(@Self)^.&set := $00000080;
  40521. end;
  40522. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  40523. begin
  40524. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40525. end;
  40526. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  40527. begin
  40528. pTDefRegMap(@Self)^.val := thebits;
  40529. end;
  40530. function TCMP_CM2CON.getw : TBits_32; inline;
  40531. begin
  40532. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40533. end;
  40534. procedure TCMP_CMSTAT.setC1OUT; inline;
  40535. begin
  40536. pTDefRegMap(@Self)^.&set := $00000001;
  40537. end;
  40538. procedure TCMP_CMSTAT.clearC1OUT; inline;
  40539. begin
  40540. pTDefRegMap(@Self)^.clr := $00000001;
  40541. end;
  40542. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  40543. begin
  40544. if thebits = 0 then
  40545. pTDefRegMap(@Self)^.clr := $00000001
  40546. else
  40547. pTDefRegMap(@Self)^.&set := $00000001;
  40548. end;
  40549. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  40550. begin
  40551. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40552. end;
  40553. procedure TCMP_CMSTAT.setC2OUT; inline;
  40554. begin
  40555. pTDefRegMap(@Self)^.&set := $00000002;
  40556. end;
  40557. procedure TCMP_CMSTAT.clearC2OUT; inline;
  40558. begin
  40559. pTDefRegMap(@Self)^.clr := $00000002;
  40560. end;
  40561. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  40562. begin
  40563. if thebits = 0 then
  40564. pTDefRegMap(@Self)^.clr := $00000002
  40565. else
  40566. pTDefRegMap(@Self)^.&set := $00000002;
  40567. end;
  40568. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  40569. begin
  40570. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40571. end;
  40572. procedure TCMP_CMSTAT.setSIDL; inline;
  40573. begin
  40574. pTDefRegMap(@Self)^.&set := $00002000;
  40575. end;
  40576. procedure TCMP_CMSTAT.clearSIDL; inline;
  40577. begin
  40578. pTDefRegMap(@Self)^.clr := $00002000;
  40579. end;
  40580. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  40581. begin
  40582. if thebits = 0 then
  40583. pTDefRegMap(@Self)^.clr := $00002000
  40584. else
  40585. pTDefRegMap(@Self)^.&set := $00002000;
  40586. end;
  40587. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  40588. begin
  40589. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40590. end;
  40591. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  40592. begin
  40593. pTDefRegMap(@Self)^.val := thebits;
  40594. end;
  40595. function TCMP_CMSTAT.getw : TBits_32; inline;
  40596. begin
  40597. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40598. end;
  40599. procedure TOSC_OSCCON.setOSWEN; inline;
  40600. begin
  40601. pTDefRegMap(@Self)^.&set := $00000001;
  40602. end;
  40603. procedure TOSC_OSCCON.clearOSWEN; inline;
  40604. begin
  40605. pTDefRegMap(@Self)^.clr := $00000001;
  40606. end;
  40607. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  40608. begin
  40609. if thebits = 0 then
  40610. pTDefRegMap(@Self)^.clr := $00000001
  40611. else
  40612. pTDefRegMap(@Self)^.&set := $00000001;
  40613. end;
  40614. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  40615. begin
  40616. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40617. end;
  40618. procedure TOSC_OSCCON.setSOSCEN; inline;
  40619. begin
  40620. pTDefRegMap(@Self)^.&set := $00000002;
  40621. end;
  40622. procedure TOSC_OSCCON.clearSOSCEN; inline;
  40623. begin
  40624. pTDefRegMap(@Self)^.clr := $00000002;
  40625. end;
  40626. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  40627. begin
  40628. if thebits = 0 then
  40629. pTDefRegMap(@Self)^.clr := $00000002
  40630. else
  40631. pTDefRegMap(@Self)^.&set := $00000002;
  40632. end;
  40633. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  40634. begin
  40635. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40636. end;
  40637. procedure TOSC_OSCCON.setUFRCEN; inline;
  40638. begin
  40639. pTDefRegMap(@Self)^.&set := $00000004;
  40640. end;
  40641. procedure TOSC_OSCCON.clearUFRCEN; inline;
  40642. begin
  40643. pTDefRegMap(@Self)^.clr := $00000004;
  40644. end;
  40645. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  40646. begin
  40647. if thebits = 0 then
  40648. pTDefRegMap(@Self)^.clr := $00000004
  40649. else
  40650. pTDefRegMap(@Self)^.&set := $00000004;
  40651. end;
  40652. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  40653. begin
  40654. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40655. end;
  40656. procedure TOSC_OSCCON.setCF; inline;
  40657. begin
  40658. pTDefRegMap(@Self)^.&set := $00000008;
  40659. end;
  40660. procedure TOSC_OSCCON.clearCF; inline;
  40661. begin
  40662. pTDefRegMap(@Self)^.clr := $00000008;
  40663. end;
  40664. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  40665. begin
  40666. if thebits = 0 then
  40667. pTDefRegMap(@Self)^.clr := $00000008
  40668. else
  40669. pTDefRegMap(@Self)^.&set := $00000008;
  40670. end;
  40671. function TOSC_OSCCON.getCF : TBits_1; inline;
  40672. begin
  40673. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40674. end;
  40675. procedure TOSC_OSCCON.setSLPEN; inline;
  40676. begin
  40677. pTDefRegMap(@Self)^.&set := $00000010;
  40678. end;
  40679. procedure TOSC_OSCCON.clearSLPEN; inline;
  40680. begin
  40681. pTDefRegMap(@Self)^.clr := $00000010;
  40682. end;
  40683. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  40684. begin
  40685. if thebits = 0 then
  40686. pTDefRegMap(@Self)^.clr := $00000010
  40687. else
  40688. pTDefRegMap(@Self)^.&set := $00000010;
  40689. end;
  40690. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  40691. begin
  40692. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40693. end;
  40694. procedure TOSC_OSCCON.setSLOCK; inline;
  40695. begin
  40696. pTDefRegMap(@Self)^.&set := $00000020;
  40697. end;
  40698. procedure TOSC_OSCCON.clearSLOCK; inline;
  40699. begin
  40700. pTDefRegMap(@Self)^.clr := $00000020;
  40701. end;
  40702. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  40703. begin
  40704. if thebits = 0 then
  40705. pTDefRegMap(@Self)^.clr := $00000020
  40706. else
  40707. pTDefRegMap(@Self)^.&set := $00000020;
  40708. end;
  40709. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  40710. begin
  40711. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40712. end;
  40713. procedure TOSC_OSCCON.setULOCK; inline;
  40714. begin
  40715. pTDefRegMap(@Self)^.&set := $00000040;
  40716. end;
  40717. procedure TOSC_OSCCON.clearULOCK; inline;
  40718. begin
  40719. pTDefRegMap(@Self)^.clr := $00000040;
  40720. end;
  40721. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  40722. begin
  40723. if thebits = 0 then
  40724. pTDefRegMap(@Self)^.clr := $00000040
  40725. else
  40726. pTDefRegMap(@Self)^.&set := $00000040;
  40727. end;
  40728. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  40729. begin
  40730. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40731. end;
  40732. procedure TOSC_OSCCON.setCLKLOCK; inline;
  40733. begin
  40734. pTDefRegMap(@Self)^.&set := $00000080;
  40735. end;
  40736. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  40737. begin
  40738. pTDefRegMap(@Self)^.clr := $00000080;
  40739. end;
  40740. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  40741. begin
  40742. if thebits = 0 then
  40743. pTDefRegMap(@Self)^.clr := $00000080
  40744. else
  40745. pTDefRegMap(@Self)^.&set := $00000080;
  40746. end;
  40747. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  40748. begin
  40749. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40750. end;
  40751. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  40752. begin
  40753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  40754. end;
  40755. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  40756. begin
  40757. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  40758. end;
  40759. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  40760. begin
  40761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  40762. end;
  40763. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  40764. begin
  40765. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  40766. end;
  40767. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  40768. begin
  40769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  40770. end;
  40771. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  40772. begin
  40773. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  40774. end;
  40775. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  40776. begin
  40777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  40778. end;
  40779. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  40780. begin
  40781. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  40782. end;
  40783. procedure TOSC_OSCCON.setSOSCRDY; inline;
  40784. begin
  40785. pTDefRegMap(@Self)^.&set := $00400000;
  40786. end;
  40787. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  40788. begin
  40789. pTDefRegMap(@Self)^.clr := $00400000;
  40790. end;
  40791. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  40792. begin
  40793. if thebits = 0 then
  40794. pTDefRegMap(@Self)^.clr := $00400000
  40795. else
  40796. pTDefRegMap(@Self)^.&set := $00400000;
  40797. end;
  40798. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  40799. begin
  40800. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40801. end;
  40802. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  40803. begin
  40804. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  40805. end;
  40806. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  40807. begin
  40808. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  40809. end;
  40810. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  40811. begin
  40812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  40813. end;
  40814. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  40815. begin
  40816. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  40817. end;
  40818. procedure TOSC_OSCCON.setNOSC0; inline;
  40819. begin
  40820. pTDefRegMap(@Self)^.&set := $00000100;
  40821. end;
  40822. procedure TOSC_OSCCON.clearNOSC0; inline;
  40823. begin
  40824. pTDefRegMap(@Self)^.clr := $00000100;
  40825. end;
  40826. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  40827. begin
  40828. if thebits = 0 then
  40829. pTDefRegMap(@Self)^.clr := $00000100
  40830. else
  40831. pTDefRegMap(@Self)^.&set := $00000100;
  40832. end;
  40833. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  40834. begin
  40835. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40836. end;
  40837. procedure TOSC_OSCCON.setNOSC1; inline;
  40838. begin
  40839. pTDefRegMap(@Self)^.&set := $00000200;
  40840. end;
  40841. procedure TOSC_OSCCON.clearNOSC1; inline;
  40842. begin
  40843. pTDefRegMap(@Self)^.clr := $00000200;
  40844. end;
  40845. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  40846. begin
  40847. if thebits = 0 then
  40848. pTDefRegMap(@Self)^.clr := $00000200
  40849. else
  40850. pTDefRegMap(@Self)^.&set := $00000200;
  40851. end;
  40852. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  40853. begin
  40854. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40855. end;
  40856. procedure TOSC_OSCCON.setNOSC2; inline;
  40857. begin
  40858. pTDefRegMap(@Self)^.&set := $00000400;
  40859. end;
  40860. procedure TOSC_OSCCON.clearNOSC2; inline;
  40861. begin
  40862. pTDefRegMap(@Self)^.clr := $00000400;
  40863. end;
  40864. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  40865. begin
  40866. if thebits = 0 then
  40867. pTDefRegMap(@Self)^.clr := $00000400
  40868. else
  40869. pTDefRegMap(@Self)^.&set := $00000400;
  40870. end;
  40871. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  40872. begin
  40873. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40874. end;
  40875. procedure TOSC_OSCCON.setCOSC0; inline;
  40876. begin
  40877. pTDefRegMap(@Self)^.&set := $00001000;
  40878. end;
  40879. procedure TOSC_OSCCON.clearCOSC0; inline;
  40880. begin
  40881. pTDefRegMap(@Self)^.clr := $00001000;
  40882. end;
  40883. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  40884. begin
  40885. if thebits = 0 then
  40886. pTDefRegMap(@Self)^.clr := $00001000
  40887. else
  40888. pTDefRegMap(@Self)^.&set := $00001000;
  40889. end;
  40890. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  40891. begin
  40892. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40893. end;
  40894. procedure TOSC_OSCCON.setCOSC1; inline;
  40895. begin
  40896. pTDefRegMap(@Self)^.&set := $00002000;
  40897. end;
  40898. procedure TOSC_OSCCON.clearCOSC1; inline;
  40899. begin
  40900. pTDefRegMap(@Self)^.clr := $00002000;
  40901. end;
  40902. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  40903. begin
  40904. if thebits = 0 then
  40905. pTDefRegMap(@Self)^.clr := $00002000
  40906. else
  40907. pTDefRegMap(@Self)^.&set := $00002000;
  40908. end;
  40909. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  40910. begin
  40911. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40912. end;
  40913. procedure TOSC_OSCCON.setCOSC2; inline;
  40914. begin
  40915. pTDefRegMap(@Self)^.&set := $00004000;
  40916. end;
  40917. procedure TOSC_OSCCON.clearCOSC2; inline;
  40918. begin
  40919. pTDefRegMap(@Self)^.clr := $00004000;
  40920. end;
  40921. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  40922. begin
  40923. if thebits = 0 then
  40924. pTDefRegMap(@Self)^.clr := $00004000
  40925. else
  40926. pTDefRegMap(@Self)^.&set := $00004000;
  40927. end;
  40928. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  40929. begin
  40930. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40931. end;
  40932. procedure TOSC_OSCCON.setPLLMULT0; inline;
  40933. begin
  40934. pTDefRegMap(@Self)^.&set := $00010000;
  40935. end;
  40936. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  40937. begin
  40938. pTDefRegMap(@Self)^.clr := $00010000;
  40939. end;
  40940. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  40941. begin
  40942. if thebits = 0 then
  40943. pTDefRegMap(@Self)^.clr := $00010000
  40944. else
  40945. pTDefRegMap(@Self)^.&set := $00010000;
  40946. end;
  40947. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  40948. begin
  40949. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40950. end;
  40951. procedure TOSC_OSCCON.setPLLMULT1; inline;
  40952. begin
  40953. pTDefRegMap(@Self)^.&set := $00020000;
  40954. end;
  40955. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  40956. begin
  40957. pTDefRegMap(@Self)^.clr := $00020000;
  40958. end;
  40959. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  40960. begin
  40961. if thebits = 0 then
  40962. pTDefRegMap(@Self)^.clr := $00020000
  40963. else
  40964. pTDefRegMap(@Self)^.&set := $00020000;
  40965. end;
  40966. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  40967. begin
  40968. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40969. end;
  40970. procedure TOSC_OSCCON.setPLLMULT2; inline;
  40971. begin
  40972. pTDefRegMap(@Self)^.&set := $00040000;
  40973. end;
  40974. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  40975. begin
  40976. pTDefRegMap(@Self)^.clr := $00040000;
  40977. end;
  40978. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  40979. begin
  40980. if thebits = 0 then
  40981. pTDefRegMap(@Self)^.clr := $00040000
  40982. else
  40983. pTDefRegMap(@Self)^.&set := $00040000;
  40984. end;
  40985. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  40986. begin
  40987. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40988. end;
  40989. procedure TOSC_OSCCON.setPBDIV0; inline;
  40990. begin
  40991. pTDefRegMap(@Self)^.&set := $00080000;
  40992. end;
  40993. procedure TOSC_OSCCON.clearPBDIV0; inline;
  40994. begin
  40995. pTDefRegMap(@Self)^.clr := $00080000;
  40996. end;
  40997. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  40998. begin
  40999. if thebits = 0 then
  41000. pTDefRegMap(@Self)^.clr := $00080000
  41001. else
  41002. pTDefRegMap(@Self)^.&set := $00080000;
  41003. end;
  41004. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  41005. begin
  41006. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  41007. end;
  41008. procedure TOSC_OSCCON.setPBDIV1; inline;
  41009. begin
  41010. pTDefRegMap(@Self)^.&set := $00100000;
  41011. end;
  41012. procedure TOSC_OSCCON.clearPBDIV1; inline;
  41013. begin
  41014. pTDefRegMap(@Self)^.clr := $00100000;
  41015. end;
  41016. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  41017. begin
  41018. if thebits = 0 then
  41019. pTDefRegMap(@Self)^.clr := $00100000
  41020. else
  41021. pTDefRegMap(@Self)^.&set := $00100000;
  41022. end;
  41023. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  41024. begin
  41025. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  41026. end;
  41027. procedure TOSC_OSCCON.setFRCDIV0; inline;
  41028. begin
  41029. pTDefRegMap(@Self)^.&set := $01000000;
  41030. end;
  41031. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  41032. begin
  41033. pTDefRegMap(@Self)^.clr := $01000000;
  41034. end;
  41035. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  41036. begin
  41037. if thebits = 0 then
  41038. pTDefRegMap(@Self)^.clr := $01000000
  41039. else
  41040. pTDefRegMap(@Self)^.&set := $01000000;
  41041. end;
  41042. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  41043. begin
  41044. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  41045. end;
  41046. procedure TOSC_OSCCON.setFRCDIV1; inline;
  41047. begin
  41048. pTDefRegMap(@Self)^.&set := $02000000;
  41049. end;
  41050. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  41051. begin
  41052. pTDefRegMap(@Self)^.clr := $02000000;
  41053. end;
  41054. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  41055. begin
  41056. if thebits = 0 then
  41057. pTDefRegMap(@Self)^.clr := $02000000
  41058. else
  41059. pTDefRegMap(@Self)^.&set := $02000000;
  41060. end;
  41061. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  41062. begin
  41063. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  41064. end;
  41065. procedure TOSC_OSCCON.setFRCDIV2; inline;
  41066. begin
  41067. pTDefRegMap(@Self)^.&set := $04000000;
  41068. end;
  41069. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  41070. begin
  41071. pTDefRegMap(@Self)^.clr := $04000000;
  41072. end;
  41073. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  41074. begin
  41075. if thebits = 0 then
  41076. pTDefRegMap(@Self)^.clr := $04000000
  41077. else
  41078. pTDefRegMap(@Self)^.&set := $04000000;
  41079. end;
  41080. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  41081. begin
  41082. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41083. end;
  41084. procedure TOSC_OSCCON.setPLLODIV0; inline;
  41085. begin
  41086. pTDefRegMap(@Self)^.&set := $08000000;
  41087. end;
  41088. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  41089. begin
  41090. pTDefRegMap(@Self)^.clr := $08000000;
  41091. end;
  41092. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  41093. begin
  41094. if thebits = 0 then
  41095. pTDefRegMap(@Self)^.clr := $08000000
  41096. else
  41097. pTDefRegMap(@Self)^.&set := $08000000;
  41098. end;
  41099. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  41100. begin
  41101. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41102. end;
  41103. procedure TOSC_OSCCON.setPLLODIV1; inline;
  41104. begin
  41105. pTDefRegMap(@Self)^.&set := $10000000;
  41106. end;
  41107. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  41108. begin
  41109. pTDefRegMap(@Self)^.clr := $10000000;
  41110. end;
  41111. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  41112. begin
  41113. if thebits = 0 then
  41114. pTDefRegMap(@Self)^.clr := $10000000
  41115. else
  41116. pTDefRegMap(@Self)^.&set := $10000000;
  41117. end;
  41118. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  41119. begin
  41120. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41121. end;
  41122. procedure TOSC_OSCCON.setPLLODIV2; inline;
  41123. begin
  41124. pTDefRegMap(@Self)^.&set := $20000000;
  41125. end;
  41126. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  41127. begin
  41128. pTDefRegMap(@Self)^.clr := $20000000;
  41129. end;
  41130. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  41131. begin
  41132. if thebits = 0 then
  41133. pTDefRegMap(@Self)^.clr := $20000000
  41134. else
  41135. pTDefRegMap(@Self)^.&set := $20000000;
  41136. end;
  41137. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  41138. begin
  41139. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  41140. end;
  41141. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  41142. begin
  41143. pTDefRegMap(@Self)^.val := thebits;
  41144. end;
  41145. function TOSC_OSCCON.getw : TBits_32; inline;
  41146. begin
  41147. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41148. end;
  41149. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  41150. begin
  41151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  41152. end;
  41153. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  41154. begin
  41155. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  41156. end;
  41157. procedure TOSC_OSCTUN.setTUN0; inline;
  41158. begin
  41159. pTDefRegMap(@Self)^.&set := $00000001;
  41160. end;
  41161. procedure TOSC_OSCTUN.clearTUN0; inline;
  41162. begin
  41163. pTDefRegMap(@Self)^.clr := $00000001;
  41164. end;
  41165. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  41166. begin
  41167. if thebits = 0 then
  41168. pTDefRegMap(@Self)^.clr := $00000001
  41169. else
  41170. pTDefRegMap(@Self)^.&set := $00000001;
  41171. end;
  41172. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  41173. begin
  41174. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41175. end;
  41176. procedure TOSC_OSCTUN.setTUN1; inline;
  41177. begin
  41178. pTDefRegMap(@Self)^.&set := $00000002;
  41179. end;
  41180. procedure TOSC_OSCTUN.clearTUN1; inline;
  41181. begin
  41182. pTDefRegMap(@Self)^.clr := $00000002;
  41183. end;
  41184. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  41185. begin
  41186. if thebits = 0 then
  41187. pTDefRegMap(@Self)^.clr := $00000002
  41188. else
  41189. pTDefRegMap(@Self)^.&set := $00000002;
  41190. end;
  41191. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  41192. begin
  41193. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41194. end;
  41195. procedure TOSC_OSCTUN.setTUN2; inline;
  41196. begin
  41197. pTDefRegMap(@Self)^.&set := $00000004;
  41198. end;
  41199. procedure TOSC_OSCTUN.clearTUN2; inline;
  41200. begin
  41201. pTDefRegMap(@Self)^.clr := $00000004;
  41202. end;
  41203. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  41204. begin
  41205. if thebits = 0 then
  41206. pTDefRegMap(@Self)^.clr := $00000004
  41207. else
  41208. pTDefRegMap(@Self)^.&set := $00000004;
  41209. end;
  41210. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  41211. begin
  41212. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41213. end;
  41214. procedure TOSC_OSCTUN.setTUN3; inline;
  41215. begin
  41216. pTDefRegMap(@Self)^.&set := $00000008;
  41217. end;
  41218. procedure TOSC_OSCTUN.clearTUN3; inline;
  41219. begin
  41220. pTDefRegMap(@Self)^.clr := $00000008;
  41221. end;
  41222. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  41223. begin
  41224. if thebits = 0 then
  41225. pTDefRegMap(@Self)^.clr := $00000008
  41226. else
  41227. pTDefRegMap(@Self)^.&set := $00000008;
  41228. end;
  41229. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  41230. begin
  41231. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41232. end;
  41233. procedure TOSC_OSCTUN.setTUN4; inline;
  41234. begin
  41235. pTDefRegMap(@Self)^.&set := $00000010;
  41236. end;
  41237. procedure TOSC_OSCTUN.clearTUN4; inline;
  41238. begin
  41239. pTDefRegMap(@Self)^.clr := $00000010;
  41240. end;
  41241. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  41242. begin
  41243. if thebits = 0 then
  41244. pTDefRegMap(@Self)^.clr := $00000010
  41245. else
  41246. pTDefRegMap(@Self)^.&set := $00000010;
  41247. end;
  41248. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  41249. begin
  41250. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41251. end;
  41252. procedure TOSC_OSCTUN.setTUN5; inline;
  41253. begin
  41254. pTDefRegMap(@Self)^.&set := $00000020;
  41255. end;
  41256. procedure TOSC_OSCTUN.clearTUN5; inline;
  41257. begin
  41258. pTDefRegMap(@Self)^.clr := $00000020;
  41259. end;
  41260. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  41261. begin
  41262. if thebits = 0 then
  41263. pTDefRegMap(@Self)^.clr := $00000020
  41264. else
  41265. pTDefRegMap(@Self)^.&set := $00000020;
  41266. end;
  41267. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  41268. begin
  41269. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41270. end;
  41271. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  41272. begin
  41273. pTDefRegMap(@Self)^.val := thebits;
  41274. end;
  41275. function TOSC_OSCTUN.getw : TBits_32; inline;
  41276. begin
  41277. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41278. end;
  41279. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  41280. begin
  41281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  41282. end;
  41283. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  41284. begin
  41285. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  41286. end;
  41287. procedure TNVM_NVMCON.setLVDSTAT; inline;
  41288. begin
  41289. pTDefRegMap(@Self)^.&set := $00000800;
  41290. end;
  41291. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  41292. begin
  41293. pTDefRegMap(@Self)^.clr := $00000800;
  41294. end;
  41295. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  41296. begin
  41297. if thebits = 0 then
  41298. pTDefRegMap(@Self)^.clr := $00000800
  41299. else
  41300. pTDefRegMap(@Self)^.&set := $00000800;
  41301. end;
  41302. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  41303. begin
  41304. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41305. end;
  41306. procedure TNVM_NVMCON.setLVDERR; inline;
  41307. begin
  41308. pTDefRegMap(@Self)^.&set := $00001000;
  41309. end;
  41310. procedure TNVM_NVMCON.clearLVDERR; inline;
  41311. begin
  41312. pTDefRegMap(@Self)^.clr := $00001000;
  41313. end;
  41314. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  41315. begin
  41316. if thebits = 0 then
  41317. pTDefRegMap(@Self)^.clr := $00001000
  41318. else
  41319. pTDefRegMap(@Self)^.&set := $00001000;
  41320. end;
  41321. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  41322. begin
  41323. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41324. end;
  41325. procedure TNVM_NVMCON.setWRERR; inline;
  41326. begin
  41327. pTDefRegMap(@Self)^.&set := $00002000;
  41328. end;
  41329. procedure TNVM_NVMCON.clearWRERR; inline;
  41330. begin
  41331. pTDefRegMap(@Self)^.clr := $00002000;
  41332. end;
  41333. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  41334. begin
  41335. if thebits = 0 then
  41336. pTDefRegMap(@Self)^.clr := $00002000
  41337. else
  41338. pTDefRegMap(@Self)^.&set := $00002000;
  41339. end;
  41340. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  41341. begin
  41342. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41343. end;
  41344. procedure TNVM_NVMCON.setWREN; inline;
  41345. begin
  41346. pTDefRegMap(@Self)^.&set := $00004000;
  41347. end;
  41348. procedure TNVM_NVMCON.clearWREN; inline;
  41349. begin
  41350. pTDefRegMap(@Self)^.clr := $00004000;
  41351. end;
  41352. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  41353. begin
  41354. if thebits = 0 then
  41355. pTDefRegMap(@Self)^.clr := $00004000
  41356. else
  41357. pTDefRegMap(@Self)^.&set := $00004000;
  41358. end;
  41359. function TNVM_NVMCON.getWREN : TBits_1; inline;
  41360. begin
  41361. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41362. end;
  41363. procedure TNVM_NVMCON.setWR; inline;
  41364. begin
  41365. pTDefRegMap(@Self)^.&set := $00008000;
  41366. end;
  41367. procedure TNVM_NVMCON.clearWR; inline;
  41368. begin
  41369. pTDefRegMap(@Self)^.clr := $00008000;
  41370. end;
  41371. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  41372. begin
  41373. if thebits = 0 then
  41374. pTDefRegMap(@Self)^.clr := $00008000
  41375. else
  41376. pTDefRegMap(@Self)^.&set := $00008000;
  41377. end;
  41378. function TNVM_NVMCON.getWR : TBits_1; inline;
  41379. begin
  41380. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41381. end;
  41382. procedure TNVM_NVMCON.setNVMOP0; inline;
  41383. begin
  41384. pTDefRegMap(@Self)^.&set := $00000001;
  41385. end;
  41386. procedure TNVM_NVMCON.clearNVMOP0; inline;
  41387. begin
  41388. pTDefRegMap(@Self)^.clr := $00000001;
  41389. end;
  41390. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  41391. begin
  41392. if thebits = 0 then
  41393. pTDefRegMap(@Self)^.clr := $00000001
  41394. else
  41395. pTDefRegMap(@Self)^.&set := $00000001;
  41396. end;
  41397. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  41398. begin
  41399. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41400. end;
  41401. procedure TNVM_NVMCON.setNVMOP1; inline;
  41402. begin
  41403. pTDefRegMap(@Self)^.&set := $00000002;
  41404. end;
  41405. procedure TNVM_NVMCON.clearNVMOP1; inline;
  41406. begin
  41407. pTDefRegMap(@Self)^.clr := $00000002;
  41408. end;
  41409. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  41410. begin
  41411. if thebits = 0 then
  41412. pTDefRegMap(@Self)^.clr := $00000002
  41413. else
  41414. pTDefRegMap(@Self)^.&set := $00000002;
  41415. end;
  41416. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  41417. begin
  41418. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41419. end;
  41420. procedure TNVM_NVMCON.setNVMOP2; inline;
  41421. begin
  41422. pTDefRegMap(@Self)^.&set := $00000004;
  41423. end;
  41424. procedure TNVM_NVMCON.clearNVMOP2; inline;
  41425. begin
  41426. pTDefRegMap(@Self)^.clr := $00000004;
  41427. end;
  41428. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  41429. begin
  41430. if thebits = 0 then
  41431. pTDefRegMap(@Self)^.clr := $00000004
  41432. else
  41433. pTDefRegMap(@Self)^.&set := $00000004;
  41434. end;
  41435. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  41436. begin
  41437. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41438. end;
  41439. procedure TNVM_NVMCON.setNVMOP3; inline;
  41440. begin
  41441. pTDefRegMap(@Self)^.&set := $00000008;
  41442. end;
  41443. procedure TNVM_NVMCON.clearNVMOP3; inline;
  41444. begin
  41445. pTDefRegMap(@Self)^.clr := $00000008;
  41446. end;
  41447. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  41448. begin
  41449. if thebits = 0 then
  41450. pTDefRegMap(@Self)^.clr := $00000008
  41451. else
  41452. pTDefRegMap(@Self)^.&set := $00000008;
  41453. end;
  41454. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  41455. begin
  41456. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41457. end;
  41458. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  41459. begin
  41460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  41461. end;
  41462. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  41463. begin
  41464. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  41465. end;
  41466. procedure TNVM_NVMCON.setPROGOP0; inline;
  41467. begin
  41468. pTDefRegMap(@Self)^.&set := $00000001;
  41469. end;
  41470. procedure TNVM_NVMCON.clearPROGOP0; inline;
  41471. begin
  41472. pTDefRegMap(@Self)^.clr := $00000001;
  41473. end;
  41474. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  41475. begin
  41476. if thebits = 0 then
  41477. pTDefRegMap(@Self)^.clr := $00000001
  41478. else
  41479. pTDefRegMap(@Self)^.&set := $00000001;
  41480. end;
  41481. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  41482. begin
  41483. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41484. end;
  41485. procedure TNVM_NVMCON.setPROGOP1; inline;
  41486. begin
  41487. pTDefRegMap(@Self)^.&set := $00000002;
  41488. end;
  41489. procedure TNVM_NVMCON.clearPROGOP1; inline;
  41490. begin
  41491. pTDefRegMap(@Self)^.clr := $00000002;
  41492. end;
  41493. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  41494. begin
  41495. if thebits = 0 then
  41496. pTDefRegMap(@Self)^.clr := $00000002
  41497. else
  41498. pTDefRegMap(@Self)^.&set := $00000002;
  41499. end;
  41500. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  41501. begin
  41502. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41503. end;
  41504. procedure TNVM_NVMCON.setPROGOP2; inline;
  41505. begin
  41506. pTDefRegMap(@Self)^.&set := $00000004;
  41507. end;
  41508. procedure TNVM_NVMCON.clearPROGOP2; inline;
  41509. begin
  41510. pTDefRegMap(@Self)^.clr := $00000004;
  41511. end;
  41512. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  41513. begin
  41514. if thebits = 0 then
  41515. pTDefRegMap(@Self)^.clr := $00000004
  41516. else
  41517. pTDefRegMap(@Self)^.&set := $00000004;
  41518. end;
  41519. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  41520. begin
  41521. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41522. end;
  41523. procedure TNVM_NVMCON.setPROGOP3; inline;
  41524. begin
  41525. pTDefRegMap(@Self)^.&set := $00000008;
  41526. end;
  41527. procedure TNVM_NVMCON.clearPROGOP3; inline;
  41528. begin
  41529. pTDefRegMap(@Self)^.clr := $00000008;
  41530. end;
  41531. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  41532. begin
  41533. if thebits = 0 then
  41534. pTDefRegMap(@Self)^.clr := $00000008
  41535. else
  41536. pTDefRegMap(@Self)^.&set := $00000008;
  41537. end;
  41538. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  41539. begin
  41540. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41541. end;
  41542. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  41543. begin
  41544. pTDefRegMap(@Self)^.val := thebits;
  41545. end;
  41546. function TNVM_NVMCON.getw : TBits_32; inline;
  41547. begin
  41548. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41549. end;
  41550. procedure TRCON_RCON.setPOR; inline;
  41551. begin
  41552. pTDefRegMap(@Self)^.&set := $00000001;
  41553. end;
  41554. procedure TRCON_RCON.clearPOR; inline;
  41555. begin
  41556. pTDefRegMap(@Self)^.clr := $00000001;
  41557. end;
  41558. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  41559. begin
  41560. if thebits = 0 then
  41561. pTDefRegMap(@Self)^.clr := $00000001
  41562. else
  41563. pTDefRegMap(@Self)^.&set := $00000001;
  41564. end;
  41565. function TRCON_RCON.getPOR : TBits_1; inline;
  41566. begin
  41567. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41568. end;
  41569. procedure TRCON_RCON.setBOR; inline;
  41570. begin
  41571. pTDefRegMap(@Self)^.&set := $00000002;
  41572. end;
  41573. procedure TRCON_RCON.clearBOR; inline;
  41574. begin
  41575. pTDefRegMap(@Self)^.clr := $00000002;
  41576. end;
  41577. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  41578. begin
  41579. if thebits = 0 then
  41580. pTDefRegMap(@Self)^.clr := $00000002
  41581. else
  41582. pTDefRegMap(@Self)^.&set := $00000002;
  41583. end;
  41584. function TRCON_RCON.getBOR : TBits_1; inline;
  41585. begin
  41586. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41587. end;
  41588. procedure TRCON_RCON.setIDLE; inline;
  41589. begin
  41590. pTDefRegMap(@Self)^.&set := $00000004;
  41591. end;
  41592. procedure TRCON_RCON.clearIDLE; inline;
  41593. begin
  41594. pTDefRegMap(@Self)^.clr := $00000004;
  41595. end;
  41596. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  41597. begin
  41598. if thebits = 0 then
  41599. pTDefRegMap(@Self)^.clr := $00000004
  41600. else
  41601. pTDefRegMap(@Self)^.&set := $00000004;
  41602. end;
  41603. function TRCON_RCON.getIDLE : TBits_1; inline;
  41604. begin
  41605. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41606. end;
  41607. procedure TRCON_RCON.setSLEEP; inline;
  41608. begin
  41609. pTDefRegMap(@Self)^.&set := $00000008;
  41610. end;
  41611. procedure TRCON_RCON.clearSLEEP; inline;
  41612. begin
  41613. pTDefRegMap(@Self)^.clr := $00000008;
  41614. end;
  41615. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  41616. begin
  41617. if thebits = 0 then
  41618. pTDefRegMap(@Self)^.clr := $00000008
  41619. else
  41620. pTDefRegMap(@Self)^.&set := $00000008;
  41621. end;
  41622. function TRCON_RCON.getSLEEP : TBits_1; inline;
  41623. begin
  41624. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41625. end;
  41626. procedure TRCON_RCON.setWDTO; inline;
  41627. begin
  41628. pTDefRegMap(@Self)^.&set := $00000010;
  41629. end;
  41630. procedure TRCON_RCON.clearWDTO; inline;
  41631. begin
  41632. pTDefRegMap(@Self)^.clr := $00000010;
  41633. end;
  41634. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  41635. begin
  41636. if thebits = 0 then
  41637. pTDefRegMap(@Self)^.clr := $00000010
  41638. else
  41639. pTDefRegMap(@Self)^.&set := $00000010;
  41640. end;
  41641. function TRCON_RCON.getWDTO : TBits_1; inline;
  41642. begin
  41643. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41644. end;
  41645. procedure TRCON_RCON.setSWR; inline;
  41646. begin
  41647. pTDefRegMap(@Self)^.&set := $00000040;
  41648. end;
  41649. procedure TRCON_RCON.clearSWR; inline;
  41650. begin
  41651. pTDefRegMap(@Self)^.clr := $00000040;
  41652. end;
  41653. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  41654. begin
  41655. if thebits = 0 then
  41656. pTDefRegMap(@Self)^.clr := $00000040
  41657. else
  41658. pTDefRegMap(@Self)^.&set := $00000040;
  41659. end;
  41660. function TRCON_RCON.getSWR : TBits_1; inline;
  41661. begin
  41662. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41663. end;
  41664. procedure TRCON_RCON.setEXTR; inline;
  41665. begin
  41666. pTDefRegMap(@Self)^.&set := $00000080;
  41667. end;
  41668. procedure TRCON_RCON.clearEXTR; inline;
  41669. begin
  41670. pTDefRegMap(@Self)^.clr := $00000080;
  41671. end;
  41672. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  41673. begin
  41674. if thebits = 0 then
  41675. pTDefRegMap(@Self)^.clr := $00000080
  41676. else
  41677. pTDefRegMap(@Self)^.&set := $00000080;
  41678. end;
  41679. function TRCON_RCON.getEXTR : TBits_1; inline;
  41680. begin
  41681. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41682. end;
  41683. procedure TRCON_RCON.setVREGS; inline;
  41684. begin
  41685. pTDefRegMap(@Self)^.&set := $00000100;
  41686. end;
  41687. procedure TRCON_RCON.clearVREGS; inline;
  41688. begin
  41689. pTDefRegMap(@Self)^.clr := $00000100;
  41690. end;
  41691. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  41692. begin
  41693. if thebits = 0 then
  41694. pTDefRegMap(@Self)^.clr := $00000100
  41695. else
  41696. pTDefRegMap(@Self)^.&set := $00000100;
  41697. end;
  41698. function TRCON_RCON.getVREGS : TBits_1; inline;
  41699. begin
  41700. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41701. end;
  41702. procedure TRCON_RCON.setCMR; inline;
  41703. begin
  41704. pTDefRegMap(@Self)^.&set := $00000200;
  41705. end;
  41706. procedure TRCON_RCON.clearCMR; inline;
  41707. begin
  41708. pTDefRegMap(@Self)^.clr := $00000200;
  41709. end;
  41710. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  41711. begin
  41712. if thebits = 0 then
  41713. pTDefRegMap(@Self)^.clr := $00000200
  41714. else
  41715. pTDefRegMap(@Self)^.&set := $00000200;
  41716. end;
  41717. function TRCON_RCON.getCMR : TBits_1; inline;
  41718. begin
  41719. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41720. end;
  41721. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  41722. begin
  41723. pTDefRegMap(@Self)^.val := thebits;
  41724. end;
  41725. function TRCON_RCON.getw : TBits_32; inline;
  41726. begin
  41727. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41728. end;
  41729. procedure TRCON_RSWRST.setSWRST; inline;
  41730. begin
  41731. pTDefRegMap(@Self)^.&set := $00000001;
  41732. end;
  41733. procedure TRCON_RSWRST.clearSWRST; inline;
  41734. begin
  41735. pTDefRegMap(@Self)^.clr := $00000001;
  41736. end;
  41737. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  41738. begin
  41739. if thebits = 0 then
  41740. pTDefRegMap(@Self)^.clr := $00000001
  41741. else
  41742. pTDefRegMap(@Self)^.&set := $00000001;
  41743. end;
  41744. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  41745. begin
  41746. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41747. end;
  41748. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  41749. begin
  41750. pTDefRegMap(@Self)^.val := thebits;
  41751. end;
  41752. function TRCON_RSWRST.getw : TBits_32; inline;
  41753. begin
  41754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41755. end;
  41756. procedure TINT_INTCON.setINT0EP; inline;
  41757. begin
  41758. pTDefRegMap(@Self)^.&set := $00000001;
  41759. end;
  41760. procedure TINT_INTCON.clearINT0EP; inline;
  41761. begin
  41762. pTDefRegMap(@Self)^.clr := $00000001;
  41763. end;
  41764. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  41765. begin
  41766. if thebits = 0 then
  41767. pTDefRegMap(@Self)^.clr := $00000001
  41768. else
  41769. pTDefRegMap(@Self)^.&set := $00000001;
  41770. end;
  41771. function TINT_INTCON.getINT0EP : TBits_1; inline;
  41772. begin
  41773. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41774. end;
  41775. procedure TINT_INTCON.setINT1EP; inline;
  41776. begin
  41777. pTDefRegMap(@Self)^.&set := $00000002;
  41778. end;
  41779. procedure TINT_INTCON.clearINT1EP; inline;
  41780. begin
  41781. pTDefRegMap(@Self)^.clr := $00000002;
  41782. end;
  41783. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  41784. begin
  41785. if thebits = 0 then
  41786. pTDefRegMap(@Self)^.clr := $00000002
  41787. else
  41788. pTDefRegMap(@Self)^.&set := $00000002;
  41789. end;
  41790. function TINT_INTCON.getINT1EP : TBits_1; inline;
  41791. begin
  41792. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41793. end;
  41794. procedure TINT_INTCON.setINT2EP; inline;
  41795. begin
  41796. pTDefRegMap(@Self)^.&set := $00000004;
  41797. end;
  41798. procedure TINT_INTCON.clearINT2EP; inline;
  41799. begin
  41800. pTDefRegMap(@Self)^.clr := $00000004;
  41801. end;
  41802. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  41803. begin
  41804. if thebits = 0 then
  41805. pTDefRegMap(@Self)^.clr := $00000004
  41806. else
  41807. pTDefRegMap(@Self)^.&set := $00000004;
  41808. end;
  41809. function TINT_INTCON.getINT2EP : TBits_1; inline;
  41810. begin
  41811. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41812. end;
  41813. procedure TINT_INTCON.setINT3EP; inline;
  41814. begin
  41815. pTDefRegMap(@Self)^.&set := $00000008;
  41816. end;
  41817. procedure TINT_INTCON.clearINT3EP; inline;
  41818. begin
  41819. pTDefRegMap(@Self)^.clr := $00000008;
  41820. end;
  41821. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  41822. begin
  41823. if thebits = 0 then
  41824. pTDefRegMap(@Self)^.clr := $00000008
  41825. else
  41826. pTDefRegMap(@Self)^.&set := $00000008;
  41827. end;
  41828. function TINT_INTCON.getINT3EP : TBits_1; inline;
  41829. begin
  41830. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41831. end;
  41832. procedure TINT_INTCON.setINT4EP; inline;
  41833. begin
  41834. pTDefRegMap(@Self)^.&set := $00000010;
  41835. end;
  41836. procedure TINT_INTCON.clearINT4EP; inline;
  41837. begin
  41838. pTDefRegMap(@Self)^.clr := $00000010;
  41839. end;
  41840. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  41841. begin
  41842. if thebits = 0 then
  41843. pTDefRegMap(@Self)^.clr := $00000010
  41844. else
  41845. pTDefRegMap(@Self)^.&set := $00000010;
  41846. end;
  41847. function TINT_INTCON.getINT4EP : TBits_1; inline;
  41848. begin
  41849. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41850. end;
  41851. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  41852. begin
  41853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  41854. end;
  41855. function TINT_INTCON.getTPC : TBits_3; inline;
  41856. begin
  41857. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  41858. end;
  41859. procedure TINT_INTCON.setMVEC; inline;
  41860. begin
  41861. pTDefRegMap(@Self)^.&set := $00001000;
  41862. end;
  41863. procedure TINT_INTCON.clearMVEC; inline;
  41864. begin
  41865. pTDefRegMap(@Self)^.clr := $00001000;
  41866. end;
  41867. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  41868. begin
  41869. if thebits = 0 then
  41870. pTDefRegMap(@Self)^.clr := $00001000
  41871. else
  41872. pTDefRegMap(@Self)^.&set := $00001000;
  41873. end;
  41874. function TINT_INTCON.getMVEC : TBits_1; inline;
  41875. begin
  41876. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41877. end;
  41878. procedure TINT_INTCON.setFRZ; inline;
  41879. begin
  41880. pTDefRegMap(@Self)^.&set := $00004000;
  41881. end;
  41882. procedure TINT_INTCON.clearFRZ; inline;
  41883. begin
  41884. pTDefRegMap(@Self)^.clr := $00004000;
  41885. end;
  41886. procedure TINT_INTCON.setFRZ(thebits : TBits_1); inline;
  41887. begin
  41888. if thebits = 0 then
  41889. pTDefRegMap(@Self)^.clr := $00004000
  41890. else
  41891. pTDefRegMap(@Self)^.&set := $00004000;
  41892. end;
  41893. function TINT_INTCON.getFRZ : TBits_1; inline;
  41894. begin
  41895. getFRZ := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41896. end;
  41897. procedure TINT_INTCON.setSS0; inline;
  41898. begin
  41899. pTDefRegMap(@Self)^.&set := $00010000;
  41900. end;
  41901. procedure TINT_INTCON.clearSS0; inline;
  41902. begin
  41903. pTDefRegMap(@Self)^.clr := $00010000;
  41904. end;
  41905. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  41906. begin
  41907. if thebits = 0 then
  41908. pTDefRegMap(@Self)^.clr := $00010000
  41909. else
  41910. pTDefRegMap(@Self)^.&set := $00010000;
  41911. end;
  41912. function TINT_INTCON.getSS0 : TBits_1; inline;
  41913. begin
  41914. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  41915. end;
  41916. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  41917. begin
  41918. pTDefRegMap(@Self)^.val := thebits;
  41919. end;
  41920. function TINT_INTCON.getw : TBits_32; inline;
  41921. begin
  41922. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41923. end;
  41924. procedure TINT_IFS0.setCTIF; inline;
  41925. begin
  41926. pTDefRegMap(@Self)^.&set := $00000001;
  41927. end;
  41928. procedure TINT_IFS0.clearCTIF; inline;
  41929. begin
  41930. pTDefRegMap(@Self)^.clr := $00000001;
  41931. end;
  41932. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  41933. begin
  41934. if thebits = 0 then
  41935. pTDefRegMap(@Self)^.clr := $00000001
  41936. else
  41937. pTDefRegMap(@Self)^.&set := $00000001;
  41938. end;
  41939. function TINT_IFS0.getCTIF : TBits_1; inline;
  41940. begin
  41941. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41942. end;
  41943. procedure TINT_IFS0.setCS0IF; inline;
  41944. begin
  41945. pTDefRegMap(@Self)^.&set := $00000002;
  41946. end;
  41947. procedure TINT_IFS0.clearCS0IF; inline;
  41948. begin
  41949. pTDefRegMap(@Self)^.clr := $00000002;
  41950. end;
  41951. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  41952. begin
  41953. if thebits = 0 then
  41954. pTDefRegMap(@Self)^.clr := $00000002
  41955. else
  41956. pTDefRegMap(@Self)^.&set := $00000002;
  41957. end;
  41958. function TINT_IFS0.getCS0IF : TBits_1; inline;
  41959. begin
  41960. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41961. end;
  41962. procedure TINT_IFS0.setCS1IF; inline;
  41963. begin
  41964. pTDefRegMap(@Self)^.&set := $00000004;
  41965. end;
  41966. procedure TINT_IFS0.clearCS1IF; inline;
  41967. begin
  41968. pTDefRegMap(@Self)^.clr := $00000004;
  41969. end;
  41970. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  41971. begin
  41972. if thebits = 0 then
  41973. pTDefRegMap(@Self)^.clr := $00000004
  41974. else
  41975. pTDefRegMap(@Self)^.&set := $00000004;
  41976. end;
  41977. function TINT_IFS0.getCS1IF : TBits_1; inline;
  41978. begin
  41979. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41980. end;
  41981. procedure TINT_IFS0.setINT0IF; inline;
  41982. begin
  41983. pTDefRegMap(@Self)^.&set := $00000008;
  41984. end;
  41985. procedure TINT_IFS0.clearINT0IF; inline;
  41986. begin
  41987. pTDefRegMap(@Self)^.clr := $00000008;
  41988. end;
  41989. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  41990. begin
  41991. if thebits = 0 then
  41992. pTDefRegMap(@Self)^.clr := $00000008
  41993. else
  41994. pTDefRegMap(@Self)^.&set := $00000008;
  41995. end;
  41996. function TINT_IFS0.getINT0IF : TBits_1; inline;
  41997. begin
  41998. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41999. end;
  42000. procedure TINT_IFS0.setT1IF; inline;
  42001. begin
  42002. pTDefRegMap(@Self)^.&set := $00000010;
  42003. end;
  42004. procedure TINT_IFS0.clearT1IF; inline;
  42005. begin
  42006. pTDefRegMap(@Self)^.clr := $00000010;
  42007. end;
  42008. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  42009. begin
  42010. if thebits = 0 then
  42011. pTDefRegMap(@Self)^.clr := $00000010
  42012. else
  42013. pTDefRegMap(@Self)^.&set := $00000010;
  42014. end;
  42015. function TINT_IFS0.getT1IF : TBits_1; inline;
  42016. begin
  42017. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42018. end;
  42019. procedure TINT_IFS0.setIC1IF; inline;
  42020. begin
  42021. pTDefRegMap(@Self)^.&set := $00000020;
  42022. end;
  42023. procedure TINT_IFS0.clearIC1IF; inline;
  42024. begin
  42025. pTDefRegMap(@Self)^.clr := $00000020;
  42026. end;
  42027. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  42028. begin
  42029. if thebits = 0 then
  42030. pTDefRegMap(@Self)^.clr := $00000020
  42031. else
  42032. pTDefRegMap(@Self)^.&set := $00000020;
  42033. end;
  42034. function TINT_IFS0.getIC1IF : TBits_1; inline;
  42035. begin
  42036. getIC1IF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42037. end;
  42038. procedure TINT_IFS0.setOC1IF; inline;
  42039. begin
  42040. pTDefRegMap(@Self)^.&set := $00000040;
  42041. end;
  42042. procedure TINT_IFS0.clearOC1IF; inline;
  42043. begin
  42044. pTDefRegMap(@Self)^.clr := $00000040;
  42045. end;
  42046. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  42047. begin
  42048. if thebits = 0 then
  42049. pTDefRegMap(@Self)^.clr := $00000040
  42050. else
  42051. pTDefRegMap(@Self)^.&set := $00000040;
  42052. end;
  42053. function TINT_IFS0.getOC1IF : TBits_1; inline;
  42054. begin
  42055. getOC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42056. end;
  42057. procedure TINT_IFS0.setINT1IF; inline;
  42058. begin
  42059. pTDefRegMap(@Self)^.&set := $00000080;
  42060. end;
  42061. procedure TINT_IFS0.clearINT1IF; inline;
  42062. begin
  42063. pTDefRegMap(@Self)^.clr := $00000080;
  42064. end;
  42065. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  42066. begin
  42067. if thebits = 0 then
  42068. pTDefRegMap(@Self)^.clr := $00000080
  42069. else
  42070. pTDefRegMap(@Self)^.&set := $00000080;
  42071. end;
  42072. function TINT_IFS0.getINT1IF : TBits_1; inline;
  42073. begin
  42074. getINT1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42075. end;
  42076. procedure TINT_IFS0.setT2IF; inline;
  42077. begin
  42078. pTDefRegMap(@Self)^.&set := $00000100;
  42079. end;
  42080. procedure TINT_IFS0.clearT2IF; inline;
  42081. begin
  42082. pTDefRegMap(@Self)^.clr := $00000100;
  42083. end;
  42084. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  42085. begin
  42086. if thebits = 0 then
  42087. pTDefRegMap(@Self)^.clr := $00000100
  42088. else
  42089. pTDefRegMap(@Self)^.&set := $00000100;
  42090. end;
  42091. function TINT_IFS0.getT2IF : TBits_1; inline;
  42092. begin
  42093. getT2IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42094. end;
  42095. procedure TINT_IFS0.setIC2IF; inline;
  42096. begin
  42097. pTDefRegMap(@Self)^.&set := $00000200;
  42098. end;
  42099. procedure TINT_IFS0.clearIC2IF; inline;
  42100. begin
  42101. pTDefRegMap(@Self)^.clr := $00000200;
  42102. end;
  42103. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  42104. begin
  42105. if thebits = 0 then
  42106. pTDefRegMap(@Self)^.clr := $00000200
  42107. else
  42108. pTDefRegMap(@Self)^.&set := $00000200;
  42109. end;
  42110. function TINT_IFS0.getIC2IF : TBits_1; inline;
  42111. begin
  42112. getIC2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42113. end;
  42114. procedure TINT_IFS0.setOC2IF; inline;
  42115. begin
  42116. pTDefRegMap(@Self)^.&set := $00000400;
  42117. end;
  42118. procedure TINT_IFS0.clearOC2IF; inline;
  42119. begin
  42120. pTDefRegMap(@Self)^.clr := $00000400;
  42121. end;
  42122. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  42123. begin
  42124. if thebits = 0 then
  42125. pTDefRegMap(@Self)^.clr := $00000400
  42126. else
  42127. pTDefRegMap(@Self)^.&set := $00000400;
  42128. end;
  42129. function TINT_IFS0.getOC2IF : TBits_1; inline;
  42130. begin
  42131. getOC2IF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42132. end;
  42133. procedure TINT_IFS0.setINT2IF; inline;
  42134. begin
  42135. pTDefRegMap(@Self)^.&set := $00000800;
  42136. end;
  42137. procedure TINT_IFS0.clearINT2IF; inline;
  42138. begin
  42139. pTDefRegMap(@Self)^.clr := $00000800;
  42140. end;
  42141. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  42142. begin
  42143. if thebits = 0 then
  42144. pTDefRegMap(@Self)^.clr := $00000800
  42145. else
  42146. pTDefRegMap(@Self)^.&set := $00000800;
  42147. end;
  42148. function TINT_IFS0.getINT2IF : TBits_1; inline;
  42149. begin
  42150. getINT2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42151. end;
  42152. procedure TINT_IFS0.setT3IF; inline;
  42153. begin
  42154. pTDefRegMap(@Self)^.&set := $00001000;
  42155. end;
  42156. procedure TINT_IFS0.clearT3IF; inline;
  42157. begin
  42158. pTDefRegMap(@Self)^.clr := $00001000;
  42159. end;
  42160. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  42161. begin
  42162. if thebits = 0 then
  42163. pTDefRegMap(@Self)^.clr := $00001000
  42164. else
  42165. pTDefRegMap(@Self)^.&set := $00001000;
  42166. end;
  42167. function TINT_IFS0.getT3IF : TBits_1; inline;
  42168. begin
  42169. getT3IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42170. end;
  42171. procedure TINT_IFS0.setIC3IF; inline;
  42172. begin
  42173. pTDefRegMap(@Self)^.&set := $00002000;
  42174. end;
  42175. procedure TINT_IFS0.clearIC3IF; inline;
  42176. begin
  42177. pTDefRegMap(@Self)^.clr := $00002000;
  42178. end;
  42179. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  42180. begin
  42181. if thebits = 0 then
  42182. pTDefRegMap(@Self)^.clr := $00002000
  42183. else
  42184. pTDefRegMap(@Self)^.&set := $00002000;
  42185. end;
  42186. function TINT_IFS0.getIC3IF : TBits_1; inline;
  42187. begin
  42188. getIC3IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42189. end;
  42190. procedure TINT_IFS0.setOC3IF; inline;
  42191. begin
  42192. pTDefRegMap(@Self)^.&set := $00004000;
  42193. end;
  42194. procedure TINT_IFS0.clearOC3IF; inline;
  42195. begin
  42196. pTDefRegMap(@Self)^.clr := $00004000;
  42197. end;
  42198. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  42199. begin
  42200. if thebits = 0 then
  42201. pTDefRegMap(@Self)^.clr := $00004000
  42202. else
  42203. pTDefRegMap(@Self)^.&set := $00004000;
  42204. end;
  42205. function TINT_IFS0.getOC3IF : TBits_1; inline;
  42206. begin
  42207. getOC3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42208. end;
  42209. procedure TINT_IFS0.setINT3IF; inline;
  42210. begin
  42211. pTDefRegMap(@Self)^.&set := $00008000;
  42212. end;
  42213. procedure TINT_IFS0.clearINT3IF; inline;
  42214. begin
  42215. pTDefRegMap(@Self)^.clr := $00008000;
  42216. end;
  42217. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  42218. begin
  42219. if thebits = 0 then
  42220. pTDefRegMap(@Self)^.clr := $00008000
  42221. else
  42222. pTDefRegMap(@Self)^.&set := $00008000;
  42223. end;
  42224. function TINT_IFS0.getINT3IF : TBits_1; inline;
  42225. begin
  42226. getINT3IF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42227. end;
  42228. procedure TINT_IFS0.setT4IF; inline;
  42229. begin
  42230. pTDefRegMap(@Self)^.&set := $00010000;
  42231. end;
  42232. procedure TINT_IFS0.clearT4IF; inline;
  42233. begin
  42234. pTDefRegMap(@Self)^.clr := $00010000;
  42235. end;
  42236. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  42237. begin
  42238. if thebits = 0 then
  42239. pTDefRegMap(@Self)^.clr := $00010000
  42240. else
  42241. pTDefRegMap(@Self)^.&set := $00010000;
  42242. end;
  42243. function TINT_IFS0.getT4IF : TBits_1; inline;
  42244. begin
  42245. getT4IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  42246. end;
  42247. procedure TINT_IFS0.setIC4IF; inline;
  42248. begin
  42249. pTDefRegMap(@Self)^.&set := $00020000;
  42250. end;
  42251. procedure TINT_IFS0.clearIC4IF; inline;
  42252. begin
  42253. pTDefRegMap(@Self)^.clr := $00020000;
  42254. end;
  42255. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  42256. begin
  42257. if thebits = 0 then
  42258. pTDefRegMap(@Self)^.clr := $00020000
  42259. else
  42260. pTDefRegMap(@Self)^.&set := $00020000;
  42261. end;
  42262. function TINT_IFS0.getIC4IF : TBits_1; inline;
  42263. begin
  42264. getIC4IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  42265. end;
  42266. procedure TINT_IFS0.setOC4IF; inline;
  42267. begin
  42268. pTDefRegMap(@Self)^.&set := $00040000;
  42269. end;
  42270. procedure TINT_IFS0.clearOC4IF; inline;
  42271. begin
  42272. pTDefRegMap(@Self)^.clr := $00040000;
  42273. end;
  42274. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  42275. begin
  42276. if thebits = 0 then
  42277. pTDefRegMap(@Self)^.clr := $00040000
  42278. else
  42279. pTDefRegMap(@Self)^.&set := $00040000;
  42280. end;
  42281. function TINT_IFS0.getOC4IF : TBits_1; inline;
  42282. begin
  42283. getOC4IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  42284. end;
  42285. procedure TINT_IFS0.setINT4IF; inline;
  42286. begin
  42287. pTDefRegMap(@Self)^.&set := $00080000;
  42288. end;
  42289. procedure TINT_IFS0.clearINT4IF; inline;
  42290. begin
  42291. pTDefRegMap(@Self)^.clr := $00080000;
  42292. end;
  42293. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  42294. begin
  42295. if thebits = 0 then
  42296. pTDefRegMap(@Self)^.clr := $00080000
  42297. else
  42298. pTDefRegMap(@Self)^.&set := $00080000;
  42299. end;
  42300. function TINT_IFS0.getINT4IF : TBits_1; inline;
  42301. begin
  42302. getINT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  42303. end;
  42304. procedure TINT_IFS0.setT5IF; inline;
  42305. begin
  42306. pTDefRegMap(@Self)^.&set := $00100000;
  42307. end;
  42308. procedure TINT_IFS0.clearT5IF; inline;
  42309. begin
  42310. pTDefRegMap(@Self)^.clr := $00100000;
  42311. end;
  42312. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  42313. begin
  42314. if thebits = 0 then
  42315. pTDefRegMap(@Self)^.clr := $00100000
  42316. else
  42317. pTDefRegMap(@Self)^.&set := $00100000;
  42318. end;
  42319. function TINT_IFS0.getT5IF : TBits_1; inline;
  42320. begin
  42321. getT5IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  42322. end;
  42323. procedure TINT_IFS0.setIC5IF; inline;
  42324. begin
  42325. pTDefRegMap(@Self)^.&set := $00200000;
  42326. end;
  42327. procedure TINT_IFS0.clearIC5IF; inline;
  42328. begin
  42329. pTDefRegMap(@Self)^.clr := $00200000;
  42330. end;
  42331. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  42332. begin
  42333. if thebits = 0 then
  42334. pTDefRegMap(@Self)^.clr := $00200000
  42335. else
  42336. pTDefRegMap(@Self)^.&set := $00200000;
  42337. end;
  42338. function TINT_IFS0.getIC5IF : TBits_1; inline;
  42339. begin
  42340. getIC5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  42341. end;
  42342. procedure TINT_IFS0.setOC5IF; inline;
  42343. begin
  42344. pTDefRegMap(@Self)^.&set := $00400000;
  42345. end;
  42346. procedure TINT_IFS0.clearOC5IF; inline;
  42347. begin
  42348. pTDefRegMap(@Self)^.clr := $00400000;
  42349. end;
  42350. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  42351. begin
  42352. if thebits = 0 then
  42353. pTDefRegMap(@Self)^.clr := $00400000
  42354. else
  42355. pTDefRegMap(@Self)^.&set := $00400000;
  42356. end;
  42357. function TINT_IFS0.getOC5IF : TBits_1; inline;
  42358. begin
  42359. getOC5IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  42360. end;
  42361. procedure TINT_IFS0.setSPI1EIF; inline;
  42362. begin
  42363. pTDefRegMap(@Self)^.&set := $00800000;
  42364. end;
  42365. procedure TINT_IFS0.clearSPI1EIF; inline;
  42366. begin
  42367. pTDefRegMap(@Self)^.clr := $00800000;
  42368. end;
  42369. procedure TINT_IFS0.setSPI1EIF(thebits : TBits_1); inline;
  42370. begin
  42371. if thebits = 0 then
  42372. pTDefRegMap(@Self)^.clr := $00800000
  42373. else
  42374. pTDefRegMap(@Self)^.&set := $00800000;
  42375. end;
  42376. function TINT_IFS0.getSPI1EIF : TBits_1; inline;
  42377. begin
  42378. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  42379. end;
  42380. procedure TINT_IFS0.setSPI1RXIF; inline;
  42381. begin
  42382. pTDefRegMap(@Self)^.&set := $01000000;
  42383. end;
  42384. procedure TINT_IFS0.clearSPI1RXIF; inline;
  42385. begin
  42386. pTDefRegMap(@Self)^.clr := $01000000;
  42387. end;
  42388. procedure TINT_IFS0.setSPI1RXIF(thebits : TBits_1); inline;
  42389. begin
  42390. if thebits = 0 then
  42391. pTDefRegMap(@Self)^.clr := $01000000
  42392. else
  42393. pTDefRegMap(@Self)^.&set := $01000000;
  42394. end;
  42395. function TINT_IFS0.getSPI1RXIF : TBits_1; inline;
  42396. begin
  42397. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  42398. end;
  42399. procedure TINT_IFS0.setSPI1TXIF; inline;
  42400. begin
  42401. pTDefRegMap(@Self)^.&set := $02000000;
  42402. end;
  42403. procedure TINT_IFS0.clearSPI1TXIF; inline;
  42404. begin
  42405. pTDefRegMap(@Self)^.clr := $02000000;
  42406. end;
  42407. procedure TINT_IFS0.setSPI1TXIF(thebits : TBits_1); inline;
  42408. begin
  42409. if thebits = 0 then
  42410. pTDefRegMap(@Self)^.clr := $02000000
  42411. else
  42412. pTDefRegMap(@Self)^.&set := $02000000;
  42413. end;
  42414. function TINT_IFS0.getSPI1TXIF : TBits_1; inline;
  42415. begin
  42416. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  42417. end;
  42418. procedure TINT_IFS0.setU1EIF; inline;
  42419. begin
  42420. pTDefRegMap(@Self)^.&set := $04000000;
  42421. end;
  42422. procedure TINT_IFS0.clearU1EIF; inline;
  42423. begin
  42424. pTDefRegMap(@Self)^.clr := $04000000;
  42425. end;
  42426. procedure TINT_IFS0.setU1EIF(thebits : TBits_1); inline;
  42427. begin
  42428. if thebits = 0 then
  42429. pTDefRegMap(@Self)^.clr := $04000000
  42430. else
  42431. pTDefRegMap(@Self)^.&set := $04000000;
  42432. end;
  42433. function TINT_IFS0.getU1EIF : TBits_1; inline;
  42434. begin
  42435. getU1EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42436. end;
  42437. procedure TINT_IFS0.setU1RXIF; inline;
  42438. begin
  42439. pTDefRegMap(@Self)^.&set := $08000000;
  42440. end;
  42441. procedure TINT_IFS0.clearU1RXIF; inline;
  42442. begin
  42443. pTDefRegMap(@Self)^.clr := $08000000;
  42444. end;
  42445. procedure TINT_IFS0.setU1RXIF(thebits : TBits_1); inline;
  42446. begin
  42447. if thebits = 0 then
  42448. pTDefRegMap(@Self)^.clr := $08000000
  42449. else
  42450. pTDefRegMap(@Self)^.&set := $08000000;
  42451. end;
  42452. function TINT_IFS0.getU1RXIF : TBits_1; inline;
  42453. begin
  42454. getU1RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42455. end;
  42456. procedure TINT_IFS0.setU1TXIF; inline;
  42457. begin
  42458. pTDefRegMap(@Self)^.&set := $10000000;
  42459. end;
  42460. procedure TINT_IFS0.clearU1TXIF; inline;
  42461. begin
  42462. pTDefRegMap(@Self)^.clr := $10000000;
  42463. end;
  42464. procedure TINT_IFS0.setU1TXIF(thebits : TBits_1); inline;
  42465. begin
  42466. if thebits = 0 then
  42467. pTDefRegMap(@Self)^.clr := $10000000
  42468. else
  42469. pTDefRegMap(@Self)^.&set := $10000000;
  42470. end;
  42471. function TINT_IFS0.getU1TXIF : TBits_1; inline;
  42472. begin
  42473. getU1TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42474. end;
  42475. procedure TINT_IFS0.setI2C1BIF; inline;
  42476. begin
  42477. pTDefRegMap(@Self)^.&set := $20000000;
  42478. end;
  42479. procedure TINT_IFS0.clearI2C1BIF; inline;
  42480. begin
  42481. pTDefRegMap(@Self)^.clr := $20000000;
  42482. end;
  42483. procedure TINT_IFS0.setI2C1BIF(thebits : TBits_1); inline;
  42484. begin
  42485. if thebits = 0 then
  42486. pTDefRegMap(@Self)^.clr := $20000000
  42487. else
  42488. pTDefRegMap(@Self)^.&set := $20000000;
  42489. end;
  42490. function TINT_IFS0.getI2C1BIF : TBits_1; inline;
  42491. begin
  42492. getI2C1BIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  42493. end;
  42494. procedure TINT_IFS0.setI2C1SIF; inline;
  42495. begin
  42496. pTDefRegMap(@Self)^.&set := $40000000;
  42497. end;
  42498. procedure TINT_IFS0.clearI2C1SIF; inline;
  42499. begin
  42500. pTDefRegMap(@Self)^.clr := $40000000;
  42501. end;
  42502. procedure TINT_IFS0.setI2C1SIF(thebits : TBits_1); inline;
  42503. begin
  42504. if thebits = 0 then
  42505. pTDefRegMap(@Self)^.clr := $40000000
  42506. else
  42507. pTDefRegMap(@Self)^.&set := $40000000;
  42508. end;
  42509. function TINT_IFS0.getI2C1SIF : TBits_1; inline;
  42510. begin
  42511. getI2C1SIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  42512. end;
  42513. procedure TINT_IFS0.setI2C1MIF; inline;
  42514. begin
  42515. pTDefRegMap(@Self)^.&set := $80000000;
  42516. end;
  42517. procedure TINT_IFS0.clearI2C1MIF; inline;
  42518. begin
  42519. pTDefRegMap(@Self)^.clr := $80000000;
  42520. end;
  42521. procedure TINT_IFS0.setI2C1MIF(thebits : TBits_1); inline;
  42522. begin
  42523. if thebits = 0 then
  42524. pTDefRegMap(@Self)^.clr := $80000000
  42525. else
  42526. pTDefRegMap(@Self)^.&set := $80000000;
  42527. end;
  42528. function TINT_IFS0.getI2C1MIF : TBits_1; inline;
  42529. begin
  42530. getI2C1MIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  42531. end;
  42532. procedure TINT_IFS0.setU1AEIF; inline;
  42533. begin
  42534. pTDefRegMap(@Self)^.&set := $04000000;
  42535. end;
  42536. procedure TINT_IFS0.clearU1AEIF; inline;
  42537. begin
  42538. pTDefRegMap(@Self)^.clr := $04000000;
  42539. end;
  42540. procedure TINT_IFS0.setU1AEIF(thebits : TBits_1); inline;
  42541. begin
  42542. if thebits = 0 then
  42543. pTDefRegMap(@Self)^.clr := $04000000
  42544. else
  42545. pTDefRegMap(@Self)^.&set := $04000000;
  42546. end;
  42547. function TINT_IFS0.getU1AEIF : TBits_1; inline;
  42548. begin
  42549. getU1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42550. end;
  42551. procedure TINT_IFS0.setU1ARXIF; inline;
  42552. begin
  42553. pTDefRegMap(@Self)^.&set := $08000000;
  42554. end;
  42555. procedure TINT_IFS0.clearU1ARXIF; inline;
  42556. begin
  42557. pTDefRegMap(@Self)^.clr := $08000000;
  42558. end;
  42559. procedure TINT_IFS0.setU1ARXIF(thebits : TBits_1); inline;
  42560. begin
  42561. if thebits = 0 then
  42562. pTDefRegMap(@Self)^.clr := $08000000
  42563. else
  42564. pTDefRegMap(@Self)^.&set := $08000000;
  42565. end;
  42566. function TINT_IFS0.getU1ARXIF : TBits_1; inline;
  42567. begin
  42568. getU1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42569. end;
  42570. procedure TINT_IFS0.setU1ATXIF; inline;
  42571. begin
  42572. pTDefRegMap(@Self)^.&set := $10000000;
  42573. end;
  42574. procedure TINT_IFS0.clearU1ATXIF; inline;
  42575. begin
  42576. pTDefRegMap(@Self)^.clr := $10000000;
  42577. end;
  42578. procedure TINT_IFS0.setU1ATXIF(thebits : TBits_1); inline;
  42579. begin
  42580. if thebits = 0 then
  42581. pTDefRegMap(@Self)^.clr := $10000000
  42582. else
  42583. pTDefRegMap(@Self)^.&set := $10000000;
  42584. end;
  42585. function TINT_IFS0.getU1ATXIF : TBits_1; inline;
  42586. begin
  42587. getU1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42588. end;
  42589. procedure TINT_IFS0.setSPI3EIF; inline;
  42590. begin
  42591. pTDefRegMap(@Self)^.&set := $04000000;
  42592. end;
  42593. procedure TINT_IFS0.clearSPI3EIF; inline;
  42594. begin
  42595. pTDefRegMap(@Self)^.clr := $04000000;
  42596. end;
  42597. procedure TINT_IFS0.setSPI3EIF(thebits : TBits_1); inline;
  42598. begin
  42599. if thebits = 0 then
  42600. pTDefRegMap(@Self)^.clr := $04000000
  42601. else
  42602. pTDefRegMap(@Self)^.&set := $04000000;
  42603. end;
  42604. function TINT_IFS0.getSPI3EIF : TBits_1; inline;
  42605. begin
  42606. getSPI3EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42607. end;
  42608. procedure TINT_IFS0.setSPI3RXIF; inline;
  42609. begin
  42610. pTDefRegMap(@Self)^.&set := $08000000;
  42611. end;
  42612. procedure TINT_IFS0.clearSPI3RXIF; inline;
  42613. begin
  42614. pTDefRegMap(@Self)^.clr := $08000000;
  42615. end;
  42616. procedure TINT_IFS0.setSPI3RXIF(thebits : TBits_1); inline;
  42617. begin
  42618. if thebits = 0 then
  42619. pTDefRegMap(@Self)^.clr := $08000000
  42620. else
  42621. pTDefRegMap(@Self)^.&set := $08000000;
  42622. end;
  42623. function TINT_IFS0.getSPI3RXIF : TBits_1; inline;
  42624. begin
  42625. getSPI3RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42626. end;
  42627. procedure TINT_IFS0.setSPI3TXIF; inline;
  42628. begin
  42629. pTDefRegMap(@Self)^.&set := $10000000;
  42630. end;
  42631. procedure TINT_IFS0.clearSPI3TXIF; inline;
  42632. begin
  42633. pTDefRegMap(@Self)^.clr := $10000000;
  42634. end;
  42635. procedure TINT_IFS0.setSPI3TXIF(thebits : TBits_1); inline;
  42636. begin
  42637. if thebits = 0 then
  42638. pTDefRegMap(@Self)^.clr := $10000000
  42639. else
  42640. pTDefRegMap(@Self)^.&set := $10000000;
  42641. end;
  42642. function TINT_IFS0.getSPI3TXIF : TBits_1; inline;
  42643. begin
  42644. getSPI3TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42645. end;
  42646. procedure TINT_IFS0.setSPI1AEIF; inline;
  42647. begin
  42648. pTDefRegMap(@Self)^.&set := $04000000;
  42649. end;
  42650. procedure TINT_IFS0.clearSPI1AEIF; inline;
  42651. begin
  42652. pTDefRegMap(@Self)^.clr := $04000000;
  42653. end;
  42654. procedure TINT_IFS0.setSPI1AEIF(thebits : TBits_1); inline;
  42655. begin
  42656. if thebits = 0 then
  42657. pTDefRegMap(@Self)^.clr := $04000000
  42658. else
  42659. pTDefRegMap(@Self)^.&set := $04000000;
  42660. end;
  42661. function TINT_IFS0.getSPI1AEIF : TBits_1; inline;
  42662. begin
  42663. getSPI1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42664. end;
  42665. procedure TINT_IFS0.setSPI1ARXIF; inline;
  42666. begin
  42667. pTDefRegMap(@Self)^.&set := $08000000;
  42668. end;
  42669. procedure TINT_IFS0.clearSPI1ARXIF; inline;
  42670. begin
  42671. pTDefRegMap(@Self)^.clr := $08000000;
  42672. end;
  42673. procedure TINT_IFS0.setSPI1ARXIF(thebits : TBits_1); inline;
  42674. begin
  42675. if thebits = 0 then
  42676. pTDefRegMap(@Self)^.clr := $08000000
  42677. else
  42678. pTDefRegMap(@Self)^.&set := $08000000;
  42679. end;
  42680. function TINT_IFS0.getSPI1ARXIF : TBits_1; inline;
  42681. begin
  42682. getSPI1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42683. end;
  42684. procedure TINT_IFS0.setSPI1ATXIF; inline;
  42685. begin
  42686. pTDefRegMap(@Self)^.&set := $10000000;
  42687. end;
  42688. procedure TINT_IFS0.clearSPI1ATXIF; inline;
  42689. begin
  42690. pTDefRegMap(@Self)^.clr := $10000000;
  42691. end;
  42692. procedure TINT_IFS0.setSPI1ATXIF(thebits : TBits_1); inline;
  42693. begin
  42694. if thebits = 0 then
  42695. pTDefRegMap(@Self)^.clr := $10000000
  42696. else
  42697. pTDefRegMap(@Self)^.&set := $10000000;
  42698. end;
  42699. function TINT_IFS0.getSPI1ATXIF : TBits_1; inline;
  42700. begin
  42701. getSPI1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42702. end;
  42703. procedure TINT_IFS0.setI2C3BIF; inline;
  42704. begin
  42705. pTDefRegMap(@Self)^.&set := $04000000;
  42706. end;
  42707. procedure TINT_IFS0.clearI2C3BIF; inline;
  42708. begin
  42709. pTDefRegMap(@Self)^.clr := $04000000;
  42710. end;
  42711. procedure TINT_IFS0.setI2C3BIF(thebits : TBits_1); inline;
  42712. begin
  42713. if thebits = 0 then
  42714. pTDefRegMap(@Self)^.clr := $04000000
  42715. else
  42716. pTDefRegMap(@Self)^.&set := $04000000;
  42717. end;
  42718. function TINT_IFS0.getI2C3BIF : TBits_1; inline;
  42719. begin
  42720. getI2C3BIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42721. end;
  42722. procedure TINT_IFS0.setI2C3SIF; inline;
  42723. begin
  42724. pTDefRegMap(@Self)^.&set := $08000000;
  42725. end;
  42726. procedure TINT_IFS0.clearI2C3SIF; inline;
  42727. begin
  42728. pTDefRegMap(@Self)^.clr := $08000000;
  42729. end;
  42730. procedure TINT_IFS0.setI2C3SIF(thebits : TBits_1); inline;
  42731. begin
  42732. if thebits = 0 then
  42733. pTDefRegMap(@Self)^.clr := $08000000
  42734. else
  42735. pTDefRegMap(@Self)^.&set := $08000000;
  42736. end;
  42737. function TINT_IFS0.getI2C3SIF : TBits_1; inline;
  42738. begin
  42739. getI2C3SIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42740. end;
  42741. procedure TINT_IFS0.setI2C3MIF; inline;
  42742. begin
  42743. pTDefRegMap(@Self)^.&set := $10000000;
  42744. end;
  42745. procedure TINT_IFS0.clearI2C3MIF; inline;
  42746. begin
  42747. pTDefRegMap(@Self)^.clr := $10000000;
  42748. end;
  42749. procedure TINT_IFS0.setI2C3MIF(thebits : TBits_1); inline;
  42750. begin
  42751. if thebits = 0 then
  42752. pTDefRegMap(@Self)^.clr := $10000000
  42753. else
  42754. pTDefRegMap(@Self)^.&set := $10000000;
  42755. end;
  42756. function TINT_IFS0.getI2C3MIF : TBits_1; inline;
  42757. begin
  42758. getI2C3MIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42759. end;
  42760. procedure TINT_IFS0.setI2C1ABIF; inline;
  42761. begin
  42762. pTDefRegMap(@Self)^.&set := $04000000;
  42763. end;
  42764. procedure TINT_IFS0.clearI2C1ABIF; inline;
  42765. begin
  42766. pTDefRegMap(@Self)^.clr := $04000000;
  42767. end;
  42768. procedure TINT_IFS0.setI2C1ABIF(thebits : TBits_1); inline;
  42769. begin
  42770. if thebits = 0 then
  42771. pTDefRegMap(@Self)^.clr := $04000000
  42772. else
  42773. pTDefRegMap(@Self)^.&set := $04000000;
  42774. end;
  42775. function TINT_IFS0.getI2C1ABIF : TBits_1; inline;
  42776. begin
  42777. getI2C1ABIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42778. end;
  42779. procedure TINT_IFS0.setI2C1ASIF; inline;
  42780. begin
  42781. pTDefRegMap(@Self)^.&set := $08000000;
  42782. end;
  42783. procedure TINT_IFS0.clearI2C1ASIF; inline;
  42784. begin
  42785. pTDefRegMap(@Self)^.clr := $08000000;
  42786. end;
  42787. procedure TINT_IFS0.setI2C1ASIF(thebits : TBits_1); inline;
  42788. begin
  42789. if thebits = 0 then
  42790. pTDefRegMap(@Self)^.clr := $08000000
  42791. else
  42792. pTDefRegMap(@Self)^.&set := $08000000;
  42793. end;
  42794. function TINT_IFS0.getI2C1ASIF : TBits_1; inline;
  42795. begin
  42796. getI2C1ASIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42797. end;
  42798. procedure TINT_IFS0.setI2C1AMIF; inline;
  42799. begin
  42800. pTDefRegMap(@Self)^.&set := $10000000;
  42801. end;
  42802. procedure TINT_IFS0.clearI2C1AMIF; inline;
  42803. begin
  42804. pTDefRegMap(@Self)^.clr := $10000000;
  42805. end;
  42806. procedure TINT_IFS0.setI2C1AMIF(thebits : TBits_1); inline;
  42807. begin
  42808. if thebits = 0 then
  42809. pTDefRegMap(@Self)^.clr := $10000000
  42810. else
  42811. pTDefRegMap(@Self)^.&set := $10000000;
  42812. end;
  42813. function TINT_IFS0.getI2C1AMIF : TBits_1; inline;
  42814. begin
  42815. getI2C1AMIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42816. end;
  42817. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  42818. begin
  42819. pTDefRegMap(@Self)^.val := thebits;
  42820. end;
  42821. function TINT_IFS0.getw : TBits_32; inline;
  42822. begin
  42823. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42824. end;
  42825. procedure TINT_IFS1.setCNIF; inline;
  42826. begin
  42827. pTDefRegMap(@Self)^.&set := $00000001;
  42828. end;
  42829. procedure TINT_IFS1.clearCNIF; inline;
  42830. begin
  42831. pTDefRegMap(@Self)^.clr := $00000001;
  42832. end;
  42833. procedure TINT_IFS1.setCNIF(thebits : TBits_1); inline;
  42834. begin
  42835. if thebits = 0 then
  42836. pTDefRegMap(@Self)^.clr := $00000001
  42837. else
  42838. pTDefRegMap(@Self)^.&set := $00000001;
  42839. end;
  42840. function TINT_IFS1.getCNIF : TBits_1; inline;
  42841. begin
  42842. getCNIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42843. end;
  42844. procedure TINT_IFS1.setAD1IF; inline;
  42845. begin
  42846. pTDefRegMap(@Self)^.&set := $00000002;
  42847. end;
  42848. procedure TINT_IFS1.clearAD1IF; inline;
  42849. begin
  42850. pTDefRegMap(@Self)^.clr := $00000002;
  42851. end;
  42852. procedure TINT_IFS1.setAD1IF(thebits : TBits_1); inline;
  42853. begin
  42854. if thebits = 0 then
  42855. pTDefRegMap(@Self)^.clr := $00000002
  42856. else
  42857. pTDefRegMap(@Self)^.&set := $00000002;
  42858. end;
  42859. function TINT_IFS1.getAD1IF : TBits_1; inline;
  42860. begin
  42861. getAD1IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42862. end;
  42863. procedure TINT_IFS1.setPMPIF; inline;
  42864. begin
  42865. pTDefRegMap(@Self)^.&set := $00000004;
  42866. end;
  42867. procedure TINT_IFS1.clearPMPIF; inline;
  42868. begin
  42869. pTDefRegMap(@Self)^.clr := $00000004;
  42870. end;
  42871. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  42872. begin
  42873. if thebits = 0 then
  42874. pTDefRegMap(@Self)^.clr := $00000004
  42875. else
  42876. pTDefRegMap(@Self)^.&set := $00000004;
  42877. end;
  42878. function TINT_IFS1.getPMPIF : TBits_1; inline;
  42879. begin
  42880. getPMPIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42881. end;
  42882. procedure TINT_IFS1.setCMP1IF; inline;
  42883. begin
  42884. pTDefRegMap(@Self)^.&set := $00000008;
  42885. end;
  42886. procedure TINT_IFS1.clearCMP1IF; inline;
  42887. begin
  42888. pTDefRegMap(@Self)^.clr := $00000008;
  42889. end;
  42890. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  42891. begin
  42892. if thebits = 0 then
  42893. pTDefRegMap(@Self)^.clr := $00000008
  42894. else
  42895. pTDefRegMap(@Self)^.&set := $00000008;
  42896. end;
  42897. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  42898. begin
  42899. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42900. end;
  42901. procedure TINT_IFS1.setCMP2IF; inline;
  42902. begin
  42903. pTDefRegMap(@Self)^.&set := $00000010;
  42904. end;
  42905. procedure TINT_IFS1.clearCMP2IF; inline;
  42906. begin
  42907. pTDefRegMap(@Self)^.clr := $00000010;
  42908. end;
  42909. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  42910. begin
  42911. if thebits = 0 then
  42912. pTDefRegMap(@Self)^.clr := $00000010
  42913. else
  42914. pTDefRegMap(@Self)^.&set := $00000010;
  42915. end;
  42916. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  42917. begin
  42918. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42919. end;
  42920. procedure TINT_IFS1.setU3EIF; inline;
  42921. begin
  42922. pTDefRegMap(@Self)^.&set := $00000020;
  42923. end;
  42924. procedure TINT_IFS1.clearU3EIF; inline;
  42925. begin
  42926. pTDefRegMap(@Self)^.clr := $00000020;
  42927. end;
  42928. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  42929. begin
  42930. if thebits = 0 then
  42931. pTDefRegMap(@Self)^.clr := $00000020
  42932. else
  42933. pTDefRegMap(@Self)^.&set := $00000020;
  42934. end;
  42935. function TINT_IFS1.getU3EIF : TBits_1; inline;
  42936. begin
  42937. getU3EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42938. end;
  42939. procedure TINT_IFS1.setU3RXIF; inline;
  42940. begin
  42941. pTDefRegMap(@Self)^.&set := $00000040;
  42942. end;
  42943. procedure TINT_IFS1.clearU3RXIF; inline;
  42944. begin
  42945. pTDefRegMap(@Self)^.clr := $00000040;
  42946. end;
  42947. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  42948. begin
  42949. if thebits = 0 then
  42950. pTDefRegMap(@Self)^.clr := $00000040
  42951. else
  42952. pTDefRegMap(@Self)^.&set := $00000040;
  42953. end;
  42954. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  42955. begin
  42956. getU3RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42957. end;
  42958. procedure TINT_IFS1.setU3TXIF; inline;
  42959. begin
  42960. pTDefRegMap(@Self)^.&set := $00000080;
  42961. end;
  42962. procedure TINT_IFS1.clearU3TXIF; inline;
  42963. begin
  42964. pTDefRegMap(@Self)^.clr := $00000080;
  42965. end;
  42966. procedure TINT_IFS1.setU3TXIF(thebits : TBits_1); inline;
  42967. begin
  42968. if thebits = 0 then
  42969. pTDefRegMap(@Self)^.clr := $00000080
  42970. else
  42971. pTDefRegMap(@Self)^.&set := $00000080;
  42972. end;
  42973. function TINT_IFS1.getU3TXIF : TBits_1; inline;
  42974. begin
  42975. getU3TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42976. end;
  42977. procedure TINT_IFS1.setU2EIF; inline;
  42978. begin
  42979. pTDefRegMap(@Self)^.&set := $00000100;
  42980. end;
  42981. procedure TINT_IFS1.clearU2EIF; inline;
  42982. begin
  42983. pTDefRegMap(@Self)^.clr := $00000100;
  42984. end;
  42985. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  42986. begin
  42987. if thebits = 0 then
  42988. pTDefRegMap(@Self)^.clr := $00000100
  42989. else
  42990. pTDefRegMap(@Self)^.&set := $00000100;
  42991. end;
  42992. function TINT_IFS1.getU2EIF : TBits_1; inline;
  42993. begin
  42994. getU2EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42995. end;
  42996. procedure TINT_IFS1.setU2RXIF; inline;
  42997. begin
  42998. pTDefRegMap(@Self)^.&set := $00000200;
  42999. end;
  43000. procedure TINT_IFS1.clearU2RXIF; inline;
  43001. begin
  43002. pTDefRegMap(@Self)^.clr := $00000200;
  43003. end;
  43004. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  43005. begin
  43006. if thebits = 0 then
  43007. pTDefRegMap(@Self)^.clr := $00000200
  43008. else
  43009. pTDefRegMap(@Self)^.&set := $00000200;
  43010. end;
  43011. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  43012. begin
  43013. getU2RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43014. end;
  43015. procedure TINT_IFS1.setU2TXIF; inline;
  43016. begin
  43017. pTDefRegMap(@Self)^.&set := $00000400;
  43018. end;
  43019. procedure TINT_IFS1.clearU2TXIF; inline;
  43020. begin
  43021. pTDefRegMap(@Self)^.clr := $00000400;
  43022. end;
  43023. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  43024. begin
  43025. if thebits = 0 then
  43026. pTDefRegMap(@Self)^.clr := $00000400
  43027. else
  43028. pTDefRegMap(@Self)^.&set := $00000400;
  43029. end;
  43030. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  43031. begin
  43032. getU2TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43033. end;
  43034. procedure TINT_IFS1.setI2C2BIF; inline;
  43035. begin
  43036. pTDefRegMap(@Self)^.&set := $00000800;
  43037. end;
  43038. procedure TINT_IFS1.clearI2C2BIF; inline;
  43039. begin
  43040. pTDefRegMap(@Self)^.clr := $00000800;
  43041. end;
  43042. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  43043. begin
  43044. if thebits = 0 then
  43045. pTDefRegMap(@Self)^.clr := $00000800
  43046. else
  43047. pTDefRegMap(@Self)^.&set := $00000800;
  43048. end;
  43049. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  43050. begin
  43051. getI2C2BIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43052. end;
  43053. procedure TINT_IFS1.setI2C2SIF; inline;
  43054. begin
  43055. pTDefRegMap(@Self)^.&set := $00001000;
  43056. end;
  43057. procedure TINT_IFS1.clearI2C2SIF; inline;
  43058. begin
  43059. pTDefRegMap(@Self)^.clr := $00001000;
  43060. end;
  43061. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  43062. begin
  43063. if thebits = 0 then
  43064. pTDefRegMap(@Self)^.clr := $00001000
  43065. else
  43066. pTDefRegMap(@Self)^.&set := $00001000;
  43067. end;
  43068. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  43069. begin
  43070. getI2C2SIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43071. end;
  43072. procedure TINT_IFS1.setI2C2MIF; inline;
  43073. begin
  43074. pTDefRegMap(@Self)^.&set := $00002000;
  43075. end;
  43076. procedure TINT_IFS1.clearI2C2MIF; inline;
  43077. begin
  43078. pTDefRegMap(@Self)^.clr := $00002000;
  43079. end;
  43080. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  43081. begin
  43082. if thebits = 0 then
  43083. pTDefRegMap(@Self)^.clr := $00002000
  43084. else
  43085. pTDefRegMap(@Self)^.&set := $00002000;
  43086. end;
  43087. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  43088. begin
  43089. getI2C2MIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43090. end;
  43091. procedure TINT_IFS1.setFSCMIF; inline;
  43092. begin
  43093. pTDefRegMap(@Self)^.&set := $00004000;
  43094. end;
  43095. procedure TINT_IFS1.clearFSCMIF; inline;
  43096. begin
  43097. pTDefRegMap(@Self)^.clr := $00004000;
  43098. end;
  43099. procedure TINT_IFS1.setFSCMIF(thebits : TBits_1); inline;
  43100. begin
  43101. if thebits = 0 then
  43102. pTDefRegMap(@Self)^.clr := $00004000
  43103. else
  43104. pTDefRegMap(@Self)^.&set := $00004000;
  43105. end;
  43106. function TINT_IFS1.getFSCMIF : TBits_1; inline;
  43107. begin
  43108. getFSCMIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43109. end;
  43110. procedure TINT_IFS1.setRTCCIF; inline;
  43111. begin
  43112. pTDefRegMap(@Self)^.&set := $00008000;
  43113. end;
  43114. procedure TINT_IFS1.clearRTCCIF; inline;
  43115. begin
  43116. pTDefRegMap(@Self)^.clr := $00008000;
  43117. end;
  43118. procedure TINT_IFS1.setRTCCIF(thebits : TBits_1); inline;
  43119. begin
  43120. if thebits = 0 then
  43121. pTDefRegMap(@Self)^.clr := $00008000
  43122. else
  43123. pTDefRegMap(@Self)^.&set := $00008000;
  43124. end;
  43125. function TINT_IFS1.getRTCCIF : TBits_1; inline;
  43126. begin
  43127. getRTCCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43128. end;
  43129. procedure TINT_IFS1.setDMA0IF; inline;
  43130. begin
  43131. pTDefRegMap(@Self)^.&set := $00010000;
  43132. end;
  43133. procedure TINT_IFS1.clearDMA0IF; inline;
  43134. begin
  43135. pTDefRegMap(@Self)^.clr := $00010000;
  43136. end;
  43137. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  43138. begin
  43139. if thebits = 0 then
  43140. pTDefRegMap(@Self)^.clr := $00010000
  43141. else
  43142. pTDefRegMap(@Self)^.&set := $00010000;
  43143. end;
  43144. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  43145. begin
  43146. getDMA0IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  43147. end;
  43148. procedure TINT_IFS1.setDMA1IF; inline;
  43149. begin
  43150. pTDefRegMap(@Self)^.&set := $00020000;
  43151. end;
  43152. procedure TINT_IFS1.clearDMA1IF; inline;
  43153. begin
  43154. pTDefRegMap(@Self)^.clr := $00020000;
  43155. end;
  43156. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  43157. begin
  43158. if thebits = 0 then
  43159. pTDefRegMap(@Self)^.clr := $00020000
  43160. else
  43161. pTDefRegMap(@Self)^.&set := $00020000;
  43162. end;
  43163. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  43164. begin
  43165. getDMA1IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  43166. end;
  43167. procedure TINT_IFS1.setDMA2IF; inline;
  43168. begin
  43169. pTDefRegMap(@Self)^.&set := $00040000;
  43170. end;
  43171. procedure TINT_IFS1.clearDMA2IF; inline;
  43172. begin
  43173. pTDefRegMap(@Self)^.clr := $00040000;
  43174. end;
  43175. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  43176. begin
  43177. if thebits = 0 then
  43178. pTDefRegMap(@Self)^.clr := $00040000
  43179. else
  43180. pTDefRegMap(@Self)^.&set := $00040000;
  43181. end;
  43182. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  43183. begin
  43184. getDMA2IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  43185. end;
  43186. procedure TINT_IFS1.setDMA3IF; inline;
  43187. begin
  43188. pTDefRegMap(@Self)^.&set := $00080000;
  43189. end;
  43190. procedure TINT_IFS1.clearDMA3IF; inline;
  43191. begin
  43192. pTDefRegMap(@Self)^.clr := $00080000;
  43193. end;
  43194. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  43195. begin
  43196. if thebits = 0 then
  43197. pTDefRegMap(@Self)^.clr := $00080000
  43198. else
  43199. pTDefRegMap(@Self)^.&set := $00080000;
  43200. end;
  43201. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  43202. begin
  43203. getDMA3IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  43204. end;
  43205. procedure TINT_IFS1.setFCEIF; inline;
  43206. begin
  43207. pTDefRegMap(@Self)^.&set := $01000000;
  43208. end;
  43209. procedure TINT_IFS1.clearFCEIF; inline;
  43210. begin
  43211. pTDefRegMap(@Self)^.clr := $01000000;
  43212. end;
  43213. procedure TINT_IFS1.setFCEIF(thebits : TBits_1); inline;
  43214. begin
  43215. if thebits = 0 then
  43216. pTDefRegMap(@Self)^.clr := $01000000
  43217. else
  43218. pTDefRegMap(@Self)^.&set := $01000000;
  43219. end;
  43220. function TINT_IFS1.getFCEIF : TBits_1; inline;
  43221. begin
  43222. getFCEIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  43223. end;
  43224. procedure TINT_IFS1.setUSBIF; inline;
  43225. begin
  43226. pTDefRegMap(@Self)^.&set := $02000000;
  43227. end;
  43228. procedure TINT_IFS1.clearUSBIF; inline;
  43229. begin
  43230. pTDefRegMap(@Self)^.clr := $02000000;
  43231. end;
  43232. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  43233. begin
  43234. if thebits = 0 then
  43235. pTDefRegMap(@Self)^.clr := $02000000
  43236. else
  43237. pTDefRegMap(@Self)^.&set := $02000000;
  43238. end;
  43239. function TINT_IFS1.getUSBIF : TBits_1; inline;
  43240. begin
  43241. getUSBIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  43242. end;
  43243. procedure TINT_IFS1.setETHIF; inline;
  43244. begin
  43245. pTDefRegMap(@Self)^.&set := $10000000;
  43246. end;
  43247. procedure TINT_IFS1.clearETHIF; inline;
  43248. begin
  43249. pTDefRegMap(@Self)^.clr := $10000000;
  43250. end;
  43251. procedure TINT_IFS1.setETHIF(thebits : TBits_1); inline;
  43252. begin
  43253. if thebits = 0 then
  43254. pTDefRegMap(@Self)^.clr := $10000000
  43255. else
  43256. pTDefRegMap(@Self)^.&set := $10000000;
  43257. end;
  43258. function TINT_IFS1.getETHIF : TBits_1; inline;
  43259. begin
  43260. getETHIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43261. end;
  43262. procedure TINT_IFS1.setIC1EIF; inline;
  43263. begin
  43264. pTDefRegMap(@Self)^.&set := $20000000;
  43265. end;
  43266. procedure TINT_IFS1.clearIC1EIF; inline;
  43267. begin
  43268. pTDefRegMap(@Self)^.clr := $20000000;
  43269. end;
  43270. procedure TINT_IFS1.setIC1EIF(thebits : TBits_1); inline;
  43271. begin
  43272. if thebits = 0 then
  43273. pTDefRegMap(@Self)^.clr := $20000000
  43274. else
  43275. pTDefRegMap(@Self)^.&set := $20000000;
  43276. end;
  43277. function TINT_IFS1.getIC1EIF : TBits_1; inline;
  43278. begin
  43279. getIC1EIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  43280. end;
  43281. procedure TINT_IFS1.setIC2EIF; inline;
  43282. begin
  43283. pTDefRegMap(@Self)^.&set := $40000000;
  43284. end;
  43285. procedure TINT_IFS1.clearIC2EIF; inline;
  43286. begin
  43287. pTDefRegMap(@Self)^.clr := $40000000;
  43288. end;
  43289. procedure TINT_IFS1.setIC2EIF(thebits : TBits_1); inline;
  43290. begin
  43291. if thebits = 0 then
  43292. pTDefRegMap(@Self)^.clr := $40000000
  43293. else
  43294. pTDefRegMap(@Self)^.&set := $40000000;
  43295. end;
  43296. function TINT_IFS1.getIC2EIF : TBits_1; inline;
  43297. begin
  43298. getIC2EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  43299. end;
  43300. procedure TINT_IFS1.setIC3EIF; inline;
  43301. begin
  43302. pTDefRegMap(@Self)^.&set := $80000000;
  43303. end;
  43304. procedure TINT_IFS1.clearIC3EIF; inline;
  43305. begin
  43306. pTDefRegMap(@Self)^.clr := $80000000;
  43307. end;
  43308. procedure TINT_IFS1.setIC3EIF(thebits : TBits_1); inline;
  43309. begin
  43310. if thebits = 0 then
  43311. pTDefRegMap(@Self)^.clr := $80000000
  43312. else
  43313. pTDefRegMap(@Self)^.&set := $80000000;
  43314. end;
  43315. function TINT_IFS1.getIC3EIF : TBits_1; inline;
  43316. begin
  43317. getIC3EIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  43318. end;
  43319. procedure TINT_IFS1.setU2AEIF; inline;
  43320. begin
  43321. pTDefRegMap(@Self)^.&set := $00000020;
  43322. end;
  43323. procedure TINT_IFS1.clearU2AEIF; inline;
  43324. begin
  43325. pTDefRegMap(@Self)^.clr := $00000020;
  43326. end;
  43327. procedure TINT_IFS1.setU2AEIF(thebits : TBits_1); inline;
  43328. begin
  43329. if thebits = 0 then
  43330. pTDefRegMap(@Self)^.clr := $00000020
  43331. else
  43332. pTDefRegMap(@Self)^.&set := $00000020;
  43333. end;
  43334. function TINT_IFS1.getU2AEIF : TBits_1; inline;
  43335. begin
  43336. getU2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43337. end;
  43338. procedure TINT_IFS1.setU2ARXIF; inline;
  43339. begin
  43340. pTDefRegMap(@Self)^.&set := $00000040;
  43341. end;
  43342. procedure TINT_IFS1.clearU2ARXIF; inline;
  43343. begin
  43344. pTDefRegMap(@Self)^.clr := $00000040;
  43345. end;
  43346. procedure TINT_IFS1.setU2ARXIF(thebits : TBits_1); inline;
  43347. begin
  43348. if thebits = 0 then
  43349. pTDefRegMap(@Self)^.clr := $00000040
  43350. else
  43351. pTDefRegMap(@Self)^.&set := $00000040;
  43352. end;
  43353. function TINT_IFS1.getU2ARXIF : TBits_1; inline;
  43354. begin
  43355. getU2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43356. end;
  43357. procedure TINT_IFS1.setU2ATXIF; inline;
  43358. begin
  43359. pTDefRegMap(@Self)^.&set := $00000080;
  43360. end;
  43361. procedure TINT_IFS1.clearU2ATXIF; inline;
  43362. begin
  43363. pTDefRegMap(@Self)^.clr := $00000080;
  43364. end;
  43365. procedure TINT_IFS1.setU2ATXIF(thebits : TBits_1); inline;
  43366. begin
  43367. if thebits = 0 then
  43368. pTDefRegMap(@Self)^.clr := $00000080
  43369. else
  43370. pTDefRegMap(@Self)^.&set := $00000080;
  43371. end;
  43372. function TINT_IFS1.getU2ATXIF : TBits_1; inline;
  43373. begin
  43374. getU2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43375. end;
  43376. procedure TINT_IFS1.setU3AEIF; inline;
  43377. begin
  43378. pTDefRegMap(@Self)^.&set := $00000100;
  43379. end;
  43380. procedure TINT_IFS1.clearU3AEIF; inline;
  43381. begin
  43382. pTDefRegMap(@Self)^.clr := $00000100;
  43383. end;
  43384. procedure TINT_IFS1.setU3AEIF(thebits : TBits_1); inline;
  43385. begin
  43386. if thebits = 0 then
  43387. pTDefRegMap(@Self)^.clr := $00000100
  43388. else
  43389. pTDefRegMap(@Self)^.&set := $00000100;
  43390. end;
  43391. function TINT_IFS1.getU3AEIF : TBits_1; inline;
  43392. begin
  43393. getU3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43394. end;
  43395. procedure TINT_IFS1.setU3ARXIF; inline;
  43396. begin
  43397. pTDefRegMap(@Self)^.&set := $00000200;
  43398. end;
  43399. procedure TINT_IFS1.clearU3ARXIF; inline;
  43400. begin
  43401. pTDefRegMap(@Self)^.clr := $00000200;
  43402. end;
  43403. procedure TINT_IFS1.setU3ARXIF(thebits : TBits_1); inline;
  43404. begin
  43405. if thebits = 0 then
  43406. pTDefRegMap(@Self)^.clr := $00000200
  43407. else
  43408. pTDefRegMap(@Self)^.&set := $00000200;
  43409. end;
  43410. function TINT_IFS1.getU3ARXIF : TBits_1; inline;
  43411. begin
  43412. getU3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43413. end;
  43414. procedure TINT_IFS1.setU3ATXIF; inline;
  43415. begin
  43416. pTDefRegMap(@Self)^.&set := $00000400;
  43417. end;
  43418. procedure TINT_IFS1.clearU3ATXIF; inline;
  43419. begin
  43420. pTDefRegMap(@Self)^.clr := $00000400;
  43421. end;
  43422. procedure TINT_IFS1.setU3ATXIF(thebits : TBits_1); inline;
  43423. begin
  43424. if thebits = 0 then
  43425. pTDefRegMap(@Self)^.clr := $00000400
  43426. else
  43427. pTDefRegMap(@Self)^.&set := $00000400;
  43428. end;
  43429. function TINT_IFS1.getU3ATXIF : TBits_1; inline;
  43430. begin
  43431. getU3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43432. end;
  43433. procedure TINT_IFS1.setSPI2EIF; inline;
  43434. begin
  43435. pTDefRegMap(@Self)^.&set := $00000020;
  43436. end;
  43437. procedure TINT_IFS1.clearSPI2EIF; inline;
  43438. begin
  43439. pTDefRegMap(@Self)^.clr := $00000020;
  43440. end;
  43441. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  43442. begin
  43443. if thebits = 0 then
  43444. pTDefRegMap(@Self)^.clr := $00000020
  43445. else
  43446. pTDefRegMap(@Self)^.&set := $00000020;
  43447. end;
  43448. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  43449. begin
  43450. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43451. end;
  43452. procedure TINT_IFS1.setSPI2RXIF; inline;
  43453. begin
  43454. pTDefRegMap(@Self)^.&set := $00000040;
  43455. end;
  43456. procedure TINT_IFS1.clearSPI2RXIF; inline;
  43457. begin
  43458. pTDefRegMap(@Self)^.clr := $00000040;
  43459. end;
  43460. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  43461. begin
  43462. if thebits = 0 then
  43463. pTDefRegMap(@Self)^.clr := $00000040
  43464. else
  43465. pTDefRegMap(@Self)^.&set := $00000040;
  43466. end;
  43467. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  43468. begin
  43469. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43470. end;
  43471. procedure TINT_IFS1.setSPI2TXIF; inline;
  43472. begin
  43473. pTDefRegMap(@Self)^.&set := $00000080;
  43474. end;
  43475. procedure TINT_IFS1.clearSPI2TXIF; inline;
  43476. begin
  43477. pTDefRegMap(@Self)^.clr := $00000080;
  43478. end;
  43479. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  43480. begin
  43481. if thebits = 0 then
  43482. pTDefRegMap(@Self)^.clr := $00000080
  43483. else
  43484. pTDefRegMap(@Self)^.&set := $00000080;
  43485. end;
  43486. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  43487. begin
  43488. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43489. end;
  43490. procedure TINT_IFS1.setSPI4EIF; inline;
  43491. begin
  43492. pTDefRegMap(@Self)^.&set := $00000100;
  43493. end;
  43494. procedure TINT_IFS1.clearSPI4EIF; inline;
  43495. begin
  43496. pTDefRegMap(@Self)^.clr := $00000100;
  43497. end;
  43498. procedure TINT_IFS1.setSPI4EIF(thebits : TBits_1); inline;
  43499. begin
  43500. if thebits = 0 then
  43501. pTDefRegMap(@Self)^.clr := $00000100
  43502. else
  43503. pTDefRegMap(@Self)^.&set := $00000100;
  43504. end;
  43505. function TINT_IFS1.getSPI4EIF : TBits_1; inline;
  43506. begin
  43507. getSPI4EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43508. end;
  43509. procedure TINT_IFS1.setSPI4RXIF; inline;
  43510. begin
  43511. pTDefRegMap(@Self)^.&set := $00000200;
  43512. end;
  43513. procedure TINT_IFS1.clearSPI4RXIF; inline;
  43514. begin
  43515. pTDefRegMap(@Self)^.clr := $00000200;
  43516. end;
  43517. procedure TINT_IFS1.setSPI4RXIF(thebits : TBits_1); inline;
  43518. begin
  43519. if thebits = 0 then
  43520. pTDefRegMap(@Self)^.clr := $00000200
  43521. else
  43522. pTDefRegMap(@Self)^.&set := $00000200;
  43523. end;
  43524. function TINT_IFS1.getSPI4RXIF : TBits_1; inline;
  43525. begin
  43526. getSPI4RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43527. end;
  43528. procedure TINT_IFS1.setSPI4TXIF; inline;
  43529. begin
  43530. pTDefRegMap(@Self)^.&set := $00000400;
  43531. end;
  43532. procedure TINT_IFS1.clearSPI4TXIF; inline;
  43533. begin
  43534. pTDefRegMap(@Self)^.clr := $00000400;
  43535. end;
  43536. procedure TINT_IFS1.setSPI4TXIF(thebits : TBits_1); inline;
  43537. begin
  43538. if thebits = 0 then
  43539. pTDefRegMap(@Self)^.clr := $00000400
  43540. else
  43541. pTDefRegMap(@Self)^.&set := $00000400;
  43542. end;
  43543. function TINT_IFS1.getSPI4TXIF : TBits_1; inline;
  43544. begin
  43545. getSPI4TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43546. end;
  43547. procedure TINT_IFS1.setSPI2AEIF; inline;
  43548. begin
  43549. pTDefRegMap(@Self)^.&set := $00000020;
  43550. end;
  43551. procedure TINT_IFS1.clearSPI2AEIF; inline;
  43552. begin
  43553. pTDefRegMap(@Self)^.clr := $00000020;
  43554. end;
  43555. procedure TINT_IFS1.setSPI2AEIF(thebits : TBits_1); inline;
  43556. begin
  43557. if thebits = 0 then
  43558. pTDefRegMap(@Self)^.clr := $00000020
  43559. else
  43560. pTDefRegMap(@Self)^.&set := $00000020;
  43561. end;
  43562. function TINT_IFS1.getSPI2AEIF : TBits_1; inline;
  43563. begin
  43564. getSPI2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43565. end;
  43566. procedure TINT_IFS1.setSPI2ARXIF; inline;
  43567. begin
  43568. pTDefRegMap(@Self)^.&set := $00000040;
  43569. end;
  43570. procedure TINT_IFS1.clearSPI2ARXIF; inline;
  43571. begin
  43572. pTDefRegMap(@Self)^.clr := $00000040;
  43573. end;
  43574. procedure TINT_IFS1.setSPI2ARXIF(thebits : TBits_1); inline;
  43575. begin
  43576. if thebits = 0 then
  43577. pTDefRegMap(@Self)^.clr := $00000040
  43578. else
  43579. pTDefRegMap(@Self)^.&set := $00000040;
  43580. end;
  43581. function TINT_IFS1.getSPI2ARXIF : TBits_1; inline;
  43582. begin
  43583. getSPI2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43584. end;
  43585. procedure TINT_IFS1.setSPI2ATXIF; inline;
  43586. begin
  43587. pTDefRegMap(@Self)^.&set := $00000080;
  43588. end;
  43589. procedure TINT_IFS1.clearSPI2ATXIF; inline;
  43590. begin
  43591. pTDefRegMap(@Self)^.clr := $00000080;
  43592. end;
  43593. procedure TINT_IFS1.setSPI2ATXIF(thebits : TBits_1); inline;
  43594. begin
  43595. if thebits = 0 then
  43596. pTDefRegMap(@Self)^.clr := $00000080
  43597. else
  43598. pTDefRegMap(@Self)^.&set := $00000080;
  43599. end;
  43600. function TINT_IFS1.getSPI2ATXIF : TBits_1; inline;
  43601. begin
  43602. getSPI2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43603. end;
  43604. procedure TINT_IFS1.setSPI3AEIF; inline;
  43605. begin
  43606. pTDefRegMap(@Self)^.&set := $00000100;
  43607. end;
  43608. procedure TINT_IFS1.clearSPI3AEIF; inline;
  43609. begin
  43610. pTDefRegMap(@Self)^.clr := $00000100;
  43611. end;
  43612. procedure TINT_IFS1.setSPI3AEIF(thebits : TBits_1); inline;
  43613. begin
  43614. if thebits = 0 then
  43615. pTDefRegMap(@Self)^.clr := $00000100
  43616. else
  43617. pTDefRegMap(@Self)^.&set := $00000100;
  43618. end;
  43619. function TINT_IFS1.getSPI3AEIF : TBits_1; inline;
  43620. begin
  43621. getSPI3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43622. end;
  43623. procedure TINT_IFS1.setSPI3ARXIF; inline;
  43624. begin
  43625. pTDefRegMap(@Self)^.&set := $00000200;
  43626. end;
  43627. procedure TINT_IFS1.clearSPI3ARXIF; inline;
  43628. begin
  43629. pTDefRegMap(@Self)^.clr := $00000200;
  43630. end;
  43631. procedure TINT_IFS1.setSPI3ARXIF(thebits : TBits_1); inline;
  43632. begin
  43633. if thebits = 0 then
  43634. pTDefRegMap(@Self)^.clr := $00000200
  43635. else
  43636. pTDefRegMap(@Self)^.&set := $00000200;
  43637. end;
  43638. function TINT_IFS1.getSPI3ARXIF : TBits_1; inline;
  43639. begin
  43640. getSPI3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43641. end;
  43642. procedure TINT_IFS1.setSPI3ATXIF; inline;
  43643. begin
  43644. pTDefRegMap(@Self)^.&set := $00000400;
  43645. end;
  43646. procedure TINT_IFS1.clearSPI3ATXIF; inline;
  43647. begin
  43648. pTDefRegMap(@Self)^.clr := $00000400;
  43649. end;
  43650. procedure TINT_IFS1.setSPI3ATXIF(thebits : TBits_1); inline;
  43651. begin
  43652. if thebits = 0 then
  43653. pTDefRegMap(@Self)^.clr := $00000400
  43654. else
  43655. pTDefRegMap(@Self)^.&set := $00000400;
  43656. end;
  43657. function TINT_IFS1.getSPI3ATXIF : TBits_1; inline;
  43658. begin
  43659. getSPI3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43660. end;
  43661. procedure TINT_IFS1.setI2C4BIF; inline;
  43662. begin
  43663. pTDefRegMap(@Self)^.&set := $00000020;
  43664. end;
  43665. procedure TINT_IFS1.clearI2C4BIF; inline;
  43666. begin
  43667. pTDefRegMap(@Self)^.clr := $00000020;
  43668. end;
  43669. procedure TINT_IFS1.setI2C4BIF(thebits : TBits_1); inline;
  43670. begin
  43671. if thebits = 0 then
  43672. pTDefRegMap(@Self)^.clr := $00000020
  43673. else
  43674. pTDefRegMap(@Self)^.&set := $00000020;
  43675. end;
  43676. function TINT_IFS1.getI2C4BIF : TBits_1; inline;
  43677. begin
  43678. getI2C4BIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43679. end;
  43680. procedure TINT_IFS1.setI2C4SIF; inline;
  43681. begin
  43682. pTDefRegMap(@Self)^.&set := $00000040;
  43683. end;
  43684. procedure TINT_IFS1.clearI2C4SIF; inline;
  43685. begin
  43686. pTDefRegMap(@Self)^.clr := $00000040;
  43687. end;
  43688. procedure TINT_IFS1.setI2C4SIF(thebits : TBits_1); inline;
  43689. begin
  43690. if thebits = 0 then
  43691. pTDefRegMap(@Self)^.clr := $00000040
  43692. else
  43693. pTDefRegMap(@Self)^.&set := $00000040;
  43694. end;
  43695. function TINT_IFS1.getI2C4SIF : TBits_1; inline;
  43696. begin
  43697. getI2C4SIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43698. end;
  43699. procedure TINT_IFS1.setI2C4MIF; inline;
  43700. begin
  43701. pTDefRegMap(@Self)^.&set := $00000080;
  43702. end;
  43703. procedure TINT_IFS1.clearI2C4MIF; inline;
  43704. begin
  43705. pTDefRegMap(@Self)^.clr := $00000080;
  43706. end;
  43707. procedure TINT_IFS1.setI2C4MIF(thebits : TBits_1); inline;
  43708. begin
  43709. if thebits = 0 then
  43710. pTDefRegMap(@Self)^.clr := $00000080
  43711. else
  43712. pTDefRegMap(@Self)^.&set := $00000080;
  43713. end;
  43714. function TINT_IFS1.getI2C4MIF : TBits_1; inline;
  43715. begin
  43716. getI2C4MIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43717. end;
  43718. procedure TINT_IFS1.setI2C5BIF; inline;
  43719. begin
  43720. pTDefRegMap(@Self)^.&set := $00000100;
  43721. end;
  43722. procedure TINT_IFS1.clearI2C5BIF; inline;
  43723. begin
  43724. pTDefRegMap(@Self)^.clr := $00000100;
  43725. end;
  43726. procedure TINT_IFS1.setI2C5BIF(thebits : TBits_1); inline;
  43727. begin
  43728. if thebits = 0 then
  43729. pTDefRegMap(@Self)^.clr := $00000100
  43730. else
  43731. pTDefRegMap(@Self)^.&set := $00000100;
  43732. end;
  43733. function TINT_IFS1.getI2C5BIF : TBits_1; inline;
  43734. begin
  43735. getI2C5BIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43736. end;
  43737. procedure TINT_IFS1.setI2C5SIF; inline;
  43738. begin
  43739. pTDefRegMap(@Self)^.&set := $00000200;
  43740. end;
  43741. procedure TINT_IFS1.clearI2C5SIF; inline;
  43742. begin
  43743. pTDefRegMap(@Self)^.clr := $00000200;
  43744. end;
  43745. procedure TINT_IFS1.setI2C5SIF(thebits : TBits_1); inline;
  43746. begin
  43747. if thebits = 0 then
  43748. pTDefRegMap(@Self)^.clr := $00000200
  43749. else
  43750. pTDefRegMap(@Self)^.&set := $00000200;
  43751. end;
  43752. function TINT_IFS1.getI2C5SIF : TBits_1; inline;
  43753. begin
  43754. getI2C5SIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43755. end;
  43756. procedure TINT_IFS1.setI2C5MIF; inline;
  43757. begin
  43758. pTDefRegMap(@Self)^.&set := $00000400;
  43759. end;
  43760. procedure TINT_IFS1.clearI2C5MIF; inline;
  43761. begin
  43762. pTDefRegMap(@Self)^.clr := $00000400;
  43763. end;
  43764. procedure TINT_IFS1.setI2C5MIF(thebits : TBits_1); inline;
  43765. begin
  43766. if thebits = 0 then
  43767. pTDefRegMap(@Self)^.clr := $00000400
  43768. else
  43769. pTDefRegMap(@Self)^.&set := $00000400;
  43770. end;
  43771. function TINT_IFS1.getI2C5MIF : TBits_1; inline;
  43772. begin
  43773. getI2C5MIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43774. end;
  43775. procedure TINT_IFS1.setI2C2ABIF; inline;
  43776. begin
  43777. pTDefRegMap(@Self)^.&set := $00000020;
  43778. end;
  43779. procedure TINT_IFS1.clearI2C2ABIF; inline;
  43780. begin
  43781. pTDefRegMap(@Self)^.clr := $00000020;
  43782. end;
  43783. procedure TINT_IFS1.setI2C2ABIF(thebits : TBits_1); inline;
  43784. begin
  43785. if thebits = 0 then
  43786. pTDefRegMap(@Self)^.clr := $00000020
  43787. else
  43788. pTDefRegMap(@Self)^.&set := $00000020;
  43789. end;
  43790. function TINT_IFS1.getI2C2ABIF : TBits_1; inline;
  43791. begin
  43792. getI2C2ABIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43793. end;
  43794. procedure TINT_IFS1.setI2C2ASIF; inline;
  43795. begin
  43796. pTDefRegMap(@Self)^.&set := $00000040;
  43797. end;
  43798. procedure TINT_IFS1.clearI2C2ASIF; inline;
  43799. begin
  43800. pTDefRegMap(@Self)^.clr := $00000040;
  43801. end;
  43802. procedure TINT_IFS1.setI2C2ASIF(thebits : TBits_1); inline;
  43803. begin
  43804. if thebits = 0 then
  43805. pTDefRegMap(@Self)^.clr := $00000040
  43806. else
  43807. pTDefRegMap(@Self)^.&set := $00000040;
  43808. end;
  43809. function TINT_IFS1.getI2C2ASIF : TBits_1; inline;
  43810. begin
  43811. getI2C2ASIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43812. end;
  43813. procedure TINT_IFS1.setI2C2AMIF; inline;
  43814. begin
  43815. pTDefRegMap(@Self)^.&set := $00000080;
  43816. end;
  43817. procedure TINT_IFS1.clearI2C2AMIF; inline;
  43818. begin
  43819. pTDefRegMap(@Self)^.clr := $00000080;
  43820. end;
  43821. procedure TINT_IFS1.setI2C2AMIF(thebits : TBits_1); inline;
  43822. begin
  43823. if thebits = 0 then
  43824. pTDefRegMap(@Self)^.clr := $00000080
  43825. else
  43826. pTDefRegMap(@Self)^.&set := $00000080;
  43827. end;
  43828. function TINT_IFS1.getI2C2AMIF : TBits_1; inline;
  43829. begin
  43830. getI2C2AMIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43831. end;
  43832. procedure TINT_IFS1.setI2C3ABIF; inline;
  43833. begin
  43834. pTDefRegMap(@Self)^.&set := $00000100;
  43835. end;
  43836. procedure TINT_IFS1.clearI2C3ABIF; inline;
  43837. begin
  43838. pTDefRegMap(@Self)^.clr := $00000100;
  43839. end;
  43840. procedure TINT_IFS1.setI2C3ABIF(thebits : TBits_1); inline;
  43841. begin
  43842. if thebits = 0 then
  43843. pTDefRegMap(@Self)^.clr := $00000100
  43844. else
  43845. pTDefRegMap(@Self)^.&set := $00000100;
  43846. end;
  43847. function TINT_IFS1.getI2C3ABIF : TBits_1; inline;
  43848. begin
  43849. getI2C3ABIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43850. end;
  43851. procedure TINT_IFS1.setI2C3ASIF; inline;
  43852. begin
  43853. pTDefRegMap(@Self)^.&set := $00000200;
  43854. end;
  43855. procedure TINT_IFS1.clearI2C3ASIF; inline;
  43856. begin
  43857. pTDefRegMap(@Self)^.clr := $00000200;
  43858. end;
  43859. procedure TINT_IFS1.setI2C3ASIF(thebits : TBits_1); inline;
  43860. begin
  43861. if thebits = 0 then
  43862. pTDefRegMap(@Self)^.clr := $00000200
  43863. else
  43864. pTDefRegMap(@Self)^.&set := $00000200;
  43865. end;
  43866. function TINT_IFS1.getI2C3ASIF : TBits_1; inline;
  43867. begin
  43868. getI2C3ASIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43869. end;
  43870. procedure TINT_IFS1.setI2C3AMIF; inline;
  43871. begin
  43872. pTDefRegMap(@Self)^.&set := $00000400;
  43873. end;
  43874. procedure TINT_IFS1.clearI2C3AMIF; inline;
  43875. begin
  43876. pTDefRegMap(@Self)^.clr := $00000400;
  43877. end;
  43878. procedure TINT_IFS1.setI2C3AMIF(thebits : TBits_1); inline;
  43879. begin
  43880. if thebits = 0 then
  43881. pTDefRegMap(@Self)^.clr := $00000400
  43882. else
  43883. pTDefRegMap(@Self)^.&set := $00000400;
  43884. end;
  43885. function TINT_IFS1.getI2C3AMIF : TBits_1; inline;
  43886. begin
  43887. getI2C3AMIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43888. end;
  43889. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  43890. begin
  43891. pTDefRegMap(@Self)^.val := thebits;
  43892. end;
  43893. function TINT_IFS1.getw : TBits_32; inline;
  43894. begin
  43895. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43896. end;
  43897. procedure TINT_IFS2.setIC4EIF; inline;
  43898. begin
  43899. pTDefRegMap(@Self)^.&set := $00000001;
  43900. end;
  43901. procedure TINT_IFS2.clearIC4EIF; inline;
  43902. begin
  43903. pTDefRegMap(@Self)^.clr := $00000001;
  43904. end;
  43905. procedure TINT_IFS2.setIC4EIF(thebits : TBits_1); inline;
  43906. begin
  43907. if thebits = 0 then
  43908. pTDefRegMap(@Self)^.clr := $00000001
  43909. else
  43910. pTDefRegMap(@Self)^.&set := $00000001;
  43911. end;
  43912. function TINT_IFS2.getIC4EIF : TBits_1; inline;
  43913. begin
  43914. getIC4EIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43915. end;
  43916. procedure TINT_IFS2.setIC5EIF; inline;
  43917. begin
  43918. pTDefRegMap(@Self)^.&set := $00000002;
  43919. end;
  43920. procedure TINT_IFS2.clearIC5EIF; inline;
  43921. begin
  43922. pTDefRegMap(@Self)^.clr := $00000002;
  43923. end;
  43924. procedure TINT_IFS2.setIC5EIF(thebits : TBits_1); inline;
  43925. begin
  43926. if thebits = 0 then
  43927. pTDefRegMap(@Self)^.clr := $00000002
  43928. else
  43929. pTDefRegMap(@Self)^.&set := $00000002;
  43930. end;
  43931. function TINT_IFS2.getIC5EIF : TBits_1; inline;
  43932. begin
  43933. getIC5EIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43934. end;
  43935. procedure TINT_IFS2.setPMPEIF; inline;
  43936. begin
  43937. pTDefRegMap(@Self)^.&set := $00000004;
  43938. end;
  43939. procedure TINT_IFS2.clearPMPEIF; inline;
  43940. begin
  43941. pTDefRegMap(@Self)^.clr := $00000004;
  43942. end;
  43943. procedure TINT_IFS2.setPMPEIF(thebits : TBits_1); inline;
  43944. begin
  43945. if thebits = 0 then
  43946. pTDefRegMap(@Self)^.clr := $00000004
  43947. else
  43948. pTDefRegMap(@Self)^.&set := $00000004;
  43949. end;
  43950. function TINT_IFS2.getPMPEIF : TBits_1; inline;
  43951. begin
  43952. getPMPEIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43953. end;
  43954. procedure TINT_IFS2.setU1BEIF; inline;
  43955. begin
  43956. pTDefRegMap(@Self)^.&set := $00000008;
  43957. end;
  43958. procedure TINT_IFS2.clearU1BEIF; inline;
  43959. begin
  43960. pTDefRegMap(@Self)^.clr := $00000008;
  43961. end;
  43962. procedure TINT_IFS2.setU1BEIF(thebits : TBits_1); inline;
  43963. begin
  43964. if thebits = 0 then
  43965. pTDefRegMap(@Self)^.clr := $00000008
  43966. else
  43967. pTDefRegMap(@Self)^.&set := $00000008;
  43968. end;
  43969. function TINT_IFS2.getU1BEIF : TBits_1; inline;
  43970. begin
  43971. getU1BEIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43972. end;
  43973. procedure TINT_IFS2.setU1BRXIF; inline;
  43974. begin
  43975. pTDefRegMap(@Self)^.&set := $00000010;
  43976. end;
  43977. procedure TINT_IFS2.clearU1BRXIF; inline;
  43978. begin
  43979. pTDefRegMap(@Self)^.clr := $00000010;
  43980. end;
  43981. procedure TINT_IFS2.setU1BRXIF(thebits : TBits_1); inline;
  43982. begin
  43983. if thebits = 0 then
  43984. pTDefRegMap(@Self)^.clr := $00000010
  43985. else
  43986. pTDefRegMap(@Self)^.&set := $00000010;
  43987. end;
  43988. function TINT_IFS2.getU1BRXIF : TBits_1; inline;
  43989. begin
  43990. getU1BRXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43991. end;
  43992. procedure TINT_IFS2.setU1BTXIF; inline;
  43993. begin
  43994. pTDefRegMap(@Self)^.&set := $00000020;
  43995. end;
  43996. procedure TINT_IFS2.clearU1BTXIF; inline;
  43997. begin
  43998. pTDefRegMap(@Self)^.clr := $00000020;
  43999. end;
  44000. procedure TINT_IFS2.setU1BTXIF(thebits : TBits_1); inline;
  44001. begin
  44002. if thebits = 0 then
  44003. pTDefRegMap(@Self)^.clr := $00000020
  44004. else
  44005. pTDefRegMap(@Self)^.&set := $00000020;
  44006. end;
  44007. function TINT_IFS2.getU1BTXIF : TBits_1; inline;
  44008. begin
  44009. getU1BTXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44010. end;
  44011. procedure TINT_IFS2.setU2BEIF; inline;
  44012. begin
  44013. pTDefRegMap(@Self)^.&set := $00000040;
  44014. end;
  44015. procedure TINT_IFS2.clearU2BEIF; inline;
  44016. begin
  44017. pTDefRegMap(@Self)^.clr := $00000040;
  44018. end;
  44019. procedure TINT_IFS2.setU2BEIF(thebits : TBits_1); inline;
  44020. begin
  44021. if thebits = 0 then
  44022. pTDefRegMap(@Self)^.clr := $00000040
  44023. else
  44024. pTDefRegMap(@Self)^.&set := $00000040;
  44025. end;
  44026. function TINT_IFS2.getU2BEIF : TBits_1; inline;
  44027. begin
  44028. getU2BEIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44029. end;
  44030. procedure TINT_IFS2.setU2BRXIF; inline;
  44031. begin
  44032. pTDefRegMap(@Self)^.&set := $00000080;
  44033. end;
  44034. procedure TINT_IFS2.clearU2BRXIF; inline;
  44035. begin
  44036. pTDefRegMap(@Self)^.clr := $00000080;
  44037. end;
  44038. procedure TINT_IFS2.setU2BRXIF(thebits : TBits_1); inline;
  44039. begin
  44040. if thebits = 0 then
  44041. pTDefRegMap(@Self)^.clr := $00000080
  44042. else
  44043. pTDefRegMap(@Self)^.&set := $00000080;
  44044. end;
  44045. function TINT_IFS2.getU2BRXIF : TBits_1; inline;
  44046. begin
  44047. getU2BRXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44048. end;
  44049. procedure TINT_IFS2.setU2BTXIF; inline;
  44050. begin
  44051. pTDefRegMap(@Self)^.&set := $00000100;
  44052. end;
  44053. procedure TINT_IFS2.clearU2BTXIF; inline;
  44054. begin
  44055. pTDefRegMap(@Self)^.clr := $00000100;
  44056. end;
  44057. procedure TINT_IFS2.setU2BTXIF(thebits : TBits_1); inline;
  44058. begin
  44059. if thebits = 0 then
  44060. pTDefRegMap(@Self)^.clr := $00000100
  44061. else
  44062. pTDefRegMap(@Self)^.&set := $00000100;
  44063. end;
  44064. function TINT_IFS2.getU2BTXIF : TBits_1; inline;
  44065. begin
  44066. getU2BTXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44067. end;
  44068. procedure TINT_IFS2.setU3BEIF; inline;
  44069. begin
  44070. pTDefRegMap(@Self)^.&set := $00000200;
  44071. end;
  44072. procedure TINT_IFS2.clearU3BEIF; inline;
  44073. begin
  44074. pTDefRegMap(@Self)^.clr := $00000200;
  44075. end;
  44076. procedure TINT_IFS2.setU3BEIF(thebits : TBits_1); inline;
  44077. begin
  44078. if thebits = 0 then
  44079. pTDefRegMap(@Self)^.clr := $00000200
  44080. else
  44081. pTDefRegMap(@Self)^.&set := $00000200;
  44082. end;
  44083. function TINT_IFS2.getU3BEIF : TBits_1; inline;
  44084. begin
  44085. getU3BEIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44086. end;
  44087. procedure TINT_IFS2.setU3BRXIF; inline;
  44088. begin
  44089. pTDefRegMap(@Self)^.&set := $00000400;
  44090. end;
  44091. procedure TINT_IFS2.clearU3BRXIF; inline;
  44092. begin
  44093. pTDefRegMap(@Self)^.clr := $00000400;
  44094. end;
  44095. procedure TINT_IFS2.setU3BRXIF(thebits : TBits_1); inline;
  44096. begin
  44097. if thebits = 0 then
  44098. pTDefRegMap(@Self)^.clr := $00000400
  44099. else
  44100. pTDefRegMap(@Self)^.&set := $00000400;
  44101. end;
  44102. function TINT_IFS2.getU3BRXIF : TBits_1; inline;
  44103. begin
  44104. getU3BRXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44105. end;
  44106. procedure TINT_IFS2.setU3BTXIF; inline;
  44107. begin
  44108. pTDefRegMap(@Self)^.&set := $00000800;
  44109. end;
  44110. procedure TINT_IFS2.clearU3BTXIF; inline;
  44111. begin
  44112. pTDefRegMap(@Self)^.clr := $00000800;
  44113. end;
  44114. procedure TINT_IFS2.setU3BTXIF(thebits : TBits_1); inline;
  44115. begin
  44116. if thebits = 0 then
  44117. pTDefRegMap(@Self)^.clr := $00000800
  44118. else
  44119. pTDefRegMap(@Self)^.&set := $00000800;
  44120. end;
  44121. function TINT_IFS2.getU3BTXIF : TBits_1; inline;
  44122. begin
  44123. getU3BTXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44124. end;
  44125. procedure TINT_IFS2.setU4EIF; inline;
  44126. begin
  44127. pTDefRegMap(@Self)^.&set := $00000008;
  44128. end;
  44129. procedure TINT_IFS2.clearU4EIF; inline;
  44130. begin
  44131. pTDefRegMap(@Self)^.clr := $00000008;
  44132. end;
  44133. procedure TINT_IFS2.setU4EIF(thebits : TBits_1); inline;
  44134. begin
  44135. if thebits = 0 then
  44136. pTDefRegMap(@Self)^.clr := $00000008
  44137. else
  44138. pTDefRegMap(@Self)^.&set := $00000008;
  44139. end;
  44140. function TINT_IFS2.getU4EIF : TBits_1; inline;
  44141. begin
  44142. getU4EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44143. end;
  44144. procedure TINT_IFS2.setU4RXIF; inline;
  44145. begin
  44146. pTDefRegMap(@Self)^.&set := $00000010;
  44147. end;
  44148. procedure TINT_IFS2.clearU4RXIF; inline;
  44149. begin
  44150. pTDefRegMap(@Self)^.clr := $00000010;
  44151. end;
  44152. procedure TINT_IFS2.setU4RXIF(thebits : TBits_1); inline;
  44153. begin
  44154. if thebits = 0 then
  44155. pTDefRegMap(@Self)^.clr := $00000010
  44156. else
  44157. pTDefRegMap(@Self)^.&set := $00000010;
  44158. end;
  44159. function TINT_IFS2.getU4RXIF : TBits_1; inline;
  44160. begin
  44161. getU4RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44162. end;
  44163. procedure TINT_IFS2.setU4TXIF; inline;
  44164. begin
  44165. pTDefRegMap(@Self)^.&set := $00000020;
  44166. end;
  44167. procedure TINT_IFS2.clearU4TXIF; inline;
  44168. begin
  44169. pTDefRegMap(@Self)^.clr := $00000020;
  44170. end;
  44171. procedure TINT_IFS2.setU4TXIF(thebits : TBits_1); inline;
  44172. begin
  44173. if thebits = 0 then
  44174. pTDefRegMap(@Self)^.clr := $00000020
  44175. else
  44176. pTDefRegMap(@Self)^.&set := $00000020;
  44177. end;
  44178. function TINT_IFS2.getU4TXIF : TBits_1; inline;
  44179. begin
  44180. getU4TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44181. end;
  44182. procedure TINT_IFS2.setU6EIF; inline;
  44183. begin
  44184. pTDefRegMap(@Self)^.&set := $00000040;
  44185. end;
  44186. procedure TINT_IFS2.clearU6EIF; inline;
  44187. begin
  44188. pTDefRegMap(@Self)^.clr := $00000040;
  44189. end;
  44190. procedure TINT_IFS2.setU6EIF(thebits : TBits_1); inline;
  44191. begin
  44192. if thebits = 0 then
  44193. pTDefRegMap(@Self)^.clr := $00000040
  44194. else
  44195. pTDefRegMap(@Self)^.&set := $00000040;
  44196. end;
  44197. function TINT_IFS2.getU6EIF : TBits_1; inline;
  44198. begin
  44199. getU6EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44200. end;
  44201. procedure TINT_IFS2.setU6RXIF; inline;
  44202. begin
  44203. pTDefRegMap(@Self)^.&set := $00000080;
  44204. end;
  44205. procedure TINT_IFS2.clearU6RXIF; inline;
  44206. begin
  44207. pTDefRegMap(@Self)^.clr := $00000080;
  44208. end;
  44209. procedure TINT_IFS2.setU6RXIF(thebits : TBits_1); inline;
  44210. begin
  44211. if thebits = 0 then
  44212. pTDefRegMap(@Self)^.clr := $00000080
  44213. else
  44214. pTDefRegMap(@Self)^.&set := $00000080;
  44215. end;
  44216. function TINT_IFS2.getU6RXIF : TBits_1; inline;
  44217. begin
  44218. getU6RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44219. end;
  44220. procedure TINT_IFS2.setU6TXIF; inline;
  44221. begin
  44222. pTDefRegMap(@Self)^.&set := $00000100;
  44223. end;
  44224. procedure TINT_IFS2.clearU6TXIF; inline;
  44225. begin
  44226. pTDefRegMap(@Self)^.clr := $00000100;
  44227. end;
  44228. procedure TINT_IFS2.setU6TXIF(thebits : TBits_1); inline;
  44229. begin
  44230. if thebits = 0 then
  44231. pTDefRegMap(@Self)^.clr := $00000100
  44232. else
  44233. pTDefRegMap(@Self)^.&set := $00000100;
  44234. end;
  44235. function TINT_IFS2.getU6TXIF : TBits_1; inline;
  44236. begin
  44237. getU6TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44238. end;
  44239. procedure TINT_IFS2.setU5EIF; inline;
  44240. begin
  44241. pTDefRegMap(@Self)^.&set := $00000200;
  44242. end;
  44243. procedure TINT_IFS2.clearU5EIF; inline;
  44244. begin
  44245. pTDefRegMap(@Self)^.clr := $00000200;
  44246. end;
  44247. procedure TINT_IFS2.setU5EIF(thebits : TBits_1); inline;
  44248. begin
  44249. if thebits = 0 then
  44250. pTDefRegMap(@Self)^.clr := $00000200
  44251. else
  44252. pTDefRegMap(@Self)^.&set := $00000200;
  44253. end;
  44254. function TINT_IFS2.getU5EIF : TBits_1; inline;
  44255. begin
  44256. getU5EIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44257. end;
  44258. procedure TINT_IFS2.setU5RXIF; inline;
  44259. begin
  44260. pTDefRegMap(@Self)^.&set := $00000400;
  44261. end;
  44262. procedure TINT_IFS2.clearU5RXIF; inline;
  44263. begin
  44264. pTDefRegMap(@Self)^.clr := $00000400;
  44265. end;
  44266. procedure TINT_IFS2.setU5RXIF(thebits : TBits_1); inline;
  44267. begin
  44268. if thebits = 0 then
  44269. pTDefRegMap(@Self)^.clr := $00000400
  44270. else
  44271. pTDefRegMap(@Self)^.&set := $00000400;
  44272. end;
  44273. function TINT_IFS2.getU5RXIF : TBits_1; inline;
  44274. begin
  44275. getU5RXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44276. end;
  44277. procedure TINT_IFS2.setU5TXIF; inline;
  44278. begin
  44279. pTDefRegMap(@Self)^.&set := $00000800;
  44280. end;
  44281. procedure TINT_IFS2.clearU5TXIF; inline;
  44282. begin
  44283. pTDefRegMap(@Self)^.clr := $00000800;
  44284. end;
  44285. procedure TINT_IFS2.setU5TXIF(thebits : TBits_1); inline;
  44286. begin
  44287. if thebits = 0 then
  44288. pTDefRegMap(@Self)^.clr := $00000800
  44289. else
  44290. pTDefRegMap(@Self)^.&set := $00000800;
  44291. end;
  44292. function TINT_IFS2.getU5TXIF : TBits_1; inline;
  44293. begin
  44294. getU5TXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44295. end;
  44296. procedure TINT_IFS2.setw(thebits : TBits_32); inline;
  44297. begin
  44298. pTDefRegMap(@Self)^.val := thebits;
  44299. end;
  44300. function TINT_IFS2.getw : TBits_32; inline;
  44301. begin
  44302. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44303. end;
  44304. procedure TINT_IEC0.setCTIE; inline;
  44305. begin
  44306. pTDefRegMap(@Self)^.&set := $00000001;
  44307. end;
  44308. procedure TINT_IEC0.clearCTIE; inline;
  44309. begin
  44310. pTDefRegMap(@Self)^.clr := $00000001;
  44311. end;
  44312. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  44313. begin
  44314. if thebits = 0 then
  44315. pTDefRegMap(@Self)^.clr := $00000001
  44316. else
  44317. pTDefRegMap(@Self)^.&set := $00000001;
  44318. end;
  44319. function TINT_IEC0.getCTIE : TBits_1; inline;
  44320. begin
  44321. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44322. end;
  44323. procedure TINT_IEC0.setCS0IE; inline;
  44324. begin
  44325. pTDefRegMap(@Self)^.&set := $00000002;
  44326. end;
  44327. procedure TINT_IEC0.clearCS0IE; inline;
  44328. begin
  44329. pTDefRegMap(@Self)^.clr := $00000002;
  44330. end;
  44331. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  44332. begin
  44333. if thebits = 0 then
  44334. pTDefRegMap(@Self)^.clr := $00000002
  44335. else
  44336. pTDefRegMap(@Self)^.&set := $00000002;
  44337. end;
  44338. function TINT_IEC0.getCS0IE : TBits_1; inline;
  44339. begin
  44340. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44341. end;
  44342. procedure TINT_IEC0.setCS1IE; inline;
  44343. begin
  44344. pTDefRegMap(@Self)^.&set := $00000004;
  44345. end;
  44346. procedure TINT_IEC0.clearCS1IE; inline;
  44347. begin
  44348. pTDefRegMap(@Self)^.clr := $00000004;
  44349. end;
  44350. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  44351. begin
  44352. if thebits = 0 then
  44353. pTDefRegMap(@Self)^.clr := $00000004
  44354. else
  44355. pTDefRegMap(@Self)^.&set := $00000004;
  44356. end;
  44357. function TINT_IEC0.getCS1IE : TBits_1; inline;
  44358. begin
  44359. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44360. end;
  44361. procedure TINT_IEC0.setINT0IE; inline;
  44362. begin
  44363. pTDefRegMap(@Self)^.&set := $00000008;
  44364. end;
  44365. procedure TINT_IEC0.clearINT0IE; inline;
  44366. begin
  44367. pTDefRegMap(@Self)^.clr := $00000008;
  44368. end;
  44369. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  44370. begin
  44371. if thebits = 0 then
  44372. pTDefRegMap(@Self)^.clr := $00000008
  44373. else
  44374. pTDefRegMap(@Self)^.&set := $00000008;
  44375. end;
  44376. function TINT_IEC0.getINT0IE : TBits_1; inline;
  44377. begin
  44378. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44379. end;
  44380. procedure TINT_IEC0.setT1IE; inline;
  44381. begin
  44382. pTDefRegMap(@Self)^.&set := $00000010;
  44383. end;
  44384. procedure TINT_IEC0.clearT1IE; inline;
  44385. begin
  44386. pTDefRegMap(@Self)^.clr := $00000010;
  44387. end;
  44388. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  44389. begin
  44390. if thebits = 0 then
  44391. pTDefRegMap(@Self)^.clr := $00000010
  44392. else
  44393. pTDefRegMap(@Self)^.&set := $00000010;
  44394. end;
  44395. function TINT_IEC0.getT1IE : TBits_1; inline;
  44396. begin
  44397. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44398. end;
  44399. procedure TINT_IEC0.setIC1IE; inline;
  44400. begin
  44401. pTDefRegMap(@Self)^.&set := $00000020;
  44402. end;
  44403. procedure TINT_IEC0.clearIC1IE; inline;
  44404. begin
  44405. pTDefRegMap(@Self)^.clr := $00000020;
  44406. end;
  44407. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  44408. begin
  44409. if thebits = 0 then
  44410. pTDefRegMap(@Self)^.clr := $00000020
  44411. else
  44412. pTDefRegMap(@Self)^.&set := $00000020;
  44413. end;
  44414. function TINT_IEC0.getIC1IE : TBits_1; inline;
  44415. begin
  44416. getIC1IE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44417. end;
  44418. procedure TINT_IEC0.setOC1IE; inline;
  44419. begin
  44420. pTDefRegMap(@Self)^.&set := $00000040;
  44421. end;
  44422. procedure TINT_IEC0.clearOC1IE; inline;
  44423. begin
  44424. pTDefRegMap(@Self)^.clr := $00000040;
  44425. end;
  44426. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  44427. begin
  44428. if thebits = 0 then
  44429. pTDefRegMap(@Self)^.clr := $00000040
  44430. else
  44431. pTDefRegMap(@Self)^.&set := $00000040;
  44432. end;
  44433. function TINT_IEC0.getOC1IE : TBits_1; inline;
  44434. begin
  44435. getOC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44436. end;
  44437. procedure TINT_IEC0.setINT1IE; inline;
  44438. begin
  44439. pTDefRegMap(@Self)^.&set := $00000080;
  44440. end;
  44441. procedure TINT_IEC0.clearINT1IE; inline;
  44442. begin
  44443. pTDefRegMap(@Self)^.clr := $00000080;
  44444. end;
  44445. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  44446. begin
  44447. if thebits = 0 then
  44448. pTDefRegMap(@Self)^.clr := $00000080
  44449. else
  44450. pTDefRegMap(@Self)^.&set := $00000080;
  44451. end;
  44452. function TINT_IEC0.getINT1IE : TBits_1; inline;
  44453. begin
  44454. getINT1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44455. end;
  44456. procedure TINT_IEC0.setT2IE; inline;
  44457. begin
  44458. pTDefRegMap(@Self)^.&set := $00000100;
  44459. end;
  44460. procedure TINT_IEC0.clearT2IE; inline;
  44461. begin
  44462. pTDefRegMap(@Self)^.clr := $00000100;
  44463. end;
  44464. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  44465. begin
  44466. if thebits = 0 then
  44467. pTDefRegMap(@Self)^.clr := $00000100
  44468. else
  44469. pTDefRegMap(@Self)^.&set := $00000100;
  44470. end;
  44471. function TINT_IEC0.getT2IE : TBits_1; inline;
  44472. begin
  44473. getT2IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44474. end;
  44475. procedure TINT_IEC0.setIC2IE; inline;
  44476. begin
  44477. pTDefRegMap(@Self)^.&set := $00000200;
  44478. end;
  44479. procedure TINT_IEC0.clearIC2IE; inline;
  44480. begin
  44481. pTDefRegMap(@Self)^.clr := $00000200;
  44482. end;
  44483. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  44484. begin
  44485. if thebits = 0 then
  44486. pTDefRegMap(@Self)^.clr := $00000200
  44487. else
  44488. pTDefRegMap(@Self)^.&set := $00000200;
  44489. end;
  44490. function TINT_IEC0.getIC2IE : TBits_1; inline;
  44491. begin
  44492. getIC2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44493. end;
  44494. procedure TINT_IEC0.setOC2IE; inline;
  44495. begin
  44496. pTDefRegMap(@Self)^.&set := $00000400;
  44497. end;
  44498. procedure TINT_IEC0.clearOC2IE; inline;
  44499. begin
  44500. pTDefRegMap(@Self)^.clr := $00000400;
  44501. end;
  44502. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  44503. begin
  44504. if thebits = 0 then
  44505. pTDefRegMap(@Self)^.clr := $00000400
  44506. else
  44507. pTDefRegMap(@Self)^.&set := $00000400;
  44508. end;
  44509. function TINT_IEC0.getOC2IE : TBits_1; inline;
  44510. begin
  44511. getOC2IE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44512. end;
  44513. procedure TINT_IEC0.setINT2IE; inline;
  44514. begin
  44515. pTDefRegMap(@Self)^.&set := $00000800;
  44516. end;
  44517. procedure TINT_IEC0.clearINT2IE; inline;
  44518. begin
  44519. pTDefRegMap(@Self)^.clr := $00000800;
  44520. end;
  44521. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  44522. begin
  44523. if thebits = 0 then
  44524. pTDefRegMap(@Self)^.clr := $00000800
  44525. else
  44526. pTDefRegMap(@Self)^.&set := $00000800;
  44527. end;
  44528. function TINT_IEC0.getINT2IE : TBits_1; inline;
  44529. begin
  44530. getINT2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44531. end;
  44532. procedure TINT_IEC0.setT3IE; inline;
  44533. begin
  44534. pTDefRegMap(@Self)^.&set := $00001000;
  44535. end;
  44536. procedure TINT_IEC0.clearT3IE; inline;
  44537. begin
  44538. pTDefRegMap(@Self)^.clr := $00001000;
  44539. end;
  44540. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  44541. begin
  44542. if thebits = 0 then
  44543. pTDefRegMap(@Self)^.clr := $00001000
  44544. else
  44545. pTDefRegMap(@Self)^.&set := $00001000;
  44546. end;
  44547. function TINT_IEC0.getT3IE : TBits_1; inline;
  44548. begin
  44549. getT3IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  44550. end;
  44551. procedure TINT_IEC0.setIC3IE; inline;
  44552. begin
  44553. pTDefRegMap(@Self)^.&set := $00002000;
  44554. end;
  44555. procedure TINT_IEC0.clearIC3IE; inline;
  44556. begin
  44557. pTDefRegMap(@Self)^.clr := $00002000;
  44558. end;
  44559. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  44560. begin
  44561. if thebits = 0 then
  44562. pTDefRegMap(@Self)^.clr := $00002000
  44563. else
  44564. pTDefRegMap(@Self)^.&set := $00002000;
  44565. end;
  44566. function TINT_IEC0.getIC3IE : TBits_1; inline;
  44567. begin
  44568. getIC3IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44569. end;
  44570. procedure TINT_IEC0.setOC3IE; inline;
  44571. begin
  44572. pTDefRegMap(@Self)^.&set := $00004000;
  44573. end;
  44574. procedure TINT_IEC0.clearOC3IE; inline;
  44575. begin
  44576. pTDefRegMap(@Self)^.clr := $00004000;
  44577. end;
  44578. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  44579. begin
  44580. if thebits = 0 then
  44581. pTDefRegMap(@Self)^.clr := $00004000
  44582. else
  44583. pTDefRegMap(@Self)^.&set := $00004000;
  44584. end;
  44585. function TINT_IEC0.getOC3IE : TBits_1; inline;
  44586. begin
  44587. getOC3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44588. end;
  44589. procedure TINT_IEC0.setINT3IE; inline;
  44590. begin
  44591. pTDefRegMap(@Self)^.&set := $00008000;
  44592. end;
  44593. procedure TINT_IEC0.clearINT3IE; inline;
  44594. begin
  44595. pTDefRegMap(@Self)^.clr := $00008000;
  44596. end;
  44597. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  44598. begin
  44599. if thebits = 0 then
  44600. pTDefRegMap(@Self)^.clr := $00008000
  44601. else
  44602. pTDefRegMap(@Self)^.&set := $00008000;
  44603. end;
  44604. function TINT_IEC0.getINT3IE : TBits_1; inline;
  44605. begin
  44606. getINT3IE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44607. end;
  44608. procedure TINT_IEC0.setT4IE; inline;
  44609. begin
  44610. pTDefRegMap(@Self)^.&set := $00010000;
  44611. end;
  44612. procedure TINT_IEC0.clearT4IE; inline;
  44613. begin
  44614. pTDefRegMap(@Self)^.clr := $00010000;
  44615. end;
  44616. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  44617. begin
  44618. if thebits = 0 then
  44619. pTDefRegMap(@Self)^.clr := $00010000
  44620. else
  44621. pTDefRegMap(@Self)^.&set := $00010000;
  44622. end;
  44623. function TINT_IEC0.getT4IE : TBits_1; inline;
  44624. begin
  44625. getT4IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  44626. end;
  44627. procedure TINT_IEC0.setIC4IE; inline;
  44628. begin
  44629. pTDefRegMap(@Self)^.&set := $00020000;
  44630. end;
  44631. procedure TINT_IEC0.clearIC4IE; inline;
  44632. begin
  44633. pTDefRegMap(@Self)^.clr := $00020000;
  44634. end;
  44635. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  44636. begin
  44637. if thebits = 0 then
  44638. pTDefRegMap(@Self)^.clr := $00020000
  44639. else
  44640. pTDefRegMap(@Self)^.&set := $00020000;
  44641. end;
  44642. function TINT_IEC0.getIC4IE : TBits_1; inline;
  44643. begin
  44644. getIC4IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  44645. end;
  44646. procedure TINT_IEC0.setOC4IE; inline;
  44647. begin
  44648. pTDefRegMap(@Self)^.&set := $00040000;
  44649. end;
  44650. procedure TINT_IEC0.clearOC4IE; inline;
  44651. begin
  44652. pTDefRegMap(@Self)^.clr := $00040000;
  44653. end;
  44654. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  44655. begin
  44656. if thebits = 0 then
  44657. pTDefRegMap(@Self)^.clr := $00040000
  44658. else
  44659. pTDefRegMap(@Self)^.&set := $00040000;
  44660. end;
  44661. function TINT_IEC0.getOC4IE : TBits_1; inline;
  44662. begin
  44663. getOC4IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  44664. end;
  44665. procedure TINT_IEC0.setINT4IE; inline;
  44666. begin
  44667. pTDefRegMap(@Self)^.&set := $00080000;
  44668. end;
  44669. procedure TINT_IEC0.clearINT4IE; inline;
  44670. begin
  44671. pTDefRegMap(@Self)^.clr := $00080000;
  44672. end;
  44673. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  44674. begin
  44675. if thebits = 0 then
  44676. pTDefRegMap(@Self)^.clr := $00080000
  44677. else
  44678. pTDefRegMap(@Self)^.&set := $00080000;
  44679. end;
  44680. function TINT_IEC0.getINT4IE : TBits_1; inline;
  44681. begin
  44682. getINT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  44683. end;
  44684. procedure TINT_IEC0.setT5IE; inline;
  44685. begin
  44686. pTDefRegMap(@Self)^.&set := $00100000;
  44687. end;
  44688. procedure TINT_IEC0.clearT5IE; inline;
  44689. begin
  44690. pTDefRegMap(@Self)^.clr := $00100000;
  44691. end;
  44692. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  44693. begin
  44694. if thebits = 0 then
  44695. pTDefRegMap(@Self)^.clr := $00100000
  44696. else
  44697. pTDefRegMap(@Self)^.&set := $00100000;
  44698. end;
  44699. function TINT_IEC0.getT5IE : TBits_1; inline;
  44700. begin
  44701. getT5IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  44702. end;
  44703. procedure TINT_IEC0.setIC5IE; inline;
  44704. begin
  44705. pTDefRegMap(@Self)^.&set := $00200000;
  44706. end;
  44707. procedure TINT_IEC0.clearIC5IE; inline;
  44708. begin
  44709. pTDefRegMap(@Self)^.clr := $00200000;
  44710. end;
  44711. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  44712. begin
  44713. if thebits = 0 then
  44714. pTDefRegMap(@Self)^.clr := $00200000
  44715. else
  44716. pTDefRegMap(@Self)^.&set := $00200000;
  44717. end;
  44718. function TINT_IEC0.getIC5IE : TBits_1; inline;
  44719. begin
  44720. getIC5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  44721. end;
  44722. procedure TINT_IEC0.setOC5IE; inline;
  44723. begin
  44724. pTDefRegMap(@Self)^.&set := $00400000;
  44725. end;
  44726. procedure TINT_IEC0.clearOC5IE; inline;
  44727. begin
  44728. pTDefRegMap(@Self)^.clr := $00400000;
  44729. end;
  44730. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  44731. begin
  44732. if thebits = 0 then
  44733. pTDefRegMap(@Self)^.clr := $00400000
  44734. else
  44735. pTDefRegMap(@Self)^.&set := $00400000;
  44736. end;
  44737. function TINT_IEC0.getOC5IE : TBits_1; inline;
  44738. begin
  44739. getOC5IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  44740. end;
  44741. procedure TINT_IEC0.setSPI1EIE; inline;
  44742. begin
  44743. pTDefRegMap(@Self)^.&set := $00800000;
  44744. end;
  44745. procedure TINT_IEC0.clearSPI1EIE; inline;
  44746. begin
  44747. pTDefRegMap(@Self)^.clr := $00800000;
  44748. end;
  44749. procedure TINT_IEC0.setSPI1EIE(thebits : TBits_1); inline;
  44750. begin
  44751. if thebits = 0 then
  44752. pTDefRegMap(@Self)^.clr := $00800000
  44753. else
  44754. pTDefRegMap(@Self)^.&set := $00800000;
  44755. end;
  44756. function TINT_IEC0.getSPI1EIE : TBits_1; inline;
  44757. begin
  44758. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  44759. end;
  44760. procedure TINT_IEC0.setSPI1RXIE; inline;
  44761. begin
  44762. pTDefRegMap(@Self)^.&set := $01000000;
  44763. end;
  44764. procedure TINT_IEC0.clearSPI1RXIE; inline;
  44765. begin
  44766. pTDefRegMap(@Self)^.clr := $01000000;
  44767. end;
  44768. procedure TINT_IEC0.setSPI1RXIE(thebits : TBits_1); inline;
  44769. begin
  44770. if thebits = 0 then
  44771. pTDefRegMap(@Self)^.clr := $01000000
  44772. else
  44773. pTDefRegMap(@Self)^.&set := $01000000;
  44774. end;
  44775. function TINT_IEC0.getSPI1RXIE : TBits_1; inline;
  44776. begin
  44777. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  44778. end;
  44779. procedure TINT_IEC0.setSPI1TXIE; inline;
  44780. begin
  44781. pTDefRegMap(@Self)^.&set := $02000000;
  44782. end;
  44783. procedure TINT_IEC0.clearSPI1TXIE; inline;
  44784. begin
  44785. pTDefRegMap(@Self)^.clr := $02000000;
  44786. end;
  44787. procedure TINT_IEC0.setSPI1TXIE(thebits : TBits_1); inline;
  44788. begin
  44789. if thebits = 0 then
  44790. pTDefRegMap(@Self)^.clr := $02000000
  44791. else
  44792. pTDefRegMap(@Self)^.&set := $02000000;
  44793. end;
  44794. function TINT_IEC0.getSPI1TXIE : TBits_1; inline;
  44795. begin
  44796. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  44797. end;
  44798. procedure TINT_IEC0.setU1EIE; inline;
  44799. begin
  44800. pTDefRegMap(@Self)^.&set := $04000000;
  44801. end;
  44802. procedure TINT_IEC0.clearU1EIE; inline;
  44803. begin
  44804. pTDefRegMap(@Self)^.clr := $04000000;
  44805. end;
  44806. procedure TINT_IEC0.setU1EIE(thebits : TBits_1); inline;
  44807. begin
  44808. if thebits = 0 then
  44809. pTDefRegMap(@Self)^.clr := $04000000
  44810. else
  44811. pTDefRegMap(@Self)^.&set := $04000000;
  44812. end;
  44813. function TINT_IEC0.getU1EIE : TBits_1; inline;
  44814. begin
  44815. getU1EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44816. end;
  44817. procedure TINT_IEC0.setU1RXIE; inline;
  44818. begin
  44819. pTDefRegMap(@Self)^.&set := $08000000;
  44820. end;
  44821. procedure TINT_IEC0.clearU1RXIE; inline;
  44822. begin
  44823. pTDefRegMap(@Self)^.clr := $08000000;
  44824. end;
  44825. procedure TINT_IEC0.setU1RXIE(thebits : TBits_1); inline;
  44826. begin
  44827. if thebits = 0 then
  44828. pTDefRegMap(@Self)^.clr := $08000000
  44829. else
  44830. pTDefRegMap(@Self)^.&set := $08000000;
  44831. end;
  44832. function TINT_IEC0.getU1RXIE : TBits_1; inline;
  44833. begin
  44834. getU1RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  44835. end;
  44836. procedure TINT_IEC0.setU1TXIE; inline;
  44837. begin
  44838. pTDefRegMap(@Self)^.&set := $10000000;
  44839. end;
  44840. procedure TINT_IEC0.clearU1TXIE; inline;
  44841. begin
  44842. pTDefRegMap(@Self)^.clr := $10000000;
  44843. end;
  44844. procedure TINT_IEC0.setU1TXIE(thebits : TBits_1); inline;
  44845. begin
  44846. if thebits = 0 then
  44847. pTDefRegMap(@Self)^.clr := $10000000
  44848. else
  44849. pTDefRegMap(@Self)^.&set := $10000000;
  44850. end;
  44851. function TINT_IEC0.getU1TXIE : TBits_1; inline;
  44852. begin
  44853. getU1TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44854. end;
  44855. procedure TINT_IEC0.setI2C1BIE; inline;
  44856. begin
  44857. pTDefRegMap(@Self)^.&set := $20000000;
  44858. end;
  44859. procedure TINT_IEC0.clearI2C1BIE; inline;
  44860. begin
  44861. pTDefRegMap(@Self)^.clr := $20000000;
  44862. end;
  44863. procedure TINT_IEC0.setI2C1BIE(thebits : TBits_1); inline;
  44864. begin
  44865. if thebits = 0 then
  44866. pTDefRegMap(@Self)^.clr := $20000000
  44867. else
  44868. pTDefRegMap(@Self)^.&set := $20000000;
  44869. end;
  44870. function TINT_IEC0.getI2C1BIE : TBits_1; inline;
  44871. begin
  44872. getI2C1BIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  44873. end;
  44874. procedure TINT_IEC0.setI2C1SIE; inline;
  44875. begin
  44876. pTDefRegMap(@Self)^.&set := $40000000;
  44877. end;
  44878. procedure TINT_IEC0.clearI2C1SIE; inline;
  44879. begin
  44880. pTDefRegMap(@Self)^.clr := $40000000;
  44881. end;
  44882. procedure TINT_IEC0.setI2C1SIE(thebits : TBits_1); inline;
  44883. begin
  44884. if thebits = 0 then
  44885. pTDefRegMap(@Self)^.clr := $40000000
  44886. else
  44887. pTDefRegMap(@Self)^.&set := $40000000;
  44888. end;
  44889. function TINT_IEC0.getI2C1SIE : TBits_1; inline;
  44890. begin
  44891. getI2C1SIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  44892. end;
  44893. procedure TINT_IEC0.setI2C1MIE; inline;
  44894. begin
  44895. pTDefRegMap(@Self)^.&set := $80000000;
  44896. end;
  44897. procedure TINT_IEC0.clearI2C1MIE; inline;
  44898. begin
  44899. pTDefRegMap(@Self)^.clr := $80000000;
  44900. end;
  44901. procedure TINT_IEC0.setI2C1MIE(thebits : TBits_1); inline;
  44902. begin
  44903. if thebits = 0 then
  44904. pTDefRegMap(@Self)^.clr := $80000000
  44905. else
  44906. pTDefRegMap(@Self)^.&set := $80000000;
  44907. end;
  44908. function TINT_IEC0.getI2C1MIE : TBits_1; inline;
  44909. begin
  44910. getI2C1MIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  44911. end;
  44912. procedure TINT_IEC0.setU1AEIE; inline;
  44913. begin
  44914. pTDefRegMap(@Self)^.&set := $04000000;
  44915. end;
  44916. procedure TINT_IEC0.clearU1AEIE; inline;
  44917. begin
  44918. pTDefRegMap(@Self)^.clr := $04000000;
  44919. end;
  44920. procedure TINT_IEC0.setU1AEIE(thebits : TBits_1); inline;
  44921. begin
  44922. if thebits = 0 then
  44923. pTDefRegMap(@Self)^.clr := $04000000
  44924. else
  44925. pTDefRegMap(@Self)^.&set := $04000000;
  44926. end;
  44927. function TINT_IEC0.getU1AEIE : TBits_1; inline;
  44928. begin
  44929. getU1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44930. end;
  44931. procedure TINT_IEC0.setU1ARXIE; inline;
  44932. begin
  44933. pTDefRegMap(@Self)^.&set := $08000000;
  44934. end;
  44935. procedure TINT_IEC0.clearU1ARXIE; inline;
  44936. begin
  44937. pTDefRegMap(@Self)^.clr := $08000000;
  44938. end;
  44939. procedure TINT_IEC0.setU1ARXIE(thebits : TBits_1); inline;
  44940. begin
  44941. if thebits = 0 then
  44942. pTDefRegMap(@Self)^.clr := $08000000
  44943. else
  44944. pTDefRegMap(@Self)^.&set := $08000000;
  44945. end;
  44946. function TINT_IEC0.getU1ARXIE : TBits_1; inline;
  44947. begin
  44948. getU1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  44949. end;
  44950. procedure TINT_IEC0.setU1ATXIE; inline;
  44951. begin
  44952. pTDefRegMap(@Self)^.&set := $10000000;
  44953. end;
  44954. procedure TINT_IEC0.clearU1ATXIE; inline;
  44955. begin
  44956. pTDefRegMap(@Self)^.clr := $10000000;
  44957. end;
  44958. procedure TINT_IEC0.setU1ATXIE(thebits : TBits_1); inline;
  44959. begin
  44960. if thebits = 0 then
  44961. pTDefRegMap(@Self)^.clr := $10000000
  44962. else
  44963. pTDefRegMap(@Self)^.&set := $10000000;
  44964. end;
  44965. function TINT_IEC0.getU1ATXIE : TBits_1; inline;
  44966. begin
  44967. getU1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44968. end;
  44969. procedure TINT_IEC0.setSPI3EIE; inline;
  44970. begin
  44971. pTDefRegMap(@Self)^.&set := $04000000;
  44972. end;
  44973. procedure TINT_IEC0.clearSPI3EIE; inline;
  44974. begin
  44975. pTDefRegMap(@Self)^.clr := $04000000;
  44976. end;
  44977. procedure TINT_IEC0.setSPI3EIE(thebits : TBits_1); inline;
  44978. begin
  44979. if thebits = 0 then
  44980. pTDefRegMap(@Self)^.clr := $04000000
  44981. else
  44982. pTDefRegMap(@Self)^.&set := $04000000;
  44983. end;
  44984. function TINT_IEC0.getSPI3EIE : TBits_1; inline;
  44985. begin
  44986. getSPI3EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44987. end;
  44988. procedure TINT_IEC0.setSPI3RXIE; inline;
  44989. begin
  44990. pTDefRegMap(@Self)^.&set := $08000000;
  44991. end;
  44992. procedure TINT_IEC0.clearSPI3RXIE; inline;
  44993. begin
  44994. pTDefRegMap(@Self)^.clr := $08000000;
  44995. end;
  44996. procedure TINT_IEC0.setSPI3RXIE(thebits : TBits_1); inline;
  44997. begin
  44998. if thebits = 0 then
  44999. pTDefRegMap(@Self)^.clr := $08000000
  45000. else
  45001. pTDefRegMap(@Self)^.&set := $08000000;
  45002. end;
  45003. function TINT_IEC0.getSPI3RXIE : TBits_1; inline;
  45004. begin
  45005. getSPI3RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45006. end;
  45007. procedure TINT_IEC0.setSPI3TXIE; inline;
  45008. begin
  45009. pTDefRegMap(@Self)^.&set := $10000000;
  45010. end;
  45011. procedure TINT_IEC0.clearSPI3TXIE; inline;
  45012. begin
  45013. pTDefRegMap(@Self)^.clr := $10000000;
  45014. end;
  45015. procedure TINT_IEC0.setSPI3TXIE(thebits : TBits_1); inline;
  45016. begin
  45017. if thebits = 0 then
  45018. pTDefRegMap(@Self)^.clr := $10000000
  45019. else
  45020. pTDefRegMap(@Self)^.&set := $10000000;
  45021. end;
  45022. function TINT_IEC0.getSPI3TXIE : TBits_1; inline;
  45023. begin
  45024. getSPI3TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45025. end;
  45026. procedure TINT_IEC0.setSPI1AEIE; inline;
  45027. begin
  45028. pTDefRegMap(@Self)^.&set := $04000000;
  45029. end;
  45030. procedure TINT_IEC0.clearSPI1AEIE; inline;
  45031. begin
  45032. pTDefRegMap(@Self)^.clr := $04000000;
  45033. end;
  45034. procedure TINT_IEC0.setSPI1AEIE(thebits : TBits_1); inline;
  45035. begin
  45036. if thebits = 0 then
  45037. pTDefRegMap(@Self)^.clr := $04000000
  45038. else
  45039. pTDefRegMap(@Self)^.&set := $04000000;
  45040. end;
  45041. function TINT_IEC0.getSPI1AEIE : TBits_1; inline;
  45042. begin
  45043. getSPI1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45044. end;
  45045. procedure TINT_IEC0.setSPI1ARXIE; inline;
  45046. begin
  45047. pTDefRegMap(@Self)^.&set := $08000000;
  45048. end;
  45049. procedure TINT_IEC0.clearSPI1ARXIE; inline;
  45050. begin
  45051. pTDefRegMap(@Self)^.clr := $08000000;
  45052. end;
  45053. procedure TINT_IEC0.setSPI1ARXIE(thebits : TBits_1); inline;
  45054. begin
  45055. if thebits = 0 then
  45056. pTDefRegMap(@Self)^.clr := $08000000
  45057. else
  45058. pTDefRegMap(@Self)^.&set := $08000000;
  45059. end;
  45060. function TINT_IEC0.getSPI1ARXIE : TBits_1; inline;
  45061. begin
  45062. getSPI1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45063. end;
  45064. procedure TINT_IEC0.setSPI1ATXIE; inline;
  45065. begin
  45066. pTDefRegMap(@Self)^.&set := $10000000;
  45067. end;
  45068. procedure TINT_IEC0.clearSPI1ATXIE; inline;
  45069. begin
  45070. pTDefRegMap(@Self)^.clr := $10000000;
  45071. end;
  45072. procedure TINT_IEC0.setSPI1ATXIE(thebits : TBits_1); inline;
  45073. begin
  45074. if thebits = 0 then
  45075. pTDefRegMap(@Self)^.clr := $10000000
  45076. else
  45077. pTDefRegMap(@Self)^.&set := $10000000;
  45078. end;
  45079. function TINT_IEC0.getSPI1ATXIE : TBits_1; inline;
  45080. begin
  45081. getSPI1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45082. end;
  45083. procedure TINT_IEC0.setI2C3BIE; inline;
  45084. begin
  45085. pTDefRegMap(@Self)^.&set := $04000000;
  45086. end;
  45087. procedure TINT_IEC0.clearI2C3BIE; inline;
  45088. begin
  45089. pTDefRegMap(@Self)^.clr := $04000000;
  45090. end;
  45091. procedure TINT_IEC0.setI2C3BIE(thebits : TBits_1); inline;
  45092. begin
  45093. if thebits = 0 then
  45094. pTDefRegMap(@Self)^.clr := $04000000
  45095. else
  45096. pTDefRegMap(@Self)^.&set := $04000000;
  45097. end;
  45098. function TINT_IEC0.getI2C3BIE : TBits_1; inline;
  45099. begin
  45100. getI2C3BIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45101. end;
  45102. procedure TINT_IEC0.setI2C3SIE; inline;
  45103. begin
  45104. pTDefRegMap(@Self)^.&set := $08000000;
  45105. end;
  45106. procedure TINT_IEC0.clearI2C3SIE; inline;
  45107. begin
  45108. pTDefRegMap(@Self)^.clr := $08000000;
  45109. end;
  45110. procedure TINT_IEC0.setI2C3SIE(thebits : TBits_1); inline;
  45111. begin
  45112. if thebits = 0 then
  45113. pTDefRegMap(@Self)^.clr := $08000000
  45114. else
  45115. pTDefRegMap(@Self)^.&set := $08000000;
  45116. end;
  45117. function TINT_IEC0.getI2C3SIE : TBits_1; inline;
  45118. begin
  45119. getI2C3SIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45120. end;
  45121. procedure TINT_IEC0.setI2C3MIE; inline;
  45122. begin
  45123. pTDefRegMap(@Self)^.&set := $10000000;
  45124. end;
  45125. procedure TINT_IEC0.clearI2C3MIE; inline;
  45126. begin
  45127. pTDefRegMap(@Self)^.clr := $10000000;
  45128. end;
  45129. procedure TINT_IEC0.setI2C3MIE(thebits : TBits_1); inline;
  45130. begin
  45131. if thebits = 0 then
  45132. pTDefRegMap(@Self)^.clr := $10000000
  45133. else
  45134. pTDefRegMap(@Self)^.&set := $10000000;
  45135. end;
  45136. function TINT_IEC0.getI2C3MIE : TBits_1; inline;
  45137. begin
  45138. getI2C3MIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45139. end;
  45140. procedure TINT_IEC0.setI2C1ABIE; inline;
  45141. begin
  45142. pTDefRegMap(@Self)^.&set := $04000000;
  45143. end;
  45144. procedure TINT_IEC0.clearI2C1ABIE; inline;
  45145. begin
  45146. pTDefRegMap(@Self)^.clr := $04000000;
  45147. end;
  45148. procedure TINT_IEC0.setI2C1ABIE(thebits : TBits_1); inline;
  45149. begin
  45150. if thebits = 0 then
  45151. pTDefRegMap(@Self)^.clr := $04000000
  45152. else
  45153. pTDefRegMap(@Self)^.&set := $04000000;
  45154. end;
  45155. function TINT_IEC0.getI2C1ABIE : TBits_1; inline;
  45156. begin
  45157. getI2C1ABIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45158. end;
  45159. procedure TINT_IEC0.setI2C1ASIE; inline;
  45160. begin
  45161. pTDefRegMap(@Self)^.&set := $08000000;
  45162. end;
  45163. procedure TINT_IEC0.clearI2C1ASIE; inline;
  45164. begin
  45165. pTDefRegMap(@Self)^.clr := $08000000;
  45166. end;
  45167. procedure TINT_IEC0.setI2C1ASIE(thebits : TBits_1); inline;
  45168. begin
  45169. if thebits = 0 then
  45170. pTDefRegMap(@Self)^.clr := $08000000
  45171. else
  45172. pTDefRegMap(@Self)^.&set := $08000000;
  45173. end;
  45174. function TINT_IEC0.getI2C1ASIE : TBits_1; inline;
  45175. begin
  45176. getI2C1ASIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45177. end;
  45178. procedure TINT_IEC0.setI2C1AMIE; inline;
  45179. begin
  45180. pTDefRegMap(@Self)^.&set := $10000000;
  45181. end;
  45182. procedure TINT_IEC0.clearI2C1AMIE; inline;
  45183. begin
  45184. pTDefRegMap(@Self)^.clr := $10000000;
  45185. end;
  45186. procedure TINT_IEC0.setI2C1AMIE(thebits : TBits_1); inline;
  45187. begin
  45188. if thebits = 0 then
  45189. pTDefRegMap(@Self)^.clr := $10000000
  45190. else
  45191. pTDefRegMap(@Self)^.&set := $10000000;
  45192. end;
  45193. function TINT_IEC0.getI2C1AMIE : TBits_1; inline;
  45194. begin
  45195. getI2C1AMIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45196. end;
  45197. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  45198. begin
  45199. pTDefRegMap(@Self)^.val := thebits;
  45200. end;
  45201. function TINT_IEC0.getw : TBits_32; inline;
  45202. begin
  45203. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45204. end;
  45205. procedure TINT_IEC1.setCNIE; inline;
  45206. begin
  45207. pTDefRegMap(@Self)^.&set := $00000001;
  45208. end;
  45209. procedure TINT_IEC1.clearCNIE; inline;
  45210. begin
  45211. pTDefRegMap(@Self)^.clr := $00000001;
  45212. end;
  45213. procedure TINT_IEC1.setCNIE(thebits : TBits_1); inline;
  45214. begin
  45215. if thebits = 0 then
  45216. pTDefRegMap(@Self)^.clr := $00000001
  45217. else
  45218. pTDefRegMap(@Self)^.&set := $00000001;
  45219. end;
  45220. function TINT_IEC1.getCNIE : TBits_1; inline;
  45221. begin
  45222. getCNIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45223. end;
  45224. procedure TINT_IEC1.setAD1IE; inline;
  45225. begin
  45226. pTDefRegMap(@Self)^.&set := $00000002;
  45227. end;
  45228. procedure TINT_IEC1.clearAD1IE; inline;
  45229. begin
  45230. pTDefRegMap(@Self)^.clr := $00000002;
  45231. end;
  45232. procedure TINT_IEC1.setAD1IE(thebits : TBits_1); inline;
  45233. begin
  45234. if thebits = 0 then
  45235. pTDefRegMap(@Self)^.clr := $00000002
  45236. else
  45237. pTDefRegMap(@Self)^.&set := $00000002;
  45238. end;
  45239. function TINT_IEC1.getAD1IE : TBits_1; inline;
  45240. begin
  45241. getAD1IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45242. end;
  45243. procedure TINT_IEC1.setPMPIE; inline;
  45244. begin
  45245. pTDefRegMap(@Self)^.&set := $00000004;
  45246. end;
  45247. procedure TINT_IEC1.clearPMPIE; inline;
  45248. begin
  45249. pTDefRegMap(@Self)^.clr := $00000004;
  45250. end;
  45251. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  45252. begin
  45253. if thebits = 0 then
  45254. pTDefRegMap(@Self)^.clr := $00000004
  45255. else
  45256. pTDefRegMap(@Self)^.&set := $00000004;
  45257. end;
  45258. function TINT_IEC1.getPMPIE : TBits_1; inline;
  45259. begin
  45260. getPMPIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45261. end;
  45262. procedure TINT_IEC1.setCMP1IE; inline;
  45263. begin
  45264. pTDefRegMap(@Self)^.&set := $00000008;
  45265. end;
  45266. procedure TINT_IEC1.clearCMP1IE; inline;
  45267. begin
  45268. pTDefRegMap(@Self)^.clr := $00000008;
  45269. end;
  45270. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  45271. begin
  45272. if thebits = 0 then
  45273. pTDefRegMap(@Self)^.clr := $00000008
  45274. else
  45275. pTDefRegMap(@Self)^.&set := $00000008;
  45276. end;
  45277. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  45278. begin
  45279. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45280. end;
  45281. procedure TINT_IEC1.setCMP2IE; inline;
  45282. begin
  45283. pTDefRegMap(@Self)^.&set := $00000010;
  45284. end;
  45285. procedure TINT_IEC1.clearCMP2IE; inline;
  45286. begin
  45287. pTDefRegMap(@Self)^.clr := $00000010;
  45288. end;
  45289. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  45290. begin
  45291. if thebits = 0 then
  45292. pTDefRegMap(@Self)^.clr := $00000010
  45293. else
  45294. pTDefRegMap(@Self)^.&set := $00000010;
  45295. end;
  45296. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  45297. begin
  45298. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45299. end;
  45300. procedure TINT_IEC1.setU3EIE; inline;
  45301. begin
  45302. pTDefRegMap(@Self)^.&set := $00000020;
  45303. end;
  45304. procedure TINT_IEC1.clearU3EIE; inline;
  45305. begin
  45306. pTDefRegMap(@Self)^.clr := $00000020;
  45307. end;
  45308. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  45309. begin
  45310. if thebits = 0 then
  45311. pTDefRegMap(@Self)^.clr := $00000020
  45312. else
  45313. pTDefRegMap(@Self)^.&set := $00000020;
  45314. end;
  45315. function TINT_IEC1.getU3EIE : TBits_1; inline;
  45316. begin
  45317. getU3EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45318. end;
  45319. procedure TINT_IEC1.setU3RXIE; inline;
  45320. begin
  45321. pTDefRegMap(@Self)^.&set := $00000040;
  45322. end;
  45323. procedure TINT_IEC1.clearU3RXIE; inline;
  45324. begin
  45325. pTDefRegMap(@Self)^.clr := $00000040;
  45326. end;
  45327. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  45328. begin
  45329. if thebits = 0 then
  45330. pTDefRegMap(@Self)^.clr := $00000040
  45331. else
  45332. pTDefRegMap(@Self)^.&set := $00000040;
  45333. end;
  45334. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  45335. begin
  45336. getU3RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45337. end;
  45338. procedure TINT_IEC1.setU3TXIE; inline;
  45339. begin
  45340. pTDefRegMap(@Self)^.&set := $00000080;
  45341. end;
  45342. procedure TINT_IEC1.clearU3TXIE; inline;
  45343. begin
  45344. pTDefRegMap(@Self)^.clr := $00000080;
  45345. end;
  45346. procedure TINT_IEC1.setU3TXIE(thebits : TBits_1); inline;
  45347. begin
  45348. if thebits = 0 then
  45349. pTDefRegMap(@Self)^.clr := $00000080
  45350. else
  45351. pTDefRegMap(@Self)^.&set := $00000080;
  45352. end;
  45353. function TINT_IEC1.getU3TXIE : TBits_1; inline;
  45354. begin
  45355. getU3TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45356. end;
  45357. procedure TINT_IEC1.setU2EIE; inline;
  45358. begin
  45359. pTDefRegMap(@Self)^.&set := $00000100;
  45360. end;
  45361. procedure TINT_IEC1.clearU2EIE; inline;
  45362. begin
  45363. pTDefRegMap(@Self)^.clr := $00000100;
  45364. end;
  45365. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  45366. begin
  45367. if thebits = 0 then
  45368. pTDefRegMap(@Self)^.clr := $00000100
  45369. else
  45370. pTDefRegMap(@Self)^.&set := $00000100;
  45371. end;
  45372. function TINT_IEC1.getU2EIE : TBits_1; inline;
  45373. begin
  45374. getU2EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45375. end;
  45376. procedure TINT_IEC1.setU2RXIE; inline;
  45377. begin
  45378. pTDefRegMap(@Self)^.&set := $00000200;
  45379. end;
  45380. procedure TINT_IEC1.clearU2RXIE; inline;
  45381. begin
  45382. pTDefRegMap(@Self)^.clr := $00000200;
  45383. end;
  45384. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  45385. begin
  45386. if thebits = 0 then
  45387. pTDefRegMap(@Self)^.clr := $00000200
  45388. else
  45389. pTDefRegMap(@Self)^.&set := $00000200;
  45390. end;
  45391. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  45392. begin
  45393. getU2RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45394. end;
  45395. procedure TINT_IEC1.setU2TXIE; inline;
  45396. begin
  45397. pTDefRegMap(@Self)^.&set := $00000400;
  45398. end;
  45399. procedure TINT_IEC1.clearU2TXIE; inline;
  45400. begin
  45401. pTDefRegMap(@Self)^.clr := $00000400;
  45402. end;
  45403. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  45404. begin
  45405. if thebits = 0 then
  45406. pTDefRegMap(@Self)^.clr := $00000400
  45407. else
  45408. pTDefRegMap(@Self)^.&set := $00000400;
  45409. end;
  45410. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  45411. begin
  45412. getU2TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45413. end;
  45414. procedure TINT_IEC1.setI2C2BIE; inline;
  45415. begin
  45416. pTDefRegMap(@Self)^.&set := $00000800;
  45417. end;
  45418. procedure TINT_IEC1.clearI2C2BIE; inline;
  45419. begin
  45420. pTDefRegMap(@Self)^.clr := $00000800;
  45421. end;
  45422. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  45423. begin
  45424. if thebits = 0 then
  45425. pTDefRegMap(@Self)^.clr := $00000800
  45426. else
  45427. pTDefRegMap(@Self)^.&set := $00000800;
  45428. end;
  45429. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  45430. begin
  45431. getI2C2BIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45432. end;
  45433. procedure TINT_IEC1.setI2C2SIE; inline;
  45434. begin
  45435. pTDefRegMap(@Self)^.&set := $00001000;
  45436. end;
  45437. procedure TINT_IEC1.clearI2C2SIE; inline;
  45438. begin
  45439. pTDefRegMap(@Self)^.clr := $00001000;
  45440. end;
  45441. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  45442. begin
  45443. if thebits = 0 then
  45444. pTDefRegMap(@Self)^.clr := $00001000
  45445. else
  45446. pTDefRegMap(@Self)^.&set := $00001000;
  45447. end;
  45448. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  45449. begin
  45450. getI2C2SIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45451. end;
  45452. procedure TINT_IEC1.setI2C2MIE; inline;
  45453. begin
  45454. pTDefRegMap(@Self)^.&set := $00002000;
  45455. end;
  45456. procedure TINT_IEC1.clearI2C2MIE; inline;
  45457. begin
  45458. pTDefRegMap(@Self)^.clr := $00002000;
  45459. end;
  45460. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  45461. begin
  45462. if thebits = 0 then
  45463. pTDefRegMap(@Self)^.clr := $00002000
  45464. else
  45465. pTDefRegMap(@Self)^.&set := $00002000;
  45466. end;
  45467. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  45468. begin
  45469. getI2C2MIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45470. end;
  45471. procedure TINT_IEC1.setFSCMIE; inline;
  45472. begin
  45473. pTDefRegMap(@Self)^.&set := $00004000;
  45474. end;
  45475. procedure TINT_IEC1.clearFSCMIE; inline;
  45476. begin
  45477. pTDefRegMap(@Self)^.clr := $00004000;
  45478. end;
  45479. procedure TINT_IEC1.setFSCMIE(thebits : TBits_1); inline;
  45480. begin
  45481. if thebits = 0 then
  45482. pTDefRegMap(@Self)^.clr := $00004000
  45483. else
  45484. pTDefRegMap(@Self)^.&set := $00004000;
  45485. end;
  45486. function TINT_IEC1.getFSCMIE : TBits_1; inline;
  45487. begin
  45488. getFSCMIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45489. end;
  45490. procedure TINT_IEC1.setRTCCIE; inline;
  45491. begin
  45492. pTDefRegMap(@Self)^.&set := $00008000;
  45493. end;
  45494. procedure TINT_IEC1.clearRTCCIE; inline;
  45495. begin
  45496. pTDefRegMap(@Self)^.clr := $00008000;
  45497. end;
  45498. procedure TINT_IEC1.setRTCCIE(thebits : TBits_1); inline;
  45499. begin
  45500. if thebits = 0 then
  45501. pTDefRegMap(@Self)^.clr := $00008000
  45502. else
  45503. pTDefRegMap(@Self)^.&set := $00008000;
  45504. end;
  45505. function TINT_IEC1.getRTCCIE : TBits_1; inline;
  45506. begin
  45507. getRTCCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45508. end;
  45509. procedure TINT_IEC1.setDMA0IE; inline;
  45510. begin
  45511. pTDefRegMap(@Self)^.&set := $00010000;
  45512. end;
  45513. procedure TINT_IEC1.clearDMA0IE; inline;
  45514. begin
  45515. pTDefRegMap(@Self)^.clr := $00010000;
  45516. end;
  45517. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  45518. begin
  45519. if thebits = 0 then
  45520. pTDefRegMap(@Self)^.clr := $00010000
  45521. else
  45522. pTDefRegMap(@Self)^.&set := $00010000;
  45523. end;
  45524. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  45525. begin
  45526. getDMA0IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  45527. end;
  45528. procedure TINT_IEC1.setDMA1IE; inline;
  45529. begin
  45530. pTDefRegMap(@Self)^.&set := $00020000;
  45531. end;
  45532. procedure TINT_IEC1.clearDMA1IE; inline;
  45533. begin
  45534. pTDefRegMap(@Self)^.clr := $00020000;
  45535. end;
  45536. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  45537. begin
  45538. if thebits = 0 then
  45539. pTDefRegMap(@Self)^.clr := $00020000
  45540. else
  45541. pTDefRegMap(@Self)^.&set := $00020000;
  45542. end;
  45543. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  45544. begin
  45545. getDMA1IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  45546. end;
  45547. procedure TINT_IEC1.setDMA2IE; inline;
  45548. begin
  45549. pTDefRegMap(@Self)^.&set := $00040000;
  45550. end;
  45551. procedure TINT_IEC1.clearDMA2IE; inline;
  45552. begin
  45553. pTDefRegMap(@Self)^.clr := $00040000;
  45554. end;
  45555. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  45556. begin
  45557. if thebits = 0 then
  45558. pTDefRegMap(@Self)^.clr := $00040000
  45559. else
  45560. pTDefRegMap(@Self)^.&set := $00040000;
  45561. end;
  45562. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  45563. begin
  45564. getDMA2IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  45565. end;
  45566. procedure TINT_IEC1.setDMA3IE; inline;
  45567. begin
  45568. pTDefRegMap(@Self)^.&set := $00080000;
  45569. end;
  45570. procedure TINT_IEC1.clearDMA3IE; inline;
  45571. begin
  45572. pTDefRegMap(@Self)^.clr := $00080000;
  45573. end;
  45574. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  45575. begin
  45576. if thebits = 0 then
  45577. pTDefRegMap(@Self)^.clr := $00080000
  45578. else
  45579. pTDefRegMap(@Self)^.&set := $00080000;
  45580. end;
  45581. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  45582. begin
  45583. getDMA3IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  45584. end;
  45585. procedure TINT_IEC1.setFCEIE; inline;
  45586. begin
  45587. pTDefRegMap(@Self)^.&set := $01000000;
  45588. end;
  45589. procedure TINT_IEC1.clearFCEIE; inline;
  45590. begin
  45591. pTDefRegMap(@Self)^.clr := $01000000;
  45592. end;
  45593. procedure TINT_IEC1.setFCEIE(thebits : TBits_1); inline;
  45594. begin
  45595. if thebits = 0 then
  45596. pTDefRegMap(@Self)^.clr := $01000000
  45597. else
  45598. pTDefRegMap(@Self)^.&set := $01000000;
  45599. end;
  45600. function TINT_IEC1.getFCEIE : TBits_1; inline;
  45601. begin
  45602. getFCEIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  45603. end;
  45604. procedure TINT_IEC1.setUSBIE; inline;
  45605. begin
  45606. pTDefRegMap(@Self)^.&set := $02000000;
  45607. end;
  45608. procedure TINT_IEC1.clearUSBIE; inline;
  45609. begin
  45610. pTDefRegMap(@Self)^.clr := $02000000;
  45611. end;
  45612. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  45613. begin
  45614. if thebits = 0 then
  45615. pTDefRegMap(@Self)^.clr := $02000000
  45616. else
  45617. pTDefRegMap(@Self)^.&set := $02000000;
  45618. end;
  45619. function TINT_IEC1.getUSBIE : TBits_1; inline;
  45620. begin
  45621. getUSBIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  45622. end;
  45623. procedure TINT_IEC1.setETHIE; inline;
  45624. begin
  45625. pTDefRegMap(@Self)^.&set := $10000000;
  45626. end;
  45627. procedure TINT_IEC1.clearETHIE; inline;
  45628. begin
  45629. pTDefRegMap(@Self)^.clr := $10000000;
  45630. end;
  45631. procedure TINT_IEC1.setETHIE(thebits : TBits_1); inline;
  45632. begin
  45633. if thebits = 0 then
  45634. pTDefRegMap(@Self)^.clr := $10000000
  45635. else
  45636. pTDefRegMap(@Self)^.&set := $10000000;
  45637. end;
  45638. function TINT_IEC1.getETHIE : TBits_1; inline;
  45639. begin
  45640. getETHIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45641. end;
  45642. procedure TINT_IEC1.setIC1EIE; inline;
  45643. begin
  45644. pTDefRegMap(@Self)^.&set := $20000000;
  45645. end;
  45646. procedure TINT_IEC1.clearIC1EIE; inline;
  45647. begin
  45648. pTDefRegMap(@Self)^.clr := $20000000;
  45649. end;
  45650. procedure TINT_IEC1.setIC1EIE(thebits : TBits_1); inline;
  45651. begin
  45652. if thebits = 0 then
  45653. pTDefRegMap(@Self)^.clr := $20000000
  45654. else
  45655. pTDefRegMap(@Self)^.&set := $20000000;
  45656. end;
  45657. function TINT_IEC1.getIC1EIE : TBits_1; inline;
  45658. begin
  45659. getIC1EIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  45660. end;
  45661. procedure TINT_IEC1.setIC2EIE; inline;
  45662. begin
  45663. pTDefRegMap(@Self)^.&set := $40000000;
  45664. end;
  45665. procedure TINT_IEC1.clearIC2EIE; inline;
  45666. begin
  45667. pTDefRegMap(@Self)^.clr := $40000000;
  45668. end;
  45669. procedure TINT_IEC1.setIC2EIE(thebits : TBits_1); inline;
  45670. begin
  45671. if thebits = 0 then
  45672. pTDefRegMap(@Self)^.clr := $40000000
  45673. else
  45674. pTDefRegMap(@Self)^.&set := $40000000;
  45675. end;
  45676. function TINT_IEC1.getIC2EIE : TBits_1; inline;
  45677. begin
  45678. getIC2EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  45679. end;
  45680. procedure TINT_IEC1.setIC3EIE; inline;
  45681. begin
  45682. pTDefRegMap(@Self)^.&set := $80000000;
  45683. end;
  45684. procedure TINT_IEC1.clearIC3EIE; inline;
  45685. begin
  45686. pTDefRegMap(@Self)^.clr := $80000000;
  45687. end;
  45688. procedure TINT_IEC1.setIC3EIE(thebits : TBits_1); inline;
  45689. begin
  45690. if thebits = 0 then
  45691. pTDefRegMap(@Self)^.clr := $80000000
  45692. else
  45693. pTDefRegMap(@Self)^.&set := $80000000;
  45694. end;
  45695. function TINT_IEC1.getIC3EIE : TBits_1; inline;
  45696. begin
  45697. getIC3EIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  45698. end;
  45699. procedure TINT_IEC1.setU2AEIE; inline;
  45700. begin
  45701. pTDefRegMap(@Self)^.&set := $00000020;
  45702. end;
  45703. procedure TINT_IEC1.clearU2AEIE; inline;
  45704. begin
  45705. pTDefRegMap(@Self)^.clr := $00000020;
  45706. end;
  45707. procedure TINT_IEC1.setU2AEIE(thebits : TBits_1); inline;
  45708. begin
  45709. if thebits = 0 then
  45710. pTDefRegMap(@Self)^.clr := $00000020
  45711. else
  45712. pTDefRegMap(@Self)^.&set := $00000020;
  45713. end;
  45714. function TINT_IEC1.getU2AEIE : TBits_1; inline;
  45715. begin
  45716. getU2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45717. end;
  45718. procedure TINT_IEC1.setU2ARXIE; inline;
  45719. begin
  45720. pTDefRegMap(@Self)^.&set := $00000040;
  45721. end;
  45722. procedure TINT_IEC1.clearU2ARXIE; inline;
  45723. begin
  45724. pTDefRegMap(@Self)^.clr := $00000040;
  45725. end;
  45726. procedure TINT_IEC1.setU2ARXIE(thebits : TBits_1); inline;
  45727. begin
  45728. if thebits = 0 then
  45729. pTDefRegMap(@Self)^.clr := $00000040
  45730. else
  45731. pTDefRegMap(@Self)^.&set := $00000040;
  45732. end;
  45733. function TINT_IEC1.getU2ARXIE : TBits_1; inline;
  45734. begin
  45735. getU2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45736. end;
  45737. procedure TINT_IEC1.setU2ATXIE; inline;
  45738. begin
  45739. pTDefRegMap(@Self)^.&set := $00000080;
  45740. end;
  45741. procedure TINT_IEC1.clearU2ATXIE; inline;
  45742. begin
  45743. pTDefRegMap(@Self)^.clr := $00000080;
  45744. end;
  45745. procedure TINT_IEC1.setU2ATXIE(thebits : TBits_1); inline;
  45746. begin
  45747. if thebits = 0 then
  45748. pTDefRegMap(@Self)^.clr := $00000080
  45749. else
  45750. pTDefRegMap(@Self)^.&set := $00000080;
  45751. end;
  45752. function TINT_IEC1.getU2ATXIE : TBits_1; inline;
  45753. begin
  45754. getU2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45755. end;
  45756. procedure TINT_IEC1.setU3AEIE; inline;
  45757. begin
  45758. pTDefRegMap(@Self)^.&set := $00000100;
  45759. end;
  45760. procedure TINT_IEC1.clearU3AEIE; inline;
  45761. begin
  45762. pTDefRegMap(@Self)^.clr := $00000100;
  45763. end;
  45764. procedure TINT_IEC1.setU3AEIE(thebits : TBits_1); inline;
  45765. begin
  45766. if thebits = 0 then
  45767. pTDefRegMap(@Self)^.clr := $00000100
  45768. else
  45769. pTDefRegMap(@Self)^.&set := $00000100;
  45770. end;
  45771. function TINT_IEC1.getU3AEIE : TBits_1; inline;
  45772. begin
  45773. getU3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45774. end;
  45775. procedure TINT_IEC1.setU3ARXIE; inline;
  45776. begin
  45777. pTDefRegMap(@Self)^.&set := $00000200;
  45778. end;
  45779. procedure TINT_IEC1.clearU3ARXIE; inline;
  45780. begin
  45781. pTDefRegMap(@Self)^.clr := $00000200;
  45782. end;
  45783. procedure TINT_IEC1.setU3ARXIE(thebits : TBits_1); inline;
  45784. begin
  45785. if thebits = 0 then
  45786. pTDefRegMap(@Self)^.clr := $00000200
  45787. else
  45788. pTDefRegMap(@Self)^.&set := $00000200;
  45789. end;
  45790. function TINT_IEC1.getU3ARXIE : TBits_1; inline;
  45791. begin
  45792. getU3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45793. end;
  45794. procedure TINT_IEC1.setU3ATXIE; inline;
  45795. begin
  45796. pTDefRegMap(@Self)^.&set := $00000400;
  45797. end;
  45798. procedure TINT_IEC1.clearU3ATXIE; inline;
  45799. begin
  45800. pTDefRegMap(@Self)^.clr := $00000400;
  45801. end;
  45802. procedure TINT_IEC1.setU3ATXIE(thebits : TBits_1); inline;
  45803. begin
  45804. if thebits = 0 then
  45805. pTDefRegMap(@Self)^.clr := $00000400
  45806. else
  45807. pTDefRegMap(@Self)^.&set := $00000400;
  45808. end;
  45809. function TINT_IEC1.getU3ATXIE : TBits_1; inline;
  45810. begin
  45811. getU3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45812. end;
  45813. procedure TINT_IEC1.setSPI2EIE; inline;
  45814. begin
  45815. pTDefRegMap(@Self)^.&set := $00000020;
  45816. end;
  45817. procedure TINT_IEC1.clearSPI2EIE; inline;
  45818. begin
  45819. pTDefRegMap(@Self)^.clr := $00000020;
  45820. end;
  45821. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  45822. begin
  45823. if thebits = 0 then
  45824. pTDefRegMap(@Self)^.clr := $00000020
  45825. else
  45826. pTDefRegMap(@Self)^.&set := $00000020;
  45827. end;
  45828. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  45829. begin
  45830. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45831. end;
  45832. procedure TINT_IEC1.setSPI2RXIE; inline;
  45833. begin
  45834. pTDefRegMap(@Self)^.&set := $00000040;
  45835. end;
  45836. procedure TINT_IEC1.clearSPI2RXIE; inline;
  45837. begin
  45838. pTDefRegMap(@Self)^.clr := $00000040;
  45839. end;
  45840. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  45841. begin
  45842. if thebits = 0 then
  45843. pTDefRegMap(@Self)^.clr := $00000040
  45844. else
  45845. pTDefRegMap(@Self)^.&set := $00000040;
  45846. end;
  45847. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  45848. begin
  45849. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45850. end;
  45851. procedure TINT_IEC1.setSPI2TXIE; inline;
  45852. begin
  45853. pTDefRegMap(@Self)^.&set := $00000080;
  45854. end;
  45855. procedure TINT_IEC1.clearSPI2TXIE; inline;
  45856. begin
  45857. pTDefRegMap(@Self)^.clr := $00000080;
  45858. end;
  45859. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  45860. begin
  45861. if thebits = 0 then
  45862. pTDefRegMap(@Self)^.clr := $00000080
  45863. else
  45864. pTDefRegMap(@Self)^.&set := $00000080;
  45865. end;
  45866. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  45867. begin
  45868. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45869. end;
  45870. procedure TINT_IEC1.setSPI4EIE; inline;
  45871. begin
  45872. pTDefRegMap(@Self)^.&set := $00000100;
  45873. end;
  45874. procedure TINT_IEC1.clearSPI4EIE; inline;
  45875. begin
  45876. pTDefRegMap(@Self)^.clr := $00000100;
  45877. end;
  45878. procedure TINT_IEC1.setSPI4EIE(thebits : TBits_1); inline;
  45879. begin
  45880. if thebits = 0 then
  45881. pTDefRegMap(@Self)^.clr := $00000100
  45882. else
  45883. pTDefRegMap(@Self)^.&set := $00000100;
  45884. end;
  45885. function TINT_IEC1.getSPI4EIE : TBits_1; inline;
  45886. begin
  45887. getSPI4EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45888. end;
  45889. procedure TINT_IEC1.setSPI4RXIE; inline;
  45890. begin
  45891. pTDefRegMap(@Self)^.&set := $00000200;
  45892. end;
  45893. procedure TINT_IEC1.clearSPI4RXIE; inline;
  45894. begin
  45895. pTDefRegMap(@Self)^.clr := $00000200;
  45896. end;
  45897. procedure TINT_IEC1.setSPI4RXIE(thebits : TBits_1); inline;
  45898. begin
  45899. if thebits = 0 then
  45900. pTDefRegMap(@Self)^.clr := $00000200
  45901. else
  45902. pTDefRegMap(@Self)^.&set := $00000200;
  45903. end;
  45904. function TINT_IEC1.getSPI4RXIE : TBits_1; inline;
  45905. begin
  45906. getSPI4RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45907. end;
  45908. procedure TINT_IEC1.setSPI4TXIE; inline;
  45909. begin
  45910. pTDefRegMap(@Self)^.&set := $00000400;
  45911. end;
  45912. procedure TINT_IEC1.clearSPI4TXIE; inline;
  45913. begin
  45914. pTDefRegMap(@Self)^.clr := $00000400;
  45915. end;
  45916. procedure TINT_IEC1.setSPI4TXIE(thebits : TBits_1); inline;
  45917. begin
  45918. if thebits = 0 then
  45919. pTDefRegMap(@Self)^.clr := $00000400
  45920. else
  45921. pTDefRegMap(@Self)^.&set := $00000400;
  45922. end;
  45923. function TINT_IEC1.getSPI4TXIE : TBits_1; inline;
  45924. begin
  45925. getSPI4TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45926. end;
  45927. procedure TINT_IEC1.setSPI2AEIE; inline;
  45928. begin
  45929. pTDefRegMap(@Self)^.&set := $00000020;
  45930. end;
  45931. procedure TINT_IEC1.clearSPI2AEIE; inline;
  45932. begin
  45933. pTDefRegMap(@Self)^.clr := $00000020;
  45934. end;
  45935. procedure TINT_IEC1.setSPI2AEIE(thebits : TBits_1); inline;
  45936. begin
  45937. if thebits = 0 then
  45938. pTDefRegMap(@Self)^.clr := $00000020
  45939. else
  45940. pTDefRegMap(@Self)^.&set := $00000020;
  45941. end;
  45942. function TINT_IEC1.getSPI2AEIE : TBits_1; inline;
  45943. begin
  45944. getSPI2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45945. end;
  45946. procedure TINT_IEC1.setSPI2ARXIE; inline;
  45947. begin
  45948. pTDefRegMap(@Self)^.&set := $00000040;
  45949. end;
  45950. procedure TINT_IEC1.clearSPI2ARXIE; inline;
  45951. begin
  45952. pTDefRegMap(@Self)^.clr := $00000040;
  45953. end;
  45954. procedure TINT_IEC1.setSPI2ARXIE(thebits : TBits_1); inline;
  45955. begin
  45956. if thebits = 0 then
  45957. pTDefRegMap(@Self)^.clr := $00000040
  45958. else
  45959. pTDefRegMap(@Self)^.&set := $00000040;
  45960. end;
  45961. function TINT_IEC1.getSPI2ARXIE : TBits_1; inline;
  45962. begin
  45963. getSPI2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45964. end;
  45965. procedure TINT_IEC1.setSPI2ATXIE; inline;
  45966. begin
  45967. pTDefRegMap(@Self)^.&set := $00000080;
  45968. end;
  45969. procedure TINT_IEC1.clearSPI2ATXIE; inline;
  45970. begin
  45971. pTDefRegMap(@Self)^.clr := $00000080;
  45972. end;
  45973. procedure TINT_IEC1.setSPI2ATXIE(thebits : TBits_1); inline;
  45974. begin
  45975. if thebits = 0 then
  45976. pTDefRegMap(@Self)^.clr := $00000080
  45977. else
  45978. pTDefRegMap(@Self)^.&set := $00000080;
  45979. end;
  45980. function TINT_IEC1.getSPI2ATXIE : TBits_1; inline;
  45981. begin
  45982. getSPI2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45983. end;
  45984. procedure TINT_IEC1.setSPI3AEIE; inline;
  45985. begin
  45986. pTDefRegMap(@Self)^.&set := $00000100;
  45987. end;
  45988. procedure TINT_IEC1.clearSPI3AEIE; inline;
  45989. begin
  45990. pTDefRegMap(@Self)^.clr := $00000100;
  45991. end;
  45992. procedure TINT_IEC1.setSPI3AEIE(thebits : TBits_1); inline;
  45993. begin
  45994. if thebits = 0 then
  45995. pTDefRegMap(@Self)^.clr := $00000100
  45996. else
  45997. pTDefRegMap(@Self)^.&set := $00000100;
  45998. end;
  45999. function TINT_IEC1.getSPI3AEIE : TBits_1; inline;
  46000. begin
  46001. getSPI3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46002. end;
  46003. procedure TINT_IEC1.setSPI3ARXIE; inline;
  46004. begin
  46005. pTDefRegMap(@Self)^.&set := $00000200;
  46006. end;
  46007. procedure TINT_IEC1.clearSPI3ARXIE; inline;
  46008. begin
  46009. pTDefRegMap(@Self)^.clr := $00000200;
  46010. end;
  46011. procedure TINT_IEC1.setSPI3ARXIE(thebits : TBits_1); inline;
  46012. begin
  46013. if thebits = 0 then
  46014. pTDefRegMap(@Self)^.clr := $00000200
  46015. else
  46016. pTDefRegMap(@Self)^.&set := $00000200;
  46017. end;
  46018. function TINT_IEC1.getSPI3ARXIE : TBits_1; inline;
  46019. begin
  46020. getSPI3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46021. end;
  46022. procedure TINT_IEC1.setSPI3ATXIE; inline;
  46023. begin
  46024. pTDefRegMap(@Self)^.&set := $00000400;
  46025. end;
  46026. procedure TINT_IEC1.clearSPI3ATXIE; inline;
  46027. begin
  46028. pTDefRegMap(@Self)^.clr := $00000400;
  46029. end;
  46030. procedure TINT_IEC1.setSPI3ATXIE(thebits : TBits_1); inline;
  46031. begin
  46032. if thebits = 0 then
  46033. pTDefRegMap(@Self)^.clr := $00000400
  46034. else
  46035. pTDefRegMap(@Self)^.&set := $00000400;
  46036. end;
  46037. function TINT_IEC1.getSPI3ATXIE : TBits_1; inline;
  46038. begin
  46039. getSPI3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46040. end;
  46041. procedure TINT_IEC1.setI2C4BIE; inline;
  46042. begin
  46043. pTDefRegMap(@Self)^.&set := $00000020;
  46044. end;
  46045. procedure TINT_IEC1.clearI2C4BIE; inline;
  46046. begin
  46047. pTDefRegMap(@Self)^.clr := $00000020;
  46048. end;
  46049. procedure TINT_IEC1.setI2C4BIE(thebits : TBits_1); inline;
  46050. begin
  46051. if thebits = 0 then
  46052. pTDefRegMap(@Self)^.clr := $00000020
  46053. else
  46054. pTDefRegMap(@Self)^.&set := $00000020;
  46055. end;
  46056. function TINT_IEC1.getI2C4BIE : TBits_1; inline;
  46057. begin
  46058. getI2C4BIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46059. end;
  46060. procedure TINT_IEC1.setI2C4SIE; inline;
  46061. begin
  46062. pTDefRegMap(@Self)^.&set := $00000040;
  46063. end;
  46064. procedure TINT_IEC1.clearI2C4SIE; inline;
  46065. begin
  46066. pTDefRegMap(@Self)^.clr := $00000040;
  46067. end;
  46068. procedure TINT_IEC1.setI2C4SIE(thebits : TBits_1); inline;
  46069. begin
  46070. if thebits = 0 then
  46071. pTDefRegMap(@Self)^.clr := $00000040
  46072. else
  46073. pTDefRegMap(@Self)^.&set := $00000040;
  46074. end;
  46075. function TINT_IEC1.getI2C4SIE : TBits_1; inline;
  46076. begin
  46077. getI2C4SIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46078. end;
  46079. procedure TINT_IEC1.setI2C4MIE; inline;
  46080. begin
  46081. pTDefRegMap(@Self)^.&set := $00000080;
  46082. end;
  46083. procedure TINT_IEC1.clearI2C4MIE; inline;
  46084. begin
  46085. pTDefRegMap(@Self)^.clr := $00000080;
  46086. end;
  46087. procedure TINT_IEC1.setI2C4MIE(thebits : TBits_1); inline;
  46088. begin
  46089. if thebits = 0 then
  46090. pTDefRegMap(@Self)^.clr := $00000080
  46091. else
  46092. pTDefRegMap(@Self)^.&set := $00000080;
  46093. end;
  46094. function TINT_IEC1.getI2C4MIE : TBits_1; inline;
  46095. begin
  46096. getI2C4MIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46097. end;
  46098. procedure TINT_IEC1.setI2C5BIE; inline;
  46099. begin
  46100. pTDefRegMap(@Self)^.&set := $00000100;
  46101. end;
  46102. procedure TINT_IEC1.clearI2C5BIE; inline;
  46103. begin
  46104. pTDefRegMap(@Self)^.clr := $00000100;
  46105. end;
  46106. procedure TINT_IEC1.setI2C5BIE(thebits : TBits_1); inline;
  46107. begin
  46108. if thebits = 0 then
  46109. pTDefRegMap(@Self)^.clr := $00000100
  46110. else
  46111. pTDefRegMap(@Self)^.&set := $00000100;
  46112. end;
  46113. function TINT_IEC1.getI2C5BIE : TBits_1; inline;
  46114. begin
  46115. getI2C5BIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46116. end;
  46117. procedure TINT_IEC1.setI2C5SIE; inline;
  46118. begin
  46119. pTDefRegMap(@Self)^.&set := $00000200;
  46120. end;
  46121. procedure TINT_IEC1.clearI2C5SIE; inline;
  46122. begin
  46123. pTDefRegMap(@Self)^.clr := $00000200;
  46124. end;
  46125. procedure TINT_IEC1.setI2C5SIE(thebits : TBits_1); inline;
  46126. begin
  46127. if thebits = 0 then
  46128. pTDefRegMap(@Self)^.clr := $00000200
  46129. else
  46130. pTDefRegMap(@Self)^.&set := $00000200;
  46131. end;
  46132. function TINT_IEC1.getI2C5SIE : TBits_1; inline;
  46133. begin
  46134. getI2C5SIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46135. end;
  46136. procedure TINT_IEC1.setI2C5MIE; inline;
  46137. begin
  46138. pTDefRegMap(@Self)^.&set := $00000400;
  46139. end;
  46140. procedure TINT_IEC1.clearI2C5MIE; inline;
  46141. begin
  46142. pTDefRegMap(@Self)^.clr := $00000400;
  46143. end;
  46144. procedure TINT_IEC1.setI2C5MIE(thebits : TBits_1); inline;
  46145. begin
  46146. if thebits = 0 then
  46147. pTDefRegMap(@Self)^.clr := $00000400
  46148. else
  46149. pTDefRegMap(@Self)^.&set := $00000400;
  46150. end;
  46151. function TINT_IEC1.getI2C5MIE : TBits_1; inline;
  46152. begin
  46153. getI2C5MIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46154. end;
  46155. procedure TINT_IEC1.setI2C2ABIE; inline;
  46156. begin
  46157. pTDefRegMap(@Self)^.&set := $00000020;
  46158. end;
  46159. procedure TINT_IEC1.clearI2C2ABIE; inline;
  46160. begin
  46161. pTDefRegMap(@Self)^.clr := $00000020;
  46162. end;
  46163. procedure TINT_IEC1.setI2C2ABIE(thebits : TBits_1); inline;
  46164. begin
  46165. if thebits = 0 then
  46166. pTDefRegMap(@Self)^.clr := $00000020
  46167. else
  46168. pTDefRegMap(@Self)^.&set := $00000020;
  46169. end;
  46170. function TINT_IEC1.getI2C2ABIE : TBits_1; inline;
  46171. begin
  46172. getI2C2ABIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46173. end;
  46174. procedure TINT_IEC1.setI2C2ASIE; inline;
  46175. begin
  46176. pTDefRegMap(@Self)^.&set := $00000040;
  46177. end;
  46178. procedure TINT_IEC1.clearI2C2ASIE; inline;
  46179. begin
  46180. pTDefRegMap(@Self)^.clr := $00000040;
  46181. end;
  46182. procedure TINT_IEC1.setI2C2ASIE(thebits : TBits_1); inline;
  46183. begin
  46184. if thebits = 0 then
  46185. pTDefRegMap(@Self)^.clr := $00000040
  46186. else
  46187. pTDefRegMap(@Self)^.&set := $00000040;
  46188. end;
  46189. function TINT_IEC1.getI2C2ASIE : TBits_1; inline;
  46190. begin
  46191. getI2C2ASIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46192. end;
  46193. procedure TINT_IEC1.setI2C2AMIE; inline;
  46194. begin
  46195. pTDefRegMap(@Self)^.&set := $00000080;
  46196. end;
  46197. procedure TINT_IEC1.clearI2C2AMIE; inline;
  46198. begin
  46199. pTDefRegMap(@Self)^.clr := $00000080;
  46200. end;
  46201. procedure TINT_IEC1.setI2C2AMIE(thebits : TBits_1); inline;
  46202. begin
  46203. if thebits = 0 then
  46204. pTDefRegMap(@Self)^.clr := $00000080
  46205. else
  46206. pTDefRegMap(@Self)^.&set := $00000080;
  46207. end;
  46208. function TINT_IEC1.getI2C2AMIE : TBits_1; inline;
  46209. begin
  46210. getI2C2AMIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46211. end;
  46212. procedure TINT_IEC1.setI2C3ABIE; inline;
  46213. begin
  46214. pTDefRegMap(@Self)^.&set := $00000100;
  46215. end;
  46216. procedure TINT_IEC1.clearI2C3ABIE; inline;
  46217. begin
  46218. pTDefRegMap(@Self)^.clr := $00000100;
  46219. end;
  46220. procedure TINT_IEC1.setI2C3ABIE(thebits : TBits_1); inline;
  46221. begin
  46222. if thebits = 0 then
  46223. pTDefRegMap(@Self)^.clr := $00000100
  46224. else
  46225. pTDefRegMap(@Self)^.&set := $00000100;
  46226. end;
  46227. function TINT_IEC1.getI2C3ABIE : TBits_1; inline;
  46228. begin
  46229. getI2C3ABIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46230. end;
  46231. procedure TINT_IEC1.setI2C3ASIE; inline;
  46232. begin
  46233. pTDefRegMap(@Self)^.&set := $00000200;
  46234. end;
  46235. procedure TINT_IEC1.clearI2C3ASIE; inline;
  46236. begin
  46237. pTDefRegMap(@Self)^.clr := $00000200;
  46238. end;
  46239. procedure TINT_IEC1.setI2C3ASIE(thebits : TBits_1); inline;
  46240. begin
  46241. if thebits = 0 then
  46242. pTDefRegMap(@Self)^.clr := $00000200
  46243. else
  46244. pTDefRegMap(@Self)^.&set := $00000200;
  46245. end;
  46246. function TINT_IEC1.getI2C3ASIE : TBits_1; inline;
  46247. begin
  46248. getI2C3ASIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46249. end;
  46250. procedure TINT_IEC1.setI2C3AMIE; inline;
  46251. begin
  46252. pTDefRegMap(@Self)^.&set := $00000400;
  46253. end;
  46254. procedure TINT_IEC1.clearI2C3AMIE; inline;
  46255. begin
  46256. pTDefRegMap(@Self)^.clr := $00000400;
  46257. end;
  46258. procedure TINT_IEC1.setI2C3AMIE(thebits : TBits_1); inline;
  46259. begin
  46260. if thebits = 0 then
  46261. pTDefRegMap(@Self)^.clr := $00000400
  46262. else
  46263. pTDefRegMap(@Self)^.&set := $00000400;
  46264. end;
  46265. function TINT_IEC1.getI2C3AMIE : TBits_1; inline;
  46266. begin
  46267. getI2C3AMIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46268. end;
  46269. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  46270. begin
  46271. pTDefRegMap(@Self)^.val := thebits;
  46272. end;
  46273. function TINT_IEC1.getw : TBits_32; inline;
  46274. begin
  46275. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46276. end;
  46277. procedure TINT_IEC2.setIC4EIE; inline;
  46278. begin
  46279. pTDefRegMap(@Self)^.&set := $00000001;
  46280. end;
  46281. procedure TINT_IEC2.clearIC4EIE; inline;
  46282. begin
  46283. pTDefRegMap(@Self)^.clr := $00000001;
  46284. end;
  46285. procedure TINT_IEC2.setIC4EIE(thebits : TBits_1); inline;
  46286. begin
  46287. if thebits = 0 then
  46288. pTDefRegMap(@Self)^.clr := $00000001
  46289. else
  46290. pTDefRegMap(@Self)^.&set := $00000001;
  46291. end;
  46292. function TINT_IEC2.getIC4EIE : TBits_1; inline;
  46293. begin
  46294. getIC4EIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46295. end;
  46296. procedure TINT_IEC2.setIC5EIE; inline;
  46297. begin
  46298. pTDefRegMap(@Self)^.&set := $00000002;
  46299. end;
  46300. procedure TINT_IEC2.clearIC5EIE; inline;
  46301. begin
  46302. pTDefRegMap(@Self)^.clr := $00000002;
  46303. end;
  46304. procedure TINT_IEC2.setIC5EIE(thebits : TBits_1); inline;
  46305. begin
  46306. if thebits = 0 then
  46307. pTDefRegMap(@Self)^.clr := $00000002
  46308. else
  46309. pTDefRegMap(@Self)^.&set := $00000002;
  46310. end;
  46311. function TINT_IEC2.getIC5EIE : TBits_1; inline;
  46312. begin
  46313. getIC5EIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46314. end;
  46315. procedure TINT_IEC2.setPMPEIE; inline;
  46316. begin
  46317. pTDefRegMap(@Self)^.&set := $00000004;
  46318. end;
  46319. procedure TINT_IEC2.clearPMPEIE; inline;
  46320. begin
  46321. pTDefRegMap(@Self)^.clr := $00000004;
  46322. end;
  46323. procedure TINT_IEC2.setPMPEIE(thebits : TBits_1); inline;
  46324. begin
  46325. if thebits = 0 then
  46326. pTDefRegMap(@Self)^.clr := $00000004
  46327. else
  46328. pTDefRegMap(@Self)^.&set := $00000004;
  46329. end;
  46330. function TINT_IEC2.getPMPEIE : TBits_1; inline;
  46331. begin
  46332. getPMPEIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46333. end;
  46334. procedure TINT_IEC2.setU1BEIE; inline;
  46335. begin
  46336. pTDefRegMap(@Self)^.&set := $00000008;
  46337. end;
  46338. procedure TINT_IEC2.clearU1BEIE; inline;
  46339. begin
  46340. pTDefRegMap(@Self)^.clr := $00000008;
  46341. end;
  46342. procedure TINT_IEC2.setU1BEIE(thebits : TBits_1); inline;
  46343. begin
  46344. if thebits = 0 then
  46345. pTDefRegMap(@Self)^.clr := $00000008
  46346. else
  46347. pTDefRegMap(@Self)^.&set := $00000008;
  46348. end;
  46349. function TINT_IEC2.getU1BEIE : TBits_1; inline;
  46350. begin
  46351. getU1BEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46352. end;
  46353. procedure TINT_IEC2.setU1BRXIE; inline;
  46354. begin
  46355. pTDefRegMap(@Self)^.&set := $00000010;
  46356. end;
  46357. procedure TINT_IEC2.clearU1BRXIE; inline;
  46358. begin
  46359. pTDefRegMap(@Self)^.clr := $00000010;
  46360. end;
  46361. procedure TINT_IEC2.setU1BRXIE(thebits : TBits_1); inline;
  46362. begin
  46363. if thebits = 0 then
  46364. pTDefRegMap(@Self)^.clr := $00000010
  46365. else
  46366. pTDefRegMap(@Self)^.&set := $00000010;
  46367. end;
  46368. function TINT_IEC2.getU1BRXIE : TBits_1; inline;
  46369. begin
  46370. getU1BRXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46371. end;
  46372. procedure TINT_IEC2.setU1BTXIE; inline;
  46373. begin
  46374. pTDefRegMap(@Self)^.&set := $00000020;
  46375. end;
  46376. procedure TINT_IEC2.clearU1BTXIE; inline;
  46377. begin
  46378. pTDefRegMap(@Self)^.clr := $00000020;
  46379. end;
  46380. procedure TINT_IEC2.setU1BTXIE(thebits : TBits_1); inline;
  46381. begin
  46382. if thebits = 0 then
  46383. pTDefRegMap(@Self)^.clr := $00000020
  46384. else
  46385. pTDefRegMap(@Self)^.&set := $00000020;
  46386. end;
  46387. function TINT_IEC2.getU1BTXIE : TBits_1; inline;
  46388. begin
  46389. getU1BTXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46390. end;
  46391. procedure TINT_IEC2.setU2BEIE; inline;
  46392. begin
  46393. pTDefRegMap(@Self)^.&set := $00000040;
  46394. end;
  46395. procedure TINT_IEC2.clearU2BEIE; inline;
  46396. begin
  46397. pTDefRegMap(@Self)^.clr := $00000040;
  46398. end;
  46399. procedure TINT_IEC2.setU2BEIE(thebits : TBits_1); inline;
  46400. begin
  46401. if thebits = 0 then
  46402. pTDefRegMap(@Self)^.clr := $00000040
  46403. else
  46404. pTDefRegMap(@Self)^.&set := $00000040;
  46405. end;
  46406. function TINT_IEC2.getU2BEIE : TBits_1; inline;
  46407. begin
  46408. getU2BEIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46409. end;
  46410. procedure TINT_IEC2.setU2BRXIE; inline;
  46411. begin
  46412. pTDefRegMap(@Self)^.&set := $00000080;
  46413. end;
  46414. procedure TINT_IEC2.clearU2BRXIE; inline;
  46415. begin
  46416. pTDefRegMap(@Self)^.clr := $00000080;
  46417. end;
  46418. procedure TINT_IEC2.setU2BRXIE(thebits : TBits_1); inline;
  46419. begin
  46420. if thebits = 0 then
  46421. pTDefRegMap(@Self)^.clr := $00000080
  46422. else
  46423. pTDefRegMap(@Self)^.&set := $00000080;
  46424. end;
  46425. function TINT_IEC2.getU2BRXIE : TBits_1; inline;
  46426. begin
  46427. getU2BRXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46428. end;
  46429. procedure TINT_IEC2.setU2BTXIE; inline;
  46430. begin
  46431. pTDefRegMap(@Self)^.&set := $00000100;
  46432. end;
  46433. procedure TINT_IEC2.clearU2BTXIE; inline;
  46434. begin
  46435. pTDefRegMap(@Self)^.clr := $00000100;
  46436. end;
  46437. procedure TINT_IEC2.setU2BTXIE(thebits : TBits_1); inline;
  46438. begin
  46439. if thebits = 0 then
  46440. pTDefRegMap(@Self)^.clr := $00000100
  46441. else
  46442. pTDefRegMap(@Self)^.&set := $00000100;
  46443. end;
  46444. function TINT_IEC2.getU2BTXIE : TBits_1; inline;
  46445. begin
  46446. getU2BTXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46447. end;
  46448. procedure TINT_IEC2.setU3BEIE; inline;
  46449. begin
  46450. pTDefRegMap(@Self)^.&set := $00000200;
  46451. end;
  46452. procedure TINT_IEC2.clearU3BEIE; inline;
  46453. begin
  46454. pTDefRegMap(@Self)^.clr := $00000200;
  46455. end;
  46456. procedure TINT_IEC2.setU3BEIE(thebits : TBits_1); inline;
  46457. begin
  46458. if thebits = 0 then
  46459. pTDefRegMap(@Self)^.clr := $00000200
  46460. else
  46461. pTDefRegMap(@Self)^.&set := $00000200;
  46462. end;
  46463. function TINT_IEC2.getU3BEIE : TBits_1; inline;
  46464. begin
  46465. getU3BEIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46466. end;
  46467. procedure TINT_IEC2.setU3BRXIE; inline;
  46468. begin
  46469. pTDefRegMap(@Self)^.&set := $00000400;
  46470. end;
  46471. procedure TINT_IEC2.clearU3BRXIE; inline;
  46472. begin
  46473. pTDefRegMap(@Self)^.clr := $00000400;
  46474. end;
  46475. procedure TINT_IEC2.setU3BRXIE(thebits : TBits_1); inline;
  46476. begin
  46477. if thebits = 0 then
  46478. pTDefRegMap(@Self)^.clr := $00000400
  46479. else
  46480. pTDefRegMap(@Self)^.&set := $00000400;
  46481. end;
  46482. function TINT_IEC2.getU3BRXIE : TBits_1; inline;
  46483. begin
  46484. getU3BRXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46485. end;
  46486. procedure TINT_IEC2.setU3BTXIE; inline;
  46487. begin
  46488. pTDefRegMap(@Self)^.&set := $00000800;
  46489. end;
  46490. procedure TINT_IEC2.clearU3BTXIE; inline;
  46491. begin
  46492. pTDefRegMap(@Self)^.clr := $00000800;
  46493. end;
  46494. procedure TINT_IEC2.setU3BTXIE(thebits : TBits_1); inline;
  46495. begin
  46496. if thebits = 0 then
  46497. pTDefRegMap(@Self)^.clr := $00000800
  46498. else
  46499. pTDefRegMap(@Self)^.&set := $00000800;
  46500. end;
  46501. function TINT_IEC2.getU3BTXIE : TBits_1; inline;
  46502. begin
  46503. getU3BTXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46504. end;
  46505. procedure TINT_IEC2.setU4EIE; inline;
  46506. begin
  46507. pTDefRegMap(@Self)^.&set := $00000008;
  46508. end;
  46509. procedure TINT_IEC2.clearU4EIE; inline;
  46510. begin
  46511. pTDefRegMap(@Self)^.clr := $00000008;
  46512. end;
  46513. procedure TINT_IEC2.setU4EIE(thebits : TBits_1); inline;
  46514. begin
  46515. if thebits = 0 then
  46516. pTDefRegMap(@Self)^.clr := $00000008
  46517. else
  46518. pTDefRegMap(@Self)^.&set := $00000008;
  46519. end;
  46520. function TINT_IEC2.getU4EIE : TBits_1; inline;
  46521. begin
  46522. getU4EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46523. end;
  46524. procedure TINT_IEC2.setU4RXIE; inline;
  46525. begin
  46526. pTDefRegMap(@Self)^.&set := $00000010;
  46527. end;
  46528. procedure TINT_IEC2.clearU4RXIE; inline;
  46529. begin
  46530. pTDefRegMap(@Self)^.clr := $00000010;
  46531. end;
  46532. procedure TINT_IEC2.setU4RXIE(thebits : TBits_1); inline;
  46533. begin
  46534. if thebits = 0 then
  46535. pTDefRegMap(@Self)^.clr := $00000010
  46536. else
  46537. pTDefRegMap(@Self)^.&set := $00000010;
  46538. end;
  46539. function TINT_IEC2.getU4RXIE : TBits_1; inline;
  46540. begin
  46541. getU4RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46542. end;
  46543. procedure TINT_IEC2.setU4TXIE; inline;
  46544. begin
  46545. pTDefRegMap(@Self)^.&set := $00000020;
  46546. end;
  46547. procedure TINT_IEC2.clearU4TXIE; inline;
  46548. begin
  46549. pTDefRegMap(@Self)^.clr := $00000020;
  46550. end;
  46551. procedure TINT_IEC2.setU4TXIE(thebits : TBits_1); inline;
  46552. begin
  46553. if thebits = 0 then
  46554. pTDefRegMap(@Self)^.clr := $00000020
  46555. else
  46556. pTDefRegMap(@Self)^.&set := $00000020;
  46557. end;
  46558. function TINT_IEC2.getU4TXIE : TBits_1; inline;
  46559. begin
  46560. getU4TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46561. end;
  46562. procedure TINT_IEC2.setU6EIE; inline;
  46563. begin
  46564. pTDefRegMap(@Self)^.&set := $00000040;
  46565. end;
  46566. procedure TINT_IEC2.clearU6EIE; inline;
  46567. begin
  46568. pTDefRegMap(@Self)^.clr := $00000040;
  46569. end;
  46570. procedure TINT_IEC2.setU6EIE(thebits : TBits_1); inline;
  46571. begin
  46572. if thebits = 0 then
  46573. pTDefRegMap(@Self)^.clr := $00000040
  46574. else
  46575. pTDefRegMap(@Self)^.&set := $00000040;
  46576. end;
  46577. function TINT_IEC2.getU6EIE : TBits_1; inline;
  46578. begin
  46579. getU6EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46580. end;
  46581. procedure TINT_IEC2.setU6RXIE; inline;
  46582. begin
  46583. pTDefRegMap(@Self)^.&set := $00000080;
  46584. end;
  46585. procedure TINT_IEC2.clearU6RXIE; inline;
  46586. begin
  46587. pTDefRegMap(@Self)^.clr := $00000080;
  46588. end;
  46589. procedure TINT_IEC2.setU6RXIE(thebits : TBits_1); inline;
  46590. begin
  46591. if thebits = 0 then
  46592. pTDefRegMap(@Self)^.clr := $00000080
  46593. else
  46594. pTDefRegMap(@Self)^.&set := $00000080;
  46595. end;
  46596. function TINT_IEC2.getU6RXIE : TBits_1; inline;
  46597. begin
  46598. getU6RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46599. end;
  46600. procedure TINT_IEC2.setU6TXIE; inline;
  46601. begin
  46602. pTDefRegMap(@Self)^.&set := $00000100;
  46603. end;
  46604. procedure TINT_IEC2.clearU6TXIE; inline;
  46605. begin
  46606. pTDefRegMap(@Self)^.clr := $00000100;
  46607. end;
  46608. procedure TINT_IEC2.setU6TXIE(thebits : TBits_1); inline;
  46609. begin
  46610. if thebits = 0 then
  46611. pTDefRegMap(@Self)^.clr := $00000100
  46612. else
  46613. pTDefRegMap(@Self)^.&set := $00000100;
  46614. end;
  46615. function TINT_IEC2.getU6TXIE : TBits_1; inline;
  46616. begin
  46617. getU6TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46618. end;
  46619. procedure TINT_IEC2.setU5EIE; inline;
  46620. begin
  46621. pTDefRegMap(@Self)^.&set := $00000200;
  46622. end;
  46623. procedure TINT_IEC2.clearU5EIE; inline;
  46624. begin
  46625. pTDefRegMap(@Self)^.clr := $00000200;
  46626. end;
  46627. procedure TINT_IEC2.setU5EIE(thebits : TBits_1); inline;
  46628. begin
  46629. if thebits = 0 then
  46630. pTDefRegMap(@Self)^.clr := $00000200
  46631. else
  46632. pTDefRegMap(@Self)^.&set := $00000200;
  46633. end;
  46634. function TINT_IEC2.getU5EIE : TBits_1; inline;
  46635. begin
  46636. getU5EIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46637. end;
  46638. procedure TINT_IEC2.setU5RXIE; inline;
  46639. begin
  46640. pTDefRegMap(@Self)^.&set := $00000400;
  46641. end;
  46642. procedure TINT_IEC2.clearU5RXIE; inline;
  46643. begin
  46644. pTDefRegMap(@Self)^.clr := $00000400;
  46645. end;
  46646. procedure TINT_IEC2.setU5RXIE(thebits : TBits_1); inline;
  46647. begin
  46648. if thebits = 0 then
  46649. pTDefRegMap(@Self)^.clr := $00000400
  46650. else
  46651. pTDefRegMap(@Self)^.&set := $00000400;
  46652. end;
  46653. function TINT_IEC2.getU5RXIE : TBits_1; inline;
  46654. begin
  46655. getU5RXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46656. end;
  46657. procedure TINT_IEC2.setU5TXIE; inline;
  46658. begin
  46659. pTDefRegMap(@Self)^.&set := $00000800;
  46660. end;
  46661. procedure TINT_IEC2.clearU5TXIE; inline;
  46662. begin
  46663. pTDefRegMap(@Self)^.clr := $00000800;
  46664. end;
  46665. procedure TINT_IEC2.setU5TXIE(thebits : TBits_1); inline;
  46666. begin
  46667. if thebits = 0 then
  46668. pTDefRegMap(@Self)^.clr := $00000800
  46669. else
  46670. pTDefRegMap(@Self)^.&set := $00000800;
  46671. end;
  46672. function TINT_IEC2.getU5TXIE : TBits_1; inline;
  46673. begin
  46674. getU5TXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46675. end;
  46676. procedure TINT_IEC2.setw(thebits : TBits_32); inline;
  46677. begin
  46678. pTDefRegMap(@Self)^.val := thebits;
  46679. end;
  46680. function TINT_IEC2.getw : TBits_32; inline;
  46681. begin
  46682. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46683. end;
  46684. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  46685. begin
  46686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46687. end;
  46688. function TINT_IPC0.getCTIS : TBits_2; inline;
  46689. begin
  46690. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46691. end;
  46692. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  46693. begin
  46694. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46695. end;
  46696. function TINT_IPC0.getCTIP : TBits_3; inline;
  46697. begin
  46698. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46699. end;
  46700. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  46701. begin
  46702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46703. end;
  46704. function TINT_IPC0.getCS0IS : TBits_2; inline;
  46705. begin
  46706. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46707. end;
  46708. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  46709. begin
  46710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46711. end;
  46712. function TINT_IPC0.getCS0IP : TBits_3; inline;
  46713. begin
  46714. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46715. end;
  46716. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  46717. begin
  46718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46719. end;
  46720. function TINT_IPC0.getCS1IS : TBits_2; inline;
  46721. begin
  46722. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46723. end;
  46724. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  46725. begin
  46726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46727. end;
  46728. function TINT_IPC0.getCS1IP : TBits_3; inline;
  46729. begin
  46730. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46731. end;
  46732. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  46733. begin
  46734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46735. end;
  46736. function TINT_IPC0.getINT0IS : TBits_2; inline;
  46737. begin
  46738. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46739. end;
  46740. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  46741. begin
  46742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46743. end;
  46744. function TINT_IPC0.getINT0IP : TBits_3; inline;
  46745. begin
  46746. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46747. end;
  46748. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  46749. begin
  46750. pTDefRegMap(@Self)^.val := thebits;
  46751. end;
  46752. function TINT_IPC0.getw : TBits_32; inline;
  46753. begin
  46754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46755. end;
  46756. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  46757. begin
  46758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46759. end;
  46760. function TINT_IPC1.getT1IS : TBits_2; inline;
  46761. begin
  46762. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46763. end;
  46764. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  46765. begin
  46766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46767. end;
  46768. function TINT_IPC1.getT1IP : TBits_3; inline;
  46769. begin
  46770. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46771. end;
  46772. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  46773. begin
  46774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46775. end;
  46776. function TINT_IPC1.getIC1IS : TBits_2; inline;
  46777. begin
  46778. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46779. end;
  46780. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  46781. begin
  46782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46783. end;
  46784. function TINT_IPC1.getIC1IP : TBits_3; inline;
  46785. begin
  46786. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46787. end;
  46788. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  46789. begin
  46790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46791. end;
  46792. function TINT_IPC1.getOC1IS : TBits_2; inline;
  46793. begin
  46794. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46795. end;
  46796. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  46797. begin
  46798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46799. end;
  46800. function TINT_IPC1.getOC1IP : TBits_3; inline;
  46801. begin
  46802. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46803. end;
  46804. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  46805. begin
  46806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46807. end;
  46808. function TINT_IPC1.getINT1IS : TBits_2; inline;
  46809. begin
  46810. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46811. end;
  46812. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  46813. begin
  46814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46815. end;
  46816. function TINT_IPC1.getINT1IP : TBits_3; inline;
  46817. begin
  46818. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46819. end;
  46820. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  46821. begin
  46822. pTDefRegMap(@Self)^.val := thebits;
  46823. end;
  46824. function TINT_IPC1.getw : TBits_32; inline;
  46825. begin
  46826. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46827. end;
  46828. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  46829. begin
  46830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46831. end;
  46832. function TINT_IPC2.getT2IS : TBits_2; inline;
  46833. begin
  46834. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46835. end;
  46836. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  46837. begin
  46838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46839. end;
  46840. function TINT_IPC2.getT2IP : TBits_3; inline;
  46841. begin
  46842. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46843. end;
  46844. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  46845. begin
  46846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46847. end;
  46848. function TINT_IPC2.getIC2IS : TBits_2; inline;
  46849. begin
  46850. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46851. end;
  46852. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  46853. begin
  46854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46855. end;
  46856. function TINT_IPC2.getIC2IP : TBits_3; inline;
  46857. begin
  46858. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46859. end;
  46860. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  46861. begin
  46862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46863. end;
  46864. function TINT_IPC2.getOC2IS : TBits_2; inline;
  46865. begin
  46866. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46867. end;
  46868. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  46869. begin
  46870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46871. end;
  46872. function TINT_IPC2.getOC2IP : TBits_3; inline;
  46873. begin
  46874. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46875. end;
  46876. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  46877. begin
  46878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46879. end;
  46880. function TINT_IPC2.getINT2IS : TBits_2; inline;
  46881. begin
  46882. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46883. end;
  46884. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  46885. begin
  46886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46887. end;
  46888. function TINT_IPC2.getINT2IP : TBits_3; inline;
  46889. begin
  46890. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46891. end;
  46892. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  46893. begin
  46894. pTDefRegMap(@Self)^.val := thebits;
  46895. end;
  46896. function TINT_IPC2.getw : TBits_32; inline;
  46897. begin
  46898. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46899. end;
  46900. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  46901. begin
  46902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46903. end;
  46904. function TINT_IPC3.getT3IS : TBits_2; inline;
  46905. begin
  46906. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46907. end;
  46908. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  46909. begin
  46910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46911. end;
  46912. function TINT_IPC3.getT3IP : TBits_3; inline;
  46913. begin
  46914. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46915. end;
  46916. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  46917. begin
  46918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46919. end;
  46920. function TINT_IPC3.getIC3IS : TBits_2; inline;
  46921. begin
  46922. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46923. end;
  46924. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  46925. begin
  46926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46927. end;
  46928. function TINT_IPC3.getIC3IP : TBits_3; inline;
  46929. begin
  46930. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46931. end;
  46932. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  46933. begin
  46934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46935. end;
  46936. function TINT_IPC3.getOC3IS : TBits_2; inline;
  46937. begin
  46938. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46939. end;
  46940. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  46941. begin
  46942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46943. end;
  46944. function TINT_IPC3.getOC3IP : TBits_3; inline;
  46945. begin
  46946. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46947. end;
  46948. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  46949. begin
  46950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46951. end;
  46952. function TINT_IPC3.getINT3IS : TBits_2; inline;
  46953. begin
  46954. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46955. end;
  46956. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  46957. begin
  46958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46959. end;
  46960. function TINT_IPC3.getINT3IP : TBits_3; inline;
  46961. begin
  46962. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46963. end;
  46964. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  46965. begin
  46966. pTDefRegMap(@Self)^.val := thebits;
  46967. end;
  46968. function TINT_IPC3.getw : TBits_32; inline;
  46969. begin
  46970. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46971. end;
  46972. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  46973. begin
  46974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46975. end;
  46976. function TINT_IPC4.getT4IS : TBits_2; inline;
  46977. begin
  46978. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46979. end;
  46980. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  46981. begin
  46982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46983. end;
  46984. function TINT_IPC4.getT4IP : TBits_3; inline;
  46985. begin
  46986. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46987. end;
  46988. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  46989. begin
  46990. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46991. end;
  46992. function TINT_IPC4.getIC4IS : TBits_2; inline;
  46993. begin
  46994. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46995. end;
  46996. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  46997. begin
  46998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46999. end;
  47000. function TINT_IPC4.getIC4IP : TBits_3; inline;
  47001. begin
  47002. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47003. end;
  47004. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  47005. begin
  47006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47007. end;
  47008. function TINT_IPC4.getOC4IS : TBits_2; inline;
  47009. begin
  47010. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47011. end;
  47012. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  47013. begin
  47014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47015. end;
  47016. function TINT_IPC4.getOC4IP : TBits_3; inline;
  47017. begin
  47018. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47019. end;
  47020. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  47021. begin
  47022. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47023. end;
  47024. function TINT_IPC4.getINT4IS : TBits_2; inline;
  47025. begin
  47026. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47027. end;
  47028. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  47029. begin
  47030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47031. end;
  47032. function TINT_IPC4.getINT4IP : TBits_3; inline;
  47033. begin
  47034. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47035. end;
  47036. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  47037. begin
  47038. pTDefRegMap(@Self)^.val := thebits;
  47039. end;
  47040. function TINT_IPC4.getw : TBits_32; inline;
  47041. begin
  47042. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47043. end;
  47044. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  47045. begin
  47046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47047. end;
  47048. function TINT_IPC5.getT5IS : TBits_2; inline;
  47049. begin
  47050. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47051. end;
  47052. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  47053. begin
  47054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47055. end;
  47056. function TINT_IPC5.getT5IP : TBits_3; inline;
  47057. begin
  47058. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47059. end;
  47060. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  47061. begin
  47062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47063. end;
  47064. function TINT_IPC5.getIC5IS : TBits_2; inline;
  47065. begin
  47066. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47067. end;
  47068. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  47069. begin
  47070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47071. end;
  47072. function TINT_IPC5.getIC5IP : TBits_3; inline;
  47073. begin
  47074. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47075. end;
  47076. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  47077. begin
  47078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47079. end;
  47080. function TINT_IPC5.getOC5IS : TBits_2; inline;
  47081. begin
  47082. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47083. end;
  47084. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  47085. begin
  47086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47087. end;
  47088. function TINT_IPC5.getOC5IP : TBits_3; inline;
  47089. begin
  47090. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47091. end;
  47092. procedure TINT_IPC5.setSPI1IS(thebits : TBits_2); inline;
  47093. begin
  47094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47095. end;
  47096. function TINT_IPC5.getSPI1IS : TBits_2; inline;
  47097. begin
  47098. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47099. end;
  47100. procedure TINT_IPC5.setSPI1IP(thebits : TBits_3); inline;
  47101. begin
  47102. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47103. end;
  47104. function TINT_IPC5.getSPI1IP : TBits_3; inline;
  47105. begin
  47106. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47107. end;
  47108. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  47109. begin
  47110. pTDefRegMap(@Self)^.val := thebits;
  47111. end;
  47112. function TINT_IPC5.getw : TBits_32; inline;
  47113. begin
  47114. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47115. end;
  47116. procedure TINT_IPC6.setU1IS(thebits : TBits_2); inline;
  47117. begin
  47118. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47119. end;
  47120. function TINT_IPC6.getU1IS : TBits_2; inline;
  47121. begin
  47122. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47123. end;
  47124. procedure TINT_IPC6.setU1IP(thebits : TBits_3); inline;
  47125. begin
  47126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47127. end;
  47128. function TINT_IPC6.getU1IP : TBits_3; inline;
  47129. begin
  47130. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47131. end;
  47132. procedure TINT_IPC6.setI2C1IS(thebits : TBits_2); inline;
  47133. begin
  47134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47135. end;
  47136. function TINT_IPC6.getI2C1IS : TBits_2; inline;
  47137. begin
  47138. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47139. end;
  47140. procedure TINT_IPC6.setI2C1IP(thebits : TBits_3); inline;
  47141. begin
  47142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47143. end;
  47144. function TINT_IPC6.getI2C1IP : TBits_3; inline;
  47145. begin
  47146. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47147. end;
  47148. procedure TINT_IPC6.setCNIS(thebits : TBits_2); inline;
  47149. begin
  47150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47151. end;
  47152. function TINT_IPC6.getCNIS : TBits_2; inline;
  47153. begin
  47154. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47155. end;
  47156. procedure TINT_IPC6.setCNIP(thebits : TBits_3); inline;
  47157. begin
  47158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47159. end;
  47160. function TINT_IPC6.getCNIP : TBits_3; inline;
  47161. begin
  47162. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47163. end;
  47164. procedure TINT_IPC6.setAD1IS(thebits : TBits_2); inline;
  47165. begin
  47166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47167. end;
  47168. function TINT_IPC6.getAD1IS : TBits_2; inline;
  47169. begin
  47170. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47171. end;
  47172. procedure TINT_IPC6.setAD1IP(thebits : TBits_3); inline;
  47173. begin
  47174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47175. end;
  47176. function TINT_IPC6.getAD1IP : TBits_3; inline;
  47177. begin
  47178. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47179. end;
  47180. procedure TINT_IPC6.setU1AIS(thebits : TBits_2); inline;
  47181. begin
  47182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47183. end;
  47184. function TINT_IPC6.getU1AIS : TBits_2; inline;
  47185. begin
  47186. getU1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47187. end;
  47188. procedure TINT_IPC6.setU1AIP(thebits : TBits_3); inline;
  47189. begin
  47190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47191. end;
  47192. function TINT_IPC6.getU1AIP : TBits_3; inline;
  47193. begin
  47194. getU1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47195. end;
  47196. procedure TINT_IPC6.setSPI3IS(thebits : TBits_2); inline;
  47197. begin
  47198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47199. end;
  47200. function TINT_IPC6.getSPI3IS : TBits_2; inline;
  47201. begin
  47202. getSPI3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47203. end;
  47204. procedure TINT_IPC6.setSPI3IP(thebits : TBits_3); inline;
  47205. begin
  47206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47207. end;
  47208. function TINT_IPC6.getSPI3IP : TBits_3; inline;
  47209. begin
  47210. getSPI3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47211. end;
  47212. procedure TINT_IPC6.setSPI1AIS(thebits : TBits_2); inline;
  47213. begin
  47214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47215. end;
  47216. function TINT_IPC6.getSPI1AIS : TBits_2; inline;
  47217. begin
  47218. getSPI1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47219. end;
  47220. procedure TINT_IPC6.setSPI1AIP(thebits : TBits_3); inline;
  47221. begin
  47222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47223. end;
  47224. function TINT_IPC6.getSPI1AIP : TBits_3; inline;
  47225. begin
  47226. getSPI1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47227. end;
  47228. procedure TINT_IPC6.setI2C3IS(thebits : TBits_2); inline;
  47229. begin
  47230. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47231. end;
  47232. function TINT_IPC6.getI2C3IS : TBits_2; inline;
  47233. begin
  47234. getI2C3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47235. end;
  47236. procedure TINT_IPC6.setI2C3IP(thebits : TBits_3); inline;
  47237. begin
  47238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47239. end;
  47240. function TINT_IPC6.getI2C3IP : TBits_3; inline;
  47241. begin
  47242. getI2C3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47243. end;
  47244. procedure TINT_IPC6.setI2C1AIS(thebits : TBits_2); inline;
  47245. begin
  47246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47247. end;
  47248. function TINT_IPC6.getI2C1AIS : TBits_2; inline;
  47249. begin
  47250. getI2C1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47251. end;
  47252. procedure TINT_IPC6.setI2C1AIP(thebits : TBits_3); inline;
  47253. begin
  47254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47255. end;
  47256. function TINT_IPC6.getI2C1AIP : TBits_3; inline;
  47257. begin
  47258. getI2C1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47259. end;
  47260. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  47261. begin
  47262. pTDefRegMap(@Self)^.val := thebits;
  47263. end;
  47264. function TINT_IPC6.getw : TBits_32; inline;
  47265. begin
  47266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47267. end;
  47268. procedure TINT_IPC7.setPMPIS(thebits : TBits_2); inline;
  47269. begin
  47270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47271. end;
  47272. function TINT_IPC7.getPMPIS : TBits_2; inline;
  47273. begin
  47274. getPMPIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47275. end;
  47276. procedure TINT_IPC7.setPMPIP(thebits : TBits_3); inline;
  47277. begin
  47278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47279. end;
  47280. function TINT_IPC7.getPMPIP : TBits_3; inline;
  47281. begin
  47282. getPMPIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47283. end;
  47284. procedure TINT_IPC7.setCMP1IS(thebits : TBits_2); inline;
  47285. begin
  47286. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47287. end;
  47288. function TINT_IPC7.getCMP1IS : TBits_2; inline;
  47289. begin
  47290. getCMP1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47291. end;
  47292. procedure TINT_IPC7.setCMP1IP(thebits : TBits_3); inline;
  47293. begin
  47294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47295. end;
  47296. function TINT_IPC7.getCMP1IP : TBits_3; inline;
  47297. begin
  47298. getCMP1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47299. end;
  47300. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  47301. begin
  47302. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47303. end;
  47304. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  47305. begin
  47306. getCMP2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47307. end;
  47308. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  47309. begin
  47310. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47311. end;
  47312. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  47313. begin
  47314. getCMP2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47315. end;
  47316. procedure TINT_IPC7.setU3IS(thebits : TBits_2); inline;
  47317. begin
  47318. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47319. end;
  47320. function TINT_IPC7.getU3IS : TBits_2; inline;
  47321. begin
  47322. getU3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47323. end;
  47324. procedure TINT_IPC7.setU3IP(thebits : TBits_3); inline;
  47325. begin
  47326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47327. end;
  47328. function TINT_IPC7.getU3IP : TBits_3; inline;
  47329. begin
  47330. getU3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47331. end;
  47332. procedure TINT_IPC7.setU2AIS(thebits : TBits_2); inline;
  47333. begin
  47334. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47335. end;
  47336. function TINT_IPC7.getU2AIS : TBits_2; inline;
  47337. begin
  47338. getU2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47339. end;
  47340. procedure TINT_IPC7.setU2AIP(thebits : TBits_3); inline;
  47341. begin
  47342. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47343. end;
  47344. function TINT_IPC7.getU2AIP : TBits_3; inline;
  47345. begin
  47346. getU2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47347. end;
  47348. procedure TINT_IPC7.setSPI2IS(thebits : TBits_2); inline;
  47349. begin
  47350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47351. end;
  47352. function TINT_IPC7.getSPI2IS : TBits_2; inline;
  47353. begin
  47354. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47355. end;
  47356. procedure TINT_IPC7.setSPI2IP(thebits : TBits_3); inline;
  47357. begin
  47358. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47359. end;
  47360. function TINT_IPC7.getSPI2IP : TBits_3; inline;
  47361. begin
  47362. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47363. end;
  47364. procedure TINT_IPC7.setSPI2AIS(thebits : TBits_2); inline;
  47365. begin
  47366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47367. end;
  47368. function TINT_IPC7.getSPI2AIS : TBits_2; inline;
  47369. begin
  47370. getSPI2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47371. end;
  47372. procedure TINT_IPC7.setSPI2AIP(thebits : TBits_3); inline;
  47373. begin
  47374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47375. end;
  47376. function TINT_IPC7.getSPI2AIP : TBits_3; inline;
  47377. begin
  47378. getSPI2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47379. end;
  47380. procedure TINT_IPC7.setI2C4IS(thebits : TBits_2); inline;
  47381. begin
  47382. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47383. end;
  47384. function TINT_IPC7.getI2C4IS : TBits_2; inline;
  47385. begin
  47386. getI2C4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47387. end;
  47388. procedure TINT_IPC7.setI2C4IP(thebits : TBits_3); inline;
  47389. begin
  47390. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47391. end;
  47392. function TINT_IPC7.getI2C4IP : TBits_3; inline;
  47393. begin
  47394. getI2C4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47395. end;
  47396. procedure TINT_IPC7.setI2C2AIS(thebits : TBits_2); inline;
  47397. begin
  47398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47399. end;
  47400. function TINT_IPC7.getI2C2AIS : TBits_2; inline;
  47401. begin
  47402. getI2C2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47403. end;
  47404. procedure TINT_IPC7.setI2C2AIP(thebits : TBits_3); inline;
  47405. begin
  47406. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47407. end;
  47408. function TINT_IPC7.getI2C2AIP : TBits_3; inline;
  47409. begin
  47410. getI2C2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47411. end;
  47412. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  47413. begin
  47414. pTDefRegMap(@Self)^.val := thebits;
  47415. end;
  47416. function TINT_IPC7.getw : TBits_32; inline;
  47417. begin
  47418. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47419. end;
  47420. procedure TINT_IPC8.setU2IS(thebits : TBits_2); inline;
  47421. begin
  47422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47423. end;
  47424. function TINT_IPC8.getU2IS : TBits_2; inline;
  47425. begin
  47426. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47427. end;
  47428. procedure TINT_IPC8.setU2IP(thebits : TBits_3); inline;
  47429. begin
  47430. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47431. end;
  47432. function TINT_IPC8.getU2IP : TBits_3; inline;
  47433. begin
  47434. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47435. end;
  47436. procedure TINT_IPC8.setI2C2IS(thebits : TBits_2); inline;
  47437. begin
  47438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47439. end;
  47440. function TINT_IPC8.getI2C2IS : TBits_2; inline;
  47441. begin
  47442. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47443. end;
  47444. procedure TINT_IPC8.setI2C2IP(thebits : TBits_3); inline;
  47445. begin
  47446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47447. end;
  47448. function TINT_IPC8.getI2C2IP : TBits_3; inline;
  47449. begin
  47450. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47451. end;
  47452. procedure TINT_IPC8.setFSCMIS(thebits : TBits_2); inline;
  47453. begin
  47454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47455. end;
  47456. function TINT_IPC8.getFSCMIS : TBits_2; inline;
  47457. begin
  47458. getFSCMIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47459. end;
  47460. procedure TINT_IPC8.setFSCMIP(thebits : TBits_3); inline;
  47461. begin
  47462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47463. end;
  47464. function TINT_IPC8.getFSCMIP : TBits_3; inline;
  47465. begin
  47466. getFSCMIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47467. end;
  47468. procedure TINT_IPC8.setRTCCIS(thebits : TBits_2); inline;
  47469. begin
  47470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47471. end;
  47472. function TINT_IPC8.getRTCCIS : TBits_2; inline;
  47473. begin
  47474. getRTCCIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47475. end;
  47476. procedure TINT_IPC8.setRTCCIP(thebits : TBits_3); inline;
  47477. begin
  47478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47479. end;
  47480. function TINT_IPC8.getRTCCIP : TBits_3; inline;
  47481. begin
  47482. getRTCCIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47483. end;
  47484. procedure TINT_IPC8.setU3AIS(thebits : TBits_2); inline;
  47485. begin
  47486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47487. end;
  47488. function TINT_IPC8.getU3AIS : TBits_2; inline;
  47489. begin
  47490. getU3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47491. end;
  47492. procedure TINT_IPC8.setU3AIP(thebits : TBits_3); inline;
  47493. begin
  47494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47495. end;
  47496. function TINT_IPC8.getU3AIP : TBits_3; inline;
  47497. begin
  47498. getU3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47499. end;
  47500. procedure TINT_IPC8.setSPI4IS(thebits : TBits_2); inline;
  47501. begin
  47502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47503. end;
  47504. function TINT_IPC8.getSPI4IS : TBits_2; inline;
  47505. begin
  47506. getSPI4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47507. end;
  47508. procedure TINT_IPC8.setSPI4IP(thebits : TBits_3); inline;
  47509. begin
  47510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47511. end;
  47512. function TINT_IPC8.getSPI4IP : TBits_3; inline;
  47513. begin
  47514. getSPI4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47515. end;
  47516. procedure TINT_IPC8.setSPI3AIS(thebits : TBits_2); inline;
  47517. begin
  47518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47519. end;
  47520. function TINT_IPC8.getSPI3AIS : TBits_2; inline;
  47521. begin
  47522. getSPI3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47523. end;
  47524. procedure TINT_IPC8.setSPI3AIP(thebits : TBits_3); inline;
  47525. begin
  47526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47527. end;
  47528. function TINT_IPC8.getSPI3AIP : TBits_3; inline;
  47529. begin
  47530. getSPI3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47531. end;
  47532. procedure TINT_IPC8.setI2C5IS(thebits : TBits_2); inline;
  47533. begin
  47534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47535. end;
  47536. function TINT_IPC8.getI2C5IS : TBits_2; inline;
  47537. begin
  47538. getI2C5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47539. end;
  47540. procedure TINT_IPC8.setI2C5IP(thebits : TBits_3); inline;
  47541. begin
  47542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47543. end;
  47544. function TINT_IPC8.getI2C5IP : TBits_3; inline;
  47545. begin
  47546. getI2C5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47547. end;
  47548. procedure TINT_IPC8.setI2C3AIS(thebits : TBits_2); inline;
  47549. begin
  47550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47551. end;
  47552. function TINT_IPC8.getI2C3AIS : TBits_2; inline;
  47553. begin
  47554. getI2C3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47555. end;
  47556. procedure TINT_IPC8.setI2C3AIP(thebits : TBits_3); inline;
  47557. begin
  47558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47559. end;
  47560. function TINT_IPC8.getI2C3AIP : TBits_3; inline;
  47561. begin
  47562. getI2C3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47563. end;
  47564. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  47565. begin
  47566. pTDefRegMap(@Self)^.val := thebits;
  47567. end;
  47568. function TINT_IPC8.getw : TBits_32; inline;
  47569. begin
  47570. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47571. end;
  47572. procedure TINT_IPC9.setDMA0IS(thebits : TBits_2); inline;
  47573. begin
  47574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47575. end;
  47576. function TINT_IPC9.getDMA0IS : TBits_2; inline;
  47577. begin
  47578. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47579. end;
  47580. procedure TINT_IPC9.setDMA0IP(thebits : TBits_3); inline;
  47581. begin
  47582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47583. end;
  47584. function TINT_IPC9.getDMA0IP : TBits_3; inline;
  47585. begin
  47586. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47587. end;
  47588. procedure TINT_IPC9.setDMA1IS(thebits : TBits_2); inline;
  47589. begin
  47590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47591. end;
  47592. function TINT_IPC9.getDMA1IS : TBits_2; inline;
  47593. begin
  47594. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47595. end;
  47596. procedure TINT_IPC9.setDMA1IP(thebits : TBits_3); inline;
  47597. begin
  47598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47599. end;
  47600. function TINT_IPC9.getDMA1IP : TBits_3; inline;
  47601. begin
  47602. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47603. end;
  47604. procedure TINT_IPC9.setDMA2IS(thebits : TBits_2); inline;
  47605. begin
  47606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47607. end;
  47608. function TINT_IPC9.getDMA2IS : TBits_2; inline;
  47609. begin
  47610. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47611. end;
  47612. procedure TINT_IPC9.setDMA2IP(thebits : TBits_3); inline;
  47613. begin
  47614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47615. end;
  47616. function TINT_IPC9.getDMA2IP : TBits_3; inline;
  47617. begin
  47618. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47619. end;
  47620. procedure TINT_IPC9.setDMA3IS(thebits : TBits_2); inline;
  47621. begin
  47622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47623. end;
  47624. function TINT_IPC9.getDMA3IS : TBits_2; inline;
  47625. begin
  47626. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47627. end;
  47628. procedure TINT_IPC9.setDMA3IP(thebits : TBits_3); inline;
  47629. begin
  47630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47631. end;
  47632. function TINT_IPC9.getDMA3IP : TBits_3; inline;
  47633. begin
  47634. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47635. end;
  47636. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  47637. begin
  47638. pTDefRegMap(@Self)^.val := thebits;
  47639. end;
  47640. function TINT_IPC9.getw : TBits_32; inline;
  47641. begin
  47642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47643. end;
  47644. procedure TINT_IPC11.setFCEIS(thebits : TBits_2); inline;
  47645. begin
  47646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47647. end;
  47648. function TINT_IPC11.getFCEIS : TBits_2; inline;
  47649. begin
  47650. getFCEIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47651. end;
  47652. procedure TINT_IPC11.setFCEIP(thebits : TBits_3); inline;
  47653. begin
  47654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47655. end;
  47656. function TINT_IPC11.getFCEIP : TBits_3; inline;
  47657. begin
  47658. getFCEIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47659. end;
  47660. procedure TINT_IPC11.setUSBIS(thebits : TBits_2); inline;
  47661. begin
  47662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47663. end;
  47664. function TINT_IPC11.getUSBIS : TBits_2; inline;
  47665. begin
  47666. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47667. end;
  47668. procedure TINT_IPC11.setUSBIP(thebits : TBits_3); inline;
  47669. begin
  47670. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47671. end;
  47672. function TINT_IPC11.getUSBIP : TBits_3; inline;
  47673. begin
  47674. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47675. end;
  47676. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  47677. begin
  47678. pTDefRegMap(@Self)^.val := thebits;
  47679. end;
  47680. function TINT_IPC11.getw : TBits_32; inline;
  47681. begin
  47682. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47683. end;
  47684. procedure TINT_IPC12.setETHIS(thebits : TBits_2); inline;
  47685. begin
  47686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47687. end;
  47688. function TINT_IPC12.getETHIS : TBits_2; inline;
  47689. begin
  47690. getETHIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47691. end;
  47692. procedure TINT_IPC12.setETHIP(thebits : TBits_3); inline;
  47693. begin
  47694. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47695. end;
  47696. function TINT_IPC12.getETHIP : TBits_3; inline;
  47697. begin
  47698. getETHIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47699. end;
  47700. procedure TINT_IPC12.setU4IS(thebits : TBits_2); inline;
  47701. begin
  47702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47703. end;
  47704. function TINT_IPC12.getU4IS : TBits_2; inline;
  47705. begin
  47706. getU4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47707. end;
  47708. procedure TINT_IPC12.setU4IP(thebits : TBits_3); inline;
  47709. begin
  47710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47711. end;
  47712. function TINT_IPC12.getU4IP : TBits_3; inline;
  47713. begin
  47714. getU4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47715. end;
  47716. procedure TINT_IPC12.setU6IS(thebits : TBits_2); inline;
  47717. begin
  47718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47719. end;
  47720. function TINT_IPC12.getU6IS : TBits_2; inline;
  47721. begin
  47722. getU6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47723. end;
  47724. procedure TINT_IPC12.setU6IP(thebits : TBits_3); inline;
  47725. begin
  47726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47727. end;
  47728. function TINT_IPC12.getU6IP : TBits_3; inline;
  47729. begin
  47730. getU6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47731. end;
  47732. procedure TINT_IPC12.setU5IS(thebits : TBits_2); inline;
  47733. begin
  47734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47735. end;
  47736. function TINT_IPC12.getU5IS : TBits_2; inline;
  47737. begin
  47738. getU5IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47739. end;
  47740. procedure TINT_IPC12.setU5IP(thebits : TBits_3); inline;
  47741. begin
  47742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47743. end;
  47744. function TINT_IPC12.getU5IP : TBits_3; inline;
  47745. begin
  47746. getU5IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47747. end;
  47748. procedure TINT_IPC12.setU1BIS(thebits : TBits_2); inline;
  47749. begin
  47750. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47751. end;
  47752. function TINT_IPC12.getU1BIS : TBits_2; inline;
  47753. begin
  47754. getU1BIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47755. end;
  47756. procedure TINT_IPC12.setU1BIP(thebits : TBits_3); inline;
  47757. begin
  47758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47759. end;
  47760. function TINT_IPC12.getU1BIP : TBits_3; inline;
  47761. begin
  47762. getU1BIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47763. end;
  47764. procedure TINT_IPC12.setU2BIS(thebits : TBits_2); inline;
  47765. begin
  47766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47767. end;
  47768. function TINT_IPC12.getU2BIS : TBits_2; inline;
  47769. begin
  47770. getU2BIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47771. end;
  47772. procedure TINT_IPC12.setU2BIP(thebits : TBits_3); inline;
  47773. begin
  47774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47775. end;
  47776. function TINT_IPC12.getU2BIP : TBits_3; inline;
  47777. begin
  47778. getU2BIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47779. end;
  47780. procedure TINT_IPC12.setU3BIS(thebits : TBits_2); inline;
  47781. begin
  47782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47783. end;
  47784. function TINT_IPC12.getU3BIS : TBits_2; inline;
  47785. begin
  47786. getU3BIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47787. end;
  47788. procedure TINT_IPC12.setU3BIP(thebits : TBits_3); inline;
  47789. begin
  47790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47791. end;
  47792. function TINT_IPC12.getU3BIP : TBits_3; inline;
  47793. begin
  47794. getU3BIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47795. end;
  47796. procedure TINT_IPC12.setw(thebits : TBits_32); inline;
  47797. begin
  47798. pTDefRegMap(@Self)^.val := thebits;
  47799. end;
  47800. function TINT_IPC12.getw : TBits_32; inline;
  47801. begin
  47802. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47803. end;
  47804. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  47805. begin
  47806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  47807. end;
  47808. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  47809. begin
  47810. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  47811. end;
  47812. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  47813. begin
  47814. pTDefRegMap(@Self)^.&set := $00000040;
  47815. end;
  47816. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  47817. begin
  47818. pTDefRegMap(@Self)^.clr := $00000040;
  47819. end;
  47820. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  47821. begin
  47822. if thebits = 0 then
  47823. pTDefRegMap(@Self)^.clr := $00000040
  47824. else
  47825. pTDefRegMap(@Self)^.&set := $00000040;
  47826. end;
  47827. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  47828. begin
  47829. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47830. end;
  47831. procedure TBMX_BMXCON.setBMXERRIS; inline;
  47832. begin
  47833. pTDefRegMap(@Self)^.&set := $00010000;
  47834. end;
  47835. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  47836. begin
  47837. pTDefRegMap(@Self)^.clr := $00010000;
  47838. end;
  47839. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  47840. begin
  47841. if thebits = 0 then
  47842. pTDefRegMap(@Self)^.clr := $00010000
  47843. else
  47844. pTDefRegMap(@Self)^.&set := $00010000;
  47845. end;
  47846. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  47847. begin
  47848. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47849. end;
  47850. procedure TBMX_BMXCON.setBMXERRDS; inline;
  47851. begin
  47852. pTDefRegMap(@Self)^.&set := $00020000;
  47853. end;
  47854. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  47855. begin
  47856. pTDefRegMap(@Self)^.clr := $00020000;
  47857. end;
  47858. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  47859. begin
  47860. if thebits = 0 then
  47861. pTDefRegMap(@Self)^.clr := $00020000
  47862. else
  47863. pTDefRegMap(@Self)^.&set := $00020000;
  47864. end;
  47865. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  47866. begin
  47867. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47868. end;
  47869. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  47870. begin
  47871. pTDefRegMap(@Self)^.&set := $00040000;
  47872. end;
  47873. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  47874. begin
  47875. pTDefRegMap(@Self)^.clr := $00040000;
  47876. end;
  47877. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  47878. begin
  47879. if thebits = 0 then
  47880. pTDefRegMap(@Self)^.clr := $00040000
  47881. else
  47882. pTDefRegMap(@Self)^.&set := $00040000;
  47883. end;
  47884. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  47885. begin
  47886. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47887. end;
  47888. procedure TBMX_BMXCON.setBMXERRICD; inline;
  47889. begin
  47890. pTDefRegMap(@Self)^.&set := $00080000;
  47891. end;
  47892. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  47893. begin
  47894. pTDefRegMap(@Self)^.clr := $00080000;
  47895. end;
  47896. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  47897. begin
  47898. if thebits = 0 then
  47899. pTDefRegMap(@Self)^.clr := $00080000
  47900. else
  47901. pTDefRegMap(@Self)^.&set := $00080000;
  47902. end;
  47903. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  47904. begin
  47905. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47906. end;
  47907. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  47908. begin
  47909. pTDefRegMap(@Self)^.&set := $00100000;
  47910. end;
  47911. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  47912. begin
  47913. pTDefRegMap(@Self)^.clr := $00100000;
  47914. end;
  47915. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  47916. begin
  47917. if thebits = 0 then
  47918. pTDefRegMap(@Self)^.clr := $00100000
  47919. else
  47920. pTDefRegMap(@Self)^.&set := $00100000;
  47921. end;
  47922. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  47923. begin
  47924. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47925. end;
  47926. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  47927. begin
  47928. pTDefRegMap(@Self)^.&set := $04000000;
  47929. end;
  47930. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  47931. begin
  47932. pTDefRegMap(@Self)^.clr := $04000000;
  47933. end;
  47934. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  47935. begin
  47936. if thebits = 0 then
  47937. pTDefRegMap(@Self)^.clr := $04000000
  47938. else
  47939. pTDefRegMap(@Self)^.&set := $04000000;
  47940. end;
  47941. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  47942. begin
  47943. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  47944. end;
  47945. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  47946. begin
  47947. pTDefRegMap(@Self)^.val := thebits;
  47948. end;
  47949. function TBMX_BMXCON.getw : TBits_32; inline;
  47950. begin
  47951. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47952. end;
  47953. procedure TDMAC_DMACON.setDMABUSY; inline;
  47954. begin
  47955. pTDefRegMap(@Self)^.&set := $00000800;
  47956. end;
  47957. procedure TDMAC_DMACON.clearDMABUSY; inline;
  47958. begin
  47959. pTDefRegMap(@Self)^.clr := $00000800;
  47960. end;
  47961. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  47962. begin
  47963. if thebits = 0 then
  47964. pTDefRegMap(@Self)^.clr := $00000800
  47965. else
  47966. pTDefRegMap(@Self)^.&set := $00000800;
  47967. end;
  47968. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  47969. begin
  47970. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47971. end;
  47972. procedure TDMAC_DMACON.setSUSPEND; inline;
  47973. begin
  47974. pTDefRegMap(@Self)^.&set := $00001000;
  47975. end;
  47976. procedure TDMAC_DMACON.clearSUSPEND; inline;
  47977. begin
  47978. pTDefRegMap(@Self)^.clr := $00001000;
  47979. end;
  47980. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  47981. begin
  47982. if thebits = 0 then
  47983. pTDefRegMap(@Self)^.clr := $00001000
  47984. else
  47985. pTDefRegMap(@Self)^.&set := $00001000;
  47986. end;
  47987. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  47988. begin
  47989. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47990. end;
  47991. procedure TDMAC_DMACON.setON; inline;
  47992. begin
  47993. pTDefRegMap(@Self)^.&set := $00008000;
  47994. end;
  47995. procedure TDMAC_DMACON.clearON; inline;
  47996. begin
  47997. pTDefRegMap(@Self)^.clr := $00008000;
  47998. end;
  47999. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  48000. begin
  48001. if thebits = 0 then
  48002. pTDefRegMap(@Self)^.clr := $00008000
  48003. else
  48004. pTDefRegMap(@Self)^.&set := $00008000;
  48005. end;
  48006. function TDMAC_DMACON.getON : TBits_1; inline;
  48007. begin
  48008. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48009. end;
  48010. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  48011. begin
  48012. pTDefRegMap(@Self)^.val := thebits;
  48013. end;
  48014. function TDMAC_DMACON.getw : TBits_32; inline;
  48015. begin
  48016. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48017. end;
  48018. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  48019. begin
  48020. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  48021. end;
  48022. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  48023. begin
  48024. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  48025. end;
  48026. procedure TDMAC_DMASTAT.setRDWR; inline;
  48027. begin
  48028. pTDefRegMap(@Self)^.&set := $00000008;
  48029. end;
  48030. procedure TDMAC_DMASTAT.clearRDWR; inline;
  48031. begin
  48032. pTDefRegMap(@Self)^.clr := $00000008;
  48033. end;
  48034. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  48035. begin
  48036. if thebits = 0 then
  48037. pTDefRegMap(@Self)^.clr := $00000008
  48038. else
  48039. pTDefRegMap(@Self)^.&set := $00000008;
  48040. end;
  48041. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  48042. begin
  48043. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48044. end;
  48045. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  48046. begin
  48047. pTDefRegMap(@Self)^.val := thebits;
  48048. end;
  48049. function TDMAC_DMASTAT.getw : TBits_32; inline;
  48050. begin
  48051. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48052. end;
  48053. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  48054. begin
  48055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  48056. end;
  48057. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  48058. begin
  48059. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  48060. end;
  48061. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  48062. begin
  48063. pTDefRegMap(@Self)^.&set := $00000020;
  48064. end;
  48065. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  48066. begin
  48067. pTDefRegMap(@Self)^.clr := $00000020;
  48068. end;
  48069. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  48070. begin
  48071. if thebits = 0 then
  48072. pTDefRegMap(@Self)^.clr := $00000020
  48073. else
  48074. pTDefRegMap(@Self)^.&set := $00000020;
  48075. end;
  48076. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  48077. begin
  48078. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48079. end;
  48080. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  48081. begin
  48082. pTDefRegMap(@Self)^.&set := $00000040;
  48083. end;
  48084. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  48085. begin
  48086. pTDefRegMap(@Self)^.clr := $00000040;
  48087. end;
  48088. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  48089. begin
  48090. if thebits = 0 then
  48091. pTDefRegMap(@Self)^.clr := $00000040
  48092. else
  48093. pTDefRegMap(@Self)^.&set := $00000040;
  48094. end;
  48095. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  48096. begin
  48097. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48098. end;
  48099. procedure TDMAC_DCRCCON.setCRCEN; inline;
  48100. begin
  48101. pTDefRegMap(@Self)^.&set := $00000080;
  48102. end;
  48103. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  48104. begin
  48105. pTDefRegMap(@Self)^.clr := $00000080;
  48106. end;
  48107. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  48108. begin
  48109. if thebits = 0 then
  48110. pTDefRegMap(@Self)^.clr := $00000080
  48111. else
  48112. pTDefRegMap(@Self)^.&set := $00000080;
  48113. end;
  48114. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  48115. begin
  48116. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48117. end;
  48118. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  48119. begin
  48120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  48121. end;
  48122. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  48123. begin
  48124. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  48125. end;
  48126. procedure TDMAC_DCRCCON.setBITO; inline;
  48127. begin
  48128. pTDefRegMap(@Self)^.&set := $01000000;
  48129. end;
  48130. procedure TDMAC_DCRCCON.clearBITO; inline;
  48131. begin
  48132. pTDefRegMap(@Self)^.clr := $01000000;
  48133. end;
  48134. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  48135. begin
  48136. if thebits = 0 then
  48137. pTDefRegMap(@Self)^.clr := $01000000
  48138. else
  48139. pTDefRegMap(@Self)^.&set := $01000000;
  48140. end;
  48141. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  48142. begin
  48143. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  48144. end;
  48145. procedure TDMAC_DCRCCON.setWBO; inline;
  48146. begin
  48147. pTDefRegMap(@Self)^.&set := $08000000;
  48148. end;
  48149. procedure TDMAC_DCRCCON.clearWBO; inline;
  48150. begin
  48151. pTDefRegMap(@Self)^.clr := $08000000;
  48152. end;
  48153. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  48154. begin
  48155. if thebits = 0 then
  48156. pTDefRegMap(@Self)^.clr := $08000000
  48157. else
  48158. pTDefRegMap(@Self)^.&set := $08000000;
  48159. end;
  48160. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  48161. begin
  48162. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  48163. end;
  48164. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  48165. begin
  48166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  48167. end;
  48168. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  48169. begin
  48170. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  48171. end;
  48172. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  48173. begin
  48174. pTDefRegMap(@Self)^.val := thebits;
  48175. end;
  48176. function TDMAC_DCRCCON.getw : TBits_32; inline;
  48177. begin
  48178. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48179. end;
  48180. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  48181. begin
  48182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48183. end;
  48184. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  48185. begin
  48186. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48187. end;
  48188. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  48189. begin
  48190. pTDefRegMap(@Self)^.&set := $00000004;
  48191. end;
  48192. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  48193. begin
  48194. pTDefRegMap(@Self)^.clr := $00000004;
  48195. end;
  48196. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  48197. begin
  48198. if thebits = 0 then
  48199. pTDefRegMap(@Self)^.clr := $00000004
  48200. else
  48201. pTDefRegMap(@Self)^.&set := $00000004;
  48202. end;
  48203. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  48204. begin
  48205. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48206. end;
  48207. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  48208. begin
  48209. pTDefRegMap(@Self)^.&set := $00000010;
  48210. end;
  48211. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  48212. begin
  48213. pTDefRegMap(@Self)^.clr := $00000010;
  48214. end;
  48215. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  48216. begin
  48217. if thebits = 0 then
  48218. pTDefRegMap(@Self)^.clr := $00000010
  48219. else
  48220. pTDefRegMap(@Self)^.&set := $00000010;
  48221. end;
  48222. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  48223. begin
  48224. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48225. end;
  48226. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  48227. begin
  48228. pTDefRegMap(@Self)^.&set := $00000020;
  48229. end;
  48230. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  48231. begin
  48232. pTDefRegMap(@Self)^.clr := $00000020;
  48233. end;
  48234. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  48235. begin
  48236. if thebits = 0 then
  48237. pTDefRegMap(@Self)^.clr := $00000020
  48238. else
  48239. pTDefRegMap(@Self)^.&set := $00000020;
  48240. end;
  48241. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  48242. begin
  48243. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48244. end;
  48245. procedure TDMAC0_DCH0CON.setCHAED; inline;
  48246. begin
  48247. pTDefRegMap(@Self)^.&set := $00000040;
  48248. end;
  48249. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  48250. begin
  48251. pTDefRegMap(@Self)^.clr := $00000040;
  48252. end;
  48253. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  48254. begin
  48255. if thebits = 0 then
  48256. pTDefRegMap(@Self)^.clr := $00000040
  48257. else
  48258. pTDefRegMap(@Self)^.&set := $00000040;
  48259. end;
  48260. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  48261. begin
  48262. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48263. end;
  48264. procedure TDMAC0_DCH0CON.setCHEN; inline;
  48265. begin
  48266. pTDefRegMap(@Self)^.&set := $00000080;
  48267. end;
  48268. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  48269. begin
  48270. pTDefRegMap(@Self)^.clr := $00000080;
  48271. end;
  48272. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  48273. begin
  48274. if thebits = 0 then
  48275. pTDefRegMap(@Self)^.clr := $00000080
  48276. else
  48277. pTDefRegMap(@Self)^.&set := $00000080;
  48278. end;
  48279. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  48280. begin
  48281. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48282. end;
  48283. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  48284. begin
  48285. pTDefRegMap(@Self)^.&set := $00000100;
  48286. end;
  48287. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  48288. begin
  48289. pTDefRegMap(@Self)^.clr := $00000100;
  48290. end;
  48291. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  48292. begin
  48293. if thebits = 0 then
  48294. pTDefRegMap(@Self)^.clr := $00000100
  48295. else
  48296. pTDefRegMap(@Self)^.&set := $00000100;
  48297. end;
  48298. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  48299. begin
  48300. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48301. end;
  48302. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  48303. begin
  48304. pTDefRegMap(@Self)^.&set := $00008000;
  48305. end;
  48306. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  48307. begin
  48308. pTDefRegMap(@Self)^.clr := $00008000;
  48309. end;
  48310. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  48311. begin
  48312. if thebits = 0 then
  48313. pTDefRegMap(@Self)^.clr := $00008000
  48314. else
  48315. pTDefRegMap(@Self)^.&set := $00008000;
  48316. end;
  48317. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  48318. begin
  48319. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48320. end;
  48321. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  48322. begin
  48323. pTDefRegMap(@Self)^.val := thebits;
  48324. end;
  48325. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  48326. begin
  48327. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48328. end;
  48329. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  48330. begin
  48331. pTDefRegMap(@Self)^.&set := $00000008;
  48332. end;
  48333. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  48334. begin
  48335. pTDefRegMap(@Self)^.clr := $00000008;
  48336. end;
  48337. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  48338. begin
  48339. if thebits = 0 then
  48340. pTDefRegMap(@Self)^.clr := $00000008
  48341. else
  48342. pTDefRegMap(@Self)^.&set := $00000008;
  48343. end;
  48344. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  48345. begin
  48346. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48347. end;
  48348. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  48349. begin
  48350. pTDefRegMap(@Self)^.&set := $00000010;
  48351. end;
  48352. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  48353. begin
  48354. pTDefRegMap(@Self)^.clr := $00000010;
  48355. end;
  48356. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  48357. begin
  48358. if thebits = 0 then
  48359. pTDefRegMap(@Self)^.clr := $00000010
  48360. else
  48361. pTDefRegMap(@Self)^.&set := $00000010;
  48362. end;
  48363. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  48364. begin
  48365. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48366. end;
  48367. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  48368. begin
  48369. pTDefRegMap(@Self)^.&set := $00000020;
  48370. end;
  48371. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  48372. begin
  48373. pTDefRegMap(@Self)^.clr := $00000020;
  48374. end;
  48375. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  48376. begin
  48377. if thebits = 0 then
  48378. pTDefRegMap(@Self)^.clr := $00000020
  48379. else
  48380. pTDefRegMap(@Self)^.&set := $00000020;
  48381. end;
  48382. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  48383. begin
  48384. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48385. end;
  48386. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  48387. begin
  48388. pTDefRegMap(@Self)^.&set := $00000040;
  48389. end;
  48390. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  48391. begin
  48392. pTDefRegMap(@Self)^.clr := $00000040;
  48393. end;
  48394. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  48395. begin
  48396. if thebits = 0 then
  48397. pTDefRegMap(@Self)^.clr := $00000040
  48398. else
  48399. pTDefRegMap(@Self)^.&set := $00000040;
  48400. end;
  48401. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  48402. begin
  48403. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48404. end;
  48405. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  48406. begin
  48407. pTDefRegMap(@Self)^.&set := $00000080;
  48408. end;
  48409. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  48410. begin
  48411. pTDefRegMap(@Self)^.clr := $00000080;
  48412. end;
  48413. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  48414. begin
  48415. if thebits = 0 then
  48416. pTDefRegMap(@Self)^.clr := $00000080
  48417. else
  48418. pTDefRegMap(@Self)^.&set := $00000080;
  48419. end;
  48420. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  48421. begin
  48422. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48423. end;
  48424. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  48425. begin
  48426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  48427. end;
  48428. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  48429. begin
  48430. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  48431. end;
  48432. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  48433. begin
  48434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  48435. end;
  48436. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  48437. begin
  48438. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  48439. end;
  48440. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  48441. begin
  48442. pTDefRegMap(@Self)^.val := thebits;
  48443. end;
  48444. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  48445. begin
  48446. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48447. end;
  48448. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  48449. begin
  48450. pTDefRegMap(@Self)^.&set := $00000001;
  48451. end;
  48452. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  48453. begin
  48454. pTDefRegMap(@Self)^.clr := $00000001;
  48455. end;
  48456. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  48457. begin
  48458. if thebits = 0 then
  48459. pTDefRegMap(@Self)^.clr := $00000001
  48460. else
  48461. pTDefRegMap(@Self)^.&set := $00000001;
  48462. end;
  48463. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  48464. begin
  48465. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48466. end;
  48467. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  48468. begin
  48469. pTDefRegMap(@Self)^.&set := $00000002;
  48470. end;
  48471. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  48472. begin
  48473. pTDefRegMap(@Self)^.clr := $00000002;
  48474. end;
  48475. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  48476. begin
  48477. if thebits = 0 then
  48478. pTDefRegMap(@Self)^.clr := $00000002
  48479. else
  48480. pTDefRegMap(@Self)^.&set := $00000002;
  48481. end;
  48482. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  48483. begin
  48484. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48485. end;
  48486. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  48487. begin
  48488. pTDefRegMap(@Self)^.&set := $00000004;
  48489. end;
  48490. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  48491. begin
  48492. pTDefRegMap(@Self)^.clr := $00000004;
  48493. end;
  48494. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  48495. begin
  48496. if thebits = 0 then
  48497. pTDefRegMap(@Self)^.clr := $00000004
  48498. else
  48499. pTDefRegMap(@Self)^.&set := $00000004;
  48500. end;
  48501. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  48502. begin
  48503. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48504. end;
  48505. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  48506. begin
  48507. pTDefRegMap(@Self)^.&set := $00000008;
  48508. end;
  48509. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  48510. begin
  48511. pTDefRegMap(@Self)^.clr := $00000008;
  48512. end;
  48513. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  48514. begin
  48515. if thebits = 0 then
  48516. pTDefRegMap(@Self)^.clr := $00000008
  48517. else
  48518. pTDefRegMap(@Self)^.&set := $00000008;
  48519. end;
  48520. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  48521. begin
  48522. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48523. end;
  48524. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  48525. begin
  48526. pTDefRegMap(@Self)^.&set := $00000010;
  48527. end;
  48528. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  48529. begin
  48530. pTDefRegMap(@Self)^.clr := $00000010;
  48531. end;
  48532. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  48533. begin
  48534. if thebits = 0 then
  48535. pTDefRegMap(@Self)^.clr := $00000010
  48536. else
  48537. pTDefRegMap(@Self)^.&set := $00000010;
  48538. end;
  48539. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  48540. begin
  48541. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48542. end;
  48543. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  48544. begin
  48545. pTDefRegMap(@Self)^.&set := $00000020;
  48546. end;
  48547. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  48548. begin
  48549. pTDefRegMap(@Self)^.clr := $00000020;
  48550. end;
  48551. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  48552. begin
  48553. if thebits = 0 then
  48554. pTDefRegMap(@Self)^.clr := $00000020
  48555. else
  48556. pTDefRegMap(@Self)^.&set := $00000020;
  48557. end;
  48558. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  48559. begin
  48560. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48561. end;
  48562. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  48563. begin
  48564. pTDefRegMap(@Self)^.&set := $00000040;
  48565. end;
  48566. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  48567. begin
  48568. pTDefRegMap(@Self)^.clr := $00000040;
  48569. end;
  48570. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  48571. begin
  48572. if thebits = 0 then
  48573. pTDefRegMap(@Self)^.clr := $00000040
  48574. else
  48575. pTDefRegMap(@Self)^.&set := $00000040;
  48576. end;
  48577. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  48578. begin
  48579. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48580. end;
  48581. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  48582. begin
  48583. pTDefRegMap(@Self)^.&set := $00000080;
  48584. end;
  48585. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  48586. begin
  48587. pTDefRegMap(@Self)^.clr := $00000080;
  48588. end;
  48589. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  48590. begin
  48591. if thebits = 0 then
  48592. pTDefRegMap(@Self)^.clr := $00000080
  48593. else
  48594. pTDefRegMap(@Self)^.&set := $00000080;
  48595. end;
  48596. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  48597. begin
  48598. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48599. end;
  48600. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  48601. begin
  48602. pTDefRegMap(@Self)^.&set := $00010000;
  48603. end;
  48604. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  48605. begin
  48606. pTDefRegMap(@Self)^.clr := $00010000;
  48607. end;
  48608. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  48609. begin
  48610. if thebits = 0 then
  48611. pTDefRegMap(@Self)^.clr := $00010000
  48612. else
  48613. pTDefRegMap(@Self)^.&set := $00010000;
  48614. end;
  48615. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  48616. begin
  48617. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  48618. end;
  48619. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  48620. begin
  48621. pTDefRegMap(@Self)^.&set := $00020000;
  48622. end;
  48623. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  48624. begin
  48625. pTDefRegMap(@Self)^.clr := $00020000;
  48626. end;
  48627. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  48628. begin
  48629. if thebits = 0 then
  48630. pTDefRegMap(@Self)^.clr := $00020000
  48631. else
  48632. pTDefRegMap(@Self)^.&set := $00020000;
  48633. end;
  48634. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  48635. begin
  48636. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  48637. end;
  48638. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  48639. begin
  48640. pTDefRegMap(@Self)^.&set := $00040000;
  48641. end;
  48642. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  48643. begin
  48644. pTDefRegMap(@Self)^.clr := $00040000;
  48645. end;
  48646. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  48647. begin
  48648. if thebits = 0 then
  48649. pTDefRegMap(@Self)^.clr := $00040000
  48650. else
  48651. pTDefRegMap(@Self)^.&set := $00040000;
  48652. end;
  48653. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  48654. begin
  48655. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  48656. end;
  48657. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  48658. begin
  48659. pTDefRegMap(@Self)^.&set := $00080000;
  48660. end;
  48661. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  48662. begin
  48663. pTDefRegMap(@Self)^.clr := $00080000;
  48664. end;
  48665. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  48666. begin
  48667. if thebits = 0 then
  48668. pTDefRegMap(@Self)^.clr := $00080000
  48669. else
  48670. pTDefRegMap(@Self)^.&set := $00080000;
  48671. end;
  48672. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  48673. begin
  48674. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  48675. end;
  48676. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  48677. begin
  48678. pTDefRegMap(@Self)^.&set := $00100000;
  48679. end;
  48680. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  48681. begin
  48682. pTDefRegMap(@Self)^.clr := $00100000;
  48683. end;
  48684. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  48685. begin
  48686. if thebits = 0 then
  48687. pTDefRegMap(@Self)^.clr := $00100000
  48688. else
  48689. pTDefRegMap(@Self)^.&set := $00100000;
  48690. end;
  48691. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  48692. begin
  48693. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  48694. end;
  48695. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  48696. begin
  48697. pTDefRegMap(@Self)^.&set := $00200000;
  48698. end;
  48699. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  48700. begin
  48701. pTDefRegMap(@Self)^.clr := $00200000;
  48702. end;
  48703. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  48704. begin
  48705. if thebits = 0 then
  48706. pTDefRegMap(@Self)^.clr := $00200000
  48707. else
  48708. pTDefRegMap(@Self)^.&set := $00200000;
  48709. end;
  48710. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  48711. begin
  48712. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  48713. end;
  48714. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  48715. begin
  48716. pTDefRegMap(@Self)^.&set := $00400000;
  48717. end;
  48718. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  48719. begin
  48720. pTDefRegMap(@Self)^.clr := $00400000;
  48721. end;
  48722. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  48723. begin
  48724. if thebits = 0 then
  48725. pTDefRegMap(@Self)^.clr := $00400000
  48726. else
  48727. pTDefRegMap(@Self)^.&set := $00400000;
  48728. end;
  48729. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  48730. begin
  48731. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  48732. end;
  48733. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  48734. begin
  48735. pTDefRegMap(@Self)^.&set := $00800000;
  48736. end;
  48737. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  48738. begin
  48739. pTDefRegMap(@Self)^.clr := $00800000;
  48740. end;
  48741. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  48742. begin
  48743. if thebits = 0 then
  48744. pTDefRegMap(@Self)^.clr := $00800000
  48745. else
  48746. pTDefRegMap(@Self)^.&set := $00800000;
  48747. end;
  48748. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  48749. begin
  48750. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  48751. end;
  48752. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  48753. begin
  48754. pTDefRegMap(@Self)^.val := thebits;
  48755. end;
  48756. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  48757. begin
  48758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48759. end;
  48760. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  48761. begin
  48762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48763. end;
  48764. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  48765. begin
  48766. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48767. end;
  48768. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  48769. begin
  48770. pTDefRegMap(@Self)^.&set := $00000004;
  48771. end;
  48772. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  48773. begin
  48774. pTDefRegMap(@Self)^.clr := $00000004;
  48775. end;
  48776. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  48777. begin
  48778. if thebits = 0 then
  48779. pTDefRegMap(@Self)^.clr := $00000004
  48780. else
  48781. pTDefRegMap(@Self)^.&set := $00000004;
  48782. end;
  48783. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  48784. begin
  48785. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48786. end;
  48787. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  48788. begin
  48789. pTDefRegMap(@Self)^.&set := $00000010;
  48790. end;
  48791. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  48792. begin
  48793. pTDefRegMap(@Self)^.clr := $00000010;
  48794. end;
  48795. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  48796. begin
  48797. if thebits = 0 then
  48798. pTDefRegMap(@Self)^.clr := $00000010
  48799. else
  48800. pTDefRegMap(@Self)^.&set := $00000010;
  48801. end;
  48802. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  48803. begin
  48804. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48805. end;
  48806. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  48807. begin
  48808. pTDefRegMap(@Self)^.&set := $00000020;
  48809. end;
  48810. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  48811. begin
  48812. pTDefRegMap(@Self)^.clr := $00000020;
  48813. end;
  48814. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  48815. begin
  48816. if thebits = 0 then
  48817. pTDefRegMap(@Self)^.clr := $00000020
  48818. else
  48819. pTDefRegMap(@Self)^.&set := $00000020;
  48820. end;
  48821. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  48822. begin
  48823. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48824. end;
  48825. procedure TDMAC1_DCH1CON.setCHAED; inline;
  48826. begin
  48827. pTDefRegMap(@Self)^.&set := $00000040;
  48828. end;
  48829. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  48830. begin
  48831. pTDefRegMap(@Self)^.clr := $00000040;
  48832. end;
  48833. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  48834. begin
  48835. if thebits = 0 then
  48836. pTDefRegMap(@Self)^.clr := $00000040
  48837. else
  48838. pTDefRegMap(@Self)^.&set := $00000040;
  48839. end;
  48840. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  48841. begin
  48842. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48843. end;
  48844. procedure TDMAC1_DCH1CON.setCHEN; inline;
  48845. begin
  48846. pTDefRegMap(@Self)^.&set := $00000080;
  48847. end;
  48848. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  48849. begin
  48850. pTDefRegMap(@Self)^.clr := $00000080;
  48851. end;
  48852. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  48853. begin
  48854. if thebits = 0 then
  48855. pTDefRegMap(@Self)^.clr := $00000080
  48856. else
  48857. pTDefRegMap(@Self)^.&set := $00000080;
  48858. end;
  48859. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  48860. begin
  48861. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48862. end;
  48863. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  48864. begin
  48865. pTDefRegMap(@Self)^.&set := $00000100;
  48866. end;
  48867. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  48868. begin
  48869. pTDefRegMap(@Self)^.clr := $00000100;
  48870. end;
  48871. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  48872. begin
  48873. if thebits = 0 then
  48874. pTDefRegMap(@Self)^.clr := $00000100
  48875. else
  48876. pTDefRegMap(@Self)^.&set := $00000100;
  48877. end;
  48878. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  48879. begin
  48880. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48881. end;
  48882. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  48883. begin
  48884. pTDefRegMap(@Self)^.&set := $00008000;
  48885. end;
  48886. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  48887. begin
  48888. pTDefRegMap(@Self)^.clr := $00008000;
  48889. end;
  48890. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  48891. begin
  48892. if thebits = 0 then
  48893. pTDefRegMap(@Self)^.clr := $00008000
  48894. else
  48895. pTDefRegMap(@Self)^.&set := $00008000;
  48896. end;
  48897. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  48898. begin
  48899. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48900. end;
  48901. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  48902. begin
  48903. pTDefRegMap(@Self)^.val := thebits;
  48904. end;
  48905. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  48906. begin
  48907. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48908. end;
  48909. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  48910. begin
  48911. pTDefRegMap(@Self)^.&set := $00000008;
  48912. end;
  48913. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  48914. begin
  48915. pTDefRegMap(@Self)^.clr := $00000008;
  48916. end;
  48917. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  48918. begin
  48919. if thebits = 0 then
  48920. pTDefRegMap(@Self)^.clr := $00000008
  48921. else
  48922. pTDefRegMap(@Self)^.&set := $00000008;
  48923. end;
  48924. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  48925. begin
  48926. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48927. end;
  48928. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  48929. begin
  48930. pTDefRegMap(@Self)^.&set := $00000010;
  48931. end;
  48932. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  48933. begin
  48934. pTDefRegMap(@Self)^.clr := $00000010;
  48935. end;
  48936. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  48937. begin
  48938. if thebits = 0 then
  48939. pTDefRegMap(@Self)^.clr := $00000010
  48940. else
  48941. pTDefRegMap(@Self)^.&set := $00000010;
  48942. end;
  48943. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  48944. begin
  48945. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48946. end;
  48947. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  48948. begin
  48949. pTDefRegMap(@Self)^.&set := $00000020;
  48950. end;
  48951. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  48952. begin
  48953. pTDefRegMap(@Self)^.clr := $00000020;
  48954. end;
  48955. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  48956. begin
  48957. if thebits = 0 then
  48958. pTDefRegMap(@Self)^.clr := $00000020
  48959. else
  48960. pTDefRegMap(@Self)^.&set := $00000020;
  48961. end;
  48962. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  48963. begin
  48964. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48965. end;
  48966. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  48967. begin
  48968. pTDefRegMap(@Self)^.&set := $00000040;
  48969. end;
  48970. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  48971. begin
  48972. pTDefRegMap(@Self)^.clr := $00000040;
  48973. end;
  48974. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  48975. begin
  48976. if thebits = 0 then
  48977. pTDefRegMap(@Self)^.clr := $00000040
  48978. else
  48979. pTDefRegMap(@Self)^.&set := $00000040;
  48980. end;
  48981. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  48982. begin
  48983. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48984. end;
  48985. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  48986. begin
  48987. pTDefRegMap(@Self)^.&set := $00000080;
  48988. end;
  48989. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  48990. begin
  48991. pTDefRegMap(@Self)^.clr := $00000080;
  48992. end;
  48993. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  48994. begin
  48995. if thebits = 0 then
  48996. pTDefRegMap(@Self)^.clr := $00000080
  48997. else
  48998. pTDefRegMap(@Self)^.&set := $00000080;
  48999. end;
  49000. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  49001. begin
  49002. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49003. end;
  49004. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  49005. begin
  49006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49007. end;
  49008. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  49009. begin
  49010. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49011. end;
  49012. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  49013. begin
  49014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49015. end;
  49016. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  49017. begin
  49018. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49019. end;
  49020. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  49021. begin
  49022. pTDefRegMap(@Self)^.val := thebits;
  49023. end;
  49024. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  49025. begin
  49026. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49027. end;
  49028. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  49029. begin
  49030. pTDefRegMap(@Self)^.&set := $00000001;
  49031. end;
  49032. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  49033. begin
  49034. pTDefRegMap(@Self)^.clr := $00000001;
  49035. end;
  49036. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  49037. begin
  49038. if thebits = 0 then
  49039. pTDefRegMap(@Self)^.clr := $00000001
  49040. else
  49041. pTDefRegMap(@Self)^.&set := $00000001;
  49042. end;
  49043. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  49044. begin
  49045. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49046. end;
  49047. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  49048. begin
  49049. pTDefRegMap(@Self)^.&set := $00000002;
  49050. end;
  49051. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  49052. begin
  49053. pTDefRegMap(@Self)^.clr := $00000002;
  49054. end;
  49055. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  49056. begin
  49057. if thebits = 0 then
  49058. pTDefRegMap(@Self)^.clr := $00000002
  49059. else
  49060. pTDefRegMap(@Self)^.&set := $00000002;
  49061. end;
  49062. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  49063. begin
  49064. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49065. end;
  49066. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  49067. begin
  49068. pTDefRegMap(@Self)^.&set := $00000004;
  49069. end;
  49070. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  49071. begin
  49072. pTDefRegMap(@Self)^.clr := $00000004;
  49073. end;
  49074. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  49075. begin
  49076. if thebits = 0 then
  49077. pTDefRegMap(@Self)^.clr := $00000004
  49078. else
  49079. pTDefRegMap(@Self)^.&set := $00000004;
  49080. end;
  49081. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  49082. begin
  49083. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49084. end;
  49085. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  49086. begin
  49087. pTDefRegMap(@Self)^.&set := $00000008;
  49088. end;
  49089. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  49090. begin
  49091. pTDefRegMap(@Self)^.clr := $00000008;
  49092. end;
  49093. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  49094. begin
  49095. if thebits = 0 then
  49096. pTDefRegMap(@Self)^.clr := $00000008
  49097. else
  49098. pTDefRegMap(@Self)^.&set := $00000008;
  49099. end;
  49100. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  49101. begin
  49102. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49103. end;
  49104. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  49105. begin
  49106. pTDefRegMap(@Self)^.&set := $00000010;
  49107. end;
  49108. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  49109. begin
  49110. pTDefRegMap(@Self)^.clr := $00000010;
  49111. end;
  49112. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  49113. begin
  49114. if thebits = 0 then
  49115. pTDefRegMap(@Self)^.clr := $00000010
  49116. else
  49117. pTDefRegMap(@Self)^.&set := $00000010;
  49118. end;
  49119. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  49120. begin
  49121. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49122. end;
  49123. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  49124. begin
  49125. pTDefRegMap(@Self)^.&set := $00000020;
  49126. end;
  49127. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  49128. begin
  49129. pTDefRegMap(@Self)^.clr := $00000020;
  49130. end;
  49131. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  49132. begin
  49133. if thebits = 0 then
  49134. pTDefRegMap(@Self)^.clr := $00000020
  49135. else
  49136. pTDefRegMap(@Self)^.&set := $00000020;
  49137. end;
  49138. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  49139. begin
  49140. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49141. end;
  49142. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  49143. begin
  49144. pTDefRegMap(@Self)^.&set := $00000040;
  49145. end;
  49146. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  49147. begin
  49148. pTDefRegMap(@Self)^.clr := $00000040;
  49149. end;
  49150. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  49151. begin
  49152. if thebits = 0 then
  49153. pTDefRegMap(@Self)^.clr := $00000040
  49154. else
  49155. pTDefRegMap(@Self)^.&set := $00000040;
  49156. end;
  49157. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  49158. begin
  49159. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49160. end;
  49161. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  49162. begin
  49163. pTDefRegMap(@Self)^.&set := $00000080;
  49164. end;
  49165. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  49166. begin
  49167. pTDefRegMap(@Self)^.clr := $00000080;
  49168. end;
  49169. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  49170. begin
  49171. if thebits = 0 then
  49172. pTDefRegMap(@Self)^.clr := $00000080
  49173. else
  49174. pTDefRegMap(@Self)^.&set := $00000080;
  49175. end;
  49176. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  49177. begin
  49178. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49179. end;
  49180. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  49181. begin
  49182. pTDefRegMap(@Self)^.&set := $00010000;
  49183. end;
  49184. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  49185. begin
  49186. pTDefRegMap(@Self)^.clr := $00010000;
  49187. end;
  49188. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  49189. begin
  49190. if thebits = 0 then
  49191. pTDefRegMap(@Self)^.clr := $00010000
  49192. else
  49193. pTDefRegMap(@Self)^.&set := $00010000;
  49194. end;
  49195. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  49196. begin
  49197. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49198. end;
  49199. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  49200. begin
  49201. pTDefRegMap(@Self)^.&set := $00020000;
  49202. end;
  49203. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  49204. begin
  49205. pTDefRegMap(@Self)^.clr := $00020000;
  49206. end;
  49207. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  49208. begin
  49209. if thebits = 0 then
  49210. pTDefRegMap(@Self)^.clr := $00020000
  49211. else
  49212. pTDefRegMap(@Self)^.&set := $00020000;
  49213. end;
  49214. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  49215. begin
  49216. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49217. end;
  49218. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  49219. begin
  49220. pTDefRegMap(@Self)^.&set := $00040000;
  49221. end;
  49222. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  49223. begin
  49224. pTDefRegMap(@Self)^.clr := $00040000;
  49225. end;
  49226. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  49227. begin
  49228. if thebits = 0 then
  49229. pTDefRegMap(@Self)^.clr := $00040000
  49230. else
  49231. pTDefRegMap(@Self)^.&set := $00040000;
  49232. end;
  49233. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  49234. begin
  49235. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49236. end;
  49237. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  49238. begin
  49239. pTDefRegMap(@Self)^.&set := $00080000;
  49240. end;
  49241. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  49242. begin
  49243. pTDefRegMap(@Self)^.clr := $00080000;
  49244. end;
  49245. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  49246. begin
  49247. if thebits = 0 then
  49248. pTDefRegMap(@Self)^.clr := $00080000
  49249. else
  49250. pTDefRegMap(@Self)^.&set := $00080000;
  49251. end;
  49252. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  49253. begin
  49254. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49255. end;
  49256. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  49257. begin
  49258. pTDefRegMap(@Self)^.&set := $00100000;
  49259. end;
  49260. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  49261. begin
  49262. pTDefRegMap(@Self)^.clr := $00100000;
  49263. end;
  49264. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  49265. begin
  49266. if thebits = 0 then
  49267. pTDefRegMap(@Self)^.clr := $00100000
  49268. else
  49269. pTDefRegMap(@Self)^.&set := $00100000;
  49270. end;
  49271. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  49272. begin
  49273. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49274. end;
  49275. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  49276. begin
  49277. pTDefRegMap(@Self)^.&set := $00200000;
  49278. end;
  49279. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  49280. begin
  49281. pTDefRegMap(@Self)^.clr := $00200000;
  49282. end;
  49283. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  49284. begin
  49285. if thebits = 0 then
  49286. pTDefRegMap(@Self)^.clr := $00200000
  49287. else
  49288. pTDefRegMap(@Self)^.&set := $00200000;
  49289. end;
  49290. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  49291. begin
  49292. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49293. end;
  49294. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  49295. begin
  49296. pTDefRegMap(@Self)^.&set := $00400000;
  49297. end;
  49298. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  49299. begin
  49300. pTDefRegMap(@Self)^.clr := $00400000;
  49301. end;
  49302. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  49303. begin
  49304. if thebits = 0 then
  49305. pTDefRegMap(@Self)^.clr := $00400000
  49306. else
  49307. pTDefRegMap(@Self)^.&set := $00400000;
  49308. end;
  49309. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  49310. begin
  49311. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49312. end;
  49313. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  49314. begin
  49315. pTDefRegMap(@Self)^.&set := $00800000;
  49316. end;
  49317. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  49318. begin
  49319. pTDefRegMap(@Self)^.clr := $00800000;
  49320. end;
  49321. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  49322. begin
  49323. if thebits = 0 then
  49324. pTDefRegMap(@Self)^.clr := $00800000
  49325. else
  49326. pTDefRegMap(@Self)^.&set := $00800000;
  49327. end;
  49328. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  49329. begin
  49330. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49331. end;
  49332. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  49333. begin
  49334. pTDefRegMap(@Self)^.val := thebits;
  49335. end;
  49336. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  49337. begin
  49338. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49339. end;
  49340. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  49341. begin
  49342. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49343. end;
  49344. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  49345. begin
  49346. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49347. end;
  49348. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  49349. begin
  49350. pTDefRegMap(@Self)^.&set := $00000004;
  49351. end;
  49352. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  49353. begin
  49354. pTDefRegMap(@Self)^.clr := $00000004;
  49355. end;
  49356. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  49357. begin
  49358. if thebits = 0 then
  49359. pTDefRegMap(@Self)^.clr := $00000004
  49360. else
  49361. pTDefRegMap(@Self)^.&set := $00000004;
  49362. end;
  49363. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  49364. begin
  49365. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49366. end;
  49367. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  49368. begin
  49369. pTDefRegMap(@Self)^.&set := $00000010;
  49370. end;
  49371. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  49372. begin
  49373. pTDefRegMap(@Self)^.clr := $00000010;
  49374. end;
  49375. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  49376. begin
  49377. if thebits = 0 then
  49378. pTDefRegMap(@Self)^.clr := $00000010
  49379. else
  49380. pTDefRegMap(@Self)^.&set := $00000010;
  49381. end;
  49382. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  49383. begin
  49384. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49385. end;
  49386. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  49387. begin
  49388. pTDefRegMap(@Self)^.&set := $00000020;
  49389. end;
  49390. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  49391. begin
  49392. pTDefRegMap(@Self)^.clr := $00000020;
  49393. end;
  49394. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  49395. begin
  49396. if thebits = 0 then
  49397. pTDefRegMap(@Self)^.clr := $00000020
  49398. else
  49399. pTDefRegMap(@Self)^.&set := $00000020;
  49400. end;
  49401. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  49402. begin
  49403. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49404. end;
  49405. procedure TDMAC2_DCH2CON.setCHAED; inline;
  49406. begin
  49407. pTDefRegMap(@Self)^.&set := $00000040;
  49408. end;
  49409. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  49410. begin
  49411. pTDefRegMap(@Self)^.clr := $00000040;
  49412. end;
  49413. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  49414. begin
  49415. if thebits = 0 then
  49416. pTDefRegMap(@Self)^.clr := $00000040
  49417. else
  49418. pTDefRegMap(@Self)^.&set := $00000040;
  49419. end;
  49420. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  49421. begin
  49422. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49423. end;
  49424. procedure TDMAC2_DCH2CON.setCHEN; inline;
  49425. begin
  49426. pTDefRegMap(@Self)^.&set := $00000080;
  49427. end;
  49428. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  49429. begin
  49430. pTDefRegMap(@Self)^.clr := $00000080;
  49431. end;
  49432. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  49433. begin
  49434. if thebits = 0 then
  49435. pTDefRegMap(@Self)^.clr := $00000080
  49436. else
  49437. pTDefRegMap(@Self)^.&set := $00000080;
  49438. end;
  49439. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  49440. begin
  49441. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49442. end;
  49443. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  49444. begin
  49445. pTDefRegMap(@Self)^.&set := $00000100;
  49446. end;
  49447. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  49448. begin
  49449. pTDefRegMap(@Self)^.clr := $00000100;
  49450. end;
  49451. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  49452. begin
  49453. if thebits = 0 then
  49454. pTDefRegMap(@Self)^.clr := $00000100
  49455. else
  49456. pTDefRegMap(@Self)^.&set := $00000100;
  49457. end;
  49458. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  49459. begin
  49460. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49461. end;
  49462. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  49463. begin
  49464. pTDefRegMap(@Self)^.&set := $00008000;
  49465. end;
  49466. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  49467. begin
  49468. pTDefRegMap(@Self)^.clr := $00008000;
  49469. end;
  49470. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  49471. begin
  49472. if thebits = 0 then
  49473. pTDefRegMap(@Self)^.clr := $00008000
  49474. else
  49475. pTDefRegMap(@Self)^.&set := $00008000;
  49476. end;
  49477. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  49478. begin
  49479. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49480. end;
  49481. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  49482. begin
  49483. pTDefRegMap(@Self)^.val := thebits;
  49484. end;
  49485. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  49486. begin
  49487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49488. end;
  49489. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  49490. begin
  49491. pTDefRegMap(@Self)^.&set := $00000008;
  49492. end;
  49493. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  49494. begin
  49495. pTDefRegMap(@Self)^.clr := $00000008;
  49496. end;
  49497. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  49498. begin
  49499. if thebits = 0 then
  49500. pTDefRegMap(@Self)^.clr := $00000008
  49501. else
  49502. pTDefRegMap(@Self)^.&set := $00000008;
  49503. end;
  49504. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  49505. begin
  49506. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49507. end;
  49508. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  49509. begin
  49510. pTDefRegMap(@Self)^.&set := $00000010;
  49511. end;
  49512. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  49513. begin
  49514. pTDefRegMap(@Self)^.clr := $00000010;
  49515. end;
  49516. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  49517. begin
  49518. if thebits = 0 then
  49519. pTDefRegMap(@Self)^.clr := $00000010
  49520. else
  49521. pTDefRegMap(@Self)^.&set := $00000010;
  49522. end;
  49523. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  49524. begin
  49525. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49526. end;
  49527. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  49528. begin
  49529. pTDefRegMap(@Self)^.&set := $00000020;
  49530. end;
  49531. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  49532. begin
  49533. pTDefRegMap(@Self)^.clr := $00000020;
  49534. end;
  49535. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  49536. begin
  49537. if thebits = 0 then
  49538. pTDefRegMap(@Self)^.clr := $00000020
  49539. else
  49540. pTDefRegMap(@Self)^.&set := $00000020;
  49541. end;
  49542. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  49543. begin
  49544. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49545. end;
  49546. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  49547. begin
  49548. pTDefRegMap(@Self)^.&set := $00000040;
  49549. end;
  49550. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  49551. begin
  49552. pTDefRegMap(@Self)^.clr := $00000040;
  49553. end;
  49554. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  49555. begin
  49556. if thebits = 0 then
  49557. pTDefRegMap(@Self)^.clr := $00000040
  49558. else
  49559. pTDefRegMap(@Self)^.&set := $00000040;
  49560. end;
  49561. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  49562. begin
  49563. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49564. end;
  49565. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  49566. begin
  49567. pTDefRegMap(@Self)^.&set := $00000080;
  49568. end;
  49569. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  49570. begin
  49571. pTDefRegMap(@Self)^.clr := $00000080;
  49572. end;
  49573. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  49574. begin
  49575. if thebits = 0 then
  49576. pTDefRegMap(@Self)^.clr := $00000080
  49577. else
  49578. pTDefRegMap(@Self)^.&set := $00000080;
  49579. end;
  49580. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  49581. begin
  49582. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49583. end;
  49584. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  49585. begin
  49586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49587. end;
  49588. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  49589. begin
  49590. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49591. end;
  49592. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  49593. begin
  49594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49595. end;
  49596. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  49597. begin
  49598. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49599. end;
  49600. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  49601. begin
  49602. pTDefRegMap(@Self)^.val := thebits;
  49603. end;
  49604. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  49605. begin
  49606. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49607. end;
  49608. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  49609. begin
  49610. pTDefRegMap(@Self)^.&set := $00000001;
  49611. end;
  49612. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  49613. begin
  49614. pTDefRegMap(@Self)^.clr := $00000001;
  49615. end;
  49616. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  49617. begin
  49618. if thebits = 0 then
  49619. pTDefRegMap(@Self)^.clr := $00000001
  49620. else
  49621. pTDefRegMap(@Self)^.&set := $00000001;
  49622. end;
  49623. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  49624. begin
  49625. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49626. end;
  49627. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  49628. begin
  49629. pTDefRegMap(@Self)^.&set := $00000002;
  49630. end;
  49631. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  49632. begin
  49633. pTDefRegMap(@Self)^.clr := $00000002;
  49634. end;
  49635. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  49636. begin
  49637. if thebits = 0 then
  49638. pTDefRegMap(@Self)^.clr := $00000002
  49639. else
  49640. pTDefRegMap(@Self)^.&set := $00000002;
  49641. end;
  49642. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  49643. begin
  49644. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49645. end;
  49646. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  49647. begin
  49648. pTDefRegMap(@Self)^.&set := $00000004;
  49649. end;
  49650. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  49651. begin
  49652. pTDefRegMap(@Self)^.clr := $00000004;
  49653. end;
  49654. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  49655. begin
  49656. if thebits = 0 then
  49657. pTDefRegMap(@Self)^.clr := $00000004
  49658. else
  49659. pTDefRegMap(@Self)^.&set := $00000004;
  49660. end;
  49661. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  49662. begin
  49663. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49664. end;
  49665. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  49666. begin
  49667. pTDefRegMap(@Self)^.&set := $00000008;
  49668. end;
  49669. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  49670. begin
  49671. pTDefRegMap(@Self)^.clr := $00000008;
  49672. end;
  49673. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  49674. begin
  49675. if thebits = 0 then
  49676. pTDefRegMap(@Self)^.clr := $00000008
  49677. else
  49678. pTDefRegMap(@Self)^.&set := $00000008;
  49679. end;
  49680. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  49681. begin
  49682. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49683. end;
  49684. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  49685. begin
  49686. pTDefRegMap(@Self)^.&set := $00000010;
  49687. end;
  49688. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  49689. begin
  49690. pTDefRegMap(@Self)^.clr := $00000010;
  49691. end;
  49692. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  49693. begin
  49694. if thebits = 0 then
  49695. pTDefRegMap(@Self)^.clr := $00000010
  49696. else
  49697. pTDefRegMap(@Self)^.&set := $00000010;
  49698. end;
  49699. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  49700. begin
  49701. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49702. end;
  49703. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  49704. begin
  49705. pTDefRegMap(@Self)^.&set := $00000020;
  49706. end;
  49707. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  49708. begin
  49709. pTDefRegMap(@Self)^.clr := $00000020;
  49710. end;
  49711. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  49712. begin
  49713. if thebits = 0 then
  49714. pTDefRegMap(@Self)^.clr := $00000020
  49715. else
  49716. pTDefRegMap(@Self)^.&set := $00000020;
  49717. end;
  49718. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  49719. begin
  49720. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49721. end;
  49722. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  49723. begin
  49724. pTDefRegMap(@Self)^.&set := $00000040;
  49725. end;
  49726. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  49727. begin
  49728. pTDefRegMap(@Self)^.clr := $00000040;
  49729. end;
  49730. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  49731. begin
  49732. if thebits = 0 then
  49733. pTDefRegMap(@Self)^.clr := $00000040
  49734. else
  49735. pTDefRegMap(@Self)^.&set := $00000040;
  49736. end;
  49737. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  49738. begin
  49739. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49740. end;
  49741. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  49742. begin
  49743. pTDefRegMap(@Self)^.&set := $00000080;
  49744. end;
  49745. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  49746. begin
  49747. pTDefRegMap(@Self)^.clr := $00000080;
  49748. end;
  49749. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  49750. begin
  49751. if thebits = 0 then
  49752. pTDefRegMap(@Self)^.clr := $00000080
  49753. else
  49754. pTDefRegMap(@Self)^.&set := $00000080;
  49755. end;
  49756. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  49757. begin
  49758. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49759. end;
  49760. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  49761. begin
  49762. pTDefRegMap(@Self)^.&set := $00010000;
  49763. end;
  49764. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  49765. begin
  49766. pTDefRegMap(@Self)^.clr := $00010000;
  49767. end;
  49768. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  49769. begin
  49770. if thebits = 0 then
  49771. pTDefRegMap(@Self)^.clr := $00010000
  49772. else
  49773. pTDefRegMap(@Self)^.&set := $00010000;
  49774. end;
  49775. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  49776. begin
  49777. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49778. end;
  49779. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  49780. begin
  49781. pTDefRegMap(@Self)^.&set := $00020000;
  49782. end;
  49783. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  49784. begin
  49785. pTDefRegMap(@Self)^.clr := $00020000;
  49786. end;
  49787. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  49788. begin
  49789. if thebits = 0 then
  49790. pTDefRegMap(@Self)^.clr := $00020000
  49791. else
  49792. pTDefRegMap(@Self)^.&set := $00020000;
  49793. end;
  49794. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  49795. begin
  49796. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49797. end;
  49798. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  49799. begin
  49800. pTDefRegMap(@Self)^.&set := $00040000;
  49801. end;
  49802. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  49803. begin
  49804. pTDefRegMap(@Self)^.clr := $00040000;
  49805. end;
  49806. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  49807. begin
  49808. if thebits = 0 then
  49809. pTDefRegMap(@Self)^.clr := $00040000
  49810. else
  49811. pTDefRegMap(@Self)^.&set := $00040000;
  49812. end;
  49813. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  49814. begin
  49815. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49816. end;
  49817. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  49818. begin
  49819. pTDefRegMap(@Self)^.&set := $00080000;
  49820. end;
  49821. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  49822. begin
  49823. pTDefRegMap(@Self)^.clr := $00080000;
  49824. end;
  49825. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  49826. begin
  49827. if thebits = 0 then
  49828. pTDefRegMap(@Self)^.clr := $00080000
  49829. else
  49830. pTDefRegMap(@Self)^.&set := $00080000;
  49831. end;
  49832. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  49833. begin
  49834. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49835. end;
  49836. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  49837. begin
  49838. pTDefRegMap(@Self)^.&set := $00100000;
  49839. end;
  49840. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  49841. begin
  49842. pTDefRegMap(@Self)^.clr := $00100000;
  49843. end;
  49844. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  49845. begin
  49846. if thebits = 0 then
  49847. pTDefRegMap(@Self)^.clr := $00100000
  49848. else
  49849. pTDefRegMap(@Self)^.&set := $00100000;
  49850. end;
  49851. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  49852. begin
  49853. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49854. end;
  49855. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  49856. begin
  49857. pTDefRegMap(@Self)^.&set := $00200000;
  49858. end;
  49859. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  49860. begin
  49861. pTDefRegMap(@Self)^.clr := $00200000;
  49862. end;
  49863. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  49864. begin
  49865. if thebits = 0 then
  49866. pTDefRegMap(@Self)^.clr := $00200000
  49867. else
  49868. pTDefRegMap(@Self)^.&set := $00200000;
  49869. end;
  49870. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  49871. begin
  49872. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49873. end;
  49874. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  49875. begin
  49876. pTDefRegMap(@Self)^.&set := $00400000;
  49877. end;
  49878. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  49879. begin
  49880. pTDefRegMap(@Self)^.clr := $00400000;
  49881. end;
  49882. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  49883. begin
  49884. if thebits = 0 then
  49885. pTDefRegMap(@Self)^.clr := $00400000
  49886. else
  49887. pTDefRegMap(@Self)^.&set := $00400000;
  49888. end;
  49889. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  49890. begin
  49891. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49892. end;
  49893. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  49894. begin
  49895. pTDefRegMap(@Self)^.&set := $00800000;
  49896. end;
  49897. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  49898. begin
  49899. pTDefRegMap(@Self)^.clr := $00800000;
  49900. end;
  49901. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  49902. begin
  49903. if thebits = 0 then
  49904. pTDefRegMap(@Self)^.clr := $00800000
  49905. else
  49906. pTDefRegMap(@Self)^.&set := $00800000;
  49907. end;
  49908. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  49909. begin
  49910. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49911. end;
  49912. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  49913. begin
  49914. pTDefRegMap(@Self)^.val := thebits;
  49915. end;
  49916. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  49917. begin
  49918. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49919. end;
  49920. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  49921. begin
  49922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49923. end;
  49924. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  49925. begin
  49926. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49927. end;
  49928. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  49929. begin
  49930. pTDefRegMap(@Self)^.&set := $00000004;
  49931. end;
  49932. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  49933. begin
  49934. pTDefRegMap(@Self)^.clr := $00000004;
  49935. end;
  49936. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  49937. begin
  49938. if thebits = 0 then
  49939. pTDefRegMap(@Self)^.clr := $00000004
  49940. else
  49941. pTDefRegMap(@Self)^.&set := $00000004;
  49942. end;
  49943. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  49944. begin
  49945. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49946. end;
  49947. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  49948. begin
  49949. pTDefRegMap(@Self)^.&set := $00000010;
  49950. end;
  49951. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  49952. begin
  49953. pTDefRegMap(@Self)^.clr := $00000010;
  49954. end;
  49955. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  49956. begin
  49957. if thebits = 0 then
  49958. pTDefRegMap(@Self)^.clr := $00000010
  49959. else
  49960. pTDefRegMap(@Self)^.&set := $00000010;
  49961. end;
  49962. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  49963. begin
  49964. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49965. end;
  49966. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  49967. begin
  49968. pTDefRegMap(@Self)^.&set := $00000020;
  49969. end;
  49970. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  49971. begin
  49972. pTDefRegMap(@Self)^.clr := $00000020;
  49973. end;
  49974. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  49975. begin
  49976. if thebits = 0 then
  49977. pTDefRegMap(@Self)^.clr := $00000020
  49978. else
  49979. pTDefRegMap(@Self)^.&set := $00000020;
  49980. end;
  49981. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  49982. begin
  49983. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49984. end;
  49985. procedure TDMAC3_DCH3CON.setCHAED; inline;
  49986. begin
  49987. pTDefRegMap(@Self)^.&set := $00000040;
  49988. end;
  49989. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  49990. begin
  49991. pTDefRegMap(@Self)^.clr := $00000040;
  49992. end;
  49993. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  49994. begin
  49995. if thebits = 0 then
  49996. pTDefRegMap(@Self)^.clr := $00000040
  49997. else
  49998. pTDefRegMap(@Self)^.&set := $00000040;
  49999. end;
  50000. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  50001. begin
  50002. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50003. end;
  50004. procedure TDMAC3_DCH3CON.setCHEN; inline;
  50005. begin
  50006. pTDefRegMap(@Self)^.&set := $00000080;
  50007. end;
  50008. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  50009. begin
  50010. pTDefRegMap(@Self)^.clr := $00000080;
  50011. end;
  50012. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  50013. begin
  50014. if thebits = 0 then
  50015. pTDefRegMap(@Self)^.clr := $00000080
  50016. else
  50017. pTDefRegMap(@Self)^.&set := $00000080;
  50018. end;
  50019. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  50020. begin
  50021. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50022. end;
  50023. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  50024. begin
  50025. pTDefRegMap(@Self)^.&set := $00000100;
  50026. end;
  50027. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  50028. begin
  50029. pTDefRegMap(@Self)^.clr := $00000100;
  50030. end;
  50031. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  50032. begin
  50033. if thebits = 0 then
  50034. pTDefRegMap(@Self)^.clr := $00000100
  50035. else
  50036. pTDefRegMap(@Self)^.&set := $00000100;
  50037. end;
  50038. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  50039. begin
  50040. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50041. end;
  50042. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  50043. begin
  50044. pTDefRegMap(@Self)^.&set := $00008000;
  50045. end;
  50046. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  50047. begin
  50048. pTDefRegMap(@Self)^.clr := $00008000;
  50049. end;
  50050. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  50051. begin
  50052. if thebits = 0 then
  50053. pTDefRegMap(@Self)^.clr := $00008000
  50054. else
  50055. pTDefRegMap(@Self)^.&set := $00008000;
  50056. end;
  50057. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  50058. begin
  50059. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50060. end;
  50061. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  50062. begin
  50063. pTDefRegMap(@Self)^.val := thebits;
  50064. end;
  50065. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  50066. begin
  50067. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50068. end;
  50069. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  50070. begin
  50071. pTDefRegMap(@Self)^.&set := $00000008;
  50072. end;
  50073. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  50074. begin
  50075. pTDefRegMap(@Self)^.clr := $00000008;
  50076. end;
  50077. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  50078. begin
  50079. if thebits = 0 then
  50080. pTDefRegMap(@Self)^.clr := $00000008
  50081. else
  50082. pTDefRegMap(@Self)^.&set := $00000008;
  50083. end;
  50084. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  50085. begin
  50086. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50087. end;
  50088. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  50089. begin
  50090. pTDefRegMap(@Self)^.&set := $00000010;
  50091. end;
  50092. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  50093. begin
  50094. pTDefRegMap(@Self)^.clr := $00000010;
  50095. end;
  50096. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  50097. begin
  50098. if thebits = 0 then
  50099. pTDefRegMap(@Self)^.clr := $00000010
  50100. else
  50101. pTDefRegMap(@Self)^.&set := $00000010;
  50102. end;
  50103. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  50104. begin
  50105. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50106. end;
  50107. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  50108. begin
  50109. pTDefRegMap(@Self)^.&set := $00000020;
  50110. end;
  50111. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  50112. begin
  50113. pTDefRegMap(@Self)^.clr := $00000020;
  50114. end;
  50115. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  50116. begin
  50117. if thebits = 0 then
  50118. pTDefRegMap(@Self)^.clr := $00000020
  50119. else
  50120. pTDefRegMap(@Self)^.&set := $00000020;
  50121. end;
  50122. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  50123. begin
  50124. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50125. end;
  50126. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  50127. begin
  50128. pTDefRegMap(@Self)^.&set := $00000040;
  50129. end;
  50130. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  50131. begin
  50132. pTDefRegMap(@Self)^.clr := $00000040;
  50133. end;
  50134. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  50135. begin
  50136. if thebits = 0 then
  50137. pTDefRegMap(@Self)^.clr := $00000040
  50138. else
  50139. pTDefRegMap(@Self)^.&set := $00000040;
  50140. end;
  50141. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  50142. begin
  50143. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50144. end;
  50145. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  50146. begin
  50147. pTDefRegMap(@Self)^.&set := $00000080;
  50148. end;
  50149. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  50150. begin
  50151. pTDefRegMap(@Self)^.clr := $00000080;
  50152. end;
  50153. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  50154. begin
  50155. if thebits = 0 then
  50156. pTDefRegMap(@Self)^.clr := $00000080
  50157. else
  50158. pTDefRegMap(@Self)^.&set := $00000080;
  50159. end;
  50160. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  50161. begin
  50162. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50163. end;
  50164. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  50165. begin
  50166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50167. end;
  50168. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  50169. begin
  50170. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50171. end;
  50172. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  50173. begin
  50174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50175. end;
  50176. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  50177. begin
  50178. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50179. end;
  50180. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  50181. begin
  50182. pTDefRegMap(@Self)^.val := thebits;
  50183. end;
  50184. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  50185. begin
  50186. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50187. end;
  50188. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  50189. begin
  50190. pTDefRegMap(@Self)^.&set := $00000001;
  50191. end;
  50192. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  50193. begin
  50194. pTDefRegMap(@Self)^.clr := $00000001;
  50195. end;
  50196. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  50197. begin
  50198. if thebits = 0 then
  50199. pTDefRegMap(@Self)^.clr := $00000001
  50200. else
  50201. pTDefRegMap(@Self)^.&set := $00000001;
  50202. end;
  50203. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  50204. begin
  50205. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50206. end;
  50207. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  50208. begin
  50209. pTDefRegMap(@Self)^.&set := $00000002;
  50210. end;
  50211. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  50212. begin
  50213. pTDefRegMap(@Self)^.clr := $00000002;
  50214. end;
  50215. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  50216. begin
  50217. if thebits = 0 then
  50218. pTDefRegMap(@Self)^.clr := $00000002
  50219. else
  50220. pTDefRegMap(@Self)^.&set := $00000002;
  50221. end;
  50222. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  50223. begin
  50224. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50225. end;
  50226. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  50227. begin
  50228. pTDefRegMap(@Self)^.&set := $00000004;
  50229. end;
  50230. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  50231. begin
  50232. pTDefRegMap(@Self)^.clr := $00000004;
  50233. end;
  50234. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  50235. begin
  50236. if thebits = 0 then
  50237. pTDefRegMap(@Self)^.clr := $00000004
  50238. else
  50239. pTDefRegMap(@Self)^.&set := $00000004;
  50240. end;
  50241. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  50242. begin
  50243. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50244. end;
  50245. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  50246. begin
  50247. pTDefRegMap(@Self)^.&set := $00000008;
  50248. end;
  50249. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  50250. begin
  50251. pTDefRegMap(@Self)^.clr := $00000008;
  50252. end;
  50253. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  50254. begin
  50255. if thebits = 0 then
  50256. pTDefRegMap(@Self)^.clr := $00000008
  50257. else
  50258. pTDefRegMap(@Self)^.&set := $00000008;
  50259. end;
  50260. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  50261. begin
  50262. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50263. end;
  50264. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  50265. begin
  50266. pTDefRegMap(@Self)^.&set := $00000010;
  50267. end;
  50268. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  50269. begin
  50270. pTDefRegMap(@Self)^.clr := $00000010;
  50271. end;
  50272. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  50273. begin
  50274. if thebits = 0 then
  50275. pTDefRegMap(@Self)^.clr := $00000010
  50276. else
  50277. pTDefRegMap(@Self)^.&set := $00000010;
  50278. end;
  50279. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  50280. begin
  50281. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50282. end;
  50283. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  50284. begin
  50285. pTDefRegMap(@Self)^.&set := $00000020;
  50286. end;
  50287. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  50288. begin
  50289. pTDefRegMap(@Self)^.clr := $00000020;
  50290. end;
  50291. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  50292. begin
  50293. if thebits = 0 then
  50294. pTDefRegMap(@Self)^.clr := $00000020
  50295. else
  50296. pTDefRegMap(@Self)^.&set := $00000020;
  50297. end;
  50298. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  50299. begin
  50300. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50301. end;
  50302. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  50303. begin
  50304. pTDefRegMap(@Self)^.&set := $00000040;
  50305. end;
  50306. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  50307. begin
  50308. pTDefRegMap(@Self)^.clr := $00000040;
  50309. end;
  50310. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  50311. begin
  50312. if thebits = 0 then
  50313. pTDefRegMap(@Self)^.clr := $00000040
  50314. else
  50315. pTDefRegMap(@Self)^.&set := $00000040;
  50316. end;
  50317. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  50318. begin
  50319. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50320. end;
  50321. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  50322. begin
  50323. pTDefRegMap(@Self)^.&set := $00000080;
  50324. end;
  50325. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  50326. begin
  50327. pTDefRegMap(@Self)^.clr := $00000080;
  50328. end;
  50329. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  50330. begin
  50331. if thebits = 0 then
  50332. pTDefRegMap(@Self)^.clr := $00000080
  50333. else
  50334. pTDefRegMap(@Self)^.&set := $00000080;
  50335. end;
  50336. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  50337. begin
  50338. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50339. end;
  50340. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  50341. begin
  50342. pTDefRegMap(@Self)^.&set := $00010000;
  50343. end;
  50344. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  50345. begin
  50346. pTDefRegMap(@Self)^.clr := $00010000;
  50347. end;
  50348. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  50349. begin
  50350. if thebits = 0 then
  50351. pTDefRegMap(@Self)^.clr := $00010000
  50352. else
  50353. pTDefRegMap(@Self)^.&set := $00010000;
  50354. end;
  50355. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  50356. begin
  50357. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50358. end;
  50359. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  50360. begin
  50361. pTDefRegMap(@Self)^.&set := $00020000;
  50362. end;
  50363. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  50364. begin
  50365. pTDefRegMap(@Self)^.clr := $00020000;
  50366. end;
  50367. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  50368. begin
  50369. if thebits = 0 then
  50370. pTDefRegMap(@Self)^.clr := $00020000
  50371. else
  50372. pTDefRegMap(@Self)^.&set := $00020000;
  50373. end;
  50374. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  50375. begin
  50376. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  50377. end;
  50378. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  50379. begin
  50380. pTDefRegMap(@Self)^.&set := $00040000;
  50381. end;
  50382. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  50383. begin
  50384. pTDefRegMap(@Self)^.clr := $00040000;
  50385. end;
  50386. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  50387. begin
  50388. if thebits = 0 then
  50389. pTDefRegMap(@Self)^.clr := $00040000
  50390. else
  50391. pTDefRegMap(@Self)^.&set := $00040000;
  50392. end;
  50393. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  50394. begin
  50395. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50396. end;
  50397. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  50398. begin
  50399. pTDefRegMap(@Self)^.&set := $00080000;
  50400. end;
  50401. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  50402. begin
  50403. pTDefRegMap(@Self)^.clr := $00080000;
  50404. end;
  50405. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  50406. begin
  50407. if thebits = 0 then
  50408. pTDefRegMap(@Self)^.clr := $00080000
  50409. else
  50410. pTDefRegMap(@Self)^.&set := $00080000;
  50411. end;
  50412. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  50413. begin
  50414. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50415. end;
  50416. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  50417. begin
  50418. pTDefRegMap(@Self)^.&set := $00100000;
  50419. end;
  50420. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  50421. begin
  50422. pTDefRegMap(@Self)^.clr := $00100000;
  50423. end;
  50424. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  50425. begin
  50426. if thebits = 0 then
  50427. pTDefRegMap(@Self)^.clr := $00100000
  50428. else
  50429. pTDefRegMap(@Self)^.&set := $00100000;
  50430. end;
  50431. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  50432. begin
  50433. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50434. end;
  50435. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  50436. begin
  50437. pTDefRegMap(@Self)^.&set := $00200000;
  50438. end;
  50439. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  50440. begin
  50441. pTDefRegMap(@Self)^.clr := $00200000;
  50442. end;
  50443. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  50444. begin
  50445. if thebits = 0 then
  50446. pTDefRegMap(@Self)^.clr := $00200000
  50447. else
  50448. pTDefRegMap(@Self)^.&set := $00200000;
  50449. end;
  50450. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  50451. begin
  50452. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  50453. end;
  50454. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  50455. begin
  50456. pTDefRegMap(@Self)^.&set := $00400000;
  50457. end;
  50458. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  50459. begin
  50460. pTDefRegMap(@Self)^.clr := $00400000;
  50461. end;
  50462. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  50463. begin
  50464. if thebits = 0 then
  50465. pTDefRegMap(@Self)^.clr := $00400000
  50466. else
  50467. pTDefRegMap(@Self)^.&set := $00400000;
  50468. end;
  50469. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  50470. begin
  50471. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  50472. end;
  50473. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  50474. begin
  50475. pTDefRegMap(@Self)^.&set := $00800000;
  50476. end;
  50477. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  50478. begin
  50479. pTDefRegMap(@Self)^.clr := $00800000;
  50480. end;
  50481. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  50482. begin
  50483. if thebits = 0 then
  50484. pTDefRegMap(@Self)^.clr := $00800000
  50485. else
  50486. pTDefRegMap(@Self)^.&set := $00800000;
  50487. end;
  50488. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  50489. begin
  50490. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  50491. end;
  50492. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  50493. begin
  50494. pTDefRegMap(@Self)^.val := thebits;
  50495. end;
  50496. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  50497. begin
  50498. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50499. end;
  50500. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  50501. begin
  50502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  50503. end;
  50504. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  50505. begin
  50506. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  50507. end;
  50508. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  50509. begin
  50510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  50511. end;
  50512. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  50513. begin
  50514. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  50515. end;
  50516. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  50517. begin
  50518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  50519. end;
  50520. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  50521. begin
  50522. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  50523. end;
  50524. procedure TPCACHE_CHECON.setCHECOH; inline;
  50525. begin
  50526. pTDefRegMap(@Self)^.&set := $00010000;
  50527. end;
  50528. procedure TPCACHE_CHECON.clearCHECOH; inline;
  50529. begin
  50530. pTDefRegMap(@Self)^.clr := $00010000;
  50531. end;
  50532. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  50533. begin
  50534. if thebits = 0 then
  50535. pTDefRegMap(@Self)^.clr := $00010000
  50536. else
  50537. pTDefRegMap(@Self)^.&set := $00010000;
  50538. end;
  50539. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  50540. begin
  50541. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50542. end;
  50543. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  50544. begin
  50545. pTDefRegMap(@Self)^.val := thebits;
  50546. end;
  50547. function TPCACHE_CHECON.getw : TBits_32; inline;
  50548. begin
  50549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50550. end;
  50551. procedure TPCACHE_CHETAG.setLTYPE; inline;
  50552. begin
  50553. pTDefRegMap(@Self)^.&set := $00000002;
  50554. end;
  50555. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  50556. begin
  50557. pTDefRegMap(@Self)^.clr := $00000002;
  50558. end;
  50559. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  50560. begin
  50561. if thebits = 0 then
  50562. pTDefRegMap(@Self)^.clr := $00000002
  50563. else
  50564. pTDefRegMap(@Self)^.&set := $00000002;
  50565. end;
  50566. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  50567. begin
  50568. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50569. end;
  50570. procedure TPCACHE_CHETAG.setLLOCK; inline;
  50571. begin
  50572. pTDefRegMap(@Self)^.&set := $00000004;
  50573. end;
  50574. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  50575. begin
  50576. pTDefRegMap(@Self)^.clr := $00000004;
  50577. end;
  50578. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  50579. begin
  50580. if thebits = 0 then
  50581. pTDefRegMap(@Self)^.clr := $00000004
  50582. else
  50583. pTDefRegMap(@Self)^.&set := $00000004;
  50584. end;
  50585. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  50586. begin
  50587. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50588. end;
  50589. procedure TPCACHE_CHETAG.setLVALID; inline;
  50590. begin
  50591. pTDefRegMap(@Self)^.&set := $00000008;
  50592. end;
  50593. procedure TPCACHE_CHETAG.clearLVALID; inline;
  50594. begin
  50595. pTDefRegMap(@Self)^.clr := $00000008;
  50596. end;
  50597. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  50598. begin
  50599. if thebits = 0 then
  50600. pTDefRegMap(@Self)^.clr := $00000008
  50601. else
  50602. pTDefRegMap(@Self)^.&set := $00000008;
  50603. end;
  50604. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  50605. begin
  50606. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50607. end;
  50608. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  50609. begin
  50610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  50611. end;
  50612. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  50613. begin
  50614. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  50615. end;
  50616. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  50617. begin
  50618. pTDefRegMap(@Self)^.&set := $80000000;
  50619. end;
  50620. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  50621. begin
  50622. pTDefRegMap(@Self)^.clr := $80000000;
  50623. end;
  50624. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  50625. begin
  50626. if thebits = 0 then
  50627. pTDefRegMap(@Self)^.clr := $80000000
  50628. else
  50629. pTDefRegMap(@Self)^.&set := $80000000;
  50630. end;
  50631. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  50632. begin
  50633. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  50634. end;
  50635. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  50636. begin
  50637. pTDefRegMap(@Self)^.val := thebits;
  50638. end;
  50639. function TPCACHE_CHETAG.getw : TBits_32; inline;
  50640. begin
  50641. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50642. end;
  50643. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  50644. begin
  50645. pTDefRegMap(@Self)^.&set := $00000001;
  50646. end;
  50647. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  50648. begin
  50649. pTDefRegMap(@Self)^.clr := $00000001;
  50650. end;
  50651. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  50652. begin
  50653. if thebits = 0 then
  50654. pTDefRegMap(@Self)^.clr := $00000001
  50655. else
  50656. pTDefRegMap(@Self)^.&set := $00000001;
  50657. end;
  50658. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  50659. begin
  50660. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50661. end;
  50662. procedure TUSB_U1IR.setUERRIF; inline;
  50663. begin
  50664. pTDefRegMap(@Self)^.&set := $00000002;
  50665. end;
  50666. procedure TUSB_U1IR.clearUERRIF; inline;
  50667. begin
  50668. pTDefRegMap(@Self)^.clr := $00000002;
  50669. end;
  50670. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  50671. begin
  50672. if thebits = 0 then
  50673. pTDefRegMap(@Self)^.clr := $00000002
  50674. else
  50675. pTDefRegMap(@Self)^.&set := $00000002;
  50676. end;
  50677. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  50678. begin
  50679. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50680. end;
  50681. procedure TUSB_U1IR.setSOFIF; inline;
  50682. begin
  50683. pTDefRegMap(@Self)^.&set := $00000004;
  50684. end;
  50685. procedure TUSB_U1IR.clearSOFIF; inline;
  50686. begin
  50687. pTDefRegMap(@Self)^.clr := $00000004;
  50688. end;
  50689. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  50690. begin
  50691. if thebits = 0 then
  50692. pTDefRegMap(@Self)^.clr := $00000004
  50693. else
  50694. pTDefRegMap(@Self)^.&set := $00000004;
  50695. end;
  50696. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  50697. begin
  50698. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50699. end;
  50700. procedure TUSB_U1IR.setTRNIF; inline;
  50701. begin
  50702. pTDefRegMap(@Self)^.&set := $00000008;
  50703. end;
  50704. procedure TUSB_U1IR.clearTRNIF; inline;
  50705. begin
  50706. pTDefRegMap(@Self)^.clr := $00000008;
  50707. end;
  50708. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  50709. begin
  50710. if thebits = 0 then
  50711. pTDefRegMap(@Self)^.clr := $00000008
  50712. else
  50713. pTDefRegMap(@Self)^.&set := $00000008;
  50714. end;
  50715. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  50716. begin
  50717. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50718. end;
  50719. procedure TUSB_U1IR.setIDLEIF; inline;
  50720. begin
  50721. pTDefRegMap(@Self)^.&set := $00000010;
  50722. end;
  50723. procedure TUSB_U1IR.clearIDLEIF; inline;
  50724. begin
  50725. pTDefRegMap(@Self)^.clr := $00000010;
  50726. end;
  50727. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  50728. begin
  50729. if thebits = 0 then
  50730. pTDefRegMap(@Self)^.clr := $00000010
  50731. else
  50732. pTDefRegMap(@Self)^.&set := $00000010;
  50733. end;
  50734. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  50735. begin
  50736. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50737. end;
  50738. procedure TUSB_U1IR.setRESUMEIF; inline;
  50739. begin
  50740. pTDefRegMap(@Self)^.&set := $00000020;
  50741. end;
  50742. procedure TUSB_U1IR.clearRESUMEIF; inline;
  50743. begin
  50744. pTDefRegMap(@Self)^.clr := $00000020;
  50745. end;
  50746. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  50747. begin
  50748. if thebits = 0 then
  50749. pTDefRegMap(@Self)^.clr := $00000020
  50750. else
  50751. pTDefRegMap(@Self)^.&set := $00000020;
  50752. end;
  50753. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  50754. begin
  50755. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50756. end;
  50757. procedure TUSB_U1IR.setATTACHIF; inline;
  50758. begin
  50759. pTDefRegMap(@Self)^.&set := $00000040;
  50760. end;
  50761. procedure TUSB_U1IR.clearATTACHIF; inline;
  50762. begin
  50763. pTDefRegMap(@Self)^.clr := $00000040;
  50764. end;
  50765. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  50766. begin
  50767. if thebits = 0 then
  50768. pTDefRegMap(@Self)^.clr := $00000040
  50769. else
  50770. pTDefRegMap(@Self)^.&set := $00000040;
  50771. end;
  50772. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  50773. begin
  50774. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50775. end;
  50776. procedure TUSB_U1IR.setSTALLIF; inline;
  50777. begin
  50778. pTDefRegMap(@Self)^.&set := $00000080;
  50779. end;
  50780. procedure TUSB_U1IR.clearSTALLIF; inline;
  50781. begin
  50782. pTDefRegMap(@Self)^.clr := $00000080;
  50783. end;
  50784. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  50785. begin
  50786. if thebits = 0 then
  50787. pTDefRegMap(@Self)^.clr := $00000080
  50788. else
  50789. pTDefRegMap(@Self)^.&set := $00000080;
  50790. end;
  50791. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  50792. begin
  50793. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50794. end;
  50795. procedure TUSB_U1IR.setDETACHIF; inline;
  50796. begin
  50797. pTDefRegMap(@Self)^.&set := $00000001;
  50798. end;
  50799. procedure TUSB_U1IR.clearDETACHIF; inline;
  50800. begin
  50801. pTDefRegMap(@Self)^.clr := $00000001;
  50802. end;
  50803. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  50804. begin
  50805. if thebits = 0 then
  50806. pTDefRegMap(@Self)^.clr := $00000001
  50807. else
  50808. pTDefRegMap(@Self)^.&set := $00000001;
  50809. end;
  50810. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  50811. begin
  50812. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50813. end;
  50814. procedure TUSB_U1IR.setURSTIF; inline;
  50815. begin
  50816. pTDefRegMap(@Self)^.&set := $00000001;
  50817. end;
  50818. procedure TUSB_U1IR.clearURSTIF; inline;
  50819. begin
  50820. pTDefRegMap(@Self)^.clr := $00000001;
  50821. end;
  50822. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  50823. begin
  50824. if thebits = 0 then
  50825. pTDefRegMap(@Self)^.clr := $00000001
  50826. else
  50827. pTDefRegMap(@Self)^.&set := $00000001;
  50828. end;
  50829. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  50830. begin
  50831. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50832. end;
  50833. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  50834. begin
  50835. pTDefRegMap(@Self)^.&set := $00000001;
  50836. end;
  50837. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  50838. begin
  50839. pTDefRegMap(@Self)^.clr := $00000001;
  50840. end;
  50841. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  50842. begin
  50843. if thebits = 0 then
  50844. pTDefRegMap(@Self)^.clr := $00000001
  50845. else
  50846. pTDefRegMap(@Self)^.&set := $00000001;
  50847. end;
  50848. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  50849. begin
  50850. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50851. end;
  50852. procedure TUSB_U1IE.setUERRIE; inline;
  50853. begin
  50854. pTDefRegMap(@Self)^.&set := $00000002;
  50855. end;
  50856. procedure TUSB_U1IE.clearUERRIE; inline;
  50857. begin
  50858. pTDefRegMap(@Self)^.clr := $00000002;
  50859. end;
  50860. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  50861. begin
  50862. if thebits = 0 then
  50863. pTDefRegMap(@Self)^.clr := $00000002
  50864. else
  50865. pTDefRegMap(@Self)^.&set := $00000002;
  50866. end;
  50867. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  50868. begin
  50869. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50870. end;
  50871. procedure TUSB_U1IE.setSOFIE; inline;
  50872. begin
  50873. pTDefRegMap(@Self)^.&set := $00000004;
  50874. end;
  50875. procedure TUSB_U1IE.clearSOFIE; inline;
  50876. begin
  50877. pTDefRegMap(@Self)^.clr := $00000004;
  50878. end;
  50879. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  50880. begin
  50881. if thebits = 0 then
  50882. pTDefRegMap(@Self)^.clr := $00000004
  50883. else
  50884. pTDefRegMap(@Self)^.&set := $00000004;
  50885. end;
  50886. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  50887. begin
  50888. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50889. end;
  50890. procedure TUSB_U1IE.setTRNIE; inline;
  50891. begin
  50892. pTDefRegMap(@Self)^.&set := $00000008;
  50893. end;
  50894. procedure TUSB_U1IE.clearTRNIE; inline;
  50895. begin
  50896. pTDefRegMap(@Self)^.clr := $00000008;
  50897. end;
  50898. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  50899. begin
  50900. if thebits = 0 then
  50901. pTDefRegMap(@Self)^.clr := $00000008
  50902. else
  50903. pTDefRegMap(@Self)^.&set := $00000008;
  50904. end;
  50905. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  50906. begin
  50907. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50908. end;
  50909. procedure TUSB_U1IE.setIDLEIE; inline;
  50910. begin
  50911. pTDefRegMap(@Self)^.&set := $00000010;
  50912. end;
  50913. procedure TUSB_U1IE.clearIDLEIE; inline;
  50914. begin
  50915. pTDefRegMap(@Self)^.clr := $00000010;
  50916. end;
  50917. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  50918. begin
  50919. if thebits = 0 then
  50920. pTDefRegMap(@Self)^.clr := $00000010
  50921. else
  50922. pTDefRegMap(@Self)^.&set := $00000010;
  50923. end;
  50924. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  50925. begin
  50926. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50927. end;
  50928. procedure TUSB_U1IE.setRESUMEIE; inline;
  50929. begin
  50930. pTDefRegMap(@Self)^.&set := $00000020;
  50931. end;
  50932. procedure TUSB_U1IE.clearRESUMEIE; inline;
  50933. begin
  50934. pTDefRegMap(@Self)^.clr := $00000020;
  50935. end;
  50936. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  50937. begin
  50938. if thebits = 0 then
  50939. pTDefRegMap(@Self)^.clr := $00000020
  50940. else
  50941. pTDefRegMap(@Self)^.&set := $00000020;
  50942. end;
  50943. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  50944. begin
  50945. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50946. end;
  50947. procedure TUSB_U1IE.setATTACHIE; inline;
  50948. begin
  50949. pTDefRegMap(@Self)^.&set := $00000040;
  50950. end;
  50951. procedure TUSB_U1IE.clearATTACHIE; inline;
  50952. begin
  50953. pTDefRegMap(@Self)^.clr := $00000040;
  50954. end;
  50955. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  50956. begin
  50957. if thebits = 0 then
  50958. pTDefRegMap(@Self)^.clr := $00000040
  50959. else
  50960. pTDefRegMap(@Self)^.&set := $00000040;
  50961. end;
  50962. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  50963. begin
  50964. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50965. end;
  50966. procedure TUSB_U1IE.setSTALLIE; inline;
  50967. begin
  50968. pTDefRegMap(@Self)^.&set := $00000080;
  50969. end;
  50970. procedure TUSB_U1IE.clearSTALLIE; inline;
  50971. begin
  50972. pTDefRegMap(@Self)^.clr := $00000080;
  50973. end;
  50974. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  50975. begin
  50976. if thebits = 0 then
  50977. pTDefRegMap(@Self)^.clr := $00000080
  50978. else
  50979. pTDefRegMap(@Self)^.&set := $00000080;
  50980. end;
  50981. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  50982. begin
  50983. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50984. end;
  50985. procedure TUSB_U1IE.setDETACHIE; inline;
  50986. begin
  50987. pTDefRegMap(@Self)^.&set := $00000001;
  50988. end;
  50989. procedure TUSB_U1IE.clearDETACHIE; inline;
  50990. begin
  50991. pTDefRegMap(@Self)^.clr := $00000001;
  50992. end;
  50993. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  50994. begin
  50995. if thebits = 0 then
  50996. pTDefRegMap(@Self)^.clr := $00000001
  50997. else
  50998. pTDefRegMap(@Self)^.&set := $00000001;
  50999. end;
  51000. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  51001. begin
  51002. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51003. end;
  51004. procedure TUSB_U1IE.setURSTIE; inline;
  51005. begin
  51006. pTDefRegMap(@Self)^.&set := $00000001;
  51007. end;
  51008. procedure TUSB_U1IE.clearURSTIE; inline;
  51009. begin
  51010. pTDefRegMap(@Self)^.clr := $00000001;
  51011. end;
  51012. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  51013. begin
  51014. if thebits = 0 then
  51015. pTDefRegMap(@Self)^.clr := $00000001
  51016. else
  51017. pTDefRegMap(@Self)^.&set := $00000001;
  51018. end;
  51019. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  51020. begin
  51021. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51022. end;
  51023. procedure TUSB_U1EIR.setPIDEF; inline;
  51024. begin
  51025. pTDefRegMap(@Self)^.&set := $00000001;
  51026. end;
  51027. procedure TUSB_U1EIR.clearPIDEF; inline;
  51028. begin
  51029. pTDefRegMap(@Self)^.clr := $00000001;
  51030. end;
  51031. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  51032. begin
  51033. if thebits = 0 then
  51034. pTDefRegMap(@Self)^.clr := $00000001
  51035. else
  51036. pTDefRegMap(@Self)^.&set := $00000001;
  51037. end;
  51038. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  51039. begin
  51040. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51041. end;
  51042. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  51043. begin
  51044. pTDefRegMap(@Self)^.&set := $00000002;
  51045. end;
  51046. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  51047. begin
  51048. pTDefRegMap(@Self)^.clr := $00000002;
  51049. end;
  51050. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  51051. begin
  51052. if thebits = 0 then
  51053. pTDefRegMap(@Self)^.clr := $00000002
  51054. else
  51055. pTDefRegMap(@Self)^.&set := $00000002;
  51056. end;
  51057. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  51058. begin
  51059. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51060. end;
  51061. procedure TUSB_U1EIR.setCRC16EF; inline;
  51062. begin
  51063. pTDefRegMap(@Self)^.&set := $00000004;
  51064. end;
  51065. procedure TUSB_U1EIR.clearCRC16EF; inline;
  51066. begin
  51067. pTDefRegMap(@Self)^.clr := $00000004;
  51068. end;
  51069. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  51070. begin
  51071. if thebits = 0 then
  51072. pTDefRegMap(@Self)^.clr := $00000004
  51073. else
  51074. pTDefRegMap(@Self)^.&set := $00000004;
  51075. end;
  51076. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  51077. begin
  51078. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51079. end;
  51080. procedure TUSB_U1EIR.setDFN8EF; inline;
  51081. begin
  51082. pTDefRegMap(@Self)^.&set := $00000008;
  51083. end;
  51084. procedure TUSB_U1EIR.clearDFN8EF; inline;
  51085. begin
  51086. pTDefRegMap(@Self)^.clr := $00000008;
  51087. end;
  51088. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  51089. begin
  51090. if thebits = 0 then
  51091. pTDefRegMap(@Self)^.clr := $00000008
  51092. else
  51093. pTDefRegMap(@Self)^.&set := $00000008;
  51094. end;
  51095. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  51096. begin
  51097. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51098. end;
  51099. procedure TUSB_U1EIR.setBTOEF; inline;
  51100. begin
  51101. pTDefRegMap(@Self)^.&set := $00000010;
  51102. end;
  51103. procedure TUSB_U1EIR.clearBTOEF; inline;
  51104. begin
  51105. pTDefRegMap(@Self)^.clr := $00000010;
  51106. end;
  51107. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  51108. begin
  51109. if thebits = 0 then
  51110. pTDefRegMap(@Self)^.clr := $00000010
  51111. else
  51112. pTDefRegMap(@Self)^.&set := $00000010;
  51113. end;
  51114. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  51115. begin
  51116. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51117. end;
  51118. procedure TUSB_U1EIR.setDMAEF; inline;
  51119. begin
  51120. pTDefRegMap(@Self)^.&set := $00000020;
  51121. end;
  51122. procedure TUSB_U1EIR.clearDMAEF; inline;
  51123. begin
  51124. pTDefRegMap(@Self)^.clr := $00000020;
  51125. end;
  51126. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  51127. begin
  51128. if thebits = 0 then
  51129. pTDefRegMap(@Self)^.clr := $00000020
  51130. else
  51131. pTDefRegMap(@Self)^.&set := $00000020;
  51132. end;
  51133. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  51134. begin
  51135. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51136. end;
  51137. procedure TUSB_U1EIR.setBMXEF; inline;
  51138. begin
  51139. pTDefRegMap(@Self)^.&set := $00000040;
  51140. end;
  51141. procedure TUSB_U1EIR.clearBMXEF; inline;
  51142. begin
  51143. pTDefRegMap(@Self)^.clr := $00000040;
  51144. end;
  51145. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  51146. begin
  51147. if thebits = 0 then
  51148. pTDefRegMap(@Self)^.clr := $00000040
  51149. else
  51150. pTDefRegMap(@Self)^.&set := $00000040;
  51151. end;
  51152. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  51153. begin
  51154. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51155. end;
  51156. procedure TUSB_U1EIR.setBTSEF; inline;
  51157. begin
  51158. pTDefRegMap(@Self)^.&set := $00000080;
  51159. end;
  51160. procedure TUSB_U1EIR.clearBTSEF; inline;
  51161. begin
  51162. pTDefRegMap(@Self)^.clr := $00000080;
  51163. end;
  51164. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  51165. begin
  51166. if thebits = 0 then
  51167. pTDefRegMap(@Self)^.clr := $00000080
  51168. else
  51169. pTDefRegMap(@Self)^.&set := $00000080;
  51170. end;
  51171. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  51172. begin
  51173. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51174. end;
  51175. procedure TUSB_U1EIR.setCRC5EF; inline;
  51176. begin
  51177. pTDefRegMap(@Self)^.&set := $00000002;
  51178. end;
  51179. procedure TUSB_U1EIR.clearCRC5EF; inline;
  51180. begin
  51181. pTDefRegMap(@Self)^.clr := $00000002;
  51182. end;
  51183. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  51184. begin
  51185. if thebits = 0 then
  51186. pTDefRegMap(@Self)^.clr := $00000002
  51187. else
  51188. pTDefRegMap(@Self)^.&set := $00000002;
  51189. end;
  51190. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  51191. begin
  51192. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51193. end;
  51194. procedure TUSB_U1EIR.setEOFEF; inline;
  51195. begin
  51196. pTDefRegMap(@Self)^.&set := $00000002;
  51197. end;
  51198. procedure TUSB_U1EIR.clearEOFEF; inline;
  51199. begin
  51200. pTDefRegMap(@Self)^.clr := $00000002;
  51201. end;
  51202. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  51203. begin
  51204. if thebits = 0 then
  51205. pTDefRegMap(@Self)^.clr := $00000002
  51206. else
  51207. pTDefRegMap(@Self)^.&set := $00000002;
  51208. end;
  51209. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  51210. begin
  51211. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51212. end;
  51213. procedure TUSB_U1EIE.setPIDEE; inline;
  51214. begin
  51215. pTDefRegMap(@Self)^.&set := $00000001;
  51216. end;
  51217. procedure TUSB_U1EIE.clearPIDEE; inline;
  51218. begin
  51219. pTDefRegMap(@Self)^.clr := $00000001;
  51220. end;
  51221. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  51222. begin
  51223. if thebits = 0 then
  51224. pTDefRegMap(@Self)^.clr := $00000001
  51225. else
  51226. pTDefRegMap(@Self)^.&set := $00000001;
  51227. end;
  51228. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  51229. begin
  51230. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51231. end;
  51232. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  51233. begin
  51234. pTDefRegMap(@Self)^.&set := $00000002;
  51235. end;
  51236. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  51237. begin
  51238. pTDefRegMap(@Self)^.clr := $00000002;
  51239. end;
  51240. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  51241. begin
  51242. if thebits = 0 then
  51243. pTDefRegMap(@Self)^.clr := $00000002
  51244. else
  51245. pTDefRegMap(@Self)^.&set := $00000002;
  51246. end;
  51247. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  51248. begin
  51249. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51250. end;
  51251. procedure TUSB_U1EIE.setCRC16EE; inline;
  51252. begin
  51253. pTDefRegMap(@Self)^.&set := $00000004;
  51254. end;
  51255. procedure TUSB_U1EIE.clearCRC16EE; inline;
  51256. begin
  51257. pTDefRegMap(@Self)^.clr := $00000004;
  51258. end;
  51259. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  51260. begin
  51261. if thebits = 0 then
  51262. pTDefRegMap(@Self)^.clr := $00000004
  51263. else
  51264. pTDefRegMap(@Self)^.&set := $00000004;
  51265. end;
  51266. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  51267. begin
  51268. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51269. end;
  51270. procedure TUSB_U1EIE.setDFN8EE; inline;
  51271. begin
  51272. pTDefRegMap(@Self)^.&set := $00000008;
  51273. end;
  51274. procedure TUSB_U1EIE.clearDFN8EE; inline;
  51275. begin
  51276. pTDefRegMap(@Self)^.clr := $00000008;
  51277. end;
  51278. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  51279. begin
  51280. if thebits = 0 then
  51281. pTDefRegMap(@Self)^.clr := $00000008
  51282. else
  51283. pTDefRegMap(@Self)^.&set := $00000008;
  51284. end;
  51285. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  51286. begin
  51287. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51288. end;
  51289. procedure TUSB_U1EIE.setBTOEE; inline;
  51290. begin
  51291. pTDefRegMap(@Self)^.&set := $00000010;
  51292. end;
  51293. procedure TUSB_U1EIE.clearBTOEE; inline;
  51294. begin
  51295. pTDefRegMap(@Self)^.clr := $00000010;
  51296. end;
  51297. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  51298. begin
  51299. if thebits = 0 then
  51300. pTDefRegMap(@Self)^.clr := $00000010
  51301. else
  51302. pTDefRegMap(@Self)^.&set := $00000010;
  51303. end;
  51304. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  51305. begin
  51306. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51307. end;
  51308. procedure TUSB_U1EIE.setDMAEE; inline;
  51309. begin
  51310. pTDefRegMap(@Self)^.&set := $00000020;
  51311. end;
  51312. procedure TUSB_U1EIE.clearDMAEE; inline;
  51313. begin
  51314. pTDefRegMap(@Self)^.clr := $00000020;
  51315. end;
  51316. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  51317. begin
  51318. if thebits = 0 then
  51319. pTDefRegMap(@Self)^.clr := $00000020
  51320. else
  51321. pTDefRegMap(@Self)^.&set := $00000020;
  51322. end;
  51323. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  51324. begin
  51325. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51326. end;
  51327. procedure TUSB_U1EIE.setBMXEE; inline;
  51328. begin
  51329. pTDefRegMap(@Self)^.&set := $00000040;
  51330. end;
  51331. procedure TUSB_U1EIE.clearBMXEE; inline;
  51332. begin
  51333. pTDefRegMap(@Self)^.clr := $00000040;
  51334. end;
  51335. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  51336. begin
  51337. if thebits = 0 then
  51338. pTDefRegMap(@Self)^.clr := $00000040
  51339. else
  51340. pTDefRegMap(@Self)^.&set := $00000040;
  51341. end;
  51342. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  51343. begin
  51344. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51345. end;
  51346. procedure TUSB_U1EIE.setBTSEE; inline;
  51347. begin
  51348. pTDefRegMap(@Self)^.&set := $00000080;
  51349. end;
  51350. procedure TUSB_U1EIE.clearBTSEE; inline;
  51351. begin
  51352. pTDefRegMap(@Self)^.clr := $00000080;
  51353. end;
  51354. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  51355. begin
  51356. if thebits = 0 then
  51357. pTDefRegMap(@Self)^.clr := $00000080
  51358. else
  51359. pTDefRegMap(@Self)^.&set := $00000080;
  51360. end;
  51361. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  51362. begin
  51363. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51364. end;
  51365. procedure TUSB_U1EIE.setCRC5EE; inline;
  51366. begin
  51367. pTDefRegMap(@Self)^.&set := $00000002;
  51368. end;
  51369. procedure TUSB_U1EIE.clearCRC5EE; inline;
  51370. begin
  51371. pTDefRegMap(@Self)^.clr := $00000002;
  51372. end;
  51373. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  51374. begin
  51375. if thebits = 0 then
  51376. pTDefRegMap(@Self)^.clr := $00000002
  51377. else
  51378. pTDefRegMap(@Self)^.&set := $00000002;
  51379. end;
  51380. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  51381. begin
  51382. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51383. end;
  51384. procedure TUSB_U1EIE.setEOFEE; inline;
  51385. begin
  51386. pTDefRegMap(@Self)^.&set := $00000002;
  51387. end;
  51388. procedure TUSB_U1EIE.clearEOFEE; inline;
  51389. begin
  51390. pTDefRegMap(@Self)^.clr := $00000002;
  51391. end;
  51392. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  51393. begin
  51394. if thebits = 0 then
  51395. pTDefRegMap(@Self)^.clr := $00000002
  51396. else
  51397. pTDefRegMap(@Self)^.&set := $00000002;
  51398. end;
  51399. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  51400. begin
  51401. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51402. end;
  51403. procedure TUSB_U1STAT.setPPBI; inline;
  51404. begin
  51405. pTDefRegMap(@Self)^.&set := $00000004;
  51406. end;
  51407. procedure TUSB_U1STAT.clearPPBI; inline;
  51408. begin
  51409. pTDefRegMap(@Self)^.clr := $00000004;
  51410. end;
  51411. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  51412. begin
  51413. if thebits = 0 then
  51414. pTDefRegMap(@Self)^.clr := $00000004
  51415. else
  51416. pTDefRegMap(@Self)^.&set := $00000004;
  51417. end;
  51418. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  51419. begin
  51420. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51421. end;
  51422. procedure TUSB_U1STAT.setDIR; inline;
  51423. begin
  51424. pTDefRegMap(@Self)^.&set := $00000008;
  51425. end;
  51426. procedure TUSB_U1STAT.clearDIR; inline;
  51427. begin
  51428. pTDefRegMap(@Self)^.clr := $00000008;
  51429. end;
  51430. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  51431. begin
  51432. if thebits = 0 then
  51433. pTDefRegMap(@Self)^.clr := $00000008
  51434. else
  51435. pTDefRegMap(@Self)^.&set := $00000008;
  51436. end;
  51437. function TUSB_U1STAT.getDIR : TBits_1; inline;
  51438. begin
  51439. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51440. end;
  51441. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  51442. begin
  51443. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  51444. end;
  51445. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  51446. begin
  51447. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  51448. end;
  51449. procedure TUSB_U1STAT.setENDPT0; inline;
  51450. begin
  51451. pTDefRegMap(@Self)^.&set := $00000010;
  51452. end;
  51453. procedure TUSB_U1STAT.clearENDPT0; inline;
  51454. begin
  51455. pTDefRegMap(@Self)^.clr := $00000010;
  51456. end;
  51457. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  51458. begin
  51459. if thebits = 0 then
  51460. pTDefRegMap(@Self)^.clr := $00000010
  51461. else
  51462. pTDefRegMap(@Self)^.&set := $00000010;
  51463. end;
  51464. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  51465. begin
  51466. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51467. end;
  51468. procedure TUSB_U1STAT.setENDPT1; inline;
  51469. begin
  51470. pTDefRegMap(@Self)^.&set := $00000020;
  51471. end;
  51472. procedure TUSB_U1STAT.clearENDPT1; inline;
  51473. begin
  51474. pTDefRegMap(@Self)^.clr := $00000020;
  51475. end;
  51476. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  51477. begin
  51478. if thebits = 0 then
  51479. pTDefRegMap(@Self)^.clr := $00000020
  51480. else
  51481. pTDefRegMap(@Self)^.&set := $00000020;
  51482. end;
  51483. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  51484. begin
  51485. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51486. end;
  51487. procedure TUSB_U1STAT.setENDPT2; inline;
  51488. begin
  51489. pTDefRegMap(@Self)^.&set := $00000040;
  51490. end;
  51491. procedure TUSB_U1STAT.clearENDPT2; inline;
  51492. begin
  51493. pTDefRegMap(@Self)^.clr := $00000040;
  51494. end;
  51495. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  51496. begin
  51497. if thebits = 0 then
  51498. pTDefRegMap(@Self)^.clr := $00000040
  51499. else
  51500. pTDefRegMap(@Self)^.&set := $00000040;
  51501. end;
  51502. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  51503. begin
  51504. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51505. end;
  51506. procedure TUSB_U1STAT.setENDPT3; inline;
  51507. begin
  51508. pTDefRegMap(@Self)^.&set := $00000080;
  51509. end;
  51510. procedure TUSB_U1STAT.clearENDPT3; inline;
  51511. begin
  51512. pTDefRegMap(@Self)^.clr := $00000080;
  51513. end;
  51514. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  51515. begin
  51516. if thebits = 0 then
  51517. pTDefRegMap(@Self)^.clr := $00000080
  51518. else
  51519. pTDefRegMap(@Self)^.&set := $00000080;
  51520. end;
  51521. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  51522. begin
  51523. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51524. end;
  51525. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  51526. begin
  51527. pTDefRegMap(@Self)^.&set := $00000001;
  51528. end;
  51529. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  51530. begin
  51531. pTDefRegMap(@Self)^.clr := $00000001;
  51532. end;
  51533. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  51534. begin
  51535. if thebits = 0 then
  51536. pTDefRegMap(@Self)^.clr := $00000001
  51537. else
  51538. pTDefRegMap(@Self)^.&set := $00000001;
  51539. end;
  51540. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  51541. begin
  51542. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51543. end;
  51544. procedure TUSB_U1CON.setPPBRST; inline;
  51545. begin
  51546. pTDefRegMap(@Self)^.&set := $00000002;
  51547. end;
  51548. procedure TUSB_U1CON.clearPPBRST; inline;
  51549. begin
  51550. pTDefRegMap(@Self)^.clr := $00000002;
  51551. end;
  51552. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  51553. begin
  51554. if thebits = 0 then
  51555. pTDefRegMap(@Self)^.clr := $00000002
  51556. else
  51557. pTDefRegMap(@Self)^.&set := $00000002;
  51558. end;
  51559. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  51560. begin
  51561. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51562. end;
  51563. procedure TUSB_U1CON.setRESUME; inline;
  51564. begin
  51565. pTDefRegMap(@Self)^.&set := $00000004;
  51566. end;
  51567. procedure TUSB_U1CON.clearRESUME; inline;
  51568. begin
  51569. pTDefRegMap(@Self)^.clr := $00000004;
  51570. end;
  51571. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  51572. begin
  51573. if thebits = 0 then
  51574. pTDefRegMap(@Self)^.clr := $00000004
  51575. else
  51576. pTDefRegMap(@Self)^.&set := $00000004;
  51577. end;
  51578. function TUSB_U1CON.getRESUME : TBits_1; inline;
  51579. begin
  51580. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51581. end;
  51582. procedure TUSB_U1CON.setHOSTEN; inline;
  51583. begin
  51584. pTDefRegMap(@Self)^.&set := $00000008;
  51585. end;
  51586. procedure TUSB_U1CON.clearHOSTEN; inline;
  51587. begin
  51588. pTDefRegMap(@Self)^.clr := $00000008;
  51589. end;
  51590. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  51591. begin
  51592. if thebits = 0 then
  51593. pTDefRegMap(@Self)^.clr := $00000008
  51594. else
  51595. pTDefRegMap(@Self)^.&set := $00000008;
  51596. end;
  51597. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  51598. begin
  51599. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51600. end;
  51601. procedure TUSB_U1CON.setUSBRST; inline;
  51602. begin
  51603. pTDefRegMap(@Self)^.&set := $00000010;
  51604. end;
  51605. procedure TUSB_U1CON.clearUSBRST; inline;
  51606. begin
  51607. pTDefRegMap(@Self)^.clr := $00000010;
  51608. end;
  51609. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  51610. begin
  51611. if thebits = 0 then
  51612. pTDefRegMap(@Self)^.clr := $00000010
  51613. else
  51614. pTDefRegMap(@Self)^.&set := $00000010;
  51615. end;
  51616. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  51617. begin
  51618. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51619. end;
  51620. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  51621. begin
  51622. pTDefRegMap(@Self)^.&set := $00000020;
  51623. end;
  51624. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  51625. begin
  51626. pTDefRegMap(@Self)^.clr := $00000020;
  51627. end;
  51628. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  51629. begin
  51630. if thebits = 0 then
  51631. pTDefRegMap(@Self)^.clr := $00000020
  51632. else
  51633. pTDefRegMap(@Self)^.&set := $00000020;
  51634. end;
  51635. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  51636. begin
  51637. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51638. end;
  51639. procedure TUSB_U1CON.setSE0; inline;
  51640. begin
  51641. pTDefRegMap(@Self)^.&set := $00000040;
  51642. end;
  51643. procedure TUSB_U1CON.clearSE0; inline;
  51644. begin
  51645. pTDefRegMap(@Self)^.clr := $00000040;
  51646. end;
  51647. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  51648. begin
  51649. if thebits = 0 then
  51650. pTDefRegMap(@Self)^.clr := $00000040
  51651. else
  51652. pTDefRegMap(@Self)^.&set := $00000040;
  51653. end;
  51654. function TUSB_U1CON.getSE0 : TBits_1; inline;
  51655. begin
  51656. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51657. end;
  51658. procedure TUSB_U1CON.setJSTATE; inline;
  51659. begin
  51660. pTDefRegMap(@Self)^.&set := $00000080;
  51661. end;
  51662. procedure TUSB_U1CON.clearJSTATE; inline;
  51663. begin
  51664. pTDefRegMap(@Self)^.clr := $00000080;
  51665. end;
  51666. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  51667. begin
  51668. if thebits = 0 then
  51669. pTDefRegMap(@Self)^.clr := $00000080
  51670. else
  51671. pTDefRegMap(@Self)^.&set := $00000080;
  51672. end;
  51673. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  51674. begin
  51675. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51676. end;
  51677. procedure TUSB_U1CON.setUSBEN; inline;
  51678. begin
  51679. pTDefRegMap(@Self)^.&set := $00000001;
  51680. end;
  51681. procedure TUSB_U1CON.clearUSBEN; inline;
  51682. begin
  51683. pTDefRegMap(@Self)^.clr := $00000001;
  51684. end;
  51685. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  51686. begin
  51687. if thebits = 0 then
  51688. pTDefRegMap(@Self)^.clr := $00000001
  51689. else
  51690. pTDefRegMap(@Self)^.&set := $00000001;
  51691. end;
  51692. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  51693. begin
  51694. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51695. end;
  51696. procedure TUSB_U1CON.setSOFEN; inline;
  51697. begin
  51698. pTDefRegMap(@Self)^.&set := $00000001;
  51699. end;
  51700. procedure TUSB_U1CON.clearSOFEN; inline;
  51701. begin
  51702. pTDefRegMap(@Self)^.clr := $00000001;
  51703. end;
  51704. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  51705. begin
  51706. if thebits = 0 then
  51707. pTDefRegMap(@Self)^.clr := $00000001
  51708. else
  51709. pTDefRegMap(@Self)^.&set := $00000001;
  51710. end;
  51711. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  51712. begin
  51713. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51714. end;
  51715. procedure TUSB_U1CON.setPKTDIS; inline;
  51716. begin
  51717. pTDefRegMap(@Self)^.&set := $00000020;
  51718. end;
  51719. procedure TUSB_U1CON.clearPKTDIS; inline;
  51720. begin
  51721. pTDefRegMap(@Self)^.clr := $00000020;
  51722. end;
  51723. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  51724. begin
  51725. if thebits = 0 then
  51726. pTDefRegMap(@Self)^.clr := $00000020
  51727. else
  51728. pTDefRegMap(@Self)^.&set := $00000020;
  51729. end;
  51730. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  51731. begin
  51732. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51733. end;
  51734. procedure TUSB_U1CON.setTOKBUSY; inline;
  51735. begin
  51736. pTDefRegMap(@Self)^.&set := $00000020;
  51737. end;
  51738. procedure TUSB_U1CON.clearTOKBUSY; inline;
  51739. begin
  51740. pTDefRegMap(@Self)^.clr := $00000020;
  51741. end;
  51742. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  51743. begin
  51744. if thebits = 0 then
  51745. pTDefRegMap(@Self)^.clr := $00000020
  51746. else
  51747. pTDefRegMap(@Self)^.&set := $00000020;
  51748. end;
  51749. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  51750. begin
  51751. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51752. end;
  51753. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  51754. begin
  51755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  51756. end;
  51757. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  51758. begin
  51759. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  51760. end;
  51761. procedure TUSB_U1ADDR.setLSPDEN; inline;
  51762. begin
  51763. pTDefRegMap(@Self)^.&set := $00000080;
  51764. end;
  51765. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  51766. begin
  51767. pTDefRegMap(@Self)^.clr := $00000080;
  51768. end;
  51769. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  51770. begin
  51771. if thebits = 0 then
  51772. pTDefRegMap(@Self)^.clr := $00000080
  51773. else
  51774. pTDefRegMap(@Self)^.&set := $00000080;
  51775. end;
  51776. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  51777. begin
  51778. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51779. end;
  51780. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  51781. begin
  51782. pTDefRegMap(@Self)^.&set := $00000001;
  51783. end;
  51784. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  51785. begin
  51786. pTDefRegMap(@Self)^.clr := $00000001;
  51787. end;
  51788. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  51789. begin
  51790. if thebits = 0 then
  51791. pTDefRegMap(@Self)^.clr := $00000001
  51792. else
  51793. pTDefRegMap(@Self)^.&set := $00000001;
  51794. end;
  51795. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  51796. begin
  51797. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51798. end;
  51799. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  51800. begin
  51801. pTDefRegMap(@Self)^.&set := $00000002;
  51802. end;
  51803. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  51804. begin
  51805. pTDefRegMap(@Self)^.clr := $00000002;
  51806. end;
  51807. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  51808. begin
  51809. if thebits = 0 then
  51810. pTDefRegMap(@Self)^.clr := $00000002
  51811. else
  51812. pTDefRegMap(@Self)^.&set := $00000002;
  51813. end;
  51814. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  51815. begin
  51816. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51817. end;
  51818. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  51819. begin
  51820. pTDefRegMap(@Self)^.&set := $00000004;
  51821. end;
  51822. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  51823. begin
  51824. pTDefRegMap(@Self)^.clr := $00000004;
  51825. end;
  51826. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  51827. begin
  51828. if thebits = 0 then
  51829. pTDefRegMap(@Self)^.clr := $00000004
  51830. else
  51831. pTDefRegMap(@Self)^.&set := $00000004;
  51832. end;
  51833. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  51834. begin
  51835. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51836. end;
  51837. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  51838. begin
  51839. pTDefRegMap(@Self)^.&set := $00000008;
  51840. end;
  51841. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  51842. begin
  51843. pTDefRegMap(@Self)^.clr := $00000008;
  51844. end;
  51845. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  51846. begin
  51847. if thebits = 0 then
  51848. pTDefRegMap(@Self)^.clr := $00000008
  51849. else
  51850. pTDefRegMap(@Self)^.&set := $00000008;
  51851. end;
  51852. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  51853. begin
  51854. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51855. end;
  51856. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  51857. begin
  51858. pTDefRegMap(@Self)^.&set := $00000010;
  51859. end;
  51860. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  51861. begin
  51862. pTDefRegMap(@Self)^.clr := $00000010;
  51863. end;
  51864. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  51865. begin
  51866. if thebits = 0 then
  51867. pTDefRegMap(@Self)^.clr := $00000010
  51868. else
  51869. pTDefRegMap(@Self)^.&set := $00000010;
  51870. end;
  51871. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  51872. begin
  51873. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51874. end;
  51875. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  51876. begin
  51877. pTDefRegMap(@Self)^.&set := $00000020;
  51878. end;
  51879. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  51880. begin
  51881. pTDefRegMap(@Self)^.clr := $00000020;
  51882. end;
  51883. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  51884. begin
  51885. if thebits = 0 then
  51886. pTDefRegMap(@Self)^.clr := $00000020
  51887. else
  51888. pTDefRegMap(@Self)^.&set := $00000020;
  51889. end;
  51890. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  51891. begin
  51892. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51893. end;
  51894. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  51895. begin
  51896. pTDefRegMap(@Self)^.&set := $00000040;
  51897. end;
  51898. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  51899. begin
  51900. pTDefRegMap(@Self)^.clr := $00000040;
  51901. end;
  51902. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  51903. begin
  51904. if thebits = 0 then
  51905. pTDefRegMap(@Self)^.clr := $00000040
  51906. else
  51907. pTDefRegMap(@Self)^.&set := $00000040;
  51908. end;
  51909. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  51910. begin
  51911. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51912. end;
  51913. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  51914. begin
  51915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  51916. end;
  51917. function TUSB_U1FRML.getFRML : TBits_8; inline;
  51918. begin
  51919. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  51920. end;
  51921. procedure TUSB_U1FRML.setFRM0; inline;
  51922. begin
  51923. pTDefRegMap(@Self)^.&set := $00000001;
  51924. end;
  51925. procedure TUSB_U1FRML.clearFRM0; inline;
  51926. begin
  51927. pTDefRegMap(@Self)^.clr := $00000001;
  51928. end;
  51929. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  51930. begin
  51931. if thebits = 0 then
  51932. pTDefRegMap(@Self)^.clr := $00000001
  51933. else
  51934. pTDefRegMap(@Self)^.&set := $00000001;
  51935. end;
  51936. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  51937. begin
  51938. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51939. end;
  51940. procedure TUSB_U1FRML.setFRM1; inline;
  51941. begin
  51942. pTDefRegMap(@Self)^.&set := $00000002;
  51943. end;
  51944. procedure TUSB_U1FRML.clearFRM1; inline;
  51945. begin
  51946. pTDefRegMap(@Self)^.clr := $00000002;
  51947. end;
  51948. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  51949. begin
  51950. if thebits = 0 then
  51951. pTDefRegMap(@Self)^.clr := $00000002
  51952. else
  51953. pTDefRegMap(@Self)^.&set := $00000002;
  51954. end;
  51955. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  51956. begin
  51957. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51958. end;
  51959. procedure TUSB_U1FRML.setFRM2; inline;
  51960. begin
  51961. pTDefRegMap(@Self)^.&set := $00000004;
  51962. end;
  51963. procedure TUSB_U1FRML.clearFRM2; inline;
  51964. begin
  51965. pTDefRegMap(@Self)^.clr := $00000004;
  51966. end;
  51967. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  51968. begin
  51969. if thebits = 0 then
  51970. pTDefRegMap(@Self)^.clr := $00000004
  51971. else
  51972. pTDefRegMap(@Self)^.&set := $00000004;
  51973. end;
  51974. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  51975. begin
  51976. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51977. end;
  51978. procedure TUSB_U1FRML.setFRM3; inline;
  51979. begin
  51980. pTDefRegMap(@Self)^.&set := $00000008;
  51981. end;
  51982. procedure TUSB_U1FRML.clearFRM3; inline;
  51983. begin
  51984. pTDefRegMap(@Self)^.clr := $00000008;
  51985. end;
  51986. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  51987. begin
  51988. if thebits = 0 then
  51989. pTDefRegMap(@Self)^.clr := $00000008
  51990. else
  51991. pTDefRegMap(@Self)^.&set := $00000008;
  51992. end;
  51993. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  51994. begin
  51995. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51996. end;
  51997. procedure TUSB_U1FRML.setFRM4; inline;
  51998. begin
  51999. pTDefRegMap(@Self)^.&set := $00000010;
  52000. end;
  52001. procedure TUSB_U1FRML.clearFRM4; inline;
  52002. begin
  52003. pTDefRegMap(@Self)^.clr := $00000010;
  52004. end;
  52005. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  52006. begin
  52007. if thebits = 0 then
  52008. pTDefRegMap(@Self)^.clr := $00000010
  52009. else
  52010. pTDefRegMap(@Self)^.&set := $00000010;
  52011. end;
  52012. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  52013. begin
  52014. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52015. end;
  52016. procedure TUSB_U1FRML.setFRM5; inline;
  52017. begin
  52018. pTDefRegMap(@Self)^.&set := $00000020;
  52019. end;
  52020. procedure TUSB_U1FRML.clearFRM5; inline;
  52021. begin
  52022. pTDefRegMap(@Self)^.clr := $00000020;
  52023. end;
  52024. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  52025. begin
  52026. if thebits = 0 then
  52027. pTDefRegMap(@Self)^.clr := $00000020
  52028. else
  52029. pTDefRegMap(@Self)^.&set := $00000020;
  52030. end;
  52031. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  52032. begin
  52033. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52034. end;
  52035. procedure TUSB_U1FRML.setFRM6; inline;
  52036. begin
  52037. pTDefRegMap(@Self)^.&set := $00000040;
  52038. end;
  52039. procedure TUSB_U1FRML.clearFRM6; inline;
  52040. begin
  52041. pTDefRegMap(@Self)^.clr := $00000040;
  52042. end;
  52043. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  52044. begin
  52045. if thebits = 0 then
  52046. pTDefRegMap(@Self)^.clr := $00000040
  52047. else
  52048. pTDefRegMap(@Self)^.&set := $00000040;
  52049. end;
  52050. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  52051. begin
  52052. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52053. end;
  52054. procedure TUSB_U1FRML.setFRM7; inline;
  52055. begin
  52056. pTDefRegMap(@Self)^.&set := $00000080;
  52057. end;
  52058. procedure TUSB_U1FRML.clearFRM7; inline;
  52059. begin
  52060. pTDefRegMap(@Self)^.clr := $00000080;
  52061. end;
  52062. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  52063. begin
  52064. if thebits = 0 then
  52065. pTDefRegMap(@Self)^.clr := $00000080
  52066. else
  52067. pTDefRegMap(@Self)^.&set := $00000080;
  52068. end;
  52069. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  52070. begin
  52071. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52072. end;
  52073. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  52074. begin
  52075. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  52076. end;
  52077. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  52078. begin
  52079. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  52080. end;
  52081. procedure TUSB_U1FRMH.setFRM8; inline;
  52082. begin
  52083. pTDefRegMap(@Self)^.&set := $00000001;
  52084. end;
  52085. procedure TUSB_U1FRMH.clearFRM8; inline;
  52086. begin
  52087. pTDefRegMap(@Self)^.clr := $00000001;
  52088. end;
  52089. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  52090. begin
  52091. if thebits = 0 then
  52092. pTDefRegMap(@Self)^.clr := $00000001
  52093. else
  52094. pTDefRegMap(@Self)^.&set := $00000001;
  52095. end;
  52096. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  52097. begin
  52098. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52099. end;
  52100. procedure TUSB_U1FRMH.setFRM9; inline;
  52101. begin
  52102. pTDefRegMap(@Self)^.&set := $00000002;
  52103. end;
  52104. procedure TUSB_U1FRMH.clearFRM9; inline;
  52105. begin
  52106. pTDefRegMap(@Self)^.clr := $00000002;
  52107. end;
  52108. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  52109. begin
  52110. if thebits = 0 then
  52111. pTDefRegMap(@Self)^.clr := $00000002
  52112. else
  52113. pTDefRegMap(@Self)^.&set := $00000002;
  52114. end;
  52115. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  52116. begin
  52117. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52118. end;
  52119. procedure TUSB_U1FRMH.setFRM10; inline;
  52120. begin
  52121. pTDefRegMap(@Self)^.&set := $00000004;
  52122. end;
  52123. procedure TUSB_U1FRMH.clearFRM10; inline;
  52124. begin
  52125. pTDefRegMap(@Self)^.clr := $00000004;
  52126. end;
  52127. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  52128. begin
  52129. if thebits = 0 then
  52130. pTDefRegMap(@Self)^.clr := $00000004
  52131. else
  52132. pTDefRegMap(@Self)^.&set := $00000004;
  52133. end;
  52134. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  52135. begin
  52136. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52137. end;
  52138. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  52139. begin
  52140. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  52141. end;
  52142. function TUSB_U1TOK.getEP : TBits_4; inline;
  52143. begin
  52144. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  52145. end;
  52146. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  52147. begin
  52148. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  52149. end;
  52150. function TUSB_U1TOK.getPID : TBits_4; inline;
  52151. begin
  52152. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  52153. end;
  52154. procedure TUSB_U1TOK.setEP0; inline;
  52155. begin
  52156. pTDefRegMap(@Self)^.&set := $00000001;
  52157. end;
  52158. procedure TUSB_U1TOK.clearEP0; inline;
  52159. begin
  52160. pTDefRegMap(@Self)^.clr := $00000001;
  52161. end;
  52162. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  52163. begin
  52164. if thebits = 0 then
  52165. pTDefRegMap(@Self)^.clr := $00000001
  52166. else
  52167. pTDefRegMap(@Self)^.&set := $00000001;
  52168. end;
  52169. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  52170. begin
  52171. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52172. end;
  52173. procedure TUSB_U1TOK.setEP1; inline;
  52174. begin
  52175. pTDefRegMap(@Self)^.&set := $00000002;
  52176. end;
  52177. procedure TUSB_U1TOK.clearEP1; inline;
  52178. begin
  52179. pTDefRegMap(@Self)^.clr := $00000002;
  52180. end;
  52181. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  52182. begin
  52183. if thebits = 0 then
  52184. pTDefRegMap(@Self)^.clr := $00000002
  52185. else
  52186. pTDefRegMap(@Self)^.&set := $00000002;
  52187. end;
  52188. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  52189. begin
  52190. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52191. end;
  52192. procedure TUSB_U1TOK.setEP2; inline;
  52193. begin
  52194. pTDefRegMap(@Self)^.&set := $00000004;
  52195. end;
  52196. procedure TUSB_U1TOK.clearEP2; inline;
  52197. begin
  52198. pTDefRegMap(@Self)^.clr := $00000004;
  52199. end;
  52200. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  52201. begin
  52202. if thebits = 0 then
  52203. pTDefRegMap(@Self)^.clr := $00000004
  52204. else
  52205. pTDefRegMap(@Self)^.&set := $00000004;
  52206. end;
  52207. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  52208. begin
  52209. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52210. end;
  52211. procedure TUSB_U1TOK.setEP3; inline;
  52212. begin
  52213. pTDefRegMap(@Self)^.&set := $00000008;
  52214. end;
  52215. procedure TUSB_U1TOK.clearEP3; inline;
  52216. begin
  52217. pTDefRegMap(@Self)^.clr := $00000008;
  52218. end;
  52219. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  52220. begin
  52221. if thebits = 0 then
  52222. pTDefRegMap(@Self)^.clr := $00000008
  52223. else
  52224. pTDefRegMap(@Self)^.&set := $00000008;
  52225. end;
  52226. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  52227. begin
  52228. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52229. end;
  52230. procedure TUSB_U1TOK.setPID0; inline;
  52231. begin
  52232. pTDefRegMap(@Self)^.&set := $00000010;
  52233. end;
  52234. procedure TUSB_U1TOK.clearPID0; inline;
  52235. begin
  52236. pTDefRegMap(@Self)^.clr := $00000010;
  52237. end;
  52238. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  52239. begin
  52240. if thebits = 0 then
  52241. pTDefRegMap(@Self)^.clr := $00000010
  52242. else
  52243. pTDefRegMap(@Self)^.&set := $00000010;
  52244. end;
  52245. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  52246. begin
  52247. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52248. end;
  52249. procedure TUSB_U1TOK.setPID1; inline;
  52250. begin
  52251. pTDefRegMap(@Self)^.&set := $00000020;
  52252. end;
  52253. procedure TUSB_U1TOK.clearPID1; inline;
  52254. begin
  52255. pTDefRegMap(@Self)^.clr := $00000020;
  52256. end;
  52257. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  52258. begin
  52259. if thebits = 0 then
  52260. pTDefRegMap(@Self)^.clr := $00000020
  52261. else
  52262. pTDefRegMap(@Self)^.&set := $00000020;
  52263. end;
  52264. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  52265. begin
  52266. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52267. end;
  52268. procedure TUSB_U1TOK.setPID2; inline;
  52269. begin
  52270. pTDefRegMap(@Self)^.&set := $00000040;
  52271. end;
  52272. procedure TUSB_U1TOK.clearPID2; inline;
  52273. begin
  52274. pTDefRegMap(@Self)^.clr := $00000040;
  52275. end;
  52276. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  52277. begin
  52278. if thebits = 0 then
  52279. pTDefRegMap(@Self)^.clr := $00000040
  52280. else
  52281. pTDefRegMap(@Self)^.&set := $00000040;
  52282. end;
  52283. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  52284. begin
  52285. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52286. end;
  52287. procedure TUSB_U1TOK.setPID3; inline;
  52288. begin
  52289. pTDefRegMap(@Self)^.&set := $00000080;
  52290. end;
  52291. procedure TUSB_U1TOK.clearPID3; inline;
  52292. begin
  52293. pTDefRegMap(@Self)^.clr := $00000080;
  52294. end;
  52295. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  52296. begin
  52297. if thebits = 0 then
  52298. pTDefRegMap(@Self)^.clr := $00000080
  52299. else
  52300. pTDefRegMap(@Self)^.&set := $00000080;
  52301. end;
  52302. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  52303. begin
  52304. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52305. end;
  52306. procedure TPORTA_TRISA.setTRISA0; inline;
  52307. begin
  52308. pTDefRegMap(@Self)^.&set := $00000001;
  52309. end;
  52310. procedure TPORTA_TRISA.clearTRISA0; inline;
  52311. begin
  52312. pTDefRegMap(@Self)^.clr := $00000001;
  52313. end;
  52314. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  52315. begin
  52316. if thebits = 0 then
  52317. pTDefRegMap(@Self)^.clr := $00000001
  52318. else
  52319. pTDefRegMap(@Self)^.&set := $00000001;
  52320. end;
  52321. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  52322. begin
  52323. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52324. end;
  52325. procedure TPORTA_TRISA.setTRISA1; inline;
  52326. begin
  52327. pTDefRegMap(@Self)^.&set := $00000002;
  52328. end;
  52329. procedure TPORTA_TRISA.clearTRISA1; inline;
  52330. begin
  52331. pTDefRegMap(@Self)^.clr := $00000002;
  52332. end;
  52333. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  52334. begin
  52335. if thebits = 0 then
  52336. pTDefRegMap(@Self)^.clr := $00000002
  52337. else
  52338. pTDefRegMap(@Self)^.&set := $00000002;
  52339. end;
  52340. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  52341. begin
  52342. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52343. end;
  52344. procedure TPORTA_TRISA.setTRISA2; inline;
  52345. begin
  52346. pTDefRegMap(@Self)^.&set := $00000004;
  52347. end;
  52348. procedure TPORTA_TRISA.clearTRISA2; inline;
  52349. begin
  52350. pTDefRegMap(@Self)^.clr := $00000004;
  52351. end;
  52352. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  52353. begin
  52354. if thebits = 0 then
  52355. pTDefRegMap(@Self)^.clr := $00000004
  52356. else
  52357. pTDefRegMap(@Self)^.&set := $00000004;
  52358. end;
  52359. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  52360. begin
  52361. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52362. end;
  52363. procedure TPORTA_TRISA.setTRISA3; inline;
  52364. begin
  52365. pTDefRegMap(@Self)^.&set := $00000008;
  52366. end;
  52367. procedure TPORTA_TRISA.clearTRISA3; inline;
  52368. begin
  52369. pTDefRegMap(@Self)^.clr := $00000008;
  52370. end;
  52371. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  52372. begin
  52373. if thebits = 0 then
  52374. pTDefRegMap(@Self)^.clr := $00000008
  52375. else
  52376. pTDefRegMap(@Self)^.&set := $00000008;
  52377. end;
  52378. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  52379. begin
  52380. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52381. end;
  52382. procedure TPORTA_TRISA.setTRISA4; inline;
  52383. begin
  52384. pTDefRegMap(@Self)^.&set := $00000010;
  52385. end;
  52386. procedure TPORTA_TRISA.clearTRISA4; inline;
  52387. begin
  52388. pTDefRegMap(@Self)^.clr := $00000010;
  52389. end;
  52390. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  52391. begin
  52392. if thebits = 0 then
  52393. pTDefRegMap(@Self)^.clr := $00000010
  52394. else
  52395. pTDefRegMap(@Self)^.&set := $00000010;
  52396. end;
  52397. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  52398. begin
  52399. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52400. end;
  52401. procedure TPORTA_TRISA.setTRISA5; inline;
  52402. begin
  52403. pTDefRegMap(@Self)^.&set := $00000020;
  52404. end;
  52405. procedure TPORTA_TRISA.clearTRISA5; inline;
  52406. begin
  52407. pTDefRegMap(@Self)^.clr := $00000020;
  52408. end;
  52409. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  52410. begin
  52411. if thebits = 0 then
  52412. pTDefRegMap(@Self)^.clr := $00000020
  52413. else
  52414. pTDefRegMap(@Self)^.&set := $00000020;
  52415. end;
  52416. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  52417. begin
  52418. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52419. end;
  52420. procedure TPORTA_TRISA.setTRISA6; inline;
  52421. begin
  52422. pTDefRegMap(@Self)^.&set := $00000040;
  52423. end;
  52424. procedure TPORTA_TRISA.clearTRISA6; inline;
  52425. begin
  52426. pTDefRegMap(@Self)^.clr := $00000040;
  52427. end;
  52428. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  52429. begin
  52430. if thebits = 0 then
  52431. pTDefRegMap(@Self)^.clr := $00000040
  52432. else
  52433. pTDefRegMap(@Self)^.&set := $00000040;
  52434. end;
  52435. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  52436. begin
  52437. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52438. end;
  52439. procedure TPORTA_TRISA.setTRISA7; inline;
  52440. begin
  52441. pTDefRegMap(@Self)^.&set := $00000080;
  52442. end;
  52443. procedure TPORTA_TRISA.clearTRISA7; inline;
  52444. begin
  52445. pTDefRegMap(@Self)^.clr := $00000080;
  52446. end;
  52447. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  52448. begin
  52449. if thebits = 0 then
  52450. pTDefRegMap(@Self)^.clr := $00000080
  52451. else
  52452. pTDefRegMap(@Self)^.&set := $00000080;
  52453. end;
  52454. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  52455. begin
  52456. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52457. end;
  52458. procedure TPORTA_TRISA.setTRISA9; inline;
  52459. begin
  52460. pTDefRegMap(@Self)^.&set := $00000200;
  52461. end;
  52462. procedure TPORTA_TRISA.clearTRISA9; inline;
  52463. begin
  52464. pTDefRegMap(@Self)^.clr := $00000200;
  52465. end;
  52466. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  52467. begin
  52468. if thebits = 0 then
  52469. pTDefRegMap(@Self)^.clr := $00000200
  52470. else
  52471. pTDefRegMap(@Self)^.&set := $00000200;
  52472. end;
  52473. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  52474. begin
  52475. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52476. end;
  52477. procedure TPORTA_TRISA.setTRISA10; inline;
  52478. begin
  52479. pTDefRegMap(@Self)^.&set := $00000400;
  52480. end;
  52481. procedure TPORTA_TRISA.clearTRISA10; inline;
  52482. begin
  52483. pTDefRegMap(@Self)^.clr := $00000400;
  52484. end;
  52485. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  52486. begin
  52487. if thebits = 0 then
  52488. pTDefRegMap(@Self)^.clr := $00000400
  52489. else
  52490. pTDefRegMap(@Self)^.&set := $00000400;
  52491. end;
  52492. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  52493. begin
  52494. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52495. end;
  52496. procedure TPORTA_TRISA.setTRISA14; inline;
  52497. begin
  52498. pTDefRegMap(@Self)^.&set := $00004000;
  52499. end;
  52500. procedure TPORTA_TRISA.clearTRISA14; inline;
  52501. begin
  52502. pTDefRegMap(@Self)^.clr := $00004000;
  52503. end;
  52504. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  52505. begin
  52506. if thebits = 0 then
  52507. pTDefRegMap(@Self)^.clr := $00004000
  52508. else
  52509. pTDefRegMap(@Self)^.&set := $00004000;
  52510. end;
  52511. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  52512. begin
  52513. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52514. end;
  52515. procedure TPORTA_TRISA.setTRISA15; inline;
  52516. begin
  52517. pTDefRegMap(@Self)^.&set := $00008000;
  52518. end;
  52519. procedure TPORTA_TRISA.clearTRISA15; inline;
  52520. begin
  52521. pTDefRegMap(@Self)^.clr := $00008000;
  52522. end;
  52523. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  52524. begin
  52525. if thebits = 0 then
  52526. pTDefRegMap(@Self)^.clr := $00008000
  52527. else
  52528. pTDefRegMap(@Self)^.&set := $00008000;
  52529. end;
  52530. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  52531. begin
  52532. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52533. end;
  52534. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  52535. begin
  52536. pTDefRegMap(@Self)^.val := thebits;
  52537. end;
  52538. function TPORTA_TRISA.getw : TBits_32; inline;
  52539. begin
  52540. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52541. end;
  52542. procedure TPORTA_PORTA.setRA0; inline;
  52543. begin
  52544. pTDefRegMap(@Self)^.&set := $00000001;
  52545. end;
  52546. procedure TPORTA_PORTA.clearRA0; inline;
  52547. begin
  52548. pTDefRegMap(@Self)^.clr := $00000001;
  52549. end;
  52550. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  52551. begin
  52552. if thebits = 0 then
  52553. pTDefRegMap(@Self)^.clr := $00000001
  52554. else
  52555. pTDefRegMap(@Self)^.&set := $00000001;
  52556. end;
  52557. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  52558. begin
  52559. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52560. end;
  52561. procedure TPORTA_PORTA.setRA1; inline;
  52562. begin
  52563. pTDefRegMap(@Self)^.&set := $00000002;
  52564. end;
  52565. procedure TPORTA_PORTA.clearRA1; inline;
  52566. begin
  52567. pTDefRegMap(@Self)^.clr := $00000002;
  52568. end;
  52569. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  52570. begin
  52571. if thebits = 0 then
  52572. pTDefRegMap(@Self)^.clr := $00000002
  52573. else
  52574. pTDefRegMap(@Self)^.&set := $00000002;
  52575. end;
  52576. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  52577. begin
  52578. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52579. end;
  52580. procedure TPORTA_PORTA.setRA2; inline;
  52581. begin
  52582. pTDefRegMap(@Self)^.&set := $00000004;
  52583. end;
  52584. procedure TPORTA_PORTA.clearRA2; inline;
  52585. begin
  52586. pTDefRegMap(@Self)^.clr := $00000004;
  52587. end;
  52588. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  52589. begin
  52590. if thebits = 0 then
  52591. pTDefRegMap(@Self)^.clr := $00000004
  52592. else
  52593. pTDefRegMap(@Self)^.&set := $00000004;
  52594. end;
  52595. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  52596. begin
  52597. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52598. end;
  52599. procedure TPORTA_PORTA.setRA3; inline;
  52600. begin
  52601. pTDefRegMap(@Self)^.&set := $00000008;
  52602. end;
  52603. procedure TPORTA_PORTA.clearRA3; inline;
  52604. begin
  52605. pTDefRegMap(@Self)^.clr := $00000008;
  52606. end;
  52607. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  52608. begin
  52609. if thebits = 0 then
  52610. pTDefRegMap(@Self)^.clr := $00000008
  52611. else
  52612. pTDefRegMap(@Self)^.&set := $00000008;
  52613. end;
  52614. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  52615. begin
  52616. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52617. end;
  52618. procedure TPORTA_PORTA.setRA4; inline;
  52619. begin
  52620. pTDefRegMap(@Self)^.&set := $00000010;
  52621. end;
  52622. procedure TPORTA_PORTA.clearRA4; inline;
  52623. begin
  52624. pTDefRegMap(@Self)^.clr := $00000010;
  52625. end;
  52626. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  52627. begin
  52628. if thebits = 0 then
  52629. pTDefRegMap(@Self)^.clr := $00000010
  52630. else
  52631. pTDefRegMap(@Self)^.&set := $00000010;
  52632. end;
  52633. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  52634. begin
  52635. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52636. end;
  52637. procedure TPORTA_PORTA.setRA5; inline;
  52638. begin
  52639. pTDefRegMap(@Self)^.&set := $00000020;
  52640. end;
  52641. procedure TPORTA_PORTA.clearRA5; inline;
  52642. begin
  52643. pTDefRegMap(@Self)^.clr := $00000020;
  52644. end;
  52645. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  52646. begin
  52647. if thebits = 0 then
  52648. pTDefRegMap(@Self)^.clr := $00000020
  52649. else
  52650. pTDefRegMap(@Self)^.&set := $00000020;
  52651. end;
  52652. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  52653. begin
  52654. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52655. end;
  52656. procedure TPORTA_PORTA.setRA6; inline;
  52657. begin
  52658. pTDefRegMap(@Self)^.&set := $00000040;
  52659. end;
  52660. procedure TPORTA_PORTA.clearRA6; inline;
  52661. begin
  52662. pTDefRegMap(@Self)^.clr := $00000040;
  52663. end;
  52664. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  52665. begin
  52666. if thebits = 0 then
  52667. pTDefRegMap(@Self)^.clr := $00000040
  52668. else
  52669. pTDefRegMap(@Self)^.&set := $00000040;
  52670. end;
  52671. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  52672. begin
  52673. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52674. end;
  52675. procedure TPORTA_PORTA.setRA7; inline;
  52676. begin
  52677. pTDefRegMap(@Self)^.&set := $00000080;
  52678. end;
  52679. procedure TPORTA_PORTA.clearRA7; inline;
  52680. begin
  52681. pTDefRegMap(@Self)^.clr := $00000080;
  52682. end;
  52683. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  52684. begin
  52685. if thebits = 0 then
  52686. pTDefRegMap(@Self)^.clr := $00000080
  52687. else
  52688. pTDefRegMap(@Self)^.&set := $00000080;
  52689. end;
  52690. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  52691. begin
  52692. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52693. end;
  52694. procedure TPORTA_PORTA.setRA9; inline;
  52695. begin
  52696. pTDefRegMap(@Self)^.&set := $00000200;
  52697. end;
  52698. procedure TPORTA_PORTA.clearRA9; inline;
  52699. begin
  52700. pTDefRegMap(@Self)^.clr := $00000200;
  52701. end;
  52702. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  52703. begin
  52704. if thebits = 0 then
  52705. pTDefRegMap(@Self)^.clr := $00000200
  52706. else
  52707. pTDefRegMap(@Self)^.&set := $00000200;
  52708. end;
  52709. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  52710. begin
  52711. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52712. end;
  52713. procedure TPORTA_PORTA.setRA10; inline;
  52714. begin
  52715. pTDefRegMap(@Self)^.&set := $00000400;
  52716. end;
  52717. procedure TPORTA_PORTA.clearRA10; inline;
  52718. begin
  52719. pTDefRegMap(@Self)^.clr := $00000400;
  52720. end;
  52721. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  52722. begin
  52723. if thebits = 0 then
  52724. pTDefRegMap(@Self)^.clr := $00000400
  52725. else
  52726. pTDefRegMap(@Self)^.&set := $00000400;
  52727. end;
  52728. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  52729. begin
  52730. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52731. end;
  52732. procedure TPORTA_PORTA.setRA14; inline;
  52733. begin
  52734. pTDefRegMap(@Self)^.&set := $00004000;
  52735. end;
  52736. procedure TPORTA_PORTA.clearRA14; inline;
  52737. begin
  52738. pTDefRegMap(@Self)^.clr := $00004000;
  52739. end;
  52740. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  52741. begin
  52742. if thebits = 0 then
  52743. pTDefRegMap(@Self)^.clr := $00004000
  52744. else
  52745. pTDefRegMap(@Self)^.&set := $00004000;
  52746. end;
  52747. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  52748. begin
  52749. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52750. end;
  52751. procedure TPORTA_PORTA.setRA15; inline;
  52752. begin
  52753. pTDefRegMap(@Self)^.&set := $00008000;
  52754. end;
  52755. procedure TPORTA_PORTA.clearRA15; inline;
  52756. begin
  52757. pTDefRegMap(@Self)^.clr := $00008000;
  52758. end;
  52759. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  52760. begin
  52761. if thebits = 0 then
  52762. pTDefRegMap(@Self)^.clr := $00008000
  52763. else
  52764. pTDefRegMap(@Self)^.&set := $00008000;
  52765. end;
  52766. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  52767. begin
  52768. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52769. end;
  52770. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  52771. begin
  52772. pTDefRegMap(@Self)^.val := thebits;
  52773. end;
  52774. function TPORTA_PORTA.getw : TBits_32; inline;
  52775. begin
  52776. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52777. end;
  52778. procedure TPORTA_LATA.setLATA0; inline;
  52779. begin
  52780. pTDefRegMap(@Self)^.&set := $00000001;
  52781. end;
  52782. procedure TPORTA_LATA.clearLATA0; inline;
  52783. begin
  52784. pTDefRegMap(@Self)^.clr := $00000001;
  52785. end;
  52786. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  52787. begin
  52788. if thebits = 0 then
  52789. pTDefRegMap(@Self)^.clr := $00000001
  52790. else
  52791. pTDefRegMap(@Self)^.&set := $00000001;
  52792. end;
  52793. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  52794. begin
  52795. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52796. end;
  52797. procedure TPORTA_LATA.setLATA1; inline;
  52798. begin
  52799. pTDefRegMap(@Self)^.&set := $00000002;
  52800. end;
  52801. procedure TPORTA_LATA.clearLATA1; inline;
  52802. begin
  52803. pTDefRegMap(@Self)^.clr := $00000002;
  52804. end;
  52805. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  52806. begin
  52807. if thebits = 0 then
  52808. pTDefRegMap(@Self)^.clr := $00000002
  52809. else
  52810. pTDefRegMap(@Self)^.&set := $00000002;
  52811. end;
  52812. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  52813. begin
  52814. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52815. end;
  52816. procedure TPORTA_LATA.setLATA2; inline;
  52817. begin
  52818. pTDefRegMap(@Self)^.&set := $00000004;
  52819. end;
  52820. procedure TPORTA_LATA.clearLATA2; inline;
  52821. begin
  52822. pTDefRegMap(@Self)^.clr := $00000004;
  52823. end;
  52824. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  52825. begin
  52826. if thebits = 0 then
  52827. pTDefRegMap(@Self)^.clr := $00000004
  52828. else
  52829. pTDefRegMap(@Self)^.&set := $00000004;
  52830. end;
  52831. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  52832. begin
  52833. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52834. end;
  52835. procedure TPORTA_LATA.setLATA3; inline;
  52836. begin
  52837. pTDefRegMap(@Self)^.&set := $00000008;
  52838. end;
  52839. procedure TPORTA_LATA.clearLATA3; inline;
  52840. begin
  52841. pTDefRegMap(@Self)^.clr := $00000008;
  52842. end;
  52843. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  52844. begin
  52845. if thebits = 0 then
  52846. pTDefRegMap(@Self)^.clr := $00000008
  52847. else
  52848. pTDefRegMap(@Self)^.&set := $00000008;
  52849. end;
  52850. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  52851. begin
  52852. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52853. end;
  52854. procedure TPORTA_LATA.setLATA4; inline;
  52855. begin
  52856. pTDefRegMap(@Self)^.&set := $00000010;
  52857. end;
  52858. procedure TPORTA_LATA.clearLATA4; inline;
  52859. begin
  52860. pTDefRegMap(@Self)^.clr := $00000010;
  52861. end;
  52862. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  52863. begin
  52864. if thebits = 0 then
  52865. pTDefRegMap(@Self)^.clr := $00000010
  52866. else
  52867. pTDefRegMap(@Self)^.&set := $00000010;
  52868. end;
  52869. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  52870. begin
  52871. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52872. end;
  52873. procedure TPORTA_LATA.setLATA5; inline;
  52874. begin
  52875. pTDefRegMap(@Self)^.&set := $00000020;
  52876. end;
  52877. procedure TPORTA_LATA.clearLATA5; inline;
  52878. begin
  52879. pTDefRegMap(@Self)^.clr := $00000020;
  52880. end;
  52881. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  52882. begin
  52883. if thebits = 0 then
  52884. pTDefRegMap(@Self)^.clr := $00000020
  52885. else
  52886. pTDefRegMap(@Self)^.&set := $00000020;
  52887. end;
  52888. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  52889. begin
  52890. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52891. end;
  52892. procedure TPORTA_LATA.setLATA6; inline;
  52893. begin
  52894. pTDefRegMap(@Self)^.&set := $00000040;
  52895. end;
  52896. procedure TPORTA_LATA.clearLATA6; inline;
  52897. begin
  52898. pTDefRegMap(@Self)^.clr := $00000040;
  52899. end;
  52900. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  52901. begin
  52902. if thebits = 0 then
  52903. pTDefRegMap(@Self)^.clr := $00000040
  52904. else
  52905. pTDefRegMap(@Self)^.&set := $00000040;
  52906. end;
  52907. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  52908. begin
  52909. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52910. end;
  52911. procedure TPORTA_LATA.setLATA7; inline;
  52912. begin
  52913. pTDefRegMap(@Self)^.&set := $00000080;
  52914. end;
  52915. procedure TPORTA_LATA.clearLATA7; inline;
  52916. begin
  52917. pTDefRegMap(@Self)^.clr := $00000080;
  52918. end;
  52919. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  52920. begin
  52921. if thebits = 0 then
  52922. pTDefRegMap(@Self)^.clr := $00000080
  52923. else
  52924. pTDefRegMap(@Self)^.&set := $00000080;
  52925. end;
  52926. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  52927. begin
  52928. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52929. end;
  52930. procedure TPORTA_LATA.setLATA9; inline;
  52931. begin
  52932. pTDefRegMap(@Self)^.&set := $00000200;
  52933. end;
  52934. procedure TPORTA_LATA.clearLATA9; inline;
  52935. begin
  52936. pTDefRegMap(@Self)^.clr := $00000200;
  52937. end;
  52938. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  52939. begin
  52940. if thebits = 0 then
  52941. pTDefRegMap(@Self)^.clr := $00000200
  52942. else
  52943. pTDefRegMap(@Self)^.&set := $00000200;
  52944. end;
  52945. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  52946. begin
  52947. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52948. end;
  52949. procedure TPORTA_LATA.setLATA10; inline;
  52950. begin
  52951. pTDefRegMap(@Self)^.&set := $00000400;
  52952. end;
  52953. procedure TPORTA_LATA.clearLATA10; inline;
  52954. begin
  52955. pTDefRegMap(@Self)^.clr := $00000400;
  52956. end;
  52957. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  52958. begin
  52959. if thebits = 0 then
  52960. pTDefRegMap(@Self)^.clr := $00000400
  52961. else
  52962. pTDefRegMap(@Self)^.&set := $00000400;
  52963. end;
  52964. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  52965. begin
  52966. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52967. end;
  52968. procedure TPORTA_LATA.setLATA14; inline;
  52969. begin
  52970. pTDefRegMap(@Self)^.&set := $00004000;
  52971. end;
  52972. procedure TPORTA_LATA.clearLATA14; inline;
  52973. begin
  52974. pTDefRegMap(@Self)^.clr := $00004000;
  52975. end;
  52976. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  52977. begin
  52978. if thebits = 0 then
  52979. pTDefRegMap(@Self)^.clr := $00004000
  52980. else
  52981. pTDefRegMap(@Self)^.&set := $00004000;
  52982. end;
  52983. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  52984. begin
  52985. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52986. end;
  52987. procedure TPORTA_LATA.setLATA15; inline;
  52988. begin
  52989. pTDefRegMap(@Self)^.&set := $00008000;
  52990. end;
  52991. procedure TPORTA_LATA.clearLATA15; inline;
  52992. begin
  52993. pTDefRegMap(@Self)^.clr := $00008000;
  52994. end;
  52995. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  52996. begin
  52997. if thebits = 0 then
  52998. pTDefRegMap(@Self)^.clr := $00008000
  52999. else
  53000. pTDefRegMap(@Self)^.&set := $00008000;
  53001. end;
  53002. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  53003. begin
  53004. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53005. end;
  53006. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  53007. begin
  53008. pTDefRegMap(@Self)^.val := thebits;
  53009. end;
  53010. function TPORTA_LATA.getw : TBits_32; inline;
  53011. begin
  53012. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53013. end;
  53014. procedure TPORTA_ODCA.setODCA0; inline;
  53015. begin
  53016. pTDefRegMap(@Self)^.&set := $00000001;
  53017. end;
  53018. procedure TPORTA_ODCA.clearODCA0; inline;
  53019. begin
  53020. pTDefRegMap(@Self)^.clr := $00000001;
  53021. end;
  53022. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  53023. begin
  53024. if thebits = 0 then
  53025. pTDefRegMap(@Self)^.clr := $00000001
  53026. else
  53027. pTDefRegMap(@Self)^.&set := $00000001;
  53028. end;
  53029. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  53030. begin
  53031. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53032. end;
  53033. procedure TPORTA_ODCA.setODCA1; inline;
  53034. begin
  53035. pTDefRegMap(@Self)^.&set := $00000002;
  53036. end;
  53037. procedure TPORTA_ODCA.clearODCA1; inline;
  53038. begin
  53039. pTDefRegMap(@Self)^.clr := $00000002;
  53040. end;
  53041. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  53042. begin
  53043. if thebits = 0 then
  53044. pTDefRegMap(@Self)^.clr := $00000002
  53045. else
  53046. pTDefRegMap(@Self)^.&set := $00000002;
  53047. end;
  53048. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  53049. begin
  53050. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53051. end;
  53052. procedure TPORTA_ODCA.setODCA2; inline;
  53053. begin
  53054. pTDefRegMap(@Self)^.&set := $00000004;
  53055. end;
  53056. procedure TPORTA_ODCA.clearODCA2; inline;
  53057. begin
  53058. pTDefRegMap(@Self)^.clr := $00000004;
  53059. end;
  53060. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  53061. begin
  53062. if thebits = 0 then
  53063. pTDefRegMap(@Self)^.clr := $00000004
  53064. else
  53065. pTDefRegMap(@Self)^.&set := $00000004;
  53066. end;
  53067. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  53068. begin
  53069. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53070. end;
  53071. procedure TPORTA_ODCA.setODCA3; inline;
  53072. begin
  53073. pTDefRegMap(@Self)^.&set := $00000008;
  53074. end;
  53075. procedure TPORTA_ODCA.clearODCA3; inline;
  53076. begin
  53077. pTDefRegMap(@Self)^.clr := $00000008;
  53078. end;
  53079. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  53080. begin
  53081. if thebits = 0 then
  53082. pTDefRegMap(@Self)^.clr := $00000008
  53083. else
  53084. pTDefRegMap(@Self)^.&set := $00000008;
  53085. end;
  53086. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  53087. begin
  53088. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53089. end;
  53090. procedure TPORTA_ODCA.setODCA4; inline;
  53091. begin
  53092. pTDefRegMap(@Self)^.&set := $00000010;
  53093. end;
  53094. procedure TPORTA_ODCA.clearODCA4; inline;
  53095. begin
  53096. pTDefRegMap(@Self)^.clr := $00000010;
  53097. end;
  53098. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  53099. begin
  53100. if thebits = 0 then
  53101. pTDefRegMap(@Self)^.clr := $00000010
  53102. else
  53103. pTDefRegMap(@Self)^.&set := $00000010;
  53104. end;
  53105. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  53106. begin
  53107. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53108. end;
  53109. procedure TPORTA_ODCA.setODCA5; inline;
  53110. begin
  53111. pTDefRegMap(@Self)^.&set := $00000020;
  53112. end;
  53113. procedure TPORTA_ODCA.clearODCA5; inline;
  53114. begin
  53115. pTDefRegMap(@Self)^.clr := $00000020;
  53116. end;
  53117. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  53118. begin
  53119. if thebits = 0 then
  53120. pTDefRegMap(@Self)^.clr := $00000020
  53121. else
  53122. pTDefRegMap(@Self)^.&set := $00000020;
  53123. end;
  53124. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  53125. begin
  53126. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53127. end;
  53128. procedure TPORTA_ODCA.setODCA6; inline;
  53129. begin
  53130. pTDefRegMap(@Self)^.&set := $00000040;
  53131. end;
  53132. procedure TPORTA_ODCA.clearODCA6; inline;
  53133. begin
  53134. pTDefRegMap(@Self)^.clr := $00000040;
  53135. end;
  53136. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  53137. begin
  53138. if thebits = 0 then
  53139. pTDefRegMap(@Self)^.clr := $00000040
  53140. else
  53141. pTDefRegMap(@Self)^.&set := $00000040;
  53142. end;
  53143. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  53144. begin
  53145. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53146. end;
  53147. procedure TPORTA_ODCA.setODCA7; inline;
  53148. begin
  53149. pTDefRegMap(@Self)^.&set := $00000080;
  53150. end;
  53151. procedure TPORTA_ODCA.clearODCA7; inline;
  53152. begin
  53153. pTDefRegMap(@Self)^.clr := $00000080;
  53154. end;
  53155. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  53156. begin
  53157. if thebits = 0 then
  53158. pTDefRegMap(@Self)^.clr := $00000080
  53159. else
  53160. pTDefRegMap(@Self)^.&set := $00000080;
  53161. end;
  53162. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  53163. begin
  53164. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53165. end;
  53166. procedure TPORTA_ODCA.setODCA9; inline;
  53167. begin
  53168. pTDefRegMap(@Self)^.&set := $00000200;
  53169. end;
  53170. procedure TPORTA_ODCA.clearODCA9; inline;
  53171. begin
  53172. pTDefRegMap(@Self)^.clr := $00000200;
  53173. end;
  53174. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  53175. begin
  53176. if thebits = 0 then
  53177. pTDefRegMap(@Self)^.clr := $00000200
  53178. else
  53179. pTDefRegMap(@Self)^.&set := $00000200;
  53180. end;
  53181. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  53182. begin
  53183. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53184. end;
  53185. procedure TPORTA_ODCA.setODCA10; inline;
  53186. begin
  53187. pTDefRegMap(@Self)^.&set := $00000400;
  53188. end;
  53189. procedure TPORTA_ODCA.clearODCA10; inline;
  53190. begin
  53191. pTDefRegMap(@Self)^.clr := $00000400;
  53192. end;
  53193. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  53194. begin
  53195. if thebits = 0 then
  53196. pTDefRegMap(@Self)^.clr := $00000400
  53197. else
  53198. pTDefRegMap(@Self)^.&set := $00000400;
  53199. end;
  53200. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  53201. begin
  53202. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53203. end;
  53204. procedure TPORTA_ODCA.setODCA14; inline;
  53205. begin
  53206. pTDefRegMap(@Self)^.&set := $00004000;
  53207. end;
  53208. procedure TPORTA_ODCA.clearODCA14; inline;
  53209. begin
  53210. pTDefRegMap(@Self)^.clr := $00004000;
  53211. end;
  53212. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  53213. begin
  53214. if thebits = 0 then
  53215. pTDefRegMap(@Self)^.clr := $00004000
  53216. else
  53217. pTDefRegMap(@Self)^.&set := $00004000;
  53218. end;
  53219. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  53220. begin
  53221. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53222. end;
  53223. procedure TPORTA_ODCA.setODCA15; inline;
  53224. begin
  53225. pTDefRegMap(@Self)^.&set := $00008000;
  53226. end;
  53227. procedure TPORTA_ODCA.clearODCA15; inline;
  53228. begin
  53229. pTDefRegMap(@Self)^.clr := $00008000;
  53230. end;
  53231. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  53232. begin
  53233. if thebits = 0 then
  53234. pTDefRegMap(@Self)^.clr := $00008000
  53235. else
  53236. pTDefRegMap(@Self)^.&set := $00008000;
  53237. end;
  53238. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  53239. begin
  53240. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53241. end;
  53242. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  53243. begin
  53244. pTDefRegMap(@Self)^.val := thebits;
  53245. end;
  53246. function TPORTA_ODCA.getw : TBits_32; inline;
  53247. begin
  53248. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53249. end;
  53250. procedure TPORTB_TRISB.setTRISB0; inline;
  53251. begin
  53252. pTDefRegMap(@Self)^.&set := $00000001;
  53253. end;
  53254. procedure TPORTB_TRISB.clearTRISB0; inline;
  53255. begin
  53256. pTDefRegMap(@Self)^.clr := $00000001;
  53257. end;
  53258. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  53259. begin
  53260. if thebits = 0 then
  53261. pTDefRegMap(@Self)^.clr := $00000001
  53262. else
  53263. pTDefRegMap(@Self)^.&set := $00000001;
  53264. end;
  53265. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  53266. begin
  53267. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53268. end;
  53269. procedure TPORTB_TRISB.setTRISB1; inline;
  53270. begin
  53271. pTDefRegMap(@Self)^.&set := $00000002;
  53272. end;
  53273. procedure TPORTB_TRISB.clearTRISB1; inline;
  53274. begin
  53275. pTDefRegMap(@Self)^.clr := $00000002;
  53276. end;
  53277. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  53278. begin
  53279. if thebits = 0 then
  53280. pTDefRegMap(@Self)^.clr := $00000002
  53281. else
  53282. pTDefRegMap(@Self)^.&set := $00000002;
  53283. end;
  53284. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  53285. begin
  53286. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53287. end;
  53288. procedure TPORTB_TRISB.setTRISB2; inline;
  53289. begin
  53290. pTDefRegMap(@Self)^.&set := $00000004;
  53291. end;
  53292. procedure TPORTB_TRISB.clearTRISB2; inline;
  53293. begin
  53294. pTDefRegMap(@Self)^.clr := $00000004;
  53295. end;
  53296. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  53297. begin
  53298. if thebits = 0 then
  53299. pTDefRegMap(@Self)^.clr := $00000004
  53300. else
  53301. pTDefRegMap(@Self)^.&set := $00000004;
  53302. end;
  53303. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  53304. begin
  53305. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53306. end;
  53307. procedure TPORTB_TRISB.setTRISB3; inline;
  53308. begin
  53309. pTDefRegMap(@Self)^.&set := $00000008;
  53310. end;
  53311. procedure TPORTB_TRISB.clearTRISB3; inline;
  53312. begin
  53313. pTDefRegMap(@Self)^.clr := $00000008;
  53314. end;
  53315. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  53316. begin
  53317. if thebits = 0 then
  53318. pTDefRegMap(@Self)^.clr := $00000008
  53319. else
  53320. pTDefRegMap(@Self)^.&set := $00000008;
  53321. end;
  53322. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  53323. begin
  53324. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53325. end;
  53326. procedure TPORTB_TRISB.setTRISB4; inline;
  53327. begin
  53328. pTDefRegMap(@Self)^.&set := $00000010;
  53329. end;
  53330. procedure TPORTB_TRISB.clearTRISB4; inline;
  53331. begin
  53332. pTDefRegMap(@Self)^.clr := $00000010;
  53333. end;
  53334. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  53335. begin
  53336. if thebits = 0 then
  53337. pTDefRegMap(@Self)^.clr := $00000010
  53338. else
  53339. pTDefRegMap(@Self)^.&set := $00000010;
  53340. end;
  53341. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  53342. begin
  53343. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53344. end;
  53345. procedure TPORTB_TRISB.setTRISB5; inline;
  53346. begin
  53347. pTDefRegMap(@Self)^.&set := $00000020;
  53348. end;
  53349. procedure TPORTB_TRISB.clearTRISB5; inline;
  53350. begin
  53351. pTDefRegMap(@Self)^.clr := $00000020;
  53352. end;
  53353. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  53354. begin
  53355. if thebits = 0 then
  53356. pTDefRegMap(@Self)^.clr := $00000020
  53357. else
  53358. pTDefRegMap(@Self)^.&set := $00000020;
  53359. end;
  53360. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  53361. begin
  53362. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53363. end;
  53364. procedure TPORTB_TRISB.setTRISB6; inline;
  53365. begin
  53366. pTDefRegMap(@Self)^.&set := $00000040;
  53367. end;
  53368. procedure TPORTB_TRISB.clearTRISB6; inline;
  53369. begin
  53370. pTDefRegMap(@Self)^.clr := $00000040;
  53371. end;
  53372. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  53373. begin
  53374. if thebits = 0 then
  53375. pTDefRegMap(@Self)^.clr := $00000040
  53376. else
  53377. pTDefRegMap(@Self)^.&set := $00000040;
  53378. end;
  53379. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  53380. begin
  53381. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53382. end;
  53383. procedure TPORTB_TRISB.setTRISB7; inline;
  53384. begin
  53385. pTDefRegMap(@Self)^.&set := $00000080;
  53386. end;
  53387. procedure TPORTB_TRISB.clearTRISB7; inline;
  53388. begin
  53389. pTDefRegMap(@Self)^.clr := $00000080;
  53390. end;
  53391. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  53392. begin
  53393. if thebits = 0 then
  53394. pTDefRegMap(@Self)^.clr := $00000080
  53395. else
  53396. pTDefRegMap(@Self)^.&set := $00000080;
  53397. end;
  53398. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  53399. begin
  53400. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53401. end;
  53402. procedure TPORTB_TRISB.setTRISB8; inline;
  53403. begin
  53404. pTDefRegMap(@Self)^.&set := $00000100;
  53405. end;
  53406. procedure TPORTB_TRISB.clearTRISB8; inline;
  53407. begin
  53408. pTDefRegMap(@Self)^.clr := $00000100;
  53409. end;
  53410. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  53411. begin
  53412. if thebits = 0 then
  53413. pTDefRegMap(@Self)^.clr := $00000100
  53414. else
  53415. pTDefRegMap(@Self)^.&set := $00000100;
  53416. end;
  53417. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  53418. begin
  53419. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53420. end;
  53421. procedure TPORTB_TRISB.setTRISB9; inline;
  53422. begin
  53423. pTDefRegMap(@Self)^.&set := $00000200;
  53424. end;
  53425. procedure TPORTB_TRISB.clearTRISB9; inline;
  53426. begin
  53427. pTDefRegMap(@Self)^.clr := $00000200;
  53428. end;
  53429. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  53430. begin
  53431. if thebits = 0 then
  53432. pTDefRegMap(@Self)^.clr := $00000200
  53433. else
  53434. pTDefRegMap(@Self)^.&set := $00000200;
  53435. end;
  53436. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  53437. begin
  53438. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53439. end;
  53440. procedure TPORTB_TRISB.setTRISB10; inline;
  53441. begin
  53442. pTDefRegMap(@Self)^.&set := $00000400;
  53443. end;
  53444. procedure TPORTB_TRISB.clearTRISB10; inline;
  53445. begin
  53446. pTDefRegMap(@Self)^.clr := $00000400;
  53447. end;
  53448. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  53449. begin
  53450. if thebits = 0 then
  53451. pTDefRegMap(@Self)^.clr := $00000400
  53452. else
  53453. pTDefRegMap(@Self)^.&set := $00000400;
  53454. end;
  53455. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  53456. begin
  53457. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53458. end;
  53459. procedure TPORTB_TRISB.setTRISB11; inline;
  53460. begin
  53461. pTDefRegMap(@Self)^.&set := $00000800;
  53462. end;
  53463. procedure TPORTB_TRISB.clearTRISB11; inline;
  53464. begin
  53465. pTDefRegMap(@Self)^.clr := $00000800;
  53466. end;
  53467. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  53468. begin
  53469. if thebits = 0 then
  53470. pTDefRegMap(@Self)^.clr := $00000800
  53471. else
  53472. pTDefRegMap(@Self)^.&set := $00000800;
  53473. end;
  53474. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  53475. begin
  53476. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53477. end;
  53478. procedure TPORTB_TRISB.setTRISB12; inline;
  53479. begin
  53480. pTDefRegMap(@Self)^.&set := $00001000;
  53481. end;
  53482. procedure TPORTB_TRISB.clearTRISB12; inline;
  53483. begin
  53484. pTDefRegMap(@Self)^.clr := $00001000;
  53485. end;
  53486. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  53487. begin
  53488. if thebits = 0 then
  53489. pTDefRegMap(@Self)^.clr := $00001000
  53490. else
  53491. pTDefRegMap(@Self)^.&set := $00001000;
  53492. end;
  53493. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  53494. begin
  53495. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53496. end;
  53497. procedure TPORTB_TRISB.setTRISB13; inline;
  53498. begin
  53499. pTDefRegMap(@Self)^.&set := $00002000;
  53500. end;
  53501. procedure TPORTB_TRISB.clearTRISB13; inline;
  53502. begin
  53503. pTDefRegMap(@Self)^.clr := $00002000;
  53504. end;
  53505. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  53506. begin
  53507. if thebits = 0 then
  53508. pTDefRegMap(@Self)^.clr := $00002000
  53509. else
  53510. pTDefRegMap(@Self)^.&set := $00002000;
  53511. end;
  53512. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  53513. begin
  53514. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53515. end;
  53516. procedure TPORTB_TRISB.setTRISB14; inline;
  53517. begin
  53518. pTDefRegMap(@Self)^.&set := $00004000;
  53519. end;
  53520. procedure TPORTB_TRISB.clearTRISB14; inline;
  53521. begin
  53522. pTDefRegMap(@Self)^.clr := $00004000;
  53523. end;
  53524. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  53525. begin
  53526. if thebits = 0 then
  53527. pTDefRegMap(@Self)^.clr := $00004000
  53528. else
  53529. pTDefRegMap(@Self)^.&set := $00004000;
  53530. end;
  53531. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  53532. begin
  53533. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53534. end;
  53535. procedure TPORTB_TRISB.setTRISB15; inline;
  53536. begin
  53537. pTDefRegMap(@Self)^.&set := $00008000;
  53538. end;
  53539. procedure TPORTB_TRISB.clearTRISB15; inline;
  53540. begin
  53541. pTDefRegMap(@Self)^.clr := $00008000;
  53542. end;
  53543. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  53544. begin
  53545. if thebits = 0 then
  53546. pTDefRegMap(@Self)^.clr := $00008000
  53547. else
  53548. pTDefRegMap(@Self)^.&set := $00008000;
  53549. end;
  53550. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  53551. begin
  53552. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53553. end;
  53554. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  53555. begin
  53556. pTDefRegMap(@Self)^.val := thebits;
  53557. end;
  53558. function TPORTB_TRISB.getw : TBits_32; inline;
  53559. begin
  53560. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53561. end;
  53562. procedure TPORTB_PORTB.setRB0; inline;
  53563. begin
  53564. pTDefRegMap(@Self)^.&set := $00000001;
  53565. end;
  53566. procedure TPORTB_PORTB.clearRB0; inline;
  53567. begin
  53568. pTDefRegMap(@Self)^.clr := $00000001;
  53569. end;
  53570. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  53571. begin
  53572. if thebits = 0 then
  53573. pTDefRegMap(@Self)^.clr := $00000001
  53574. else
  53575. pTDefRegMap(@Self)^.&set := $00000001;
  53576. end;
  53577. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  53578. begin
  53579. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53580. end;
  53581. procedure TPORTB_PORTB.setRB1; inline;
  53582. begin
  53583. pTDefRegMap(@Self)^.&set := $00000002;
  53584. end;
  53585. procedure TPORTB_PORTB.clearRB1; inline;
  53586. begin
  53587. pTDefRegMap(@Self)^.clr := $00000002;
  53588. end;
  53589. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  53590. begin
  53591. if thebits = 0 then
  53592. pTDefRegMap(@Self)^.clr := $00000002
  53593. else
  53594. pTDefRegMap(@Self)^.&set := $00000002;
  53595. end;
  53596. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  53597. begin
  53598. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53599. end;
  53600. procedure TPORTB_PORTB.setRB2; inline;
  53601. begin
  53602. pTDefRegMap(@Self)^.&set := $00000004;
  53603. end;
  53604. procedure TPORTB_PORTB.clearRB2; inline;
  53605. begin
  53606. pTDefRegMap(@Self)^.clr := $00000004;
  53607. end;
  53608. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  53609. begin
  53610. if thebits = 0 then
  53611. pTDefRegMap(@Self)^.clr := $00000004
  53612. else
  53613. pTDefRegMap(@Self)^.&set := $00000004;
  53614. end;
  53615. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  53616. begin
  53617. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53618. end;
  53619. procedure TPORTB_PORTB.setRB3; inline;
  53620. begin
  53621. pTDefRegMap(@Self)^.&set := $00000008;
  53622. end;
  53623. procedure TPORTB_PORTB.clearRB3; inline;
  53624. begin
  53625. pTDefRegMap(@Self)^.clr := $00000008;
  53626. end;
  53627. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  53628. begin
  53629. if thebits = 0 then
  53630. pTDefRegMap(@Self)^.clr := $00000008
  53631. else
  53632. pTDefRegMap(@Self)^.&set := $00000008;
  53633. end;
  53634. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  53635. begin
  53636. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53637. end;
  53638. procedure TPORTB_PORTB.setRB4; inline;
  53639. begin
  53640. pTDefRegMap(@Self)^.&set := $00000010;
  53641. end;
  53642. procedure TPORTB_PORTB.clearRB4; inline;
  53643. begin
  53644. pTDefRegMap(@Self)^.clr := $00000010;
  53645. end;
  53646. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  53647. begin
  53648. if thebits = 0 then
  53649. pTDefRegMap(@Self)^.clr := $00000010
  53650. else
  53651. pTDefRegMap(@Self)^.&set := $00000010;
  53652. end;
  53653. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  53654. begin
  53655. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53656. end;
  53657. procedure TPORTB_PORTB.setRB5; inline;
  53658. begin
  53659. pTDefRegMap(@Self)^.&set := $00000020;
  53660. end;
  53661. procedure TPORTB_PORTB.clearRB5; inline;
  53662. begin
  53663. pTDefRegMap(@Self)^.clr := $00000020;
  53664. end;
  53665. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  53666. begin
  53667. if thebits = 0 then
  53668. pTDefRegMap(@Self)^.clr := $00000020
  53669. else
  53670. pTDefRegMap(@Self)^.&set := $00000020;
  53671. end;
  53672. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  53673. begin
  53674. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53675. end;
  53676. procedure TPORTB_PORTB.setRB6; inline;
  53677. begin
  53678. pTDefRegMap(@Self)^.&set := $00000040;
  53679. end;
  53680. procedure TPORTB_PORTB.clearRB6; inline;
  53681. begin
  53682. pTDefRegMap(@Self)^.clr := $00000040;
  53683. end;
  53684. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  53685. begin
  53686. if thebits = 0 then
  53687. pTDefRegMap(@Self)^.clr := $00000040
  53688. else
  53689. pTDefRegMap(@Self)^.&set := $00000040;
  53690. end;
  53691. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  53692. begin
  53693. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53694. end;
  53695. procedure TPORTB_PORTB.setRB7; inline;
  53696. begin
  53697. pTDefRegMap(@Self)^.&set := $00000080;
  53698. end;
  53699. procedure TPORTB_PORTB.clearRB7; inline;
  53700. begin
  53701. pTDefRegMap(@Self)^.clr := $00000080;
  53702. end;
  53703. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  53704. begin
  53705. if thebits = 0 then
  53706. pTDefRegMap(@Self)^.clr := $00000080
  53707. else
  53708. pTDefRegMap(@Self)^.&set := $00000080;
  53709. end;
  53710. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  53711. begin
  53712. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53713. end;
  53714. procedure TPORTB_PORTB.setRB8; inline;
  53715. begin
  53716. pTDefRegMap(@Self)^.&set := $00000100;
  53717. end;
  53718. procedure TPORTB_PORTB.clearRB8; inline;
  53719. begin
  53720. pTDefRegMap(@Self)^.clr := $00000100;
  53721. end;
  53722. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  53723. begin
  53724. if thebits = 0 then
  53725. pTDefRegMap(@Self)^.clr := $00000100
  53726. else
  53727. pTDefRegMap(@Self)^.&set := $00000100;
  53728. end;
  53729. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  53730. begin
  53731. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53732. end;
  53733. procedure TPORTB_PORTB.setRB9; inline;
  53734. begin
  53735. pTDefRegMap(@Self)^.&set := $00000200;
  53736. end;
  53737. procedure TPORTB_PORTB.clearRB9; inline;
  53738. begin
  53739. pTDefRegMap(@Self)^.clr := $00000200;
  53740. end;
  53741. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  53742. begin
  53743. if thebits = 0 then
  53744. pTDefRegMap(@Self)^.clr := $00000200
  53745. else
  53746. pTDefRegMap(@Self)^.&set := $00000200;
  53747. end;
  53748. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  53749. begin
  53750. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53751. end;
  53752. procedure TPORTB_PORTB.setRB10; inline;
  53753. begin
  53754. pTDefRegMap(@Self)^.&set := $00000400;
  53755. end;
  53756. procedure TPORTB_PORTB.clearRB10; inline;
  53757. begin
  53758. pTDefRegMap(@Self)^.clr := $00000400;
  53759. end;
  53760. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  53761. begin
  53762. if thebits = 0 then
  53763. pTDefRegMap(@Self)^.clr := $00000400
  53764. else
  53765. pTDefRegMap(@Self)^.&set := $00000400;
  53766. end;
  53767. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  53768. begin
  53769. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53770. end;
  53771. procedure TPORTB_PORTB.setRB11; inline;
  53772. begin
  53773. pTDefRegMap(@Self)^.&set := $00000800;
  53774. end;
  53775. procedure TPORTB_PORTB.clearRB11; inline;
  53776. begin
  53777. pTDefRegMap(@Self)^.clr := $00000800;
  53778. end;
  53779. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  53780. begin
  53781. if thebits = 0 then
  53782. pTDefRegMap(@Self)^.clr := $00000800
  53783. else
  53784. pTDefRegMap(@Self)^.&set := $00000800;
  53785. end;
  53786. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  53787. begin
  53788. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53789. end;
  53790. procedure TPORTB_PORTB.setRB12; inline;
  53791. begin
  53792. pTDefRegMap(@Self)^.&set := $00001000;
  53793. end;
  53794. procedure TPORTB_PORTB.clearRB12; inline;
  53795. begin
  53796. pTDefRegMap(@Self)^.clr := $00001000;
  53797. end;
  53798. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  53799. begin
  53800. if thebits = 0 then
  53801. pTDefRegMap(@Self)^.clr := $00001000
  53802. else
  53803. pTDefRegMap(@Self)^.&set := $00001000;
  53804. end;
  53805. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  53806. begin
  53807. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53808. end;
  53809. procedure TPORTB_PORTB.setRB13; inline;
  53810. begin
  53811. pTDefRegMap(@Self)^.&set := $00002000;
  53812. end;
  53813. procedure TPORTB_PORTB.clearRB13; inline;
  53814. begin
  53815. pTDefRegMap(@Self)^.clr := $00002000;
  53816. end;
  53817. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  53818. begin
  53819. if thebits = 0 then
  53820. pTDefRegMap(@Self)^.clr := $00002000
  53821. else
  53822. pTDefRegMap(@Self)^.&set := $00002000;
  53823. end;
  53824. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  53825. begin
  53826. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53827. end;
  53828. procedure TPORTB_PORTB.setRB14; inline;
  53829. begin
  53830. pTDefRegMap(@Self)^.&set := $00004000;
  53831. end;
  53832. procedure TPORTB_PORTB.clearRB14; inline;
  53833. begin
  53834. pTDefRegMap(@Self)^.clr := $00004000;
  53835. end;
  53836. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  53837. begin
  53838. if thebits = 0 then
  53839. pTDefRegMap(@Self)^.clr := $00004000
  53840. else
  53841. pTDefRegMap(@Self)^.&set := $00004000;
  53842. end;
  53843. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  53844. begin
  53845. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53846. end;
  53847. procedure TPORTB_PORTB.setRB15; inline;
  53848. begin
  53849. pTDefRegMap(@Self)^.&set := $00008000;
  53850. end;
  53851. procedure TPORTB_PORTB.clearRB15; inline;
  53852. begin
  53853. pTDefRegMap(@Self)^.clr := $00008000;
  53854. end;
  53855. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  53856. begin
  53857. if thebits = 0 then
  53858. pTDefRegMap(@Self)^.clr := $00008000
  53859. else
  53860. pTDefRegMap(@Self)^.&set := $00008000;
  53861. end;
  53862. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  53863. begin
  53864. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53865. end;
  53866. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  53867. begin
  53868. pTDefRegMap(@Self)^.val := thebits;
  53869. end;
  53870. function TPORTB_PORTB.getw : TBits_32; inline;
  53871. begin
  53872. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53873. end;
  53874. procedure TPORTB_LATB.setLATB0; inline;
  53875. begin
  53876. pTDefRegMap(@Self)^.&set := $00000001;
  53877. end;
  53878. procedure TPORTB_LATB.clearLATB0; inline;
  53879. begin
  53880. pTDefRegMap(@Self)^.clr := $00000001;
  53881. end;
  53882. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  53883. begin
  53884. if thebits = 0 then
  53885. pTDefRegMap(@Self)^.clr := $00000001
  53886. else
  53887. pTDefRegMap(@Self)^.&set := $00000001;
  53888. end;
  53889. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  53890. begin
  53891. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53892. end;
  53893. procedure TPORTB_LATB.setLATB1; inline;
  53894. begin
  53895. pTDefRegMap(@Self)^.&set := $00000002;
  53896. end;
  53897. procedure TPORTB_LATB.clearLATB1; inline;
  53898. begin
  53899. pTDefRegMap(@Self)^.clr := $00000002;
  53900. end;
  53901. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  53902. begin
  53903. if thebits = 0 then
  53904. pTDefRegMap(@Self)^.clr := $00000002
  53905. else
  53906. pTDefRegMap(@Self)^.&set := $00000002;
  53907. end;
  53908. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  53909. begin
  53910. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53911. end;
  53912. procedure TPORTB_LATB.setLATB2; inline;
  53913. begin
  53914. pTDefRegMap(@Self)^.&set := $00000004;
  53915. end;
  53916. procedure TPORTB_LATB.clearLATB2; inline;
  53917. begin
  53918. pTDefRegMap(@Self)^.clr := $00000004;
  53919. end;
  53920. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  53921. begin
  53922. if thebits = 0 then
  53923. pTDefRegMap(@Self)^.clr := $00000004
  53924. else
  53925. pTDefRegMap(@Self)^.&set := $00000004;
  53926. end;
  53927. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  53928. begin
  53929. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53930. end;
  53931. procedure TPORTB_LATB.setLATB3; inline;
  53932. begin
  53933. pTDefRegMap(@Self)^.&set := $00000008;
  53934. end;
  53935. procedure TPORTB_LATB.clearLATB3; inline;
  53936. begin
  53937. pTDefRegMap(@Self)^.clr := $00000008;
  53938. end;
  53939. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  53940. begin
  53941. if thebits = 0 then
  53942. pTDefRegMap(@Self)^.clr := $00000008
  53943. else
  53944. pTDefRegMap(@Self)^.&set := $00000008;
  53945. end;
  53946. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  53947. begin
  53948. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53949. end;
  53950. procedure TPORTB_LATB.setLATB4; inline;
  53951. begin
  53952. pTDefRegMap(@Self)^.&set := $00000010;
  53953. end;
  53954. procedure TPORTB_LATB.clearLATB4; inline;
  53955. begin
  53956. pTDefRegMap(@Self)^.clr := $00000010;
  53957. end;
  53958. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  53959. begin
  53960. if thebits = 0 then
  53961. pTDefRegMap(@Self)^.clr := $00000010
  53962. else
  53963. pTDefRegMap(@Self)^.&set := $00000010;
  53964. end;
  53965. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  53966. begin
  53967. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53968. end;
  53969. procedure TPORTB_LATB.setLATB5; inline;
  53970. begin
  53971. pTDefRegMap(@Self)^.&set := $00000020;
  53972. end;
  53973. procedure TPORTB_LATB.clearLATB5; inline;
  53974. begin
  53975. pTDefRegMap(@Self)^.clr := $00000020;
  53976. end;
  53977. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  53978. begin
  53979. if thebits = 0 then
  53980. pTDefRegMap(@Self)^.clr := $00000020
  53981. else
  53982. pTDefRegMap(@Self)^.&set := $00000020;
  53983. end;
  53984. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  53985. begin
  53986. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53987. end;
  53988. procedure TPORTB_LATB.setLATB6; inline;
  53989. begin
  53990. pTDefRegMap(@Self)^.&set := $00000040;
  53991. end;
  53992. procedure TPORTB_LATB.clearLATB6; inline;
  53993. begin
  53994. pTDefRegMap(@Self)^.clr := $00000040;
  53995. end;
  53996. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  53997. begin
  53998. if thebits = 0 then
  53999. pTDefRegMap(@Self)^.clr := $00000040
  54000. else
  54001. pTDefRegMap(@Self)^.&set := $00000040;
  54002. end;
  54003. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  54004. begin
  54005. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54006. end;
  54007. procedure TPORTB_LATB.setLATB7; inline;
  54008. begin
  54009. pTDefRegMap(@Self)^.&set := $00000080;
  54010. end;
  54011. procedure TPORTB_LATB.clearLATB7; inline;
  54012. begin
  54013. pTDefRegMap(@Self)^.clr := $00000080;
  54014. end;
  54015. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  54016. begin
  54017. if thebits = 0 then
  54018. pTDefRegMap(@Self)^.clr := $00000080
  54019. else
  54020. pTDefRegMap(@Self)^.&set := $00000080;
  54021. end;
  54022. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  54023. begin
  54024. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54025. end;
  54026. procedure TPORTB_LATB.setLATB8; inline;
  54027. begin
  54028. pTDefRegMap(@Self)^.&set := $00000100;
  54029. end;
  54030. procedure TPORTB_LATB.clearLATB8; inline;
  54031. begin
  54032. pTDefRegMap(@Self)^.clr := $00000100;
  54033. end;
  54034. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  54035. begin
  54036. if thebits = 0 then
  54037. pTDefRegMap(@Self)^.clr := $00000100
  54038. else
  54039. pTDefRegMap(@Self)^.&set := $00000100;
  54040. end;
  54041. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  54042. begin
  54043. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54044. end;
  54045. procedure TPORTB_LATB.setLATB9; inline;
  54046. begin
  54047. pTDefRegMap(@Self)^.&set := $00000200;
  54048. end;
  54049. procedure TPORTB_LATB.clearLATB9; inline;
  54050. begin
  54051. pTDefRegMap(@Self)^.clr := $00000200;
  54052. end;
  54053. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  54054. begin
  54055. if thebits = 0 then
  54056. pTDefRegMap(@Self)^.clr := $00000200
  54057. else
  54058. pTDefRegMap(@Self)^.&set := $00000200;
  54059. end;
  54060. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  54061. begin
  54062. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54063. end;
  54064. procedure TPORTB_LATB.setLATB10; inline;
  54065. begin
  54066. pTDefRegMap(@Self)^.&set := $00000400;
  54067. end;
  54068. procedure TPORTB_LATB.clearLATB10; inline;
  54069. begin
  54070. pTDefRegMap(@Self)^.clr := $00000400;
  54071. end;
  54072. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  54073. begin
  54074. if thebits = 0 then
  54075. pTDefRegMap(@Self)^.clr := $00000400
  54076. else
  54077. pTDefRegMap(@Self)^.&set := $00000400;
  54078. end;
  54079. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  54080. begin
  54081. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54082. end;
  54083. procedure TPORTB_LATB.setLATB11; inline;
  54084. begin
  54085. pTDefRegMap(@Self)^.&set := $00000800;
  54086. end;
  54087. procedure TPORTB_LATB.clearLATB11; inline;
  54088. begin
  54089. pTDefRegMap(@Self)^.clr := $00000800;
  54090. end;
  54091. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  54092. begin
  54093. if thebits = 0 then
  54094. pTDefRegMap(@Self)^.clr := $00000800
  54095. else
  54096. pTDefRegMap(@Self)^.&set := $00000800;
  54097. end;
  54098. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  54099. begin
  54100. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54101. end;
  54102. procedure TPORTB_LATB.setLATB12; inline;
  54103. begin
  54104. pTDefRegMap(@Self)^.&set := $00001000;
  54105. end;
  54106. procedure TPORTB_LATB.clearLATB12; inline;
  54107. begin
  54108. pTDefRegMap(@Self)^.clr := $00001000;
  54109. end;
  54110. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  54111. begin
  54112. if thebits = 0 then
  54113. pTDefRegMap(@Self)^.clr := $00001000
  54114. else
  54115. pTDefRegMap(@Self)^.&set := $00001000;
  54116. end;
  54117. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  54118. begin
  54119. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54120. end;
  54121. procedure TPORTB_LATB.setLATB13; inline;
  54122. begin
  54123. pTDefRegMap(@Self)^.&set := $00002000;
  54124. end;
  54125. procedure TPORTB_LATB.clearLATB13; inline;
  54126. begin
  54127. pTDefRegMap(@Self)^.clr := $00002000;
  54128. end;
  54129. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  54130. begin
  54131. if thebits = 0 then
  54132. pTDefRegMap(@Self)^.clr := $00002000
  54133. else
  54134. pTDefRegMap(@Self)^.&set := $00002000;
  54135. end;
  54136. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  54137. begin
  54138. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54139. end;
  54140. procedure TPORTB_LATB.setLATB14; inline;
  54141. begin
  54142. pTDefRegMap(@Self)^.&set := $00004000;
  54143. end;
  54144. procedure TPORTB_LATB.clearLATB14; inline;
  54145. begin
  54146. pTDefRegMap(@Self)^.clr := $00004000;
  54147. end;
  54148. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  54149. begin
  54150. if thebits = 0 then
  54151. pTDefRegMap(@Self)^.clr := $00004000
  54152. else
  54153. pTDefRegMap(@Self)^.&set := $00004000;
  54154. end;
  54155. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  54156. begin
  54157. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54158. end;
  54159. procedure TPORTB_LATB.setLATB15; inline;
  54160. begin
  54161. pTDefRegMap(@Self)^.&set := $00008000;
  54162. end;
  54163. procedure TPORTB_LATB.clearLATB15; inline;
  54164. begin
  54165. pTDefRegMap(@Self)^.clr := $00008000;
  54166. end;
  54167. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  54168. begin
  54169. if thebits = 0 then
  54170. pTDefRegMap(@Self)^.clr := $00008000
  54171. else
  54172. pTDefRegMap(@Self)^.&set := $00008000;
  54173. end;
  54174. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  54175. begin
  54176. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54177. end;
  54178. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  54179. begin
  54180. pTDefRegMap(@Self)^.val := thebits;
  54181. end;
  54182. function TPORTB_LATB.getw : TBits_32; inline;
  54183. begin
  54184. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54185. end;
  54186. procedure TPORTB_ODCB.setODCB0; inline;
  54187. begin
  54188. pTDefRegMap(@Self)^.&set := $00000001;
  54189. end;
  54190. procedure TPORTB_ODCB.clearODCB0; inline;
  54191. begin
  54192. pTDefRegMap(@Self)^.clr := $00000001;
  54193. end;
  54194. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  54195. begin
  54196. if thebits = 0 then
  54197. pTDefRegMap(@Self)^.clr := $00000001
  54198. else
  54199. pTDefRegMap(@Self)^.&set := $00000001;
  54200. end;
  54201. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  54202. begin
  54203. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54204. end;
  54205. procedure TPORTB_ODCB.setODCB1; inline;
  54206. begin
  54207. pTDefRegMap(@Self)^.&set := $00000002;
  54208. end;
  54209. procedure TPORTB_ODCB.clearODCB1; inline;
  54210. begin
  54211. pTDefRegMap(@Self)^.clr := $00000002;
  54212. end;
  54213. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  54214. begin
  54215. if thebits = 0 then
  54216. pTDefRegMap(@Self)^.clr := $00000002
  54217. else
  54218. pTDefRegMap(@Self)^.&set := $00000002;
  54219. end;
  54220. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  54221. begin
  54222. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54223. end;
  54224. procedure TPORTB_ODCB.setODCB2; inline;
  54225. begin
  54226. pTDefRegMap(@Self)^.&set := $00000004;
  54227. end;
  54228. procedure TPORTB_ODCB.clearODCB2; inline;
  54229. begin
  54230. pTDefRegMap(@Self)^.clr := $00000004;
  54231. end;
  54232. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  54233. begin
  54234. if thebits = 0 then
  54235. pTDefRegMap(@Self)^.clr := $00000004
  54236. else
  54237. pTDefRegMap(@Self)^.&set := $00000004;
  54238. end;
  54239. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  54240. begin
  54241. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54242. end;
  54243. procedure TPORTB_ODCB.setODCB3; inline;
  54244. begin
  54245. pTDefRegMap(@Self)^.&set := $00000008;
  54246. end;
  54247. procedure TPORTB_ODCB.clearODCB3; inline;
  54248. begin
  54249. pTDefRegMap(@Self)^.clr := $00000008;
  54250. end;
  54251. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  54252. begin
  54253. if thebits = 0 then
  54254. pTDefRegMap(@Self)^.clr := $00000008
  54255. else
  54256. pTDefRegMap(@Self)^.&set := $00000008;
  54257. end;
  54258. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  54259. begin
  54260. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54261. end;
  54262. procedure TPORTB_ODCB.setODCB4; inline;
  54263. begin
  54264. pTDefRegMap(@Self)^.&set := $00000010;
  54265. end;
  54266. procedure TPORTB_ODCB.clearODCB4; inline;
  54267. begin
  54268. pTDefRegMap(@Self)^.clr := $00000010;
  54269. end;
  54270. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  54271. begin
  54272. if thebits = 0 then
  54273. pTDefRegMap(@Self)^.clr := $00000010
  54274. else
  54275. pTDefRegMap(@Self)^.&set := $00000010;
  54276. end;
  54277. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  54278. begin
  54279. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54280. end;
  54281. procedure TPORTB_ODCB.setODCB5; inline;
  54282. begin
  54283. pTDefRegMap(@Self)^.&set := $00000020;
  54284. end;
  54285. procedure TPORTB_ODCB.clearODCB5; inline;
  54286. begin
  54287. pTDefRegMap(@Self)^.clr := $00000020;
  54288. end;
  54289. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  54290. begin
  54291. if thebits = 0 then
  54292. pTDefRegMap(@Self)^.clr := $00000020
  54293. else
  54294. pTDefRegMap(@Self)^.&set := $00000020;
  54295. end;
  54296. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  54297. begin
  54298. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54299. end;
  54300. procedure TPORTB_ODCB.setODCB6; inline;
  54301. begin
  54302. pTDefRegMap(@Self)^.&set := $00000040;
  54303. end;
  54304. procedure TPORTB_ODCB.clearODCB6; inline;
  54305. begin
  54306. pTDefRegMap(@Self)^.clr := $00000040;
  54307. end;
  54308. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  54309. begin
  54310. if thebits = 0 then
  54311. pTDefRegMap(@Self)^.clr := $00000040
  54312. else
  54313. pTDefRegMap(@Self)^.&set := $00000040;
  54314. end;
  54315. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  54316. begin
  54317. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54318. end;
  54319. procedure TPORTB_ODCB.setODCB7; inline;
  54320. begin
  54321. pTDefRegMap(@Self)^.&set := $00000080;
  54322. end;
  54323. procedure TPORTB_ODCB.clearODCB7; inline;
  54324. begin
  54325. pTDefRegMap(@Self)^.clr := $00000080;
  54326. end;
  54327. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  54328. begin
  54329. if thebits = 0 then
  54330. pTDefRegMap(@Self)^.clr := $00000080
  54331. else
  54332. pTDefRegMap(@Self)^.&set := $00000080;
  54333. end;
  54334. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  54335. begin
  54336. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54337. end;
  54338. procedure TPORTB_ODCB.setODCB8; inline;
  54339. begin
  54340. pTDefRegMap(@Self)^.&set := $00000100;
  54341. end;
  54342. procedure TPORTB_ODCB.clearODCB8; inline;
  54343. begin
  54344. pTDefRegMap(@Self)^.clr := $00000100;
  54345. end;
  54346. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  54347. begin
  54348. if thebits = 0 then
  54349. pTDefRegMap(@Self)^.clr := $00000100
  54350. else
  54351. pTDefRegMap(@Self)^.&set := $00000100;
  54352. end;
  54353. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  54354. begin
  54355. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54356. end;
  54357. procedure TPORTB_ODCB.setODCB9; inline;
  54358. begin
  54359. pTDefRegMap(@Self)^.&set := $00000200;
  54360. end;
  54361. procedure TPORTB_ODCB.clearODCB9; inline;
  54362. begin
  54363. pTDefRegMap(@Self)^.clr := $00000200;
  54364. end;
  54365. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  54366. begin
  54367. if thebits = 0 then
  54368. pTDefRegMap(@Self)^.clr := $00000200
  54369. else
  54370. pTDefRegMap(@Self)^.&set := $00000200;
  54371. end;
  54372. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  54373. begin
  54374. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54375. end;
  54376. procedure TPORTB_ODCB.setODCB10; inline;
  54377. begin
  54378. pTDefRegMap(@Self)^.&set := $00000400;
  54379. end;
  54380. procedure TPORTB_ODCB.clearODCB10; inline;
  54381. begin
  54382. pTDefRegMap(@Self)^.clr := $00000400;
  54383. end;
  54384. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  54385. begin
  54386. if thebits = 0 then
  54387. pTDefRegMap(@Self)^.clr := $00000400
  54388. else
  54389. pTDefRegMap(@Self)^.&set := $00000400;
  54390. end;
  54391. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  54392. begin
  54393. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54394. end;
  54395. procedure TPORTB_ODCB.setODCB11; inline;
  54396. begin
  54397. pTDefRegMap(@Self)^.&set := $00000800;
  54398. end;
  54399. procedure TPORTB_ODCB.clearODCB11; inline;
  54400. begin
  54401. pTDefRegMap(@Self)^.clr := $00000800;
  54402. end;
  54403. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  54404. begin
  54405. if thebits = 0 then
  54406. pTDefRegMap(@Self)^.clr := $00000800
  54407. else
  54408. pTDefRegMap(@Self)^.&set := $00000800;
  54409. end;
  54410. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  54411. begin
  54412. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54413. end;
  54414. procedure TPORTB_ODCB.setODCB12; inline;
  54415. begin
  54416. pTDefRegMap(@Self)^.&set := $00001000;
  54417. end;
  54418. procedure TPORTB_ODCB.clearODCB12; inline;
  54419. begin
  54420. pTDefRegMap(@Self)^.clr := $00001000;
  54421. end;
  54422. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  54423. begin
  54424. if thebits = 0 then
  54425. pTDefRegMap(@Self)^.clr := $00001000
  54426. else
  54427. pTDefRegMap(@Self)^.&set := $00001000;
  54428. end;
  54429. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  54430. begin
  54431. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54432. end;
  54433. procedure TPORTB_ODCB.setODCB13; inline;
  54434. begin
  54435. pTDefRegMap(@Self)^.&set := $00002000;
  54436. end;
  54437. procedure TPORTB_ODCB.clearODCB13; inline;
  54438. begin
  54439. pTDefRegMap(@Self)^.clr := $00002000;
  54440. end;
  54441. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  54442. begin
  54443. if thebits = 0 then
  54444. pTDefRegMap(@Self)^.clr := $00002000
  54445. else
  54446. pTDefRegMap(@Self)^.&set := $00002000;
  54447. end;
  54448. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  54449. begin
  54450. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54451. end;
  54452. procedure TPORTB_ODCB.setODCB14; inline;
  54453. begin
  54454. pTDefRegMap(@Self)^.&set := $00004000;
  54455. end;
  54456. procedure TPORTB_ODCB.clearODCB14; inline;
  54457. begin
  54458. pTDefRegMap(@Self)^.clr := $00004000;
  54459. end;
  54460. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  54461. begin
  54462. if thebits = 0 then
  54463. pTDefRegMap(@Self)^.clr := $00004000
  54464. else
  54465. pTDefRegMap(@Self)^.&set := $00004000;
  54466. end;
  54467. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  54468. begin
  54469. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54470. end;
  54471. procedure TPORTB_ODCB.setODCB15; inline;
  54472. begin
  54473. pTDefRegMap(@Self)^.&set := $00008000;
  54474. end;
  54475. procedure TPORTB_ODCB.clearODCB15; inline;
  54476. begin
  54477. pTDefRegMap(@Self)^.clr := $00008000;
  54478. end;
  54479. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  54480. begin
  54481. if thebits = 0 then
  54482. pTDefRegMap(@Self)^.clr := $00008000
  54483. else
  54484. pTDefRegMap(@Self)^.&set := $00008000;
  54485. end;
  54486. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  54487. begin
  54488. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54489. end;
  54490. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  54491. begin
  54492. pTDefRegMap(@Self)^.val := thebits;
  54493. end;
  54494. function TPORTB_ODCB.getw : TBits_32; inline;
  54495. begin
  54496. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54497. end;
  54498. procedure TPORTC_TRISC.setTRISC1; inline;
  54499. begin
  54500. pTDefRegMap(@Self)^.&set := $00000002;
  54501. end;
  54502. procedure TPORTC_TRISC.clearTRISC1; inline;
  54503. begin
  54504. pTDefRegMap(@Self)^.clr := $00000002;
  54505. end;
  54506. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  54507. begin
  54508. if thebits = 0 then
  54509. pTDefRegMap(@Self)^.clr := $00000002
  54510. else
  54511. pTDefRegMap(@Self)^.&set := $00000002;
  54512. end;
  54513. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  54514. begin
  54515. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54516. end;
  54517. procedure TPORTC_TRISC.setTRISC2; inline;
  54518. begin
  54519. pTDefRegMap(@Self)^.&set := $00000004;
  54520. end;
  54521. procedure TPORTC_TRISC.clearTRISC2; inline;
  54522. begin
  54523. pTDefRegMap(@Self)^.clr := $00000004;
  54524. end;
  54525. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  54526. begin
  54527. if thebits = 0 then
  54528. pTDefRegMap(@Self)^.clr := $00000004
  54529. else
  54530. pTDefRegMap(@Self)^.&set := $00000004;
  54531. end;
  54532. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  54533. begin
  54534. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54535. end;
  54536. procedure TPORTC_TRISC.setTRISC3; inline;
  54537. begin
  54538. pTDefRegMap(@Self)^.&set := $00000008;
  54539. end;
  54540. procedure TPORTC_TRISC.clearTRISC3; inline;
  54541. begin
  54542. pTDefRegMap(@Self)^.clr := $00000008;
  54543. end;
  54544. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  54545. begin
  54546. if thebits = 0 then
  54547. pTDefRegMap(@Self)^.clr := $00000008
  54548. else
  54549. pTDefRegMap(@Self)^.&set := $00000008;
  54550. end;
  54551. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  54552. begin
  54553. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54554. end;
  54555. procedure TPORTC_TRISC.setTRISC4; inline;
  54556. begin
  54557. pTDefRegMap(@Self)^.&set := $00000010;
  54558. end;
  54559. procedure TPORTC_TRISC.clearTRISC4; inline;
  54560. begin
  54561. pTDefRegMap(@Self)^.clr := $00000010;
  54562. end;
  54563. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  54564. begin
  54565. if thebits = 0 then
  54566. pTDefRegMap(@Self)^.clr := $00000010
  54567. else
  54568. pTDefRegMap(@Self)^.&set := $00000010;
  54569. end;
  54570. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  54571. begin
  54572. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54573. end;
  54574. procedure TPORTC_TRISC.setTRISC12; inline;
  54575. begin
  54576. pTDefRegMap(@Self)^.&set := $00001000;
  54577. end;
  54578. procedure TPORTC_TRISC.clearTRISC12; inline;
  54579. begin
  54580. pTDefRegMap(@Self)^.clr := $00001000;
  54581. end;
  54582. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  54583. begin
  54584. if thebits = 0 then
  54585. pTDefRegMap(@Self)^.clr := $00001000
  54586. else
  54587. pTDefRegMap(@Self)^.&set := $00001000;
  54588. end;
  54589. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  54590. begin
  54591. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54592. end;
  54593. procedure TPORTC_TRISC.setTRISC13; inline;
  54594. begin
  54595. pTDefRegMap(@Self)^.&set := $00002000;
  54596. end;
  54597. procedure TPORTC_TRISC.clearTRISC13; inline;
  54598. begin
  54599. pTDefRegMap(@Self)^.clr := $00002000;
  54600. end;
  54601. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  54602. begin
  54603. if thebits = 0 then
  54604. pTDefRegMap(@Self)^.clr := $00002000
  54605. else
  54606. pTDefRegMap(@Self)^.&set := $00002000;
  54607. end;
  54608. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  54609. begin
  54610. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54611. end;
  54612. procedure TPORTC_TRISC.setTRISC14; inline;
  54613. begin
  54614. pTDefRegMap(@Self)^.&set := $00004000;
  54615. end;
  54616. procedure TPORTC_TRISC.clearTRISC14; inline;
  54617. begin
  54618. pTDefRegMap(@Self)^.clr := $00004000;
  54619. end;
  54620. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  54621. begin
  54622. if thebits = 0 then
  54623. pTDefRegMap(@Self)^.clr := $00004000
  54624. else
  54625. pTDefRegMap(@Self)^.&set := $00004000;
  54626. end;
  54627. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  54628. begin
  54629. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54630. end;
  54631. procedure TPORTC_TRISC.setTRISC15; inline;
  54632. begin
  54633. pTDefRegMap(@Self)^.&set := $00008000;
  54634. end;
  54635. procedure TPORTC_TRISC.clearTRISC15; inline;
  54636. begin
  54637. pTDefRegMap(@Self)^.clr := $00008000;
  54638. end;
  54639. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  54640. begin
  54641. if thebits = 0 then
  54642. pTDefRegMap(@Self)^.clr := $00008000
  54643. else
  54644. pTDefRegMap(@Self)^.&set := $00008000;
  54645. end;
  54646. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  54647. begin
  54648. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54649. end;
  54650. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  54651. begin
  54652. pTDefRegMap(@Self)^.val := thebits;
  54653. end;
  54654. function TPORTC_TRISC.getw : TBits_32; inline;
  54655. begin
  54656. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54657. end;
  54658. procedure TPORTC_PORTC.setRC1; inline;
  54659. begin
  54660. pTDefRegMap(@Self)^.&set := $00000002;
  54661. end;
  54662. procedure TPORTC_PORTC.clearRC1; inline;
  54663. begin
  54664. pTDefRegMap(@Self)^.clr := $00000002;
  54665. end;
  54666. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  54667. begin
  54668. if thebits = 0 then
  54669. pTDefRegMap(@Self)^.clr := $00000002
  54670. else
  54671. pTDefRegMap(@Self)^.&set := $00000002;
  54672. end;
  54673. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  54674. begin
  54675. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54676. end;
  54677. procedure TPORTC_PORTC.setRC2; inline;
  54678. begin
  54679. pTDefRegMap(@Self)^.&set := $00000004;
  54680. end;
  54681. procedure TPORTC_PORTC.clearRC2; inline;
  54682. begin
  54683. pTDefRegMap(@Self)^.clr := $00000004;
  54684. end;
  54685. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  54686. begin
  54687. if thebits = 0 then
  54688. pTDefRegMap(@Self)^.clr := $00000004
  54689. else
  54690. pTDefRegMap(@Self)^.&set := $00000004;
  54691. end;
  54692. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  54693. begin
  54694. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54695. end;
  54696. procedure TPORTC_PORTC.setRC3; inline;
  54697. begin
  54698. pTDefRegMap(@Self)^.&set := $00000008;
  54699. end;
  54700. procedure TPORTC_PORTC.clearRC3; inline;
  54701. begin
  54702. pTDefRegMap(@Self)^.clr := $00000008;
  54703. end;
  54704. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  54705. begin
  54706. if thebits = 0 then
  54707. pTDefRegMap(@Self)^.clr := $00000008
  54708. else
  54709. pTDefRegMap(@Self)^.&set := $00000008;
  54710. end;
  54711. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  54712. begin
  54713. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54714. end;
  54715. procedure TPORTC_PORTC.setRC4; inline;
  54716. begin
  54717. pTDefRegMap(@Self)^.&set := $00000010;
  54718. end;
  54719. procedure TPORTC_PORTC.clearRC4; inline;
  54720. begin
  54721. pTDefRegMap(@Self)^.clr := $00000010;
  54722. end;
  54723. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  54724. begin
  54725. if thebits = 0 then
  54726. pTDefRegMap(@Self)^.clr := $00000010
  54727. else
  54728. pTDefRegMap(@Self)^.&set := $00000010;
  54729. end;
  54730. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  54731. begin
  54732. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54733. end;
  54734. procedure TPORTC_PORTC.setRC12; inline;
  54735. begin
  54736. pTDefRegMap(@Self)^.&set := $00001000;
  54737. end;
  54738. procedure TPORTC_PORTC.clearRC12; inline;
  54739. begin
  54740. pTDefRegMap(@Self)^.clr := $00001000;
  54741. end;
  54742. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  54743. begin
  54744. if thebits = 0 then
  54745. pTDefRegMap(@Self)^.clr := $00001000
  54746. else
  54747. pTDefRegMap(@Self)^.&set := $00001000;
  54748. end;
  54749. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  54750. begin
  54751. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54752. end;
  54753. procedure TPORTC_PORTC.setRC13; inline;
  54754. begin
  54755. pTDefRegMap(@Self)^.&set := $00002000;
  54756. end;
  54757. procedure TPORTC_PORTC.clearRC13; inline;
  54758. begin
  54759. pTDefRegMap(@Self)^.clr := $00002000;
  54760. end;
  54761. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  54762. begin
  54763. if thebits = 0 then
  54764. pTDefRegMap(@Self)^.clr := $00002000
  54765. else
  54766. pTDefRegMap(@Self)^.&set := $00002000;
  54767. end;
  54768. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  54769. begin
  54770. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54771. end;
  54772. procedure TPORTC_PORTC.setRC14; inline;
  54773. begin
  54774. pTDefRegMap(@Self)^.&set := $00004000;
  54775. end;
  54776. procedure TPORTC_PORTC.clearRC14; inline;
  54777. begin
  54778. pTDefRegMap(@Self)^.clr := $00004000;
  54779. end;
  54780. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  54781. begin
  54782. if thebits = 0 then
  54783. pTDefRegMap(@Self)^.clr := $00004000
  54784. else
  54785. pTDefRegMap(@Self)^.&set := $00004000;
  54786. end;
  54787. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  54788. begin
  54789. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54790. end;
  54791. procedure TPORTC_PORTC.setRC15; inline;
  54792. begin
  54793. pTDefRegMap(@Self)^.&set := $00008000;
  54794. end;
  54795. procedure TPORTC_PORTC.clearRC15; inline;
  54796. begin
  54797. pTDefRegMap(@Self)^.clr := $00008000;
  54798. end;
  54799. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  54800. begin
  54801. if thebits = 0 then
  54802. pTDefRegMap(@Self)^.clr := $00008000
  54803. else
  54804. pTDefRegMap(@Self)^.&set := $00008000;
  54805. end;
  54806. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  54807. begin
  54808. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54809. end;
  54810. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  54811. begin
  54812. pTDefRegMap(@Self)^.val := thebits;
  54813. end;
  54814. function TPORTC_PORTC.getw : TBits_32; inline;
  54815. begin
  54816. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54817. end;
  54818. procedure TPORTC_LATC.setLATC1; inline;
  54819. begin
  54820. pTDefRegMap(@Self)^.&set := $00000002;
  54821. end;
  54822. procedure TPORTC_LATC.clearLATC1; inline;
  54823. begin
  54824. pTDefRegMap(@Self)^.clr := $00000002;
  54825. end;
  54826. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  54827. begin
  54828. if thebits = 0 then
  54829. pTDefRegMap(@Self)^.clr := $00000002
  54830. else
  54831. pTDefRegMap(@Self)^.&set := $00000002;
  54832. end;
  54833. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  54834. begin
  54835. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54836. end;
  54837. procedure TPORTC_LATC.setLATC2; inline;
  54838. begin
  54839. pTDefRegMap(@Self)^.&set := $00000004;
  54840. end;
  54841. procedure TPORTC_LATC.clearLATC2; inline;
  54842. begin
  54843. pTDefRegMap(@Self)^.clr := $00000004;
  54844. end;
  54845. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  54846. begin
  54847. if thebits = 0 then
  54848. pTDefRegMap(@Self)^.clr := $00000004
  54849. else
  54850. pTDefRegMap(@Self)^.&set := $00000004;
  54851. end;
  54852. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  54853. begin
  54854. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54855. end;
  54856. procedure TPORTC_LATC.setLATC3; inline;
  54857. begin
  54858. pTDefRegMap(@Self)^.&set := $00000008;
  54859. end;
  54860. procedure TPORTC_LATC.clearLATC3; inline;
  54861. begin
  54862. pTDefRegMap(@Self)^.clr := $00000008;
  54863. end;
  54864. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  54865. begin
  54866. if thebits = 0 then
  54867. pTDefRegMap(@Self)^.clr := $00000008
  54868. else
  54869. pTDefRegMap(@Self)^.&set := $00000008;
  54870. end;
  54871. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  54872. begin
  54873. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54874. end;
  54875. procedure TPORTC_LATC.setLATC4; inline;
  54876. begin
  54877. pTDefRegMap(@Self)^.&set := $00000010;
  54878. end;
  54879. procedure TPORTC_LATC.clearLATC4; inline;
  54880. begin
  54881. pTDefRegMap(@Self)^.clr := $00000010;
  54882. end;
  54883. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  54884. begin
  54885. if thebits = 0 then
  54886. pTDefRegMap(@Self)^.clr := $00000010
  54887. else
  54888. pTDefRegMap(@Self)^.&set := $00000010;
  54889. end;
  54890. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  54891. begin
  54892. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54893. end;
  54894. procedure TPORTC_LATC.setLATC12; inline;
  54895. begin
  54896. pTDefRegMap(@Self)^.&set := $00001000;
  54897. end;
  54898. procedure TPORTC_LATC.clearLATC12; inline;
  54899. begin
  54900. pTDefRegMap(@Self)^.clr := $00001000;
  54901. end;
  54902. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  54903. begin
  54904. if thebits = 0 then
  54905. pTDefRegMap(@Self)^.clr := $00001000
  54906. else
  54907. pTDefRegMap(@Self)^.&set := $00001000;
  54908. end;
  54909. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  54910. begin
  54911. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54912. end;
  54913. procedure TPORTC_LATC.setLATC13; inline;
  54914. begin
  54915. pTDefRegMap(@Self)^.&set := $00002000;
  54916. end;
  54917. procedure TPORTC_LATC.clearLATC13; inline;
  54918. begin
  54919. pTDefRegMap(@Self)^.clr := $00002000;
  54920. end;
  54921. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  54922. begin
  54923. if thebits = 0 then
  54924. pTDefRegMap(@Self)^.clr := $00002000
  54925. else
  54926. pTDefRegMap(@Self)^.&set := $00002000;
  54927. end;
  54928. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  54929. begin
  54930. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54931. end;
  54932. procedure TPORTC_LATC.setLATC14; inline;
  54933. begin
  54934. pTDefRegMap(@Self)^.&set := $00004000;
  54935. end;
  54936. procedure TPORTC_LATC.clearLATC14; inline;
  54937. begin
  54938. pTDefRegMap(@Self)^.clr := $00004000;
  54939. end;
  54940. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  54941. begin
  54942. if thebits = 0 then
  54943. pTDefRegMap(@Self)^.clr := $00004000
  54944. else
  54945. pTDefRegMap(@Self)^.&set := $00004000;
  54946. end;
  54947. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  54948. begin
  54949. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54950. end;
  54951. procedure TPORTC_LATC.setLATC15; inline;
  54952. begin
  54953. pTDefRegMap(@Self)^.&set := $00008000;
  54954. end;
  54955. procedure TPORTC_LATC.clearLATC15; inline;
  54956. begin
  54957. pTDefRegMap(@Self)^.clr := $00008000;
  54958. end;
  54959. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  54960. begin
  54961. if thebits = 0 then
  54962. pTDefRegMap(@Self)^.clr := $00008000
  54963. else
  54964. pTDefRegMap(@Self)^.&set := $00008000;
  54965. end;
  54966. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  54967. begin
  54968. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54969. end;
  54970. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  54971. begin
  54972. pTDefRegMap(@Self)^.val := thebits;
  54973. end;
  54974. function TPORTC_LATC.getw : TBits_32; inline;
  54975. begin
  54976. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54977. end;
  54978. procedure TPORTC_ODCC.setODCC1; inline;
  54979. begin
  54980. pTDefRegMap(@Self)^.&set := $00000002;
  54981. end;
  54982. procedure TPORTC_ODCC.clearODCC1; inline;
  54983. begin
  54984. pTDefRegMap(@Self)^.clr := $00000002;
  54985. end;
  54986. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  54987. begin
  54988. if thebits = 0 then
  54989. pTDefRegMap(@Self)^.clr := $00000002
  54990. else
  54991. pTDefRegMap(@Self)^.&set := $00000002;
  54992. end;
  54993. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  54994. begin
  54995. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54996. end;
  54997. procedure TPORTC_ODCC.setODCC2; inline;
  54998. begin
  54999. pTDefRegMap(@Self)^.&set := $00000004;
  55000. end;
  55001. procedure TPORTC_ODCC.clearODCC2; inline;
  55002. begin
  55003. pTDefRegMap(@Self)^.clr := $00000004;
  55004. end;
  55005. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  55006. begin
  55007. if thebits = 0 then
  55008. pTDefRegMap(@Self)^.clr := $00000004
  55009. else
  55010. pTDefRegMap(@Self)^.&set := $00000004;
  55011. end;
  55012. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  55013. begin
  55014. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55015. end;
  55016. procedure TPORTC_ODCC.setODCC3; inline;
  55017. begin
  55018. pTDefRegMap(@Self)^.&set := $00000008;
  55019. end;
  55020. procedure TPORTC_ODCC.clearODCC3; inline;
  55021. begin
  55022. pTDefRegMap(@Self)^.clr := $00000008;
  55023. end;
  55024. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  55025. begin
  55026. if thebits = 0 then
  55027. pTDefRegMap(@Self)^.clr := $00000008
  55028. else
  55029. pTDefRegMap(@Self)^.&set := $00000008;
  55030. end;
  55031. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  55032. begin
  55033. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55034. end;
  55035. procedure TPORTC_ODCC.setODCC4; inline;
  55036. begin
  55037. pTDefRegMap(@Self)^.&set := $00000010;
  55038. end;
  55039. procedure TPORTC_ODCC.clearODCC4; inline;
  55040. begin
  55041. pTDefRegMap(@Self)^.clr := $00000010;
  55042. end;
  55043. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  55044. begin
  55045. if thebits = 0 then
  55046. pTDefRegMap(@Self)^.clr := $00000010
  55047. else
  55048. pTDefRegMap(@Self)^.&set := $00000010;
  55049. end;
  55050. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  55051. begin
  55052. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55053. end;
  55054. procedure TPORTC_ODCC.setODCC12; inline;
  55055. begin
  55056. pTDefRegMap(@Self)^.&set := $00001000;
  55057. end;
  55058. procedure TPORTC_ODCC.clearODCC12; inline;
  55059. begin
  55060. pTDefRegMap(@Self)^.clr := $00001000;
  55061. end;
  55062. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  55063. begin
  55064. if thebits = 0 then
  55065. pTDefRegMap(@Self)^.clr := $00001000
  55066. else
  55067. pTDefRegMap(@Self)^.&set := $00001000;
  55068. end;
  55069. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  55070. begin
  55071. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55072. end;
  55073. procedure TPORTC_ODCC.setODCC13; inline;
  55074. begin
  55075. pTDefRegMap(@Self)^.&set := $00002000;
  55076. end;
  55077. procedure TPORTC_ODCC.clearODCC13; inline;
  55078. begin
  55079. pTDefRegMap(@Self)^.clr := $00002000;
  55080. end;
  55081. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  55082. begin
  55083. if thebits = 0 then
  55084. pTDefRegMap(@Self)^.clr := $00002000
  55085. else
  55086. pTDefRegMap(@Self)^.&set := $00002000;
  55087. end;
  55088. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  55089. begin
  55090. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55091. end;
  55092. procedure TPORTC_ODCC.setODCC14; inline;
  55093. begin
  55094. pTDefRegMap(@Self)^.&set := $00004000;
  55095. end;
  55096. procedure TPORTC_ODCC.clearODCC14; inline;
  55097. begin
  55098. pTDefRegMap(@Self)^.clr := $00004000;
  55099. end;
  55100. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  55101. begin
  55102. if thebits = 0 then
  55103. pTDefRegMap(@Self)^.clr := $00004000
  55104. else
  55105. pTDefRegMap(@Self)^.&set := $00004000;
  55106. end;
  55107. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  55108. begin
  55109. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55110. end;
  55111. procedure TPORTC_ODCC.setODCC15; inline;
  55112. begin
  55113. pTDefRegMap(@Self)^.&set := $00008000;
  55114. end;
  55115. procedure TPORTC_ODCC.clearODCC15; inline;
  55116. begin
  55117. pTDefRegMap(@Self)^.clr := $00008000;
  55118. end;
  55119. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  55120. begin
  55121. if thebits = 0 then
  55122. pTDefRegMap(@Self)^.clr := $00008000
  55123. else
  55124. pTDefRegMap(@Self)^.&set := $00008000;
  55125. end;
  55126. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  55127. begin
  55128. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55129. end;
  55130. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  55131. begin
  55132. pTDefRegMap(@Self)^.val := thebits;
  55133. end;
  55134. function TPORTC_ODCC.getw : TBits_32; inline;
  55135. begin
  55136. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55137. end;
  55138. procedure TPORTD_TRISD.setTRISD0; inline;
  55139. begin
  55140. pTDefRegMap(@Self)^.&set := $00000001;
  55141. end;
  55142. procedure TPORTD_TRISD.clearTRISD0; inline;
  55143. begin
  55144. pTDefRegMap(@Self)^.clr := $00000001;
  55145. end;
  55146. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  55147. begin
  55148. if thebits = 0 then
  55149. pTDefRegMap(@Self)^.clr := $00000001
  55150. else
  55151. pTDefRegMap(@Self)^.&set := $00000001;
  55152. end;
  55153. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  55154. begin
  55155. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55156. end;
  55157. procedure TPORTD_TRISD.setTRISD1; inline;
  55158. begin
  55159. pTDefRegMap(@Self)^.&set := $00000002;
  55160. end;
  55161. procedure TPORTD_TRISD.clearTRISD1; inline;
  55162. begin
  55163. pTDefRegMap(@Self)^.clr := $00000002;
  55164. end;
  55165. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  55166. begin
  55167. if thebits = 0 then
  55168. pTDefRegMap(@Self)^.clr := $00000002
  55169. else
  55170. pTDefRegMap(@Self)^.&set := $00000002;
  55171. end;
  55172. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  55173. begin
  55174. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55175. end;
  55176. procedure TPORTD_TRISD.setTRISD2; inline;
  55177. begin
  55178. pTDefRegMap(@Self)^.&set := $00000004;
  55179. end;
  55180. procedure TPORTD_TRISD.clearTRISD2; inline;
  55181. begin
  55182. pTDefRegMap(@Self)^.clr := $00000004;
  55183. end;
  55184. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  55185. begin
  55186. if thebits = 0 then
  55187. pTDefRegMap(@Self)^.clr := $00000004
  55188. else
  55189. pTDefRegMap(@Self)^.&set := $00000004;
  55190. end;
  55191. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  55192. begin
  55193. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55194. end;
  55195. procedure TPORTD_TRISD.setTRISD3; inline;
  55196. begin
  55197. pTDefRegMap(@Self)^.&set := $00000008;
  55198. end;
  55199. procedure TPORTD_TRISD.clearTRISD3; inline;
  55200. begin
  55201. pTDefRegMap(@Self)^.clr := $00000008;
  55202. end;
  55203. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  55204. begin
  55205. if thebits = 0 then
  55206. pTDefRegMap(@Self)^.clr := $00000008
  55207. else
  55208. pTDefRegMap(@Self)^.&set := $00000008;
  55209. end;
  55210. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  55211. begin
  55212. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55213. end;
  55214. procedure TPORTD_TRISD.setTRISD4; inline;
  55215. begin
  55216. pTDefRegMap(@Self)^.&set := $00000010;
  55217. end;
  55218. procedure TPORTD_TRISD.clearTRISD4; inline;
  55219. begin
  55220. pTDefRegMap(@Self)^.clr := $00000010;
  55221. end;
  55222. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  55223. begin
  55224. if thebits = 0 then
  55225. pTDefRegMap(@Self)^.clr := $00000010
  55226. else
  55227. pTDefRegMap(@Self)^.&set := $00000010;
  55228. end;
  55229. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  55230. begin
  55231. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55232. end;
  55233. procedure TPORTD_TRISD.setTRISD5; inline;
  55234. begin
  55235. pTDefRegMap(@Self)^.&set := $00000020;
  55236. end;
  55237. procedure TPORTD_TRISD.clearTRISD5; inline;
  55238. begin
  55239. pTDefRegMap(@Self)^.clr := $00000020;
  55240. end;
  55241. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  55242. begin
  55243. if thebits = 0 then
  55244. pTDefRegMap(@Self)^.clr := $00000020
  55245. else
  55246. pTDefRegMap(@Self)^.&set := $00000020;
  55247. end;
  55248. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  55249. begin
  55250. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55251. end;
  55252. procedure TPORTD_TRISD.setTRISD6; inline;
  55253. begin
  55254. pTDefRegMap(@Self)^.&set := $00000040;
  55255. end;
  55256. procedure TPORTD_TRISD.clearTRISD6; inline;
  55257. begin
  55258. pTDefRegMap(@Self)^.clr := $00000040;
  55259. end;
  55260. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  55261. begin
  55262. if thebits = 0 then
  55263. pTDefRegMap(@Self)^.clr := $00000040
  55264. else
  55265. pTDefRegMap(@Self)^.&set := $00000040;
  55266. end;
  55267. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  55268. begin
  55269. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55270. end;
  55271. procedure TPORTD_TRISD.setTRISD7; inline;
  55272. begin
  55273. pTDefRegMap(@Self)^.&set := $00000080;
  55274. end;
  55275. procedure TPORTD_TRISD.clearTRISD7; inline;
  55276. begin
  55277. pTDefRegMap(@Self)^.clr := $00000080;
  55278. end;
  55279. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  55280. begin
  55281. if thebits = 0 then
  55282. pTDefRegMap(@Self)^.clr := $00000080
  55283. else
  55284. pTDefRegMap(@Self)^.&set := $00000080;
  55285. end;
  55286. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  55287. begin
  55288. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55289. end;
  55290. procedure TPORTD_TRISD.setTRISD8; inline;
  55291. begin
  55292. pTDefRegMap(@Self)^.&set := $00000100;
  55293. end;
  55294. procedure TPORTD_TRISD.clearTRISD8; inline;
  55295. begin
  55296. pTDefRegMap(@Self)^.clr := $00000100;
  55297. end;
  55298. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  55299. begin
  55300. if thebits = 0 then
  55301. pTDefRegMap(@Self)^.clr := $00000100
  55302. else
  55303. pTDefRegMap(@Self)^.&set := $00000100;
  55304. end;
  55305. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  55306. begin
  55307. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55308. end;
  55309. procedure TPORTD_TRISD.setTRISD9; inline;
  55310. begin
  55311. pTDefRegMap(@Self)^.&set := $00000200;
  55312. end;
  55313. procedure TPORTD_TRISD.clearTRISD9; inline;
  55314. begin
  55315. pTDefRegMap(@Self)^.clr := $00000200;
  55316. end;
  55317. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  55318. begin
  55319. if thebits = 0 then
  55320. pTDefRegMap(@Self)^.clr := $00000200
  55321. else
  55322. pTDefRegMap(@Self)^.&set := $00000200;
  55323. end;
  55324. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  55325. begin
  55326. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55327. end;
  55328. procedure TPORTD_TRISD.setTRISD10; inline;
  55329. begin
  55330. pTDefRegMap(@Self)^.&set := $00000400;
  55331. end;
  55332. procedure TPORTD_TRISD.clearTRISD10; inline;
  55333. begin
  55334. pTDefRegMap(@Self)^.clr := $00000400;
  55335. end;
  55336. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  55337. begin
  55338. if thebits = 0 then
  55339. pTDefRegMap(@Self)^.clr := $00000400
  55340. else
  55341. pTDefRegMap(@Self)^.&set := $00000400;
  55342. end;
  55343. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  55344. begin
  55345. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55346. end;
  55347. procedure TPORTD_TRISD.setTRISD11; inline;
  55348. begin
  55349. pTDefRegMap(@Self)^.&set := $00000800;
  55350. end;
  55351. procedure TPORTD_TRISD.clearTRISD11; inline;
  55352. begin
  55353. pTDefRegMap(@Self)^.clr := $00000800;
  55354. end;
  55355. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  55356. begin
  55357. if thebits = 0 then
  55358. pTDefRegMap(@Self)^.clr := $00000800
  55359. else
  55360. pTDefRegMap(@Self)^.&set := $00000800;
  55361. end;
  55362. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  55363. begin
  55364. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55365. end;
  55366. procedure TPORTD_TRISD.setTRISD12; inline;
  55367. begin
  55368. pTDefRegMap(@Self)^.&set := $00001000;
  55369. end;
  55370. procedure TPORTD_TRISD.clearTRISD12; inline;
  55371. begin
  55372. pTDefRegMap(@Self)^.clr := $00001000;
  55373. end;
  55374. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  55375. begin
  55376. if thebits = 0 then
  55377. pTDefRegMap(@Self)^.clr := $00001000
  55378. else
  55379. pTDefRegMap(@Self)^.&set := $00001000;
  55380. end;
  55381. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  55382. begin
  55383. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55384. end;
  55385. procedure TPORTD_TRISD.setTRISD13; inline;
  55386. begin
  55387. pTDefRegMap(@Self)^.&set := $00002000;
  55388. end;
  55389. procedure TPORTD_TRISD.clearTRISD13; inline;
  55390. begin
  55391. pTDefRegMap(@Self)^.clr := $00002000;
  55392. end;
  55393. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  55394. begin
  55395. if thebits = 0 then
  55396. pTDefRegMap(@Self)^.clr := $00002000
  55397. else
  55398. pTDefRegMap(@Self)^.&set := $00002000;
  55399. end;
  55400. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  55401. begin
  55402. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55403. end;
  55404. procedure TPORTD_TRISD.setTRISD14; inline;
  55405. begin
  55406. pTDefRegMap(@Self)^.&set := $00004000;
  55407. end;
  55408. procedure TPORTD_TRISD.clearTRISD14; inline;
  55409. begin
  55410. pTDefRegMap(@Self)^.clr := $00004000;
  55411. end;
  55412. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  55413. begin
  55414. if thebits = 0 then
  55415. pTDefRegMap(@Self)^.clr := $00004000
  55416. else
  55417. pTDefRegMap(@Self)^.&set := $00004000;
  55418. end;
  55419. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  55420. begin
  55421. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55422. end;
  55423. procedure TPORTD_TRISD.setTRISD15; inline;
  55424. begin
  55425. pTDefRegMap(@Self)^.&set := $00008000;
  55426. end;
  55427. procedure TPORTD_TRISD.clearTRISD15; inline;
  55428. begin
  55429. pTDefRegMap(@Self)^.clr := $00008000;
  55430. end;
  55431. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  55432. begin
  55433. if thebits = 0 then
  55434. pTDefRegMap(@Self)^.clr := $00008000
  55435. else
  55436. pTDefRegMap(@Self)^.&set := $00008000;
  55437. end;
  55438. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  55439. begin
  55440. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55441. end;
  55442. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  55443. begin
  55444. pTDefRegMap(@Self)^.val := thebits;
  55445. end;
  55446. function TPORTD_TRISD.getw : TBits_32; inline;
  55447. begin
  55448. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55449. end;
  55450. procedure TPORTD_PORTD.setRD0; inline;
  55451. begin
  55452. pTDefRegMap(@Self)^.&set := $00000001;
  55453. end;
  55454. procedure TPORTD_PORTD.clearRD0; inline;
  55455. begin
  55456. pTDefRegMap(@Self)^.clr := $00000001;
  55457. end;
  55458. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  55459. begin
  55460. if thebits = 0 then
  55461. pTDefRegMap(@Self)^.clr := $00000001
  55462. else
  55463. pTDefRegMap(@Self)^.&set := $00000001;
  55464. end;
  55465. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  55466. begin
  55467. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55468. end;
  55469. procedure TPORTD_PORTD.setRD1; inline;
  55470. begin
  55471. pTDefRegMap(@Self)^.&set := $00000002;
  55472. end;
  55473. procedure TPORTD_PORTD.clearRD1; inline;
  55474. begin
  55475. pTDefRegMap(@Self)^.clr := $00000002;
  55476. end;
  55477. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  55478. begin
  55479. if thebits = 0 then
  55480. pTDefRegMap(@Self)^.clr := $00000002
  55481. else
  55482. pTDefRegMap(@Self)^.&set := $00000002;
  55483. end;
  55484. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  55485. begin
  55486. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55487. end;
  55488. procedure TPORTD_PORTD.setRD2; inline;
  55489. begin
  55490. pTDefRegMap(@Self)^.&set := $00000004;
  55491. end;
  55492. procedure TPORTD_PORTD.clearRD2; inline;
  55493. begin
  55494. pTDefRegMap(@Self)^.clr := $00000004;
  55495. end;
  55496. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  55497. begin
  55498. if thebits = 0 then
  55499. pTDefRegMap(@Self)^.clr := $00000004
  55500. else
  55501. pTDefRegMap(@Self)^.&set := $00000004;
  55502. end;
  55503. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  55504. begin
  55505. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55506. end;
  55507. procedure TPORTD_PORTD.setRD3; inline;
  55508. begin
  55509. pTDefRegMap(@Self)^.&set := $00000008;
  55510. end;
  55511. procedure TPORTD_PORTD.clearRD3; inline;
  55512. begin
  55513. pTDefRegMap(@Self)^.clr := $00000008;
  55514. end;
  55515. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  55516. begin
  55517. if thebits = 0 then
  55518. pTDefRegMap(@Self)^.clr := $00000008
  55519. else
  55520. pTDefRegMap(@Self)^.&set := $00000008;
  55521. end;
  55522. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  55523. begin
  55524. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55525. end;
  55526. procedure TPORTD_PORTD.setRD4; inline;
  55527. begin
  55528. pTDefRegMap(@Self)^.&set := $00000010;
  55529. end;
  55530. procedure TPORTD_PORTD.clearRD4; inline;
  55531. begin
  55532. pTDefRegMap(@Self)^.clr := $00000010;
  55533. end;
  55534. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  55535. begin
  55536. if thebits = 0 then
  55537. pTDefRegMap(@Self)^.clr := $00000010
  55538. else
  55539. pTDefRegMap(@Self)^.&set := $00000010;
  55540. end;
  55541. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  55542. begin
  55543. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55544. end;
  55545. procedure TPORTD_PORTD.setRD5; inline;
  55546. begin
  55547. pTDefRegMap(@Self)^.&set := $00000020;
  55548. end;
  55549. procedure TPORTD_PORTD.clearRD5; inline;
  55550. begin
  55551. pTDefRegMap(@Self)^.clr := $00000020;
  55552. end;
  55553. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  55554. begin
  55555. if thebits = 0 then
  55556. pTDefRegMap(@Self)^.clr := $00000020
  55557. else
  55558. pTDefRegMap(@Self)^.&set := $00000020;
  55559. end;
  55560. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  55561. begin
  55562. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55563. end;
  55564. procedure TPORTD_PORTD.setRD6; inline;
  55565. begin
  55566. pTDefRegMap(@Self)^.&set := $00000040;
  55567. end;
  55568. procedure TPORTD_PORTD.clearRD6; inline;
  55569. begin
  55570. pTDefRegMap(@Self)^.clr := $00000040;
  55571. end;
  55572. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  55573. begin
  55574. if thebits = 0 then
  55575. pTDefRegMap(@Self)^.clr := $00000040
  55576. else
  55577. pTDefRegMap(@Self)^.&set := $00000040;
  55578. end;
  55579. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  55580. begin
  55581. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55582. end;
  55583. procedure TPORTD_PORTD.setRD7; inline;
  55584. begin
  55585. pTDefRegMap(@Self)^.&set := $00000080;
  55586. end;
  55587. procedure TPORTD_PORTD.clearRD7; inline;
  55588. begin
  55589. pTDefRegMap(@Self)^.clr := $00000080;
  55590. end;
  55591. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  55592. begin
  55593. if thebits = 0 then
  55594. pTDefRegMap(@Self)^.clr := $00000080
  55595. else
  55596. pTDefRegMap(@Self)^.&set := $00000080;
  55597. end;
  55598. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  55599. begin
  55600. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55601. end;
  55602. procedure TPORTD_PORTD.setRD8; inline;
  55603. begin
  55604. pTDefRegMap(@Self)^.&set := $00000100;
  55605. end;
  55606. procedure TPORTD_PORTD.clearRD8; inline;
  55607. begin
  55608. pTDefRegMap(@Self)^.clr := $00000100;
  55609. end;
  55610. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  55611. begin
  55612. if thebits = 0 then
  55613. pTDefRegMap(@Self)^.clr := $00000100
  55614. else
  55615. pTDefRegMap(@Self)^.&set := $00000100;
  55616. end;
  55617. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  55618. begin
  55619. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55620. end;
  55621. procedure TPORTD_PORTD.setRD9; inline;
  55622. begin
  55623. pTDefRegMap(@Self)^.&set := $00000200;
  55624. end;
  55625. procedure TPORTD_PORTD.clearRD9; inline;
  55626. begin
  55627. pTDefRegMap(@Self)^.clr := $00000200;
  55628. end;
  55629. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  55630. begin
  55631. if thebits = 0 then
  55632. pTDefRegMap(@Self)^.clr := $00000200
  55633. else
  55634. pTDefRegMap(@Self)^.&set := $00000200;
  55635. end;
  55636. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  55637. begin
  55638. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55639. end;
  55640. procedure TPORTD_PORTD.setRD10; inline;
  55641. begin
  55642. pTDefRegMap(@Self)^.&set := $00000400;
  55643. end;
  55644. procedure TPORTD_PORTD.clearRD10; inline;
  55645. begin
  55646. pTDefRegMap(@Self)^.clr := $00000400;
  55647. end;
  55648. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  55649. begin
  55650. if thebits = 0 then
  55651. pTDefRegMap(@Self)^.clr := $00000400
  55652. else
  55653. pTDefRegMap(@Self)^.&set := $00000400;
  55654. end;
  55655. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  55656. begin
  55657. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55658. end;
  55659. procedure TPORTD_PORTD.setRD11; inline;
  55660. begin
  55661. pTDefRegMap(@Self)^.&set := $00000800;
  55662. end;
  55663. procedure TPORTD_PORTD.clearRD11; inline;
  55664. begin
  55665. pTDefRegMap(@Self)^.clr := $00000800;
  55666. end;
  55667. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  55668. begin
  55669. if thebits = 0 then
  55670. pTDefRegMap(@Self)^.clr := $00000800
  55671. else
  55672. pTDefRegMap(@Self)^.&set := $00000800;
  55673. end;
  55674. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  55675. begin
  55676. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55677. end;
  55678. procedure TPORTD_PORTD.setRD12; inline;
  55679. begin
  55680. pTDefRegMap(@Self)^.&set := $00001000;
  55681. end;
  55682. procedure TPORTD_PORTD.clearRD12; inline;
  55683. begin
  55684. pTDefRegMap(@Self)^.clr := $00001000;
  55685. end;
  55686. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  55687. begin
  55688. if thebits = 0 then
  55689. pTDefRegMap(@Self)^.clr := $00001000
  55690. else
  55691. pTDefRegMap(@Self)^.&set := $00001000;
  55692. end;
  55693. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  55694. begin
  55695. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55696. end;
  55697. procedure TPORTD_PORTD.setRD13; inline;
  55698. begin
  55699. pTDefRegMap(@Self)^.&set := $00002000;
  55700. end;
  55701. procedure TPORTD_PORTD.clearRD13; inline;
  55702. begin
  55703. pTDefRegMap(@Self)^.clr := $00002000;
  55704. end;
  55705. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  55706. begin
  55707. if thebits = 0 then
  55708. pTDefRegMap(@Self)^.clr := $00002000
  55709. else
  55710. pTDefRegMap(@Self)^.&set := $00002000;
  55711. end;
  55712. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  55713. begin
  55714. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55715. end;
  55716. procedure TPORTD_PORTD.setRD14; inline;
  55717. begin
  55718. pTDefRegMap(@Self)^.&set := $00004000;
  55719. end;
  55720. procedure TPORTD_PORTD.clearRD14; inline;
  55721. begin
  55722. pTDefRegMap(@Self)^.clr := $00004000;
  55723. end;
  55724. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  55725. begin
  55726. if thebits = 0 then
  55727. pTDefRegMap(@Self)^.clr := $00004000
  55728. else
  55729. pTDefRegMap(@Self)^.&set := $00004000;
  55730. end;
  55731. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  55732. begin
  55733. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55734. end;
  55735. procedure TPORTD_PORTD.setRD15; inline;
  55736. begin
  55737. pTDefRegMap(@Self)^.&set := $00008000;
  55738. end;
  55739. procedure TPORTD_PORTD.clearRD15; inline;
  55740. begin
  55741. pTDefRegMap(@Self)^.clr := $00008000;
  55742. end;
  55743. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  55744. begin
  55745. if thebits = 0 then
  55746. pTDefRegMap(@Self)^.clr := $00008000
  55747. else
  55748. pTDefRegMap(@Self)^.&set := $00008000;
  55749. end;
  55750. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  55751. begin
  55752. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55753. end;
  55754. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  55755. begin
  55756. pTDefRegMap(@Self)^.val := thebits;
  55757. end;
  55758. function TPORTD_PORTD.getw : TBits_32; inline;
  55759. begin
  55760. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55761. end;
  55762. procedure TPORTD_LATD.setLATD0; inline;
  55763. begin
  55764. pTDefRegMap(@Self)^.&set := $00000001;
  55765. end;
  55766. procedure TPORTD_LATD.clearLATD0; inline;
  55767. begin
  55768. pTDefRegMap(@Self)^.clr := $00000001;
  55769. end;
  55770. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  55771. begin
  55772. if thebits = 0 then
  55773. pTDefRegMap(@Self)^.clr := $00000001
  55774. else
  55775. pTDefRegMap(@Self)^.&set := $00000001;
  55776. end;
  55777. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  55778. begin
  55779. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55780. end;
  55781. procedure TPORTD_LATD.setLATD1; inline;
  55782. begin
  55783. pTDefRegMap(@Self)^.&set := $00000002;
  55784. end;
  55785. procedure TPORTD_LATD.clearLATD1; inline;
  55786. begin
  55787. pTDefRegMap(@Self)^.clr := $00000002;
  55788. end;
  55789. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  55790. begin
  55791. if thebits = 0 then
  55792. pTDefRegMap(@Self)^.clr := $00000002
  55793. else
  55794. pTDefRegMap(@Self)^.&set := $00000002;
  55795. end;
  55796. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  55797. begin
  55798. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55799. end;
  55800. procedure TPORTD_LATD.setLATD2; inline;
  55801. begin
  55802. pTDefRegMap(@Self)^.&set := $00000004;
  55803. end;
  55804. procedure TPORTD_LATD.clearLATD2; inline;
  55805. begin
  55806. pTDefRegMap(@Self)^.clr := $00000004;
  55807. end;
  55808. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  55809. begin
  55810. if thebits = 0 then
  55811. pTDefRegMap(@Self)^.clr := $00000004
  55812. else
  55813. pTDefRegMap(@Self)^.&set := $00000004;
  55814. end;
  55815. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  55816. begin
  55817. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55818. end;
  55819. procedure TPORTD_LATD.setLATD3; inline;
  55820. begin
  55821. pTDefRegMap(@Self)^.&set := $00000008;
  55822. end;
  55823. procedure TPORTD_LATD.clearLATD3; inline;
  55824. begin
  55825. pTDefRegMap(@Self)^.clr := $00000008;
  55826. end;
  55827. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  55828. begin
  55829. if thebits = 0 then
  55830. pTDefRegMap(@Self)^.clr := $00000008
  55831. else
  55832. pTDefRegMap(@Self)^.&set := $00000008;
  55833. end;
  55834. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  55835. begin
  55836. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55837. end;
  55838. procedure TPORTD_LATD.setLATD4; inline;
  55839. begin
  55840. pTDefRegMap(@Self)^.&set := $00000010;
  55841. end;
  55842. procedure TPORTD_LATD.clearLATD4; inline;
  55843. begin
  55844. pTDefRegMap(@Self)^.clr := $00000010;
  55845. end;
  55846. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  55847. begin
  55848. if thebits = 0 then
  55849. pTDefRegMap(@Self)^.clr := $00000010
  55850. else
  55851. pTDefRegMap(@Self)^.&set := $00000010;
  55852. end;
  55853. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  55854. begin
  55855. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55856. end;
  55857. procedure TPORTD_LATD.setLATD5; inline;
  55858. begin
  55859. pTDefRegMap(@Self)^.&set := $00000020;
  55860. end;
  55861. procedure TPORTD_LATD.clearLATD5; inline;
  55862. begin
  55863. pTDefRegMap(@Self)^.clr := $00000020;
  55864. end;
  55865. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  55866. begin
  55867. if thebits = 0 then
  55868. pTDefRegMap(@Self)^.clr := $00000020
  55869. else
  55870. pTDefRegMap(@Self)^.&set := $00000020;
  55871. end;
  55872. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  55873. begin
  55874. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55875. end;
  55876. procedure TPORTD_LATD.setLATD6; inline;
  55877. begin
  55878. pTDefRegMap(@Self)^.&set := $00000040;
  55879. end;
  55880. procedure TPORTD_LATD.clearLATD6; inline;
  55881. begin
  55882. pTDefRegMap(@Self)^.clr := $00000040;
  55883. end;
  55884. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  55885. begin
  55886. if thebits = 0 then
  55887. pTDefRegMap(@Self)^.clr := $00000040
  55888. else
  55889. pTDefRegMap(@Self)^.&set := $00000040;
  55890. end;
  55891. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  55892. begin
  55893. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55894. end;
  55895. procedure TPORTD_LATD.setLATD7; inline;
  55896. begin
  55897. pTDefRegMap(@Self)^.&set := $00000080;
  55898. end;
  55899. procedure TPORTD_LATD.clearLATD7; inline;
  55900. begin
  55901. pTDefRegMap(@Self)^.clr := $00000080;
  55902. end;
  55903. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  55904. begin
  55905. if thebits = 0 then
  55906. pTDefRegMap(@Self)^.clr := $00000080
  55907. else
  55908. pTDefRegMap(@Self)^.&set := $00000080;
  55909. end;
  55910. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  55911. begin
  55912. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55913. end;
  55914. procedure TPORTD_LATD.setLATD8; inline;
  55915. begin
  55916. pTDefRegMap(@Self)^.&set := $00000100;
  55917. end;
  55918. procedure TPORTD_LATD.clearLATD8; inline;
  55919. begin
  55920. pTDefRegMap(@Self)^.clr := $00000100;
  55921. end;
  55922. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  55923. begin
  55924. if thebits = 0 then
  55925. pTDefRegMap(@Self)^.clr := $00000100
  55926. else
  55927. pTDefRegMap(@Self)^.&set := $00000100;
  55928. end;
  55929. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  55930. begin
  55931. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55932. end;
  55933. procedure TPORTD_LATD.setLATD9; inline;
  55934. begin
  55935. pTDefRegMap(@Self)^.&set := $00000200;
  55936. end;
  55937. procedure TPORTD_LATD.clearLATD9; inline;
  55938. begin
  55939. pTDefRegMap(@Self)^.clr := $00000200;
  55940. end;
  55941. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  55942. begin
  55943. if thebits = 0 then
  55944. pTDefRegMap(@Self)^.clr := $00000200
  55945. else
  55946. pTDefRegMap(@Self)^.&set := $00000200;
  55947. end;
  55948. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  55949. begin
  55950. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55951. end;
  55952. procedure TPORTD_LATD.setLATD10; inline;
  55953. begin
  55954. pTDefRegMap(@Self)^.&set := $00000400;
  55955. end;
  55956. procedure TPORTD_LATD.clearLATD10; inline;
  55957. begin
  55958. pTDefRegMap(@Self)^.clr := $00000400;
  55959. end;
  55960. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  55961. begin
  55962. if thebits = 0 then
  55963. pTDefRegMap(@Self)^.clr := $00000400
  55964. else
  55965. pTDefRegMap(@Self)^.&set := $00000400;
  55966. end;
  55967. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  55968. begin
  55969. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55970. end;
  55971. procedure TPORTD_LATD.setLATD11; inline;
  55972. begin
  55973. pTDefRegMap(@Self)^.&set := $00000800;
  55974. end;
  55975. procedure TPORTD_LATD.clearLATD11; inline;
  55976. begin
  55977. pTDefRegMap(@Self)^.clr := $00000800;
  55978. end;
  55979. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  55980. begin
  55981. if thebits = 0 then
  55982. pTDefRegMap(@Self)^.clr := $00000800
  55983. else
  55984. pTDefRegMap(@Self)^.&set := $00000800;
  55985. end;
  55986. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  55987. begin
  55988. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55989. end;
  55990. procedure TPORTD_LATD.setLATD12; inline;
  55991. begin
  55992. pTDefRegMap(@Self)^.&set := $00001000;
  55993. end;
  55994. procedure TPORTD_LATD.clearLATD12; inline;
  55995. begin
  55996. pTDefRegMap(@Self)^.clr := $00001000;
  55997. end;
  55998. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  55999. begin
  56000. if thebits = 0 then
  56001. pTDefRegMap(@Self)^.clr := $00001000
  56002. else
  56003. pTDefRegMap(@Self)^.&set := $00001000;
  56004. end;
  56005. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  56006. begin
  56007. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56008. end;
  56009. procedure TPORTD_LATD.setLATD13; inline;
  56010. begin
  56011. pTDefRegMap(@Self)^.&set := $00002000;
  56012. end;
  56013. procedure TPORTD_LATD.clearLATD13; inline;
  56014. begin
  56015. pTDefRegMap(@Self)^.clr := $00002000;
  56016. end;
  56017. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  56018. begin
  56019. if thebits = 0 then
  56020. pTDefRegMap(@Self)^.clr := $00002000
  56021. else
  56022. pTDefRegMap(@Self)^.&set := $00002000;
  56023. end;
  56024. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  56025. begin
  56026. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56027. end;
  56028. procedure TPORTD_LATD.setLATD14; inline;
  56029. begin
  56030. pTDefRegMap(@Self)^.&set := $00004000;
  56031. end;
  56032. procedure TPORTD_LATD.clearLATD14; inline;
  56033. begin
  56034. pTDefRegMap(@Self)^.clr := $00004000;
  56035. end;
  56036. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  56037. begin
  56038. if thebits = 0 then
  56039. pTDefRegMap(@Self)^.clr := $00004000
  56040. else
  56041. pTDefRegMap(@Self)^.&set := $00004000;
  56042. end;
  56043. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  56044. begin
  56045. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56046. end;
  56047. procedure TPORTD_LATD.setLATD15; inline;
  56048. begin
  56049. pTDefRegMap(@Self)^.&set := $00008000;
  56050. end;
  56051. procedure TPORTD_LATD.clearLATD15; inline;
  56052. begin
  56053. pTDefRegMap(@Self)^.clr := $00008000;
  56054. end;
  56055. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  56056. begin
  56057. if thebits = 0 then
  56058. pTDefRegMap(@Self)^.clr := $00008000
  56059. else
  56060. pTDefRegMap(@Self)^.&set := $00008000;
  56061. end;
  56062. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  56063. begin
  56064. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56065. end;
  56066. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  56067. begin
  56068. pTDefRegMap(@Self)^.val := thebits;
  56069. end;
  56070. function TPORTD_LATD.getw : TBits_32; inline;
  56071. begin
  56072. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56073. end;
  56074. procedure TPORTD_ODCD.setODCD0; inline;
  56075. begin
  56076. pTDefRegMap(@Self)^.&set := $00000001;
  56077. end;
  56078. procedure TPORTD_ODCD.clearODCD0; inline;
  56079. begin
  56080. pTDefRegMap(@Self)^.clr := $00000001;
  56081. end;
  56082. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  56083. begin
  56084. if thebits = 0 then
  56085. pTDefRegMap(@Self)^.clr := $00000001
  56086. else
  56087. pTDefRegMap(@Self)^.&set := $00000001;
  56088. end;
  56089. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  56090. begin
  56091. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56092. end;
  56093. procedure TPORTD_ODCD.setODCD1; inline;
  56094. begin
  56095. pTDefRegMap(@Self)^.&set := $00000002;
  56096. end;
  56097. procedure TPORTD_ODCD.clearODCD1; inline;
  56098. begin
  56099. pTDefRegMap(@Self)^.clr := $00000002;
  56100. end;
  56101. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  56102. begin
  56103. if thebits = 0 then
  56104. pTDefRegMap(@Self)^.clr := $00000002
  56105. else
  56106. pTDefRegMap(@Self)^.&set := $00000002;
  56107. end;
  56108. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  56109. begin
  56110. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56111. end;
  56112. procedure TPORTD_ODCD.setODCD2; inline;
  56113. begin
  56114. pTDefRegMap(@Self)^.&set := $00000004;
  56115. end;
  56116. procedure TPORTD_ODCD.clearODCD2; inline;
  56117. begin
  56118. pTDefRegMap(@Self)^.clr := $00000004;
  56119. end;
  56120. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  56121. begin
  56122. if thebits = 0 then
  56123. pTDefRegMap(@Self)^.clr := $00000004
  56124. else
  56125. pTDefRegMap(@Self)^.&set := $00000004;
  56126. end;
  56127. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  56128. begin
  56129. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56130. end;
  56131. procedure TPORTD_ODCD.setODCD3; inline;
  56132. begin
  56133. pTDefRegMap(@Self)^.&set := $00000008;
  56134. end;
  56135. procedure TPORTD_ODCD.clearODCD3; inline;
  56136. begin
  56137. pTDefRegMap(@Self)^.clr := $00000008;
  56138. end;
  56139. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  56140. begin
  56141. if thebits = 0 then
  56142. pTDefRegMap(@Self)^.clr := $00000008
  56143. else
  56144. pTDefRegMap(@Self)^.&set := $00000008;
  56145. end;
  56146. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  56147. begin
  56148. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56149. end;
  56150. procedure TPORTD_ODCD.setODCD4; inline;
  56151. begin
  56152. pTDefRegMap(@Self)^.&set := $00000010;
  56153. end;
  56154. procedure TPORTD_ODCD.clearODCD4; inline;
  56155. begin
  56156. pTDefRegMap(@Self)^.clr := $00000010;
  56157. end;
  56158. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  56159. begin
  56160. if thebits = 0 then
  56161. pTDefRegMap(@Self)^.clr := $00000010
  56162. else
  56163. pTDefRegMap(@Self)^.&set := $00000010;
  56164. end;
  56165. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  56166. begin
  56167. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56168. end;
  56169. procedure TPORTD_ODCD.setODCD5; inline;
  56170. begin
  56171. pTDefRegMap(@Self)^.&set := $00000020;
  56172. end;
  56173. procedure TPORTD_ODCD.clearODCD5; inline;
  56174. begin
  56175. pTDefRegMap(@Self)^.clr := $00000020;
  56176. end;
  56177. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  56178. begin
  56179. if thebits = 0 then
  56180. pTDefRegMap(@Self)^.clr := $00000020
  56181. else
  56182. pTDefRegMap(@Self)^.&set := $00000020;
  56183. end;
  56184. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  56185. begin
  56186. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56187. end;
  56188. procedure TPORTD_ODCD.setODCD6; inline;
  56189. begin
  56190. pTDefRegMap(@Self)^.&set := $00000040;
  56191. end;
  56192. procedure TPORTD_ODCD.clearODCD6; inline;
  56193. begin
  56194. pTDefRegMap(@Self)^.clr := $00000040;
  56195. end;
  56196. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  56197. begin
  56198. if thebits = 0 then
  56199. pTDefRegMap(@Self)^.clr := $00000040
  56200. else
  56201. pTDefRegMap(@Self)^.&set := $00000040;
  56202. end;
  56203. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  56204. begin
  56205. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56206. end;
  56207. procedure TPORTD_ODCD.setODCD7; inline;
  56208. begin
  56209. pTDefRegMap(@Self)^.&set := $00000080;
  56210. end;
  56211. procedure TPORTD_ODCD.clearODCD7; inline;
  56212. begin
  56213. pTDefRegMap(@Self)^.clr := $00000080;
  56214. end;
  56215. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  56216. begin
  56217. if thebits = 0 then
  56218. pTDefRegMap(@Self)^.clr := $00000080
  56219. else
  56220. pTDefRegMap(@Self)^.&set := $00000080;
  56221. end;
  56222. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  56223. begin
  56224. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56225. end;
  56226. procedure TPORTD_ODCD.setODCD8; inline;
  56227. begin
  56228. pTDefRegMap(@Self)^.&set := $00000100;
  56229. end;
  56230. procedure TPORTD_ODCD.clearODCD8; inline;
  56231. begin
  56232. pTDefRegMap(@Self)^.clr := $00000100;
  56233. end;
  56234. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  56235. begin
  56236. if thebits = 0 then
  56237. pTDefRegMap(@Self)^.clr := $00000100
  56238. else
  56239. pTDefRegMap(@Self)^.&set := $00000100;
  56240. end;
  56241. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  56242. begin
  56243. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56244. end;
  56245. procedure TPORTD_ODCD.setODCD9; inline;
  56246. begin
  56247. pTDefRegMap(@Self)^.&set := $00000200;
  56248. end;
  56249. procedure TPORTD_ODCD.clearODCD9; inline;
  56250. begin
  56251. pTDefRegMap(@Self)^.clr := $00000200;
  56252. end;
  56253. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  56254. begin
  56255. if thebits = 0 then
  56256. pTDefRegMap(@Self)^.clr := $00000200
  56257. else
  56258. pTDefRegMap(@Self)^.&set := $00000200;
  56259. end;
  56260. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  56261. begin
  56262. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56263. end;
  56264. procedure TPORTD_ODCD.setODCD10; inline;
  56265. begin
  56266. pTDefRegMap(@Self)^.&set := $00000400;
  56267. end;
  56268. procedure TPORTD_ODCD.clearODCD10; inline;
  56269. begin
  56270. pTDefRegMap(@Self)^.clr := $00000400;
  56271. end;
  56272. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  56273. begin
  56274. if thebits = 0 then
  56275. pTDefRegMap(@Self)^.clr := $00000400
  56276. else
  56277. pTDefRegMap(@Self)^.&set := $00000400;
  56278. end;
  56279. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  56280. begin
  56281. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56282. end;
  56283. procedure TPORTD_ODCD.setODCD11; inline;
  56284. begin
  56285. pTDefRegMap(@Self)^.&set := $00000800;
  56286. end;
  56287. procedure TPORTD_ODCD.clearODCD11; inline;
  56288. begin
  56289. pTDefRegMap(@Self)^.clr := $00000800;
  56290. end;
  56291. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  56292. begin
  56293. if thebits = 0 then
  56294. pTDefRegMap(@Self)^.clr := $00000800
  56295. else
  56296. pTDefRegMap(@Self)^.&set := $00000800;
  56297. end;
  56298. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  56299. begin
  56300. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56301. end;
  56302. procedure TPORTD_ODCD.setODCD12; inline;
  56303. begin
  56304. pTDefRegMap(@Self)^.&set := $00001000;
  56305. end;
  56306. procedure TPORTD_ODCD.clearODCD12; inline;
  56307. begin
  56308. pTDefRegMap(@Self)^.clr := $00001000;
  56309. end;
  56310. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  56311. begin
  56312. if thebits = 0 then
  56313. pTDefRegMap(@Self)^.clr := $00001000
  56314. else
  56315. pTDefRegMap(@Self)^.&set := $00001000;
  56316. end;
  56317. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  56318. begin
  56319. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56320. end;
  56321. procedure TPORTD_ODCD.setODCD13; inline;
  56322. begin
  56323. pTDefRegMap(@Self)^.&set := $00002000;
  56324. end;
  56325. procedure TPORTD_ODCD.clearODCD13; inline;
  56326. begin
  56327. pTDefRegMap(@Self)^.clr := $00002000;
  56328. end;
  56329. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  56330. begin
  56331. if thebits = 0 then
  56332. pTDefRegMap(@Self)^.clr := $00002000
  56333. else
  56334. pTDefRegMap(@Self)^.&set := $00002000;
  56335. end;
  56336. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  56337. begin
  56338. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56339. end;
  56340. procedure TPORTD_ODCD.setODCD14; inline;
  56341. begin
  56342. pTDefRegMap(@Self)^.&set := $00004000;
  56343. end;
  56344. procedure TPORTD_ODCD.clearODCD14; inline;
  56345. begin
  56346. pTDefRegMap(@Self)^.clr := $00004000;
  56347. end;
  56348. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  56349. begin
  56350. if thebits = 0 then
  56351. pTDefRegMap(@Self)^.clr := $00004000
  56352. else
  56353. pTDefRegMap(@Self)^.&set := $00004000;
  56354. end;
  56355. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  56356. begin
  56357. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56358. end;
  56359. procedure TPORTD_ODCD.setODCD15; inline;
  56360. begin
  56361. pTDefRegMap(@Self)^.&set := $00008000;
  56362. end;
  56363. procedure TPORTD_ODCD.clearODCD15; inline;
  56364. begin
  56365. pTDefRegMap(@Self)^.clr := $00008000;
  56366. end;
  56367. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  56368. begin
  56369. if thebits = 0 then
  56370. pTDefRegMap(@Self)^.clr := $00008000
  56371. else
  56372. pTDefRegMap(@Self)^.&set := $00008000;
  56373. end;
  56374. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  56375. begin
  56376. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56377. end;
  56378. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  56379. begin
  56380. pTDefRegMap(@Self)^.val := thebits;
  56381. end;
  56382. function TPORTD_ODCD.getw : TBits_32; inline;
  56383. begin
  56384. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56385. end;
  56386. procedure TPORTE_TRISE.setTRISE0; inline;
  56387. begin
  56388. pTDefRegMap(@Self)^.&set := $00000001;
  56389. end;
  56390. procedure TPORTE_TRISE.clearTRISE0; inline;
  56391. begin
  56392. pTDefRegMap(@Self)^.clr := $00000001;
  56393. end;
  56394. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  56395. begin
  56396. if thebits = 0 then
  56397. pTDefRegMap(@Self)^.clr := $00000001
  56398. else
  56399. pTDefRegMap(@Self)^.&set := $00000001;
  56400. end;
  56401. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  56402. begin
  56403. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56404. end;
  56405. procedure TPORTE_TRISE.setTRISE1; inline;
  56406. begin
  56407. pTDefRegMap(@Self)^.&set := $00000002;
  56408. end;
  56409. procedure TPORTE_TRISE.clearTRISE1; inline;
  56410. begin
  56411. pTDefRegMap(@Self)^.clr := $00000002;
  56412. end;
  56413. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  56414. begin
  56415. if thebits = 0 then
  56416. pTDefRegMap(@Self)^.clr := $00000002
  56417. else
  56418. pTDefRegMap(@Self)^.&set := $00000002;
  56419. end;
  56420. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  56421. begin
  56422. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56423. end;
  56424. procedure TPORTE_TRISE.setTRISE2; inline;
  56425. begin
  56426. pTDefRegMap(@Self)^.&set := $00000004;
  56427. end;
  56428. procedure TPORTE_TRISE.clearTRISE2; inline;
  56429. begin
  56430. pTDefRegMap(@Self)^.clr := $00000004;
  56431. end;
  56432. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  56433. begin
  56434. if thebits = 0 then
  56435. pTDefRegMap(@Self)^.clr := $00000004
  56436. else
  56437. pTDefRegMap(@Self)^.&set := $00000004;
  56438. end;
  56439. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  56440. begin
  56441. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56442. end;
  56443. procedure TPORTE_TRISE.setTRISE3; inline;
  56444. begin
  56445. pTDefRegMap(@Self)^.&set := $00000008;
  56446. end;
  56447. procedure TPORTE_TRISE.clearTRISE3; inline;
  56448. begin
  56449. pTDefRegMap(@Self)^.clr := $00000008;
  56450. end;
  56451. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  56452. begin
  56453. if thebits = 0 then
  56454. pTDefRegMap(@Self)^.clr := $00000008
  56455. else
  56456. pTDefRegMap(@Self)^.&set := $00000008;
  56457. end;
  56458. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  56459. begin
  56460. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56461. end;
  56462. procedure TPORTE_TRISE.setTRISE4; inline;
  56463. begin
  56464. pTDefRegMap(@Self)^.&set := $00000010;
  56465. end;
  56466. procedure TPORTE_TRISE.clearTRISE4; inline;
  56467. begin
  56468. pTDefRegMap(@Self)^.clr := $00000010;
  56469. end;
  56470. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  56471. begin
  56472. if thebits = 0 then
  56473. pTDefRegMap(@Self)^.clr := $00000010
  56474. else
  56475. pTDefRegMap(@Self)^.&set := $00000010;
  56476. end;
  56477. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  56478. begin
  56479. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56480. end;
  56481. procedure TPORTE_TRISE.setTRISE5; inline;
  56482. begin
  56483. pTDefRegMap(@Self)^.&set := $00000020;
  56484. end;
  56485. procedure TPORTE_TRISE.clearTRISE5; inline;
  56486. begin
  56487. pTDefRegMap(@Self)^.clr := $00000020;
  56488. end;
  56489. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  56490. begin
  56491. if thebits = 0 then
  56492. pTDefRegMap(@Self)^.clr := $00000020
  56493. else
  56494. pTDefRegMap(@Self)^.&set := $00000020;
  56495. end;
  56496. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  56497. begin
  56498. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56499. end;
  56500. procedure TPORTE_TRISE.setTRISE6; inline;
  56501. begin
  56502. pTDefRegMap(@Self)^.&set := $00000040;
  56503. end;
  56504. procedure TPORTE_TRISE.clearTRISE6; inline;
  56505. begin
  56506. pTDefRegMap(@Self)^.clr := $00000040;
  56507. end;
  56508. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  56509. begin
  56510. if thebits = 0 then
  56511. pTDefRegMap(@Self)^.clr := $00000040
  56512. else
  56513. pTDefRegMap(@Self)^.&set := $00000040;
  56514. end;
  56515. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  56516. begin
  56517. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56518. end;
  56519. procedure TPORTE_TRISE.setTRISE7; inline;
  56520. begin
  56521. pTDefRegMap(@Self)^.&set := $00000080;
  56522. end;
  56523. procedure TPORTE_TRISE.clearTRISE7; inline;
  56524. begin
  56525. pTDefRegMap(@Self)^.clr := $00000080;
  56526. end;
  56527. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  56528. begin
  56529. if thebits = 0 then
  56530. pTDefRegMap(@Self)^.clr := $00000080
  56531. else
  56532. pTDefRegMap(@Self)^.&set := $00000080;
  56533. end;
  56534. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  56535. begin
  56536. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56537. end;
  56538. procedure TPORTE_TRISE.setTRISE8; inline;
  56539. begin
  56540. pTDefRegMap(@Self)^.&set := $00000100;
  56541. end;
  56542. procedure TPORTE_TRISE.clearTRISE8; inline;
  56543. begin
  56544. pTDefRegMap(@Self)^.clr := $00000100;
  56545. end;
  56546. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  56547. begin
  56548. if thebits = 0 then
  56549. pTDefRegMap(@Self)^.clr := $00000100
  56550. else
  56551. pTDefRegMap(@Self)^.&set := $00000100;
  56552. end;
  56553. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  56554. begin
  56555. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56556. end;
  56557. procedure TPORTE_TRISE.setTRISE9; inline;
  56558. begin
  56559. pTDefRegMap(@Self)^.&set := $00000200;
  56560. end;
  56561. procedure TPORTE_TRISE.clearTRISE9; inline;
  56562. begin
  56563. pTDefRegMap(@Self)^.clr := $00000200;
  56564. end;
  56565. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  56566. begin
  56567. if thebits = 0 then
  56568. pTDefRegMap(@Self)^.clr := $00000200
  56569. else
  56570. pTDefRegMap(@Self)^.&set := $00000200;
  56571. end;
  56572. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  56573. begin
  56574. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56575. end;
  56576. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  56577. begin
  56578. pTDefRegMap(@Self)^.val := thebits;
  56579. end;
  56580. function TPORTE_TRISE.getw : TBits_32; inline;
  56581. begin
  56582. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56583. end;
  56584. procedure TPORTE_PORTE.setRE0; inline;
  56585. begin
  56586. pTDefRegMap(@Self)^.&set := $00000001;
  56587. end;
  56588. procedure TPORTE_PORTE.clearRE0; inline;
  56589. begin
  56590. pTDefRegMap(@Self)^.clr := $00000001;
  56591. end;
  56592. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  56593. begin
  56594. if thebits = 0 then
  56595. pTDefRegMap(@Self)^.clr := $00000001
  56596. else
  56597. pTDefRegMap(@Self)^.&set := $00000001;
  56598. end;
  56599. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  56600. begin
  56601. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56602. end;
  56603. procedure TPORTE_PORTE.setRE1; inline;
  56604. begin
  56605. pTDefRegMap(@Self)^.&set := $00000002;
  56606. end;
  56607. procedure TPORTE_PORTE.clearRE1; inline;
  56608. begin
  56609. pTDefRegMap(@Self)^.clr := $00000002;
  56610. end;
  56611. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  56612. begin
  56613. if thebits = 0 then
  56614. pTDefRegMap(@Self)^.clr := $00000002
  56615. else
  56616. pTDefRegMap(@Self)^.&set := $00000002;
  56617. end;
  56618. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  56619. begin
  56620. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56621. end;
  56622. procedure TPORTE_PORTE.setRE2; inline;
  56623. begin
  56624. pTDefRegMap(@Self)^.&set := $00000004;
  56625. end;
  56626. procedure TPORTE_PORTE.clearRE2; inline;
  56627. begin
  56628. pTDefRegMap(@Self)^.clr := $00000004;
  56629. end;
  56630. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  56631. begin
  56632. if thebits = 0 then
  56633. pTDefRegMap(@Self)^.clr := $00000004
  56634. else
  56635. pTDefRegMap(@Self)^.&set := $00000004;
  56636. end;
  56637. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  56638. begin
  56639. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56640. end;
  56641. procedure TPORTE_PORTE.setRE3; inline;
  56642. begin
  56643. pTDefRegMap(@Self)^.&set := $00000008;
  56644. end;
  56645. procedure TPORTE_PORTE.clearRE3; inline;
  56646. begin
  56647. pTDefRegMap(@Self)^.clr := $00000008;
  56648. end;
  56649. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  56650. begin
  56651. if thebits = 0 then
  56652. pTDefRegMap(@Self)^.clr := $00000008
  56653. else
  56654. pTDefRegMap(@Self)^.&set := $00000008;
  56655. end;
  56656. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  56657. begin
  56658. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56659. end;
  56660. procedure TPORTE_PORTE.setRE4; inline;
  56661. begin
  56662. pTDefRegMap(@Self)^.&set := $00000010;
  56663. end;
  56664. procedure TPORTE_PORTE.clearRE4; inline;
  56665. begin
  56666. pTDefRegMap(@Self)^.clr := $00000010;
  56667. end;
  56668. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  56669. begin
  56670. if thebits = 0 then
  56671. pTDefRegMap(@Self)^.clr := $00000010
  56672. else
  56673. pTDefRegMap(@Self)^.&set := $00000010;
  56674. end;
  56675. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  56676. begin
  56677. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56678. end;
  56679. procedure TPORTE_PORTE.setRE5; inline;
  56680. begin
  56681. pTDefRegMap(@Self)^.&set := $00000020;
  56682. end;
  56683. procedure TPORTE_PORTE.clearRE5; inline;
  56684. begin
  56685. pTDefRegMap(@Self)^.clr := $00000020;
  56686. end;
  56687. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  56688. begin
  56689. if thebits = 0 then
  56690. pTDefRegMap(@Self)^.clr := $00000020
  56691. else
  56692. pTDefRegMap(@Self)^.&set := $00000020;
  56693. end;
  56694. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  56695. begin
  56696. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56697. end;
  56698. procedure TPORTE_PORTE.setRE6; inline;
  56699. begin
  56700. pTDefRegMap(@Self)^.&set := $00000040;
  56701. end;
  56702. procedure TPORTE_PORTE.clearRE6; inline;
  56703. begin
  56704. pTDefRegMap(@Self)^.clr := $00000040;
  56705. end;
  56706. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  56707. begin
  56708. if thebits = 0 then
  56709. pTDefRegMap(@Self)^.clr := $00000040
  56710. else
  56711. pTDefRegMap(@Self)^.&set := $00000040;
  56712. end;
  56713. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  56714. begin
  56715. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56716. end;
  56717. procedure TPORTE_PORTE.setRE7; inline;
  56718. begin
  56719. pTDefRegMap(@Self)^.&set := $00000080;
  56720. end;
  56721. procedure TPORTE_PORTE.clearRE7; inline;
  56722. begin
  56723. pTDefRegMap(@Self)^.clr := $00000080;
  56724. end;
  56725. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  56726. begin
  56727. if thebits = 0 then
  56728. pTDefRegMap(@Self)^.clr := $00000080
  56729. else
  56730. pTDefRegMap(@Self)^.&set := $00000080;
  56731. end;
  56732. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  56733. begin
  56734. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56735. end;
  56736. procedure TPORTE_PORTE.setRE8; inline;
  56737. begin
  56738. pTDefRegMap(@Self)^.&set := $00000100;
  56739. end;
  56740. procedure TPORTE_PORTE.clearRE8; inline;
  56741. begin
  56742. pTDefRegMap(@Self)^.clr := $00000100;
  56743. end;
  56744. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  56745. begin
  56746. if thebits = 0 then
  56747. pTDefRegMap(@Self)^.clr := $00000100
  56748. else
  56749. pTDefRegMap(@Self)^.&set := $00000100;
  56750. end;
  56751. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  56752. begin
  56753. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56754. end;
  56755. procedure TPORTE_PORTE.setRE9; inline;
  56756. begin
  56757. pTDefRegMap(@Self)^.&set := $00000200;
  56758. end;
  56759. procedure TPORTE_PORTE.clearRE9; inline;
  56760. begin
  56761. pTDefRegMap(@Self)^.clr := $00000200;
  56762. end;
  56763. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  56764. begin
  56765. if thebits = 0 then
  56766. pTDefRegMap(@Self)^.clr := $00000200
  56767. else
  56768. pTDefRegMap(@Self)^.&set := $00000200;
  56769. end;
  56770. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  56771. begin
  56772. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56773. end;
  56774. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  56775. begin
  56776. pTDefRegMap(@Self)^.val := thebits;
  56777. end;
  56778. function TPORTE_PORTE.getw : TBits_32; inline;
  56779. begin
  56780. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56781. end;
  56782. procedure TPORTE_LATE.setLATE0; inline;
  56783. begin
  56784. pTDefRegMap(@Self)^.&set := $00000001;
  56785. end;
  56786. procedure TPORTE_LATE.clearLATE0; inline;
  56787. begin
  56788. pTDefRegMap(@Self)^.clr := $00000001;
  56789. end;
  56790. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  56791. begin
  56792. if thebits = 0 then
  56793. pTDefRegMap(@Self)^.clr := $00000001
  56794. else
  56795. pTDefRegMap(@Self)^.&set := $00000001;
  56796. end;
  56797. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  56798. begin
  56799. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56800. end;
  56801. procedure TPORTE_LATE.setLATE1; inline;
  56802. begin
  56803. pTDefRegMap(@Self)^.&set := $00000002;
  56804. end;
  56805. procedure TPORTE_LATE.clearLATE1; inline;
  56806. begin
  56807. pTDefRegMap(@Self)^.clr := $00000002;
  56808. end;
  56809. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  56810. begin
  56811. if thebits = 0 then
  56812. pTDefRegMap(@Self)^.clr := $00000002
  56813. else
  56814. pTDefRegMap(@Self)^.&set := $00000002;
  56815. end;
  56816. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  56817. begin
  56818. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56819. end;
  56820. procedure TPORTE_LATE.setLATE2; inline;
  56821. begin
  56822. pTDefRegMap(@Self)^.&set := $00000004;
  56823. end;
  56824. procedure TPORTE_LATE.clearLATE2; inline;
  56825. begin
  56826. pTDefRegMap(@Self)^.clr := $00000004;
  56827. end;
  56828. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  56829. begin
  56830. if thebits = 0 then
  56831. pTDefRegMap(@Self)^.clr := $00000004
  56832. else
  56833. pTDefRegMap(@Self)^.&set := $00000004;
  56834. end;
  56835. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  56836. begin
  56837. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56838. end;
  56839. procedure TPORTE_LATE.setLATE3; inline;
  56840. begin
  56841. pTDefRegMap(@Self)^.&set := $00000008;
  56842. end;
  56843. procedure TPORTE_LATE.clearLATE3; inline;
  56844. begin
  56845. pTDefRegMap(@Self)^.clr := $00000008;
  56846. end;
  56847. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  56848. begin
  56849. if thebits = 0 then
  56850. pTDefRegMap(@Self)^.clr := $00000008
  56851. else
  56852. pTDefRegMap(@Self)^.&set := $00000008;
  56853. end;
  56854. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  56855. begin
  56856. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56857. end;
  56858. procedure TPORTE_LATE.setLATE4; inline;
  56859. begin
  56860. pTDefRegMap(@Self)^.&set := $00000010;
  56861. end;
  56862. procedure TPORTE_LATE.clearLATE4; inline;
  56863. begin
  56864. pTDefRegMap(@Self)^.clr := $00000010;
  56865. end;
  56866. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  56867. begin
  56868. if thebits = 0 then
  56869. pTDefRegMap(@Self)^.clr := $00000010
  56870. else
  56871. pTDefRegMap(@Self)^.&set := $00000010;
  56872. end;
  56873. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  56874. begin
  56875. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56876. end;
  56877. procedure TPORTE_LATE.setLATE5; inline;
  56878. begin
  56879. pTDefRegMap(@Self)^.&set := $00000020;
  56880. end;
  56881. procedure TPORTE_LATE.clearLATE5; inline;
  56882. begin
  56883. pTDefRegMap(@Self)^.clr := $00000020;
  56884. end;
  56885. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  56886. begin
  56887. if thebits = 0 then
  56888. pTDefRegMap(@Self)^.clr := $00000020
  56889. else
  56890. pTDefRegMap(@Self)^.&set := $00000020;
  56891. end;
  56892. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  56893. begin
  56894. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56895. end;
  56896. procedure TPORTE_LATE.setLATE6; inline;
  56897. begin
  56898. pTDefRegMap(@Self)^.&set := $00000040;
  56899. end;
  56900. procedure TPORTE_LATE.clearLATE6; inline;
  56901. begin
  56902. pTDefRegMap(@Self)^.clr := $00000040;
  56903. end;
  56904. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  56905. begin
  56906. if thebits = 0 then
  56907. pTDefRegMap(@Self)^.clr := $00000040
  56908. else
  56909. pTDefRegMap(@Self)^.&set := $00000040;
  56910. end;
  56911. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  56912. begin
  56913. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56914. end;
  56915. procedure TPORTE_LATE.setLATE7; inline;
  56916. begin
  56917. pTDefRegMap(@Self)^.&set := $00000080;
  56918. end;
  56919. procedure TPORTE_LATE.clearLATE7; inline;
  56920. begin
  56921. pTDefRegMap(@Self)^.clr := $00000080;
  56922. end;
  56923. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  56924. begin
  56925. if thebits = 0 then
  56926. pTDefRegMap(@Self)^.clr := $00000080
  56927. else
  56928. pTDefRegMap(@Self)^.&set := $00000080;
  56929. end;
  56930. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  56931. begin
  56932. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56933. end;
  56934. procedure TPORTE_LATE.setLATE8; inline;
  56935. begin
  56936. pTDefRegMap(@Self)^.&set := $00000100;
  56937. end;
  56938. procedure TPORTE_LATE.clearLATE8; inline;
  56939. begin
  56940. pTDefRegMap(@Self)^.clr := $00000100;
  56941. end;
  56942. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  56943. begin
  56944. if thebits = 0 then
  56945. pTDefRegMap(@Self)^.clr := $00000100
  56946. else
  56947. pTDefRegMap(@Self)^.&set := $00000100;
  56948. end;
  56949. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  56950. begin
  56951. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56952. end;
  56953. procedure TPORTE_LATE.setLATE9; inline;
  56954. begin
  56955. pTDefRegMap(@Self)^.&set := $00000200;
  56956. end;
  56957. procedure TPORTE_LATE.clearLATE9; inline;
  56958. begin
  56959. pTDefRegMap(@Self)^.clr := $00000200;
  56960. end;
  56961. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  56962. begin
  56963. if thebits = 0 then
  56964. pTDefRegMap(@Self)^.clr := $00000200
  56965. else
  56966. pTDefRegMap(@Self)^.&set := $00000200;
  56967. end;
  56968. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  56969. begin
  56970. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56971. end;
  56972. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  56973. begin
  56974. pTDefRegMap(@Self)^.val := thebits;
  56975. end;
  56976. function TPORTE_LATE.getw : TBits_32; inline;
  56977. begin
  56978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56979. end;
  56980. procedure TPORTE_ODCE.setODCE0; inline;
  56981. begin
  56982. pTDefRegMap(@Self)^.&set := $00000001;
  56983. end;
  56984. procedure TPORTE_ODCE.clearODCE0; inline;
  56985. begin
  56986. pTDefRegMap(@Self)^.clr := $00000001;
  56987. end;
  56988. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  56989. begin
  56990. if thebits = 0 then
  56991. pTDefRegMap(@Self)^.clr := $00000001
  56992. else
  56993. pTDefRegMap(@Self)^.&set := $00000001;
  56994. end;
  56995. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  56996. begin
  56997. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56998. end;
  56999. procedure TPORTE_ODCE.setODCE1; inline;
  57000. begin
  57001. pTDefRegMap(@Self)^.&set := $00000002;
  57002. end;
  57003. procedure TPORTE_ODCE.clearODCE1; inline;
  57004. begin
  57005. pTDefRegMap(@Self)^.clr := $00000002;
  57006. end;
  57007. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  57008. begin
  57009. if thebits = 0 then
  57010. pTDefRegMap(@Self)^.clr := $00000002
  57011. else
  57012. pTDefRegMap(@Self)^.&set := $00000002;
  57013. end;
  57014. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  57015. begin
  57016. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57017. end;
  57018. procedure TPORTE_ODCE.setODCE2; inline;
  57019. begin
  57020. pTDefRegMap(@Self)^.&set := $00000004;
  57021. end;
  57022. procedure TPORTE_ODCE.clearODCE2; inline;
  57023. begin
  57024. pTDefRegMap(@Self)^.clr := $00000004;
  57025. end;
  57026. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  57027. begin
  57028. if thebits = 0 then
  57029. pTDefRegMap(@Self)^.clr := $00000004
  57030. else
  57031. pTDefRegMap(@Self)^.&set := $00000004;
  57032. end;
  57033. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  57034. begin
  57035. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57036. end;
  57037. procedure TPORTE_ODCE.setODCE3; inline;
  57038. begin
  57039. pTDefRegMap(@Self)^.&set := $00000008;
  57040. end;
  57041. procedure TPORTE_ODCE.clearODCE3; inline;
  57042. begin
  57043. pTDefRegMap(@Self)^.clr := $00000008;
  57044. end;
  57045. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  57046. begin
  57047. if thebits = 0 then
  57048. pTDefRegMap(@Self)^.clr := $00000008
  57049. else
  57050. pTDefRegMap(@Self)^.&set := $00000008;
  57051. end;
  57052. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  57053. begin
  57054. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57055. end;
  57056. procedure TPORTE_ODCE.setODCE4; inline;
  57057. begin
  57058. pTDefRegMap(@Self)^.&set := $00000010;
  57059. end;
  57060. procedure TPORTE_ODCE.clearODCE4; inline;
  57061. begin
  57062. pTDefRegMap(@Self)^.clr := $00000010;
  57063. end;
  57064. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  57065. begin
  57066. if thebits = 0 then
  57067. pTDefRegMap(@Self)^.clr := $00000010
  57068. else
  57069. pTDefRegMap(@Self)^.&set := $00000010;
  57070. end;
  57071. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  57072. begin
  57073. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57074. end;
  57075. procedure TPORTE_ODCE.setODCE5; inline;
  57076. begin
  57077. pTDefRegMap(@Self)^.&set := $00000020;
  57078. end;
  57079. procedure TPORTE_ODCE.clearODCE5; inline;
  57080. begin
  57081. pTDefRegMap(@Self)^.clr := $00000020;
  57082. end;
  57083. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  57084. begin
  57085. if thebits = 0 then
  57086. pTDefRegMap(@Self)^.clr := $00000020
  57087. else
  57088. pTDefRegMap(@Self)^.&set := $00000020;
  57089. end;
  57090. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  57091. begin
  57092. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57093. end;
  57094. procedure TPORTE_ODCE.setODCE6; inline;
  57095. begin
  57096. pTDefRegMap(@Self)^.&set := $00000040;
  57097. end;
  57098. procedure TPORTE_ODCE.clearODCE6; inline;
  57099. begin
  57100. pTDefRegMap(@Self)^.clr := $00000040;
  57101. end;
  57102. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  57103. begin
  57104. if thebits = 0 then
  57105. pTDefRegMap(@Self)^.clr := $00000040
  57106. else
  57107. pTDefRegMap(@Self)^.&set := $00000040;
  57108. end;
  57109. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  57110. begin
  57111. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57112. end;
  57113. procedure TPORTE_ODCE.setODCE7; inline;
  57114. begin
  57115. pTDefRegMap(@Self)^.&set := $00000080;
  57116. end;
  57117. procedure TPORTE_ODCE.clearODCE7; inline;
  57118. begin
  57119. pTDefRegMap(@Self)^.clr := $00000080;
  57120. end;
  57121. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  57122. begin
  57123. if thebits = 0 then
  57124. pTDefRegMap(@Self)^.clr := $00000080
  57125. else
  57126. pTDefRegMap(@Self)^.&set := $00000080;
  57127. end;
  57128. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  57129. begin
  57130. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57131. end;
  57132. procedure TPORTE_ODCE.setODCE8; inline;
  57133. begin
  57134. pTDefRegMap(@Self)^.&set := $00000100;
  57135. end;
  57136. procedure TPORTE_ODCE.clearODCE8; inline;
  57137. begin
  57138. pTDefRegMap(@Self)^.clr := $00000100;
  57139. end;
  57140. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  57141. begin
  57142. if thebits = 0 then
  57143. pTDefRegMap(@Self)^.clr := $00000100
  57144. else
  57145. pTDefRegMap(@Self)^.&set := $00000100;
  57146. end;
  57147. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  57148. begin
  57149. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57150. end;
  57151. procedure TPORTE_ODCE.setODCE9; inline;
  57152. begin
  57153. pTDefRegMap(@Self)^.&set := $00000200;
  57154. end;
  57155. procedure TPORTE_ODCE.clearODCE9; inline;
  57156. begin
  57157. pTDefRegMap(@Self)^.clr := $00000200;
  57158. end;
  57159. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  57160. begin
  57161. if thebits = 0 then
  57162. pTDefRegMap(@Self)^.clr := $00000200
  57163. else
  57164. pTDefRegMap(@Self)^.&set := $00000200;
  57165. end;
  57166. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  57167. begin
  57168. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57169. end;
  57170. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  57171. begin
  57172. pTDefRegMap(@Self)^.val := thebits;
  57173. end;
  57174. function TPORTE_ODCE.getw : TBits_32; inline;
  57175. begin
  57176. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57177. end;
  57178. procedure TPORTF_TRISF.setTRISF0; inline;
  57179. begin
  57180. pTDefRegMap(@Self)^.&set := $00000001;
  57181. end;
  57182. procedure TPORTF_TRISF.clearTRISF0; inline;
  57183. begin
  57184. pTDefRegMap(@Self)^.clr := $00000001;
  57185. end;
  57186. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  57187. begin
  57188. if thebits = 0 then
  57189. pTDefRegMap(@Self)^.clr := $00000001
  57190. else
  57191. pTDefRegMap(@Self)^.&set := $00000001;
  57192. end;
  57193. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  57194. begin
  57195. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57196. end;
  57197. procedure TPORTF_TRISF.setTRISF1; inline;
  57198. begin
  57199. pTDefRegMap(@Self)^.&set := $00000002;
  57200. end;
  57201. procedure TPORTF_TRISF.clearTRISF1; inline;
  57202. begin
  57203. pTDefRegMap(@Self)^.clr := $00000002;
  57204. end;
  57205. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  57206. begin
  57207. if thebits = 0 then
  57208. pTDefRegMap(@Self)^.clr := $00000002
  57209. else
  57210. pTDefRegMap(@Self)^.&set := $00000002;
  57211. end;
  57212. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  57213. begin
  57214. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57215. end;
  57216. procedure TPORTF_TRISF.setTRISF2; inline;
  57217. begin
  57218. pTDefRegMap(@Self)^.&set := $00000004;
  57219. end;
  57220. procedure TPORTF_TRISF.clearTRISF2; inline;
  57221. begin
  57222. pTDefRegMap(@Self)^.clr := $00000004;
  57223. end;
  57224. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  57225. begin
  57226. if thebits = 0 then
  57227. pTDefRegMap(@Self)^.clr := $00000004
  57228. else
  57229. pTDefRegMap(@Self)^.&set := $00000004;
  57230. end;
  57231. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  57232. begin
  57233. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57234. end;
  57235. procedure TPORTF_TRISF.setTRISF3; inline;
  57236. begin
  57237. pTDefRegMap(@Self)^.&set := $00000008;
  57238. end;
  57239. procedure TPORTF_TRISF.clearTRISF3; inline;
  57240. begin
  57241. pTDefRegMap(@Self)^.clr := $00000008;
  57242. end;
  57243. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  57244. begin
  57245. if thebits = 0 then
  57246. pTDefRegMap(@Self)^.clr := $00000008
  57247. else
  57248. pTDefRegMap(@Self)^.&set := $00000008;
  57249. end;
  57250. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  57251. begin
  57252. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57253. end;
  57254. procedure TPORTF_TRISF.setTRISF4; inline;
  57255. begin
  57256. pTDefRegMap(@Self)^.&set := $00000010;
  57257. end;
  57258. procedure TPORTF_TRISF.clearTRISF4; inline;
  57259. begin
  57260. pTDefRegMap(@Self)^.clr := $00000010;
  57261. end;
  57262. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  57263. begin
  57264. if thebits = 0 then
  57265. pTDefRegMap(@Self)^.clr := $00000010
  57266. else
  57267. pTDefRegMap(@Self)^.&set := $00000010;
  57268. end;
  57269. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  57270. begin
  57271. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57272. end;
  57273. procedure TPORTF_TRISF.setTRISF5; inline;
  57274. begin
  57275. pTDefRegMap(@Self)^.&set := $00000020;
  57276. end;
  57277. procedure TPORTF_TRISF.clearTRISF5; inline;
  57278. begin
  57279. pTDefRegMap(@Self)^.clr := $00000020;
  57280. end;
  57281. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  57282. begin
  57283. if thebits = 0 then
  57284. pTDefRegMap(@Self)^.clr := $00000020
  57285. else
  57286. pTDefRegMap(@Self)^.&set := $00000020;
  57287. end;
  57288. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  57289. begin
  57290. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57291. end;
  57292. procedure TPORTF_TRISF.setTRISF8; inline;
  57293. begin
  57294. pTDefRegMap(@Self)^.&set := $00000100;
  57295. end;
  57296. procedure TPORTF_TRISF.clearTRISF8; inline;
  57297. begin
  57298. pTDefRegMap(@Self)^.clr := $00000100;
  57299. end;
  57300. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  57301. begin
  57302. if thebits = 0 then
  57303. pTDefRegMap(@Self)^.clr := $00000100
  57304. else
  57305. pTDefRegMap(@Self)^.&set := $00000100;
  57306. end;
  57307. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  57308. begin
  57309. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57310. end;
  57311. procedure TPORTF_TRISF.setTRISF12; inline;
  57312. begin
  57313. pTDefRegMap(@Self)^.&set := $00001000;
  57314. end;
  57315. procedure TPORTF_TRISF.clearTRISF12; inline;
  57316. begin
  57317. pTDefRegMap(@Self)^.clr := $00001000;
  57318. end;
  57319. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  57320. begin
  57321. if thebits = 0 then
  57322. pTDefRegMap(@Self)^.clr := $00001000
  57323. else
  57324. pTDefRegMap(@Self)^.&set := $00001000;
  57325. end;
  57326. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  57327. begin
  57328. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57329. end;
  57330. procedure TPORTF_TRISF.setTRISF13; inline;
  57331. begin
  57332. pTDefRegMap(@Self)^.&set := $00002000;
  57333. end;
  57334. procedure TPORTF_TRISF.clearTRISF13; inline;
  57335. begin
  57336. pTDefRegMap(@Self)^.clr := $00002000;
  57337. end;
  57338. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  57339. begin
  57340. if thebits = 0 then
  57341. pTDefRegMap(@Self)^.clr := $00002000
  57342. else
  57343. pTDefRegMap(@Self)^.&set := $00002000;
  57344. end;
  57345. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  57346. begin
  57347. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57348. end;
  57349. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  57350. begin
  57351. pTDefRegMap(@Self)^.val := thebits;
  57352. end;
  57353. function TPORTF_TRISF.getw : TBits_32; inline;
  57354. begin
  57355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57356. end;
  57357. procedure TPORTF_PORTF.setRF0; inline;
  57358. begin
  57359. pTDefRegMap(@Self)^.&set := $00000001;
  57360. end;
  57361. procedure TPORTF_PORTF.clearRF0; inline;
  57362. begin
  57363. pTDefRegMap(@Self)^.clr := $00000001;
  57364. end;
  57365. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  57366. begin
  57367. if thebits = 0 then
  57368. pTDefRegMap(@Self)^.clr := $00000001
  57369. else
  57370. pTDefRegMap(@Self)^.&set := $00000001;
  57371. end;
  57372. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  57373. begin
  57374. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57375. end;
  57376. procedure TPORTF_PORTF.setRF1; inline;
  57377. begin
  57378. pTDefRegMap(@Self)^.&set := $00000002;
  57379. end;
  57380. procedure TPORTF_PORTF.clearRF1; inline;
  57381. begin
  57382. pTDefRegMap(@Self)^.clr := $00000002;
  57383. end;
  57384. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  57385. begin
  57386. if thebits = 0 then
  57387. pTDefRegMap(@Self)^.clr := $00000002
  57388. else
  57389. pTDefRegMap(@Self)^.&set := $00000002;
  57390. end;
  57391. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  57392. begin
  57393. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57394. end;
  57395. procedure TPORTF_PORTF.setRF2; inline;
  57396. begin
  57397. pTDefRegMap(@Self)^.&set := $00000004;
  57398. end;
  57399. procedure TPORTF_PORTF.clearRF2; inline;
  57400. begin
  57401. pTDefRegMap(@Self)^.clr := $00000004;
  57402. end;
  57403. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  57404. begin
  57405. if thebits = 0 then
  57406. pTDefRegMap(@Self)^.clr := $00000004
  57407. else
  57408. pTDefRegMap(@Self)^.&set := $00000004;
  57409. end;
  57410. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  57411. begin
  57412. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57413. end;
  57414. procedure TPORTF_PORTF.setRF3; inline;
  57415. begin
  57416. pTDefRegMap(@Self)^.&set := $00000008;
  57417. end;
  57418. procedure TPORTF_PORTF.clearRF3; inline;
  57419. begin
  57420. pTDefRegMap(@Self)^.clr := $00000008;
  57421. end;
  57422. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  57423. begin
  57424. if thebits = 0 then
  57425. pTDefRegMap(@Self)^.clr := $00000008
  57426. else
  57427. pTDefRegMap(@Self)^.&set := $00000008;
  57428. end;
  57429. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  57430. begin
  57431. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57432. end;
  57433. procedure TPORTF_PORTF.setRF4; inline;
  57434. begin
  57435. pTDefRegMap(@Self)^.&set := $00000010;
  57436. end;
  57437. procedure TPORTF_PORTF.clearRF4; inline;
  57438. begin
  57439. pTDefRegMap(@Self)^.clr := $00000010;
  57440. end;
  57441. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  57442. begin
  57443. if thebits = 0 then
  57444. pTDefRegMap(@Self)^.clr := $00000010
  57445. else
  57446. pTDefRegMap(@Self)^.&set := $00000010;
  57447. end;
  57448. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  57449. begin
  57450. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57451. end;
  57452. procedure TPORTF_PORTF.setRF5; inline;
  57453. begin
  57454. pTDefRegMap(@Self)^.&set := $00000020;
  57455. end;
  57456. procedure TPORTF_PORTF.clearRF5; inline;
  57457. begin
  57458. pTDefRegMap(@Self)^.clr := $00000020;
  57459. end;
  57460. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  57461. begin
  57462. if thebits = 0 then
  57463. pTDefRegMap(@Self)^.clr := $00000020
  57464. else
  57465. pTDefRegMap(@Self)^.&set := $00000020;
  57466. end;
  57467. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  57468. begin
  57469. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57470. end;
  57471. procedure TPORTF_PORTF.setRF8; inline;
  57472. begin
  57473. pTDefRegMap(@Self)^.&set := $00000100;
  57474. end;
  57475. procedure TPORTF_PORTF.clearRF8; inline;
  57476. begin
  57477. pTDefRegMap(@Self)^.clr := $00000100;
  57478. end;
  57479. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  57480. begin
  57481. if thebits = 0 then
  57482. pTDefRegMap(@Self)^.clr := $00000100
  57483. else
  57484. pTDefRegMap(@Self)^.&set := $00000100;
  57485. end;
  57486. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  57487. begin
  57488. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57489. end;
  57490. procedure TPORTF_PORTF.setRF12; inline;
  57491. begin
  57492. pTDefRegMap(@Self)^.&set := $00001000;
  57493. end;
  57494. procedure TPORTF_PORTF.clearRF12; inline;
  57495. begin
  57496. pTDefRegMap(@Self)^.clr := $00001000;
  57497. end;
  57498. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  57499. begin
  57500. if thebits = 0 then
  57501. pTDefRegMap(@Self)^.clr := $00001000
  57502. else
  57503. pTDefRegMap(@Self)^.&set := $00001000;
  57504. end;
  57505. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  57506. begin
  57507. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57508. end;
  57509. procedure TPORTF_PORTF.setRF13; inline;
  57510. begin
  57511. pTDefRegMap(@Self)^.&set := $00002000;
  57512. end;
  57513. procedure TPORTF_PORTF.clearRF13; inline;
  57514. begin
  57515. pTDefRegMap(@Self)^.clr := $00002000;
  57516. end;
  57517. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  57518. begin
  57519. if thebits = 0 then
  57520. pTDefRegMap(@Self)^.clr := $00002000
  57521. else
  57522. pTDefRegMap(@Self)^.&set := $00002000;
  57523. end;
  57524. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  57525. begin
  57526. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57527. end;
  57528. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  57529. begin
  57530. pTDefRegMap(@Self)^.val := thebits;
  57531. end;
  57532. function TPORTF_PORTF.getw : TBits_32; inline;
  57533. begin
  57534. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57535. end;
  57536. procedure TPORTF_LATF.setLATF0; inline;
  57537. begin
  57538. pTDefRegMap(@Self)^.&set := $00000001;
  57539. end;
  57540. procedure TPORTF_LATF.clearLATF0; inline;
  57541. begin
  57542. pTDefRegMap(@Self)^.clr := $00000001;
  57543. end;
  57544. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  57545. begin
  57546. if thebits = 0 then
  57547. pTDefRegMap(@Self)^.clr := $00000001
  57548. else
  57549. pTDefRegMap(@Self)^.&set := $00000001;
  57550. end;
  57551. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  57552. begin
  57553. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57554. end;
  57555. procedure TPORTF_LATF.setLATF1; inline;
  57556. begin
  57557. pTDefRegMap(@Self)^.&set := $00000002;
  57558. end;
  57559. procedure TPORTF_LATF.clearLATF1; inline;
  57560. begin
  57561. pTDefRegMap(@Self)^.clr := $00000002;
  57562. end;
  57563. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  57564. begin
  57565. if thebits = 0 then
  57566. pTDefRegMap(@Self)^.clr := $00000002
  57567. else
  57568. pTDefRegMap(@Self)^.&set := $00000002;
  57569. end;
  57570. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  57571. begin
  57572. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57573. end;
  57574. procedure TPORTF_LATF.setLATF2; inline;
  57575. begin
  57576. pTDefRegMap(@Self)^.&set := $00000004;
  57577. end;
  57578. procedure TPORTF_LATF.clearLATF2; inline;
  57579. begin
  57580. pTDefRegMap(@Self)^.clr := $00000004;
  57581. end;
  57582. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  57583. begin
  57584. if thebits = 0 then
  57585. pTDefRegMap(@Self)^.clr := $00000004
  57586. else
  57587. pTDefRegMap(@Self)^.&set := $00000004;
  57588. end;
  57589. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  57590. begin
  57591. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57592. end;
  57593. procedure TPORTF_LATF.setLATF3; inline;
  57594. begin
  57595. pTDefRegMap(@Self)^.&set := $00000008;
  57596. end;
  57597. procedure TPORTF_LATF.clearLATF3; inline;
  57598. begin
  57599. pTDefRegMap(@Self)^.clr := $00000008;
  57600. end;
  57601. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  57602. begin
  57603. if thebits = 0 then
  57604. pTDefRegMap(@Self)^.clr := $00000008
  57605. else
  57606. pTDefRegMap(@Self)^.&set := $00000008;
  57607. end;
  57608. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  57609. begin
  57610. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57611. end;
  57612. procedure TPORTF_LATF.setLATF4; inline;
  57613. begin
  57614. pTDefRegMap(@Self)^.&set := $00000010;
  57615. end;
  57616. procedure TPORTF_LATF.clearLATF4; inline;
  57617. begin
  57618. pTDefRegMap(@Self)^.clr := $00000010;
  57619. end;
  57620. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  57621. begin
  57622. if thebits = 0 then
  57623. pTDefRegMap(@Self)^.clr := $00000010
  57624. else
  57625. pTDefRegMap(@Self)^.&set := $00000010;
  57626. end;
  57627. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  57628. begin
  57629. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57630. end;
  57631. procedure TPORTF_LATF.setLATF5; inline;
  57632. begin
  57633. pTDefRegMap(@Self)^.&set := $00000020;
  57634. end;
  57635. procedure TPORTF_LATF.clearLATF5; inline;
  57636. begin
  57637. pTDefRegMap(@Self)^.clr := $00000020;
  57638. end;
  57639. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  57640. begin
  57641. if thebits = 0 then
  57642. pTDefRegMap(@Self)^.clr := $00000020
  57643. else
  57644. pTDefRegMap(@Self)^.&set := $00000020;
  57645. end;
  57646. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  57647. begin
  57648. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57649. end;
  57650. procedure TPORTF_LATF.setLATF8; inline;
  57651. begin
  57652. pTDefRegMap(@Self)^.&set := $00000100;
  57653. end;
  57654. procedure TPORTF_LATF.clearLATF8; inline;
  57655. begin
  57656. pTDefRegMap(@Self)^.clr := $00000100;
  57657. end;
  57658. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  57659. begin
  57660. if thebits = 0 then
  57661. pTDefRegMap(@Self)^.clr := $00000100
  57662. else
  57663. pTDefRegMap(@Self)^.&set := $00000100;
  57664. end;
  57665. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  57666. begin
  57667. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57668. end;
  57669. procedure TPORTF_LATF.setLATF12; inline;
  57670. begin
  57671. pTDefRegMap(@Self)^.&set := $00001000;
  57672. end;
  57673. procedure TPORTF_LATF.clearLATF12; inline;
  57674. begin
  57675. pTDefRegMap(@Self)^.clr := $00001000;
  57676. end;
  57677. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  57678. begin
  57679. if thebits = 0 then
  57680. pTDefRegMap(@Self)^.clr := $00001000
  57681. else
  57682. pTDefRegMap(@Self)^.&set := $00001000;
  57683. end;
  57684. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  57685. begin
  57686. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57687. end;
  57688. procedure TPORTF_LATF.setLATF13; inline;
  57689. begin
  57690. pTDefRegMap(@Self)^.&set := $00002000;
  57691. end;
  57692. procedure TPORTF_LATF.clearLATF13; inline;
  57693. begin
  57694. pTDefRegMap(@Self)^.clr := $00002000;
  57695. end;
  57696. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  57697. begin
  57698. if thebits = 0 then
  57699. pTDefRegMap(@Self)^.clr := $00002000
  57700. else
  57701. pTDefRegMap(@Self)^.&set := $00002000;
  57702. end;
  57703. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  57704. begin
  57705. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57706. end;
  57707. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  57708. begin
  57709. pTDefRegMap(@Self)^.val := thebits;
  57710. end;
  57711. function TPORTF_LATF.getw : TBits_32; inline;
  57712. begin
  57713. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57714. end;
  57715. procedure TPORTF_ODCF.setODCF0; inline;
  57716. begin
  57717. pTDefRegMap(@Self)^.&set := $00000001;
  57718. end;
  57719. procedure TPORTF_ODCF.clearODCF0; inline;
  57720. begin
  57721. pTDefRegMap(@Self)^.clr := $00000001;
  57722. end;
  57723. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  57724. begin
  57725. if thebits = 0 then
  57726. pTDefRegMap(@Self)^.clr := $00000001
  57727. else
  57728. pTDefRegMap(@Self)^.&set := $00000001;
  57729. end;
  57730. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  57731. begin
  57732. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57733. end;
  57734. procedure TPORTF_ODCF.setODCF1; inline;
  57735. begin
  57736. pTDefRegMap(@Self)^.&set := $00000002;
  57737. end;
  57738. procedure TPORTF_ODCF.clearODCF1; inline;
  57739. begin
  57740. pTDefRegMap(@Self)^.clr := $00000002;
  57741. end;
  57742. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  57743. begin
  57744. if thebits = 0 then
  57745. pTDefRegMap(@Self)^.clr := $00000002
  57746. else
  57747. pTDefRegMap(@Self)^.&set := $00000002;
  57748. end;
  57749. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  57750. begin
  57751. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57752. end;
  57753. procedure TPORTF_ODCF.setODCF2; inline;
  57754. begin
  57755. pTDefRegMap(@Self)^.&set := $00000004;
  57756. end;
  57757. procedure TPORTF_ODCF.clearODCF2; inline;
  57758. begin
  57759. pTDefRegMap(@Self)^.clr := $00000004;
  57760. end;
  57761. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  57762. begin
  57763. if thebits = 0 then
  57764. pTDefRegMap(@Self)^.clr := $00000004
  57765. else
  57766. pTDefRegMap(@Self)^.&set := $00000004;
  57767. end;
  57768. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  57769. begin
  57770. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57771. end;
  57772. procedure TPORTF_ODCF.setODCF3; inline;
  57773. begin
  57774. pTDefRegMap(@Self)^.&set := $00000008;
  57775. end;
  57776. procedure TPORTF_ODCF.clearODCF3; inline;
  57777. begin
  57778. pTDefRegMap(@Self)^.clr := $00000008;
  57779. end;
  57780. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  57781. begin
  57782. if thebits = 0 then
  57783. pTDefRegMap(@Self)^.clr := $00000008
  57784. else
  57785. pTDefRegMap(@Self)^.&set := $00000008;
  57786. end;
  57787. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  57788. begin
  57789. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57790. end;
  57791. procedure TPORTF_ODCF.setODCF4; inline;
  57792. begin
  57793. pTDefRegMap(@Self)^.&set := $00000010;
  57794. end;
  57795. procedure TPORTF_ODCF.clearODCF4; inline;
  57796. begin
  57797. pTDefRegMap(@Self)^.clr := $00000010;
  57798. end;
  57799. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  57800. begin
  57801. if thebits = 0 then
  57802. pTDefRegMap(@Self)^.clr := $00000010
  57803. else
  57804. pTDefRegMap(@Self)^.&set := $00000010;
  57805. end;
  57806. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  57807. begin
  57808. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57809. end;
  57810. procedure TPORTF_ODCF.setODCF5; inline;
  57811. begin
  57812. pTDefRegMap(@Self)^.&set := $00000020;
  57813. end;
  57814. procedure TPORTF_ODCF.clearODCF5; inline;
  57815. begin
  57816. pTDefRegMap(@Self)^.clr := $00000020;
  57817. end;
  57818. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  57819. begin
  57820. if thebits = 0 then
  57821. pTDefRegMap(@Self)^.clr := $00000020
  57822. else
  57823. pTDefRegMap(@Self)^.&set := $00000020;
  57824. end;
  57825. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  57826. begin
  57827. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57828. end;
  57829. procedure TPORTF_ODCF.setODCF8; inline;
  57830. begin
  57831. pTDefRegMap(@Self)^.&set := $00000100;
  57832. end;
  57833. procedure TPORTF_ODCF.clearODCF8; inline;
  57834. begin
  57835. pTDefRegMap(@Self)^.clr := $00000100;
  57836. end;
  57837. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  57838. begin
  57839. if thebits = 0 then
  57840. pTDefRegMap(@Self)^.clr := $00000100
  57841. else
  57842. pTDefRegMap(@Self)^.&set := $00000100;
  57843. end;
  57844. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  57845. begin
  57846. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57847. end;
  57848. procedure TPORTF_ODCF.setODCF12; inline;
  57849. begin
  57850. pTDefRegMap(@Self)^.&set := $00001000;
  57851. end;
  57852. procedure TPORTF_ODCF.clearODCF12; inline;
  57853. begin
  57854. pTDefRegMap(@Self)^.clr := $00001000;
  57855. end;
  57856. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  57857. begin
  57858. if thebits = 0 then
  57859. pTDefRegMap(@Self)^.clr := $00001000
  57860. else
  57861. pTDefRegMap(@Self)^.&set := $00001000;
  57862. end;
  57863. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  57864. begin
  57865. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57866. end;
  57867. procedure TPORTF_ODCF.setODCF13; inline;
  57868. begin
  57869. pTDefRegMap(@Self)^.&set := $00002000;
  57870. end;
  57871. procedure TPORTF_ODCF.clearODCF13; inline;
  57872. begin
  57873. pTDefRegMap(@Self)^.clr := $00002000;
  57874. end;
  57875. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  57876. begin
  57877. if thebits = 0 then
  57878. pTDefRegMap(@Self)^.clr := $00002000
  57879. else
  57880. pTDefRegMap(@Self)^.&set := $00002000;
  57881. end;
  57882. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  57883. begin
  57884. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57885. end;
  57886. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  57887. begin
  57888. pTDefRegMap(@Self)^.val := thebits;
  57889. end;
  57890. function TPORTF_ODCF.getw : TBits_32; inline;
  57891. begin
  57892. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57893. end;
  57894. procedure TPORTG_TRISG.setTRISG0; inline;
  57895. begin
  57896. pTDefRegMap(@Self)^.&set := $00000001;
  57897. end;
  57898. procedure TPORTG_TRISG.clearTRISG0; inline;
  57899. begin
  57900. pTDefRegMap(@Self)^.clr := $00000001;
  57901. end;
  57902. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  57903. begin
  57904. if thebits = 0 then
  57905. pTDefRegMap(@Self)^.clr := $00000001
  57906. else
  57907. pTDefRegMap(@Self)^.&set := $00000001;
  57908. end;
  57909. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  57910. begin
  57911. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57912. end;
  57913. procedure TPORTG_TRISG.setTRISG1; inline;
  57914. begin
  57915. pTDefRegMap(@Self)^.&set := $00000002;
  57916. end;
  57917. procedure TPORTG_TRISG.clearTRISG1; inline;
  57918. begin
  57919. pTDefRegMap(@Self)^.clr := $00000002;
  57920. end;
  57921. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  57922. begin
  57923. if thebits = 0 then
  57924. pTDefRegMap(@Self)^.clr := $00000002
  57925. else
  57926. pTDefRegMap(@Self)^.&set := $00000002;
  57927. end;
  57928. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  57929. begin
  57930. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57931. end;
  57932. procedure TPORTG_TRISG.setTRISG2; inline;
  57933. begin
  57934. pTDefRegMap(@Self)^.&set := $00000004;
  57935. end;
  57936. procedure TPORTG_TRISG.clearTRISG2; inline;
  57937. begin
  57938. pTDefRegMap(@Self)^.clr := $00000004;
  57939. end;
  57940. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  57941. begin
  57942. if thebits = 0 then
  57943. pTDefRegMap(@Self)^.clr := $00000004
  57944. else
  57945. pTDefRegMap(@Self)^.&set := $00000004;
  57946. end;
  57947. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  57948. begin
  57949. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57950. end;
  57951. procedure TPORTG_TRISG.setTRISG3; inline;
  57952. begin
  57953. pTDefRegMap(@Self)^.&set := $00000008;
  57954. end;
  57955. procedure TPORTG_TRISG.clearTRISG3; inline;
  57956. begin
  57957. pTDefRegMap(@Self)^.clr := $00000008;
  57958. end;
  57959. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  57960. begin
  57961. if thebits = 0 then
  57962. pTDefRegMap(@Self)^.clr := $00000008
  57963. else
  57964. pTDefRegMap(@Self)^.&set := $00000008;
  57965. end;
  57966. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  57967. begin
  57968. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57969. end;
  57970. procedure TPORTG_TRISG.setTRISG6; inline;
  57971. begin
  57972. pTDefRegMap(@Self)^.&set := $00000040;
  57973. end;
  57974. procedure TPORTG_TRISG.clearTRISG6; inline;
  57975. begin
  57976. pTDefRegMap(@Self)^.clr := $00000040;
  57977. end;
  57978. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  57979. begin
  57980. if thebits = 0 then
  57981. pTDefRegMap(@Self)^.clr := $00000040
  57982. else
  57983. pTDefRegMap(@Self)^.&set := $00000040;
  57984. end;
  57985. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  57986. begin
  57987. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57988. end;
  57989. procedure TPORTG_TRISG.setTRISG7; inline;
  57990. begin
  57991. pTDefRegMap(@Self)^.&set := $00000080;
  57992. end;
  57993. procedure TPORTG_TRISG.clearTRISG7; inline;
  57994. begin
  57995. pTDefRegMap(@Self)^.clr := $00000080;
  57996. end;
  57997. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  57998. begin
  57999. if thebits = 0 then
  58000. pTDefRegMap(@Self)^.clr := $00000080
  58001. else
  58002. pTDefRegMap(@Self)^.&set := $00000080;
  58003. end;
  58004. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  58005. begin
  58006. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58007. end;
  58008. procedure TPORTG_TRISG.setTRISG8; inline;
  58009. begin
  58010. pTDefRegMap(@Self)^.&set := $00000100;
  58011. end;
  58012. procedure TPORTG_TRISG.clearTRISG8; inline;
  58013. begin
  58014. pTDefRegMap(@Self)^.clr := $00000100;
  58015. end;
  58016. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  58017. begin
  58018. if thebits = 0 then
  58019. pTDefRegMap(@Self)^.clr := $00000100
  58020. else
  58021. pTDefRegMap(@Self)^.&set := $00000100;
  58022. end;
  58023. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  58024. begin
  58025. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58026. end;
  58027. procedure TPORTG_TRISG.setTRISG9; inline;
  58028. begin
  58029. pTDefRegMap(@Self)^.&set := $00000200;
  58030. end;
  58031. procedure TPORTG_TRISG.clearTRISG9; inline;
  58032. begin
  58033. pTDefRegMap(@Self)^.clr := $00000200;
  58034. end;
  58035. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  58036. begin
  58037. if thebits = 0 then
  58038. pTDefRegMap(@Self)^.clr := $00000200
  58039. else
  58040. pTDefRegMap(@Self)^.&set := $00000200;
  58041. end;
  58042. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  58043. begin
  58044. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58045. end;
  58046. procedure TPORTG_TRISG.setTRISG12; inline;
  58047. begin
  58048. pTDefRegMap(@Self)^.&set := $00001000;
  58049. end;
  58050. procedure TPORTG_TRISG.clearTRISG12; inline;
  58051. begin
  58052. pTDefRegMap(@Self)^.clr := $00001000;
  58053. end;
  58054. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  58055. begin
  58056. if thebits = 0 then
  58057. pTDefRegMap(@Self)^.clr := $00001000
  58058. else
  58059. pTDefRegMap(@Self)^.&set := $00001000;
  58060. end;
  58061. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  58062. begin
  58063. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58064. end;
  58065. procedure TPORTG_TRISG.setTRISG13; inline;
  58066. begin
  58067. pTDefRegMap(@Self)^.&set := $00002000;
  58068. end;
  58069. procedure TPORTG_TRISG.clearTRISG13; inline;
  58070. begin
  58071. pTDefRegMap(@Self)^.clr := $00002000;
  58072. end;
  58073. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  58074. begin
  58075. if thebits = 0 then
  58076. pTDefRegMap(@Self)^.clr := $00002000
  58077. else
  58078. pTDefRegMap(@Self)^.&set := $00002000;
  58079. end;
  58080. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  58081. begin
  58082. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58083. end;
  58084. procedure TPORTG_TRISG.setTRISG14; inline;
  58085. begin
  58086. pTDefRegMap(@Self)^.&set := $00004000;
  58087. end;
  58088. procedure TPORTG_TRISG.clearTRISG14; inline;
  58089. begin
  58090. pTDefRegMap(@Self)^.clr := $00004000;
  58091. end;
  58092. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  58093. begin
  58094. if thebits = 0 then
  58095. pTDefRegMap(@Self)^.clr := $00004000
  58096. else
  58097. pTDefRegMap(@Self)^.&set := $00004000;
  58098. end;
  58099. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  58100. begin
  58101. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58102. end;
  58103. procedure TPORTG_TRISG.setTRISG15; inline;
  58104. begin
  58105. pTDefRegMap(@Self)^.&set := $00008000;
  58106. end;
  58107. procedure TPORTG_TRISG.clearTRISG15; inline;
  58108. begin
  58109. pTDefRegMap(@Self)^.clr := $00008000;
  58110. end;
  58111. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  58112. begin
  58113. if thebits = 0 then
  58114. pTDefRegMap(@Self)^.clr := $00008000
  58115. else
  58116. pTDefRegMap(@Self)^.&set := $00008000;
  58117. end;
  58118. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  58119. begin
  58120. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58121. end;
  58122. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  58123. begin
  58124. pTDefRegMap(@Self)^.val := thebits;
  58125. end;
  58126. function TPORTG_TRISG.getw : TBits_32; inline;
  58127. begin
  58128. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58129. end;
  58130. procedure TPORTG_PORTG.setRG0; inline;
  58131. begin
  58132. pTDefRegMap(@Self)^.&set := $00000001;
  58133. end;
  58134. procedure TPORTG_PORTG.clearRG0; inline;
  58135. begin
  58136. pTDefRegMap(@Self)^.clr := $00000001;
  58137. end;
  58138. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  58139. begin
  58140. if thebits = 0 then
  58141. pTDefRegMap(@Self)^.clr := $00000001
  58142. else
  58143. pTDefRegMap(@Self)^.&set := $00000001;
  58144. end;
  58145. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  58146. begin
  58147. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58148. end;
  58149. procedure TPORTG_PORTG.setRG1; inline;
  58150. begin
  58151. pTDefRegMap(@Self)^.&set := $00000002;
  58152. end;
  58153. procedure TPORTG_PORTG.clearRG1; inline;
  58154. begin
  58155. pTDefRegMap(@Self)^.clr := $00000002;
  58156. end;
  58157. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  58158. begin
  58159. if thebits = 0 then
  58160. pTDefRegMap(@Self)^.clr := $00000002
  58161. else
  58162. pTDefRegMap(@Self)^.&set := $00000002;
  58163. end;
  58164. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  58165. begin
  58166. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58167. end;
  58168. procedure TPORTG_PORTG.setRG2; inline;
  58169. begin
  58170. pTDefRegMap(@Self)^.&set := $00000004;
  58171. end;
  58172. procedure TPORTG_PORTG.clearRG2; inline;
  58173. begin
  58174. pTDefRegMap(@Self)^.clr := $00000004;
  58175. end;
  58176. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  58177. begin
  58178. if thebits = 0 then
  58179. pTDefRegMap(@Self)^.clr := $00000004
  58180. else
  58181. pTDefRegMap(@Self)^.&set := $00000004;
  58182. end;
  58183. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  58184. begin
  58185. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58186. end;
  58187. procedure TPORTG_PORTG.setRG3; inline;
  58188. begin
  58189. pTDefRegMap(@Self)^.&set := $00000008;
  58190. end;
  58191. procedure TPORTG_PORTG.clearRG3; inline;
  58192. begin
  58193. pTDefRegMap(@Self)^.clr := $00000008;
  58194. end;
  58195. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  58196. begin
  58197. if thebits = 0 then
  58198. pTDefRegMap(@Self)^.clr := $00000008
  58199. else
  58200. pTDefRegMap(@Self)^.&set := $00000008;
  58201. end;
  58202. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  58203. begin
  58204. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58205. end;
  58206. procedure TPORTG_PORTG.setRG6; inline;
  58207. begin
  58208. pTDefRegMap(@Self)^.&set := $00000040;
  58209. end;
  58210. procedure TPORTG_PORTG.clearRG6; inline;
  58211. begin
  58212. pTDefRegMap(@Self)^.clr := $00000040;
  58213. end;
  58214. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  58215. begin
  58216. if thebits = 0 then
  58217. pTDefRegMap(@Self)^.clr := $00000040
  58218. else
  58219. pTDefRegMap(@Self)^.&set := $00000040;
  58220. end;
  58221. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  58222. begin
  58223. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58224. end;
  58225. procedure TPORTG_PORTG.setRG7; inline;
  58226. begin
  58227. pTDefRegMap(@Self)^.&set := $00000080;
  58228. end;
  58229. procedure TPORTG_PORTG.clearRG7; inline;
  58230. begin
  58231. pTDefRegMap(@Self)^.clr := $00000080;
  58232. end;
  58233. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  58234. begin
  58235. if thebits = 0 then
  58236. pTDefRegMap(@Self)^.clr := $00000080
  58237. else
  58238. pTDefRegMap(@Self)^.&set := $00000080;
  58239. end;
  58240. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  58241. begin
  58242. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58243. end;
  58244. procedure TPORTG_PORTG.setRG8; inline;
  58245. begin
  58246. pTDefRegMap(@Self)^.&set := $00000100;
  58247. end;
  58248. procedure TPORTG_PORTG.clearRG8; inline;
  58249. begin
  58250. pTDefRegMap(@Self)^.clr := $00000100;
  58251. end;
  58252. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  58253. begin
  58254. if thebits = 0 then
  58255. pTDefRegMap(@Self)^.clr := $00000100
  58256. else
  58257. pTDefRegMap(@Self)^.&set := $00000100;
  58258. end;
  58259. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  58260. begin
  58261. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58262. end;
  58263. procedure TPORTG_PORTG.setRG9; inline;
  58264. begin
  58265. pTDefRegMap(@Self)^.&set := $00000200;
  58266. end;
  58267. procedure TPORTG_PORTG.clearRG9; inline;
  58268. begin
  58269. pTDefRegMap(@Self)^.clr := $00000200;
  58270. end;
  58271. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  58272. begin
  58273. if thebits = 0 then
  58274. pTDefRegMap(@Self)^.clr := $00000200
  58275. else
  58276. pTDefRegMap(@Self)^.&set := $00000200;
  58277. end;
  58278. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  58279. begin
  58280. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58281. end;
  58282. procedure TPORTG_PORTG.setRG12; inline;
  58283. begin
  58284. pTDefRegMap(@Self)^.&set := $00001000;
  58285. end;
  58286. procedure TPORTG_PORTG.clearRG12; inline;
  58287. begin
  58288. pTDefRegMap(@Self)^.clr := $00001000;
  58289. end;
  58290. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  58291. begin
  58292. if thebits = 0 then
  58293. pTDefRegMap(@Self)^.clr := $00001000
  58294. else
  58295. pTDefRegMap(@Self)^.&set := $00001000;
  58296. end;
  58297. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  58298. begin
  58299. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58300. end;
  58301. procedure TPORTG_PORTG.setRG13; inline;
  58302. begin
  58303. pTDefRegMap(@Self)^.&set := $00002000;
  58304. end;
  58305. procedure TPORTG_PORTG.clearRG13; inline;
  58306. begin
  58307. pTDefRegMap(@Self)^.clr := $00002000;
  58308. end;
  58309. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  58310. begin
  58311. if thebits = 0 then
  58312. pTDefRegMap(@Self)^.clr := $00002000
  58313. else
  58314. pTDefRegMap(@Self)^.&set := $00002000;
  58315. end;
  58316. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  58317. begin
  58318. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58319. end;
  58320. procedure TPORTG_PORTG.setRG14; inline;
  58321. begin
  58322. pTDefRegMap(@Self)^.&set := $00004000;
  58323. end;
  58324. procedure TPORTG_PORTG.clearRG14; inline;
  58325. begin
  58326. pTDefRegMap(@Self)^.clr := $00004000;
  58327. end;
  58328. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  58329. begin
  58330. if thebits = 0 then
  58331. pTDefRegMap(@Self)^.clr := $00004000
  58332. else
  58333. pTDefRegMap(@Self)^.&set := $00004000;
  58334. end;
  58335. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  58336. begin
  58337. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58338. end;
  58339. procedure TPORTG_PORTG.setRG15; inline;
  58340. begin
  58341. pTDefRegMap(@Self)^.&set := $00008000;
  58342. end;
  58343. procedure TPORTG_PORTG.clearRG15; inline;
  58344. begin
  58345. pTDefRegMap(@Self)^.clr := $00008000;
  58346. end;
  58347. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  58348. begin
  58349. if thebits = 0 then
  58350. pTDefRegMap(@Self)^.clr := $00008000
  58351. else
  58352. pTDefRegMap(@Self)^.&set := $00008000;
  58353. end;
  58354. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  58355. begin
  58356. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58357. end;
  58358. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  58359. begin
  58360. pTDefRegMap(@Self)^.val := thebits;
  58361. end;
  58362. function TPORTG_PORTG.getw : TBits_32; inline;
  58363. begin
  58364. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58365. end;
  58366. procedure TPORTG_LATG.setLATG0; inline;
  58367. begin
  58368. pTDefRegMap(@Self)^.&set := $00000001;
  58369. end;
  58370. procedure TPORTG_LATG.clearLATG0; inline;
  58371. begin
  58372. pTDefRegMap(@Self)^.clr := $00000001;
  58373. end;
  58374. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  58375. begin
  58376. if thebits = 0 then
  58377. pTDefRegMap(@Self)^.clr := $00000001
  58378. else
  58379. pTDefRegMap(@Self)^.&set := $00000001;
  58380. end;
  58381. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  58382. begin
  58383. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58384. end;
  58385. procedure TPORTG_LATG.setLATG1; inline;
  58386. begin
  58387. pTDefRegMap(@Self)^.&set := $00000002;
  58388. end;
  58389. procedure TPORTG_LATG.clearLATG1; inline;
  58390. begin
  58391. pTDefRegMap(@Self)^.clr := $00000002;
  58392. end;
  58393. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  58394. begin
  58395. if thebits = 0 then
  58396. pTDefRegMap(@Self)^.clr := $00000002
  58397. else
  58398. pTDefRegMap(@Self)^.&set := $00000002;
  58399. end;
  58400. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  58401. begin
  58402. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58403. end;
  58404. procedure TPORTG_LATG.setLATG2; inline;
  58405. begin
  58406. pTDefRegMap(@Self)^.&set := $00000004;
  58407. end;
  58408. procedure TPORTG_LATG.clearLATG2; inline;
  58409. begin
  58410. pTDefRegMap(@Self)^.clr := $00000004;
  58411. end;
  58412. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  58413. begin
  58414. if thebits = 0 then
  58415. pTDefRegMap(@Self)^.clr := $00000004
  58416. else
  58417. pTDefRegMap(@Self)^.&set := $00000004;
  58418. end;
  58419. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  58420. begin
  58421. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58422. end;
  58423. procedure TPORTG_LATG.setLATG3; inline;
  58424. begin
  58425. pTDefRegMap(@Self)^.&set := $00000008;
  58426. end;
  58427. procedure TPORTG_LATG.clearLATG3; inline;
  58428. begin
  58429. pTDefRegMap(@Self)^.clr := $00000008;
  58430. end;
  58431. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  58432. begin
  58433. if thebits = 0 then
  58434. pTDefRegMap(@Self)^.clr := $00000008
  58435. else
  58436. pTDefRegMap(@Self)^.&set := $00000008;
  58437. end;
  58438. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  58439. begin
  58440. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58441. end;
  58442. procedure TPORTG_LATG.setLATG6; inline;
  58443. begin
  58444. pTDefRegMap(@Self)^.&set := $00000040;
  58445. end;
  58446. procedure TPORTG_LATG.clearLATG6; inline;
  58447. begin
  58448. pTDefRegMap(@Self)^.clr := $00000040;
  58449. end;
  58450. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  58451. begin
  58452. if thebits = 0 then
  58453. pTDefRegMap(@Self)^.clr := $00000040
  58454. else
  58455. pTDefRegMap(@Self)^.&set := $00000040;
  58456. end;
  58457. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  58458. begin
  58459. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58460. end;
  58461. procedure TPORTG_LATG.setLATG7; inline;
  58462. begin
  58463. pTDefRegMap(@Self)^.&set := $00000080;
  58464. end;
  58465. procedure TPORTG_LATG.clearLATG7; inline;
  58466. begin
  58467. pTDefRegMap(@Self)^.clr := $00000080;
  58468. end;
  58469. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  58470. begin
  58471. if thebits = 0 then
  58472. pTDefRegMap(@Self)^.clr := $00000080
  58473. else
  58474. pTDefRegMap(@Self)^.&set := $00000080;
  58475. end;
  58476. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  58477. begin
  58478. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58479. end;
  58480. procedure TPORTG_LATG.setLATG8; inline;
  58481. begin
  58482. pTDefRegMap(@Self)^.&set := $00000100;
  58483. end;
  58484. procedure TPORTG_LATG.clearLATG8; inline;
  58485. begin
  58486. pTDefRegMap(@Self)^.clr := $00000100;
  58487. end;
  58488. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  58489. begin
  58490. if thebits = 0 then
  58491. pTDefRegMap(@Self)^.clr := $00000100
  58492. else
  58493. pTDefRegMap(@Self)^.&set := $00000100;
  58494. end;
  58495. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  58496. begin
  58497. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58498. end;
  58499. procedure TPORTG_LATG.setLATG9; inline;
  58500. begin
  58501. pTDefRegMap(@Self)^.&set := $00000200;
  58502. end;
  58503. procedure TPORTG_LATG.clearLATG9; inline;
  58504. begin
  58505. pTDefRegMap(@Self)^.clr := $00000200;
  58506. end;
  58507. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  58508. begin
  58509. if thebits = 0 then
  58510. pTDefRegMap(@Self)^.clr := $00000200
  58511. else
  58512. pTDefRegMap(@Self)^.&set := $00000200;
  58513. end;
  58514. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  58515. begin
  58516. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58517. end;
  58518. procedure TPORTG_LATG.setLATG12; inline;
  58519. begin
  58520. pTDefRegMap(@Self)^.&set := $00001000;
  58521. end;
  58522. procedure TPORTG_LATG.clearLATG12; inline;
  58523. begin
  58524. pTDefRegMap(@Self)^.clr := $00001000;
  58525. end;
  58526. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  58527. begin
  58528. if thebits = 0 then
  58529. pTDefRegMap(@Self)^.clr := $00001000
  58530. else
  58531. pTDefRegMap(@Self)^.&set := $00001000;
  58532. end;
  58533. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  58534. begin
  58535. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58536. end;
  58537. procedure TPORTG_LATG.setLATG13; inline;
  58538. begin
  58539. pTDefRegMap(@Self)^.&set := $00002000;
  58540. end;
  58541. procedure TPORTG_LATG.clearLATG13; inline;
  58542. begin
  58543. pTDefRegMap(@Self)^.clr := $00002000;
  58544. end;
  58545. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  58546. begin
  58547. if thebits = 0 then
  58548. pTDefRegMap(@Self)^.clr := $00002000
  58549. else
  58550. pTDefRegMap(@Self)^.&set := $00002000;
  58551. end;
  58552. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  58553. begin
  58554. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58555. end;
  58556. procedure TPORTG_LATG.setLATG14; inline;
  58557. begin
  58558. pTDefRegMap(@Self)^.&set := $00004000;
  58559. end;
  58560. procedure TPORTG_LATG.clearLATG14; inline;
  58561. begin
  58562. pTDefRegMap(@Self)^.clr := $00004000;
  58563. end;
  58564. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  58565. begin
  58566. if thebits = 0 then
  58567. pTDefRegMap(@Self)^.clr := $00004000
  58568. else
  58569. pTDefRegMap(@Self)^.&set := $00004000;
  58570. end;
  58571. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  58572. begin
  58573. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58574. end;
  58575. procedure TPORTG_LATG.setLATG15; inline;
  58576. begin
  58577. pTDefRegMap(@Self)^.&set := $00008000;
  58578. end;
  58579. procedure TPORTG_LATG.clearLATG15; inline;
  58580. begin
  58581. pTDefRegMap(@Self)^.clr := $00008000;
  58582. end;
  58583. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  58584. begin
  58585. if thebits = 0 then
  58586. pTDefRegMap(@Self)^.clr := $00008000
  58587. else
  58588. pTDefRegMap(@Self)^.&set := $00008000;
  58589. end;
  58590. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  58591. begin
  58592. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58593. end;
  58594. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  58595. begin
  58596. pTDefRegMap(@Self)^.val := thebits;
  58597. end;
  58598. function TPORTG_LATG.getw : TBits_32; inline;
  58599. begin
  58600. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58601. end;
  58602. procedure TPORTG_ODCG.setODCG0; inline;
  58603. begin
  58604. pTDefRegMap(@Self)^.&set := $00000001;
  58605. end;
  58606. procedure TPORTG_ODCG.clearODCG0; inline;
  58607. begin
  58608. pTDefRegMap(@Self)^.clr := $00000001;
  58609. end;
  58610. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  58611. begin
  58612. if thebits = 0 then
  58613. pTDefRegMap(@Self)^.clr := $00000001
  58614. else
  58615. pTDefRegMap(@Self)^.&set := $00000001;
  58616. end;
  58617. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  58618. begin
  58619. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58620. end;
  58621. procedure TPORTG_ODCG.setODCG1; inline;
  58622. begin
  58623. pTDefRegMap(@Self)^.&set := $00000002;
  58624. end;
  58625. procedure TPORTG_ODCG.clearODCG1; inline;
  58626. begin
  58627. pTDefRegMap(@Self)^.clr := $00000002;
  58628. end;
  58629. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  58630. begin
  58631. if thebits = 0 then
  58632. pTDefRegMap(@Self)^.clr := $00000002
  58633. else
  58634. pTDefRegMap(@Self)^.&set := $00000002;
  58635. end;
  58636. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  58637. begin
  58638. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58639. end;
  58640. procedure TPORTG_ODCG.setODCG2; inline;
  58641. begin
  58642. pTDefRegMap(@Self)^.&set := $00000004;
  58643. end;
  58644. procedure TPORTG_ODCG.clearODCG2; inline;
  58645. begin
  58646. pTDefRegMap(@Self)^.clr := $00000004;
  58647. end;
  58648. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  58649. begin
  58650. if thebits = 0 then
  58651. pTDefRegMap(@Self)^.clr := $00000004
  58652. else
  58653. pTDefRegMap(@Self)^.&set := $00000004;
  58654. end;
  58655. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  58656. begin
  58657. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58658. end;
  58659. procedure TPORTG_ODCG.setODCG3; inline;
  58660. begin
  58661. pTDefRegMap(@Self)^.&set := $00000008;
  58662. end;
  58663. procedure TPORTG_ODCG.clearODCG3; inline;
  58664. begin
  58665. pTDefRegMap(@Self)^.clr := $00000008;
  58666. end;
  58667. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  58668. begin
  58669. if thebits = 0 then
  58670. pTDefRegMap(@Self)^.clr := $00000008
  58671. else
  58672. pTDefRegMap(@Self)^.&set := $00000008;
  58673. end;
  58674. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  58675. begin
  58676. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58677. end;
  58678. procedure TPORTG_ODCG.setODCG6; inline;
  58679. begin
  58680. pTDefRegMap(@Self)^.&set := $00000040;
  58681. end;
  58682. procedure TPORTG_ODCG.clearODCG6; inline;
  58683. begin
  58684. pTDefRegMap(@Self)^.clr := $00000040;
  58685. end;
  58686. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  58687. begin
  58688. if thebits = 0 then
  58689. pTDefRegMap(@Self)^.clr := $00000040
  58690. else
  58691. pTDefRegMap(@Self)^.&set := $00000040;
  58692. end;
  58693. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  58694. begin
  58695. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58696. end;
  58697. procedure TPORTG_ODCG.setODCG7; inline;
  58698. begin
  58699. pTDefRegMap(@Self)^.&set := $00000080;
  58700. end;
  58701. procedure TPORTG_ODCG.clearODCG7; inline;
  58702. begin
  58703. pTDefRegMap(@Self)^.clr := $00000080;
  58704. end;
  58705. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  58706. begin
  58707. if thebits = 0 then
  58708. pTDefRegMap(@Self)^.clr := $00000080
  58709. else
  58710. pTDefRegMap(@Self)^.&set := $00000080;
  58711. end;
  58712. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  58713. begin
  58714. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58715. end;
  58716. procedure TPORTG_ODCG.setODCG8; inline;
  58717. begin
  58718. pTDefRegMap(@Self)^.&set := $00000100;
  58719. end;
  58720. procedure TPORTG_ODCG.clearODCG8; inline;
  58721. begin
  58722. pTDefRegMap(@Self)^.clr := $00000100;
  58723. end;
  58724. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  58725. begin
  58726. if thebits = 0 then
  58727. pTDefRegMap(@Self)^.clr := $00000100
  58728. else
  58729. pTDefRegMap(@Self)^.&set := $00000100;
  58730. end;
  58731. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  58732. begin
  58733. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58734. end;
  58735. procedure TPORTG_ODCG.setODCG9; inline;
  58736. begin
  58737. pTDefRegMap(@Self)^.&set := $00000200;
  58738. end;
  58739. procedure TPORTG_ODCG.clearODCG9; inline;
  58740. begin
  58741. pTDefRegMap(@Self)^.clr := $00000200;
  58742. end;
  58743. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  58744. begin
  58745. if thebits = 0 then
  58746. pTDefRegMap(@Self)^.clr := $00000200
  58747. else
  58748. pTDefRegMap(@Self)^.&set := $00000200;
  58749. end;
  58750. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  58751. begin
  58752. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58753. end;
  58754. procedure TPORTG_ODCG.setODCG12; inline;
  58755. begin
  58756. pTDefRegMap(@Self)^.&set := $00001000;
  58757. end;
  58758. procedure TPORTG_ODCG.clearODCG12; inline;
  58759. begin
  58760. pTDefRegMap(@Self)^.clr := $00001000;
  58761. end;
  58762. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  58763. begin
  58764. if thebits = 0 then
  58765. pTDefRegMap(@Self)^.clr := $00001000
  58766. else
  58767. pTDefRegMap(@Self)^.&set := $00001000;
  58768. end;
  58769. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  58770. begin
  58771. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58772. end;
  58773. procedure TPORTG_ODCG.setODCG13; inline;
  58774. begin
  58775. pTDefRegMap(@Self)^.&set := $00002000;
  58776. end;
  58777. procedure TPORTG_ODCG.clearODCG13; inline;
  58778. begin
  58779. pTDefRegMap(@Self)^.clr := $00002000;
  58780. end;
  58781. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  58782. begin
  58783. if thebits = 0 then
  58784. pTDefRegMap(@Self)^.clr := $00002000
  58785. else
  58786. pTDefRegMap(@Self)^.&set := $00002000;
  58787. end;
  58788. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  58789. begin
  58790. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58791. end;
  58792. procedure TPORTG_ODCG.setODCG14; inline;
  58793. begin
  58794. pTDefRegMap(@Self)^.&set := $00004000;
  58795. end;
  58796. procedure TPORTG_ODCG.clearODCG14; inline;
  58797. begin
  58798. pTDefRegMap(@Self)^.clr := $00004000;
  58799. end;
  58800. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  58801. begin
  58802. if thebits = 0 then
  58803. pTDefRegMap(@Self)^.clr := $00004000
  58804. else
  58805. pTDefRegMap(@Self)^.&set := $00004000;
  58806. end;
  58807. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  58808. begin
  58809. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58810. end;
  58811. procedure TPORTG_ODCG.setODCG15; inline;
  58812. begin
  58813. pTDefRegMap(@Self)^.&set := $00008000;
  58814. end;
  58815. procedure TPORTG_ODCG.clearODCG15; inline;
  58816. begin
  58817. pTDefRegMap(@Self)^.clr := $00008000;
  58818. end;
  58819. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  58820. begin
  58821. if thebits = 0 then
  58822. pTDefRegMap(@Self)^.clr := $00008000
  58823. else
  58824. pTDefRegMap(@Self)^.&set := $00008000;
  58825. end;
  58826. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  58827. begin
  58828. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58829. end;
  58830. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  58831. begin
  58832. pTDefRegMap(@Self)^.val := thebits;
  58833. end;
  58834. function TPORTG_ODCG.getw : TBits_32; inline;
  58835. begin
  58836. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58837. end;
  58838. procedure TPORTG_CNCON.setSIDL; inline;
  58839. begin
  58840. pTDefRegMap(@Self)^.&set := $00002000;
  58841. end;
  58842. procedure TPORTG_CNCON.clearSIDL; inline;
  58843. begin
  58844. pTDefRegMap(@Self)^.clr := $00002000;
  58845. end;
  58846. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  58847. begin
  58848. if thebits = 0 then
  58849. pTDefRegMap(@Self)^.clr := $00002000
  58850. else
  58851. pTDefRegMap(@Self)^.&set := $00002000;
  58852. end;
  58853. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  58854. begin
  58855. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58856. end;
  58857. procedure TPORTG_CNCON.setON; inline;
  58858. begin
  58859. pTDefRegMap(@Self)^.&set := $00008000;
  58860. end;
  58861. procedure TPORTG_CNCON.clearON; inline;
  58862. begin
  58863. pTDefRegMap(@Self)^.clr := $00008000;
  58864. end;
  58865. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  58866. begin
  58867. if thebits = 0 then
  58868. pTDefRegMap(@Self)^.clr := $00008000
  58869. else
  58870. pTDefRegMap(@Self)^.&set := $00008000;
  58871. end;
  58872. function TPORTG_CNCON.getON : TBits_1; inline;
  58873. begin
  58874. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58875. end;
  58876. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  58877. begin
  58878. pTDefRegMap(@Self)^.val := thebits;
  58879. end;
  58880. function TPORTG_CNCON.getw : TBits_32; inline;
  58881. begin
  58882. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58883. end;
  58884. procedure TPORTG_CNEN.setCNEN0; inline;
  58885. begin
  58886. pTDefRegMap(@Self)^.&set := $00000001;
  58887. end;
  58888. procedure TPORTG_CNEN.clearCNEN0; inline;
  58889. begin
  58890. pTDefRegMap(@Self)^.clr := $00000001;
  58891. end;
  58892. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  58893. begin
  58894. if thebits = 0 then
  58895. pTDefRegMap(@Self)^.clr := $00000001
  58896. else
  58897. pTDefRegMap(@Self)^.&set := $00000001;
  58898. end;
  58899. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  58900. begin
  58901. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58902. end;
  58903. procedure TPORTG_CNEN.setCNEN1; inline;
  58904. begin
  58905. pTDefRegMap(@Self)^.&set := $00000002;
  58906. end;
  58907. procedure TPORTG_CNEN.clearCNEN1; inline;
  58908. begin
  58909. pTDefRegMap(@Self)^.clr := $00000002;
  58910. end;
  58911. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  58912. begin
  58913. if thebits = 0 then
  58914. pTDefRegMap(@Self)^.clr := $00000002
  58915. else
  58916. pTDefRegMap(@Self)^.&set := $00000002;
  58917. end;
  58918. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  58919. begin
  58920. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58921. end;
  58922. procedure TPORTG_CNEN.setCNEN2; inline;
  58923. begin
  58924. pTDefRegMap(@Self)^.&set := $00000004;
  58925. end;
  58926. procedure TPORTG_CNEN.clearCNEN2; inline;
  58927. begin
  58928. pTDefRegMap(@Self)^.clr := $00000004;
  58929. end;
  58930. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  58931. begin
  58932. if thebits = 0 then
  58933. pTDefRegMap(@Self)^.clr := $00000004
  58934. else
  58935. pTDefRegMap(@Self)^.&set := $00000004;
  58936. end;
  58937. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  58938. begin
  58939. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58940. end;
  58941. procedure TPORTG_CNEN.setCNEN3; inline;
  58942. begin
  58943. pTDefRegMap(@Self)^.&set := $00000008;
  58944. end;
  58945. procedure TPORTG_CNEN.clearCNEN3; inline;
  58946. begin
  58947. pTDefRegMap(@Self)^.clr := $00000008;
  58948. end;
  58949. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  58950. begin
  58951. if thebits = 0 then
  58952. pTDefRegMap(@Self)^.clr := $00000008
  58953. else
  58954. pTDefRegMap(@Self)^.&set := $00000008;
  58955. end;
  58956. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  58957. begin
  58958. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58959. end;
  58960. procedure TPORTG_CNEN.setCNEN4; inline;
  58961. begin
  58962. pTDefRegMap(@Self)^.&set := $00000010;
  58963. end;
  58964. procedure TPORTG_CNEN.clearCNEN4; inline;
  58965. begin
  58966. pTDefRegMap(@Self)^.clr := $00000010;
  58967. end;
  58968. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  58969. begin
  58970. if thebits = 0 then
  58971. pTDefRegMap(@Self)^.clr := $00000010
  58972. else
  58973. pTDefRegMap(@Self)^.&set := $00000010;
  58974. end;
  58975. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  58976. begin
  58977. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58978. end;
  58979. procedure TPORTG_CNEN.setCNEN5; inline;
  58980. begin
  58981. pTDefRegMap(@Self)^.&set := $00000020;
  58982. end;
  58983. procedure TPORTG_CNEN.clearCNEN5; inline;
  58984. begin
  58985. pTDefRegMap(@Self)^.clr := $00000020;
  58986. end;
  58987. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  58988. begin
  58989. if thebits = 0 then
  58990. pTDefRegMap(@Self)^.clr := $00000020
  58991. else
  58992. pTDefRegMap(@Self)^.&set := $00000020;
  58993. end;
  58994. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  58995. begin
  58996. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  58997. end;
  58998. procedure TPORTG_CNEN.setCNEN6; inline;
  58999. begin
  59000. pTDefRegMap(@Self)^.&set := $00000040;
  59001. end;
  59002. procedure TPORTG_CNEN.clearCNEN6; inline;
  59003. begin
  59004. pTDefRegMap(@Self)^.clr := $00000040;
  59005. end;
  59006. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  59007. begin
  59008. if thebits = 0 then
  59009. pTDefRegMap(@Self)^.clr := $00000040
  59010. else
  59011. pTDefRegMap(@Self)^.&set := $00000040;
  59012. end;
  59013. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  59014. begin
  59015. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59016. end;
  59017. procedure TPORTG_CNEN.setCNEN7; inline;
  59018. begin
  59019. pTDefRegMap(@Self)^.&set := $00000080;
  59020. end;
  59021. procedure TPORTG_CNEN.clearCNEN7; inline;
  59022. begin
  59023. pTDefRegMap(@Self)^.clr := $00000080;
  59024. end;
  59025. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  59026. begin
  59027. if thebits = 0 then
  59028. pTDefRegMap(@Self)^.clr := $00000080
  59029. else
  59030. pTDefRegMap(@Self)^.&set := $00000080;
  59031. end;
  59032. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  59033. begin
  59034. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59035. end;
  59036. procedure TPORTG_CNEN.setCNEN8; inline;
  59037. begin
  59038. pTDefRegMap(@Self)^.&set := $00000100;
  59039. end;
  59040. procedure TPORTG_CNEN.clearCNEN8; inline;
  59041. begin
  59042. pTDefRegMap(@Self)^.clr := $00000100;
  59043. end;
  59044. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  59045. begin
  59046. if thebits = 0 then
  59047. pTDefRegMap(@Self)^.clr := $00000100
  59048. else
  59049. pTDefRegMap(@Self)^.&set := $00000100;
  59050. end;
  59051. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  59052. begin
  59053. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59054. end;
  59055. procedure TPORTG_CNEN.setCNEN9; inline;
  59056. begin
  59057. pTDefRegMap(@Self)^.&set := $00000200;
  59058. end;
  59059. procedure TPORTG_CNEN.clearCNEN9; inline;
  59060. begin
  59061. pTDefRegMap(@Self)^.clr := $00000200;
  59062. end;
  59063. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  59064. begin
  59065. if thebits = 0 then
  59066. pTDefRegMap(@Self)^.clr := $00000200
  59067. else
  59068. pTDefRegMap(@Self)^.&set := $00000200;
  59069. end;
  59070. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  59071. begin
  59072. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59073. end;
  59074. procedure TPORTG_CNEN.setCNEN10; inline;
  59075. begin
  59076. pTDefRegMap(@Self)^.&set := $00000400;
  59077. end;
  59078. procedure TPORTG_CNEN.clearCNEN10; inline;
  59079. begin
  59080. pTDefRegMap(@Self)^.clr := $00000400;
  59081. end;
  59082. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  59083. begin
  59084. if thebits = 0 then
  59085. pTDefRegMap(@Self)^.clr := $00000400
  59086. else
  59087. pTDefRegMap(@Self)^.&set := $00000400;
  59088. end;
  59089. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  59090. begin
  59091. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59092. end;
  59093. procedure TPORTG_CNEN.setCNEN11; inline;
  59094. begin
  59095. pTDefRegMap(@Self)^.&set := $00000800;
  59096. end;
  59097. procedure TPORTG_CNEN.clearCNEN11; inline;
  59098. begin
  59099. pTDefRegMap(@Self)^.clr := $00000800;
  59100. end;
  59101. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  59102. begin
  59103. if thebits = 0 then
  59104. pTDefRegMap(@Self)^.clr := $00000800
  59105. else
  59106. pTDefRegMap(@Self)^.&set := $00000800;
  59107. end;
  59108. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  59109. begin
  59110. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59111. end;
  59112. procedure TPORTG_CNEN.setCNEN12; inline;
  59113. begin
  59114. pTDefRegMap(@Self)^.&set := $00001000;
  59115. end;
  59116. procedure TPORTG_CNEN.clearCNEN12; inline;
  59117. begin
  59118. pTDefRegMap(@Self)^.clr := $00001000;
  59119. end;
  59120. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  59121. begin
  59122. if thebits = 0 then
  59123. pTDefRegMap(@Self)^.clr := $00001000
  59124. else
  59125. pTDefRegMap(@Self)^.&set := $00001000;
  59126. end;
  59127. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  59128. begin
  59129. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59130. end;
  59131. procedure TPORTG_CNEN.setCNEN13; inline;
  59132. begin
  59133. pTDefRegMap(@Self)^.&set := $00002000;
  59134. end;
  59135. procedure TPORTG_CNEN.clearCNEN13; inline;
  59136. begin
  59137. pTDefRegMap(@Self)^.clr := $00002000;
  59138. end;
  59139. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  59140. begin
  59141. if thebits = 0 then
  59142. pTDefRegMap(@Self)^.clr := $00002000
  59143. else
  59144. pTDefRegMap(@Self)^.&set := $00002000;
  59145. end;
  59146. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  59147. begin
  59148. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59149. end;
  59150. procedure TPORTG_CNEN.setCNEN14; inline;
  59151. begin
  59152. pTDefRegMap(@Self)^.&set := $00004000;
  59153. end;
  59154. procedure TPORTG_CNEN.clearCNEN14; inline;
  59155. begin
  59156. pTDefRegMap(@Self)^.clr := $00004000;
  59157. end;
  59158. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  59159. begin
  59160. if thebits = 0 then
  59161. pTDefRegMap(@Self)^.clr := $00004000
  59162. else
  59163. pTDefRegMap(@Self)^.&set := $00004000;
  59164. end;
  59165. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  59166. begin
  59167. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59168. end;
  59169. procedure TPORTG_CNEN.setCNEN15; inline;
  59170. begin
  59171. pTDefRegMap(@Self)^.&set := $00008000;
  59172. end;
  59173. procedure TPORTG_CNEN.clearCNEN15; inline;
  59174. begin
  59175. pTDefRegMap(@Self)^.clr := $00008000;
  59176. end;
  59177. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  59178. begin
  59179. if thebits = 0 then
  59180. pTDefRegMap(@Self)^.clr := $00008000
  59181. else
  59182. pTDefRegMap(@Self)^.&set := $00008000;
  59183. end;
  59184. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  59185. begin
  59186. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59187. end;
  59188. procedure TPORTG_CNEN.setCNEN16; inline;
  59189. begin
  59190. pTDefRegMap(@Self)^.&set := $00010000;
  59191. end;
  59192. procedure TPORTG_CNEN.clearCNEN16; inline;
  59193. begin
  59194. pTDefRegMap(@Self)^.clr := $00010000;
  59195. end;
  59196. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  59197. begin
  59198. if thebits = 0 then
  59199. pTDefRegMap(@Self)^.clr := $00010000
  59200. else
  59201. pTDefRegMap(@Self)^.&set := $00010000;
  59202. end;
  59203. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  59204. begin
  59205. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  59206. end;
  59207. procedure TPORTG_CNEN.setCNEN17; inline;
  59208. begin
  59209. pTDefRegMap(@Self)^.&set := $00020000;
  59210. end;
  59211. procedure TPORTG_CNEN.clearCNEN17; inline;
  59212. begin
  59213. pTDefRegMap(@Self)^.clr := $00020000;
  59214. end;
  59215. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  59216. begin
  59217. if thebits = 0 then
  59218. pTDefRegMap(@Self)^.clr := $00020000
  59219. else
  59220. pTDefRegMap(@Self)^.&set := $00020000;
  59221. end;
  59222. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  59223. begin
  59224. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  59225. end;
  59226. procedure TPORTG_CNEN.setCNEN18; inline;
  59227. begin
  59228. pTDefRegMap(@Self)^.&set := $00040000;
  59229. end;
  59230. procedure TPORTG_CNEN.clearCNEN18; inline;
  59231. begin
  59232. pTDefRegMap(@Self)^.clr := $00040000;
  59233. end;
  59234. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  59235. begin
  59236. if thebits = 0 then
  59237. pTDefRegMap(@Self)^.clr := $00040000
  59238. else
  59239. pTDefRegMap(@Self)^.&set := $00040000;
  59240. end;
  59241. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  59242. begin
  59243. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  59244. end;
  59245. procedure TPORTG_CNEN.setCNEN19; inline;
  59246. begin
  59247. pTDefRegMap(@Self)^.&set := $00080000;
  59248. end;
  59249. procedure TPORTG_CNEN.clearCNEN19; inline;
  59250. begin
  59251. pTDefRegMap(@Self)^.clr := $00080000;
  59252. end;
  59253. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  59254. begin
  59255. if thebits = 0 then
  59256. pTDefRegMap(@Self)^.clr := $00080000
  59257. else
  59258. pTDefRegMap(@Self)^.&set := $00080000;
  59259. end;
  59260. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  59261. begin
  59262. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  59263. end;
  59264. procedure TPORTG_CNEN.setCNEN20; inline;
  59265. begin
  59266. pTDefRegMap(@Self)^.&set := $00100000;
  59267. end;
  59268. procedure TPORTG_CNEN.clearCNEN20; inline;
  59269. begin
  59270. pTDefRegMap(@Self)^.clr := $00100000;
  59271. end;
  59272. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  59273. begin
  59274. if thebits = 0 then
  59275. pTDefRegMap(@Self)^.clr := $00100000
  59276. else
  59277. pTDefRegMap(@Self)^.&set := $00100000;
  59278. end;
  59279. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  59280. begin
  59281. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  59282. end;
  59283. procedure TPORTG_CNEN.setCNEN21; inline;
  59284. begin
  59285. pTDefRegMap(@Self)^.&set := $00200000;
  59286. end;
  59287. procedure TPORTG_CNEN.clearCNEN21; inline;
  59288. begin
  59289. pTDefRegMap(@Self)^.clr := $00200000;
  59290. end;
  59291. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  59292. begin
  59293. if thebits = 0 then
  59294. pTDefRegMap(@Self)^.clr := $00200000
  59295. else
  59296. pTDefRegMap(@Self)^.&set := $00200000;
  59297. end;
  59298. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  59299. begin
  59300. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  59301. end;
  59302. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  59303. begin
  59304. pTDefRegMap(@Self)^.val := thebits;
  59305. end;
  59306. function TPORTG_CNEN.getw : TBits_32; inline;
  59307. begin
  59308. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59309. end;
  59310. procedure TPORTG_CNPUE.setCNPUE0; inline;
  59311. begin
  59312. pTDefRegMap(@Self)^.&set := $00000001;
  59313. end;
  59314. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  59315. begin
  59316. pTDefRegMap(@Self)^.clr := $00000001;
  59317. end;
  59318. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  59319. begin
  59320. if thebits = 0 then
  59321. pTDefRegMap(@Self)^.clr := $00000001
  59322. else
  59323. pTDefRegMap(@Self)^.&set := $00000001;
  59324. end;
  59325. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  59326. begin
  59327. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59328. end;
  59329. procedure TPORTG_CNPUE.setCNPUE1; inline;
  59330. begin
  59331. pTDefRegMap(@Self)^.&set := $00000002;
  59332. end;
  59333. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  59334. begin
  59335. pTDefRegMap(@Self)^.clr := $00000002;
  59336. end;
  59337. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  59338. begin
  59339. if thebits = 0 then
  59340. pTDefRegMap(@Self)^.clr := $00000002
  59341. else
  59342. pTDefRegMap(@Self)^.&set := $00000002;
  59343. end;
  59344. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  59345. begin
  59346. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59347. end;
  59348. procedure TPORTG_CNPUE.setCNPUE2; inline;
  59349. begin
  59350. pTDefRegMap(@Self)^.&set := $00000004;
  59351. end;
  59352. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  59353. begin
  59354. pTDefRegMap(@Self)^.clr := $00000004;
  59355. end;
  59356. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  59357. begin
  59358. if thebits = 0 then
  59359. pTDefRegMap(@Self)^.clr := $00000004
  59360. else
  59361. pTDefRegMap(@Self)^.&set := $00000004;
  59362. end;
  59363. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  59364. begin
  59365. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59366. end;
  59367. procedure TPORTG_CNPUE.setCNPUE3; inline;
  59368. begin
  59369. pTDefRegMap(@Self)^.&set := $00000008;
  59370. end;
  59371. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  59372. begin
  59373. pTDefRegMap(@Self)^.clr := $00000008;
  59374. end;
  59375. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  59376. begin
  59377. if thebits = 0 then
  59378. pTDefRegMap(@Self)^.clr := $00000008
  59379. else
  59380. pTDefRegMap(@Self)^.&set := $00000008;
  59381. end;
  59382. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  59383. begin
  59384. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59385. end;
  59386. procedure TPORTG_CNPUE.setCNPUE4; inline;
  59387. begin
  59388. pTDefRegMap(@Self)^.&set := $00000010;
  59389. end;
  59390. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  59391. begin
  59392. pTDefRegMap(@Self)^.clr := $00000010;
  59393. end;
  59394. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  59395. begin
  59396. if thebits = 0 then
  59397. pTDefRegMap(@Self)^.clr := $00000010
  59398. else
  59399. pTDefRegMap(@Self)^.&set := $00000010;
  59400. end;
  59401. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  59402. begin
  59403. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59404. end;
  59405. procedure TPORTG_CNPUE.setCNPUE5; inline;
  59406. begin
  59407. pTDefRegMap(@Self)^.&set := $00000020;
  59408. end;
  59409. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  59410. begin
  59411. pTDefRegMap(@Self)^.clr := $00000020;
  59412. end;
  59413. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  59414. begin
  59415. if thebits = 0 then
  59416. pTDefRegMap(@Self)^.clr := $00000020
  59417. else
  59418. pTDefRegMap(@Self)^.&set := $00000020;
  59419. end;
  59420. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  59421. begin
  59422. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59423. end;
  59424. procedure TPORTG_CNPUE.setCNPUE6; inline;
  59425. begin
  59426. pTDefRegMap(@Self)^.&set := $00000040;
  59427. end;
  59428. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  59429. begin
  59430. pTDefRegMap(@Self)^.clr := $00000040;
  59431. end;
  59432. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  59433. begin
  59434. if thebits = 0 then
  59435. pTDefRegMap(@Self)^.clr := $00000040
  59436. else
  59437. pTDefRegMap(@Self)^.&set := $00000040;
  59438. end;
  59439. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  59440. begin
  59441. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59442. end;
  59443. procedure TPORTG_CNPUE.setCNPUE7; inline;
  59444. begin
  59445. pTDefRegMap(@Self)^.&set := $00000080;
  59446. end;
  59447. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  59448. begin
  59449. pTDefRegMap(@Self)^.clr := $00000080;
  59450. end;
  59451. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  59452. begin
  59453. if thebits = 0 then
  59454. pTDefRegMap(@Self)^.clr := $00000080
  59455. else
  59456. pTDefRegMap(@Self)^.&set := $00000080;
  59457. end;
  59458. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  59459. begin
  59460. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59461. end;
  59462. procedure TPORTG_CNPUE.setCNPUE8; inline;
  59463. begin
  59464. pTDefRegMap(@Self)^.&set := $00000100;
  59465. end;
  59466. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  59467. begin
  59468. pTDefRegMap(@Self)^.clr := $00000100;
  59469. end;
  59470. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  59471. begin
  59472. if thebits = 0 then
  59473. pTDefRegMap(@Self)^.clr := $00000100
  59474. else
  59475. pTDefRegMap(@Self)^.&set := $00000100;
  59476. end;
  59477. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  59478. begin
  59479. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59480. end;
  59481. procedure TPORTG_CNPUE.setCNPUE9; inline;
  59482. begin
  59483. pTDefRegMap(@Self)^.&set := $00000200;
  59484. end;
  59485. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  59486. begin
  59487. pTDefRegMap(@Self)^.clr := $00000200;
  59488. end;
  59489. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  59490. begin
  59491. if thebits = 0 then
  59492. pTDefRegMap(@Self)^.clr := $00000200
  59493. else
  59494. pTDefRegMap(@Self)^.&set := $00000200;
  59495. end;
  59496. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  59497. begin
  59498. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59499. end;
  59500. procedure TPORTG_CNPUE.setCNPUE10; inline;
  59501. begin
  59502. pTDefRegMap(@Self)^.&set := $00000400;
  59503. end;
  59504. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  59505. begin
  59506. pTDefRegMap(@Self)^.clr := $00000400;
  59507. end;
  59508. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  59509. begin
  59510. if thebits = 0 then
  59511. pTDefRegMap(@Self)^.clr := $00000400
  59512. else
  59513. pTDefRegMap(@Self)^.&set := $00000400;
  59514. end;
  59515. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  59516. begin
  59517. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59518. end;
  59519. procedure TPORTG_CNPUE.setCNPUE11; inline;
  59520. begin
  59521. pTDefRegMap(@Self)^.&set := $00000800;
  59522. end;
  59523. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  59524. begin
  59525. pTDefRegMap(@Self)^.clr := $00000800;
  59526. end;
  59527. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  59528. begin
  59529. if thebits = 0 then
  59530. pTDefRegMap(@Self)^.clr := $00000800
  59531. else
  59532. pTDefRegMap(@Self)^.&set := $00000800;
  59533. end;
  59534. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  59535. begin
  59536. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59537. end;
  59538. procedure TPORTG_CNPUE.setCNPUE12; inline;
  59539. begin
  59540. pTDefRegMap(@Self)^.&set := $00001000;
  59541. end;
  59542. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  59543. begin
  59544. pTDefRegMap(@Self)^.clr := $00001000;
  59545. end;
  59546. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  59547. begin
  59548. if thebits = 0 then
  59549. pTDefRegMap(@Self)^.clr := $00001000
  59550. else
  59551. pTDefRegMap(@Self)^.&set := $00001000;
  59552. end;
  59553. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  59554. begin
  59555. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59556. end;
  59557. procedure TPORTG_CNPUE.setCNPUE13; inline;
  59558. begin
  59559. pTDefRegMap(@Self)^.&set := $00002000;
  59560. end;
  59561. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  59562. begin
  59563. pTDefRegMap(@Self)^.clr := $00002000;
  59564. end;
  59565. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  59566. begin
  59567. if thebits = 0 then
  59568. pTDefRegMap(@Self)^.clr := $00002000
  59569. else
  59570. pTDefRegMap(@Self)^.&set := $00002000;
  59571. end;
  59572. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  59573. begin
  59574. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59575. end;
  59576. procedure TPORTG_CNPUE.setCNPUE14; inline;
  59577. begin
  59578. pTDefRegMap(@Self)^.&set := $00004000;
  59579. end;
  59580. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  59581. begin
  59582. pTDefRegMap(@Self)^.clr := $00004000;
  59583. end;
  59584. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  59585. begin
  59586. if thebits = 0 then
  59587. pTDefRegMap(@Self)^.clr := $00004000
  59588. else
  59589. pTDefRegMap(@Self)^.&set := $00004000;
  59590. end;
  59591. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  59592. begin
  59593. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59594. end;
  59595. procedure TPORTG_CNPUE.setCNPUE15; inline;
  59596. begin
  59597. pTDefRegMap(@Self)^.&set := $00008000;
  59598. end;
  59599. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  59600. begin
  59601. pTDefRegMap(@Self)^.clr := $00008000;
  59602. end;
  59603. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  59604. begin
  59605. if thebits = 0 then
  59606. pTDefRegMap(@Self)^.clr := $00008000
  59607. else
  59608. pTDefRegMap(@Self)^.&set := $00008000;
  59609. end;
  59610. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  59611. begin
  59612. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59613. end;
  59614. procedure TPORTG_CNPUE.setCNPUE16; inline;
  59615. begin
  59616. pTDefRegMap(@Self)^.&set := $00010000;
  59617. end;
  59618. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  59619. begin
  59620. pTDefRegMap(@Self)^.clr := $00010000;
  59621. end;
  59622. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  59623. begin
  59624. if thebits = 0 then
  59625. pTDefRegMap(@Self)^.clr := $00010000
  59626. else
  59627. pTDefRegMap(@Self)^.&set := $00010000;
  59628. end;
  59629. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  59630. begin
  59631. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  59632. end;
  59633. procedure TPORTG_CNPUE.setCNPUE17; inline;
  59634. begin
  59635. pTDefRegMap(@Self)^.&set := $00020000;
  59636. end;
  59637. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  59638. begin
  59639. pTDefRegMap(@Self)^.clr := $00020000;
  59640. end;
  59641. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  59642. begin
  59643. if thebits = 0 then
  59644. pTDefRegMap(@Self)^.clr := $00020000
  59645. else
  59646. pTDefRegMap(@Self)^.&set := $00020000;
  59647. end;
  59648. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  59649. begin
  59650. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  59651. end;
  59652. procedure TPORTG_CNPUE.setCNPUE18; inline;
  59653. begin
  59654. pTDefRegMap(@Self)^.&set := $00040000;
  59655. end;
  59656. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  59657. begin
  59658. pTDefRegMap(@Self)^.clr := $00040000;
  59659. end;
  59660. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  59661. begin
  59662. if thebits = 0 then
  59663. pTDefRegMap(@Self)^.clr := $00040000
  59664. else
  59665. pTDefRegMap(@Self)^.&set := $00040000;
  59666. end;
  59667. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  59668. begin
  59669. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  59670. end;
  59671. procedure TPORTG_CNPUE.setCNPUE19; inline;
  59672. begin
  59673. pTDefRegMap(@Self)^.&set := $00080000;
  59674. end;
  59675. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  59676. begin
  59677. pTDefRegMap(@Self)^.clr := $00080000;
  59678. end;
  59679. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  59680. begin
  59681. if thebits = 0 then
  59682. pTDefRegMap(@Self)^.clr := $00080000
  59683. else
  59684. pTDefRegMap(@Self)^.&set := $00080000;
  59685. end;
  59686. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  59687. begin
  59688. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  59689. end;
  59690. procedure TPORTG_CNPUE.setCNPUE20; inline;
  59691. begin
  59692. pTDefRegMap(@Self)^.&set := $00100000;
  59693. end;
  59694. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  59695. begin
  59696. pTDefRegMap(@Self)^.clr := $00100000;
  59697. end;
  59698. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  59699. begin
  59700. if thebits = 0 then
  59701. pTDefRegMap(@Self)^.clr := $00100000
  59702. else
  59703. pTDefRegMap(@Self)^.&set := $00100000;
  59704. end;
  59705. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  59706. begin
  59707. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  59708. end;
  59709. procedure TPORTG_CNPUE.setCNPUE21; inline;
  59710. begin
  59711. pTDefRegMap(@Self)^.&set := $00200000;
  59712. end;
  59713. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  59714. begin
  59715. pTDefRegMap(@Self)^.clr := $00200000;
  59716. end;
  59717. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  59718. begin
  59719. if thebits = 0 then
  59720. pTDefRegMap(@Self)^.clr := $00200000
  59721. else
  59722. pTDefRegMap(@Self)^.&set := $00200000;
  59723. end;
  59724. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  59725. begin
  59726. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  59727. end;
  59728. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  59729. begin
  59730. pTDefRegMap(@Self)^.val := thebits;
  59731. end;
  59732. function TPORTG_CNPUE.getw : TBits_32; inline;
  59733. begin
  59734. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59735. end;
  59736. procedure TETH_ETHCON1.setBUFCDEC; inline;
  59737. begin
  59738. pTDefRegMap(@Self)^.&set := $00000001;
  59739. end;
  59740. procedure TETH_ETHCON1.clearBUFCDEC; inline;
  59741. begin
  59742. pTDefRegMap(@Self)^.clr := $00000001;
  59743. end;
  59744. procedure TETH_ETHCON1.setBUFCDEC(thebits : TBits_1); inline;
  59745. begin
  59746. if thebits = 0 then
  59747. pTDefRegMap(@Self)^.clr := $00000001
  59748. else
  59749. pTDefRegMap(@Self)^.&set := $00000001;
  59750. end;
  59751. function TETH_ETHCON1.getBUFCDEC : TBits_1; inline;
  59752. begin
  59753. getBUFCDEC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59754. end;
  59755. procedure TETH_ETHCON1.setMANFC; inline;
  59756. begin
  59757. pTDefRegMap(@Self)^.&set := $00000010;
  59758. end;
  59759. procedure TETH_ETHCON1.clearMANFC; inline;
  59760. begin
  59761. pTDefRegMap(@Self)^.clr := $00000010;
  59762. end;
  59763. procedure TETH_ETHCON1.setMANFC(thebits : TBits_1); inline;
  59764. begin
  59765. if thebits = 0 then
  59766. pTDefRegMap(@Self)^.clr := $00000010
  59767. else
  59768. pTDefRegMap(@Self)^.&set := $00000010;
  59769. end;
  59770. function TETH_ETHCON1.getMANFC : TBits_1; inline;
  59771. begin
  59772. getMANFC := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59773. end;
  59774. procedure TETH_ETHCON1.setAUTOFC; inline;
  59775. begin
  59776. pTDefRegMap(@Self)^.&set := $00000080;
  59777. end;
  59778. procedure TETH_ETHCON1.clearAUTOFC; inline;
  59779. begin
  59780. pTDefRegMap(@Self)^.clr := $00000080;
  59781. end;
  59782. procedure TETH_ETHCON1.setAUTOFC(thebits : TBits_1); inline;
  59783. begin
  59784. if thebits = 0 then
  59785. pTDefRegMap(@Self)^.clr := $00000080
  59786. else
  59787. pTDefRegMap(@Self)^.&set := $00000080;
  59788. end;
  59789. function TETH_ETHCON1.getAUTOFC : TBits_1; inline;
  59790. begin
  59791. getAUTOFC := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59792. end;
  59793. procedure TETH_ETHCON1.setRXEN; inline;
  59794. begin
  59795. pTDefRegMap(@Self)^.&set := $00000100;
  59796. end;
  59797. procedure TETH_ETHCON1.clearRXEN; inline;
  59798. begin
  59799. pTDefRegMap(@Self)^.clr := $00000100;
  59800. end;
  59801. procedure TETH_ETHCON1.setRXEN(thebits : TBits_1); inline;
  59802. begin
  59803. if thebits = 0 then
  59804. pTDefRegMap(@Self)^.clr := $00000100
  59805. else
  59806. pTDefRegMap(@Self)^.&set := $00000100;
  59807. end;
  59808. function TETH_ETHCON1.getRXEN : TBits_1; inline;
  59809. begin
  59810. getRXEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59811. end;
  59812. procedure TETH_ETHCON1.setTXRTS; inline;
  59813. begin
  59814. pTDefRegMap(@Self)^.&set := $00000200;
  59815. end;
  59816. procedure TETH_ETHCON1.clearTXRTS; inline;
  59817. begin
  59818. pTDefRegMap(@Self)^.clr := $00000200;
  59819. end;
  59820. procedure TETH_ETHCON1.setTXRTS(thebits : TBits_1); inline;
  59821. begin
  59822. if thebits = 0 then
  59823. pTDefRegMap(@Self)^.clr := $00000200
  59824. else
  59825. pTDefRegMap(@Self)^.&set := $00000200;
  59826. end;
  59827. function TETH_ETHCON1.getTXRTS : TBits_1; inline;
  59828. begin
  59829. getTXRTS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59830. end;
  59831. procedure TETH_ETHCON1.setSIDL; inline;
  59832. begin
  59833. pTDefRegMap(@Self)^.&set := $00002000;
  59834. end;
  59835. procedure TETH_ETHCON1.clearSIDL; inline;
  59836. begin
  59837. pTDefRegMap(@Self)^.clr := $00002000;
  59838. end;
  59839. procedure TETH_ETHCON1.setSIDL(thebits : TBits_1); inline;
  59840. begin
  59841. if thebits = 0 then
  59842. pTDefRegMap(@Self)^.clr := $00002000
  59843. else
  59844. pTDefRegMap(@Self)^.&set := $00002000;
  59845. end;
  59846. function TETH_ETHCON1.getSIDL : TBits_1; inline;
  59847. begin
  59848. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59849. end;
  59850. procedure TETH_ETHCON1.setON; inline;
  59851. begin
  59852. pTDefRegMap(@Self)^.&set := $00008000;
  59853. end;
  59854. procedure TETH_ETHCON1.clearON; inline;
  59855. begin
  59856. pTDefRegMap(@Self)^.clr := $00008000;
  59857. end;
  59858. procedure TETH_ETHCON1.setON(thebits : TBits_1); inline;
  59859. begin
  59860. if thebits = 0 then
  59861. pTDefRegMap(@Self)^.clr := $00008000
  59862. else
  59863. pTDefRegMap(@Self)^.&set := $00008000;
  59864. end;
  59865. function TETH_ETHCON1.getON : TBits_1; inline;
  59866. begin
  59867. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59868. end;
  59869. procedure TETH_ETHCON1.setPTV(thebits : TBits_16); inline;
  59870. begin
  59871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0000FFFF or ( thebits shl 16 );
  59872. end;
  59873. function TETH_ETHCON1.getPTV : TBits_16; inline;
  59874. begin
  59875. getPTV := (pTDefRegMap(@Self)^.val and $FFFF0000) shr 16;
  59876. end;
  59877. procedure TETH_ETHCON1.setw(thebits : TBits_32); inline;
  59878. begin
  59879. pTDefRegMap(@Self)^.val := thebits;
  59880. end;
  59881. function TETH_ETHCON1.getw : TBits_32; inline;
  59882. begin
  59883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59884. end;
  59885. procedure TETH_ETHCON2.setRXBUF_SZ(thebits : TBits_7); inline;
  59886. begin
  59887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF80F or ( thebits shl 4 );
  59888. end;
  59889. function TETH_ETHCON2.getRXBUF_SZ : TBits_7; inline;
  59890. begin
  59891. getRXBUF_SZ := (pTDefRegMap(@Self)^.val and $000007F0) shr 4;
  59892. end;
  59893. procedure TETH_ETHCON2.setw(thebits : TBits_32); inline;
  59894. begin
  59895. pTDefRegMap(@Self)^.val := thebits;
  59896. end;
  59897. function TETH_ETHCON2.getw : TBits_32; inline;
  59898. begin
  59899. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59900. end;
  59901. procedure TETH_ETHTXST.setTXSTADDR(thebits : TBits_30); inline;
  59902. begin
  59903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  59904. end;
  59905. function TETH_ETHTXST.getTXSTADDR : TBits_30; inline;
  59906. begin
  59907. getTXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  59908. end;
  59909. procedure TETH_ETHTXST.setw(thebits : TBits_32); inline;
  59910. begin
  59911. pTDefRegMap(@Self)^.val := thebits;
  59912. end;
  59913. function TETH_ETHTXST.getw : TBits_32; inline;
  59914. begin
  59915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59916. end;
  59917. procedure TETH_ETHRXST.setRXSTADDR(thebits : TBits_30); inline;
  59918. begin
  59919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  59920. end;
  59921. function TETH_ETHRXST.getRXSTADDR : TBits_30; inline;
  59922. begin
  59923. getRXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  59924. end;
  59925. procedure TETH_ETHRXST.setw(thebits : TBits_32); inline;
  59926. begin
  59927. pTDefRegMap(@Self)^.val := thebits;
  59928. end;
  59929. function TETH_ETHRXST.getw : TBits_32; inline;
  59930. begin
  59931. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59932. end;
  59933. procedure TETH_ETHHT0.setw(thebits : TBits_32); inline;
  59934. begin
  59935. pTDefRegMap(@Self)^.val := thebits;
  59936. end;
  59937. function TETH_ETHHT0.getw : TBits_32; inline;
  59938. begin
  59939. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59940. end;
  59941. procedure TETH_ETHHT0.setHTLOWER(thebits : TBits_32); inline;
  59942. begin
  59943. pTDefRegMap(@Self)^.val := thebits;
  59944. end;
  59945. function TETH_ETHHT0.getHTLOWER : TBits_32; inline;
  59946. begin
  59947. getHTLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59948. end;
  59949. procedure TETH_ETHHT1.setw(thebits : TBits_32); inline;
  59950. begin
  59951. pTDefRegMap(@Self)^.val := thebits;
  59952. end;
  59953. function TETH_ETHHT1.getw : TBits_32; inline;
  59954. begin
  59955. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59956. end;
  59957. procedure TETH_ETHHT1.setHTUPPER(thebits : TBits_32); inline;
  59958. begin
  59959. pTDefRegMap(@Self)^.val := thebits;
  59960. end;
  59961. function TETH_ETHHT1.getHTUPPER : TBits_32; inline;
  59962. begin
  59963. getHTUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59964. end;
  59965. procedure TETH_ETHPMM0.setw(thebits : TBits_32); inline;
  59966. begin
  59967. pTDefRegMap(@Self)^.val := thebits;
  59968. end;
  59969. function TETH_ETHPMM0.getw : TBits_32; inline;
  59970. begin
  59971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59972. end;
  59973. procedure TETH_ETHPMM0.setPMMLOWER(thebits : TBits_32); inline;
  59974. begin
  59975. pTDefRegMap(@Self)^.val := thebits;
  59976. end;
  59977. function TETH_ETHPMM0.getPMMLOWER : TBits_32; inline;
  59978. begin
  59979. getPMMLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59980. end;
  59981. procedure TETH_ETHPMM1.setw(thebits : TBits_32); inline;
  59982. begin
  59983. pTDefRegMap(@Self)^.val := thebits;
  59984. end;
  59985. function TETH_ETHPMM1.getw : TBits_32; inline;
  59986. begin
  59987. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59988. end;
  59989. procedure TETH_ETHPMM1.setPMMUPPER(thebits : TBits_32); inline;
  59990. begin
  59991. pTDefRegMap(@Self)^.val := thebits;
  59992. end;
  59993. function TETH_ETHPMM1.getPMMUPPER : TBits_32; inline;
  59994. begin
  59995. getPMMUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59996. end;
  59997. procedure TETH_ETHPMCS.setPMCS(thebits : TBits_16); inline;
  59998. begin
  59999. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60000. end;
  60001. function TETH_ETHPMCS.getPMCS : TBits_16; inline;
  60002. begin
  60003. getPMCS := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60004. end;
  60005. procedure TETH_ETHPMCS.setw(thebits : TBits_32); inline;
  60006. begin
  60007. pTDefRegMap(@Self)^.val := thebits;
  60008. end;
  60009. function TETH_ETHPMCS.getw : TBits_32; inline;
  60010. begin
  60011. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60012. end;
  60013. procedure TETH_ETHPMO.setPMO(thebits : TBits_16); inline;
  60014. begin
  60015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60016. end;
  60017. function TETH_ETHPMO.getPMO : TBits_16; inline;
  60018. begin
  60019. getPMO := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60020. end;
  60021. procedure TETH_ETHPMO.setw(thebits : TBits_32); inline;
  60022. begin
  60023. pTDefRegMap(@Self)^.val := thebits;
  60024. end;
  60025. function TETH_ETHPMO.getw : TBits_32; inline;
  60026. begin
  60027. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60028. end;
  60029. procedure TETH_ETHRXFC.setBCEN; inline;
  60030. begin
  60031. pTDefRegMap(@Self)^.&set := $00000001;
  60032. end;
  60033. procedure TETH_ETHRXFC.clearBCEN; inline;
  60034. begin
  60035. pTDefRegMap(@Self)^.clr := $00000001;
  60036. end;
  60037. procedure TETH_ETHRXFC.setBCEN(thebits : TBits_1); inline;
  60038. begin
  60039. if thebits = 0 then
  60040. pTDefRegMap(@Self)^.clr := $00000001
  60041. else
  60042. pTDefRegMap(@Self)^.&set := $00000001;
  60043. end;
  60044. function TETH_ETHRXFC.getBCEN : TBits_1; inline;
  60045. begin
  60046. getBCEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60047. end;
  60048. procedure TETH_ETHRXFC.setMCEN; inline;
  60049. begin
  60050. pTDefRegMap(@Self)^.&set := $00000002;
  60051. end;
  60052. procedure TETH_ETHRXFC.clearMCEN; inline;
  60053. begin
  60054. pTDefRegMap(@Self)^.clr := $00000002;
  60055. end;
  60056. procedure TETH_ETHRXFC.setMCEN(thebits : TBits_1); inline;
  60057. begin
  60058. if thebits = 0 then
  60059. pTDefRegMap(@Self)^.clr := $00000002
  60060. else
  60061. pTDefRegMap(@Self)^.&set := $00000002;
  60062. end;
  60063. function TETH_ETHRXFC.getMCEN : TBits_1; inline;
  60064. begin
  60065. getMCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60066. end;
  60067. procedure TETH_ETHRXFC.setNOTMEEN; inline;
  60068. begin
  60069. pTDefRegMap(@Self)^.&set := $00000004;
  60070. end;
  60071. procedure TETH_ETHRXFC.clearNOTMEEN; inline;
  60072. begin
  60073. pTDefRegMap(@Self)^.clr := $00000004;
  60074. end;
  60075. procedure TETH_ETHRXFC.setNOTMEEN(thebits : TBits_1); inline;
  60076. begin
  60077. if thebits = 0 then
  60078. pTDefRegMap(@Self)^.clr := $00000004
  60079. else
  60080. pTDefRegMap(@Self)^.&set := $00000004;
  60081. end;
  60082. function TETH_ETHRXFC.getNOTMEEN : TBits_1; inline;
  60083. begin
  60084. getNOTMEEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60085. end;
  60086. procedure TETH_ETHRXFC.setUCEN; inline;
  60087. begin
  60088. pTDefRegMap(@Self)^.&set := $00000008;
  60089. end;
  60090. procedure TETH_ETHRXFC.clearUCEN; inline;
  60091. begin
  60092. pTDefRegMap(@Self)^.clr := $00000008;
  60093. end;
  60094. procedure TETH_ETHRXFC.setUCEN(thebits : TBits_1); inline;
  60095. begin
  60096. if thebits = 0 then
  60097. pTDefRegMap(@Self)^.clr := $00000008
  60098. else
  60099. pTDefRegMap(@Self)^.&set := $00000008;
  60100. end;
  60101. function TETH_ETHRXFC.getUCEN : TBits_1; inline;
  60102. begin
  60103. getUCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60104. end;
  60105. procedure TETH_ETHRXFC.setRUNTEN; inline;
  60106. begin
  60107. pTDefRegMap(@Self)^.&set := $00000010;
  60108. end;
  60109. procedure TETH_ETHRXFC.clearRUNTEN; inline;
  60110. begin
  60111. pTDefRegMap(@Self)^.clr := $00000010;
  60112. end;
  60113. procedure TETH_ETHRXFC.setRUNTEN(thebits : TBits_1); inline;
  60114. begin
  60115. if thebits = 0 then
  60116. pTDefRegMap(@Self)^.clr := $00000010
  60117. else
  60118. pTDefRegMap(@Self)^.&set := $00000010;
  60119. end;
  60120. function TETH_ETHRXFC.getRUNTEN : TBits_1; inline;
  60121. begin
  60122. getRUNTEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60123. end;
  60124. procedure TETH_ETHRXFC.setRUNTERREN; inline;
  60125. begin
  60126. pTDefRegMap(@Self)^.&set := $00000020;
  60127. end;
  60128. procedure TETH_ETHRXFC.clearRUNTERREN; inline;
  60129. begin
  60130. pTDefRegMap(@Self)^.clr := $00000020;
  60131. end;
  60132. procedure TETH_ETHRXFC.setRUNTERREN(thebits : TBits_1); inline;
  60133. begin
  60134. if thebits = 0 then
  60135. pTDefRegMap(@Self)^.clr := $00000020
  60136. else
  60137. pTDefRegMap(@Self)^.&set := $00000020;
  60138. end;
  60139. function TETH_ETHRXFC.getRUNTERREN : TBits_1; inline;
  60140. begin
  60141. getRUNTERREN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60142. end;
  60143. procedure TETH_ETHRXFC.setCRCOKEN; inline;
  60144. begin
  60145. pTDefRegMap(@Self)^.&set := $00000040;
  60146. end;
  60147. procedure TETH_ETHRXFC.clearCRCOKEN; inline;
  60148. begin
  60149. pTDefRegMap(@Self)^.clr := $00000040;
  60150. end;
  60151. procedure TETH_ETHRXFC.setCRCOKEN(thebits : TBits_1); inline;
  60152. begin
  60153. if thebits = 0 then
  60154. pTDefRegMap(@Self)^.clr := $00000040
  60155. else
  60156. pTDefRegMap(@Self)^.&set := $00000040;
  60157. end;
  60158. function TETH_ETHRXFC.getCRCOKEN : TBits_1; inline;
  60159. begin
  60160. getCRCOKEN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60161. end;
  60162. procedure TETH_ETHRXFC.setCRCERREN; inline;
  60163. begin
  60164. pTDefRegMap(@Self)^.&set := $00000080;
  60165. end;
  60166. procedure TETH_ETHRXFC.clearCRCERREN; inline;
  60167. begin
  60168. pTDefRegMap(@Self)^.clr := $00000080;
  60169. end;
  60170. procedure TETH_ETHRXFC.setCRCERREN(thebits : TBits_1); inline;
  60171. begin
  60172. if thebits = 0 then
  60173. pTDefRegMap(@Self)^.clr := $00000080
  60174. else
  60175. pTDefRegMap(@Self)^.&set := $00000080;
  60176. end;
  60177. function TETH_ETHRXFC.getCRCERREN : TBits_1; inline;
  60178. begin
  60179. getCRCERREN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60180. end;
  60181. procedure TETH_ETHRXFC.setPMMODE(thebits : TBits_4); inline;
  60182. begin
  60183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  60184. end;
  60185. function TETH_ETHRXFC.getPMMODE : TBits_4; inline;
  60186. begin
  60187. getPMMODE := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  60188. end;
  60189. procedure TETH_ETHRXFC.setNOTPM; inline;
  60190. begin
  60191. pTDefRegMap(@Self)^.&set := $00001000;
  60192. end;
  60193. procedure TETH_ETHRXFC.clearNOTPM; inline;
  60194. begin
  60195. pTDefRegMap(@Self)^.clr := $00001000;
  60196. end;
  60197. procedure TETH_ETHRXFC.setNOTPM(thebits : TBits_1); inline;
  60198. begin
  60199. if thebits = 0 then
  60200. pTDefRegMap(@Self)^.clr := $00001000
  60201. else
  60202. pTDefRegMap(@Self)^.&set := $00001000;
  60203. end;
  60204. function TETH_ETHRXFC.getNOTPM : TBits_1; inline;
  60205. begin
  60206. getNOTPM := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  60207. end;
  60208. procedure TETH_ETHRXFC.setMPEN; inline;
  60209. begin
  60210. pTDefRegMap(@Self)^.&set := $00004000;
  60211. end;
  60212. procedure TETH_ETHRXFC.clearMPEN; inline;
  60213. begin
  60214. pTDefRegMap(@Self)^.clr := $00004000;
  60215. end;
  60216. procedure TETH_ETHRXFC.setMPEN(thebits : TBits_1); inline;
  60217. begin
  60218. if thebits = 0 then
  60219. pTDefRegMap(@Self)^.clr := $00004000
  60220. else
  60221. pTDefRegMap(@Self)^.&set := $00004000;
  60222. end;
  60223. function TETH_ETHRXFC.getMPEN : TBits_1; inline;
  60224. begin
  60225. getMPEN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60226. end;
  60227. procedure TETH_ETHRXFC.setHTEN; inline;
  60228. begin
  60229. pTDefRegMap(@Self)^.&set := $00008000;
  60230. end;
  60231. procedure TETH_ETHRXFC.clearHTEN; inline;
  60232. begin
  60233. pTDefRegMap(@Self)^.clr := $00008000;
  60234. end;
  60235. procedure TETH_ETHRXFC.setHTEN(thebits : TBits_1); inline;
  60236. begin
  60237. if thebits = 0 then
  60238. pTDefRegMap(@Self)^.clr := $00008000
  60239. else
  60240. pTDefRegMap(@Self)^.&set := $00008000;
  60241. end;
  60242. function TETH_ETHRXFC.getHTEN : TBits_1; inline;
  60243. begin
  60244. getHTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  60245. end;
  60246. procedure TETH_ETHRXFC.setw(thebits : TBits_32); inline;
  60247. begin
  60248. pTDefRegMap(@Self)^.val := thebits;
  60249. end;
  60250. function TETH_ETHRXFC.getw : TBits_32; inline;
  60251. begin
  60252. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60253. end;
  60254. procedure TETH_ETHRXWM.setRXEWM(thebits : TBits_8); inline;
  60255. begin
  60256. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  60257. end;
  60258. function TETH_ETHRXWM.getRXEWM : TBits_8; inline;
  60259. begin
  60260. getRXEWM := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  60261. end;
  60262. procedure TETH_ETHRXWM.setRXFWM(thebits : TBits_8); inline;
  60263. begin
  60264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  60265. end;
  60266. function TETH_ETHRXWM.getRXFWM : TBits_8; inline;
  60267. begin
  60268. getRXFWM := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  60269. end;
  60270. procedure TETH_ETHRXWM.setw(thebits : TBits_32); inline;
  60271. begin
  60272. pTDefRegMap(@Self)^.val := thebits;
  60273. end;
  60274. function TETH_ETHRXWM.getw : TBits_32; inline;
  60275. begin
  60276. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60277. end;
  60278. procedure TETH_ETHIEN.setRXOVFLWIE; inline;
  60279. begin
  60280. pTDefRegMap(@Self)^.&set := $00000001;
  60281. end;
  60282. procedure TETH_ETHIEN.clearRXOVFLWIE; inline;
  60283. begin
  60284. pTDefRegMap(@Self)^.clr := $00000001;
  60285. end;
  60286. procedure TETH_ETHIEN.setRXOVFLWIE(thebits : TBits_1); inline;
  60287. begin
  60288. if thebits = 0 then
  60289. pTDefRegMap(@Self)^.clr := $00000001
  60290. else
  60291. pTDefRegMap(@Self)^.&set := $00000001;
  60292. end;
  60293. function TETH_ETHIEN.getRXOVFLWIE : TBits_1; inline;
  60294. begin
  60295. getRXOVFLWIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60296. end;
  60297. procedure TETH_ETHIEN.setRXBUFNAIE; inline;
  60298. begin
  60299. pTDefRegMap(@Self)^.&set := $00000002;
  60300. end;
  60301. procedure TETH_ETHIEN.clearRXBUFNAIE; inline;
  60302. begin
  60303. pTDefRegMap(@Self)^.clr := $00000002;
  60304. end;
  60305. procedure TETH_ETHIEN.setRXBUFNAIE(thebits : TBits_1); inline;
  60306. begin
  60307. if thebits = 0 then
  60308. pTDefRegMap(@Self)^.clr := $00000002
  60309. else
  60310. pTDefRegMap(@Self)^.&set := $00000002;
  60311. end;
  60312. function TETH_ETHIEN.getRXBUFNAIE : TBits_1; inline;
  60313. begin
  60314. getRXBUFNAIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60315. end;
  60316. procedure TETH_ETHIEN.setTXABORTIE; inline;
  60317. begin
  60318. pTDefRegMap(@Self)^.&set := $00000004;
  60319. end;
  60320. procedure TETH_ETHIEN.clearTXABORTIE; inline;
  60321. begin
  60322. pTDefRegMap(@Self)^.clr := $00000004;
  60323. end;
  60324. procedure TETH_ETHIEN.setTXABORTIE(thebits : TBits_1); inline;
  60325. begin
  60326. if thebits = 0 then
  60327. pTDefRegMap(@Self)^.clr := $00000004
  60328. else
  60329. pTDefRegMap(@Self)^.&set := $00000004;
  60330. end;
  60331. function TETH_ETHIEN.getTXABORTIE : TBits_1; inline;
  60332. begin
  60333. getTXABORTIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60334. end;
  60335. procedure TETH_ETHIEN.setTXDONEIE; inline;
  60336. begin
  60337. pTDefRegMap(@Self)^.&set := $00000008;
  60338. end;
  60339. procedure TETH_ETHIEN.clearTXDONEIE; inline;
  60340. begin
  60341. pTDefRegMap(@Self)^.clr := $00000008;
  60342. end;
  60343. procedure TETH_ETHIEN.setTXDONEIE(thebits : TBits_1); inline;
  60344. begin
  60345. if thebits = 0 then
  60346. pTDefRegMap(@Self)^.clr := $00000008
  60347. else
  60348. pTDefRegMap(@Self)^.&set := $00000008;
  60349. end;
  60350. function TETH_ETHIEN.getTXDONEIE : TBits_1; inline;
  60351. begin
  60352. getTXDONEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60353. end;
  60354. procedure TETH_ETHIEN.setRXACTIE; inline;
  60355. begin
  60356. pTDefRegMap(@Self)^.&set := $00000020;
  60357. end;
  60358. procedure TETH_ETHIEN.clearRXACTIE; inline;
  60359. begin
  60360. pTDefRegMap(@Self)^.clr := $00000020;
  60361. end;
  60362. procedure TETH_ETHIEN.setRXACTIE(thebits : TBits_1); inline;
  60363. begin
  60364. if thebits = 0 then
  60365. pTDefRegMap(@Self)^.clr := $00000020
  60366. else
  60367. pTDefRegMap(@Self)^.&set := $00000020;
  60368. end;
  60369. function TETH_ETHIEN.getRXACTIE : TBits_1; inline;
  60370. begin
  60371. getRXACTIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60372. end;
  60373. procedure TETH_ETHIEN.setPKTPENDIE; inline;
  60374. begin
  60375. pTDefRegMap(@Self)^.&set := $00000040;
  60376. end;
  60377. procedure TETH_ETHIEN.clearPKTPENDIE; inline;
  60378. begin
  60379. pTDefRegMap(@Self)^.clr := $00000040;
  60380. end;
  60381. procedure TETH_ETHIEN.setPKTPENDIE(thebits : TBits_1); inline;
  60382. begin
  60383. if thebits = 0 then
  60384. pTDefRegMap(@Self)^.clr := $00000040
  60385. else
  60386. pTDefRegMap(@Self)^.&set := $00000040;
  60387. end;
  60388. function TETH_ETHIEN.getPKTPENDIE : TBits_1; inline;
  60389. begin
  60390. getPKTPENDIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60391. end;
  60392. procedure TETH_ETHIEN.setRXDONEIE; inline;
  60393. begin
  60394. pTDefRegMap(@Self)^.&set := $00000080;
  60395. end;
  60396. procedure TETH_ETHIEN.clearRXDONEIE; inline;
  60397. begin
  60398. pTDefRegMap(@Self)^.clr := $00000080;
  60399. end;
  60400. procedure TETH_ETHIEN.setRXDONEIE(thebits : TBits_1); inline;
  60401. begin
  60402. if thebits = 0 then
  60403. pTDefRegMap(@Self)^.clr := $00000080
  60404. else
  60405. pTDefRegMap(@Self)^.&set := $00000080;
  60406. end;
  60407. function TETH_ETHIEN.getRXDONEIE : TBits_1; inline;
  60408. begin
  60409. getRXDONEIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60410. end;
  60411. procedure TETH_ETHIEN.setFWMARKIE; inline;
  60412. begin
  60413. pTDefRegMap(@Self)^.&set := $00000100;
  60414. end;
  60415. procedure TETH_ETHIEN.clearFWMARKIE; inline;
  60416. begin
  60417. pTDefRegMap(@Self)^.clr := $00000100;
  60418. end;
  60419. procedure TETH_ETHIEN.setFWMARKIE(thebits : TBits_1); inline;
  60420. begin
  60421. if thebits = 0 then
  60422. pTDefRegMap(@Self)^.clr := $00000100
  60423. else
  60424. pTDefRegMap(@Self)^.&set := $00000100;
  60425. end;
  60426. function TETH_ETHIEN.getFWMARKIE : TBits_1; inline;
  60427. begin
  60428. getFWMARKIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60429. end;
  60430. procedure TETH_ETHIEN.setEWMARKIE; inline;
  60431. begin
  60432. pTDefRegMap(@Self)^.&set := $00000200;
  60433. end;
  60434. procedure TETH_ETHIEN.clearEWMARKIE; inline;
  60435. begin
  60436. pTDefRegMap(@Self)^.clr := $00000200;
  60437. end;
  60438. procedure TETH_ETHIEN.setEWMARKIE(thebits : TBits_1); inline;
  60439. begin
  60440. if thebits = 0 then
  60441. pTDefRegMap(@Self)^.clr := $00000200
  60442. else
  60443. pTDefRegMap(@Self)^.&set := $00000200;
  60444. end;
  60445. function TETH_ETHIEN.getEWMARKIE : TBits_1; inline;
  60446. begin
  60447. getEWMARKIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60448. end;
  60449. procedure TETH_ETHIEN.setRXBUSEIE; inline;
  60450. begin
  60451. pTDefRegMap(@Self)^.&set := $00002000;
  60452. end;
  60453. procedure TETH_ETHIEN.clearRXBUSEIE; inline;
  60454. begin
  60455. pTDefRegMap(@Self)^.clr := $00002000;
  60456. end;
  60457. procedure TETH_ETHIEN.setRXBUSEIE(thebits : TBits_1); inline;
  60458. begin
  60459. if thebits = 0 then
  60460. pTDefRegMap(@Self)^.clr := $00002000
  60461. else
  60462. pTDefRegMap(@Self)^.&set := $00002000;
  60463. end;
  60464. function TETH_ETHIEN.getRXBUSEIE : TBits_1; inline;
  60465. begin
  60466. getRXBUSEIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60467. end;
  60468. procedure TETH_ETHIEN.setTXBUSEIE; inline;
  60469. begin
  60470. pTDefRegMap(@Self)^.&set := $00004000;
  60471. end;
  60472. procedure TETH_ETHIEN.clearTXBUSEIE; inline;
  60473. begin
  60474. pTDefRegMap(@Self)^.clr := $00004000;
  60475. end;
  60476. procedure TETH_ETHIEN.setTXBUSEIE(thebits : TBits_1); inline;
  60477. begin
  60478. if thebits = 0 then
  60479. pTDefRegMap(@Self)^.clr := $00004000
  60480. else
  60481. pTDefRegMap(@Self)^.&set := $00004000;
  60482. end;
  60483. function TETH_ETHIEN.getTXBUSEIE : TBits_1; inline;
  60484. begin
  60485. getTXBUSEIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60486. end;
  60487. procedure TETH_ETHIEN.setw(thebits : TBits_32); inline;
  60488. begin
  60489. pTDefRegMap(@Self)^.val := thebits;
  60490. end;
  60491. function TETH_ETHIEN.getw : TBits_32; inline;
  60492. begin
  60493. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60494. end;
  60495. procedure TETH_ETHIRQ.setRXOVFLW; inline;
  60496. begin
  60497. pTDefRegMap(@Self)^.&set := $00000001;
  60498. end;
  60499. procedure TETH_ETHIRQ.clearRXOVFLW; inline;
  60500. begin
  60501. pTDefRegMap(@Self)^.clr := $00000001;
  60502. end;
  60503. procedure TETH_ETHIRQ.setRXOVFLW(thebits : TBits_1); inline;
  60504. begin
  60505. if thebits = 0 then
  60506. pTDefRegMap(@Self)^.clr := $00000001
  60507. else
  60508. pTDefRegMap(@Self)^.&set := $00000001;
  60509. end;
  60510. function TETH_ETHIRQ.getRXOVFLW : TBits_1; inline;
  60511. begin
  60512. getRXOVFLW := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60513. end;
  60514. procedure TETH_ETHIRQ.setRXBUFNA; inline;
  60515. begin
  60516. pTDefRegMap(@Self)^.&set := $00000002;
  60517. end;
  60518. procedure TETH_ETHIRQ.clearRXBUFNA; inline;
  60519. begin
  60520. pTDefRegMap(@Self)^.clr := $00000002;
  60521. end;
  60522. procedure TETH_ETHIRQ.setRXBUFNA(thebits : TBits_1); inline;
  60523. begin
  60524. if thebits = 0 then
  60525. pTDefRegMap(@Self)^.clr := $00000002
  60526. else
  60527. pTDefRegMap(@Self)^.&set := $00000002;
  60528. end;
  60529. function TETH_ETHIRQ.getRXBUFNA : TBits_1; inline;
  60530. begin
  60531. getRXBUFNA := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60532. end;
  60533. procedure TETH_ETHIRQ.setTXABORT; inline;
  60534. begin
  60535. pTDefRegMap(@Self)^.&set := $00000004;
  60536. end;
  60537. procedure TETH_ETHIRQ.clearTXABORT; inline;
  60538. begin
  60539. pTDefRegMap(@Self)^.clr := $00000004;
  60540. end;
  60541. procedure TETH_ETHIRQ.setTXABORT(thebits : TBits_1); inline;
  60542. begin
  60543. if thebits = 0 then
  60544. pTDefRegMap(@Self)^.clr := $00000004
  60545. else
  60546. pTDefRegMap(@Self)^.&set := $00000004;
  60547. end;
  60548. function TETH_ETHIRQ.getTXABORT : TBits_1; inline;
  60549. begin
  60550. getTXABORT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60551. end;
  60552. procedure TETH_ETHIRQ.setTXDONE; inline;
  60553. begin
  60554. pTDefRegMap(@Self)^.&set := $00000008;
  60555. end;
  60556. procedure TETH_ETHIRQ.clearTXDONE; inline;
  60557. begin
  60558. pTDefRegMap(@Self)^.clr := $00000008;
  60559. end;
  60560. procedure TETH_ETHIRQ.setTXDONE(thebits : TBits_1); inline;
  60561. begin
  60562. if thebits = 0 then
  60563. pTDefRegMap(@Self)^.clr := $00000008
  60564. else
  60565. pTDefRegMap(@Self)^.&set := $00000008;
  60566. end;
  60567. function TETH_ETHIRQ.getTXDONE : TBits_1; inline;
  60568. begin
  60569. getTXDONE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60570. end;
  60571. procedure TETH_ETHIRQ.setRXACT; inline;
  60572. begin
  60573. pTDefRegMap(@Self)^.&set := $00000020;
  60574. end;
  60575. procedure TETH_ETHIRQ.clearRXACT; inline;
  60576. begin
  60577. pTDefRegMap(@Self)^.clr := $00000020;
  60578. end;
  60579. procedure TETH_ETHIRQ.setRXACT(thebits : TBits_1); inline;
  60580. begin
  60581. if thebits = 0 then
  60582. pTDefRegMap(@Self)^.clr := $00000020
  60583. else
  60584. pTDefRegMap(@Self)^.&set := $00000020;
  60585. end;
  60586. function TETH_ETHIRQ.getRXACT : TBits_1; inline;
  60587. begin
  60588. getRXACT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60589. end;
  60590. procedure TETH_ETHIRQ.setPKTPEND; inline;
  60591. begin
  60592. pTDefRegMap(@Self)^.&set := $00000040;
  60593. end;
  60594. procedure TETH_ETHIRQ.clearPKTPEND; inline;
  60595. begin
  60596. pTDefRegMap(@Self)^.clr := $00000040;
  60597. end;
  60598. procedure TETH_ETHIRQ.setPKTPEND(thebits : TBits_1); inline;
  60599. begin
  60600. if thebits = 0 then
  60601. pTDefRegMap(@Self)^.clr := $00000040
  60602. else
  60603. pTDefRegMap(@Self)^.&set := $00000040;
  60604. end;
  60605. function TETH_ETHIRQ.getPKTPEND : TBits_1; inline;
  60606. begin
  60607. getPKTPEND := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60608. end;
  60609. procedure TETH_ETHIRQ.setRXDONE; inline;
  60610. begin
  60611. pTDefRegMap(@Self)^.&set := $00000080;
  60612. end;
  60613. procedure TETH_ETHIRQ.clearRXDONE; inline;
  60614. begin
  60615. pTDefRegMap(@Self)^.clr := $00000080;
  60616. end;
  60617. procedure TETH_ETHIRQ.setRXDONE(thebits : TBits_1); inline;
  60618. begin
  60619. if thebits = 0 then
  60620. pTDefRegMap(@Self)^.clr := $00000080
  60621. else
  60622. pTDefRegMap(@Self)^.&set := $00000080;
  60623. end;
  60624. function TETH_ETHIRQ.getRXDONE : TBits_1; inline;
  60625. begin
  60626. getRXDONE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60627. end;
  60628. procedure TETH_ETHIRQ.setFWMARK; inline;
  60629. begin
  60630. pTDefRegMap(@Self)^.&set := $00000100;
  60631. end;
  60632. procedure TETH_ETHIRQ.clearFWMARK; inline;
  60633. begin
  60634. pTDefRegMap(@Self)^.clr := $00000100;
  60635. end;
  60636. procedure TETH_ETHIRQ.setFWMARK(thebits : TBits_1); inline;
  60637. begin
  60638. if thebits = 0 then
  60639. pTDefRegMap(@Self)^.clr := $00000100
  60640. else
  60641. pTDefRegMap(@Self)^.&set := $00000100;
  60642. end;
  60643. function TETH_ETHIRQ.getFWMARK : TBits_1; inline;
  60644. begin
  60645. getFWMARK := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60646. end;
  60647. procedure TETH_ETHIRQ.setEWMARK; inline;
  60648. begin
  60649. pTDefRegMap(@Self)^.&set := $00000200;
  60650. end;
  60651. procedure TETH_ETHIRQ.clearEWMARK; inline;
  60652. begin
  60653. pTDefRegMap(@Self)^.clr := $00000200;
  60654. end;
  60655. procedure TETH_ETHIRQ.setEWMARK(thebits : TBits_1); inline;
  60656. begin
  60657. if thebits = 0 then
  60658. pTDefRegMap(@Self)^.clr := $00000200
  60659. else
  60660. pTDefRegMap(@Self)^.&set := $00000200;
  60661. end;
  60662. function TETH_ETHIRQ.getEWMARK : TBits_1; inline;
  60663. begin
  60664. getEWMARK := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60665. end;
  60666. procedure TETH_ETHIRQ.setRXBUSE; inline;
  60667. begin
  60668. pTDefRegMap(@Self)^.&set := $00002000;
  60669. end;
  60670. procedure TETH_ETHIRQ.clearRXBUSE; inline;
  60671. begin
  60672. pTDefRegMap(@Self)^.clr := $00002000;
  60673. end;
  60674. procedure TETH_ETHIRQ.setRXBUSE(thebits : TBits_1); inline;
  60675. begin
  60676. if thebits = 0 then
  60677. pTDefRegMap(@Self)^.clr := $00002000
  60678. else
  60679. pTDefRegMap(@Self)^.&set := $00002000;
  60680. end;
  60681. function TETH_ETHIRQ.getRXBUSE : TBits_1; inline;
  60682. begin
  60683. getRXBUSE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60684. end;
  60685. procedure TETH_ETHIRQ.setTXBUSE; inline;
  60686. begin
  60687. pTDefRegMap(@Self)^.&set := $00004000;
  60688. end;
  60689. procedure TETH_ETHIRQ.clearTXBUSE; inline;
  60690. begin
  60691. pTDefRegMap(@Self)^.clr := $00004000;
  60692. end;
  60693. procedure TETH_ETHIRQ.setTXBUSE(thebits : TBits_1); inline;
  60694. begin
  60695. if thebits = 0 then
  60696. pTDefRegMap(@Self)^.clr := $00004000
  60697. else
  60698. pTDefRegMap(@Self)^.&set := $00004000;
  60699. end;
  60700. function TETH_ETHIRQ.getTXBUSE : TBits_1; inline;
  60701. begin
  60702. getTXBUSE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60703. end;
  60704. procedure TETH_ETHIRQ.setw(thebits : TBits_32); inline;
  60705. begin
  60706. pTDefRegMap(@Self)^.val := thebits;
  60707. end;
  60708. function TETH_ETHIRQ.getw : TBits_32; inline;
  60709. begin
  60710. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60711. end;
  60712. procedure TETH_ETHSTAT.setRXBUSY; inline;
  60713. begin
  60714. pTDefRegMap(@Self)^.&set := $00000020;
  60715. end;
  60716. procedure TETH_ETHSTAT.clearRXBUSY; inline;
  60717. begin
  60718. pTDefRegMap(@Self)^.clr := $00000020;
  60719. end;
  60720. procedure TETH_ETHSTAT.setRXBUSY(thebits : TBits_1); inline;
  60721. begin
  60722. if thebits = 0 then
  60723. pTDefRegMap(@Self)^.clr := $00000020
  60724. else
  60725. pTDefRegMap(@Self)^.&set := $00000020;
  60726. end;
  60727. function TETH_ETHSTAT.getRXBUSY : TBits_1; inline;
  60728. begin
  60729. getRXBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60730. end;
  60731. procedure TETH_ETHSTAT.setTXBUSY; inline;
  60732. begin
  60733. pTDefRegMap(@Self)^.&set := $00000040;
  60734. end;
  60735. procedure TETH_ETHSTAT.clearTXBUSY; inline;
  60736. begin
  60737. pTDefRegMap(@Self)^.clr := $00000040;
  60738. end;
  60739. procedure TETH_ETHSTAT.setTXBUSY(thebits : TBits_1); inline;
  60740. begin
  60741. if thebits = 0 then
  60742. pTDefRegMap(@Self)^.clr := $00000040
  60743. else
  60744. pTDefRegMap(@Self)^.&set := $00000040;
  60745. end;
  60746. function TETH_ETHSTAT.getTXBUSY : TBits_1; inline;
  60747. begin
  60748. getTXBUSY := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60749. end;
  60750. procedure TETH_ETHSTAT.setBUSY; inline;
  60751. begin
  60752. pTDefRegMap(@Self)^.&set := $00000080;
  60753. end;
  60754. procedure TETH_ETHSTAT.clearBUSY; inline;
  60755. begin
  60756. pTDefRegMap(@Self)^.clr := $00000080;
  60757. end;
  60758. procedure TETH_ETHSTAT.setBUSY(thebits : TBits_1); inline;
  60759. begin
  60760. if thebits = 0 then
  60761. pTDefRegMap(@Self)^.clr := $00000080
  60762. else
  60763. pTDefRegMap(@Self)^.&set := $00000080;
  60764. end;
  60765. function TETH_ETHSTAT.getBUSY : TBits_1; inline;
  60766. begin
  60767. getBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60768. end;
  60769. procedure TETH_ETHSTAT.setBUFCNT(thebits : TBits_8); inline;
  60770. begin
  60771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  60772. end;
  60773. function TETH_ETHSTAT.getBUFCNT : TBits_8; inline;
  60774. begin
  60775. getBUFCNT := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  60776. end;
  60777. procedure TETH_ETHSTAT.setETHBUSY; inline;
  60778. begin
  60779. pTDefRegMap(@Self)^.&set := $00000080;
  60780. end;
  60781. procedure TETH_ETHSTAT.clearETHBUSY; inline;
  60782. begin
  60783. pTDefRegMap(@Self)^.clr := $00000080;
  60784. end;
  60785. procedure TETH_ETHSTAT.setETHBUSY(thebits : TBits_1); inline;
  60786. begin
  60787. if thebits = 0 then
  60788. pTDefRegMap(@Self)^.clr := $00000080
  60789. else
  60790. pTDefRegMap(@Self)^.&set := $00000080;
  60791. end;
  60792. function TETH_ETHSTAT.getETHBUSY : TBits_1; inline;
  60793. begin
  60794. getETHBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60795. end;
  60796. procedure TETH_ETHSTAT.setw(thebits : TBits_32); inline;
  60797. begin
  60798. pTDefRegMap(@Self)^.val := thebits;
  60799. end;
  60800. function TETH_ETHSTAT.getw : TBits_32; inline;
  60801. begin
  60802. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60803. end;
  60804. procedure TETH_ETHRXOVFLOW.setRXOVFLWCNT(thebits : TBits_16); inline;
  60805. begin
  60806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60807. end;
  60808. function TETH_ETHRXOVFLOW.getRXOVFLWCNT : TBits_16; inline;
  60809. begin
  60810. getRXOVFLWCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60811. end;
  60812. procedure TETH_ETHRXOVFLOW.setw(thebits : TBits_32); inline;
  60813. begin
  60814. pTDefRegMap(@Self)^.val := thebits;
  60815. end;
  60816. function TETH_ETHRXOVFLOW.getw : TBits_32; inline;
  60817. begin
  60818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60819. end;
  60820. procedure TETH_ETHFRMTXOK.setFRMTXOKCNT(thebits : TBits_16); inline;
  60821. begin
  60822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60823. end;
  60824. function TETH_ETHFRMTXOK.getFRMTXOKCNT : TBits_16; inline;
  60825. begin
  60826. getFRMTXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60827. end;
  60828. procedure TETH_ETHFRMTXOK.setw(thebits : TBits_32); inline;
  60829. begin
  60830. pTDefRegMap(@Self)^.val := thebits;
  60831. end;
  60832. function TETH_ETHFRMTXOK.getw : TBits_32; inline;
  60833. begin
  60834. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60835. end;
  60836. procedure TETH_ETHSCOLFRM.setSCOLFRMCNT(thebits : TBits_16); inline;
  60837. begin
  60838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60839. end;
  60840. function TETH_ETHSCOLFRM.getSCOLFRMCNT : TBits_16; inline;
  60841. begin
  60842. getSCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60843. end;
  60844. procedure TETH_ETHSCOLFRM.setw(thebits : TBits_32); inline;
  60845. begin
  60846. pTDefRegMap(@Self)^.val := thebits;
  60847. end;
  60848. function TETH_ETHSCOLFRM.getw : TBits_32; inline;
  60849. begin
  60850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60851. end;
  60852. procedure TETH_ETHMCOLFRM.setMCOLFRMCNT(thebits : TBits_16); inline;
  60853. begin
  60854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60855. end;
  60856. function TETH_ETHMCOLFRM.getMCOLFRMCNT : TBits_16; inline;
  60857. begin
  60858. getMCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60859. end;
  60860. procedure TETH_ETHMCOLFRM.setMCOLFRM_CNT(thebits : TBits_16); inline;
  60861. begin
  60862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60863. end;
  60864. function TETH_ETHMCOLFRM.getMCOLFRM_CNT : TBits_16; inline;
  60865. begin
  60866. getMCOLFRM_CNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60867. end;
  60868. procedure TETH_ETHMCOLFRM.setw(thebits : TBits_32); inline;
  60869. begin
  60870. pTDefRegMap(@Self)^.val := thebits;
  60871. end;
  60872. function TETH_ETHMCOLFRM.getw : TBits_32; inline;
  60873. begin
  60874. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60875. end;
  60876. procedure TETH_ETHFRMRXOK.setFRMRXOKCNT(thebits : TBits_16); inline;
  60877. begin
  60878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60879. end;
  60880. function TETH_ETHFRMRXOK.getFRMRXOKCNT : TBits_16; inline;
  60881. begin
  60882. getFRMRXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60883. end;
  60884. procedure TETH_ETHFRMRXOK.setw(thebits : TBits_32); inline;
  60885. begin
  60886. pTDefRegMap(@Self)^.val := thebits;
  60887. end;
  60888. function TETH_ETHFRMRXOK.getw : TBits_32; inline;
  60889. begin
  60890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60891. end;
  60892. procedure TETH_ETHFCSERR.setFCSERRCNT(thebits : TBits_16); inline;
  60893. begin
  60894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60895. end;
  60896. function TETH_ETHFCSERR.getFCSERRCNT : TBits_16; inline;
  60897. begin
  60898. getFCSERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60899. end;
  60900. procedure TETH_ETHFCSERR.setw(thebits : TBits_32); inline;
  60901. begin
  60902. pTDefRegMap(@Self)^.val := thebits;
  60903. end;
  60904. function TETH_ETHFCSERR.getw : TBits_32; inline;
  60905. begin
  60906. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60907. end;
  60908. procedure TETH_ETHALGNERR.setALGNERRCNT(thebits : TBits_16); inline;
  60909. begin
  60910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60911. end;
  60912. function TETH_ETHALGNERR.getALGNERRCNT : TBits_16; inline;
  60913. begin
  60914. getALGNERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60915. end;
  60916. procedure TETH_ETHALGNERR.setw(thebits : TBits_32); inline;
  60917. begin
  60918. pTDefRegMap(@Self)^.val := thebits;
  60919. end;
  60920. function TETH_ETHALGNERR.getw : TBits_32; inline;
  60921. begin
  60922. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60923. end;
  60924. procedure TETH_EMAC1CFG1.setRXENABLE; inline;
  60925. begin
  60926. pTDefRegMap(@Self)^.&set := $00000001;
  60927. end;
  60928. procedure TETH_EMAC1CFG1.clearRXENABLE; inline;
  60929. begin
  60930. pTDefRegMap(@Self)^.clr := $00000001;
  60931. end;
  60932. procedure TETH_EMAC1CFG1.setRXENABLE(thebits : TBits_1); inline;
  60933. begin
  60934. if thebits = 0 then
  60935. pTDefRegMap(@Self)^.clr := $00000001
  60936. else
  60937. pTDefRegMap(@Self)^.&set := $00000001;
  60938. end;
  60939. function TETH_EMAC1CFG1.getRXENABLE : TBits_1; inline;
  60940. begin
  60941. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60942. end;
  60943. procedure TETH_EMAC1CFG1.setPASSALL; inline;
  60944. begin
  60945. pTDefRegMap(@Self)^.&set := $00000002;
  60946. end;
  60947. procedure TETH_EMAC1CFG1.clearPASSALL; inline;
  60948. begin
  60949. pTDefRegMap(@Self)^.clr := $00000002;
  60950. end;
  60951. procedure TETH_EMAC1CFG1.setPASSALL(thebits : TBits_1); inline;
  60952. begin
  60953. if thebits = 0 then
  60954. pTDefRegMap(@Self)^.clr := $00000002
  60955. else
  60956. pTDefRegMap(@Self)^.&set := $00000002;
  60957. end;
  60958. function TETH_EMAC1CFG1.getPASSALL : TBits_1; inline;
  60959. begin
  60960. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60961. end;
  60962. procedure TETH_EMAC1CFG1.setRXPAUSE; inline;
  60963. begin
  60964. pTDefRegMap(@Self)^.&set := $00000004;
  60965. end;
  60966. procedure TETH_EMAC1CFG1.clearRXPAUSE; inline;
  60967. begin
  60968. pTDefRegMap(@Self)^.clr := $00000004;
  60969. end;
  60970. procedure TETH_EMAC1CFG1.setRXPAUSE(thebits : TBits_1); inline;
  60971. begin
  60972. if thebits = 0 then
  60973. pTDefRegMap(@Self)^.clr := $00000004
  60974. else
  60975. pTDefRegMap(@Self)^.&set := $00000004;
  60976. end;
  60977. function TETH_EMAC1CFG1.getRXPAUSE : TBits_1; inline;
  60978. begin
  60979. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60980. end;
  60981. procedure TETH_EMAC1CFG1.setTXPAUSE; inline;
  60982. begin
  60983. pTDefRegMap(@Self)^.&set := $00000008;
  60984. end;
  60985. procedure TETH_EMAC1CFG1.clearTXPAUSE; inline;
  60986. begin
  60987. pTDefRegMap(@Self)^.clr := $00000008;
  60988. end;
  60989. procedure TETH_EMAC1CFG1.setTXPAUSE(thebits : TBits_1); inline;
  60990. begin
  60991. if thebits = 0 then
  60992. pTDefRegMap(@Self)^.clr := $00000008
  60993. else
  60994. pTDefRegMap(@Self)^.&set := $00000008;
  60995. end;
  60996. function TETH_EMAC1CFG1.getTXPAUSE : TBits_1; inline;
  60997. begin
  60998. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60999. end;
  61000. procedure TETH_EMAC1CFG1.setLOOPBACK; inline;
  61001. begin
  61002. pTDefRegMap(@Self)^.&set := $00000010;
  61003. end;
  61004. procedure TETH_EMAC1CFG1.clearLOOPBACK; inline;
  61005. begin
  61006. pTDefRegMap(@Self)^.clr := $00000010;
  61007. end;
  61008. procedure TETH_EMAC1CFG1.setLOOPBACK(thebits : TBits_1); inline;
  61009. begin
  61010. if thebits = 0 then
  61011. pTDefRegMap(@Self)^.clr := $00000010
  61012. else
  61013. pTDefRegMap(@Self)^.&set := $00000010;
  61014. end;
  61015. function TETH_EMAC1CFG1.getLOOPBACK : TBits_1; inline;
  61016. begin
  61017. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61018. end;
  61019. procedure TETH_EMAC1CFG1.setRESETTFUN; inline;
  61020. begin
  61021. pTDefRegMap(@Self)^.&set := $00000100;
  61022. end;
  61023. procedure TETH_EMAC1CFG1.clearRESETTFUN; inline;
  61024. begin
  61025. pTDefRegMap(@Self)^.clr := $00000100;
  61026. end;
  61027. procedure TETH_EMAC1CFG1.setRESETTFUN(thebits : TBits_1); inline;
  61028. begin
  61029. if thebits = 0 then
  61030. pTDefRegMap(@Self)^.clr := $00000100
  61031. else
  61032. pTDefRegMap(@Self)^.&set := $00000100;
  61033. end;
  61034. function TETH_EMAC1CFG1.getRESETTFUN : TBits_1; inline;
  61035. begin
  61036. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61037. end;
  61038. procedure TETH_EMAC1CFG1.setRESETTMCS; inline;
  61039. begin
  61040. pTDefRegMap(@Self)^.&set := $00000200;
  61041. end;
  61042. procedure TETH_EMAC1CFG1.clearRESETTMCS; inline;
  61043. begin
  61044. pTDefRegMap(@Self)^.clr := $00000200;
  61045. end;
  61046. procedure TETH_EMAC1CFG1.setRESETTMCS(thebits : TBits_1); inline;
  61047. begin
  61048. if thebits = 0 then
  61049. pTDefRegMap(@Self)^.clr := $00000200
  61050. else
  61051. pTDefRegMap(@Self)^.&set := $00000200;
  61052. end;
  61053. function TETH_EMAC1CFG1.getRESETTMCS : TBits_1; inline;
  61054. begin
  61055. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61056. end;
  61057. procedure TETH_EMAC1CFG1.setRESETRFUN; inline;
  61058. begin
  61059. pTDefRegMap(@Self)^.&set := $00000400;
  61060. end;
  61061. procedure TETH_EMAC1CFG1.clearRESETRFUN; inline;
  61062. begin
  61063. pTDefRegMap(@Self)^.clr := $00000400;
  61064. end;
  61065. procedure TETH_EMAC1CFG1.setRESETRFUN(thebits : TBits_1); inline;
  61066. begin
  61067. if thebits = 0 then
  61068. pTDefRegMap(@Self)^.clr := $00000400
  61069. else
  61070. pTDefRegMap(@Self)^.&set := $00000400;
  61071. end;
  61072. function TETH_EMAC1CFG1.getRESETRFUN : TBits_1; inline;
  61073. begin
  61074. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  61075. end;
  61076. procedure TETH_EMAC1CFG1.setRESETRMCS; inline;
  61077. begin
  61078. pTDefRegMap(@Self)^.&set := $00000800;
  61079. end;
  61080. procedure TETH_EMAC1CFG1.clearRESETRMCS; inline;
  61081. begin
  61082. pTDefRegMap(@Self)^.clr := $00000800;
  61083. end;
  61084. procedure TETH_EMAC1CFG1.setRESETRMCS(thebits : TBits_1); inline;
  61085. begin
  61086. if thebits = 0 then
  61087. pTDefRegMap(@Self)^.clr := $00000800
  61088. else
  61089. pTDefRegMap(@Self)^.&set := $00000800;
  61090. end;
  61091. function TETH_EMAC1CFG1.getRESETRMCS : TBits_1; inline;
  61092. begin
  61093. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  61094. end;
  61095. procedure TETH_EMAC1CFG1.setSIMRESET; inline;
  61096. begin
  61097. pTDefRegMap(@Self)^.&set := $00004000;
  61098. end;
  61099. procedure TETH_EMAC1CFG1.clearSIMRESET; inline;
  61100. begin
  61101. pTDefRegMap(@Self)^.clr := $00004000;
  61102. end;
  61103. procedure TETH_EMAC1CFG1.setSIMRESET(thebits : TBits_1); inline;
  61104. begin
  61105. if thebits = 0 then
  61106. pTDefRegMap(@Self)^.clr := $00004000
  61107. else
  61108. pTDefRegMap(@Self)^.&set := $00004000;
  61109. end;
  61110. function TETH_EMAC1CFG1.getSIMRESET : TBits_1; inline;
  61111. begin
  61112. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61113. end;
  61114. procedure TETH_EMAC1CFG1.setSOFTRESET; inline;
  61115. begin
  61116. pTDefRegMap(@Self)^.&set := $00008000;
  61117. end;
  61118. procedure TETH_EMAC1CFG1.clearSOFTRESET; inline;
  61119. begin
  61120. pTDefRegMap(@Self)^.clr := $00008000;
  61121. end;
  61122. procedure TETH_EMAC1CFG1.setSOFTRESET(thebits : TBits_1); inline;
  61123. begin
  61124. if thebits = 0 then
  61125. pTDefRegMap(@Self)^.clr := $00008000
  61126. else
  61127. pTDefRegMap(@Self)^.&set := $00008000;
  61128. end;
  61129. function TETH_EMAC1CFG1.getSOFTRESET : TBits_1; inline;
  61130. begin
  61131. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61132. end;
  61133. procedure TETH_EMAC1CFG1.setw(thebits : TBits_32); inline;
  61134. begin
  61135. pTDefRegMap(@Self)^.val := thebits;
  61136. end;
  61137. function TETH_EMAC1CFG1.getw : TBits_32; inline;
  61138. begin
  61139. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61140. end;
  61141. procedure TETH_EMACxCFG1.setRXENABLE; inline;
  61142. begin
  61143. pTDefRegMap(@Self)^.&set := $00000001;
  61144. end;
  61145. procedure TETH_EMACxCFG1.clearRXENABLE; inline;
  61146. begin
  61147. pTDefRegMap(@Self)^.clr := $00000001;
  61148. end;
  61149. procedure TETH_EMACxCFG1.setRXENABLE(thebits : TBits_1); inline;
  61150. begin
  61151. if thebits = 0 then
  61152. pTDefRegMap(@Self)^.clr := $00000001
  61153. else
  61154. pTDefRegMap(@Self)^.&set := $00000001;
  61155. end;
  61156. function TETH_EMACxCFG1.getRXENABLE : TBits_1; inline;
  61157. begin
  61158. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61159. end;
  61160. procedure TETH_EMACxCFG1.setPASSALL; inline;
  61161. begin
  61162. pTDefRegMap(@Self)^.&set := $00000002;
  61163. end;
  61164. procedure TETH_EMACxCFG1.clearPASSALL; inline;
  61165. begin
  61166. pTDefRegMap(@Self)^.clr := $00000002;
  61167. end;
  61168. procedure TETH_EMACxCFG1.setPASSALL(thebits : TBits_1); inline;
  61169. begin
  61170. if thebits = 0 then
  61171. pTDefRegMap(@Self)^.clr := $00000002
  61172. else
  61173. pTDefRegMap(@Self)^.&set := $00000002;
  61174. end;
  61175. function TETH_EMACxCFG1.getPASSALL : TBits_1; inline;
  61176. begin
  61177. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61178. end;
  61179. procedure TETH_EMACxCFG1.setRXPAUSE; inline;
  61180. begin
  61181. pTDefRegMap(@Self)^.&set := $00000004;
  61182. end;
  61183. procedure TETH_EMACxCFG1.clearRXPAUSE; inline;
  61184. begin
  61185. pTDefRegMap(@Self)^.clr := $00000004;
  61186. end;
  61187. procedure TETH_EMACxCFG1.setRXPAUSE(thebits : TBits_1); inline;
  61188. begin
  61189. if thebits = 0 then
  61190. pTDefRegMap(@Self)^.clr := $00000004
  61191. else
  61192. pTDefRegMap(@Self)^.&set := $00000004;
  61193. end;
  61194. function TETH_EMACxCFG1.getRXPAUSE : TBits_1; inline;
  61195. begin
  61196. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61197. end;
  61198. procedure TETH_EMACxCFG1.setTXPAUSE; inline;
  61199. begin
  61200. pTDefRegMap(@Self)^.&set := $00000008;
  61201. end;
  61202. procedure TETH_EMACxCFG1.clearTXPAUSE; inline;
  61203. begin
  61204. pTDefRegMap(@Self)^.clr := $00000008;
  61205. end;
  61206. procedure TETH_EMACxCFG1.setTXPAUSE(thebits : TBits_1); inline;
  61207. begin
  61208. if thebits = 0 then
  61209. pTDefRegMap(@Self)^.clr := $00000008
  61210. else
  61211. pTDefRegMap(@Self)^.&set := $00000008;
  61212. end;
  61213. function TETH_EMACxCFG1.getTXPAUSE : TBits_1; inline;
  61214. begin
  61215. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61216. end;
  61217. procedure TETH_EMACxCFG1.setLOOPBACK; inline;
  61218. begin
  61219. pTDefRegMap(@Self)^.&set := $00000010;
  61220. end;
  61221. procedure TETH_EMACxCFG1.clearLOOPBACK; inline;
  61222. begin
  61223. pTDefRegMap(@Self)^.clr := $00000010;
  61224. end;
  61225. procedure TETH_EMACxCFG1.setLOOPBACK(thebits : TBits_1); inline;
  61226. begin
  61227. if thebits = 0 then
  61228. pTDefRegMap(@Self)^.clr := $00000010
  61229. else
  61230. pTDefRegMap(@Self)^.&set := $00000010;
  61231. end;
  61232. function TETH_EMACxCFG1.getLOOPBACK : TBits_1; inline;
  61233. begin
  61234. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61235. end;
  61236. procedure TETH_EMACxCFG1.setRESETTFUN; inline;
  61237. begin
  61238. pTDefRegMap(@Self)^.&set := $00000100;
  61239. end;
  61240. procedure TETH_EMACxCFG1.clearRESETTFUN; inline;
  61241. begin
  61242. pTDefRegMap(@Self)^.clr := $00000100;
  61243. end;
  61244. procedure TETH_EMACxCFG1.setRESETTFUN(thebits : TBits_1); inline;
  61245. begin
  61246. if thebits = 0 then
  61247. pTDefRegMap(@Self)^.clr := $00000100
  61248. else
  61249. pTDefRegMap(@Self)^.&set := $00000100;
  61250. end;
  61251. function TETH_EMACxCFG1.getRESETTFUN : TBits_1; inline;
  61252. begin
  61253. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61254. end;
  61255. procedure TETH_EMACxCFG1.setRESETTMCS; inline;
  61256. begin
  61257. pTDefRegMap(@Self)^.&set := $00000200;
  61258. end;
  61259. procedure TETH_EMACxCFG1.clearRESETTMCS; inline;
  61260. begin
  61261. pTDefRegMap(@Self)^.clr := $00000200;
  61262. end;
  61263. procedure TETH_EMACxCFG1.setRESETTMCS(thebits : TBits_1); inline;
  61264. begin
  61265. if thebits = 0 then
  61266. pTDefRegMap(@Self)^.clr := $00000200
  61267. else
  61268. pTDefRegMap(@Self)^.&set := $00000200;
  61269. end;
  61270. function TETH_EMACxCFG1.getRESETTMCS : TBits_1; inline;
  61271. begin
  61272. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61273. end;
  61274. procedure TETH_EMACxCFG1.setRESETRFUN; inline;
  61275. begin
  61276. pTDefRegMap(@Self)^.&set := $00000400;
  61277. end;
  61278. procedure TETH_EMACxCFG1.clearRESETRFUN; inline;
  61279. begin
  61280. pTDefRegMap(@Self)^.clr := $00000400;
  61281. end;
  61282. procedure TETH_EMACxCFG1.setRESETRFUN(thebits : TBits_1); inline;
  61283. begin
  61284. if thebits = 0 then
  61285. pTDefRegMap(@Self)^.clr := $00000400
  61286. else
  61287. pTDefRegMap(@Self)^.&set := $00000400;
  61288. end;
  61289. function TETH_EMACxCFG1.getRESETRFUN : TBits_1; inline;
  61290. begin
  61291. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  61292. end;
  61293. procedure TETH_EMACxCFG1.setRESETRMCS; inline;
  61294. begin
  61295. pTDefRegMap(@Self)^.&set := $00000800;
  61296. end;
  61297. procedure TETH_EMACxCFG1.clearRESETRMCS; inline;
  61298. begin
  61299. pTDefRegMap(@Self)^.clr := $00000800;
  61300. end;
  61301. procedure TETH_EMACxCFG1.setRESETRMCS(thebits : TBits_1); inline;
  61302. begin
  61303. if thebits = 0 then
  61304. pTDefRegMap(@Self)^.clr := $00000800
  61305. else
  61306. pTDefRegMap(@Self)^.&set := $00000800;
  61307. end;
  61308. function TETH_EMACxCFG1.getRESETRMCS : TBits_1; inline;
  61309. begin
  61310. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  61311. end;
  61312. procedure TETH_EMACxCFG1.setSIMRESET; inline;
  61313. begin
  61314. pTDefRegMap(@Self)^.&set := $00004000;
  61315. end;
  61316. procedure TETH_EMACxCFG1.clearSIMRESET; inline;
  61317. begin
  61318. pTDefRegMap(@Self)^.clr := $00004000;
  61319. end;
  61320. procedure TETH_EMACxCFG1.setSIMRESET(thebits : TBits_1); inline;
  61321. begin
  61322. if thebits = 0 then
  61323. pTDefRegMap(@Self)^.clr := $00004000
  61324. else
  61325. pTDefRegMap(@Self)^.&set := $00004000;
  61326. end;
  61327. function TETH_EMACxCFG1.getSIMRESET : TBits_1; inline;
  61328. begin
  61329. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61330. end;
  61331. procedure TETH_EMACxCFG1.setSOFTRESET; inline;
  61332. begin
  61333. pTDefRegMap(@Self)^.&set := $00008000;
  61334. end;
  61335. procedure TETH_EMACxCFG1.clearSOFTRESET; inline;
  61336. begin
  61337. pTDefRegMap(@Self)^.clr := $00008000;
  61338. end;
  61339. procedure TETH_EMACxCFG1.setSOFTRESET(thebits : TBits_1); inline;
  61340. begin
  61341. if thebits = 0 then
  61342. pTDefRegMap(@Self)^.clr := $00008000
  61343. else
  61344. pTDefRegMap(@Self)^.&set := $00008000;
  61345. end;
  61346. function TETH_EMACxCFG1.getSOFTRESET : TBits_1; inline;
  61347. begin
  61348. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61349. end;
  61350. procedure TETH_EMACxCFG1.setw(thebits : TBits_32); inline;
  61351. begin
  61352. pTDefRegMap(@Self)^.val := thebits;
  61353. end;
  61354. function TETH_EMACxCFG1.getw : TBits_32; inline;
  61355. begin
  61356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61357. end;
  61358. procedure TETH_EMAC1CFG2.setFULLDPLX; inline;
  61359. begin
  61360. pTDefRegMap(@Self)^.&set := $00000001;
  61361. end;
  61362. procedure TETH_EMAC1CFG2.clearFULLDPLX; inline;
  61363. begin
  61364. pTDefRegMap(@Self)^.clr := $00000001;
  61365. end;
  61366. procedure TETH_EMAC1CFG2.setFULLDPLX(thebits : TBits_1); inline;
  61367. begin
  61368. if thebits = 0 then
  61369. pTDefRegMap(@Self)^.clr := $00000001
  61370. else
  61371. pTDefRegMap(@Self)^.&set := $00000001;
  61372. end;
  61373. function TETH_EMAC1CFG2.getFULLDPLX : TBits_1; inline;
  61374. begin
  61375. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61376. end;
  61377. procedure TETH_EMAC1CFG2.setLENGTHCK; inline;
  61378. begin
  61379. pTDefRegMap(@Self)^.&set := $00000002;
  61380. end;
  61381. procedure TETH_EMAC1CFG2.clearLENGTHCK; inline;
  61382. begin
  61383. pTDefRegMap(@Self)^.clr := $00000002;
  61384. end;
  61385. procedure TETH_EMAC1CFG2.setLENGTHCK(thebits : TBits_1); inline;
  61386. begin
  61387. if thebits = 0 then
  61388. pTDefRegMap(@Self)^.clr := $00000002
  61389. else
  61390. pTDefRegMap(@Self)^.&set := $00000002;
  61391. end;
  61392. function TETH_EMAC1CFG2.getLENGTHCK : TBits_1; inline;
  61393. begin
  61394. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61395. end;
  61396. procedure TETH_EMAC1CFG2.setHUGEFRM; inline;
  61397. begin
  61398. pTDefRegMap(@Self)^.&set := $00000004;
  61399. end;
  61400. procedure TETH_EMAC1CFG2.clearHUGEFRM; inline;
  61401. begin
  61402. pTDefRegMap(@Self)^.clr := $00000004;
  61403. end;
  61404. procedure TETH_EMAC1CFG2.setHUGEFRM(thebits : TBits_1); inline;
  61405. begin
  61406. if thebits = 0 then
  61407. pTDefRegMap(@Self)^.clr := $00000004
  61408. else
  61409. pTDefRegMap(@Self)^.&set := $00000004;
  61410. end;
  61411. function TETH_EMAC1CFG2.getHUGEFRM : TBits_1; inline;
  61412. begin
  61413. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61414. end;
  61415. procedure TETH_EMAC1CFG2.setDELAYCRC; inline;
  61416. begin
  61417. pTDefRegMap(@Self)^.&set := $00000008;
  61418. end;
  61419. procedure TETH_EMAC1CFG2.clearDELAYCRC; inline;
  61420. begin
  61421. pTDefRegMap(@Self)^.clr := $00000008;
  61422. end;
  61423. procedure TETH_EMAC1CFG2.setDELAYCRC(thebits : TBits_1); inline;
  61424. begin
  61425. if thebits = 0 then
  61426. pTDefRegMap(@Self)^.clr := $00000008
  61427. else
  61428. pTDefRegMap(@Self)^.&set := $00000008;
  61429. end;
  61430. function TETH_EMAC1CFG2.getDELAYCRC : TBits_1; inline;
  61431. begin
  61432. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61433. end;
  61434. procedure TETH_EMAC1CFG2.setCRCENABLE; inline;
  61435. begin
  61436. pTDefRegMap(@Self)^.&set := $00000010;
  61437. end;
  61438. procedure TETH_EMAC1CFG2.clearCRCENABLE; inline;
  61439. begin
  61440. pTDefRegMap(@Self)^.clr := $00000010;
  61441. end;
  61442. procedure TETH_EMAC1CFG2.setCRCENABLE(thebits : TBits_1); inline;
  61443. begin
  61444. if thebits = 0 then
  61445. pTDefRegMap(@Self)^.clr := $00000010
  61446. else
  61447. pTDefRegMap(@Self)^.&set := $00000010;
  61448. end;
  61449. function TETH_EMAC1CFG2.getCRCENABLE : TBits_1; inline;
  61450. begin
  61451. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61452. end;
  61453. procedure TETH_EMAC1CFG2.setPADENABLE; inline;
  61454. begin
  61455. pTDefRegMap(@Self)^.&set := $00000020;
  61456. end;
  61457. procedure TETH_EMAC1CFG2.clearPADENABLE; inline;
  61458. begin
  61459. pTDefRegMap(@Self)^.clr := $00000020;
  61460. end;
  61461. procedure TETH_EMAC1CFG2.setPADENABLE(thebits : TBits_1); inline;
  61462. begin
  61463. if thebits = 0 then
  61464. pTDefRegMap(@Self)^.clr := $00000020
  61465. else
  61466. pTDefRegMap(@Self)^.&set := $00000020;
  61467. end;
  61468. function TETH_EMAC1CFG2.getPADENABLE : TBits_1; inline;
  61469. begin
  61470. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61471. end;
  61472. procedure TETH_EMAC1CFG2.setVLANPAD; inline;
  61473. begin
  61474. pTDefRegMap(@Self)^.&set := $00000040;
  61475. end;
  61476. procedure TETH_EMAC1CFG2.clearVLANPAD; inline;
  61477. begin
  61478. pTDefRegMap(@Self)^.clr := $00000040;
  61479. end;
  61480. procedure TETH_EMAC1CFG2.setVLANPAD(thebits : TBits_1); inline;
  61481. begin
  61482. if thebits = 0 then
  61483. pTDefRegMap(@Self)^.clr := $00000040
  61484. else
  61485. pTDefRegMap(@Self)^.&set := $00000040;
  61486. end;
  61487. function TETH_EMAC1CFG2.getVLANPAD : TBits_1; inline;
  61488. begin
  61489. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61490. end;
  61491. procedure TETH_EMAC1CFG2.setAUTOPAD; inline;
  61492. begin
  61493. pTDefRegMap(@Self)^.&set := $00000080;
  61494. end;
  61495. procedure TETH_EMAC1CFG2.clearAUTOPAD; inline;
  61496. begin
  61497. pTDefRegMap(@Self)^.clr := $00000080;
  61498. end;
  61499. procedure TETH_EMAC1CFG2.setAUTOPAD(thebits : TBits_1); inline;
  61500. begin
  61501. if thebits = 0 then
  61502. pTDefRegMap(@Self)^.clr := $00000080
  61503. else
  61504. pTDefRegMap(@Self)^.&set := $00000080;
  61505. end;
  61506. function TETH_EMAC1CFG2.getAUTOPAD : TBits_1; inline;
  61507. begin
  61508. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61509. end;
  61510. procedure TETH_EMAC1CFG2.setPUREPRE; inline;
  61511. begin
  61512. pTDefRegMap(@Self)^.&set := $00000100;
  61513. end;
  61514. procedure TETH_EMAC1CFG2.clearPUREPRE; inline;
  61515. begin
  61516. pTDefRegMap(@Self)^.clr := $00000100;
  61517. end;
  61518. procedure TETH_EMAC1CFG2.setPUREPRE(thebits : TBits_1); inline;
  61519. begin
  61520. if thebits = 0 then
  61521. pTDefRegMap(@Self)^.clr := $00000100
  61522. else
  61523. pTDefRegMap(@Self)^.&set := $00000100;
  61524. end;
  61525. function TETH_EMAC1CFG2.getPUREPRE : TBits_1; inline;
  61526. begin
  61527. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61528. end;
  61529. procedure TETH_EMAC1CFG2.setLONGPRE; inline;
  61530. begin
  61531. pTDefRegMap(@Self)^.&set := $00000200;
  61532. end;
  61533. procedure TETH_EMAC1CFG2.clearLONGPRE; inline;
  61534. begin
  61535. pTDefRegMap(@Self)^.clr := $00000200;
  61536. end;
  61537. procedure TETH_EMAC1CFG2.setLONGPRE(thebits : TBits_1); inline;
  61538. begin
  61539. if thebits = 0 then
  61540. pTDefRegMap(@Self)^.clr := $00000200
  61541. else
  61542. pTDefRegMap(@Self)^.&set := $00000200;
  61543. end;
  61544. function TETH_EMAC1CFG2.getLONGPRE : TBits_1; inline;
  61545. begin
  61546. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61547. end;
  61548. procedure TETH_EMAC1CFG2.setNOBKOFF; inline;
  61549. begin
  61550. pTDefRegMap(@Self)^.&set := $00001000;
  61551. end;
  61552. procedure TETH_EMAC1CFG2.clearNOBKOFF; inline;
  61553. begin
  61554. pTDefRegMap(@Self)^.clr := $00001000;
  61555. end;
  61556. procedure TETH_EMAC1CFG2.setNOBKOFF(thebits : TBits_1); inline;
  61557. begin
  61558. if thebits = 0 then
  61559. pTDefRegMap(@Self)^.clr := $00001000
  61560. else
  61561. pTDefRegMap(@Self)^.&set := $00001000;
  61562. end;
  61563. function TETH_EMAC1CFG2.getNOBKOFF : TBits_1; inline;
  61564. begin
  61565. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61566. end;
  61567. procedure TETH_EMAC1CFG2.setBPNOBKOFF; inline;
  61568. begin
  61569. pTDefRegMap(@Self)^.&set := $00002000;
  61570. end;
  61571. procedure TETH_EMAC1CFG2.clearBPNOBKOFF; inline;
  61572. begin
  61573. pTDefRegMap(@Self)^.clr := $00002000;
  61574. end;
  61575. procedure TETH_EMAC1CFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  61576. begin
  61577. if thebits = 0 then
  61578. pTDefRegMap(@Self)^.clr := $00002000
  61579. else
  61580. pTDefRegMap(@Self)^.&set := $00002000;
  61581. end;
  61582. function TETH_EMAC1CFG2.getBPNOBKOFF : TBits_1; inline;
  61583. begin
  61584. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61585. end;
  61586. procedure TETH_EMAC1CFG2.setEXCESSDFR; inline;
  61587. begin
  61588. pTDefRegMap(@Self)^.&set := $00004000;
  61589. end;
  61590. procedure TETH_EMAC1CFG2.clearEXCESSDFR; inline;
  61591. begin
  61592. pTDefRegMap(@Self)^.clr := $00004000;
  61593. end;
  61594. procedure TETH_EMAC1CFG2.setEXCESSDFR(thebits : TBits_1); inline;
  61595. begin
  61596. if thebits = 0 then
  61597. pTDefRegMap(@Self)^.clr := $00004000
  61598. else
  61599. pTDefRegMap(@Self)^.&set := $00004000;
  61600. end;
  61601. function TETH_EMAC1CFG2.getEXCESSDFR : TBits_1; inline;
  61602. begin
  61603. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61604. end;
  61605. procedure TETH_EMAC1CFG2.setw(thebits : TBits_32); inline;
  61606. begin
  61607. pTDefRegMap(@Self)^.val := thebits;
  61608. end;
  61609. function TETH_EMAC1CFG2.getw : TBits_32; inline;
  61610. begin
  61611. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61612. end;
  61613. procedure TETH_EMACxCFG2.setFULLDPLX; inline;
  61614. begin
  61615. pTDefRegMap(@Self)^.&set := $00000001;
  61616. end;
  61617. procedure TETH_EMACxCFG2.clearFULLDPLX; inline;
  61618. begin
  61619. pTDefRegMap(@Self)^.clr := $00000001;
  61620. end;
  61621. procedure TETH_EMACxCFG2.setFULLDPLX(thebits : TBits_1); inline;
  61622. begin
  61623. if thebits = 0 then
  61624. pTDefRegMap(@Self)^.clr := $00000001
  61625. else
  61626. pTDefRegMap(@Self)^.&set := $00000001;
  61627. end;
  61628. function TETH_EMACxCFG2.getFULLDPLX : TBits_1; inline;
  61629. begin
  61630. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61631. end;
  61632. procedure TETH_EMACxCFG2.setLENGTHCK; inline;
  61633. begin
  61634. pTDefRegMap(@Self)^.&set := $00000002;
  61635. end;
  61636. procedure TETH_EMACxCFG2.clearLENGTHCK; inline;
  61637. begin
  61638. pTDefRegMap(@Self)^.clr := $00000002;
  61639. end;
  61640. procedure TETH_EMACxCFG2.setLENGTHCK(thebits : TBits_1); inline;
  61641. begin
  61642. if thebits = 0 then
  61643. pTDefRegMap(@Self)^.clr := $00000002
  61644. else
  61645. pTDefRegMap(@Self)^.&set := $00000002;
  61646. end;
  61647. function TETH_EMACxCFG2.getLENGTHCK : TBits_1; inline;
  61648. begin
  61649. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61650. end;
  61651. procedure TETH_EMACxCFG2.setHUGEFRM; inline;
  61652. begin
  61653. pTDefRegMap(@Self)^.&set := $00000004;
  61654. end;
  61655. procedure TETH_EMACxCFG2.clearHUGEFRM; inline;
  61656. begin
  61657. pTDefRegMap(@Self)^.clr := $00000004;
  61658. end;
  61659. procedure TETH_EMACxCFG2.setHUGEFRM(thebits : TBits_1); inline;
  61660. begin
  61661. if thebits = 0 then
  61662. pTDefRegMap(@Self)^.clr := $00000004
  61663. else
  61664. pTDefRegMap(@Self)^.&set := $00000004;
  61665. end;
  61666. function TETH_EMACxCFG2.getHUGEFRM : TBits_1; inline;
  61667. begin
  61668. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61669. end;
  61670. procedure TETH_EMACxCFG2.setDELAYCRC; inline;
  61671. begin
  61672. pTDefRegMap(@Self)^.&set := $00000008;
  61673. end;
  61674. procedure TETH_EMACxCFG2.clearDELAYCRC; inline;
  61675. begin
  61676. pTDefRegMap(@Self)^.clr := $00000008;
  61677. end;
  61678. procedure TETH_EMACxCFG2.setDELAYCRC(thebits : TBits_1); inline;
  61679. begin
  61680. if thebits = 0 then
  61681. pTDefRegMap(@Self)^.clr := $00000008
  61682. else
  61683. pTDefRegMap(@Self)^.&set := $00000008;
  61684. end;
  61685. function TETH_EMACxCFG2.getDELAYCRC : TBits_1; inline;
  61686. begin
  61687. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61688. end;
  61689. procedure TETH_EMACxCFG2.setCRCENABLE; inline;
  61690. begin
  61691. pTDefRegMap(@Self)^.&set := $00000010;
  61692. end;
  61693. procedure TETH_EMACxCFG2.clearCRCENABLE; inline;
  61694. begin
  61695. pTDefRegMap(@Self)^.clr := $00000010;
  61696. end;
  61697. procedure TETH_EMACxCFG2.setCRCENABLE(thebits : TBits_1); inline;
  61698. begin
  61699. if thebits = 0 then
  61700. pTDefRegMap(@Self)^.clr := $00000010
  61701. else
  61702. pTDefRegMap(@Self)^.&set := $00000010;
  61703. end;
  61704. function TETH_EMACxCFG2.getCRCENABLE : TBits_1; inline;
  61705. begin
  61706. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61707. end;
  61708. procedure TETH_EMACxCFG2.setPADENABLE; inline;
  61709. begin
  61710. pTDefRegMap(@Self)^.&set := $00000020;
  61711. end;
  61712. procedure TETH_EMACxCFG2.clearPADENABLE; inline;
  61713. begin
  61714. pTDefRegMap(@Self)^.clr := $00000020;
  61715. end;
  61716. procedure TETH_EMACxCFG2.setPADENABLE(thebits : TBits_1); inline;
  61717. begin
  61718. if thebits = 0 then
  61719. pTDefRegMap(@Self)^.clr := $00000020
  61720. else
  61721. pTDefRegMap(@Self)^.&set := $00000020;
  61722. end;
  61723. function TETH_EMACxCFG2.getPADENABLE : TBits_1; inline;
  61724. begin
  61725. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61726. end;
  61727. procedure TETH_EMACxCFG2.setVLANPAD; inline;
  61728. begin
  61729. pTDefRegMap(@Self)^.&set := $00000040;
  61730. end;
  61731. procedure TETH_EMACxCFG2.clearVLANPAD; inline;
  61732. begin
  61733. pTDefRegMap(@Self)^.clr := $00000040;
  61734. end;
  61735. procedure TETH_EMACxCFG2.setVLANPAD(thebits : TBits_1); inline;
  61736. begin
  61737. if thebits = 0 then
  61738. pTDefRegMap(@Self)^.clr := $00000040
  61739. else
  61740. pTDefRegMap(@Self)^.&set := $00000040;
  61741. end;
  61742. function TETH_EMACxCFG2.getVLANPAD : TBits_1; inline;
  61743. begin
  61744. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61745. end;
  61746. procedure TETH_EMACxCFG2.setAUTOPAD; inline;
  61747. begin
  61748. pTDefRegMap(@Self)^.&set := $00000080;
  61749. end;
  61750. procedure TETH_EMACxCFG2.clearAUTOPAD; inline;
  61751. begin
  61752. pTDefRegMap(@Self)^.clr := $00000080;
  61753. end;
  61754. procedure TETH_EMACxCFG2.setAUTOPAD(thebits : TBits_1); inline;
  61755. begin
  61756. if thebits = 0 then
  61757. pTDefRegMap(@Self)^.clr := $00000080
  61758. else
  61759. pTDefRegMap(@Self)^.&set := $00000080;
  61760. end;
  61761. function TETH_EMACxCFG2.getAUTOPAD : TBits_1; inline;
  61762. begin
  61763. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61764. end;
  61765. procedure TETH_EMACxCFG2.setPUREPRE; inline;
  61766. begin
  61767. pTDefRegMap(@Self)^.&set := $00000100;
  61768. end;
  61769. procedure TETH_EMACxCFG2.clearPUREPRE; inline;
  61770. begin
  61771. pTDefRegMap(@Self)^.clr := $00000100;
  61772. end;
  61773. procedure TETH_EMACxCFG2.setPUREPRE(thebits : TBits_1); inline;
  61774. begin
  61775. if thebits = 0 then
  61776. pTDefRegMap(@Self)^.clr := $00000100
  61777. else
  61778. pTDefRegMap(@Self)^.&set := $00000100;
  61779. end;
  61780. function TETH_EMACxCFG2.getPUREPRE : TBits_1; inline;
  61781. begin
  61782. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61783. end;
  61784. procedure TETH_EMACxCFG2.setLONGPRE; inline;
  61785. begin
  61786. pTDefRegMap(@Self)^.&set := $00000200;
  61787. end;
  61788. procedure TETH_EMACxCFG2.clearLONGPRE; inline;
  61789. begin
  61790. pTDefRegMap(@Self)^.clr := $00000200;
  61791. end;
  61792. procedure TETH_EMACxCFG2.setLONGPRE(thebits : TBits_1); inline;
  61793. begin
  61794. if thebits = 0 then
  61795. pTDefRegMap(@Self)^.clr := $00000200
  61796. else
  61797. pTDefRegMap(@Self)^.&set := $00000200;
  61798. end;
  61799. function TETH_EMACxCFG2.getLONGPRE : TBits_1; inline;
  61800. begin
  61801. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61802. end;
  61803. procedure TETH_EMACxCFG2.setNOBKOFF; inline;
  61804. begin
  61805. pTDefRegMap(@Self)^.&set := $00001000;
  61806. end;
  61807. procedure TETH_EMACxCFG2.clearNOBKOFF; inline;
  61808. begin
  61809. pTDefRegMap(@Self)^.clr := $00001000;
  61810. end;
  61811. procedure TETH_EMACxCFG2.setNOBKOFF(thebits : TBits_1); inline;
  61812. begin
  61813. if thebits = 0 then
  61814. pTDefRegMap(@Self)^.clr := $00001000
  61815. else
  61816. pTDefRegMap(@Self)^.&set := $00001000;
  61817. end;
  61818. function TETH_EMACxCFG2.getNOBKOFF : TBits_1; inline;
  61819. begin
  61820. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61821. end;
  61822. procedure TETH_EMACxCFG2.setBPNOBKOFF; inline;
  61823. begin
  61824. pTDefRegMap(@Self)^.&set := $00002000;
  61825. end;
  61826. procedure TETH_EMACxCFG2.clearBPNOBKOFF; inline;
  61827. begin
  61828. pTDefRegMap(@Self)^.clr := $00002000;
  61829. end;
  61830. procedure TETH_EMACxCFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  61831. begin
  61832. if thebits = 0 then
  61833. pTDefRegMap(@Self)^.clr := $00002000
  61834. else
  61835. pTDefRegMap(@Self)^.&set := $00002000;
  61836. end;
  61837. function TETH_EMACxCFG2.getBPNOBKOFF : TBits_1; inline;
  61838. begin
  61839. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61840. end;
  61841. procedure TETH_EMACxCFG2.setEXCESSDFR; inline;
  61842. begin
  61843. pTDefRegMap(@Self)^.&set := $00004000;
  61844. end;
  61845. procedure TETH_EMACxCFG2.clearEXCESSDFR; inline;
  61846. begin
  61847. pTDefRegMap(@Self)^.clr := $00004000;
  61848. end;
  61849. procedure TETH_EMACxCFG2.setEXCESSDFR(thebits : TBits_1); inline;
  61850. begin
  61851. if thebits = 0 then
  61852. pTDefRegMap(@Self)^.clr := $00004000
  61853. else
  61854. pTDefRegMap(@Self)^.&set := $00004000;
  61855. end;
  61856. function TETH_EMACxCFG2.getEXCESSDFR : TBits_1; inline;
  61857. begin
  61858. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61859. end;
  61860. procedure TETH_EMACxCFG2.setw(thebits : TBits_32); inline;
  61861. begin
  61862. pTDefRegMap(@Self)^.val := thebits;
  61863. end;
  61864. function TETH_EMACxCFG2.getw : TBits_32; inline;
  61865. begin
  61866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61867. end;
  61868. procedure TETH_EMAC1IPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  61869. begin
  61870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61871. end;
  61872. function TETH_EMAC1IPGT.getB2BIPKTGP : TBits_7; inline;
  61873. begin
  61874. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61875. end;
  61876. procedure TETH_EMAC1IPGT.setw(thebits : TBits_32); inline;
  61877. begin
  61878. pTDefRegMap(@Self)^.val := thebits;
  61879. end;
  61880. function TETH_EMAC1IPGT.getw : TBits_32; inline;
  61881. begin
  61882. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61883. end;
  61884. procedure TETH_EMACxIPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  61885. begin
  61886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61887. end;
  61888. function TETH_EMACxIPGT.getB2BIPKTGP : TBits_7; inline;
  61889. begin
  61890. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61891. end;
  61892. procedure TETH_EMACxIPGT.setw(thebits : TBits_32); inline;
  61893. begin
  61894. pTDefRegMap(@Self)^.val := thebits;
  61895. end;
  61896. function TETH_EMACxIPGT.getw : TBits_32; inline;
  61897. begin
  61898. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61899. end;
  61900. procedure TETH_EMAC1IPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  61901. begin
  61902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61903. end;
  61904. function TETH_EMAC1IPGR.getNB2BIPKTGP2 : TBits_7; inline;
  61905. begin
  61906. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61907. end;
  61908. procedure TETH_EMAC1IPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  61909. begin
  61910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  61911. end;
  61912. function TETH_EMAC1IPGR.getNB2BIPKTGP1 : TBits_7; inline;
  61913. begin
  61914. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  61915. end;
  61916. procedure TETH_EMAC1IPGR.setw(thebits : TBits_32); inline;
  61917. begin
  61918. pTDefRegMap(@Self)^.val := thebits;
  61919. end;
  61920. function TETH_EMAC1IPGR.getw : TBits_32; inline;
  61921. begin
  61922. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61923. end;
  61924. procedure TETH_EMACxIPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  61925. begin
  61926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61927. end;
  61928. function TETH_EMACxIPGR.getNB2BIPKTGP2 : TBits_7; inline;
  61929. begin
  61930. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61931. end;
  61932. procedure TETH_EMACxIPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  61933. begin
  61934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  61935. end;
  61936. function TETH_EMACxIPGR.getNB2BIPKTGP1 : TBits_7; inline;
  61937. begin
  61938. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  61939. end;
  61940. procedure TETH_EMACxIPGR.setw(thebits : TBits_32); inline;
  61941. begin
  61942. pTDefRegMap(@Self)^.val := thebits;
  61943. end;
  61944. function TETH_EMACxIPGR.getw : TBits_32; inline;
  61945. begin
  61946. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61947. end;
  61948. procedure TETH_EMAC1CLRT.setRETX(thebits : TBits_4); inline;
  61949. begin
  61950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  61951. end;
  61952. function TETH_EMAC1CLRT.getRETX : TBits_4; inline;
  61953. begin
  61954. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  61955. end;
  61956. procedure TETH_EMAC1CLRT.setCWINDOW(thebits : TBits_6); inline;
  61957. begin
  61958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  61959. end;
  61960. function TETH_EMAC1CLRT.getCWINDOW : TBits_6; inline;
  61961. begin
  61962. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  61963. end;
  61964. procedure TETH_EMAC1CLRT.setw(thebits : TBits_32); inline;
  61965. begin
  61966. pTDefRegMap(@Self)^.val := thebits;
  61967. end;
  61968. function TETH_EMAC1CLRT.getw : TBits_32; inline;
  61969. begin
  61970. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61971. end;
  61972. procedure TETH_EMACxCLRT.setRETX(thebits : TBits_4); inline;
  61973. begin
  61974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  61975. end;
  61976. function TETH_EMACxCLRT.getRETX : TBits_4; inline;
  61977. begin
  61978. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  61979. end;
  61980. procedure TETH_EMACxCLRT.setCWINDOW(thebits : TBits_6); inline;
  61981. begin
  61982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  61983. end;
  61984. function TETH_EMACxCLRT.getCWINDOW : TBits_6; inline;
  61985. begin
  61986. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  61987. end;
  61988. procedure TETH_EMACxCLRT.setw(thebits : TBits_32); inline;
  61989. begin
  61990. pTDefRegMap(@Self)^.val := thebits;
  61991. end;
  61992. function TETH_EMACxCLRT.getw : TBits_32; inline;
  61993. begin
  61994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61995. end;
  61996. procedure TETH_EMAC1MAXF.setMACMAXF(thebits : TBits_16); inline;
  61997. begin
  61998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  61999. end;
  62000. function TETH_EMAC1MAXF.getMACMAXF : TBits_16; inline;
  62001. begin
  62002. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62003. end;
  62004. procedure TETH_EMAC1MAXF.setw(thebits : TBits_32); inline;
  62005. begin
  62006. pTDefRegMap(@Self)^.val := thebits;
  62007. end;
  62008. function TETH_EMAC1MAXF.getw : TBits_32; inline;
  62009. begin
  62010. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62011. end;
  62012. procedure TETH_EMACxMAXF.setMACMAXF(thebits : TBits_16); inline;
  62013. begin
  62014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62015. end;
  62016. function TETH_EMACxMAXF.getMACMAXF : TBits_16; inline;
  62017. begin
  62018. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62019. end;
  62020. procedure TETH_EMACxMAXF.setw(thebits : TBits_32); inline;
  62021. begin
  62022. pTDefRegMap(@Self)^.val := thebits;
  62023. end;
  62024. function TETH_EMACxMAXF.getw : TBits_32; inline;
  62025. begin
  62026. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62027. end;
  62028. procedure TETH_EMAC1SUPP.setSPEEDRMII; inline;
  62029. begin
  62030. pTDefRegMap(@Self)^.&set := $00000100;
  62031. end;
  62032. procedure TETH_EMAC1SUPP.clearSPEEDRMII; inline;
  62033. begin
  62034. pTDefRegMap(@Self)^.clr := $00000100;
  62035. end;
  62036. procedure TETH_EMAC1SUPP.setSPEEDRMII(thebits : TBits_1); inline;
  62037. begin
  62038. if thebits = 0 then
  62039. pTDefRegMap(@Self)^.clr := $00000100
  62040. else
  62041. pTDefRegMap(@Self)^.&set := $00000100;
  62042. end;
  62043. function TETH_EMAC1SUPP.getSPEEDRMII : TBits_1; inline;
  62044. begin
  62045. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62046. end;
  62047. procedure TETH_EMAC1SUPP.setRESETRMII; inline;
  62048. begin
  62049. pTDefRegMap(@Self)^.&set := $00000800;
  62050. end;
  62051. procedure TETH_EMAC1SUPP.clearRESETRMII; inline;
  62052. begin
  62053. pTDefRegMap(@Self)^.clr := $00000800;
  62054. end;
  62055. procedure TETH_EMAC1SUPP.setRESETRMII(thebits : TBits_1); inline;
  62056. begin
  62057. if thebits = 0 then
  62058. pTDefRegMap(@Self)^.clr := $00000800
  62059. else
  62060. pTDefRegMap(@Self)^.&set := $00000800;
  62061. end;
  62062. function TETH_EMAC1SUPP.getRESETRMII : TBits_1; inline;
  62063. begin
  62064. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62065. end;
  62066. procedure TETH_EMAC1SUPP.setw(thebits : TBits_32); inline;
  62067. begin
  62068. pTDefRegMap(@Self)^.val := thebits;
  62069. end;
  62070. function TETH_EMAC1SUPP.getw : TBits_32; inline;
  62071. begin
  62072. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62073. end;
  62074. procedure TETH_EMACxSUPP.setSPEEDRMII; inline;
  62075. begin
  62076. pTDefRegMap(@Self)^.&set := $00000100;
  62077. end;
  62078. procedure TETH_EMACxSUPP.clearSPEEDRMII; inline;
  62079. begin
  62080. pTDefRegMap(@Self)^.clr := $00000100;
  62081. end;
  62082. procedure TETH_EMACxSUPP.setSPEEDRMII(thebits : TBits_1); inline;
  62083. begin
  62084. if thebits = 0 then
  62085. pTDefRegMap(@Self)^.clr := $00000100
  62086. else
  62087. pTDefRegMap(@Self)^.&set := $00000100;
  62088. end;
  62089. function TETH_EMACxSUPP.getSPEEDRMII : TBits_1; inline;
  62090. begin
  62091. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62092. end;
  62093. procedure TETH_EMACxSUPP.setRESETRMII; inline;
  62094. begin
  62095. pTDefRegMap(@Self)^.&set := $00000800;
  62096. end;
  62097. procedure TETH_EMACxSUPP.clearRESETRMII; inline;
  62098. begin
  62099. pTDefRegMap(@Self)^.clr := $00000800;
  62100. end;
  62101. procedure TETH_EMACxSUPP.setRESETRMII(thebits : TBits_1); inline;
  62102. begin
  62103. if thebits = 0 then
  62104. pTDefRegMap(@Self)^.clr := $00000800
  62105. else
  62106. pTDefRegMap(@Self)^.&set := $00000800;
  62107. end;
  62108. function TETH_EMACxSUPP.getRESETRMII : TBits_1; inline;
  62109. begin
  62110. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62111. end;
  62112. procedure TETH_EMACxSUPP.setw(thebits : TBits_32); inline;
  62113. begin
  62114. pTDefRegMap(@Self)^.val := thebits;
  62115. end;
  62116. function TETH_EMACxSUPP.getw : TBits_32; inline;
  62117. begin
  62118. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62119. end;
  62120. procedure TETH_EMAC1TEST.setSHRTQNTA; inline;
  62121. begin
  62122. pTDefRegMap(@Self)^.&set := $00000001;
  62123. end;
  62124. procedure TETH_EMAC1TEST.clearSHRTQNTA; inline;
  62125. begin
  62126. pTDefRegMap(@Self)^.clr := $00000001;
  62127. end;
  62128. procedure TETH_EMAC1TEST.setSHRTQNTA(thebits : TBits_1); inline;
  62129. begin
  62130. if thebits = 0 then
  62131. pTDefRegMap(@Self)^.clr := $00000001
  62132. else
  62133. pTDefRegMap(@Self)^.&set := $00000001;
  62134. end;
  62135. function TETH_EMAC1TEST.getSHRTQNTA : TBits_1; inline;
  62136. begin
  62137. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62138. end;
  62139. procedure TETH_EMAC1TEST.setTESTPAUSE; inline;
  62140. begin
  62141. pTDefRegMap(@Self)^.&set := $00000002;
  62142. end;
  62143. procedure TETH_EMAC1TEST.clearTESTPAUSE; inline;
  62144. begin
  62145. pTDefRegMap(@Self)^.clr := $00000002;
  62146. end;
  62147. procedure TETH_EMAC1TEST.setTESTPAUSE(thebits : TBits_1); inline;
  62148. begin
  62149. if thebits = 0 then
  62150. pTDefRegMap(@Self)^.clr := $00000002
  62151. else
  62152. pTDefRegMap(@Self)^.&set := $00000002;
  62153. end;
  62154. function TETH_EMAC1TEST.getTESTPAUSE : TBits_1; inline;
  62155. begin
  62156. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62157. end;
  62158. procedure TETH_EMAC1TEST.setTESTBP; inline;
  62159. begin
  62160. pTDefRegMap(@Self)^.&set := $00000004;
  62161. end;
  62162. procedure TETH_EMAC1TEST.clearTESTBP; inline;
  62163. begin
  62164. pTDefRegMap(@Self)^.clr := $00000004;
  62165. end;
  62166. procedure TETH_EMAC1TEST.setTESTBP(thebits : TBits_1); inline;
  62167. begin
  62168. if thebits = 0 then
  62169. pTDefRegMap(@Self)^.clr := $00000004
  62170. else
  62171. pTDefRegMap(@Self)^.&set := $00000004;
  62172. end;
  62173. function TETH_EMAC1TEST.getTESTBP : TBits_1; inline;
  62174. begin
  62175. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62176. end;
  62177. procedure TETH_EMAC1TEST.setw(thebits : TBits_32); inline;
  62178. begin
  62179. pTDefRegMap(@Self)^.val := thebits;
  62180. end;
  62181. function TETH_EMAC1TEST.getw : TBits_32; inline;
  62182. begin
  62183. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62184. end;
  62185. procedure TETH_EMACxTEST.setSHRTQNTA; inline;
  62186. begin
  62187. pTDefRegMap(@Self)^.&set := $00000001;
  62188. end;
  62189. procedure TETH_EMACxTEST.clearSHRTQNTA; inline;
  62190. begin
  62191. pTDefRegMap(@Self)^.clr := $00000001;
  62192. end;
  62193. procedure TETH_EMACxTEST.setSHRTQNTA(thebits : TBits_1); inline;
  62194. begin
  62195. if thebits = 0 then
  62196. pTDefRegMap(@Self)^.clr := $00000001
  62197. else
  62198. pTDefRegMap(@Self)^.&set := $00000001;
  62199. end;
  62200. function TETH_EMACxTEST.getSHRTQNTA : TBits_1; inline;
  62201. begin
  62202. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62203. end;
  62204. procedure TETH_EMACxTEST.setTESTPAUSE; inline;
  62205. begin
  62206. pTDefRegMap(@Self)^.&set := $00000002;
  62207. end;
  62208. procedure TETH_EMACxTEST.clearTESTPAUSE; inline;
  62209. begin
  62210. pTDefRegMap(@Self)^.clr := $00000002;
  62211. end;
  62212. procedure TETH_EMACxTEST.setTESTPAUSE(thebits : TBits_1); inline;
  62213. begin
  62214. if thebits = 0 then
  62215. pTDefRegMap(@Self)^.clr := $00000002
  62216. else
  62217. pTDefRegMap(@Self)^.&set := $00000002;
  62218. end;
  62219. function TETH_EMACxTEST.getTESTPAUSE : TBits_1; inline;
  62220. begin
  62221. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62222. end;
  62223. procedure TETH_EMACxTEST.setTESTBP; inline;
  62224. begin
  62225. pTDefRegMap(@Self)^.&set := $00000004;
  62226. end;
  62227. procedure TETH_EMACxTEST.clearTESTBP; inline;
  62228. begin
  62229. pTDefRegMap(@Self)^.clr := $00000004;
  62230. end;
  62231. procedure TETH_EMACxTEST.setTESTBP(thebits : TBits_1); inline;
  62232. begin
  62233. if thebits = 0 then
  62234. pTDefRegMap(@Self)^.clr := $00000004
  62235. else
  62236. pTDefRegMap(@Self)^.&set := $00000004;
  62237. end;
  62238. function TETH_EMACxTEST.getTESTBP : TBits_1; inline;
  62239. begin
  62240. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62241. end;
  62242. procedure TETH_EMACxTEST.setw(thebits : TBits_32); inline;
  62243. begin
  62244. pTDefRegMap(@Self)^.val := thebits;
  62245. end;
  62246. function TETH_EMACxTEST.getw : TBits_32; inline;
  62247. begin
  62248. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62249. end;
  62250. procedure TETH_EMAC1MCFG.setSCANINC; inline;
  62251. begin
  62252. pTDefRegMap(@Self)^.&set := $00000001;
  62253. end;
  62254. procedure TETH_EMAC1MCFG.clearSCANINC; inline;
  62255. begin
  62256. pTDefRegMap(@Self)^.clr := $00000001;
  62257. end;
  62258. procedure TETH_EMAC1MCFG.setSCANINC(thebits : TBits_1); inline;
  62259. begin
  62260. if thebits = 0 then
  62261. pTDefRegMap(@Self)^.clr := $00000001
  62262. else
  62263. pTDefRegMap(@Self)^.&set := $00000001;
  62264. end;
  62265. function TETH_EMAC1MCFG.getSCANINC : TBits_1; inline;
  62266. begin
  62267. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62268. end;
  62269. procedure TETH_EMAC1MCFG.setNOPRE; inline;
  62270. begin
  62271. pTDefRegMap(@Self)^.&set := $00000002;
  62272. end;
  62273. procedure TETH_EMAC1MCFG.clearNOPRE; inline;
  62274. begin
  62275. pTDefRegMap(@Self)^.clr := $00000002;
  62276. end;
  62277. procedure TETH_EMAC1MCFG.setNOPRE(thebits : TBits_1); inline;
  62278. begin
  62279. if thebits = 0 then
  62280. pTDefRegMap(@Self)^.clr := $00000002
  62281. else
  62282. pTDefRegMap(@Self)^.&set := $00000002;
  62283. end;
  62284. function TETH_EMAC1MCFG.getNOPRE : TBits_1; inline;
  62285. begin
  62286. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62287. end;
  62288. procedure TETH_EMAC1MCFG.setCLKSEL(thebits : TBits_4); inline;
  62289. begin
  62290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  62291. end;
  62292. function TETH_EMAC1MCFG.getCLKSEL : TBits_4; inline;
  62293. begin
  62294. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  62295. end;
  62296. procedure TETH_EMAC1MCFG.setRESETMGMT; inline;
  62297. begin
  62298. pTDefRegMap(@Self)^.&set := $00008000;
  62299. end;
  62300. procedure TETH_EMAC1MCFG.clearRESETMGMT; inline;
  62301. begin
  62302. pTDefRegMap(@Self)^.clr := $00008000;
  62303. end;
  62304. procedure TETH_EMAC1MCFG.setRESETMGMT(thebits : TBits_1); inline;
  62305. begin
  62306. if thebits = 0 then
  62307. pTDefRegMap(@Self)^.clr := $00008000
  62308. else
  62309. pTDefRegMap(@Self)^.&set := $00008000;
  62310. end;
  62311. function TETH_EMAC1MCFG.getRESETMGMT : TBits_1; inline;
  62312. begin
  62313. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62314. end;
  62315. procedure TETH_EMAC1MCFG.setw(thebits : TBits_32); inline;
  62316. begin
  62317. pTDefRegMap(@Self)^.val := thebits;
  62318. end;
  62319. function TETH_EMAC1MCFG.getw : TBits_32; inline;
  62320. begin
  62321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62322. end;
  62323. procedure TETH_EMACxMCFG.setSCANINC; inline;
  62324. begin
  62325. pTDefRegMap(@Self)^.&set := $00000001;
  62326. end;
  62327. procedure TETH_EMACxMCFG.clearSCANINC; inline;
  62328. begin
  62329. pTDefRegMap(@Self)^.clr := $00000001;
  62330. end;
  62331. procedure TETH_EMACxMCFG.setSCANINC(thebits : TBits_1); inline;
  62332. begin
  62333. if thebits = 0 then
  62334. pTDefRegMap(@Self)^.clr := $00000001
  62335. else
  62336. pTDefRegMap(@Self)^.&set := $00000001;
  62337. end;
  62338. function TETH_EMACxMCFG.getSCANINC : TBits_1; inline;
  62339. begin
  62340. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62341. end;
  62342. procedure TETH_EMACxMCFG.setNOPRE; inline;
  62343. begin
  62344. pTDefRegMap(@Self)^.&set := $00000002;
  62345. end;
  62346. procedure TETH_EMACxMCFG.clearNOPRE; inline;
  62347. begin
  62348. pTDefRegMap(@Self)^.clr := $00000002;
  62349. end;
  62350. procedure TETH_EMACxMCFG.setNOPRE(thebits : TBits_1); inline;
  62351. begin
  62352. if thebits = 0 then
  62353. pTDefRegMap(@Self)^.clr := $00000002
  62354. else
  62355. pTDefRegMap(@Self)^.&set := $00000002;
  62356. end;
  62357. function TETH_EMACxMCFG.getNOPRE : TBits_1; inline;
  62358. begin
  62359. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62360. end;
  62361. procedure TETH_EMACxMCFG.setCLKSEL(thebits : TBits_4); inline;
  62362. begin
  62363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  62364. end;
  62365. function TETH_EMACxMCFG.getCLKSEL : TBits_4; inline;
  62366. begin
  62367. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  62368. end;
  62369. procedure TETH_EMACxMCFG.setRESETMGMT; inline;
  62370. begin
  62371. pTDefRegMap(@Self)^.&set := $00008000;
  62372. end;
  62373. procedure TETH_EMACxMCFG.clearRESETMGMT; inline;
  62374. begin
  62375. pTDefRegMap(@Self)^.clr := $00008000;
  62376. end;
  62377. procedure TETH_EMACxMCFG.setRESETMGMT(thebits : TBits_1); inline;
  62378. begin
  62379. if thebits = 0 then
  62380. pTDefRegMap(@Self)^.clr := $00008000
  62381. else
  62382. pTDefRegMap(@Self)^.&set := $00008000;
  62383. end;
  62384. function TETH_EMACxMCFG.getRESETMGMT : TBits_1; inline;
  62385. begin
  62386. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62387. end;
  62388. procedure TETH_EMACxMCFG.setw(thebits : TBits_32); inline;
  62389. begin
  62390. pTDefRegMap(@Self)^.val := thebits;
  62391. end;
  62392. function TETH_EMACxMCFG.getw : TBits_32; inline;
  62393. begin
  62394. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62395. end;
  62396. procedure TETH_EMAC1MCMD.setREAD; inline;
  62397. begin
  62398. pTDefRegMap(@Self)^.&set := $00000001;
  62399. end;
  62400. procedure TETH_EMAC1MCMD.clearREAD; inline;
  62401. begin
  62402. pTDefRegMap(@Self)^.clr := $00000001;
  62403. end;
  62404. procedure TETH_EMAC1MCMD.setREAD(thebits : TBits_1); inline;
  62405. begin
  62406. if thebits = 0 then
  62407. pTDefRegMap(@Self)^.clr := $00000001
  62408. else
  62409. pTDefRegMap(@Self)^.&set := $00000001;
  62410. end;
  62411. function TETH_EMAC1MCMD.getREAD : TBits_1; inline;
  62412. begin
  62413. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62414. end;
  62415. procedure TETH_EMAC1MCMD.setSCAN; inline;
  62416. begin
  62417. pTDefRegMap(@Self)^.&set := $00000002;
  62418. end;
  62419. procedure TETH_EMAC1MCMD.clearSCAN; inline;
  62420. begin
  62421. pTDefRegMap(@Self)^.clr := $00000002;
  62422. end;
  62423. procedure TETH_EMAC1MCMD.setSCAN(thebits : TBits_1); inline;
  62424. begin
  62425. if thebits = 0 then
  62426. pTDefRegMap(@Self)^.clr := $00000002
  62427. else
  62428. pTDefRegMap(@Self)^.&set := $00000002;
  62429. end;
  62430. function TETH_EMAC1MCMD.getSCAN : TBits_1; inline;
  62431. begin
  62432. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62433. end;
  62434. procedure TETH_EMAC1MCMD.setw(thebits : TBits_32); inline;
  62435. begin
  62436. pTDefRegMap(@Self)^.val := thebits;
  62437. end;
  62438. function TETH_EMAC1MCMD.getw : TBits_32; inline;
  62439. begin
  62440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62441. end;
  62442. procedure TETH_EMACxMCMD.setREAD; inline;
  62443. begin
  62444. pTDefRegMap(@Self)^.&set := $00000001;
  62445. end;
  62446. procedure TETH_EMACxMCMD.clearREAD; inline;
  62447. begin
  62448. pTDefRegMap(@Self)^.clr := $00000001;
  62449. end;
  62450. procedure TETH_EMACxMCMD.setREAD(thebits : TBits_1); inline;
  62451. begin
  62452. if thebits = 0 then
  62453. pTDefRegMap(@Self)^.clr := $00000001
  62454. else
  62455. pTDefRegMap(@Self)^.&set := $00000001;
  62456. end;
  62457. function TETH_EMACxMCMD.getREAD : TBits_1; inline;
  62458. begin
  62459. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62460. end;
  62461. procedure TETH_EMACxMCMD.setSCAN; inline;
  62462. begin
  62463. pTDefRegMap(@Self)^.&set := $00000002;
  62464. end;
  62465. procedure TETH_EMACxMCMD.clearSCAN; inline;
  62466. begin
  62467. pTDefRegMap(@Self)^.clr := $00000002;
  62468. end;
  62469. procedure TETH_EMACxMCMD.setSCAN(thebits : TBits_1); inline;
  62470. begin
  62471. if thebits = 0 then
  62472. pTDefRegMap(@Self)^.clr := $00000002
  62473. else
  62474. pTDefRegMap(@Self)^.&set := $00000002;
  62475. end;
  62476. function TETH_EMACxMCMD.getSCAN : TBits_1; inline;
  62477. begin
  62478. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62479. end;
  62480. procedure TETH_EMACxMCMD.setw(thebits : TBits_32); inline;
  62481. begin
  62482. pTDefRegMap(@Self)^.val := thebits;
  62483. end;
  62484. function TETH_EMACxMCMD.getw : TBits_32; inline;
  62485. begin
  62486. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62487. end;
  62488. procedure TETH_EMAC1MADR.setREGADDR(thebits : TBits_5); inline;
  62489. begin
  62490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  62491. end;
  62492. function TETH_EMAC1MADR.getREGADDR : TBits_5; inline;
  62493. begin
  62494. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  62495. end;
  62496. procedure TETH_EMAC1MADR.setPHYADDR(thebits : TBits_5); inline;
  62497. begin
  62498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  62499. end;
  62500. function TETH_EMAC1MADR.getPHYADDR : TBits_5; inline;
  62501. begin
  62502. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  62503. end;
  62504. procedure TETH_EMAC1MADR.setw(thebits : TBits_32); inline;
  62505. begin
  62506. pTDefRegMap(@Self)^.val := thebits;
  62507. end;
  62508. function TETH_EMAC1MADR.getw : TBits_32; inline;
  62509. begin
  62510. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62511. end;
  62512. procedure TETH_EMACxMADR.setREGADDR(thebits : TBits_5); inline;
  62513. begin
  62514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  62515. end;
  62516. function TETH_EMACxMADR.getREGADDR : TBits_5; inline;
  62517. begin
  62518. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  62519. end;
  62520. procedure TETH_EMACxMADR.setPHYADDR(thebits : TBits_5); inline;
  62521. begin
  62522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  62523. end;
  62524. function TETH_EMACxMADR.getPHYADDR : TBits_5; inline;
  62525. begin
  62526. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  62527. end;
  62528. procedure TETH_EMACxMADR.setw(thebits : TBits_32); inline;
  62529. begin
  62530. pTDefRegMap(@Self)^.val := thebits;
  62531. end;
  62532. function TETH_EMACxMADR.getw : TBits_32; inline;
  62533. begin
  62534. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62535. end;
  62536. procedure TETH_EMAC1MWTD.setMWTD(thebits : TBits_16); inline;
  62537. begin
  62538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62539. end;
  62540. function TETH_EMAC1MWTD.getMWTD : TBits_16; inline;
  62541. begin
  62542. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62543. end;
  62544. procedure TETH_EMAC1MWTD.setw(thebits : TBits_32); inline;
  62545. begin
  62546. pTDefRegMap(@Self)^.val := thebits;
  62547. end;
  62548. function TETH_EMAC1MWTD.getw : TBits_32; inline;
  62549. begin
  62550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62551. end;
  62552. procedure TETH_EMACxMWTD.setMWTD(thebits : TBits_16); inline;
  62553. begin
  62554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62555. end;
  62556. function TETH_EMACxMWTD.getMWTD : TBits_16; inline;
  62557. begin
  62558. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62559. end;
  62560. procedure TETH_EMACxMWTD.setw(thebits : TBits_32); inline;
  62561. begin
  62562. pTDefRegMap(@Self)^.val := thebits;
  62563. end;
  62564. function TETH_EMACxMWTD.getw : TBits_32; inline;
  62565. begin
  62566. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62567. end;
  62568. procedure TETH_EMAC1MRDD.setMRDD(thebits : TBits_16); inline;
  62569. begin
  62570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62571. end;
  62572. function TETH_EMAC1MRDD.getMRDD : TBits_16; inline;
  62573. begin
  62574. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62575. end;
  62576. procedure TETH_EMAC1MRDD.setw(thebits : TBits_32); inline;
  62577. begin
  62578. pTDefRegMap(@Self)^.val := thebits;
  62579. end;
  62580. function TETH_EMAC1MRDD.getw : TBits_32; inline;
  62581. begin
  62582. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62583. end;
  62584. procedure TETH_EMACxMRDD.setMRDD(thebits : TBits_16); inline;
  62585. begin
  62586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62587. end;
  62588. function TETH_EMACxMRDD.getMRDD : TBits_16; inline;
  62589. begin
  62590. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62591. end;
  62592. procedure TETH_EMACxMRDD.setw(thebits : TBits_32); inline;
  62593. begin
  62594. pTDefRegMap(@Self)^.val := thebits;
  62595. end;
  62596. function TETH_EMACxMRDD.getw : TBits_32; inline;
  62597. begin
  62598. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62599. end;
  62600. procedure TETH_EMAC1MIND.setMIIMBUSY; inline;
  62601. begin
  62602. pTDefRegMap(@Self)^.&set := $00000001;
  62603. end;
  62604. procedure TETH_EMAC1MIND.clearMIIMBUSY; inline;
  62605. begin
  62606. pTDefRegMap(@Self)^.clr := $00000001;
  62607. end;
  62608. procedure TETH_EMAC1MIND.setMIIMBUSY(thebits : TBits_1); inline;
  62609. begin
  62610. if thebits = 0 then
  62611. pTDefRegMap(@Self)^.clr := $00000001
  62612. else
  62613. pTDefRegMap(@Self)^.&set := $00000001;
  62614. end;
  62615. function TETH_EMAC1MIND.getMIIMBUSY : TBits_1; inline;
  62616. begin
  62617. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62618. end;
  62619. procedure TETH_EMAC1MIND.setSCAN; inline;
  62620. begin
  62621. pTDefRegMap(@Self)^.&set := $00000002;
  62622. end;
  62623. procedure TETH_EMAC1MIND.clearSCAN; inline;
  62624. begin
  62625. pTDefRegMap(@Self)^.clr := $00000002;
  62626. end;
  62627. procedure TETH_EMAC1MIND.setSCAN(thebits : TBits_1); inline;
  62628. begin
  62629. if thebits = 0 then
  62630. pTDefRegMap(@Self)^.clr := $00000002
  62631. else
  62632. pTDefRegMap(@Self)^.&set := $00000002;
  62633. end;
  62634. function TETH_EMAC1MIND.getSCAN : TBits_1; inline;
  62635. begin
  62636. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62637. end;
  62638. procedure TETH_EMAC1MIND.setNOTVALID; inline;
  62639. begin
  62640. pTDefRegMap(@Self)^.&set := $00000004;
  62641. end;
  62642. procedure TETH_EMAC1MIND.clearNOTVALID; inline;
  62643. begin
  62644. pTDefRegMap(@Self)^.clr := $00000004;
  62645. end;
  62646. procedure TETH_EMAC1MIND.setNOTVALID(thebits : TBits_1); inline;
  62647. begin
  62648. if thebits = 0 then
  62649. pTDefRegMap(@Self)^.clr := $00000004
  62650. else
  62651. pTDefRegMap(@Self)^.&set := $00000004;
  62652. end;
  62653. function TETH_EMAC1MIND.getNOTVALID : TBits_1; inline;
  62654. begin
  62655. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62656. end;
  62657. procedure TETH_EMAC1MIND.setLINKFAIL; inline;
  62658. begin
  62659. pTDefRegMap(@Self)^.&set := $00000008;
  62660. end;
  62661. procedure TETH_EMAC1MIND.clearLINKFAIL; inline;
  62662. begin
  62663. pTDefRegMap(@Self)^.clr := $00000008;
  62664. end;
  62665. procedure TETH_EMAC1MIND.setLINKFAIL(thebits : TBits_1); inline;
  62666. begin
  62667. if thebits = 0 then
  62668. pTDefRegMap(@Self)^.clr := $00000008
  62669. else
  62670. pTDefRegMap(@Self)^.&set := $00000008;
  62671. end;
  62672. function TETH_EMAC1MIND.getLINKFAIL : TBits_1; inline;
  62673. begin
  62674. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62675. end;
  62676. procedure TETH_EMAC1MIND.setw(thebits : TBits_32); inline;
  62677. begin
  62678. pTDefRegMap(@Self)^.val := thebits;
  62679. end;
  62680. function TETH_EMAC1MIND.getw : TBits_32; inline;
  62681. begin
  62682. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62683. end;
  62684. procedure TETH_EMACxMIND.setMIIMBUSY; inline;
  62685. begin
  62686. pTDefRegMap(@Self)^.&set := $00000001;
  62687. end;
  62688. procedure TETH_EMACxMIND.clearMIIMBUSY; inline;
  62689. begin
  62690. pTDefRegMap(@Self)^.clr := $00000001;
  62691. end;
  62692. procedure TETH_EMACxMIND.setMIIMBUSY(thebits : TBits_1); inline;
  62693. begin
  62694. if thebits = 0 then
  62695. pTDefRegMap(@Self)^.clr := $00000001
  62696. else
  62697. pTDefRegMap(@Self)^.&set := $00000001;
  62698. end;
  62699. function TETH_EMACxMIND.getMIIMBUSY : TBits_1; inline;
  62700. begin
  62701. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62702. end;
  62703. procedure TETH_EMACxMIND.setSCAN; inline;
  62704. begin
  62705. pTDefRegMap(@Self)^.&set := $00000002;
  62706. end;
  62707. procedure TETH_EMACxMIND.clearSCAN; inline;
  62708. begin
  62709. pTDefRegMap(@Self)^.clr := $00000002;
  62710. end;
  62711. procedure TETH_EMACxMIND.setSCAN(thebits : TBits_1); inline;
  62712. begin
  62713. if thebits = 0 then
  62714. pTDefRegMap(@Self)^.clr := $00000002
  62715. else
  62716. pTDefRegMap(@Self)^.&set := $00000002;
  62717. end;
  62718. function TETH_EMACxMIND.getSCAN : TBits_1; inline;
  62719. begin
  62720. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62721. end;
  62722. procedure TETH_EMACxMIND.setNOTVALID; inline;
  62723. begin
  62724. pTDefRegMap(@Self)^.&set := $00000004;
  62725. end;
  62726. procedure TETH_EMACxMIND.clearNOTVALID; inline;
  62727. begin
  62728. pTDefRegMap(@Self)^.clr := $00000004;
  62729. end;
  62730. procedure TETH_EMACxMIND.setNOTVALID(thebits : TBits_1); inline;
  62731. begin
  62732. if thebits = 0 then
  62733. pTDefRegMap(@Self)^.clr := $00000004
  62734. else
  62735. pTDefRegMap(@Self)^.&set := $00000004;
  62736. end;
  62737. function TETH_EMACxMIND.getNOTVALID : TBits_1; inline;
  62738. begin
  62739. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62740. end;
  62741. procedure TETH_EMACxMIND.setLINKFAIL; inline;
  62742. begin
  62743. pTDefRegMap(@Self)^.&set := $00000008;
  62744. end;
  62745. procedure TETH_EMACxMIND.clearLINKFAIL; inline;
  62746. begin
  62747. pTDefRegMap(@Self)^.clr := $00000008;
  62748. end;
  62749. procedure TETH_EMACxMIND.setLINKFAIL(thebits : TBits_1); inline;
  62750. begin
  62751. if thebits = 0 then
  62752. pTDefRegMap(@Self)^.clr := $00000008
  62753. else
  62754. pTDefRegMap(@Self)^.&set := $00000008;
  62755. end;
  62756. function TETH_EMACxMIND.getLINKFAIL : TBits_1; inline;
  62757. begin
  62758. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62759. end;
  62760. procedure TETH_EMACxMIND.setw(thebits : TBits_32); inline;
  62761. begin
  62762. pTDefRegMap(@Self)^.val := thebits;
  62763. end;
  62764. function TETH_EMACxMIND.getw : TBits_32; inline;
  62765. begin
  62766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62767. end;
  62768. procedure TETH_EMAC1SA0.setSTNADDR5(thebits : TBits_8); inline;
  62769. begin
  62770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62771. end;
  62772. function TETH_EMAC1SA0.getSTNADDR5 : TBits_8; inline;
  62773. begin
  62774. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62775. end;
  62776. procedure TETH_EMAC1SA0.setSTNADDR6(thebits : TBits_8); inline;
  62777. begin
  62778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62779. end;
  62780. function TETH_EMAC1SA0.getSTNADDR6 : TBits_8; inline;
  62781. begin
  62782. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62783. end;
  62784. procedure TETH_EMAC1SA0.setw(thebits : TBits_32); inline;
  62785. begin
  62786. pTDefRegMap(@Self)^.val := thebits;
  62787. end;
  62788. function TETH_EMAC1SA0.getw : TBits_32; inline;
  62789. begin
  62790. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62791. end;
  62792. procedure TETH_EMACxSA0.setSTNADDR5(thebits : TBits_8); inline;
  62793. begin
  62794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62795. end;
  62796. function TETH_EMACxSA0.getSTNADDR5 : TBits_8; inline;
  62797. begin
  62798. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62799. end;
  62800. procedure TETH_EMACxSA0.setSTNADDR6(thebits : TBits_8); inline;
  62801. begin
  62802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62803. end;
  62804. function TETH_EMACxSA0.getSTNADDR6 : TBits_8; inline;
  62805. begin
  62806. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62807. end;
  62808. procedure TETH_EMACxSA0.setw(thebits : TBits_32); inline;
  62809. begin
  62810. pTDefRegMap(@Self)^.val := thebits;
  62811. end;
  62812. function TETH_EMACxSA0.getw : TBits_32; inline;
  62813. begin
  62814. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62815. end;
  62816. procedure TETH_EMAC1SA1.setSTNADDR3(thebits : TBits_8); inline;
  62817. begin
  62818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62819. end;
  62820. function TETH_EMAC1SA1.getSTNADDR3 : TBits_8; inline;
  62821. begin
  62822. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62823. end;
  62824. procedure TETH_EMAC1SA1.setSTNADDR4(thebits : TBits_8); inline;
  62825. begin
  62826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62827. end;
  62828. function TETH_EMAC1SA1.getSTNADDR4 : TBits_8; inline;
  62829. begin
  62830. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62831. end;
  62832. procedure TETH_EMAC1SA1.setw(thebits : TBits_32); inline;
  62833. begin
  62834. pTDefRegMap(@Self)^.val := thebits;
  62835. end;
  62836. function TETH_EMAC1SA1.getw : TBits_32; inline;
  62837. begin
  62838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62839. end;
  62840. procedure TETH_EMACxSA1.setSTNADDR3(thebits : TBits_8); inline;
  62841. begin
  62842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62843. end;
  62844. function TETH_EMACxSA1.getSTNADDR3 : TBits_8; inline;
  62845. begin
  62846. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62847. end;
  62848. procedure TETH_EMACxSA1.setSTNADDR4(thebits : TBits_8); inline;
  62849. begin
  62850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62851. end;
  62852. function TETH_EMACxSA1.getSTNADDR4 : TBits_8; inline;
  62853. begin
  62854. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62855. end;
  62856. procedure TETH_EMACxSA1.setw(thebits : TBits_32); inline;
  62857. begin
  62858. pTDefRegMap(@Self)^.val := thebits;
  62859. end;
  62860. function TETH_EMACxSA1.getw : TBits_32; inline;
  62861. begin
  62862. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62863. end;
  62864. procedure TETH_EMAC1SA2.setSTNADDR1(thebits : TBits_8); inline;
  62865. begin
  62866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62867. end;
  62868. function TETH_EMAC1SA2.getSTNADDR1 : TBits_8; inline;
  62869. begin
  62870. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62871. end;
  62872. procedure TETH_EMAC1SA2.setSTNADDR2(thebits : TBits_8); inline;
  62873. begin
  62874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62875. end;
  62876. function TETH_EMAC1SA2.getSTNADDR2 : TBits_8; inline;
  62877. begin
  62878. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62879. end;
  62880. procedure TETH_EMAC1SA2.setw(thebits : TBits_32); inline;
  62881. begin
  62882. pTDefRegMap(@Self)^.val := thebits;
  62883. end;
  62884. function TETH_EMAC1SA2.getw : TBits_32; inline;
  62885. begin
  62886. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62887. end;
  62888. procedure TETH_EMACxSA2.setSTNADDR1(thebits : TBits_8); inline;
  62889. begin
  62890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62891. end;
  62892. function TETH_EMACxSA2.getSTNADDR1 : TBits_8; inline;
  62893. begin
  62894. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62895. end;
  62896. procedure TETH_EMACxSA2.setSTNADDR2(thebits : TBits_8); inline;
  62897. begin
  62898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62899. end;
  62900. function TETH_EMACxSA2.getSTNADDR2 : TBits_8; inline;
  62901. begin
  62902. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62903. end;
  62904. procedure TETH_EMACxSA2.setw(thebits : TBits_32); inline;
  62905. begin
  62906. pTDefRegMap(@Self)^.val := thebits;
  62907. end;
  62908. function TETH_EMACxSA2.getw : TBits_32; inline;
  62909. begin
  62910. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62911. end;
  62912. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  62913. begin
  62914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62915. end;
  62916. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  62917. begin
  62918. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62919. end;
  62920. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  62921. begin
  62922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  62923. end;
  62924. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  62925. begin
  62926. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  62927. end;
  62928. procedure TDEVCFG_DEVCFG3.setFMIIEN; inline;
  62929. begin
  62930. pTDefRegMap(@Self)^.&set := $01000000;
  62931. end;
  62932. procedure TDEVCFG_DEVCFG3.clearFMIIEN; inline;
  62933. begin
  62934. pTDefRegMap(@Self)^.clr := $01000000;
  62935. end;
  62936. procedure TDEVCFG_DEVCFG3.setFMIIEN(thebits : TBits_1); inline;
  62937. begin
  62938. if thebits = 0 then
  62939. pTDefRegMap(@Self)^.clr := $01000000
  62940. else
  62941. pTDefRegMap(@Self)^.&set := $01000000;
  62942. end;
  62943. function TDEVCFG_DEVCFG3.getFMIIEN : TBits_1; inline;
  62944. begin
  62945. getFMIIEN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  62946. end;
  62947. procedure TDEVCFG_DEVCFG3.setFETHIO; inline;
  62948. begin
  62949. pTDefRegMap(@Self)^.&set := $02000000;
  62950. end;
  62951. procedure TDEVCFG_DEVCFG3.clearFETHIO; inline;
  62952. begin
  62953. pTDefRegMap(@Self)^.clr := $02000000;
  62954. end;
  62955. procedure TDEVCFG_DEVCFG3.setFETHIO(thebits : TBits_1); inline;
  62956. begin
  62957. if thebits = 0 then
  62958. pTDefRegMap(@Self)^.clr := $02000000
  62959. else
  62960. pTDefRegMap(@Self)^.&set := $02000000;
  62961. end;
  62962. function TDEVCFG_DEVCFG3.getFETHIO : TBits_1; inline;
  62963. begin
  62964. getFETHIO := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  62965. end;
  62966. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  62967. begin
  62968. pTDefRegMap(@Self)^.&set := $40000000;
  62969. end;
  62970. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  62971. begin
  62972. pTDefRegMap(@Self)^.clr := $40000000;
  62973. end;
  62974. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  62975. begin
  62976. if thebits = 0 then
  62977. pTDefRegMap(@Self)^.clr := $40000000
  62978. else
  62979. pTDefRegMap(@Self)^.&set := $40000000;
  62980. end;
  62981. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  62982. begin
  62983. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  62984. end;
  62985. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  62986. begin
  62987. pTDefRegMap(@Self)^.&set := $80000000;
  62988. end;
  62989. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  62990. begin
  62991. pTDefRegMap(@Self)^.clr := $80000000;
  62992. end;
  62993. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  62994. begin
  62995. if thebits = 0 then
  62996. pTDefRegMap(@Self)^.clr := $80000000
  62997. else
  62998. pTDefRegMap(@Self)^.&set := $80000000;
  62999. end;
  63000. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  63001. begin
  63002. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  63003. end;
  63004. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  63005. begin
  63006. pTDefRegMap(@Self)^.val := thebits;
  63007. end;
  63008. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  63009. begin
  63010. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63011. end;
  63012. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  63013. begin
  63014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  63015. end;
  63016. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  63017. begin
  63018. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  63019. end;
  63020. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  63021. begin
  63022. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  63023. end;
  63024. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  63025. begin
  63026. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  63027. end;
  63028. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  63029. begin
  63030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  63031. end;
  63032. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  63033. begin
  63034. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  63035. end;
  63036. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  63037. begin
  63038. pTDefRegMap(@Self)^.&set := $00008000;
  63039. end;
  63040. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  63041. begin
  63042. pTDefRegMap(@Self)^.clr := $00008000;
  63043. end;
  63044. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  63045. begin
  63046. if thebits = 0 then
  63047. pTDefRegMap(@Self)^.clr := $00008000
  63048. else
  63049. pTDefRegMap(@Self)^.&set := $00008000;
  63050. end;
  63051. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  63052. begin
  63053. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  63054. end;
  63055. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  63056. begin
  63057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  63058. end;
  63059. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  63060. begin
  63061. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  63062. end;
  63063. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  63064. begin
  63065. pTDefRegMap(@Self)^.val := thebits;
  63066. end;
  63067. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  63068. begin
  63069. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63070. end;
  63071. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  63072. begin
  63073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  63074. end;
  63075. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  63076. begin
  63077. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  63078. end;
  63079. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  63080. begin
  63081. pTDefRegMap(@Self)^.&set := $00000020;
  63082. end;
  63083. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  63084. begin
  63085. pTDefRegMap(@Self)^.clr := $00000020;
  63086. end;
  63087. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  63088. begin
  63089. if thebits = 0 then
  63090. pTDefRegMap(@Self)^.clr := $00000020
  63091. else
  63092. pTDefRegMap(@Self)^.&set := $00000020;
  63093. end;
  63094. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  63095. begin
  63096. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  63097. end;
  63098. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  63099. begin
  63100. pTDefRegMap(@Self)^.&set := $00000080;
  63101. end;
  63102. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  63103. begin
  63104. pTDefRegMap(@Self)^.clr := $00000080;
  63105. end;
  63106. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  63107. begin
  63108. if thebits = 0 then
  63109. pTDefRegMap(@Self)^.clr := $00000080
  63110. else
  63111. pTDefRegMap(@Self)^.&set := $00000080;
  63112. end;
  63113. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  63114. begin
  63115. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  63116. end;
  63117. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  63118. begin
  63119. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  63120. end;
  63121. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  63122. begin
  63123. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  63124. end;
  63125. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  63126. begin
  63127. pTDefRegMap(@Self)^.&set := $00000400;
  63128. end;
  63129. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  63130. begin
  63131. pTDefRegMap(@Self)^.clr := $00000400;
  63132. end;
  63133. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  63134. begin
  63135. if thebits = 0 then
  63136. pTDefRegMap(@Self)^.clr := $00000400
  63137. else
  63138. pTDefRegMap(@Self)^.&set := $00000400;
  63139. end;
  63140. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  63141. begin
  63142. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  63143. end;
  63144. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  63145. begin
  63146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  63147. end;
  63148. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  63149. begin
  63150. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  63151. end;
  63152. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  63153. begin
  63154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  63155. end;
  63156. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  63157. begin
  63158. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  63159. end;
  63160. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  63161. begin
  63162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  63163. end;
  63164. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  63165. begin
  63166. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  63167. end;
  63168. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  63169. begin
  63170. pTDefRegMap(@Self)^.&set := $00800000;
  63171. end;
  63172. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  63173. begin
  63174. pTDefRegMap(@Self)^.clr := $00800000;
  63175. end;
  63176. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  63177. begin
  63178. if thebits = 0 then
  63179. pTDefRegMap(@Self)^.clr := $00800000
  63180. else
  63181. pTDefRegMap(@Self)^.&set := $00800000;
  63182. end;
  63183. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  63184. begin
  63185. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  63186. end;
  63187. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  63188. begin
  63189. pTDefRegMap(@Self)^.val := thebits;
  63190. end;
  63191. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  63192. begin
  63193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63194. end;
  63195. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  63196. begin
  63197. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  63198. end;
  63199. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  63200. begin
  63201. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  63202. end;
  63203. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  63204. begin
  63205. pTDefRegMap(@Self)^.&set := $00000008;
  63206. end;
  63207. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  63208. begin
  63209. pTDefRegMap(@Self)^.clr := $00000008;
  63210. end;
  63211. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  63212. begin
  63213. if thebits = 0 then
  63214. pTDefRegMap(@Self)^.clr := $00000008
  63215. else
  63216. pTDefRegMap(@Self)^.&set := $00000008;
  63217. end;
  63218. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  63219. begin
  63220. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  63221. end;
  63222. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  63223. begin
  63224. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  63225. end;
  63226. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  63227. begin
  63228. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  63229. end;
  63230. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  63231. begin
  63232. pTDefRegMap(@Self)^.&set := $01000000;
  63233. end;
  63234. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  63235. begin
  63236. pTDefRegMap(@Self)^.clr := $01000000;
  63237. end;
  63238. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  63239. begin
  63240. if thebits = 0 then
  63241. pTDefRegMap(@Self)^.clr := $01000000
  63242. else
  63243. pTDefRegMap(@Self)^.&set := $01000000;
  63244. end;
  63245. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  63246. begin
  63247. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  63248. end;
  63249. procedure TDEVCFG_DEVCFG0.setCP; inline;
  63250. begin
  63251. pTDefRegMap(@Self)^.&set := $10000000;
  63252. end;
  63253. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  63254. begin
  63255. pTDefRegMap(@Self)^.clr := $10000000;
  63256. end;
  63257. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  63258. begin
  63259. if thebits = 0 then
  63260. pTDefRegMap(@Self)^.clr := $10000000
  63261. else
  63262. pTDefRegMap(@Self)^.&set := $10000000;
  63263. end;
  63264. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  63265. begin
  63266. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  63267. end;
  63268. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  63269. begin
  63270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  63271. end;
  63272. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  63273. begin
  63274. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  63275. end;
  63276. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  63277. begin
  63278. pTDefRegMap(@Self)^.val := thebits;
  63279. end;
  63280. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  63281. begin
  63282. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63283. end;
  63284. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  63285. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  63286. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  63287. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  63288. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  63289. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  63290. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  63291. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  63292. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  63293. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  63294. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  63295. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  63296. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  63297. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  63298. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  63299. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  63300. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  63301. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  63302. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  63303. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  63304. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  63305. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  63306. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  63307. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  63308. procedure _SPI_1A_VECTOR_interrupt; external name '_SPI_1A_VECTOR_interrupt';
  63309. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  63310. procedure _UART_1A_VECTOR_interrupt; external name '_UART_1A_VECTOR_interrupt';
  63311. procedure _I2C_3_VECTOR_interrupt; external name '_I2C_3_VECTOR_interrupt';
  63312. procedure _I2C_1A_VECTOR_interrupt; external name '_I2C_1A_VECTOR_interrupt';
  63313. procedure _SPI_3_VECTOR_interrupt; external name '_SPI_3_VECTOR_interrupt';
  63314. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  63315. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  63316. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  63317. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  63318. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  63319. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  63320. procedure _SPI_2A_VECTOR_interrupt; external name '_SPI_2A_VECTOR_interrupt';
  63321. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  63322. procedure _UART_2A_VECTOR_interrupt; external name '_UART_2A_VECTOR_interrupt';
  63323. procedure _I2C_4_VECTOR_interrupt; external name '_I2C_4_VECTOR_interrupt';
  63324. procedure _I2C_2A_VECTOR_interrupt; external name '_I2C_2A_VECTOR_interrupt';
  63325. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  63326. procedure _SPI_3A_VECTOR_interrupt; external name '_SPI_3A_VECTOR_interrupt';
  63327. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  63328. procedure _UART_3A_VECTOR_interrupt; external name '_UART_3A_VECTOR_interrupt';
  63329. procedure _I2C_5_VECTOR_interrupt; external name '_I2C_5_VECTOR_interrupt';
  63330. procedure _I2C_3A_VECTOR_interrupt; external name '_I2C_3A_VECTOR_interrupt';
  63331. procedure _SPI_4_VECTOR_interrupt; external name '_SPI_4_VECTOR_interrupt';
  63332. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  63333. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  63334. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  63335. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  63336. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  63337. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  63338. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  63339. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  63340. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  63341. procedure _ETH_VECTOR_interrupt; external name '_ETH_VECTOR_interrupt';
  63342. procedure _UART_1B_VECTOR_interrupt; external name '_UART_1B_VECTOR_interrupt';
  63343. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  63344. procedure _UART_2B_VECTOR_interrupt; external name '_UART_2B_VECTOR_interrupt';
  63345. procedure _UART_6_VECTOR_interrupt; external name '_UART_6_VECTOR_interrupt';
  63346. procedure _UART_3B_VECTOR_interrupt; external name '_UART_3B_VECTOR_interrupt';
  63347. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  63348. procedure Vectors; assembler; nostackframe;
  63349. label interrupt_vectors;
  63350. asm
  63351. .section ".init.interrupt_vectors,\"ax\",@progbits"
  63352. interrupt_vectors:
  63353. j _CORE_TIMER_VECTOR_interrupt
  63354. nop
  63355. nop
  63356. nop
  63357. nop
  63358. nop
  63359. nop
  63360. nop
  63361. j _CORE_SOFTWARE_0_VECTOR_interrupt
  63362. nop
  63363. nop
  63364. nop
  63365. nop
  63366. nop
  63367. nop
  63368. nop
  63369. j _CORE_SOFTWARE_1_VECTOR_interrupt
  63370. nop
  63371. nop
  63372. nop
  63373. nop
  63374. nop
  63375. nop
  63376. nop
  63377. j _EXTERNAL_0_VECTOR_interrupt
  63378. nop
  63379. nop
  63380. nop
  63381. nop
  63382. nop
  63383. nop
  63384. nop
  63385. j _TIMER_1_VECTOR_interrupt
  63386. nop
  63387. nop
  63388. nop
  63389. nop
  63390. nop
  63391. nop
  63392. nop
  63393. j _INPUT_CAPTURE_1_VECTOR_interrupt
  63394. nop
  63395. nop
  63396. nop
  63397. nop
  63398. nop
  63399. nop
  63400. nop
  63401. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  63402. nop
  63403. nop
  63404. nop
  63405. nop
  63406. nop
  63407. nop
  63408. nop
  63409. j _EXTERNAL_1_VECTOR_interrupt
  63410. nop
  63411. nop
  63412. nop
  63413. nop
  63414. nop
  63415. nop
  63416. nop
  63417. j _TIMER_2_VECTOR_interrupt
  63418. nop
  63419. nop
  63420. nop
  63421. nop
  63422. nop
  63423. nop
  63424. nop
  63425. j _INPUT_CAPTURE_2_VECTOR_interrupt
  63426. nop
  63427. nop
  63428. nop
  63429. nop
  63430. nop
  63431. nop
  63432. nop
  63433. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  63434. nop
  63435. nop
  63436. nop
  63437. nop
  63438. nop
  63439. nop
  63440. nop
  63441. j _EXTERNAL_2_VECTOR_interrupt
  63442. nop
  63443. nop
  63444. nop
  63445. nop
  63446. nop
  63447. nop
  63448. nop
  63449. j _TIMER_3_VECTOR_interrupt
  63450. nop
  63451. nop
  63452. nop
  63453. nop
  63454. nop
  63455. nop
  63456. nop
  63457. j _INPUT_CAPTURE_3_VECTOR_interrupt
  63458. nop
  63459. nop
  63460. nop
  63461. nop
  63462. nop
  63463. nop
  63464. nop
  63465. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  63466. nop
  63467. nop
  63468. nop
  63469. nop
  63470. nop
  63471. nop
  63472. nop
  63473. j _EXTERNAL_3_VECTOR_interrupt
  63474. nop
  63475. nop
  63476. nop
  63477. nop
  63478. nop
  63479. nop
  63480. nop
  63481. j _TIMER_4_VECTOR_interrupt
  63482. nop
  63483. nop
  63484. nop
  63485. nop
  63486. nop
  63487. nop
  63488. nop
  63489. j _INPUT_CAPTURE_4_VECTOR_interrupt
  63490. nop
  63491. nop
  63492. nop
  63493. nop
  63494. nop
  63495. nop
  63496. nop
  63497. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  63498. nop
  63499. nop
  63500. nop
  63501. nop
  63502. nop
  63503. nop
  63504. nop
  63505. j _EXTERNAL_4_VECTOR_interrupt
  63506. nop
  63507. nop
  63508. nop
  63509. nop
  63510. nop
  63511. nop
  63512. nop
  63513. j _TIMER_5_VECTOR_interrupt
  63514. nop
  63515. nop
  63516. nop
  63517. nop
  63518. nop
  63519. nop
  63520. nop
  63521. j _INPUT_CAPTURE_5_VECTOR_interrupt
  63522. nop
  63523. nop
  63524. nop
  63525. nop
  63526. nop
  63527. nop
  63528. nop
  63529. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  63530. nop
  63531. nop
  63532. nop
  63533. nop
  63534. nop
  63535. nop
  63536. nop
  63537. j _SPI_1_VECTOR_interrupt
  63538. nop
  63539. nop
  63540. nop
  63541. nop
  63542. nop
  63543. nop
  63544. nop
  63545. j _SPI_1A_VECTOR_interrupt
  63546. nop
  63547. nop
  63548. nop
  63549. nop
  63550. nop
  63551. nop
  63552. nop
  63553. j _I2C_1_VECTOR_interrupt
  63554. nop
  63555. nop
  63556. nop
  63557. nop
  63558. nop
  63559. nop
  63560. nop
  63561. j _CHANGE_NOTICE_VECTOR_interrupt
  63562. nop
  63563. nop
  63564. nop
  63565. nop
  63566. nop
  63567. nop
  63568. nop
  63569. j _ADC_VECTOR_interrupt
  63570. nop
  63571. nop
  63572. nop
  63573. nop
  63574. nop
  63575. nop
  63576. nop
  63577. j _PMP_VECTOR_interrupt
  63578. nop
  63579. nop
  63580. nop
  63581. nop
  63582. nop
  63583. nop
  63584. nop
  63585. j _COMPARATOR_1_VECTOR_interrupt
  63586. nop
  63587. nop
  63588. nop
  63589. nop
  63590. nop
  63591. nop
  63592. nop
  63593. j _COMPARATOR_2_VECTOR_interrupt
  63594. nop
  63595. nop
  63596. nop
  63597. nop
  63598. nop
  63599. nop
  63600. nop
  63601. j _SPI_2A_VECTOR_interrupt
  63602. nop
  63603. nop
  63604. nop
  63605. nop
  63606. nop
  63607. nop
  63608. nop
  63609. j _SPI_3A_VECTOR_interrupt
  63610. nop
  63611. nop
  63612. nop
  63613. nop
  63614. nop
  63615. nop
  63616. nop
  63617. j _I2C_2_VECTOR_interrupt
  63618. nop
  63619. nop
  63620. nop
  63621. nop
  63622. nop
  63623. nop
  63624. nop
  63625. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  63626. nop
  63627. nop
  63628. nop
  63629. nop
  63630. nop
  63631. nop
  63632. nop
  63633. j _RTCC_VECTOR_interrupt
  63634. nop
  63635. nop
  63636. nop
  63637. nop
  63638. nop
  63639. nop
  63640. nop
  63641. j _DMA_0_VECTOR_interrupt
  63642. nop
  63643. nop
  63644. nop
  63645. nop
  63646. nop
  63647. nop
  63648. nop
  63649. j _DMA_1_VECTOR_interrupt
  63650. nop
  63651. nop
  63652. nop
  63653. nop
  63654. nop
  63655. nop
  63656. nop
  63657. j _DMA_2_VECTOR_interrupt
  63658. nop
  63659. nop
  63660. nop
  63661. nop
  63662. nop
  63663. nop
  63664. nop
  63665. j _DMA_3_VECTOR_interrupt
  63666. nop
  63667. nop
  63668. nop
  63669. nop
  63670. nop
  63671. nop
  63672. nop
  63673. nop
  63674. nop
  63675. nop
  63676. nop
  63677. nop
  63678. nop
  63679. nop
  63680. nop
  63681. nop
  63682. nop
  63683. nop
  63684. nop
  63685. nop
  63686. nop
  63687. nop
  63688. nop
  63689. nop
  63690. nop
  63691. nop
  63692. nop
  63693. nop
  63694. nop
  63695. nop
  63696. nop
  63697. nop
  63698. nop
  63699. nop
  63700. nop
  63701. nop
  63702. nop
  63703. nop
  63704. nop
  63705. j _FCE_VECTOR_interrupt
  63706. nop
  63707. nop
  63708. nop
  63709. nop
  63710. nop
  63711. nop
  63712. nop
  63713. j _USB_1_VECTOR_interrupt
  63714. nop
  63715. nop
  63716. nop
  63717. nop
  63718. nop
  63719. nop
  63720. nop
  63721. nop
  63722. nop
  63723. nop
  63724. nop
  63725. nop
  63726. nop
  63727. nop
  63728. nop
  63729. nop
  63730. nop
  63731. nop
  63732. nop
  63733. nop
  63734. nop
  63735. nop
  63736. nop
  63737. j _ETH_VECTOR_interrupt
  63738. nop
  63739. nop
  63740. nop
  63741. nop
  63742. nop
  63743. nop
  63744. nop
  63745. j _UART_1B_VECTOR_interrupt
  63746. nop
  63747. nop
  63748. nop
  63749. nop
  63750. nop
  63751. nop
  63752. nop
  63753. j _UART_2B_VECTOR_interrupt
  63754. nop
  63755. nop
  63756. nop
  63757. nop
  63758. nop
  63759. nop
  63760. nop
  63761. j _UART_3B_VECTOR_interrupt
  63762. nop
  63763. nop
  63764. nop
  63765. nop
  63766. nop
  63767. nop
  63768. nop
  63769. .weak _CORE_TIMER_VECTOR_interrupt
  63770. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  63771. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  63772. .weak _EXTERNAL_0_VECTOR_interrupt
  63773. .weak _TIMER_1_VECTOR_interrupt
  63774. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  63775. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  63776. .weak _EXTERNAL_1_VECTOR_interrupt
  63777. .weak _TIMER_2_VECTOR_interrupt
  63778. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  63779. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  63780. .weak _EXTERNAL_2_VECTOR_interrupt
  63781. .weak _TIMER_3_VECTOR_interrupt
  63782. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  63783. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  63784. .weak _EXTERNAL_3_VECTOR_interrupt
  63785. .weak _TIMER_4_VECTOR_interrupt
  63786. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  63787. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  63788. .weak _EXTERNAL_4_VECTOR_interrupt
  63789. .weak _TIMER_5_VECTOR_interrupt
  63790. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  63791. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  63792. .weak _SPI_1_VECTOR_interrupt
  63793. .weak _SPI_1A_VECTOR_interrupt
  63794. .weak _UART_1_VECTOR_interrupt
  63795. .weak _UART_1A_VECTOR_interrupt
  63796. .weak _I2C_3_VECTOR_interrupt
  63797. .weak _I2C_1A_VECTOR_interrupt
  63798. .weak _SPI_3_VECTOR_interrupt
  63799. .weak _I2C_1_VECTOR_interrupt
  63800. .weak _CHANGE_NOTICE_VECTOR_interrupt
  63801. .weak _ADC_VECTOR_interrupt
  63802. .weak _PMP_VECTOR_interrupt
  63803. .weak _COMPARATOR_1_VECTOR_interrupt
  63804. .weak _COMPARATOR_2_VECTOR_interrupt
  63805. .weak _SPI_2A_VECTOR_interrupt
  63806. .weak _UART_3_VECTOR_interrupt
  63807. .weak _UART_2A_VECTOR_interrupt
  63808. .weak _I2C_4_VECTOR_interrupt
  63809. .weak _I2C_2A_VECTOR_interrupt
  63810. .weak _SPI_2_VECTOR_interrupt
  63811. .weak _SPI_3A_VECTOR_interrupt
  63812. .weak _UART_2_VECTOR_interrupt
  63813. .weak _UART_3A_VECTOR_interrupt
  63814. .weak _I2C_5_VECTOR_interrupt
  63815. .weak _I2C_3A_VECTOR_interrupt
  63816. .weak _SPI_4_VECTOR_interrupt
  63817. .weak _I2C_2_VECTOR_interrupt
  63818. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  63819. .weak _RTCC_VECTOR_interrupt
  63820. .weak _DMA_0_VECTOR_interrupt
  63821. .weak _DMA_1_VECTOR_interrupt
  63822. .weak _DMA_2_VECTOR_interrupt
  63823. .weak _DMA_3_VECTOR_interrupt
  63824. .weak _FCE_VECTOR_interrupt
  63825. .weak _USB_1_VECTOR_interrupt
  63826. .weak _ETH_VECTOR_interrupt
  63827. .weak _UART_1B_VECTOR_interrupt
  63828. .weak _UART_4_VECTOR_interrupt
  63829. .weak _UART_2B_VECTOR_interrupt
  63830. .weak _UART_6_VECTOR_interrupt
  63831. .weak _UART_3B_VECTOR_interrupt
  63832. .weak _UART_5_VECTOR_interrupt
  63833. .text
  63834. end;
  63835. end.